md/static/js/md-index-TGP-egEp.js
2025-01-19 13:56:37 +00:00

1282 lines
5.5 MiB
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["static/js/md-dagre-4EVJKHTY-CrtTNbcm.js","static/js/md-graph-BqJ5nvx-.js","static/js/md-_baseUniq-Bm0iSxF4.js","static/js/md-layout-D5yfjIxP.js","static/js/md-_basePickBy-D2Yv_vSZ.js","static/js/md-clone-Bb0Qs8zN.js","static/js/md-c4Diagram-6F5ED5ID-RoaEE6D3.js","static/js/md-chunk-ASOPGD6M-BXMG1Nfx.js","static/js/md-flowDiagram-7ASYPVHJ-D2L0sNan.js","static/js/md-chunk-5HRBRIJM-DIfJDOBU.js","static/js/md-channel-Dlq_AjKA.js","static/js/md-erDiagram-6RL3IURR-DWaCdaRm.js","static/js/md-gitGraphDiagram-NRZ2UAAF-DeLJDz1i.js","static/js/md-chunk-TMUBEWPD-Czd4q-Vh.js","static/js/md-chunk-KFBOBJHC-pqV5ft4Q.js","static/js/md-gitGraph-YCYPL57B-DO9uQgTZ.js","static/js/md-ganttDiagram-NTVNEXSI-CL-9Lky_.js","static/js/md-linear-BWd3aXuT.js","static/js/md-init-Gi6I4Gst.js","static/js/md-infoDiagram-A4XQUW5V-Bs4tWgYe.js","static/js/md-pieDiagram-YF2LJOPJ-Dtr2pYGZ.js","static/js/md-arc-Ce2V3LWk.js","static/js/md-ordinal-CxVaQH2l.js","static/js/md-quadrantDiagram-OS5C2QUG-CRTWPMC3.js","static/js/md-xychartDiagram-6QU3TZC5-DPptWv27.js","static/js/md-requirementDiagram-MIRIMTAZ-Deu54LsJ.js","static/js/md-sequenceDiagram-G6AWOVSC-BYz1U_V7.js","static/js/md-classDiagram-LNE6IOMH-CTBubuXI.js","static/js/md-chunk-T2TOU4HS-BtlZTvLl.js","static/js/md-classDiagram-v2-MQ7JQ4JX-CTBubuXI.js","static/js/md-stateDiagram-MAYHULR4-DweyYq4M.js","static/js/md-chunk-7U56Z5CX-DSlGDS0l.js","static/js/md-stateDiagram-v2-4JROLMXI-DiIlcWZx.js","static/js/md-journeyDiagram-G5WM74LC-FvtN3AEU.js","static/js/md-timeline-definition-U7ZMHBDA-BNdRx5Eq.js","static/js/md-mindmap-definition-GWI6TPTV-ClGGF_jF.js","static/js/md-cytoscape.esm-bEGULzDv.js","static/js/md-sankeyDiagram-Y46BX6SQ-Di3XGLpk.js","static/js/md-diagram-QW4FP2JN-BhleLOjZ.js","static/js/md-blockDiagram-ZHA2E4KO-BBH-2Yzm.js","static/js/md-architectureDiagram-UYN6MBPD-IhHiqPvZ.js"])))=>i.map(i=>d[i]);
var PD=Object.defineProperty;var vC=Ra=>{throw TypeError(Ra)};var LD=(Ra,qa,nd)=>qa in Ra?PD(Ra,qa,{enumerable:!0,configurable:!0,writable:!0,value:nd}):Ra[qa]=nd;var kg=(Ra,qa,nd)=>LD(Ra,typeof qa!="symbol"?qa+"":qa,nd),BD=(Ra,qa,nd)=>qa.has(Ra)||vC("Cannot "+nd);var EC=(Ra,qa,nd)=>qa.has(Ra)?vC("Cannot add the same private member more than once"):qa instanceof WeakSet?qa.add(Ra):qa.set(Ra,nd);var BT=(Ra,qa,nd)=>(BD(Ra,qa,"access private method"),nd);(function(){const qa=document.createElement("link").relList;if(qa&&qa.supports&&qa.supports("modulepreload"))return;for(const ld of document.querySelectorAll('link[rel="modulepreload"]'))od(ld);new MutationObserver(ld=>{for(const ud of ld)if(ud.type==="childList")for(const dd of ud.addedNodes)dd.tagName==="LINK"&&dd.rel==="modulepreload"&&od(dd)}).observe(document,{childList:!0,subtree:!0});function nd(ld){const ud={};return ld.integrity&&(ud.integrity=ld.integrity),ld.referrerPolicy&&(ud.referrerPolicy=ld.referrerPolicy),ld.crossOrigin==="use-credentials"?ud.credentials="include":ld.crossOrigin==="anonymous"?ud.credentials="omit":ud.credentials="same-origin",ud}function od(ld){if(ld.ep)return;ld.ep=!0;const ud=nd(ld);fetch(ld.href,ud)}})();const global$1=globalThis||void 0||self;/**
* @vue/shared v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**//*! #__NO_SIDE_EFFECTS__ */function makeMap(Ra){const qa=Object.create(null);for(const nd of Ra.split(","))qa[nd]=1;return nd=>nd in qa}const EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn=Ra=>Ra.charCodeAt(0)===111&&Ra.charCodeAt(1)===110&&(Ra.charCodeAt(2)>122||Ra.charCodeAt(2)<97),isModelListener=Ra=>Ra.startsWith("onUpdate:"),extend$4=Object.assign,remove$2=(Ra,qa)=>{const nd=Ra.indexOf(qa);nd>-1&&Ra.splice(nd,1)},hasOwnProperty$f=Object.prototype.hasOwnProperty,hasOwn$3=(Ra,qa)=>hasOwnProperty$f.call(Ra,qa),isArray$2=Array.isArray,isMap=Ra=>toTypeString(Ra)==="[object Map]",isSet$1=Ra=>toTypeString(Ra)==="[object Set]",isDate$2=Ra=>toTypeString(Ra)==="[object Date]",isFunction$4=Ra=>typeof Ra=="function",isString$2=Ra=>typeof Ra=="string",isSymbol=Ra=>typeof Ra=="symbol",isObject$9=Ra=>Ra!==null&&typeof Ra=="object",isPromise=Ra=>(isObject$9(Ra)||isFunction$4(Ra))&&isFunction$4(Ra.then)&&isFunction$4(Ra.catch),objectToString$1=Object.prototype.toString,toTypeString=Ra=>objectToString$1.call(Ra),toRawType=Ra=>toTypeString(Ra).slice(8,-1),isPlainObject$6=Ra=>toTypeString(Ra)==="[object Object]",isIntegerKey=Ra=>isString$2(Ra)&&Ra!=="NaN"&&Ra[0]!=="-"&&""+parseInt(Ra,10)===Ra,isReservedProp=makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cacheStringFunction=Ra=>{const qa=Object.create(null);return nd=>qa[nd]||(qa[nd]=Ra(nd))},camelizeRE=/-(\w)/g,camelize=cacheStringFunction(Ra=>Ra.replace(camelizeRE,(qa,nd)=>nd?nd.toUpperCase():"")),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(Ra=>Ra.replace(hyphenateRE,"-$1").toLowerCase()),capitalize=cacheStringFunction(Ra=>Ra.charAt(0).toUpperCase()+Ra.slice(1)),toHandlerKey=cacheStringFunction(Ra=>Ra?`on${capitalize(Ra)}`:""),hasChanged=(Ra,qa)=>!Object.is(Ra,qa),invokeArrayFns=(Ra,...qa)=>{for(let nd=0;nd<Ra.length;nd++)Ra[nd](...qa)},def$2=(Ra,qa,nd,od=!1)=>{Object.defineProperty(Ra,qa,{configurable:!0,enumerable:!1,writable:od,value:nd})},looseToNumber=Ra=>{const qa=parseFloat(Ra);return isNaN(qa)?Ra:qa},toNumber$5=Ra=>{const qa=isString$2(Ra)?Number(Ra):NaN;return isNaN(qa)?Ra:qa};let _globalThis;const getGlobalThis=()=>_globalThis||(_globalThis=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global$1<"u"?global$1:{});function normalizeStyle(Ra){if(isArray$2(Ra)){const qa={};for(let nd=0;nd<Ra.length;nd++){const od=Ra[nd],ld=isString$2(od)?parseStringStyle(od):normalizeStyle(od);if(ld)for(const ud in ld)qa[ud]=ld[ud]}return qa}else if(isString$2(Ra)||isObject$9(Ra))return Ra}const listDelimiterRE=/;(?![^(]*\))/g,propertyDelimiterRE=/:([^]+)/,styleCommentRE=/\/\*[^]*?\*\//g;function parseStringStyle(Ra){const qa={};return Ra.replace(styleCommentRE,"").split(listDelimiterRE).forEach(nd=>{if(nd){const od=nd.split(propertyDelimiterRE);od.length>1&&(qa[od[0].trim()]=od[1].trim())}}),qa}function normalizeClass(Ra){let qa="";if(isString$2(Ra))qa=Ra;else if(isArray$2(Ra))for(let nd=0;nd<Ra.length;nd++){const od=normalizeClass(Ra[nd]);od&&(qa+=od+" ")}else if(isObject$9(Ra))for(const nd in Ra)Ra[nd]&&(qa+=nd+" ");return qa.trim()}function normalizeProps(Ra){if(!Ra)return null;let{class:qa,style:nd}=Ra;return qa&&!isString$2(qa)&&(Ra.class=normalizeClass(qa)),nd&&(Ra.style=normalizeStyle(nd)),Ra}const specialBooleanAttrs="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",isSpecialBooleanAttr=makeMap(specialBooleanAttrs);function includeBooleanAttr(Ra){return!!Ra||Ra===""}function looseCompareArrays(Ra,qa){if(Ra.length!==qa.length)return!1;let nd=!0;for(let od=0;nd&&od<Ra.length;od++)nd=looseEqual(Ra[od],qa[od]);return nd}function looseEqual(Ra,qa){if(Ra===qa)return!0;let nd=isDate$2(Ra),od=isDate$2(qa);if(nd||od)return nd&&od?Ra.getTime()===qa.getTime():!1;if(nd=isSymbol(Ra),od=isSymbol(qa),nd||od)return Ra===qa;if(nd=isArray$2(Ra),od=isArray$2(qa),nd||od)return nd&&od?looseCompareArrays(Ra,qa):!1;if(nd=isObject$9(Ra),od=isObject$9(qa),nd||od){if(!nd||!od)return!1;const ld=Object.keys(Ra).length,ud=Object.keys(qa).length;if(ld!==ud)return!1;for(const dd in Ra){const pd=Ra.hasOwnProperty(dd),fd=qa.hasOwnProperty(dd);if(pd&&!fd||!pd&&fd||!looseEqual(Ra[dd],qa[dd]))return!1}}return String(Ra)===String(qa)}function looseIndexOf(Ra,qa){return Ra.findIndex(nd=>looseEqual(nd,qa))}const isRef$1=Ra=>!!(Ra&&Ra.__v_isRef===!0),toDisplayString=Ra=>isString$2(Ra)?Ra:Ra==null?"":isArray$2(Ra)||isObject$9(Ra)&&(Ra.toString===objectToString$1||!isFunction$4(Ra.toString))?isRef$1(Ra)?toDisplayString(Ra.value):JSON.stringify(Ra,replacer$1,2):String(Ra),replacer$1=(Ra,qa)=>isRef$1(qa)?replacer$1(Ra,qa.value):isMap(qa)?{[`Map(${qa.size})`]:[...qa.entries()].reduce((nd,[od,ld],ud)=>(nd[stringifySymbol(od,ud)+" =>"]=ld,nd),{})}:isSet$1(qa)?{[`Set(${qa.size})`]:[...qa.values()].map(nd=>stringifySymbol(nd))}:isSymbol(qa)?stringifySymbol(qa):isObject$9(qa)&&!isArray$2(qa)&&!isPlainObject$6(qa)?String(qa):qa,stringifySymbol=(Ra,qa="")=>{var nd;return isSymbol(Ra)?`Symbol(${(nd=Ra.description)!=null?nd:qa})`:Ra};/**
* @vue/reactivity v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let activeEffectScope;class EffectScope{constructor(qa=!1){this.detached=qa,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=activeEffectScope,!qa&&activeEffectScope&&(this.index=(activeEffectScope.scopes||(activeEffectScope.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let qa,nd;if(this.scopes)for(qa=0,nd=this.scopes.length;qa<nd;qa++)this.scopes[qa].pause();for(qa=0,nd=this.effects.length;qa<nd;qa++)this.effects[qa].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let qa,nd;if(this.scopes)for(qa=0,nd=this.scopes.length;qa<nd;qa++)this.scopes[qa].resume();for(qa=0,nd=this.effects.length;qa<nd;qa++)this.effects[qa].resume()}}run(qa){if(this._active){const nd=activeEffectScope;try{return activeEffectScope=this,qa()}finally{activeEffectScope=nd}}}on(){activeEffectScope=this}off(){activeEffectScope=this.parent}stop(qa){if(this._active){this._active=!1;let nd,od;for(nd=0,od=this.effects.length;nd<od;nd++)this.effects[nd].stop();for(this.effects.length=0,nd=0,od=this.cleanups.length;nd<od;nd++)this.cleanups[nd]();if(this.cleanups.length=0,this.scopes){for(nd=0,od=this.scopes.length;nd<od;nd++)this.scopes[nd].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!qa){const ld=this.parent.scopes.pop();ld&&ld!==this&&(this.parent.scopes[this.index]=ld,ld.index=this.index)}this.parent=void 0}}}function effectScope(Ra){return new EffectScope(Ra)}function getCurrentScope(){return activeEffectScope}function onScopeDispose(Ra,qa=!1){activeEffectScope&&activeEffectScope.cleanups.push(Ra)}let activeSub;const pausedQueueEffects=new WeakSet;class ReactiveEffect{constructor(qa){this.fn=qa,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,activeEffectScope&&activeEffectScope.active&&activeEffectScope.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,pausedQueueEffects.has(this)&&(pausedQueueEffects.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||batch(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,cleanupEffect(this),prepareDeps(this);const qa=activeSub,nd=shouldTrack;activeSub=this,shouldTrack=!0;try{return this.fn()}finally{cleanupDeps(this),activeSub=qa,shouldTrack=nd,this.flags&=-3}}stop(){if(this.flags&1){for(let qa=this.deps;qa;qa=qa.nextDep)removeSub(qa);this.deps=this.depsTail=void 0,cleanupEffect(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?pausedQueueEffects.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){isDirty(this)&&this.run()}get dirty(){return isDirty(this)}}let batchDepth=0,batchedSub,batchedComputed;function batch(Ra,qa=!1){if(Ra.flags|=8,qa){Ra.next=batchedComputed,batchedComputed=Ra;return}Ra.next=batchedSub,batchedSub=Ra}function startBatch(){batchDepth++}function endBatch(){if(--batchDepth>0)return;if(batchedComputed){let qa=batchedComputed;for(batchedComputed=void 0;qa;){const nd=qa.next;qa.next=void 0,qa.flags&=-9,qa=nd}}let Ra;for(;batchedSub;){let qa=batchedSub;for(batchedSub=void 0;qa;){const nd=qa.next;if(qa.next=void 0,qa.flags&=-9,qa.flags&1)try{qa.trigger()}catch(od){Ra||(Ra=od)}qa=nd}}if(Ra)throw Ra}function prepareDeps(Ra){for(let qa=Ra.deps;qa;qa=qa.nextDep)qa.version=-1,qa.prevActiveLink=qa.dep.activeLink,qa.dep.activeLink=qa}function cleanupDeps(Ra){let qa,nd=Ra.depsTail,od=nd;for(;od;){const ld=od.prevDep;od.version===-1?(od===nd&&(nd=ld),removeSub(od),removeDep(od)):qa=od,od.dep.activeLink=od.prevActiveLink,od.prevActiveLink=void 0,od=ld}Ra.deps=qa,Ra.depsTail=nd}function isDirty(Ra){for(let qa=Ra.deps;qa;qa=qa.nextDep)if(qa.dep.version!==qa.version||qa.dep.computed&&(refreshComputed(qa.dep.computed)||qa.dep.version!==qa.version))return!0;return!!Ra._dirty}function refreshComputed(Ra){if(Ra.flags&4&&!(Ra.flags&16)||(Ra.flags&=-17,Ra.globalVersion===globalVersion))return;Ra.globalVersion=globalVersion;const qa=Ra.dep;if(Ra.flags|=2,qa.version>0&&!Ra.isSSR&&Ra.deps&&!isDirty(Ra)){Ra.flags&=-3;return}const nd=activeSub,od=shouldTrack;activeSub=Ra,shouldTrack=!0;try{prepareDeps(Ra);const ld=Ra.fn(Ra._value);(qa.version===0||hasChanged(ld,Ra._value))&&(Ra._value=ld,qa.version++)}catch(ld){throw qa.version++,ld}finally{activeSub=nd,shouldTrack=od,cleanupDeps(Ra),Ra.flags&=-3}}function removeSub(Ra,qa=!1){const{dep:nd,prevSub:od,nextSub:ld}=Ra;if(od&&(od.nextSub=ld,Ra.prevSub=void 0),ld&&(ld.prevSub=od,Ra.nextSub=void 0),nd.subs===Ra&&(nd.subs=od,!od&&nd.computed)){nd.computed.flags&=-5;for(let ud=nd.computed.deps;ud;ud=ud.nextDep)removeSub(ud,!0)}!qa&&!--nd.sc&&nd.map&&nd.map.delete(nd.key)}function removeDep(Ra){const{prevDep:qa,nextDep:nd}=Ra;qa&&(qa.nextDep=nd,Ra.prevDep=void 0),nd&&(nd.prevDep=qa,Ra.nextDep=void 0)}let shouldTrack=!0;const trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){const Ra=trackStack.pop();shouldTrack=Ra===void 0?!0:Ra}function cleanupEffect(Ra){const{cleanup:qa}=Ra;if(Ra.cleanup=void 0,qa){const nd=activeSub;activeSub=void 0;try{qa()}finally{activeSub=nd}}}let globalVersion=0;class Link{constructor(qa,nd){this.sub=qa,this.dep=nd,this.version=nd.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Dep{constructor(qa){this.computed=qa,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(qa){if(!activeSub||!shouldTrack||activeSub===this.computed)return;let nd=this.activeLink;if(nd===void 0||nd.sub!==activeSub)nd=this.activeLink=new Link(activeSub,this),activeSub.deps?(nd.prevDep=activeSub.depsTail,activeSub.depsTail.nextDep=nd,activeSub.depsTail=nd):activeSub.deps=activeSub.depsTail=nd,addSub(nd);else if(nd.version===-1&&(nd.version=this.version,nd.nextDep)){const od=nd.nextDep;od.prevDep=nd.prevDep,nd.prevDep&&(nd.prevDep.nextDep=od),nd.prevDep=activeSub.depsTail,nd.nextDep=void 0,activeSub.depsTail.nextDep=nd,activeSub.depsTail=nd,activeSub.deps===nd&&(activeSub.deps=od)}return nd}trigger(qa){this.version++,globalVersion++,this.notify(qa)}notify(qa){startBatch();try{for(let nd=this.subs;nd;nd=nd.prevSub)nd.sub.notify()&&nd.sub.dep.notify()}finally{endBatch()}}}function addSub(Ra){if(Ra.dep.sc++,Ra.sub.flags&4){const qa=Ra.dep.computed;if(qa&&!Ra.dep.subs){qa.flags|=20;for(let od=qa.deps;od;od=od.nextDep)addSub(od)}const nd=Ra.dep.subs;nd!==Ra&&(Ra.prevSub=nd,nd&&(nd.nextSub=Ra)),Ra.dep.subs=Ra}}const targetMap=new WeakMap,ITERATE_KEY=Symbol(""),MAP_KEY_ITERATE_KEY=Symbol(""),ARRAY_ITERATE_KEY=Symbol("");function track(Ra,qa,nd){if(shouldTrack&&activeSub){let od=targetMap.get(Ra);od||targetMap.set(Ra,od=new Map);let ld=od.get(nd);ld||(od.set(nd,ld=new Dep),ld.map=od,ld.key=nd),ld.track()}}function trigger(Ra,qa,nd,od,ld,ud){const dd=targetMap.get(Ra);if(!dd){globalVersion++;return}const pd=fd=>{fd&&fd.trigger()};if(startBatch(),qa==="clear")dd.forEach(pd);else{const fd=isArray$2(Ra),md=fd&&isIntegerKey(nd);if(fd&&nd==="length"){const vd=Number(od);dd.forEach((Ad,Nd)=>{(Nd==="length"||Nd===ARRAY_ITERATE_KEY||!isSymbol(Nd)&&Nd>=vd)&&pd(Ad)})}else switch((nd!==void 0||dd.has(void 0))&&pd(dd.get(nd)),md&&pd(dd.get(ARRAY_ITERATE_KEY)),qa){case"add":fd?md&&pd(dd.get("length")):(pd(dd.get(ITERATE_KEY)),isMap(Ra)&&pd(dd.get(MAP_KEY_ITERATE_KEY)));break;case"delete":fd||(pd(dd.get(ITERATE_KEY)),isMap(Ra)&&pd(dd.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap(Ra)&&pd(dd.get(ITERATE_KEY));break}}endBatch()}function getDepFromReactive(Ra,qa){const nd=targetMap.get(Ra);return nd&&nd.get(qa)}function reactiveReadArray(Ra){const qa=toRaw(Ra);return qa===Ra?qa:(track(qa,"iterate",ARRAY_ITERATE_KEY),isShallow(Ra)?qa:qa.map(toReactive))}function shallowReadArray(Ra){return track(Ra=toRaw(Ra),"iterate",ARRAY_ITERATE_KEY),Ra}const arrayInstrumentations={__proto__:null,[Symbol.iterator](){return iterator(this,Symbol.iterator,toReactive)},concat(...Ra){return reactiveReadArray(this).concat(...Ra.map(qa=>isArray$2(qa)?reactiveReadArray(qa):qa))},entries(){return iterator(this,"entries",Ra=>(Ra[1]=toReactive(Ra[1]),Ra))},every(Ra,qa){return apply$3(this,"every",Ra,qa,void 0,arguments)},filter(Ra,qa){return apply$3(this,"filter",Ra,qa,nd=>nd.map(toReactive),arguments)},find(Ra,qa){return apply$3(this,"find",Ra,qa,toReactive,arguments)},findIndex(Ra,qa){return apply$3(this,"findIndex",Ra,qa,void 0,arguments)},findLast(Ra,qa){return apply$3(this,"findLast",Ra,qa,toReactive,arguments)},findLastIndex(Ra,qa){return apply$3(this,"findLastIndex",Ra,qa,void 0,arguments)},forEach(Ra,qa){return apply$3(this,"forEach",Ra,qa,void 0,arguments)},includes(...Ra){return searchProxy(this,"includes",Ra)},indexOf(...Ra){return searchProxy(this,"indexOf",Ra)},join(Ra){return reactiveReadArray(this).join(Ra)},lastIndexOf(...Ra){return searchProxy(this,"lastIndexOf",Ra)},map(Ra,qa){return apply$3(this,"map",Ra,qa,void 0,arguments)},pop(){return noTracking(this,"pop")},push(...Ra){return noTracking(this,"push",Ra)},reduce(Ra,...qa){return reduce$2(this,"reduce",Ra,qa)},reduceRight(Ra,...qa){return reduce$2(this,"reduceRight",Ra,qa)},shift(){return noTracking(this,"shift")},some(Ra,qa){return apply$3(this,"some",Ra,qa,void 0,arguments)},splice(...Ra){return noTracking(this,"splice",Ra)},toReversed(){return reactiveReadArray(this).toReversed()},toSorted(Ra){return reactiveReadArray(this).toSorted(Ra)},toSpliced(...Ra){return reactiveReadArray(this).toSpliced(...Ra)},unshift(...Ra){return noTracking(this,"unshift",Ra)},values(){return iterator(this,"values",toReactive)}};function iterator(Ra,qa,nd){const od=shallowReadArray(Ra),ld=od[qa]();return od!==Ra&&!isShallow(Ra)&&(ld._next=ld.next,ld.next=()=>{const ud=ld._next();return ud.value&&(ud.value=nd(ud.value)),ud}),ld}const arrayProto$1=Array.prototype;function apply$3(Ra,qa,nd,od,ld,ud){const dd=shallowReadArray(Ra),pd=dd!==Ra&&!isShallow(Ra),fd=dd[qa];if(fd!==arrayProto$1[qa]){const Ad=fd.apply(Ra,ud);return pd?toReactive(Ad):Ad}let md=nd;dd!==Ra&&(pd?md=function(Ad,Nd){return nd.call(this,toReactive(Ad),Nd,Ra)}:nd.length>2&&(md=function(Ad,Nd){return nd.call(this,Ad,Nd,Ra)}));const vd=fd.call(dd,md,od);return pd&&ld?ld(vd):vd}function reduce$2(Ra,qa,nd,od){const ld=shallowReadArray(Ra);let ud=nd;return ld!==Ra&&(isShallow(Ra)?nd.length>3&&(ud=function(dd,pd,fd){return nd.call(this,dd,pd,fd,Ra)}):ud=function(dd,pd,fd){return nd.call(this,dd,toReactive(pd),fd,Ra)}),ld[qa](ud,...od)}function searchProxy(Ra,qa,nd){const od=toRaw(Ra);track(od,"iterate",ARRAY_ITERATE_KEY);const ld=od[qa](...nd);return(ld===-1||ld===!1)&&isProxy(nd[0])?(nd[0]=toRaw(nd[0]),od[qa](...nd)):ld}function noTracking(Ra,qa,nd=[]){pauseTracking(),startBatch();const od=toRaw(Ra)[qa].apply(Ra,nd);return endBatch(),resetTracking(),od}const isNonTrackableKeys=makeMap("__proto__,__v_isRef,__isVue"),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(Ra=>Ra!=="arguments"&&Ra!=="caller").map(Ra=>Symbol[Ra]).filter(isSymbol));function hasOwnProperty$e(Ra){isSymbol(Ra)||(Ra=String(Ra));const qa=toRaw(this);return track(qa,"has",Ra),qa.hasOwnProperty(Ra)}class BaseReactiveHandler{constructor(qa=!1,nd=!1){this._isReadonly=qa,this._isShallow=nd}get(qa,nd,od){if(nd==="__v_skip")return qa.__v_skip;const ld=this._isReadonly,ud=this._isShallow;if(nd==="__v_isReactive")return!ld;if(nd==="__v_isReadonly")return ld;if(nd==="__v_isShallow")return ud;if(nd==="__v_raw")return od===(ld?ud?shallowReadonlyMap:readonlyMap:ud?shallowReactiveMap:reactiveMap).get(qa)||Object.getPrototypeOf(qa)===Object.getPrototypeOf(od)?qa:void 0;const dd=isArray$2(qa);if(!ld){let fd;if(dd&&(fd=arrayInstrumentations[nd]))return fd;if(nd==="hasOwnProperty")return hasOwnProperty$e}const pd=Reflect.get(qa,nd,isRef(qa)?qa:od);return(isSymbol(nd)?builtInSymbols.has(nd):isNonTrackableKeys(nd))||(ld||track(qa,"get",nd),ud)?pd:isRef(pd)?dd&&isIntegerKey(nd)?pd:pd.value:isObject$9(pd)?ld?readonly(pd):reactive(pd):pd}}class MutableReactiveHandler extends BaseReactiveHandler{constructor(qa=!1){super(!1,qa)}set(qa,nd,od,ld){let ud=qa[nd];if(!this._isShallow){const fd=isReadonly(ud);if(!isShallow(od)&&!isReadonly(od)&&(ud=toRaw(ud),od=toRaw(od)),!isArray$2(qa)&&isRef(ud)&&!isRef(od))return fd?!1:(ud.value=od,!0)}const dd=isArray$2(qa)&&isIntegerKey(nd)?Number(nd)<qa.length:hasOwn$3(qa,nd),pd=Reflect.set(qa,nd,od,isRef(qa)?qa:ld);return qa===toRaw(ld)&&(dd?hasChanged(od,ud)&&trigger(qa,"set",nd,od):trigger(qa,"add",nd,od)),pd}deleteProperty(qa,nd){const od=hasOwn$3(qa,nd);qa[nd];const ld=Reflect.deleteProperty(qa,nd);return ld&&od&&trigger(qa,"delete",nd,void 0),ld}has(qa,nd){const od=Reflect.has(qa,nd);return(!isSymbol(nd)||!builtInSymbols.has(nd))&&track(qa,"has",nd),od}ownKeys(qa){return track(qa,"iterate",isArray$2(qa)?"length":ITERATE_KEY),Reflect.ownKeys(qa)}}class ReadonlyReactiveHandler extends BaseReactiveHandler{constructor(qa=!1){super(!0,qa)}set(qa,nd){return!0}deleteProperty(qa,nd){return!0}}const mutableHandlers=new MutableReactiveHandler,readonlyHandlers=new ReadonlyReactiveHandler,shallowReactiveHandlers=new MutableReactiveHandler(!0),shallowReadonlyHandlers=new ReadonlyReactiveHandler(!0),toShallow=Ra=>Ra,getProto$2=Ra=>Reflect.getPrototypeOf(Ra);function createIterableMethod(Ra,qa,nd){return function(...od){const ld=this.__v_raw,ud=toRaw(ld),dd=isMap(ud),pd=Ra==="entries"||Ra===Symbol.iterator&&dd,fd=Ra==="keys"&&dd,md=ld[Ra](...od),vd=nd?toShallow:qa?toReadonly:toReactive;return!qa&&track(ud,"iterate",fd?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){const{value:Ad,done:Nd}=md.next();return Nd?{value:Ad,done:Nd}:{value:pd?[vd(Ad[0]),vd(Ad[1])]:vd(Ad),done:Nd}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(Ra){return function(...qa){return Ra==="delete"?!1:Ra==="clear"?void 0:this}}function createInstrumentations(Ra,qa){const nd={get(ld){const ud=this.__v_raw,dd=toRaw(ud),pd=toRaw(ld);Ra||(hasChanged(ld,pd)&&track(dd,"get",ld),track(dd,"get",pd));const{has:fd}=getProto$2(dd),md=qa?toShallow:Ra?toReadonly:toReactive;if(fd.call(dd,ld))return md(ud.get(ld));if(fd.call(dd,pd))return md(ud.get(pd));ud!==dd&&ud.get(ld)},get size(){const ld=this.__v_raw;return!Ra&&track(toRaw(ld),"iterate",ITERATE_KEY),Reflect.get(ld,"size",ld)},has(ld){const ud=this.__v_raw,dd=toRaw(ud),pd=toRaw(ld);return Ra||(hasChanged(ld,pd)&&track(dd,"has",ld),track(dd,"has",pd)),ld===pd?ud.has(ld):ud.has(ld)||ud.has(pd)},forEach(ld,ud){const dd=this,pd=dd.__v_raw,fd=toRaw(pd),md=qa?toShallow:Ra?toReadonly:toReactive;return!Ra&&track(fd,"iterate",ITERATE_KEY),pd.forEach((vd,Ad)=>ld.call(ud,md(vd),md(Ad),dd))}};return extend$4(nd,Ra?{add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear")}:{add(ld){!qa&&!isShallow(ld)&&!isReadonly(ld)&&(ld=toRaw(ld));const ud=toRaw(this);return getProto$2(ud).has.call(ud,ld)||(ud.add(ld),trigger(ud,"add",ld,ld)),this},set(ld,ud){!qa&&!isShallow(ud)&&!isReadonly(ud)&&(ud=toRaw(ud));const dd=toRaw(this),{has:pd,get:fd}=getProto$2(dd);let md=pd.call(dd,ld);md||(ld=toRaw(ld),md=pd.call(dd,ld));const vd=fd.call(dd,ld);return dd.set(ld,ud),md?hasChanged(ud,vd)&&trigger(dd,"set",ld,ud):trigger(dd,"add",ld,ud),this},delete(ld){const ud=toRaw(this),{has:dd,get:pd}=getProto$2(ud);let fd=dd.call(ud,ld);fd||(ld=toRaw(ld),fd=dd.call(ud,ld)),pd&&pd.call(ud,ld);const md=ud.delete(ld);return fd&&trigger(ud,"delete",ld,void 0),md},clear(){const ld=toRaw(this),ud=ld.size!==0,dd=ld.clear();return ud&&trigger(ld,"clear",void 0,void 0),dd}}),["keys","values","entries",Symbol.iterator].forEach(ld=>{nd[ld]=createIterableMethod(ld,Ra,qa)}),nd}function createInstrumentationGetter(Ra,qa){const nd=createInstrumentations(Ra,qa);return(od,ld,ud)=>ld==="__v_isReactive"?!Ra:ld==="__v_isReadonly"?Ra:ld==="__v_raw"?od:Reflect.get(hasOwn$3(nd,ld)&&ld in od?nd:od,ld,ud)}const mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},shallowReadonlyCollectionHandlers={get:createInstrumentationGetter(!0,!0)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(Ra){switch(Ra){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function getTargetType(Ra){return Ra.__v_skip||!Object.isExtensible(Ra)?0:targetTypeMap(toRawType(Ra))}function reactive(Ra){return isReadonly(Ra)?Ra:createReactiveObject(Ra,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(Ra){return createReactiveObject(Ra,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(Ra){return createReactiveObject(Ra,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly(Ra){return createReactiveObject(Ra,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject(Ra,qa,nd,od,ld){if(!isObject$9(Ra)||Ra.__v_raw&&!(qa&&Ra.__v_isReactive))return Ra;const ud=ld.get(Ra);if(ud)return ud;const dd=getTargetType(Ra);if(dd===0)return Ra;const pd=new Proxy(Ra,dd===2?od:nd);return ld.set(Ra,pd),pd}function isReactive(Ra){return isReadonly(Ra)?isReactive(Ra.__v_raw):!!(Ra&&Ra.__v_isReactive)}function isReadonly(Ra){return!!(Ra&&Ra.__v_isReadonly)}function isShallow(Ra){return!!(Ra&&Ra.__v_isShallow)}function isProxy(Ra){return Ra?!!Ra.__v_raw:!1}function toRaw(Ra){const qa=Ra&&Ra.__v_raw;return qa?toRaw(qa):Ra}function markRaw(Ra){return!hasOwn$3(Ra,"__v_skip")&&Object.isExtensible(Ra)&&def$2(Ra,"__v_skip",!0),Ra}const toReactive=Ra=>isObject$9(Ra)?reactive(Ra):Ra,toReadonly=Ra=>isObject$9(Ra)?readonly(Ra):Ra;function isRef(Ra){return Ra?Ra.__v_isRef===!0:!1}function ref$1(Ra){return createRef(Ra,!1)}function shallowRef(Ra){return createRef(Ra,!0)}function createRef(Ra,qa){return isRef(Ra)?Ra:new RefImpl(Ra,qa)}class RefImpl{constructor(qa,nd){this.dep=new Dep,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=nd?qa:toRaw(qa),this._value=nd?qa:toReactive(qa),this.__v_isShallow=nd}get value(){return this.dep.track(),this._value}set value(qa){const nd=this._rawValue,od=this.__v_isShallow||isShallow(qa)||isReadonly(qa);qa=od?qa:toRaw(qa),hasChanged(qa,nd)&&(this._rawValue=qa,this._value=od?qa:toReactive(qa),this.dep.trigger())}}function unref(Ra){return isRef(Ra)?Ra.value:Ra}function toValue$3(Ra){return isFunction$4(Ra)?Ra():unref(Ra)}const shallowUnwrapHandlers={get:(Ra,qa,nd)=>qa==="__v_raw"?Ra:unref(Reflect.get(Ra,qa,nd)),set:(Ra,qa,nd,od)=>{const ld=Ra[qa];return isRef(ld)&&!isRef(nd)?(ld.value=nd,!0):Reflect.set(Ra,qa,nd,od)}};function proxyRefs(Ra){return isReactive(Ra)?Ra:new Proxy(Ra,shallowUnwrapHandlers)}class CustomRefImpl{constructor(qa){this.__v_isRef=!0,this._value=void 0;const nd=this.dep=new Dep,{get:od,set:ld}=qa(nd.track.bind(nd),nd.trigger.bind(nd));this._get=od,this._set=ld}get value(){return this._value=this._get()}set value(qa){this._set(qa)}}function customRef(Ra){return new CustomRefImpl(Ra)}function toRefs(Ra){const qa=isArray$2(Ra)?new Array(Ra.length):{};for(const nd in Ra)qa[nd]=propertyToRef(Ra,nd);return qa}class ObjectRefImpl{constructor(qa,nd,od){this._object=qa,this._key=nd,this._defaultValue=od,this.__v_isRef=!0,this._value=void 0}get value(){const qa=this._object[this._key];return this._value=qa===void 0?this._defaultValue:qa}set value(qa){this._object[this._key]=qa}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}}class GetterRefImpl{constructor(qa){this._getter=qa,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function toRef$1(Ra,qa,nd){return isRef(Ra)?Ra:isFunction$4(Ra)?new GetterRefImpl(Ra):isObject$9(Ra)&&arguments.length>1?propertyToRef(Ra,qa,nd):ref$1(Ra)}function propertyToRef(Ra,qa,nd){const od=Ra[qa];return isRef(od)?od:new ObjectRefImpl(Ra,qa,nd)}class ComputedRefImpl{constructor(qa,nd,od){this.fn=qa,this.setter=nd,this._value=void 0,this.dep=new Dep(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=globalVersion-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!nd,this.isSSR=od}notify(){if(this.flags|=16,!(this.flags&8)&&activeSub!==this)return batch(this,!0),!0}get value(){const qa=this.dep.track();return refreshComputed(this),qa&&(qa.version=this.dep.version),this._value}set value(qa){this.setter&&this.setter(qa)}}function computed$1(Ra,qa,nd=!1){let od,ld;return isFunction$4(Ra)?od=Ra:(od=Ra.get,ld=Ra.set),new ComputedRefImpl(od,ld,nd)}const INITIAL_WATCHER_VALUE={},cleanupMap=new WeakMap;let activeWatcher;function onWatcherCleanup(Ra,qa=!1,nd=activeWatcher){if(nd){let od=cleanupMap.get(nd);od||cleanupMap.set(nd,od=[]),od.push(Ra)}}function watch$1(Ra,qa,nd=EMPTY_OBJ){const{immediate:od,deep:ld,once:ud,scheduler:dd,augmentJob:pd,call:fd}=nd,md=qd=>ld?qd:isShallow(qd)||ld===!1||ld===0?traverse(qd,1):traverse(qd);let vd,Ad,Nd,Od,kd=!1,Ld=!1;if(isRef(Ra)?(Ad=()=>Ra.value,kd=isShallow(Ra)):isReactive(Ra)?(Ad=()=>md(Ra),kd=!0):isArray$2(Ra)?(Ld=!0,kd=Ra.some(qd=>isReactive(qd)||isShallow(qd)),Ad=()=>Ra.map(qd=>{if(isRef(qd))return qd.value;if(isReactive(qd))return md(qd);if(isFunction$4(qd))return fd?fd(qd,2):qd()})):isFunction$4(Ra)?qa?Ad=fd?()=>fd(Ra,2):Ra:Ad=()=>{if(Nd){pauseTracking();try{Nd()}finally{resetTracking()}}const qd=activeWatcher;activeWatcher=vd;try{return fd?fd(Ra,3,[Od]):Ra(Od)}finally{activeWatcher=qd}}:Ad=NOOP,qa&&ld){const qd=Ad,zd=ld===!0?1/0:ld;Ad=()=>traverse(qd(),zd)}const Gd=getCurrentScope(),jd=()=>{vd.stop(),Gd&&Gd.active&&remove$2(Gd.effects,vd)};if(ud&&qa){const qd=qa;qa=(...zd)=>{qd(...zd),jd()}}let Fd=Ld?new Array(Ra.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE;const Ud=qd=>{if(!(!(vd.flags&1)||!vd.dirty&&!qd))if(qa){const zd=vd.run();if(ld||kd||(Ld?zd.some((Wd,Jd)=>hasChanged(Wd,Fd[Jd])):hasChanged(zd,Fd))){Nd&&Nd();const Wd=activeWatcher;activeWatcher=vd;try{const Jd=[zd,Fd===INITIAL_WATCHER_VALUE?void 0:Ld&&Fd[0]===INITIAL_WATCHER_VALUE?[]:Fd,Od];fd?fd(qa,3,Jd):qa(...Jd),Fd=zd}finally{activeWatcher=Wd}}}else vd.run()};return pd&&pd(Ud),vd=new ReactiveEffect(Ad),vd.scheduler=dd?()=>dd(Ud,!1):Ud,Od=qd=>onWatcherCleanup(qd,!1,vd),Nd=vd.onStop=()=>{const qd=cleanupMap.get(vd);if(qd){if(fd)fd(qd,4);else for(const zd of qd)zd();cleanupMap.delete(vd)}},qa?od?Ud(!0):Fd=vd.run():dd?dd(Ud.bind(null,!0),!0):vd.run(),jd.pause=vd.pause.bind(vd),jd.resume=vd.resume.bind(vd),jd.stop=jd,jd}function traverse(Ra,qa=1/0,nd){if(qa<=0||!isObject$9(Ra)||Ra.__v_skip||(nd=nd||new Set,nd.has(Ra)))return Ra;if(nd.add(Ra),qa--,isRef(Ra))traverse(Ra.value,qa,nd);else if(isArray$2(Ra))for(let od=0;od<Ra.length;od++)traverse(Ra[od],qa,nd);else if(isSet$1(Ra)||isMap(Ra))Ra.forEach(od=>{traverse(od,qa,nd)});else if(isPlainObject$6(Ra)){for(const od in Ra)traverse(Ra[od],qa,nd);for(const od of Object.getOwnPropertySymbols(Ra))Object.prototype.propertyIsEnumerable.call(Ra,od)&&traverse(Ra[od],qa,nd)}return Ra}/**
* @vue/runtime-core v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const stack=[];let isWarning=!1;function warn$1(Ra,...qa){if(isWarning)return;isWarning=!0,pauseTracking();const nd=stack.length?stack[stack.length-1].component:null,od=nd&&nd.appContext.config.warnHandler,ld=getComponentTrace();if(od)callWithErrorHandling(od,nd,11,[Ra+qa.map(ud=>{var dd,pd;return(pd=(dd=ud.toString)==null?void 0:dd.call(ud))!=null?pd:JSON.stringify(ud)}).join(""),nd&&nd.proxy,ld.map(({vnode:ud})=>`at <${formatComponentName(nd,ud.type)}>`).join(`
`),ld]);else{const ud=[`[Vue warn]: ${Ra}`,...qa];ld.length&&ud.push(`
`,...formatTrace(ld)),console.warn(...ud)}resetTracking(),isWarning=!1}function getComponentTrace(){let Ra=stack[stack.length-1];if(!Ra)return[];const qa=[];for(;Ra;){const nd=qa[0];nd&&nd.vnode===Ra?nd.recurseCount++:qa.push({vnode:Ra,recurseCount:0});const od=Ra.component&&Ra.component.parent;Ra=od&&od.vnode}return qa}function formatTrace(Ra){const qa=[];return Ra.forEach((nd,od)=>{qa.push(...od===0?[]:[`
`],...formatTraceEntry(nd))}),qa}function formatTraceEntry({vnode:Ra,recurseCount:qa}){const nd=qa>0?`... (${qa} recursive calls)`:"",od=Ra.component?Ra.component.parent==null:!1,ld=` at <${formatComponentName(Ra.component,Ra.type,od)}`,ud=">"+nd;return Ra.props?[ld,...formatProps(Ra.props),ud]:[ld+ud]}function formatProps(Ra){const qa=[],nd=Object.keys(Ra);return nd.slice(0,3).forEach(od=>{qa.push(...formatProp(od,Ra[od]))}),nd.length>3&&qa.push(" ..."),qa}function formatProp(Ra,qa,nd){return isString$2(qa)?(qa=JSON.stringify(qa),nd?qa:[`${Ra}=${qa}`]):typeof qa=="number"||typeof qa=="boolean"||qa==null?nd?qa:[`${Ra}=${qa}`]:isRef(qa)?(qa=formatProp(Ra,toRaw(qa.value),!0),nd?qa:[`${Ra}=Ref<`,qa,">"]):isFunction$4(qa)?[`${Ra}=fn${qa.name?`<${qa.name}>`:""}`]:(qa=toRaw(qa),nd?qa:[`${Ra}=`,qa])}function callWithErrorHandling(Ra,qa,nd,od){try{return od?Ra(...od):Ra()}catch(ld){handleError$1(ld,qa,nd)}}function callWithAsyncErrorHandling(Ra,qa,nd,od){if(isFunction$4(Ra)){const ld=callWithErrorHandling(Ra,qa,nd,od);return ld&&isPromise(ld)&&ld.catch(ud=>{handleError$1(ud,qa,nd)}),ld}if(isArray$2(Ra)){const ld=[];for(let ud=0;ud<Ra.length;ud++)ld.push(callWithAsyncErrorHandling(Ra[ud],qa,nd,od));return ld}}function handleError$1(Ra,qa,nd,od=!0){const ld=qa?qa.vnode:null,{errorHandler:ud,throwUnhandledErrorInProduction:dd}=qa&&qa.appContext.config||EMPTY_OBJ;if(qa){let pd=qa.parent;const fd=qa.proxy,md=`https://vuejs.org/error-reference/#runtime-${nd}`;for(;pd;){const vd=pd.ec;if(vd){for(let Ad=0;Ad<vd.length;Ad++)if(vd[Ad](Ra,fd,md)===!1)return}pd=pd.parent}if(ud){pauseTracking(),callWithErrorHandling(ud,null,10,[Ra,fd,md]),resetTracking();return}}logError(Ra,nd,ld,od,dd)}function logError(Ra,qa,nd,od=!0,ld=!1){if(ld)throw Ra;console.error(Ra)}const queue$2=[];let flushIndex=-1;const pendingPostFlushCbs=[];let activePostFlushCbs=null,postFlushIndex=0;const resolvedPromise=Promise.resolve();let currentFlushPromise=null;function nextTick$1(Ra){const qa=currentFlushPromise||resolvedPromise;return Ra?qa.then(this?Ra.bind(this):Ra):qa}function findInsertionIndex(Ra){let qa=flushIndex+1,nd=queue$2.length;for(;qa<nd;){const od=qa+nd>>>1,ld=queue$2[od],ud=getId(ld);ud<Ra||ud===Ra&&ld.flags&2?qa=od+1:nd=od}return qa}function queueJob(Ra){if(!(Ra.flags&1)){const qa=getId(Ra),nd=queue$2[queue$2.length-1];!nd||!(Ra.flags&2)&&qa>=getId(nd)?queue$2.push(Ra):queue$2.splice(findInsertionIndex(qa),0,Ra),Ra.flags|=1,queueFlush()}}function queueFlush(){currentFlushPromise||(currentFlushPromise=resolvedPromise.then(flushJobs))}function queuePostFlushCb(Ra){isArray$2(Ra)?pendingPostFlushCbs.push(...Ra):activePostFlushCbs&&Ra.id===-1?activePostFlushCbs.splice(postFlushIndex+1,0,Ra):Ra.flags&1||(pendingPostFlushCbs.push(Ra),Ra.flags|=1),queueFlush()}function flushPreFlushCbs(Ra,qa,nd=flushIndex+1){for(;nd<queue$2.length;nd++){const od=queue$2[nd];if(od&&od.flags&2){if(Ra&&od.id!==Ra.uid)continue;queue$2.splice(nd,1),nd--,od.flags&4&&(od.flags&=-2),od(),od.flags&4||(od.flags&=-2)}}}function flushPostFlushCbs(Ra){if(pendingPostFlushCbs.length){const qa=[...new Set(pendingPostFlushCbs)].sort((nd,od)=>getId(nd)-getId(od));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...qa);return}for(activePostFlushCbs=qa,postFlushIndex=0;postFlushIndex<activePostFlushCbs.length;postFlushIndex++){const nd=activePostFlushCbs[postFlushIndex];nd.flags&4&&(nd.flags&=-2),nd.flags&8||nd(),nd.flags&=-2}activePostFlushCbs=null,postFlushIndex=0}}const getId=Ra=>Ra.id==null?Ra.flags&2?-1:1/0:Ra.id;function flushJobs(Ra){try{for(flushIndex=0;flushIndex<queue$2.length;flushIndex++){const qa=queue$2[flushIndex];qa&&!(qa.flags&8)&&(qa.flags&4&&(qa.flags&=-2),callWithErrorHandling(qa,qa.i,qa.i?15:14),qa.flags&4||(qa.flags&=-2))}}finally{for(;flushIndex<queue$2.length;flushIndex++){const qa=queue$2[flushIndex];qa&&(qa.flags&=-2)}flushIndex=-1,queue$2.length=0,flushPostFlushCbs(),currentFlushPromise=null,(queue$2.length||pendingPostFlushCbs.length)&&flushJobs()}}let currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(Ra){const qa=currentRenderingInstance;return currentRenderingInstance=Ra,currentScopeId=Ra&&Ra.type.__scopeId||null,qa}function withCtx(Ra,qa=currentRenderingInstance,nd){if(!qa||Ra._n)return Ra;const od=(...ld)=>{od._d&&setBlockTracking(-1);const ud=setCurrentRenderingInstance(qa);let dd;try{dd=Ra(...ld)}finally{setCurrentRenderingInstance(ud),od._d&&setBlockTracking(1)}return dd};return od._n=!0,od._c=!0,od._d=!0,od}function withDirectives(Ra,qa){if(currentRenderingInstance===null)return Ra;const nd=getComponentPublicInstance(currentRenderingInstance),od=Ra.dirs||(Ra.dirs=[]);for(let ld=0;ld<qa.length;ld++){let[ud,dd,pd,fd=EMPTY_OBJ]=qa[ld];ud&&(isFunction$4(ud)&&(ud={mounted:ud,updated:ud}),ud.deep&&traverse(dd),od.push({dir:ud,instance:nd,value:dd,oldValue:void 0,arg:pd,modifiers:fd}))}return Ra}function invokeDirectiveHook(Ra,qa,nd,od){const ld=Ra.dirs,ud=qa&&qa.dirs;for(let dd=0;dd<ld.length;dd++){const pd=ld[dd];ud&&(pd.oldValue=ud[dd].value);let fd=pd.dir[od];fd&&(pauseTracking(),callWithAsyncErrorHandling(fd,nd,8,[Ra.el,pd,Ra,qa]),resetTracking())}}const TeleportEndKey=Symbol("_vte"),isTeleport=Ra=>Ra.__isTeleport,isTeleportDisabled=Ra=>Ra&&(Ra.disabled||Ra.disabled===""),isTeleportDeferred=Ra=>Ra&&(Ra.defer||Ra.defer===""),isTargetSVG=Ra=>typeof SVGElement<"u"&&Ra instanceof SVGElement,isTargetMathML=Ra=>typeof MathMLElement=="function"&&Ra instanceof MathMLElement,resolveTarget=(Ra,qa)=>{const nd=Ra&&Ra.to;return isString$2(nd)?qa?qa(nd):null:nd},TeleportImpl={name:"Teleport",__isTeleport:!0,process(Ra,qa,nd,od,ld,ud,dd,pd,fd,md){const{mc:vd,pc:Ad,pbc:Nd,o:{insert:Od,querySelector:kd,createText:Ld,createComment:Gd}}=md,jd=isTeleportDisabled(qa.props);let{shapeFlag:Fd,children:Ud,dynamicChildren:qd}=qa;if(Ra==null){const zd=qa.el=Ld(""),Wd=qa.anchor=Ld("");Od(zd,nd,od),Od(Wd,nd,od);const Jd=(Xd,pf)=>{Fd&16&&(ld&&ld.isCE&&(ld.ce._teleportTarget=Xd),vd(Ud,Xd,pf,ld,ud,dd,pd,fd))},_f=()=>{const Xd=qa.target=resolveTarget(qa.props,kd),pf=prepareAnchor(Xd,qa,Ld,Od);Xd&&(dd!=="svg"&&isTargetSVG(Xd)?dd="svg":dd!=="mathml"&&isTargetMathML(Xd)&&(dd="mathml"),jd||(Jd(Xd,pf),updateCssVars(qa,!1)))};jd&&(Jd(nd,Wd),updateCssVars(qa,!0)),isTeleportDeferred(qa.props)?queuePostRenderEffect(()=>{_f(),qa.el.__isMounted=!0},ud):_f()}else{if(isTeleportDeferred(qa.props)&&!Ra.el.__isMounted){queuePostRenderEffect(()=>{TeleportImpl.process(Ra,qa,nd,od,ld,ud,dd,pd,fd,md),delete Ra.el.__isMounted},ud);return}qa.el=Ra.el,qa.targetStart=Ra.targetStart;const zd=qa.anchor=Ra.anchor,Wd=qa.target=Ra.target,Jd=qa.targetAnchor=Ra.targetAnchor,_f=isTeleportDisabled(Ra.props),Xd=_f?nd:Wd,pf=_f?zd:Jd;if(dd==="svg"||isTargetSVG(Wd)?dd="svg":(dd==="mathml"||isTargetMathML(Wd))&&(dd="mathml"),qd?(Nd(Ra.dynamicChildren,qd,Xd,ld,ud,dd,pd),traverseStaticChildren(Ra,qa,!0)):fd||Ad(Ra,qa,Xd,pf,ld,ud,dd,pd,!1),jd)_f?qa.props&&Ra.props&&qa.props.to!==Ra.props.to&&(qa.props.to=Ra.props.to):moveTeleport(qa,nd,zd,md,1);else if((qa.props&&qa.props.to)!==(Ra.props&&Ra.props.to)){const mf=qa.target=resolveTarget(qa.props,kd);mf&&moveTeleport(qa,mf,null,md,0)}else _f&&moveTeleport(qa,Wd,Jd,md,1);updateCssVars(qa,jd)}},remove(Ra,qa,nd,{um:od,o:{remove:ld}},ud){const{shapeFlag:dd,children:pd,anchor:fd,targetStart:md,targetAnchor:vd,target:Ad,props:Nd}=Ra;if(Ad&&(ld(md),ld(vd)),ud&&ld(fd),dd&16){const Od=ud||!isTeleportDisabled(Nd);for(let kd=0;kd<pd.length;kd++){const Ld=pd[kd];od(Ld,qa,nd,Od,!!Ld.dynamicChildren)}}},move:moveTeleport,hydrate:hydrateTeleport};function moveTeleport(Ra,qa,nd,{o:{insert:od},m:ld},ud=2){ud===0&&od(Ra.targetAnchor,qa,nd);const{el:dd,anchor:pd,shapeFlag:fd,children:md,props:vd}=Ra,Ad=ud===2;if(Ad&&od(dd,qa,nd),(!Ad||isTeleportDisabled(vd))&&fd&16)for(let Nd=0;Nd<md.length;Nd++)ld(md[Nd],qa,nd,2);Ad&&od(pd,qa,nd)}function hydrateTeleport(Ra,qa,nd,od,ld,ud,{o:{nextSibling:dd,parentNode:pd,querySelector:fd,insert:md,createText:vd}},Ad){const Nd=qa.target=resolveTarget(qa.props,fd);if(Nd){const Od=isTeleportDisabled(qa.props),kd=Nd._lpa||Nd.firstChild;if(qa.shapeFlag&16)if(Od)qa.anchor=Ad(dd(Ra),qa,pd(Ra),nd,od,ld,ud),qa.targetStart=kd,qa.targetAnchor=kd&&dd(kd);else{qa.anchor=dd(Ra);let Ld=kd;for(;Ld;){if(Ld&&Ld.nodeType===8){if(Ld.data==="teleport start anchor")qa.targetStart=Ld;else if(Ld.data==="teleport anchor"){qa.targetAnchor=Ld,Nd._lpa=qa.targetAnchor&&dd(qa.targetAnchor);break}}Ld=dd(Ld)}qa.targetAnchor||prepareAnchor(Nd,qa,vd,md),Ad(kd&&dd(kd),qa,Nd,nd,od,ld,ud)}updateCssVars(qa,Od)}return qa.anchor&&dd(qa.anchor)}const Teleport=TeleportImpl;function updateCssVars(Ra,qa){const nd=Ra.ctx;if(nd&&nd.ut){let od,ld;for(qa?(od=Ra.el,ld=Ra.anchor):(od=Ra.targetStart,ld=Ra.targetAnchor);od&&od!==ld;)od.nodeType===1&&od.setAttribute("data-v-owner",nd.uid),od=od.nextSibling;nd.ut()}}function prepareAnchor(Ra,qa,nd,od){const ld=qa.targetStart=nd(""),ud=qa.targetAnchor=nd("");return ld[TeleportEndKey]=ud,Ra&&(od(ld,Ra),od(ud,Ra)),ud}const leaveCbKey=Symbol("_leaveCb"),enterCbKey=Symbol("_enterCb");function useTransitionState(){const Ra={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return onMounted(()=>{Ra.isMounted=!0}),onBeforeUnmount(()=>{Ra.isUnmounting=!0}),Ra}const TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},recursiveGetSubtree=Ra=>{const qa=Ra.subTree;return qa.component?recursiveGetSubtree(qa.component):qa},BaseTransitionImpl={name:"BaseTransition",props:BaseTransitionPropsValidators,setup(Ra,{slots:qa}){const nd=getCurrentInstance(),od=useTransitionState();return()=>{const ld=qa.default&&getTransitionRawChildren(qa.default(),!0);if(!ld||!ld.length)return;const ud=findNonCommentChild(ld),dd=toRaw(Ra),{mode:pd}=dd;if(od.isLeaving)return emptyPlaceholder(ud);const fd=getInnerChild$1(ud);if(!fd)return emptyPlaceholder(ud);let md=resolveTransitionHooks(fd,dd,od,nd,Ad=>md=Ad);fd.type!==Comment$2&&setTransitionHooks(fd,md);let vd=nd.subTree&&getInnerChild$1(nd.subTree);if(vd&&vd.type!==Comment$2&&!isSameVNodeType(fd,vd)&&recursiveGetSubtree(nd).type!==Comment$2){let Ad=resolveTransitionHooks(vd,dd,od,nd);if(setTransitionHooks(vd,Ad),pd==="out-in"&&fd.type!==Comment$2)return od.isLeaving=!0,Ad.afterLeave=()=>{od.isLeaving=!1,nd.job.flags&8||nd.update(),delete Ad.afterLeave,vd=void 0},emptyPlaceholder(ud);pd==="in-out"&&fd.type!==Comment$2?Ad.delayLeave=(Nd,Od,kd)=>{const Ld=getLeavingNodesForType(od,vd);Ld[String(vd.key)]=vd,Nd[leaveCbKey]=()=>{Od(),Nd[leaveCbKey]=void 0,delete md.delayedLeave,vd=void 0},md.delayedLeave=()=>{kd(),delete md.delayedLeave,vd=void 0}}:vd=void 0}else vd&&(vd=void 0);return ud}}};function findNonCommentChild(Ra){let qa=Ra[0];if(Ra.length>1){for(const nd of Ra)if(nd.type!==Comment$2){qa=nd;break}}return qa}const BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(Ra,qa){const{leavingVNodes:nd}=Ra;let od=nd.get(qa.type);return od||(od=Object.create(null),nd.set(qa.type,od)),od}function resolveTransitionHooks(Ra,qa,nd,od,ld){const{appear:ud,mode:dd,persisted:pd=!1,onBeforeEnter:fd,onEnter:md,onAfterEnter:vd,onEnterCancelled:Ad,onBeforeLeave:Nd,onLeave:Od,onAfterLeave:kd,onLeaveCancelled:Ld,onBeforeAppear:Gd,onAppear:jd,onAfterAppear:Fd,onAppearCancelled:Ud}=qa,qd=String(Ra.key),zd=getLeavingNodesForType(nd,Ra),Wd=(Xd,pf)=>{Xd&&callWithAsyncErrorHandling(Xd,od,9,pf)},Jd=(Xd,pf)=>{const mf=pf[1];Wd(Xd,pf),isArray$2(Xd)?Xd.every(Sf=>Sf.length<=1)&&mf():Xd.length<=1&&mf()},_f={mode:dd,persisted:pd,beforeEnter(Xd){let pf=fd;if(!nd.isMounted)if(ud)pf=Gd||fd;else return;Xd[leaveCbKey]&&Xd[leaveCbKey](!0);const mf=zd[qd];mf&&isSameVNodeType(Ra,mf)&&mf.el[leaveCbKey]&&mf.el[leaveCbKey](),Wd(pf,[Xd])},enter(Xd){let pf=md,mf=vd,Sf=Ad;if(!nd.isMounted)if(ud)pf=jd||md,mf=Fd||vd,Sf=Ud||Ad;else return;let Tf=!1;const Af=Xd[enterCbKey]=Ef=>{Tf||(Tf=!0,Ef?Wd(Sf,[Xd]):Wd(mf,[Xd]),_f.delayedLeave&&_f.delayedLeave(),Xd[enterCbKey]=void 0)};pf?Jd(pf,[Xd,Af]):Af()},leave(Xd,pf){const mf=String(Ra.key);if(Xd[enterCbKey]&&Xd[enterCbKey](!0),nd.isUnmounting)return pf();Wd(Nd,[Xd]);let Sf=!1;const Tf=Xd[leaveCbKey]=Af=>{Sf||(Sf=!0,pf(),Af?Wd(Ld,[Xd]):Wd(kd,[Xd]),Xd[leaveCbKey]=void 0,zd[mf]===Ra&&delete zd[mf])};zd[mf]=Ra,Od?Jd(Od,[Xd,Tf]):Tf()},clone(Xd){const pf=resolveTransitionHooks(Xd,qa,nd,od,ld);return ld&&ld(pf),pf}};return _f}function emptyPlaceholder(Ra){if(isKeepAlive(Ra))return Ra=cloneVNode(Ra),Ra.children=null,Ra}function getInnerChild$1(Ra){if(!isKeepAlive(Ra))return isTeleport(Ra.type)&&Ra.children?findNonCommentChild(Ra.children):Ra;const{shapeFlag:qa,children:nd}=Ra;if(nd){if(qa&16)return nd[0];if(qa&32&&isFunction$4(nd.default))return nd.default()}}function setTransitionHooks(Ra,qa){Ra.shapeFlag&6&&Ra.component?(Ra.transition=qa,setTransitionHooks(Ra.component.subTree,qa)):Ra.shapeFlag&128?(Ra.ssContent.transition=qa.clone(Ra.ssContent),Ra.ssFallback.transition=qa.clone(Ra.ssFallback)):Ra.transition=qa}function getTransitionRawChildren(Ra,qa=!1,nd){let od=[],ld=0;for(let ud=0;ud<Ra.length;ud++){let dd=Ra[ud];const pd=nd==null?dd.key:String(nd)+String(dd.key!=null?dd.key:ud);dd.type===Fragment?(dd.patchFlag&128&&ld++,od=od.concat(getTransitionRawChildren(dd.children,qa,pd))):(qa||dd.type!==Comment$2)&&od.push(pd!=null?cloneVNode(dd,{key:pd}):dd)}if(ld>1)for(let ud=0;ud<od.length;ud++)od[ud].patchFlag=-2;return od}/*! #__NO_SIDE_EFFECTS__ */function defineComponent(Ra,qa){return isFunction$4(Ra)?extend$4({name:Ra.name},qa,{setup:Ra}):Ra}function useId(){const Ra=getCurrentInstance();return Ra?(Ra.appContext.config.idPrefix||"v")+"-"+Ra.ids[0]+Ra.ids[1]++:""}function markAsyncBoundary(Ra){Ra.ids=[Ra.ids[0]+Ra.ids[2]+++"-",0,0]}function useTemplateRef(Ra){const qa=getCurrentInstance(),nd=shallowRef(null);if(qa){const ld=qa.refs===EMPTY_OBJ?qa.refs={}:qa.refs;Object.defineProperty(ld,Ra,{enumerable:!0,get:()=>nd.value,set:ud=>nd.value=ud})}return nd}function setRef(Ra,qa,nd,od,ld=!1){if(isArray$2(Ra)){Ra.forEach((kd,Ld)=>setRef(kd,qa&&(isArray$2(qa)?qa[Ld]:qa),nd,od,ld));return}if(isAsyncWrapper(od)&&!ld){od.shapeFlag&512&&od.type.__asyncResolved&&od.component.subTree.component&&setRef(Ra,qa,nd,od.component.subTree);return}const ud=od.shapeFlag&4?getComponentPublicInstance(od.component):od.el,dd=ld?null:ud,{i:pd,r:fd}=Ra,md=qa&&qa.r,vd=pd.refs===EMPTY_OBJ?pd.refs={}:pd.refs,Ad=pd.setupState,Nd=toRaw(Ad),Od=Ad===EMPTY_OBJ?()=>!1:kd=>hasOwn$3(Nd,kd);if(md!=null&&md!==fd&&(isString$2(md)?(vd[md]=null,Od(md)&&(Ad[md]=null)):isRef(md)&&(md.value=null)),isFunction$4(fd))callWithErrorHandling(fd,pd,12,[dd,vd]);else{const kd=isString$2(fd),Ld=isRef(fd);if(kd||Ld){const Gd=()=>{if(Ra.f){const jd=kd?Od(fd)?Ad[fd]:vd[fd]:fd.value;ld?isArray$2(jd)&&remove$2(jd,ud):isArray$2(jd)?jd.includes(ud)||jd.push(ud):kd?(vd[fd]=[ud],Od(fd)&&(Ad[fd]=vd[fd])):(fd.value=[ud],Ra.k&&(vd[Ra.k]=fd.value))}else kd?(vd[fd]=dd,Od(fd)&&(Ad[fd]=dd)):Ld&&(fd.value=dd,Ra.k&&(vd[Ra.k]=dd))};dd?(Gd.id=-1,queuePostRenderEffect(Gd,nd)):Gd()}}}getGlobalThis().requestIdleCallback;getGlobalThis().cancelIdleCallback;const isAsyncWrapper=Ra=>!!Ra.type.__asyncLoader,isKeepAlive=Ra=>Ra.type.__isKeepAlive;function onActivated(Ra,qa){registerKeepAliveHook(Ra,"a",qa)}function onDeactivated(Ra,qa){registerKeepAliveHook(Ra,"da",qa)}function registerKeepAliveHook(Ra,qa,nd=currentInstance){const od=Ra.__wdc||(Ra.__wdc=()=>{let ld=nd;for(;ld;){if(ld.isDeactivated)return;ld=ld.parent}return Ra()});if(injectHook(qa,od,nd),nd){let ld=nd.parent;for(;ld&&ld.parent;)isKeepAlive(ld.parent.vnode)&&injectToKeepAliveRoot(od,qa,nd,ld),ld=ld.parent}}function injectToKeepAliveRoot(Ra,qa,nd,od){const ld=injectHook(qa,Ra,od,!0);onUnmounted(()=>{remove$2(od[qa],ld)},nd)}function injectHook(Ra,qa,nd=currentInstance,od=!1){if(nd){const ld=nd[Ra]||(nd[Ra]=[]),ud=qa.__weh||(qa.__weh=(...dd)=>{pauseTracking();const pd=setCurrentInstance(nd),fd=callWithAsyncErrorHandling(qa,nd,Ra,dd);return pd(),resetTracking(),fd});return od?ld.unshift(ud):ld.push(ud),ud}}const createHook=Ra=>(qa,nd=currentInstance)=>{(!isInSSRComponentSetup||Ra==="sp")&&injectHook(Ra,(...od)=>qa(...od),nd)},onBeforeMount=createHook("bm"),onMounted=createHook("m"),onBeforeUpdate=createHook("bu"),onUpdated=createHook("u"),onBeforeUnmount=createHook("bum"),onUnmounted=createHook("um"),onServerPrefetch=createHook("sp"),onRenderTriggered=createHook("rtg"),onRenderTracked=createHook("rtc");function onErrorCaptured(Ra,qa=currentInstance){injectHook("ec",Ra,qa)}const COMPONENTS="components";function resolveComponent(Ra,qa){return resolveAsset(COMPONENTS,Ra,!0,qa)||Ra}const NULL_DYNAMIC_COMPONENT=Symbol.for("v-ndc");function resolveDynamicComponent(Ra){return isString$2(Ra)?resolveAsset(COMPONENTS,Ra,!1)||Ra:Ra||NULL_DYNAMIC_COMPONENT}function resolveAsset(Ra,qa,nd=!0,od=!1){const ld=currentRenderingInstance||currentInstance;if(ld){const ud=ld.type;{const pd=getComponentName(ud,!1);if(pd&&(pd===qa||pd===camelize(qa)||pd===capitalize(camelize(qa))))return ud}const dd=resolve$1(ld[Ra]||ud[Ra],qa)||resolve$1(ld.appContext[Ra],qa);return!dd&&od?ud:dd}}function resolve$1(Ra,qa){return Ra&&(Ra[qa]||Ra[camelize(qa)]||Ra[capitalize(camelize(qa))])}function renderList(Ra,qa,nd,od){let ld;const ud=nd,dd=isArray$2(Ra);if(dd||isString$2(Ra)){const pd=dd&&isReactive(Ra);let fd=!1;pd&&(fd=!isShallow(Ra),Ra=shallowReadArray(Ra)),ld=new Array(Ra.length);for(let md=0,vd=Ra.length;md<vd;md++)ld[md]=qa(fd?toReactive(Ra[md]):Ra[md],md,void 0,ud)}else if(typeof Ra=="number"){ld=new Array(Ra);for(let pd=0;pd<Ra;pd++)ld[pd]=qa(pd+1,pd,void 0,ud)}else if(isObject$9(Ra))if(Ra[Symbol.iterator])ld=Array.from(Ra,(pd,fd)=>qa(pd,fd,void 0,ud));else{const pd=Object.keys(Ra);ld=new Array(pd.length);for(let fd=0,md=pd.length;fd<md;fd++){const vd=pd[fd];ld[fd]=qa(Ra[vd],vd,fd,ud)}}else ld=[];return ld}function renderSlot(Ra,qa,nd={},od,ld){if(currentRenderingInstance.ce||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&&currentRenderingInstance.parent.ce)return qa!=="default"&&(nd.name=qa),openBlock(),createBlock(Fragment,null,[createVNode("slot",nd,od&&od())],64);let ud=Ra[qa];ud&&ud._c&&(ud._d=!1),openBlock();const dd=ud&&ensureValidVNode(ud(nd)),pd=nd.key||dd&&dd.key,fd=createBlock(Fragment,{key:(pd&&!isSymbol(pd)?pd:`_${qa}`)+(!dd&&od?"_fb":"")},dd||(od?od():[]),dd&&Ra._===1?64:-2);return!ld&&fd.scopeId&&(fd.slotScopeIds=[fd.scopeId+"-s"]),ud&&ud._c&&(ud._d=!0),fd}function ensureValidVNode(Ra){return Ra.some(qa=>isVNode(qa)?!(qa.type===Comment$2||qa.type===Fragment&&!ensureValidVNode(qa.children)):!0)?Ra:null}function toHandlers(Ra,qa){const nd={};for(const od in Ra)nd[toHandlerKey(od)]=Ra[od];return nd}const getPublicInstance=Ra=>Ra?isStatefulComponent(Ra)?getComponentPublicInstance(Ra):getPublicInstance(Ra.parent):null,publicPropertiesMap=extend$4(Object.create(null),{$:Ra=>Ra,$el:Ra=>Ra.vnode.el,$data:Ra=>Ra.data,$props:Ra=>Ra.props,$attrs:Ra=>Ra.attrs,$slots:Ra=>Ra.slots,$refs:Ra=>Ra.refs,$parent:Ra=>getPublicInstance(Ra.parent),$root:Ra=>getPublicInstance(Ra.root),$host:Ra=>Ra.ce,$emit:Ra=>Ra.emit,$options:Ra=>resolveMergedOptions(Ra),$forceUpdate:Ra=>Ra.f||(Ra.f=()=>{queueJob(Ra.update)}),$nextTick:Ra=>Ra.n||(Ra.n=nextTick$1.bind(Ra.proxy)),$watch:Ra=>instanceWatch.bind(Ra)}),hasSetupBinding=(Ra,qa)=>Ra!==EMPTY_OBJ&&!Ra.__isScriptSetup&&hasOwn$3(Ra,qa),PublicInstanceProxyHandlers={get({_:Ra},qa){if(qa==="__v_skip")return!0;const{ctx:nd,setupState:od,data:ld,props:ud,accessCache:dd,type:pd,appContext:fd}=Ra;let md;if(qa[0]!=="$"){const Od=dd[qa];if(Od!==void 0)switch(Od){case 1:return od[qa];case 2:return ld[qa];case 4:return nd[qa];case 3:return ud[qa]}else{if(hasSetupBinding(od,qa))return dd[qa]=1,od[qa];if(ld!==EMPTY_OBJ&&hasOwn$3(ld,qa))return dd[qa]=2,ld[qa];if((md=Ra.propsOptions[0])&&hasOwn$3(md,qa))return dd[qa]=3,ud[qa];if(nd!==EMPTY_OBJ&&hasOwn$3(nd,qa))return dd[qa]=4,nd[qa];shouldCacheAccess&&(dd[qa]=0)}}const vd=publicPropertiesMap[qa];let Ad,Nd;if(vd)return qa==="$attrs"&&track(Ra.attrs,"get",""),vd(Ra);if((Ad=pd.__cssModules)&&(Ad=Ad[qa]))return Ad;if(nd!==EMPTY_OBJ&&hasOwn$3(nd,qa))return dd[qa]=4,nd[qa];if(Nd=fd.config.globalProperties,hasOwn$3(Nd,qa))return Nd[qa]},set({_:Ra},qa,nd){const{data:od,setupState:ld,ctx:ud}=Ra;return hasSetupBinding(ld,qa)?(ld[qa]=nd,!0):od!==EMPTY_OBJ&&hasOwn$3(od,qa)?(od[qa]=nd,!0):hasOwn$3(Ra.props,qa)||qa[0]==="$"&&qa.slice(1)in Ra?!1:(ud[qa]=nd,!0)},has({_:{data:Ra,setupState:qa,accessCache:nd,ctx:od,appContext:ld,propsOptions:ud}},dd){let pd;return!!nd[dd]||Ra!==EMPTY_OBJ&&hasOwn$3(Ra,dd)||hasSetupBinding(qa,dd)||(pd=ud[0])&&hasOwn$3(pd,dd)||hasOwn$3(od,dd)||hasOwn$3(publicPropertiesMap,dd)||hasOwn$3(ld.config.globalProperties,dd)},defineProperty(Ra,qa,nd){return nd.get!=null?Ra._.accessCache[qa]=0:hasOwn$3(nd,"value")&&this.set(Ra,qa,nd.value,null),Reflect.defineProperty(Ra,qa,nd)}};function useSlots(){return getContext().slots}function useAttrs(){return getContext().attrs}function getContext(){const Ra=getCurrentInstance();return Ra.setupContext||(Ra.setupContext=createSetupContext(Ra))}function normalizePropsOrEmits(Ra){return isArray$2(Ra)?Ra.reduce((qa,nd)=>(qa[nd]=null,qa),{}):Ra}function mergeDefaults(Ra,qa){const nd=normalizePropsOrEmits(Ra);for(const od in qa){if(od.startsWith("__skip"))continue;let ld=nd[od];ld?isArray$2(ld)||isFunction$4(ld)?ld=nd[od]={type:ld,default:qa[od]}:ld.default=qa[od]:ld===null&&(ld=nd[od]={default:qa[od]}),ld&&qa[`__skip_${od}`]&&(ld.skipFactory=!0)}return nd}let shouldCacheAccess=!0;function applyOptions(Ra){const qa=resolveMergedOptions(Ra),nd=Ra.proxy,od=Ra.ctx;shouldCacheAccess=!1,qa.beforeCreate&&callHook$1(qa.beforeCreate,Ra,"bc");const{data:ld,computed:ud,methods:dd,watch:pd,provide:fd,inject:md,created:vd,beforeMount:Ad,mounted:Nd,beforeUpdate:Od,updated:kd,activated:Ld,deactivated:Gd,beforeDestroy:jd,beforeUnmount:Fd,destroyed:Ud,unmounted:qd,render:zd,renderTracked:Wd,renderTriggered:Jd,errorCaptured:_f,serverPrefetch:Xd,expose:pf,inheritAttrs:mf,components:Sf,directives:Tf,filters:Af}=qa;if(md&&resolveInjections(md,od,null),dd)for(const If in dd){const Gf=dd[If];isFunction$4(Gf)&&(od[If]=Gf.bind(nd))}if(ld){const If=ld.call(nd,nd);isObject$9(If)&&(Ra.data=reactive(If))}if(shouldCacheAccess=!0,ud)for(const If in ud){const Gf=ud[If],Qf=isFunction$4(Gf)?Gf.bind(nd,nd):isFunction$4(Gf.get)?Gf.get.bind(nd,nd):NOOP,Xf=!isFunction$4(Gf)&&isFunction$4(Gf.set)?Gf.set.bind(nd):NOOP,ph=computed({get:Qf,set:Xf});Object.defineProperty(od,If,{enumerable:!0,configurable:!0,get:()=>ph.value,set:qf=>ph.value=qf})}if(pd)for(const If in pd)createWatcher(pd[If],od,nd,If);if(fd){const If=isFunction$4(fd)?fd.call(nd):fd;Reflect.ownKeys(If).forEach(Gf=>{provide(Gf,If[Gf])})}vd&&callHook$1(vd,Ra,"c");function Nf(If,Gf){isArray$2(Gf)?Gf.forEach(Qf=>If(Qf.bind(nd))):Gf&&If(Gf.bind(nd))}if(Nf(onBeforeMount,Ad),Nf(onMounted,Nd),Nf(onBeforeUpdate,Od),Nf(onUpdated,kd),Nf(onActivated,Ld),Nf(onDeactivated,Gd),Nf(onErrorCaptured,_f),Nf(onRenderTracked,Wd),Nf(onRenderTriggered,Jd),Nf(onBeforeUnmount,Fd),Nf(onUnmounted,qd),Nf(onServerPrefetch,Xd),isArray$2(pf))if(pf.length){const If=Ra.exposed||(Ra.exposed={});pf.forEach(Gf=>{Object.defineProperty(If,Gf,{get:()=>nd[Gf],set:Qf=>nd[Gf]=Qf})})}else Ra.exposed||(Ra.exposed={});zd&&Ra.render===NOOP&&(Ra.render=zd),mf!=null&&(Ra.inheritAttrs=mf),Sf&&(Ra.components=Sf),Tf&&(Ra.directives=Tf),Xd&&markAsyncBoundary(Ra)}function resolveInjections(Ra,qa,nd=NOOP){isArray$2(Ra)&&(Ra=normalizeInject(Ra));for(const od in Ra){const ld=Ra[od];let ud;isObject$9(ld)?"default"in ld?ud=inject(ld.from||od,ld.default,!0):ud=inject(ld.from||od):ud=inject(ld),isRef(ud)?Object.defineProperty(qa,od,{enumerable:!0,configurable:!0,get:()=>ud.value,set:dd=>ud.value=dd}):qa[od]=ud}}function callHook$1(Ra,qa,nd){callWithAsyncErrorHandling(isArray$2(Ra)?Ra.map(od=>od.bind(qa.proxy)):Ra.bind(qa.proxy),qa,nd)}function createWatcher(Ra,qa,nd,od){let ld=od.includes(".")?createPathGetter(nd,od):()=>nd[od];if(isString$2(Ra)){const ud=qa[Ra];isFunction$4(ud)&&watch(ld,ud)}else if(isFunction$4(Ra))watch(ld,Ra.bind(nd));else if(isObject$9(Ra))if(isArray$2(Ra))Ra.forEach(ud=>createWatcher(ud,qa,nd,od));else{const ud=isFunction$4(Ra.handler)?Ra.handler.bind(nd):qa[Ra.handler];isFunction$4(ud)&&watch(ld,ud,Ra)}}function resolveMergedOptions(Ra){const qa=Ra.type,{mixins:nd,extends:od}=qa,{mixins:ld,optionsCache:ud,config:{optionMergeStrategies:dd}}=Ra.appContext,pd=ud.get(qa);let fd;return pd?fd=pd:!ld.length&&!nd&&!od?fd=qa:(fd={},ld.length&&ld.forEach(md=>mergeOptions(fd,md,dd,!0)),mergeOptions(fd,qa,dd)),isObject$9(qa)&&ud.set(qa,fd),fd}function mergeOptions(Ra,qa,nd,od=!1){const{mixins:ld,extends:ud}=qa;ud&&mergeOptions(Ra,ud,nd,!0),ld&&ld.forEach(dd=>mergeOptions(Ra,dd,nd,!0));for(const dd in qa)if(!(od&&dd==="expose")){const pd=internalOptionMergeStrats[dd]||nd&&nd[dd];Ra[dd]=pd?pd(Ra[dd],qa[dd]):qa[dd]}return Ra}const internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray,created:mergeAsArray,beforeMount:mergeAsArray,mounted:mergeAsArray,beforeUpdate:mergeAsArray,updated:mergeAsArray,beforeDestroy:mergeAsArray,beforeUnmount:mergeAsArray,destroyed:mergeAsArray,unmounted:mergeAsArray,activated:mergeAsArray,deactivated:mergeAsArray,errorCaptured:mergeAsArray,serverPrefetch:mergeAsArray,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(Ra,qa){return qa?Ra?function(){return extend$4(isFunction$4(Ra)?Ra.call(this,this):Ra,isFunction$4(qa)?qa.call(this,this):qa)}:qa:Ra}function mergeInject(Ra,qa){return mergeObjectOptions(normalizeInject(Ra),normalizeInject(qa))}function normalizeInject(Ra){if(isArray$2(Ra)){const qa={};for(let nd=0;nd<Ra.length;nd++)qa[Ra[nd]]=Ra[nd];return qa}return Ra}function mergeAsArray(Ra,qa){return Ra?[...new Set([].concat(Ra,qa))]:qa}function mergeObjectOptions(Ra,qa){return Ra?extend$4(Object.create(null),Ra,qa):qa}function mergeEmitsOrPropsOptions(Ra,qa){return Ra?isArray$2(Ra)&&isArray$2(qa)?[...new Set([...Ra,...qa])]:extend$4(Object.create(null),normalizePropsOrEmits(Ra),normalizePropsOrEmits(qa??{})):qa}function mergeWatchOptions(Ra,qa){if(!Ra)return qa;if(!qa)return Ra;const nd=extend$4(Object.create(null),Ra);for(const od in qa)nd[od]=mergeAsArray(Ra[od],qa[od]);return nd}function createAppContext(){return{app:null,config:{isNativeTag:NO,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let uid$1=0;function createAppAPI(Ra,qa){return function(od,ld=null){isFunction$4(od)||(od=extend$4({},od)),ld!=null&&!isObject$9(ld)&&(ld=null);const ud=createAppContext(),dd=new WeakSet,pd=[];let fd=!1;const md=ud.app={_uid:uid$1++,_component:od,_props:ld,_container:null,_context:ud,_instance:null,version:version$4,get config(){return ud.config},set config(vd){},use(vd,...Ad){return dd.has(vd)||(vd&&isFunction$4(vd.install)?(dd.add(vd),vd.install(md,...Ad)):isFunction$4(vd)&&(dd.add(vd),vd(md,...Ad))),md},mixin(vd){return ud.mixins.includes(vd)||ud.mixins.push(vd),md},component(vd,Ad){return Ad?(ud.components[vd]=Ad,md):ud.components[vd]},directive(vd,Ad){return Ad?(ud.directives[vd]=Ad,md):ud.directives[vd]},mount(vd,Ad,Nd){if(!fd){const Od=md._ceVNode||createVNode(od,ld);return Od.appContext=ud,Nd===!0?Nd="svg":Nd===!1&&(Nd=void 0),Ad&&qa?qa(Od,vd):Ra(Od,vd,Nd),fd=!0,md._container=vd,vd.__vue_app__=md,getComponentPublicInstance(Od.component)}},onUnmount(vd){pd.push(vd)},unmount(){fd&&(callWithAsyncErrorHandling(pd,md._instance,16),Ra(null,md._container),delete md._container.__vue_app__)},provide(vd,Ad){return ud.provides[vd]=Ad,md},runWithContext(vd){const Ad=currentApp;currentApp=md;try{return vd()}finally{currentApp=Ad}}};return md}}let currentApp=null;function provide(Ra,qa){if(currentInstance){let nd=currentInstance.provides;const od=currentInstance.parent&&currentInstance.parent.provides;od===nd&&(nd=currentInstance.provides=Object.create(od)),nd[Ra]=qa}}function inject(Ra,qa,nd=!1){const od=currentInstance||currentRenderingInstance;if(od||currentApp){const ld=currentApp?currentApp._context.provides:od?od.parent==null?od.vnode.appContext&&od.vnode.appContext.provides:od.parent.provides:void 0;if(ld&&Ra in ld)return ld[Ra];if(arguments.length>1)return nd&&isFunction$4(qa)?qa.call(od&&od.proxy):qa}}function hasInjectionContext(){return!!(currentInstance||currentRenderingInstance||currentApp)}const internalObjectProto={},createInternalObject=()=>Object.create(internalObjectProto),isInternalObject=Ra=>Object.getPrototypeOf(Ra)===internalObjectProto;function initProps(Ra,qa,nd,od=!1){const ld={},ud=createInternalObject();Ra.propsDefaults=Object.create(null),setFullProps(Ra,qa,ld,ud);for(const dd in Ra.propsOptions[0])dd in ld||(ld[dd]=void 0);nd?Ra.props=od?ld:shallowReactive(ld):Ra.type.props?Ra.props=ld:Ra.props=ud,Ra.attrs=ud}function updateProps(Ra,qa,nd,od){const{props:ld,attrs:ud,vnode:{patchFlag:dd}}=Ra,pd=toRaw(ld),[fd]=Ra.propsOptions;let md=!1;if((od||dd>0)&&!(dd&16)){if(dd&8){const vd=Ra.vnode.dynamicProps;for(let Ad=0;Ad<vd.length;Ad++){let Nd=vd[Ad];if(isEmitListener(Ra.emitsOptions,Nd))continue;const Od=qa[Nd];if(fd)if(hasOwn$3(ud,Nd))Od!==ud[Nd]&&(ud[Nd]=Od,md=!0);else{const kd=camelize(Nd);ld[kd]=resolvePropValue(fd,pd,kd,Od,Ra,!1)}else Od!==ud[Nd]&&(ud[Nd]=Od,md=!0)}}}else{setFullProps(Ra,qa,ld,ud)&&(md=!0);let vd;for(const Ad in pd)(!qa||!hasOwn$3(qa,Ad)&&((vd=hyphenate(Ad))===Ad||!hasOwn$3(qa,vd)))&&(fd?nd&&(nd[Ad]!==void 0||nd[vd]!==void 0)&&(ld[Ad]=resolvePropValue(fd,pd,Ad,void 0,Ra,!0)):delete ld[Ad]);if(ud!==pd)for(const Ad in ud)(!qa||!hasOwn$3(qa,Ad))&&(delete ud[Ad],md=!0)}md&&trigger(Ra.attrs,"set","")}function setFullProps(Ra,qa,nd,od){const[ld,ud]=Ra.propsOptions;let dd=!1,pd;if(qa)for(let fd in qa){if(isReservedProp(fd))continue;const md=qa[fd];let vd;ld&&hasOwn$3(ld,vd=camelize(fd))?!ud||!ud.includes(vd)?nd[vd]=md:(pd||(pd={}))[vd]=md:isEmitListener(Ra.emitsOptions,fd)||(!(fd in od)||md!==od[fd])&&(od[fd]=md,dd=!0)}if(ud){const fd=toRaw(nd),md=pd||EMPTY_OBJ;for(let vd=0;vd<ud.length;vd++){const Ad=ud[vd];nd[Ad]=resolvePropValue(ld,fd,Ad,md[Ad],Ra,!hasOwn$3(md,Ad))}}return dd}function resolvePropValue(Ra,qa,nd,od,ld,ud){const dd=Ra[nd];if(dd!=null){const pd=hasOwn$3(dd,"default");if(pd&&od===void 0){const fd=dd.default;if(dd.type!==Function&&!dd.skipFactory&&isFunction$4(fd)){const{propsDefaults:md}=ld;if(nd in md)od=md[nd];else{const vd=setCurrentInstance(ld);od=md[nd]=fd.call(null,qa),vd()}}else od=fd;ld.ce&&ld.ce._setProp(nd,od)}dd[0]&&(ud&&!pd?od=!1:dd[1]&&(od===""||od===hyphenate(nd))&&(od=!0))}return od}const mixinPropsCache=new WeakMap;function normalizePropsOptions(Ra,qa,nd=!1){const od=nd?mixinPropsCache:qa.propsCache,ld=od.get(Ra);if(ld)return ld;const ud=Ra.props,dd={},pd=[];let fd=!1;if(!isFunction$4(Ra)){const vd=Ad=>{fd=!0;const[Nd,Od]=normalizePropsOptions(Ad,qa,!0);extend$4(dd,Nd),Od&&pd.push(...Od)};!nd&&qa.mixins.length&&qa.mixins.forEach(vd),Ra.extends&&vd(Ra.extends),Ra.mixins&&Ra.mixins.forEach(vd)}if(!ud&&!fd)return isObject$9(Ra)&&od.set(Ra,EMPTY_ARR),EMPTY_ARR;if(isArray$2(ud))for(let vd=0;vd<ud.length;vd++){const Ad=camelize(ud[vd]);validatePropName(Ad)&&(dd[Ad]=EMPTY_OBJ)}else if(ud)for(const vd in ud){const Ad=camelize(vd);if(validatePropName(Ad)){const Nd=ud[vd],Od=dd[Ad]=isArray$2(Nd)||isFunction$4(Nd)?{type:Nd}:extend$4({},Nd),kd=Od.type;let Ld=!1,Gd=!0;if(isArray$2(kd))for(let jd=0;jd<kd.length;++jd){const Fd=kd[jd],Ud=isFunction$4(Fd)&&Fd.name;if(Ud==="Boolean"){Ld=!0;break}else Ud==="String"&&(Gd=!1)}else Ld=isFunction$4(kd)&&kd.name==="Boolean";Od[0]=Ld,Od[1]=Gd,(Ld||hasOwn$3(Od,"default"))&&pd.push(Ad)}}const md=[dd,pd];return isObject$9(Ra)&&od.set(Ra,md),md}function validatePropName(Ra){return Ra[0]!=="$"&&!isReservedProp(Ra)}const isInternalKey=Ra=>Ra[0]==="_"||Ra==="$stable",normalizeSlotValue=Ra=>isArray$2(Ra)?Ra.map(normalizeVNode):[normalizeVNode(Ra)],normalizeSlot=(Ra,qa,nd)=>{if(qa._n)return qa;const od=withCtx((...ld)=>normalizeSlotValue(qa(...ld)),nd);return od._c=!1,od},normalizeObjectSlots=(Ra,qa,nd)=>{const od=Ra._ctx;for(const ld in Ra){if(isInternalKey(ld))continue;const ud=Ra[ld];if(isFunction$4(ud))qa[ld]=normalizeSlot(ld,ud,od);else if(ud!=null){const dd=normalizeSlotValue(ud);qa[ld]=()=>dd}}},normalizeVNodeSlots=(Ra,qa)=>{const nd=normalizeSlotValue(qa);Ra.slots.default=()=>nd},assignSlots=(Ra,qa,nd)=>{for(const od in qa)(nd||od!=="_")&&(Ra[od]=qa[od])},initSlots=(Ra,qa,nd)=>{const od=Ra.slots=createInternalObject();if(Ra.vnode.shapeFlag&32){const ld=qa._;ld?(assignSlots(od,qa,nd),nd&&def$2(od,"_",ld,!0)):normalizeObjectSlots(qa,od)}else qa&&normalizeVNodeSlots(Ra,qa)},updateSlots=(Ra,qa,nd)=>{const{vnode:od,slots:ld}=Ra;let ud=!0,dd=EMPTY_OBJ;if(od.shapeFlag&32){const pd=qa._;pd?nd&&pd===1?ud=!1:assignSlots(ld,qa,nd):(ud=!qa.$stable,normalizeObjectSlots(qa,ld)),dd=qa}else qa&&(normalizeVNodeSlots(Ra,qa),dd={default:1});if(ud)for(const pd in ld)!isInternalKey(pd)&&dd[pd]==null&&delete ld[pd]},queuePostRenderEffect=queueEffectWithSuspense;function createRenderer$1(Ra){return baseCreateRenderer(Ra)}function baseCreateRenderer(Ra,qa){const nd=getGlobalThis();nd.__VUE__=!0;const{insert:od,remove:ld,patchProp:ud,createElement:dd,createText:pd,createComment:fd,setText:md,setElementText:vd,parentNode:Ad,nextSibling:Nd,setScopeId:Od=NOOP,insertStaticContent:kd}=Ra,Ld=(Bf,Sh,Fh,uh=null,Pf=null,Uf=null,Zf=void 0,mh=null,Mh=!!Sh.dynamicChildren)=>{if(Bf===Sh)return;Bf&&!isSameVNodeType(Bf,Sh)&&(uh=Cf(Bf),qf(Bf,Pf,Uf,!0),Bf=null),Sh.patchFlag===-2&&(Mh=!1,Sh.dynamicChildren=null);const{type:_h,ref:pm,shapeFlag:Jh}=Sh;switch(_h){case Text$2:Gd(Bf,Sh,Fh,uh);break;case Comment$2:jd(Bf,Sh,Fh,uh);break;case Static:Bf==null&&Fd(Sh,Fh,uh,Zf);break;case Fragment:Sf(Bf,Sh,Fh,uh,Pf,Uf,Zf,mh,Mh);break;default:Jh&1?zd(Bf,Sh,Fh,uh,Pf,Uf,Zf,mh,Mh):Jh&6?Tf(Bf,Sh,Fh,uh,Pf,Uf,Zf,mh,Mh):(Jh&64||Jh&128)&&_h.process(Bf,Sh,Fh,uh,Pf,Uf,Zf,mh,Mh,dh)}pm!=null&&Pf&&setRef(pm,Bf&&Bf.ref,Uf,Sh||Bf,!Sh)},Gd=(Bf,Sh,Fh,uh)=>{if(Bf==null)od(Sh.el=pd(Sh.children),Fh,uh);else{const Pf=Sh.el=Bf.el;Sh.children!==Bf.children&&md(Pf,Sh.children)}},jd=(Bf,Sh,Fh,uh)=>{Bf==null?od(Sh.el=fd(Sh.children||""),Fh,uh):Sh.el=Bf.el},Fd=(Bf,Sh,Fh,uh)=>{[Bf.el,Bf.anchor]=kd(Bf.children,Sh,Fh,uh,Bf.el,Bf.anchor)},Ud=({el:Bf,anchor:Sh},Fh,uh)=>{let Pf;for(;Bf&&Bf!==Sh;)Pf=Nd(Bf),od(Bf,Fh,uh),Bf=Pf;od(Sh,Fh,uh)},qd=({el:Bf,anchor:Sh})=>{let Fh;for(;Bf&&Bf!==Sh;)Fh=Nd(Bf),ld(Bf),Bf=Fh;ld(Sh)},zd=(Bf,Sh,Fh,uh,Pf,Uf,Zf,mh,Mh)=>{Sh.type==="svg"?Zf="svg":Sh.type==="math"&&(Zf="mathml"),Bf==null?Wd(Sh,Fh,uh,Pf,Uf,Zf,mh,Mh):Xd(Bf,Sh,Pf,Uf,Zf,mh,Mh)},Wd=(Bf,Sh,Fh,uh,Pf,Uf,Zf,mh)=>{let Mh,_h;const{props:pm,shapeFlag:Jh,transition:Mm,dirs:Im}=Bf;if(Mh=Bf.el=dd(Bf.type,Uf,pm&&pm.is,pm),Jh&8?vd(Mh,Bf.children):Jh&16&&_f(Bf.children,Mh,null,uh,Pf,resolveChildrenNamespace(Bf,Uf),Zf,mh),Im&&invokeDirectiveHook(Bf,null,uh,"created"),Jd(Mh,Bf,Bf.scopeId,Zf,uh),pm){for(const Lm in pm)Lm!=="value"&&!isReservedProp(Lm)&&ud(Mh,Lm,null,pm[Lm],Uf,uh);"value"in pm&&ud(Mh,"value",null,pm.value,Uf),(_h=pm.onVnodeBeforeMount)&&invokeVNodeHook(_h,uh,Bf)}Im&&invokeDirectiveHook(Bf,null,uh,"beforeMount");const gm=needTransition(Pf,Mm);gm&&Mm.beforeEnter(Mh),od(Mh,Sh,Fh),((_h=pm&&pm.onVnodeMounted)||gm||Im)&&queuePostRenderEffect(()=>{_h&&invokeVNodeHook(_h,uh,Bf),gm&&Mm.enter(Mh),Im&&invokeDirectiveHook(Bf,null,uh,"mounted")},Pf)},Jd=(Bf,Sh,Fh,uh,Pf)=>{if(Fh&&Od(Bf,Fh),uh)for(let Uf=0;Uf<uh.length;Uf++)Od(Bf,uh[Uf]);if(Pf){let Uf=Pf.subTree;if(Sh===Uf||isSuspense(Uf.type)&&(Uf.ssContent===Sh||Uf.ssFallback===Sh)){const Zf=Pf.vnode;Jd(Bf,Zf,Zf.scopeId,Zf.slotScopeIds,Pf.parent)}}},_f=(Bf,Sh,Fh,uh,Pf,Uf,Zf,mh,Mh=0)=>{for(let _h=Mh;_h<Bf.length;_h++){const pm=Bf[_h]=mh?cloneIfMounted(Bf[_h]):normalizeVNode(Bf[_h]);Ld(null,pm,Sh,Fh,uh,Pf,Uf,Zf,mh)}},Xd=(Bf,Sh,Fh,uh,Pf,Uf,Zf)=>{const mh=Sh.el=Bf.el;let{patchFlag:Mh,dynamicChildren:_h,dirs:pm}=Sh;Mh|=Bf.patchFlag&16;const Jh=Bf.props||EMPTY_OBJ,Mm=Sh.props||EMPTY_OBJ;let Im;if(Fh&&toggleRecurse(Fh,!1),(Im=Mm.onVnodeBeforeUpdate)&&invokeVNodeHook(Im,Fh,Sh,Bf),pm&&invokeDirectiveHook(Sh,Bf,Fh,"beforeUpdate"),Fh&&toggleRecurse(Fh,!0),(Jh.innerHTML&&Mm.innerHTML==null||Jh.textContent&&Mm.textContent==null)&&vd(mh,""),_h?pf(Bf.dynamicChildren,_h,mh,Fh,uh,resolveChildrenNamespace(Sh,Pf),Uf):Zf||Gf(Bf,Sh,mh,null,Fh,uh,resolveChildrenNamespace(Sh,Pf),Uf,!1),Mh>0){if(Mh&16)mf(mh,Jh,Mm,Fh,Pf);else if(Mh&2&&Jh.class!==Mm.class&&ud(mh,"class",null,Mm.class,Pf),Mh&4&&ud(mh,"style",Jh.style,Mm.style,Pf),Mh&8){const gm=Sh.dynamicProps;for(let Lm=0;Lm<gm.length;Lm++){const Vm=gm[Lm],Th=Jh[Vm],Rf=Mm[Vm];(Rf!==Th||Vm==="value")&&ud(mh,Vm,Th,Rf,Pf,Fh)}}Mh&1&&Bf.children!==Sh.children&&vd(mh,Sh.children)}else!Zf&&_h==null&&mf(mh,Jh,Mm,Fh,Pf);((Im=Mm.onVnodeUpdated)||pm)&&queuePostRenderEffect(()=>{Im&&invokeVNodeHook(Im,Fh,Sh,Bf),pm&&invokeDirectiveHook(Sh,Bf,Fh,"updated")},uh)},pf=(Bf,Sh,Fh,uh,Pf,Uf,Zf)=>{for(let mh=0;mh<Sh.length;mh++){const Mh=Bf[mh],_h=Sh[mh],pm=Mh.el&&(Mh.type===Fragment||!isSameVNodeType(Mh,_h)||Mh.shapeFlag&70)?Ad(Mh.el):Fh;Ld(Mh,_h,pm,null,uh,Pf,Uf,Zf,!0)}},mf=(Bf,Sh,Fh,uh,Pf)=>{if(Sh!==Fh){if(Sh!==EMPTY_OBJ)for(const Uf in Sh)!isReservedProp(Uf)&&!(Uf in Fh)&&ud(Bf,Uf,Sh[Uf],null,Pf,uh);for(const Uf in Fh){if(isReservedProp(Uf))continue;const Zf=Fh[Uf],mh=Sh[Uf];Zf!==mh&&Uf!=="value"&&ud(Bf,Uf,mh,Zf,Pf,uh)}"value"in Fh&&ud(Bf,"value",Sh.value,Fh.value,Pf)}},Sf=(Bf,Sh,Fh,uh,Pf,Uf,Zf,mh,Mh)=>{const _h=Sh.el=Bf?Bf.el:pd(""),pm=Sh.anchor=Bf?Bf.anchor:pd("");let{patchFlag:Jh,dynamicChildren:Mm,slotScopeIds:Im}=Sh;Im&&(mh=mh?mh.concat(Im):Im),Bf==null?(od(_h,Fh,uh),od(pm,Fh,uh),_f(Sh.children||[],Fh,pm,Pf,Uf,Zf,mh,Mh)):Jh>0&&Jh&64&&Mm&&Bf.dynamicChildren?(pf(Bf.dynamicChildren,Mm,Fh,Pf,Uf,Zf,mh),(Sh.key!=null||Pf&&Sh===Pf.subTree)&&traverseStaticChildren(Bf,Sh,!0)):Gf(Bf,Sh,Fh,pm,Pf,Uf,Zf,mh,Mh)},Tf=(Bf,Sh,Fh,uh,Pf,Uf,Zf,mh,Mh)=>{Sh.slotScopeIds=mh,Bf==null?Sh.shapeFlag&512?Pf.ctx.activate(Sh,Fh,uh,Zf,Mh):Af(Sh,Fh,uh,Pf,Uf,Zf,Mh):Ef(Bf,Sh,Mh)},Af=(Bf,Sh,Fh,uh,Pf,Uf,Zf)=>{const mh=Bf.component=createComponentInstance(Bf,uh,Pf);if(isKeepAlive(Bf)&&(mh.ctx.renderer=dh),setupComponent(mh,!1,Zf),mh.asyncDep){if(Pf&&Pf.registerDep(mh,Nf,Zf),!Bf.el){const Mh=mh.subTree=createVNode(Comment$2);jd(null,Mh,Sh,Fh)}}else Nf(mh,Bf,Sh,Fh,Pf,Uf,Zf)},Ef=(Bf,Sh,Fh)=>{const uh=Sh.component=Bf.component;if(shouldUpdateComponent(Bf,Sh,Fh))if(uh.asyncDep&&!uh.asyncResolved){If(uh,Sh,Fh);return}else uh.next=Sh,uh.update();else Sh.el=Bf.el,uh.vnode=Sh},Nf=(Bf,Sh,Fh,uh,Pf,Uf,Zf)=>{const mh=()=>{if(Bf.isMounted){let{next:Jh,bu:Mm,u:Im,parent:gm,vnode:Lm}=Bf;{const sh=locateNonHydratedAsyncRoot(Bf);if(sh){Jh&&(Jh.el=Lm.el,If(Bf,Jh,Zf)),sh.asyncDep.then(()=>{Bf.isUnmounted||mh()});return}}let Vm=Jh,Th;toggleRecurse(Bf,!1),Jh?(Jh.el=Lm.el,If(Bf,Jh,Zf)):Jh=Lm,Mm&&invokeArrayFns(Mm),(Th=Jh.props&&Jh.props.onVnodeBeforeUpdate)&&invokeVNodeHook(Th,gm,Jh,Lm),toggleRecurse(Bf,!0);const Rf=renderComponentRoot(Bf),wf=Bf.subTree;Bf.subTree=Rf,Ld(wf,Rf,Ad(wf.el),Cf(wf),Bf,Pf,Uf),Jh.el=Rf.el,Vm===null&&updateHOCHostEl(Bf,Rf.el),Im&&queuePostRenderEffect(Im,Pf),(Th=Jh.props&&Jh.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(Th,gm,Jh,Lm),Pf)}else{let Jh;const{el:Mm,props:Im}=Sh,{bm:gm,m:Lm,parent:Vm,root:Th,type:Rf}=Bf,wf=isAsyncWrapper(Sh);if(toggleRecurse(Bf,!1),gm&&invokeArrayFns(gm),!wf&&(Jh=Im&&Im.onVnodeBeforeMount)&&invokeVNodeHook(Jh,Vm,Sh),toggleRecurse(Bf,!0),Mm&&th){const sh=()=>{Bf.subTree=renderComponentRoot(Bf),th(Mm,Bf.subTree,Bf,Pf,null)};wf&&Rf.__asyncHydrate?Rf.__asyncHydrate(Mm,Bf,sh):sh()}else{Th.ce&&Th.ce._injectChildStyle(Rf);const sh=Bf.subTree=renderComponentRoot(Bf);Ld(null,sh,Fh,uh,Bf,Pf,Uf),Sh.el=sh.el}if(Lm&&queuePostRenderEffect(Lm,Pf),!wf&&(Jh=Im&&Im.onVnodeMounted)){const sh=Sh;queuePostRenderEffect(()=>invokeVNodeHook(Jh,Vm,sh),Pf)}(Sh.shapeFlag&256||Vm&&isAsyncWrapper(Vm.vnode)&&Vm.vnode.shapeFlag&256)&&Bf.a&&queuePostRenderEffect(Bf.a,Pf),Bf.isMounted=!0,Sh=Fh=uh=null}};Bf.scope.on();const Mh=Bf.effect=new ReactiveEffect(mh);Bf.scope.off();const _h=Bf.update=Mh.run.bind(Mh),pm=Bf.job=Mh.runIfDirty.bind(Mh);pm.i=Bf,pm.id=Bf.uid,Mh.scheduler=()=>queueJob(pm),toggleRecurse(Bf,!0),_h()},If=(Bf,Sh,Fh)=>{Sh.component=Bf;const uh=Bf.vnode.props;Bf.vnode=Sh,Bf.next=null,updateProps(Bf,Sh.props,uh,Fh),updateSlots(Bf,Sh.children,Fh),pauseTracking(),flushPreFlushCbs(Bf),resetTracking()},Gf=(Bf,Sh,Fh,uh,Pf,Uf,Zf,mh,Mh=!1)=>{const _h=Bf&&Bf.children,pm=Bf?Bf.shapeFlag:0,Jh=Sh.children,{patchFlag:Mm,shapeFlag:Im}=Sh;if(Mm>0){if(Mm&128){Xf(_h,Jh,Fh,uh,Pf,Uf,Zf,mh,Mh);return}else if(Mm&256){Qf(_h,Jh,Fh,uh,Pf,Uf,Zf,mh,Mh);return}}Im&8?(pm&16&&Kf(_h,Pf,Uf),Jh!==_h&&vd(Fh,Jh)):pm&16?Im&16?Xf(_h,Jh,Fh,uh,Pf,Uf,Zf,mh,Mh):Kf(_h,Pf,Uf,!0):(pm&8&&vd(Fh,""),Im&16&&_f(Jh,Fh,uh,Pf,Uf,Zf,mh,Mh))},Qf=(Bf,Sh,Fh,uh,Pf,Uf,Zf,mh,Mh)=>{Bf=Bf||EMPTY_ARR,Sh=Sh||EMPTY_ARR;const _h=Bf.length,pm=Sh.length,Jh=Math.min(_h,pm);let Mm;for(Mm=0;Mm<Jh;Mm++){const Im=Sh[Mm]=Mh?cloneIfMounted(Sh[Mm]):normalizeVNode(Sh[Mm]);Ld(Bf[Mm],Im,Fh,null,Pf,Uf,Zf,mh,Mh)}_h>pm?Kf(Bf,Pf,Uf,!0,!1,Jh):_f(Sh,Fh,uh,Pf,Uf,Zf,mh,Mh,Jh)},Xf=(Bf,Sh,Fh,uh,Pf,Uf,Zf,mh,Mh)=>{let _h=0;const pm=Sh.length;let Jh=Bf.length-1,Mm=pm-1;for(;_h<=Jh&&_h<=Mm;){const Im=Bf[_h],gm=Sh[_h]=Mh?cloneIfMounted(Sh[_h]):normalizeVNode(Sh[_h]);if(isSameVNodeType(Im,gm))Ld(Im,gm,Fh,null,Pf,Uf,Zf,mh,Mh);else break;_h++}for(;_h<=Jh&&_h<=Mm;){const Im=Bf[Jh],gm=Sh[Mm]=Mh?cloneIfMounted(Sh[Mm]):normalizeVNode(Sh[Mm]);if(isSameVNodeType(Im,gm))Ld(Im,gm,Fh,null,Pf,Uf,Zf,mh,Mh);else break;Jh--,Mm--}if(_h>Jh){if(_h<=Mm){const Im=Mm+1,gm=Im<pm?Sh[Im].el:uh;for(;_h<=Mm;)Ld(null,Sh[_h]=Mh?cloneIfMounted(Sh[_h]):normalizeVNode(Sh[_h]),Fh,gm,Pf,Uf,Zf,mh,Mh),_h++}}else if(_h>Mm)for(;_h<=Jh;)qf(Bf[_h],Pf,Uf,!0),_h++;else{const Im=_h,gm=_h,Lm=new Map;for(_h=gm;_h<=Mm;_h++){const om=Sh[_h]=Mh?cloneIfMounted(Sh[_h]):normalizeVNode(Sh[_h]);om.key!=null&&Lm.set(om.key,_h)}let Vm,Th=0;const Rf=Mm-gm+1;let wf=!1,sh=0;const xh=new Array(Rf);for(_h=0;_h<Rf;_h++)xh[_h]=0;for(_h=Im;_h<=Jh;_h++){const om=Bf[_h];if(Th>=Rf){qf(om,Pf,Uf,!0);continue}let Dm;if(om.key!=null)Dm=Lm.get(om.key);else for(Vm=gm;Vm<=Mm;Vm++)if(xh[Vm-gm]===0&&isSameVNodeType(om,Sh[Vm])){Dm=Vm;break}Dm===void 0?qf(om,Pf,Uf,!0):(xh[Dm-gm]=_h+1,Dm>=sh?sh=Dm:wf=!0,Ld(om,Sh[Dm],Fh,null,Pf,Uf,Zf,mh,Mh),Th++)}const Wh=wf?getSequence(xh):EMPTY_ARR;for(Vm=Wh.length-1,_h=Rf-1;_h>=0;_h--){const om=gm+_h,Dm=Sh[om],zm=om+1<pm?Sh[om+1].el:uh;xh[_h]===0?Ld(null,Dm,Fh,zm,Pf,Uf,Zf,mh,Mh):wf&&(Vm<0||_h!==Wh[Vm]?ph(Dm,Fh,zm,2):Vm--)}}},ph=(Bf,Sh,Fh,uh,Pf=null)=>{const{el:Uf,type:Zf,transition:mh,children:Mh,shapeFlag:_h}=Bf;if(_h&6){ph(Bf.component.subTree,Sh,Fh,uh);return}if(_h&128){Bf.suspense.move(Sh,Fh,uh);return}if(_h&64){Zf.move(Bf,Sh,Fh,dh);return}if(Zf===Fragment){od(Uf,Sh,Fh);for(let Jh=0;Jh<Mh.length;Jh++)ph(Mh[Jh],Sh,Fh,uh);od(Bf.anchor,Sh,Fh);return}if(Zf===Static){Ud(Bf,Sh,Fh);return}if(uh!==2&&_h&1&&mh)if(uh===0)mh.beforeEnter(Uf),od(Uf,Sh,Fh),queuePostRenderEffect(()=>mh.enter(Uf),Pf);else{const{leave:Jh,delayLeave:Mm,afterLeave:Im}=mh,gm=()=>od(Uf,Sh,Fh),Lm=()=>{Jh(Uf,()=>{gm(),Im&&Im()})};Mm?Mm(Uf,gm,Lm):Lm()}else od(Uf,Sh,Fh)},qf=(Bf,Sh,Fh,uh=!1,Pf=!1)=>{const{type:Uf,props:Zf,ref:mh,children:Mh,dynamicChildren:_h,shapeFlag:pm,patchFlag:Jh,dirs:Mm,cacheIndex:Im}=Bf;if(Jh===-2&&(Pf=!1),mh!=null&&setRef(mh,null,Fh,Bf,!0),Im!=null&&(Sh.renderCache[Im]=void 0),pm&256){Sh.ctx.deactivate(Bf);return}const gm=pm&1&&Mm,Lm=!isAsyncWrapper(Bf);let Vm;if(Lm&&(Vm=Zf&&Zf.onVnodeBeforeUnmount)&&invokeVNodeHook(Vm,Sh,Bf),pm&6)Jf(Bf.component,Fh,uh);else{if(pm&128){Bf.suspense.unmount(Fh,uh);return}gm&&invokeDirectiveHook(Bf,null,Sh,"beforeUnmount"),pm&64?Bf.type.remove(Bf,Sh,Fh,dh,uh):_h&&!_h.hasOnce&&(Uf!==Fragment||Jh>0&&Jh&64)?Kf(_h,Sh,Fh,!1,!0):(Uf===Fragment&&Jh&384||!Pf&&pm&16)&&Kf(Mh,Sh,Fh),uh&&Lf(Bf)}(Lm&&(Vm=Zf&&Zf.onVnodeUnmounted)||gm)&&queuePostRenderEffect(()=>{Vm&&invokeVNodeHook(Vm,Sh,Bf),gm&&invokeDirectiveHook(Bf,null,Sh,"unmounted")},Fh)},Lf=Bf=>{const{type:Sh,el:Fh,anchor:uh,transition:Pf}=Bf;if(Sh===Fragment){Wf(Fh,uh);return}if(Sh===Static){qd(Bf);return}const Uf=()=>{ld(Fh),Pf&&!Pf.persisted&&Pf.afterLeave&&Pf.afterLeave()};if(Bf.shapeFlag&1&&Pf&&!Pf.persisted){const{leave:Zf,delayLeave:mh}=Pf,Mh=()=>Zf(Fh,Uf);mh?mh(Bf.el,Uf,Mh):Mh()}else Uf()},Wf=(Bf,Sh)=>{let Fh;for(;Bf!==Sh;)Fh=Nd(Bf),ld(Bf),Bf=Fh;ld(Sh)},Jf=(Bf,Sh,Fh)=>{const{bum:uh,scope:Pf,job:Uf,subTree:Zf,um:mh,m:Mh,a:_h}=Bf;invalidateMount(Mh),invalidateMount(_h),uh&&invokeArrayFns(uh),Pf.stop(),Uf&&(Uf.flags|=8,qf(Zf,Bf,Sh,Fh)),mh&&queuePostRenderEffect(mh,Sh),queuePostRenderEffect(()=>{Bf.isUnmounted=!0},Sh),Sh&&Sh.pendingBranch&&!Sh.isUnmounted&&Bf.asyncDep&&!Bf.asyncResolved&&Bf.suspenseId===Sh.pendingId&&(Sh.deps--,Sh.deps===0&&Sh.resolve())},Kf=(Bf,Sh,Fh,uh=!1,Pf=!1,Uf=0)=>{for(let Zf=Uf;Zf<Bf.length;Zf++)qf(Bf[Zf],Sh,Fh,uh,Pf)},Cf=Bf=>{if(Bf.shapeFlag&6)return Cf(Bf.component.subTree);if(Bf.shapeFlag&128)return Bf.suspense.next();const Sh=Nd(Bf.anchor||Bf.el),Fh=Sh&&Sh[TeleportEndKey];return Fh?Nd(Fh):Sh};let xf=!1;const Yf=(Bf,Sh,Fh)=>{Bf==null?Sh._vnode&&qf(Sh._vnode,null,null,!0):Ld(Sh._vnode||null,Bf,Sh,null,null,null,Fh),Sh._vnode=Bf,xf||(xf=!0,flushPreFlushCbs(),flushPostFlushCbs(),xf=!1)},dh={p:Ld,um:qf,m:ph,r:Lf,mt:Af,mc:_f,pc:Gf,pbc:pf,n:Cf,o:Ra};let Rh,th;return{render:Yf,hydrate:Rh,createApp:createAppAPI(Yf,Rh)}}function resolveChildrenNamespace({type:Ra,props:qa},nd){return nd==="svg"&&Ra==="foreignObject"||nd==="mathml"&&Ra==="annotation-xml"&&qa&&qa.encoding&&qa.encoding.includes("html")?void 0:nd}function toggleRecurse({effect:Ra,job:qa},nd){nd?(Ra.flags|=32,qa.flags|=4):(Ra.flags&=-33,qa.flags&=-5)}function needTransition(Ra,qa){return(!Ra||Ra&&!Ra.pendingBranch)&&qa&&!qa.persisted}function traverseStaticChildren(Ra,qa,nd=!1){const od=Ra.children,ld=qa.children;if(isArray$2(od)&&isArray$2(ld))for(let ud=0;ud<od.length;ud++){const dd=od[ud];let pd=ld[ud];pd.shapeFlag&1&&!pd.dynamicChildren&&((pd.patchFlag<=0||pd.patchFlag===32)&&(pd=ld[ud]=cloneIfMounted(ld[ud]),pd.el=dd.el),!nd&&pd.patchFlag!==-2&&traverseStaticChildren(dd,pd)),pd.type===Text$2&&(pd.el=dd.el)}}function getSequence(Ra){const qa=Ra.slice(),nd=[0];let od,ld,ud,dd,pd;const fd=Ra.length;for(od=0;od<fd;od++){const md=Ra[od];if(md!==0){if(ld=nd[nd.length-1],Ra[ld]<md){qa[od]=ld,nd.push(od);continue}for(ud=0,dd=nd.length-1;ud<dd;)pd=ud+dd>>1,Ra[nd[pd]]<md?ud=pd+1:dd=pd;md<Ra[nd[ud]]&&(ud>0&&(qa[od]=nd[ud-1]),nd[ud]=od)}}for(ud=nd.length,dd=nd[ud-1];ud-- >0;)nd[ud]=dd,dd=qa[dd];return nd}function locateNonHydratedAsyncRoot(Ra){const qa=Ra.subTree.component;if(qa)return qa.asyncDep&&!qa.asyncResolved?qa:locateNonHydratedAsyncRoot(qa)}function invalidateMount(Ra){if(Ra)for(let qa=0;qa<Ra.length;qa++)Ra[qa].flags|=8}const ssrContextKey=Symbol.for("v-scx"),useSSRContext=()=>inject(ssrContextKey);function watchEffect(Ra,qa){return doWatch(Ra,null,qa)}function watchPostEffect(Ra,qa){return doWatch(Ra,null,{flush:"post"})}function watch(Ra,qa,nd){return doWatch(Ra,qa,nd)}function doWatch(Ra,qa,nd=EMPTY_OBJ){const{immediate:od,deep:ld,flush:ud,once:dd}=nd,pd=extend$4({},nd),fd=qa&&od||!qa&&ud!=="post";let md;if(isInSSRComponentSetup){if(ud==="sync"){const Od=useSSRContext();md=Od.__watcherHandles||(Od.__watcherHandles=[])}else if(!fd){const Od=()=>{};return Od.stop=NOOP,Od.resume=NOOP,Od.pause=NOOP,Od}}const vd=currentInstance;pd.call=(Od,kd,Ld)=>callWithAsyncErrorHandling(Od,vd,kd,Ld);let Ad=!1;ud==="post"?pd.scheduler=Od=>{queuePostRenderEffect(Od,vd&&vd.suspense)}:ud!=="sync"&&(Ad=!0,pd.scheduler=(Od,kd)=>{kd?Od():queueJob(Od)}),pd.augmentJob=Od=>{qa&&(Od.flags|=4),Ad&&(Od.flags|=2,vd&&(Od.id=vd.uid,Od.i=vd))};const Nd=watch$1(Ra,qa,pd);return isInSSRComponentSetup&&(md?md.push(Nd):fd&&Nd()),Nd}function instanceWatch(Ra,qa,nd){const od=this.proxy,ld=isString$2(Ra)?Ra.includes(".")?createPathGetter(od,Ra):()=>od[Ra]:Ra.bind(od,od);let ud;isFunction$4(qa)?ud=qa:(ud=qa.handler,nd=qa);const dd=setCurrentInstance(this),pd=doWatch(ld,ud.bind(od),nd);return dd(),pd}function createPathGetter(Ra,qa){const nd=qa.split(".");return()=>{let od=Ra;for(let ld=0;ld<nd.length&&od;ld++)od=od[nd[ld]];return od}}const getModelModifiers=(Ra,qa)=>qa==="modelValue"||qa==="model-value"?Ra.modelModifiers:Ra[`${qa}Modifiers`]||Ra[`${camelize(qa)}Modifiers`]||Ra[`${hyphenate(qa)}Modifiers`];function emit(Ra,qa,...nd){if(Ra.isUnmounted)return;const od=Ra.vnode.props||EMPTY_OBJ;let ld=nd;const ud=qa.startsWith("update:"),dd=ud&&getModelModifiers(od,qa.slice(7));dd&&(dd.trim&&(ld=nd.map(vd=>isString$2(vd)?vd.trim():vd)),dd.number&&(ld=nd.map(looseToNumber)));let pd,fd=od[pd=toHandlerKey(qa)]||od[pd=toHandlerKey(camelize(qa))];!fd&&ud&&(fd=od[pd=toHandlerKey(hyphenate(qa))]),fd&&callWithAsyncErrorHandling(fd,Ra,6,ld);const md=od[pd+"Once"];if(md){if(!Ra.emitted)Ra.emitted={};else if(Ra.emitted[pd])return;Ra.emitted[pd]=!0,callWithAsyncErrorHandling(md,Ra,6,ld)}}function normalizeEmitsOptions(Ra,qa,nd=!1){const od=qa.emitsCache,ld=od.get(Ra);if(ld!==void 0)return ld;const ud=Ra.emits;let dd={},pd=!1;if(!isFunction$4(Ra)){const fd=md=>{const vd=normalizeEmitsOptions(md,qa,!0);vd&&(pd=!0,extend$4(dd,vd))};!nd&&qa.mixins.length&&qa.mixins.forEach(fd),Ra.extends&&fd(Ra.extends),Ra.mixins&&Ra.mixins.forEach(fd)}return!ud&&!pd?(isObject$9(Ra)&&od.set(Ra,null),null):(isArray$2(ud)?ud.forEach(fd=>dd[fd]=null):extend$4(dd,ud),isObject$9(Ra)&&od.set(Ra,dd),dd)}function isEmitListener(Ra,qa){return!Ra||!isOn(qa)?!1:(qa=qa.slice(2).replace(/Once$/,""),hasOwn$3(Ra,qa[0].toLowerCase()+qa.slice(1))||hasOwn$3(Ra,hyphenate(qa))||hasOwn$3(Ra,qa))}function markAttrsAccessed(){}function renderComponentRoot(Ra){const{type:qa,vnode:nd,proxy:od,withProxy:ld,propsOptions:[ud],slots:dd,attrs:pd,emit:fd,render:md,renderCache:vd,props:Ad,data:Nd,setupState:Od,ctx:kd,inheritAttrs:Ld}=Ra,Gd=setCurrentRenderingInstance(Ra);let jd,Fd;try{if(nd.shapeFlag&4){const qd=ld||od,zd=qd;jd=normalizeVNode(md.call(zd,qd,vd,Ad,Od,Nd,kd)),Fd=pd}else{const qd=qa;jd=normalizeVNode(qd.length>1?qd(Ad,{attrs:pd,slots:dd,emit:fd}):qd(Ad,null)),Fd=qa.props?pd:getFunctionalFallthrough(pd)}}catch(qd){blockStack.length=0,handleError$1(qd,Ra,1),jd=createVNode(Comment$2)}let Ud=jd;if(Fd&&Ld!==!1){const qd=Object.keys(Fd),{shapeFlag:zd}=Ud;qd.length&&zd&7&&(ud&&qd.some(isModelListener)&&(Fd=filterModelListeners(Fd,ud)),Ud=cloneVNode(Ud,Fd,!1,!0))}return nd.dirs&&(Ud=cloneVNode(Ud,null,!1,!0),Ud.dirs=Ud.dirs?Ud.dirs.concat(nd.dirs):nd.dirs),nd.transition&&setTransitionHooks(Ud,nd.transition),jd=Ud,setCurrentRenderingInstance(Gd),jd}const getFunctionalFallthrough=Ra=>{let qa;for(const nd in Ra)(nd==="class"||nd==="style"||isOn(nd))&&((qa||(qa={}))[nd]=Ra[nd]);return qa},filterModelListeners=(Ra,qa)=>{const nd={};for(const od in Ra)(!isModelListener(od)||!(od.slice(9)in qa))&&(nd[od]=Ra[od]);return nd};function shouldUpdateComponent(Ra,qa,nd){const{props:od,children:ld,component:ud}=Ra,{props:dd,children:pd,patchFlag:fd}=qa,md=ud.emitsOptions;if(qa.dirs||qa.transition)return!0;if(nd&&fd>=0){if(fd&1024)return!0;if(fd&16)return od?hasPropsChanged(od,dd,md):!!dd;if(fd&8){const vd=qa.dynamicProps;for(let Ad=0;Ad<vd.length;Ad++){const Nd=vd[Ad];if(dd[Nd]!==od[Nd]&&!isEmitListener(md,Nd))return!0}}}else return(ld||pd)&&(!pd||!pd.$stable)?!0:od===dd?!1:od?dd?hasPropsChanged(od,dd,md):!0:!!dd;return!1}function hasPropsChanged(Ra,qa,nd){const od=Object.keys(qa);if(od.length!==Object.keys(Ra).length)return!0;for(let ld=0;ld<od.length;ld++){const ud=od[ld];if(qa[ud]!==Ra[ud]&&!isEmitListener(nd,ud))return!0}return!1}function updateHOCHostEl({vnode:Ra,parent:qa},nd){for(;qa;){const od=qa.subTree;if(od.suspense&&od.suspense.activeBranch===Ra&&(od.el=Ra.el),od===Ra)(Ra=qa.vnode).el=nd,qa=qa.parent;else break}}const isSuspense=Ra=>Ra.__isSuspense;function queueEffectWithSuspense(Ra,qa){qa&&qa.pendingBranch?isArray$2(Ra)?qa.effects.push(...Ra):qa.effects.push(Ra):queuePostFlushCb(Ra)}const Fragment=Symbol.for("v-fgt"),Text$2=Symbol.for("v-txt"),Comment$2=Symbol.for("v-cmt"),Static=Symbol.for("v-stc"),blockStack=[];let currentBlock=null;function openBlock(Ra=!1){blockStack.push(currentBlock=Ra?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}let isBlockTreeEnabled=1;function setBlockTracking(Ra,qa=!1){isBlockTreeEnabled+=Ra,Ra<0&&currentBlock&&qa&&(currentBlock.hasOnce=!0)}function setupBlock(Ra){return Ra.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&&currentBlock&&currentBlock.push(Ra),Ra}function createElementBlock(Ra,qa,nd,od,ld,ud){return setupBlock(createBaseVNode(Ra,qa,nd,od,ld,ud,!0))}function createBlock(Ra,qa,nd,od,ld){return setupBlock(createVNode(Ra,qa,nd,od,ld,!0))}function isVNode(Ra){return Ra?Ra.__v_isVNode===!0:!1}function isSameVNodeType(Ra,qa){return Ra.type===qa.type&&Ra.key===qa.key}const normalizeKey=({key:Ra})=>Ra??null,normalizeRef=({ref:Ra,ref_key:qa,ref_for:nd})=>(typeof Ra=="number"&&(Ra=""+Ra),Ra!=null?isString$2(Ra)||isRef(Ra)||isFunction$4(Ra)?{i:currentRenderingInstance,r:Ra,k:qa,f:!!nd}:Ra:null);function createBaseVNode(Ra,qa=null,nd=null,od=0,ld=null,ud=Ra===Fragment?0:1,dd=!1,pd=!1){const fd={__v_isVNode:!0,__v_skip:!0,type:Ra,props:qa,key:qa&&normalizeKey(qa),ref:qa&&normalizeRef(qa),scopeId:currentScopeId,slotScopeIds:null,children:nd,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:ud,patchFlag:od,dynamicProps:ld,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return pd?(normalizeChildren$1(fd,nd),ud&128&&Ra.normalize(fd)):nd&&(fd.shapeFlag|=isString$2(nd)?8:16),isBlockTreeEnabled>0&&!dd&&currentBlock&&(fd.patchFlag>0||ud&6)&&fd.patchFlag!==32&&currentBlock.push(fd),fd}const createVNode=_createVNode;function _createVNode(Ra,qa=null,nd=null,od=0,ld=null,ud=!1){if((!Ra||Ra===NULL_DYNAMIC_COMPONENT)&&(Ra=Comment$2),isVNode(Ra)){const pd=cloneVNode(Ra,qa,!0);return nd&&normalizeChildren$1(pd,nd),isBlockTreeEnabled>0&&!ud&&currentBlock&&(pd.shapeFlag&6?currentBlock[currentBlock.indexOf(Ra)]=pd:currentBlock.push(pd)),pd.patchFlag=-2,pd}if(isClassComponent(Ra)&&(Ra=Ra.__vccOpts),qa){qa=guardReactiveProps(qa);let{class:pd,style:fd}=qa;pd&&!isString$2(pd)&&(qa.class=normalizeClass(pd)),isObject$9(fd)&&(isProxy(fd)&&!isArray$2(fd)&&(fd=extend$4({},fd)),qa.style=normalizeStyle(fd))}const dd=isString$2(Ra)?1:isSuspense(Ra)?128:isTeleport(Ra)?64:isObject$9(Ra)?4:isFunction$4(Ra)?2:0;return createBaseVNode(Ra,qa,nd,od,ld,dd,ud,!0)}function guardReactiveProps(Ra){return Ra?isProxy(Ra)||isInternalObject(Ra)?extend$4({},Ra):Ra:null}function cloneVNode(Ra,qa,nd=!1,od=!1){const{props:ld,ref:ud,patchFlag:dd,children:pd,transition:fd}=Ra,md=qa?mergeProps(ld||{},qa):ld,vd={__v_isVNode:!0,__v_skip:!0,type:Ra.type,props:md,key:md&&normalizeKey(md),ref:qa&&qa.ref?nd&&ud?isArray$2(ud)?ud.concat(normalizeRef(qa)):[ud,normalizeRef(qa)]:normalizeRef(qa):ud,scopeId:Ra.scopeId,slotScopeIds:Ra.slotScopeIds,children:pd,target:Ra.target,targetStart:Ra.targetStart,targetAnchor:Ra.targetAnchor,staticCount:Ra.staticCount,shapeFlag:Ra.shapeFlag,patchFlag:qa&&Ra.type!==Fragment?dd===-1?16:dd|16:dd,dynamicProps:Ra.dynamicProps,dynamicChildren:Ra.dynamicChildren,appContext:Ra.appContext,dirs:Ra.dirs,transition:fd,component:Ra.component,suspense:Ra.suspense,ssContent:Ra.ssContent&&cloneVNode(Ra.ssContent),ssFallback:Ra.ssFallback&&cloneVNode(Ra.ssFallback),el:Ra.el,anchor:Ra.anchor,ctx:Ra.ctx,ce:Ra.ce};return fd&&od&&setTransitionHooks(vd,fd.clone(vd)),vd}function createTextVNode(Ra=" ",qa=0){return createVNode(Text$2,null,Ra,qa)}function createCommentVNode(Ra="",qa=!1){return qa?(openBlock(),createBlock(Comment$2,null,Ra)):createVNode(Comment$2,null,Ra)}function normalizeVNode(Ra){return Ra==null||typeof Ra=="boolean"?createVNode(Comment$2):isArray$2(Ra)?createVNode(Fragment,null,Ra.slice()):isVNode(Ra)?cloneIfMounted(Ra):createVNode(Text$2,null,String(Ra))}function cloneIfMounted(Ra){return Ra.el===null&&Ra.patchFlag!==-1||Ra.memo?Ra:cloneVNode(Ra)}function normalizeChildren$1(Ra,qa){let nd=0;const{shapeFlag:od}=Ra;if(qa==null)qa=null;else if(isArray$2(qa))nd=16;else if(typeof qa=="object")if(od&65){const ld=qa.default;ld&&(ld._c&&(ld._d=!1),normalizeChildren$1(Ra,ld()),ld._c&&(ld._d=!0));return}else{nd=32;const ld=qa._;!ld&&!isInternalObject(qa)?qa._ctx=currentRenderingInstance:ld===3&&currentRenderingInstance&&(currentRenderingInstance.slots._===1?qa._=1:(qa._=2,Ra.patchFlag|=1024))}else isFunction$4(qa)?(qa={default:qa,_ctx:currentRenderingInstance},nd=32):(qa=String(qa),od&64?(nd=16,qa=[createTextVNode(qa)]):nd=8);Ra.children=qa,Ra.shapeFlag|=nd}function mergeProps(...Ra){const qa={};for(let nd=0;nd<Ra.length;nd++){const od=Ra[nd];for(const ld in od)if(ld==="class")qa.class!==od.class&&(qa.class=normalizeClass([qa.class,od.class]));else if(ld==="style")qa.style=normalizeStyle([qa.style,od.style]);else if(isOn(ld)){const ud=qa[ld],dd=od[ld];dd&&ud!==dd&&!(isArray$2(ud)&&ud.includes(dd))&&(qa[ld]=ud?[].concat(ud,dd):dd)}else ld!==""&&(qa[ld]=od[ld])}return qa}function invokeVNodeHook(Ra,qa,nd,od=null){callWithAsyncErrorHandling(Ra,qa,7,[nd,od])}const emptyAppContext=createAppContext();let uid=0;function createComponentInstance(Ra,qa,nd){const od=Ra.type,ld=(qa?qa.appContext:Ra.appContext)||emptyAppContext,ud={uid:uid++,vnode:Ra,type:od,parent:qa,appContext:ld,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new EffectScope(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:qa?qa.provides:Object.create(ld.provides),ids:qa?qa.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:normalizePropsOptions(od,ld),emitsOptions:normalizeEmitsOptions(od,ld),emit:null,emitted:null,propsDefaults:EMPTY_OBJ,inheritAttrs:od.inheritAttrs,ctx:EMPTY_OBJ,data:EMPTY_OBJ,props:EMPTY_OBJ,attrs:EMPTY_OBJ,slots:EMPTY_OBJ,refs:EMPTY_OBJ,setupState:EMPTY_OBJ,setupContext:null,suspense:nd,suspenseId:nd?nd.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return ud.ctx={_:ud},ud.root=qa?qa.root:ud,ud.emit=emit.bind(null,ud),Ra.ce&&Ra.ce(ud),ud}let currentInstance=null;const getCurrentInstance=()=>currentInstance||currentRenderingInstance;let internalSetCurrentInstance,setInSSRSetupState;{const Ra=getGlobalThis(),qa=(nd,od)=>{let ld;return(ld=Ra[nd])||(ld=Ra[nd]=[]),ld.push(od),ud=>{ld.length>1?ld.forEach(dd=>dd(ud)):ld[0](ud)}};internalSetCurrentInstance=qa("__VUE_INSTANCE_SETTERS__",nd=>currentInstance=nd),setInSSRSetupState=qa("__VUE_SSR_SETTERS__",nd=>isInSSRComponentSetup=nd)}const setCurrentInstance=Ra=>{const qa=currentInstance;return internalSetCurrentInstance(Ra),Ra.scope.on(),()=>{Ra.scope.off(),internalSetCurrentInstance(qa)}},unsetCurrentInstance=()=>{currentInstance&&currentInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(Ra){return Ra.vnode.shapeFlag&4}let isInSSRComponentSetup=!1;function setupComponent(Ra,qa=!1,nd=!1){qa&&setInSSRSetupState(qa);const{props:od,children:ld}=Ra.vnode,ud=isStatefulComponent(Ra);initProps(Ra,od,ud,qa),initSlots(Ra,ld,nd);const dd=ud?setupStatefulComponent(Ra,qa):void 0;return qa&&setInSSRSetupState(!1),dd}function setupStatefulComponent(Ra,qa){const nd=Ra.type;Ra.accessCache=Object.create(null),Ra.proxy=new Proxy(Ra.ctx,PublicInstanceProxyHandlers);const{setup:od}=nd;if(od){pauseTracking();const ld=Ra.setupContext=od.length>1?createSetupContext(Ra):null,ud=setCurrentInstance(Ra),dd=callWithErrorHandling(od,Ra,0,[Ra.props,ld]),pd=isPromise(dd);if(resetTracking(),ud(),(pd||Ra.sp)&&!isAsyncWrapper(Ra)&&markAsyncBoundary(Ra),pd){if(dd.then(unsetCurrentInstance,unsetCurrentInstance),qa)return dd.then(fd=>{handleSetupResult(Ra,fd,qa)}).catch(fd=>{handleError$1(fd,Ra,0)});Ra.asyncDep=dd}else handleSetupResult(Ra,dd,qa)}else finishComponentSetup(Ra,qa)}function handleSetupResult(Ra,qa,nd){isFunction$4(qa)?Ra.type.__ssrInlineRender?Ra.ssrRender=qa:Ra.render=qa:isObject$9(qa)&&(Ra.setupState=proxyRefs(qa)),finishComponentSetup(Ra,nd)}let compile$2;function finishComponentSetup(Ra,qa,nd){const od=Ra.type;if(!Ra.render){if(!qa&&compile$2&&!od.render){const ld=od.template||resolveMergedOptions(Ra).template;if(ld){const{isCustomElement:ud,compilerOptions:dd}=Ra.appContext.config,{delimiters:pd,compilerOptions:fd}=od,md=extend$4(extend$4({isCustomElement:ud,delimiters:pd},dd),fd);od.render=compile$2(ld,md)}}Ra.render=od.render||NOOP}{const ld=setCurrentInstance(Ra);pauseTracking();try{applyOptions(Ra)}finally{resetTracking(),ld()}}}const attrsProxyHandlers={get(Ra,qa){return track(Ra,"get",""),Ra[qa]}};function createSetupContext(Ra){const qa=nd=>{Ra.exposed=nd||{}};return{attrs:new Proxy(Ra.attrs,attrsProxyHandlers),slots:Ra.slots,emit:Ra.emit,expose:qa}}function getComponentPublicInstance(Ra){return Ra.exposed?Ra.exposeProxy||(Ra.exposeProxy=new Proxy(proxyRefs(markRaw(Ra.exposed)),{get(qa,nd){if(nd in qa)return qa[nd];if(nd in publicPropertiesMap)return publicPropertiesMap[nd](Ra)},has(qa,nd){return nd in qa||nd in publicPropertiesMap}})):Ra.proxy}const classifyRE=/(?:^|[-_])(\w)/g,classify=Ra=>Ra.replace(classifyRE,qa=>qa.toUpperCase()).replace(/[-_]/g,"");function getComponentName(Ra,qa=!0){return isFunction$4(Ra)?Ra.displayName||Ra.name:Ra.name||qa&&Ra.__name}function formatComponentName(Ra,qa,nd=!1){let od=getComponentName(qa);if(!od&&qa.__file){const ld=qa.__file.match(/([^/\\]+)\.\w+$/);ld&&(od=ld[1])}if(!od&&Ra&&Ra.parent){const ld=ud=>{for(const dd in ud)if(ud[dd]===qa)return dd};od=ld(Ra.components||Ra.parent.type.components)||ld(Ra.appContext.components)}return od?classify(od):nd?"App":"Anonymous"}function isClassComponent(Ra){return isFunction$4(Ra)&&"__vccOpts"in Ra}const computed=(Ra,qa)=>computed$1(Ra,qa,isInSSRComponentSetup);function h$2(Ra,qa,nd){const od=arguments.length;return od===2?isObject$9(qa)&&!isArray$2(qa)?isVNode(qa)?createVNode(Ra,null,[qa]):createVNode(Ra,qa):createVNode(Ra,null,qa):(od>3?nd=Array.prototype.slice.call(arguments,2):od===3&&isVNode(nd)&&(nd=[nd]),createVNode(Ra,qa,nd))}const version$4="3.5.13";/**
* @vue/runtime-dom v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let policy;const tt$5=typeof window<"u"&&window.trustedTypes;if(tt$5)try{policy=tt$5.createPolicy("vue",{createHTML:Ra=>Ra})}catch{}const unsafeToTrustedHTML=policy?Ra=>policy.createHTML(Ra):Ra=>Ra,svgNS="http://www.w3.org/2000/svg",mathmlNS="http://www.w3.org/1998/Math/MathML",doc=typeof document<"u"?document:null,templateContainer=doc&&doc.createElement("template"),nodeOps={insert:(Ra,qa,nd)=>{qa.insertBefore(Ra,nd||null)},remove:Ra=>{const qa=Ra.parentNode;qa&&qa.removeChild(Ra)},createElement:(Ra,qa,nd,od)=>{const ld=qa==="svg"?doc.createElementNS(svgNS,Ra):qa==="mathml"?doc.createElementNS(mathmlNS,Ra):nd?doc.createElement(Ra,{is:nd}):doc.createElement(Ra);return Ra==="select"&&od&&od.multiple!=null&&ld.setAttribute("multiple",od.multiple),ld},createText:Ra=>doc.createTextNode(Ra),createComment:Ra=>doc.createComment(Ra),setText:(Ra,qa)=>{Ra.nodeValue=qa},setElementText:(Ra,qa)=>{Ra.textContent=qa},parentNode:Ra=>Ra.parentNode,nextSibling:Ra=>Ra.nextSibling,querySelector:Ra=>doc.querySelector(Ra),setScopeId(Ra,qa){Ra.setAttribute(qa,"")},insertStaticContent(Ra,qa,nd,od,ld,ud){const dd=nd?nd.previousSibling:qa.lastChild;if(ld&&(ld===ud||ld.nextSibling))for(;qa.insertBefore(ld.cloneNode(!0),nd),!(ld===ud||!(ld=ld.nextSibling)););else{templateContainer.innerHTML=unsafeToTrustedHTML(od==="svg"?`<svg>${Ra}</svg>`:od==="mathml"?`<math>${Ra}</math>`:Ra);const pd=templateContainer.content;if(od==="svg"||od==="mathml"){const fd=pd.firstChild;for(;fd.firstChild;)pd.appendChild(fd.firstChild);pd.removeChild(fd)}qa.insertBefore(pd,nd)}return[dd?dd.nextSibling:qa.firstChild,nd?nd.previousSibling:qa.lastChild]}},TRANSITION="transition",ANIMATION="animation",vtcKey=Symbol("_vtc"),DOMTransitionPropsValidators={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},TransitionPropsValidators=extend$4({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),decorate$1=Ra=>(Ra.displayName="Transition",Ra.props=TransitionPropsValidators,Ra),Transition$1=decorate$1((Ra,{slots:qa})=>h$2(BaseTransition,resolveTransitionProps(Ra),qa)),callHook=(Ra,qa=[])=>{isArray$2(Ra)?Ra.forEach(nd=>nd(...qa)):Ra&&Ra(...qa)},hasExplicitCallback=Ra=>Ra?isArray$2(Ra)?Ra.some(qa=>qa.length>1):Ra.length>1:!1;function resolveTransitionProps(Ra){const qa={};for(const Sf in Ra)Sf in DOMTransitionPropsValidators||(qa[Sf]=Ra[Sf]);if(Ra.css===!1)return qa;const{name:nd="v",type:od,duration:ld,enterFromClass:ud=`${nd}-enter-from`,enterActiveClass:dd=`${nd}-enter-active`,enterToClass:pd=`${nd}-enter-to`,appearFromClass:fd=ud,appearActiveClass:md=dd,appearToClass:vd=pd,leaveFromClass:Ad=`${nd}-leave-from`,leaveActiveClass:Nd=`${nd}-leave-active`,leaveToClass:Od=`${nd}-leave-to`}=Ra,kd=normalizeDuration(ld),Ld=kd&&kd[0],Gd=kd&&kd[1],{onBeforeEnter:jd,onEnter:Fd,onEnterCancelled:Ud,onLeave:qd,onLeaveCancelled:zd,onBeforeAppear:Wd=jd,onAppear:Jd=Fd,onAppearCancelled:_f=Ud}=qa,Xd=(Sf,Tf,Af,Ef)=>{Sf._enterCancelled=Ef,removeTransitionClass(Sf,Tf?vd:pd),removeTransitionClass(Sf,Tf?md:dd),Af&&Af()},pf=(Sf,Tf)=>{Sf._isLeaving=!1,removeTransitionClass(Sf,Ad),removeTransitionClass(Sf,Od),removeTransitionClass(Sf,Nd),Tf&&Tf()},mf=Sf=>(Tf,Af)=>{const Ef=Sf?Jd:Fd,Nf=()=>Xd(Tf,Sf,Af);callHook(Ef,[Tf,Nf]),nextFrame(()=>{removeTransitionClass(Tf,Sf?fd:ud),addTransitionClass(Tf,Sf?vd:pd),hasExplicitCallback(Ef)||whenTransitionEnds(Tf,od,Ld,Nf)})};return extend$4(qa,{onBeforeEnter(Sf){callHook(jd,[Sf]),addTransitionClass(Sf,ud),addTransitionClass(Sf,dd)},onBeforeAppear(Sf){callHook(Wd,[Sf]),addTransitionClass(Sf,fd),addTransitionClass(Sf,md)},onEnter:mf(!1),onAppear:mf(!0),onLeave(Sf,Tf){Sf._isLeaving=!0;const Af=()=>pf(Sf,Tf);addTransitionClass(Sf,Ad),Sf._enterCancelled?(addTransitionClass(Sf,Nd),forceReflow()):(forceReflow(),addTransitionClass(Sf,Nd)),nextFrame(()=>{Sf._isLeaving&&(removeTransitionClass(Sf,Ad),addTransitionClass(Sf,Od),hasExplicitCallback(qd)||whenTransitionEnds(Sf,od,Gd,Af))}),callHook(qd,[Sf,Af])},onEnterCancelled(Sf){Xd(Sf,!1,void 0,!0),callHook(Ud,[Sf])},onAppearCancelled(Sf){Xd(Sf,!0,void 0,!0),callHook(_f,[Sf])},onLeaveCancelled(Sf){pf(Sf),callHook(zd,[Sf])}})}function normalizeDuration(Ra){if(Ra==null)return null;if(isObject$9(Ra))return[NumberOf(Ra.enter),NumberOf(Ra.leave)];{const qa=NumberOf(Ra);return[qa,qa]}}function NumberOf(Ra){return toNumber$5(Ra)}function addTransitionClass(Ra,qa){qa.split(/\s+/).forEach(nd=>nd&&Ra.classList.add(nd)),(Ra[vtcKey]||(Ra[vtcKey]=new Set)).add(qa)}function removeTransitionClass(Ra,qa){qa.split(/\s+/).forEach(od=>od&&Ra.classList.remove(od));const nd=Ra[vtcKey];nd&&(nd.delete(qa),nd.size||(Ra[vtcKey]=void 0))}function nextFrame(Ra){requestAnimationFrame(()=>{requestAnimationFrame(Ra)})}let endId=0;function whenTransitionEnds(Ra,qa,nd,od){const ld=Ra._endId=++endId,ud=()=>{ld===Ra._endId&&od()};if(nd!=null)return setTimeout(ud,nd);const{type:dd,timeout:pd,propCount:fd}=getTransitionInfo(Ra,qa);if(!dd)return od();const md=dd+"end";let vd=0;const Ad=()=>{Ra.removeEventListener(md,Nd),ud()},Nd=Od=>{Od.target===Ra&&++vd>=fd&&Ad()};setTimeout(()=>{vd<fd&&Ad()},pd+1),Ra.addEventListener(md,Nd)}function getTransitionInfo(Ra,qa){const nd=window.getComputedStyle(Ra),od=kd=>(nd[kd]||"").split(", "),ld=od(`${TRANSITION}Delay`),ud=od(`${TRANSITION}Duration`),dd=getTimeout(ld,ud),pd=od(`${ANIMATION}Delay`),fd=od(`${ANIMATION}Duration`),md=getTimeout(pd,fd);let vd=null,Ad=0,Nd=0;qa===TRANSITION?dd>0&&(vd=TRANSITION,Ad=dd,Nd=ud.length):qa===ANIMATION?md>0&&(vd=ANIMATION,Ad=md,Nd=fd.length):(Ad=Math.max(dd,md),vd=Ad>0?dd>md?TRANSITION:ANIMATION:null,Nd=vd?vd===TRANSITION?ud.length:fd.length:0);const Od=vd===TRANSITION&&/\b(transform|all)(,|$)/.test(od(`${TRANSITION}Property`).toString());return{type:vd,timeout:Ad,propCount:Nd,hasTransform:Od}}function getTimeout(Ra,qa){for(;Ra.length<qa.length;)Ra=Ra.concat(Ra);return Math.max(...qa.map((nd,od)=>toMs(nd)+toMs(Ra[od])))}function toMs(Ra){return Ra==="auto"?0:Number(Ra.slice(0,-1).replace(",","."))*1e3}function forceReflow(){return document.body.offsetHeight}function patchClass(Ra,qa,nd){const od=Ra[vtcKey];od&&(qa=(qa?[qa,...od]:[...od]).join(" ")),qa==null?Ra.removeAttribute("class"):nd?Ra.setAttribute("class",qa):Ra.className=qa}const vShowOriginalDisplay=Symbol("_vod"),vShowHidden=Symbol("_vsh"),vShow={beforeMount(Ra,{value:qa},{transition:nd}){Ra[vShowOriginalDisplay]=Ra.style.display==="none"?"":Ra.style.display,nd&&qa?nd.beforeEnter(Ra):setDisplay(Ra,qa)},mounted(Ra,{value:qa},{transition:nd}){nd&&qa&&nd.enter(Ra)},updated(Ra,{value:qa,oldValue:nd},{transition:od}){!qa!=!nd&&(od?qa?(od.beforeEnter(Ra),setDisplay(Ra,!0),od.enter(Ra)):od.leave(Ra,()=>{setDisplay(Ra,!1)}):setDisplay(Ra,qa))},beforeUnmount(Ra,{value:qa}){setDisplay(Ra,qa)}};function setDisplay(Ra,qa){Ra.style.display=qa?Ra[vShowOriginalDisplay]:"none",Ra[vShowHidden]=!qa}const CSS_VAR_TEXT=Symbol(""),displayRE=/(^|;)\s*display\s*:/;function patchStyle(Ra,qa,nd){const od=Ra.style,ld=isString$2(nd);let ud=!1;if(nd&&!ld){if(qa)if(isString$2(qa))for(const dd of qa.split(";")){const pd=dd.slice(0,dd.indexOf(":")).trim();nd[pd]==null&&setStyle(od,pd,"")}else for(const dd in qa)nd[dd]==null&&setStyle(od,dd,"");for(const dd in nd)dd==="display"&&(ud=!0),setStyle(od,dd,nd[dd])}else if(ld){if(qa!==nd){const dd=od[CSS_VAR_TEXT];dd&&(nd+=";"+dd),od.cssText=nd,ud=displayRE.test(nd)}}else qa&&Ra.removeAttribute("style");vShowOriginalDisplay in Ra&&(Ra[vShowOriginalDisplay]=ud?od.display:"",Ra[vShowHidden]&&(od.display="none"))}const importantRE=/\s*!important$/;function setStyle(Ra,qa,nd){if(isArray$2(nd))nd.forEach(od=>setStyle(Ra,qa,od));else if(nd==null&&(nd=""),qa.startsWith("--"))Ra.setProperty(qa,nd);else{const od=autoPrefix(Ra,qa);importantRE.test(nd)?Ra.setProperty(hyphenate(od),nd.replace(importantRE,""),"important"):Ra[od]=nd}}const prefixes$1=["Webkit","Moz","ms"],prefixCache={};function autoPrefix(Ra,qa){const nd=prefixCache[qa];if(nd)return nd;let od=camelize(qa);if(od!=="filter"&&od in Ra)return prefixCache[qa]=od;od=capitalize(od);for(let ld=0;ld<prefixes$1.length;ld++){const ud=prefixes$1[ld]+od;if(ud in Ra)return prefixCache[qa]=ud}return qa}const xlinkNS="http://www.w3.org/1999/xlink";function patchAttr(Ra,qa,nd,od,ld,ud=isSpecialBooleanAttr(qa)){od&&qa.startsWith("xlink:")?nd==null?Ra.removeAttributeNS(xlinkNS,qa.slice(6,qa.length)):Ra.setAttributeNS(xlinkNS,qa,nd):nd==null||ud&&!includeBooleanAttr(nd)?Ra.removeAttribute(qa):Ra.setAttribute(qa,ud?"":isSymbol(nd)?String(nd):nd)}function patchDOMProp(Ra,qa,nd,od,ld){if(qa==="innerHTML"||qa==="textContent"){nd!=null&&(Ra[qa]=qa==="innerHTML"?unsafeToTrustedHTML(nd):nd);return}const ud=Ra.tagName;if(qa==="value"&&ud!=="PROGRESS"&&!ud.includes("-")){const pd=ud==="OPTION"?Ra.getAttribute("value")||"":Ra.value,fd=nd==null?Ra.type==="checkbox"?"on":"":String(nd);(pd!==fd||!("_value"in Ra))&&(Ra.value=fd),nd==null&&Ra.removeAttribute(qa),Ra._value=nd;return}let dd=!1;if(nd===""||nd==null){const pd=typeof Ra[qa];pd==="boolean"?nd=includeBooleanAttr(nd):nd==null&&pd==="string"?(nd="",dd=!0):pd==="number"&&(nd=0,dd=!0)}try{Ra[qa]=nd}catch{}dd&&Ra.removeAttribute(ld||qa)}function addEventListener(Ra,qa,nd,od){Ra.addEventListener(qa,nd,od)}function removeEventListener(Ra,qa,nd,od){Ra.removeEventListener(qa,nd,od)}const veiKey=Symbol("_vei");function patchEvent(Ra,qa,nd,od,ld=null){const ud=Ra[veiKey]||(Ra[veiKey]={}),dd=ud[qa];if(od&&dd)dd.value=od;else{const[pd,fd]=parseName(qa);if(od){const md=ud[qa]=createInvoker(od,ld);addEventListener(Ra,pd,md,fd)}else dd&&(removeEventListener(Ra,pd,dd,fd),ud[qa]=void 0)}}const optionsModifierRE=/(?:Once|Passive|Capture)$/;function parseName(Ra){let qa;if(optionsModifierRE.test(Ra)){qa={};let od;for(;od=Ra.match(optionsModifierRE);)Ra=Ra.slice(0,Ra.length-od[0].length),qa[od[0].toLowerCase()]=!0}return[Ra[2]===":"?Ra.slice(3):hyphenate(Ra.slice(2)),qa]}let cachedNow=0;const p$2=Promise.resolve(),getNow=()=>cachedNow||(p$2.then(()=>cachedNow=0),cachedNow=Date.now());function createInvoker(Ra,qa){const nd=od=>{if(!od._vts)od._vts=Date.now();else if(od._vts<=nd.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(od,nd.value),qa,5,[od])};return nd.value=Ra,nd.attached=getNow(),nd}function patchStopImmediatePropagation(Ra,qa){if(isArray$2(qa)){const nd=Ra.stopImmediatePropagation;return Ra.stopImmediatePropagation=()=>{nd.call(Ra),Ra._stopped=!0},qa.map(od=>ld=>!ld._stopped&&od&&od(ld))}else return qa}const isNativeOn=Ra=>Ra.charCodeAt(0)===111&&Ra.charCodeAt(1)===110&&Ra.charCodeAt(2)>96&&Ra.charCodeAt(2)<123,patchProp=(Ra,qa,nd,od,ld,ud)=>{const dd=ld==="svg";qa==="class"?patchClass(Ra,od,dd):qa==="style"?patchStyle(Ra,nd,od):isOn(qa)?isModelListener(qa)||patchEvent(Ra,qa,nd,od,ud):(qa[0]==="."?(qa=qa.slice(1),!0):qa[0]==="^"?(qa=qa.slice(1),!1):shouldSetAsProp(Ra,qa,od,dd))?(patchDOMProp(Ra,qa,od),!Ra.tagName.includes("-")&&(qa==="value"||qa==="checked"||qa==="selected")&&patchAttr(Ra,qa,od,dd,ud,qa!=="value")):Ra._isVueCE&&(/[A-Z]/.test(qa)||!isString$2(od))?patchDOMProp(Ra,camelize(qa),od,ud,qa):(qa==="true-value"?Ra._trueValue=od:qa==="false-value"&&(Ra._falseValue=od),patchAttr(Ra,qa,od,dd))};function shouldSetAsProp(Ra,qa,nd,od){if(od)return!!(qa==="innerHTML"||qa==="textContent"||qa in Ra&&isNativeOn(qa)&&isFunction$4(nd));if(qa==="spellcheck"||qa==="draggable"||qa==="translate"||qa==="form"||qa==="list"&&Ra.tagName==="INPUT"||qa==="type"&&Ra.tagName==="TEXTAREA")return!1;if(qa==="width"||qa==="height"){const ld=Ra.tagName;if(ld==="IMG"||ld==="VIDEO"||ld==="CANVAS"||ld==="SOURCE")return!1}return isNativeOn(qa)&&isString$2(nd)?!1:qa in Ra}const getModelAssigner=Ra=>{const qa=Ra.props["onUpdate:modelValue"]||!1;return isArray$2(qa)?nd=>invokeArrayFns(qa,nd):qa};function onCompositionStart(Ra){Ra.target.composing=!0}function onCompositionEnd(Ra){const qa=Ra.target;qa.composing&&(qa.composing=!1,qa.dispatchEvent(new Event("input")))}const assignKey=Symbol("_assign"),vModelText={created(Ra,{modifiers:{lazy:qa,trim:nd,number:od}},ld){Ra[assignKey]=getModelAssigner(ld);const ud=od||ld.props&&ld.props.type==="number";addEventListener(Ra,qa?"change":"input",dd=>{if(dd.target.composing)return;let pd=Ra.value;nd&&(pd=pd.trim()),ud&&(pd=looseToNumber(pd)),Ra[assignKey](pd)}),nd&&addEventListener(Ra,"change",()=>{Ra.value=Ra.value.trim()}),qa||(addEventListener(Ra,"compositionstart",onCompositionStart),addEventListener(Ra,"compositionend",onCompositionEnd),addEventListener(Ra,"change",onCompositionEnd))},mounted(Ra,{value:qa}){Ra.value=qa??""},beforeUpdate(Ra,{value:qa,oldValue:nd,modifiers:{lazy:od,trim:ld,number:ud}},dd){if(Ra[assignKey]=getModelAssigner(dd),Ra.composing)return;const pd=(ud||Ra.type==="number")&&!/^0\d/.test(Ra.value)?looseToNumber(Ra.value):Ra.value,fd=qa??"";pd!==fd&&(document.activeElement===Ra&&Ra.type!=="range"&&(od&&qa===nd||ld&&Ra.value.trim()===fd)||(Ra.value=fd))}},vModelSelect={deep:!0,created(Ra,{value:qa,modifiers:{number:nd}},od){const ld=isSet$1(qa);addEventListener(Ra,"change",()=>{const ud=Array.prototype.filter.call(Ra.options,dd=>dd.selected).map(dd=>nd?looseToNumber(getValue$1(dd)):getValue$1(dd));Ra[assignKey](Ra.multiple?ld?new Set(ud):ud:ud[0]),Ra._assigning=!0,nextTick$1(()=>{Ra._assigning=!1})}),Ra[assignKey]=getModelAssigner(od)},mounted(Ra,{value:qa}){setSelected(Ra,qa)},beforeUpdate(Ra,qa,nd){Ra[assignKey]=getModelAssigner(nd)},updated(Ra,{value:qa}){Ra._assigning||setSelected(Ra,qa)}};function setSelected(Ra,qa){const nd=Ra.multiple,od=isArray$2(qa);if(!(nd&&!od&&!isSet$1(qa))){for(let ld=0,ud=Ra.options.length;ld<ud;ld++){const dd=Ra.options[ld],pd=getValue$1(dd);if(nd)if(od){const fd=typeof pd;fd==="string"||fd==="number"?dd.selected=qa.some(md=>String(md)===String(pd)):dd.selected=looseIndexOf(qa,pd)>-1}else dd.selected=qa.has(pd);else if(looseEqual(getValue$1(dd),qa)){Ra.selectedIndex!==ld&&(Ra.selectedIndex=ld);return}}!nd&&Ra.selectedIndex!==-1&&(Ra.selectedIndex=-1)}}function getValue$1(Ra){return"_value"in Ra?Ra._value:Ra.value}const systemModifiers=["ctrl","shift","alt","meta"],modifierGuards={stop:Ra=>Ra.stopPropagation(),prevent:Ra=>Ra.preventDefault(),self:Ra=>Ra.target!==Ra.currentTarget,ctrl:Ra=>!Ra.ctrlKey,shift:Ra=>!Ra.shiftKey,alt:Ra=>!Ra.altKey,meta:Ra=>!Ra.metaKey,left:Ra=>"button"in Ra&&Ra.button!==0,middle:Ra=>"button"in Ra&&Ra.button!==1,right:Ra=>"button"in Ra&&Ra.button!==2,exact:(Ra,qa)=>systemModifiers.some(nd=>Ra[`${nd}Key`]&&!qa.includes(nd))},withModifiers=(Ra,qa)=>{const nd=Ra._withMods||(Ra._withMods={}),od=qa.join(".");return nd[od]||(nd[od]=(ld,...ud)=>{for(let dd=0;dd<qa.length;dd++){const pd=modifierGuards[qa[dd]];if(pd&&pd(ld,qa))return}return Ra(ld,...ud)})},keyNames={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},withKeys=(Ra,qa)=>{const nd=Ra._withKeys||(Ra._withKeys={}),od=qa.join(".");return nd[od]||(nd[od]=ld=>{if(!("key"in ld))return;const ud=hyphenate(ld.key);if(qa.some(dd=>dd===ud||keyNames[dd]===ud))return Ra(ld)})},rendererOptions=extend$4({patchProp},nodeOps);let renderer$1;function ensureRenderer(){return renderer$1||(renderer$1=createRenderer$1(rendererOptions))}const createApp=(...Ra)=>{const qa=ensureRenderer().createApp(...Ra),{mount:nd}=qa;return qa.mount=od=>{const ld=normalizeContainer(od);if(!ld)return;const ud=qa._component;!isFunction$4(ud)&&!ud.render&&!ud.template&&(ud.template=ld.innerHTML),ld.nodeType===1&&(ld.textContent="");const dd=nd(ld,!1,resolveRootNamespace(ld));return ld instanceof Element&&(ld.removeAttribute("v-cloak"),ld.setAttribute("data-v-app","")),dd},qa};function resolveRootNamespace(Ra){if(Ra instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&Ra instanceof MathMLElement)return"mathml"}function normalizeContainer(Ra){return isString$2(Ra)?document.querySelector(Ra):Ra}var isVue2=!1;let activePinia;const setActivePinia=Ra=>activePinia=Ra,piniaSymbol=Symbol();function isPlainObject$5(Ra){return Ra&&typeof Ra=="object"&&Object.prototype.toString.call(Ra)==="[object Object]"&&typeof Ra.toJSON!="function"}var MutationType;(function(Ra){Ra.direct="direct",Ra.patchObject="patch object",Ra.patchFunction="patch function"})(MutationType||(MutationType={}));function createPinia(){const Ra=effectScope(!0),qa=Ra.run(()=>ref$1({}));let nd=[],od=[];const ld=markRaw({install(ud){setActivePinia(ld),ld._a=ud,ud.provide(piniaSymbol,ld),ud.config.globalProperties.$pinia=ld,od.forEach(dd=>nd.push(dd)),od=[]},use(ud){return!this._a&&!isVue2?od.push(ud):nd.push(ud),this},_p:nd,_a:null,_e:Ra,_s:new Map,state:qa});return ld}const noop$6=()=>{};function addSubscription(Ra,qa,nd,od=noop$6){Ra.push(qa);const ld=()=>{const ud=Ra.indexOf(qa);ud>-1&&(Ra.splice(ud,1),od())};return!nd&&getCurrentScope()&&onScopeDispose(ld),ld}function triggerSubscriptions(Ra,...qa){Ra.slice().forEach(nd=>{nd(...qa)})}const fallbackRunWithContext=Ra=>Ra(),ACTION_MARKER=Symbol(),ACTION_NAME=Symbol();function mergeReactiveObjects(Ra,qa){Ra instanceof Map&&qa instanceof Map?qa.forEach((nd,od)=>Ra.set(od,nd)):Ra instanceof Set&&qa instanceof Set&&qa.forEach(Ra.add,Ra);for(const nd in qa){if(!qa.hasOwnProperty(nd))continue;const od=qa[nd],ld=Ra[nd];isPlainObject$5(ld)&&isPlainObject$5(od)&&Ra.hasOwnProperty(nd)&&!isRef(od)&&!isReactive(od)?Ra[nd]=mergeReactiveObjects(ld,od):Ra[nd]=od}return Ra}const skipHydrateSymbol=Symbol();function shouldHydrate(Ra){return!isPlainObject$5(Ra)||!Ra.hasOwnProperty(skipHydrateSymbol)}const{assign}=Object;function isComputed(Ra){return!!(isRef(Ra)&&Ra.effect)}function createOptionsStore(Ra,qa,nd,od){const{state:ld,actions:ud,getters:dd}=qa,pd=nd.state.value[Ra];let fd;function md(){pd||(nd.state.value[Ra]=ld?ld():{});const vd=toRefs(nd.state.value[Ra]);return assign(vd,ud,Object.keys(dd||{}).reduce((Ad,Nd)=>(Ad[Nd]=markRaw(computed(()=>{setActivePinia(nd);const Od=nd._s.get(Ra);return dd[Nd].call(Od,Od)})),Ad),{}))}return fd=createSetupStore(Ra,md,qa,nd,od,!0),fd}function createSetupStore(Ra,qa,nd={},od,ld,ud){let dd;const pd=assign({actions:{}},nd),fd={deep:!0};let md,vd,Ad=[],Nd=[],Od;const kd=od.state.value[Ra];!ud&&!kd&&(od.state.value[Ra]={}),ref$1({});let Ld;function Gd(_f){let Xd;md=vd=!1,typeof _f=="function"?(_f(od.state.value[Ra]),Xd={type:MutationType.patchFunction,storeId:Ra,events:Od}):(mergeReactiveObjects(od.state.value[Ra],_f),Xd={type:MutationType.patchObject,payload:_f,storeId:Ra,events:Od});const pf=Ld=Symbol();nextTick$1().then(()=>{Ld===pf&&(md=!0)}),vd=!0,triggerSubscriptions(Ad,Xd,od.state.value[Ra])}const jd=ud?function(){const{state:Xd}=nd,pf=Xd?Xd():{};this.$patch(mf=>{assign(mf,pf)})}:noop$6;function Fd(){dd.stop(),Ad=[],Nd=[],od._s.delete(Ra)}const Ud=(_f,Xd="")=>{if(ACTION_MARKER in _f)return _f[ACTION_NAME]=Xd,_f;const pf=function(){setActivePinia(od);const mf=Array.from(arguments),Sf=[],Tf=[];function Af(If){Sf.push(If)}function Ef(If){Tf.push(If)}triggerSubscriptions(Nd,{args:mf,name:pf[ACTION_NAME],store:zd,after:Af,onError:Ef});let Nf;try{Nf=_f.apply(this&&this.$id===Ra?this:zd,mf)}catch(If){throw triggerSubscriptions(Tf,If),If}return Nf instanceof Promise?Nf.then(If=>(triggerSubscriptions(Sf,If),If)).catch(If=>(triggerSubscriptions(Tf,If),Promise.reject(If))):(triggerSubscriptions(Sf,Nf),Nf)};return pf[ACTION_MARKER]=!0,pf[ACTION_NAME]=Xd,pf},qd={_p:od,$id:Ra,$onAction:addSubscription.bind(null,Nd),$patch:Gd,$reset:jd,$subscribe(_f,Xd={}){const pf=addSubscription(Ad,_f,Xd.detached,()=>mf()),mf=dd.run(()=>watch(()=>od.state.value[Ra],Sf=>{(Xd.flush==="sync"?vd:md)&&_f({storeId:Ra,type:MutationType.direct,events:Od},Sf)},assign({},fd,Xd)));return pf},$dispose:Fd},zd=reactive(qd);od._s.set(Ra,zd);const Jd=(od._a&&od._a.runWithContext||fallbackRunWithContext)(()=>od._e.run(()=>(dd=effectScope()).run(()=>qa({action:Ud}))));for(const _f in Jd){const Xd=Jd[_f];if(isRef(Xd)&&!isComputed(Xd)||isReactive(Xd))ud||(kd&&shouldHydrate(Xd)&&(isRef(Xd)?Xd.value=kd[_f]:mergeReactiveObjects(Xd,kd[_f])),od.state.value[Ra][_f]=Xd);else if(typeof Xd=="function"){const pf=Ud(Xd,_f);Jd[_f]=pf,pd.actions[_f]=Xd}}return assign(zd,Jd),assign(toRaw(zd),Jd),Object.defineProperty(zd,"$state",{get:()=>od.state.value[Ra],set:_f=>{Gd(Xd=>{assign(Xd,_f)})}}),od._p.forEach(_f=>{assign(zd,dd.run(()=>_f({store:zd,app:od._a,pinia:od,options:pd})))}),kd&&ud&&nd.hydrate&&nd.hydrate(zd.$state,kd),md=!0,vd=!0,zd}/*! #__NO_SIDE_EFFECTS__ */function defineStore(Ra,qa,nd){let od,ld;const ud=typeof qa=="function";typeof Ra=="string"?(od=Ra,ld=ud?nd:qa):(ld=Ra,od=Ra.id);function dd(pd,fd){const md=hasInjectionContext();return pd=pd||(md?inject(piniaSymbol,null):null),pd&&setActivePinia(pd),pd=activePinia,pd._s.has(od)||(ud?createSetupStore(od,qa,ld,pd):createOptionsStore(od,ld,pd)),pd._s.get(od)}return dd.$id=od,dd}function storeToRefs(Ra){{const qa=toRaw(Ra),nd={};for(const od in qa){const ld=qa[od];(isRef(ld)||isReactive(ld))&&(nd[od]=toRef$1(Ra,od))}return nd}}const sides=["top","right","bottom","left"],min$1=Math.min,max$2=Math.max,round=Math.round,floor=Math.floor,createCoords=Ra=>({x:Ra,y:Ra}),oppositeSideMap={left:"right",right:"left",bottom:"top",top:"bottom"},oppositeAlignmentMap={start:"end",end:"start"};function clamp(Ra,qa,nd){return max$2(Ra,min$1(qa,nd))}function evaluate$1(Ra,qa){return typeof Ra=="function"?Ra(qa):Ra}function getSide(Ra){return Ra.split("-")[0]}function getAlignment(Ra){return Ra.split("-")[1]}function getOppositeAxis(Ra){return Ra==="x"?"y":"x"}function getAxisLength(Ra){return Ra==="y"?"height":"width"}function getSideAxis(Ra){return["top","bottom"].includes(getSide(Ra))?"y":"x"}function getAlignmentAxis(Ra){return getOppositeAxis(getSideAxis(Ra))}function getAlignmentSides(Ra,qa,nd){nd===void 0&&(nd=!1);const od=getAlignment(Ra),ld=getAlignmentAxis(Ra),ud=getAxisLength(ld);let dd=ld==="x"?od===(nd?"end":"start")?"right":"left":od==="start"?"bottom":"top";return qa.reference[ud]>qa.floating[ud]&&(dd=getOppositePlacement(dd)),[dd,getOppositePlacement(dd)]}function getExpandedPlacements(Ra){const qa=getOppositePlacement(Ra);return[getOppositeAlignmentPlacement(Ra),qa,getOppositeAlignmentPlacement(qa)]}function getOppositeAlignmentPlacement(Ra){return Ra.replace(/start|end/g,qa=>oppositeAlignmentMap[qa])}function getSideList(Ra,qa,nd){const od=["left","right"],ld=["right","left"],ud=["top","bottom"],dd=["bottom","top"];switch(Ra){case"top":case"bottom":return nd?qa?ld:od:qa?od:ld;case"left":case"right":return qa?ud:dd;default:return[]}}function getOppositeAxisPlacements(Ra,qa,nd,od){const ld=getAlignment(Ra);let ud=getSideList(getSide(Ra),nd==="start",od);return ld&&(ud=ud.map(dd=>dd+"-"+ld),qa&&(ud=ud.concat(ud.map(getOppositeAlignmentPlacement)))),ud}function getOppositePlacement(Ra){return Ra.replace(/left|right|bottom|top/g,qa=>oppositeSideMap[qa])}function expandPaddingObject(Ra){return{top:0,right:0,bottom:0,left:0,...Ra}}function getPaddingObject(Ra){return typeof Ra!="number"?expandPaddingObject(Ra):{top:Ra,right:Ra,bottom:Ra,left:Ra}}function rectToClientRect(Ra){const{x:qa,y:nd,width:od,height:ld}=Ra;return{width:od,height:ld,top:nd,left:qa,right:qa+od,bottom:nd+ld,x:qa,y:nd}}function computeCoordsFromPlacement(Ra,qa,nd){let{reference:od,floating:ld}=Ra;const ud=getSideAxis(qa),dd=getAlignmentAxis(qa),pd=getAxisLength(dd),fd=getSide(qa),md=ud==="y",vd=od.x+od.width/2-ld.width/2,Ad=od.y+od.height/2-ld.height/2,Nd=od[pd]/2-ld[pd]/2;let Od;switch(fd){case"top":Od={x:vd,y:od.y-ld.height};break;case"bottom":Od={x:vd,y:od.y+od.height};break;case"right":Od={x:od.x+od.width,y:Ad};break;case"left":Od={x:od.x-ld.width,y:Ad};break;default:Od={x:od.x,y:od.y}}switch(getAlignment(qa)){case"start":Od[dd]-=Nd*(nd&&md?-1:1);break;case"end":Od[dd]+=Nd*(nd&&md?-1:1);break}return Od}const computePosition$1=async(Ra,qa,nd)=>{const{placement:od="bottom",strategy:ld="absolute",middleware:ud=[],platform:dd}=nd,pd=ud.filter(Boolean),fd=await(dd.isRTL==null?void 0:dd.isRTL(qa));let md=await dd.getElementRects({reference:Ra,floating:qa,strategy:ld}),{x:vd,y:Ad}=computeCoordsFromPlacement(md,od,fd),Nd=od,Od={},kd=0;for(let Ld=0;Ld<pd.length;Ld++){const{name:Gd,fn:jd}=pd[Ld],{x:Fd,y:Ud,data:qd,reset:zd}=await jd({x:vd,y:Ad,initialPlacement:od,placement:Nd,strategy:ld,middlewareData:Od,rects:md,platform:dd,elements:{reference:Ra,floating:qa}});vd=Fd??vd,Ad=Ud??Ad,Od={...Od,[Gd]:{...Od[Gd],...qd}},zd&&kd<=50&&(kd++,typeof zd=="object"&&(zd.placement&&(Nd=zd.placement),zd.rects&&(md=zd.rects===!0?await dd.getElementRects({reference:Ra,floating:qa,strategy:ld}):zd.rects),{x:vd,y:Ad}=computeCoordsFromPlacement(md,Nd,fd)),Ld=-1)}return{x:vd,y:Ad,placement:Nd,strategy:ld,middlewareData:Od}};async function detectOverflow(Ra,qa){var nd;qa===void 0&&(qa={});const{x:od,y:ld,platform:ud,rects:dd,elements:pd,strategy:fd}=Ra,{boundary:md="clippingAncestors",rootBoundary:vd="viewport",elementContext:Ad="floating",altBoundary:Nd=!1,padding:Od=0}=evaluate$1(qa,Ra),kd=getPaddingObject(Od),Gd=pd[Nd?Ad==="floating"?"reference":"floating":Ad],jd=rectToClientRect(await ud.getClippingRect({element:(nd=await(ud.isElement==null?void 0:ud.isElement(Gd)))==null||nd?Gd:Gd.contextElement||await(ud.getDocumentElement==null?void 0:ud.getDocumentElement(pd.floating)),boundary:md,rootBoundary:vd,strategy:fd})),Fd=Ad==="floating"?{x:od,y:ld,width:dd.floating.width,height:dd.floating.height}:dd.reference,Ud=await(ud.getOffsetParent==null?void 0:ud.getOffsetParent(pd.floating)),qd=await(ud.isElement==null?void 0:ud.isElement(Ud))?await(ud.getScale==null?void 0:ud.getScale(Ud))||{x:1,y:1}:{x:1,y:1},zd=rectToClientRect(ud.convertOffsetParentRelativeRectToViewportRelativeRect?await ud.convertOffsetParentRelativeRectToViewportRelativeRect({elements:pd,rect:Fd,offsetParent:Ud,strategy:fd}):Fd);return{top:(jd.top-zd.top+kd.top)/qd.y,bottom:(zd.bottom-jd.bottom+kd.bottom)/qd.y,left:(jd.left-zd.left+kd.left)/qd.x,right:(zd.right-jd.right+kd.right)/qd.x}}const arrow$2=Ra=>({name:"arrow",options:Ra,async fn(qa){const{x:nd,y:od,placement:ld,rects:ud,platform:dd,elements:pd,middlewareData:fd}=qa,{element:md,padding:vd=0}=evaluate$1(Ra,qa)||{};if(md==null)return{};const Ad=getPaddingObject(vd),Nd={x:nd,y:od},Od=getAlignmentAxis(ld),kd=getAxisLength(Od),Ld=await dd.getDimensions(md),Gd=Od==="y",jd=Gd?"top":"left",Fd=Gd?"bottom":"right",Ud=Gd?"clientHeight":"clientWidth",qd=ud.reference[kd]+ud.reference[Od]-Nd[Od]-ud.floating[kd],zd=Nd[Od]-ud.reference[Od],Wd=await(dd.getOffsetParent==null?void 0:dd.getOffsetParent(md));let Jd=Wd?Wd[Ud]:0;(!Jd||!await(dd.isElement==null?void 0:dd.isElement(Wd)))&&(Jd=pd.floating[Ud]||ud.floating[kd]);const _f=qd/2-zd/2,Xd=Jd/2-Ld[kd]/2-1,pf=min$1(Ad[jd],Xd),mf=min$1(Ad[Fd],Xd),Sf=pf,Tf=Jd-Ld[kd]-mf,Af=Jd/2-Ld[kd]/2+_f,Ef=clamp(Sf,Af,Tf),Nf=!fd.arrow&&getAlignment(ld)!=null&&Af!==Ef&&ud.reference[kd]/2-(Af<Sf?pf:mf)-Ld[kd]/2<0,If=Nf?Af<Sf?Af-Sf:Af-Tf:0;return{[Od]:Nd[Od]+If,data:{[Od]:Ef,centerOffset:Af-Ef-If,...Nf&&{alignmentOffset:If}},reset:Nf}}}),flip$1=function(Ra){return Ra===void 0&&(Ra={}),{name:"flip",options:Ra,async fn(qa){var nd,od;const{placement:ld,middlewareData:ud,rects:dd,initialPlacement:pd,platform:fd,elements:md}=qa,{mainAxis:vd=!0,crossAxis:Ad=!0,fallbackPlacements:Nd,fallbackStrategy:Od="bestFit",fallbackAxisSideDirection:kd="none",flipAlignment:Ld=!0,...Gd}=evaluate$1(Ra,qa);if((nd=ud.arrow)!=null&&nd.alignmentOffset)return{};const jd=getSide(ld),Fd=getSideAxis(pd),Ud=getSide(pd)===pd,qd=await(fd.isRTL==null?void 0:fd.isRTL(md.floating)),zd=Nd||(Ud||!Ld?[getOppositePlacement(pd)]:getExpandedPlacements(pd)),Wd=kd!=="none";!Nd&&Wd&&zd.push(...getOppositeAxisPlacements(pd,Ld,kd,qd));const Jd=[pd,...zd],_f=await detectOverflow(qa,Gd),Xd=[];let pf=((od=ud.flip)==null?void 0:od.overflows)||[];if(vd&&Xd.push(_f[jd]),Ad){const Af=getAlignmentSides(ld,dd,qd);Xd.push(_f[Af[0]],_f[Af[1]])}if(pf=[...pf,{placement:ld,overflows:Xd}],!Xd.every(Af=>Af<=0)){var mf,Sf;const Af=(((mf=ud.flip)==null?void 0:mf.index)||0)+1,Ef=Jd[Af];if(Ef)return{data:{index:Af,overflows:pf},reset:{placement:Ef}};let Nf=(Sf=pf.filter(If=>If.overflows[0]<=0).sort((If,Gf)=>If.overflows[1]-Gf.overflows[1])[0])==null?void 0:Sf.placement;if(!Nf)switch(Od){case"bestFit":{var Tf;const If=(Tf=pf.filter(Gf=>{if(Wd){const Qf=getSideAxis(Gf.placement);return Qf===Fd||Qf==="y"}return!0}).map(Gf=>[Gf.placement,Gf.overflows.filter(Qf=>Qf>0).reduce((Qf,Xf)=>Qf+Xf,0)]).sort((Gf,Qf)=>Gf[1]-Qf[1])[0])==null?void 0:Tf[0];If&&(Nf=If);break}case"initialPlacement":Nf=pd;break}if(ld!==Nf)return{reset:{placement:Nf}}}return{}}}};function getSideOffsets(Ra,qa){return{top:Ra.top-qa.height,right:Ra.right-qa.width,bottom:Ra.bottom-qa.height,left:Ra.left-qa.width}}function isAnySideFullyClipped(Ra){return sides.some(qa=>Ra[qa]>=0)}const hide$1=function(Ra){return Ra===void 0&&(Ra={}),{name:"hide",options:Ra,async fn(qa){const{rects:nd}=qa,{strategy:od="referenceHidden",...ld}=evaluate$1(Ra,qa);switch(od){case"referenceHidden":{const ud=await detectOverflow(qa,{...ld,elementContext:"reference"}),dd=getSideOffsets(ud,nd.reference);return{data:{referenceHiddenOffsets:dd,referenceHidden:isAnySideFullyClipped(dd)}}}case"escaped":{const ud=await detectOverflow(qa,{...ld,altBoundary:!0}),dd=getSideOffsets(ud,nd.floating);return{data:{escapedOffsets:dd,escaped:isAnySideFullyClipped(dd)}}}default:return{}}}}};async function convertValueToCoords(Ra,qa){const{placement:nd,platform:od,elements:ld}=Ra,ud=await(od.isRTL==null?void 0:od.isRTL(ld.floating)),dd=getSide(nd),pd=getAlignment(nd),fd=getSideAxis(nd)==="y",md=["left","top"].includes(dd)?-1:1,vd=ud&&fd?-1:1,Ad=evaluate$1(qa,Ra);let{mainAxis:Nd,crossAxis:Od,alignmentAxis:kd}=typeof Ad=="number"?{mainAxis:Ad,crossAxis:0,alignmentAxis:null}:{mainAxis:Ad.mainAxis||0,crossAxis:Ad.crossAxis||0,alignmentAxis:Ad.alignmentAxis};return pd&&typeof kd=="number"&&(Od=pd==="end"?kd*-1:kd),fd?{x:Od*vd,y:Nd*md}:{x:Nd*md,y:Od*vd}}const offset$1=function(Ra){return Ra===void 0&&(Ra=0),{name:"offset",options:Ra,async fn(qa){var nd,od;const{x:ld,y:ud,placement:dd,middlewareData:pd}=qa,fd=await convertValueToCoords(qa,Ra);return dd===((nd=pd.offset)==null?void 0:nd.placement)&&(od=pd.arrow)!=null&&od.alignmentOffset?{}:{x:ld+fd.x,y:ud+fd.y,data:{...fd,placement:dd}}}}},shift$1=function(Ra){return Ra===void 0&&(Ra={}),{name:"shift",options:Ra,async fn(qa){const{x:nd,y:od,placement:ld}=qa,{mainAxis:ud=!0,crossAxis:dd=!1,limiter:pd={fn:Gd=>{let{x:jd,y:Fd}=Gd;return{x:jd,y:Fd}}},...fd}=evaluate$1(Ra,qa),md={x:nd,y:od},vd=await detectOverflow(qa,fd),Ad=getSideAxis(getSide(ld)),Nd=getOppositeAxis(Ad);let Od=md[Nd],kd=md[Ad];if(ud){const Gd=Nd==="y"?"top":"left",jd=Nd==="y"?"bottom":"right",Fd=Od+vd[Gd],Ud=Od-vd[jd];Od=clamp(Fd,Od,Ud)}if(dd){const Gd=Ad==="y"?"top":"left",jd=Ad==="y"?"bottom":"right",Fd=kd+vd[Gd],Ud=kd-vd[jd];kd=clamp(Fd,kd,Ud)}const Ld=pd.fn({...qa,[Nd]:Od,[Ad]:kd});return{...Ld,data:{x:Ld.x-nd,y:Ld.y-od,enabled:{[Nd]:ud,[Ad]:dd}}}}}},limitShift$1=function(Ra){return Ra===void 0&&(Ra={}),{options:Ra,fn(qa){const{x:nd,y:od,placement:ld,rects:ud,middlewareData:dd}=qa,{offset:pd=0,mainAxis:fd=!0,crossAxis:md=!0}=evaluate$1(Ra,qa),vd={x:nd,y:od},Ad=getSideAxis(ld),Nd=getOppositeAxis(Ad);let Od=vd[Nd],kd=vd[Ad];const Ld=evaluate$1(pd,qa),Gd=typeof Ld=="number"?{mainAxis:Ld,crossAxis:0}:{mainAxis:0,crossAxis:0,...Ld};if(fd){const Ud=Nd==="y"?"height":"width",qd=ud.reference[Nd]-ud.floating[Ud]+Gd.mainAxis,zd=ud.reference[Nd]+ud.reference[Ud]-Gd.mainAxis;Od<qd?Od=qd:Od>zd&&(Od=zd)}if(md){var jd,Fd;const Ud=Nd==="y"?"width":"height",qd=["top","left"].includes(getSide(ld)),zd=ud.reference[Ad]-ud.floating[Ud]+(qd&&((jd=dd.offset)==null?void 0:jd[Ad])||0)+(qd?0:Gd.crossAxis),Wd=ud.reference[Ad]+ud.reference[Ud]+(qd?0:((Fd=dd.offset)==null?void 0:Fd[Ad])||0)-(qd?Gd.crossAxis:0);kd<zd?kd=zd:kd>Wd&&(kd=Wd)}return{[Nd]:Od,[Ad]:kd}}}},size$1=function(Ra){return Ra===void 0&&(Ra={}),{name:"size",options:Ra,async fn(qa){var nd,od;const{placement:ld,rects:ud,platform:dd,elements:pd}=qa,{apply:fd=()=>{},...md}=evaluate$1(Ra,qa),vd=await detectOverflow(qa,md),Ad=getSide(ld),Nd=getAlignment(ld),Od=getSideAxis(ld)==="y",{width:kd,height:Ld}=ud.floating;let Gd,jd;Ad==="top"||Ad==="bottom"?(Gd=Ad,jd=Nd===(await(dd.isRTL==null?void 0:dd.isRTL(pd.floating))?"start":"end")?"left":"right"):(jd=Ad,Gd=Nd==="end"?"top":"bottom");const Fd=Ld-vd.top-vd.bottom,Ud=kd-vd.left-vd.right,qd=min$1(Ld-vd[Gd],Fd),zd=min$1(kd-vd[jd],Ud),Wd=!qa.middlewareData.shift;let Jd=qd,_f=zd;if((nd=qa.middlewareData.shift)!=null&&nd.enabled.x&&(_f=Ud),(od=qa.middlewareData.shift)!=null&&od.enabled.y&&(Jd=Fd),Wd&&!Nd){const pf=max$2(vd.left,0),mf=max$2(vd.right,0),Sf=max$2(vd.top,0),Tf=max$2(vd.bottom,0);Od?_f=kd-2*(pf!==0||mf!==0?pf+mf:max$2(vd.left,vd.right)):Jd=Ld-2*(Sf!==0||Tf!==0?Sf+Tf:max$2(vd.top,vd.bottom))}await fd({...qa,availableWidth:_f,availableHeight:Jd});const Xd=await dd.getDimensions(pd.floating);return kd!==Xd.width||Ld!==Xd.height?{reset:{rects:!0}}:{}}}};function hasWindow(){return typeof window<"u"}function getNodeName(Ra){return isNode$2(Ra)?(Ra.nodeName||"").toLowerCase():"#document"}function getWindow(Ra){var qa;return(Ra==null||(qa=Ra.ownerDocument)==null?void 0:qa.defaultView)||window}function getDocumentElement(Ra){var qa;return(qa=(isNode$2(Ra)?Ra.ownerDocument:Ra.document)||window.document)==null?void 0:qa.documentElement}function isNode$2(Ra){return hasWindow()?Ra instanceof Node||Ra instanceof getWindow(Ra).Node:!1}function isElement$2(Ra){return hasWindow()?Ra instanceof Element||Ra instanceof getWindow(Ra).Element:!1}function isHTMLElement(Ra){return hasWindow()?Ra instanceof HTMLElement||Ra instanceof getWindow(Ra).HTMLElement:!1}function isShadowRoot(Ra){return!hasWindow()||typeof ShadowRoot>"u"?!1:Ra instanceof ShadowRoot||Ra instanceof getWindow(Ra).ShadowRoot}function isOverflowElement(Ra){const{overflow:qa,overflowX:nd,overflowY:od,display:ld}=getComputedStyle$1(Ra);return/auto|scroll|overlay|hidden|clip/.test(qa+od+nd)&&!["inline","contents"].includes(ld)}function isTableElement(Ra){return["table","td","th"].includes(getNodeName(Ra))}function isTopLayer(Ra){return[":popover-open",":modal"].some(qa=>{try{return Ra.matches(qa)}catch{return!1}})}function isContainingBlock(Ra){const qa=isWebKit(),nd=isElement$2(Ra)?getComputedStyle$1(Ra):Ra;return nd.transform!=="none"||nd.perspective!=="none"||(nd.containerType?nd.containerType!=="normal":!1)||!qa&&(nd.backdropFilter?nd.backdropFilter!=="none":!1)||!qa&&(nd.filter?nd.filter!=="none":!1)||["transform","perspective","filter"].some(od=>(nd.willChange||"").includes(od))||["paint","layout","strict","content"].some(od=>(nd.contain||"").includes(od))}function getContainingBlock(Ra){let qa=getParentNode(Ra);for(;isHTMLElement(qa)&&!isLastTraversableNode(qa);){if(isContainingBlock(qa))return qa;if(isTopLayer(qa))return null;qa=getParentNode(qa)}return null}function isWebKit(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function isLastTraversableNode(Ra){return["html","body","#document"].includes(getNodeName(Ra))}function getComputedStyle$1(Ra){return getWindow(Ra).getComputedStyle(Ra)}function getNodeScroll(Ra){return isElement$2(Ra)?{scrollLeft:Ra.scrollLeft,scrollTop:Ra.scrollTop}:{scrollLeft:Ra.scrollX,scrollTop:Ra.scrollY}}function getParentNode(Ra){if(getNodeName(Ra)==="html")return Ra;const qa=Ra.assignedSlot||Ra.parentNode||isShadowRoot(Ra)&&Ra.host||getDocumentElement(Ra);return isShadowRoot(qa)?qa.host:qa}function getNearestOverflowAncestor(Ra){const qa=getParentNode(Ra);return isLastTraversableNode(qa)?Ra.ownerDocument?Ra.ownerDocument.body:Ra.body:isHTMLElement(qa)&&isOverflowElement(qa)?qa:getNearestOverflowAncestor(qa)}function getOverflowAncestors(Ra,qa,nd){var od;qa===void 0&&(qa=[]),nd===void 0&&(nd=!0);const ld=getNearestOverflowAncestor(Ra),ud=ld===((od=Ra.ownerDocument)==null?void 0:od.body),dd=getWindow(ld);if(ud){const pd=getFrameElement(dd);return qa.concat(dd,dd.visualViewport||[],isOverflowElement(ld)?ld:[],pd&&nd?getOverflowAncestors(pd):[])}return qa.concat(ld,getOverflowAncestors(ld,[],nd))}function getFrameElement(Ra){return Ra.parent&&Object.getPrototypeOf(Ra.parent)?Ra.frameElement:null}function getCssDimensions(Ra){const qa=getComputedStyle$1(Ra);let nd=parseFloat(qa.width)||0,od=parseFloat(qa.height)||0;const ld=isHTMLElement(Ra),ud=ld?Ra.offsetWidth:nd,dd=ld?Ra.offsetHeight:od,pd=round(nd)!==ud||round(od)!==dd;return pd&&(nd=ud,od=dd),{width:nd,height:od,$:pd}}function unwrapElement$1(Ra){return isElement$2(Ra)?Ra:Ra.contextElement}function getScale(Ra){const qa=unwrapElement$1(Ra);if(!isHTMLElement(qa))return createCoords(1);const nd=qa.getBoundingClientRect(),{width:od,height:ld,$:ud}=getCssDimensions(qa);let dd=(ud?round(nd.width):nd.width)/od,pd=(ud?round(nd.height):nd.height)/ld;return(!dd||!Number.isFinite(dd))&&(dd=1),(!pd||!Number.isFinite(pd))&&(pd=1),{x:dd,y:pd}}const noOffsets=createCoords(0);function getVisualOffsets(Ra){const qa=getWindow(Ra);return!isWebKit()||!qa.visualViewport?noOffsets:{x:qa.visualViewport.offsetLeft,y:qa.visualViewport.offsetTop}}function shouldAddVisualOffsets(Ra,qa,nd){return qa===void 0&&(qa=!1),!nd||qa&&nd!==getWindow(Ra)?!1:qa}function getBoundingClientRect(Ra,qa,nd,od){qa===void 0&&(qa=!1),nd===void 0&&(nd=!1);const ld=Ra.getBoundingClientRect(),ud=unwrapElement$1(Ra);let dd=createCoords(1);qa&&(od?isElement$2(od)&&(dd=getScale(od)):dd=getScale(Ra));const pd=shouldAddVisualOffsets(ud,nd,od)?getVisualOffsets(ud):createCoords(0);let fd=(ld.left+pd.x)/dd.x,md=(ld.top+pd.y)/dd.y,vd=ld.width/dd.x,Ad=ld.height/dd.y;if(ud){const Nd=getWindow(ud),Od=od&&isElement$2(od)?getWindow(od):od;let kd=Nd,Ld=getFrameElement(kd);for(;Ld&&od&&Od!==kd;){const Gd=getScale(Ld),jd=Ld.getBoundingClientRect(),Fd=getComputedStyle$1(Ld),Ud=jd.left+(Ld.clientLeft+parseFloat(Fd.paddingLeft))*Gd.x,qd=jd.top+(Ld.clientTop+parseFloat(Fd.paddingTop))*Gd.y;fd*=Gd.x,md*=Gd.y,vd*=Gd.x,Ad*=Gd.y,fd+=Ud,md+=qd,kd=getWindow(Ld),Ld=getFrameElement(kd)}}return rectToClientRect({width:vd,height:Ad,x:fd,y:md})}function getWindowScrollBarX(Ra,qa){const nd=getNodeScroll(Ra).scrollLeft;return qa?qa.left+nd:getBoundingClientRect(getDocumentElement(Ra)).left+nd}function getHTMLOffset(Ra,qa,nd){nd===void 0&&(nd=!1);const od=Ra.getBoundingClientRect(),ld=od.left+qa.scrollLeft-(nd?0:getWindowScrollBarX(Ra,od)),ud=od.top+qa.scrollTop;return{x:ld,y:ud}}function convertOffsetParentRelativeRectToViewportRelativeRect(Ra){let{elements:qa,rect:nd,offsetParent:od,strategy:ld}=Ra;const ud=ld==="fixed",dd=getDocumentElement(od),pd=qa?isTopLayer(qa.floating):!1;if(od===dd||pd&&ud)return nd;let fd={scrollLeft:0,scrollTop:0},md=createCoords(1);const vd=createCoords(0),Ad=isHTMLElement(od);if((Ad||!Ad&&!ud)&&((getNodeName(od)!=="body"||isOverflowElement(dd))&&(fd=getNodeScroll(od)),isHTMLElement(od))){const Od=getBoundingClientRect(od);md=getScale(od),vd.x=Od.x+od.clientLeft,vd.y=Od.y+od.clientTop}const Nd=dd&&!Ad&&!ud?getHTMLOffset(dd,fd,!0):createCoords(0);return{width:nd.width*md.x,height:nd.height*md.y,x:nd.x*md.x-fd.scrollLeft*md.x+vd.x+Nd.x,y:nd.y*md.y-fd.scrollTop*md.y+vd.y+Nd.y}}function getClientRects(Ra){return Array.from(Ra.getClientRects())}function getDocumentRect(Ra){const qa=getDocumentElement(Ra),nd=getNodeScroll(Ra),od=Ra.ownerDocument.body,ld=max$2(qa.scrollWidth,qa.clientWidth,od.scrollWidth,od.clientWidth),ud=max$2(qa.scrollHeight,qa.clientHeight,od.scrollHeight,od.clientHeight);let dd=-nd.scrollLeft+getWindowScrollBarX(Ra);const pd=-nd.scrollTop;return getComputedStyle$1(od).direction==="rtl"&&(dd+=max$2(qa.clientWidth,od.clientWidth)-ld),{width:ld,height:ud,x:dd,y:pd}}function getViewportRect(Ra,qa){const nd=getWindow(Ra),od=getDocumentElement(Ra),ld=nd.visualViewport;let ud=od.clientWidth,dd=od.clientHeight,pd=0,fd=0;if(ld){ud=ld.width,dd=ld.height;const md=isWebKit();(!md||md&&qa==="fixed")&&(pd=ld.offsetLeft,fd=ld.offsetTop)}return{width:ud,height:dd,x:pd,y:fd}}function getInnerBoundingClientRect(Ra,qa){const nd=getBoundingClientRect(Ra,!0,qa==="fixed"),od=nd.top+Ra.clientTop,ld=nd.left+Ra.clientLeft,ud=isHTMLElement(Ra)?getScale(Ra):createCoords(1),dd=Ra.clientWidth*ud.x,pd=Ra.clientHeight*ud.y,fd=ld*ud.x,md=od*ud.y;return{width:dd,height:pd,x:fd,y:md}}function getClientRectFromClippingAncestor(Ra,qa,nd){let od;if(qa==="viewport")od=getViewportRect(Ra,nd);else if(qa==="document")od=getDocumentRect(getDocumentElement(Ra));else if(isElement$2(qa))od=getInnerBoundingClientRect(qa,nd);else{const ld=getVisualOffsets(Ra);od={x:qa.x-ld.x,y:qa.y-ld.y,width:qa.width,height:qa.height}}return rectToClientRect(od)}function hasFixedPositionAncestor(Ra,qa){const nd=getParentNode(Ra);return nd===qa||!isElement$2(nd)||isLastTraversableNode(nd)?!1:getComputedStyle$1(nd).position==="fixed"||hasFixedPositionAncestor(nd,qa)}function getClippingElementAncestors(Ra,qa){const nd=qa.get(Ra);if(nd)return nd;let od=getOverflowAncestors(Ra,[],!1).filter(pd=>isElement$2(pd)&&getNodeName(pd)!=="body"),ld=null;const ud=getComputedStyle$1(Ra).position==="fixed";let dd=ud?getParentNode(Ra):Ra;for(;isElement$2(dd)&&!isLastTraversableNode(dd);){const pd=getComputedStyle$1(dd),fd=isContainingBlock(dd);!fd&&pd.position==="fixed"&&(ld=null),(ud?!fd&&!ld:!fd&&pd.position==="static"&&!!ld&&["absolute","fixed"].includes(ld.position)||isOverflowElement(dd)&&!fd&&hasFixedPositionAncestor(Ra,dd))?od=od.filter(vd=>vd!==dd):ld=pd,dd=getParentNode(dd)}return qa.set(Ra,od),od}function getClippingRect(Ra){let{element:qa,boundary:nd,rootBoundary:od,strategy:ld}=Ra;const dd=[...nd==="clippingAncestors"?isTopLayer(qa)?[]:getClippingElementAncestors(qa,this._c):[].concat(nd),od],pd=dd[0],fd=dd.reduce((md,vd)=>{const Ad=getClientRectFromClippingAncestor(qa,vd,ld);return md.top=max$2(Ad.top,md.top),md.right=min$1(Ad.right,md.right),md.bottom=min$1(Ad.bottom,md.bottom),md.left=max$2(Ad.left,md.left),md},getClientRectFromClippingAncestor(qa,pd,ld));return{width:fd.right-fd.left,height:fd.bottom-fd.top,x:fd.left,y:fd.top}}function getDimensions(Ra){const{width:qa,height:nd}=getCssDimensions(Ra);return{width:qa,height:nd}}function getRectRelativeToOffsetParent(Ra,qa,nd){const od=isHTMLElement(qa),ld=getDocumentElement(qa),ud=nd==="fixed",dd=getBoundingClientRect(Ra,!0,ud,qa);let pd={scrollLeft:0,scrollTop:0};const fd=createCoords(0);if(od||!od&&!ud)if((getNodeName(qa)!=="body"||isOverflowElement(ld))&&(pd=getNodeScroll(qa)),od){const Nd=getBoundingClientRect(qa,!0,ud,qa);fd.x=Nd.x+qa.clientLeft,fd.y=Nd.y+qa.clientTop}else ld&&(fd.x=getWindowScrollBarX(ld));const md=ld&&!od&&!ud?getHTMLOffset(ld,pd):createCoords(0),vd=dd.left+pd.scrollLeft-fd.x-md.x,Ad=dd.top+pd.scrollTop-fd.y-md.y;return{x:vd,y:Ad,width:dd.width,height:dd.height}}function isStaticPositioned(Ra){return getComputedStyle$1(Ra).position==="static"}function getTrueOffsetParent(Ra,qa){if(!isHTMLElement(Ra)||getComputedStyle$1(Ra).position==="fixed")return null;if(qa)return qa(Ra);let nd=Ra.offsetParent;return getDocumentElement(Ra)===nd&&(nd=nd.ownerDocument.body),nd}function getOffsetParent(Ra,qa){const nd=getWindow(Ra);if(isTopLayer(Ra))return nd;if(!isHTMLElement(Ra)){let ld=getParentNode(Ra);for(;ld&&!isLastTraversableNode(ld);){if(isElement$2(ld)&&!isStaticPositioned(ld))return ld;ld=getParentNode(ld)}return nd}let od=getTrueOffsetParent(Ra,qa);for(;od&&isTableElement(od)&&isStaticPositioned(od);)od=getTrueOffsetParent(od,qa);return od&&isLastTraversableNode(od)&&isStaticPositioned(od)&&!isContainingBlock(od)?nd:od||getContainingBlock(Ra)||nd}const getElementRects=async function(Ra){const qa=this.getOffsetParent||getOffsetParent,nd=this.getDimensions,od=await nd(Ra.floating);return{reference:getRectRelativeToOffsetParent(Ra.reference,await qa(Ra.floating),Ra.strategy),floating:{x:0,y:0,width:od.width,height:od.height}}};function isRTL(Ra){return getComputedStyle$1(Ra).direction==="rtl"}const platform$3={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement:isElement$2,isRTL};function observeMove(Ra,qa){let nd=null,od;const ld=getDocumentElement(Ra);function ud(){var pd;clearTimeout(od),(pd=nd)==null||pd.disconnect(),nd=null}function dd(pd,fd){pd===void 0&&(pd=!1),fd===void 0&&(fd=1),ud();const{left:md,top:vd,width:Ad,height:Nd}=Ra.getBoundingClientRect();if(pd||qa(),!Ad||!Nd)return;const Od=floor(vd),kd=floor(ld.clientWidth-(md+Ad)),Ld=floor(ld.clientHeight-(vd+Nd)),Gd=floor(md),Fd={rootMargin:-Od+"px "+-kd+"px "+-Ld+"px "+-Gd+"px",threshold:max$2(0,min$1(1,fd))||1};let Ud=!0;function qd(zd){const Wd=zd[0].intersectionRatio;if(Wd!==fd){if(!Ud)return dd();Wd?dd(!1,Wd):od=setTimeout(()=>{dd(!1,1e-7)},1e3)}Ud=!1}try{nd=new IntersectionObserver(qd,{...Fd,root:ld.ownerDocument})}catch{nd=new IntersectionObserver(qd,Fd)}nd.observe(Ra)}return dd(!0),ud}function autoUpdate(Ra,qa,nd,od){od===void 0&&(od={});const{ancestorScroll:ld=!0,ancestorResize:ud=!0,elementResize:dd=typeof ResizeObserver=="function",layoutShift:pd=typeof IntersectionObserver=="function",animationFrame:fd=!1}=od,md=unwrapElement$1(Ra),vd=ld||ud?[...md?getOverflowAncestors(md):[],...getOverflowAncestors(qa)]:[];vd.forEach(jd=>{ld&&jd.addEventListener("scroll",nd,{passive:!0}),ud&&jd.addEventListener("resize",nd)});const Ad=md&&pd?observeMove(md,nd):null;let Nd=-1,Od=null;dd&&(Od=new ResizeObserver(jd=>{let[Fd]=jd;Fd&&Fd.target===md&&Od&&(Od.unobserve(qa),cancelAnimationFrame(Nd),Nd=requestAnimationFrame(()=>{var Ud;(Ud=Od)==null||Ud.observe(qa)})),nd()}),md&&!fd&&Od.observe(md),Od.observe(qa));let kd,Ld=fd?getBoundingClientRect(Ra):null;fd&&Gd();function Gd(){const jd=getBoundingClientRect(Ra);Ld&&(jd.x!==Ld.x||jd.y!==Ld.y||jd.width!==Ld.width||jd.height!==Ld.height)&&nd(),Ld=jd,kd=requestAnimationFrame(Gd)}return nd(),()=>{var jd;vd.forEach(Fd=>{ld&&Fd.removeEventListener("scroll",nd),ud&&Fd.removeEventListener("resize",nd)}),Ad==null||Ad(),(jd=Od)==null||jd.disconnect(),Od=null,fd&&cancelAnimationFrame(kd)}}const offset=offset$1,shift=shift$1,flip=flip$1,size=size$1,hide=hide$1,arrow$1=arrow$2,limitShift=limitShift$1,computePosition=(Ra,qa,nd)=>{const od=new Map,ld={platform:platform$3,...nd},ud={...ld.platform,_c:od};return computePosition$1(Ra,qa,{...ld,platform:ud})};function isComponentPublicInstance(Ra){return Ra!=null&&typeof Ra=="object"&&"$el"in Ra}function unwrapElement(Ra){if(isComponentPublicInstance(Ra)){const qa=Ra.$el;return isNode$2(qa)&&getNodeName(qa)==="#comment"?null:qa}return Ra}function toValue$2(Ra){return typeof Ra=="function"?Ra():unref(Ra)}function arrow(Ra){return{name:"arrow",options:Ra,fn(qa){const nd=unwrapElement(toValue$2(Ra.element));return nd==null?{}:arrow$1({element:nd,padding:Ra.padding}).fn(qa)}}}function getDPR(Ra){return typeof window>"u"?1:(Ra.ownerDocument.defaultView||window).devicePixelRatio||1}function roundByDPR(Ra,qa){const nd=getDPR(Ra);return Math.round(qa*nd)/nd}function useFloating(Ra,qa,nd){nd===void 0&&(nd={});const od=nd.whileElementsMounted,ld=computed(()=>{var Jd;return(Jd=toValue$2(nd.open))!=null?Jd:!0}),ud=computed(()=>toValue$2(nd.middleware)),dd=computed(()=>{var Jd;return(Jd=toValue$2(nd.placement))!=null?Jd:"bottom"}),pd=computed(()=>{var Jd;return(Jd=toValue$2(nd.strategy))!=null?Jd:"absolute"}),fd=computed(()=>{var Jd;return(Jd=toValue$2(nd.transform))!=null?Jd:!0}),md=computed(()=>unwrapElement(Ra.value)),vd=computed(()=>unwrapElement(qa.value)),Ad=ref$1(0),Nd=ref$1(0),Od=ref$1(pd.value),kd=ref$1(dd.value),Ld=shallowRef({}),Gd=ref$1(!1),jd=computed(()=>{const Jd={position:Od.value,left:"0",top:"0"};if(!vd.value)return Jd;const _f=roundByDPR(vd.value,Ad.value),Xd=roundByDPR(vd.value,Nd.value);return fd.value?{...Jd,transform:"translate("+_f+"px, "+Xd+"px)",...getDPR(vd.value)>=1.5&&{willChange:"transform"}}:{position:Od.value,left:_f+"px",top:Xd+"px"}});let Fd;function Ud(){if(md.value==null||vd.value==null)return;const Jd=ld.value;computePosition(md.value,vd.value,{middleware:ud.value,placement:dd.value,strategy:pd.value}).then(_f=>{Ad.value=_f.x,Nd.value=_f.y,Od.value=_f.strategy,kd.value=_f.placement,Ld.value=_f.middlewareData,Gd.value=Jd!==!1})}function qd(){typeof Fd=="function"&&(Fd(),Fd=void 0)}function zd(){if(qd(),od===void 0){Ud();return}if(md.value!=null&&vd.value!=null){Fd=od(md.value,vd.value,Ud);return}}function Wd(){ld.value||(Gd.value=!1)}return watch([ud,dd,pd,ld],Ud,{flush:"sync"}),watch([md,vd],zd,{flush:"sync"}),watch(ld,Wd,{flush:"sync"}),getCurrentScope()&&onScopeDispose(qd),{x:shallowReadonly(Ad),y:shallowReadonly(Nd),strategy:shallowReadonly(Od),placement:shallowReadonly(kd),middlewareData:shallowReadonly(Ld),isPositioned:shallowReadonly(Gd),floatingStyles:jd,update:Ud}}let $488c6ddbf4ef74c2$var$formatterCache=new Map,$488c6ddbf4ef74c2$var$supportsSignDisplay=!1;try{$488c6ddbf4ef74c2$var$supportsSignDisplay=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let $488c6ddbf4ef74c2$var$supportsUnit=!1;try{$488c6ddbf4ef74c2$var$supportsUnit=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const $488c6ddbf4ef74c2$var$UNITS={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5{format(qa){let nd="";if(!$488c6ddbf4ef74c2$var$supportsSignDisplay&&this.options.signDisplay!=null?nd=$488c6ddbf4ef74c2$export$711b50b3c525e0f2(this.numberFormatter,this.options.signDisplay,qa):nd=this.numberFormatter.format(qa),this.options.style==="unit"&&!$488c6ddbf4ef74c2$var$supportsUnit){var od;let{unit:ld,unitDisplay:ud="short",locale:dd}=this.resolvedOptions();if(!ld)return nd;let pd=(od=$488c6ddbf4ef74c2$var$UNITS[ld])===null||od===void 0?void 0:od[ud];nd+=pd[dd]||pd.default}return nd}formatToParts(qa){return this.numberFormatter.formatToParts(qa)}formatRange(qa,nd){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(qa,nd);if(nd<qa)throw new RangeError("End date must be >= start date");return`${this.format(qa)} ${this.format(nd)}`}formatRangeToParts(qa,nd){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(qa,nd);if(nd<qa)throw new RangeError("End date must be >= start date");let od=this.numberFormatter.formatToParts(qa),ld=this.numberFormatter.formatToParts(nd);return[...od.map(ud=>({...ud,source:"startRange"})),{type:"literal",value:" ",source:"shared"},...ld.map(ud=>({...ud,source:"endRange"}))]}resolvedOptions(){let qa=this.numberFormatter.resolvedOptions();return!$488c6ddbf4ef74c2$var$supportsSignDisplay&&this.options.signDisplay!=null&&(qa={...qa,signDisplay:this.options.signDisplay}),!$488c6ddbf4ef74c2$var$supportsUnit&&this.options.style==="unit"&&(qa={...qa,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),qa}constructor(qa,nd={}){this.numberFormatter=$488c6ddbf4ef74c2$var$getCachedNumberFormatter(qa,nd),this.options=nd}}function $488c6ddbf4ef74c2$var$getCachedNumberFormatter(Ra,qa={}){let{numberingSystem:nd}=qa;if(nd&&Ra.includes("-nu-")&&(Ra.includes("-u-")||(Ra+="-u-"),Ra+=`-nu-${nd}`),qa.style==="unit"&&!$488c6ddbf4ef74c2$var$supportsUnit){var od;let{unit:dd,unitDisplay:pd="short"}=qa;if(!dd)throw new Error('unit option must be provided with style: "unit"');if(!(!((od=$488c6ddbf4ef74c2$var$UNITS[dd])===null||od===void 0)&&od[pd]))throw new Error(`Unsupported unit ${dd} with unitDisplay = ${pd}`);qa={...qa,style:"decimal"}}let ld=Ra+(qa?Object.entries(qa).sort((dd,pd)=>dd[0]<pd[0]?-1:1).join():"");if($488c6ddbf4ef74c2$var$formatterCache.has(ld))return $488c6ddbf4ef74c2$var$formatterCache.get(ld);let ud=new Intl.NumberFormat(Ra,qa);return $488c6ddbf4ef74c2$var$formatterCache.set(ld,ud),ud}function $488c6ddbf4ef74c2$export$711b50b3c525e0f2(Ra,qa,nd){if(qa==="auto")return Ra.format(nd);if(qa==="never")return Ra.format(Math.abs(nd));{let od=!1;if(qa==="always"?od=nd>0||Object.is(nd,0):qa==="exceptZero"&&(Object.is(nd,-0)||Object.is(nd,0)?nd=Math.abs(nd):od=nd>0),od){let ld=Ra.format(-nd),ud=Ra.format(nd),dd=ld.replace(ud,"").replace(/\u200e|\u061C/,"");return[...dd].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),ld.replace(ud,"!!!").replace(dd,"+").replace("!!!",ud)}else return Ra.format(nd)}}const $6c7bd7858deea686$var$CURRENCY_SIGN_REGEX=new RegExp("^.*\\(.*\\).*$"),$6c7bd7858deea686$var$NUMBERING_SYSTEMS=["latn","arab","hanidec","deva","beng"];class $6c7bd7858deea686$export$cd11ab140839f11d{parse(qa){return $6c7bd7858deea686$var$getNumberParserImpl(this.locale,this.options,qa).parse(qa)}isValidPartialNumber(qa,nd,od){return $6c7bd7858deea686$var$getNumberParserImpl(this.locale,this.options,qa).isValidPartialNumber(qa,nd,od)}getNumberingSystem(qa){return $6c7bd7858deea686$var$getNumberParserImpl(this.locale,this.options,qa).options.numberingSystem}constructor(qa,nd={}){this.locale=qa,this.options=nd}}const $6c7bd7858deea686$var$numberParserCache=new Map;function $6c7bd7858deea686$var$getNumberParserImpl(Ra,qa,nd){let od=$6c7bd7858deea686$var$getCachedNumberParser(Ra,qa);if(!Ra.includes("-nu-")&&!od.isValidPartialNumber(nd)){for(let ld of $6c7bd7858deea686$var$NUMBERING_SYSTEMS)if(ld!==od.options.numberingSystem){let ud=$6c7bd7858deea686$var$getCachedNumberParser(Ra+(Ra.includes("-u-")?"-nu-":"-u-nu-")+ld,qa);if(ud.isValidPartialNumber(nd))return ud}}return od}function $6c7bd7858deea686$var$getCachedNumberParser(Ra,qa){let nd=Ra+(qa?Object.entries(qa).sort((ld,ud)=>ld[0]<ud[0]?-1:1).join():""),od=$6c7bd7858deea686$var$numberParserCache.get(nd);return od||(od=new $6c7bd7858deea686$var$NumberParserImpl(Ra,qa),$6c7bd7858deea686$var$numberParserCache.set(nd,od)),od}class $6c7bd7858deea686$var$NumberParserImpl{parse(qa){let nd=this.sanitize(qa);if(this.symbols.group&&(nd=$6c7bd7858deea686$var$replaceAll(nd,this.symbols.group,"")),this.symbols.decimal&&(nd=nd.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(nd=nd.replace(this.symbols.minusSign,"-")),nd=nd.replace(this.symbols.numeral,this.symbols.index),this.options.style==="percent"){let dd=nd.indexOf("-");nd=nd.replace("-","");let pd=nd.indexOf(".");pd===-1&&(pd=nd.length),nd=nd.replace(".",""),pd-2===0?nd=`0.${nd}`:pd-2===-1?nd=`0.0${nd}`:pd-2===-2?nd="0.00":nd=`${nd.slice(0,pd-2)}.${nd.slice(pd-2)}`,dd>-1&&(nd=`-${nd}`)}let od=nd?+nd:NaN;if(isNaN(od))return NaN;if(this.options.style==="percent"){var ld,ud;let dd={...this.options,style:"decimal",minimumFractionDigits:Math.min(((ld=this.options.minimumFractionDigits)!==null&&ld!==void 0?ld:0)+2,20),maximumFractionDigits:Math.min(((ud=this.options.maximumFractionDigits)!==null&&ud!==void 0?ud:0)+2,20)};return new $6c7bd7858deea686$export$cd11ab140839f11d(this.locale,dd).parse(new $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5(this.locale,dd).format(od))}return this.options.currencySign==="accounting"&&$6c7bd7858deea686$var$CURRENCY_SIGN_REGEX.test(qa)&&(od=-1*od),od}sanitize(qa){return qa=qa.replace(this.symbols.literals,""),this.symbols.minusSign&&(qa=qa.replace("-",this.symbols.minusSign)),this.options.numberingSystem==="arab"&&(this.symbols.decimal&&(qa=qa.replace(",",this.symbols.decimal),qa=qa.replace("،",this.symbols.decimal)),this.symbols.group&&(qa=$6c7bd7858deea686$var$replaceAll(qa,".",this.symbols.group))),this.options.locale==="fr-FR"&&(qa=$6c7bd7858deea686$var$replaceAll(qa,".","")),qa}isValidPartialNumber(qa,nd=-1/0,od=1/0){return qa=this.sanitize(qa),this.symbols.minusSign&&qa.startsWith(this.symbols.minusSign)&&nd<0?qa=qa.slice(this.symbols.minusSign.length):this.symbols.plusSign&&qa.startsWith(this.symbols.plusSign)&&od>0&&(qa=qa.slice(this.symbols.plusSign.length)),this.symbols.group&&qa.startsWith(this.symbols.group)||this.symbols.decimal&&qa.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&(qa=$6c7bd7858deea686$var$replaceAll(qa,this.symbols.group,"")),qa=qa.replace(this.symbols.numeral,""),this.symbols.decimal&&(qa=qa.replace(this.symbols.decimal,"")),qa.length===0)}constructor(qa,nd={}){this.locale=qa,this.formatter=new Intl.NumberFormat(qa,nd),this.options=this.formatter.resolvedOptions(),this.symbols=$6c7bd7858deea686$var$getSymbols(qa,this.formatter,this.options,nd);var od,ld;this.options.style==="percent"&&(((od=this.options.minimumFractionDigits)!==null&&od!==void 0?od:0)>18||((ld=this.options.maximumFractionDigits)!==null&&ld!==void 0?ld:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}const $6c7bd7858deea686$var$nonLiteralParts=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),$6c7bd7858deea686$var$pluralNumbers=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function $6c7bd7858deea686$var$getSymbols(Ra,qa,nd,od){var ld,ud,dd,pd;let fd=new Intl.NumberFormat(Ra,{...nd,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:"auto",roundingMode:"halfExpand"}),md=fd.formatToParts(-10000.111),vd=fd.formatToParts(10000.111),Ad=$6c7bd7858deea686$var$pluralNumbers.map(pf=>fd.formatToParts(pf));var Nd;let Od=(Nd=(ld=md.find(pf=>pf.type==="minusSign"))===null||ld===void 0?void 0:ld.value)!==null&&Nd!==void 0?Nd:"-",kd=(ud=vd.find(pf=>pf.type==="plusSign"))===null||ud===void 0?void 0:ud.value;!kd&&((od==null?void 0:od.signDisplay)==="exceptZero"||(od==null?void 0:od.signDisplay)==="always")&&(kd="+");let Gd=(dd=new Intl.NumberFormat(Ra,{...nd,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(pf=>pf.type==="decimal"))===null||dd===void 0?void 0:dd.value,jd=(pd=md.find(pf=>pf.type==="group"))===null||pd===void 0?void 0:pd.value,Fd=md.filter(pf=>!$6c7bd7858deea686$var$nonLiteralParts.has(pf.type)).map(pf=>$6c7bd7858deea686$var$escapeRegex(pf.value)),Ud=Ad.flatMap(pf=>pf.filter(mf=>!$6c7bd7858deea686$var$nonLiteralParts.has(mf.type)).map(mf=>$6c7bd7858deea686$var$escapeRegex(mf.value))),qd=[...new Set([...Fd,...Ud])].sort((pf,mf)=>mf.length-pf.length),zd=qd.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${qd.join("|")}|[\\p{White_Space}]`,"gu"),Wd=[...new Intl.NumberFormat(nd.locale,{useGrouping:!1}).format(9876543210)].reverse(),Jd=new Map(Wd.map((pf,mf)=>[pf,mf])),_f=new RegExp(`[${Wd.join("")}]`,"g");return{minusSign:Od,plusSign:kd,decimal:Gd,group:jd,literals:zd,numeral:_f,index:pf=>String(Jd.get(pf))}}function $6c7bd7858deea686$var$replaceAll(Ra,qa,nd){return Ra.replaceAll?Ra.replaceAll(qa,nd):Ra.split(qa).join(nd)}function $6c7bd7858deea686$var$escapeRegex(Ra){return Ra.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Q$7(Ra,qa){const nd=typeof Ra=="string"&&!qa?`${Ra}Context`:qa,od=Symbol(nd);return[ld=>{const ud=inject(od,ld);if(ud||ud===null)return ud;throw new Error(`Injection \`${od.toString()}\` not found. Component must be used within ${Array.isArray(Ra)?`one of the following components: ${Ra.join(", ")}`:`\`${Ra}\``}`)},ld=>(provide(od,ld),ld)]}function Ht$4(Ra,qa,nd){const od=nd.originalEvent.target,ld=new CustomEvent(Ra,{bubbles:!1,cancelable:!0,detail:nd});qa&&od.addEventListener(Ra,qa,{once:!0}),od.dispatchEvent(ld)}function Wt$4(Ra,qa=Number.NEGATIVE_INFINITY,nd=Number.POSITIVE_INFINITY){return Math.min(Math.max(Ra,qa),nd)}function Ea$1(Ra,qa){let nd=Ra;const od=qa.toString(),ld=od.indexOf("."),ud=ld>=0?od.length-ld:0;if(ud>0){const dd=10**ud;nd=Math.round(nd*dd)/dd}return nd}function Nr$4(Ra,qa,nd,od){qa=Number(qa),nd=Number(nd);const ld=(Ra-(Number.isNaN(qa)?0:qa))%od;let ud=Ea$1(Math.abs(ld)*2>=od?Ra+Math.sign(ld)*(od-Math.abs(ld)):Ra-ld,od);return Number.isNaN(qa)?!Number.isNaN(nd)&&ud>nd&&(ud=Math.floor(Ea$1(nd/od,od))*od):ud<qa?ud=qa:!Number.isNaN(nd)&&ud>nd&&(ud=qa+Math.floor(Ea$1((nd-qa)/od,od))*od),ud=Ea$1(ud,od),ud}function Kt$2(Ra){return Ra==null}function Jr$4(Ra,qa){var nd;const od=shallowRef();return watchEffect(()=>{od.value=Ra()},{...qa,flush:(nd=void 0)!=null?nd:"sync"}),readonly(od)}function ht$4(Ra){return getCurrentScope()?(onScopeDispose(Ra),!0):!1}function ia$1(){const Ra=new Set,qa=nd=>{Ra.delete(nd)};return{on:nd=>{Ra.add(nd);const od=()=>qa(nd);return ht$4(od),{off:od}},off:qa,trigger:(...nd)=>Promise.all(Array.from(Ra).map(od=>od(...nd)))}}function ei$4(Ra){let qa=!1,nd;const od=effectScope(!0);return(...ld)=>(qa||(nd=od.run(()=>Ra(...ld)),qa=!0),nd)}function xl$3(Ra){let qa=0,nd,od;const ld=()=>{qa-=1,od&&qa<=0&&(od.stop(),nd=void 0,od=void 0)};return(...ud)=>(qa+=1,nd||(od=effectScope(!0),nd=od.run(()=>Ra(...ud))),ht$4(ld),nd)}function Ke$4(Ra){return typeof Ra=="function"?Ra():unref(Ra)}function ti$4(Ra){if(!isRef(Ra))return reactive(Ra);const qa=new Proxy({},{get(nd,od,ld){return unref(Reflect.get(Ra.value,od,ld))},set(nd,od,ld){return isRef(Ra.value[od])&&!isRef(ld)?Ra.value[od].value=ld:Ra.value[od]=ld,!0},deleteProperty(nd,od){return Reflect.deleteProperty(Ra.value,od)},has(nd,od){return Reflect.has(Ra.value,od)},ownKeys(){return Object.keys(Ra.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return reactive(qa)}function Sl$3(Ra){return ti$4(computed(Ra))}const qe$3=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ai$5=Ra=>typeof Ra<"u",oi$4=Object.prototype.toString,li$4=Ra=>oi$4.call(Ra)==="[object Object]",Va$1=()=>{},zo$1=si$4();function si$4(){var Ra,qa;return qe$3&&((Ra=window==null?void 0:window.navigator)==null?void 0:Ra.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((qa=window==null?void 0:window.navigator)==null?void 0:qa.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function El$3(Ra,qa){function nd(...od){return new Promise((ld,ud)=>{Promise.resolve(Ra(()=>qa.apply(this,od),{fn:qa,thisArg:this,args:od})).then(ld).catch(ud)})}return nd}const Pl$3=Ra=>Ra();function ii$5(Ra=Pl$3){const qa=ref$1(!0);function nd(){qa.value=!1}function od(){qa.value=!0}const ld=(...ud)=>{qa.value&&Ra(...ud)};return{isActive:readonly(qa),pause:nd,resume:od,eventFilter:ld}}function Dl$3(Ra){return getCurrentInstance()}function $t$4(Ra,qa=1e4){return customRef((nd,od)=>{let ld=Ke$4(Ra),ud;const dd=()=>setTimeout(()=>{ld=Ke$4(Ra),od()},Ke$4(qa));return ht$4(()=>{clearTimeout(ud)}),{get(){return nd(),ld},set(pd){ld=pd,od(),clearTimeout(ud),ud=dd()}}})}function ui$4(Ra,qa,nd={}){const{eventFilter:od=Pl$3,...ld}=nd;return watch(Ra,El$3(od,qa),ld)}function Ko$2(Ra,qa,nd={}){const{eventFilter:od,...ld}=nd,{eventFilter:ud,pause:dd,resume:pd,isActive:fd}=ii$5(od);return{stop:ui$4(Ra,qa,{...ld,eventFilter:ud}),pause:dd,resume:pd,isActive:fd}}function di$4(Ra,qa,...[nd]){const{flush:od="sync",deep:ld=!1,immediate:ud=!0,direction:dd="both",transform:pd={}}=nd||{},fd=[],md="ltr"in pd&&pd.ltr||(Ad=>Ad),vd="rtl"in pd&&pd.rtl||(Ad=>Ad);return(dd==="both"||dd==="ltr")&&fd.push(Ko$2(Ra,Ad=>{fd.forEach(Nd=>Nd.pause()),qa.value=md(Ad),fd.forEach(Nd=>Nd.resume())},{flush:od,deep:ld,immediate:ud})),(dd==="both"||dd==="rtl")&&fd.push(Ko$2(qa,Ad=>{fd.forEach(Nd=>Nd.pause()),Ra.value=vd(Ad),fd.forEach(Nd=>Nd.resume())},{flush:od,deep:ld,immediate:ud})),()=>{fd.forEach(Ad=>Ad.stop())}}function ci$5(Ra,qa){Dl$3()&&onBeforeUnmount(Ra,qa)}function Wn$3(Ra,qa,nd={}){const{immediate:od=!0}=nd,ld=ref$1(!1);let ud=null;function dd(){ud&&(clearTimeout(ud),ud=null)}function pd(){ld.value=!1,dd()}function fd(...md){dd(),ld.value=!0,ud=setTimeout(()=>{ld.value=!1,ud=null,Ra(...md)},Ke$4(qa))}return od&&(ld.value=!0,qe$3&&fd()),ht$4(pd),{isPending:readonly(ld),start:fd,stop:pd}}function $e$4(Ra){var qa;const nd=Ke$4(Ra);return(qa=nd==null?void 0:nd.$el)!=null?qa:nd}const qt$5=qe$3?window:void 0;function Le$6(...Ra){let qa,nd,od,ld;if(typeof Ra[0]=="string"||Array.isArray(Ra[0])?([nd,od,ld]=Ra,qa=qt$5):[qa,nd,od,ld]=Ra,!qa)return Va$1;Array.isArray(nd)||(nd=[nd]),Array.isArray(od)||(od=[od]);const ud=[],dd=()=>{ud.forEach(vd=>vd()),ud.length=0},pd=(vd,Ad,Nd,Od)=>(vd.addEventListener(Ad,Nd,Od),()=>vd.removeEventListener(Ad,Nd,Od)),fd=watch(()=>[$e$4(qa),Ke$4(ld)],([vd,Ad])=>{if(dd(),!vd)return;const Nd=li$4(Ad)?{...Ad}:Ad;ud.push(...nd.flatMap(Od=>od.map(kd=>pd(vd,Od,kd,Nd))))},{immediate:!0,flush:"post"}),md=()=>{fd(),dd()};return ht$4(md),md}function mi$2(Ra){return typeof Ra=="function"?Ra:typeof Ra=="string"?qa=>qa.key===Ra:Array.isArray(Ra)?qa=>Ra.includes(qa.key):()=>!0}function jn$3(...Ra){let qa,nd,od={};Ra.length===3?(qa=Ra[0],nd=Ra[1],od=Ra[2]):Ra.length===2?typeof Ra[1]=="object"?(qa=!0,nd=Ra[0],od=Ra[1]):(qa=Ra[0],nd=Ra[1]):(qa=!0,nd=Ra[0]);const{target:ld=qt$5,eventName:ud="keydown",passive:dd=!1,dedupe:pd=!1}=od,fd=mi$2(qa);return Le$6(ld,ud,md=>{md.repeat&&Ke$4(pd)||fd(md)&&nd(md)},dd)}function ja$1(){const Ra=ref$1(!1),qa=getCurrentInstance();return qa&&onMounted(()=>{Ra.value=!0},qa),Ra}function yi$3(Ra){return JSON.parse(JSON.stringify(Ra))}function ne$6(Ra,qa,nd,od={}){var ld,ud,dd;const{clone:pd=!1,passive:fd=!1,eventName:md,deep:vd=!1,defaultValue:Ad,shouldEmit:Nd}=od,Od=getCurrentInstance(),kd=nd||(Od==null?void 0:Od.emit)||((ld=Od==null?void 0:Od.$emit)==null?void 0:ld.bind(Od))||((dd=(ud=Od==null?void 0:Od.proxy)==null?void 0:ud.$emit)==null?void 0:dd.bind(Od==null?void 0:Od.proxy));let Ld=md;qa||(qa="modelValue"),Ld=Ld||`update:${qa.toString()}`;const Gd=Ud=>pd?typeof pd=="function"?pd(Ud):yi$3(Ud):Ud,jd=()=>ai$5(Ra[qa])?Gd(Ra[qa]):Ad,Fd=Ud=>{Nd?Nd(Ud)&&kd(Ld,Ud):kd(Ld,Ud)};if(fd){const Ud=jd(),qd=ref$1(Ud);let zd=!1;return watch(()=>Ra[qa],Wd=>{zd||(zd=!0,qd.value=Gd(Wd),nextTick$1(()=>zd=!1))}),watch(qd,Wd=>{!zd&&(Wd!==Ra[qa]||vd)&&Fd(Wd)},{deep:vd}),qd}else return computed({get(){return jd()},set(Ud){Fd(Ud)}})}function Ua$3(Ra){return Ra?Ra.flatMap(qa=>qa.type===Fragment?Ua$3(qa.children):[qa]):[]}const Ci$2=["INPUT","TEXTAREA"];function Bt$5(Ra,qa,nd,od={}){if(!qa||od.enableIgnoredElement&&Ci$2.includes(qa.nodeName))return null;const{arrowKeyOptions:ld="both",attributeName:ud="[data-radix-vue-collection-item]",itemsArray:dd=[],loop:pd=!0,dir:fd="ltr",preventScroll:md=!0,focus:vd=!1}=od,[Ad,Nd,Od,kd,Ld,Gd]=[Ra.key==="ArrowRight",Ra.key==="ArrowLeft",Ra.key==="ArrowUp",Ra.key==="ArrowDown",Ra.key==="Home",Ra.key==="End"],jd=Od||kd,Fd=Ad||Nd;if(!Ld&&!Gd&&(!jd&&!Fd||ld==="vertical"&&Fd||ld==="horizontal"&&jd))return null;const Ud=nd?Array.from(nd.querySelectorAll(ud)):dd;if(!Ud.length)return null;md&&Ra.preventDefault();let qd=null;return Fd||jd?qd=Rl$3(Ud,qa,{goForward:jd?kd:fd==="ltr"?Ad:Nd,loop:pd}):Ld?qd=Ud.at(0)||null:Gd&&(qd=Ud.at(-1)||null),vd&&(qd==null||qd.focus()),qd}function Rl$3(Ra,qa,nd,od=Ra.length){if(--od===0)return null;const ld=Ra.indexOf(qa),ud=nd.goForward?ld+1:ld-1;if(!nd.loop&&(ud<0||ud>=Ra.length))return null;const dd=(ud+Ra.length)%Ra.length,pd=Ra[dd];return pd?pd.hasAttribute("disabled")&&pd.getAttribute("disabled")!=="false"?Rl$3(Ra,pd,nd,od):pd:null}function gn$4(Ra){if(Ra===null||typeof Ra!="object")return!1;const qa=Object.getPrototypeOf(Ra);return qa!==null&&qa!==Object.prototype&&Object.getPrototypeOf(qa)!==null||Symbol.iterator in Ra?!1:Symbol.toStringTag in Ra?Object.prototype.toString.call(Ra)==="[object Module]":!0}function Pn$4(Ra,qa,nd=".",od){if(!gn$4(qa))return Pn$4(Ra,{},nd);const ld=Object.assign({},qa);for(const ud in Ra){if(ud==="__proto__"||ud==="constructor")continue;const dd=Ra[ud];dd!=null&&(Array.isArray(dd)&&Array.isArray(ld[ud])?ld[ud]=[...dd,...ld[ud]]:gn$4(dd)&&gn$4(ld[ud])?ld[ud]=Pn$4(dd,ld[ud],(nd?`${nd}.`:"")+ud.toString()):ld[ud]=dd)}return ld}function wi$2(Ra){return(...qa)=>qa.reduce((nd,od)=>Pn$4(nd,od,""),{})}const _i$2=wi$2(),[Ga$2,xi$2]=Q$7("ConfigProvider");let Si$2="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Ei$2=(Ra=21)=>{let qa="",nd=Ra;for(;nd--;)qa+=Si$2[Math.random()*64|0];return qa};const Pi$2=xl$3(()=>{const Ra=ref$1(new Map),qa=ref$1(),nd=computed(()=>{for(const dd of Ra.value.values())if(dd)return!0;return!1}),od=Ga$2({scrollBody:ref$1(!0)});let ld=null;const ud=()=>{document.body.style.paddingRight="",document.body.style.marginRight="",document.body.style.pointerEvents="",document.body.style.removeProperty("--scrollbar-width"),document.body.style.overflow=qa.value??"",zo$1&&(ld==null||ld()),qa.value=void 0};return watch(nd,(dd,pd)=>{var fd;if(!qe$3)return;if(!dd){pd&&ud();return}qa.value===void 0&&(qa.value=document.body.style.overflow);const md=window.innerWidth-document.documentElement.clientWidth,vd={padding:md,margin:0},Ad=(fd=od.scrollBody)!=null&&fd.value?typeof od.scrollBody.value=="object"?_i$2({padding:od.scrollBody.value.padding===!0?md:od.scrollBody.value.padding,margin:od.scrollBody.value.margin===!0?md:od.scrollBody.value.margin},vd):vd:{padding:0,margin:0};md>0&&(document.body.style.paddingRight=typeof Ad.padding=="number"?`${Ad.padding}px`:String(Ad.padding),document.body.style.marginRight=typeof Ad.margin=="number"?`${Ad.margin}px`:String(Ad.margin),document.body.style.setProperty("--scrollbar-width",`${md}px`),document.body.style.overflow="hidden"),zo$1&&(ld=Le$6(document,"touchmove",Nd=>Di$3(Nd),{passive:!1})),nextTick$1(()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden"})},{immediate:!0,flush:"sync"}),Ra});function ha$1(Ra){const qa=Ei$2(6),nd=Pi$2();nd.value.set(qa,Ra??!1);const od=computed({get:()=>nd.value.get(qa)??!1,set:ld=>nd.value.set(qa,ld)});return ci$5(()=>{nd.value.delete(qa)}),od}function Al$3(Ra){const qa=window.getComputedStyle(Ra);if(qa.overflowX==="scroll"||qa.overflowY==="scroll"||qa.overflowX==="auto"&&Ra.clientWidth<Ra.scrollWidth||qa.overflowY==="auto"&&Ra.clientHeight<Ra.scrollHeight)return!0;{const nd=Ra.parentNode;return!nd||nd.tagName==="BODY"?!1:Al$3(nd)}}function Di$3(Ra){const qa=Ra||window.event,nd=qa.target;return Al$3(nd)?!1:qa.touches.length>1?!0:(qa.preventDefault&&qa.cancelable&&qa.preventDefault(),!1)}const $i$2="data-radix-vue-collection-item";function Me$7(Ra,qa=$i$2){const nd=Ra??Symbol();return{createCollection:od=>{const ld=ref$1([]);function ud(){const dd=$e$4(od);return dd?ld.value=Array.from(dd.querySelectorAll(`[${qa}]:not([data-disabled])`)):ld.value=[]}return onBeforeUpdate(()=>{ld.value=[]}),onMounted(ud),onUpdated(ud),watch(()=>od==null?void 0:od.value,ud,{immediate:!0}),provide(nd,ld),ld},injectCollection:()=>inject(nd,ref$1([]))}}function be$9(Ra){const qa=Ga$2({dir:ref$1("ltr")});return computed(()=>{var nd;return(Ra==null?void 0:Ra.value)||((nd=qa.dir)==null?void 0:nd.value)||"ltr"})}function Ae$6(Ra){const qa=getCurrentInstance(),nd=qa==null?void 0:qa.type.emits,od={};return nd!=null&&nd.length||console.warn(`No emitted event found. Please check component: ${qa==null?void 0:qa.type.__name}`),nd==null||nd.forEach(ld=>{od[toHandlerKey(camelize(ld))]=(...ud)=>Ra(ld,...ud)}),od}let bn$4=0;function Gn$4(){watchEffect(Ra=>{if(!qe$3)return;const qa=document.querySelectorAll("[data-radix-focus-guard]");document.body.insertAdjacentElement("afterbegin",qa[0]??Ho$3()),document.body.insertAdjacentElement("beforeend",qa[1]??Ho$3()),bn$4++,Ra(()=>{bn$4===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(nd=>nd.remove()),bn$4--})})}function Ho$3(){const Ra=document.createElement("span");return Ra.setAttribute("data-radix-focus-guard",""),Ra.tabIndex=0,Ra.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",Ra}function Je$4(Ra){return computed(()=>{var qa;return Ke$4(Ra)?!!((qa=$e$4(Ra))!=null&&qa.closest("form")):!0})}function It$4(Ra){const qa=getCurrentInstance(),nd=Object.keys((qa==null?void 0:qa.type.props)??{}).reduce((ld,ud)=>{const dd=(qa==null?void 0:qa.type.props[ud]).default;return dd!==void 0&&(ld[ud]=dd),ld},{}),od=toRef$1(Ra);return computed(()=>{const ld={},ud=(qa==null?void 0:qa.vnode.props)??{};return Object.keys(ud).forEach(dd=>{ld[camelize(dd)]=ud[dd]}),Object.keys({...nd,...ld}).reduce((dd,pd)=>(od.value[pd]!==void 0&&(dd[pd]=od.value[pd]),dd),{})})}function xe$5(Ra,qa){const nd=It$4(Ra),od=qa?Ae$6(qa):{};return computed(()=>({...nd.value,...od}))}function R$7(){const Ra=getCurrentInstance(),qa=ref$1(),nd=computed(()=>{var dd,pd;return["#text","#comment"].includes((dd=qa.value)==null?void 0:dd.$el.nodeName)?(pd=qa.value)==null?void 0:pd.$el.nextElementSibling:$e$4(qa)}),od=Object.assign({},Ra.exposed),ld={};for(const dd in Ra.props)Object.defineProperty(ld,dd,{enumerable:!0,configurable:!0,get:()=>Ra.props[dd]});if(Object.keys(od).length>0)for(const dd in od)Object.defineProperty(ld,dd,{enumerable:!0,configurable:!0,get:()=>od[dd]});Object.defineProperty(ld,"$el",{enumerable:!0,configurable:!0,get:()=>Ra.vnode.el}),Ra.exposed=ld;function ud(dd){qa.value=dd,!(dd instanceof Element||!dd)&&(Object.defineProperty(ld,"$el",{enumerable:!0,configurable:!0,get:()=>dd.$el}),Ra.exposed=ld)}return{forwardRef:ud,currentRef:qa,currentElement:nd}}function Ol$3(Ra,qa){const nd=$t$4(!1,300),od=ref$1(null),ld=ia$1();function ud(){od.value=null,nd.value=!1}function dd(pd,fd){const md=pd.currentTarget,vd={x:pd.clientX,y:pd.clientY},Ad=Bi$2(vd,md.getBoundingClientRect()),Nd=Ii$1(vd,Ad),Od=Ti$2(fd.getBoundingClientRect()),kd=Ai$2([...Nd,...Od]);od.value=kd,nd.value=!0}return watchEffect(pd=>{if(Ra.value&&qa.value){const fd=vd=>dd(vd,qa.value),md=vd=>dd(vd,Ra.value);Ra.value.addEventListener("pointerleave",fd),qa.value.addEventListener("pointerleave",md),pd(()=>{var vd,Ad;(vd=Ra.value)==null||vd.removeEventListener("pointerleave",fd),(Ad=qa.value)==null||Ad.removeEventListener("pointerleave",md)})}}),watchEffect(pd=>{var fd;if(od.value){const md=vd=>{var Ad,Nd;if(!od.value)return;const Od=vd.target,kd={x:vd.clientX,y:vd.clientY},Ld=((Ad=Ra.value)==null?void 0:Ad.contains(Od))||((Nd=qa.value)==null?void 0:Nd.contains(Od)),Gd=!Ri$1(kd,od.value),jd=Od.hasAttribute("data-grace-area-trigger");Ld?ud():(Gd||jd)&&(ud(),ld.trigger())};(fd=Ra.value)==null||fd.ownerDocument.addEventListener("pointermove",md),pd(()=>{var vd;return(vd=Ra.value)==null?void 0:vd.ownerDocument.removeEventListener("pointermove",md)})}}),{isPointerInTransit:nd,onPointerExit:ld.on}}function Bi$2(Ra,qa){const nd=Math.abs(qa.top-Ra.y),od=Math.abs(qa.bottom-Ra.y),ld=Math.abs(qa.right-Ra.x),ud=Math.abs(qa.left-Ra.x);switch(Math.min(nd,od,ld,ud)){case ud:return"left";case ld:return"right";case nd:return"top";case od:return"bottom";default:throw new Error("unreachable")}}function Ii$1(Ra,qa,nd=5){const od=[];switch(qa){case"top":od.push({x:Ra.x-nd,y:Ra.y+nd},{x:Ra.x+nd,y:Ra.y+nd});break;case"bottom":od.push({x:Ra.x-nd,y:Ra.y-nd},{x:Ra.x+nd,y:Ra.y-nd});break;case"left":od.push({x:Ra.x+nd,y:Ra.y-nd},{x:Ra.x+nd,y:Ra.y+nd});break;case"right":od.push({x:Ra.x-nd,y:Ra.y-nd},{x:Ra.x-nd,y:Ra.y+nd});break}return od}function Ti$2(Ra){const{top:qa,right:nd,bottom:od,left:ld}=Ra;return[{x:ld,y:qa},{x:nd,y:qa},{x:nd,y:od},{x:ld,y:od}]}function Ri$1(Ra,qa){const{x:nd,y:od}=Ra;let ld=!1;for(let ud=0,dd=qa.length-1;ud<qa.length;dd=ud++){const pd=qa[ud].x,fd=qa[ud].y,md=qa[dd].x,vd=qa[dd].y;fd>od!=vd>od&&nd<(md-pd)*(od-fd)/(vd-fd)+pd&&(ld=!ld)}return ld}function Ai$2(Ra){const qa=Ra.slice();return qa.sort((nd,od)=>nd.x<od.x?-1:nd.x>od.x?1:nd.y<od.y?-1:nd.y>od.y?1:0),Oi$1(qa)}function Oi$1(Ra){if(Ra.length<=1)return Ra.slice();const qa=[];for(let od=0;od<Ra.length;od++){const ld=Ra[od];for(;qa.length>=2;){const ud=qa[qa.length-1],dd=qa[qa.length-2];if((ud.x-dd.x)*(ld.y-dd.y)>=(ud.y-dd.y)*(ld.x-dd.x))qa.pop();else break}qa.push(ld)}qa.pop();const nd=[];for(let od=Ra.length-1;od>=0;od--){const ld=Ra[od];for(;nd.length>=2;){const ud=nd[nd.length-1],dd=nd[nd.length-2];if((ud.x-dd.x)*(ld.y-dd.y)>=(ud.y-dd.y)*(ld.x-dd.x))nd.pop();else break}nd.push(ld)}return nd.pop(),qa.length===1&&nd.length===1&&qa[0].x===nd[0].x&&qa[0].y===nd[0].y?qa:qa.concat(nd)}var ki$2=function(Ra){if(typeof document>"u")return null;var qa=Array.isArray(Ra)?Ra[0]:Ra;return qa.ownerDocument.body},Nt$5=new WeakMap,Pa$2=new WeakMap,Da$1={},Cn$3=0,kl$3=function(Ra){return Ra&&(Ra.host||kl$3(Ra.parentNode))},Mi$2=function(Ra,qa){return qa.map(function(nd){if(Ra.contains(nd))return nd;var od=kl$3(nd);return od&&Ra.contains(od)?od:(console.error("aria-hidden",nd,"in not contained inside",Ra,". Doing nothing"),null)}).filter(function(nd){return!!nd})},Vi$1=function(Ra,qa,nd,od){var ld=Mi$2(qa,Array.isArray(Ra)?Ra:[Ra]);Da$1[nd]||(Da$1[nd]=new WeakMap);var ud=Da$1[nd],dd=[],pd=new Set,fd=new Set(ld),md=function(Ad){!Ad||pd.has(Ad)||(pd.add(Ad),md(Ad.parentNode))};ld.forEach(md);var vd=function(Ad){!Ad||fd.has(Ad)||Array.prototype.forEach.call(Ad.children,function(Nd){if(pd.has(Nd))vd(Nd);else try{var Od=Nd.getAttribute(od),kd=Od!==null&&Od!=="false",Ld=(Nt$5.get(Nd)||0)+1,Gd=(ud.get(Nd)||0)+1;Nt$5.set(Nd,Ld),ud.set(Nd,Gd),dd.push(Nd),Ld===1&&kd&&Pa$2.set(Nd,!0),Gd===1&&Nd.setAttribute(nd,"true"),kd||Nd.setAttribute(od,"true")}catch(jd){console.error("aria-hidden: cannot operate on ",Nd,jd)}})};return vd(qa),pd.clear(),Cn$3++,function(){dd.forEach(function(Ad){var Nd=Nt$5.get(Ad)-1,Od=ud.get(Ad)-1;Nt$5.set(Ad,Nd),ud.set(Ad,Od),Nd||(Pa$2.has(Ad)||Ad.removeAttribute(od),Pa$2.delete(Ad)),Od||Ad.removeAttribute(nd)}),Cn$3--,Cn$3||(Nt$5=new WeakMap,Nt$5=new WeakMap,Pa$2=new WeakMap,Da$1={})}},Fi$2=function(Ra,qa,nd){nd===void 0&&(nd="data-aria-hidden");var od=Array.from(Array.isArray(Ra)?Ra:[Ra]),ld=ki$2(Ra);return ld?(od.push.apply(od,Array.from(ld.querySelectorAll("[aria-live]"))),Vi$1(od,ld,nd,"aria-hidden")):function(){return null}};function ya$1(Ra){let qa;watch(()=>$e$4(Ra),nd=>{nd?qa=Fi$2(nd):qa&&qa()}),onUnmounted(()=>{qa&&qa()})}let Ni$1=0;function he$4(Ra,qa="radix"){if(Ra)return Ra;const nd=Ga$2({useId:void 0});return useId?`${qa}-${useId()}`:nd.useId?`${qa}-${nd.useId()}`:`${qa}-${++Ni$1}`}function Ml$3(Ra){const qa=ref$1(),nd=computed(()=>{var ld;return((ld=qa.value)==null?void 0:ld.width)??0}),od=computed(()=>{var ld;return((ld=qa.value)==null?void 0:ld.height)??0});return onMounted(()=>{const ld=$e$4(Ra);if(ld){qa.value={width:ld.offsetWidth,height:ld.offsetHeight};const ud=new ResizeObserver(dd=>{if(!Array.isArray(dd)||!dd.length)return;const pd=dd[0];let fd,md;if("borderBoxSize"in pd){const vd=pd.borderBoxSize,Ad=Array.isArray(vd)?vd[0]:vd;fd=Ad.inlineSize,md=Ad.blockSize}else fd=ld.offsetWidth,md=ld.offsetHeight;qa.value={width:fd,height:md}});return ud.observe(ld,{box:"border-box"}),()=>ud.unobserve(ld)}else qa.value=void 0}),{width:nd,height:od}}function Vl$3(Ra,qa){const nd=ref$1(Ra);function od(ld){return qa[nd.value][ld]??nd.value}return{state:nd,dispatch:ld=>{nd.value=od(ld)}}}function ga$2(Ra){const qa=$t$4("",1e3);return{search:qa,handleTypeaheadSearch:(nd,od)=>{var ld,ud;if(!(Ra!=null&&Ra.value)&&!od)return;qa.value=qa.value+nd;const dd=(Ra==null?void 0:Ra.value)??od,pd=document.activeElement,fd=((ud=(ld=dd.find(Nd=>Nd===pd))==null?void 0:ld.textContent)==null?void 0:ud.trim())??"",md=dd.map(Nd=>{var Od;return((Od=Nd.textContent)==null?void 0:Od.trim())??""}),vd=Yn$3(md,qa.value,fd),Ad=dd.find(Nd=>{var Od;return((Od=Nd.textContent)==null?void 0:Od.trim())===vd});return Ad&&Ad.focus(),Ad},resetTypeahead:()=>{qa.value=""}}}function qn$3(Ra,qa){return Ra.map((nd,od)=>Ra[(qa+od)%Ra.length])}function Yn$3(Ra,qa,nd){const od=qa.length>1&&Array.from(qa).every(pd=>pd===qa[0])?qa[0]:qa,ld=nd?Ra.indexOf(nd):-1;let ud=qn$3(Ra,Math.max(ld,0));od.length===1&&(ud=ud.filter(pd=>pd!==nd));const dd=ud.find(pd=>pd.toLowerCase().startsWith(od.toLowerCase()));return dd!==nd?dd:void 0}const Xn$4=defineComponent({name:"PrimitiveSlot",inheritAttrs:!1,setup(Ra,{attrs:qa,slots:nd}){return()=>{var od,ld;if(!nd.default)return null;const ud=Ua$3(nd.default()),dd=ud.findIndex(vd=>vd.type!==Comment$2);if(dd===-1)return ud;const pd=ud[dd];(od=pd.props)==null||delete od.ref;const fd=pd.props?mergeProps(qa,pd.props):qa;qa.class&&(ld=pd.props)!=null&&ld.class&&delete pd.props.class;const md=cloneVNode(pd,fd);for(const vd in fd)vd.startsWith("on")&&(md.props||(md.props={}),md.props[vd]=fd[vd]);return ud.length===1?md:(ud[dd]=md,ud)}}}),O$4=defineComponent({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(Ra,{attrs:qa,slots:nd}){const od=Ra.asChild?"template":Ra.as;return typeof od=="string"&&["area","img","input"].includes(od)?()=>h$2(od,qa):od!=="template"?()=>h$2(Ra.as,qa,{default:nd.default}):()=>h$2(Xn$4,qa,{default:nd.default})}});function Ie$5(){const Ra=ref$1(),qa=computed(()=>{var nd,od;return["#text","#comment"].includes((nd=Ra.value)==null?void 0:nd.$el.nodeName)?(od=Ra.value)==null?void 0:od.$el.nextElementSibling:$e$4(Ra)});return{primitiveElement:Ra,currentElement:qa}}function Wi$2(Ra,qa){const nd=ref$1({}),od=ref$1("none"),ld=Ra.value?"mounted":"unmounted",{state:ud,dispatch:dd}=Vl$3(ld,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),pd=Nd=>{var Od;if(qe$3){const kd=new CustomEvent(Nd,{bubbles:!1,cancelable:!1});(Od=qa.value)==null||Od.dispatchEvent(kd)}};watch(Ra,async(Nd,Od)=>{var kd;const Ld=Od!==Nd;if(await nextTick$1(),Ld){const Gd=od.value,jd=$a$2(qa.value);Nd?(dd("MOUNT"),pd("enter"),jd==="none"&&pd("after-enter")):jd==="none"||((kd=nd.value)==null?void 0:kd.display)==="none"?(dd("UNMOUNT"),pd("leave"),pd("after-leave")):Od&&Gd!==jd?(dd("ANIMATION_OUT"),pd("leave")):(dd("UNMOUNT"),pd("after-leave"))}},{immediate:!0});const fd=Nd=>{const Od=$a$2(qa.value),kd=Od.includes(Nd.animationName),Ld=ud.value==="mounted"?"enter":"leave";Nd.target===qa.value&&kd&&(pd(`after-${Ld}`),dd("ANIMATION_END")),Nd.target===qa.value&&Od==="none"&&dd("ANIMATION_END")},md=Nd=>{Nd.target===qa.value&&(od.value=$a$2(qa.value))},vd=watch(qa,(Nd,Od)=>{Nd?(nd.value=getComputedStyle(Nd),Nd.addEventListener("animationstart",md),Nd.addEventListener("animationcancel",fd),Nd.addEventListener("animationend",fd)):(dd("ANIMATION_END"),Od==null||Od.removeEventListener("animationstart",md),Od==null||Od.removeEventListener("animationcancel",fd),Od==null||Od.removeEventListener("animationend",fd))},{immediate:!0}),Ad=watch(ud,()=>{const Nd=$a$2(qa.value);od.value=ud.value==="mounted"?Nd:"none"});return onUnmounted(()=>{vd(),Ad()}),{isPresent:computed(()=>["mounted","unmountSuspended"].includes(ud.value))}}function $a$2(Ra){return Ra&&getComputedStyle(Ra).animationName||"none"}const Pe$7=defineComponent({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(Ra,{slots:qa,expose:nd}){var od;const{present:ld,forceMount:ud}=toRefs(Ra),dd=ref$1(),{isPresent:pd}=Wi$2(ld,dd);nd({present:pd});let fd=qa.default({present:pd});fd=Ua$3(fd||[]);const md=getCurrentInstance();if(fd&&(fd==null?void 0:fd.length)>1){const vd=(od=md==null?void 0:md.parent)!=null&&od.type.name?`<${md.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${vd}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(Ad=>` - ${Ad}`).join(`
`)].join(`
`))}return()=>ud.value||ld.value||pd.value?h$2(qa.default({present:pd})[0],{ref:vd=>{const Ad=$e$4(vd);return typeof(Ad==null?void 0:Ad.hasAttribute)>"u"||(Ad!=null&&Ad.hasAttribute("data-radix-popper-content-wrapper")?dd.value=Ad.firstElementChild:dd.value=Ad),Ad}}):null}}),[et$5,Xi$1]=Q$7("DialogRoot"),Zi$2=defineComponent({inheritAttrs:!1,__name:"DialogRoot",props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:!1},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=ne$6(nd,"open",qa,{defaultValue:nd.defaultOpen,passive:nd.open===void 0}),ld=ref$1(),ud=ref$1(),{modal:dd}=toRefs(nd);return Xi$1({open:od,modal:dd,openModal:()=>{od.value=!0},onOpenChange:pd=>{od.value=pd},onOpenToggle:()=>{od.value=!od.value},contentId:"",titleId:"",descriptionId:"",triggerElement:ld,contentElement:ud}),(pd,fd)=>renderSlot(pd.$slots,"default",{open:unref(od)})}}),Ji$3=defineComponent({__name:"DialogTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,nd=et$5(),{forwardRef:od,currentElement:ld}=R$7();return nd.contentId||(nd.contentId=he$4(void 0,"radix-vue-dialog-content")),onMounted(()=>{nd.triggerElement.value=ld.value}),(ud,dd)=>(openBlock(),createBlock(unref(O$4),mergeProps(qa,{ref:unref(od),type:ud.as==="button"?"button":void 0,"aria-haspopup":"dialog","aria-expanded":unref(nd).open.value||!1,"aria-controls":unref(nd).open.value?unref(nd).contentId:void 0,"data-state":unref(nd).open.value?"open":"closed",onClick:unref(nd).onOpenToggle}),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16,["type","aria-expanded","aria-controls","data-state","onClick"]))}}),nt$4=defineComponent({__name:"Teleport",props:{to:{default:"body"},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=ja$1();return(nd,od)=>unref(qa)||nd.forceMount?(openBlock(),createBlock(Teleport,{key:0,to:nd.to,disabled:nd.disabled},[renderSlot(nd.$slots,"default")],8,["to","disabled"])):createCommentVNode("",!0)}}),xv=defineComponent({__name:"DialogPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(nt$4),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),Qi$1="dismissableLayer.pointerDownOutside",eu$2="dismissableLayer.focusOutside";function zl$3(Ra,qa){const nd=qa.closest("[data-dismissable-layer]"),od=Ra.dataset.dismissableLayer===""?Ra:Ra.querySelector("[data-dismissable-layer]"),ld=Array.from(Ra.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(nd&&od===nd||ld.indexOf(od)<ld.indexOf(nd))}function Kl$3(Ra,qa){var nd;const od=((nd=qa==null?void 0:qa.value)==null?void 0:nd.ownerDocument)??(globalThis==null?void 0:globalThis.document),ld=ref$1(!1),ud=ref$1(()=>{});return watchEffect(dd=>{if(!qe$3)return;const pd=async md=>{const vd=md.target;if(qa!=null&&qa.value){if(zl$3(qa.value,vd)){ld.value=!1;return}if(md.target&&!ld.value){let Ad=function(){Ht$4(Qi$1,Ra,Nd)};const Nd={originalEvent:md};md.pointerType==="touch"?(od.removeEventListener("click",ud.value),ud.value=Ad,od.addEventListener("click",ud.value,{once:!0})):Ad()}else od.removeEventListener("click",ud.value);ld.value=!1}},fd=window.setTimeout(()=>{od.addEventListener("pointerdown",pd)},0);dd(()=>{window.clearTimeout(fd),od.removeEventListener("pointerdown",pd),od.removeEventListener("click",ud.value)})}),{onPointerDownCapture:()=>ld.value=!0}}function Hl$3(Ra,qa){var nd;const od=((nd=qa==null?void 0:qa.value)==null?void 0:nd.ownerDocument)??(globalThis==null?void 0:globalThis.document),ld=ref$1(!1);return watchEffect(ud=>{if(!qe$3)return;const dd=async pd=>{qa!=null&&qa.value&&(await nextTick$1(),!(!qa.value||zl$3(qa.value,pd.target))&&pd.target&&!ld.value&&Ht$4(eu$2,Ra,{originalEvent:pd}))};od.addEventListener("focusin",dd),ud(()=>od.removeEventListener("focusin",dd))}),{onFocusCapture:()=>ld.value=!0,onBlurCapture:()=>ld.value=!1}}const je$7=reactive({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),yt$3=defineComponent({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{forwardRef:ld,currentElement:ud}=R$7(),dd=computed(()=>{var kd;return((kd=ud.value)==null?void 0:kd.ownerDocument)??globalThis.document}),pd=computed(()=>je$7.layersRoot),fd=computed(()=>ud.value?Array.from(pd.value).indexOf(ud.value):-1),md=computed(()=>je$7.layersWithOutsidePointerEventsDisabled.size>0),vd=computed(()=>{const kd=Array.from(pd.value),[Ld]=[...je$7.layersWithOutsidePointerEventsDisabled].slice(-1),Gd=kd.indexOf(Ld);return fd.value>=Gd}),Ad=Kl$3(async kd=>{const Ld=[...je$7.branches].some(Gd=>Gd==null?void 0:Gd.contains(kd.target));!vd.value||Ld||(od("pointerDownOutside",kd),od("interactOutside",kd),await nextTick$1(),kd.defaultPrevented||od("dismiss"))},ud),Nd=Hl$3(kd=>{[...je$7.branches].some(Ld=>Ld==null?void 0:Ld.contains(kd.target))||(od("focusOutside",kd),od("interactOutside",kd),kd.defaultPrevented||od("dismiss"))},ud);jn$3("Escape",kd=>{fd.value===pd.value.size-1&&(od("escapeKeyDown",kd),kd.defaultPrevented||od("dismiss"))});let Od;return watchEffect(kd=>{ud.value&&(nd.disableOutsidePointerEvents&&(je$7.layersWithOutsidePointerEventsDisabled.size===0&&(Od=dd.value.body.style.pointerEvents,dd.value.body.style.pointerEvents="none"),je$7.layersWithOutsidePointerEventsDisabled.add(ud.value)),pd.value.add(ud.value),kd(()=>{nd.disableOutsidePointerEvents&&je$7.layersWithOutsidePointerEventsDisabled.size===1&&(dd.value.body.style.pointerEvents=Od)}))}),watchEffect(kd=>{kd(()=>{ud.value&&(pd.value.delete(ud.value),je$7.layersWithOutsidePointerEventsDisabled.delete(ud.value))})}),(kd,Ld)=>(openBlock(),createBlock(unref(O$4),{ref:unref(ld),"as-child":kd.asChild,as:kd.as,"data-dismissable-layer":"",style:normalizeStyle({pointerEvents:md.value?vd.value?"auto":"none":void 0}),onFocusCapture:unref(Nd).onFocusCapture,onBlurCapture:unref(Nd).onBlurCapture,onPointerdownCapture:unref(Ad).onPointerDownCapture},{default:withCtx(()=>[renderSlot(kd.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}}),wn$3="focusScope.autoFocusOnMount",_n$3="focusScope.autoFocusOnUnmount",Wo$2={bubbles:!1,cancelable:!0};function Oa$3(Ra,{select:qa=!1}={}){const nd=document.activeElement;for(const od of Ra)if(ct$4(od,{select:qa}),document.activeElement!==nd)return!0}function au$4(Ra){const qa=Jn$4(Ra),nd=jo$2(qa,Ra),od=jo$2(qa.reverse(),Ra);return[nd,od]}function Jn$4(Ra){const qa=[],nd=document.createTreeWalker(Ra,NodeFilter.SHOW_ELEMENT,{acceptNode:od=>{const ld=od.tagName==="INPUT"&&od.type==="hidden";return od.disabled||od.hidden||ld?NodeFilter.FILTER_SKIP:od.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;nd.nextNode();)qa.push(nd.currentNode);return qa}function jo$2(Ra,qa){for(const nd of Ra)if(!nu$4(nd,{upTo:qa}))return nd}function nu$4(Ra,{upTo:qa}){if(getComputedStyle(Ra).visibility==="hidden")return!0;for(;Ra;){if(qa!==void 0&&Ra===qa)return!1;if(getComputedStyle(Ra).display==="none")return!0;Ra=Ra.parentElement}return!1}function ou$3(Ra){return Ra instanceof HTMLInputElement&&"select"in Ra}function ct$4(Ra,{select:qa=!1}={}){if(Ra&&Ra.focus){const nd=document.activeElement;Ra.focus({preventScroll:!0}),Ra!==nd&&ou$3(Ra)&&qa&&Ra.select()}}const lu$3=ei$4(()=>ref$1([]));function su$3(){const Ra=lu$3();return{add(qa){const nd=Ra.value[0];qa!==nd&&(nd==null||nd.pause()),Ra.value=Uo$3(Ra.value,qa),Ra.value.unshift(qa)},remove(qa){var nd;Ra.value=Uo$3(Ra.value,qa),(nd=Ra.value[0])==null||nd.resume()}}}function Uo$3(Ra,qa){const nd=[...Ra],od=nd.indexOf(qa);return od!==-1&&nd.splice(od,1),nd}function ru$3(Ra){return Ra.filter(qa=>qa.tagName!=="A")}const Ya$2=defineComponent({__name:"FocusScope",props:{loop:{type:Boolean,default:!1},trapped:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["mountAutoFocus","unmountAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{currentRef:ld,currentElement:ud}=R$7(),dd=ref$1(null),pd=su$3(),fd=reactive({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});watchEffect(vd=>{if(!qe$3)return;const Ad=ud.value;if(!nd.trapped)return;function Nd(Gd){if(fd.paused||!Ad)return;const jd=Gd.target;Ad.contains(jd)?dd.value=jd:ct$4(dd.value,{select:!0})}function Od(Gd){if(fd.paused||!Ad)return;const jd=Gd.relatedTarget;jd!==null&&(Ad.contains(jd)||ct$4(dd.value,{select:!0}))}function kd(Gd){Ad.contains(dd.value)||ct$4(Ad)}document.addEventListener("focusin",Nd),document.addEventListener("focusout",Od);const Ld=new MutationObserver(kd);Ad&&Ld.observe(Ad,{childList:!0,subtree:!0}),vd(()=>{document.removeEventListener("focusin",Nd),document.removeEventListener("focusout",Od),Ld.disconnect()})}),watchEffect(async vd=>{const Ad=ud.value;if(await nextTick$1(),!Ad)return;pd.add(fd);const Nd=document.activeElement;if(!Ad.contains(Nd)){const Od=new CustomEvent(wn$3,Wo$2);Ad.addEventListener(wn$3,kd=>od("mountAutoFocus",kd)),Ad.dispatchEvent(Od),Od.defaultPrevented||(Oa$3(ru$3(Jn$4(Ad)),{select:!0}),document.activeElement===Nd&&ct$4(Ad))}vd(()=>{Ad.removeEventListener(wn$3,Ld=>od("mountAutoFocus",Ld));const Od=new CustomEvent(_n$3,Wo$2),kd=Ld=>{od("unmountAutoFocus",Ld)};Ad.addEventListener(_n$3,kd),Ad.dispatchEvent(Od),setTimeout(()=>{Od.defaultPrevented||ct$4(Nd??document.body,{select:!0}),Ad.removeEventListener(_n$3,kd),pd.remove(fd)},0)})});function md(vd){if(!nd.loop&&!nd.trapped||fd.paused)return;const Ad=vd.key==="Tab"&&!vd.altKey&&!vd.ctrlKey&&!vd.metaKey,Nd=document.activeElement;if(Ad&&Nd){const Od=vd.currentTarget,[kd,Ld]=au$4(Od);kd&&Ld?!vd.shiftKey&&Nd===Ld?(vd.preventDefault(),nd.loop&&ct$4(kd,{select:!0})):vd.shiftKey&&Nd===kd&&(vd.preventDefault(),nd.loop&&ct$4(Ld,{select:!0})):Nd===Od&&vd.preventDefault()}}return(vd,Ad)=>(openBlock(),createBlock(unref(O$4),{ref_key:"currentRef",ref:ld,tabindex:"-1","as-child":vd.asChild,as:vd.as,onKeydown:md},{default:withCtx(()=>[renderSlot(vd.$slots,"default")]),_:3},8,["as-child","as"]))}}),iu$2="menu.itemSelect",Dn$3=["Enter"," "],uu$4=["ArrowDown","PageUp","Home"],Wl$3=["ArrowUp","PageDown","End"],du$3=[...uu$4,...Wl$3],cu$4={ltr:[...Dn$3,"ArrowRight"],rtl:[...Dn$3,"ArrowLeft"]},pu$3={ltr:["ArrowLeft"],rtl:["ArrowRight"]};function Qn$4(Ra){return Ra?"open":"closed"}function Fa$1(Ra){return Ra==="indeterminate"}function eo$2(Ra){return Fa$1(Ra)?"indeterminate":Ra?"checked":"unchecked"}function $n$4(Ra){const qa=document.activeElement;for(const nd of Ra)if(nd===qa||(nd.focus(),document.activeElement!==qa))return}function fu$2(Ra,qa){const{x:nd,y:od}=Ra;let ld=!1;for(let ud=0,dd=qa.length-1;ud<qa.length;dd=ud++){const pd=qa[ud].x,fd=qa[ud].y,md=qa[dd].x,vd=qa[dd].y;fd>od!=vd>od&&nd<(md-pd)*(od-fd)/(vd-fd)+pd&&(ld=!ld)}return ld}function vu$3(Ra,qa){if(!qa)return!1;const nd={x:Ra.clientX,y:Ra.clientY};return fu$2(nd,qa)}function ua$2(Ra){return Ra.pointerType==="mouse"}const jl$3=defineComponent({__name:"DialogContentImpl",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=et$5(),{forwardRef:ud,currentElement:dd}=R$7();return ld.titleId||(ld.titleId=he$4(void 0,"radix-vue-dialog-title")),ld.descriptionId||(ld.descriptionId=he$4(void 0,"radix-vue-dialog-description")),onMounted(()=>{ld.contentElement=dd,document.activeElement!==document.body&&(ld.triggerElement.value=document.activeElement)}),(pd,fd)=>(openBlock(),createBlock(unref(Ya$2),{"as-child":"",loop:"",trapped:nd.trapFocus,onMountAutoFocus:fd[5]||(fd[5]=md=>od("openAutoFocus",md)),onUnmountAutoFocus:fd[6]||(fd[6]=md=>od("closeAutoFocus",md))},{default:withCtx(()=>[createVNode(unref(yt$3),mergeProps({id:unref(ld).contentId,ref:unref(ud),as:pd.as,"as-child":pd.asChild,"disable-outside-pointer-events":pd.disableOutsidePointerEvents,role:"dialog","aria-describedby":unref(ld).descriptionId,"aria-labelledby":unref(ld).titleId,"data-state":unref(Qn$4)(unref(ld).open.value)},pd.$attrs,{onDismiss:fd[0]||(fd[0]=md=>unref(ld).onOpenChange(!1)),onEscapeKeyDown:fd[1]||(fd[1]=md=>od("escapeKeyDown",md)),onFocusOutside:fd[2]||(fd[2]=md=>od("focusOutside",md)),onInteractOutside:fd[3]||(fd[3]=md=>od("interactOutside",md)),onPointerDownOutside:fd[4]||(fd[4]=md=>od("pointerDownOutside",md))}),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16,["id","as","as-child","disable-outside-pointer-events","aria-describedby","aria-labelledby","data-state"])]),_:3},8,["trapped"]))}}),gu$2=defineComponent({__name:"DialogContentModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=et$5(),ud=Ae$6(od),{forwardRef:dd,currentElement:pd}=R$7();return ya$1(pd),(fd,md)=>(openBlock(),createBlock(jl$3,mergeProps({...nd,...unref(ud)},{ref:unref(dd),"trap-focus":unref(ld).open.value,"disable-outside-pointer-events":!0,onCloseAutoFocus:md[0]||(md[0]=vd=>{var Ad;vd.defaultPrevented||(vd.preventDefault(),(Ad=unref(ld).triggerElement.value)==null||Ad.focus())}),onPointerDownOutside:md[1]||(md[1]=vd=>{const Ad=vd.detail.originalEvent,Nd=Ad.button===0&&Ad.ctrlKey===!0;(Ad.button===2||Nd)&&vd.preventDefault()}),onFocusOutside:md[2]||(md[2]=vd=>{vd.preventDefault()})}),{default:withCtx(()=>[renderSlot(fd.$slots,"default")]),_:3},16,["trap-focus"]))}}),bu$3=defineComponent({__name:"DialogContentNonModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=Ae$6(qa);R$7();const ld=et$5(),ud=ref$1(!1),dd=ref$1(!1);return(pd,fd)=>(openBlock(),createBlock(jl$3,mergeProps({...nd,...unref(od)},{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:fd[0]||(fd[0]=md=>{var vd;md.defaultPrevented||(ud.value||(vd=unref(ld).triggerElement.value)==null||vd.focus(),md.preventDefault()),ud.value=!1,dd.value=!1}),onInteractOutside:fd[1]||(fd[1]=md=>{var vd;md.defaultPrevented||(ud.value=!0,md.detail.originalEvent.type==="pointerdown"&&(dd.value=!0));const Ad=md.target;(vd=unref(ld).triggerElement.value)!=null&&vd.contains(Ad)&&md.preventDefault(),md.detail.originalEvent.type==="focusin"&&dd.value&&md.preventDefault()})}),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16))}}),Cu$3=defineComponent({__name:"DialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=et$5(),ud=Ae$6(od),{forwardRef:dd}=R$7();return(pd,fd)=>(openBlock(),createBlock(unref(Pe$7),{present:pd.forceMount||unref(ld).open.value},{default:withCtx(()=>[unref(ld).modal.value?(openBlock(),createBlock(gu$2,mergeProps({key:0,ref:unref(dd)},{...nd,...unref(ud),...pd.$attrs}),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16)):(openBlock(),createBlock(bu$3,mergeProps({key:1,ref:unref(dd)},{...nd,...unref(ud),...pd.$attrs}),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),wu$3=defineComponent({__name:"DialogOverlayImpl",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=et$5();return ha$1(!0),R$7(),(nd,od)=>(openBlock(),createBlock(unref(O$4),{as:nd.as,"as-child":nd.asChild,"data-state":unref(qa).open.value?"open":"closed",style:{"pointer-events":"auto"}},{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},8,["as","as-child","data-state"]))}}),_u$3=defineComponent({__name:"DialogOverlay",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const qa=et$5(),{forwardRef:nd}=R$7();return(od,ld)=>{var ud;return(ud=unref(qa))!=null&&ud.modal.value?(openBlock(),createBlock(unref(Pe$7),{key:0,present:od.forceMount||unref(qa).open.value},{default:withCtx(()=>[createVNode(wu$3,mergeProps(od.$attrs,{ref:unref(nd),as:od.as,"as-child":od.asChild}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["as","as-child"])]),_:3},8,["present"])):createCommentVNode("",!0)}}}),Ul$3=defineComponent({__name:"DialogClose",props:{asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra;R$7();const nd=et$5();return(od,ld)=>(openBlock(),createBlock(unref(O$4),mergeProps(qa,{type:od.as==="button"?"button":void 0,onClick:ld[0]||(ld[0]=ud=>unref(nd).onOpenChange(!1))}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["type"]))}}),xu$2=defineComponent({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{default:"h2"}},setup(Ra){const qa=Ra,nd=et$5();return R$7(),(od,ld)=>(openBlock(),createBlock(unref(O$4),mergeProps(qa,{id:unref(nd).titleId}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["id"]))}}),Su$2=defineComponent({__name:"DialogDescription",props:{asChild:{type:Boolean},as:{default:"p"}},setup(Ra){const qa=Ra;R$7();const nd=et$5();return(od,ld)=>(openBlock(),createBlock(unref(O$4),mergeProps(qa,{id:unref(nd).descriptionId}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["id"]))}}),Sv=defineComponent({__name:"AlertDialogRoot",props:{open:{type:Boolean},defaultOpen:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa);return R$7(),(od,ld)=>(openBlock(),createBlock(unref(Zi$2),mergeProps(unref(nd),{modal:!0}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16))}}),Pv=defineComponent({__name:"AlertDialogPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(nt$4),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),[Eu$3,Pu$2]=Q$7("AlertDialogContent"),Dv=defineComponent({__name:"AlertDialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=Ae$6(qa);R$7();const ld=ref$1();return Pu$2({onCancelElementChange:ud=>{ld.value=ud}}),(ud,dd)=>(openBlock(),createBlock(unref(Cu$3),mergeProps({...nd,...unref(od)},{role:"alertdialog",onPointerDownOutside:dd[0]||(dd[0]=withModifiers(()=>{},["prevent"])),onInteractOutside:dd[1]||(dd[1]=withModifiers(()=>{},["prevent"])),onOpenAutoFocus:dd[2]||(dd[2]=()=>{nextTick$1(()=>{var pd;(pd=ld.value)==null||pd.focus({preventScroll:!0})})})}),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),$v=defineComponent({__name:"AlertDialogOverlay",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return R$7(),(nd,od)=>(openBlock(),createBlock(unref(_u$3),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),Bv=defineComponent({__name:"AlertDialogCancel",props:{asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,nd=Eu$3(),{forwardRef:od,currentElement:ld}=R$7();return onMounted(()=>{nd.onCancelElementChange(ld.value)}),(ud,dd)=>(openBlock(),createBlock(unref(Ul$3),mergeProps(qa,{ref:unref(od)}),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),Iv=defineComponent({__name:"AlertDialogTitle",props:{asChild:{type:Boolean},as:{default:"h2"}},setup(Ra){const qa=Ra;return R$7(),(nd,od)=>(openBlock(),createBlock(unref(xu$2),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),Tv=defineComponent({__name:"AlertDialogDescription",props:{asChild:{type:Boolean},as:{default:"p"}},setup(Ra){const qa=Ra;return R$7(),(nd,od)=>(openBlock(),createBlock(unref(Su$2),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),Rv=defineComponent({__name:"AlertDialogAction",props:{asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra;return R$7(),(nd,od)=>(openBlock(),createBlock(unref(Ul$3),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}});function Na$1(Ra){return Ra==="indeterminate"}function Yl$3(Ra){return Na$1(Ra)?"indeterminate":Ra?"checked":"unchecked"}const Yu$2=["value","checked","name","disabled","required"],[Xu$3,Zu$4]=Q$7("CheckboxRoot"),Vv=defineComponent({inheritAttrs:!1,__name:"CheckboxRoot",props:{defaultChecked:{type:Boolean},checked:{type:[Boolean,String],default:void 0},disabled:{type:Boolean},required:{type:Boolean},name:{},value:{default:"on"},id:{},asChild:{type:Boolean},as:{default:"button"}},emits:["update:checked"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{disabled:ld}=toRefs(nd),ud=ne$6(nd,"checked",od,{defaultValue:nd.defaultChecked,passive:nd.checked===void 0}),{forwardRef:dd,currentElement:pd}=R$7(),fd=Je$4(pd),md=computed(()=>{var vd;return nd.id&&pd.value?(vd=document.querySelector(`[for="${nd.id}"]`))==null?void 0:vd.innerText:void 0});return Zu$4({disabled:ld,state:ud}),(vd,Ad)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(unref(O$4),mergeProps(vd.$attrs,{id:vd.id,ref:unref(dd),role:"checkbox","as-child":nd.asChild,as:vd.as,type:vd.as==="button"?"button":void 0,"aria-checked":unref(Na$1)(unref(ud))?"mixed":unref(ud),"aria-required":!1,"aria-label":vd.$attrs["aria-label"]||md.value,"data-state":unref(Yl$3)(unref(ud)),"data-disabled":unref(ld)?"":void 0,disabled:unref(ld),onKeydown:withKeys(withModifiers(()=>{},["prevent"]),["enter"]),onClick:Ad[0]||(Ad[0]=Nd=>ud.value=unref(Na$1)(unref(ud))?!0:!unref(ud))}),{default:withCtx(()=>[renderSlot(vd.$slots,"default",{checked:unref(ud)})]),_:3},16,["id","as-child","as","type","aria-checked","aria-label","data-state","data-disabled","disabled","onKeydown"]),unref(fd)?(openBlock(),createElementBlock("input",{key:0,type:"checkbox",tabindex:"-1","aria-hidden":"true",value:vd.value,checked:!!unref(ud),name:nd.name,disabled:nd.disabled,required:nd.required,style:{transform:"translateX(-100%)",position:"absolute",pointerEvents:"none",opacity:0,margin:0}},null,8,Yu$2)):createCommentVNode("",!0)],64))}}),Fv=defineComponent({__name:"CheckboxIndicator",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const{forwardRef:qa}=R$7(),nd=Xu$3();return(od,ld)=>(openBlock(),createBlock(unref(Pe$7),{present:od.forceMount||unref(Na$1)(unref(nd).state.value)||unref(nd).state.value===!0},{default:withCtx(()=>[createVNode(unref(O$4),mergeProps({ref:unref(qa),"data-state":unref(Yl$3)(unref(nd).state.value),"data-disabled":unref(nd).disabled.value?"":void 0,style:{pointerEvents:"none"},"as-child":od.asChild,as:od.as},od.$attrs),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["data-state","data-disabled","as-child","as"])]),_:3},8,["present"]))}}),[Xl$3,Ju$3]=Q$7("PopperRoot"),Tt$4=defineComponent({inheritAttrs:!1,__name:"PopperRoot",setup(Ra){const qa=ref$1();return Ju$3({anchor:qa,onAnchorChange:nd=>qa.value=nd}),(nd,od)=>renderSlot(nd.$slots,"default")}}),Rt$5=defineComponent({__name:"PopperAnchor",props:{element:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,{forwardRef:nd,currentElement:od}=R$7(),ld=Xl$3();return watchEffect(()=>{ld.onAnchorChange(qa.element??od.value)}),(ud,dd)=>(openBlock(),createBlock(unref(O$4),{ref:unref(nd),as:ud.as,"as-child":ud.asChild},{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},8,["as","as-child"]))}});function Qu$3(Ra){return Ra!==null}function ed(Ra){return{name:"transformOrigin",options:Ra,fn(qa){var nd,od,ld;const{placement:ud,rects:dd,middlewareData:pd}=qa,fd=((nd=pd.arrow)==null?void 0:nd.centerOffset)!==0,md=fd?0:Ra.arrowWidth,vd=fd?0:Ra.arrowHeight,[Ad,Nd]=Bn$3(ud),Od={start:"0%",center:"50%",end:"100%"}[Nd],kd=(((od=pd.arrow)==null?void 0:od.x)??0)+md/2,Ld=(((ld=pd.arrow)==null?void 0:ld.y)??0)+vd/2;let Gd="",jd="";return Ad==="bottom"?(Gd=fd?Od:`${kd}px`,jd=`${-vd}px`):Ad==="top"?(Gd=fd?Od:`${kd}px`,jd=`${dd.floating.height+vd}px`):Ad==="right"?(Gd=`${-vd}px`,jd=fd?Od:`${Ld}px`):Ad==="left"&&(Gd=`${dd.floating.width+vd}px`,jd=fd?Od:`${Ld}px`),{data:{x:Gd,y:jd}}}}}function Bn$3(Ra){const[qa,nd="center"]=Ra.split("-");return[qa,nd]}const Zl$3={side:"bottom",sideOffset:0,align:"center",alignOffset:0,arrowPadding:0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,updatePositionStrategy:"optimized",prioritizePosition:!1},[td,ad$1]=Q$7("PopperContent"),Dt$4=defineComponent({inheritAttrs:!1,__name:"PopperContent",props:mergeDefaults({side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},{...Zl$3}),emits:["placed"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=Xl$3(),{forwardRef:ud,currentElement:dd}=R$7(),pd=ref$1(),fd=ref$1(),{width:md,height:vd}=Ml$3(fd),Ad=computed(()=>nd.side+(nd.align!=="center"?`-${nd.align}`:"")),Nd=computed(()=>typeof nd.collisionPadding=="number"?nd.collisionPadding:{top:0,right:0,bottom:0,left:0,...nd.collisionPadding}),Od=computed(()=>Array.isArray(nd.collisionBoundary)?nd.collisionBoundary:[nd.collisionBoundary]),kd=computed(()=>({padding:Nd.value,boundary:Od.value.filter(Qu$3),altBoundary:Od.value.length>0})),Ld=Jr$4(()=>[offset({mainAxis:nd.sideOffset+vd.value,alignmentAxis:nd.alignOffset}),nd.prioritizePosition&&nd.avoidCollisions&&flip({...kd.value}),nd.avoidCollisions&&shift({mainAxis:!0,crossAxis:!!nd.prioritizePosition,limiter:nd.sticky==="partial"?limitShift():void 0,...kd.value}),!nd.prioritizePosition&&nd.avoidCollisions&&flip({...kd.value}),size({...kd.value,apply:({elements:pf,rects:mf,availableWidth:Sf,availableHeight:Tf})=>{const{width:Af,height:Ef}=mf.reference,Nf=pf.floating.style;Nf.setProperty("--radix-popper-available-width",`${Sf}px`),Nf.setProperty("--radix-popper-available-height",`${Tf}px`),Nf.setProperty("--radix-popper-anchor-width",`${Af}px`),Nf.setProperty("--radix-popper-anchor-height",`${Ef}px`)}}),fd.value&&arrow({element:fd.value,padding:nd.arrowPadding}),ed({arrowWidth:md.value,arrowHeight:vd.value}),nd.hideWhenDetached&&hide({strategy:"referenceHidden",...kd.value})]),{floatingStyles:Gd,placement:jd,isPositioned:Fd,middlewareData:Ud}=useFloating(ld.anchor,pd,{strategy:"fixed",placement:Ad,whileElementsMounted:(...pf)=>autoUpdate(...pf,{animationFrame:nd.updatePositionStrategy==="always"}),middleware:Ld}),qd=computed(()=>Bn$3(jd.value)[0]),zd=computed(()=>Bn$3(jd.value)[1]);watchPostEffect(()=>{Fd.value&&od("placed")});const Wd=computed(()=>{var pf;return((pf=Ud.value.arrow)==null?void 0:pf.centerOffset)!==0}),Jd=ref$1("");watchEffect(()=>{dd.value&&(Jd.value=window.getComputedStyle(dd.value).zIndex)});const _f=computed(()=>{var pf;return((pf=Ud.value.arrow)==null?void 0:pf.x)??0}),Xd=computed(()=>{var pf;return((pf=Ud.value.arrow)==null?void 0:pf.y)??0});return ad$1({placedSide:qd,onArrowChange:pf=>fd.value=pf,arrowX:_f,arrowY:Xd,shouldHideArrow:Wd}),(pf,mf)=>{var Sf,Tf,Af;return openBlock(),createElementBlock("div",{ref_key:"floatingRef",ref:pd,"data-radix-popper-content-wrapper":"",style:normalizeStyle({...unref(Gd),transform:unref(Fd)?unref(Gd).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Jd.value,"--radix-popper-transform-origin":[(Sf=unref(Ud).transformOrigin)==null?void 0:Sf.x,(Tf=unref(Ud).transformOrigin)==null?void 0:Tf.y].join(" "),...((Af=unref(Ud).hide)==null?void 0:Af.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}})},[createVNode(unref(O$4),mergeProps({ref:unref(ud)},pf.$attrs,{"as-child":nd.asChild,as:pf.as,"data-side":qd.value,"data-align":zd.value,style:{animation:unref(Fd)?void 0:"none"}}),{default:withCtx(()=>[renderSlot(pf.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4)}}}),Zt$4=defineComponent({__name:"VisuallyHidden",props:{asChild:{type:Boolean},as:{default:"span"}},setup(Ra){return R$7(),(qa,nd)=>(openBlock(),createBlock(unref(O$4),{as:qa.as,"as-child":qa.asChild,style:{position:"absolute",border:0,width:"1px",display:"inline-block",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}},{default:withCtx(()=>[renderSlot(qa.$slots,"default")]),_:3},8,["as","as-child"]))}}),sd="data-radix-vue-collection-item",[ao$2,rd]=Q$7("CollectionProvider");function ba$3(Ra=sd){const qa=ref$1(new Map),nd=ref$1(),od=rd({collectionRef:nd,itemMap:qa,attrName:Ra}),{getItems:ld}=Qt$4(od),ud=computed(()=>Array.from(od.itemMap.value.values())),dd=computed(()=>od.itemMap.value.size);return{getItems:ld,reactiveItems:ud,itemMapSize:dd}}const Ca$1=defineComponent({name:"CollectionSlot",setup(Ra,{slots:qa}){const nd=ao$2(),{primitiveElement:od,currentElement:ld}=Ie$5();return watch(ld,()=>{nd.collectionRef.value=ld.value}),()=>h$2(Xn$4,{ref:od},qa)}}),Jt$5=defineComponent({name:"CollectionItem",inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(Ra,{slots:qa,attrs:nd}){const od=ao$2(),{primitiveElement:ld,currentElement:ud}=Ie$5();return watchEffect(dd=>{if(ud.value){const pd=markRaw(ud.value);od.itemMap.value.set(pd,{ref:ud.value,value:Ra.value}),dd(()=>od.itemMap.value.delete(pd))}}),()=>h$2(Xn$4,{...nd,[od.attrName]:"",ref:ld},qa)}});function Qt$4(Ra){const qa=Ra??ao$2();return{getItems:()=>{const nd=qa.collectionRef.value;if(!nd)return[];const od=Array.from(nd.querySelectorAll(`[${qa.attrName}]`));return Array.from(qa.itemMap.value.values()).sort((ld,ud)=>od.indexOf(ld.ref)-od.indexOf(ud.ref))}}}function Xa$2(Ra){const qa=Ga$2({nonce:ref$1()});return computed(()=>{var nd;return(Ra==null?void 0:Ra.value)||((nd=qa.nonce)==null?void 0:nd.value)})}const Za$1=defineComponent({__name:"MenuAnchor",props:{element:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Rt$5),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}});function hd(){const Ra=ref$1(!1);return onMounted(()=>{Le$6("keydown",()=>{Ra.value=!0},{capture:!0,passive:!0}),Le$6(["pointerdown","pointermove"],()=>{Ra.value=!1},{capture:!0,passive:!0})}),Ra}const yd=xl$3(hd),[At$5,Ql$3]=Q$7(["MenuRoot","MenuSub"],"MenuContext"),[wa$1,gd]=Q$7("MenuRoot"),oo$4=defineComponent({__name:"MenuRoot",props:{open:{type:Boolean,default:!1},dir:{},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{modal:ld,dir:ud}=toRefs(nd),dd=be$9(ud),pd=ne$6(nd,"open",od),fd=ref$1(),md=yd();return Ql$3({open:pd,onOpenChange:vd=>{pd.value=vd},content:fd,onContentChange:vd=>{fd.value=vd}}),gd({onClose:()=>{pd.value=!1},isUsingKeyboardRef:md,dir:dd,modal:ld}),(vd,Ad)=>(openBlock(),createBlock(unref(Tt$4),null,{default:withCtx(()=>[renderSlot(vd.$slots,"default")]),_:3}))}}),bd$1="rovingFocusGroup.onEntryFocus",Cd={bubbles:!1,cancelable:!0},Ja={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function wd(Ra,qa){return qa!=="rtl"?Ra:Ra==="ArrowLeft"?"ArrowRight":Ra==="ArrowRight"?"ArrowLeft":Ra}function es$2(Ra,qa,nd){const od=wd(Ra.key,nd);if(!(qa==="vertical"&&["ArrowLeft","ArrowRight"].includes(od))&&!(qa==="horizontal"&&["ArrowUp","ArrowDown"].includes(od)))return Ja[od]}function ts$1(Ra,qa=!1,nd){const od=(nd==null?void 0:nd.activeElement)??document.activeElement;for(const ld of Ra)if(ld===od||(ld.focus({preventScroll:qa}),document.activeElement!==od))return}function _d(Ra,qa){return Ra.map((nd,od)=>Ra[(qa+od)%Ra.length])}const[xd,Sd]=Q$7("RovingFocusGroup"),Ot$4=defineComponent({__name:"RovingFocusGroup",props:{orientation:{default:void 0},dir:{},loop:{type:Boolean,default:!1},currentTabStopId:{},defaultCurrentTabStopId:{},preventScrollOnEntryFocus:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["entryFocus","update:currentTabStopId"],setup(Ra,{expose:qa,emit:nd}){const od=Ra,ld=nd,{loop:ud,orientation:dd,dir:pd}=toRefs(od),fd=be$9(pd),md=ne$6(od,"currentTabStopId",ld,{defaultValue:od.defaultCurrentTabStopId,passive:od.currentTabStopId===void 0}),vd=ref$1(!1),Ad=ref$1(!1),Nd=ref$1(0),{getItems:Od}=ba$3();function kd(Gd){const jd=!Ad.value;if(Gd.currentTarget&&Gd.target===Gd.currentTarget&&jd&&!vd.value){const Fd=new CustomEvent(bd$1,Cd);if(Gd.currentTarget.dispatchEvent(Fd),ld("entryFocus",Fd),!Fd.defaultPrevented){const Ud=Od().map(Jd=>Jd.ref).filter(Jd=>Jd.dataset.disabled!==""),qd=Ud.find(Jd=>Jd.getAttribute("data-active")==="true"),zd=Ud.find(Jd=>Jd.id===md.value),Wd=[qd,zd,...Ud].filter(Boolean);ts$1(Wd,od.preventScrollOnEntryFocus)}}Ad.value=!1}function Ld(){setTimeout(()=>{Ad.value=!1},1)}return qa({getItems:Od}),Sd({loop:ud,dir:fd,orientation:dd,currentTabStopId:md,onItemFocus:Gd=>{md.value=Gd},onItemShiftTab:()=>{vd.value=!0},onFocusableItemAdd:()=>{Nd.value++},onFocusableItemRemove:()=>{Nd.value--}}),(Gd,jd)=>(openBlock(),createBlock(unref(Ca$1),null,{default:withCtx(()=>[createVNode(unref(O$4),{tabindex:vd.value||Nd.value===0?-1:0,"data-orientation":unref(dd),as:Gd.as,"as-child":Gd.asChild,dir:unref(fd),style:{outline:"none"},onMousedown:jd[0]||(jd[0]=Fd=>Ad.value=!0),onMouseup:Ld,onFocus:kd,onBlur:jd[1]||(jd[1]=Fd=>vd.value=!1)},{default:withCtx(()=>[renderSlot(Gd.$slots,"default")]),_:3},8,["tabindex","data-orientation","as","as-child","dir"])]),_:3}))}}),kt$4=defineComponent({__name:"RovingFocusItem",props:{tabStopId:{},focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!0},allowShiftKey:{type:Boolean},asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const qa=Ra,nd=xd(),od=computed(()=>qa.tabStopId||he$4()),ld=computed(()=>nd.currentTabStopId.value===od.value),{getItems:ud}=Qt$4(),{primitiveElement:dd,currentElement:pd}=Ie$5(),fd=computed(()=>{var vd;return(vd=pd.value)==null?void 0:vd.getRootNode()});onMounted(()=>{qa.focusable&&nd.onFocusableItemAdd()}),onUnmounted(()=>{qa.focusable&&nd.onFocusableItemRemove()});function md(vd){if(vd.key==="Tab"&&vd.shiftKey){nd.onItemShiftTab();return}if(vd.target!==vd.currentTarget)return;const Ad=es$2(vd,nd.orientation.value,nd.dir.value);if(Ad!==void 0){if(vd.metaKey||vd.ctrlKey||vd.altKey||!qa.allowShiftKey&&vd.shiftKey)return;vd.preventDefault();let Nd=[...ud().map(Od=>Od.ref).filter(Od=>Od.dataset.disabled!=="")];if(Ad==="last")Nd.reverse();else if(Ad==="prev"||Ad==="next"){Ad==="prev"&&Nd.reverse();const Od=Nd.indexOf(vd.currentTarget);Nd=nd.loop.value?_d(Nd,Od+1):Nd.slice(Od+1)}nextTick$1(()=>ts$1(Nd,!1,fd.value))}}return(vd,Ad)=>(openBlock(),createBlock(unref(Jt$5),null,{default:withCtx(()=>[createVNode(unref(O$4),{ref_key:"primitiveElement",ref:dd,tabindex:ld.value?0:-1,"data-orientation":unref(nd).orientation.value,"data-active":vd.active,"data-disabled":vd.focusable?void 0:"",as:vd.as,"as-child":vd.asChild,onMousedown:Ad[0]||(Ad[0]=Nd=>{vd.focusable?unref(nd).onItemFocus(od.value):Nd.preventDefault()}),onFocus:Ad[1]||(Ad[1]=Nd=>unref(nd).onItemFocus(od.value)),onKeydown:md},{default:withCtx(()=>[renderSlot(vd.$slots,"default")]),_:3},8,["tabindex","data-orientation","data-active","data-disabled","as","as-child"])]),_:3}))}}),[lo$3,Ed]=Q$7("MenuContent"),so$2=defineComponent({__name:"MenuContentImpl",props:mergeDefaults({loop:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},disableOutsideScroll:{type:Boolean},trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},{...Zl$3}),emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus","dismiss"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=At$5(),ud=wa$1(),{trapFocus:dd,disableOutsidePointerEvents:pd,loop:fd}=toRefs(nd);Gn$4(),ha$1(pd.value);const md=ref$1(""),vd=ref$1(0),Ad=ref$1(0),Nd=ref$1(null),Od=ref$1("right"),kd=ref$1(0),Ld=ref$1(null),{createCollection:Gd}=Me$7(),{forwardRef:jd,currentElement:Fd}=R$7(),Ud=Gd(Fd);watch(Fd,pf=>{ld.onContentChange(pf)});const{handleTypeaheadSearch:qd}=ga$2(Ud);onUnmounted(()=>{window.clearTimeout(vd.value)});function zd(pf){var mf,Sf;return Od.value===((mf=Nd.value)==null?void 0:mf.side)&&vu$3(pf,(Sf=Nd.value)==null?void 0:Sf.area)}async function Wd(pf){var mf;od("openAutoFocus",pf),!pf.defaultPrevented&&(pf.preventDefault(),(mf=Fd.value)==null||mf.focus({preventScroll:!0}))}function Jd(pf){if(pf.defaultPrevented)return;const mf=pf.target.closest("[data-radix-menu-content]")===pf.currentTarget,Sf=pf.ctrlKey||pf.altKey||pf.metaKey,Tf=pf.key.length===1,Af=Bt$5(pf,document.activeElement,Fd.value,{loop:fd.value,arrowKeyOptions:"vertical",dir:ud==null?void 0:ud.dir.value,focus:!0,attributeName:"[data-radix-vue-collection-item]:not([data-disabled])"});if(Af)return Af==null?void 0:Af.focus();if(pf.code==="Space"||(mf&&(pf.key==="Tab"&&pf.preventDefault(),!Sf&&Tf&&qd(pf.key)),pf.target!==Fd.value)||!du$3.includes(pf.key))return;pf.preventDefault();const Ef=Ud.value;Wl$3.includes(pf.key)&&Ef.reverse(),$n$4(Ef)}function _f(pf){var mf,Sf;(Sf=(mf=pf==null?void 0:pf.currentTarget)==null?void 0:mf.contains)!=null&&Sf.call(mf,pf.target)||(window.clearTimeout(vd.value),md.value="")}function Xd(pf){var mf;if(!ua$2(pf))return;const Sf=pf.target,Tf=kd.value!==pf.clientX;if((mf=pf==null?void 0:pf.currentTarget)!=null&&mf.contains(Sf)&&Tf){const Af=pf.clientX>kd.value?"right":"left";Od.value=Af,kd.value=pf.clientX}}return Ed({onItemEnter:pf=>!!zd(pf),onItemLeave:pf=>{var mf;zd(pf)||((mf=Fd.value)==null||mf.focus(),Ld.value=null)},onTriggerLeave:pf=>!!zd(pf),searchRef:md,pointerGraceTimerRef:Ad,onPointerGraceIntentChange:pf=>{Nd.value=pf}}),(pf,mf)=>(openBlock(),createBlock(unref(Ya$2),{"as-child":"",trapped:unref(dd),onMountAutoFocus:Wd,onUnmountAutoFocus:mf[7]||(mf[7]=Sf=>od("closeAutoFocus",Sf))},{default:withCtx(()=>[createVNode(unref(yt$3),{"as-child":"","disable-outside-pointer-events":unref(pd),onEscapeKeyDown:mf[2]||(mf[2]=Sf=>od("escapeKeyDown",Sf)),onPointerDownOutside:mf[3]||(mf[3]=Sf=>od("pointerDownOutside",Sf)),onFocusOutside:mf[4]||(mf[4]=Sf=>od("focusOutside",Sf)),onInteractOutside:mf[5]||(mf[5]=Sf=>od("interactOutside",Sf)),onDismiss:mf[6]||(mf[6]=Sf=>od("dismiss"))},{default:withCtx(()=>[createVNode(unref(Ot$4),{"current-tab-stop-id":Ld.value,"onUpdate:currentTabStopId":mf[0]||(mf[0]=Sf=>Ld.value=Sf),"as-child":"",orientation:"vertical",dir:unref(ud).dir.value,loop:unref(fd),onEntryFocus:mf[1]||(mf[1]=Sf=>{od("entryFocus",Sf),unref(ud).isUsingKeyboardRef.value||Sf.preventDefault()})},{default:withCtx(()=>[createVNode(unref(Dt$4),{ref:unref(jd),role:"menu",as:pf.as,"as-child":pf.asChild,"aria-orientation":"vertical","data-radix-menu-content":"","data-state":unref(Qn$4)(unref(ld).open.value),dir:unref(ud).dir.value,side:pf.side,"side-offset":pf.sideOffset,align:pf.align,"align-offset":pf.alignOffset,"avoid-collisions":pf.avoidCollisions,"collision-boundary":pf.collisionBoundary,"collision-padding":pf.collisionPadding,"arrow-padding":pf.arrowPadding,"prioritize-position":pf.prioritizePosition,sticky:pf.sticky,"hide-when-detached":pf.hideWhenDetached,onKeydown:Jd,onBlur:_f,onPointermove:Xd},{default:withCtx(()=>[renderSlot(pf.$slots,"default")]),_:3},8,["as","as-child","data-state","dir","side","side-offset","align","align-offset","avoid-collisions","collision-boundary","collision-padding","arrow-padding","prioritize-position","sticky","hide-when-detached"])]),_:3},8,["current-tab-stop-id","dir","loop"])]),_:3},8,["disable-outside-pointer-events"])]),_:3},8,["trapped"]))}}),as$2=defineComponent({inheritAttrs:!1,__name:"MenuItemImpl",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,nd=lo$3(),{forwardRef:od}=R$7(),ld=ref$1(!1);async function ud(pd){if(!pd.defaultPrevented&&ua$2(pd)){if(qa.disabled)nd.onItemLeave(pd);else if(!nd.onItemEnter(pd)){const fd=pd.currentTarget;fd==null||fd.focus({preventScroll:!0})}}}async function dd(pd){await nextTick$1(),!pd.defaultPrevented&&ua$2(pd)&&nd.onItemLeave(pd)}return(pd,fd)=>(openBlock(),createBlock(unref(Jt$5),null,{default:withCtx(()=>[createVNode(unref(O$4),mergeProps({ref:unref(od),role:"menuitem",tabindex:"-1"},pd.$attrs,{as:pd.as,"as-child":pd.asChild,"data-radix-vue-collection-item":"","aria-disabled":pd.disabled||void 0,"data-disabled":pd.disabled?"":void 0,"data-highlighted":ld.value?"":void 0,onPointermove:ud,onPointerleave:dd,onFocus:fd[0]||(fd[0]=async md=>{await nextTick$1(),!(md.defaultPrevented||pd.disabled)&&(ld.value=!0)}),onBlur:fd[1]||(fd[1]=async md=>{await nextTick$1(),!md.defaultPrevented&&(ld.value=!1)})}),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16,["as","as-child","aria-disabled","data-disabled","data-highlighted"])]),_:3}))}}),_a$3=defineComponent({__name:"MenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{forwardRef:ld,currentElement:ud}=R$7(),dd=wa$1(),pd=lo$3(),fd=ref$1(!1);async function md(){const vd=ud.value;if(!nd.disabled&&vd){const Ad=new CustomEvent(iu$2,{bubbles:!0,cancelable:!0});od("select",Ad),await nextTick$1(),Ad.defaultPrevented?fd.value=!1:dd.onClose()}}return(vd,Ad)=>(openBlock(),createBlock(as$2,mergeProps(nd,{ref:unref(ld),onClick:md,onPointerdown:Ad[0]||(Ad[0]=()=>{fd.value=!0}),onPointerup:Ad[1]||(Ad[1]=async Nd=>{var Od;await nextTick$1(),!Nd.defaultPrevented&&(fd.value||(Od=Nd.currentTarget)==null||Od.click())}),onKeydown:Ad[2]||(Ad[2]=async Nd=>{const Od=unref(pd).searchRef.value!=="";vd.disabled||Od&&Nd.key===" "||unref(Dn$3).includes(Nd.key)&&(Nd.currentTarget.click(),Nd.preventDefault())})}),{default:withCtx(()=>[renderSlot(vd.$slots,"default")]),_:3},16))}}),[Pd,ns$2]=Q$7(["MenuCheckboxItem","MenuRadioItem"],"MenuItemIndicatorContext"),ro$2=defineComponent({__name:"MenuItemIndicator",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const qa=Pd({checked:ref$1(!1)});return(nd,od)=>(openBlock(),createBlock(unref(Pe$7),{present:nd.forceMount||unref(Fa$1)(unref(qa).checked.value)||unref(qa).checked.value===!0},{default:withCtx(()=>[createVNode(unref(O$4),{as:nd.as,"as-child":nd.asChild,"data-state":unref(eo$2)(unref(qa).checked.value)},{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},8,["as","as-child","data-state"])]),_:3},8,["present"]))}}),io$3=defineComponent({__name:"MenuCheckboxItem",props:{checked:{type:[Boolean,String],default:!1},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select","update:checked"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=ne$6(nd,"checked",od);return ns$2({checked:ld}),(ud,dd)=>(openBlock(),createBlock(_a$3,mergeProps({role:"menuitemcheckbox"},nd,{"aria-checked":unref(Fa$1)(unref(ld))?"mixed":unref(ld),"data-state":unref(eo$2)(unref(ld)),onSelect:dd[0]||(dd[0]=async pd=>{od("select",pd),unref(Fa$1)(unref(ld))?ld.value=!0:ld.value=!unref(ld)})}),{default:withCtx(()=>[renderSlot(ud.$slots,"default",{checked:unref(ld)})]),_:3},16,["aria-checked","data-state"]))}}),Dd=defineComponent({__name:"MenuRootContentModal",props:{loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=xe$5(nd,od),ud=At$5(),{forwardRef:dd,currentElement:pd}=R$7();return ya$1(pd),(fd,md)=>(openBlock(),createBlock(so$2,mergeProps(unref(ld),{ref:unref(dd),"trap-focus":unref(ud).open.value,"disable-outside-pointer-events":unref(ud).open.value,"disable-outside-scroll":!0,onDismiss:md[0]||(md[0]=vd=>unref(ud).onOpenChange(!1)),onFocusOutside:md[1]||(md[1]=withModifiers(vd=>od("focusOutside",vd),["prevent"]))}),{default:withCtx(()=>[renderSlot(fd.$slots,"default")]),_:3},16,["trap-focus","disable-outside-pointer-events"]))}}),$d$1=defineComponent({__name:"MenuRootContentNonModal",props:{loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa),od=At$5();return(ld,ud)=>(openBlock(),createBlock(so$2,mergeProps(unref(nd),{"trap-focus":!1,"disable-outside-pointer-events":!1,"disable-outside-scroll":!1,onDismiss:ud[0]||(ud[0]=dd=>unref(od).onOpenChange(!1))}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16))}}),uo$3=defineComponent({__name:"MenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa),od=At$5(),ld=wa$1();return(ud,dd)=>(openBlock(),createBlock(unref(Pe$7),{present:ud.forceMount||unref(od).open.value},{default:withCtx(()=>[unref(ld).modal.value?(openBlock(),createBlock(Dd,normalizeProps(mergeProps({key:0},{...ud.$attrs,...unref(nd)})),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16)):(openBlock(),createBlock($d$1,normalizeProps(mergeProps({key:1},{...ud.$attrs,...unref(nd)})),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),Qa$1=defineComponent({__name:"MenuGroup",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(O$4),mergeProps({role:"group"},qa),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),po$2=defineComponent({__name:"MenuPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(nt$4),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),[Bd,Id]=Q$7("MenuRadioGroup"),fo$2=defineComponent({__name:"MenuRadioGroup",props:{modelValue:{default:""},asChild:{type:Boolean},as:{}},emits:["update:modelValue"],setup(Ra,{emit:qa}){const nd=Ra,od=ne$6(nd,"modelValue",qa);return Id({modelValue:od,onValueChange:ld=>{od.value=ld}}),(ld,ud)=>(openBlock(),createBlock(Qa$1,normalizeProps(guardReactiveProps(nd)),{default:withCtx(()=>[renderSlot(ld.$slots,"default",{modelValue:unref(od)})]),_:3},16))}}),vo$1=defineComponent({__name:"MenuRadioItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{value:ld}=toRefs(nd),ud=Bd(),dd=computed(()=>ud.modelValue.value===(ld==null?void 0:ld.value));return ns$2({checked:dd}),(pd,fd)=>(openBlock(),createBlock(_a$3,mergeProps({role:"menuitemradio"},nd,{"aria-checked":dd.value,"data-state":unref(eo$2)(dd.value),onSelect:fd[0]||(fd[0]=async md=>{od("select",md),unref(ud).onValueChange(unref(ld))})}),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16,["aria-checked","data-state"]))}}),mo$3=defineComponent({__name:"MenuSeparator",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(O$4),mergeProps(qa,{role:"separator","aria-orientation":"horizontal"}),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),[os$2,Td]=Q$7("MenuSub"),ho$2=defineComponent({__name:"MenuSub",props:{open:{type:Boolean,default:void 0}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=ne$6(nd,"open",qa,{defaultValue:!1,passive:nd.open===void 0}),ld=At$5(),ud=ref$1(),dd=ref$1();return watchEffect(pd=>{(ld==null?void 0:ld.open.value)===!1&&(od.value=!1),pd(()=>od.value=!1)}),Ql$3({open:od,onOpenChange:pd=>{od.value=pd},content:dd,onContentChange:pd=>{dd.value=pd}}),Td({triggerId:"",contentId:"",trigger:ud,onTriggerChange:pd=>{ud.value=pd}}),(pd,fd)=>(openBlock(),createBlock(unref(Tt$4),null,{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3}))}}),yo$3=defineComponent({__name:"MenuSubContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},sideOffset:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean,default:!0},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa),od=At$5(),ld=wa$1(),ud=os$2(),{forwardRef:dd,currentElement:pd}=R$7();return ud.contentId||(ud.contentId=he$4(void 0,"radix-vue-menu-sub-content")),(fd,md)=>(openBlock(),createBlock(unref(Pe$7),{present:fd.forceMount||unref(od).open.value},{default:withCtx(()=>[createVNode(so$2,mergeProps(unref(nd),{id:unref(ud).contentId,ref:unref(dd),"aria-labelledby":unref(ud).triggerId,align:"start",side:unref(ld).dir.value==="rtl"?"left":"right","disable-outside-pointer-events":!1,"disable-outside-scroll":!1,"trap-focus":!1,onOpenAutoFocus:md[0]||(md[0]=withModifiers(vd=>{var Ad;unref(ld).isUsingKeyboardRef.value&&((Ad=unref(pd))==null||Ad.focus())},["prevent"])),onCloseAutoFocus:md[1]||(md[1]=withModifiers(()=>{},["prevent"])),onFocusOutside:md[2]||(md[2]=vd=>{vd.defaultPrevented||vd.target!==unref(ud).trigger.value&&unref(od).onOpenChange(!1)}),onEscapeKeyDown:md[3]||(md[3]=vd=>{unref(ld).onClose(),vd.preventDefault()}),onKeydown:md[4]||(md[4]=vd=>{var Ad,Nd;const Od=(Ad=vd.currentTarget)==null?void 0:Ad.contains(vd.target),kd=unref(pu$3)[unref(ld).dir.value].includes(vd.key);Od&&kd&&(unref(od).onOpenChange(!1),(Nd=unref(ud).trigger.value)==null||Nd.focus(),vd.preventDefault())})}),{default:withCtx(()=>[renderSlot(fd.$slots,"default")]),_:3},16,["id","aria-labelledby","side"])]),_:3},8,["present"]))}}),go$3=defineComponent({__name:"MenuSubTrigger",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,nd=At$5(),od=wa$1(),ld=os$2(),ud=lo$3(),dd=ref$1(null);ld.triggerId||(ld.triggerId=he$4(void 0,"radix-vue-menu-sub-trigger"));function pd(){dd.value&&window.clearTimeout(dd.value),dd.value=null}onUnmounted(()=>{pd()});function fd(Ad){!ua$2(Ad)||ud.onItemEnter(Ad)||!qa.disabled&&!nd.open.value&&!dd.value&&(ud.onPointerGraceIntentChange(null),dd.value=window.setTimeout(()=>{nd.onOpenChange(!0),pd()},100))}async function md(Ad){var Nd,Od;if(!ua$2(Ad))return;pd();const kd=(Nd=nd.content.value)==null?void 0:Nd.getBoundingClientRect();if(kd!=null&&kd.width){const Ld=(Od=nd.content.value)==null?void 0:Od.dataset.side,Gd=Ld==="right",jd=Gd?-5:5,Fd=kd[Gd?"left":"right"],Ud=kd[Gd?"right":"left"];ud.onPointerGraceIntentChange({area:[{x:Ad.clientX+jd,y:Ad.clientY},{x:Fd,y:kd.top},{x:Ud,y:kd.top},{x:Ud,y:kd.bottom},{x:Fd,y:kd.bottom}],side:Ld}),window.clearTimeout(ud.pointerGraceTimerRef.value),ud.pointerGraceTimerRef.value=window.setTimeout(()=>ud.onPointerGraceIntentChange(null),300)}else{if(ud.onTriggerLeave(Ad))return;ud.onPointerGraceIntentChange(null)}}async function vd(Ad){var Nd;const Od=ud.searchRef.value!=="";qa.disabled||Od&&Ad.key===" "||cu$4[od.dir.value].includes(Ad.key)&&(nd.onOpenChange(!0),await nextTick$1(),(Nd=nd.content.value)==null||Nd.focus(),Ad.preventDefault())}return(Ad,Nd)=>(openBlock(),createBlock(Za$1,{"as-child":""},{default:withCtx(()=>[createVNode(as$2,mergeProps(qa,{id:unref(ld).triggerId,ref:Od=>{var kd;(kd=unref(ld))==null||kd.onTriggerChange(Od==null?void 0:Od.$el)},"aria-haspopup":"menu","aria-expanded":unref(nd).open.value,"aria-controls":unref(ld).contentId,"data-state":unref(Qn$4)(unref(nd).open.value),onClick:Nd[0]||(Nd[0]=async Od=>{qa.disabled||Od.defaultPrevented||(Od.currentTarget.focus(),unref(nd).open.value||unref(nd).onOpenChange(!0))}),onPointermove:fd,onPointerleave:md,onKeydown:vd}),{default:withCtx(()=>[renderSlot(Ad.$slots,"default")]),_:3},16,["id","aria-expanded","aria-controls","data-state"])]),_:3}))}}),[ls$2,Rd]=Q$7("ContextMenuRoot"),em$1=defineComponent({inheritAttrs:!1,__name:"ContextMenuRoot",props:{dir:{},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{dir:ld,modal:ud}=toRefs(nd);R$7();const dd=be$9(ld),pd=ref$1(!1);return Rd({open:pd,onOpenChange:fd=>{pd.value=fd},dir:dd,modal:ud}),watch(pd,fd=>{od("update:open",fd)}),(fd,md)=>(openBlock(),createBlock(unref(oo$4),{open:pd.value,"onUpdate:open":md[0]||(md[0]=vd=>pd.value=vd),dir:unref(dd),modal:unref(ud)},{default:withCtx(()=>[renderSlot(fd.$slots,"default")]),_:3},8,["open","dir","modal"]))}});function Go$2(Ra){return Ra.pointerType!=="mouse"}const tm$1=defineComponent({inheritAttrs:!1,__name:"ContextMenuTrigger",props:{disabled:{type:Boolean,default:!1},asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const qa=Ra,{disabled:nd}=toRefs(qa),{forwardRef:od}=R$7(),ld=ls$2(),ud=ref$1({x:0,y:0}),dd=computed(()=>({getBoundingClientRect:()=>({width:0,height:0,left:ud.value.x,right:ud.value.x,top:ud.value.y,bottom:ud.value.y,...ud.value})})),pd=ref$1(0);function fd(){window.clearTimeout(pd.value)}function md(Od){ud.value={x:Od.clientX,y:Od.clientY},ld.onOpenChange(!0)}async function vd(Od){nd.value||(await nextTick$1(),Od.defaultPrevented||(fd(),md(Od),Od.preventDefault()))}async function Ad(Od){nd.value||(await nextTick$1(),Go$2(Od)&&!Od.defaultPrevented&&(fd(),pd.value=window.setTimeout(()=>md(Od),700)))}async function Nd(Od){nd.value||(await nextTick$1(),Go$2(Od)&&!Od.defaultPrevented&&fd())}return(Od,kd)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(unref(Za$1),{as:"template",element:dd.value},null,8,["element"]),createVNode(unref(O$4),mergeProps({ref:unref(od),as:Od.as,"as-child":Od.asChild,"data-state":unref(ld).open.value?"open":"closed","data-disabled":unref(nd)?"":void 0,style:{WebkitTouchCallout:"none"}},Od.$attrs,{onContextmenu:vd,onPointerdown:Ad,onPointermove:Nd,onPointercancel:Nd,onPointerup:Nd}),{default:withCtx(()=>[renderSlot(Od.$slots,"default")]),_:3},16,["as","as-child","data-state","data-disabled"])],64))}}),am$1=defineComponent({__name:"ContextMenuPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(po$2),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),nm$1=defineComponent({__name:"ContextMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},alignOffset:{default:0},avoidCollisions:{type:Boolean,default:!0},collisionBoundary:{default:()=>[]},collisionPadding:{default:0},sticky:{default:"partial"},hideWhenDetached:{type:Boolean,default:!1},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa);R$7();const od=ls$2(),ld=ref$1(!1);return(ud,dd)=>(openBlock(),createBlock(unref(uo$3),mergeProps(unref(nd),{side:"right","side-offset":2,align:"start",style:{"--radix-context-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-context-menu-content-available-width":"var(--radix-popper-available-width)","--radix-context-menu-content-available-height":"var(--radix-popper-available-height)","--radix-context-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-context-menu-trigger-height":"var(--radix-popper-anchor-height)"},onCloseAutoFocus:dd[0]||(dd[0]=pd=>{!pd.defaultPrevented&&ld.value&&pd.preventDefault(),ld.value=!1}),onInteractOutside:dd[1]||(dd[1]=pd=>{!pd.defaultPrevented&&!unref(od).modal.value&&(ld.value=!0)})}),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),lm=defineComponent({__name:"ContextMenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(Ra,{emit:qa}){const nd=Ra,od=Ae$6(qa);return R$7(),(ld,ud)=>(openBlock(),createBlock(unref(_a$3),normalizeProps(guardReactiveProps({...nd,...unref(od)})),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16))}}),rm$1=defineComponent({__name:"ContextMenuSeparator",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return R$7(),(nd,od)=>(openBlock(),createBlock(unref(mo$3),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),[is$4,oc$2]=Q$7("DropdownMenuRoot"),ah$1=defineComponent({__name:"DropdownMenuRoot",props:{defaultOpen:{type:Boolean},open:{type:Boolean,default:void 0},dir:{},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=qa;R$7();const ld=ne$6(nd,"open",od,{defaultValue:nd.defaultOpen,passive:nd.open===void 0}),ud=ref$1(),{modal:dd,dir:pd}=toRefs(nd),fd=be$9(pd);return oc$2({open:ld,onOpenChange:md=>{ld.value=md},onOpenToggle:()=>{ld.value=!ld.value},triggerId:"",triggerElement:ud,contentId:"",modal:dd,dir:fd}),(md,vd)=>(openBlock(),createBlock(unref(oo$4),{open:unref(ld),"onUpdate:open":vd[0]||(vd[0]=Ad=>isRef(ld)?ld.value=Ad:null),dir:unref(fd),modal:unref(dd)},{default:withCtx(()=>[renderSlot(md.$slots,"default",{open:unref(ld)})]),_:3},8,["open","dir","modal"]))}}),nh=defineComponent({__name:"DropdownMenuTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,nd=is$4(),{forwardRef:od,currentElement:ld}=R$7();return onMounted(()=>{nd.triggerElement=ld}),nd.triggerId||(nd.triggerId=he$4(void 0,"radix-vue-dropdown-menu-trigger")),(ud,dd)=>(openBlock(),createBlock(unref(Za$1),{"as-child":""},{default:withCtx(()=>[createVNode(unref(O$4),{id:unref(nd).triggerId,ref:unref(od),type:ud.as==="button"?"button":void 0,"as-child":qa.asChild,as:ud.as,"aria-haspopup":"menu","aria-expanded":unref(nd).open.value,"aria-controls":unref(nd).open.value?unref(nd).contentId:void 0,"data-disabled":ud.disabled?"":void 0,disabled:ud.disabled,"data-state":unref(nd).open.value?"open":"closed",onClick:dd[0]||(dd[0]=async pd=>{var fd;!ud.disabled&&pd.button===0&&pd.ctrlKey===!1&&((fd=unref(nd))==null||fd.onOpenToggle(),await nextTick$1(),unref(nd).open.value&&pd.preventDefault())}),onKeydown:dd[1]||(dd[1]=withKeys(pd=>{ud.disabled||(["Enter"," "].includes(pd.key)&&unref(nd).onOpenToggle(),pd.key==="ArrowDown"&&unref(nd).onOpenChange(!0),["Enter"," ","ArrowDown"].includes(pd.key)&&pd.preventDefault())},["enter","space","arrow-down"]))},{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},8,["id","type","as-child","as","aria-expanded","aria-controls","data-disabled","disabled","data-state"])]),_:3}))}}),oh=defineComponent({__name:"DropdownMenuPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(po$2),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),lh=defineComponent({__name:"DropdownMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa);R$7();const od=is$4(),ld=ref$1(!1);function ud(dd){dd.defaultPrevented||(ld.value||setTimeout(()=>{var pd;(pd=od.triggerElement.value)==null||pd.focus()},0),ld.value=!1,dd.preventDefault())}return od.contentId||(od.contentId=he$4(void 0,"radix-vue-dropdown-menu-content")),(dd,pd)=>{var fd;return openBlock(),createBlock(unref(uo$3),mergeProps(unref(nd),{id:unref(od).contentId,"aria-labelledby":(fd=unref(od))==null?void 0:fd.triggerId,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)"},onCloseAutoFocus:ud,onInteractOutside:pd[0]||(pd[0]=md=>{var vd;if(md.defaultPrevented)return;const Ad=md.detail.originalEvent,Nd=Ad.button===0&&Ad.ctrlKey===!0,Od=Ad.button===2||Nd;(!unref(od).modal.value||Od)&&(ld.value=!0),(vd=unref(od).triggerElement.value)!=null&&vd.contains(md.target)&&md.preventDefault()})}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["id","aria-labelledby"])}}}),rh=defineComponent({__name:"DropdownMenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(Ra,{emit:qa}){const nd=Ra,od=Ae$6(qa);return R$7(),(ld,ud)=>(openBlock(),createBlock(unref(_a$3),normalizeProps(guardReactiveProps({...nd,...unref(od)})),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16))}}),ch$1=defineComponent({__name:"DropdownMenuItemIndicator",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return R$7(),(nd,od)=>(openBlock(),createBlock(unref(ro$2),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),fh=defineComponent({__name:"DropdownMenuRadioGroup",props:{modelValue:{},asChild:{type:Boolean},as:{}},emits:["update:modelValue"],setup(Ra,{emit:qa}){const nd=Ra,od=Ae$6(qa);return R$7(),(ld,ud)=>(openBlock(),createBlock(unref(fo$2),normalizeProps(guardReactiveProps({...nd,...unref(od)})),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16))}}),vh=defineComponent({__name:"DropdownMenuRadioItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa);return R$7(),(od,ld)=>(openBlock(),createBlock(unref(vo$1),normalizeProps(guardReactiveProps(unref(nd))),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16))}}),[wo$2,rc$3]=Q$7("HoverCardRoot"),Eh=defineComponent({__name:"HoverCardRoot",props:{defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},openDelay:{default:700},closeDelay:{default:300}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{openDelay:ld,closeDelay:ud}=toRefs(nd);R$7();const dd=ne$6(nd,"open",od,{defaultValue:nd.defaultOpen,passive:nd.open===void 0}),pd=ref$1(0),fd=ref$1(0),md=ref$1(!1),vd=ref$1(!1),Ad=ref$1(!1),Nd=ref$1();function Od(){clearTimeout(fd.value),pd.value=window.setTimeout(()=>dd.value=!0,ld.value)}function kd(){clearTimeout(pd.value),!md.value&&!vd.value&&(fd.value=window.setTimeout(()=>dd.value=!1,ud.value))}function Ld(){dd.value=!1}return rc$3({open:dd,onOpenChange(Gd){dd.value=Gd},onOpen:Od,onClose:kd,onDismiss:Ld,hasSelectionRef:md,isPointerDownOnContentRef:vd,isPointerInTransitRef:Ad,triggerElement:Nd}),(Gd,jd)=>(openBlock(),createBlock(unref(Tt$4),null,{default:withCtx(()=>[renderSlot(Gd.$slots,"default",{open:unref(dd)})]),_:3}))}});function Tn$3(Ra){return qa=>qa.pointerType==="touch"?void 0:Ra()}function ic$2(Ra){const qa=[],nd=document.createTreeWalker(Ra,NodeFilter.SHOW_ELEMENT,{acceptNode:od=>od.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;nd.nextNode();)qa.push(nd.currentNode);return qa}const Ph=defineComponent({__name:"HoverCardTrigger",props:{asChild:{type:Boolean},as:{default:"a"}},setup(Ra){const{forwardRef:qa,currentElement:nd}=R$7(),od=wo$2();od.triggerElement=nd;function ld(){setTimeout(()=>{!od.isPointerInTransitRef.value&&!od.open.value&&od.onClose()},0)}return(ud,dd)=>(openBlock(),createBlock(unref(Rt$5),{"as-child":""},{default:withCtx(()=>[createVNode(unref(O$4),{ref:unref(qa),"as-child":ud.asChild,as:ud.as,"data-state":unref(od).open.value?"open":"closed","data-grace-area-trigger":"",onPointerenter:dd[0]||(dd[0]=pd=>unref(Tn$3)(unref(od).onOpen)(pd)),onPointerleave:dd[1]||(dd[1]=pd=>unref(Tn$3)(ld)(pd)),onFocus:dd[2]||(dd[2]=pd=>unref(od).onOpen()),onBlur:dd[3]||(dd[3]=pd=>unref(od).onClose())},{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},8,["as-child","as","data-state"])]),_:3}))}}),Dh=defineComponent({__name:"HoverCardPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(nt$4),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),uc$3=defineComponent({__name:"HoverCardContentImpl",props:{side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=It$4(nd),{forwardRef:ud,currentElement:dd}=R$7(),pd=wo$2(),{isPointerInTransit:fd,onPointerExit:md}=Ol$3(pd.triggerElement,dd);di$4(pd.isPointerInTransitRef,fd,{direction:"rtl"}),md(()=>{pd.onClose()});const vd=ref$1(!1);let Ad;watchEffect(Od=>{if(vd.value){const kd=document.body;Ad=kd.style.userSelect||kd.style.webkitUserSelect,kd.style.userSelect="none",kd.style.webkitUserSelect="none",Od(()=>{kd.style.userSelect=Ad,kd.style.webkitUserSelect=Ad})}});function Nd(){vd.value=!1,pd.isPointerDownOnContentRef.value=!1,nextTick$1(()=>{var Od;((Od=document.getSelection())==null?void 0:Od.toString())!==""&&(pd.hasSelectionRef.value=!0)})}return onMounted(()=>{dd.value&&(document.addEventListener("pointerup",Nd),ic$2(dd.value).forEach(Od=>Od.setAttribute("tabindex","-1")))}),onUnmounted(()=>{document.removeEventListener("pointerup",Nd),pd.hasSelectionRef.value=!1,pd.isPointerDownOnContentRef.value=!1}),(Od,kd)=>(openBlock(),createBlock(unref(yt$3),{"as-child":"","disable-outside-pointer-events":!1,onEscapeKeyDown:kd[1]||(kd[1]=Ld=>od("escapeKeyDown",Ld)),onPointerDownOutside:kd[2]||(kd[2]=Ld=>od("pointerDownOutside",Ld)),onFocusOutside:kd[3]||(kd[3]=withModifiers(Ld=>od("focusOutside",Ld),["prevent"])),onDismiss:unref(pd).onDismiss},{default:withCtx(()=>[createVNode(unref(Dt$4),mergeProps({...unref(ld),...Od.$attrs},{ref:unref(ud),"data-state":unref(pd).open.value?"open":"closed",style:{userSelect:vd.value?"text":void 0,WebkitUserSelect:vd.value?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"},onPointerdown:kd[0]||(kd[0]=Ld=>{Ld.currentTarget.contains(Ld.target)&&(vd.value=!0),unref(pd).hasSelectionRef.value=!1,unref(pd).isPointerDownOnContentRef.value=!0})}),{default:withCtx(()=>[renderSlot(Od.$slots,"default")]),_:3},16,["data-state","style"])]),_:3},8,["onDismiss"]))}}),$h=defineComponent({__name:"HoverCardContent",props:{forceMount:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa),{forwardRef:od}=R$7(),ld=wo$2();return(ud,dd)=>(openBlock(),createBlock(unref(Pe$7),{present:ud.forceMount||unref(ld).open.value},{default:withCtx(()=>[createVNode(uc$3,mergeProps(unref(nd),{ref:unref(od),onPointerenter:dd[0]||(dd[0]=pd=>unref(Tn$3)(unref(ld).onOpen)(pd))}),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16)]),_:3},8,["present"]))}}),Ih=defineComponent({__name:"Label",props:{for:{},asChild:{type:Boolean},as:{default:"label"}},setup(Ra){const qa=Ra;return R$7(),(nd,od)=>(openBlock(),createBlock(unref(O$4),mergeProps(qa,{onMousedown:od[0]||(od[0]=ld=>{!ld.defaultPrevented&&ld.detail>1&&ld.preventDefault()})}),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),[tn$4,Ic$2]=Q$7("MenubarRoot"),Nh=defineComponent({__name:"MenubarRoot",props:{modelValue:{},defaultValue:{},dir:{},loop:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{forwardRef:ld,currentElement:ud}=R$7(),{createCollection:dd}=Me$7("menubar");dd(ud);const pd=ne$6(nd,"modelValue",od,{defaultValue:nd.defaultValue??"",passive:nd.modelValue===void 0}),fd=ref$1(null),{dir:md,loop:vd}=toRefs(nd),Ad=be$9(md);return Ic$2({modelValue:pd,dir:Ad,loop:vd,onMenuOpen:Nd=>{pd.value=Nd,fd.value=Nd},onMenuClose:()=>{pd.value=""},onMenuToggle:Nd=>{pd.value=pd.value?"":Nd,fd.value=Nd}}),(Nd,Od)=>(openBlock(),createBlock(unref(Ot$4),{"current-tab-stop-id":fd.value,"onUpdate:currentTabStopId":Od[0]||(Od[0]=kd=>fd.value=kd),orientation:"horizontal",loop:unref(vd),dir:unref(Ad),"as-child":""},{default:withCtx(()=>[createVNode(unref(O$4),{ref:unref(ld),role:"menubar"},{default:withCtx(()=>[renderSlot(Nd.$slots,"default",{modelValue:unref(pd)})]),_:3},512)]),_:3},8,["current-tab-stop-id","loop","dir"]))}}),[_o$2,Tc$1]=Q$7("MenubarMenu"),Lh=defineComponent({__name:"MenubarMenu",props:{value:{}},setup(Ra){const qa=he$4(Ra.value),nd=tn$4();R$7();const od=ref$1(),ld=ref$1(!1),ud=computed(()=>nd.modelValue.value===qa);return watch(ud,()=>{ud.value||(ld.value=!1)}),Tc$1({value:qa,triggerElement:od,triggerId:qa,contentId:"",wasKeyboardTriggerOpenRef:ld}),(dd,pd)=>(openBlock(),createBlock(unref(oo$4),{open:ud.value,modal:!1,dir:unref(nd).dir.value,"onUpdate:open":pd[0]||(pd[0]=fd=>{fd||unref(nd).onMenuClose()})},{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},8,["open","dir"]))}}),zh=defineComponent({__name:"MenubarTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=tn$4(),nd=_o$2(),{forwardRef:od,currentElement:ld}=R$7(),ud=ref$1(!1),dd=computed(()=>qa.modelValue.value===nd.value);return onMounted(()=>{nd.triggerElement=ld}),(pd,fd)=>(openBlock(),createBlock(unref(kt$4),{"as-child":"",focusable:!pd.disabled,"tab-stop-id":unref(nd).value},{default:withCtx(()=>[createVNode(unref(Za$1),{"as-child":""},{default:withCtx(()=>[createVNode(unref(O$4),{id:unref(nd).triggerId,ref:unref(od),as:pd.as,type:pd.as==="button"?"button":void 0,role:"menuitem","aria-haspopup":"menu","aria-expanded":dd.value,"aria-controls":dd.value?unref(nd).contentId:void 0,"data-highlighted":ud.value?"":void 0,"data-state":dd.value?"open":"closed","data-disabled":pd.disabled?"":void 0,disabled:pd.disabled,"data-value":unref(nd).value,"data-radix-vue-collection-item":"",onPointerdown:fd[0]||(fd[0]=md=>{!pd.disabled&&md.button===0&&md.ctrlKey===!1&&(unref(qa).onMenuOpen(unref(nd).value),dd.value||md.preventDefault())}),onPointerenter:fd[1]||(fd[1]=()=>{var md;unref(qa).modelValue.value&&!dd.value&&(unref(qa).onMenuOpen(unref(nd).value),(md=unref(ld))==null||md.focus())}),onKeydown:fd[2]||(fd[2]=withKeys(md=>{pd.disabled||(["Enter"," "].includes(md.key)&&unref(qa).onMenuToggle(unref(nd).value),md.key==="ArrowDown"&&unref(qa).onMenuOpen(unref(nd).value),["Enter"," ","ArrowDown"].includes(md.key)&&(unref(nd).wasKeyboardTriggerOpenRef.value=!0,md.preventDefault()))},["enter","space","arrow-down"])),onFocus:fd[3]||(fd[3]=md=>ud.value=!0),onBlur:fd[4]||(fd[4]=md=>ud.value=!1)},{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},8,["id","as","type","aria-expanded","aria-controls","data-highlighted","data-state","data-disabled","disabled","data-value"])]),_:3})]),_:3},8,["focusable","tab-stop-id"]))}}),Kh=defineComponent({__name:"MenubarPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(po$2),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),Hh=defineComponent({__name:"MenubarContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{},align:{default:"start"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa);R$7();const od=tn$4(),ld=_o$2();ld.contentId||(ld.contentId=he$4(void 0,"radix-vue-menubar-content"));const{injectCollection:ud}=Me$7("menubar"),dd=ud(),pd=ref$1(!1);function fd(md){const vd=md.target.hasAttribute("data-radix-menubar-subtrigger"),Ad=(od.dir.value==="rtl"?"ArrowRight":"ArrowLeft")===md.key;if(!Ad&&vd)return;let Nd=dd.value.map(Ld=>Ld.dataset.value);Ad&&Nd.reverse();const Od=Nd.indexOf(ld.value);Nd=od.loop.value?qn$3(Nd,Od+1):Nd.slice(Od+1);const[kd]=Nd;kd&&od.onMenuOpen(kd)}return(md,vd)=>(openBlock(),createBlock(unref(uo$3),mergeProps(unref(nd),{id:unref(ld).contentId,"data-radix-menubar-content":"","aria-labelledby":unref(ld).triggerId,style:{"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"},onCloseAutoFocus:vd[0]||(vd[0]=Ad=>{var Nd;!unref(od).modelValue.value&&!pd.value&&((Nd=unref(ld).triggerElement.value)==null||Nd.focus()),pd.value=!1,Ad.preventDefault()}),onFocusOutside:vd[1]||(vd[1]=Ad=>{const Nd=Ad.target;unref(dd).some(Od=>Od.contains(Nd))&&Ad.preventDefault()}),onInteractOutside:vd[2]||(vd[2]=Ad=>{pd.value=!0}),onEntryFocus:vd[3]||(vd[3]=Ad=>{unref(ld).wasKeyboardTriggerOpenRef.value||Ad.preventDefault()}),onKeydown:withKeys(fd,["arrow-right","arrow-left"])}),{default:withCtx(()=>[renderSlot(md.$slots,"default")]),_:3},16,["id","aria-labelledby"]))}}),jh=defineComponent({__name:"MenubarItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(Ra,{emit:qa}){const nd=Ra,od=Ae$6(qa);return R$7(),(ld,ud)=>(openBlock(),createBlock(unref(_a$3),normalizeProps(guardReactiveProps({...nd,...unref(od)})),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16))}}),Gh=defineComponent({__name:"MenubarSeparator",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return R$7(),(nd,od)=>(openBlock(),createBlock(unref(mo$3),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),qh=defineComponent({__name:"MenubarCheckboxItem",props:{checked:{type:[Boolean,String]},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select","update:checked"],setup(Ra,{emit:qa}){const nd=Ra,od=Ae$6(qa);return R$7(),(ld,ud)=>(openBlock(),createBlock(unref(io$3),normalizeProps(guardReactiveProps({...nd,...unref(od)})),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16))}}),Yh=defineComponent({__name:"MenubarItemIndicator",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return R$7(),(nd,od)=>(openBlock(),createBlock(unref(ro$2),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),Qh=defineComponent({__name:"MenubarSub",props:{defaultOpen:{type:Boolean},open:{type:Boolean,default:void 0}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=qa;R$7();const ld=ne$6(nd,"open",od,{defaultValue:nd.defaultOpen??!1,passive:nd.open===void 0});return(ud,dd)=>(openBlock(),createBlock(unref(ho$2),{open:unref(ld),"onUpdate:open":dd[0]||(dd[0]=pd=>isRef(ld)?ld.value=pd:null)},{default:withCtx(()=>[renderSlot(ud.$slots,"default",{open:unref(ld)})]),_:3},8,["open"]))}}),ey=defineComponent({__name:"MenubarSubContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},sideOffset:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa);R$7();const{injectCollection:od}=Me$7("menubar"),ld=tn$4(),ud=_o$2(),dd=od();function pd(fd){if(fd.target.hasAttribute("data-radix-menubar-subtrigger"))return;let md=dd.value.map(Nd=>Nd.dataset.value);const vd=md.indexOf(ud.value);md=ld.loop.value?qn$3(md,vd+1):md.slice(vd+1);const[Ad]=md;Ad&&ld.onMenuOpen(Ad)}return(fd,md)=>(openBlock(),createBlock(unref(yo$3),mergeProps(unref(nd),{"data-radix-menubar-content":"",style:{"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"},onKeydown:withKeys(pd,["arrow-right"])}),{default:withCtx(()=>[renderSlot(fd.$slots,"default")]),_:3},16))}}),ty=defineComponent({__name:"MenubarSubTrigger",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return R$7(),(nd,od)=>(openBlock(),createBlock(unref(go$3),mergeProps(qa,{"data-radix-menubar-subtrigger":""}),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}});function ms$3(Ra){const{disabled:qa}=Ra,nd=ref$1(),od=ia$1(),ld=()=>window.clearTimeout(nd.value),ud=Nd=>{ld(),!qa.value&&(od.trigger(),nd.value=window.setTimeout(()=>{ud(60)},Nd))},dd=()=>{ud(400)},pd=()=>{ld()},fd=ref$1(!1),md=computed(()=>$e$4(Ra.target)),vd=Nd=>{Nd.button!==0||fd.value||(Nd.preventDefault(),fd.value=!0,dd())},Ad=()=>{fd.value=!1,pd()};return qe$3&&(Le$6(md||window,"pointerdown",vd),Le$6(window,"pointerup",Ad),Le$6(window,"pointercancel",Ad)),{isPressed:fd,onTrigger:od.on}}function Yo$2(Ra,qa=ref$1({})){return Sl$3(()=>new $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5(Ra.value,qa.value))}function Vc$2(Ra,qa=ref$1({})){return Sl$3(()=>new $6c7bd7858deea686$export$cd11ab140839f11d(Ra.value,qa.value))}function Xo$2(Ra,qa,nd){let od=Ra==="+"?qa+nd:qa-nd;if(qa%1!==0||nd%1!==0){const ld=qa.toString().split("."),ud=nd.toString().split("."),dd=ld[1]&&ld[1].length||0,pd=ud[1]&&ud[1].length||0,fd=10**Math.max(dd,pd);qa=Math.round(qa*fd),nd=Math.round(nd*fd),od=Ra==="+"?qa+nd:qa-nd,od/=fd}return od}const Fc$2=["value","name","disabled","required"],[Eo$2,Nc$2]=Q$7("NumberFieldRoot"),cy$1=defineComponent({inheritAttrs:!1,__name:"NumberFieldRoot",props:{defaultValue:{default:void 0},modelValue:{},min:{},max:{},step:{default:1},formatOptions:{},locale:{default:"en-US"},disabled:{type:Boolean},required:{type:Boolean},name:{},id:{},asChild:{type:Boolean},as:{default:"div"}},emits:["update:modelValue"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{disabled:ld,min:ud,max:dd,step:pd,locale:fd,formatOptions:md,id:vd}=toRefs(nd),Ad=ne$6(nd,"modelValue",od,{defaultValue:nd.defaultValue,passive:nd.modelValue===void 0}),{primitiveElement:Nd,currentElement:Od}=Ie$5(),kd=Je$4(Od),Ld=ref$1(),Gd=computed(()=>Tf(Ad.value)===ud.value||(ud.value&&!isNaN(Ad.value)?Xo$2("-",Ad.value,pd.value)<ud.value:!1)),jd=computed(()=>Tf(Ad.value)===dd.value||(dd.value&&!isNaN(Ad.value)?Xo$2("+",Ad.value,pd.value)>dd.value:!1));function Fd(Ef,Nf=1){var If;const Gf=Jd.parse(((If=Ld.value)==null?void 0:If.value)??"");nd.disabled||(isNaN(Gf)?Ad.value=ud.value??0:Ef==="increase"?Ad.value=Tf(Gf+(pd.value??1)*Nf):Ad.value=Tf(Gf-(pd.value??1)*Nf))}function Ud(Ef=1){Fd("increase",Ef)}function qd(Ef=1){Fd("decrease",Ef)}function zd(Ef){Ef==="min"&&ud.value!==void 0?Ad.value=Tf(ud.value):Ef==="max"&&dd.value!==void 0&&(Ad.value=Tf(dd.value))}const Wd=Yo$2(fd,md),Jd=Vc$2(fd,md),_f=computed(()=>Wd.resolvedOptions().maximumFractionDigits>0?"decimal":"numeric"),Xd=Yo$2(fd,md),pf=computed(()=>isNaN(Ad.value)?"":Xd.format(Ad.value));function mf(Ef){return Jd.isValidPartialNumber(Ef,ud.value,dd.value)}function Sf(Ef){Ld.value&&(Ld.value.value=Ef)}function Tf(Ef){let Nf;return pd.value===void 0||isNaN(pd.value)?Nf=Wt$4(Ef,ud.value,dd.value):Nf=Nr$4(Ef,ud.value,dd.value,pd.value),Nf=Jd.parse(Wd.format(Nf)),Nf}function Af(Ef){const Nf=Jd.parse(Ef);return Ad.value=Tf(Nf),Ef.length?Sf(pf.value):Sf(Ef)}return Nc$2({modelValue:Ad,handleDecrease:qd,handleIncrease:Ud,handleMinMaxValue:zd,inputMode:_f,inputEl:Ld,onInputElement:Ef=>Ld.value=Ef,textValue:pf,validate:mf,applyInputValue:Af,disabled:ld,max:dd,min:ud,isDecreaseDisabled:Gd,isIncreaseDisabled:jd,id:vd}),(Ef,Nf)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(unref(O$4),mergeProps(Ef.$attrs,{ref_key:"primitiveElement",ref:Nd,role:"group",as:Ef.as,"as-child":Ef.asChild,"data-disabled":unref(ld)?"":void 0}),{default:withCtx(()=>[renderSlot(Ef.$slots,"default",{modelValue:unref(Ad),textValue:pf.value})]),_:3},16,["as","as-child","data-disabled"]),unref(kd)?(openBlock(),createElementBlock("input",{key:0,type:"text",tabindex:"-1","aria-hidden":"true",value:unref(Ad),name:nd.name,disabled:nd.disabled,required:nd.required,style:{transform:"translateX(-100%)",position:"absolute",pointerEvents:"none",opacity:0,margin:0}},null,8,Fc$2)):createCommentVNode("",!0)],64))}}),py$1=defineComponent({__name:"NumberFieldInput",props:{asChild:{type:Boolean},as:{default:"input"}},setup(Ra){const qa=Ra,{primitiveElement:nd,currentElement:od}=Ie$5(),ld=Eo$2();function ud(dd){dd.target===document.activeElement&&(Math.abs(dd.deltaY)<=Math.abs(dd.deltaX)||(dd.preventDefault(),dd.deltaY>0?ld.handleIncrease():dd.deltaY<0&&ld.handleDecrease()))}return onMounted(()=>{ld.onInputElement(od.value)}),(dd,pd)=>(openBlock(),createBlock(unref(O$4),mergeProps(qa,{id:unref(ld).id.value,ref_key:"primitiveElement",ref:nd,role:"spinbutton",type:"text",tabindex:"0",value:unref(ld).textValue.value,inputmode:unref(ld).inputMode.value,disabled:unref(ld).disabled.value?"":void 0,"data-disabled":unref(ld).disabled.value?"":void 0,autocomplete:"off",autocorrect:"off",spellcheck:"false","aria-roledescription":"Number field","aria-valuenow":unref(ld).modelValue.value,"aria-valuemin":unref(ld).min.value,"aria-valuemax":unref(ld).max.value,onKeydown:[pd[0]||(pd[0]=withKeys(withModifiers(fd=>unref(ld).handleIncrease(),["prevent"]),["up"])),pd[1]||(pd[1]=withKeys(withModifiers(fd=>unref(ld).handleDecrease(),["prevent"]),["down"])),pd[2]||(pd[2]=withKeys(withModifiers(fd=>unref(ld).handleIncrease(10),["prevent"]),["page-up"])),pd[3]||(pd[3]=withKeys(withModifiers(fd=>unref(ld).handleDecrease(10),["prevent"]),["page-down"])),pd[4]||(pd[4]=withKeys(withModifiers(fd=>unref(ld).handleMinMaxValue("min"),["prevent"]),["home"])),pd[5]||(pd[5]=withKeys(withModifiers(fd=>unref(ld).handleMinMaxValue("max"),["prevent"]),["end"])),pd[7]||(pd[7]=withKeys(fd=>{var md;return unref(ld).applyInputValue((md=fd.target)==null?void 0:md.value)},["enter"]))],onWheel:ud,onBeforeinput:pd[6]||(pd[6]=fd=>{const md=fd.target;let vd=md.value.slice(0,md.selectionStart??void 0)+(fd.data??"")+md.value.slice(md.selectionEnd??void 0);unref(ld).validate(vd)||fd.preventDefault()}),onBlur:pd[8]||(pd[8]=fd=>{var md;return unref(ld).applyInputValue((md=fd.target)==null?void 0:md.value)})}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["id","value","inputmode","disabled","data-disabled","aria-valuenow","aria-valuemin","aria-valuemax"]))}}),fy$1=defineComponent({__name:"NumberFieldIncrement",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,nd=Eo$2(),od=computed(()=>{var fd;return((fd=nd.disabled)==null?void 0:fd.value)||qa.disabled||nd.isIncreaseDisabled.value}),{primitiveElement:ld,currentElement:ud}=Ie$5(),{isPressed:dd,onTrigger:pd}=ms$3({target:ud,disabled:od});return pd(()=>{nd.handleIncrease()}),(fd,md)=>(openBlock(),createBlock(unref(O$4),mergeProps(qa,{ref_key:"primitiveElement",ref:ld,tabindex:"-1","aria-label":"Increase",type:fd.as==="button"?"button":void 0,style:{userSelect:unref(dd)?"none":void 0},disabled:od.value?"":void 0,"data-disabled":od.value?"":void 0,"data-pressed":unref(dd)?"true":void 0,onContextmenu:md[0]||(md[0]=withModifiers(()=>{},["prevent"]))}),{default:withCtx(()=>[renderSlot(fd.$slots,"default")]),_:3},16,["type","style","disabled","data-disabled","data-pressed"]))}}),vy$1=defineComponent({__name:"NumberFieldDecrement",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,nd=Eo$2(),od=computed(()=>{var fd;return((fd=nd.disabled)==null?void 0:fd.value)||qa.disabled||nd.isDecreaseDisabled.value}),{primitiveElement:ld,currentElement:ud}=Ie$5(),{isPressed:dd,onTrigger:pd}=ms$3({target:ud,disabled:od});return pd(()=>{nd.handleDecrease()}),(fd,md)=>(openBlock(),createBlock(unref(O$4),mergeProps(qa,{ref_key:"primitiveElement",ref:ld,tabindex:"-1","aria-label":"Decrease",type:fd.as==="button"?"button":void 0,style:{userSelect:unref(dd)?"none":void 0},disabled:od.value?"":void 0,"data-disabled":od.value?"":void 0,"data-pressed":unref(dd)?"true":void 0,onContextmenu:md[0]||(md[0]=withModifiers(()=>{},["prevent"]))}),{default:withCtx(()=>[renderSlot(fd.$slots,"default")]),_:3},16,["type","style","disabled","data-disabled","data-pressed"]))}}),Tp$1=["default-value"],Rp$1=defineComponent({__name:"BubbleSelect",props:{autocomplete:{},autofocus:{type:Boolean},disabled:{type:Boolean},form:{},multiple:{type:Boolean},name:{},required:{type:Boolean},size:{},value:{}},setup(Ra){const qa=Ra,{value:nd}=toRefs(qa),od=ref$1();return(ld,ud)=>(openBlock(),createBlock(unref(Zt$4),{"as-child":""},{default:withCtx(()=>[withDirectives(createBaseVNode("select",mergeProps({ref_key:"selectElement",ref:od},qa,{"onUpdate:modelValue":ud[0]||(ud[0]=dd=>isRef(nd)?nd.value=dd:null),"default-value":unref(nd)}),[renderSlot(ld.$slots,"default")],16,Tp$1),[[vModelSelect,unref(nd)]])]),_:3}))}}),Ap$1={key:0,value:""},[bt$6,$s$2]=Q$7("SelectRoot"),[Op$1,kp$1]=Q$7("SelectRoot"),ky$1=defineComponent({__name:"SelectRoot",props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean},defaultValue:{default:""},modelValue:{default:void 0},dir:{},name:{},autocomplete:{},disabled:{type:Boolean},required:{type:Boolean}},emits:["update:modelValue","update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=ne$6(nd,"modelValue",od,{defaultValue:nd.defaultValue,passive:nd.modelValue===void 0}),ud=ne$6(nd,"open",od,{defaultValue:nd.defaultOpen,passive:nd.open===void 0}),dd=ref$1(),pd=ref$1(),fd=ref$1({x:0,y:0}),md=ref$1(!1),{required:vd,disabled:Ad,dir:Nd}=toRefs(nd),Od=be$9(Nd);$s$2({triggerElement:dd,onTriggerChange:jd=>{dd.value=jd},valueElement:pd,onValueElementChange:jd=>{pd.value=jd},valueElementHasChildren:md,onValueElementHasChildrenChange:jd=>{md.value=jd},contentId:"",modelValue:ld,onValueChange:jd=>{ld.value=jd},open:ud,required:vd,onOpenChange:jd=>{ud.value=jd},dir:Od,triggerPointerDownPosRef:fd,disabled:Ad});const kd=Je$4(dd),Ld=ref$1(new Set),Gd=computed(()=>Array.from(Ld.value).map(jd=>{var Fd;return(Fd=jd.props)==null?void 0:Fd.value}).join(";"));return kp$1({onNativeOptionAdd:jd=>{Ld.value.add(jd)},onNativeOptionRemove:jd=>{Ld.value.delete(jd)}}),(jd,Fd)=>(openBlock(),createBlock(unref(Tt$4),null,{default:withCtx(()=>[renderSlot(jd.$slots,"default",{modelValue:unref(ld),open:unref(ud)}),unref(kd)?(openBlock(),createBlock(Rp$1,mergeProps({key:Gd.value},jd.$attrs,{"aria-hidden":"true",tabindex:"-1",required:unref(vd),name:jd.name,autocomplete:jd.autocomplete,disabled:unref(Ad),value:unref(ld),onChange:Fd[0]||(Fd[0]=Ud=>ld.value=Ud.target.value)}),{default:withCtx(()=>[unref(ld)===void 0?(openBlock(),createElementBlock("option",Ap$1)):createCommentVNode("",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(Array.from(Ld.value),Ud=>(openBlock(),createBlock(resolveDynamicComponent(Ud),mergeProps({ref_for:!0},Ud.props,{key:Ud.key??""}),null,16))),128))]),_:1},16,["required","name","autocomplete","disabled","value"])):createCommentVNode("",!0)]),_:3}))}}),Mp$1=[" ","Enter","ArrowUp","ArrowDown"],Vp$1=[" ","Enter"],at$7=10;function Bs$3(Ra){return Ra===""||Kt$2(Ra)}const My=defineComponent({__name:"SelectTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,nd=bt$6(),od=computed(()=>{var Od;return((Od=nd.disabled)==null?void 0:Od.value)||qa.disabled}),{forwardRef:ld,currentElement:ud}=R$7();nd.contentId||(nd.contentId=he$4(void 0,"radix-vue-select-content")),onMounted(()=>{nd.triggerElement=ud});const{injectCollection:dd}=Me$7(),pd=dd(),{search:fd,handleTypeaheadSearch:md,resetTypeahead:vd}=ga$2(pd);function Ad(){od.value||(nd.onOpenChange(!0),vd())}function Nd(Od){Ad(),nd.triggerPointerDownPosRef.value={x:Math.round(Od.pageX),y:Math.round(Od.pageY)}}return(Od,kd)=>(openBlock(),createBlock(unref(Rt$5),{"as-child":""},{default:withCtx(()=>{var Ld,Gd,jd,Fd;return[createVNode(unref(O$4),{ref:unref(ld),role:"combobox",type:Od.as==="button"?"button":void 0,"aria-controls":unref(nd).contentId,"aria-expanded":unref(nd).open.value||!1,"aria-required":(Ld=unref(nd).required)==null?void 0:Ld.value,"aria-autocomplete":"none",disabled:od.value,dir:(Gd=unref(nd))==null?void 0:Gd.dir.value,"data-state":(jd=unref(nd))!=null&&jd.open.value?"open":"closed","data-disabled":od.value?"":void 0,"data-placeholder":unref(Bs$3)((Fd=unref(nd).modelValue)==null?void 0:Fd.value)?"":void 0,"as-child":Od.asChild,as:Od.as,onClick:kd[0]||(kd[0]=Ud=>{var qd;(qd=Ud==null?void 0:Ud.currentTarget)==null||qd.focus()}),onPointerdown:kd[1]||(kd[1]=Ud=>{if(Ud.pointerType==="touch")return Ud.preventDefault();const qd=Ud.target;qd.hasPointerCapture(Ud.pointerId)&&qd.releasePointerCapture(Ud.pointerId),Ud.button===0&&Ud.ctrlKey===!1&&(Nd(Ud),Ud.preventDefault())}),onPointerup:kd[2]||(kd[2]=withModifiers(Ud=>{Ud.pointerType==="touch"&&Nd(Ud)},["prevent"])),onKeydown:kd[3]||(kd[3]=Ud=>{const qd=unref(fd)!=="";!(Ud.ctrlKey||Ud.altKey||Ud.metaKey)&&Ud.key.length===1&&qd&&Ud.key===" "||(unref(md)(Ud.key),unref(Mp$1).includes(Ud.key)&&(Ad(),Ud.preventDefault()))})},{default:withCtx(()=>[renderSlot(Od.$slots,"default")]),_:3},8,["type","aria-controls","aria-expanded","aria-required","disabled","dir","data-state","data-disabled","data-placeholder","as-child","as"])]}),_:3}))}}),Vy=defineComponent({__name:"SelectPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(nt$4),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),[$o$2,Fp$1]=Q$7("SelectItemAlignedPosition"),Np$1=defineComponent({inheritAttrs:!1,__name:"SelectItemAlignedPosition",props:{asChild:{type:Boolean},as:{}},emits:["placed"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{injectCollection:ld}=Me$7(),ud=bt$6(),dd=Ct$5(),pd=ld(),fd=ref$1(!1),md=ref$1(!0),vd=ref$1(),{forwardRef:Ad,currentElement:Nd}=R$7(),{viewport:Od,selectedItem:kd,selectedItemText:Ld,focusSelectedItem:Gd}=dd;function jd(){if(ud.triggerElement.value&&ud.valueElement.value&&vd.value&&Nd.value&&Od!=null&&Od.value&&kd!=null&&kd.value&&Ld!=null&&Ld.value){const qd=ud.triggerElement.value.getBoundingClientRect(),zd=Nd.value.getBoundingClientRect(),Wd=ud.valueElement.value.getBoundingClientRect(),Jd=Ld.value.getBoundingClientRect();if(ud.dir.value!=="rtl"){const Cf=Jd.left-zd.left,xf=Wd.left-Cf,Yf=qd.left-xf,dh=qd.width+Yf,Rh=Math.max(dh,zd.width),th=window.innerWidth-at$7,Bf=Wt$4(xf,at$7,th-Rh);vd.value.style.minWidth=`${dh}px`,vd.value.style.left=`${Bf}px`}else{const Cf=zd.right-Jd.right,xf=window.innerWidth-Wd.right-Cf,Yf=window.innerWidth-qd.right-xf,dh=qd.width+Yf,Rh=Math.max(dh,zd.width),th=window.innerWidth-at$7,Bf=Wt$4(xf,at$7,th-Rh);vd.value.style.minWidth=`${dh}px`,vd.value.style.right=`${Bf}px`}const _f=pd.value,Xd=window.innerHeight-at$7*2,pf=Od.value.scrollHeight,mf=window.getComputedStyle(Nd.value),Sf=Number.parseInt(mf.borderTopWidth,10),Tf=Number.parseInt(mf.paddingTop,10),Af=Number.parseInt(mf.borderBottomWidth,10),Ef=Number.parseInt(mf.paddingBottom,10),Nf=Sf+Tf+pf+Ef+Af,If=Math.min(kd.value.offsetHeight*5,Nf),Gf=window.getComputedStyle(Od.value),Qf=Number.parseInt(Gf.paddingTop,10),Xf=Number.parseInt(Gf.paddingBottom,10),ph=qd.top+qd.height/2-at$7,qf=Xd-ph,Lf=kd.value.offsetHeight/2,Wf=kd.value.offsetTop+Lf,Jf=Sf+Tf+Wf,Kf=Nf-Jf;if(Jf<=ph){const Cf=kd.value===_f[_f.length-1];vd.value.style.bottom="0px";const xf=Nd.value.clientHeight-Od.value.offsetTop-Od.value.offsetHeight,Yf=Math.max(qf,Lf+(Cf?Xf:0)+xf+Af),dh=Jf+Yf;vd.value.style.height=`${dh}px`}else{const Cf=kd.value===_f[0];vd.value.style.top="0px";const xf=Math.max(ph,Sf+Od.value.offsetTop+(Cf?Qf:0)+Lf)+Kf;vd.value.style.height=`${xf}px`,Od.value.scrollTop=Jf-ph+Od.value.offsetTop}vd.value.style.margin=`${at$7}px 0`,vd.value.style.minHeight=`${If}px`,vd.value.style.maxHeight=`${Xd}px`,od("placed"),requestAnimationFrame(()=>fd.value=!0)}}const Fd=ref$1("");onMounted(async()=>{await nextTick$1(),jd(),Nd.value&&(Fd.value=window.getComputedStyle(Nd.value).zIndex)});function Ud(qd){qd&&md.value===!0&&(jd(),Gd==null||Gd(),md.value=!1)}return Fp$1({contentWrapper:vd,shouldExpandOnScrollRef:fd,onScrollButtonChange:Ud}),(qd,zd)=>(openBlock(),createElementBlock("div",{ref_key:"contentWrapperElement",ref:vd,style:normalizeStyle({display:"flex",flexDirection:"column",position:"fixed",zIndex:Fd.value})},[createVNode(unref(O$4),mergeProps({ref:unref(Ad),style:{boxSizing:"border-box",maxHeight:"100%"}},{...qd.$attrs,...nd}),{default:withCtx(()=>[renderSlot(qd.$slots,"default")]),_:3},16)],4))}}),Lp$1=defineComponent({__name:"SelectPopperPosition",props:{side:{},sideOffset:{},align:{default:"start"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{default:at$7},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const qa=It$4(Ra);return(nd,od)=>(openBlock(),createBlock(unref(Dt$4),mergeProps(unref(qa),{style:{boxSizing:"border-box","--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)"}}),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),Ft$5={onViewportChange:()=>{},itemTextRefCallback:()=>{},itemRefCallback:()=>{}},[Ct$5,zp$1]=Q$7("SelectContent"),Kp$1=defineComponent({__name:"SelectContentImpl",props:{position:{default:"item-aligned"},bodyLock:{type:Boolean,default:!0},side:{},sideOffset:{},align:{default:"start"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=bt$6();Gn$4(),ha$1(nd.bodyLock);const{createCollection:ud}=Me$7(),dd=ref$1();ya$1(dd);const pd=ud(dd),{search:fd,handleTypeaheadSearch:md}=ga$2(pd),vd=ref$1(),Ad=ref$1(),Nd=ref$1(),Od=ref$1(!1),kd=ref$1(!1);function Ld(){Ad.value&&dd.value&&$n$4([Ad.value,dd.value])}watch(Od,()=>{Ld()});const{onOpenChange:Gd,triggerPointerDownPosRef:jd}=ld;watchEffect(zd=>{if(!dd.value)return;let Wd={x:0,y:0};const Jd=Xd=>{var pf,mf;Wd={x:Math.abs(Math.round(Xd.pageX)-(((pf=jd.value)==null?void 0:pf.x)??0)),y:Math.abs(Math.round(Xd.pageY)-(((mf=jd.value)==null?void 0:mf.y)??0))}},_f=Xd=>{var pf;Xd.pointerType!=="touch"&&(Wd.x<=10&&Wd.y<=10?Xd.preventDefault():(pf=dd.value)!=null&&pf.contains(Xd.target)||Gd(!1),document.removeEventListener("pointermove",Jd),jd.value=null)};jd.value!==null&&(document.addEventListener("pointermove",Jd),document.addEventListener("pointerup",_f,{capture:!0,once:!0})),zd(()=>{document.removeEventListener("pointermove",Jd),document.removeEventListener("pointerup",_f,{capture:!0})})});function Fd(zd){const Wd=zd.ctrlKey||zd.altKey||zd.metaKey;if(zd.key==="Tab"&&zd.preventDefault(),!Wd&&zd.key.length===1&&md(zd.key),["ArrowUp","ArrowDown","Home","End"].includes(zd.key)){let Jd=pd.value;if(["ArrowUp","End"].includes(zd.key)&&(Jd=Jd.slice().reverse()),["ArrowUp","ArrowDown"].includes(zd.key)){const _f=zd.target,Xd=Jd.indexOf(_f);Jd=Jd.slice(Xd+1)}setTimeout(()=>$n$4(Jd)),zd.preventDefault()}}const Ud=computed(()=>nd.position==="popper"?nd:{}),qd=It$4(Ud.value);return zp$1({content:dd,viewport:vd,onViewportChange:zd=>{vd.value=zd},itemRefCallback:(zd,Wd,Jd)=>{var _f,Xd;const pf=!kd.value&&!Jd;(((_f=ld.modelValue)==null?void 0:_f.value)!==void 0&&((Xd=ld.modelValue)==null?void 0:Xd.value)===Wd||pf)&&(Ad.value=zd,pf&&(kd.value=!0))},selectedItem:Ad,selectedItemText:Nd,onItemLeave:()=>{var zd;(zd=dd.value)==null||zd.focus()},itemTextRefCallback:(zd,Wd,Jd)=>{var _f,Xd;const pf=!kd.value&&!Jd;(((_f=ld.modelValue)==null?void 0:_f.value)!==void 0&&((Xd=ld.modelValue)==null?void 0:Xd.value)===Wd||pf)&&(Nd.value=zd)},focusSelectedItem:Ld,position:nd.position,isPositioned:Od,searchRef:fd}),(zd,Wd)=>(openBlock(),createBlock(unref(Ya$2),{"as-child":"",onMountAutoFocus:Wd[6]||(Wd[6]=withModifiers(()=>{},["prevent"])),onUnmountAutoFocus:Wd[7]||(Wd[7]=Jd=>{var _f;od("closeAutoFocus",Jd),!Jd.defaultPrevented&&((_f=unref(ld).triggerElement.value)==null||_f.focus({preventScroll:!0}),Jd.preventDefault())})},{default:withCtx(()=>[createVNode(unref(yt$3),{"as-child":"","disable-outside-pointer-events":"",onFocusOutside:Wd[2]||(Wd[2]=withModifiers(()=>{},["prevent"])),onDismiss:Wd[3]||(Wd[3]=Jd=>unref(ld).onOpenChange(!1)),onEscapeKeyDown:Wd[4]||(Wd[4]=Jd=>od("escapeKeyDown",Jd)),onPointerDownOutside:Wd[5]||(Wd[5]=Jd=>od("pointerDownOutside",Jd))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(zd.position==="popper"?Lp$1:Np$1),mergeProps({...zd.$attrs,...unref(qd)},{id:unref(ld).contentId,ref:Jd=>{dd.value=unref($e$4)(Jd)},role:"listbox","data-state":unref(ld).open.value?"open":"closed",dir:unref(ld).dir.value,style:{display:"flex",flexDirection:"column",outline:"none"},onContextmenu:Wd[0]||(Wd[0]=withModifiers(()=>{},["prevent"])),onPlaced:Wd[1]||(Wd[1]=Jd=>Od.value=!0),onKeydown:Fd}),{default:withCtx(()=>[renderSlot(zd.$slots,"default")]),_:3},16,["id","data-state","dir","onKeydown"]))]),_:3})]),_:3}))}}),Hp$1=defineComponent({inheritAttrs:!1,__name:"SelectProvider",props:{context:{}},setup(Ra){return $s$2(Ra.context),(qa,nd)=>renderSlot(qa.$slots,"default")}}),Wp$1={key:1},Fy=defineComponent({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean},position:{},bodyLock:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(Ra,{emit:qa}){const nd=Ra,od=xe$5(nd,qa),ld=bt$6(),ud=ref$1();onMounted(()=>{ud.value=new DocumentFragment});const dd=ref$1(),pd=computed(()=>nd.forceMount||ld.open.value);return(fd,md)=>{var vd;return pd.value?(openBlock(),createBlock(unref(Pe$7),{key:0,ref_key:"presenceRef",ref:dd,present:!0},{default:withCtx(()=>[createVNode(Kp$1,normalizeProps(guardReactiveProps({...unref(od),...fd.$attrs})),{default:withCtx(()=>[renderSlot(fd.$slots,"default")]),_:3},16)]),_:3},512)):!((vd=dd.value)!=null&&vd.present)&&ud.value?(openBlock(),createElementBlock("div",Wp$1,[(openBlock(),createBlock(Teleport,{to:ud.value},[createVNode(Hp$1,{context:unref(ld)},{default:withCtx(()=>[renderSlot(fd.$slots,"default")]),_:3},8,["context"])],8,["to"]))])):createCommentVNode("",!0)}}}),[Is$3,jp$1]=Q$7("SelectItem"),zy=defineComponent({__name:"SelectItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,{disabled:nd}=toRefs(qa),od=bt$6(),ld=Ct$5(Ft$5),{forwardRef:ud,currentElement:dd}=R$7(),pd=computed(()=>{var Ld;return((Ld=od.modelValue)==null?void 0:Ld.value)===qa.value}),fd=ref$1(!1),md=ref$1(qa.textValue??""),vd=he$4(void 0,"radix-vue-select-item-text");async function Ad(Ld){await nextTick$1(),!(Ld!=null&&Ld.defaultPrevented)&&(nd.value||(od.onValueChange(qa.value),od.onOpenChange(!1)))}async function Nd(Ld){var Gd;await nextTick$1(),!Ld.defaultPrevented&&(nd.value?(Gd=ld.onItemLeave)==null||Gd.call(ld):Ld.currentTarget.focus({preventScroll:!0}))}async function Od(Ld){var Gd;await nextTick$1(),!Ld.defaultPrevented&&Ld.currentTarget===document.activeElement&&((Gd=ld.onItemLeave)==null||Gd.call(ld))}async function kd(Ld){var Gd;await nextTick$1(),!(Ld.defaultPrevented||((Gd=ld.searchRef)==null?void 0:Gd.value)!==""&&Ld.key===" ")&&(Vp$1.includes(Ld.key)&&Ad(),Ld.key===" "&&Ld.preventDefault())}if(qa.value==="")throw new Error("A <SelectItem /> 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 onMounted(()=>{dd.value&&ld.itemRefCallback(dd.value,qa.value,qa.disabled)}),jp$1({value:qa.value,disabled:nd,textId:vd,isSelected:pd,onItemTextChange:Ld=>{md.value=((md.value||(Ld==null?void 0:Ld.textContent))??"").trim()}}),(Ld,Gd)=>(openBlock(),createBlock(unref(O$4),{ref:unref(ud),role:"option","data-radix-vue-collection-item":"","aria-labelledby":unref(vd),"data-highlighted":fd.value?"":void 0,"aria-selected":pd.value,"data-state":pd.value?"checked":"unchecked","aria-disabled":unref(nd)||void 0,"data-disabled":unref(nd)?"":void 0,tabindex:unref(nd)?void 0:-1,as:Ld.as,"as-child":Ld.asChild,onFocus:Gd[0]||(Gd[0]=jd=>fd.value=!0),onBlur:Gd[1]||(Gd[1]=jd=>fd.value=!1),onPointerup:Ad,onPointerdown:Gd[2]||(Gd[2]=jd=>{jd.currentTarget.focus({preventScroll:!0})}),onTouchend:Gd[3]||(Gd[3]=withModifiers(()=>{},["prevent","stop"])),onPointermove:Nd,onPointerleave:Od,onKeydown:kd},{default:withCtx(()=>[renderSlot(Ld.$slots,"default")]),_:3},8,["aria-labelledby","data-highlighted","aria-selected","data-state","aria-disabled","data-disabled","tabindex","as","as-child"]))}}),Ky=defineComponent({__name:"SelectItemIndicator",props:{asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const qa=Ra,nd=Is$3();return(od,ld)=>unref(nd).isSelected.value?(openBlock(),createBlock(unref(O$4),mergeProps({key:0,"aria-hidden":"true"},qa),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16)):createCommentVNode("",!0)}}),jy=defineComponent({inheritAttrs:!1,__name:"SelectItemText",props:{asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const qa=Ra,nd=bt$6(),od=Ct$5(Ft$5),ld=Op$1(),ud=Is$3(),{forwardRef:dd,currentElement:pd}=R$7(),fd=computed(()=>{var md;return h$2("option",{key:ud.value,value:ud.value,disabled:ud.disabled.value,textContent:(md=pd.value)==null?void 0:md.textContent})});return onMounted(()=>{pd.value&&(ud.onItemTextChange(pd.value),od.itemTextRefCallback(pd.value,ud.value,ud.disabled.value),ld.onNativeOptionAdd(fd.value))}),onBeforeUnmount(()=>{ld.onNativeOptionRemove(fd.value)}),(md,vd)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(unref(O$4),mergeProps({id:unref(ud).textId,ref:unref(dd)},{...qa,...md.$attrs}),{default:withCtx(()=>[renderSlot(md.$slots,"default")]),_:3},16,["id"]),unref(ud).isSelected.value&&unref(nd).valueElement.value&&!unref(nd).valueElementHasChildren.value?(openBlock(),createBlock(Teleport,{key:0,to:unref(nd).valueElement.value},[renderSlot(md.$slots,"default")],8,["to"])):createCommentVNode("",!0)],64))}}),Uy=defineComponent({__name:"SelectViewport",props:{nonce:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,{nonce:nd}=toRefs(qa),od=Xa$2(nd),ld=Ct$5(Ft$5),ud=ld.position==="item-aligned"?$o$2():void 0,{forwardRef:dd,currentElement:pd}=R$7();onMounted(()=>{ld==null||ld.onViewportChange(pd.value)});const fd=ref$1(0);function md(vd){const Ad=vd.currentTarget,{shouldExpandOnScrollRef:Nd,contentWrapper:Od}=ud??{};if(Nd!=null&&Nd.value&&Od!=null&&Od.value){const kd=Math.abs(fd.value-Ad.scrollTop);if(kd>0){const Ld=window.innerHeight-at$7*2,Gd=Number.parseFloat(Od.value.style.minHeight),jd=Number.parseFloat(Od.value.style.height),Fd=Math.max(Gd,jd);if(Fd<Ld){const Ud=Fd+kd,qd=Math.min(Ld,Ud),zd=Ud-qd;Od.value.style.height=`${qd}px`,Od.value.style.bottom==="0px"&&(Ad.scrollTop=zd>0?zd:0,Od.value.style.justifyContent="flex-end")}}}fd.value=Ad.scrollTop}return(vd,Ad)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(unref(O$4),mergeProps({ref:unref(dd),"data-radix-select-viewport":"",role:"presentation"},{...vd.$attrs,...qa},{style:{position:"relative",flex:1,overflow:"auto"},onScroll:md}),{default:withCtx(()=>[renderSlot(vd.$slots,"default")]),_:3},16),createVNode(unref(O$4),{as:"style",nonce:unref(od)},{default:withCtx(()=>[createTextVNode(" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-radix-select-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-radix-select-viewport]::-webkit-scrollbar { display: none; } ")]),_:1},8,["nonce"])],64))}}),Ts$3=defineComponent({__name:"SelectScrollButtonImpl",emits:["autoScroll"],setup(Ra,{emit:qa}){const nd=qa,{injectCollection:od}=Me$7(),ld=od(),ud=Ct$5(Ft$5),dd=ref$1(null);function pd(){dd.value!==null&&(window.clearInterval(dd.value),dd.value=null)}watchEffect(()=>{const vd=ld.value.find(Ad=>Ad===document.activeElement);vd==null||vd.scrollIntoView({block:"nearest"})});function fd(){dd.value===null&&(dd.value=window.setInterval(()=>{nd("autoScroll")},50))}function md(){var vd;(vd=ud.onItemLeave)==null||vd.call(ud),dd.value===null&&(dd.value=window.setInterval(()=>{nd("autoScroll")},50))}return onBeforeUnmount(()=>pd()),(vd,Ad)=>{var Nd;return openBlock(),createBlock(unref(O$4),mergeProps({"aria-hidden":"true",style:{flexShrink:0}},(Nd=vd.$parent)==null?void 0:Nd.$props,{onPointerdown:fd,onPointermove:md,onPointerleave:Ad[0]||(Ad[0]=()=>{pd()})}),{default:withCtx(()=>[renderSlot(vd.$slots,"default")]),_:3},16)}}}),Gy=defineComponent({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ct$5(Ft$5),nd=qa.position==="item-aligned"?$o$2():void 0,{forwardRef:od,currentElement:ld}=R$7(),ud=ref$1(!1);return watchEffect(dd=>{var pd,fd;if((pd=qa.viewport)!=null&&pd.value&&(fd=qa.isPositioned)!=null&&fd.value){let md=function(){ud.value=vd.scrollTop>0};const vd=qa.viewport.value;md(),vd.addEventListener("scroll",md),dd(()=>vd.removeEventListener("scroll",md))}}),watch(ld,()=>{ld.value&&(nd==null||nd.onScrollButtonChange(ld.value))}),(dd,pd)=>ud.value?(openBlock(),createBlock(Ts$3,{key:0,ref:unref(od),onAutoScroll:pd[0]||(pd[0]=()=>{const{viewport:fd,selectedItem:md}=unref(qa);fd!=null&&fd.value&&md!=null&&md.value&&(fd.value.scrollTop=fd.value.scrollTop-md.value.offsetHeight)})},{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},512)):createCommentVNode("",!0)}}),qy=defineComponent({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ct$5(Ft$5),nd=qa.position==="item-aligned"?$o$2():void 0,{forwardRef:od,currentElement:ld}=R$7(),ud=ref$1(!1);return watchEffect(dd=>{var pd,fd;if((pd=qa.viewport)!=null&&pd.value&&(fd=qa.isPositioned)!=null&&fd.value){let md=function(){const Ad=vd.scrollHeight-vd.clientHeight;ud.value=Math.ceil(vd.scrollTop)<Ad};const vd=qa.viewport.value;md(),vd.addEventListener("scroll",md),dd(()=>vd.removeEventListener("scroll",md))}}),watch(ld,()=>{ld.value&&(nd==null||nd.onScrollButtonChange(ld.value))}),(dd,pd)=>ud.value?(openBlock(),createBlock(Ts$3,{key:0,ref:unref(od),onAutoScroll:pd[0]||(pd[0]=()=>{const{viewport:fd,selectedItem:md}=unref(qa);fd!=null&&fd.value&&md!=null&&md.value&&(fd.value.scrollTop=fd.value.scrollTop+md.value.offsetHeight)})},{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},512)):createCommentVNode("",!0)}}),Yy=defineComponent({__name:"SelectValue",props:{placeholder:{default:""},asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const{forwardRef:qa,currentElement:nd}=R$7(),od=bt$6(),ld=useSlots();return onBeforeMount(()=>{var ud;const dd=!!Ua$3((ud=ld==null?void 0:ld.default)==null?void 0:ud.call(ld)).length;od.onValueElementHasChildrenChange(dd)}),onMounted(()=>{od.valueElement=nd}),(ud,dd)=>(openBlock(),createBlock(unref(O$4),{ref:unref(qa),as:ud.as,"as-child":ud.asChild,style:{pointerEvents:"none"}},{default:withCtx(()=>{var pd;return[unref(Bs$3)((pd=unref(od).modelValue)==null?void 0:pd.value)?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(ud.placeholder),1)],64)):renderSlot(ud.$slots,"default",{key:1})]}),_:3},8,["as","as-child"]))}}),Xy=defineComponent({__name:"SelectIcon",props:{asChild:{type:Boolean},as:{default:"span"}},setup(Ra){return(qa,nd)=>(openBlock(),createBlock(unref(O$4),{"aria-hidden":"true",as:qa.as,"as-child":qa.asChild},{default:withCtx(()=>[renderSlot(qa.$slots,"default",{},()=>[createTextVNode("▼")])]),_:3},8,["as","as-child"]))}}),Rs$1=defineComponent({__name:"BaseSeparator",props:{orientation:{default:"horizontal"},decorative:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,nd=["horizontal","vertical"];function od(pd){return nd.includes(pd)}const ld=computed(()=>od(qa.orientation)?qa.orientation:"horizontal"),ud=computed(()=>ld.value==="vertical"?qa.orientation:void 0),dd=computed(()=>qa.decorative?{role:"none"}:{"aria-orientation":ud.value,role:"separator"});return(pd,fd)=>(openBlock(),createBlock(unref(O$4),mergeProps({as:pd.as,"as-child":pd.asChild,"data-orientation":ld.value},dd.value),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16,["as","as-child","data-orientation"]))}}),qp$1=defineComponent({__name:"Separator",props:{orientation:{default:"horizontal"},decorative:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(Rs$1,normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}});function hf(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}hf();const kf=["name","disabled","required","value","checked","data-state","data-disabled"],[Mf,Vf]=Q$7("SwitchRoot"),cg$1=defineComponent({__name:"SwitchRoot",props:{defaultChecked:{type:Boolean},checked:{type:Boolean,default:void 0},disabled:{type:Boolean},required:{type:Boolean},name:{},id:{},value:{default:"on"},asChild:{type:Boolean},as:{default:"button"}},emits:["update:checked"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{disabled:ld}=toRefs(nd),ud=ne$6(nd,"checked",od,{defaultValue:nd.defaultChecked,passive:nd.checked===void 0});function dd(){ld.value||(ud.value=!ud.value)}const{forwardRef:pd,currentElement:fd}=R$7(),md=Je$4(fd),vd=computed(()=>{var Ad;return nd.id&&fd.value?(Ad=document.querySelector(`[for="${nd.id}"]`))==null?void 0:Ad.innerText:void 0});return Vf({checked:ud,toggleCheck:dd,disabled:ld}),(Ad,Nd)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(unref(O$4),mergeProps(Ad.$attrs,{id:Ad.id,ref:unref(pd),role:"switch",type:Ad.as==="button"?"button":void 0,value:Ad.value,"aria-label":Ad.$attrs["aria-label"]||vd.value,"aria-checked":unref(ud),"aria-required":Ad.required,"data-state":unref(ud)?"checked":"unchecked","data-disabled":unref(ld)?"":void 0,"as-child":Ad.asChild,as:Ad.as,disabled:unref(ld),onClick:dd,onKeydown:withKeys(withModifiers(dd,["prevent"]),["enter"])}),{default:withCtx(()=>[renderSlot(Ad.$slots,"default",{checked:unref(ud)})]),_:3},16,["id","type","value","aria-label","aria-checked","aria-required","data-state","data-disabled","as-child","as","disabled","onKeydown"]),unref(md)?(openBlock(),createElementBlock("input",{key:0,type:"checkbox",name:Ad.name,tabindex:"-1","aria-hidden":"true",disabled:unref(ld),required:Ad.required,value:Ad.value,checked:!!unref(ud),"data-state":unref(ud)?"checked":"unchecked","data-disabled":unref(ld)?"":void 0,style:{transform:"translateX(-100%)",position:"absolute",pointerEvents:"none",opacity:0,margin:0}},null,8,kf)):createCommentVNode("",!0)],64))}}),pg=defineComponent({__name:"SwitchThumb",props:{asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const qa=Mf();return R$7(),(nd,od)=>{var ld;return openBlock(),createBlock(unref(O$4),{"data-state":(ld=unref(qa).checked)!=null&&ld.value?"checked":"unchecked","data-disabled":unref(qa).disabled.value?"":void 0,"as-child":nd.asChild,as:nd.as},{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},8,["data-state","data-disabled","as-child","as"])}}}),[pn$4,Ff]=Q$7("TabsRoot"),fg=defineComponent({__name:"TabsRoot",props:{defaultValue:{},orientation:{default:"horizontal"},dir:{},activationMode:{default:"automatic"},modelValue:{},asChild:{type:Boolean},as:{}},emits:["update:modelValue"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{orientation:ld,dir:ud}=toRefs(nd),dd=be$9(ud);R$7();const pd=ne$6(nd,"modelValue",od,{defaultValue:nd.defaultValue,passive:nd.modelValue===void 0}),fd=ref$1();return Ff({modelValue:pd,changeModelValue:md=>{pd.value=md},orientation:ld,dir:dd,activationMode:nd.activationMode,baseId:he$4(void 0,"radix-vue-tabs"),tabsList:fd}),(md,vd)=>(openBlock(),createBlock(unref(O$4),{dir:unref(dd),"data-orientation":unref(ld),"as-child":md.asChild,as:md.as},{default:withCtx(()=>[renderSlot(md.$slots,"default",{modelValue:unref(pd)})]),_:3},8,["dir","data-orientation","as-child","as"]))}}),vg=defineComponent({__name:"TabsList",props:{loop:{type:Boolean,default:!0},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,{loop:nd}=toRefs(qa),{forwardRef:od,currentElement:ld}=R$7(),ud=pn$4();return ud.tabsList=ld,(dd,pd)=>(openBlock(),createBlock(unref(Ot$4),{"as-child":"",orientation:unref(ud).orientation.value,dir:unref(ud).dir.value,loop:unref(nd)},{default:withCtx(()=>[createVNode(unref(O$4),{ref:unref(od),role:"tablist","as-child":dd.asChild,as:dd.as,"aria-orientation":unref(ud).orientation.value},{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},8,["as-child","as","aria-orientation"])]),_:3},8,["orientation","dir","loop"]))}});function or$3(Ra,qa){return`${Ra}-trigger-${qa}`}function lr$2(Ra,qa){return`${Ra}-content-${qa}`}const mg=defineComponent({__name:"TabsContent",props:{value:{},forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,{forwardRef:nd}=R$7(),od=pn$4(),ld=computed(()=>or$3(od.baseId,qa.value)),ud=computed(()=>lr$2(od.baseId,qa.value)),dd=computed(()=>qa.value===od.modelValue.value),pd=ref$1(dd.value);return onMounted(()=>{requestAnimationFrame(()=>{pd.value=!1})}),(fd,md)=>(openBlock(),createBlock(unref(Pe$7),{present:dd.value,"force-mount":""},{default:withCtx(({present:vd})=>[createVNode(unref(O$4),{id:ud.value,ref:unref(nd),"as-child":fd.asChild,as:fd.as,role:"tabpanel","data-state":dd.value?"active":"inactive","data-orientation":unref(od).orientation.value,"aria-labelledby":ld.value,hidden:!vd.value,tabindex:"0",style:normalizeStyle({animationDuration:pd.value?"0s":void 0})},{default:withCtx(()=>[fd.forceMount||dd.value?renderSlot(fd.$slots,"default",{key:0}):createCommentVNode("",!0)]),_:2},1032,["id","as-child","as","data-state","data-orientation","aria-labelledby","hidden","style"])]),_:3},8,["present"]))}}),hg=defineComponent({__name:"TabsTrigger",props:{value:{},disabled:{type:Boolean,default:!1},asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,{forwardRef:nd}=R$7(),od=pn$4(),ld=computed(()=>or$3(od.baseId,qa.value)),ud=computed(()=>lr$2(od.baseId,qa.value)),dd=computed(()=>qa.value===od.modelValue.value);return(pd,fd)=>(openBlock(),createBlock(unref(kt$4),{"as-child":"",focusable:!pd.disabled,active:dd.value},{default:withCtx(()=>[createVNode(unref(O$4),{id:ld.value,ref:unref(nd),role:"tab",type:pd.as==="button"?"button":void 0,as:pd.as,"as-child":pd.asChild,"aria-selected":dd.value?"true":"false","aria-controls":ud.value,"data-state":dd.value?"active":"inactive",disabled:pd.disabled,"data-disabled":pd.disabled?"":void 0,"data-orientation":unref(od).orientation.value,onMousedown:fd[0]||(fd[0]=withModifiers(md=>{!pd.disabled&&md.ctrlKey===!1?unref(od).changeModelValue(pd.value):md.preventDefault()},["left"])),onKeydown:fd[1]||(fd[1]=withKeys(md=>unref(od).changeModelValue(pd.value),["enter","space"])),onFocus:fd[2]||(fd[2]=()=>{const md=unref(od).activationMode!=="manual";!dd.value&&!pd.disabled&&md&&unref(od).changeModelValue(pd.value)})},{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},8,["id","type","as","as-child","aria-selected","aria-controls","data-state","disabled","data-disabled","data-orientation"])]),_:3},8,["focusable","active"]))}}),dr$3="tooltip.open",[Oo$2,lv]=Q$7("TooltipProvider"),Mg=defineComponent({inheritAttrs:!1,__name:"TooltipProvider",props:{delayDuration:{default:700},skipDelayDuration:{default:300},disableHoverableContent:{type:Boolean,default:!1},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean,default:!1}},setup(Ra){const qa=Ra,{delayDuration:nd,skipDelayDuration:od,disableHoverableContent:ld,disableClosingTrigger:ud,ignoreNonKeyboardFocus:dd,disabled:pd}=toRefs(qa);R$7();const fd=ref$1(!0),md=ref$1(!1),{start:vd,stop:Ad}=Wn$3(()=>{fd.value=!0},od,{immediate:!1});return lv({isOpenDelayed:fd,delayDuration:nd,onOpen(){Ad(),fd.value=!1},onClose(){vd()},isPointerInTransitRef:md,disableHoverableContent:ld,disableClosingTrigger:ud,disabled:pd,ignoreNonKeyboardFocus:dd}),(Nd,Od)=>renderSlot(Nd.$slots,"default")}}),[mn$4,sv]=Q$7("TooltipRoot"),Vg=defineComponent({__name:"TooltipRoot",props:{defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},delayDuration:{default:void 0},disableHoverableContent:{type:Boolean,default:void 0},disableClosingTrigger:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},ignoreNonKeyboardFocus:{type:Boolean,default:void 0}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=qa;R$7();const ld=Oo$2(),ud=computed(()=>nd.disableHoverableContent??ld.disableHoverableContent.value),dd=computed(()=>nd.disableClosingTrigger??ld.disableClosingTrigger.value),pd=computed(()=>nd.disabled??ld.disabled.value),fd=computed(()=>nd.delayDuration??ld.delayDuration.value),md=computed(()=>nd.ignoreNonKeyboardFocus??ld.ignoreNonKeyboardFocus.value),vd=ne$6(nd,"open",od,{defaultValue:nd.defaultOpen,passive:nd.open===void 0});watch(vd,Ud=>{ld.onClose&&(Ud?(ld.onOpen(),document.dispatchEvent(new CustomEvent(dr$3))):ld.onClose())});const Ad=ref$1(!1),Nd=ref$1(),Od=computed(()=>vd.value?Ad.value?"delayed-open":"instant-open":"closed"),{start:kd,stop:Ld}=Wn$3(()=>{Ad.value=!0,vd.value=!0},fd,{immediate:!1});function Gd(){Ld(),Ad.value=!1,vd.value=!0}function jd(){Ld(),vd.value=!1}function Fd(){kd()}return sv({contentId:"",open:vd,stateAttribute:Od,trigger:Nd,onTriggerChange(Ud){Nd.value=Ud},onTriggerEnter(){ld.isOpenDelayed.value?Fd():Gd()},onTriggerLeave(){ud.value?jd():Ld()},onOpen:Gd,onClose:jd,disableHoverableContent:ud,disableClosingTrigger:dd,disabled:pd,ignoreNonKeyboardFocus:md}),(Ud,qd)=>(openBlock(),createBlock(unref(Tt$4),null,{default:withCtx(()=>[renderSlot(Ud.$slots,"default",{open:unref(vd)})]),_:3}))}}),Fg=defineComponent({__name:"TooltipTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,nd=mn$4(),od=Oo$2();nd.contentId||(nd.contentId=he$4(void 0,"radix-vue-tooltip-content"));const{forwardRef:ld,currentElement:ud}=R$7(),dd=ref$1(!1),pd=ref$1(!1),fd=computed(()=>nd.disabled.value?{}:{click:Ld,focus:Od,pointermove:Ad,pointerleave:Nd,pointerdown:vd,blur:kd});onMounted(()=>{nd.onTriggerChange(ud.value)});function md(){setTimeout(()=>{dd.value=!1},1)}function vd(){dd.value=!0,document.addEventListener("pointerup",md,{once:!0})}function Ad(Gd){Gd.pointerType!=="touch"&&!pd.value&&!od.isPointerInTransitRef.value&&(nd.onTriggerEnter(),pd.value=!0)}function Nd(){nd.onTriggerLeave(),pd.value=!1}function Od(Gd){var jd,Fd;dd.value||nd.ignoreNonKeyboardFocus.value&&!((Fd=(jd=Gd.target).matches)!=null&&Fd.call(jd,":focus-visible"))||nd.onOpen()}function kd(){nd.onClose()}function Ld(){nd.disableClosingTrigger.value||nd.onClose()}return(Gd,jd)=>(openBlock(),createBlock(unref(Rt$5),{"as-child":""},{default:withCtx(()=>[createVNode(unref(O$4),mergeProps({ref:unref(ld),"aria-describedby":unref(nd).open.value?unref(nd).contentId:void 0,"data-state":unref(nd).stateAttribute.value,as:Gd.as,"as-child":qa.asChild,"data-grace-area-trigger":""},toHandlers(fd.value)),{default:withCtx(()=>[renderSlot(Gd.$slots,"default")]),_:3},16,["aria-describedby","data-state","as","as-child"])]),_:3}))}}),cr$4=defineComponent({__name:"TooltipContentImpl",props:{ariaLabel:{},asChild:{type:Boolean},as:{},side:{default:"top"},sideOffset:{default:0},align:{default:"center"},alignOffset:{},avoidCollisions:{type:Boolean,default:!0},collisionBoundary:{default:()=>[]},collisionPadding:{default:0},arrowPadding:{default:0},sticky:{default:"partial"},hideWhenDetached:{type:Boolean,default:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=mn$4(),{forwardRef:ud}=R$7(),dd=useSlots(),pd=computed(()=>{var vd;return(vd=dd.default)==null?void 0:vd.call(dd)}),fd=computed(()=>{var vd;if(nd.ariaLabel)return nd.ariaLabel;let Ad="";function Nd(Od){typeof Od.children=="string"&&Od.type!==Comment$2?Ad+=Od.children:Array.isArray(Od.children)&&Od.children.forEach(kd=>Nd(kd))}return(vd=pd.value)==null||vd.forEach(Od=>Nd(Od)),Ad}),md=computed(()=>{const{ariaLabel:vd,...Ad}=nd;return Ad});return onMounted(()=>{Le$6(window,"scroll",vd=>{const Ad=vd.target;Ad!=null&&Ad.contains(ld.trigger.value)&&ld.onClose()}),Le$6(window,dr$3,ld.onClose)}),(vd,Ad)=>(openBlock(),createBlock(unref(yt$3),{"as-child":"","disable-outside-pointer-events":!1,onEscapeKeyDown:Ad[0]||(Ad[0]=Nd=>od("escapeKeyDown",Nd)),onPointerDownOutside:Ad[1]||(Ad[1]=Nd=>{var Od;unref(ld).disableClosingTrigger.value&&(Od=unref(ld).trigger.value)!=null&&Od.contains(Nd.target)&&Nd.preventDefault(),od("pointerDownOutside",Nd)}),onFocusOutside:Ad[2]||(Ad[2]=withModifiers(()=>{},["prevent"])),onDismiss:Ad[3]||(Ad[3]=Nd=>unref(ld).onClose())},{default:withCtx(()=>[createVNode(unref(Dt$4),mergeProps({ref:unref(ud),"data-state":unref(ld).stateAttribute.value},{...vd.$attrs,...md.value},{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)"}}),{default:withCtx(()=>[renderSlot(vd.$slots,"default"),createVNode(unref(Zt$4),{id:unref(ld).contentId,role:"tooltip"},{default:withCtx(()=>[createTextVNode(toDisplayString(fd.value),1)]),_:1},8,["id"])]),_:3},16,["data-state"])]),_:3}))}}),rv=defineComponent({__name:"TooltipContentHoverable",props:{ariaLabel:{},asChild:{type:Boolean},as:{},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean}},setup(Ra){const qa=It$4(Ra),{forwardRef:nd,currentElement:od}=R$7(),{trigger:ld,onClose:ud}=mn$4(),dd=Oo$2(),{isPointerInTransit:pd,onPointerExit:fd}=Ol$3(ld,od);return dd.isPointerInTransitRef=pd,fd(()=>{ud()}),(md,vd)=>(openBlock(),createBlock(cr$4,mergeProps({ref:unref(nd)},unref(qa)),{default:withCtx(()=>[renderSlot(md.$slots,"default")]),_:3},16))}}),Ng=defineComponent({__name:"TooltipContent",props:{forceMount:{type:Boolean},ariaLabel:{},asChild:{type:Boolean},as:{},side:{default:"top"},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=mn$4(),ud=xe$5(nd,od),{forwardRef:dd}=R$7();return(pd,fd)=>(openBlock(),createBlock(unref(Pe$7),{present:pd.forceMount||unref(ld).open.value},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(ld).disableHoverableContent.value?cr$4:rv),mergeProps({ref:unref(dd)},unref(ud)),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),zg=defineComponent({__name:"TooltipPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(nt$4),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),_sfc_main$1r=defineComponent({__name:"AlertDialog",props:{open:{type:Boolean},defaultOpen:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,dd)=>(openBlock(),createBlock(unref(Sv),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}});function r$2(Ra){var qa,nd,od="";if(typeof Ra=="string"||typeof Ra=="number")od+=Ra;else if(typeof Ra=="object")if(Array.isArray(Ra)){var ld=Ra.length;for(qa=0;qa<ld;qa++)Ra[qa]&&(nd=r$2(Ra[qa]))&&(od&&(od+=" "),od+=nd)}else for(nd in Ra)Ra[nd]&&(od&&(od+=" "),od+=nd);return od}function clsx(){for(var Ra,qa,nd=0,od="",ld=arguments.length;nd<ld;nd++)(Ra=arguments[nd])&&(qa=r$2(Ra))&&(od&&(od+=" "),od+=qa);return od}const CLASS_PART_SEPARATOR="-",createClassGroupUtils=Ra=>{const qa=createClassMap(Ra),{conflictingClassGroups:nd,conflictingClassGroupModifiers:od}=Ra;return{getClassGroupId:dd=>{const pd=dd.split(CLASS_PART_SEPARATOR);return pd[0]===""&&pd.length!==1&&pd.shift(),getGroupRecursive(pd,qa)||getGroupIdForArbitraryProperty(dd)},getConflictingClassGroupIds:(dd,pd)=>{const fd=nd[dd]||[];return pd&&od[dd]?[...fd,...od[dd]]:fd}}},getGroupRecursive=(Ra,qa)=>{var dd;if(Ra.length===0)return qa.classGroupId;const nd=Ra[0],od=qa.nextPart.get(nd),ld=od?getGroupRecursive(Ra.slice(1),od):void 0;if(ld)return ld;if(qa.validators.length===0)return;const ud=Ra.join(CLASS_PART_SEPARATOR);return(dd=qa.validators.find(({validator:pd})=>pd(ud)))==null?void 0:dd.classGroupId},arbitraryPropertyRegex=/^\[(.+)\]$/,getGroupIdForArbitraryProperty=Ra=>{if(arbitraryPropertyRegex.test(Ra)){const qa=arbitraryPropertyRegex.exec(Ra)[1],nd=qa==null?void 0:qa.substring(0,qa.indexOf(":"));if(nd)return"arbitrary.."+nd}},createClassMap=Ra=>{const{theme:qa,prefix:nd}=Ra,od={nextPart:new Map,validators:[]};return getPrefixedClassGroupEntries(Object.entries(Ra.classGroups),nd).forEach(([ud,dd])=>{processClassesRecursively(dd,od,ud,qa)}),od},processClassesRecursively=(Ra,qa,nd,od)=>{Ra.forEach(ld=>{if(typeof ld=="string"){const ud=ld===""?qa:getPart(qa,ld);ud.classGroupId=nd;return}if(typeof ld=="function"){if(isThemeGetter(ld)){processClassesRecursively(ld(od),qa,nd,od);return}qa.validators.push({validator:ld,classGroupId:nd});return}Object.entries(ld).forEach(([ud,dd])=>{processClassesRecursively(dd,getPart(qa,ud),nd,od)})})},getPart=(Ra,qa)=>{let nd=Ra;return qa.split(CLASS_PART_SEPARATOR).forEach(od=>{nd.nextPart.has(od)||nd.nextPart.set(od,{nextPart:new Map,validators:[]}),nd=nd.nextPart.get(od)}),nd},isThemeGetter=Ra=>Ra.isThemeGetter,getPrefixedClassGroupEntries=(Ra,qa)=>qa?Ra.map(([nd,od])=>{const ld=od.map(ud=>typeof ud=="string"?qa+ud:typeof ud=="object"?Object.fromEntries(Object.entries(ud).map(([dd,pd])=>[qa+dd,pd])):ud);return[nd,ld]}):Ra,createLruCache=Ra=>{if(Ra<1)return{get:()=>{},set:()=>{}};let qa=0,nd=new Map,od=new Map;const ld=(ud,dd)=>{nd.set(ud,dd),qa++,qa>Ra&&(qa=0,od=nd,nd=new Map)};return{get(ud){let dd=nd.get(ud);if(dd!==void 0)return dd;if((dd=od.get(ud))!==void 0)return ld(ud,dd),dd},set(ud,dd){nd.has(ud)?nd.set(ud,dd):ld(ud,dd)}}},IMPORTANT_MODIFIER="!",createParseClassName=Ra=>{const{separator:qa,experimentalParseClassName:nd}=Ra,od=qa.length===1,ld=qa[0],ud=qa.length,dd=pd=>{const fd=[];let md=0,vd=0,Ad;for(let Gd=0;Gd<pd.length;Gd++){let jd=pd[Gd];if(md===0){if(jd===ld&&(od||pd.slice(Gd,Gd+ud)===qa)){fd.push(pd.slice(vd,Gd)),vd=Gd+ud;continue}if(jd==="/"){Ad=Gd;continue}}jd==="["?md++:jd==="]"&&md--}const Nd=fd.length===0?pd:pd.substring(vd),Od=Nd.startsWith(IMPORTANT_MODIFIER),kd=Od?Nd.substring(1):Nd,Ld=Ad&&Ad>vd?Ad-vd:void 0;return{modifiers:fd,hasImportantModifier:Od,baseClassName:kd,maybePostfixModifierPosition:Ld}};return nd?pd=>nd({className:pd,parseClassName:dd}):dd},sortModifiers=Ra=>{if(Ra.length<=1)return Ra;const qa=[];let nd=[];return Ra.forEach(od=>{od[0]==="["?(qa.push(...nd.sort(),od),nd=[]):nd.push(od)}),qa.push(...nd.sort()),qa},createConfigUtils=Ra=>({cache:createLruCache(Ra.cacheSize),parseClassName:createParseClassName(Ra),...createClassGroupUtils(Ra)}),SPLIT_CLASSES_REGEX=/\s+/,mergeClassList=(Ra,qa)=>{const{parseClassName:nd,getClassGroupId:od,getConflictingClassGroupIds:ld}=qa,ud=[],dd=Ra.trim().split(SPLIT_CLASSES_REGEX);let pd="";for(let fd=dd.length-1;fd>=0;fd-=1){const md=dd[fd],{modifiers:vd,hasImportantModifier:Ad,baseClassName:Nd,maybePostfixModifierPosition:Od}=nd(md);let kd=!!Od,Ld=od(kd?Nd.substring(0,Od):Nd);if(!Ld){if(!kd){pd=md+(pd.length>0?" "+pd:pd);continue}if(Ld=od(Nd),!Ld){pd=md+(pd.length>0?" "+pd:pd);continue}kd=!1}const Gd=sortModifiers(vd).join(":"),jd=Ad?Gd+IMPORTANT_MODIFIER:Gd,Fd=jd+Ld;if(ud.includes(Fd))continue;ud.push(Fd);const Ud=ld(Ld,kd);for(let qd=0;qd<Ud.length;++qd){const zd=Ud[qd];ud.push(jd+zd)}pd=md+(pd.length>0?" "+pd:pd)}return pd};function twJoin(){let Ra=0,qa,nd,od="";for(;Ra<arguments.length;)(qa=arguments[Ra++])&&(nd=toValue$1(qa))&&(od&&(od+=" "),od+=nd);return od}const toValue$1=Ra=>{if(typeof Ra=="string")return Ra;let qa,nd="";for(let od=0;od<Ra.length;od++)Ra[od]&&(qa=toValue$1(Ra[od]))&&(nd&&(nd+=" "),nd+=qa);return nd};function createTailwindMerge(Ra,...qa){let nd,od,ld,ud=dd;function dd(fd){const md=qa.reduce((vd,Ad)=>Ad(vd),Ra());return nd=createConfigUtils(md),od=nd.cache.get,ld=nd.cache.set,ud=pd,pd(fd)}function pd(fd){const md=od(fd);if(md)return md;const vd=mergeClassList(fd,nd);return ld(fd,vd),vd}return function(){return ud(twJoin.apply(null,arguments))}}const fromTheme=Ra=>{const qa=nd=>nd[Ra]||[];return qa.isThemeGetter=!0,qa},arbitraryValueRegex=/^\[(?:([a-z-]+):)?(.+)\]$/i,fractionRegex=/^\d+\/\d+$/,stringLengths=new Set(["px","full","screen"]),tshirtUnitRegex=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,lengthUnitRegex=/\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$/,colorFunctionRegex=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,shadowRegex=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,imageRegex=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,isLength$1=Ra=>isNumber$3(Ra)||stringLengths.has(Ra)||fractionRegex.test(Ra),isArbitraryLength=Ra=>getIsArbitraryValue(Ra,"length",isLengthOnly),isNumber$3=Ra=>!!Ra&&!Number.isNaN(Number(Ra)),isArbitraryNumber=Ra=>getIsArbitraryValue(Ra,"number",isNumber$3),isInteger$2=Ra=>!!Ra&&Number.isInteger(Number(Ra)),isPercent=Ra=>Ra.endsWith("%")&&isNumber$3(Ra.slice(0,-1)),isArbitraryValue=Ra=>arbitraryValueRegex.test(Ra),isTshirtSize=Ra=>tshirtUnitRegex.test(Ra),sizeLabels=new Set(["length","size","percentage"]),isArbitrarySize=Ra=>getIsArbitraryValue(Ra,sizeLabels,isNever),isArbitraryPosition=Ra=>getIsArbitraryValue(Ra,"position",isNever),imageLabels=new Set(["image","url"]),isArbitraryImage=Ra=>getIsArbitraryValue(Ra,imageLabels,isImage),isArbitraryShadow=Ra=>getIsArbitraryValue(Ra,"",isShadow),isAny=()=>!0,getIsArbitraryValue=(Ra,qa,nd)=>{const od=arbitraryValueRegex.exec(Ra);return od?od[1]?typeof qa=="string"?od[1]===qa:qa.has(od[1]):nd(od[2]):!1},isLengthOnly=Ra=>lengthUnitRegex.test(Ra)&&!colorFunctionRegex.test(Ra),isNever=()=>!1,isShadow=Ra=>shadowRegex.test(Ra),isImage=Ra=>imageRegex.test(Ra),getDefaultConfig=()=>{const Ra=fromTheme("colors"),qa=fromTheme("spacing"),nd=fromTheme("blur"),od=fromTheme("brightness"),ld=fromTheme("borderColor"),ud=fromTheme("borderRadius"),dd=fromTheme("borderSpacing"),pd=fromTheme("borderWidth"),fd=fromTheme("contrast"),md=fromTheme("grayscale"),vd=fromTheme("hueRotate"),Ad=fromTheme("invert"),Nd=fromTheme("gap"),Od=fromTheme("gradientColorStops"),kd=fromTheme("gradientColorStopPositions"),Ld=fromTheme("inset"),Gd=fromTheme("margin"),jd=fromTheme("opacity"),Fd=fromTheme("padding"),Ud=fromTheme("saturate"),qd=fromTheme("scale"),zd=fromTheme("sepia"),Wd=fromTheme("skew"),Jd=fromTheme("space"),_f=fromTheme("translate"),Xd=()=>["auto","contain","none"],pf=()=>["auto","hidden","clip","visible","scroll"],mf=()=>["auto",isArbitraryValue,qa],Sf=()=>[isArbitraryValue,qa],Tf=()=>["",isLength$1,isArbitraryLength],Af=()=>["auto",isNumber$3,isArbitraryValue],Ef=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Nf=()=>["solid","dashed","dotted","double","none"],If=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Gf=()=>["start","end","center","between","around","evenly","stretch"],Qf=()=>["","0",isArbitraryValue],Xf=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ph=()=>[isNumber$3,isArbitraryValue];return{cacheSize:500,separator:":",theme:{colors:[isAny],spacing:[isLength$1,isArbitraryLength],blur:["none","",isTshirtSize,isArbitraryValue],brightness:ph(),borderColor:[Ra],borderRadius:["none","","full",isTshirtSize,isArbitraryValue],borderSpacing:Sf(),borderWidth:Tf(),contrast:ph(),grayscale:Qf(),hueRotate:ph(),invert:Qf(),gap:Sf(),gradientColorStops:[Ra],gradientColorStopPositions:[isPercent,isArbitraryLength],inset:mf(),margin:mf(),opacity:ph(),padding:Sf(),saturate:ph(),scale:ph(),sepia:Qf(),skew:ph(),space:Sf(),translate:Sf()},classGroups:{aspect:[{aspect:["auto","square","video",isArbitraryValue]}],container:["container"],columns:[{columns:[isTshirtSize]}],"break-after":[{"break-after":Xf()}],"break-before":[{"break-before":Xf()}],"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"],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:[...Ef(),isArbitraryValue]}],overflow:[{overflow:pf()}],"overflow-x":[{"overflow-x":pf()}],"overflow-y":[{"overflow-y":pf()}],overscroll:[{overscroll:Xd()}],"overscroll-x":[{"overscroll-x":Xd()}],"overscroll-y":[{"overscroll-y":Xd()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[Ld]}],"inset-x":[{"inset-x":[Ld]}],"inset-y":[{"inset-y":[Ld]}],start:[{start:[Ld]}],end:[{end:[Ld]}],top:[{top:[Ld]}],right:[{right:[Ld]}],bottom:[{bottom:[Ld]}],left:[{left:[Ld]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",isInteger$2,isArbitraryValue]}],basis:[{basis:mf()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",isArbitraryValue]}],grow:[{grow:Qf()}],shrink:[{shrink:Qf()}],order:[{order:["first","last","none",isInteger$2,isArbitraryValue]}],"grid-cols":[{"grid-cols":[isAny]}],"col-start-end":[{col:["auto",{span:["full",isInteger$2,isArbitraryValue]},isArbitraryValue]}],"col-start":[{"col-start":Af()}],"col-end":[{"col-end":Af()}],"grid-rows":[{"grid-rows":[isAny]}],"row-start-end":[{row:["auto",{span:[isInteger$2,isArbitraryValue]},isArbitraryValue]}],"row-start":[{"row-start":Af()}],"row-end":[{"row-end":Af()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",isArbitraryValue]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",isArbitraryValue]}],gap:[{gap:[Nd]}],"gap-x":[{"gap-x":[Nd]}],"gap-y":[{"gap-y":[Nd]}],"justify-content":[{justify:["normal",...Gf()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Gf(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Gf(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[Fd]}],px:[{px:[Fd]}],py:[{py:[Fd]}],ps:[{ps:[Fd]}],pe:[{pe:[Fd]}],pt:[{pt:[Fd]}],pr:[{pr:[Fd]}],pb:[{pb:[Fd]}],pl:[{pl:[Fd]}],m:[{m:[Gd]}],mx:[{mx:[Gd]}],my:[{my:[Gd]}],ms:[{ms:[Gd]}],me:[{me:[Gd]}],mt:[{mt:[Gd]}],mr:[{mr:[Gd]}],mb:[{mb:[Gd]}],ml:[{ml:[Gd]}],"space-x":[{"space-x":[Jd]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Jd]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",isArbitraryValue,qa]}],"min-w":[{"min-w":[isArbitraryValue,qa,"min","max","fit"]}],"max-w":[{"max-w":[isArbitraryValue,qa,"none","full","min","max","fit","prose",{screen:[isTshirtSize]},isTshirtSize]}],h:[{h:[isArbitraryValue,qa,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[isArbitraryValue,qa,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[isArbitraryValue,qa,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[isArbitraryValue,qa,"auto","min","max","fit"]}],"font-size":[{text:["base",isTshirtSize,isArbitraryLength]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",isArbitraryNumber]}],"font-family":[{font:[isAny]}],"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:["tighter","tight","normal","wide","wider","widest",isArbitraryValue]}],"line-clamp":[{"line-clamp":["none",isNumber$3,isArbitraryNumber]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",isLength$1,isArbitraryValue]}],"list-image":[{"list-image":["none",isArbitraryValue]}],"list-style-type":[{list:["none","disc","decimal",isArbitraryValue]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[Ra]}],"placeholder-opacity":[{"placeholder-opacity":[jd]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[Ra]}],"text-opacity":[{"text-opacity":[jd]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Nf(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",isLength$1,isArbitraryLength]}],"underline-offset":[{"underline-offset":["auto",isLength$1,isArbitraryValue]}],"text-decoration-color":[{decoration:[Ra]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:Sf()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",isArbitraryValue]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",isArbitraryValue]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[jd]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ef(),isArbitraryPosition]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",isArbitrarySize]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},isArbitraryImage]}],"bg-color":[{bg:[Ra]}],"gradient-from-pos":[{from:[kd]}],"gradient-via-pos":[{via:[kd]}],"gradient-to-pos":[{to:[kd]}],"gradient-from":[{from:[Od]}],"gradient-via":[{via:[Od]}],"gradient-to":[{to:[Od]}],rounded:[{rounded:[ud]}],"rounded-s":[{"rounded-s":[ud]}],"rounded-e":[{"rounded-e":[ud]}],"rounded-t":[{"rounded-t":[ud]}],"rounded-r":[{"rounded-r":[ud]}],"rounded-b":[{"rounded-b":[ud]}],"rounded-l":[{"rounded-l":[ud]}],"rounded-ss":[{"rounded-ss":[ud]}],"rounded-se":[{"rounded-se":[ud]}],"rounded-ee":[{"rounded-ee":[ud]}],"rounded-es":[{"rounded-es":[ud]}],"rounded-tl":[{"rounded-tl":[ud]}],"rounded-tr":[{"rounded-tr":[ud]}],"rounded-br":[{"rounded-br":[ud]}],"rounded-bl":[{"rounded-bl":[ud]}],"border-w":[{border:[pd]}],"border-w-x":[{"border-x":[pd]}],"border-w-y":[{"border-y":[pd]}],"border-w-s":[{"border-s":[pd]}],"border-w-e":[{"border-e":[pd]}],"border-w-t":[{"border-t":[pd]}],"border-w-r":[{"border-r":[pd]}],"border-w-b":[{"border-b":[pd]}],"border-w-l":[{"border-l":[pd]}],"border-opacity":[{"border-opacity":[jd]}],"border-style":[{border:[...Nf(),"hidden"]}],"divide-x":[{"divide-x":[pd]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[pd]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[jd]}],"divide-style":[{divide:Nf()}],"border-color":[{border:[ld]}],"border-color-x":[{"border-x":[ld]}],"border-color-y":[{"border-y":[ld]}],"border-color-s":[{"border-s":[ld]}],"border-color-e":[{"border-e":[ld]}],"border-color-t":[{"border-t":[ld]}],"border-color-r":[{"border-r":[ld]}],"border-color-b":[{"border-b":[ld]}],"border-color-l":[{"border-l":[ld]}],"divide-color":[{divide:[ld]}],"outline-style":[{outline:["",...Nf()]}],"outline-offset":[{"outline-offset":[isLength$1,isArbitraryValue]}],"outline-w":[{outline:[isLength$1,isArbitraryLength]}],"outline-color":[{outline:[Ra]}],"ring-w":[{ring:Tf()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[Ra]}],"ring-opacity":[{"ring-opacity":[jd]}],"ring-offset-w":[{"ring-offset":[isLength$1,isArbitraryLength]}],"ring-offset-color":[{"ring-offset":[Ra]}],shadow:[{shadow:["","inner","none",isTshirtSize,isArbitraryShadow]}],"shadow-color":[{shadow:[isAny]}],opacity:[{opacity:[jd]}],"mix-blend":[{"mix-blend":[...If(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":If()}],filter:[{filter:["","none"]}],blur:[{blur:[nd]}],brightness:[{brightness:[od]}],contrast:[{contrast:[fd]}],"drop-shadow":[{"drop-shadow":["","none",isTshirtSize,isArbitraryValue]}],grayscale:[{grayscale:[md]}],"hue-rotate":[{"hue-rotate":[vd]}],invert:[{invert:[Ad]}],saturate:[{saturate:[Ud]}],sepia:[{sepia:[zd]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[nd]}],"backdrop-brightness":[{"backdrop-brightness":[od]}],"backdrop-contrast":[{"backdrop-contrast":[fd]}],"backdrop-grayscale":[{"backdrop-grayscale":[md]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[vd]}],"backdrop-invert":[{"backdrop-invert":[Ad]}],"backdrop-opacity":[{"backdrop-opacity":[jd]}],"backdrop-saturate":[{"backdrop-saturate":[Ud]}],"backdrop-sepia":[{"backdrop-sepia":[zd]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[dd]}],"border-spacing-x":[{"border-spacing-x":[dd]}],"border-spacing-y":[{"border-spacing-y":[dd]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",isArbitraryValue]}],duration:[{duration:ph()}],ease:[{ease:["linear","in","out","in-out",isArbitraryValue]}],delay:[{delay:ph()}],animate:[{animate:["none","spin","ping","pulse","bounce",isArbitraryValue]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[qd]}],"scale-x":[{"scale-x":[qd]}],"scale-y":[{"scale-y":[qd]}],rotate:[{rotate:[isInteger$2,isArbitraryValue]}],"translate-x":[{"translate-x":[_f]}],"translate-y":[{"translate-y":[_f]}],"skew-x":[{"skew-x":[Wd]}],"skew-y":[{"skew-y":[Wd]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",isArbitraryValue]}],accent:[{accent:["auto",Ra]}],appearance:[{appearance:["none","auto"]}],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",isArbitraryValue]}],"caret-color":[{caret:[Ra]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":Sf()}],"scroll-mx":[{"scroll-mx":Sf()}],"scroll-my":[{"scroll-my":Sf()}],"scroll-ms":[{"scroll-ms":Sf()}],"scroll-me":[{"scroll-me":Sf()}],"scroll-mt":[{"scroll-mt":Sf()}],"scroll-mr":[{"scroll-mr":Sf()}],"scroll-mb":[{"scroll-mb":Sf()}],"scroll-ml":[{"scroll-ml":Sf()}],"scroll-p":[{"scroll-p":Sf()}],"scroll-px":[{"scroll-px":Sf()}],"scroll-py":[{"scroll-py":Sf()}],"scroll-ps":[{"scroll-ps":Sf()}],"scroll-pe":[{"scroll-pe":Sf()}],"scroll-pt":[{"scroll-pt":Sf()}],"scroll-pr":[{"scroll-pr":Sf()}],"scroll-pb":[{"scroll-pb":Sf()}],"scroll-pl":[{"scroll-pl":Sf()}],"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",isArbitraryValue]}],fill:[{fill:[Ra,"none"]}],"stroke-w":[{stroke:[isLength$1,isArbitraryLength,isArbitraryNumber]}],stroke:[{stroke:[Ra,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"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"]}}},twMerge=createTailwindMerge(getDefaultConfig);function cn$5(...Ra){return twMerge(clsx(Ra))}const _sfc_main$1q=defineComponent({__name:"AlertDialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(Pv),null,{default:withCtx(()=>[createVNode(unref($v),{class:"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80"}),createVNode(unref(Dv),mergeProps(unref(ud),{class:unref(cn$5)("fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 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:rounded-lg",nd.class)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$1p=defineComponent({__name:"AlertDialogFooter",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn$5)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),falsyToString=Ra=>typeof Ra=="boolean"?`${Ra}`:Ra===0?"0":Ra,cx$1=clsx,cva=(Ra,qa)=>nd=>{var od;if((qa==null?void 0:qa.variants)==null)return cx$1(Ra,nd==null?void 0:nd.class,nd==null?void 0:nd.className);const{variants:ld,defaultVariants:ud}=qa,dd=Object.keys(ld).map(md=>{const vd=nd==null?void 0:nd[md],Ad=ud==null?void 0:ud[md];if(vd===null)return null;const Nd=falsyToString(vd)||falsyToString(Ad);return ld[md][Nd]}),pd=nd&&Object.entries(nd).reduce((md,vd)=>{let[Ad,Nd]=vd;return Nd===void 0||(md[Ad]=Nd),md},{}),fd=qa==null||(od=qa.compoundVariants)===null||od===void 0?void 0:od.reduce((md,vd)=>{let{class:Ad,className:Nd,...Od}=vd;return Object.entries(Od).every(kd=>{let[Ld,Gd]=kd;return Array.isArray(Gd)?Gd.includes({...ud,...pd}[Ld]):{...ud,...pd}[Ld]===Gd})?[...md,Ad,Nd]:md},[]);return cx$1(Ra,dd,fd,nd==null?void 0:nd.class,nd==null?void 0:nd.className)},_sfc_main$1o=defineComponent({__name:"Button",props:{variant:{},size:{},class:{},asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(O$4),{as:nd.as,"as-child":nd.asChild,class:normalizeClass(unref(cn$5)(unref(buttonVariants)({variant:nd.variant,size:nd.size}),qa.class))},{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},8,["as","as-child","class"]))}}),buttonVariants=cva("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",xs:"h-7 rounded px-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),_sfc_main$1n=defineComponent({__name:"AlertDialogAction",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(Rv),mergeProps(nd.value,{class:unref(cn$5)(unref(buttonVariants)(),qa.class)}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$1m=defineComponent({__name:"AlertDialogCancel",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(Bv),mergeProps(nd.value,{class:unref(cn$5)(unref(buttonVariants)({variant:"outline"}),"mt-2 sm:mt-0",qa.class)}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$1l=defineComponent({__name:"AlertDialogHeader",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn$5)("flex flex-col gap-y-2 text-center sm:text-left",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$1k=defineComponent({__name:"AlertDialogDescription",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(Tv),mergeProps(nd.value,{class:unref(cn$5)("text-sm text-muted-foreground",qa.class)}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$1j=defineComponent({__name:"AlertDialogTitle",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(Iv),mergeProps(nd.value,{class:unref(cn$5)("text-lg font-semibold",qa.class)}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["class"]))}}),_hoisted_1$f={key:0,class:"loading"},_sfc_main$1i=defineComponent({__name:"RunLoading",setup(Ra){const qa=ref$1(!0);return onMounted(()=>{setTimeout(()=>{qa.value=!1},100)}),(nd,od)=>(openBlock(),createBlock(Transition$1,{name:"fade"},{default:withCtx(()=>[unref(qa)?(openBlock(),createElementBlock("div",_hoisted_1$f,od[0]||(od[0]=[createBaseVNode("strong",null,"致力于让 Markdown 编辑更简单",-1)]))):createCommentVNode("",!0)]),_:1}))}}),_export_sfc=(Ra,qa)=>{const nd=Ra.__vccOpts||Ra;for(const[od,ld]of qa)nd[od]=ld;return nd},__unplugin_components_13$1=_export_sfc(_sfc_main$1i,[["__scopeId","data-v-8781f9ec"]]),_sfc_main$1h=defineComponent({__name:"Dialog",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,dd)=>(openBlock(),createBlock(unref(Zi$2),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}});/**
* @license lucide-vue-next v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const toKebabCase=Ra=>Ra.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
* @license lucide-vue-next v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/var defaultAttributes={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/**
* @license lucide-vue-next v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Icon=({size:Ra,strokeWidth:qa=2,absoluteStrokeWidth:nd,color:od,iconNode:ld,name:ud,class:dd,...pd},{slots:fd})=>h$2("svg",{...defaultAttributes,width:Ra||defaultAttributes.width,height:Ra||defaultAttributes.height,stroke:od||defaultAttributes.stroke,"stroke-width":nd?Number(qa)*24/Number(Ra):qa,class:["lucide",`lucide-${toKebabCase(ud??"icon")}`],...pd},[...ld.map(md=>h$2(...md)),...fd.default?[fd.default()]:[]]);/**
* @license lucide-vue-next v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const createLucideIcon=(Ra,qa)=>(nd,{slots:od})=>h$2(Icon,{...nd,iconNode:qa,name:Ra},od);/**
* @license lucide-vue-next v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ArrowUpFromLine=createLucideIcon("ArrowUpFromLineIcon",[["path",{d:"m18 9-6-6-6 6",key:"kcunyi"}],["path",{d:"M12 3v14",key:"7cf3v8"}],["path",{d:"M5 21h14",key:"11awu3"}]]);/**
* @license lucide-vue-next v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Check=createLucideIcon("CheckIcon",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
* @license lucide-vue-next v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ChevronDown=createLucideIcon("ChevronDownIcon",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
* @license lucide-vue-next v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ChevronRight=createLucideIcon("ChevronRightIcon",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
* @license lucide-vue-next v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ChevronUp=createLucideIcon("ChevronUpIcon",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
* @license lucide-vue-next v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Circle=createLucideIcon("CircleIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
* @license lucide-vue-next v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const CloudUpload=createLucideIcon("CloudUploadIcon",[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]]);/**
* @license lucide-vue-next v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Download=createLucideIcon("DownloadIcon",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/**
* @license lucide-vue-next v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ellipsis=createLucideIcon("EllipsisIcon",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]]);/**
* @license lucide-vue-next v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const FileCode=createLucideIcon("FileCodeIcon",[["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z",key:"1mlx9k"}]]);/**
* @license lucide-vue-next v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Info=createLucideIcon("InfoIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
* @license lucide-vue-next v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Minus=createLucideIcon("MinusIcon",[["path",{d:"M5 12h14",key:"1ays0h"}]]);/**
* @license lucide-vue-next v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Moon=createLucideIcon("MoonIcon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/**
* @license lucide-vue-next v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const PanelLeftClose=createLucideIcon("PanelLeftCloseIcon",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]]);/**
* @license lucide-vue-next v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const PanelLeftOpen=createLucideIcon("PanelLeftOpenIcon",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m14 9 3 3-3 3",key:"8010ee"}]]);/**
* @license lucide-vue-next v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const PenLine=createLucideIcon("PenLineIcon",[["path",{d:"M12 20h9",key:"t2du7b"}],["path",{d:"M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z",key:"1ykcvy"}]]);/**
* @license lucide-vue-next v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Plus=createLucideIcon("PlusIcon",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
* @license lucide-vue-next v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Settings=createLucideIcon("SettingsIcon",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
* @license lucide-vue-next v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Sun=createLucideIcon("SunIcon",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/**
* @license lucide-vue-next v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Table=createLucideIcon("TableIcon",[["path",{d:"M12 3v18",key:"108xh3"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}]]);/**
* @license lucide-vue-next v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Trash=createLucideIcon("TrashIcon",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}]]);/**
* @license lucide-vue-next v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Upload=createLucideIcon("UploadIcon",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]]);/**
* @license lucide-vue-next v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const X$7=createLucideIcon("XIcon",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),_sfc_main$1g=defineComponent({__name:"DialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(xv),null,{default:withCtx(()=>[createVNode(unref(_u$3),{class:"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80"}),createVNode(unref(Cu$3),mergeProps(unref(ud),{class:unref(cn$5)("fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 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:rounded-lg",nd.class)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default"),createVNode(unref(Ul$3),{class:"data-[state=open]:bg-accent ring-offset-background data-[state=open]:text-muted-foreground focus:ring-ring absolute right-4 top-4 rounded-sm opacity-70 transition-opacity disabled:pointer-events-none hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-offset-2"},{default:withCtx(()=>[createVNode(unref(X$7),{class:"h-4 w-4"}),pd[0]||(pd[0]=createBaseVNode("span",{class:"sr-only"},"Close",-1))]),_:1})]),_:3},16,["class"])]),_:3}))}}),_sfc_main$1f=defineComponent({__name:"DialogFooter",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn$5)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2",qa.class))},[renderSlot(nd.$slots,"default")],2))}});function tryOnScopeDispose(Ra){return getCurrentScope()?(onScopeDispose(Ra),!0):!1}function createEventHook(){const Ra=new Set,qa=ld=>{Ra.delete(ld)};return{on:ld=>{Ra.add(ld);const ud=()=>qa(ld);return tryOnScopeDispose(ud),{off:ud}},off:qa,trigger:(...ld)=>Promise.all(Array.from(Ra).map(ud=>ud(...ld)))}}function toValue(Ra){return typeof Ra=="function"?Ra():unref(Ra)}const isClient$1=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const isDef=Ra=>typeof Ra<"u",toString$4=Object.prototype.toString,isObject$8=Ra=>toString$4.call(Ra)==="[object Object]",noop$5=()=>{},hasOwn$2=(Ra,qa)=>Object.prototype.hasOwnProperty.call(Ra,qa);function createFilterWrapper(Ra,qa){function nd(...od){return new Promise((ld,ud)=>{Promise.resolve(Ra(()=>qa.apply(this,od),{fn:qa,thisArg:this,args:od})).then(ld).catch(ud)})}return nd}const bypassFilter=Ra=>Ra();function pausableFilter(Ra=bypassFilter){const qa=ref$1(!0);function nd(){qa.value=!1}function od(){qa.value=!0}const ld=(...ud)=>{qa.value&&Ra(...ud)};return{isActive:readonly(qa),pause:nd,resume:od,eventFilter:ld}}function createSingletonPromise(Ra){let qa;function nd(){return qa||(qa=Ra()),qa}return nd.reset=async()=>{const od=qa;qa=void 0,od&&await od},nd}function getLifeCycleTarget(Ra){return getCurrentInstance()}function toRef(...Ra){if(Ra.length!==1)return toRef$1(...Ra);const qa=Ra[0];return typeof qa=="function"?readonly(customRef(()=>({get:qa,set:noop$5}))):ref$1(qa)}function watchWithFilter(Ra,qa,nd={}){const{eventFilter:od=bypassFilter,...ld}=nd;return watch(Ra,createFilterWrapper(od,qa),ld)}function watchPausable(Ra,qa,nd={}){const{eventFilter:od,...ld}=nd,{eventFilter:ud,pause:dd,resume:pd,isActive:fd}=pausableFilter(od);return{stop:watchWithFilter(Ra,qa,{...ld,eventFilter:ud}),pause:dd,resume:pd,isActive:fd}}function tryOnMounted(Ra,qa=!0,nd){getLifeCycleTarget()?onMounted(Ra,nd):qa?Ra():nextTick$1(Ra)}function useTimeoutFn(Ra,qa,nd={}){const{immediate:od=!0}=nd,ld=ref$1(!1);let ud=null;function dd(){ud&&(clearTimeout(ud),ud=null)}function pd(){ld.value=!1,dd()}function fd(...md){dd(),ld.value=!0,ud=setTimeout(()=>{ld.value=!1,ud=null,Ra(...md)},toValue(qa))}return od&&(ld.value=!0,isClient$1&&fd()),tryOnScopeDispose(pd),{isPending:readonly(ld),start:fd,stop:pd}}function useToggle(Ra=!1,qa={}){const{truthyValue:nd=!0,falsyValue:od=!1}=qa,ld=isRef(Ra),ud=ref$1(Ra);function dd(pd){if(arguments.length)return ud.value=pd,ud.value;{const fd=toValue(nd);return ud.value=ud.value===fd?toValue(od):fd,ud.value}}return ld?dd:[ud,dd]}const defaultWindow=isClient$1?window:void 0,defaultDocument=isClient$1?window.document:void 0,defaultNavigator=isClient$1?window.navigator:void 0;function unrefElement(Ra){var qa;const nd=toValue(Ra);return(qa=nd==null?void 0:nd.$el)!=null?qa:nd}function useEventListener(...Ra){let qa,nd,od,ld;if(typeof Ra[0]=="string"||Array.isArray(Ra[0])?([nd,od,ld]=Ra,qa=defaultWindow):[qa,nd,od,ld]=Ra,!qa)return noop$5;Array.isArray(nd)||(nd=[nd]),Array.isArray(od)||(od=[od]);const ud=[],dd=()=>{ud.forEach(vd=>vd()),ud.length=0},pd=(vd,Ad,Nd,Od)=>(vd.addEventListener(Ad,Nd,Od),()=>vd.removeEventListener(Ad,Nd,Od)),fd=watch(()=>[unrefElement(qa),toValue(ld)],([vd,Ad])=>{if(dd(),!vd)return;const Nd=isObject$8(Ad)?{...Ad}:Ad;ud.push(...nd.flatMap(Od=>od.map(kd=>pd(vd,Od,kd,Nd))))},{immediate:!0,flush:"post"}),md=()=>{fd(),dd()};return tryOnScopeDispose(md),md}function useMounted(){const Ra=ref$1(!1),qa=getCurrentInstance();return qa&&onMounted(()=>{Ra.value=!0},qa),Ra}function useSupported(Ra){const qa=useMounted();return computed(()=>(qa.value,!!Ra()))}function useMediaQuery(Ra,qa={}){const{window:nd=defaultWindow}=qa,od=useSupported(()=>nd&&"matchMedia"in nd&&typeof nd.matchMedia=="function");let ld;const ud=ref$1(!1),dd=md=>{ud.value=md.matches},pd=()=>{ld&&("removeEventListener"in ld?ld.removeEventListener("change",dd):ld.removeListener(dd))},fd=watchEffect(()=>{od.value&&(pd(),ld=nd.matchMedia(toValue(Ra)),"addEventListener"in ld?ld.addEventListener("change",dd):ld.addListener(dd),ud.value=ld.matches)});return tryOnScopeDispose(()=>{fd(),pd(),ld=void 0}),ud}function usePermission(Ra,qa={}){const{controls:nd=!1,navigator:od=defaultNavigator}=qa,ld=useSupported(()=>od&&"permissions"in od),ud=shallowRef(),dd=typeof Ra=="string"?{name:Ra}:Ra,pd=shallowRef(),fd=()=>{var vd,Ad;pd.value=(Ad=(vd=ud.value)==null?void 0:vd.state)!=null?Ad:"prompt"};useEventListener(ud,"change",fd);const md=createSingletonPromise(async()=>{if(ld.value){if(!ud.value)try{ud.value=await od.permissions.query(dd)}catch{ud.value=void 0}finally{fd()}if(nd)return toRaw(ud.value)}});return md(),nd?{state:pd,isSupported:ld,query:md}:pd}function useClipboard(Ra={}){const{navigator:qa=defaultNavigator,read:nd=!1,source:od,copiedDuring:ld=1500,legacy:ud=!1}=Ra,dd=useSupported(()=>qa&&"clipboard"in qa),pd=usePermission("clipboard-read"),fd=usePermission("clipboard-write"),md=computed(()=>dd.value||ud),vd=ref$1(""),Ad=ref$1(!1),Nd=useTimeoutFn(()=>Ad.value=!1,ld);function Od(){dd.value&&jd(pd.value)?qa.clipboard.readText().then(Fd=>{vd.value=Fd}):vd.value=Gd()}md.value&&nd&&useEventListener(["copy","cut"],Od);async function kd(Fd=toValue(od)){md.value&&Fd!=null&&(dd.value&&jd(fd.value)?await qa.clipboard.writeText(Fd):Ld(Fd),vd.value=Fd,Ad.value=!0,Nd.start())}function Ld(Fd){const Ud=document.createElement("textarea");Ud.value=Fd??"",Ud.style.position="absolute",Ud.style.opacity="0",document.body.appendChild(Ud),Ud.select(),document.execCommand("copy"),Ud.remove()}function Gd(){var Fd,Ud,qd;return(qd=(Ud=(Fd=document==null?void 0:document.getSelection)==null?void 0:Fd.call(document))==null?void 0:Ud.toString())!=null?qd:""}function jd(Fd){return Fd==="granted"||Fd==="prompt"}return{isSupported:md,text:vd,copied:Ad,copy:kd}}function cloneFnJSON(Ra){return JSON.parse(JSON.stringify(Ra))}const _global$1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global$1<"u"?global$1:typeof self<"u"?self:{},globalKey="__vueuse_ssr_handlers__",handlers=getHandlers();function getHandlers(){return globalKey in _global$1||(_global$1[globalKey]=_global$1[globalKey]||{}),_global$1[globalKey]}function getSSRHandler(Ra,qa){return handlers[Ra]||qa}function usePreferredDark(Ra){return useMediaQuery("(prefers-color-scheme: dark)",Ra)}function guessSerializerType(Ra){return Ra==null?"any":Ra instanceof Set?"set":Ra instanceof Map?"map":Ra instanceof Date?"date":typeof Ra=="boolean"?"boolean":typeof Ra=="string"?"string":typeof Ra=="object"?"object":Number.isNaN(Ra)?"any":"number"}const StorageSerializers={boolean:{read:Ra=>Ra==="true",write:Ra=>String(Ra)},object:{read:Ra=>JSON.parse(Ra),write:Ra=>JSON.stringify(Ra)},number:{read:Ra=>Number.parseFloat(Ra),write:Ra=>String(Ra)},any:{read:Ra=>Ra,write:Ra=>String(Ra)},string:{read:Ra=>Ra,write:Ra=>String(Ra)},map:{read:Ra=>new Map(JSON.parse(Ra)),write:Ra=>JSON.stringify(Array.from(Ra.entries()))},set:{read:Ra=>new Set(JSON.parse(Ra)),write:Ra=>JSON.stringify(Array.from(Ra))},date:{read:Ra=>new Date(Ra),write:Ra=>Ra.toISOString()}},customStorageEventName="vueuse-storage";function useStorage(Ra,qa,nd,od={}){var ld;const{flush:ud="pre",deep:dd=!0,listenToStorageChanges:pd=!0,writeDefaults:fd=!0,mergeDefaults:md=!1,shallow:vd,window:Ad=defaultWindow,eventFilter:Nd,onError:Od=pf=>{console.error(pf)},initOnMounted:kd}=od,Ld=(vd?shallowRef:ref$1)(typeof qa=="function"?qa():qa);if(!nd)try{nd=getSSRHandler("getDefaultStorage",()=>{var pf;return(pf=defaultWindow)==null?void 0:pf.localStorage})()}catch(pf){Od(pf)}if(!nd)return Ld;const Gd=toValue(qa),jd=guessSerializerType(Gd),Fd=(ld=od.serializer)!=null?ld:StorageSerializers[jd],{pause:Ud,resume:qd}=watchPausable(Ld,()=>Wd(Ld.value),{flush:ud,deep:dd,eventFilter:Nd});Ad&&pd&&tryOnMounted(()=>{nd instanceof Storage?useEventListener(Ad,"storage",_f):useEventListener(Ad,customStorageEventName,Xd),kd&&_f()}),kd||_f();function zd(pf,mf){if(Ad){const Sf={key:Ra,oldValue:pf,newValue:mf,storageArea:nd};Ad.dispatchEvent(nd instanceof Storage?new StorageEvent("storage",Sf):new CustomEvent(customStorageEventName,{detail:Sf}))}}function Wd(pf){try{const mf=nd.getItem(Ra);if(pf==null)zd(mf,null),nd.removeItem(Ra);else{const Sf=Fd.write(pf);mf!==Sf&&(nd.setItem(Ra,Sf),zd(mf,Sf))}}catch(mf){Od(mf)}}function Jd(pf){const mf=pf?pf.newValue:nd.getItem(Ra);if(mf==null)return fd&&Gd!=null&&nd.setItem(Ra,Fd.write(Gd)),Gd;if(!pf&&md){const Sf=Fd.read(mf);return typeof md=="function"?md(Sf,Gd):jd==="object"&&!Array.isArray(Sf)?{...Gd,...Sf}:Sf}else return typeof mf!="string"?mf:Fd.read(mf)}function _f(pf){if(!(pf&&pf.storageArea!==nd)){if(pf&&pf.key==null){Ld.value=Gd;return}if(!(pf&&pf.key!==Ra)){Ud();try{(pf==null?void 0:pf.newValue)!==Fd.write(Ld.value)&&(Ld.value=Jd(pf))}catch(mf){Od(mf)}finally{pf?nextTick$1(qd):qd()}}}}function Xd(pf){_f(pf.detail)}return Ld}const CSS_DISABLE_TRANS="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function useColorMode(Ra={}){const{selector:qa="html",attribute:nd="class",initialValue:od="auto",window:ld=defaultWindow,storage:ud,storageKey:dd="vueuse-color-scheme",listenToStorageChanges:pd=!0,storageRef:fd,emitAuto:md,disableTransition:vd=!0}=Ra,Ad={auto:"",light:"light",dark:"dark",...Ra.modes||{}},Nd=usePreferredDark({window:ld}),Od=computed(()=>Nd.value?"dark":"light"),kd=fd||(dd==null?toRef(od):useStorage(dd,od,ud,{window:ld,listenToStorageChanges:pd})),Ld=computed(()=>kd.value==="auto"?Od.value:kd.value),Gd=getSSRHandler("updateHTMLAttrs",(qd,zd,Wd)=>{const Jd=typeof qd=="string"?ld==null?void 0:ld.document.querySelector(qd):unrefElement(qd);if(!Jd)return;const _f=new Set,Xd=new Set;let pf=null;if(zd==="class"){const Sf=Wd.split(/\s/g);Object.values(Ad).flatMap(Tf=>(Tf||"").split(/\s/g)).filter(Boolean).forEach(Tf=>{Sf.includes(Tf)?_f.add(Tf):Xd.add(Tf)})}else pf={key:zd,value:Wd};if(_f.size===0&&Xd.size===0&&pf===null)return;let mf;vd&&(mf=ld.document.createElement("style"),mf.appendChild(document.createTextNode(CSS_DISABLE_TRANS)),ld.document.head.appendChild(mf));for(const Sf of _f)Jd.classList.add(Sf);for(const Sf of Xd)Jd.classList.remove(Sf);pf&&Jd.setAttribute(pf.key,pf.value),vd&&(ld.getComputedStyle(mf).opacity,document.head.removeChild(mf))});function jd(qd){var zd;Gd(qa,nd,(zd=Ad[qd])!=null?zd:qd)}function Fd(qd){Ra.onChanged?Ra.onChanged(qd,jd):jd(qd)}watch(Ld,Fd,{flush:"post",immediate:!0}),tryOnMounted(()=>Fd(Ld.value));const Ud=computed({get(){return md?kd.value:Ld.value},set(qd){kd.value=qd}});return Object.assign(Ud,{store:kd,system:Od,state:Ld})}function useDark(Ra={}){const{valueDark:qa="dark",valueLight:nd=""}=Ra,od=useColorMode({...Ra,onChanged:(dd,pd)=>{var fd;Ra.onChanged?(fd=Ra.onChanged)==null||fd.call(Ra,dd==="dark",pd,dd):pd(dd)},modes:{dark:qa,light:nd}}),ld=computed(()=>od.system.value);return computed({get(){return od.value==="dark"},set(dd){const pd=dd?"dark":"light";ld.value===pd?od.value="auto":od.value=pd}})}const DEFAULT_OPTIONS={multiple:!0,accept:"*",reset:!1,directory:!1};function useFileDialog(Ra={}){const{document:qa=defaultDocument}=Ra,nd=ref$1(null),{on:od,trigger:ld}=createEventHook(),{on:ud,trigger:dd}=createEventHook();let pd;qa&&(pd=qa.createElement("input"),pd.type="file",pd.onchange=vd=>{const Ad=vd.target;nd.value=Ad.files,ld(nd.value)},pd.oncancel=()=>{dd()});const fd=()=>{nd.value=null,pd&&pd.value&&(pd.value="",ld(null))},md=vd=>{if(!pd)return;const Ad={...DEFAULT_OPTIONS,...Ra,...vd};pd.multiple=Ad.multiple,pd.accept=Ad.accept,pd.webkitdirectory=Ad.directory,hasOwn$2(Ad,"capture")&&(pd.capture=Ad.capture),Ad.reset&&fd(),pd.click()};return{files:readonly(nd),open:md,reset:fd,onCancel:ud,onChange:od}}function useLocalStorage(Ra,qa,nd={}){const{window:od=defaultWindow}=nd;return useStorage(Ra,qa,od==null?void 0:od.localStorage,nd)}function useVModel$1(Ra,qa,nd,od={}){var ld,ud,dd;const{clone:pd=!1,passive:fd=!1,eventName:md,deep:vd=!1,defaultValue:Ad,shouldEmit:Nd}=od,Od=getCurrentInstance(),kd=nd||(Od==null?void 0:Od.emit)||((ld=Od==null?void 0:Od.$emit)==null?void 0:ld.bind(Od))||((dd=(ud=Od==null?void 0:Od.proxy)==null?void 0:ud.$emit)==null?void 0:dd.bind(Od==null?void 0:Od.proxy));let Ld=md;Ld=Ld||`update:${qa.toString()}`;const Gd=Ud=>pd?typeof pd=="function"?pd(Ud):cloneFnJSON(Ud):Ud,jd=()=>isDef(Ra[qa])?Gd(Ra[qa]):Ad,Fd=Ud=>{Nd?Nd(Ud)&&kd(Ld,Ud):kd(Ld,Ud)};if(fd){const Ud=jd(),qd=ref$1(Ud);let zd=!1;return watch(()=>Ra[qa],Wd=>{zd||(zd=!0,qd.value=Gd(Wd),nextTick$1(()=>zd=!1))}),watch(qd,Wd=>{!zd&&(Wd!==Ra[qa]||vd)&&Fd(Wd)},{deep:vd}),qd}else return computed({get(){return jd()},set(Ud){Fd(Ud)}})}const _sfc_main$1e=defineComponent({__name:"Input",props:{defaultValue:{},modelValue:{},class:{}},setup(Ra,{emit:qa}){const nd=Ra,ld=useVModel$1(nd,"modelValue",qa,{passive:!0,defaultValue:nd.defaultValue});return(ud,dd)=>withDirectives((openBlock(),createElementBlock("input",{"onUpdate:modelValue":dd[0]||(dd[0]=pd=>isRef(ld)?ld.value=pd:null),class:normalizeClass(unref(cn$5)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",nd.class))},null,2)),[[vModelText,unref(ld)]])}}),_sfc_main$1d=defineComponent({__name:"NumberField",props:{defaultValue:{},modelValue:{},min:{},max:{},step:{},formatOptions:{},locale:{},disabled:{type:Boolean},required:{type:Boolean},name:{},id:{},asChild:{type:Boolean},as:{},class:{}},emits:["update:modelValue"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(cy$1),mergeProps(unref(ud),{class:unref(cn$5)("grid gap-1.5",nd.class)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$1c=defineComponent({__name:"NumberFieldContent",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn$5)("relative [&>[data-slot=input]]:has-[[data-slot=increment]]:pr-5 [&>[data-slot=input]]:has-[[data-slot=decrement]]:pl-5",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$1b=defineComponent({__name:"NumberFieldIncrement",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(fy$1),mergeProps({"data-slot":"increment"},unref(od),{class:unref(cn$5)("absolute top-1/2 -translate-y-1/2 right-0 disabled:cursor-not-allowed disabled:opacity-20 p-3",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default",{},()=>[createVNode(unref(Plus),{class:"h-4 w-4"})])]),_:3},16,["class"]))}}),_sfc_main$1a=defineComponent({__name:"NumberFieldInput",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(py$1),{"data-slot":"input",class:normalizeClass(unref(cn$5)("flex h-10 w-full rounded-md border border-input bg-background py-2 text-sm text-center ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",qa.class))},null,8,["class"]))}}),_sfc_main$19=defineComponent({__name:"NumberFieldDecrement",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(vy$1),mergeProps({"data-slot":"decrement"},unref(od),{class:unref(cn$5)("absolute top-1/2 -translate-y-1/2 left-0 p-3 disabled:cursor-not-allowed disabled:opacity-20",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default",{},()=>[createVNode(unref(Minus),{class:"h-4 w-4"})])]),_:3},16,["class"]))}}),_sfc_main$18=defineComponent({__name:"Label",props:{for:{},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(Ih),mergeProps(nd.value,{class:unref(cn$5)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",qa.class)}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$17=defineComponent({__name:"DialogHeader",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn$5)("flex flex-col gap-y-1.5 text-center sm:text-left",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$16=defineComponent({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(xu$2),mergeProps(unref(od),{class:unref(cn$5)("text-lg font-semibold leading-none tracking-tight",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["class"]))}}),DEFAULT_CONTENT=`# 探索 Markdown 的奇妙世界
欢迎来到 Markdown 的奇妙世界无论你是写作爱好者、开发者、博主还是想要简单记录点什么的人Markdown 都能成为你新的好伙伴。它不仅让写作变得简单明了,还能轻松地将内容转化为漂亮的网页格式。今天,我们将全面探讨 Markdown 的基础和进阶语法,让你在这个过程中充分享受写作的乐趣!
Markdown 是一种轻量级标记语言,用于格式化纯文本。它以简单、直观的语法而著称,可以快速地生成 HTML。Markdown 是写作与代码的完美结合,既简单又强大。
## Markdown 基础语法
### 1. 标题:让你的内容层次分明
用 \`#\` 号来创建标题。标题从 \`#\` 开始,\`#\` 的数量表示标题的级别。
\`\`\`markdown
# 一级标题
## 二级标题
### 三级标题
#### 四级标题
\`\`\`
以上代码将渲染出一组层次分明的标题,使你的内容井井有条。
### 2. 段落与换行:自然流畅
Markdown 中的段落就是一行接一行的文本。要创建新段落,只需在两行文本之间空一行。
### 3. 字体样式:强调你的文字
- **粗体**:用两个星号或下划线包裹文字,如 \`**粗体**\` 或 \`__粗体__\`。
- _斜体_用一个星号或下划线包裹文字如 \`*斜体*\` 或 \`_斜体_\`。
- ~~删除线~~:用两个波浪线包裹文字,如 \`~~删除线~~\`。
这些简单的标记可以让你的内容更有层次感和重点突出。
### 4. 列表:整洁有序
- **无序列表**:用 \`-\`、\`*\` 或 \`+\` 加空格开始一行。
- **有序列表**:使用数字加点号(\`1.\`、\`2.\`)开始一行。
在列表中嵌套其他内容?只需缩进即可实现嵌套效果。
- 无序列表项 1
1. 嵌套有序列表项 1
2. 嵌套有序列表项 2
- 无序列表项 2
1. 有序列表项 1
2. 有序列表项 2
### 5. 链接与图片:丰富内容
- **链接**:用方括号和圆括号创建链接 \`[显示文本](链接地址)\`。
- **图片**:和链接类似,只需在前面加上 \`!\`,如 \`![描述文本](图片链接)\`。
[访问 Doocs](https://github.com/doocs)
![doocs](https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/doocs/md/images/logo-2.png)
轻松实现富媒体内容展示!
> 因微信公众号平台不支持除公众号内容以外的链接,故其他平台的链接,会呈现链接样式但无法点击跳转。
> 对于这些链接请注意明文书写,或点击左上角「格式->微信外链接转底部引用」开启引用,这样就可以在底部观察到链接指向。
### 6. 引用:引用名言或引人深思的句子
使用 \`>\` 来创建引用,只需在文本前面加上它。多层引用?在前一层 \`>\` 后再加一个就行。
> 这是一个引用
>
> > 这是一个嵌套引用
这让你的引用更加富有层次感。
### 7. 代码块:展示你的代码
- **行内代码**:用反引号包裹,如 \`code\`。
- **代码块**:用三个反引号包裹,并指定语言,如:
\`\`\`js
console.log("Hello, Doocs!");
\`\`\`
语法高亮让你的代码更易读。
### 8. 分割线:分割内容
用三个或更多的 \`-\`、\`*\` 或 \`_\` 来创建分割线。
---
为你的内容添加视觉分隔。
### 9. 表格:清晰展示数据
Markdown 支持简单的表格,用 \`|\` 和 \`-\` 分隔单元格和表头。
| 项目人员 | 邮箱 | 微信号 |
| ------------------------------------------- | ---------------------- | ------------ |
| [yanglbme](https://github.com/yanglbme) | contact@yanglibin.info | YLB0109 |
| [YangFong](https://github.com/YangFong) | yangfong2022@gmail.com | yq2419731931 |
| [thinkasany](https://github.com/thinkasany) | thinkasany@gmail.com | thinkasany |
这样的表格让数据展示更为清爽!
> 手动编写标记太麻烦?我们提供了便捷方式。左上方点击「编辑->插入表格」,即可快速实现表格渲染。
## Markdown 进阶技巧
### 1. LaTeX 公式:完美展示数学表达式
Markdown 允许嵌入 LaTeX 语法展示数学公式:
- **行内公式**:用 \`$\` 包裹公式,如 $E = mc^2$。
- **块级公式**:用 \`$$\` 包裹公式,如:
$$
\\begin{aligned}
d_{i, j} &\\leftarrow d_{i, j} + 1 \\\\
d_{i, y + 1} &\\leftarrow d_{i, y + 1} - 1 \\\\
d_{x + 1, j} &\\leftarrow d_{x + 1, j} - 1 \\\\
d_{x + 1, y + 1} &\\leftarrow d_{x + 1, y + 1} + 1
\\end{aligned}
$$
这是展示复杂数学表达的利器!
### 2. Mermaid 流程图:可视化流程
Mermaid 是强大的可视化工具,可以在 Markdown 中创建流程图、时序图等。
\`\`\`mermaid
graph LR
A[GraphCommand] --> B[update]
A --> C[goto]
A --> D[send]
B --> B1[更新状态]
C --> C1[流程控制]
D --> D1[消息传递]
\`\`\`
\`\`\`mermaid
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
\`\`\`
\`\`\`mermaid
pie
title Key elements in Product X
"Calcium" : 42.96
"Potassium" : 50.05
"Magnesium" : 10.01
"Iron" : 5
\`\`\`
\`\`\`mermaid
pie
title 为什么总是宅在家里?
"喜欢宅" : 45
"天气太热" : 70
"穷" : 500
"没人约" : 95
\`\`\`
这种方式不仅能直观展示流程,还能提升文档的专业性。
> 更多用法,参见:[Mermaid User Guide](https://mermaid.js.org/intro/getting-started.html)。
## 结语
Markdown 是一种简单、强大且易于掌握的标记语言通过学习基础和进阶语法你可以快速创作内容并有效传达信息。无论是技术文档、个人博客还是项目说明Markdown 都是你的得力助手。希望这篇内容能够带你全面了解 Markdown 的潜力,让你的写作更加丰富多彩!
现在,拿起 Markdown 编辑器,开始创作吧!探索 Markdown 的世界,你会发现它远比想象中更精彩!
#### 推荐阅读
- [阿里又一个 20k+ stars 开源项目诞生,恭喜 fastjson](https://mp.weixin.qq.com/s/RNKDCK2KoyeuMeEs6GUrow)
- [刷掉 90% 候选人的互联网大厂海量数据面试题(附题解 + 方法总结)](https://mp.weixin.qq.com/s/rjGqxUvrEqJNlo09GrT1Dw)
- [好用!期待已久的文本块功能究竟如何在 Java 13 中发挥作用?](https://mp.weixin.qq.com/s/kalGv5T8AZGxTnLHr2wDsA)
- [2019 GitHub 开源贡献排行榜新鲜出炉!微软谷歌领头,阿里跻身前 12](https://mp.weixin.qq.com/s/_q812aGD1b9QvZ2WFI0Qgw)
---
<center>
<img src="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/doocs/md/images/1648303220922-7e14aefa-816e-44c1-8604-ade709ca1c69.png" style="width: 100px;">
</center>
`,DEFAULT_CSS_CONTENT=`/**
* 按 Alt/Option + Shift + F 可格式化
* 如需使用主题色,请使用 var(--md-primary-color) 代替颜色值
* 如color: var(--md-primary-color);
*
* 召集令:如果你有好看的主题样式,欢迎分享,让更多人能够使用到你的主题。
* 提交区https://github.com/doocs/md/discussions/426
*/
/* 顶层容器样式 */
container {
}
/* 一级标题样式 */
h1 {
}
/* 二级标题样式 */
h2 {
}
/* 三级标题样式 */
h3 {
}
/* 四级标题样式 */
h4 {
}
/* 五级标题样式 */
h5 {
}
/* 六级标题样式 */
h6 {
}
/* 图片样式 */
image {
}
/* 引用样式 */
blockquote {
}
/* 引用段落样式 */
blockquote_p {
}
/* GFM note 样式 */
blockquote_note {
}
/* GFM tip 样式 */
blockquote_tip {
}
/* GFM important 样式 */
blockquote_important {
}
/* GFM warning 样式 */
blockquote_warning {
}
/* GFM caution 样式 */
blockquote_caution {
}
/* GFM 通用标题 */
blockquote_title {
}
/* GFM note 标题 */
blockquote_title_note {
}
/* GFM tip 标题 */
blockquote_title_tip {
}
/* GFM important 标题 */
blockquote_title_important {
}
/* GFM warning 标题 */
blockquote_title_warning {
}
/* GFM caution 标题 */
blockquote_title_caution {
}
/* GFM note 段落样式 */
blockquote_p_note {
}
/* GFM tip 段落样式 */
blockquote_p_tip {
}
/* GFM important 段落样式 */
blockquote_p_important {
}
/* GFM warning 段落样式 */
blockquote_p_warning {
}
/* GFM caution 段落样式 */
blockquote_p_caution {
}
/* 段落样式 */
p {
}
/* 分割线样式 */
hr {
}
/* 行内代码样式 */
codespan {
}
/* 粗体样式 */
strong {
}
/* 链接样式 */
link {
}
/* 微信链接样式 */
wx_link {
}
/* 有序列表样式 */
ol {
}
/* 无序列表样式 */
ul {
}
/* 列表项样式 */
li {
}
/* 代码块样式 */
code {
}
/* 代码块外层样式 */
code_pre {
}
`,githubConfig={username:"bucketio",repoList:Array.from({length:20},(Ra,qa)=>`img${qa}`),branch:"main",accessTokenList:["ghp_sqQg5y7XC7Fy8XdoocsmdVEYRiRiTZPvbwzTL4MRjQc","ghp_jB5JXzBjpGbgzdoocsmdogWfSHhfCKGVstozw1cAsPv","ghp_zvy8wkHo259g7doocsmdJnUKOQd1WO1SPzZ9G0O9cJD","ghp_DnCJc2Ms0RVZ1doocsmdiWOAN78FurfSeD1Pv2Y28pO","ghp_EsMYDv9WVjXWP5doocsmd1nnDml2DEP95rOiz44bSo0","ghp_L4isHf01nllOOdoocsmdHBGoDG6jscCA09WV44QDvlg","ghp_qWciwYXHPakAUGdoocsmdBOBZdRcV08JThKey3mBZNJ","ghp_rxkvIO08wVL2DMdoocsmd2jDEhcatp2rfVyhd3A7RiS","ghp_1RvkWKboSxr0yVdoocsmd7OtBCpecYwoV6deh3utifJ","ghp_cduanDnAug60ngdoocsmdF1uDstXUi6S9RMhY1qdada","ghp_q6mxuJIkqAcsCXdoocsmdkkjWvzGlMVRuy5zI0IWNDx","ghp_Pv4npPeJpChKFMTdoocsmdCQneopUcqJrqrjl3vrt9A","ghp_gKMCFqMaQiLTqhjdoocsmd7BJE8RyK6AdRw4b42CutS","ghp_2oShgb33qFlqBmadoocsmdludmuLYxBFY5bao1XrsVo","ghp_eYyd3kxWTZmsV8doocsmdDFbAa7AEGQTJgmOd0GUmtY"]},giteeConfig={username:"filesss",repoList:Array.from({length:20},(Ra,qa)=>`img${qa}`),branch:"main",accessTokenList:["ed5fc9866bd6c2fdoocsmddd433f806fd2f399c","5448ffebbbf1151doocsmdc4e337cf814fc8a62","25b05efd2557ca2doocsmd75b5c0835e3395911","11628c7a5aef015doocsmd2eeff9fb9566f0458","cb2f5145ed938dedoocsmdbd063b4ed244eecf8","d8c0b57500672c1doocsmd55f48b866b5ebcd98","78c56eadb88e453doocsmd43ddd95753351771a","03e1a688003948fdoocsmda16fcf41e6f03f1f0","c49121cf4d191fbdoocsmdd6a7877ed537e474a","adfeb2fadcdc4aadoocsmdfe1ee869ac9c968ff","116c94549ca4a0ddoocsmd192653af5c0694616","ecf30ed7f2eb184doocsmd51ea4ec8300371d9e","5837cf2bd5afd93doocsmd73904bed31934949e","b5b7e1c7d57e01fdoocsmd5266f552574297d78","684d55564ffbd0bdoocsmd7d747e5cc23aed6d6","3fc04a9d272ab71doocsmd010c56cb57d88d2ba"]},fontFamilyOptions=[{label:"无衬线",value:"-apple-system-font,BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB , Microsoft YaHei UI , Microsoft YaHei ,Arial,sans-serif",desc:"字体123Abc"},{label:"衬线",value:"Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, 'PingFang SC', Cambria, Cochin, Georgia, Times, 'Times New Roman', serif",desc:"字体123Abc"},{label:"等宽",value:"Menlo, Monaco, 'Courier New', monospace",desc:"字体123Abc"}],fontSizeOptions=[{label:"12px",value:"12px",desc:"更小"},{label:"13px",value:"13px",desc:"稍小"},{label:"14px",value:"14px",desc:"推荐"},{label:"15px",value:"15px",desc:"稍大"},{label:"16px",value:"16px",desc:"更大"}],colorOptions=[{label:"经典蓝",value:"#0F4C81",desc:"稳重冷静"},{label:"翡翠绿",value:"#009874",desc:"自然平衡"},{label:"活力橘",value:"#FA5151",desc:"热情活力"},{label:"柠檬黄",value:"#FECE00",desc:"明亮温暖"},{label:"薰衣紫",value:"#92617E",desc:"优雅神秘"},{label:"天空蓝",value:"#55C9EA",desc:"清爽自由"},{label:"玫瑰金",value:"#B76E79",desc:"奢华现代"},{label:"橄榄绿",value:"#556B2F",desc:"沉稳自然"},{label:"石墨黑",value:"#333333",desc:"内敛极简"},{label:"雾烟灰",value:"#A9A9A9",desc:"柔和低调"},{label:"樱花粉",value:"#FFB7C5",desc:"浪漫甜美"}],codeBlockUrlPrefix="https://cdn.bootcdn.net/ajax/libs/highlight.js/11.10.0/styles/",codeBlockThemeList=["1c-light.min.css","a11y-dark.min.css","a11y-light.min.css","agate.min.css","an-old-hope.min.css","androidstudio.min.css","arduino-light.min.css","arta.min.css","ascetic.min.css","atom-one-dark-reasonable.min.css","atom-one-dark.min.css","atom-one-light.min.css","brown-paper.min.css","codepen-embed.min.css","color-brewer.min.css","dark.min.css","default.min.css","devibeans.min.css","docco.min.css","far.min.css","felipec.min.css","foundation.min.css","github-dark-dimmed.min.css","github-dark.min.css","github.min.css","gml.min.css","googlecode.min.css","gradient-dark.min.css","gradient-light.min.css","grayscale.min.css","hybrid.min.css","idea.min.css","intellij-light.min.css","ir-black.min.css","isbl-editor-dark.min.css","isbl-editor-light.min.css","kimbie-dark.min.css","kimbie-light.min.css","lightfair.min.css","lioshi.min.css","magula.min.css","mono-blue.min.css","monokai-sublime.min.css","monokai.min.css","night-owl.min.css","nnfx-dark.min.css","nnfx-light.min.css","nord.min.css","obsidian.min.css","panda-syntax-dark.min.css","panda-syntax-light.min.css","paraiso-dark.min.css","paraiso-light.min.css","pojoaque.min.css","purebasic.min.css","qtcreator-dark.min.css","qtcreator-light.min.css","rainbow.min.css","routeros.min.css","school-book.min.css","shades-of-purple.min.css","srcery.min.css","stackoverflow-dark.min.css","stackoverflow-light.min.css","sunburst.min.css","tokyo-night-dark.min.css","tokyo-night-light.min.css","tomorrow-night-blue.min.css","tomorrow-night-bright.min.css","vs.min.css","vs2015.min.css","xcode.min.css","xt256.min.css"].sort(),codeBlockThemeOptions=codeBlockThemeList.map(Ra=>{const qa=Ra.replace(".min.css",""),nd=`${codeBlockUrlPrefix}${Ra}`;return{label:qa,value:nd,desc:""}}),legendOptions=[{label:"title 优先",value:"title-alt",desc:""},{label:"alt 优先",value:"alt-title",desc:""},{label:"只显示 title",value:"title",desc:""},{label:"只显示 alt",value:"alt",desc:""},{label:"不显示",value:"none",desc:""}];function debounce(Ra,qa,{signal:nd,edges:od}={}){let ld,ud=null;const dd=od!=null&&od.includes("leading"),pd=od==null||od.includes("trailing"),fd=()=>{ud!==null&&(Ra.apply(ld,ud),ld=void 0,ud=null)},md=()=>{pd&&fd(),Od()};let vd=null;const Ad=()=>{vd!=null&&clearTimeout(vd),vd=setTimeout(()=>{vd=null,md()},qa)},Nd=()=>{vd!==null&&(clearTimeout(vd),vd=null)},Od=()=>{Nd(),ld=void 0,ud=null},kd=()=>{Nd(),fd()},Ld=function(...Gd){if(nd!=null&&nd.aborted)return;ld=this,ud=Gd;const jd=vd==null;Ad(),dd&&jd&&fd()};return Ld.schedule=Ad,Ld.cancel=Od,Ld.flush=kd,nd==null||nd.addEventListener("abort",Od,{once:!0}),Ld}function throttle$1(Ra,qa,{signal:nd,edges:od=["leading","trailing"]}={}){let ld=null;const ud=debounce(Ra,qa,{signal:nd,edges:od}),dd=function(...pd){ld==null?ld=Date.now():Date.now()-ld>=qa&&(ld=Date.now(),ud.cancel(),ud(...pd)),ud(...pd)};return dd.cancel=ud.cancel,dd.flush=ud.flush,dd}function isPrimitive(Ra){return Ra==null||typeof Ra!="object"&&typeof Ra!="function"}function isTypedArray$3(Ra){return ArrayBuffer.isView(Ra)&&!(Ra instanceof DataView)}var buffer$1={},base64Js$1={};base64Js$1.byteLength=byteLength;base64Js$1.toByteArray=toByteArray;base64Js$1.fromByteArray=fromByteArray;var lookup=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var i$4=0,len=code.length;i$4<len;++i$4)lookup[i$4]=code[i$4],revLookup[code.charCodeAt(i$4)]=i$4;revLookup[45]=62;revLookup[95]=63;function getLens(Ra){var qa=Ra.length;if(qa%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var nd=Ra.indexOf("=");nd===-1&&(nd=qa);var od=nd===qa?0:4-nd%4;return[nd,od]}function byteLength(Ra){var qa=getLens(Ra),nd=qa[0],od=qa[1];return(nd+od)*3/4-od}function _byteLength(Ra,qa,nd){return(qa+nd)*3/4-nd}function toByteArray(Ra){var qa,nd=getLens(Ra),od=nd[0],ld=nd[1],ud=new Arr(_byteLength(Ra,od,ld)),dd=0,pd=ld>0?od-4:od,fd;for(fd=0;fd<pd;fd+=4)qa=revLookup[Ra.charCodeAt(fd)]<<18|revLookup[Ra.charCodeAt(fd+1)]<<12|revLookup[Ra.charCodeAt(fd+2)]<<6|revLookup[Ra.charCodeAt(fd+3)],ud[dd++]=qa>>16&255,ud[dd++]=qa>>8&255,ud[dd++]=qa&255;return ld===2&&(qa=revLookup[Ra.charCodeAt(fd)]<<2|revLookup[Ra.charCodeAt(fd+1)]>>4,ud[dd++]=qa&255),ld===1&&(qa=revLookup[Ra.charCodeAt(fd)]<<10|revLookup[Ra.charCodeAt(fd+1)]<<4|revLookup[Ra.charCodeAt(fd+2)]>>2,ud[dd++]=qa>>8&255,ud[dd++]=qa&255),ud}function tripletToBase64(Ra){return lookup[Ra>>18&63]+lookup[Ra>>12&63]+lookup[Ra>>6&63]+lookup[Ra&63]}function encodeChunk(Ra,qa,nd){for(var od,ld=[],ud=qa;ud<nd;ud+=3)od=(Ra[ud]<<16&16711680)+(Ra[ud+1]<<8&65280)+(Ra[ud+2]&255),ld.push(tripletToBase64(od));return ld.join("")}function fromByteArray(Ra){for(var qa,nd=Ra.length,od=nd%3,ld=[],ud=16383,dd=0,pd=nd-od;dd<pd;dd+=ud)ld.push(encodeChunk(Ra,dd,dd+ud>pd?pd:dd+ud));return od===1?(qa=Ra[nd-1],ld.push(lookup[qa>>2]+lookup[qa<<4&63]+"==")):od===2&&(qa=(Ra[nd-2]<<8)+Ra[nd-1],ld.push(lookup[qa>>10]+lookup[qa>>4&63]+lookup[qa<<2&63]+"=")),ld.join("")}var ieee754$1={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ieee754$1.read=function(Ra,qa,nd,od,ld){var ud,dd,pd=ld*8-od-1,fd=(1<<pd)-1,md=fd>>1,vd=-7,Ad=nd?ld-1:0,Nd=nd?-1:1,Od=Ra[qa+Ad];for(Ad+=Nd,ud=Od&(1<<-vd)-1,Od>>=-vd,vd+=pd;vd>0;ud=ud*256+Ra[qa+Ad],Ad+=Nd,vd-=8);for(dd=ud&(1<<-vd)-1,ud>>=-vd,vd+=od;vd>0;dd=dd*256+Ra[qa+Ad],Ad+=Nd,vd-=8);if(ud===0)ud=1-md;else{if(ud===fd)return dd?NaN:(Od?-1:1)*(1/0);dd=dd+Math.pow(2,od),ud=ud-md}return(Od?-1:1)*dd*Math.pow(2,ud-od)};ieee754$1.write=function(Ra,qa,nd,od,ld,ud){var dd,pd,fd,md=ud*8-ld-1,vd=(1<<md)-1,Ad=vd>>1,Nd=ld===23?Math.pow(2,-24)-Math.pow(2,-77):0,Od=od?0:ud-1,kd=od?1:-1,Ld=qa<0||qa===0&&1/qa<0?1:0;for(qa=Math.abs(qa),isNaN(qa)||qa===1/0?(pd=isNaN(qa)?1:0,dd=vd):(dd=Math.floor(Math.log(qa)/Math.LN2),qa*(fd=Math.pow(2,-dd))<1&&(dd--,fd*=2),dd+Ad>=1?qa+=Nd/fd:qa+=Nd*Math.pow(2,1-Ad),qa*fd>=2&&(dd++,fd/=2),dd+Ad>=vd?(pd=0,dd=vd):dd+Ad>=1?(pd=(qa*fd-1)*Math.pow(2,ld),dd=dd+Ad):(pd=qa*Math.pow(2,Ad-1)*Math.pow(2,ld),dd=0));ld>=8;Ra[nd+Od]=pd&255,Od+=kd,pd/=256,ld-=8);for(dd=dd<<ld|pd,md+=ld;md>0;Ra[nd+Od]=dd&255,Od+=kd,dd/=256,md-=8);Ra[nd+Od-kd]|=Ld*128};/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/(function(Ra){const qa=base64Js$1,nd=ieee754$1,od=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Ra.Buffer=vd,Ra.SlowBuffer=zd,Ra.INSPECT_MAX_BYTES=50;const ld=2147483647;Ra.kMaxLength=ld;const{Uint8Array:ud,ArrayBuffer:dd,SharedArrayBuffer:pd}=globalThis;vd.TYPED_ARRAY_SUPPORT=fd(),!vd.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function fd(){try{const Th=new ud(1),Rf={foo:function(){return 42}};return Object.setPrototypeOf(Rf,ud.prototype),Object.setPrototypeOf(Th,Rf),Th.foo()===42}catch{return!1}}Object.defineProperty(vd.prototype,"parent",{enumerable:!0,get:function(){if(vd.isBuffer(this))return this.buffer}}),Object.defineProperty(vd.prototype,"offset",{enumerable:!0,get:function(){if(vd.isBuffer(this))return this.byteOffset}});function md(Th){if(Th>ld)throw new RangeError('The value "'+Th+'" is invalid for option "size"');const Rf=new ud(Th);return Object.setPrototypeOf(Rf,vd.prototype),Rf}function vd(Th,Rf,wf){if(typeof Th=="number"){if(typeof Rf=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return kd(Th)}return Ad(Th,Rf,wf)}vd.poolSize=8192;function Ad(Th,Rf,wf){if(typeof Th=="string")return Ld(Th,Rf);if(dd.isView(Th))return jd(Th);if(Th==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Th);if(Mm(Th,dd)||Th&&Mm(Th.buffer,dd)||typeof pd<"u"&&(Mm(Th,pd)||Th&&Mm(Th.buffer,pd)))return Fd(Th,Rf,wf);if(typeof Th=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const sh=Th.valueOf&&Th.valueOf();if(sh!=null&&sh!==Th)return vd.from(sh,Rf,wf);const xh=Ud(Th);if(xh)return xh;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Th[Symbol.toPrimitive]=="function")return vd.from(Th[Symbol.toPrimitive]("string"),Rf,wf);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Th)}vd.from=function(Th,Rf,wf){return Ad(Th,Rf,wf)},Object.setPrototypeOf(vd.prototype,ud.prototype),Object.setPrototypeOf(vd,ud);function Nd(Th){if(typeof Th!="number")throw new TypeError('"size" argument must be of type number');if(Th<0)throw new RangeError('The value "'+Th+'" is invalid for option "size"')}function Od(Th,Rf,wf){return Nd(Th),Th<=0?md(Th):Rf!==void 0?typeof wf=="string"?md(Th).fill(Rf,wf):md(Th).fill(Rf):md(Th)}vd.alloc=function(Th,Rf,wf){return Od(Th,Rf,wf)};function kd(Th){return Nd(Th),md(Th<0?0:qd(Th)|0)}vd.allocUnsafe=function(Th){return kd(Th)},vd.allocUnsafeSlow=function(Th){return kd(Th)};function Ld(Th,Rf){if((typeof Rf!="string"||Rf==="")&&(Rf="utf8"),!vd.isEncoding(Rf))throw new TypeError("Unknown encoding: "+Rf);const wf=Wd(Th,Rf)|0;let sh=md(wf);const xh=sh.write(Th,Rf);return xh!==wf&&(sh=sh.slice(0,xh)),sh}function Gd(Th){const Rf=Th.length<0?0:qd(Th.length)|0,wf=md(Rf);for(let sh=0;sh<Rf;sh+=1)wf[sh]=Th[sh]&255;return wf}function jd(Th){if(Mm(Th,ud)){const Rf=new ud(Th);return Fd(Rf.buffer,Rf.byteOffset,Rf.byteLength)}return Gd(Th)}function Fd(Th,Rf,wf){if(Rf<0||Th.byteLength<Rf)throw new RangeError('"offset" is outside of buffer bounds');if(Th.byteLength<Rf+(wf||0))throw new RangeError('"length" is outside of buffer bounds');let sh;return Rf===void 0&&wf===void 0?sh=new ud(Th):wf===void 0?sh=new ud(Th,Rf):sh=new ud(Th,Rf,wf),Object.setPrototypeOf(sh,vd.prototype),sh}function Ud(Th){if(vd.isBuffer(Th)){const Rf=qd(Th.length)|0,wf=md(Rf);return wf.length===0||Th.copy(wf,0,0,Rf),wf}if(Th.length!==void 0)return typeof Th.length!="number"||Im(Th.length)?md(0):Gd(Th);if(Th.type==="Buffer"&&Array.isArray(Th.data))return Gd(Th.data)}function qd(Th){if(Th>=ld)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ld.toString(16)+" bytes");return Th|0}function zd(Th){return+Th!=Th&&(Th=0),vd.alloc(+Th)}vd.isBuffer=function(Rf){return Rf!=null&&Rf._isBuffer===!0&&Rf!==vd.prototype},vd.compare=function(Rf,wf){if(Mm(Rf,ud)&&(Rf=vd.from(Rf,Rf.offset,Rf.byteLength)),Mm(wf,ud)&&(wf=vd.from(wf,wf.offset,wf.byteLength)),!vd.isBuffer(Rf)||!vd.isBuffer(wf))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Rf===wf)return 0;let sh=Rf.length,xh=wf.length;for(let Wh=0,om=Math.min(sh,xh);Wh<om;++Wh)if(Rf[Wh]!==wf[Wh]){sh=Rf[Wh],xh=wf[Wh];break}return sh<xh?-1:xh<sh?1:0},vd.isEncoding=function(Rf){switch(String(Rf).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},vd.concat=function(Rf,wf){if(!Array.isArray(Rf))throw new TypeError('"list" argument must be an Array of Buffers');if(Rf.length===0)return vd.alloc(0);let sh;if(wf===void 0)for(wf=0,sh=0;sh<Rf.length;++sh)wf+=Rf[sh].length;const xh=vd.allocUnsafe(wf);let Wh=0;for(sh=0;sh<Rf.length;++sh){let om=Rf[sh];if(Mm(om,ud))Wh+om.length>xh.length?(vd.isBuffer(om)||(om=vd.from(om)),om.copy(xh,Wh)):ud.prototype.set.call(xh,om,Wh);else if(vd.isBuffer(om))om.copy(xh,Wh);else throw new TypeError('"list" argument must be an Array of Buffers');Wh+=om.length}return xh};function Wd(Th,Rf){if(vd.isBuffer(Th))return Th.length;if(dd.isView(Th)||Mm(Th,dd))return Th.byteLength;if(typeof Th!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Th);const wf=Th.length,sh=arguments.length>2&&arguments[2]===!0;if(!sh&&wf===0)return 0;let xh=!1;for(;;)switch(Rf){case"ascii":case"latin1":case"binary":return wf;case"utf8":case"utf-8":return mh(Th).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return wf*2;case"hex":return wf>>>1;case"base64":return pm(Th).length;default:if(xh)return sh?-1:mh(Th).length;Rf=(""+Rf).toLowerCase(),xh=!0}}vd.byteLength=Wd;function Jd(Th,Rf,wf){let sh=!1;if((Rf===void 0||Rf<0)&&(Rf=0),Rf>this.length||((wf===void 0||wf>this.length)&&(wf=this.length),wf<=0)||(wf>>>=0,Rf>>>=0,wf<=Rf))return"";for(Th||(Th="utf8");;)switch(Th){case"hex":return qf(this,Rf,wf);case"utf8":case"utf-8":return If(this,Rf,wf);case"ascii":return Xf(this,Rf,wf);case"latin1":case"binary":return ph(this,Rf,wf);case"base64":return Nf(this,Rf,wf);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Lf(this,Rf,wf);default:if(sh)throw new TypeError("Unknown encoding: "+Th);Th=(Th+"").toLowerCase(),sh=!0}}vd.prototype._isBuffer=!0;function _f(Th,Rf,wf){const sh=Th[Rf];Th[Rf]=Th[wf],Th[wf]=sh}vd.prototype.swap16=function(){const Rf=this.length;if(Rf%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let wf=0;wf<Rf;wf+=2)_f(this,wf,wf+1);return this},vd.prototype.swap32=function(){const Rf=this.length;if(Rf%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let wf=0;wf<Rf;wf+=4)_f(this,wf,wf+3),_f(this,wf+1,wf+2);return this},vd.prototype.swap64=function(){const Rf=this.length;if(Rf%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let wf=0;wf<Rf;wf+=8)_f(this,wf,wf+7),_f(this,wf+1,wf+6),_f(this,wf+2,wf+5),_f(this,wf+3,wf+4);return this},vd.prototype.toString=function(){const Rf=this.length;return Rf===0?"":arguments.length===0?If(this,0,Rf):Jd.apply(this,arguments)},vd.prototype.toLocaleString=vd.prototype.toString,vd.prototype.equals=function(Rf){if(!vd.isBuffer(Rf))throw new TypeError("Argument must be a Buffer");return this===Rf?!0:vd.compare(this,Rf)===0},vd.prototype.inspect=function(){let Rf="";const wf=Ra.INSPECT_MAX_BYTES;return Rf=this.toString("hex",0,wf).replace(/(.{2})/g,"$1 ").trim(),this.length>wf&&(Rf+=" ... "),"<Buffer "+Rf+">"},od&&(vd.prototype[od]=vd.prototype.inspect),vd.prototype.compare=function(Rf,wf,sh,xh,Wh){if(Mm(Rf,ud)&&(Rf=vd.from(Rf,Rf.offset,Rf.byteLength)),!vd.isBuffer(Rf))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Rf);if(wf===void 0&&(wf=0),sh===void 0&&(sh=Rf?Rf.length:0),xh===void 0&&(xh=0),Wh===void 0&&(Wh=this.length),wf<0||sh>Rf.length||xh<0||Wh>this.length)throw new RangeError("out of range index");if(xh>=Wh&&wf>=sh)return 0;if(xh>=Wh)return-1;if(wf>=sh)return 1;if(wf>>>=0,sh>>>=0,xh>>>=0,Wh>>>=0,this===Rf)return 0;let om=Wh-xh,Dm=sh-wf;const zm=Math.min(om,Dm),jm=this.slice(xh,Wh),ig=Rf.slice(wf,sh);for(let Zm=0;Zm<zm;++Zm)if(jm[Zm]!==ig[Zm]){om=jm[Zm],Dm=ig[Zm];break}return om<Dm?-1:Dm<om?1:0};function Xd(Th,Rf,wf,sh,xh){if(Th.length===0)return-1;if(typeof wf=="string"?(sh=wf,wf=0):wf>2147483647?wf=2147483647:wf<-2147483648&&(wf=-2147483648),wf=+wf,Im(wf)&&(wf=xh?0:Th.length-1),wf<0&&(wf=Th.length+wf),wf>=Th.length){if(xh)return-1;wf=Th.length-1}else if(wf<0)if(xh)wf=0;else return-1;if(typeof Rf=="string"&&(Rf=vd.from(Rf,sh)),vd.isBuffer(Rf))return Rf.length===0?-1:pf(Th,Rf,wf,sh,xh);if(typeof Rf=="number")return Rf=Rf&255,typeof ud.prototype.indexOf=="function"?xh?ud.prototype.indexOf.call(Th,Rf,wf):ud.prototype.lastIndexOf.call(Th,Rf,wf):pf(Th,[Rf],wf,sh,xh);throw new TypeError("val must be string, number or Buffer")}function pf(Th,Rf,wf,sh,xh){let Wh=1,om=Th.length,Dm=Rf.length;if(sh!==void 0&&(sh=String(sh).toLowerCase(),sh==="ucs2"||sh==="ucs-2"||sh==="utf16le"||sh==="utf-16le")){if(Th.length<2||Rf.length<2)return-1;Wh=2,om/=2,Dm/=2,wf/=2}function zm(ig,Zm){return Wh===1?ig[Zm]:ig.readUInt16BE(Zm*Wh)}let jm;if(xh){let ig=-1;for(jm=wf;jm<om;jm++)if(zm(Th,jm)===zm(Rf,ig===-1?0:jm-ig)){if(ig===-1&&(ig=jm),jm-ig+1===Dm)return ig*Wh}else ig!==-1&&(jm-=jm-ig),ig=-1}else for(wf+Dm>om&&(wf=om-Dm),jm=wf;jm>=0;jm--){let ig=!0;for(let Zm=0;Zm<Dm;Zm++)if(zm(Th,jm+Zm)!==zm(Rf,Zm)){ig=!1;break}if(ig)return jm}return-1}vd.prototype.includes=function(Rf,wf,sh){return this.indexOf(Rf,wf,sh)!==-1},vd.prototype.indexOf=function(Rf,wf,sh){return Xd(this,Rf,wf,sh,!0)},vd.prototype.lastIndexOf=function(Rf,wf,sh){return Xd(this,Rf,wf,sh,!1)};function mf(Th,Rf,wf,sh){wf=Number(wf)||0;const xh=Th.length-wf;sh?(sh=Number(sh),sh>xh&&(sh=xh)):sh=xh;const Wh=Rf.length;sh>Wh/2&&(sh=Wh/2);let om;for(om=0;om<sh;++om){const Dm=parseInt(Rf.substr(om*2,2),16);if(Im(Dm))return om;Th[wf+om]=Dm}return om}function Sf(Th,Rf,wf,sh){return Jh(mh(Rf,Th.length-wf),Th,wf,sh)}function Tf(Th,Rf,wf,sh){return Jh(Mh(Rf),Th,wf,sh)}function Af(Th,Rf,wf,sh){return Jh(pm(Rf),Th,wf,sh)}function Ef(Th,Rf,wf,sh){return Jh(_h(Rf,Th.length-wf),Th,wf,sh)}vd.prototype.write=function(Rf,wf,sh,xh){if(wf===void 0)xh="utf8",sh=this.length,wf=0;else if(sh===void 0&&typeof wf=="string")xh=wf,sh=this.length,wf=0;else if(isFinite(wf))wf=wf>>>0,isFinite(sh)?(sh=sh>>>0,xh===void 0&&(xh="utf8")):(xh=sh,sh=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const Wh=this.length-wf;if((sh===void 0||sh>Wh)&&(sh=Wh),Rf.length>0&&(sh<0||wf<0)||wf>this.length)throw new RangeError("Attempt to write outside buffer bounds");xh||(xh="utf8");let om=!1;for(;;)switch(xh){case"hex":return mf(this,Rf,wf,sh);case"utf8":case"utf-8":return Sf(this,Rf,wf,sh);case"ascii":case"latin1":case"binary":return Tf(this,Rf,wf,sh);case"base64":return Af(this,Rf,wf,sh);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ef(this,Rf,wf,sh);default:if(om)throw new TypeError("Unknown encoding: "+xh);xh=(""+xh).toLowerCase(),om=!0}},vd.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Nf(Th,Rf,wf){return Rf===0&&wf===Th.length?qa.fromByteArray(Th):qa.fromByteArray(Th.slice(Rf,wf))}function If(Th,Rf,wf){wf=Math.min(Th.length,wf);const sh=[];let xh=Rf;for(;xh<wf;){const Wh=Th[xh];let om=null,Dm=Wh>239?4:Wh>223?3:Wh>191?2:1;if(xh+Dm<=wf){let zm,jm,ig,Zm;switch(Dm){case 1:Wh<128&&(om=Wh);break;case 2:zm=Th[xh+1],(zm&192)===128&&(Zm=(Wh&31)<<6|zm&63,Zm>127&&(om=Zm));break;case 3:zm=Th[xh+1],jm=Th[xh+2],(zm&192)===128&&(jm&192)===128&&(Zm=(Wh&15)<<12|(zm&63)<<6|jm&63,Zm>2047&&(Zm<55296||Zm>57343)&&(om=Zm));break;case 4:zm=Th[xh+1],jm=Th[xh+2],ig=Th[xh+3],(zm&192)===128&&(jm&192)===128&&(ig&192)===128&&(Zm=(Wh&15)<<18|(zm&63)<<12|(jm&63)<<6|ig&63,Zm>65535&&Zm<1114112&&(om=Zm))}}om===null?(om=65533,Dm=1):om>65535&&(om-=65536,sh.push(om>>>10&1023|55296),om=56320|om&1023),sh.push(om),xh+=Dm}return Qf(sh)}const Gf=4096;function Qf(Th){const Rf=Th.length;if(Rf<=Gf)return String.fromCharCode.apply(String,Th);let wf="",sh=0;for(;sh<Rf;)wf+=String.fromCharCode.apply(String,Th.slice(sh,sh+=Gf));return wf}function Xf(Th,Rf,wf){let sh="";wf=Math.min(Th.length,wf);for(let xh=Rf;xh<wf;++xh)sh+=String.fromCharCode(Th[xh]&127);return sh}function ph(Th,Rf,wf){let sh="";wf=Math.min(Th.length,wf);for(let xh=Rf;xh<wf;++xh)sh+=String.fromCharCode(Th[xh]);return sh}function qf(Th,Rf,wf){const sh=Th.length;(!Rf||Rf<0)&&(Rf=0),(!wf||wf<0||wf>sh)&&(wf=sh);let xh="";for(let Wh=Rf;Wh<wf;++Wh)xh+=gm[Th[Wh]];return xh}function Lf(Th,Rf,wf){const sh=Th.slice(Rf,wf);let xh="";for(let Wh=0;Wh<sh.length-1;Wh+=2)xh+=String.fromCharCode(sh[Wh]+sh[Wh+1]*256);return xh}vd.prototype.slice=function(Rf,wf){const sh=this.length;Rf=~~Rf,wf=wf===void 0?sh:~~wf,Rf<0?(Rf+=sh,Rf<0&&(Rf=0)):Rf>sh&&(Rf=sh),wf<0?(wf+=sh,wf<0&&(wf=0)):wf>sh&&(wf=sh),wf<Rf&&(wf=Rf);const xh=this.subarray(Rf,wf);return Object.setPrototypeOf(xh,vd.prototype),xh};function Wf(Th,Rf,wf){if(Th%1!==0||Th<0)throw new RangeError("offset is not uint");if(Th+Rf>wf)throw new RangeError("Trying to access beyond buffer length")}vd.prototype.readUintLE=vd.prototype.readUIntLE=function(Rf,wf,sh){Rf=Rf>>>0,wf=wf>>>0,sh||Wf(Rf,wf,this.length);let xh=this[Rf],Wh=1,om=0;for(;++om<wf&&(Wh*=256);)xh+=this[Rf+om]*Wh;return xh},vd.prototype.readUintBE=vd.prototype.readUIntBE=function(Rf,wf,sh){Rf=Rf>>>0,wf=wf>>>0,sh||Wf(Rf,wf,this.length);let xh=this[Rf+--wf],Wh=1;for(;wf>0&&(Wh*=256);)xh+=this[Rf+--wf]*Wh;return xh},vd.prototype.readUint8=vd.prototype.readUInt8=function(Rf,wf){return Rf=Rf>>>0,wf||Wf(Rf,1,this.length),this[Rf]},vd.prototype.readUint16LE=vd.prototype.readUInt16LE=function(Rf,wf){return Rf=Rf>>>0,wf||Wf(Rf,2,this.length),this[Rf]|this[Rf+1]<<8},vd.prototype.readUint16BE=vd.prototype.readUInt16BE=function(Rf,wf){return Rf=Rf>>>0,wf||Wf(Rf,2,this.length),this[Rf]<<8|this[Rf+1]},vd.prototype.readUint32LE=vd.prototype.readUInt32LE=function(Rf,wf){return Rf=Rf>>>0,wf||Wf(Rf,4,this.length),(this[Rf]|this[Rf+1]<<8|this[Rf+2]<<16)+this[Rf+3]*16777216},vd.prototype.readUint32BE=vd.prototype.readUInt32BE=function(Rf,wf){return Rf=Rf>>>0,wf||Wf(Rf,4,this.length),this[Rf]*16777216+(this[Rf+1]<<16|this[Rf+2]<<8|this[Rf+3])},vd.prototype.readBigUInt64LE=Lm(function(Rf){Rf=Rf>>>0,uh(Rf,"offset");const wf=this[Rf],sh=this[Rf+7];(wf===void 0||sh===void 0)&&Pf(Rf,this.length-8);const xh=wf+this[++Rf]*2**8+this[++Rf]*2**16+this[++Rf]*2**24,Wh=this[++Rf]+this[++Rf]*2**8+this[++Rf]*2**16+sh*2**24;return BigInt(xh)+(BigInt(Wh)<<BigInt(32))}),vd.prototype.readBigUInt64BE=Lm(function(Rf){Rf=Rf>>>0,uh(Rf,"offset");const wf=this[Rf],sh=this[Rf+7];(wf===void 0||sh===void 0)&&Pf(Rf,this.length-8);const xh=wf*2**24+this[++Rf]*2**16+this[++Rf]*2**8+this[++Rf],Wh=this[++Rf]*2**24+this[++Rf]*2**16+this[++Rf]*2**8+sh;return(BigInt(xh)<<BigInt(32))+BigInt(Wh)}),vd.prototype.readIntLE=function(Rf,wf,sh){Rf=Rf>>>0,wf=wf>>>0,sh||Wf(Rf,wf,this.length);let xh=this[Rf],Wh=1,om=0;for(;++om<wf&&(Wh*=256);)xh+=this[Rf+om]*Wh;return Wh*=128,xh>=Wh&&(xh-=Math.pow(2,8*wf)),xh},vd.prototype.readIntBE=function(Rf,wf,sh){Rf=Rf>>>0,wf=wf>>>0,sh||Wf(Rf,wf,this.length);let xh=wf,Wh=1,om=this[Rf+--xh];for(;xh>0&&(Wh*=256);)om+=this[Rf+--xh]*Wh;return Wh*=128,om>=Wh&&(om-=Math.pow(2,8*wf)),om},vd.prototype.readInt8=function(Rf,wf){return Rf=Rf>>>0,wf||Wf(Rf,1,this.length),this[Rf]&128?(255-this[Rf]+1)*-1:this[Rf]},vd.prototype.readInt16LE=function(Rf,wf){Rf=Rf>>>0,wf||Wf(Rf,2,this.length);const sh=this[Rf]|this[Rf+1]<<8;return sh&32768?sh|4294901760:sh},vd.prototype.readInt16BE=function(Rf,wf){Rf=Rf>>>0,wf||Wf(Rf,2,this.length);const sh=this[Rf+1]|this[Rf]<<8;return sh&32768?sh|4294901760:sh},vd.prototype.readInt32LE=function(Rf,wf){return Rf=Rf>>>0,wf||Wf(Rf,4,this.length),this[Rf]|this[Rf+1]<<8|this[Rf+2]<<16|this[Rf+3]<<24},vd.prototype.readInt32BE=function(Rf,wf){return Rf=Rf>>>0,wf||Wf(Rf,4,this.length),this[Rf]<<24|this[Rf+1]<<16|this[Rf+2]<<8|this[Rf+3]},vd.prototype.readBigInt64LE=Lm(function(Rf){Rf=Rf>>>0,uh(Rf,"offset");const wf=this[Rf],sh=this[Rf+7];(wf===void 0||sh===void 0)&&Pf(Rf,this.length-8);const xh=this[Rf+4]+this[Rf+5]*2**8+this[Rf+6]*2**16+(sh<<24);return(BigInt(xh)<<BigInt(32))+BigInt(wf+this[++Rf]*2**8+this[++Rf]*2**16+this[++Rf]*2**24)}),vd.prototype.readBigInt64BE=Lm(function(Rf){Rf=Rf>>>0,uh(Rf,"offset");const wf=this[Rf],sh=this[Rf+7];(wf===void 0||sh===void 0)&&Pf(Rf,this.length-8);const xh=(wf<<24)+this[++Rf]*2**16+this[++Rf]*2**8+this[++Rf];return(BigInt(xh)<<BigInt(32))+BigInt(this[++Rf]*2**24+this[++Rf]*2**16+this[++Rf]*2**8+sh)}),vd.prototype.readFloatLE=function(Rf,wf){return Rf=Rf>>>0,wf||Wf(Rf,4,this.length),nd.read(this,Rf,!0,23,4)},vd.prototype.readFloatBE=function(Rf,wf){return Rf=Rf>>>0,wf||Wf(Rf,4,this.length),nd.read(this,Rf,!1,23,4)},vd.prototype.readDoubleLE=function(Rf,wf){return Rf=Rf>>>0,wf||Wf(Rf,8,this.length),nd.read(this,Rf,!0,52,8)},vd.prototype.readDoubleBE=function(Rf,wf){return Rf=Rf>>>0,wf||Wf(Rf,8,this.length),nd.read(this,Rf,!1,52,8)};function Jf(Th,Rf,wf,sh,xh,Wh){if(!vd.isBuffer(Th))throw new TypeError('"buffer" argument must be a Buffer instance');if(Rf>xh||Rf<Wh)throw new RangeError('"value" argument is out of bounds');if(wf+sh>Th.length)throw new RangeError("Index out of range")}vd.prototype.writeUintLE=vd.prototype.writeUIntLE=function(Rf,wf,sh,xh){if(Rf=+Rf,wf=wf>>>0,sh=sh>>>0,!xh){const Dm=Math.pow(2,8*sh)-1;Jf(this,Rf,wf,sh,Dm,0)}let Wh=1,om=0;for(this[wf]=Rf&255;++om<sh&&(Wh*=256);)this[wf+om]=Rf/Wh&255;return wf+sh},vd.prototype.writeUintBE=vd.prototype.writeUIntBE=function(Rf,wf,sh,xh){if(Rf=+Rf,wf=wf>>>0,sh=sh>>>0,!xh){const Dm=Math.pow(2,8*sh)-1;Jf(this,Rf,wf,sh,Dm,0)}let Wh=sh-1,om=1;for(this[wf+Wh]=Rf&255;--Wh>=0&&(om*=256);)this[wf+Wh]=Rf/om&255;return wf+sh},vd.prototype.writeUint8=vd.prototype.writeUInt8=function(Rf,wf,sh){return Rf=+Rf,wf=wf>>>0,sh||Jf(this,Rf,wf,1,255,0),this[wf]=Rf&255,wf+1},vd.prototype.writeUint16LE=vd.prototype.writeUInt16LE=function(Rf,wf,sh){return Rf=+Rf,wf=wf>>>0,sh||Jf(this,Rf,wf,2,65535,0),this[wf]=Rf&255,this[wf+1]=Rf>>>8,wf+2},vd.prototype.writeUint16BE=vd.prototype.writeUInt16BE=function(Rf,wf,sh){return Rf=+Rf,wf=wf>>>0,sh||Jf(this,Rf,wf,2,65535,0),this[wf]=Rf>>>8,this[wf+1]=Rf&255,wf+2},vd.prototype.writeUint32LE=vd.prototype.writeUInt32LE=function(Rf,wf,sh){return Rf=+Rf,wf=wf>>>0,sh||Jf(this,Rf,wf,4,4294967295,0),this[wf+3]=Rf>>>24,this[wf+2]=Rf>>>16,this[wf+1]=Rf>>>8,this[wf]=Rf&255,wf+4},vd.prototype.writeUint32BE=vd.prototype.writeUInt32BE=function(Rf,wf,sh){return Rf=+Rf,wf=wf>>>0,sh||Jf(this,Rf,wf,4,4294967295,0),this[wf]=Rf>>>24,this[wf+1]=Rf>>>16,this[wf+2]=Rf>>>8,this[wf+3]=Rf&255,wf+4};function Kf(Th,Rf,wf,sh,xh){Fh(Rf,sh,xh,Th,wf,7);let Wh=Number(Rf&BigInt(4294967295));Th[wf++]=Wh,Wh=Wh>>8,Th[wf++]=Wh,Wh=Wh>>8,Th[wf++]=Wh,Wh=Wh>>8,Th[wf++]=Wh;let om=Number(Rf>>BigInt(32)&BigInt(4294967295));return Th[wf++]=om,om=om>>8,Th[wf++]=om,om=om>>8,Th[wf++]=om,om=om>>8,Th[wf++]=om,wf}function Cf(Th,Rf,wf,sh,xh){Fh(Rf,sh,xh,Th,wf,7);let Wh=Number(Rf&BigInt(4294967295));Th[wf+7]=Wh,Wh=Wh>>8,Th[wf+6]=Wh,Wh=Wh>>8,Th[wf+5]=Wh,Wh=Wh>>8,Th[wf+4]=Wh;let om=Number(Rf>>BigInt(32)&BigInt(4294967295));return Th[wf+3]=om,om=om>>8,Th[wf+2]=om,om=om>>8,Th[wf+1]=om,om=om>>8,Th[wf]=om,wf+8}vd.prototype.writeBigUInt64LE=Lm(function(Rf,wf=0){return Kf(this,Rf,wf,BigInt(0),BigInt("0xffffffffffffffff"))}),vd.prototype.writeBigUInt64BE=Lm(function(Rf,wf=0){return Cf(this,Rf,wf,BigInt(0),BigInt("0xffffffffffffffff"))}),vd.prototype.writeIntLE=function(Rf,wf,sh,xh){if(Rf=+Rf,wf=wf>>>0,!xh){const zm=Math.pow(2,8*sh-1);Jf(this,Rf,wf,sh,zm-1,-zm)}let Wh=0,om=1,Dm=0;for(this[wf]=Rf&255;++Wh<sh&&(om*=256);)Rf<0&&Dm===0&&this[wf+Wh-1]!==0&&(Dm=1),this[wf+Wh]=(Rf/om>>0)-Dm&255;return wf+sh},vd.prototype.writeIntBE=function(Rf,wf,sh,xh){if(Rf=+Rf,wf=wf>>>0,!xh){const zm=Math.pow(2,8*sh-1);Jf(this,Rf,wf,sh,zm-1,-zm)}let Wh=sh-1,om=1,Dm=0;for(this[wf+Wh]=Rf&255;--Wh>=0&&(om*=256);)Rf<0&&Dm===0&&this[wf+Wh+1]!==0&&(Dm=1),this[wf+Wh]=(Rf/om>>0)-Dm&255;return wf+sh},vd.prototype.writeInt8=function(Rf,wf,sh){return Rf=+Rf,wf=wf>>>0,sh||Jf(this,Rf,wf,1,127,-128),Rf<0&&(Rf=255+Rf+1),this[wf]=Rf&255,wf+1},vd.prototype.writeInt16LE=function(Rf,wf,sh){return Rf=+Rf,wf=wf>>>0,sh||Jf(this,Rf,wf,2,32767,-32768),this[wf]=Rf&255,this[wf+1]=Rf>>>8,wf+2},vd.prototype.writeInt16BE=function(Rf,wf,sh){return Rf=+Rf,wf=wf>>>0,sh||Jf(this,Rf,wf,2,32767,-32768),this[wf]=Rf>>>8,this[wf+1]=Rf&255,wf+2},vd.prototype.writeInt32LE=function(Rf,wf,sh){return Rf=+Rf,wf=wf>>>0,sh||Jf(this,Rf,wf,4,2147483647,-2147483648),this[wf]=Rf&255,this[wf+1]=Rf>>>8,this[wf+2]=Rf>>>16,this[wf+3]=Rf>>>24,wf+4},vd.prototype.writeInt32BE=function(Rf,wf,sh){return Rf=+Rf,wf=wf>>>0,sh||Jf(this,Rf,wf,4,2147483647,-2147483648),Rf<0&&(Rf=4294967295+Rf+1),this[wf]=Rf>>>24,this[wf+1]=Rf>>>16,this[wf+2]=Rf>>>8,this[wf+3]=Rf&255,wf+4},vd.prototype.writeBigInt64LE=Lm(function(Rf,wf=0){return Kf(this,Rf,wf,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),vd.prototype.writeBigInt64BE=Lm(function(Rf,wf=0){return Cf(this,Rf,wf,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function xf(Th,Rf,wf,sh,xh,Wh){if(wf+sh>Th.length)throw new RangeError("Index out of range");if(wf<0)throw new RangeError("Index out of range")}function Yf(Th,Rf,wf,sh,xh){return Rf=+Rf,wf=wf>>>0,xh||xf(Th,Rf,wf,4),nd.write(Th,Rf,wf,sh,23,4),wf+4}vd.prototype.writeFloatLE=function(Rf,wf,sh){return Yf(this,Rf,wf,!0,sh)},vd.prototype.writeFloatBE=function(Rf,wf,sh){return Yf(this,Rf,wf,!1,sh)};function dh(Th,Rf,wf,sh,xh){return Rf=+Rf,wf=wf>>>0,xh||xf(Th,Rf,wf,8),nd.write(Th,Rf,wf,sh,52,8),wf+8}vd.prototype.writeDoubleLE=function(Rf,wf,sh){return dh(this,Rf,wf,!0,sh)},vd.prototype.writeDoubleBE=function(Rf,wf,sh){return dh(this,Rf,wf,!1,sh)},vd.prototype.copy=function(Rf,wf,sh,xh){if(!vd.isBuffer(Rf))throw new TypeError("argument should be a Buffer");if(sh||(sh=0),!xh&&xh!==0&&(xh=this.length),wf>=Rf.length&&(wf=Rf.length),wf||(wf=0),xh>0&&xh<sh&&(xh=sh),xh===sh||Rf.length===0||this.length===0)return 0;if(wf<0)throw new RangeError("targetStart out of bounds");if(sh<0||sh>=this.length)throw new RangeError("Index out of range");if(xh<0)throw new RangeError("sourceEnd out of bounds");xh>this.length&&(xh=this.length),Rf.length-wf<xh-sh&&(xh=Rf.length-wf+sh);const Wh=xh-sh;return this===Rf&&typeof ud.prototype.copyWithin=="function"?this.copyWithin(wf,sh,xh):ud.prototype.set.call(Rf,this.subarray(sh,xh),wf),Wh},vd.prototype.fill=function(Rf,wf,sh,xh){if(typeof Rf=="string"){if(typeof wf=="string"?(xh=wf,wf=0,sh=this.length):typeof sh=="string"&&(xh=sh,sh=this.length),xh!==void 0&&typeof xh!="string")throw new TypeError("encoding must be a string");if(typeof xh=="string"&&!vd.isEncoding(xh))throw new TypeError("Unknown encoding: "+xh);if(Rf.length===1){const om=Rf.charCodeAt(0);(xh==="utf8"&&om<128||xh==="latin1")&&(Rf=om)}}else typeof Rf=="number"?Rf=Rf&255:typeof Rf=="boolean"&&(Rf=Number(Rf));if(wf<0||this.length<wf||this.length<sh)throw new RangeError("Out of range index");if(sh<=wf)return this;wf=wf>>>0,sh=sh===void 0?this.length:sh>>>0,Rf||(Rf=0);let Wh;if(typeof Rf=="number")for(Wh=wf;Wh<sh;++Wh)this[Wh]=Rf;else{const om=vd.isBuffer(Rf)?Rf:vd.from(Rf,xh),Dm=om.length;if(Dm===0)throw new TypeError('The value "'+Rf+'" is invalid for argument "value"');for(Wh=0;Wh<sh-wf;++Wh)this[Wh+wf]=om[Wh%Dm]}return this};const Rh={};function th(Th,Rf,wf){Rh[Th]=class extends wf{constructor(){super(),Object.defineProperty(this,"message",{value:Rf.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${Th}]`,this.stack,delete this.name}get code(){return Th}set code(xh){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:xh,writable:!0})}toString(){return`${this.name} [${Th}]: ${this.message}`}}}th("ERR_BUFFER_OUT_OF_BOUNDS",function(Th){return Th?`${Th} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),th("ERR_INVALID_ARG_TYPE",function(Th,Rf){return`The "${Th}" argument must be of type number. Received type ${typeof Rf}`},TypeError),th("ERR_OUT_OF_RANGE",function(Th,Rf,wf){let sh=`The value of "${Th}" is out of range.`,xh=wf;return Number.isInteger(wf)&&Math.abs(wf)>2**32?xh=Bf(String(wf)):typeof wf=="bigint"&&(xh=String(wf),(wf>BigInt(2)**BigInt(32)||wf<-(BigInt(2)**BigInt(32)))&&(xh=Bf(xh)),xh+="n"),sh+=` It must be ${Rf}. Received ${xh}`,sh},RangeError);function Bf(Th){let Rf="",wf=Th.length;const sh=Th[0]==="-"?1:0;for(;wf>=sh+4;wf-=3)Rf=`_${Th.slice(wf-3,wf)}${Rf}`;return`${Th.slice(0,wf)}${Rf}`}function Sh(Th,Rf,wf){uh(Rf,"offset"),(Th[Rf]===void 0||Th[Rf+wf]===void 0)&&Pf(Rf,Th.length-(wf+1))}function Fh(Th,Rf,wf,sh,xh,Wh){if(Th>wf||Th<Rf){const om=typeof Rf=="bigint"?"n":"";let Dm;throw Rf===0||Rf===BigInt(0)?Dm=`>= 0${om} and < 2${om} ** ${(Wh+1)*8}${om}`:Dm=`>= -(2${om} ** ${(Wh+1)*8-1}${om}) and < 2 ** ${(Wh+1)*8-1}${om}`,new Rh.ERR_OUT_OF_RANGE("value",Dm,Th)}Sh(sh,xh,Wh)}function uh(Th,Rf){if(typeof Th!="number")throw new Rh.ERR_INVALID_ARG_TYPE(Rf,"number",Th)}function Pf(Th,Rf,wf){throw Math.floor(Th)!==Th?(uh(Th,wf),new Rh.ERR_OUT_OF_RANGE("offset","an integer",Th)):Rf<0?new Rh.ERR_BUFFER_OUT_OF_BOUNDS:new Rh.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${Rf}`,Th)}const Uf=/[^+/0-9A-Za-z-_]/g;function Zf(Th){if(Th=Th.split("=")[0],Th=Th.trim().replace(Uf,""),Th.length<2)return"";for(;Th.length%4!==0;)Th=Th+"=";return Th}function mh(Th,Rf){Rf=Rf||1/0;let wf;const sh=Th.length;let xh=null;const Wh=[];for(let om=0;om<sh;++om){if(wf=Th.charCodeAt(om),wf>55295&&wf<57344){if(!xh){if(wf>56319){(Rf-=3)>-1&&Wh.push(239,191,189);continue}else if(om+1===sh){(Rf-=3)>-1&&Wh.push(239,191,189);continue}xh=wf;continue}if(wf<56320){(Rf-=3)>-1&&Wh.push(239,191,189),xh=wf;continue}wf=(xh-55296<<10|wf-56320)+65536}else xh&&(Rf-=3)>-1&&Wh.push(239,191,189);if(xh=null,wf<128){if((Rf-=1)<0)break;Wh.push(wf)}else if(wf<2048){if((Rf-=2)<0)break;Wh.push(wf>>6|192,wf&63|128)}else if(wf<65536){if((Rf-=3)<0)break;Wh.push(wf>>12|224,wf>>6&63|128,wf&63|128)}else if(wf<1114112){if((Rf-=4)<0)break;Wh.push(wf>>18|240,wf>>12&63|128,wf>>6&63|128,wf&63|128)}else throw new Error("Invalid code point")}return Wh}function Mh(Th){const Rf=[];for(let wf=0;wf<Th.length;++wf)Rf.push(Th.charCodeAt(wf)&255);return Rf}function _h(Th,Rf){let wf,sh,xh;const Wh=[];for(let om=0;om<Th.length&&!((Rf-=2)<0);++om)wf=Th.charCodeAt(om),sh=wf>>8,xh=wf%256,Wh.push(xh),Wh.push(sh);return Wh}function pm(Th){return qa.toByteArray(Zf(Th))}function Jh(Th,Rf,wf,sh){let xh;for(xh=0;xh<sh&&!(xh+wf>=Rf.length||xh>=Th.length);++xh)Rf[xh+wf]=Th[xh];return xh}function Mm(Th,Rf){return Th instanceof Rf||Th!=null&&Th.constructor!=null&&Th.constructor.name!=null&&Th.constructor.name===Rf.name}function Im(Th){return Th!==Th}const gm=function(){const Th="0123456789abcdef",Rf=new Array(256);for(let wf=0;wf<16;++wf){const sh=wf*16;for(let xh=0;xh<16;++xh)Rf[sh+xh]=Th[wf]+Th[xh]}return Rf}();function Lm(Th){return typeof BigInt>"u"?Vm:Th}function Vm(){throw new Error("BigInt not supported")}})(buffer$1);const Buffer$4=buffer$1.Buffer;function getSymbols(Ra){return Object.getOwnPropertySymbols(Ra).filter(qa=>Object.prototype.propertyIsEnumerable.call(Ra,qa))}function cloneDeep(Ra){return cloneDeepImpl(Ra)}function cloneDeepImpl(Ra,qa=new Map){if(isPrimitive(Ra))return Ra;if(qa.has(Ra))return qa.get(Ra);if(Array.isArray(Ra)){const nd=new Array(Ra.length);qa.set(Ra,nd);for(let od=0;od<Ra.length;od++)nd[od]=cloneDeepImpl(Ra[od],qa);return Object.hasOwn(Ra,"index")&&(nd.index=Ra.index),Object.hasOwn(Ra,"input")&&(nd.input=Ra.input),nd}if(Ra instanceof Date)return new Date(Ra.getTime());if(Ra instanceof RegExp){const nd=new RegExp(Ra.source,Ra.flags);return nd.lastIndex=Ra.lastIndex,nd}if(Ra instanceof Map){const nd=new Map;qa.set(Ra,nd);for(const[od,ld]of Ra)nd.set(od,cloneDeepImpl(ld,qa));return nd}if(Ra instanceof Set){const nd=new Set;qa.set(Ra,nd);for(const od of Ra)nd.add(cloneDeepImpl(od,qa));return nd}if(typeof Buffer$4<"u"&&Buffer$4.isBuffer(Ra))return Ra.subarray();if(isTypedArray$3(Ra)){const nd=new(Object.getPrototypeOf(Ra)).constructor(Ra.length);qa.set(Ra,nd);for(let od=0;od<Ra.length;od++)nd[od]=cloneDeepImpl(Ra[od],qa);return nd}if(Ra instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&Ra instanceof SharedArrayBuffer)return Ra.slice(0);if(Ra instanceof DataView){const nd=new DataView(Ra.buffer.slice(0),Ra.byteOffset,Ra.byteLength);return qa.set(Ra,nd),copyProperties(nd,Ra,qa),nd}if(typeof File<"u"&&Ra instanceof File){const nd=new File([Ra],Ra.name,{type:Ra.type});return qa.set(Ra,nd),copyProperties(nd,Ra,qa),nd}if(Ra instanceof Blob){const nd=new Blob([Ra],{type:Ra.type});return qa.set(Ra,nd),copyProperties(nd,Ra,qa),nd}if(Ra instanceof Error){const nd=new Ra.constructor;return qa.set(Ra,nd),nd.message=Ra.message,nd.name=Ra.name,nd.stack=Ra.stack,nd.cause=Ra.cause,copyProperties(nd,Ra,qa),nd}if(typeof Ra=="object"&&Ra!==null){const nd=Object.create(Object.getPrototypeOf(Ra));return qa.set(Ra,nd),copyProperties(nd,Ra,qa),nd}return Ra}function copyProperties(Ra,qa,nd){const od=[...Object.keys(qa),...getSymbols(qa)];for(let ld=0;ld<od.length;ld++){const ud=od[ld],dd=Object.getOwnPropertyDescriptor(Ra,ud);(dd==null||dd.writable)&&(Ra[ud]=cloneDeepImpl(qa[ud],nd))}}function isPlainObject$4(Ra){if(!Ra||typeof Ra!="object")return!1;const qa=Object.getPrototypeOf(Ra);return qa===null||qa===Object.prototype||Object.getPrototypeOf(qa)===null?Object.prototype.toString.call(Ra)==="[object Object]":!1}function merge$7(Ra,qa){const nd=Object.keys(qa);for(let od=0;od<nd.length;od++){const ld=nd[od],ud=qa[ld],dd=Ra[ld];Array.isArray(ud)?Array.isArray(dd)?Ra[ld]=merge$7(dd,ud):Ra[ld]=merge$7([],ud):isPlainObject$4(ud)?isPlainObject$4(dd)?Ra[ld]=merge$7(dd,ud):Ra[ld]=merge$7({},ud):(dd===void 0||ud!==void 0)&&(Ra[ld]=ud)}return Ra}function toMerged(Ra,qa){return merge$7(cloneDeep(Ra),qa)}const defaultTheme={base:{"--md-primary-color":"#000000","text-align":"left","line-height":"1.75"},block:{container:{},h1:{display:"table",padding:"0 1em","border-bottom":"2px solid var(--md-primary-color)",margin:"2em auto 1em",color:"hsl(var(--foreground))","font-size":"1.2em","font-weight":"bold","text-align":"center"},h2:{display:"table",padding:"0 0.2em",margin:"4em auto 2em",color:"#fff",background:"var(--md-primary-color)","font-size":"1.2em","font-weight":"bold","text-align":"center"},h3:{"padding-left":"8px","border-left":"3px solid var(--md-primary-color)",margin:"2em 8px 0.75em 0",color:"hsl(var(--foreground))","font-size":"1.1em","font-weight":"bold","line-height":"1.2"},h4:{margin:"2em 8px 0.5em",color:"var(--md-primary-color)","font-size":"1em","font-weight":"bold"},h5:{margin:"1.5em 8px 0.5em",color:"var(--md-primary-color)","font-size":"1em","font-weight":"bold"},h6:{margin:"1.5em 8px 0.5em","font-size":"1em",color:"var(--md-primary-color)"},p:{margin:"1.5em 8px","letter-spacing":"0.1em",color:"hsl(var(--foreground))","text-align":"justify"},blockquote:{"font-style":"normal",padding:"1em","border-left":"4px solid var(--md-primary-color)","border-radius":"6px",color:"rgba(0,0,0,0.5)",background:"var(--blockquote-background)","margin-bottom":"1em"},blockquote_p:{display:"block","font-size":"1em","letter-spacing":"0.1em",color:"hsl(var(--foreground))"},blockquote_note:{},blockquote_tip:{},blockquote_important:{},blockquote_warning:{},blockquote_caution:{},blockquote_title:{display:"flex","align-items":"center",gap:"0.5em","margin-bottom":"0.5em"},blockquote_title_note:{color:"#478be6"},blockquote_title_tip:{color:"#57ab5a"},blockquote_title_important:{color:"#986ee2"},blockquote_title_warning:{color:"#c69026"},blockquote_title_caution:{color:"#e5534b"},blockquote_p_note:{},blockquote_p_tip:{},blockquote_p_important:{},blockquote_p_warning:{},blockquote_p_caution:{},code_pre:{"font-size":"14px","overflow-x":"auto","border-radius":"8px",padding:"1em","line-height":"1.5",margin:"10px 8px"},code:{margin:0,"white-space":"nowrap","font-family":"Menlo, Operator Mono, Consolas, Monaco, monospace"},image:{display:"block",width:"100% !important",margin:"0.1em auto 0.5em","border-radius":"4px"},ol:{"padding-left":"1em","margin-left":"0",color:"hsl(var(--foreground))"},ul:{"list-style":"circle","padding-left":"1em","margin-left":"0",color:"hsl(var(--foreground))"},footnotes:{margin:"0.5em 8px","font-size":"80%",color:"hsl(var(--foreground))"},figure:{margin:"1.5em 8px",color:"hsl(var(--foreground))"},hr:{"border-style":"solid","border-width":"2px 0 0","border-color":"rgba(0,0,0,0.1)","-webkit-transform-origin":"0 0","-webkit-transform":"scale(1, 0.5)","transform-origin":"0 0",transform:"scale(1, 0.5)",height:"0.4em",margin:"1.5em 0"}},inline:{listitem:{"text-indent":"-1em",display:"block",margin:"0.2em 8px",color:"hsl(var(--foreground))"},codespan:{"font-size":"90%",color:"#d14",background:"rgba(27,31,35,.05)",padding:"3px 5px","border-radius":"4px"},em:{"font-style":"italic","font-size":"inherit"},link:{color:"#576b95"},wx_link:{color:"#576b95","text-decoration":"none"},strong:{color:"var(--md-primary-color)","font-weight":"bold","font-size":"inherit"},table:{"border-collapse":"collapse","text-align":"center",margin:"1em 8px",color:"hsl(var(--foreground))"},thead:{background:"rgba(0, 0, 0, 0.05)","font-weight":"bold",color:"hsl(var(--foreground))"},td:{border:"1px solid #dfdfdf",padding:"0.25em 0.5em",color:"#3f3f3f","word-break":"keep-all"},footnote:{"font-size":"12px",color:"hsl(var(--foreground))"},figcaption:{"text-align":"center",color:"#888","font-size":"0.8em"}}},graceTheme=toMerged(defaultTheme,{base:{},block:{container:{},h1:{padding:"0.5em 1em","border-bottom":"2px solid var(--md-primary-color)","font-size":"1.4em","text-shadow":"2px 2px 4px rgba(0,0,0,0.1)"},h2:{padding:"0.3em 1em","border-radius":"8px","font-size":"1.3em","box-shadow":"0 4px 6px rgba(0,0,0,0.1)"},h3:{"padding-left":"12px","font-size":"1.2em","border-left":"4px solid var(--md-primary-color)","border-bottom":"1px dashed var(--md-primary-color)"},h4:{"font-size":"1.1em"},h5:{"font-size":"1em"},h6:{"font-size":"1em"},p:{},blockquote:{"font-style":"italic",padding:"1em 1em 1em 2em","border-left":"4px solid var(--md-primary-color)","border-radius":"6px",color:"rgba(0,0,0,0.6)","box-shadow":"0 4px 6px rgba(0,0,0,0.05)","margin-bottom":"1em"},blockquote_p:{},"markdown-alert":{"font-style":"italic"},code_pre:{"box-shadow":"inset 0 0 10px rgba(0,0,0,0.05)"},code:{"white-space":"pre-wrap","font-family":"'Fira Code', Menlo, Operator Mono, Consolas, Monaco, monospace"},image:{"border-radius":"8px","box-shadow":"0 4px 8px rgba(0,0,0,0.1)"},ol:{"padding-left":"1.5em"},ul:{"list-style":"none","padding-left":"1.5em"},footnotes:{},figure:{},hr:{height:"1px",border:"none",margin:"2em 0",background:"linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0.1), rgba(0,0,0,0))"}},inline:{listitem:{margin:"0.5em 8px"},codespan:{},em:{},link:{},wx_link:{},strong:{},table:{"border-collapse":"separate","border-spacing":"0","border-radius":"8px",margin:"1em 8px",color:"hsl(var(--foreground))","box-shadow":"0 4px 6px rgba(0,0,0,0.1)",overflow:"hidden"},thead:{color:"#fff"},td:{padding:"0.5em 1em"},footnote:{color:"rgba(0,0,0,0.5)"},figcaption:{}}}),themeMap={default:defaultTheme,grace:graceTheme},themeOptions=[{label:"经典",value:"default",desc:""},{label:"优雅",value:"grace",desc:""}],prefix="MD",isMac=/Mac/i.test(navigator.userAgent),ctrlKey=isMac?"Cmd":"Ctrl",altKey="Alt",shiftKey="Shift",ctrlSign=isMac?"⌘":"Ctrl",altSign=isMac?"⌥":"Alt",shiftSign=isMac?"⇧":"Shift";var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(Ra){return Ra&&Ra.__esModule&&Object.prototype.hasOwnProperty.call(Ra,"default")?Ra.default:Ra}function getAugmentedNamespace(Ra){if(Ra.__esModule)return Ra;var qa=Ra.default;if(typeof qa=="function"){var nd=function od(){return this instanceof od?Reflect.construct(qa,arguments,this.constructor):qa.apply(this,arguments)};nd.prototype=qa.prototype}else nd={};return Object.defineProperty(nd,"__esModule",{value:!0}),Object.keys(Ra).forEach(function(od){var ld=Object.getOwnPropertyDescriptor(Ra,od);Object.defineProperty(nd,od,ld.get?ld:{enumerable:!0,get:function(){return Ra[od]}})}),nd}var cheerio$1={exports:{}},ElementType;(function(Ra){Ra.Root="root",Ra.Text="text",Ra.Directive="directive",Ra.Comment="comment",Ra.Script="script",Ra.Style="style",Ra.Tag="tag",Ra.CDATA="cdata",Ra.Doctype="doctype"})(ElementType||(ElementType={}));function isTag$1(Ra){return Ra.type===ElementType.Tag||Ra.type===ElementType.Script||Ra.type===ElementType.Style}const Root=ElementType.Root,Text$1=ElementType.Text,Directive=ElementType.Directive,Comment$1=ElementType.Comment,Script=ElementType.Script,Style=ElementType.Style,Tag=ElementType.Tag,CDATA$1=ElementType.CDATA,Doctype=ElementType.Doctype;let Node$1=class{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(qa){this.parent=qa}get previousSibling(){return this.prev}set previousSibling(qa){this.prev=qa}get nextSibling(){return this.next}set nextSibling(qa){this.next=qa}cloneNode(qa=!1){return cloneNode(this,qa)}};class DataNode extends Node$1{constructor(qa){super(),this.data=qa}get nodeValue(){return this.data}set nodeValue(qa){this.data=qa}}class Text extends DataNode{constructor(){super(...arguments),this.type=ElementType.Text}get nodeType(){return 3}}class Comment extends DataNode{constructor(){super(...arguments),this.type=ElementType.Comment}get nodeType(){return 8}}class ProcessingInstruction extends DataNode{constructor(qa,nd){super(nd),this.name=qa,this.type=ElementType.Directive}get nodeType(){return 1}}class NodeWithChildren extends Node$1{constructor(qa){super(),this.children=qa}get firstChild(){var qa;return(qa=this.children[0])!==null&&qa!==void 0?qa:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(qa){this.children=qa}}class CDATA extends NodeWithChildren{constructor(){super(...arguments),this.type=ElementType.CDATA}get nodeType(){return 4}}class Document extends NodeWithChildren{constructor(){super(...arguments),this.type=ElementType.Root}get nodeType(){return 9}}let Element$1=class extends NodeWithChildren{constructor(qa,nd,od=[],ld=qa==="script"?ElementType.Script:qa==="style"?ElementType.Style:ElementType.Tag){super(od),this.name=qa,this.attribs=nd,this.type=ld}get nodeType(){return 1}get tagName(){return this.name}set tagName(qa){this.name=qa}get attributes(){return Object.keys(this.attribs).map(qa=>{var nd,od;return{name:qa,value:this.attribs[qa],namespace:(nd=this["x-attribsNamespace"])===null||nd===void 0?void 0:nd[qa],prefix:(od=this["x-attribsPrefix"])===null||od===void 0?void 0:od[qa]}})}};function isTag(Ra){return isTag$1(Ra)}function isCDATA(Ra){return Ra.type===ElementType.CDATA}function isText(Ra){return Ra.type===ElementType.Text}function isComment$2(Ra){return Ra.type===ElementType.Comment}function isDirective(Ra){return Ra.type===ElementType.Directive}function isDocument(Ra){return Ra.type===ElementType.Root}function hasChildren(Ra){return Object.prototype.hasOwnProperty.call(Ra,"children")}function cloneNode(Ra,qa=!1){let nd;if(isText(Ra))nd=new Text(Ra.data);else if(isComment$2(Ra))nd=new Comment(Ra.data);else if(isTag(Ra)){const od=qa?cloneChildren(Ra.children):[],ld=new Element$1(Ra.name,{...Ra.attribs},od);od.forEach(ud=>ud.parent=ld),Ra.namespace!=null&&(ld.namespace=Ra.namespace),Ra["x-attribsNamespace"]&&(ld["x-attribsNamespace"]={...Ra["x-attribsNamespace"]}),Ra["x-attribsPrefix"]&&(ld["x-attribsPrefix"]={...Ra["x-attribsPrefix"]}),nd=ld}else if(isCDATA(Ra)){const od=qa?cloneChildren(Ra.children):[],ld=new CDATA(od);od.forEach(ud=>ud.parent=ld),nd=ld}else if(isDocument(Ra)){const od=qa?cloneChildren(Ra.children):[],ld=new Document(od);od.forEach(ud=>ud.parent=ld),Ra["x-mode"]&&(ld["x-mode"]=Ra["x-mode"]),nd=ld}else if(isDirective(Ra)){const od=new ProcessingInstruction(Ra.name,Ra.data);Ra["x-name"]!=null&&(od["x-name"]=Ra["x-name"],od["x-publicId"]=Ra["x-publicId"],od["x-systemId"]=Ra["x-systemId"]),nd=od}else throw new Error(`Not implemented yet: ${Ra.type}`);return nd.startIndex=Ra.startIndex,nd.endIndex=Ra.endIndex,Ra.sourceCodeLocation!=null&&(nd.sourceCodeLocation=Ra.sourceCodeLocation),nd}function cloneChildren(Ra){const qa=Ra.map(nd=>cloneNode(nd,!0));for(let nd=1;nd<qa.length;nd++)qa[nd].prev=qa[nd-1],qa[nd-1].next=qa[nd];return qa}const defaultOpts$2={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};class DomHandler{constructor(qa,nd,od){this.dom=[],this.root=new Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof nd=="function"&&(od=nd,nd=defaultOpts$2),typeof qa=="object"&&(nd=qa,qa=void 0),this.callback=qa??null,this.options=nd??defaultOpts$2,this.elementCB=od??null}onparserinit(qa){this.parser=qa}onreset(){this.dom=[],this.root=new Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(qa){this.handleCallback(qa)}onclosetag(){this.lastNode=null;const qa=this.tagStack.pop();this.options.withEndIndices&&(qa.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(qa)}onopentag(qa,nd){const od=this.options.xmlMode?ElementType.Tag:void 0,ld=new Element$1(qa,nd,void 0,od);this.addNode(ld),this.tagStack.push(ld)}ontext(qa){const{lastNode:nd}=this;if(nd&&nd.type===ElementType.Text)nd.data+=qa,this.options.withEndIndices&&(nd.endIndex=this.parser.endIndex);else{const od=new Text(qa);this.addNode(od),this.lastNode=od}}oncomment(qa){if(this.lastNode&&this.lastNode.type===ElementType.Comment){this.lastNode.data+=qa;return}const nd=new Comment(qa);this.addNode(nd),this.lastNode=nd}oncommentend(){this.lastNode=null}oncdatastart(){const qa=new Text(""),nd=new CDATA([qa]);this.addNode(nd),qa.parent=nd,this.lastNode=qa}oncdataend(){this.lastNode=null}onprocessinginstruction(qa,nd){const od=new ProcessingInstruction(qa,nd);this.addNode(od)}handleCallback(qa){if(typeof this.callback=="function")this.callback(qa,this.dom);else if(qa)throw qa}addNode(qa){const nd=this.tagStack[this.tagStack.length-1],od=nd.children[nd.children.length-1];this.options.withStartIndices&&(qa.startIndex=this.parser.startIndex),this.options.withEndIndices&&(qa.endIndex=this.parser.endIndex),nd.children.push(qa),od&&(qa.prev=od,od.next=qa),qa.parent=nd,this.lastNode=null}}const htmlDecodeTree=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎸᏄϨrrowƀ;BDᅐᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ\0ᚕ᚛ᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsuᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ拔;櫙artint;樍Āao⁕Ācsα‰‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0耻¾䂾;慗;慜5;慘ƶ⁌\0;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚ;檒;檥;檤ȀEaes;扩pĀ;p℣檊rox»Ā;q檈Ā;qim;拧pf;쀀𝕘Āci⅃r;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❶❼➅➇ròࢨorneòarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;efभ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛òðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬Āet;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ëĀ;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓pĀ;sᆴ㑵;쀀⊔uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;h㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊;쀀⫋setneqĀ;q㦏㦒쀀⊋;쀀⫌Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(Ra=>Ra.charCodeAt(0))),xmlDecodeTree=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(Ra=>Ra.charCodeAt(0)));var _a$2;const decodeMap=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),fromCodePoint=(_a$2=String.fromCodePoint)!==null&&_a$2!==void 0?_a$2:function(Ra){let qa="";return Ra>65535&&(Ra-=65536,qa+=String.fromCharCode(Ra>>>10&1023|55296),Ra=56320|Ra&1023),qa+=String.fromCharCode(Ra),qa};function replaceCodePoint(Ra){var qa;return Ra>=55296&&Ra<=57343||Ra>1114111?65533:(qa=decodeMap.get(Ra))!==null&&qa!==void 0?qa:Ra}var CharCodes$1;(function(Ra){Ra[Ra.NUM=35]="NUM",Ra[Ra.SEMI=59]="SEMI",Ra[Ra.EQUALS=61]="EQUALS",Ra[Ra.ZERO=48]="ZERO",Ra[Ra.NINE=57]="NINE",Ra[Ra.LOWER_A=97]="LOWER_A",Ra[Ra.LOWER_F=102]="LOWER_F",Ra[Ra.LOWER_X=120]="LOWER_X",Ra[Ra.LOWER_Z=122]="LOWER_Z",Ra[Ra.UPPER_A=65]="UPPER_A",Ra[Ra.UPPER_F=70]="UPPER_F",Ra[Ra.UPPER_Z=90]="UPPER_Z"})(CharCodes$1||(CharCodes$1={}));const TO_LOWER_BIT=32;var BinTrieFlags;(function(Ra){Ra[Ra.VALUE_LENGTH=49152]="VALUE_LENGTH",Ra[Ra.BRANCH_LENGTH=16256]="BRANCH_LENGTH",Ra[Ra.JUMP_TABLE=127]="JUMP_TABLE"})(BinTrieFlags||(BinTrieFlags={}));function isNumber$2(Ra){return Ra>=CharCodes$1.ZERO&&Ra<=CharCodes$1.NINE}function isHexadecimalCharacter(Ra){return Ra>=CharCodes$1.UPPER_A&&Ra<=CharCodes$1.UPPER_F||Ra>=CharCodes$1.LOWER_A&&Ra<=CharCodes$1.LOWER_F}function isAsciiAlphaNumeric$1(Ra){return Ra>=CharCodes$1.UPPER_A&&Ra<=CharCodes$1.UPPER_Z||Ra>=CharCodes$1.LOWER_A&&Ra<=CharCodes$1.LOWER_Z||isNumber$2(Ra)}function isEntityInAttributeInvalidEnd(Ra){return Ra===CharCodes$1.EQUALS||isAsciiAlphaNumeric$1(Ra)}var EntityDecoderState;(function(Ra){Ra[Ra.EntityStart=0]="EntityStart",Ra[Ra.NumericStart=1]="NumericStart",Ra[Ra.NumericDecimal=2]="NumericDecimal",Ra[Ra.NumericHex=3]="NumericHex",Ra[Ra.NamedEntity=4]="NamedEntity"})(EntityDecoderState||(EntityDecoderState={}));var DecodingMode;(function(Ra){Ra[Ra.Legacy=0]="Legacy",Ra[Ra.Strict=1]="Strict",Ra[Ra.Attribute=2]="Attribute"})(DecodingMode||(DecodingMode={}));class EntityDecoder{constructor(qa,nd,od){this.decodeTree=qa,this.emitCodePoint=nd,this.errors=od,this.state=EntityDecoderState.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=DecodingMode.Strict}startEntity(qa){this.decodeMode=qa,this.state=EntityDecoderState.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(qa,nd){switch(this.state){case EntityDecoderState.EntityStart:return qa.charCodeAt(nd)===CharCodes$1.NUM?(this.state=EntityDecoderState.NumericStart,this.consumed+=1,this.stateNumericStart(qa,nd+1)):(this.state=EntityDecoderState.NamedEntity,this.stateNamedEntity(qa,nd));case EntityDecoderState.NumericStart:return this.stateNumericStart(qa,nd);case EntityDecoderState.NumericDecimal:return this.stateNumericDecimal(qa,nd);case EntityDecoderState.NumericHex:return this.stateNumericHex(qa,nd);case EntityDecoderState.NamedEntity:return this.stateNamedEntity(qa,nd)}}stateNumericStart(qa,nd){return nd>=qa.length?-1:(qa.charCodeAt(nd)|TO_LOWER_BIT)===CharCodes$1.LOWER_X?(this.state=EntityDecoderState.NumericHex,this.consumed+=1,this.stateNumericHex(qa,nd+1)):(this.state=EntityDecoderState.NumericDecimal,this.stateNumericDecimal(qa,nd))}addToNumericResult(qa,nd,od,ld){if(nd!==od){const ud=od-nd;this.result=this.result*Math.pow(ld,ud)+parseInt(qa.substr(nd,ud),ld),this.consumed+=ud}}stateNumericHex(qa,nd){const od=nd;for(;nd<qa.length;){const ld=qa.charCodeAt(nd);if(isNumber$2(ld)||isHexadecimalCharacter(ld))nd+=1;else return this.addToNumericResult(qa,od,nd,16),this.emitNumericEntity(ld,3)}return this.addToNumericResult(qa,od,nd,16),-1}stateNumericDecimal(qa,nd){const od=nd;for(;nd<qa.length;){const ld=qa.charCodeAt(nd);if(isNumber$2(ld))nd+=1;else return this.addToNumericResult(qa,od,nd,10),this.emitNumericEntity(ld,2)}return this.addToNumericResult(qa,od,nd,10),-1}emitNumericEntity(qa,nd){var od;if(this.consumed<=nd)return(od=this.errors)===null||od===void 0||od.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(qa===CharCodes$1.SEMI)this.consumed+=1;else if(this.decodeMode===DecodingMode.Strict)return 0;return this.emitCodePoint(replaceCodePoint(this.result),this.consumed),this.errors&&(qa!==CharCodes$1.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(qa,nd){const{decodeTree:od}=this;let ld=od[this.treeIndex],ud=(ld&BinTrieFlags.VALUE_LENGTH)>>14;for(;nd<qa.length;nd++,this.excess++){const dd=qa.charCodeAt(nd);if(this.treeIndex=determineBranch(od,ld,this.treeIndex+Math.max(1,ud),dd),this.treeIndex<0)return this.result===0||this.decodeMode===DecodingMode.Attribute&&(ud===0||isEntityInAttributeInvalidEnd(dd))?0:this.emitNotTerminatedNamedEntity();if(ld=od[this.treeIndex],ud=(ld&BinTrieFlags.VALUE_LENGTH)>>14,ud!==0){if(dd===CharCodes$1.SEMI)return this.emitNamedEntityData(this.treeIndex,ud,this.consumed+this.excess);this.decodeMode!==DecodingMode.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var qa;const{result:nd,decodeTree:od}=this,ld=(od[nd]&BinTrieFlags.VALUE_LENGTH)>>14;return this.emitNamedEntityData(nd,ld,this.consumed),(qa=this.errors)===null||qa===void 0||qa.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(qa,nd,od){const{decodeTree:ld}=this;return this.emitCodePoint(nd===1?ld[qa]&~BinTrieFlags.VALUE_LENGTH:ld[qa+1],od),nd===3&&this.emitCodePoint(ld[qa+2],od),od}end(){var qa;switch(this.state){case EntityDecoderState.NamedEntity:return this.result!==0&&(this.decodeMode!==DecodingMode.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case EntityDecoderState.NumericDecimal:return this.emitNumericEntity(0,2);case EntityDecoderState.NumericHex:return this.emitNumericEntity(0,3);case EntityDecoderState.NumericStart:return(qa=this.errors)===null||qa===void 0||qa.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case EntityDecoderState.EntityStart:return 0}}}function getDecoder(Ra){let qa="";const nd=new EntityDecoder(Ra,od=>qa+=fromCodePoint(od));return function(ld,ud){let dd=0,pd=0;for(;(pd=ld.indexOf("&",pd))>=0;){qa+=ld.slice(dd,pd),nd.startEntity(ud);const md=nd.write(ld,pd+1);if(md<0){dd=pd+nd.end();break}dd=pd+md,pd=md===0?dd+1:dd}const fd=qa+ld.slice(dd);return qa="",fd}}function determineBranch(Ra,qa,nd,od){const ld=(qa&BinTrieFlags.BRANCH_LENGTH)>>7,ud=qa&BinTrieFlags.JUMP_TABLE;if(ld===0)return ud!==0&&od===ud?nd:-1;if(ud){const fd=od-ud;return fd<0||fd>=ld?-1:Ra[nd+fd]-1}let dd=nd,pd=dd+ld-1;for(;dd<=pd;){const fd=dd+pd>>>1,md=Ra[fd];if(md<od)dd=fd+1;else if(md>od)pd=fd-1;else return Ra[fd+ld]}return-1}getDecoder(htmlDecodeTree);getDecoder(xmlDecodeTree);const xmlReplacer=/["&'<>$\x80-\uFFFF]/g,xmlCodeMap=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),getCodePoint=String.prototype.codePointAt!=null?(Ra,qa)=>Ra.codePointAt(qa):(Ra,qa)=>(Ra.charCodeAt(qa)&64512)===55296?(Ra.charCodeAt(qa)-55296)*1024+Ra.charCodeAt(qa+1)-56320+65536:Ra.charCodeAt(qa);function encodeXML(Ra){let qa="",nd=0,od;for(;(od=xmlReplacer.exec(Ra))!==null;){const ld=od.index,ud=Ra.charCodeAt(ld),dd=xmlCodeMap.get(ud);dd!==void 0?(qa+=Ra.substring(nd,ld)+dd,nd=ld+1):(qa+=`${Ra.substring(nd,ld)}&#x${getCodePoint(Ra,ld).toString(16)};`,nd=xmlReplacer.lastIndex+=+((ud&64512)===55296))}return qa+Ra.substr(nd)}function getEscaper(Ra,qa){return function(od){let ld,ud=0,dd="";for(;ld=Ra.exec(od);)ud!==ld.index&&(dd+=od.substring(ud,ld.index)),dd+=qa.get(ld[0].charCodeAt(0)),ud=ld.index+1;return dd+od.substring(ud)}}const escapeAttribute=getEscaper(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),escapeText=getEscaper(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]])),elementNames=new Map(["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","textPath"].map(Ra=>[Ra.toLowerCase(),Ra])),attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(Ra=>[Ra.toLowerCase(),Ra])),unencodedElements=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function replaceQuotes(Ra){return Ra.replace(/"/g,"&quot;")}function formatAttributes(Ra,qa){var nd;if(!Ra)return;const od=((nd=qa.encodeEntities)!==null&&nd!==void 0?nd:qa.decodeEntities)===!1?replaceQuotes:qa.xmlMode||qa.encodeEntities!=="utf8"?encodeXML:escapeAttribute;return Object.keys(Ra).map(ld=>{var ud,dd;const pd=(ud=Ra[ld])!==null&&ud!==void 0?ud:"";return qa.xmlMode==="foreign"&&(ld=(dd=attributeNames.get(ld))!==null&&dd!==void 0?dd:ld),!qa.emptyAttrs&&!qa.xmlMode&&pd===""?ld:`${ld}="${od(pd)}"`}).join(" ")}const singleTag=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function render$3(Ra,qa={}){const nd="length"in Ra?Ra:[Ra];let od="";for(let ld=0;ld<nd.length;ld++)od+=renderNode(nd[ld],qa);return od}function renderNode(Ra,qa){switch(Ra.type){case Root:return render$3(Ra.children,qa);case Doctype:case Directive:return renderDirective(Ra);case Comment$1:return renderComment(Ra);case CDATA$1:return renderCdata(Ra);case Script:case Style:case Tag:return renderTag(Ra,qa);case Text$1:return renderText(Ra,qa)}}const foreignModeIntegrationPoints=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),foreignElements=new Set(["svg","math"]);function renderTag(Ra,qa){var nd;qa.xmlMode==="foreign"&&(Ra.name=(nd=elementNames.get(Ra.name))!==null&&nd!==void 0?nd:Ra.name,Ra.parent&&foreignModeIntegrationPoints.has(Ra.parent.name)&&(qa={...qa,xmlMode:!1})),!qa.xmlMode&&foreignElements.has(Ra.name)&&(qa={...qa,xmlMode:"foreign"});let od=`<${Ra.name}`;const ld=formatAttributes(Ra.attribs,qa);return ld&&(od+=` ${ld}`),Ra.children.length===0&&(qa.xmlMode?qa.selfClosingTags!==!1:qa.selfClosingTags&&singleTag.has(Ra.name))?(qa.xmlMode||(od+=" "),od+="/>"):(od+=">",Ra.children.length>0&&(od+=render$3(Ra.children,qa)),(qa.xmlMode||!singleTag.has(Ra.name))&&(od+=`</${Ra.name}>`)),od}function renderDirective(Ra){return`<${Ra.data}>`}function renderText(Ra,qa){var nd;let od=Ra.data||"";return((nd=qa.encodeEntities)!==null&&nd!==void 0?nd:qa.decodeEntities)!==!1&&!(!qa.xmlMode&&Ra.parent&&unencodedElements.has(Ra.parent.name))&&(od=qa.xmlMode||qa.encodeEntities!=="utf8"?encodeXML(od):escapeText(od)),od}function renderCdata(Ra){return`<![CDATA[${Ra.children[0].data}]]>`}function renderComment(Ra){return`<!--${Ra.data}-->`}function getOuterHTML(Ra,qa){return render$3(Ra,qa)}function getInnerHTML(Ra,qa){return hasChildren(Ra)?Ra.children.map(nd=>getOuterHTML(nd,qa)).join(""):""}function getText(Ra){return Array.isArray(Ra)?Ra.map(getText).join(""):isTag(Ra)?Ra.name==="br"?`
`:getText(Ra.children):isCDATA(Ra)?getText(Ra.children):isText(Ra)?Ra.data:""}function textContent(Ra){return Array.isArray(Ra)?Ra.map(textContent).join(""):hasChildren(Ra)&&!isComment$2(Ra)?textContent(Ra.children):isText(Ra)?Ra.data:""}function innerText(Ra){return Array.isArray(Ra)?Ra.map(innerText).join(""):hasChildren(Ra)&&(Ra.type===ElementType.Tag||isCDATA(Ra))?innerText(Ra.children):isText(Ra)?Ra.data:""}function getChildren(Ra){return hasChildren(Ra)?Ra.children:[]}function getParent(Ra){return Ra.parent||null}function getSiblings(Ra){const qa=getParent(Ra);if(qa!=null)return getChildren(qa);const nd=[Ra];let{prev:od,next:ld}=Ra;for(;od!=null;)nd.unshift(od),{prev:od}=od;for(;ld!=null;)nd.push(ld),{next:ld}=ld;return nd}function getAttributeValue(Ra,qa){var nd;return(nd=Ra.attribs)===null||nd===void 0?void 0:nd[qa]}function hasAttrib(Ra,qa){return Ra.attribs!=null&&Object.prototype.hasOwnProperty.call(Ra.attribs,qa)&&Ra.attribs[qa]!=null}function getName(Ra){return Ra.name}function nextElementSibling(Ra){let{next:qa}=Ra;for(;qa!==null&&!isTag(qa);)({next:qa}=qa);return qa}function prevElementSibling(Ra){let{prev:qa}=Ra;for(;qa!==null&&!isTag(qa);)({prev:qa}=qa);return qa}function removeElement(Ra){if(Ra.prev&&(Ra.prev.next=Ra.next),Ra.next&&(Ra.next.prev=Ra.prev),Ra.parent){const qa=Ra.parent.children,nd=qa.lastIndexOf(Ra);nd>=0&&qa.splice(nd,1)}Ra.next=null,Ra.prev=null,Ra.parent=null}function replaceElement(Ra,qa){const nd=qa.prev=Ra.prev;nd&&(nd.next=qa);const od=qa.next=Ra.next;od&&(od.prev=qa);const ld=qa.parent=Ra.parent;if(ld){const ud=ld.children;ud[ud.lastIndexOf(Ra)]=qa,Ra.parent=null}}function appendChild(Ra,qa){if(removeElement(qa),qa.next=null,qa.parent=Ra,Ra.children.push(qa)>1){const nd=Ra.children[Ra.children.length-2];nd.next=qa,qa.prev=nd}else qa.prev=null}function append$3(Ra,qa){removeElement(qa);const{parent:nd}=Ra,od=Ra.next;if(qa.next=od,qa.prev=Ra,Ra.next=qa,qa.parent=nd,od){if(od.prev=qa,nd){const ld=nd.children;ld.splice(ld.lastIndexOf(od),0,qa)}}else nd&&nd.children.push(qa)}function prependChild(Ra,qa){if(removeElement(qa),qa.parent=Ra,qa.prev=null,Ra.children.unshift(qa)!==1){const nd=Ra.children[1];nd.prev=qa,qa.next=nd}else qa.next=null}function prepend$1(Ra,qa){removeElement(qa);const{parent:nd}=Ra;if(nd){const od=nd.children;od.splice(od.indexOf(Ra),0,qa)}Ra.prev&&(Ra.prev.next=qa),qa.parent=nd,qa.prev=Ra.prev,qa.next=Ra,Ra.prev=qa}function filter$5(Ra,qa,nd=!0,od=1/0){return find$3(Ra,Array.isArray(qa)?qa:[qa],nd,od)}function find$3(Ra,qa,nd,od){const ld=[],ud=[qa],dd=[0];for(;;){if(dd[0]>=ud[0].length){if(dd.length===1)return ld;ud.shift(),dd.shift();continue}const pd=ud[0][dd[0]++];if(Ra(pd)&&(ld.push(pd),--od<=0))return ld;nd&&hasChildren(pd)&&pd.children.length>0&&(dd.unshift(0),ud.unshift(pd.children))}}function findOneChild(Ra,qa){return qa.find(Ra)}function findOne(Ra,qa,nd=!0){let od=null;for(let ld=0;ld<qa.length&&!od;ld++){const ud=qa[ld];if(isTag(ud))Ra(ud)?od=ud:nd&&ud.children.length>0&&(od=findOne(Ra,ud.children,!0));else continue}return od}function existsOne(Ra,qa){return qa.some(nd=>isTag(nd)&&(Ra(nd)||existsOne(Ra,nd.children)))}function findAll(Ra,qa){const nd=[],od=[qa],ld=[0];for(;;){if(ld[0]>=od[0].length){if(od.length===1)return nd;od.shift(),ld.shift();continue}const ud=od[0][ld[0]++];isTag(ud)&&(Ra(ud)&&nd.push(ud),ud.children.length>0&&(ld.unshift(0),od.unshift(ud.children)))}}const Checks={tag_name(Ra){return typeof Ra=="function"?qa=>isTag(qa)&&Ra(qa.name):Ra==="*"?isTag:qa=>isTag(qa)&&qa.name===Ra},tag_type(Ra){return typeof Ra=="function"?qa=>Ra(qa.type):qa=>qa.type===Ra},tag_contains(Ra){return typeof Ra=="function"?qa=>isText(qa)&&Ra(qa.data):qa=>isText(qa)&&qa.data===Ra}};function getAttribCheck(Ra,qa){return typeof qa=="function"?nd=>isTag(nd)&&qa(nd.attribs[Ra]):nd=>isTag(nd)&&nd.attribs[Ra]===qa}function combineFuncs(Ra,qa){return nd=>Ra(nd)||qa(nd)}function compileTest(Ra){const qa=Object.keys(Ra).map(nd=>{const od=Ra[nd];return Object.prototype.hasOwnProperty.call(Checks,nd)?Checks[nd](od):getAttribCheck(nd,od)});return qa.length===0?null:qa.reduce(combineFuncs)}function testElement(Ra,qa){const nd=compileTest(Ra);return nd?nd(qa):!0}function getElements(Ra,qa,nd,od=1/0){const ld=compileTest(Ra);return ld?filter$5(ld,qa,nd,od):[]}function getElementById(Ra,qa,nd=!0){return Array.isArray(qa)||(qa=[qa]),findOne(getAttribCheck("id",Ra),qa,nd)}function getElementsByTagName(Ra,qa,nd=!0,od=1/0){return filter$5(Checks.tag_name(Ra),qa,nd,od)}function getElementsByTagType(Ra,qa,nd=!0,od=1/0){return filter$5(Checks.tag_type(Ra),qa,nd,od)}function removeSubsets(Ra){let qa=Ra.length;for(;--qa>=0;){const nd=Ra[qa];if(qa>0&&Ra.lastIndexOf(nd,qa-1)>=0){Ra.splice(qa,1);continue}for(let od=nd.parent;od;od=od.parent)if(Ra.includes(od)){Ra.splice(qa,1);break}}return Ra}var DocumentPosition$1;(function(Ra){Ra[Ra.DISCONNECTED=1]="DISCONNECTED",Ra[Ra.PRECEDING=2]="PRECEDING",Ra[Ra.FOLLOWING=4]="FOLLOWING",Ra[Ra.CONTAINS=8]="CONTAINS",Ra[Ra.CONTAINED_BY=16]="CONTAINED_BY"})(DocumentPosition$1||(DocumentPosition$1={}));function compareDocumentPosition(Ra,qa){const nd=[],od=[];if(Ra===qa)return 0;let ld=hasChildren(Ra)?Ra:Ra.parent;for(;ld;)nd.unshift(ld),ld=ld.parent;for(ld=hasChildren(qa)?qa:qa.parent;ld;)od.unshift(ld),ld=ld.parent;const ud=Math.min(nd.length,od.length);let dd=0;for(;dd<ud&&nd[dd]===od[dd];)dd++;if(dd===0)return DocumentPosition$1.DISCONNECTED;const pd=nd[dd-1],fd=pd.children,md=nd[dd],vd=od[dd];return fd.indexOf(md)>fd.indexOf(vd)?pd===qa?DocumentPosition$1.FOLLOWING|DocumentPosition$1.CONTAINED_BY:DocumentPosition$1.FOLLOWING:pd===Ra?DocumentPosition$1.PRECEDING|DocumentPosition$1.CONTAINS:DocumentPosition$1.PRECEDING}function uniqueSort(Ra){return Ra=Ra.filter((qa,nd,od)=>!od.includes(qa,nd+1)),Ra.sort((qa,nd)=>{const od=compareDocumentPosition(qa,nd);return od&DocumentPosition$1.PRECEDING?-1:od&DocumentPosition$1.FOLLOWING?1:0}),Ra}function getFeed(Ra){const qa=getOneElement(isValidFeed,Ra);return qa?qa.name==="feed"?getAtomFeed(qa):getRssFeed(qa):null}function getAtomFeed(Ra){var qa;const nd=Ra.children,od={type:"atom",items:getElementsByTagName("entry",nd).map(dd=>{var pd;const{children:fd}=dd,md={media:getMediaElements(fd)};addConditionally(md,"id","id",fd),addConditionally(md,"title","title",fd);const vd=(pd=getOneElement("link",fd))===null||pd===void 0?void 0:pd.attribs.href;vd&&(md.link=vd);const Ad=fetch$1("summary",fd)||fetch$1("content",fd);Ad&&(md.description=Ad);const Nd=fetch$1("updated",fd);return Nd&&(md.pubDate=new Date(Nd)),md})};addConditionally(od,"id","id",nd),addConditionally(od,"title","title",nd);const ld=(qa=getOneElement("link",nd))===null||qa===void 0?void 0:qa.attribs.href;ld&&(od.link=ld),addConditionally(od,"description","subtitle",nd);const ud=fetch$1("updated",nd);return ud&&(od.updated=new Date(ud)),addConditionally(od,"author","email",nd,!0),od}function getRssFeed(Ra){var qa,nd;const od=(nd=(qa=getOneElement("channel",Ra.children))===null||qa===void 0?void 0:qa.children)!==null&&nd!==void 0?nd:[],ld={type:Ra.name.substr(0,3),id:"",items:getElementsByTagName("item",Ra.children).map(dd=>{const{children:pd}=dd,fd={media:getMediaElements(pd)};addConditionally(fd,"id","guid",pd),addConditionally(fd,"title","title",pd),addConditionally(fd,"link","link",pd),addConditionally(fd,"description","description",pd);const md=fetch$1("pubDate",pd)||fetch$1("dc:date",pd);return md&&(fd.pubDate=new Date(md)),fd})};addConditionally(ld,"title","title",od),addConditionally(ld,"link","link",od),addConditionally(ld,"description","description",od);const ud=fetch$1("lastBuildDate",od);return ud&&(ld.updated=new Date(ud)),addConditionally(ld,"author","managingEditor",od,!0),ld}const MEDIA_KEYS_STRING=["url","type","lang"],MEDIA_KEYS_INT=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function getMediaElements(Ra){return getElementsByTagName("media:content",Ra).map(qa=>{const{attribs:nd}=qa,od={medium:nd.medium,isDefault:!!nd.isDefault};for(const ld of MEDIA_KEYS_STRING)nd[ld]&&(od[ld]=nd[ld]);for(const ld of MEDIA_KEYS_INT)nd[ld]&&(od[ld]=parseInt(nd[ld],10));return nd.expression&&(od.expression=nd.expression),od})}function getOneElement(Ra,qa){return getElementsByTagName(Ra,qa,!0,1)[0]}function fetch$1(Ra,qa,nd=!1){return textContent(getElementsByTagName(Ra,qa,nd,1)).trim()}function addConditionally(Ra,qa,nd,od,ld=!1){const ud=fetch$1(nd,od,ld);ud&&(Ra[qa]=ud)}function isValidFeed(Ra){return Ra==="rss"||Ra==="feed"||Ra==="rdf:RDF"}const DomUtils=Object.freeze(Object.defineProperty({__proto__:null,get DocumentPosition(){return DocumentPosition$1},append:append$3,appendChild,compareDocumentPosition,existsOne,filter:filter$5,find:find$3,findAll,findOne,findOneChild,getAttributeValue,getChildren,getElementById,getElements,getElementsByTagName,getElementsByTagType,getFeed,getInnerHTML,getName,getOuterHTML,getParent,getSiblings,getText,hasAttrib,hasChildren,innerText,isCDATA,isComment:isComment$2,isDocument,isTag,isText,nextElementSibling,prepend:prepend$1,prependChild,prevElementSibling,removeElement,removeSubsets,replaceElement,testElement,textContent,uniqueSort},Symbol.toStringTag,{value:"Module"})),defaultOpts$1={_useHtmlParser2:!1};function flattenOptions(Ra,qa){if(!Ra)return qa??defaultOpts$1;const nd={_useHtmlParser2:!!Ra.xmlMode,...qa,...Ra};return Ra.xml?(nd._useHtmlParser2=!0,nd.xmlMode=!0,Ra.xml!==!0&&Object.assign(nd,Ra.xml)):Ra.xmlMode&&(nd._useHtmlParser2=!0),nd}function render$2(Ra,qa,nd){return Ra?Ra(qa??Ra._root.children,null,void 0,nd).toString():""}function isOptions(Ra,qa){return typeof Ra=="object"&&Ra!=null&&!("length"in Ra)&&!("type"in Ra)}function html$5(Ra,qa){const nd=isOptions(Ra)?(qa=Ra,void 0):Ra,od={...this===null||this===void 0?void 0:this._options,...flattenOptions(qa)};return render$2(this,nd,od)}function xml$4(Ra){const qa={...this._options,xmlMode:!0};return render$2(this,Ra,qa)}function text$3(Ra){const qa=Ra??(this?this.root():[]);let nd="";for(let od=0;od<qa.length;od++)nd+=textContent(qa[od]);return nd}function parseHTML(Ra,qa,nd=typeof qa=="boolean"?qa:!1){if(!Ra||typeof Ra!="string")return null;typeof qa=="boolean"&&(nd=qa);const od=this.load(Ra,this._options,!1);return nd||od("script").remove(),[...od.root()[0].children]}function root$2(){return this(this._root)}function contains(Ra,qa){if(qa===Ra)return!1;let nd=qa;for(;nd&&nd!==nd.parent;)if(nd=nd.parent,nd===Ra)return!0;return!1}function extract$1(Ra){return this.root().extract(Ra)}function merge$6(Ra,qa){if(!isArrayLike$2(Ra)||!isArrayLike$2(qa))return;let nd=Ra.length;const od=+qa.length;for(let ld=0;ld<od;ld++)Ra[nd++]=qa[ld];return Ra.length=nd,Ra}function isArrayLike$2(Ra){if(Array.isArray(Ra))return!0;if(typeof Ra!="object"||Ra===null||!("length"in Ra)||typeof Ra.length!="number"||Ra.length<0)return!1;for(let qa=0;qa<Ra.length;qa++)if(!(qa in Ra))return!1;return!0}const staticMethods=Object.freeze(Object.defineProperty({__proto__:null,contains,extract:extract$1,html:html$5,merge:merge$6,parseHTML,root:root$2,text:text$3,xml:xml$4},Symbol.toStringTag,{value:"Module"}));function isCheerio(Ra){return Ra.cheerio!=null}function camelCase$1(Ra){return Ra.replace(/[._-](\w|$)/g,(qa,nd)=>nd.toUpperCase())}function cssCase(Ra){return Ra.replace(/[A-Z]/g,"-$&").toLowerCase()}function domEach(Ra,qa){const nd=Ra.length;for(let od=0;od<nd;od++)qa(Ra[od],od);return Ra}var CharacterCodes;(function(Ra){Ra[Ra.LowerA=97]="LowerA",Ra[Ra.LowerZ=122]="LowerZ",Ra[Ra.UpperA=65]="UpperA",Ra[Ra.UpperZ=90]="UpperZ",Ra[Ra.Exclamation=33]="Exclamation"})(CharacterCodes||(CharacterCodes={}));function isHtml(Ra){const qa=Ra.indexOf("<");if(qa<0||qa>Ra.length-3)return!1;const nd=Ra.charCodeAt(qa+1);return(nd>=CharacterCodes.LowerA&&nd<=CharacterCodes.LowerZ||nd>=CharacterCodes.UpperA&&nd<=CharacterCodes.UpperZ||nd===CharacterCodes.Exclamation)&&Ra.includes(">",qa+2)}const hasOwn$1=Object.prototype.hasOwnProperty,rspace=/\s+/,dataAttrPrefix="data-",rboolean=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,rbrace=/^{[^]*}$|^\[[^]*]$/;function getAttr$1(Ra,qa,nd){var od;if(!(!Ra||!isTag(Ra))){if((od=Ra.attribs)!==null&&od!==void 0||(Ra.attribs={}),!qa)return Ra.attribs;if(hasOwn$1.call(Ra.attribs,qa))return!nd&&rboolean.test(qa)?qa:Ra.attribs[qa];if(Ra.name==="option"&&qa==="value")return text$3(Ra.children);if(Ra.name==="input"&&(Ra.attribs.type==="radio"||Ra.attribs.type==="checkbox")&&qa==="value")return"on"}}function setAttr(Ra,qa,nd){nd===null?removeAttribute(Ra,qa):Ra.attribs[qa]=`${nd}`}function attr(Ra,qa){if(typeof Ra=="object"||qa!==void 0){if(typeof qa=="function"){if(typeof Ra!="string")throw new Error("Bad combination of arguments.");return domEach(this,(nd,od)=>{isTag(nd)&&setAttr(nd,Ra,qa.call(nd,od,nd.attribs[Ra]))})}return domEach(this,nd=>{if(isTag(nd))if(typeof Ra=="object")for(const od of Object.keys(Ra)){const ld=Ra[od];setAttr(nd,od,ld)}else setAttr(nd,Ra,qa)})}return arguments.length>1?this:getAttr$1(this[0],Ra,this.options.xmlMode)}function getProp(Ra,qa,nd){return qa in Ra?Ra[qa]:!nd&&rboolean.test(qa)?getAttr$1(Ra,qa,!1)!==void 0:getAttr$1(Ra,qa,nd)}function setProp(Ra,qa,nd,od){qa in Ra?Ra[qa]=nd:setAttr(Ra,qa,!od&&rboolean.test(qa)?nd?"":null:`${nd}`)}function prop(Ra,qa){var nd;if(typeof Ra=="string"&&qa===void 0){const od=this[0];if(!od||!isTag(od))return;switch(Ra){case"style":{const ld=this.css(),ud=Object.keys(ld);for(let dd=0;dd<ud.length;dd++)ld[dd]=ud[dd];return ld.length=ud.length,ld}case"tagName":case"nodeName":return od.name.toUpperCase();case"href":case"src":{const ld=(nd=od.attribs)===null||nd===void 0?void 0:nd[Ra];return typeof URL<"u"&&(Ra==="href"&&(od.tagName==="a"||od.tagName==="link")||Ra==="src"&&(od.tagName==="img"||od.tagName==="iframe"||od.tagName==="audio"||od.tagName==="video"||od.tagName==="source"))&&ld!==void 0&&this.options.baseURI?new URL(ld,this.options.baseURI).href:ld}case"innerText":return innerText(od);case"textContent":return textContent(od);case"outerHTML":return this.clone().wrap("<container />").parent().html();case"innerHTML":return this.html();default:return getProp(od,Ra,this.options.xmlMode)}}if(typeof Ra=="object"||qa!==void 0){if(typeof qa=="function"){if(typeof Ra=="object")throw new TypeError("Bad combination of arguments.");return domEach(this,(od,ld)=>{isTag(od)&&setProp(od,Ra,qa.call(od,ld,getProp(od,Ra,this.options.xmlMode)),this.options.xmlMode)})}return domEach(this,od=>{if(isTag(od))if(typeof Ra=="object")for(const ld of Object.keys(Ra)){const ud=Ra[ld];setProp(od,ld,ud,this.options.xmlMode)}else setProp(od,Ra,qa,this.options.xmlMode)})}}function setData(Ra,qa,nd){var od;(od=Ra.data)!==null&&od!==void 0||(Ra.data={}),typeof qa=="object"?Object.assign(Ra.data,qa):typeof qa=="string"&&nd!==void 0&&(Ra.data[qa]=nd)}function readAllData(Ra){for(const qa of Object.keys(Ra.attribs)){if(!qa.startsWith(dataAttrPrefix))continue;const nd=camelCase$1(qa.slice(dataAttrPrefix.length));hasOwn$1.call(Ra.data,nd)||(Ra.data[nd]=parseDataValue(Ra.attribs[qa]))}return Ra.data}function readData(Ra,qa){const nd=dataAttrPrefix+cssCase(qa),od=Ra.data;if(hasOwn$1.call(od,qa))return od[qa];if(hasOwn$1.call(Ra.attribs,nd))return od[qa]=parseDataValue(Ra.attribs[nd])}function parseDataValue(Ra){if(Ra==="null")return null;if(Ra==="true")return!0;if(Ra==="false")return!1;const qa=Number(Ra);if(Ra===String(qa))return qa;if(rbrace.test(Ra))try{return JSON.parse(Ra)}catch{}return Ra}function data(Ra,qa){var nd;const od=this[0];if(!od||!isTag(od))return;const ld=od;return(nd=ld.data)!==null&&nd!==void 0||(ld.data={}),Ra==null?readAllData(ld):typeof Ra=="object"||qa!==void 0?(domEach(this,ud=>{isTag(ud)&&(typeof Ra=="object"?setData(ud,Ra):setData(ud,Ra,qa))}),this):readData(ld,Ra)}function val$1(Ra){const qa=arguments.length===0,nd=this[0];if(!nd||!isTag(nd))return qa?void 0:this;switch(nd.name){case"textarea":return this.text(Ra);case"select":{const od=this.find("option:selected");if(!qa){if(this.attr("multiple")==null&&typeof Ra=="object")return this;this.find("option").removeAttr("selected");const ld=typeof Ra=="object"?Ra:[Ra];for(const ud of ld)this.find(`option[value="${ud}"]`).attr("selected","");return this}return this.attr("multiple")?od.toArray().map(ld=>text$3(ld.children)):od.attr("value")}case"input":case"option":return qa?this.attr("value"):this.attr("value",Ra)}}function removeAttribute(Ra,qa){!Ra.attribs||!hasOwn$1.call(Ra.attribs,qa)||delete Ra.attribs[qa]}function splitNames(Ra){return Ra?Ra.trim().split(rspace):[]}function removeAttr(Ra){const qa=splitNames(Ra);for(const nd of qa)domEach(this,od=>{isTag(od)&&removeAttribute(od,nd)});return this}function hasClass(Ra){return this.toArray().some(qa=>{const nd=isTag(qa)&&qa.attribs.class;let od=-1;if(nd&&Ra.length>0)for(;(od=nd.indexOf(Ra,od+1))>-1;){const ld=od+Ra.length;if((od===0||rspace.test(nd[od-1]))&&(ld===nd.length||rspace.test(nd[ld])))return!0}return!1})}function addClass(Ra){if(typeof Ra=="function")return domEach(this,(od,ld)=>{if(isTag(od)){const ud=od.attribs.class||"";addClass.call([od],Ra.call(od,ld,ud))}});if(!Ra||typeof Ra!="string")return this;const qa=Ra.split(rspace),nd=this.length;for(let od=0;od<nd;od++){const ld=this[od];if(!isTag(ld))continue;const ud=getAttr$1(ld,"class",!1);if(ud){let dd=` ${ud} `;for(const pd of qa){const fd=`${pd} `;dd.includes(` ${fd}`)||(dd+=fd)}setAttr(ld,"class",dd.trim())}else setAttr(ld,"class",qa.join(" ").trim())}return this}function removeClass(Ra){if(typeof Ra=="function")return domEach(this,(ld,ud)=>{isTag(ld)&&removeClass.call([ld],Ra.call(ld,ud,ld.attribs.class||""))});const qa=splitNames(Ra),nd=qa.length,od=arguments.length===0;return domEach(this,ld=>{if(isTag(ld))if(od)ld.attribs.class="";else{const ud=splitNames(ld.attribs.class);let dd=!1;for(let pd=0;pd<nd;pd++){const fd=ud.indexOf(qa[pd]);fd>=0&&(ud.splice(fd,1),dd=!0,pd--)}dd&&(ld.attribs.class=ud.join(" "))}})}function toggleClass(Ra,qa){if(typeof Ra=="function")return domEach(this,(dd,pd)=>{isTag(dd)&&toggleClass.call([dd],Ra.call(dd,pd,dd.attribs.class||"",qa),qa)});if(!Ra||typeof Ra!="string")return this;const nd=Ra.split(rspace),od=nd.length,ld=typeof qa=="boolean"?qa?1:-1:0,ud=this.length;for(let dd=0;dd<ud;dd++){const pd=this[dd];if(!isTag(pd))continue;const fd=splitNames(pd.attribs.class);for(let md=0;md<od;md++){const vd=fd.indexOf(nd[md]);ld>=0&&vd<0?fd.push(nd[md]):ld<=0&&vd>=0&&fd.splice(vd,1)}pd.attribs.class=fd.join(" ")}return this}const Attributes=Object.freeze(Object.defineProperty({__proto__:null,addClass,attr,data,hasClass,prop,removeAttr,removeClass,toggleClass,val:val$1},Symbol.toStringTag,{value:"Module"}));var SelectorType$2;(function(Ra){Ra.Attribute="attribute",Ra.Pseudo="pseudo",Ra.PseudoElement="pseudo-element",Ra.Tag="tag",Ra.Universal="universal",Ra.Adjacent="adjacent",Ra.Child="child",Ra.Descendant="descendant",Ra.Parent="parent",Ra.Sibling="sibling",Ra.ColumnCombinator="column-combinator"})(SelectorType$2||(SelectorType$2={}));var AttributeAction;(function(Ra){Ra.Any="any",Ra.Element="element",Ra.End="end",Ra.Equals="equals",Ra.Exists="exists",Ra.Hyphen="hyphen",Ra.Not="not",Ra.Start="start"})(AttributeAction||(AttributeAction={}));const reName=/^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/,reEscape=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,actionTypes=new Map([[126,AttributeAction.Element],[94,AttributeAction.Start],[36,AttributeAction.End],[42,AttributeAction.Any],[33,AttributeAction.Not],[124,AttributeAction.Hyphen]]),unpackPseudos=new Set(["has","not","matches","is","where","host","host-context"]);function isTraversal$1(Ra){switch(Ra.type){case SelectorType$2.Adjacent:case SelectorType$2.Child:case SelectorType$2.Descendant:case SelectorType$2.Parent:case SelectorType$2.Sibling:case SelectorType$2.ColumnCombinator:return!0;default:return!1}}const stripQuotesFromPseudos=new Set(["contains","icontains"]);function funescape(Ra,qa,nd){const od=parseInt(qa,16)-65536;return od!==od||nd?qa:od<0?String.fromCharCode(od+65536):String.fromCharCode(od>>10|55296,od&1023|56320)}function unescapeCSS(Ra){return Ra.replace(reEscape,funescape)}function isQuote(Ra){return Ra===39||Ra===34}function isWhitespace$4(Ra){return Ra===32||Ra===9||Ra===10||Ra===12||Ra===13}function parse$8(Ra){const qa=[],nd=parseSelector(qa,`${Ra}`,0);if(nd<Ra.length)throw new Error(`Unmatched selector: ${Ra.slice(nd)}`);return qa}function parseSelector(Ra,qa,nd){let od=[];function ld(Nd){const Od=qa.slice(nd+Nd).match(reName);if(!Od)throw new Error(`Expected name, found ${qa.slice(nd)}`);const[kd]=Od;return nd+=Nd+kd.length,unescapeCSS(kd)}function ud(Nd){for(nd+=Nd;nd<qa.length&&isWhitespace$4(qa.charCodeAt(nd));)nd++}function dd(){nd+=1;const Nd=nd;let Od=1;for(;Od>0&&nd<qa.length;nd++)qa.charCodeAt(nd)===40&&!pd(nd)?Od++:qa.charCodeAt(nd)===41&&!pd(nd)&&Od--;if(Od)throw new Error("Parenthesis not matched");return unescapeCSS(qa.slice(Nd,nd-1))}function pd(Nd){let Od=0;for(;qa.charCodeAt(--Nd)===92;)Od++;return(Od&1)===1}function fd(){if(od.length>0&&isTraversal$1(od[od.length-1]))throw new Error("Did not expect successive traversals.")}function md(Nd){if(od.length>0&&od[od.length-1].type===SelectorType$2.Descendant){od[od.length-1].type=Nd;return}fd(),od.push({type:Nd})}function vd(Nd,Od){od.push({type:SelectorType$2.Attribute,name:Nd,action:Od,value:ld(1),namespace:null,ignoreCase:"quirks"})}function Ad(){if(od.length&&od[od.length-1].type===SelectorType$2.Descendant&&od.pop(),od.length===0)throw new Error("Empty sub-selector");Ra.push(od)}if(ud(0),qa.length===nd)return nd;e:for(;nd<qa.length;){const Nd=qa.charCodeAt(nd);switch(Nd){case 32:case 9:case 10:case 12:case 13:{(od.length===0||od[0].type!==SelectorType$2.Descendant)&&(fd(),od.push({type:SelectorType$2.Descendant})),ud(1);break}case 62:{md(SelectorType$2.Child),ud(1);break}case 60:{md(SelectorType$2.Parent),ud(1);break}case 126:{md(SelectorType$2.Sibling),ud(1);break}case 43:{md(SelectorType$2.Adjacent),ud(1);break}case 46:{vd("class",AttributeAction.Element);break}case 35:{vd("id",AttributeAction.Equals);break}case 91:{ud(1);let Od,kd=null;qa.charCodeAt(nd)===124?Od=ld(1):qa.startsWith("*|",nd)?(kd="*",Od=ld(2)):(Od=ld(0),qa.charCodeAt(nd)===124&&qa.charCodeAt(nd+1)!==61&&(kd=Od,Od=ld(1))),ud(0);let Ld=AttributeAction.Exists;const Gd=actionTypes.get(qa.charCodeAt(nd));if(Gd){if(Ld=Gd,qa.charCodeAt(nd+1)!==61)throw new Error("Expected `=`");ud(2)}else qa.charCodeAt(nd)===61&&(Ld=AttributeAction.Equals,ud(1));let jd="",Fd=null;if(Ld!=="exists"){if(isQuote(qa.charCodeAt(nd))){const zd=qa.charCodeAt(nd);let Wd=nd+1;for(;Wd<qa.length&&(qa.charCodeAt(Wd)!==zd||pd(Wd));)Wd+=1;if(qa.charCodeAt(Wd)!==zd)throw new Error("Attribute value didn't end");jd=unescapeCSS(qa.slice(nd+1,Wd)),nd=Wd+1}else{const zd=nd;for(;nd<qa.length&&(!isWhitespace$4(qa.charCodeAt(nd))&&qa.charCodeAt(nd)!==93||pd(nd));)nd+=1;jd=unescapeCSS(qa.slice(zd,nd))}ud(0);const qd=qa.charCodeAt(nd)|32;qd===115?(Fd=!1,ud(1)):qd===105&&(Fd=!0,ud(1))}if(qa.charCodeAt(nd)!==93)throw new Error("Attribute selector didn't terminate");nd+=1;const Ud={type:SelectorType$2.Attribute,name:Od,action:Ld,value:jd,namespace:kd,ignoreCase:Fd};od.push(Ud);break}case 58:{if(qa.charCodeAt(nd+1)===58){od.push({type:SelectorType$2.PseudoElement,name:ld(2).toLowerCase(),data:qa.charCodeAt(nd)===40?dd():null});continue}const Od=ld(1).toLowerCase();let kd=null;if(qa.charCodeAt(nd)===40)if(unpackPseudos.has(Od)){if(isQuote(qa.charCodeAt(nd+1)))throw new Error(`Pseudo-selector ${Od} cannot be quoted`);if(kd=[],nd=parseSelector(kd,qa,nd+1),qa.charCodeAt(nd)!==41)throw new Error(`Missing closing parenthesis in :${Od} (${qa})`);nd+=1}else{if(kd=dd(),stripQuotesFromPseudos.has(Od)){const Ld=kd.charCodeAt(0);Ld===kd.charCodeAt(kd.length-1)&&isQuote(Ld)&&(kd=kd.slice(1,-1))}kd=unescapeCSS(kd)}od.push({type:SelectorType$2.Pseudo,name:Od,data:kd});break}case 44:{Ad(),od=[],ud(1);break}default:{if(qa.startsWith("/*",nd)){const Ld=qa.indexOf("*/",nd+2);if(Ld<0)throw new Error("Comment was not terminated");nd=Ld+2,od.length===0&&ud(0);break}let Od=null,kd;if(Nd===42)nd+=1,kd="*";else if(Nd===124){if(kd="",qa.charCodeAt(nd+1)===124){md(SelectorType$2.ColumnCombinator),ud(2);break}}else if(reName.test(qa.slice(nd)))kd=ld(0);else break e;qa.charCodeAt(nd)===124&&qa.charCodeAt(nd+1)!==124&&(Od=kd,qa.charCodeAt(nd+1)===42?(kd="*",nd+=2):kd=ld(1)),od.push(kd==="*"?{type:SelectorType$2.Universal,namespace:Od}:{type:SelectorType$2.Tag,name:kd,namespace:Od})}}}return Ad(),nd}var boolbase={trueFunc:function(){return!0},falseFunc:function(){return!1}};const boolbase$1=getDefaultExportFromCjs(boolbase),procedure=new Map([[SelectorType$2.Universal,50],[SelectorType$2.Tag,30],[SelectorType$2.Attribute,1],[SelectorType$2.Pseudo,0]]);function isTraversal(Ra){return!procedure.has(Ra.type)}const attributes=new Map([[AttributeAction.Exists,10],[AttributeAction.Equals,8],[AttributeAction.Not,7],[AttributeAction.Start,6],[AttributeAction.End,6],[AttributeAction.Any,5]]);function sortByProcedure(Ra){const qa=Ra.map(getProcedure);for(let nd=1;nd<Ra.length;nd++){const od=qa[nd];if(!(od<0))for(let ld=nd-1;ld>=0&&od<qa[ld];ld--){const ud=Ra[ld+1];Ra[ld+1]=Ra[ld],Ra[ld]=ud,qa[ld+1]=qa[ld],qa[ld]=od}}}function getProcedure(Ra){var qa,nd;let od=(qa=procedure.get(Ra.type))!==null&&qa!==void 0?qa:-1;return Ra.type===SelectorType$2.Attribute?(od=(nd=attributes.get(Ra.action))!==null&&nd!==void 0?nd:4,Ra.action===AttributeAction.Equals&&Ra.name==="id"&&(od=9),Ra.ignoreCase&&(od>>=1)):Ra.type===SelectorType$2.Pseudo&&(Ra.data?Ra.name==="has"||Ra.name==="contains"?od=0:Array.isArray(Ra.data)?(od=Math.min(...Ra.data.map(ld=>Math.min(...ld.map(getProcedure)))),od<0&&(od=0)):od=2:od=3),od}const reChars=/[-[\]{}()*+?.,\\^$|#\s]/g;function escapeRegex(Ra){return Ra.replace(reChars,"\\$&")}const caseInsensitiveAttributes=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function shouldIgnoreCase(Ra,qa){return typeof Ra.ignoreCase=="boolean"?Ra.ignoreCase:Ra.ignoreCase==="quirks"?!!qa.quirksMode:!qa.xmlMode&&caseInsensitiveAttributes.has(Ra.name)}const attributeRules={equals(Ra,qa,nd){const{adapter:od}=nd,{name:ld}=qa;let{value:ud}=qa;return shouldIgnoreCase(qa,nd)?(ud=ud.toLowerCase(),dd=>{const pd=od.getAttributeValue(dd,ld);return pd!=null&&pd.length===ud.length&&pd.toLowerCase()===ud&&Ra(dd)}):dd=>od.getAttributeValue(dd,ld)===ud&&Ra(dd)},hyphen(Ra,qa,nd){const{adapter:od}=nd,{name:ld}=qa;let{value:ud}=qa;const dd=ud.length;return shouldIgnoreCase(qa,nd)?(ud=ud.toLowerCase(),function(fd){const md=od.getAttributeValue(fd,ld);return md!=null&&(md.length===dd||md.charAt(dd)==="-")&&md.substr(0,dd).toLowerCase()===ud&&Ra(fd)}):function(fd){const md=od.getAttributeValue(fd,ld);return md!=null&&(md.length===dd||md.charAt(dd)==="-")&&md.substr(0,dd)===ud&&Ra(fd)}},element(Ra,qa,nd){const{adapter:od}=nd,{name:ld,value:ud}=qa;if(/\s/.test(ud))return boolbase$1.falseFunc;const dd=new RegExp(`(?:^|\\s)${escapeRegex(ud)}(?:$|\\s)`,shouldIgnoreCase(qa,nd)?"i":"");return function(fd){const md=od.getAttributeValue(fd,ld);return md!=null&&md.length>=ud.length&&dd.test(md)&&Ra(fd)}},exists(Ra,{name:qa},{adapter:nd}){return od=>nd.hasAttrib(od,qa)&&Ra(od)},start(Ra,qa,nd){const{adapter:od}=nd,{name:ld}=qa;let{value:ud}=qa;const dd=ud.length;return dd===0?boolbase$1.falseFunc:shouldIgnoreCase(qa,nd)?(ud=ud.toLowerCase(),pd=>{const fd=od.getAttributeValue(pd,ld);return fd!=null&&fd.length>=dd&&fd.substr(0,dd).toLowerCase()===ud&&Ra(pd)}):pd=>{var fd;return!!(!((fd=od.getAttributeValue(pd,ld))===null||fd===void 0)&&fd.startsWith(ud))&&Ra(pd)}},end(Ra,qa,nd){const{adapter:od}=nd,{name:ld}=qa;let{value:ud}=qa;const dd=-ud.length;return dd===0?boolbase$1.falseFunc:shouldIgnoreCase(qa,nd)?(ud=ud.toLowerCase(),pd=>{var fd;return((fd=od.getAttributeValue(pd,ld))===null||fd===void 0?void 0:fd.substr(dd).toLowerCase())===ud&&Ra(pd)}):pd=>{var fd;return!!(!((fd=od.getAttributeValue(pd,ld))===null||fd===void 0)&&fd.endsWith(ud))&&Ra(pd)}},any(Ra,qa,nd){const{adapter:od}=nd,{name:ld,value:ud}=qa;if(ud==="")return boolbase$1.falseFunc;if(shouldIgnoreCase(qa,nd)){const dd=new RegExp(escapeRegex(ud),"i");return function(fd){const md=od.getAttributeValue(fd,ld);return md!=null&&md.length>=ud.length&&dd.test(md)&&Ra(fd)}}return dd=>{var pd;return!!(!((pd=od.getAttributeValue(dd,ld))===null||pd===void 0)&&pd.includes(ud))&&Ra(dd)}},not(Ra,qa,nd){const{adapter:od}=nd,{name:ld}=qa;let{value:ud}=qa;return ud===""?dd=>!!od.getAttributeValue(dd,ld)&&Ra(dd):shouldIgnoreCase(qa,nd)?(ud=ud.toLowerCase(),dd=>{const pd=od.getAttributeValue(dd,ld);return(pd==null||pd.length!==ud.length||pd.toLowerCase()!==ud)&&Ra(dd)}):dd=>od.getAttributeValue(dd,ld)!==ud&&Ra(dd)}},whitespace$1=new Set([9,10,12,13,32]),ZERO=48,NINE=57;function parse$7(Ra){if(Ra=Ra.trim().toLowerCase(),Ra==="even")return[2,0];if(Ra==="odd")return[2,1];let qa=0,nd=0,od=ud(),ld=dd();if(qa<Ra.length&&Ra.charAt(qa)==="n"&&(qa++,nd=od*(ld??1),pd(),qa<Ra.length?(od=ud(),pd(),ld=dd()):od=ld=0),ld===null||qa<Ra.length)throw new Error(`n-th rule couldn't be parsed ('${Ra}')`);return[nd,od*ld];function ud(){return Ra.charAt(qa)==="-"?(qa++,-1):(Ra.charAt(qa)==="+"&&qa++,1)}function dd(){const fd=qa;let md=0;for(;qa<Ra.length&&Ra.charCodeAt(qa)>=ZERO&&Ra.charCodeAt(qa)<=NINE;)md=md*10+(Ra.charCodeAt(qa)-ZERO),qa++;return qa===fd?null:md}function pd(){for(;qa<Ra.length&&whitespace$1.has(Ra.charCodeAt(qa));)qa++}}function compile$1(Ra){const qa=Ra[0],nd=Ra[1]-1;if(nd<0&&qa<=0)return boolbase$1.falseFunc;if(qa===-1)return ud=>ud<=nd;if(qa===0)return ud=>ud===nd;if(qa===1)return nd<0?boolbase$1.trueFunc:ud=>ud>=nd;const od=Math.abs(qa),ld=(nd%od+od)%od;return qa>1?ud=>ud>=nd&&ud%od===ld:ud=>ud<=nd&&ud%od===ld}function nthCheck(Ra){return compile$1(parse$7(Ra))}function getChildFunc(Ra,qa){return nd=>{const od=qa.getParent(nd);return od!=null&&qa.isTag(od)&&Ra(nd)}}const filters={contains(Ra,qa,{adapter:nd}){return function(ld){return Ra(ld)&&nd.getText(ld).includes(qa)}},icontains(Ra,qa,{adapter:nd}){const od=qa.toLowerCase();return function(ud){return Ra(ud)&&nd.getText(ud).toLowerCase().includes(od)}},"nth-child"(Ra,qa,{adapter:nd,equals:od}){const ld=nthCheck(qa);return ld===boolbase$1.falseFunc?boolbase$1.falseFunc:ld===boolbase$1.trueFunc?getChildFunc(Ra,nd):function(dd){const pd=nd.getSiblings(dd);let fd=0;for(let md=0;md<pd.length&&!od(dd,pd[md]);md++)nd.isTag(pd[md])&&fd++;return ld(fd)&&Ra(dd)}},"nth-last-child"(Ra,qa,{adapter:nd,equals:od}){const ld=nthCheck(qa);return ld===boolbase$1.falseFunc?boolbase$1.falseFunc:ld===boolbase$1.trueFunc?getChildFunc(Ra,nd):function(dd){const pd=nd.getSiblings(dd);let fd=0;for(let md=pd.length-1;md>=0&&!od(dd,pd[md]);md--)nd.isTag(pd[md])&&fd++;return ld(fd)&&Ra(dd)}},"nth-of-type"(Ra,qa,{adapter:nd,equals:od}){const ld=nthCheck(qa);return ld===boolbase$1.falseFunc?boolbase$1.falseFunc:ld===boolbase$1.trueFunc?getChildFunc(Ra,nd):function(dd){const pd=nd.getSiblings(dd);let fd=0;for(let md=0;md<pd.length;md++){const vd=pd[md];if(od(dd,vd))break;nd.isTag(vd)&&nd.getName(vd)===nd.getName(dd)&&fd++}return ld(fd)&&Ra(dd)}},"nth-last-of-type"(Ra,qa,{adapter:nd,equals:od}){const ld=nthCheck(qa);return ld===boolbase$1.falseFunc?boolbase$1.falseFunc:ld===boolbase$1.trueFunc?getChildFunc(Ra,nd):function(dd){const pd=nd.getSiblings(dd);let fd=0;for(let md=pd.length-1;md>=0;md--){const vd=pd[md];if(od(dd,vd))break;nd.isTag(vd)&&nd.getName(vd)===nd.getName(dd)&&fd++}return ld(fd)&&Ra(dd)}},root(Ra,qa,{adapter:nd}){return od=>{const ld=nd.getParent(od);return(ld==null||!nd.isTag(ld))&&Ra(od)}},scope(Ra,qa,nd,od){const{equals:ld}=nd;return!od||od.length===0?filters.root(Ra,qa,nd):od.length===1?ud=>ld(od[0],ud)&&Ra(ud):ud=>od.includes(ud)&&Ra(ud)},hover:dynamicStatePseudo("isHovered"),visited:dynamicStatePseudo("isVisited"),active:dynamicStatePseudo("isActive")};function dynamicStatePseudo(Ra){return function(nd,od,{adapter:ld}){const ud=ld[Ra];return typeof ud!="function"?boolbase$1.falseFunc:function(pd){return ud(pd)&&nd(pd)}}}const pseudos={empty(Ra,{adapter:qa}){return!qa.getChildren(Ra).some(nd=>qa.isTag(nd)||qa.getText(nd)!=="")},"first-child"(Ra,{adapter:qa,equals:nd}){if(qa.prevElementSibling)return qa.prevElementSibling(Ra)==null;const od=qa.getSiblings(Ra).find(ld=>qa.isTag(ld));return od!=null&&nd(Ra,od)},"last-child"(Ra,{adapter:qa,equals:nd}){const od=qa.getSiblings(Ra);for(let ld=od.length-1;ld>=0;ld--){if(nd(Ra,od[ld]))return!0;if(qa.isTag(od[ld]))break}return!1},"first-of-type"(Ra,{adapter:qa,equals:nd}){const od=qa.getSiblings(Ra),ld=qa.getName(Ra);for(let ud=0;ud<od.length;ud++){const dd=od[ud];if(nd(Ra,dd))return!0;if(qa.isTag(dd)&&qa.getName(dd)===ld)break}return!1},"last-of-type"(Ra,{adapter:qa,equals:nd}){const od=qa.getSiblings(Ra),ld=qa.getName(Ra);for(let ud=od.length-1;ud>=0;ud--){const dd=od[ud];if(nd(Ra,dd))return!0;if(qa.isTag(dd)&&qa.getName(dd)===ld)break}return!1},"only-of-type"(Ra,{adapter:qa,equals:nd}){const od=qa.getName(Ra);return qa.getSiblings(Ra).every(ld=>nd(Ra,ld)||!qa.isTag(ld)||qa.getName(ld)!==od)},"only-child"(Ra,{adapter:qa,equals:nd}){return qa.getSiblings(Ra).every(od=>nd(Ra,od)||!qa.isTag(od))}};function verifyPseudoArgs(Ra,qa,nd,od){if(nd===null){if(Ra.length>od)throw new Error(`Pseudo-class :${qa} requires an argument`)}else if(Ra.length===od)throw new Error(`Pseudo-class :${qa} doesn't have any arguments`)}const aliases={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:`:is(
:is(button, input, select, textarea, optgroup, option)[disabled],
optgroup[disabled] > option,
fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *)
)`,enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"},PLACEHOLDER_ELEMENT={};function ensureIsTag(Ra,qa){return Ra===boolbase$1.falseFunc?boolbase$1.falseFunc:nd=>qa.isTag(nd)&&Ra(nd)}function getNextSiblings(Ra,qa){const nd=qa.getSiblings(Ra);if(nd.length<=1)return[];const od=nd.indexOf(Ra);return od<0||od===nd.length-1?[]:nd.slice(od+1).filter(qa.isTag)}function copyOptions(Ra){return{xmlMode:!!Ra.xmlMode,lowerCaseAttributeNames:!!Ra.lowerCaseAttributeNames,lowerCaseTags:!!Ra.lowerCaseTags,quirksMode:!!Ra.quirksMode,cacheResults:!!Ra.cacheResults,pseudos:Ra.pseudos,adapter:Ra.adapter,equals:Ra.equals}}const is$3=(Ra,qa,nd,od,ld)=>{const ud=ld(qa,copyOptions(nd),od);return ud===boolbase$1.trueFunc?Ra:ud===boolbase$1.falseFunc?boolbase$1.falseFunc:dd=>ud(dd)&&Ra(dd)},subselects={is:is$3,matches:is$3,where:is$3,not(Ra,qa,nd,od,ld){const ud=ld(qa,copyOptions(nd),od);return ud===boolbase$1.falseFunc?Ra:ud===boolbase$1.trueFunc?boolbase$1.falseFunc:dd=>!ud(dd)&&Ra(dd)},has(Ra,qa,nd,od,ld){const{adapter:ud}=nd,dd=copyOptions(nd);dd.relativeSelector=!0;const pd=qa.some(vd=>vd.some(isTraversal))?[PLACEHOLDER_ELEMENT]:void 0,fd=ld(qa,dd,pd);if(fd===boolbase$1.falseFunc)return boolbase$1.falseFunc;const md=ensureIsTag(fd,ud);if(pd&&fd!==boolbase$1.trueFunc){const{shouldTestNextSiblings:vd=!1}=fd;return Ad=>{if(!Ra(Ad))return!1;pd[0]=Ad;const Nd=ud.getChildren(Ad),Od=vd?[...Nd,...getNextSiblings(Ad,ud)]:Nd;return ud.existsOne(md,Od)}}return vd=>Ra(vd)&&ud.existsOne(md,ud.getChildren(vd))}};function compilePseudoSelector(Ra,qa,nd,od,ld){var ud;const{name:dd,data:pd}=qa;if(Array.isArray(pd)){if(!(dd in subselects))throw new Error(`Unknown pseudo-class :${dd}(${pd})`);return subselects[dd](Ra,pd,nd,od,ld)}const fd=(ud=nd.pseudos)===null||ud===void 0?void 0:ud[dd],md=typeof fd=="string"?fd:aliases[dd];if(typeof md=="string"){if(pd!=null)throw new Error(`Pseudo ${dd} doesn't have any arguments`);const vd=parse$8(md);return subselects.is(Ra,vd,nd,od,ld)}if(typeof fd=="function")return verifyPseudoArgs(fd,dd,pd,1),vd=>fd(vd,pd)&&Ra(vd);if(dd in filters)return filters[dd](Ra,pd,nd,od);if(dd in pseudos){const vd=pseudos[dd];return verifyPseudoArgs(vd,dd,pd,2),Ad=>vd(Ad,nd,pd)&&Ra(Ad)}throw new Error(`Unknown pseudo-class :${dd}`)}function getElementParent(Ra,qa){const nd=qa.getParent(Ra);return nd&&qa.isTag(nd)?nd:null}function compileGeneralSelector(Ra,qa,nd,od,ld){const{adapter:ud,equals:dd}=nd;switch(qa.type){case SelectorType$2.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case SelectorType$2.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case SelectorType$2.Attribute:{if(qa.namespace!=null)throw new Error("Namespaced attributes are not yet supported by css-select");return(!nd.xmlMode||nd.lowerCaseAttributeNames)&&(qa.name=qa.name.toLowerCase()),attributeRules[qa.action](Ra,qa,nd)}case SelectorType$2.Pseudo:return compilePseudoSelector(Ra,qa,nd,od,ld);case SelectorType$2.Tag:{if(qa.namespace!=null)throw new Error("Namespaced tag names are not yet supported by css-select");let{name:pd}=qa;return(!nd.xmlMode||nd.lowerCaseTags)&&(pd=pd.toLowerCase()),function(md){return ud.getName(md)===pd&&Ra(md)}}case SelectorType$2.Descendant:{if(nd.cacheResults===!1||typeof WeakSet>"u")return function(md){let vd=md;for(;vd=getElementParent(vd,ud);)if(Ra(vd))return!0;return!1};const pd=new WeakSet;return function(md){let vd=md;for(;vd=getElementParent(vd,ud);)if(!pd.has(vd)){if(ud.isTag(vd)&&Ra(vd))return!0;pd.add(vd)}return!1}}case"_flexibleDescendant":return function(fd){let md=fd;do if(Ra(md))return!0;while(md=getElementParent(md,ud));return!1};case SelectorType$2.Parent:return function(fd){return ud.getChildren(fd).some(md=>ud.isTag(md)&&Ra(md))};case SelectorType$2.Child:return function(fd){const md=ud.getParent(fd);return md!=null&&ud.isTag(md)&&Ra(md)};case SelectorType$2.Sibling:return function(fd){const md=ud.getSiblings(fd);for(let vd=0;vd<md.length;vd++){const Ad=md[vd];if(dd(fd,Ad))break;if(ud.isTag(Ad)&&Ra(Ad))return!0}return!1};case SelectorType$2.Adjacent:return ud.prevElementSibling?function(fd){const md=ud.prevElementSibling(fd);return md!=null&&Ra(md)}:function(fd){const md=ud.getSiblings(fd);let vd;for(let Ad=0;Ad<md.length;Ad++){const Nd=md[Ad];if(dd(fd,Nd))break;ud.isTag(Nd)&&(vd=Nd)}return!!vd&&Ra(vd)};case SelectorType$2.Universal:{if(qa.namespace!=null&&qa.namespace!=="*")throw new Error("Namespaced universal selectors are not yet supported by css-select");return Ra}}}function includesScopePseudo(Ra){return Ra.type===SelectorType$2.Pseudo&&(Ra.name==="scope"||Array.isArray(Ra.data)&&Ra.data.some(qa=>qa.some(includesScopePseudo)))}const DESCENDANT_TOKEN={type:SelectorType$2.Descendant},FLEXIBLE_DESCENDANT_TOKEN={type:"_flexibleDescendant"},SCOPE_TOKEN={type:SelectorType$2.Pseudo,name:"scope",data:null};function absolutize(Ra,{adapter:qa},nd){const od=!!(nd!=null&&nd.every(ld=>{const ud=qa.isTag(ld)&&qa.getParent(ld);return ld===PLACEHOLDER_ELEMENT||ud&&qa.isTag(ud)}));for(const ld of Ra){if(!(ld.length>0&&isTraversal(ld[0])&&ld[0].type!==SelectorType$2.Descendant))if(od&&!ld.some(includesScopePseudo))ld.unshift(DESCENDANT_TOKEN);else continue;ld.unshift(SCOPE_TOKEN)}}function compileToken(Ra,qa,nd){var od;Ra.forEach(sortByProcedure),nd=(od=qa.context)!==null&&od!==void 0?od:nd;const ld=Array.isArray(nd),ud=nd&&(Array.isArray(nd)?nd:[nd]);if(qa.relativeSelector!==!1)absolutize(Ra,qa,ud);else if(Ra.some(fd=>fd.length>0&&isTraversal(fd[0])))throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let dd=!1;const pd=Ra.map(fd=>{if(fd.length>=2){const[md,vd]=fd;md.type!==SelectorType$2.Pseudo||md.name!=="scope"||(ld&&vd.type===SelectorType$2.Descendant?fd[1]=FLEXIBLE_DESCENDANT_TOKEN:(vd.type===SelectorType$2.Adjacent||vd.type===SelectorType$2.Sibling)&&(dd=!0))}return compileRules(fd,qa,ud)}).reduce(reduceRules,boolbase$1.falseFunc);return pd.shouldTestNextSiblings=dd,pd}function compileRules(Ra,qa,nd){var od;return Ra.reduce((ld,ud)=>ld===boolbase$1.falseFunc?boolbase$1.falseFunc:compileGeneralSelector(ld,ud,qa,nd,compileToken),(od=qa.rootFunc)!==null&&od!==void 0?od:boolbase$1.trueFunc)}function reduceRules(Ra,qa){return qa===boolbase$1.falseFunc||Ra===boolbase$1.trueFunc?Ra:Ra===boolbase$1.falseFunc||qa===boolbase$1.trueFunc?qa:function(od){return Ra(od)||qa(od)}}const defaultEquals=(Ra,qa)=>Ra===qa,defaultOptions$6={adapter:DomUtils,equals:defaultEquals};function convertOptionFormats(Ra){var qa,nd,od,ld;const ud=Ra??defaultOptions$6;return(qa=ud.adapter)!==null&&qa!==void 0||(ud.adapter=DomUtils),(nd=ud.equals)!==null&&nd!==void 0||(ud.equals=(ld=(od=ud.adapter)===null||od===void 0?void 0:od.equals)!==null&&ld!==void 0?ld:defaultEquals),ud}function wrapCompile(Ra){return function(nd,od,ld){const ud=convertOptionFormats(od);return Ra(nd,ud,ld)}}const _compileToken=wrapCompile(compileToken);function prepareContext(Ra,qa,nd=!1){return nd&&(Ra=appendNextSiblings(Ra,qa)),Array.isArray(Ra)?qa.removeSubsets(Ra):qa.getChildren(Ra)}function appendNextSiblings(Ra,qa){const nd=Array.isArray(Ra)?Ra.slice(0):[Ra],od=nd.length;for(let ld=0;ld<od;ld++){const ud=getNextSiblings(nd[ld],qa);nd.push(...ud)}return nd}const filterNames=new Set(["first","last","eq","gt","nth","lt","even","odd"]);function isFilter(Ra){return Ra.type!=="pseudo"?!1:filterNames.has(Ra.name)?!0:Ra.name==="not"&&Array.isArray(Ra.data)?Ra.data.some(qa=>qa.some(isFilter)):!1}function getLimit(Ra,qa,nd){const od=qa!=null?parseInt(qa,10):NaN;switch(Ra){case"first":return 1;case"nth":case"eq":return isFinite(od)?od>=0?od+1:1/0:0;case"lt":return isFinite(od)?od>=0?Math.min(od,nd):1/0:0;case"gt":return isFinite(od)?1/0:0;case"odd":return 2*nd;case"even":return 2*nd-1;case"last":case"not":return 1/0}}function getDocumentRoot(Ra){for(;Ra.parent;)Ra=Ra.parent;return Ra}function groupSelectors(Ra){const qa=[],nd=[];for(const od of Ra)od.some(isFilter)?qa.push(od):nd.push(od);return[nd,qa]}const UNIVERSAL_SELECTOR={type:SelectorType$2.Universal,namespace:null},SCOPE_PSEUDO={type:SelectorType$2.Pseudo,name:"scope",data:null};function is$2(Ra,qa,nd={}){return some$2([Ra],qa,nd)}function some$2(Ra,qa,nd={}){if(typeof qa=="function")return Ra.some(qa);const[od,ld]=groupSelectors(parse$8(qa));return od.length>0&&Ra.some(_compileToken(od,nd))||ld.some(ud=>filterBySelector(ud,Ra,nd).length>0)}function filterByPosition(Ra,qa,nd,od){const ld=typeof nd=="string"?parseInt(nd,10):NaN;switch(Ra){case"first":case"lt":return qa;case"last":return qa.length>0?[qa[qa.length-1]]:qa;case"nth":case"eq":return isFinite(ld)&&Math.abs(ld)<qa.length?[ld<0?qa[qa.length+ld]:qa[ld]]:[];case"gt":return isFinite(ld)?qa.slice(ld+1):[];case"even":return qa.filter((ud,dd)=>dd%2===0);case"odd":return qa.filter((ud,dd)=>dd%2===1);case"not":{const ud=new Set(filterParsed(nd,qa,od));return qa.filter(dd=>!ud.has(dd))}}}function filter$4(Ra,qa,nd={}){return filterParsed(parse$8(Ra),qa,nd)}function filterParsed(Ra,qa,nd){if(qa.length===0)return[];const[od,ld]=groupSelectors(Ra);let ud;if(od.length){const dd=filterElements(qa,od,nd);if(ld.length===0)return dd;dd.length&&(ud=new Set(dd))}for(let dd=0;dd<ld.length&&(ud==null?void 0:ud.size)!==qa.length;dd++){const pd=ld[dd];if((ud?qa.filter(vd=>isTag(vd)&&!ud.has(vd)):qa).length===0)break;const md=filterBySelector(pd,qa,nd);if(md.length)if(ud)md.forEach(vd=>ud.add(vd));else{if(dd===ld.length-1)return md;ud=new Set(md)}}return typeof ud<"u"?ud.size===qa.length?qa:qa.filter(dd=>ud.has(dd)):[]}function filterBySelector(Ra,qa,nd){var od;if(Ra.some(isTraversal$1)){const ld=(od=nd.root)!==null&&od!==void 0?od:getDocumentRoot(qa[0]),ud={...nd,context:qa,relativeSelector:!1};return Ra.push(SCOPE_PSEUDO),findFilterElements(ld,Ra,ud,!0,qa.length)}return findFilterElements(qa,Ra,nd,!1,qa.length)}function select$1(Ra,qa,nd={},od=1/0){if(typeof Ra=="function")return find$2(qa,Ra);const[ld,ud]=groupSelectors(parse$8(Ra)),dd=ud.map(pd=>findFilterElements(qa,pd,nd,!0,od));return ld.length&&dd.push(findElements(qa,ld,nd,od)),dd.length===0?[]:dd.length===1?dd[0]:uniqueSort(dd.reduce((pd,fd)=>[...pd,...fd]))}function findFilterElements(Ra,qa,nd,od,ld){const ud=qa.findIndex(isFilter),dd=qa.slice(0,ud),pd=qa[ud],fd=qa.length-1===ud?ld:1/0,md=getLimit(pd.name,pd.data,fd);if(md===0)return[];const Ad=(dd.length===0&&!Array.isArray(Ra)?getChildren(Ra).filter(isTag):dd.length===0?(Array.isArray(Ra)?Ra:[Ra]).filter(isTag):od||dd.some(isTraversal$1)?findElements(Ra,[dd],nd,md):filterElements(Ra,[dd],nd)).slice(0,md);let Nd=filterByPosition(pd.name,Ad,pd.data,nd);if(Nd.length===0||qa.length===ud+1)return Nd;const Od=qa.slice(ud+1),kd=Od.some(isTraversal$1);if(kd){if(isTraversal$1(Od[0])){const{type:Ld}=Od[0];(Ld===SelectorType$2.Sibling||Ld===SelectorType$2.Adjacent)&&(Nd=prepareContext(Nd,DomUtils,!0)),Od.unshift(UNIVERSAL_SELECTOR)}nd={...nd,relativeSelector:!1,rootFunc:Ld=>Nd.includes(Ld)}}else nd.rootFunc&&nd.rootFunc!==boolbase.trueFunc&&(nd={...nd,rootFunc:boolbase.trueFunc});return Od.some(isFilter)?findFilterElements(Nd,Od,nd,!1,ld):kd?findElements(Nd,[Od],nd,ld):filterElements(Nd,[Od],nd)}function findElements(Ra,qa,nd,od){const ld=_compileToken(qa,nd,Ra);return find$2(Ra,ld,od)}function find$2(Ra,qa,nd=1/0){const od=prepareContext(Ra,DomUtils,qa.shouldTestNextSiblings);return find$3(ld=>isTag(ld)&&qa(ld),od,!0,nd)}function filterElements(Ra,qa,nd){const od=(Array.isArray(Ra)?Ra:[Ra]).filter(isTag);if(od.length===0)return od;const ld=_compileToken(qa,nd);return ld===boolbase.trueFunc?od:od.filter(ld)}const reSiblingSelector=/^\s*[+~]/;function find$1(Ra){if(!Ra)return this._make([]);if(typeof Ra!="string"){const qa=isCheerio(Ra)?Ra.toArray():[Ra],nd=this.toArray();return this._make(qa.filter(od=>nd.some(ld=>contains(ld,od))))}return this._findBySelector(Ra,Number.POSITIVE_INFINITY)}function _findBySelector(Ra,qa){var nd;const od=this.toArray(),ld=reSiblingSelector.test(Ra)?od:this.children().toArray(),ud={context:od,root:(nd=this._root)===null||nd===void 0?void 0:nd[0],xmlMode:this.options.xmlMode,lowerCaseTags:this.options.lowerCaseTags,lowerCaseAttributeNames:this.options.lowerCaseAttributeNames,pseudos:this.options.pseudos,quirksMode:this.options.quirksMode};return this._make(select$1(Ra,ld,ud,qa))}function _getMatcher(Ra){return function(qa,...nd){return function(od){var ld;let ud=Ra(qa,this);return od&&(ud=filterArray$1(ud,od,this.options.xmlMode,(ld=this._root)===null||ld===void 0?void 0:ld[0])),this._make(this.length>1&&ud.length>1?nd.reduce((dd,pd)=>pd(dd),ud):ud)}}}const _matcher=_getMatcher((Ra,qa)=>{let nd=[];for(let od=0;od<qa.length;od++){const ld=Ra(qa[od]);ld.length>0&&(nd=nd.concat(ld))}return nd}),_singleMatcher=_getMatcher((Ra,qa)=>{const nd=[];for(let od=0;od<qa.length;od++){const ld=Ra(qa[od]);ld!==null&&nd.push(ld)}return nd});function _matchUntil(Ra,...qa){let nd=null;const od=_getMatcher((ld,ud)=>{const dd=[];return domEach(ud,pd=>{for(let fd;(fd=ld(pd))&&!(nd!=null&&nd(fd,dd.length));pd=fd)dd.push(fd)}),dd})(Ra,...qa);return function(ld,ud){nd=typeof ld=="string"?pd=>is$2(pd,ld,this.options):ld?getFilterFn(ld):null;const dd=od.call(this,ud);return nd=null,dd}}function _removeDuplicates(Ra){return Ra.length>1?Array.from(new Set(Ra)):Ra}const parent$1=_singleMatcher(({parent:Ra})=>Ra&&!isDocument(Ra)?Ra:null,_removeDuplicates),parents=_matcher(Ra=>{const qa=[];for(;Ra.parent&&!isDocument(Ra.parent);)qa.push(Ra.parent),Ra=Ra.parent;return qa},uniqueSort,Ra=>Ra.reverse()),parentsUntil=_matchUntil(({parent:Ra})=>Ra&&!isDocument(Ra)?Ra:null,uniqueSort,Ra=>Ra.reverse());function closest(Ra){var qa;const nd=[];if(!Ra)return this._make(nd);const od={xmlMode:this.options.xmlMode,root:(qa=this._root)===null||qa===void 0?void 0:qa[0]},ld=typeof Ra=="string"?ud=>is$2(ud,Ra,od):getFilterFn(Ra);return domEach(this,ud=>{for(ud&&!isDocument(ud)&&!isTag(ud)&&(ud=ud.parent);ud&&isTag(ud);){if(ld(ud,0)){nd.includes(ud)||nd.push(ud);break}ud=ud.parent}}),this._make(nd)}const next$1=_singleMatcher(Ra=>nextElementSibling(Ra)),nextAll=_matcher(Ra=>{const qa=[];for(;Ra.next;)Ra=Ra.next,isTag(Ra)&&qa.push(Ra);return qa},_removeDuplicates),nextUntil=_matchUntil(Ra=>nextElementSibling(Ra),_removeDuplicates),prev$1=_singleMatcher(Ra=>prevElementSibling(Ra)),prevAll=_matcher(Ra=>{const qa=[];for(;Ra.prev;)Ra=Ra.prev,isTag(Ra)&&qa.push(Ra);return qa},_removeDuplicates),prevUntil=_matchUntil(Ra=>prevElementSibling(Ra),_removeDuplicates),siblings=_matcher(Ra=>getSiblings(Ra).filter(qa=>isTag(qa)&&qa!==Ra),uniqueSort),children$2=_matcher(Ra=>getChildren(Ra).filter(isTag),_removeDuplicates);function contents(){const Ra=this.toArray().reduce((qa,nd)=>hasChildren(nd)?qa.concat(nd.children):qa,[]);return this._make(Ra)}function each$1(Ra){let qa=0;const nd=this.length;for(;qa<nd&&Ra.call(this[qa],qa,this[qa])!==!1;)++qa;return this}function map$5(Ra){let qa=[];for(let nd=0;nd<this.length;nd++){const od=this[nd],ld=Ra.call(od,nd,od);ld!=null&&(qa=qa.concat(ld))}return this._make(qa)}function getFilterFn(Ra){return typeof Ra=="function"?(qa,nd)=>Ra.call(qa,nd,qa):isCheerio(Ra)?qa=>Array.prototype.includes.call(Ra,qa):function(qa){return Ra===qa}}function filter$3(Ra){var qa;return this._make(filterArray$1(this.toArray(),Ra,this.options.xmlMode,(qa=this._root)===null||qa===void 0?void 0:qa[0]))}function filterArray$1(Ra,qa,nd,od){return typeof qa=="string"?filter$4(qa,Ra,{xmlMode:nd,root:od}):Ra.filter(getFilterFn(qa))}function is$1(Ra){const qa=this.toArray();return typeof Ra=="string"?some$2(qa.filter(isTag),Ra,this.options):Ra?qa.some(getFilterFn(Ra)):!1}function not$1(Ra){let qa=this.toArray();if(typeof Ra=="string"){const nd=new Set(filter$4(Ra,qa,this.options));qa=qa.filter(od=>!nd.has(od))}else{const nd=getFilterFn(Ra);qa=qa.filter((od,ld)=>!nd(od,ld))}return this._make(qa)}function has(Ra){return this.filter(typeof Ra=="string"?`:has(${Ra})`:(qa,nd)=>this._make(nd).find(Ra).length>0)}function first(){return this.length>1?this._make(this[0]):this}function last(){return this.length>0?this._make(this[this.length-1]):this}function eq$1(Ra){var qa;return Ra=+Ra,Ra===0&&this.length<=1?this:(Ra<0&&(Ra=this.length+Ra),this._make((qa=this[Ra])!==null&&qa!==void 0?qa:[]))}function get$2(Ra){return Ra==null?this.toArray():this[Ra<0?this.length+Ra:Ra]}function toArray$5(){return Array.prototype.slice.call(this)}function index$1(Ra){let qa,nd;return Ra==null?(qa=this.parent().children(),nd=this[0]):typeof Ra=="string"?(qa=this._make(Ra),nd=this[0]):(qa=this,nd=isCheerio(Ra)?Ra[0]:Ra),Array.prototype.indexOf.call(qa,nd)}function slice$1(Ra,qa){return this._make(Array.prototype.slice.call(this,Ra,qa))}function end(){var Ra;return(Ra=this.prevObject)!==null&&Ra!==void 0?Ra:this._make([])}function add(Ra,qa){const nd=this._make(Ra,qa),od=uniqueSort([...this.get(),...nd.get()]);return this._make(od)}function addBack(Ra){return this.prevObject?this.add(Ra?this.prevObject.filter(Ra):this.prevObject):this}const Traversing=Object.freeze(Object.defineProperty({__proto__:null,_findBySelector,add,addBack,children:children$2,closest,contents,each:each$1,end,eq:eq$1,filter:filter$3,filterArray:filterArray$1,find:find$1,first,get:get$2,has,index:index$1,is:is$1,last,map:map$5,next:next$1,nextAll,nextUntil,not:not$1,parent:parent$1,parents,parentsUntil,prev:prev$1,prevAll,prevUntil,siblings,slice:slice$1,toArray:toArray$5},Symbol.toStringTag,{value:"Module"}));function getParse(Ra){return function(nd,od,ld,ud){if(typeof Buffer$4<"u"&&Buffer$4.isBuffer(nd)&&(nd=nd.toString()),typeof nd=="string")return Ra(nd,od,ld,ud);const dd=nd;if(!Array.isArray(dd)&&isDocument(dd))return dd;const pd=new Document([]);return update(dd,pd),pd}}function update(Ra,qa){const nd=Array.isArray(Ra)?Ra:[Ra];qa?qa.children=nd:qa=null;for(let od=0;od<nd.length;od++){const ld=nd[od];ld.parent&&ld.parent.children!==nd&&removeElement(ld),qa?(ld.prev=nd[od-1]||null,ld.next=nd[od+1]||null):ld.prev=ld.next=null,ld.parent=qa}return qa}function _makeDomArray(Ra,qa){if(Ra==null)return[];if(typeof Ra=="string")return this._parse(Ra,this.options,!1,null).children.slice(0);if("length"in Ra){if(Ra.length===1)return this._makeDomArray(Ra[0],qa);const nd=[];for(let od=0;od<Ra.length;od++){const ld=Ra[od];if(typeof ld=="object"){if(ld==null)continue;if(!("length"in ld)){nd.push(qa?cloneNode(ld,!0):ld);continue}}nd.push(...this._makeDomArray(ld,qa))}return nd}return[qa?cloneNode(Ra,!0):Ra]}function _insert(Ra){return function(...qa){const nd=this.length-1;return domEach(this,(od,ld)=>{if(!hasChildren(od))return;const ud=typeof qa[0]=="function"?qa[0].call(od,ld,this._render(od.children)):qa,dd=this._makeDomArray(ud,ld<nd);Ra(dd,od.children,od)})}}function uniqueSplice(Ra,qa,nd,od,ld){var ud,dd;const pd=[qa,nd,...od],fd=qa===0?null:Ra[qa-1],md=qa+nd>=Ra.length?null:Ra[qa+nd];for(let vd=0;vd<od.length;++vd){const Ad=od[vd],Nd=Ad.parent;if(Nd){const kd=Nd.children.indexOf(Ad);kd>-1&&(Nd.children.splice(kd,1),ld===Nd&&qa>kd&&pd[0]--)}Ad.parent=ld,Ad.prev&&(Ad.prev.next=(ud=Ad.next)!==null&&ud!==void 0?ud:null),Ad.next&&(Ad.next.prev=(dd=Ad.prev)!==null&&dd!==void 0?dd:null),Ad.prev=vd===0?fd:od[vd-1],Ad.next=vd===od.length-1?md:od[vd+1]}return fd&&(fd.next=od[0]),md&&(md.prev=od[od.length-1]),Ra.splice(...pd)}function appendTo(Ra){return(isCheerio(Ra)?Ra:this._make(Ra)).append(this),this}function prependTo(Ra){return(isCheerio(Ra)?Ra:this._make(Ra)).prepend(this),this}const append$2=_insert((Ra,qa,nd)=>{uniqueSplice(qa,qa.length,0,Ra,nd)}),prepend=_insert((Ra,qa,nd)=>{uniqueSplice(qa,0,0,Ra,nd)});function _wrap(Ra){return function(qa){const nd=this.length-1,od=this.parents().last();for(let ld=0;ld<this.length;ld++){const ud=this[ld],dd=typeof qa=="function"?qa.call(ud,ld,ud):typeof qa=="string"&&!isHtml(qa)?od.find(qa).clone():qa,[pd]=this._makeDomArray(dd,ld<nd);if(!pd||!hasChildren(pd))continue;let fd=pd,md=0;for(;md<fd.children.length;){const vd=fd.children[md];isTag(vd)?(fd=vd,md=0):md++}Ra(ud,fd,[pd])}return this}}const wrap$1=_wrap((Ra,qa,nd)=>{const{parent:od}=Ra;if(!od)return;const ld=od.children,ud=ld.indexOf(Ra);update([Ra],qa),uniqueSplice(ld,ud,0,nd,od)}),wrapInner=_wrap((Ra,qa,nd)=>{hasChildren(Ra)&&(update(Ra.children,qa),update(nd,Ra))});function unwrap(Ra){return this.parent(Ra).not("body").each((qa,nd)=>{this._make(nd).replaceWith(nd.children)}),this}function wrapAll(Ra){const qa=this[0];if(qa){const nd=this._make(typeof Ra=="function"?Ra.call(qa,0,qa):Ra).insertBefore(qa);let od;for(let ud=0;ud<nd.length;ud++)nd[ud].type==="tag"&&(od=nd[ud]);let ld=0;for(;od&&ld<od.children.length;){const ud=od.children[ld];ud.type==="tag"?(od=ud,ld=0):ld++}od&&this._make(od).append(this)}return this}function after(...Ra){const qa=this.length-1;return domEach(this,(nd,od)=>{if(!hasChildren(nd)||!nd.parent)return;const ld=nd.parent.children,ud=ld.indexOf(nd);if(ud<0)return;const dd=typeof Ra[0]=="function"?Ra[0].call(nd,od,this._render(nd.children)):Ra,pd=this._makeDomArray(dd,od<qa);uniqueSplice(ld,ud+1,0,pd,nd.parent)})}function insertAfter(Ra){typeof Ra=="string"&&(Ra=this._make(Ra)),this.remove();const qa=[];for(const nd of this._makeDomArray(Ra)){const od=this.clone().toArray(),{parent:ld}=nd;if(!ld)continue;const ud=ld.children,dd=ud.indexOf(nd);dd<0||(uniqueSplice(ud,dd+1,0,od,ld),qa.push(...od))}return this._make(qa)}function before(...Ra){const qa=this.length-1;return domEach(this,(nd,od)=>{if(!hasChildren(nd)||!nd.parent)return;const ld=nd.parent.children,ud=ld.indexOf(nd);if(ud<0)return;const dd=typeof Ra[0]=="function"?Ra[0].call(nd,od,this._render(nd.children)):Ra,pd=this._makeDomArray(dd,od<qa);uniqueSplice(ld,ud,0,pd,nd.parent)})}function insertBefore(Ra){const qa=this._make(Ra);this.remove();const nd=[];return domEach(qa,od=>{const ld=this.clone().toArray(),{parent:ud}=od;if(!ud)return;const dd=ud.children,pd=dd.indexOf(od);pd<0||(uniqueSplice(dd,pd,0,ld,ud),nd.push(...ld))}),this._make(nd)}function remove$1(Ra){const qa=Ra?this.filter(Ra):this;return domEach(qa,nd=>{removeElement(nd),nd.prev=nd.next=nd.parent=null}),this}function replaceWith(Ra){return domEach(this,(qa,nd)=>{const{parent:od}=qa;if(!od)return;const ld=od.children,ud=typeof Ra=="function"?Ra.call(qa,nd,qa):Ra,dd=this._makeDomArray(ud);update(dd,null);const pd=ld.indexOf(qa);uniqueSplice(ld,pd,1,dd,od),dd.includes(qa)||(qa.parent=qa.prev=qa.next=null)})}function empty$1(){return domEach(this,Ra=>{if(hasChildren(Ra)){for(const qa of Ra.children)qa.next=qa.prev=qa.parent=null;Ra.children.length=0}})}function html$4(Ra){if(Ra===void 0){const qa=this[0];return!qa||!hasChildren(qa)?null:this._render(qa.children)}return domEach(this,qa=>{if(!hasChildren(qa))return;for(const od of qa.children)od.next=od.prev=od.parent=null;const nd=isCheerio(Ra)?Ra.toArray():this._parse(`${Ra}`,this.options,!1,qa).children;update(nd,qa)})}function toString$3(){return this._render(this)}function text$2(Ra){return Ra===void 0?text$3(this):typeof Ra=="function"?domEach(this,(qa,nd)=>this._make(qa).text(Ra.call(qa,nd,text$3([qa])))):domEach(this,qa=>{if(!hasChildren(qa))return;for(const od of qa.children)od.next=od.prev=od.parent=null;const nd=new Text(`${Ra}`);update(nd,qa)})}function clone$2(){const Ra=Array.prototype.map.call(this.get(),nd=>cloneNode(nd,!0)),qa=new Document(Ra);for(const nd of Ra)nd.parent=qa;return this._make(Ra)}const Manipulation=Object.freeze(Object.defineProperty({__proto__:null,_makeDomArray,after,append:append$2,appendTo,before,clone:clone$2,empty:empty$1,html:html$4,insertAfter,insertBefore,prepend,prependTo,remove:remove$1,replaceWith,text:text$2,toString:toString$3,unwrap,wrap:wrap$1,wrapAll,wrapInner},Symbol.toStringTag,{value:"Module"}));function css$1(Ra,qa){if(Ra!=null&&qa!=null||typeof Ra=="object"&&!Array.isArray(Ra))return domEach(this,(nd,od)=>{isTag(nd)&&setCss(nd,Ra,qa,od)});if(this.length!==0)return getCss(this[0],Ra)}function setCss(Ra,qa,nd,od){if(typeof qa=="string"){const ld=getCss(Ra),ud=typeof nd=="function"?nd.call(Ra,od,ld[qa]):nd;ud===""?delete ld[qa]:ud!=null&&(ld[qa]=ud),Ra.attribs.style=stringify$3(ld)}else if(typeof qa=="object"){const ld=Object.keys(qa);for(let ud=0;ud<ld.length;ud++){const dd=ld[ud];setCss(Ra,dd,qa[dd],ud)}}}function getCss(Ra,qa){if(!Ra||!isTag(Ra))return;const nd=parse$6(Ra.attribs.style);if(typeof qa=="string")return nd[qa];if(Array.isArray(qa)){const od={};for(const ld of qa)nd[ld]!=null&&(od[ld]=nd[ld]);return od}return nd}function stringify$3(Ra){return Object.keys(Ra).reduce((qa,nd)=>`${qa}${qa?" ":""}${nd}: ${Ra[nd]};`,"")}function parse$6(Ra){if(Ra=(Ra||"").trim(),!Ra)return{};const qa={};let nd;for(const od of Ra.split(";")){const ld=od.indexOf(":");if(ld<1||ld===od.length-1){const ud=od.trimEnd();ud.length>0&&nd!==void 0&&(qa[nd]+=`;${ud}`)}else nd=od.slice(0,ld).trim(),qa[nd]=od.slice(ld+1).trim()}return qa}const Css=Object.freeze(Object.defineProperty({__proto__:null,css:css$1},Symbol.toStringTag,{value:"Module"})),submittableSelector="input,select,textarea,keygen",r20=/%20/g,rCRLF=/\r?\n/g;function serialize$1(){return this.serializeArray().map(nd=>`${encodeURIComponent(nd.name)}=${encodeURIComponent(nd.value)}`).join("&").replace(r20,"+")}function serializeArray(){return this.map((Ra,qa)=>{const nd=this._make(qa);return isTag(qa)&&qa.name==="form"?nd.find(submittableSelector).toArray():nd.filter(submittableSelector).toArray()}).filter('[name!=""]:enabled:not(:submit, :button, :image, :reset, :file):matches([checked], :not(:checkbox, :radio))').map((Ra,qa)=>{var nd;const od=this._make(qa),ld=od.attr("name"),ud=(nd=od.val())!==null&&nd!==void 0?nd:"";return Array.isArray(ud)?ud.map(dd=>({name:ld,value:dd.replace(rCRLF,`\r
`)})):{name:ld,value:ud.replace(rCRLF,`\r
`)}}).toArray()}const Forms=Object.freeze(Object.defineProperty({__proto__:null,serialize:serialize$1,serializeArray},Symbol.toStringTag,{value:"Module"}));function getExtractDescr(Ra){var qa;return typeof Ra=="string"?{selector:Ra,value:"textContent"}:{selector:Ra.selector,value:(qa=Ra.value)!==null&&qa!==void 0?qa:"textContent"}}function extract(Ra){const qa={};for(const nd in Ra){const od=Ra[nd],ld=Array.isArray(od),{selector:ud,value:dd}=getExtractDescr(ld?od[0]:od),pd=typeof dd=="function"?dd:typeof dd=="string"?fd=>this._make(fd).prop(dd):fd=>this._make(fd).extract(dd);if(ld)qa[nd]=this._findBySelector(ud,Number.POSITIVE_INFINITY).map((fd,md)=>pd(md,nd,qa)).get();else{const fd=this._findBySelector(ud,1);qa[nd]=fd.length>0?pd(fd[0],nd,qa):void 0}}return qa}const Extract=Object.freeze(Object.defineProperty({__proto__:null,extract},Symbol.toStringTag,{value:"Module"}));class Cheerio{constructor(qa,nd,od){if(this.length=0,this.options=od,this._root=nd,qa){for(let ld=0;ld<qa.length;ld++)this[ld]=qa[ld];this.length=qa.length}}}Cheerio.prototype.cheerio="[cheerio object]";Cheerio.prototype.splice=Array.prototype.splice;Cheerio.prototype[Symbol.iterator]=Array.prototype[Symbol.iterator];Object.assign(Cheerio.prototype,Attributes,Traversing,Manipulation,Css,Forms,Extract);function getLoad(Ra,qa){return function nd(od,ld,ud=!0){if(od==null)throw new Error("cheerio.load() expects a string");const dd=flattenOptions(ld),pd=Ra(od,dd,ud,null);class fd extends Cheerio{_make(Ad,Nd){const Od=md(Ad,Nd);return Od.prevObject=this,Od}_parse(Ad,Nd,Od,kd){return Ra(Ad,Nd,Od,kd)}_render(Ad){return qa(Ad,this.options)}}function md(vd,Ad,Nd=pd,Od){if(vd&&isCheerio(vd))return vd;const kd=flattenOptions(Od,dd),Ld=typeof Nd=="string"?[Ra(Nd,kd,!1,null)]:"length"in Nd?Nd:[Nd],Gd=isCheerio(Ld)?Ld:new fd(Ld,null,kd);if(Gd._root=Gd,!vd)return new fd(void 0,Gd,kd);const jd=typeof vd=="string"&&isHtml(vd)?Ra(vd,kd,!1,null).children:isNode$1(vd)?[vd]:Array.isArray(vd)?vd:void 0,Fd=new fd(jd,Gd,kd);if(jd)return Fd;if(typeof vd!="string")throw new TypeError("Unexpected type of selector");let Ud=vd;const qd=Ad?typeof Ad=="string"?isHtml(Ad)?new fd([Ra(Ad,kd,!1,null)],Gd,kd):(Ud=`${Ad} ${Ud}`,Gd):isCheerio(Ad)?Ad:new fd(Array.isArray(Ad)?Ad:[Ad],Gd,kd):Gd;return qd?qd.find(Ud):Fd}return Object.assign(md,staticMethods,{load:nd,_root:pd,_options:dd,fn:fd.prototype,prototype:fd.prototype}),md}}function isNode$1(Ra){return!!Ra.name||Ra.type==="root"||Ra.type==="text"||Ra.type==="comment"}const UNDEFINED_CODE_POINTS=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),REPLACEMENT_CHARACTER="<22>";var CODE_POINTS;(function(Ra){Ra[Ra.EOF=-1]="EOF",Ra[Ra.NULL=0]="NULL",Ra[Ra.TABULATION=9]="TABULATION",Ra[Ra.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",Ra[Ra.LINE_FEED=10]="LINE_FEED",Ra[Ra.FORM_FEED=12]="FORM_FEED",Ra[Ra.SPACE=32]="SPACE",Ra[Ra.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",Ra[Ra.QUOTATION_MARK=34]="QUOTATION_MARK",Ra[Ra.AMPERSAND=38]="AMPERSAND",Ra[Ra.APOSTROPHE=39]="APOSTROPHE",Ra[Ra.HYPHEN_MINUS=45]="HYPHEN_MINUS",Ra[Ra.SOLIDUS=47]="SOLIDUS",Ra[Ra.DIGIT_0=48]="DIGIT_0",Ra[Ra.DIGIT_9=57]="DIGIT_9",Ra[Ra.SEMICOLON=59]="SEMICOLON",Ra[Ra.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",Ra[Ra.EQUALS_SIGN=61]="EQUALS_SIGN",Ra[Ra.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",Ra[Ra.QUESTION_MARK=63]="QUESTION_MARK",Ra[Ra.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",Ra[Ra.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",Ra[Ra.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",Ra[Ra.GRAVE_ACCENT=96]="GRAVE_ACCENT",Ra[Ra.LATIN_SMALL_A=97]="LATIN_SMALL_A",Ra[Ra.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(CODE_POINTS||(CODE_POINTS={}));const SEQUENCES={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function isSurrogate(Ra){return Ra>=55296&&Ra<=57343}function isSurrogatePair(Ra){return Ra>=56320&&Ra<=57343}function getSurrogatePairCodePoint(Ra,qa){return(Ra-55296)*1024+9216+qa}function isControlCodePoint(Ra){return Ra!==32&&Ra!==10&&Ra!==13&&Ra!==9&&Ra!==12&&Ra>=1&&Ra<=31||Ra>=127&&Ra<=159}function isUndefinedCodePoint(Ra){return Ra>=64976&&Ra<=65007||UNDEFINED_CODE_POINTS.has(Ra)}var ERR;(function(Ra){Ra.controlCharacterInInputStream="control-character-in-input-stream",Ra.noncharacterInInputStream="noncharacter-in-input-stream",Ra.surrogateInInputStream="surrogate-in-input-stream",Ra.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",Ra.endTagWithAttributes="end-tag-with-attributes",Ra.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",Ra.unexpectedSolidusInTag="unexpected-solidus-in-tag",Ra.unexpectedNullCharacter="unexpected-null-character",Ra.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",Ra.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",Ra.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",Ra.missingEndTagName="missing-end-tag-name",Ra.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",Ra.unknownNamedCharacterReference="unknown-named-character-reference",Ra.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",Ra.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",Ra.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",Ra.eofBeforeTagName="eof-before-tag-name",Ra.eofInTag="eof-in-tag",Ra.missingAttributeValue="missing-attribute-value",Ra.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",Ra.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",Ra.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",Ra.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",Ra.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",Ra.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",Ra.missingDoctypePublicIdentifier="missing-doctype-public-identifier",Ra.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",Ra.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",Ra.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",Ra.cdataInHtmlContent="cdata-in-html-content",Ra.incorrectlyOpenedComment="incorrectly-opened-comment",Ra.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",Ra.eofInDoctype="eof-in-doctype",Ra.nestedComment="nested-comment",Ra.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",Ra.eofInComment="eof-in-comment",Ra.incorrectlyClosedComment="incorrectly-closed-comment",Ra.eofInCdata="eof-in-cdata",Ra.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",Ra.nullCharacterReference="null-character-reference",Ra.surrogateCharacterReference="surrogate-character-reference",Ra.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",Ra.controlCharacterReference="control-character-reference",Ra.noncharacterCharacterReference="noncharacter-character-reference",Ra.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",Ra.missingDoctypeName="missing-doctype-name",Ra.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",Ra.duplicateAttribute="duplicate-attribute",Ra.nonConformingDoctype="non-conforming-doctype",Ra.missingDoctype="missing-doctype",Ra.misplacedDoctype="misplaced-doctype",Ra.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",Ra.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",Ra.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",Ra.openElementsLeftAfterEof="open-elements-left-after-eof",Ra.abandonedHeadElementChild="abandoned-head-element-child",Ra.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",Ra.nestedNoscriptInHead="nested-noscript-in-head",Ra.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(ERR||(ERR={}));const DEFAULT_BUFFER_WATERLINE=65536;class Preprocessor{constructor(qa){this.handler=qa,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=DEFAULT_BUFFER_WATERLINE,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(qa,nd){const{line:od,col:ld,offset:ud}=this,dd=ld+nd,pd=ud+nd;return{code:qa,startLine:od,endLine:od,startCol:dd,endCol:dd,startOffset:pd,endOffset:pd}}_err(qa){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(qa,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(qa){if(this.pos!==this.html.length-1){const nd=this.html.charCodeAt(this.pos+1);if(isSurrogatePair(nd))return this.pos++,this._addGap(),getSurrogatePairCodePoint(qa,nd)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,CODE_POINTS.EOF;return this._err(ERR.surrogateInInputStream),qa}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(qa,nd){this.html.length>0?this.html+=qa:this.html=qa,this.endOfChunkHit=!1,this.lastChunkWritten=nd}insertHtmlAtCurrentPos(qa){this.html=this.html.substring(0,this.pos+1)+qa+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(qa,nd){if(this.pos+qa.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(nd)return this.html.startsWith(qa,this.pos);for(let od=0;od<qa.length;od++)if((this.html.charCodeAt(this.pos+od)|32)!==qa.charCodeAt(od))return!1;return!0}peek(qa){const nd=this.pos+qa;if(nd>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,CODE_POINTS.EOF;const od=this.html.charCodeAt(nd);return od===CODE_POINTS.CARRIAGE_RETURN?CODE_POINTS.LINE_FEED:od}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,CODE_POINTS.EOF;let qa=this.html.charCodeAt(this.pos);return qa===CODE_POINTS.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,CODE_POINTS.LINE_FEED):qa===CODE_POINTS.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,isSurrogate(qa)&&(qa=this._processSurrogate(qa)),this.handler.onParseError===null||qa>31&&qa<127||qa===CODE_POINTS.LINE_FEED||qa===CODE_POINTS.CARRIAGE_RETURN||qa>159&&qa<64976||this._checkForProblematicCharacters(qa),qa)}_checkForProblematicCharacters(qa){isControlCodePoint(qa)?this._err(ERR.controlCharacterInInputStream):isUndefinedCodePoint(qa)&&this._err(ERR.noncharacterInInputStream)}retreat(qa){for(this.pos-=qa;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var TokenType;(function(Ra){Ra[Ra.CHARACTER=0]="CHARACTER",Ra[Ra.NULL_CHARACTER=1]="NULL_CHARACTER",Ra[Ra.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",Ra[Ra.START_TAG=3]="START_TAG",Ra[Ra.END_TAG=4]="END_TAG",Ra[Ra.COMMENT=5]="COMMENT",Ra[Ra.DOCTYPE=6]="DOCTYPE",Ra[Ra.EOF=7]="EOF",Ra[Ra.HIBERNATION=8]="HIBERNATION"})(TokenType||(TokenType={}));function getTokenAttr(Ra,qa){for(let nd=Ra.attrs.length-1;nd>=0;nd--)if(Ra.attrs[nd].name===qa)return Ra.attrs[nd].value;return null}var NS;(function(Ra){Ra.HTML="http://www.w3.org/1999/xhtml",Ra.MATHML="http://www.w3.org/1998/Math/MathML",Ra.SVG="http://www.w3.org/2000/svg",Ra.XLINK="http://www.w3.org/1999/xlink",Ra.XML="http://www.w3.org/XML/1998/namespace",Ra.XMLNS="http://www.w3.org/2000/xmlns/"})(NS||(NS={}));var ATTRS;(function(Ra){Ra.TYPE="type",Ra.ACTION="action",Ra.ENCODING="encoding",Ra.PROMPT="prompt",Ra.NAME="name",Ra.COLOR="color",Ra.FACE="face",Ra.SIZE="size"})(ATTRS||(ATTRS={}));var DOCUMENT_MODE;(function(Ra){Ra.NO_QUIRKS="no-quirks",Ra.QUIRKS="quirks",Ra.LIMITED_QUIRKS="limited-quirks"})(DOCUMENT_MODE||(DOCUMENT_MODE={}));var TAG_NAMES;(function(Ra){Ra.A="a",Ra.ADDRESS="address",Ra.ANNOTATION_XML="annotation-xml",Ra.APPLET="applet",Ra.AREA="area",Ra.ARTICLE="article",Ra.ASIDE="aside",Ra.B="b",Ra.BASE="base",Ra.BASEFONT="basefont",Ra.BGSOUND="bgsound",Ra.BIG="big",Ra.BLOCKQUOTE="blockquote",Ra.BODY="body",Ra.BR="br",Ra.BUTTON="button",Ra.CAPTION="caption",Ra.CENTER="center",Ra.CODE="code",Ra.COL="col",Ra.COLGROUP="colgroup",Ra.DD="dd",Ra.DESC="desc",Ra.DETAILS="details",Ra.DIALOG="dialog",Ra.DIR="dir",Ra.DIV="div",Ra.DL="dl",Ra.DT="dt",Ra.EM="em",Ra.EMBED="embed",Ra.FIELDSET="fieldset",Ra.FIGCAPTION="figcaption",Ra.FIGURE="figure",Ra.FONT="font",Ra.FOOTER="footer",Ra.FOREIGN_OBJECT="foreignObject",Ra.FORM="form",Ra.FRAME="frame",Ra.FRAMESET="frameset",Ra.H1="h1",Ra.H2="h2",Ra.H3="h3",Ra.H4="h4",Ra.H5="h5",Ra.H6="h6",Ra.HEAD="head",Ra.HEADER="header",Ra.HGROUP="hgroup",Ra.HR="hr",Ra.HTML="html",Ra.I="i",Ra.IMG="img",Ra.IMAGE="image",Ra.INPUT="input",Ra.IFRAME="iframe",Ra.KEYGEN="keygen",Ra.LABEL="label",Ra.LI="li",Ra.LINK="link",Ra.LISTING="listing",Ra.MAIN="main",Ra.MALIGNMARK="malignmark",Ra.MARQUEE="marquee",Ra.MATH="math",Ra.MENU="menu",Ra.META="meta",Ra.MGLYPH="mglyph",Ra.MI="mi",Ra.MO="mo",Ra.MN="mn",Ra.MS="ms",Ra.MTEXT="mtext",Ra.NAV="nav",Ra.NOBR="nobr",Ra.NOFRAMES="noframes",Ra.NOEMBED="noembed",Ra.NOSCRIPT="noscript",Ra.OBJECT="object",Ra.OL="ol",Ra.OPTGROUP="optgroup",Ra.OPTION="option",Ra.P="p",Ra.PARAM="param",Ra.PLAINTEXT="plaintext",Ra.PRE="pre",Ra.RB="rb",Ra.RP="rp",Ra.RT="rt",Ra.RTC="rtc",Ra.RUBY="ruby",Ra.S="s",Ra.SCRIPT="script",Ra.SEARCH="search",Ra.SECTION="section",Ra.SELECT="select",Ra.SOURCE="source",Ra.SMALL="small",Ra.SPAN="span",Ra.STRIKE="strike",Ra.STRONG="strong",Ra.STYLE="style",Ra.SUB="sub",Ra.SUMMARY="summary",Ra.SUP="sup",Ra.TABLE="table",Ra.TBODY="tbody",Ra.TEMPLATE="template",Ra.TEXTAREA="textarea",Ra.TFOOT="tfoot",Ra.TD="td",Ra.TH="th",Ra.THEAD="thead",Ra.TITLE="title",Ra.TR="tr",Ra.TRACK="track",Ra.TT="tt",Ra.U="u",Ra.UL="ul",Ra.SVG="svg",Ra.VAR="var",Ra.WBR="wbr",Ra.XMP="xmp"})(TAG_NAMES||(TAG_NAMES={}));var TAG_ID;(function(Ra){Ra[Ra.UNKNOWN=0]="UNKNOWN",Ra[Ra.A=1]="A",Ra[Ra.ADDRESS=2]="ADDRESS",Ra[Ra.ANNOTATION_XML=3]="ANNOTATION_XML",Ra[Ra.APPLET=4]="APPLET",Ra[Ra.AREA=5]="AREA",Ra[Ra.ARTICLE=6]="ARTICLE",Ra[Ra.ASIDE=7]="ASIDE",Ra[Ra.B=8]="B",Ra[Ra.BASE=9]="BASE",Ra[Ra.BASEFONT=10]="BASEFONT",Ra[Ra.BGSOUND=11]="BGSOUND",Ra[Ra.BIG=12]="BIG",Ra[Ra.BLOCKQUOTE=13]="BLOCKQUOTE",Ra[Ra.BODY=14]="BODY",Ra[Ra.BR=15]="BR",Ra[Ra.BUTTON=16]="BUTTON",Ra[Ra.CAPTION=17]="CAPTION",Ra[Ra.CENTER=18]="CENTER",Ra[Ra.CODE=19]="CODE",Ra[Ra.COL=20]="COL",Ra[Ra.COLGROUP=21]="COLGROUP",Ra[Ra.DD=22]="DD",Ra[Ra.DESC=23]="DESC",Ra[Ra.DETAILS=24]="DETAILS",Ra[Ra.DIALOG=25]="DIALOG",Ra[Ra.DIR=26]="DIR",Ra[Ra.DIV=27]="DIV",Ra[Ra.DL=28]="DL",Ra[Ra.DT=29]="DT",Ra[Ra.EM=30]="EM",Ra[Ra.EMBED=31]="EMBED",Ra[Ra.FIELDSET=32]="FIELDSET",Ra[Ra.FIGCAPTION=33]="FIGCAPTION",Ra[Ra.FIGURE=34]="FIGURE",Ra[Ra.FONT=35]="FONT",Ra[Ra.FOOTER=36]="FOOTER",Ra[Ra.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",Ra[Ra.FORM=38]="FORM",Ra[Ra.FRAME=39]="FRAME",Ra[Ra.FRAMESET=40]="FRAMESET",Ra[Ra.H1=41]="H1",Ra[Ra.H2=42]="H2",Ra[Ra.H3=43]="H3",Ra[Ra.H4=44]="H4",Ra[Ra.H5=45]="H5",Ra[Ra.H6=46]="H6",Ra[Ra.HEAD=47]="HEAD",Ra[Ra.HEADER=48]="HEADER",Ra[Ra.HGROUP=49]="HGROUP",Ra[Ra.HR=50]="HR",Ra[Ra.HTML=51]="HTML",Ra[Ra.I=52]="I",Ra[Ra.IMG=53]="IMG",Ra[Ra.IMAGE=54]="IMAGE",Ra[Ra.INPUT=55]="INPUT",Ra[Ra.IFRAME=56]="IFRAME",Ra[Ra.KEYGEN=57]="KEYGEN",Ra[Ra.LABEL=58]="LABEL",Ra[Ra.LI=59]="LI",Ra[Ra.LINK=60]="LINK",Ra[Ra.LISTING=61]="LISTING",Ra[Ra.MAIN=62]="MAIN",Ra[Ra.MALIGNMARK=63]="MALIGNMARK",Ra[Ra.MARQUEE=64]="MARQUEE",Ra[Ra.MATH=65]="MATH",Ra[Ra.MENU=66]="MENU",Ra[Ra.META=67]="META",Ra[Ra.MGLYPH=68]="MGLYPH",Ra[Ra.MI=69]="MI",Ra[Ra.MO=70]="MO",Ra[Ra.MN=71]="MN",Ra[Ra.MS=72]="MS",Ra[Ra.MTEXT=73]="MTEXT",Ra[Ra.NAV=74]="NAV",Ra[Ra.NOBR=75]="NOBR",Ra[Ra.NOFRAMES=76]="NOFRAMES",Ra[Ra.NOEMBED=77]="NOEMBED",Ra[Ra.NOSCRIPT=78]="NOSCRIPT",Ra[Ra.OBJECT=79]="OBJECT",Ra[Ra.OL=80]="OL",Ra[Ra.OPTGROUP=81]="OPTGROUP",Ra[Ra.OPTION=82]="OPTION",Ra[Ra.P=83]="P",Ra[Ra.PARAM=84]="PARAM",Ra[Ra.PLAINTEXT=85]="PLAINTEXT",Ra[Ra.PRE=86]="PRE",Ra[Ra.RB=87]="RB",Ra[Ra.RP=88]="RP",Ra[Ra.RT=89]="RT",Ra[Ra.RTC=90]="RTC",Ra[Ra.RUBY=91]="RUBY",Ra[Ra.S=92]="S",Ra[Ra.SCRIPT=93]="SCRIPT",Ra[Ra.SEARCH=94]="SEARCH",Ra[Ra.SECTION=95]="SECTION",Ra[Ra.SELECT=96]="SELECT",Ra[Ra.SOURCE=97]="SOURCE",Ra[Ra.SMALL=98]="SMALL",Ra[Ra.SPAN=99]="SPAN",Ra[Ra.STRIKE=100]="STRIKE",Ra[Ra.STRONG=101]="STRONG",Ra[Ra.STYLE=102]="STYLE",Ra[Ra.SUB=103]="SUB",Ra[Ra.SUMMARY=104]="SUMMARY",Ra[Ra.SUP=105]="SUP",Ra[Ra.TABLE=106]="TABLE",Ra[Ra.TBODY=107]="TBODY",Ra[Ra.TEMPLATE=108]="TEMPLATE",Ra[Ra.TEXTAREA=109]="TEXTAREA",Ra[Ra.TFOOT=110]="TFOOT",Ra[Ra.TD=111]="TD",Ra[Ra.TH=112]="TH",Ra[Ra.THEAD=113]="THEAD",Ra[Ra.TITLE=114]="TITLE",Ra[Ra.TR=115]="TR",Ra[Ra.TRACK=116]="TRACK",Ra[Ra.TT=117]="TT",Ra[Ra.U=118]="U",Ra[Ra.UL=119]="UL",Ra[Ra.SVG=120]="SVG",Ra[Ra.VAR=121]="VAR",Ra[Ra.WBR=122]="WBR",Ra[Ra.XMP=123]="XMP"})(TAG_ID||(TAG_ID={}));const TAG_NAME_TO_ID=new Map([[TAG_NAMES.A,TAG_ID.A],[TAG_NAMES.ADDRESS,TAG_ID.ADDRESS],[TAG_NAMES.ANNOTATION_XML,TAG_ID.ANNOTATION_XML],[TAG_NAMES.APPLET,TAG_ID.APPLET],[TAG_NAMES.AREA,TAG_ID.AREA],[TAG_NAMES.ARTICLE,TAG_ID.ARTICLE],[TAG_NAMES.ASIDE,TAG_ID.ASIDE],[TAG_NAMES.B,TAG_ID.B],[TAG_NAMES.BASE,TAG_ID.BASE],[TAG_NAMES.BASEFONT,TAG_ID.BASEFONT],[TAG_NAMES.BGSOUND,TAG_ID.BGSOUND],[TAG_NAMES.BIG,TAG_ID.BIG],[TAG_NAMES.BLOCKQUOTE,TAG_ID.BLOCKQUOTE],[TAG_NAMES.BODY,TAG_ID.BODY],[TAG_NAMES.BR,TAG_ID.BR],[TAG_NAMES.BUTTON,TAG_ID.BUTTON],[TAG_NAMES.CAPTION,TAG_ID.CAPTION],[TAG_NAMES.CENTER,TAG_ID.CENTER],[TAG_NAMES.CODE,TAG_ID.CODE],[TAG_NAMES.COL,TAG_ID.COL],[TAG_NAMES.COLGROUP,TAG_ID.COLGROUP],[TAG_NAMES.DD,TAG_ID.DD],[TAG_NAMES.DESC,TAG_ID.DESC],[TAG_NAMES.DETAILS,TAG_ID.DETAILS],[TAG_NAMES.DIALOG,TAG_ID.DIALOG],[TAG_NAMES.DIR,TAG_ID.DIR],[TAG_NAMES.DIV,TAG_ID.DIV],[TAG_NAMES.DL,TAG_ID.DL],[TAG_NAMES.DT,TAG_ID.DT],[TAG_NAMES.EM,TAG_ID.EM],[TAG_NAMES.EMBED,TAG_ID.EMBED],[TAG_NAMES.FIELDSET,TAG_ID.FIELDSET],[TAG_NAMES.FIGCAPTION,TAG_ID.FIGCAPTION],[TAG_NAMES.FIGURE,TAG_ID.FIGURE],[TAG_NAMES.FONT,TAG_ID.FONT],[TAG_NAMES.FOOTER,TAG_ID.FOOTER],[TAG_NAMES.FOREIGN_OBJECT,TAG_ID.FOREIGN_OBJECT],[TAG_NAMES.FORM,TAG_ID.FORM],[TAG_NAMES.FRAME,TAG_ID.FRAME],[TAG_NAMES.FRAMESET,TAG_ID.FRAMESET],[TAG_NAMES.H1,TAG_ID.H1],[TAG_NAMES.H2,TAG_ID.H2],[TAG_NAMES.H3,TAG_ID.H3],[TAG_NAMES.H4,TAG_ID.H4],[TAG_NAMES.H5,TAG_ID.H5],[TAG_NAMES.H6,TAG_ID.H6],[TAG_NAMES.HEAD,TAG_ID.HEAD],[TAG_NAMES.HEADER,TAG_ID.HEADER],[TAG_NAMES.HGROUP,TAG_ID.HGROUP],[TAG_NAMES.HR,TAG_ID.HR],[TAG_NAMES.HTML,TAG_ID.HTML],[TAG_NAMES.I,TAG_ID.I],[TAG_NAMES.IMG,TAG_ID.IMG],[TAG_NAMES.IMAGE,TAG_ID.IMAGE],[TAG_NAMES.INPUT,TAG_ID.INPUT],[TAG_NAMES.IFRAME,TAG_ID.IFRAME],[TAG_NAMES.KEYGEN,TAG_ID.KEYGEN],[TAG_NAMES.LABEL,TAG_ID.LABEL],[TAG_NAMES.LI,TAG_ID.LI],[TAG_NAMES.LINK,TAG_ID.LINK],[TAG_NAMES.LISTING,TAG_ID.LISTING],[TAG_NAMES.MAIN,TAG_ID.MAIN],[TAG_NAMES.MALIGNMARK,TAG_ID.MALIGNMARK],[TAG_NAMES.MARQUEE,TAG_ID.MARQUEE],[TAG_NAMES.MATH,TAG_ID.MATH],[TAG_NAMES.MENU,TAG_ID.MENU],[TAG_NAMES.META,TAG_ID.META],[TAG_NAMES.MGLYPH,TAG_ID.MGLYPH],[TAG_NAMES.MI,TAG_ID.MI],[TAG_NAMES.MO,TAG_ID.MO],[TAG_NAMES.MN,TAG_ID.MN],[TAG_NAMES.MS,TAG_ID.MS],[TAG_NAMES.MTEXT,TAG_ID.MTEXT],[TAG_NAMES.NAV,TAG_ID.NAV],[TAG_NAMES.NOBR,TAG_ID.NOBR],[TAG_NAMES.NOFRAMES,TAG_ID.NOFRAMES],[TAG_NAMES.NOEMBED,TAG_ID.NOEMBED],[TAG_NAMES.NOSCRIPT,TAG_ID.NOSCRIPT],[TAG_NAMES.OBJECT,TAG_ID.OBJECT],[TAG_NAMES.OL,TAG_ID.OL],[TAG_NAMES.OPTGROUP,TAG_ID.OPTGROUP],[TAG_NAMES.OPTION,TAG_ID.OPTION],[TAG_NAMES.P,TAG_ID.P],[TAG_NAMES.PARAM,TAG_ID.PARAM],[TAG_NAMES.PLAINTEXT,TAG_ID.PLAINTEXT],[TAG_NAMES.PRE,TAG_ID.PRE],[TAG_NAMES.RB,TAG_ID.RB],[TAG_NAMES.RP,TAG_ID.RP],[TAG_NAMES.RT,TAG_ID.RT],[TAG_NAMES.RTC,TAG_ID.RTC],[TAG_NAMES.RUBY,TAG_ID.RUBY],[TAG_NAMES.S,TAG_ID.S],[TAG_NAMES.SCRIPT,TAG_ID.SCRIPT],[TAG_NAMES.SEARCH,TAG_ID.SEARCH],[TAG_NAMES.SECTION,TAG_ID.SECTION],[TAG_NAMES.SELECT,TAG_ID.SELECT],[TAG_NAMES.SOURCE,TAG_ID.SOURCE],[TAG_NAMES.SMALL,TAG_ID.SMALL],[TAG_NAMES.SPAN,TAG_ID.SPAN],[TAG_NAMES.STRIKE,TAG_ID.STRIKE],[TAG_NAMES.STRONG,TAG_ID.STRONG],[TAG_NAMES.STYLE,TAG_ID.STYLE],[TAG_NAMES.SUB,TAG_ID.SUB],[TAG_NAMES.SUMMARY,TAG_ID.SUMMARY],[TAG_NAMES.SUP,TAG_ID.SUP],[TAG_NAMES.TABLE,TAG_ID.TABLE],[TAG_NAMES.TBODY,TAG_ID.TBODY],[TAG_NAMES.TEMPLATE,TAG_ID.TEMPLATE],[TAG_NAMES.TEXTAREA,TAG_ID.TEXTAREA],[TAG_NAMES.TFOOT,TAG_ID.TFOOT],[TAG_NAMES.TD,TAG_ID.TD],[TAG_NAMES.TH,TAG_ID.TH],[TAG_NAMES.THEAD,TAG_ID.THEAD],[TAG_NAMES.TITLE,TAG_ID.TITLE],[TAG_NAMES.TR,TAG_ID.TR],[TAG_NAMES.TRACK,TAG_ID.TRACK],[TAG_NAMES.TT,TAG_ID.TT],[TAG_NAMES.U,TAG_ID.U],[TAG_NAMES.UL,TAG_ID.UL],[TAG_NAMES.SVG,TAG_ID.SVG],[TAG_NAMES.VAR,TAG_ID.VAR],[TAG_NAMES.WBR,TAG_ID.WBR],[TAG_NAMES.XMP,TAG_ID.XMP]]);function getTagID(Ra){var qa;return(qa=TAG_NAME_TO_ID.get(Ra))!==null&&qa!==void 0?qa:TAG_ID.UNKNOWN}const $$4=TAG_ID,SPECIAL_ELEMENTS={[NS.HTML]:new Set([$$4.ADDRESS,$$4.APPLET,$$4.AREA,$$4.ARTICLE,$$4.ASIDE,$$4.BASE,$$4.BASEFONT,$$4.BGSOUND,$$4.BLOCKQUOTE,$$4.BODY,$$4.BR,$$4.BUTTON,$$4.CAPTION,$$4.CENTER,$$4.COL,$$4.COLGROUP,$$4.DD,$$4.DETAILS,$$4.DIR,$$4.DIV,$$4.DL,$$4.DT,$$4.EMBED,$$4.FIELDSET,$$4.FIGCAPTION,$$4.FIGURE,$$4.FOOTER,$$4.FORM,$$4.FRAME,$$4.FRAMESET,$$4.H1,$$4.H2,$$4.H3,$$4.H4,$$4.H5,$$4.H6,$$4.HEAD,$$4.HEADER,$$4.HGROUP,$$4.HR,$$4.HTML,$$4.IFRAME,$$4.IMG,$$4.INPUT,$$4.LI,$$4.LINK,$$4.LISTING,$$4.MAIN,$$4.MARQUEE,$$4.MENU,$$4.META,$$4.NAV,$$4.NOEMBED,$$4.NOFRAMES,$$4.NOSCRIPT,$$4.OBJECT,$$4.OL,$$4.P,$$4.PARAM,$$4.PLAINTEXT,$$4.PRE,$$4.SCRIPT,$$4.SECTION,$$4.SELECT,$$4.SOURCE,$$4.STYLE,$$4.SUMMARY,$$4.TABLE,$$4.TBODY,$$4.TD,$$4.TEMPLATE,$$4.TEXTAREA,$$4.TFOOT,$$4.TH,$$4.THEAD,$$4.TITLE,$$4.TR,$$4.TRACK,$$4.UL,$$4.WBR,$$4.XMP]),[NS.MATHML]:new Set([$$4.MI,$$4.MO,$$4.MN,$$4.MS,$$4.MTEXT,$$4.ANNOTATION_XML]),[NS.SVG]:new Set([$$4.TITLE,$$4.FOREIGN_OBJECT,$$4.DESC]),[NS.XLINK]:new Set,[NS.XML]:new Set,[NS.XMLNS]:new Set},NUMBERED_HEADERS=new Set([$$4.H1,$$4.H2,$$4.H3,$$4.H4,$$4.H5,$$4.H6]),UNESCAPED_TEXT=new Set([TAG_NAMES.STYLE,TAG_NAMES.SCRIPT,TAG_NAMES.XMP,TAG_NAMES.IFRAME,TAG_NAMES.NOEMBED,TAG_NAMES.NOFRAMES,TAG_NAMES.PLAINTEXT]);function hasUnescapedText(Ra,qa){return UNESCAPED_TEXT.has(Ra)||qa&&Ra===TAG_NAMES.NOSCRIPT}var State$5;(function(Ra){Ra[Ra.DATA=0]="DATA",Ra[Ra.RCDATA=1]="RCDATA",Ra[Ra.RAWTEXT=2]="RAWTEXT",Ra[Ra.SCRIPT_DATA=3]="SCRIPT_DATA",Ra[Ra.PLAINTEXT=4]="PLAINTEXT",Ra[Ra.TAG_OPEN=5]="TAG_OPEN",Ra[Ra.END_TAG_OPEN=6]="END_TAG_OPEN",Ra[Ra.TAG_NAME=7]="TAG_NAME",Ra[Ra.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",Ra[Ra.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",Ra[Ra.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",Ra[Ra.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",Ra[Ra.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",Ra[Ra.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",Ra[Ra.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",Ra[Ra.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",Ra[Ra.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",Ra[Ra.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",Ra[Ra.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",Ra[Ra.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",Ra[Ra.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",Ra[Ra.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",Ra[Ra.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",Ra[Ra.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",Ra[Ra.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",Ra[Ra.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",Ra[Ra.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",Ra[Ra.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",Ra[Ra.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",Ra[Ra.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",Ra[Ra.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",Ra[Ra.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",Ra[Ra.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",Ra[Ra.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",Ra[Ra.BOGUS_COMMENT=40]="BOGUS_COMMENT",Ra[Ra.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",Ra[Ra.COMMENT_START=42]="COMMENT_START",Ra[Ra.COMMENT_START_DASH=43]="COMMENT_START_DASH",Ra[Ra.COMMENT=44]="COMMENT",Ra[Ra.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",Ra[Ra.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",Ra[Ra.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",Ra[Ra.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",Ra[Ra.COMMENT_END_DASH=49]="COMMENT_END_DASH",Ra[Ra.COMMENT_END=50]="COMMENT_END",Ra[Ra.COMMENT_END_BANG=51]="COMMENT_END_BANG",Ra[Ra.DOCTYPE=52]="DOCTYPE",Ra[Ra.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",Ra[Ra.DOCTYPE_NAME=54]="DOCTYPE_NAME",Ra[Ra.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",Ra[Ra.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",Ra[Ra.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",Ra[Ra.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",Ra[Ra.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",Ra[Ra.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",Ra[Ra.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",Ra[Ra.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",Ra[Ra.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",Ra[Ra.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",Ra[Ra.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",Ra[Ra.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",Ra[Ra.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",Ra[Ra.CDATA_SECTION=68]="CDATA_SECTION",Ra[Ra.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",Ra[Ra.CDATA_SECTION_END=70]="CDATA_SECTION_END",Ra[Ra.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",Ra[Ra.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(State$5||(State$5={}));const TokenizerMode={DATA:State$5.DATA,RCDATA:State$5.RCDATA,RAWTEXT:State$5.RAWTEXT,SCRIPT_DATA:State$5.SCRIPT_DATA,PLAINTEXT:State$5.PLAINTEXT,CDATA_SECTION:State$5.CDATA_SECTION};function isAsciiDigit(Ra){return Ra>=CODE_POINTS.DIGIT_0&&Ra<=CODE_POINTS.DIGIT_9}function isAsciiUpper(Ra){return Ra>=CODE_POINTS.LATIN_CAPITAL_A&&Ra<=CODE_POINTS.LATIN_CAPITAL_Z}function isAsciiLower(Ra){return Ra>=CODE_POINTS.LATIN_SMALL_A&&Ra<=CODE_POINTS.LATIN_SMALL_Z}function isAsciiLetter(Ra){return isAsciiLower(Ra)||isAsciiUpper(Ra)}function isAsciiAlphaNumeric(Ra){return isAsciiLetter(Ra)||isAsciiDigit(Ra)}function toAsciiLower(Ra){return Ra+32}function isWhitespace$3(Ra){return Ra===CODE_POINTS.SPACE||Ra===CODE_POINTS.LINE_FEED||Ra===CODE_POINTS.TABULATION||Ra===CODE_POINTS.FORM_FEED}function isScriptDataDoubleEscapeSequenceEnd(Ra){return isWhitespace$3(Ra)||Ra===CODE_POINTS.SOLIDUS||Ra===CODE_POINTS.GREATER_THAN_SIGN}function getErrorForNumericCharacterReference(Ra){return Ra===CODE_POINTS.NULL?ERR.nullCharacterReference:Ra>1114111?ERR.characterReferenceOutsideUnicodeRange:isSurrogate(Ra)?ERR.surrogateCharacterReference:isUndefinedCodePoint(Ra)?ERR.noncharacterCharacterReference:isControlCodePoint(Ra)||Ra===CODE_POINTS.CARRIAGE_RETURN?ERR.controlCharacterReference:null}let Tokenizer$1=class{constructor(qa,nd){this.options=qa,this.handler=nd,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=State$5.DATA,this.returnState=State$5.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Preprocessor(nd),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new EntityDecoder(htmlDecodeTree,(od,ld)=>{this.preprocessor.pos=this.entityStartPos+ld-1,this._flushCodePointConsumedAsCharacterReference(od)},nd.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(ERR.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:od=>{this._err(ERR.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+od)},validateNumericCharacterReference:od=>{const ld=getErrorForNumericCharacterReference(od);ld&&this._err(ld,1)}}:void 0)}_err(qa,nd=0){var od,ld;(ld=(od=this.handler).onParseError)===null||ld===void 0||ld.call(od,this.preprocessor.getError(qa,nd))}getCurrentLocation(qa){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-qa,startOffset:this.preprocessor.offset-qa,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const qa=this._consume();this._ensureHibernation()||this._callState(qa)}this.inLoop=!1}}pause(){this.paused=!0}resume(qa){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||qa==null||qa())}write(qa,nd,od){this.active=!0,this.preprocessor.write(qa,nd),this._runParsingLoop(),this.paused||od==null||od()}insertHtmlAtCurrentPos(qa){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(qa),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(qa){this.consumedAfterSnapshot+=qa;for(let nd=0;nd<qa;nd++)this.preprocessor.advance()}_consumeSequenceIfMatch(qa,nd){return this.preprocessor.startsWith(qa,nd)?(this._advanceBy(qa.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:TokenType.START_TAG,tagName:"",tagID:TAG_ID.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:TokenType.END_TAG,tagName:"",tagID:TAG_ID.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(qa){this.currentToken={type:TokenType.COMMENT,data:"",location:this.getCurrentLocation(qa)}}_createDoctypeToken(qa){this.currentToken={type:TokenType.DOCTYPE,name:qa,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(qa,nd){this.currentCharacterToken={type:qa,chars:nd,location:this.currentLocation}}_createAttr(qa){this.currentAttr={name:qa,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var qa,nd;const od=this.currentToken;if(getTokenAttr(od,this.currentAttr.name)===null){if(od.attrs.push(this.currentAttr),od.location&&this.currentLocation){const ld=(qa=(nd=od.location).attrs)!==null&&qa!==void 0?qa:nd.attrs=Object.create(null);ld[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(ERR.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(qa){this._emitCurrentCharacterToken(qa.location),this.currentToken=null,qa.location&&(qa.location.endLine=this.preprocessor.line,qa.location.endCol=this.preprocessor.col+1,qa.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const qa=this.currentToken;this.prepareToken(qa),qa.tagID=getTagID(qa.tagName),qa.type===TokenType.START_TAG?(this.lastStartTagName=qa.tagName,this.handler.onStartTag(qa)):(qa.attrs.length>0&&this._err(ERR.endTagWithAttributes),qa.selfClosing&&this._err(ERR.endTagWithTrailingSolidus),this.handler.onEndTag(qa)),this.preprocessor.dropParsedChunk()}emitCurrentComment(qa){this.prepareToken(qa),this.handler.onComment(qa),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(qa){this.prepareToken(qa),this.handler.onDoctype(qa),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(qa){if(this.currentCharacterToken){switch(qa&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=qa.startLine,this.currentCharacterToken.location.endCol=qa.startCol,this.currentCharacterToken.location.endOffset=qa.startOffset),this.currentCharacterToken.type){case TokenType.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case TokenType.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case TokenType.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const qa=this.getCurrentLocation(0);qa&&(qa.endLine=qa.startLine,qa.endCol=qa.startCol,qa.endOffset=qa.startOffset),this._emitCurrentCharacterToken(qa),this.handler.onEof({type:TokenType.EOF,location:qa}),this.active=!1}_appendCharToCurrentCharacterToken(qa,nd){if(this.currentCharacterToken)if(this.currentCharacterToken.type===qa){this.currentCharacterToken.chars+=nd;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(qa,nd)}_emitCodePoint(qa){const nd=isWhitespace$3(qa)?TokenType.WHITESPACE_CHARACTER:qa===CODE_POINTS.NULL?TokenType.NULL_CHARACTER:TokenType.CHARACTER;this._appendCharToCurrentCharacterToken(nd,String.fromCodePoint(qa))}_emitChars(qa){this._appendCharToCurrentCharacterToken(TokenType.CHARACTER,qa)}_startCharacterReference(){this.returnState=this.state,this.state=State$5.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?DecodingMode.Attribute:DecodingMode.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===State$5.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===State$5.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===State$5.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(qa){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(qa):this._emitCodePoint(qa)}_callState(qa){switch(this.state){case State$5.DATA:{this._stateData(qa);break}case State$5.RCDATA:{this._stateRcdata(qa);break}case State$5.RAWTEXT:{this._stateRawtext(qa);break}case State$5.SCRIPT_DATA:{this._stateScriptData(qa);break}case State$5.PLAINTEXT:{this._statePlaintext(qa);break}case State$5.TAG_OPEN:{this._stateTagOpen(qa);break}case State$5.END_TAG_OPEN:{this._stateEndTagOpen(qa);break}case State$5.TAG_NAME:{this._stateTagName(qa);break}case State$5.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(qa);break}case State$5.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(qa);break}case State$5.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(qa);break}case State$5.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(qa);break}case State$5.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(qa);break}case State$5.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(qa);break}case State$5.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(qa);break}case State$5.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(qa);break}case State$5.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(qa);break}case State$5.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(qa);break}case State$5.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(qa);break}case State$5.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(qa);break}case State$5.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(qa);break}case State$5.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(qa);break}case State$5.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(qa);break}case State$5.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(qa);break}case State$5.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(qa);break}case State$5.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(qa);break}case State$5.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(qa);break}case State$5.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(qa);break}case State$5.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(qa);break}case State$5.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(qa);break}case State$5.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(qa);break}case State$5.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(qa);break}case State$5.ATTRIBUTE_NAME:{this._stateAttributeName(qa);break}case State$5.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(qa);break}case State$5.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(qa);break}case State$5.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(qa);break}case State$5.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(qa);break}case State$5.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(qa);break}case State$5.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(qa);break}case State$5.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(qa);break}case State$5.BOGUS_COMMENT:{this._stateBogusComment(qa);break}case State$5.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(qa);break}case State$5.COMMENT_START:{this._stateCommentStart(qa);break}case State$5.COMMENT_START_DASH:{this._stateCommentStartDash(qa);break}case State$5.COMMENT:{this._stateComment(qa);break}case State$5.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(qa);break}case State$5.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(qa);break}case State$5.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(qa);break}case State$5.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(qa);break}case State$5.COMMENT_END_DASH:{this._stateCommentEndDash(qa);break}case State$5.COMMENT_END:{this._stateCommentEnd(qa);break}case State$5.COMMENT_END_BANG:{this._stateCommentEndBang(qa);break}case State$5.DOCTYPE:{this._stateDoctype(qa);break}case State$5.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(qa);break}case State$5.DOCTYPE_NAME:{this._stateDoctypeName(qa);break}case State$5.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(qa);break}case State$5.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(qa);break}case State$5.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(qa);break}case State$5.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(qa);break}case State$5.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(qa);break}case State$5.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(qa);break}case State$5.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(qa);break}case State$5.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(qa);break}case State$5.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(qa);break}case State$5.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(qa);break}case State$5.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(qa);break}case State$5.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(qa);break}case State$5.BOGUS_DOCTYPE:{this._stateBogusDoctype(qa);break}case State$5.CDATA_SECTION:{this._stateCdataSection(qa);break}case State$5.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(qa);break}case State$5.CDATA_SECTION_END:{this._stateCdataSectionEnd(qa);break}case State$5.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case State$5.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(qa);break}default:throw new Error("Unknown state")}}_stateData(qa){switch(qa){case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$5.TAG_OPEN;break}case CODE_POINTS.AMPERSAND:{this._startCharacterReference();break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitCodePoint(qa);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateRcdata(qa){switch(qa){case CODE_POINTS.AMPERSAND:{this._startCharacterReference();break}case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$5.RCDATA_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateRawtext(qa){switch(qa){case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$5.RAWTEXT_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateScriptData(qa){switch(qa){case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$5.SCRIPT_DATA_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_statePlaintext(qa){switch(qa){case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateTagOpen(qa){if(isAsciiLetter(qa))this._createStartTagToken(),this.state=State$5.TAG_NAME,this._stateTagName(qa);else switch(qa){case CODE_POINTS.EXCLAMATION_MARK:{this.state=State$5.MARKUP_DECLARATION_OPEN;break}case CODE_POINTS.SOLIDUS:{this.state=State$5.END_TAG_OPEN;break}case CODE_POINTS.QUESTION_MARK:{this._err(ERR.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=State$5.BOGUS_COMMENT,this._stateBogusComment(qa);break}case CODE_POINTS.EOF:{this._err(ERR.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(ERR.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=State$5.DATA,this._stateData(qa)}}_stateEndTagOpen(qa){if(isAsciiLetter(qa))this._createEndTagToken(),this.state=State$5.TAG_NAME,this._stateTagName(qa);else switch(qa){case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.missingEndTagName),this.state=State$5.DATA;break}case CODE_POINTS.EOF:{this._err(ERR.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(ERR.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=State$5.BOGUS_COMMENT,this._stateBogusComment(qa)}}_stateTagName(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:{this.state=State$5.BEFORE_ATTRIBUTE_NAME;break}case CODE_POINTS.SOLIDUS:{this.state=State$5.SELF_CLOSING_START_TAG;break}case CODE_POINTS.GREATER_THAN_SIGN:{this.state=State$5.DATA,this.emitCurrentTagToken();break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),nd.tagName+=REPLACEMENT_CHARACTER;break}case CODE_POINTS.EOF:{this._err(ERR.eofInTag),this._emitEOFToken();break}default:nd.tagName+=String.fromCodePoint(isAsciiUpper(qa)?toAsciiLower(qa):qa)}}_stateRcdataLessThanSign(qa){qa===CODE_POINTS.SOLIDUS?this.state=State$5.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=State$5.RCDATA,this._stateRcdata(qa))}_stateRcdataEndTagOpen(qa){isAsciiLetter(qa)?(this.state=State$5.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(qa)):(this._emitChars("</"),this.state=State$5.RCDATA,this._stateRcdata(qa))}handleSpecialEndTag(qa){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const nd=this.currentToken;switch(nd.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=State$5.BEFORE_ATTRIBUTE_NAME,!1;case CODE_POINTS.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=State$5.SELF_CLOSING_START_TAG,!1;case CODE_POINTS.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=State$5.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(qa){this.handleSpecialEndTag(qa)&&(this._emitChars("</"),this.state=State$5.RCDATA,this._stateRcdata(qa))}_stateRawtextLessThanSign(qa){qa===CODE_POINTS.SOLIDUS?this.state=State$5.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=State$5.RAWTEXT,this._stateRawtext(qa))}_stateRawtextEndTagOpen(qa){isAsciiLetter(qa)?(this.state=State$5.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(qa)):(this._emitChars("</"),this.state=State$5.RAWTEXT,this._stateRawtext(qa))}_stateRawtextEndTagName(qa){this.handleSpecialEndTag(qa)&&(this._emitChars("</"),this.state=State$5.RAWTEXT,this._stateRawtext(qa))}_stateScriptDataLessThanSign(qa){switch(qa){case CODE_POINTS.SOLIDUS:{this.state=State$5.SCRIPT_DATA_END_TAG_OPEN;break}case CODE_POINTS.EXCLAMATION_MARK:{this.state=State$5.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=State$5.SCRIPT_DATA,this._stateScriptData(qa)}}_stateScriptDataEndTagOpen(qa){isAsciiLetter(qa)?(this.state=State$5.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(qa)):(this._emitChars("</"),this.state=State$5.SCRIPT_DATA,this._stateScriptData(qa))}_stateScriptDataEndTagName(qa){this.handleSpecialEndTag(qa)&&(this._emitChars("</"),this.state=State$5.SCRIPT_DATA,this._stateScriptData(qa))}_stateScriptDataEscapeStart(qa){qa===CODE_POINTS.HYPHEN_MINUS?(this.state=State$5.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=State$5.SCRIPT_DATA,this._stateScriptData(qa))}_stateScriptDataEscapeStartDash(qa){qa===CODE_POINTS.HYPHEN_MINUS?(this.state=State$5.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=State$5.SCRIPT_DATA,this._stateScriptData(qa))}_stateScriptDataEscaped(qa){switch(qa){case CODE_POINTS.HYPHEN_MINUS:{this.state=State$5.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$5.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateScriptDataEscapedDash(qa){switch(qa){case CODE_POINTS.HYPHEN_MINUS:{this.state=State$5.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$5.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this.state=State$5.SCRIPT_DATA_ESCAPED,this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=State$5.SCRIPT_DATA_ESCAPED,this._emitCodePoint(qa)}}_stateScriptDataEscapedDashDash(qa){switch(qa){case CODE_POINTS.HYPHEN_MINUS:{this._emitChars("-");break}case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$5.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case CODE_POINTS.GREATER_THAN_SIGN:{this.state=State$5.SCRIPT_DATA,this._emitChars(">");break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this.state=State$5.SCRIPT_DATA_ESCAPED,this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=State$5.SCRIPT_DATA_ESCAPED,this._emitCodePoint(qa)}}_stateScriptDataEscapedLessThanSign(qa){qa===CODE_POINTS.SOLIDUS?this.state=State$5.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:isAsciiLetter(qa)?(this._emitChars("<"),this.state=State$5.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(qa)):(this._emitChars("<"),this.state=State$5.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(qa))}_stateScriptDataEscapedEndTagOpen(qa){isAsciiLetter(qa)?(this.state=State$5.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(qa)):(this._emitChars("</"),this.state=State$5.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(qa))}_stateScriptDataEscapedEndTagName(qa){this.handleSpecialEndTag(qa)&&(this._emitChars("</"),this.state=State$5.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(qa))}_stateScriptDataDoubleEscapeStart(qa){if(this.preprocessor.startsWith(SEQUENCES.SCRIPT,!1)&&isScriptDataDoubleEscapeSequenceEnd(this.preprocessor.peek(SEQUENCES.SCRIPT.length))){this._emitCodePoint(qa);for(let nd=0;nd<SEQUENCES.SCRIPT.length;nd++)this._emitCodePoint(this._consume());this.state=State$5.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=State$5.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(qa))}_stateScriptDataDoubleEscaped(qa){switch(qa){case CODE_POINTS.HYPHEN_MINUS:{this.state=State$5.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$5.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateScriptDataDoubleEscapedDash(qa){switch(qa){case CODE_POINTS.HYPHEN_MINUS:{this.state=State$5.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$5.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this.state=State$5.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=State$5.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(qa)}}_stateScriptDataDoubleEscapedDashDash(qa){switch(qa){case CODE_POINTS.HYPHEN_MINUS:{this._emitChars("-");break}case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$5.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case CODE_POINTS.GREATER_THAN_SIGN:{this.state=State$5.SCRIPT_DATA,this._emitChars(">");break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this.state=State$5.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=State$5.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(qa)}}_stateScriptDataDoubleEscapedLessThanSign(qa){qa===CODE_POINTS.SOLIDUS?(this.state=State$5.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=State$5.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(qa))}_stateScriptDataDoubleEscapeEnd(qa){if(this.preprocessor.startsWith(SEQUENCES.SCRIPT,!1)&&isScriptDataDoubleEscapeSequenceEnd(this.preprocessor.peek(SEQUENCES.SCRIPT.length))){this._emitCodePoint(qa);for(let nd=0;nd<SEQUENCES.SCRIPT.length;nd++)this._emitCodePoint(this._consume());this.state=State$5.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=State$5.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(qa))}_stateBeforeAttributeName(qa){switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:break;case CODE_POINTS.SOLIDUS:case CODE_POINTS.GREATER_THAN_SIGN:case CODE_POINTS.EOF:{this.state=State$5.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(qa);break}case CODE_POINTS.EQUALS_SIGN:{this._err(ERR.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=State$5.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=State$5.ATTRIBUTE_NAME,this._stateAttributeName(qa)}}_stateAttributeName(qa){switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:case CODE_POINTS.SOLIDUS:case CODE_POINTS.GREATER_THAN_SIGN:case CODE_POINTS.EOF:{this._leaveAttrName(),this.state=State$5.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(qa);break}case CODE_POINTS.EQUALS_SIGN:{this._leaveAttrName(),this.state=State$5.BEFORE_ATTRIBUTE_VALUE;break}case CODE_POINTS.QUOTATION_MARK:case CODE_POINTS.APOSTROPHE:case CODE_POINTS.LESS_THAN_SIGN:{this._err(ERR.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(qa);break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this.currentAttr.name+=REPLACEMENT_CHARACTER;break}default:this.currentAttr.name+=String.fromCodePoint(isAsciiUpper(qa)?toAsciiLower(qa):qa)}}_stateAfterAttributeName(qa){switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:break;case CODE_POINTS.SOLIDUS:{this.state=State$5.SELF_CLOSING_START_TAG;break}case CODE_POINTS.EQUALS_SIGN:{this.state=State$5.BEFORE_ATTRIBUTE_VALUE;break}case CODE_POINTS.GREATER_THAN_SIGN:{this.state=State$5.DATA,this.emitCurrentTagToken();break}case CODE_POINTS.EOF:{this._err(ERR.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=State$5.ATTRIBUTE_NAME,this._stateAttributeName(qa)}}_stateBeforeAttributeValue(qa){switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:break;case CODE_POINTS.QUOTATION_MARK:{this.state=State$5.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case CODE_POINTS.APOSTROPHE:{this.state=State$5.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.missingAttributeValue),this.state=State$5.DATA,this.emitCurrentTagToken();break}default:this.state=State$5.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(qa)}}_stateAttributeValueDoubleQuoted(qa){switch(qa){case CODE_POINTS.QUOTATION_MARK:{this.state=State$5.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case CODE_POINTS.AMPERSAND:{this._startCharacterReference();break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this.currentAttr.value+=REPLACEMENT_CHARACTER;break}case CODE_POINTS.EOF:{this._err(ERR.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(qa)}}_stateAttributeValueSingleQuoted(qa){switch(qa){case CODE_POINTS.APOSTROPHE:{this.state=State$5.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case CODE_POINTS.AMPERSAND:{this._startCharacterReference();break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this.currentAttr.value+=REPLACEMENT_CHARACTER;break}case CODE_POINTS.EOF:{this._err(ERR.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(qa)}}_stateAttributeValueUnquoted(qa){switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:{this._leaveAttrValue(),this.state=State$5.BEFORE_ATTRIBUTE_NAME;break}case CODE_POINTS.AMPERSAND:{this._startCharacterReference();break}case CODE_POINTS.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=State$5.DATA,this.emitCurrentTagToken();break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this.currentAttr.value+=REPLACEMENT_CHARACTER;break}case CODE_POINTS.QUOTATION_MARK:case CODE_POINTS.APOSTROPHE:case CODE_POINTS.LESS_THAN_SIGN:case CODE_POINTS.EQUALS_SIGN:case CODE_POINTS.GRAVE_ACCENT:{this._err(ERR.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(qa);break}case CODE_POINTS.EOF:{this._err(ERR.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(qa)}}_stateAfterAttributeValueQuoted(qa){switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:{this._leaveAttrValue(),this.state=State$5.BEFORE_ATTRIBUTE_NAME;break}case CODE_POINTS.SOLIDUS:{this._leaveAttrValue(),this.state=State$5.SELF_CLOSING_START_TAG;break}case CODE_POINTS.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=State$5.DATA,this.emitCurrentTagToken();break}case CODE_POINTS.EOF:{this._err(ERR.eofInTag),this._emitEOFToken();break}default:this._err(ERR.missingWhitespaceBetweenAttributes),this.state=State$5.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(qa)}}_stateSelfClosingStartTag(qa){switch(qa){case CODE_POINTS.GREATER_THAN_SIGN:{const nd=this.currentToken;nd.selfClosing=!0,this.state=State$5.DATA,this.emitCurrentTagToken();break}case CODE_POINTS.EOF:{this._err(ERR.eofInTag),this._emitEOFToken();break}default:this._err(ERR.unexpectedSolidusInTag),this.state=State$5.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(qa)}}_stateBogusComment(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.GREATER_THAN_SIGN:{this.state=State$5.DATA,this.emitCurrentComment(nd);break}case CODE_POINTS.EOF:{this.emitCurrentComment(nd),this._emitEOFToken();break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),nd.data+=REPLACEMENT_CHARACTER;break}default:nd.data+=String.fromCodePoint(qa)}}_stateMarkupDeclarationOpen(qa){this._consumeSequenceIfMatch(SEQUENCES.DASH_DASH,!0)?(this._createCommentToken(SEQUENCES.DASH_DASH.length+1),this.state=State$5.COMMENT_START):this._consumeSequenceIfMatch(SEQUENCES.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(SEQUENCES.DOCTYPE.length+1),this.state=State$5.DOCTYPE):this._consumeSequenceIfMatch(SEQUENCES.CDATA_START,!0)?this.inForeignNode?this.state=State$5.CDATA_SECTION:(this._err(ERR.cdataInHtmlContent),this._createCommentToken(SEQUENCES.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=State$5.BOGUS_COMMENT):this._ensureHibernation()||(this._err(ERR.incorrectlyOpenedComment),this._createCommentToken(2),this.state=State$5.BOGUS_COMMENT,this._stateBogusComment(qa))}_stateCommentStart(qa){switch(qa){case CODE_POINTS.HYPHEN_MINUS:{this.state=State$5.COMMENT_START_DASH;break}case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.abruptClosingOfEmptyComment),this.state=State$5.DATA;const nd=this.currentToken;this.emitCurrentComment(nd);break}default:this.state=State$5.COMMENT,this._stateComment(qa)}}_stateCommentStartDash(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.HYPHEN_MINUS:{this.state=State$5.COMMENT_END;break}case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.abruptClosingOfEmptyComment),this.state=State$5.DATA,this.emitCurrentComment(nd);break}case CODE_POINTS.EOF:{this._err(ERR.eofInComment),this.emitCurrentComment(nd),this._emitEOFToken();break}default:nd.data+="-",this.state=State$5.COMMENT,this._stateComment(qa)}}_stateComment(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.HYPHEN_MINUS:{this.state=State$5.COMMENT_END_DASH;break}case CODE_POINTS.LESS_THAN_SIGN:{nd.data+="<",this.state=State$5.COMMENT_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),nd.data+=REPLACEMENT_CHARACTER;break}case CODE_POINTS.EOF:{this._err(ERR.eofInComment),this.emitCurrentComment(nd),this._emitEOFToken();break}default:nd.data+=String.fromCodePoint(qa)}}_stateCommentLessThanSign(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.EXCLAMATION_MARK:{nd.data+="!",this.state=State$5.COMMENT_LESS_THAN_SIGN_BANG;break}case CODE_POINTS.LESS_THAN_SIGN:{nd.data+="<";break}default:this.state=State$5.COMMENT,this._stateComment(qa)}}_stateCommentLessThanSignBang(qa){qa===CODE_POINTS.HYPHEN_MINUS?this.state=State$5.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=State$5.COMMENT,this._stateComment(qa))}_stateCommentLessThanSignBangDash(qa){qa===CODE_POINTS.HYPHEN_MINUS?this.state=State$5.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=State$5.COMMENT_END_DASH,this._stateCommentEndDash(qa))}_stateCommentLessThanSignBangDashDash(qa){qa!==CODE_POINTS.GREATER_THAN_SIGN&&qa!==CODE_POINTS.EOF&&this._err(ERR.nestedComment),this.state=State$5.COMMENT_END,this._stateCommentEnd(qa)}_stateCommentEndDash(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.HYPHEN_MINUS:{this.state=State$5.COMMENT_END;break}case CODE_POINTS.EOF:{this._err(ERR.eofInComment),this.emitCurrentComment(nd),this._emitEOFToken();break}default:nd.data+="-",this.state=State$5.COMMENT,this._stateComment(qa)}}_stateCommentEnd(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.GREATER_THAN_SIGN:{this.state=State$5.DATA,this.emitCurrentComment(nd);break}case CODE_POINTS.EXCLAMATION_MARK:{this.state=State$5.COMMENT_END_BANG;break}case CODE_POINTS.HYPHEN_MINUS:{nd.data+="-";break}case CODE_POINTS.EOF:{this._err(ERR.eofInComment),this.emitCurrentComment(nd),this._emitEOFToken();break}default:nd.data+="--",this.state=State$5.COMMENT,this._stateComment(qa)}}_stateCommentEndBang(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.HYPHEN_MINUS:{nd.data+="--!",this.state=State$5.COMMENT_END_DASH;break}case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.incorrectlyClosedComment),this.state=State$5.DATA,this.emitCurrentComment(nd);break}case CODE_POINTS.EOF:{this._err(ERR.eofInComment),this.emitCurrentComment(nd),this._emitEOFToken();break}default:nd.data+="--!",this.state=State$5.COMMENT,this._stateComment(qa)}}_stateDoctype(qa){switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:{this.state=State$5.BEFORE_DOCTYPE_NAME;break}case CODE_POINTS.GREATER_THAN_SIGN:{this.state=State$5.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(qa);break}case CODE_POINTS.EOF:{this._err(ERR.eofInDoctype),this._createDoctypeToken(null);const nd=this.currentToken;nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this._emitEOFToken();break}default:this._err(ERR.missingWhitespaceBeforeDoctypeName),this.state=State$5.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(qa)}}_stateBeforeDoctypeName(qa){if(isAsciiUpper(qa))this._createDoctypeToken(String.fromCharCode(toAsciiLower(qa))),this.state=State$5.DOCTYPE_NAME;else switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:break;case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._createDoctypeToken(REPLACEMENT_CHARACTER),this.state=State$5.DOCTYPE_NAME;break}case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.missingDoctypeName),this._createDoctypeToken(null);const nd=this.currentToken;nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this.state=State$5.DATA;break}case CODE_POINTS.EOF:{this._err(ERR.eofInDoctype),this._createDoctypeToken(null);const nd=this.currentToken;nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(qa)),this.state=State$5.DOCTYPE_NAME}}_stateDoctypeName(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:{this.state=State$5.AFTER_DOCTYPE_NAME;break}case CODE_POINTS.GREATER_THAN_SIGN:{this.state=State$5.DATA,this.emitCurrentDoctype(nd);break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),nd.name+=REPLACEMENT_CHARACTER;break}case CODE_POINTS.EOF:{this._err(ERR.eofInDoctype),nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this._emitEOFToken();break}default:nd.name+=String.fromCodePoint(isAsciiUpper(qa)?toAsciiLower(qa):qa)}}_stateAfterDoctypeName(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:break;case CODE_POINTS.GREATER_THAN_SIGN:{this.state=State$5.DATA,this.emitCurrentDoctype(nd);break}case CODE_POINTS.EOF:{this._err(ERR.eofInDoctype),nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(SEQUENCES.PUBLIC,!1)?this.state=State$5.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(SEQUENCES.SYSTEM,!1)?this.state=State$5.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(ERR.invalidCharacterSequenceAfterDoctypeName),nd.forceQuirks=!0,this.state=State$5.BOGUS_DOCTYPE,this._stateBogusDoctype(qa))}}_stateAfterDoctypePublicKeyword(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:{this.state=State$5.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case CODE_POINTS.QUOTATION_MARK:{this._err(ERR.missingWhitespaceAfterDoctypePublicKeyword),nd.publicId="",this.state=State$5.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case CODE_POINTS.APOSTROPHE:{this._err(ERR.missingWhitespaceAfterDoctypePublicKeyword),nd.publicId="",this.state=State$5.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.missingDoctypePublicIdentifier),nd.forceQuirks=!0,this.state=State$5.DATA,this.emitCurrentDoctype(nd);break}case CODE_POINTS.EOF:{this._err(ERR.eofInDoctype),nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this._emitEOFToken();break}default:this._err(ERR.missingQuoteBeforeDoctypePublicIdentifier),nd.forceQuirks=!0,this.state=State$5.BOGUS_DOCTYPE,this._stateBogusDoctype(qa)}}_stateBeforeDoctypePublicIdentifier(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:break;case CODE_POINTS.QUOTATION_MARK:{nd.publicId="",this.state=State$5.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case CODE_POINTS.APOSTROPHE:{nd.publicId="",this.state=State$5.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.missingDoctypePublicIdentifier),nd.forceQuirks=!0,this.state=State$5.DATA,this.emitCurrentDoctype(nd);break}case CODE_POINTS.EOF:{this._err(ERR.eofInDoctype),nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this._emitEOFToken();break}default:this._err(ERR.missingQuoteBeforeDoctypePublicIdentifier),nd.forceQuirks=!0,this.state=State$5.BOGUS_DOCTYPE,this._stateBogusDoctype(qa)}}_stateDoctypePublicIdentifierDoubleQuoted(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.QUOTATION_MARK:{this.state=State$5.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),nd.publicId+=REPLACEMENT_CHARACTER;break}case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.abruptDoctypePublicIdentifier),nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this.state=State$5.DATA;break}case CODE_POINTS.EOF:{this._err(ERR.eofInDoctype),nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this._emitEOFToken();break}default:nd.publicId+=String.fromCodePoint(qa)}}_stateDoctypePublicIdentifierSingleQuoted(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.APOSTROPHE:{this.state=State$5.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),nd.publicId+=REPLACEMENT_CHARACTER;break}case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.abruptDoctypePublicIdentifier),nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this.state=State$5.DATA;break}case CODE_POINTS.EOF:{this._err(ERR.eofInDoctype),nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this._emitEOFToken();break}default:nd.publicId+=String.fromCodePoint(qa)}}_stateAfterDoctypePublicIdentifier(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:{this.state=State$5.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case CODE_POINTS.GREATER_THAN_SIGN:{this.state=State$5.DATA,this.emitCurrentDoctype(nd);break}case CODE_POINTS.QUOTATION_MARK:{this._err(ERR.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),nd.systemId="",this.state=State$5.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case CODE_POINTS.APOSTROPHE:{this._err(ERR.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),nd.systemId="",this.state=State$5.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case CODE_POINTS.EOF:{this._err(ERR.eofInDoctype),nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this._emitEOFToken();break}default:this._err(ERR.missingQuoteBeforeDoctypeSystemIdentifier),nd.forceQuirks=!0,this.state=State$5.BOGUS_DOCTYPE,this._stateBogusDoctype(qa)}}_stateBetweenDoctypePublicAndSystemIdentifiers(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:break;case CODE_POINTS.GREATER_THAN_SIGN:{this.emitCurrentDoctype(nd),this.state=State$5.DATA;break}case CODE_POINTS.QUOTATION_MARK:{nd.systemId="",this.state=State$5.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case CODE_POINTS.APOSTROPHE:{nd.systemId="",this.state=State$5.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case CODE_POINTS.EOF:{this._err(ERR.eofInDoctype),nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this._emitEOFToken();break}default:this._err(ERR.missingQuoteBeforeDoctypeSystemIdentifier),nd.forceQuirks=!0,this.state=State$5.BOGUS_DOCTYPE,this._stateBogusDoctype(qa)}}_stateAfterDoctypeSystemKeyword(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:{this.state=State$5.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case CODE_POINTS.QUOTATION_MARK:{this._err(ERR.missingWhitespaceAfterDoctypeSystemKeyword),nd.systemId="",this.state=State$5.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case CODE_POINTS.APOSTROPHE:{this._err(ERR.missingWhitespaceAfterDoctypeSystemKeyword),nd.systemId="",this.state=State$5.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.missingDoctypeSystemIdentifier),nd.forceQuirks=!0,this.state=State$5.DATA,this.emitCurrentDoctype(nd);break}case CODE_POINTS.EOF:{this._err(ERR.eofInDoctype),nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this._emitEOFToken();break}default:this._err(ERR.missingQuoteBeforeDoctypeSystemIdentifier),nd.forceQuirks=!0,this.state=State$5.BOGUS_DOCTYPE,this._stateBogusDoctype(qa)}}_stateBeforeDoctypeSystemIdentifier(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:break;case CODE_POINTS.QUOTATION_MARK:{nd.systemId="",this.state=State$5.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case CODE_POINTS.APOSTROPHE:{nd.systemId="",this.state=State$5.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.missingDoctypeSystemIdentifier),nd.forceQuirks=!0,this.state=State$5.DATA,this.emitCurrentDoctype(nd);break}case CODE_POINTS.EOF:{this._err(ERR.eofInDoctype),nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this._emitEOFToken();break}default:this._err(ERR.missingQuoteBeforeDoctypeSystemIdentifier),nd.forceQuirks=!0,this.state=State$5.BOGUS_DOCTYPE,this._stateBogusDoctype(qa)}}_stateDoctypeSystemIdentifierDoubleQuoted(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.QUOTATION_MARK:{this.state=State$5.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),nd.systemId+=REPLACEMENT_CHARACTER;break}case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.abruptDoctypeSystemIdentifier),nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this.state=State$5.DATA;break}case CODE_POINTS.EOF:{this._err(ERR.eofInDoctype),nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this._emitEOFToken();break}default:nd.systemId+=String.fromCodePoint(qa)}}_stateDoctypeSystemIdentifierSingleQuoted(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.APOSTROPHE:{this.state=State$5.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),nd.systemId+=REPLACEMENT_CHARACTER;break}case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.abruptDoctypeSystemIdentifier),nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this.state=State$5.DATA;break}case CODE_POINTS.EOF:{this._err(ERR.eofInDoctype),nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this._emitEOFToken();break}default:nd.systemId+=String.fromCodePoint(qa)}}_stateAfterDoctypeSystemIdentifier(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:break;case CODE_POINTS.GREATER_THAN_SIGN:{this.emitCurrentDoctype(nd),this.state=State$5.DATA;break}case CODE_POINTS.EOF:{this._err(ERR.eofInDoctype),nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this._emitEOFToken();break}default:this._err(ERR.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=State$5.BOGUS_DOCTYPE,this._stateBogusDoctype(qa)}}_stateBogusDoctype(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.GREATER_THAN_SIGN:{this.emitCurrentDoctype(nd),this.state=State$5.DATA;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter);break}case CODE_POINTS.EOF:{this.emitCurrentDoctype(nd),this._emitEOFToken();break}}}_stateCdataSection(qa){switch(qa){case CODE_POINTS.RIGHT_SQUARE_BRACKET:{this.state=State$5.CDATA_SECTION_BRACKET;break}case CODE_POINTS.EOF:{this._err(ERR.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateCdataSectionBracket(qa){qa===CODE_POINTS.RIGHT_SQUARE_BRACKET?this.state=State$5.CDATA_SECTION_END:(this._emitChars("]"),this.state=State$5.CDATA_SECTION,this._stateCdataSection(qa))}_stateCdataSectionEnd(qa){switch(qa){case CODE_POINTS.GREATER_THAN_SIGN:{this.state=State$5.DATA;break}case CODE_POINTS.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=State$5.CDATA_SECTION,this._stateCdataSection(qa)}}_stateCharacterReference(){let qa=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(qa<0)if(this.preprocessor.lastChunkWritten)qa=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}qa===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(CODE_POINTS.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&isAsciiAlphaNumeric(this.preprocessor.peek(1))?State$5.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(qa){isAsciiAlphaNumeric(qa)?this._flushCodePointConsumedAsCharacterReference(qa):(qa===CODE_POINTS.SEMICOLON&&this._err(ERR.unknownNamedCharacterReference),this.state=this.returnState,this._callState(qa))}};const IMPLICIT_END_TAG_REQUIRED=new Set([TAG_ID.DD,TAG_ID.DT,TAG_ID.LI,TAG_ID.OPTGROUP,TAG_ID.OPTION,TAG_ID.P,TAG_ID.RB,TAG_ID.RP,TAG_ID.RT,TAG_ID.RTC]),IMPLICIT_END_TAG_REQUIRED_THOROUGHLY=new Set([...IMPLICIT_END_TAG_REQUIRED,TAG_ID.CAPTION,TAG_ID.COLGROUP,TAG_ID.TBODY,TAG_ID.TD,TAG_ID.TFOOT,TAG_ID.TH,TAG_ID.THEAD,TAG_ID.TR]),SCOPING_ELEMENTS_HTML=new Set([TAG_ID.APPLET,TAG_ID.CAPTION,TAG_ID.HTML,TAG_ID.MARQUEE,TAG_ID.OBJECT,TAG_ID.TABLE,TAG_ID.TD,TAG_ID.TEMPLATE,TAG_ID.TH]),SCOPING_ELEMENTS_HTML_LIST=new Set([...SCOPING_ELEMENTS_HTML,TAG_ID.OL,TAG_ID.UL]),SCOPING_ELEMENTS_HTML_BUTTON=new Set([...SCOPING_ELEMENTS_HTML,TAG_ID.BUTTON]),SCOPING_ELEMENTS_MATHML=new Set([TAG_ID.ANNOTATION_XML,TAG_ID.MI,TAG_ID.MN,TAG_ID.MO,TAG_ID.MS,TAG_ID.MTEXT]),SCOPING_ELEMENTS_SVG=new Set([TAG_ID.DESC,TAG_ID.FOREIGN_OBJECT,TAG_ID.TITLE]),TABLE_ROW_CONTEXT=new Set([TAG_ID.TR,TAG_ID.TEMPLATE,TAG_ID.HTML]),TABLE_BODY_CONTEXT=new Set([TAG_ID.TBODY,TAG_ID.TFOOT,TAG_ID.THEAD,TAG_ID.TEMPLATE,TAG_ID.HTML]),TABLE_CONTEXT=new Set([TAG_ID.TABLE,TAG_ID.TEMPLATE,TAG_ID.HTML]),TABLE_CELLS=new Set([TAG_ID.TD,TAG_ID.TH]);class OpenElementStack{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(qa,nd,od){this.treeAdapter=nd,this.handler=od,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=TAG_ID.UNKNOWN,this.current=qa}_indexOf(qa){return this.items.lastIndexOf(qa,this.stackTop)}_isInTemplate(){return this.currentTagId===TAG_ID.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===NS.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(qa,nd){this.stackTop++,this.items[this.stackTop]=qa,this.current=qa,this.tagIDs[this.stackTop]=nd,this.currentTagId=nd,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(qa,nd,!0)}pop(){const qa=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(qa,!0)}replace(qa,nd){const od=this._indexOf(qa);this.items[od]=nd,od===this.stackTop&&(this.current=nd)}insertAfter(qa,nd,od){const ld=this._indexOf(qa)+1;this.items.splice(ld,0,nd),this.tagIDs.splice(ld,0,od),this.stackTop++,ld===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,ld===this.stackTop)}popUntilTagNamePopped(qa){let nd=this.stackTop+1;do nd=this.tagIDs.lastIndexOf(qa,nd-1);while(nd>0&&this.treeAdapter.getNamespaceURI(this.items[nd])!==NS.HTML);this.shortenToLength(nd<0?0:nd)}shortenToLength(qa){for(;this.stackTop>=qa;){const nd=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(nd,this.stackTop<qa)}}popUntilElementPopped(qa){const nd=this._indexOf(qa);this.shortenToLength(nd<0?0:nd)}popUntilPopped(qa,nd){const od=this._indexOfTagNames(qa,nd);this.shortenToLength(od<0?0:od)}popUntilNumberedHeaderPopped(){this.popUntilPopped(NUMBERED_HEADERS,NS.HTML)}popUntilTableCellPopped(){this.popUntilPopped(TABLE_CELLS,NS.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(qa,nd){for(let od=this.stackTop;od>=0;od--)if(qa.has(this.tagIDs[od])&&this.treeAdapter.getNamespaceURI(this.items[od])===nd)return od;return-1}clearBackTo(qa,nd){const od=this._indexOfTagNames(qa,nd);this.shortenToLength(od+1)}clearBackToTableContext(){this.clearBackTo(TABLE_CONTEXT,NS.HTML)}clearBackToTableBodyContext(){this.clearBackTo(TABLE_BODY_CONTEXT,NS.HTML)}clearBackToTableRowContext(){this.clearBackTo(TABLE_ROW_CONTEXT,NS.HTML)}remove(qa){const nd=this._indexOf(qa);nd>=0&&(nd===this.stackTop?this.pop():(this.items.splice(nd,1),this.tagIDs.splice(nd,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(qa,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===TAG_ID.BODY?this.items[1]:null}contains(qa){return this._indexOf(qa)>-1}getCommonAncestor(qa){const nd=this._indexOf(qa)-1;return nd>=0?this.items[nd]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===TAG_ID.HTML}hasInDynamicScope(qa,nd){for(let od=this.stackTop;od>=0;od--){const ld=this.tagIDs[od];switch(this.treeAdapter.getNamespaceURI(this.items[od])){case NS.HTML:{if(ld===qa)return!0;if(nd.has(ld))return!1;break}case NS.SVG:{if(SCOPING_ELEMENTS_SVG.has(ld))return!1;break}case NS.MATHML:{if(SCOPING_ELEMENTS_MATHML.has(ld))return!1;break}}}return!0}hasInScope(qa){return this.hasInDynamicScope(qa,SCOPING_ELEMENTS_HTML)}hasInListItemScope(qa){return this.hasInDynamicScope(qa,SCOPING_ELEMENTS_HTML_LIST)}hasInButtonScope(qa){return this.hasInDynamicScope(qa,SCOPING_ELEMENTS_HTML_BUTTON)}hasNumberedHeaderInScope(){for(let qa=this.stackTop;qa>=0;qa--){const nd=this.tagIDs[qa];switch(this.treeAdapter.getNamespaceURI(this.items[qa])){case NS.HTML:{if(NUMBERED_HEADERS.has(nd))return!0;if(SCOPING_ELEMENTS_HTML.has(nd))return!1;break}case NS.SVG:{if(SCOPING_ELEMENTS_SVG.has(nd))return!1;break}case NS.MATHML:{if(SCOPING_ELEMENTS_MATHML.has(nd))return!1;break}}}return!0}hasInTableScope(qa){for(let nd=this.stackTop;nd>=0;nd--)if(this.treeAdapter.getNamespaceURI(this.items[nd])===NS.HTML)switch(this.tagIDs[nd]){case qa:return!0;case TAG_ID.TABLE:case TAG_ID.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let qa=this.stackTop;qa>=0;qa--)if(this.treeAdapter.getNamespaceURI(this.items[qa])===NS.HTML)switch(this.tagIDs[qa]){case TAG_ID.TBODY:case TAG_ID.THEAD:case TAG_ID.TFOOT:return!0;case TAG_ID.TABLE:case TAG_ID.HTML:return!1}return!0}hasInSelectScope(qa){for(let nd=this.stackTop;nd>=0;nd--)if(this.treeAdapter.getNamespaceURI(this.items[nd])===NS.HTML)switch(this.tagIDs[nd]){case qa:return!0;case TAG_ID.OPTION:case TAG_ID.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;IMPLICIT_END_TAG_REQUIRED.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;IMPLICIT_END_TAG_REQUIRED_THOROUGHLY.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(qa){for(;this.currentTagId!==qa&&IMPLICIT_END_TAG_REQUIRED_THOROUGHLY.has(this.currentTagId);)this.pop()}}const NOAH_ARK_CAPACITY=3;var EntryType;(function(Ra){Ra[Ra.Marker=0]="Marker",Ra[Ra.Element=1]="Element"})(EntryType||(EntryType={}));const MARKER={type:EntryType.Marker};class FormattingElementList{constructor(qa){this.treeAdapter=qa,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(qa,nd){const od=[],ld=nd.length,ud=this.treeAdapter.getTagName(qa),dd=this.treeAdapter.getNamespaceURI(qa);for(let pd=0;pd<this.entries.length;pd++){const fd=this.entries[pd];if(fd.type===EntryType.Marker)break;const{element:md}=fd;if(this.treeAdapter.getTagName(md)===ud&&this.treeAdapter.getNamespaceURI(md)===dd){const vd=this.treeAdapter.getAttrList(md);vd.length===ld&&od.push({idx:pd,attrs:vd})}}return od}_ensureNoahArkCondition(qa){if(this.entries.length<NOAH_ARK_CAPACITY)return;const nd=this.treeAdapter.getAttrList(qa),od=this._getNoahArkConditionCandidates(qa,nd);if(od.length<NOAH_ARK_CAPACITY)return;const ld=new Map(nd.map(dd=>[dd.name,dd.value]));let ud=0;for(let dd=0;dd<od.length;dd++){const pd=od[dd];pd.attrs.every(fd=>ld.get(fd.name)===fd.value)&&(ud+=1,ud>=NOAH_ARK_CAPACITY&&this.entries.splice(pd.idx,1))}}insertMarker(){this.entries.unshift(MARKER)}pushElement(qa,nd){this._ensureNoahArkCondition(qa),this.entries.unshift({type:EntryType.Element,element:qa,token:nd})}insertElementAfterBookmark(qa,nd){const od=this.entries.indexOf(this.bookmark);this.entries.splice(od,0,{type:EntryType.Element,element:qa,token:nd})}removeEntry(qa){const nd=this.entries.indexOf(qa);nd>=0&&this.entries.splice(nd,1)}clearToLastMarker(){const qa=this.entries.indexOf(MARKER);qa>=0?this.entries.splice(0,qa+1):this.entries.length=0}getElementEntryInScopeWithTagName(qa){const nd=this.entries.find(od=>od.type===EntryType.Marker||this.treeAdapter.getTagName(od.element)===qa);return nd&&nd.type===EntryType.Element?nd:null}getElementEntry(qa){return this.entries.find(nd=>nd.type===EntryType.Element&&nd.element===qa)}}const defaultTreeAdapter={createDocument(){return{nodeName:"#document",mode:DOCUMENT_MODE.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(Ra,qa,nd){return{nodeName:Ra,tagName:Ra,attrs:nd,namespaceURI:qa,childNodes:[],parentNode:null}},createCommentNode(Ra){return{nodeName:"#comment",data:Ra,parentNode:null}},createTextNode(Ra){return{nodeName:"#text",value:Ra,parentNode:null}},appendChild(Ra,qa){Ra.childNodes.push(qa),qa.parentNode=Ra},insertBefore(Ra,qa,nd){const od=Ra.childNodes.indexOf(nd);Ra.childNodes.splice(od,0,qa),qa.parentNode=Ra},setTemplateContent(Ra,qa){Ra.content=qa},getTemplateContent(Ra){return Ra.content},setDocumentType(Ra,qa,nd,od){const ld=Ra.childNodes.find(ud=>ud.nodeName==="#documentType");if(ld)ld.name=qa,ld.publicId=nd,ld.systemId=od;else{const ud={nodeName:"#documentType",name:qa,publicId:nd,systemId:od,parentNode:null};defaultTreeAdapter.appendChild(Ra,ud)}},setDocumentMode(Ra,qa){Ra.mode=qa},getDocumentMode(Ra){return Ra.mode},detachNode(Ra){if(Ra.parentNode){const qa=Ra.parentNode.childNodes.indexOf(Ra);Ra.parentNode.childNodes.splice(qa,1),Ra.parentNode=null}},insertText(Ra,qa){if(Ra.childNodes.length>0){const nd=Ra.childNodes[Ra.childNodes.length-1];if(defaultTreeAdapter.isTextNode(nd)){nd.value+=qa;return}}defaultTreeAdapter.appendChild(Ra,defaultTreeAdapter.createTextNode(qa))},insertTextBefore(Ra,qa,nd){const od=Ra.childNodes[Ra.childNodes.indexOf(nd)-1];od&&defaultTreeAdapter.isTextNode(od)?od.value+=qa:defaultTreeAdapter.insertBefore(Ra,defaultTreeAdapter.createTextNode(qa),nd)},adoptAttributes(Ra,qa){const nd=new Set(Ra.attrs.map(od=>od.name));for(let od=0;od<qa.length;od++)nd.has(qa[od].name)||Ra.attrs.push(qa[od])},getFirstChild(Ra){return Ra.childNodes[0]},getChildNodes(Ra){return Ra.childNodes},getParentNode(Ra){return Ra.parentNode},getAttrList(Ra){return Ra.attrs},getTagName(Ra){return Ra.tagName},getNamespaceURI(Ra){return Ra.namespaceURI},getTextNodeContent(Ra){return Ra.value},getCommentNodeContent(Ra){return Ra.data},getDocumentTypeNodeName(Ra){return Ra.name},getDocumentTypeNodePublicId(Ra){return Ra.publicId},getDocumentTypeNodeSystemId(Ra){return Ra.systemId},isTextNode(Ra){return Ra.nodeName==="#text"},isCommentNode(Ra){return Ra.nodeName==="#comment"},isDocumentTypeNode(Ra){return Ra.nodeName==="#documentType"},isElementNode(Ra){return Object.prototype.hasOwnProperty.call(Ra,"tagName")},setNodeSourceCodeLocation(Ra,qa){Ra.sourceCodeLocation=qa},getNodeSourceCodeLocation(Ra){return Ra.sourceCodeLocation},updateNodeSourceCodeLocation(Ra,qa){Ra.sourceCodeLocation={...Ra.sourceCodeLocation,...qa}}},VALID_DOCTYPE_NAME="html",VALID_SYSTEM_ID="about:legacy-compat",QUIRKS_MODE_SYSTEM_ID="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",QUIRKS_MODE_PUBLIC_ID_PREFIXES=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],QUIRKS_MODE_NO_SYSTEM_ID_PUBLIC_ID_PREFIXES=[...QUIRKS_MODE_PUBLIC_ID_PREFIXES,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],QUIRKS_MODE_PUBLIC_IDS=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),LIMITED_QUIRKS_PUBLIC_ID_PREFIXES=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],LIMITED_QUIRKS_WITH_SYSTEM_ID_PUBLIC_ID_PREFIXES=[...LIMITED_QUIRKS_PUBLIC_ID_PREFIXES,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function hasPrefix(Ra,qa){return qa.some(nd=>Ra.startsWith(nd))}function isConforming(Ra){return Ra.name===VALID_DOCTYPE_NAME&&Ra.publicId===null&&(Ra.systemId===null||Ra.systemId===VALID_SYSTEM_ID)}function getDocumentMode(Ra){if(Ra.name!==VALID_DOCTYPE_NAME)return DOCUMENT_MODE.QUIRKS;const{systemId:qa}=Ra;if(qa&&qa.toLowerCase()===QUIRKS_MODE_SYSTEM_ID)return DOCUMENT_MODE.QUIRKS;let{publicId:nd}=Ra;if(nd!==null){if(nd=nd.toLowerCase(),QUIRKS_MODE_PUBLIC_IDS.has(nd))return DOCUMENT_MODE.QUIRKS;let od=qa===null?QUIRKS_MODE_NO_SYSTEM_ID_PUBLIC_ID_PREFIXES:QUIRKS_MODE_PUBLIC_ID_PREFIXES;if(hasPrefix(nd,od))return DOCUMENT_MODE.QUIRKS;if(od=qa===null?LIMITED_QUIRKS_PUBLIC_ID_PREFIXES:LIMITED_QUIRKS_WITH_SYSTEM_ID_PUBLIC_ID_PREFIXES,hasPrefix(nd,od))return DOCUMENT_MODE.LIMITED_QUIRKS}return DOCUMENT_MODE.NO_QUIRKS}const MIME_TYPES={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},DEFINITION_URL_ATTR="definitionurl",ADJUSTED_DEFINITION_URL_ATTR="definitionURL",SVG_ATTRS_ADJUSTMENT_MAP=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(Ra=>[Ra.toLowerCase(),Ra])),XML_ATTRS_ADJUSTMENT_MAP=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:NS.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:NS.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:NS.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:NS.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:NS.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:NS.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:NS.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:NS.XML}],["xml:space",{prefix:"xml",name:"space",namespace:NS.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:NS.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:NS.XMLNS}]]),SVG_TAG_NAMES_ADJUSTMENT_MAP=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(Ra=>[Ra.toLowerCase(),Ra])),EXITS_FOREIGN_CONTENT=new Set([TAG_ID.B,TAG_ID.BIG,TAG_ID.BLOCKQUOTE,TAG_ID.BODY,TAG_ID.BR,TAG_ID.CENTER,TAG_ID.CODE,TAG_ID.DD,TAG_ID.DIV,TAG_ID.DL,TAG_ID.DT,TAG_ID.EM,TAG_ID.EMBED,TAG_ID.H1,TAG_ID.H2,TAG_ID.H3,TAG_ID.H4,TAG_ID.H5,TAG_ID.H6,TAG_ID.HEAD,TAG_ID.HR,TAG_ID.I,TAG_ID.IMG,TAG_ID.LI,TAG_ID.LISTING,TAG_ID.MENU,TAG_ID.META,TAG_ID.NOBR,TAG_ID.OL,TAG_ID.P,TAG_ID.PRE,TAG_ID.RUBY,TAG_ID.S,TAG_ID.SMALL,TAG_ID.SPAN,TAG_ID.STRONG,TAG_ID.STRIKE,TAG_ID.SUB,TAG_ID.SUP,TAG_ID.TABLE,TAG_ID.TT,TAG_ID.U,TAG_ID.UL,TAG_ID.VAR]);function causesExit(Ra){const qa=Ra.tagID;return qa===TAG_ID.FONT&&Ra.attrs.some(({name:od})=>od===ATTRS.COLOR||od===ATTRS.SIZE||od===ATTRS.FACE)||EXITS_FOREIGN_CONTENT.has(qa)}function adjustTokenMathMLAttrs(Ra){for(let qa=0;qa<Ra.attrs.length;qa++)if(Ra.attrs[qa].name===DEFINITION_URL_ATTR){Ra.attrs[qa].name=ADJUSTED_DEFINITION_URL_ATTR;break}}function adjustTokenSVGAttrs(Ra){for(let qa=0;qa<Ra.attrs.length;qa++){const nd=SVG_ATTRS_ADJUSTMENT_MAP.get(Ra.attrs[qa].name);nd!=null&&(Ra.attrs[qa].name=nd)}}function adjustTokenXMLAttrs(Ra){for(let qa=0;qa<Ra.attrs.length;qa++){const nd=XML_ATTRS_ADJUSTMENT_MAP.get(Ra.attrs[qa].name);nd&&(Ra.attrs[qa].prefix=nd.prefix,Ra.attrs[qa].name=nd.name,Ra.attrs[qa].namespace=nd.namespace)}}function adjustTokenSVGTagName(Ra){const qa=SVG_TAG_NAMES_ADJUSTMENT_MAP.get(Ra.tagName);qa!=null&&(Ra.tagName=qa,Ra.tagID=getTagID(Ra.tagName))}function isMathMLTextIntegrationPoint(Ra,qa){return qa===NS.MATHML&&(Ra===TAG_ID.MI||Ra===TAG_ID.MO||Ra===TAG_ID.MN||Ra===TAG_ID.MS||Ra===TAG_ID.MTEXT)}function isHtmlIntegrationPoint(Ra,qa,nd){if(qa===NS.MATHML&&Ra===TAG_ID.ANNOTATION_XML){for(let od=0;od<nd.length;od++)if(nd[od].name===ATTRS.ENCODING){const ld=nd[od].value.toLowerCase();return ld===MIME_TYPES.TEXT_HTML||ld===MIME_TYPES.APPLICATION_XML}}return qa===NS.SVG&&(Ra===TAG_ID.FOREIGN_OBJECT||Ra===TAG_ID.DESC||Ra===TAG_ID.TITLE)}function isIntegrationPoint(Ra,qa,nd,od){return(!od||od===NS.HTML)&&isHtmlIntegrationPoint(Ra,qa,nd)||(!od||od===NS.MATHML)&&isMathMLTextIntegrationPoint(Ra,qa)}const HIDDEN_INPUT_TYPE="hidden",AA_OUTER_LOOP_ITER=8,AA_INNER_LOOP_ITER=3;var InsertionMode;(function(Ra){Ra[Ra.INITIAL=0]="INITIAL",Ra[Ra.BEFORE_HTML=1]="BEFORE_HTML",Ra[Ra.BEFORE_HEAD=2]="BEFORE_HEAD",Ra[Ra.IN_HEAD=3]="IN_HEAD",Ra[Ra.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",Ra[Ra.AFTER_HEAD=5]="AFTER_HEAD",Ra[Ra.IN_BODY=6]="IN_BODY",Ra[Ra.TEXT=7]="TEXT",Ra[Ra.IN_TABLE=8]="IN_TABLE",Ra[Ra.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",Ra[Ra.IN_CAPTION=10]="IN_CAPTION",Ra[Ra.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",Ra[Ra.IN_TABLE_BODY=12]="IN_TABLE_BODY",Ra[Ra.IN_ROW=13]="IN_ROW",Ra[Ra.IN_CELL=14]="IN_CELL",Ra[Ra.IN_SELECT=15]="IN_SELECT",Ra[Ra.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",Ra[Ra.IN_TEMPLATE=17]="IN_TEMPLATE",Ra[Ra.AFTER_BODY=18]="AFTER_BODY",Ra[Ra.IN_FRAMESET=19]="IN_FRAMESET",Ra[Ra.AFTER_FRAMESET=20]="AFTER_FRAMESET",Ra[Ra.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",Ra[Ra.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(InsertionMode||(InsertionMode={}));const BASE_LOC={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},TABLE_STRUCTURE_TAGS=new Set([TAG_ID.TABLE,TAG_ID.TBODY,TAG_ID.TFOOT,TAG_ID.THEAD,TAG_ID.TR]),defaultParserOptions={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:defaultTreeAdapter,onParseError:null};let Parser$2=class{constructor(qa,nd,od=null,ld=null){this.fragmentContext=od,this.scriptHandler=ld,this.currentToken=null,this.stopped=!1,this.insertionMode=InsertionMode.INITIAL,this.originalInsertionMode=InsertionMode.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...defaultParserOptions,...qa},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=nd??this.treeAdapter.createDocument(),this.tokenizer=new Tokenizer$1(this.options,this),this.activeFormattingElements=new FormattingElementList(this.treeAdapter),this.fragmentContextID=od?getTagID(this.treeAdapter.getTagName(od)):TAG_ID.UNKNOWN,this._setContextModes(od??this.document,this.fragmentContextID),this.openElements=new OpenElementStack(this.document,this.treeAdapter,this)}static parse(qa,nd){const od=new this(nd);return od.tokenizer.write(qa,!0),od.document}static getFragmentParser(qa,nd){const od={...defaultParserOptions,...nd};qa??(qa=od.treeAdapter.createElement(TAG_NAMES.TEMPLATE,NS.HTML,[]));const ld=od.treeAdapter.createElement("documentmock",NS.HTML,[]),ud=new this(od,ld,qa);return ud.fragmentContextID===TAG_ID.TEMPLATE&&ud.tmplInsertionModeStack.unshift(InsertionMode.IN_TEMPLATE),ud._initTokenizerForFragmentParsing(),ud._insertFakeRootElement(),ud._resetInsertionMode(),ud._findFormInFragmentContext(),ud}getFragment(){const qa=this.treeAdapter.getFirstChild(this.document),nd=this.treeAdapter.createDocumentFragment();return this._adoptNodes(qa,nd),nd}_err(qa,nd,od){var ld;if(!this.onParseError)return;const ud=(ld=qa.location)!==null&&ld!==void 0?ld:BASE_LOC,dd={code:nd,startLine:ud.startLine,startCol:ud.startCol,startOffset:ud.startOffset,endLine:od?ud.startLine:ud.endLine,endCol:od?ud.startCol:ud.endCol,endOffset:od?ud.startOffset:ud.endOffset};this.onParseError(dd)}onItemPush(qa,nd,od){var ld,ud;(ud=(ld=this.treeAdapter).onItemPush)===null||ud===void 0||ud.call(ld,qa),od&&this.openElements.stackTop>0&&this._setContextModes(qa,nd)}onItemPop(qa,nd){var od,ld;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(qa,this.currentToken),(ld=(od=this.treeAdapter).onItemPop)===null||ld===void 0||ld.call(od,qa,this.openElements.current),nd){let ud,dd;this.openElements.stackTop===0&&this.fragmentContext?(ud=this.fragmentContext,dd=this.fragmentContextID):{current:ud,currentTagId:dd}=this.openElements,this._setContextModes(ud,dd)}}_setContextModes(qa,nd){const od=qa===this.document||this.treeAdapter.getNamespaceURI(qa)===NS.HTML;this.currentNotInHTML=!od,this.tokenizer.inForeignNode=!od&&!this._isIntegrationPoint(nd,qa)}_switchToTextParsing(qa,nd){this._insertElement(qa,NS.HTML),this.tokenizer.state=nd,this.originalInsertionMode=this.insertionMode,this.insertionMode=InsertionMode.TEXT}switchToPlaintextParsing(){this.insertionMode=InsertionMode.TEXT,this.originalInsertionMode=InsertionMode.IN_BODY,this.tokenizer.state=TokenizerMode.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let qa=this.fragmentContext;for(;qa;){if(this.treeAdapter.getTagName(qa)===TAG_NAMES.FORM){this.formElement=qa;break}qa=this.treeAdapter.getParentNode(qa)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==NS.HTML))switch(this.fragmentContextID){case TAG_ID.TITLE:case TAG_ID.TEXTAREA:{this.tokenizer.state=TokenizerMode.RCDATA;break}case TAG_ID.STYLE:case TAG_ID.XMP:case TAG_ID.IFRAME:case TAG_ID.NOEMBED:case TAG_ID.NOFRAMES:case TAG_ID.NOSCRIPT:{this.tokenizer.state=TokenizerMode.RAWTEXT;break}case TAG_ID.SCRIPT:{this.tokenizer.state=TokenizerMode.SCRIPT_DATA;break}case TAG_ID.PLAINTEXT:{this.tokenizer.state=TokenizerMode.PLAINTEXT;break}}}_setDocumentType(qa){const nd=qa.name||"",od=qa.publicId||"",ld=qa.systemId||"";if(this.treeAdapter.setDocumentType(this.document,nd,od,ld),qa.location){const dd=this.treeAdapter.getChildNodes(this.document).find(pd=>this.treeAdapter.isDocumentTypeNode(pd));dd&&this.treeAdapter.setNodeSourceCodeLocation(dd,qa.location)}}_attachElementToTree(qa,nd){if(this.options.sourceCodeLocationInfo){const od=nd&&{...nd,startTag:nd};this.treeAdapter.setNodeSourceCodeLocation(qa,od)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(qa);else{const od=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(od,qa)}}_appendElement(qa,nd){const od=this.treeAdapter.createElement(qa.tagName,nd,qa.attrs);this._attachElementToTree(od,qa.location)}_insertElement(qa,nd){const od=this.treeAdapter.createElement(qa.tagName,nd,qa.attrs);this._attachElementToTree(od,qa.location),this.openElements.push(od,qa.tagID)}_insertFakeElement(qa,nd){const od=this.treeAdapter.createElement(qa,NS.HTML,[]);this._attachElementToTree(od,null),this.openElements.push(od,nd)}_insertTemplate(qa){const nd=this.treeAdapter.createElement(qa.tagName,NS.HTML,qa.attrs),od=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(nd,od),this._attachElementToTree(nd,qa.location),this.openElements.push(nd,qa.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(od,null)}_insertFakeRootElement(){const qa=this.treeAdapter.createElement(TAG_NAMES.HTML,NS.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(qa,null),this.treeAdapter.appendChild(this.openElements.current,qa),this.openElements.push(qa,TAG_ID.HTML)}_appendCommentNode(qa,nd){const od=this.treeAdapter.createCommentNode(qa.data);this.treeAdapter.appendChild(nd,od),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(od,qa.location)}_insertCharacters(qa){let nd,od;if(this._shouldFosterParentOnInsertion()?({parent:nd,beforeElement:od}=this._findFosterParentingLocation(),od?this.treeAdapter.insertTextBefore(nd,qa.chars,od):this.treeAdapter.insertText(nd,qa.chars)):(nd=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(nd,qa.chars)),!qa.location)return;const ld=this.treeAdapter.getChildNodes(nd),ud=od?ld.lastIndexOf(od):ld.length,dd=ld[ud-1];if(this.treeAdapter.getNodeSourceCodeLocation(dd)){const{endLine:fd,endCol:md,endOffset:vd}=qa.location;this.treeAdapter.updateNodeSourceCodeLocation(dd,{endLine:fd,endCol:md,endOffset:vd})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(dd,qa.location)}_adoptNodes(qa,nd){for(let od=this.treeAdapter.getFirstChild(qa);od;od=this.treeAdapter.getFirstChild(qa))this.treeAdapter.detachNode(od),this.treeAdapter.appendChild(nd,od)}_setEndLocation(qa,nd){if(this.treeAdapter.getNodeSourceCodeLocation(qa)&&nd.location){const od=nd.location,ld=this.treeAdapter.getTagName(qa),ud=nd.type===TokenType.END_TAG&&ld===nd.tagName?{endTag:{...od},endLine:od.endLine,endCol:od.endCol,endOffset:od.endOffset}:{endLine:od.startLine,endCol:od.startCol,endOffset:od.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(qa,ud)}}shouldProcessStartTagTokenInForeignContent(qa){if(!this.currentNotInHTML)return!1;let nd,od;return this.openElements.stackTop===0&&this.fragmentContext?(nd=this.fragmentContext,od=this.fragmentContextID):{current:nd,currentTagId:od}=this.openElements,qa.tagID===TAG_ID.SVG&&this.treeAdapter.getTagName(nd)===TAG_NAMES.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(nd)===NS.MATHML?!1:this.tokenizer.inForeignNode||(qa.tagID===TAG_ID.MGLYPH||qa.tagID===TAG_ID.MALIGNMARK)&&!this._isIntegrationPoint(od,nd,NS.HTML)}_processToken(qa){switch(qa.type){case TokenType.CHARACTER:{this.onCharacter(qa);break}case TokenType.NULL_CHARACTER:{this.onNullCharacter(qa);break}case TokenType.COMMENT:{this.onComment(qa);break}case TokenType.DOCTYPE:{this.onDoctype(qa);break}case TokenType.START_TAG:{this._processStartTag(qa);break}case TokenType.END_TAG:{this.onEndTag(qa);break}case TokenType.EOF:{this.onEof(qa);break}case TokenType.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(qa);break}}}_isIntegrationPoint(qa,nd,od){const ld=this.treeAdapter.getNamespaceURI(nd),ud=this.treeAdapter.getAttrList(nd);return isIntegrationPoint(qa,ld,ud,od)}_reconstructActiveFormattingElements(){const qa=this.activeFormattingElements.entries.length;if(qa){const nd=this.activeFormattingElements.entries.findIndex(ld=>ld.type===EntryType.Marker||this.openElements.contains(ld.element)),od=nd<0?qa-1:nd-1;for(let ld=od;ld>=0;ld--){const ud=this.activeFormattingElements.entries[ld];this._insertElement(ud.token,this.treeAdapter.getNamespaceURI(ud.element)),ud.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=InsertionMode.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.P),this.openElements.popUntilTagNamePopped(TAG_ID.P)}_resetInsertionMode(){for(let qa=this.openElements.stackTop;qa>=0;qa--)switch(qa===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[qa]){case TAG_ID.TR:{this.insertionMode=InsertionMode.IN_ROW;return}case TAG_ID.TBODY:case TAG_ID.THEAD:case TAG_ID.TFOOT:{this.insertionMode=InsertionMode.IN_TABLE_BODY;return}case TAG_ID.CAPTION:{this.insertionMode=InsertionMode.IN_CAPTION;return}case TAG_ID.COLGROUP:{this.insertionMode=InsertionMode.IN_COLUMN_GROUP;return}case TAG_ID.TABLE:{this.insertionMode=InsertionMode.IN_TABLE;return}case TAG_ID.BODY:{this.insertionMode=InsertionMode.IN_BODY;return}case TAG_ID.FRAMESET:{this.insertionMode=InsertionMode.IN_FRAMESET;return}case TAG_ID.SELECT:{this._resetInsertionModeForSelect(qa);return}case TAG_ID.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case TAG_ID.HTML:{this.insertionMode=this.headElement?InsertionMode.AFTER_HEAD:InsertionMode.BEFORE_HEAD;return}case TAG_ID.TD:case TAG_ID.TH:{if(qa>0){this.insertionMode=InsertionMode.IN_CELL;return}break}case TAG_ID.HEAD:{if(qa>0){this.insertionMode=InsertionMode.IN_HEAD;return}break}}this.insertionMode=InsertionMode.IN_BODY}_resetInsertionModeForSelect(qa){if(qa>0)for(let nd=qa-1;nd>0;nd--){const od=this.openElements.tagIDs[nd];if(od===TAG_ID.TEMPLATE)break;if(od===TAG_ID.TABLE){this.insertionMode=InsertionMode.IN_SELECT_IN_TABLE;return}}this.insertionMode=InsertionMode.IN_SELECT}_isElementCausesFosterParenting(qa){return TABLE_STRUCTURE_TAGS.has(qa)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let qa=this.openElements.stackTop;qa>=0;qa--){const nd=this.openElements.items[qa];switch(this.openElements.tagIDs[qa]){case TAG_ID.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(nd)===NS.HTML)return{parent:this.treeAdapter.getTemplateContent(nd),beforeElement:null};break}case TAG_ID.TABLE:{const od=this.treeAdapter.getParentNode(nd);return od?{parent:od,beforeElement:nd}:{parent:this.openElements.items[qa-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(qa){const nd=this._findFosterParentingLocation();nd.beforeElement?this.treeAdapter.insertBefore(nd.parent,qa,nd.beforeElement):this.treeAdapter.appendChild(nd.parent,qa)}_isSpecialElement(qa,nd){const od=this.treeAdapter.getNamespaceURI(qa);return SPECIAL_ELEMENTS[od].has(nd)}onCharacter(qa){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){characterInForeignContent(this,qa);return}switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{tokenBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{tokenBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{tokenInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{tokenInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{tokenAfterHead(this,qa);break}case InsertionMode.IN_BODY:case InsertionMode.IN_CAPTION:case InsertionMode.IN_CELL:case InsertionMode.IN_TEMPLATE:{characterInBody(this,qa);break}case InsertionMode.TEXT:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:{this._insertCharacters(qa);break}case InsertionMode.IN_TABLE:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:{characterInTable(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{characterInTableText(this,qa);break}case InsertionMode.IN_COLUMN_GROUP:{tokenInColumnGroup(this,qa);break}case InsertionMode.AFTER_BODY:{tokenAfterBody(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:{tokenAfterAfterBody(this,qa);break}}}onNullCharacter(qa){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){nullCharacterInForeignContent(this,qa);return}switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{tokenBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{tokenBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{tokenInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{tokenInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{tokenAfterHead(this,qa);break}case InsertionMode.TEXT:{this._insertCharacters(qa);break}case InsertionMode.IN_TABLE:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:{characterInTable(this,qa);break}case InsertionMode.IN_COLUMN_GROUP:{tokenInColumnGroup(this,qa);break}case InsertionMode.AFTER_BODY:{tokenAfterBody(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:{tokenAfterAfterBody(this,qa);break}}}onComment(qa){if(this.skipNextNewLine=!1,this.currentNotInHTML){appendComment(this,qa);return}switch(this.insertionMode){case InsertionMode.INITIAL:case InsertionMode.BEFORE_HTML:case InsertionMode.BEFORE_HEAD:case InsertionMode.IN_HEAD:case InsertionMode.IN_HEAD_NO_SCRIPT:case InsertionMode.AFTER_HEAD:case InsertionMode.IN_BODY:case InsertionMode.IN_TABLE:case InsertionMode.IN_CAPTION:case InsertionMode.IN_COLUMN_GROUP:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:case InsertionMode.IN_CELL:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:case InsertionMode.IN_TEMPLATE:case InsertionMode.IN_FRAMESET:case InsertionMode.AFTER_FRAMESET:{appendComment(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}case InsertionMode.AFTER_BODY:{appendCommentToRootHtmlElement(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:case InsertionMode.AFTER_AFTER_FRAMESET:{appendCommentToDocument(this,qa);break}}}onDoctype(qa){switch(this.skipNextNewLine=!1,this.insertionMode){case InsertionMode.INITIAL:{doctypeInInitialMode(this,qa);break}case InsertionMode.BEFORE_HEAD:case InsertionMode.IN_HEAD:case InsertionMode.IN_HEAD_NO_SCRIPT:case InsertionMode.AFTER_HEAD:{this._err(qa,ERR.misplacedDoctype);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}}}onStartTag(qa){this.skipNextNewLine=!1,this.currentToken=qa,this._processStartTag(qa),qa.selfClosing&&!qa.ackSelfClosing&&this._err(qa,ERR.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(qa){this.shouldProcessStartTagTokenInForeignContent(qa)?startTagInForeignContent(this,qa):this._startTagOutsideForeignContent(qa)}_startTagOutsideForeignContent(qa){switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{startTagBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{startTagBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{startTagInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{startTagInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{startTagAfterHead(this,qa);break}case InsertionMode.IN_BODY:{startTagInBody(this,qa);break}case InsertionMode.IN_TABLE:{startTagInTable(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}case InsertionMode.IN_CAPTION:{startTagInCaption(this,qa);break}case InsertionMode.IN_COLUMN_GROUP:{startTagInColumnGroup(this,qa);break}case InsertionMode.IN_TABLE_BODY:{startTagInTableBody(this,qa);break}case InsertionMode.IN_ROW:{startTagInRow(this,qa);break}case InsertionMode.IN_CELL:{startTagInCell(this,qa);break}case InsertionMode.IN_SELECT:{startTagInSelect(this,qa);break}case InsertionMode.IN_SELECT_IN_TABLE:{startTagInSelectInTable(this,qa);break}case InsertionMode.IN_TEMPLATE:{startTagInTemplate(this,qa);break}case InsertionMode.AFTER_BODY:{startTagAfterBody(this,qa);break}case InsertionMode.IN_FRAMESET:{startTagInFrameset(this,qa);break}case InsertionMode.AFTER_FRAMESET:{startTagAfterFrameset(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:{startTagAfterAfterBody(this,qa);break}case InsertionMode.AFTER_AFTER_FRAMESET:{startTagAfterAfterFrameset(this,qa);break}}}onEndTag(qa){this.skipNextNewLine=!1,this.currentToken=qa,this.currentNotInHTML?endTagInForeignContent(this,qa):this._endTagOutsideForeignContent(qa)}_endTagOutsideForeignContent(qa){switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{endTagBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{endTagBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{endTagInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{endTagInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{endTagAfterHead(this,qa);break}case InsertionMode.IN_BODY:{endTagInBody(this,qa);break}case InsertionMode.TEXT:{endTagInText(this,qa);break}case InsertionMode.IN_TABLE:{endTagInTable(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}case InsertionMode.IN_CAPTION:{endTagInCaption(this,qa);break}case InsertionMode.IN_COLUMN_GROUP:{endTagInColumnGroup(this,qa);break}case InsertionMode.IN_TABLE_BODY:{endTagInTableBody(this,qa);break}case InsertionMode.IN_ROW:{endTagInRow(this,qa);break}case InsertionMode.IN_CELL:{endTagInCell(this,qa);break}case InsertionMode.IN_SELECT:{endTagInSelect(this,qa);break}case InsertionMode.IN_SELECT_IN_TABLE:{endTagInSelectInTable(this,qa);break}case InsertionMode.IN_TEMPLATE:{endTagInTemplate(this,qa);break}case InsertionMode.AFTER_BODY:{endTagAfterBody(this,qa);break}case InsertionMode.IN_FRAMESET:{endTagInFrameset(this,qa);break}case InsertionMode.AFTER_FRAMESET:{endTagAfterFrameset(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:{tokenAfterAfterBody(this,qa);break}}}onEof(qa){switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{tokenBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{tokenBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{tokenInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{tokenInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{tokenAfterHead(this,qa);break}case InsertionMode.IN_BODY:case InsertionMode.IN_TABLE:case InsertionMode.IN_CAPTION:case InsertionMode.IN_COLUMN_GROUP:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:case InsertionMode.IN_CELL:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:{eofInBody(this,qa);break}case InsertionMode.TEXT:{eofInText(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}case InsertionMode.IN_TEMPLATE:{eofInTemplate(this,qa);break}case InsertionMode.AFTER_BODY:case InsertionMode.IN_FRAMESET:case InsertionMode.AFTER_FRAMESET:case InsertionMode.AFTER_AFTER_BODY:case InsertionMode.AFTER_AFTER_FRAMESET:{stopParsing(this,qa);break}}}onWhitespaceCharacter(qa){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,qa.chars.charCodeAt(0)===CODE_POINTS.LINE_FEED)){if(qa.chars.length===1)return;qa.chars=qa.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(qa);return}switch(this.insertionMode){case InsertionMode.IN_HEAD:case InsertionMode.IN_HEAD_NO_SCRIPT:case InsertionMode.AFTER_HEAD:case InsertionMode.TEXT:case InsertionMode.IN_COLUMN_GROUP:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:case InsertionMode.IN_FRAMESET:case InsertionMode.AFTER_FRAMESET:{this._insertCharacters(qa);break}case InsertionMode.IN_BODY:case InsertionMode.IN_CAPTION:case InsertionMode.IN_CELL:case InsertionMode.IN_TEMPLATE:case InsertionMode.AFTER_BODY:case InsertionMode.AFTER_AFTER_BODY:case InsertionMode.AFTER_AFTER_FRAMESET:{whitespaceCharacterInBody(this,qa);break}case InsertionMode.IN_TABLE:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:{characterInTable(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{whitespaceCharacterInTableText(this,qa);break}}}};function aaObtainFormattingElementEntry(Ra,qa){let nd=Ra.activeFormattingElements.getElementEntryInScopeWithTagName(qa.tagName);return nd?Ra.openElements.contains(nd.element)?Ra.openElements.hasInScope(qa.tagID)||(nd=null):(Ra.activeFormattingElements.removeEntry(nd),nd=null):genericEndTagInBody(Ra,qa),nd}function aaObtainFurthestBlock(Ra,qa){let nd=null,od=Ra.openElements.stackTop;for(;od>=0;od--){const ld=Ra.openElements.items[od];if(ld===qa.element)break;Ra._isSpecialElement(ld,Ra.openElements.tagIDs[od])&&(nd=ld)}return nd||(Ra.openElements.shortenToLength(od<0?0:od),Ra.activeFormattingElements.removeEntry(qa)),nd}function aaInnerLoop(Ra,qa,nd){let od=qa,ld=Ra.openElements.getCommonAncestor(qa);for(let ud=0,dd=ld;dd!==nd;ud++,dd=ld){ld=Ra.openElements.getCommonAncestor(dd);const pd=Ra.activeFormattingElements.getElementEntry(dd),fd=pd&&ud>=AA_INNER_LOOP_ITER;!pd||fd?(fd&&Ra.activeFormattingElements.removeEntry(pd),Ra.openElements.remove(dd)):(dd=aaRecreateElementFromEntry(Ra,pd),od===qa&&(Ra.activeFormattingElements.bookmark=pd),Ra.treeAdapter.detachNode(od),Ra.treeAdapter.appendChild(dd,od),od=dd)}return od}function aaRecreateElementFromEntry(Ra,qa){const nd=Ra.treeAdapter.getNamespaceURI(qa.element),od=Ra.treeAdapter.createElement(qa.token.tagName,nd,qa.token.attrs);return Ra.openElements.replace(qa.element,od),qa.element=od,od}function aaInsertLastNodeInCommonAncestor(Ra,qa,nd){const od=Ra.treeAdapter.getTagName(qa),ld=getTagID(od);if(Ra._isElementCausesFosterParenting(ld))Ra._fosterParentElement(nd);else{const ud=Ra.treeAdapter.getNamespaceURI(qa);ld===TAG_ID.TEMPLATE&&ud===NS.HTML&&(qa=Ra.treeAdapter.getTemplateContent(qa)),Ra.treeAdapter.appendChild(qa,nd)}}function aaReplaceFormattingElement(Ra,qa,nd){const od=Ra.treeAdapter.getNamespaceURI(nd.element),{token:ld}=nd,ud=Ra.treeAdapter.createElement(ld.tagName,od,ld.attrs);Ra._adoptNodes(qa,ud),Ra.treeAdapter.appendChild(qa,ud),Ra.activeFormattingElements.insertElementAfterBookmark(ud,ld),Ra.activeFormattingElements.removeEntry(nd),Ra.openElements.remove(nd.element),Ra.openElements.insertAfter(qa,ud,ld.tagID)}function callAdoptionAgency(Ra,qa){for(let nd=0;nd<AA_OUTER_LOOP_ITER;nd++){const od=aaObtainFormattingElementEntry(Ra,qa);if(!od)break;const ld=aaObtainFurthestBlock(Ra,od);if(!ld)break;Ra.activeFormattingElements.bookmark=od;const ud=aaInnerLoop(Ra,ld,od.element),dd=Ra.openElements.getCommonAncestor(od.element);Ra.treeAdapter.detachNode(ud),dd&&aaInsertLastNodeInCommonAncestor(Ra,dd,ud),aaReplaceFormattingElement(Ra,ld,od)}}function appendComment(Ra,qa){Ra._appendCommentNode(qa,Ra.openElements.currentTmplContentOrNode)}function appendCommentToRootHtmlElement(Ra,qa){Ra._appendCommentNode(qa,Ra.openElements.items[0])}function appendCommentToDocument(Ra,qa){Ra._appendCommentNode(qa,Ra.document)}function stopParsing(Ra,qa){if(Ra.stopped=!0,qa.location){const nd=Ra.fragmentContext?0:2;for(let od=Ra.openElements.stackTop;od>=nd;od--)Ra._setEndLocation(Ra.openElements.items[od],qa);if(!Ra.fragmentContext&&Ra.openElements.stackTop>=0){const od=Ra.openElements.items[0],ld=Ra.treeAdapter.getNodeSourceCodeLocation(od);if(ld&&!ld.endTag&&(Ra._setEndLocation(od,qa),Ra.openElements.stackTop>=1)){const ud=Ra.openElements.items[1],dd=Ra.treeAdapter.getNodeSourceCodeLocation(ud);dd&&!dd.endTag&&Ra._setEndLocation(ud,qa)}}}}function doctypeInInitialMode(Ra,qa){Ra._setDocumentType(qa);const nd=qa.forceQuirks?DOCUMENT_MODE.QUIRKS:getDocumentMode(qa);isConforming(qa)||Ra._err(qa,ERR.nonConformingDoctype),Ra.treeAdapter.setDocumentMode(Ra.document,nd),Ra.insertionMode=InsertionMode.BEFORE_HTML}function tokenInInitialMode(Ra,qa){Ra._err(qa,ERR.missingDoctype,!0),Ra.treeAdapter.setDocumentMode(Ra.document,DOCUMENT_MODE.QUIRKS),Ra.insertionMode=InsertionMode.BEFORE_HTML,Ra._processToken(qa)}function startTagBeforeHtml(Ra,qa){qa.tagID===TAG_ID.HTML?(Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.BEFORE_HEAD):tokenBeforeHtml(Ra,qa)}function endTagBeforeHtml(Ra,qa){const nd=qa.tagID;(nd===TAG_ID.HTML||nd===TAG_ID.HEAD||nd===TAG_ID.BODY||nd===TAG_ID.BR)&&tokenBeforeHtml(Ra,qa)}function tokenBeforeHtml(Ra,qa){Ra._insertFakeRootElement(),Ra.insertionMode=InsertionMode.BEFORE_HEAD,Ra._processToken(qa)}function startTagBeforeHead(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.HEAD:{Ra._insertElement(qa,NS.HTML),Ra.headElement=Ra.openElements.current,Ra.insertionMode=InsertionMode.IN_HEAD;break}default:tokenBeforeHead(Ra,qa)}}function endTagBeforeHead(Ra,qa){const nd=qa.tagID;nd===TAG_ID.HEAD||nd===TAG_ID.BODY||nd===TAG_ID.HTML||nd===TAG_ID.BR?tokenBeforeHead(Ra,qa):Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}function tokenBeforeHead(Ra,qa){Ra._insertFakeElement(TAG_NAMES.HEAD,TAG_ID.HEAD),Ra.headElement=Ra.openElements.current,Ra.insertionMode=InsertionMode.IN_HEAD,Ra._processToken(qa)}function startTagInHead(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.BASE:case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.LINK:case TAG_ID.META:{Ra._appendElement(qa,NS.HTML),qa.ackSelfClosing=!0;break}case TAG_ID.TITLE:{Ra._switchToTextParsing(qa,TokenizerMode.RCDATA);break}case TAG_ID.NOSCRIPT:{Ra.options.scriptingEnabled?Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT):(Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_HEAD_NO_SCRIPT);break}case TAG_ID.NOFRAMES:case TAG_ID.STYLE:{Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT);break}case TAG_ID.SCRIPT:{Ra._switchToTextParsing(qa,TokenizerMode.SCRIPT_DATA);break}case TAG_ID.TEMPLATE:{Ra._insertTemplate(qa),Ra.activeFormattingElements.insertMarker(),Ra.framesetOk=!1,Ra.insertionMode=InsertionMode.IN_TEMPLATE,Ra.tmplInsertionModeStack.unshift(InsertionMode.IN_TEMPLATE);break}case TAG_ID.HEAD:{Ra._err(qa,ERR.misplacedStartTagForHeadElement);break}default:tokenInHead(Ra,qa)}}function endTagInHead(Ra,qa){switch(qa.tagID){case TAG_ID.HEAD:{Ra.openElements.pop(),Ra.insertionMode=InsertionMode.AFTER_HEAD;break}case TAG_ID.BODY:case TAG_ID.BR:case TAG_ID.HTML:{tokenInHead(Ra,qa);break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}default:Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}}function templateEndTagInHead(Ra,qa){Ra.openElements.tmplCount>0?(Ra.openElements.generateImpliedEndTagsThoroughly(),Ra.openElements.currentTagId!==TAG_ID.TEMPLATE&&Ra._err(qa,ERR.closingOfElementWithOpenChildElements),Ra.openElements.popUntilTagNamePopped(TAG_ID.TEMPLATE),Ra.activeFormattingElements.clearToLastMarker(),Ra.tmplInsertionModeStack.shift(),Ra._resetInsertionMode()):Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}function tokenInHead(Ra,qa){Ra.openElements.pop(),Ra.insertionMode=InsertionMode.AFTER_HEAD,Ra._processToken(qa)}function startTagInHeadNoScript(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.HEAD:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.NOFRAMES:case TAG_ID.STYLE:{startTagInHead(Ra,qa);break}case TAG_ID.NOSCRIPT:{Ra._err(qa,ERR.nestedNoscriptInHead);break}default:tokenInHeadNoScript(Ra,qa)}}function endTagInHeadNoScript(Ra,qa){switch(qa.tagID){case TAG_ID.NOSCRIPT:{Ra.openElements.pop(),Ra.insertionMode=InsertionMode.IN_HEAD;break}case TAG_ID.BR:{tokenInHeadNoScript(Ra,qa);break}default:Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}}function tokenInHeadNoScript(Ra,qa){const nd=qa.type===TokenType.EOF?ERR.openElementsLeftAfterEof:ERR.disallowedContentInNoscriptInHead;Ra._err(qa,nd),Ra.openElements.pop(),Ra.insertionMode=InsertionMode.IN_HEAD,Ra._processToken(qa)}function startTagAfterHead(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.BODY:{Ra._insertElement(qa,NS.HTML),Ra.framesetOk=!1,Ra.insertionMode=InsertionMode.IN_BODY;break}case TAG_ID.FRAMESET:{Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_FRAMESET;break}case TAG_ID.BASE:case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.NOFRAMES:case TAG_ID.SCRIPT:case TAG_ID.STYLE:case TAG_ID.TEMPLATE:case TAG_ID.TITLE:{Ra._err(qa,ERR.abandonedHeadElementChild),Ra.openElements.push(Ra.headElement,TAG_ID.HEAD),startTagInHead(Ra,qa),Ra.openElements.remove(Ra.headElement);break}case TAG_ID.HEAD:{Ra._err(qa,ERR.misplacedStartTagForHeadElement);break}default:tokenAfterHead(Ra,qa)}}function endTagAfterHead(Ra,qa){switch(qa.tagID){case TAG_ID.BODY:case TAG_ID.HTML:case TAG_ID.BR:{tokenAfterHead(Ra,qa);break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}default:Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}}function tokenAfterHead(Ra,qa){Ra._insertFakeElement(TAG_NAMES.BODY,TAG_ID.BODY),Ra.insertionMode=InsertionMode.IN_BODY,modeInBody(Ra,qa)}function modeInBody(Ra,qa){switch(qa.type){case TokenType.CHARACTER:{characterInBody(Ra,qa);break}case TokenType.WHITESPACE_CHARACTER:{whitespaceCharacterInBody(Ra,qa);break}case TokenType.COMMENT:{appendComment(Ra,qa);break}case TokenType.START_TAG:{startTagInBody(Ra,qa);break}case TokenType.END_TAG:{endTagInBody(Ra,qa);break}case TokenType.EOF:{eofInBody(Ra,qa);break}}}function whitespaceCharacterInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertCharacters(qa)}function characterInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertCharacters(qa),Ra.framesetOk=!1}function htmlStartTagInBody(Ra,qa){Ra.openElements.tmplCount===0&&Ra.treeAdapter.adoptAttributes(Ra.openElements.items[0],qa.attrs)}function bodyStartTagInBody(Ra,qa){const nd=Ra.openElements.tryPeekProperlyNestedBodyElement();nd&&Ra.openElements.tmplCount===0&&(Ra.framesetOk=!1,Ra.treeAdapter.adoptAttributes(nd,qa.attrs))}function framesetStartTagInBody(Ra,qa){const nd=Ra.openElements.tryPeekProperlyNestedBodyElement();Ra.framesetOk&&nd&&(Ra.treeAdapter.detachNode(nd),Ra.openElements.popAllUpToHtmlElement(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_FRAMESET)}function addressStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML)}function numberedHeaderStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),NUMBERED_HEADERS.has(Ra.openElements.currentTagId)&&Ra.openElements.pop(),Ra._insertElement(qa,NS.HTML)}function preStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML),Ra.skipNextNewLine=!0,Ra.framesetOk=!1}function formStartTagInBody(Ra,qa){const nd=Ra.openElements.tmplCount>0;(!Ra.formElement||nd)&&(Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML),nd||(Ra.formElement=Ra.openElements.current))}function listItemStartTagInBody(Ra,qa){Ra.framesetOk=!1;const nd=qa.tagID;for(let od=Ra.openElements.stackTop;od>=0;od--){const ld=Ra.openElements.tagIDs[od];if(nd===TAG_ID.LI&&ld===TAG_ID.LI||(nd===TAG_ID.DD||nd===TAG_ID.DT)&&(ld===TAG_ID.DD||ld===TAG_ID.DT)){Ra.openElements.generateImpliedEndTagsWithExclusion(ld),Ra.openElements.popUntilTagNamePopped(ld);break}if(ld!==TAG_ID.ADDRESS&&ld!==TAG_ID.DIV&&ld!==TAG_ID.P&&Ra._isSpecialElement(Ra.openElements.items[od],ld))break}Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML)}function plaintextStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML),Ra.tokenizer.state=TokenizerMode.PLAINTEXT}function buttonStartTagInBody(Ra,qa){Ra.openElements.hasInScope(TAG_ID.BUTTON)&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilTagNamePopped(TAG_ID.BUTTON)),Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.framesetOk=!1}function aStartTagInBody(Ra,qa){const nd=Ra.activeFormattingElements.getElementEntryInScopeWithTagName(TAG_NAMES.A);nd&&(callAdoptionAgency(Ra,qa),Ra.openElements.remove(nd.element),Ra.activeFormattingElements.removeEntry(nd)),Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.activeFormattingElements.pushElement(Ra.openElements.current,qa)}function bStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.activeFormattingElements.pushElement(Ra.openElements.current,qa)}function nobrStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra.openElements.hasInScope(TAG_ID.NOBR)&&(callAdoptionAgency(Ra,qa),Ra._reconstructActiveFormattingElements()),Ra._insertElement(qa,NS.HTML),Ra.activeFormattingElements.pushElement(Ra.openElements.current,qa)}function appletStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.activeFormattingElements.insertMarker(),Ra.framesetOk=!1}function tableStartTagInBody(Ra,qa){Ra.treeAdapter.getDocumentMode(Ra.document)!==DOCUMENT_MODE.QUIRKS&&Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML),Ra.framesetOk=!1,Ra.insertionMode=InsertionMode.IN_TABLE}function areaStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._appendElement(qa,NS.HTML),Ra.framesetOk=!1,qa.ackSelfClosing=!0}function isHiddenInput(Ra){const qa=getTokenAttr(Ra,ATTRS.TYPE);return qa!=null&&qa.toLowerCase()===HIDDEN_INPUT_TYPE}function inputStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._appendElement(qa,NS.HTML),isHiddenInput(qa)||(Ra.framesetOk=!1),qa.ackSelfClosing=!0}function paramStartTagInBody(Ra,qa){Ra._appendElement(qa,NS.HTML),qa.ackSelfClosing=!0}function hrStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._appendElement(qa,NS.HTML),Ra.framesetOk=!1,qa.ackSelfClosing=!0}function imageStartTagInBody(Ra,qa){qa.tagName=TAG_NAMES.IMG,qa.tagID=TAG_ID.IMG,areaStartTagInBody(Ra,qa)}function textareaStartTagInBody(Ra,qa){Ra._insertElement(qa,NS.HTML),Ra.skipNextNewLine=!0,Ra.tokenizer.state=TokenizerMode.RCDATA,Ra.originalInsertionMode=Ra.insertionMode,Ra.framesetOk=!1,Ra.insertionMode=InsertionMode.TEXT}function xmpStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._reconstructActiveFormattingElements(),Ra.framesetOk=!1,Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT)}function iframeStartTagInBody(Ra,qa){Ra.framesetOk=!1,Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT)}function rawTextStartTagInBody(Ra,qa){Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT)}function selectStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.framesetOk=!1,Ra.insertionMode=Ra.insertionMode===InsertionMode.IN_TABLE||Ra.insertionMode===InsertionMode.IN_CAPTION||Ra.insertionMode===InsertionMode.IN_TABLE_BODY||Ra.insertionMode===InsertionMode.IN_ROW||Ra.insertionMode===InsertionMode.IN_CELL?InsertionMode.IN_SELECT_IN_TABLE:InsertionMode.IN_SELECT}function optgroupStartTagInBody(Ra,qa){Ra.openElements.currentTagId===TAG_ID.OPTION&&Ra.openElements.pop(),Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML)}function rbStartTagInBody(Ra,qa){Ra.openElements.hasInScope(TAG_ID.RUBY)&&Ra.openElements.generateImpliedEndTags(),Ra._insertElement(qa,NS.HTML)}function rtStartTagInBody(Ra,qa){Ra.openElements.hasInScope(TAG_ID.RUBY)&&Ra.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.RTC),Ra._insertElement(qa,NS.HTML)}function mathStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),adjustTokenMathMLAttrs(qa),adjustTokenXMLAttrs(qa),qa.selfClosing?Ra._appendElement(qa,NS.MATHML):Ra._insertElement(qa,NS.MATHML),qa.ackSelfClosing=!0}function svgStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),adjustTokenSVGAttrs(qa),adjustTokenXMLAttrs(qa),qa.selfClosing?Ra._appendElement(qa,NS.SVG):Ra._insertElement(qa,NS.SVG),qa.ackSelfClosing=!0}function genericStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML)}function startTagInBody(Ra,qa){switch(qa.tagID){case TAG_ID.I:case TAG_ID.S:case TAG_ID.B:case TAG_ID.U:case TAG_ID.EM:case TAG_ID.TT:case TAG_ID.BIG:case TAG_ID.CODE:case TAG_ID.FONT:case TAG_ID.SMALL:case TAG_ID.STRIKE:case TAG_ID.STRONG:{bStartTagInBody(Ra,qa);break}case TAG_ID.A:{aStartTagInBody(Ra,qa);break}case TAG_ID.H1:case TAG_ID.H2:case TAG_ID.H3:case TAG_ID.H4:case TAG_ID.H5:case TAG_ID.H6:{numberedHeaderStartTagInBody(Ra,qa);break}case TAG_ID.P:case TAG_ID.DL:case TAG_ID.OL:case TAG_ID.UL:case TAG_ID.DIV:case TAG_ID.DIR:case TAG_ID.NAV:case TAG_ID.MAIN:case TAG_ID.MENU:case TAG_ID.ASIDE:case TAG_ID.CENTER:case TAG_ID.FIGURE:case TAG_ID.FOOTER:case TAG_ID.HEADER:case TAG_ID.HGROUP:case TAG_ID.DIALOG:case TAG_ID.DETAILS:case TAG_ID.ADDRESS:case TAG_ID.ARTICLE:case TAG_ID.SEARCH:case TAG_ID.SECTION:case TAG_ID.SUMMARY:case TAG_ID.FIELDSET:case TAG_ID.BLOCKQUOTE:case TAG_ID.FIGCAPTION:{addressStartTagInBody(Ra,qa);break}case TAG_ID.LI:case TAG_ID.DD:case TAG_ID.DT:{listItemStartTagInBody(Ra,qa);break}case TAG_ID.BR:case TAG_ID.IMG:case TAG_ID.WBR:case TAG_ID.AREA:case TAG_ID.EMBED:case TAG_ID.KEYGEN:{areaStartTagInBody(Ra,qa);break}case TAG_ID.HR:{hrStartTagInBody(Ra,qa);break}case TAG_ID.RB:case TAG_ID.RTC:{rbStartTagInBody(Ra,qa);break}case TAG_ID.RT:case TAG_ID.RP:{rtStartTagInBody(Ra,qa);break}case TAG_ID.PRE:case TAG_ID.LISTING:{preStartTagInBody(Ra,qa);break}case TAG_ID.XMP:{xmpStartTagInBody(Ra,qa);break}case TAG_ID.SVG:{svgStartTagInBody(Ra,qa);break}case TAG_ID.HTML:{htmlStartTagInBody(Ra,qa);break}case TAG_ID.BASE:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.STYLE:case TAG_ID.TITLE:case TAG_ID.SCRIPT:case TAG_ID.BGSOUND:case TAG_ID.BASEFONT:case TAG_ID.TEMPLATE:{startTagInHead(Ra,qa);break}case TAG_ID.BODY:{bodyStartTagInBody(Ra,qa);break}case TAG_ID.FORM:{formStartTagInBody(Ra,qa);break}case TAG_ID.NOBR:{nobrStartTagInBody(Ra,qa);break}case TAG_ID.MATH:{mathStartTagInBody(Ra,qa);break}case TAG_ID.TABLE:{tableStartTagInBody(Ra,qa);break}case TAG_ID.INPUT:{inputStartTagInBody(Ra,qa);break}case TAG_ID.PARAM:case TAG_ID.TRACK:case TAG_ID.SOURCE:{paramStartTagInBody(Ra,qa);break}case TAG_ID.IMAGE:{imageStartTagInBody(Ra,qa);break}case TAG_ID.BUTTON:{buttonStartTagInBody(Ra,qa);break}case TAG_ID.APPLET:case TAG_ID.OBJECT:case TAG_ID.MARQUEE:{appletStartTagInBody(Ra,qa);break}case TAG_ID.IFRAME:{iframeStartTagInBody(Ra,qa);break}case TAG_ID.SELECT:{selectStartTagInBody(Ra,qa);break}case TAG_ID.OPTION:case TAG_ID.OPTGROUP:{optgroupStartTagInBody(Ra,qa);break}case TAG_ID.NOEMBED:case TAG_ID.NOFRAMES:{rawTextStartTagInBody(Ra,qa);break}case TAG_ID.FRAMESET:{framesetStartTagInBody(Ra,qa);break}case TAG_ID.TEXTAREA:{textareaStartTagInBody(Ra,qa);break}case TAG_ID.NOSCRIPT:{Ra.options.scriptingEnabled?rawTextStartTagInBody(Ra,qa):genericStartTagInBody(Ra,qa);break}case TAG_ID.PLAINTEXT:{plaintextStartTagInBody(Ra,qa);break}case TAG_ID.COL:case TAG_ID.TH:case TAG_ID.TD:case TAG_ID.TR:case TAG_ID.HEAD:case TAG_ID.FRAME:case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:case TAG_ID.CAPTION:case TAG_ID.COLGROUP:break;default:genericStartTagInBody(Ra,qa)}}function bodyEndTagInBody(Ra,qa){if(Ra.openElements.hasInScope(TAG_ID.BODY)&&(Ra.insertionMode=InsertionMode.AFTER_BODY,Ra.options.sourceCodeLocationInfo)){const nd=Ra.openElements.tryPeekProperlyNestedBodyElement();nd&&Ra._setEndLocation(nd,qa)}}function htmlEndTagInBody(Ra,qa){Ra.openElements.hasInScope(TAG_ID.BODY)&&(Ra.insertionMode=InsertionMode.AFTER_BODY,endTagAfterBody(Ra,qa))}function addressEndTagInBody(Ra,qa){const nd=qa.tagID;Ra.openElements.hasInScope(nd)&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilTagNamePopped(nd))}function formEndTagInBody(Ra){const qa=Ra.openElements.tmplCount>0,{formElement:nd}=Ra;qa||(Ra.formElement=null),(nd||qa)&&Ra.openElements.hasInScope(TAG_ID.FORM)&&(Ra.openElements.generateImpliedEndTags(),qa?Ra.openElements.popUntilTagNamePopped(TAG_ID.FORM):nd&&Ra.openElements.remove(nd))}function pEndTagInBody(Ra){Ra.openElements.hasInButtonScope(TAG_ID.P)||Ra._insertFakeElement(TAG_NAMES.P,TAG_ID.P),Ra._closePElement()}function liEndTagInBody(Ra){Ra.openElements.hasInListItemScope(TAG_ID.LI)&&(Ra.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.LI),Ra.openElements.popUntilTagNamePopped(TAG_ID.LI))}function ddEndTagInBody(Ra,qa){const nd=qa.tagID;Ra.openElements.hasInScope(nd)&&(Ra.openElements.generateImpliedEndTagsWithExclusion(nd),Ra.openElements.popUntilTagNamePopped(nd))}function numberedHeaderEndTagInBody(Ra){Ra.openElements.hasNumberedHeaderInScope()&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilNumberedHeaderPopped())}function appletEndTagInBody(Ra,qa){const nd=qa.tagID;Ra.openElements.hasInScope(nd)&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilTagNamePopped(nd),Ra.activeFormattingElements.clearToLastMarker())}function brEndTagInBody(Ra){Ra._reconstructActiveFormattingElements(),Ra._insertFakeElement(TAG_NAMES.BR,TAG_ID.BR),Ra.openElements.pop(),Ra.framesetOk=!1}function genericEndTagInBody(Ra,qa){const nd=qa.tagName,od=qa.tagID;for(let ld=Ra.openElements.stackTop;ld>0;ld--){const ud=Ra.openElements.items[ld],dd=Ra.openElements.tagIDs[ld];if(od===dd&&(od!==TAG_ID.UNKNOWN||Ra.treeAdapter.getTagName(ud)===nd)){Ra.openElements.generateImpliedEndTagsWithExclusion(od),Ra.openElements.stackTop>=ld&&Ra.openElements.shortenToLength(ld);break}if(Ra._isSpecialElement(ud,dd))break}}function endTagInBody(Ra,qa){switch(qa.tagID){case TAG_ID.A:case TAG_ID.B:case TAG_ID.I:case TAG_ID.S:case TAG_ID.U:case TAG_ID.EM:case TAG_ID.TT:case TAG_ID.BIG:case TAG_ID.CODE:case TAG_ID.FONT:case TAG_ID.NOBR:case TAG_ID.SMALL:case TAG_ID.STRIKE:case TAG_ID.STRONG:{callAdoptionAgency(Ra,qa);break}case TAG_ID.P:{pEndTagInBody(Ra);break}case TAG_ID.DL:case TAG_ID.UL:case TAG_ID.OL:case TAG_ID.DIR:case TAG_ID.DIV:case TAG_ID.NAV:case TAG_ID.PRE:case TAG_ID.MAIN:case TAG_ID.MENU:case TAG_ID.ASIDE:case TAG_ID.BUTTON:case TAG_ID.CENTER:case TAG_ID.FIGURE:case TAG_ID.FOOTER:case TAG_ID.HEADER:case TAG_ID.HGROUP:case TAG_ID.DIALOG:case TAG_ID.ADDRESS:case TAG_ID.ARTICLE:case TAG_ID.DETAILS:case TAG_ID.SEARCH:case TAG_ID.SECTION:case TAG_ID.SUMMARY:case TAG_ID.LISTING:case TAG_ID.FIELDSET:case TAG_ID.BLOCKQUOTE:case TAG_ID.FIGCAPTION:{addressEndTagInBody(Ra,qa);break}case TAG_ID.LI:{liEndTagInBody(Ra);break}case TAG_ID.DD:case TAG_ID.DT:{ddEndTagInBody(Ra,qa);break}case TAG_ID.H1:case TAG_ID.H2:case TAG_ID.H3:case TAG_ID.H4:case TAG_ID.H5:case TAG_ID.H6:{numberedHeaderEndTagInBody(Ra);break}case TAG_ID.BR:{brEndTagInBody(Ra);break}case TAG_ID.BODY:{bodyEndTagInBody(Ra,qa);break}case TAG_ID.HTML:{htmlEndTagInBody(Ra,qa);break}case TAG_ID.FORM:{formEndTagInBody(Ra);break}case TAG_ID.APPLET:case TAG_ID.OBJECT:case TAG_ID.MARQUEE:{appletEndTagInBody(Ra,qa);break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}default:genericEndTagInBody(Ra,qa)}}function eofInBody(Ra,qa){Ra.tmplInsertionModeStack.length>0?eofInTemplate(Ra,qa):stopParsing(Ra,qa)}function endTagInText(Ra,qa){var nd;qa.tagID===TAG_ID.SCRIPT&&((nd=Ra.scriptHandler)===null||nd===void 0||nd.call(Ra,Ra.openElements.current)),Ra.openElements.pop(),Ra.insertionMode=Ra.originalInsertionMode}function eofInText(Ra,qa){Ra._err(qa,ERR.eofInElementThatCanContainOnlyText),Ra.openElements.pop(),Ra.insertionMode=Ra.originalInsertionMode,Ra.onEof(qa)}function characterInTable(Ra,qa){if(TABLE_STRUCTURE_TAGS.has(Ra.openElements.currentTagId))switch(Ra.pendingCharacterTokens.length=0,Ra.hasNonWhitespacePendingCharacterToken=!1,Ra.originalInsertionMode=Ra.insertionMode,Ra.insertionMode=InsertionMode.IN_TABLE_TEXT,qa.type){case TokenType.CHARACTER:{characterInTableText(Ra,qa);break}case TokenType.WHITESPACE_CHARACTER:{whitespaceCharacterInTableText(Ra,qa);break}}else tokenInTable(Ra,qa)}function captionStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra.activeFormattingElements.insertMarker(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_CAPTION}function colgroupStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_COLUMN_GROUP}function colStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra._insertFakeElement(TAG_NAMES.COLGROUP,TAG_ID.COLGROUP),Ra.insertionMode=InsertionMode.IN_COLUMN_GROUP,startTagInColumnGroup(Ra,qa)}function tbodyStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_TABLE_BODY}function tdStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra._insertFakeElement(TAG_NAMES.TBODY,TAG_ID.TBODY),Ra.insertionMode=InsertionMode.IN_TABLE_BODY,startTagInTableBody(Ra,qa)}function tableStartTagInTable(Ra,qa){Ra.openElements.hasInTableScope(TAG_ID.TABLE)&&(Ra.openElements.popUntilTagNamePopped(TAG_ID.TABLE),Ra._resetInsertionMode(),Ra._processStartTag(qa))}function inputStartTagInTable(Ra,qa){isHiddenInput(qa)?Ra._appendElement(qa,NS.HTML):tokenInTable(Ra,qa),qa.ackSelfClosing=!0}function formStartTagInTable(Ra,qa){!Ra.formElement&&Ra.openElements.tmplCount===0&&(Ra._insertElement(qa,NS.HTML),Ra.formElement=Ra.openElements.current,Ra.openElements.pop())}function startTagInTable(Ra,qa){switch(qa.tagID){case TAG_ID.TD:case TAG_ID.TH:case TAG_ID.TR:{tdStartTagInTable(Ra,qa);break}case TAG_ID.STYLE:case TAG_ID.SCRIPT:case TAG_ID.TEMPLATE:{startTagInHead(Ra,qa);break}case TAG_ID.COL:{colStartTagInTable(Ra,qa);break}case TAG_ID.FORM:{formStartTagInTable(Ra,qa);break}case TAG_ID.TABLE:{tableStartTagInTable(Ra,qa);break}case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:{tbodyStartTagInTable(Ra,qa);break}case TAG_ID.INPUT:{inputStartTagInTable(Ra,qa);break}case TAG_ID.CAPTION:{captionStartTagInTable(Ra,qa);break}case TAG_ID.COLGROUP:{colgroupStartTagInTable(Ra,qa);break}default:tokenInTable(Ra,qa)}}function endTagInTable(Ra,qa){switch(qa.tagID){case TAG_ID.TABLE:{Ra.openElements.hasInTableScope(TAG_ID.TABLE)&&(Ra.openElements.popUntilTagNamePopped(TAG_ID.TABLE),Ra._resetInsertionMode());break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}case TAG_ID.BODY:case TAG_ID.CAPTION:case TAG_ID.COL:case TAG_ID.COLGROUP:case TAG_ID.HTML:case TAG_ID.TBODY:case TAG_ID.TD:case TAG_ID.TFOOT:case TAG_ID.TH:case TAG_ID.THEAD:case TAG_ID.TR:break;default:tokenInTable(Ra,qa)}}function tokenInTable(Ra,qa){const nd=Ra.fosterParentingEnabled;Ra.fosterParentingEnabled=!0,modeInBody(Ra,qa),Ra.fosterParentingEnabled=nd}function whitespaceCharacterInTableText(Ra,qa){Ra.pendingCharacterTokens.push(qa)}function characterInTableText(Ra,qa){Ra.pendingCharacterTokens.push(qa),Ra.hasNonWhitespacePendingCharacterToken=!0}function tokenInTableText(Ra,qa){let nd=0;if(Ra.hasNonWhitespacePendingCharacterToken)for(;nd<Ra.pendingCharacterTokens.length;nd++)tokenInTable(Ra,Ra.pendingCharacterTokens[nd]);else for(;nd<Ra.pendingCharacterTokens.length;nd++)Ra._insertCharacters(Ra.pendingCharacterTokens[nd]);Ra.insertionMode=Ra.originalInsertionMode,Ra._processToken(qa)}const TABLE_VOID_ELEMENTS=new Set([TAG_ID.CAPTION,TAG_ID.COL,TAG_ID.COLGROUP,TAG_ID.TBODY,TAG_ID.TD,TAG_ID.TFOOT,TAG_ID.TH,TAG_ID.THEAD,TAG_ID.TR]);function startTagInCaption(Ra,qa){const nd=qa.tagID;TABLE_VOID_ELEMENTS.has(nd)?Ra.openElements.hasInTableScope(TAG_ID.CAPTION)&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilTagNamePopped(TAG_ID.CAPTION),Ra.activeFormattingElements.clearToLastMarker(),Ra.insertionMode=InsertionMode.IN_TABLE,startTagInTable(Ra,qa)):startTagInBody(Ra,qa)}function endTagInCaption(Ra,qa){const nd=qa.tagID;switch(nd){case TAG_ID.CAPTION:case TAG_ID.TABLE:{Ra.openElements.hasInTableScope(TAG_ID.CAPTION)&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilTagNamePopped(TAG_ID.CAPTION),Ra.activeFormattingElements.clearToLastMarker(),Ra.insertionMode=InsertionMode.IN_TABLE,nd===TAG_ID.TABLE&&endTagInTable(Ra,qa));break}case TAG_ID.BODY:case TAG_ID.COL:case TAG_ID.COLGROUP:case TAG_ID.HTML:case TAG_ID.TBODY:case TAG_ID.TD:case TAG_ID.TFOOT:case TAG_ID.TH:case TAG_ID.THEAD:case TAG_ID.TR:break;default:endTagInBody(Ra,qa)}}function startTagInColumnGroup(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.COL:{Ra._appendElement(qa,NS.HTML),qa.ackSelfClosing=!0;break}case TAG_ID.TEMPLATE:{startTagInHead(Ra,qa);break}default:tokenInColumnGroup(Ra,qa)}}function endTagInColumnGroup(Ra,qa){switch(qa.tagID){case TAG_ID.COLGROUP:{Ra.openElements.currentTagId===TAG_ID.COLGROUP&&(Ra.openElements.pop(),Ra.insertionMode=InsertionMode.IN_TABLE);break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}case TAG_ID.COL:break;default:tokenInColumnGroup(Ra,qa)}}function tokenInColumnGroup(Ra,qa){Ra.openElements.currentTagId===TAG_ID.COLGROUP&&(Ra.openElements.pop(),Ra.insertionMode=InsertionMode.IN_TABLE,Ra._processToken(qa))}function startTagInTableBody(Ra,qa){switch(qa.tagID){case TAG_ID.TR:{Ra.openElements.clearBackToTableBodyContext(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_ROW;break}case TAG_ID.TH:case TAG_ID.TD:{Ra.openElements.clearBackToTableBodyContext(),Ra._insertFakeElement(TAG_NAMES.TR,TAG_ID.TR),Ra.insertionMode=InsertionMode.IN_ROW,startTagInRow(Ra,qa);break}case TAG_ID.CAPTION:case TAG_ID.COL:case TAG_ID.COLGROUP:case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:{Ra.openElements.hasTableBodyContextInTableScope()&&(Ra.openElements.clearBackToTableBodyContext(),Ra.openElements.pop(),Ra.insertionMode=InsertionMode.IN_TABLE,startTagInTable(Ra,qa));break}default:startTagInTable(Ra,qa)}}function endTagInTableBody(Ra,qa){const nd=qa.tagID;switch(qa.tagID){case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:{Ra.openElements.hasInTableScope(nd)&&(Ra.openElements.clearBackToTableBodyContext(),Ra.openElements.pop(),Ra.insertionMode=InsertionMode.IN_TABLE);break}case TAG_ID.TABLE:{Ra.openElements.hasTableBodyContextInTableScope()&&(Ra.openElements.clearBackToTableBodyContext(),Ra.openElements.pop(),Ra.insertionMode=InsertionMode.IN_TABLE,endTagInTable(Ra,qa));break}case TAG_ID.BODY:case TAG_ID.CAPTION:case TAG_ID.COL:case TAG_ID.COLGROUP:case TAG_ID.HTML:case TAG_ID.TD:case TAG_ID.TH:case TAG_ID.TR:break;default:endTagInTable(Ra,qa)}}function startTagInRow(Ra,qa){switch(qa.tagID){case TAG_ID.TH:case TAG_ID.TD:{Ra.openElements.clearBackToTableRowContext(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_CELL,Ra.activeFormattingElements.insertMarker();break}case TAG_ID.CAPTION:case TAG_ID.COL:case TAG_ID.COLGROUP:case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:case TAG_ID.TR:{Ra.openElements.hasInTableScope(TAG_ID.TR)&&(Ra.openElements.clearBackToTableRowContext(),Ra.openElements.pop(),Ra.insertionMode=InsertionMode.IN_TABLE_BODY,startTagInTableBody(Ra,qa));break}default:startTagInTable(Ra,qa)}}function endTagInRow(Ra,qa){switch(qa.tagID){case TAG_ID.TR:{Ra.openElements.hasInTableScope(TAG_ID.TR)&&(Ra.openElements.clearBackToTableRowContext(),Ra.openElements.pop(),Ra.insertionMode=InsertionMode.IN_TABLE_BODY);break}case TAG_ID.TABLE:{Ra.openElements.hasInTableScope(TAG_ID.TR)&&(Ra.openElements.clearBackToTableRowContext(),Ra.openElements.pop(),Ra.insertionMode=InsertionMode.IN_TABLE_BODY,endTagInTableBody(Ra,qa));break}case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:{(Ra.openElements.hasInTableScope(qa.tagID)||Ra.openElements.hasInTableScope(TAG_ID.TR))&&(Ra.openElements.clearBackToTableRowContext(),Ra.openElements.pop(),Ra.insertionMode=InsertionMode.IN_TABLE_BODY,endTagInTableBody(Ra,qa));break}case TAG_ID.BODY:case TAG_ID.CAPTION:case TAG_ID.COL:case TAG_ID.COLGROUP:case TAG_ID.HTML:case TAG_ID.TD:case TAG_ID.TH:break;default:endTagInTable(Ra,qa)}}function startTagInCell(Ra,qa){const nd=qa.tagID;TABLE_VOID_ELEMENTS.has(nd)?(Ra.openElements.hasInTableScope(TAG_ID.TD)||Ra.openElements.hasInTableScope(TAG_ID.TH))&&(Ra._closeTableCell(),startTagInRow(Ra,qa)):startTagInBody(Ra,qa)}function endTagInCell(Ra,qa){const nd=qa.tagID;switch(nd){case TAG_ID.TD:case TAG_ID.TH:{Ra.openElements.hasInTableScope(nd)&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilTagNamePopped(nd),Ra.activeFormattingElements.clearToLastMarker(),Ra.insertionMode=InsertionMode.IN_ROW);break}case TAG_ID.TABLE:case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:case TAG_ID.TR:{Ra.openElements.hasInTableScope(nd)&&(Ra._closeTableCell(),endTagInRow(Ra,qa));break}case TAG_ID.BODY:case TAG_ID.CAPTION:case TAG_ID.COL:case TAG_ID.COLGROUP:case TAG_ID.HTML:break;default:endTagInBody(Ra,qa)}}function startTagInSelect(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.OPTION:{Ra.openElements.currentTagId===TAG_ID.OPTION&&Ra.openElements.pop(),Ra._insertElement(qa,NS.HTML);break}case TAG_ID.OPTGROUP:{Ra.openElements.currentTagId===TAG_ID.OPTION&&Ra.openElements.pop(),Ra.openElements.currentTagId===TAG_ID.OPTGROUP&&Ra.openElements.pop(),Ra._insertElement(qa,NS.HTML);break}case TAG_ID.HR:{Ra.openElements.currentTagId===TAG_ID.OPTION&&Ra.openElements.pop(),Ra.openElements.currentTagId===TAG_ID.OPTGROUP&&Ra.openElements.pop(),Ra._appendElement(qa,NS.HTML),qa.ackSelfClosing=!0;break}case TAG_ID.INPUT:case TAG_ID.KEYGEN:case TAG_ID.TEXTAREA:case TAG_ID.SELECT:{Ra.openElements.hasInSelectScope(TAG_ID.SELECT)&&(Ra.openElements.popUntilTagNamePopped(TAG_ID.SELECT),Ra._resetInsertionMode(),qa.tagID!==TAG_ID.SELECT&&Ra._processStartTag(qa));break}case TAG_ID.SCRIPT:case TAG_ID.TEMPLATE:{startTagInHead(Ra,qa);break}}}function endTagInSelect(Ra,qa){switch(qa.tagID){case TAG_ID.OPTGROUP:{Ra.openElements.stackTop>0&&Ra.openElements.currentTagId===TAG_ID.OPTION&&Ra.openElements.tagIDs[Ra.openElements.stackTop-1]===TAG_ID.OPTGROUP&&Ra.openElements.pop(),Ra.openElements.currentTagId===TAG_ID.OPTGROUP&&Ra.openElements.pop();break}case TAG_ID.OPTION:{Ra.openElements.currentTagId===TAG_ID.OPTION&&Ra.openElements.pop();break}case TAG_ID.SELECT:{Ra.openElements.hasInSelectScope(TAG_ID.SELECT)&&(Ra.openElements.popUntilTagNamePopped(TAG_ID.SELECT),Ra._resetInsertionMode());break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}}}function startTagInSelectInTable(Ra,qa){const nd=qa.tagID;nd===TAG_ID.CAPTION||nd===TAG_ID.TABLE||nd===TAG_ID.TBODY||nd===TAG_ID.TFOOT||nd===TAG_ID.THEAD||nd===TAG_ID.TR||nd===TAG_ID.TD||nd===TAG_ID.TH?(Ra.openElements.popUntilTagNamePopped(TAG_ID.SELECT),Ra._resetInsertionMode(),Ra._processStartTag(qa)):startTagInSelect(Ra,qa)}function endTagInSelectInTable(Ra,qa){const nd=qa.tagID;nd===TAG_ID.CAPTION||nd===TAG_ID.TABLE||nd===TAG_ID.TBODY||nd===TAG_ID.TFOOT||nd===TAG_ID.THEAD||nd===TAG_ID.TR||nd===TAG_ID.TD||nd===TAG_ID.TH?Ra.openElements.hasInTableScope(nd)&&(Ra.openElements.popUntilTagNamePopped(TAG_ID.SELECT),Ra._resetInsertionMode(),Ra.onEndTag(qa)):endTagInSelect(Ra,qa)}function startTagInTemplate(Ra,qa){switch(qa.tagID){case TAG_ID.BASE:case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.NOFRAMES:case TAG_ID.SCRIPT:case TAG_ID.STYLE:case TAG_ID.TEMPLATE:case TAG_ID.TITLE:{startTagInHead(Ra,qa);break}case TAG_ID.CAPTION:case TAG_ID.COLGROUP:case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:{Ra.tmplInsertionModeStack[0]=InsertionMode.IN_TABLE,Ra.insertionMode=InsertionMode.IN_TABLE,startTagInTable(Ra,qa);break}case TAG_ID.COL:{Ra.tmplInsertionModeStack[0]=InsertionMode.IN_COLUMN_GROUP,Ra.insertionMode=InsertionMode.IN_COLUMN_GROUP,startTagInColumnGroup(Ra,qa);break}case TAG_ID.TR:{Ra.tmplInsertionModeStack[0]=InsertionMode.IN_TABLE_BODY,Ra.insertionMode=InsertionMode.IN_TABLE_BODY,startTagInTableBody(Ra,qa);break}case TAG_ID.TD:case TAG_ID.TH:{Ra.tmplInsertionModeStack[0]=InsertionMode.IN_ROW,Ra.insertionMode=InsertionMode.IN_ROW,startTagInRow(Ra,qa);break}default:Ra.tmplInsertionModeStack[0]=InsertionMode.IN_BODY,Ra.insertionMode=InsertionMode.IN_BODY,startTagInBody(Ra,qa)}}function endTagInTemplate(Ra,qa){qa.tagID===TAG_ID.TEMPLATE&&templateEndTagInHead(Ra,qa)}function eofInTemplate(Ra,qa){Ra.openElements.tmplCount>0?(Ra.openElements.popUntilTagNamePopped(TAG_ID.TEMPLATE),Ra.activeFormattingElements.clearToLastMarker(),Ra.tmplInsertionModeStack.shift(),Ra._resetInsertionMode(),Ra.onEof(qa)):stopParsing(Ra,qa)}function startTagAfterBody(Ra,qa){qa.tagID===TAG_ID.HTML?startTagInBody(Ra,qa):tokenAfterBody(Ra,qa)}function endTagAfterBody(Ra,qa){var nd;if(qa.tagID===TAG_ID.HTML){if(Ra.fragmentContext||(Ra.insertionMode=InsertionMode.AFTER_AFTER_BODY),Ra.options.sourceCodeLocationInfo&&Ra.openElements.tagIDs[0]===TAG_ID.HTML){Ra._setEndLocation(Ra.openElements.items[0],qa);const od=Ra.openElements.items[1];od&&!(!((nd=Ra.treeAdapter.getNodeSourceCodeLocation(od))===null||nd===void 0)&&nd.endTag)&&Ra._setEndLocation(od,qa)}}else tokenAfterBody(Ra,qa)}function tokenAfterBody(Ra,qa){Ra.insertionMode=InsertionMode.IN_BODY,modeInBody(Ra,qa)}function startTagInFrameset(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.FRAMESET:{Ra._insertElement(qa,NS.HTML);break}case TAG_ID.FRAME:{Ra._appendElement(qa,NS.HTML),qa.ackSelfClosing=!0;break}case TAG_ID.NOFRAMES:{startTagInHead(Ra,qa);break}}}function endTagInFrameset(Ra,qa){qa.tagID===TAG_ID.FRAMESET&&!Ra.openElements.isRootHtmlElementCurrent()&&(Ra.openElements.pop(),!Ra.fragmentContext&&Ra.openElements.currentTagId!==TAG_ID.FRAMESET&&(Ra.insertionMode=InsertionMode.AFTER_FRAMESET))}function startTagAfterFrameset(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.NOFRAMES:{startTagInHead(Ra,qa);break}}}function endTagAfterFrameset(Ra,qa){qa.tagID===TAG_ID.HTML&&(Ra.insertionMode=InsertionMode.AFTER_AFTER_FRAMESET)}function startTagAfterAfterBody(Ra,qa){qa.tagID===TAG_ID.HTML?startTagInBody(Ra,qa):tokenAfterAfterBody(Ra,qa)}function tokenAfterAfterBody(Ra,qa){Ra.insertionMode=InsertionMode.IN_BODY,modeInBody(Ra,qa)}function startTagAfterAfterFrameset(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.NOFRAMES:{startTagInHead(Ra,qa);break}}}function nullCharacterInForeignContent(Ra,qa){qa.chars=REPLACEMENT_CHARACTER,Ra._insertCharacters(qa)}function characterInForeignContent(Ra,qa){Ra._insertCharacters(qa),Ra.framesetOk=!1}function popUntilHtmlOrIntegrationPoint(Ra){for(;Ra.treeAdapter.getNamespaceURI(Ra.openElements.current)!==NS.HTML&&!Ra._isIntegrationPoint(Ra.openElements.currentTagId,Ra.openElements.current);)Ra.openElements.pop()}function startTagInForeignContent(Ra,qa){if(causesExit(qa))popUntilHtmlOrIntegrationPoint(Ra),Ra._startTagOutsideForeignContent(qa);else{const nd=Ra._getAdjustedCurrentElement(),od=Ra.treeAdapter.getNamespaceURI(nd);od===NS.MATHML?adjustTokenMathMLAttrs(qa):od===NS.SVG&&(adjustTokenSVGTagName(qa),adjustTokenSVGAttrs(qa)),adjustTokenXMLAttrs(qa),qa.selfClosing?Ra._appendElement(qa,od):Ra._insertElement(qa,od),qa.ackSelfClosing=!0}}function endTagInForeignContent(Ra,qa){if(qa.tagID===TAG_ID.P||qa.tagID===TAG_ID.BR){popUntilHtmlOrIntegrationPoint(Ra),Ra._endTagOutsideForeignContent(qa);return}for(let nd=Ra.openElements.stackTop;nd>0;nd--){const od=Ra.openElements.items[nd];if(Ra.treeAdapter.getNamespaceURI(od)===NS.HTML){Ra._endTagOutsideForeignContent(qa);break}const ld=Ra.treeAdapter.getTagName(od);if(ld.toLowerCase()===qa.tagName){qa.tagName=ld,Ra.openElements.shortenToLength(nd);break}}}const VOID_ELEMENTS=new Set([TAG_NAMES.AREA,TAG_NAMES.BASE,TAG_NAMES.BASEFONT,TAG_NAMES.BGSOUND,TAG_NAMES.BR,TAG_NAMES.COL,TAG_NAMES.EMBED,TAG_NAMES.FRAME,TAG_NAMES.HR,TAG_NAMES.IMG,TAG_NAMES.INPUT,TAG_NAMES.KEYGEN,TAG_NAMES.LINK,TAG_NAMES.META,TAG_NAMES.PARAM,TAG_NAMES.SOURCE,TAG_NAMES.TRACK,TAG_NAMES.WBR]);function isVoidElement(Ra,qa){return qa.treeAdapter.isElementNode(Ra)&&qa.treeAdapter.getNamespaceURI(Ra)===NS.HTML&&VOID_ELEMENTS.has(qa.treeAdapter.getTagName(Ra))}const defaultOpts={treeAdapter:defaultTreeAdapter,scriptingEnabled:!0};function serializeOuter(Ra,qa){const nd={...defaultOpts,...qa};return serializeNode(Ra,nd)}function serializeChildNodes(Ra,qa){let nd="";const od=qa.treeAdapter.isElementNode(Ra)&&qa.treeAdapter.getTagName(Ra)===TAG_NAMES.TEMPLATE&&qa.treeAdapter.getNamespaceURI(Ra)===NS.HTML?qa.treeAdapter.getTemplateContent(Ra):Ra,ld=qa.treeAdapter.getChildNodes(od);if(ld)for(const ud of ld)nd+=serializeNode(ud,qa);return nd}function serializeNode(Ra,qa){return qa.treeAdapter.isElementNode(Ra)?serializeElement(Ra,qa):qa.treeAdapter.isTextNode(Ra)?serializeTextNode(Ra,qa):qa.treeAdapter.isCommentNode(Ra)?serializeCommentNode(Ra,qa):qa.treeAdapter.isDocumentTypeNode(Ra)?serializeDocumentTypeNode(Ra,qa):""}function serializeElement(Ra,qa){const nd=qa.treeAdapter.getTagName(Ra);return`<${nd}${serializeAttributes(Ra,qa)}>${isVoidElement(Ra,qa)?"":`${serializeChildNodes(Ra,qa)}</${nd}>`}`}function serializeAttributes(Ra,{treeAdapter:qa}){let nd="";for(const od of qa.getAttrList(Ra)){if(nd+=" ",od.namespace)switch(od.namespace){case NS.XML:{nd+=`xml:${od.name}`;break}case NS.XMLNS:{od.name!=="xmlns"&&(nd+="xmlns:"),nd+=od.name;break}case NS.XLINK:{nd+=`xlink:${od.name}`;break}default:nd+=`${od.prefix}:${od.name}`}else nd+=od.name;nd+=`="${escapeAttribute(od.value)}"`}return nd}function serializeTextNode(Ra,qa){const{treeAdapter:nd}=qa,od=nd.getTextNodeContent(Ra),ld=nd.getParentNode(Ra),ud=ld&&nd.isElementNode(ld)&&nd.getTagName(ld);return ud&&nd.getNamespaceURI(ld)===NS.HTML&&hasUnescapedText(ud,qa.scriptingEnabled)?od:escapeText(od)}function serializeCommentNode(Ra,{treeAdapter:qa}){return`<!--${qa.getCommentNodeContent(Ra)}-->`}function serializeDocumentTypeNode(Ra,{treeAdapter:qa}){return`<!DOCTYPE ${qa.getDocumentTypeNodeName(Ra)}>`}function parse$5(Ra,qa){return Parser$2.parse(Ra,qa)}function parseFragment(Ra,qa,nd){typeof Ra=="string"&&(nd=qa,qa=Ra,Ra=null);const od=Parser$2.getFragmentParser(Ra,nd);return od.tokenizer.write(qa,!0),od.getFragment()}function enquoteDoctypeId(Ra){const qa=Ra.includes('"')?"'":'"';return qa+Ra+qa}function serializeDoctypeContent(Ra,qa,nd){let od="!DOCTYPE ";return Ra&&(od+=Ra),qa?od+=` PUBLIC ${enquoteDoctypeId(qa)}`:nd&&(od+=" SYSTEM"),nd&&(od+=` ${enquoteDoctypeId(nd)}`),od}const adapter={isCommentNode:isComment$2,isElementNode:isTag,isTextNode:isText,createDocument(){const Ra=new Document([]);return Ra["x-mode"]=DOCUMENT_MODE.NO_QUIRKS,Ra},createDocumentFragment(){return new Document([])},createElement(Ra,qa,nd){const od=Object.create(null),ld=Object.create(null),ud=Object.create(null);for(let pd=0;pd<nd.length;pd++){const fd=nd[pd].name;od[fd]=nd[pd].value,ld[fd]=nd[pd].namespace,ud[fd]=nd[pd].prefix}const dd=new Element$1(Ra,od,[]);return dd.namespace=qa,dd["x-attribsNamespace"]=ld,dd["x-attribsPrefix"]=ud,dd},createCommentNode(Ra){return new Comment(Ra)},createTextNode(Ra){return new Text(Ra)},appendChild(Ra,qa){const nd=Ra.children[Ra.children.length-1];nd&&(nd.next=qa,qa.prev=nd),Ra.children.push(qa),qa.parent=Ra},insertBefore(Ra,qa,nd){const od=Ra.children.indexOf(nd),{prev:ld}=nd;ld&&(ld.next=qa,qa.prev=ld),nd.prev=qa,qa.next=nd,Ra.children.splice(od,0,qa),qa.parent=Ra},setTemplateContent(Ra,qa){adapter.appendChild(Ra,qa)},getTemplateContent(Ra){return Ra.children[0]},setDocumentType(Ra,qa,nd,od){const ld=serializeDoctypeContent(qa,nd,od);let ud=Ra.children.find(dd=>isDirective(dd)&&dd.name==="!doctype");ud?ud.data=ld??null:(ud=new ProcessingInstruction("!doctype",ld),adapter.appendChild(Ra,ud)),ud["x-name"]=qa,ud["x-publicId"]=nd,ud["x-systemId"]=od},setDocumentMode(Ra,qa){Ra["x-mode"]=qa},getDocumentMode(Ra){return Ra["x-mode"]},detachNode(Ra){if(Ra.parent){const qa=Ra.parent.children.indexOf(Ra),{prev:nd,next:od}=Ra;Ra.prev=null,Ra.next=null,nd&&(nd.next=od),od&&(od.prev=nd),Ra.parent.children.splice(qa,1),Ra.parent=null}},insertText(Ra,qa){const nd=Ra.children[Ra.children.length-1];nd&&isText(nd)?nd.data+=qa:adapter.appendChild(Ra,adapter.createTextNode(qa))},insertTextBefore(Ra,qa,nd){const od=Ra.children[Ra.children.indexOf(nd)-1];od&&isText(od)?od.data+=qa:adapter.insertBefore(Ra,adapter.createTextNode(qa),nd)},adoptAttributes(Ra,qa){for(let nd=0;nd<qa.length;nd++){const od=qa[nd].name;Ra.attribs[od]===void 0&&(Ra.attribs[od]=qa[nd].value,Ra["x-attribsNamespace"][od]=qa[nd].namespace,Ra["x-attribsPrefix"][od]=qa[nd].prefix)}},getFirstChild(Ra){return Ra.children[0]},getChildNodes(Ra){return Ra.children},getParentNode(Ra){return Ra.parent},getAttrList(Ra){return Ra.attributes},getTagName(Ra){return Ra.name},getNamespaceURI(Ra){return Ra.namespace},getTextNodeContent(Ra){return Ra.data},getCommentNodeContent(Ra){return Ra.data},getDocumentTypeNodeName(Ra){var qa;return(qa=Ra["x-name"])!==null&&qa!==void 0?qa:""},getDocumentTypeNodePublicId(Ra){var qa;return(qa=Ra["x-publicId"])!==null&&qa!==void 0?qa:""},getDocumentTypeNodeSystemId(Ra){var qa;return(qa=Ra["x-systemId"])!==null&&qa!==void 0?qa:""},isDocumentTypeNode(Ra){return isDirective(Ra)&&Ra.name==="!doctype"},setNodeSourceCodeLocation(Ra,qa){qa&&(Ra.startIndex=qa.startOffset,Ra.endIndex=qa.endOffset),Ra.sourceCodeLocation=qa},getNodeSourceCodeLocation(Ra){return Ra.sourceCodeLocation},updateNodeSourceCodeLocation(Ra,qa){qa.endOffset!=null&&(Ra.endIndex=qa.endOffset),Ra.sourceCodeLocation={...Ra.sourceCodeLocation,...qa}}};function parseWithParse5(Ra,qa,nd,od){var ld;return(ld=qa.treeAdapter)!==null&&ld!==void 0||(qa.treeAdapter=adapter),qa.scriptingEnabled!==!1&&(qa.scriptingEnabled=!0),nd?parse$5(Ra,qa):parseFragment(od,Ra,qa)}const renderOpts={treeAdapter:adapter};function renderWithParse5(Ra){const qa="length"in Ra?Ra:[Ra];for(let od=0;od<qa.length;od+=1){const ld=qa[od];isDocument(ld)&&Array.prototype.splice.call(qa,od,1,...ld.children)}let nd="";for(let od=0;od<qa.length;od+=1){const ld=qa[od];nd+=serializeOuter(ld,renderOpts)}return nd}var CharCodes;(function(Ra){Ra[Ra.Tab=9]="Tab",Ra[Ra.NewLine=10]="NewLine",Ra[Ra.FormFeed=12]="FormFeed",Ra[Ra.CarriageReturn=13]="CarriageReturn",Ra[Ra.Space=32]="Space",Ra[Ra.ExclamationMark=33]="ExclamationMark",Ra[Ra.Number=35]="Number",Ra[Ra.Amp=38]="Amp",Ra[Ra.SingleQuote=39]="SingleQuote",Ra[Ra.DoubleQuote=34]="DoubleQuote",Ra[Ra.Dash=45]="Dash",Ra[Ra.Slash=47]="Slash",Ra[Ra.Zero=48]="Zero",Ra[Ra.Nine=57]="Nine",Ra[Ra.Semi=59]="Semi",Ra[Ra.Lt=60]="Lt",Ra[Ra.Eq=61]="Eq",Ra[Ra.Gt=62]="Gt",Ra[Ra.Questionmark=63]="Questionmark",Ra[Ra.UpperA=65]="UpperA",Ra[Ra.LowerA=97]="LowerA",Ra[Ra.UpperF=70]="UpperF",Ra[Ra.LowerF=102]="LowerF",Ra[Ra.UpperZ=90]="UpperZ",Ra[Ra.LowerZ=122]="LowerZ",Ra[Ra.LowerX=120]="LowerX",Ra[Ra.OpeningSquareBracket=91]="OpeningSquareBracket"})(CharCodes||(CharCodes={}));var State$4;(function(Ra){Ra[Ra.Text=1]="Text",Ra[Ra.BeforeTagName=2]="BeforeTagName",Ra[Ra.InTagName=3]="InTagName",Ra[Ra.InSelfClosingTag=4]="InSelfClosingTag",Ra[Ra.BeforeClosingTagName=5]="BeforeClosingTagName",Ra[Ra.InClosingTagName=6]="InClosingTagName",Ra[Ra.AfterClosingTagName=7]="AfterClosingTagName",Ra[Ra.BeforeAttributeName=8]="BeforeAttributeName",Ra[Ra.InAttributeName=9]="InAttributeName",Ra[Ra.AfterAttributeName=10]="AfterAttributeName",Ra[Ra.BeforeAttributeValue=11]="BeforeAttributeValue",Ra[Ra.InAttributeValueDq=12]="InAttributeValueDq",Ra[Ra.InAttributeValueSq=13]="InAttributeValueSq",Ra[Ra.InAttributeValueNq=14]="InAttributeValueNq",Ra[Ra.BeforeDeclaration=15]="BeforeDeclaration",Ra[Ra.InDeclaration=16]="InDeclaration",Ra[Ra.InProcessingInstruction=17]="InProcessingInstruction",Ra[Ra.BeforeComment=18]="BeforeComment",Ra[Ra.CDATASequence=19]="CDATASequence",Ra[Ra.InSpecialComment=20]="InSpecialComment",Ra[Ra.InCommentLike=21]="InCommentLike",Ra[Ra.BeforeSpecialS=22]="BeforeSpecialS",Ra[Ra.BeforeSpecialT=23]="BeforeSpecialT",Ra[Ra.SpecialStartSequence=24]="SpecialStartSequence",Ra[Ra.InSpecialTag=25]="InSpecialTag",Ra[Ra.InEntity=26]="InEntity"})(State$4||(State$4={}));function isWhitespace$2(Ra){return Ra===CharCodes.Space||Ra===CharCodes.NewLine||Ra===CharCodes.Tab||Ra===CharCodes.FormFeed||Ra===CharCodes.CarriageReturn}function isEndOfTagSection(Ra){return Ra===CharCodes.Slash||Ra===CharCodes.Gt||isWhitespace$2(Ra)}function isASCIIAlpha(Ra){return Ra>=CharCodes.LowerA&&Ra<=CharCodes.LowerZ||Ra>=CharCodes.UpperA&&Ra<=CharCodes.UpperZ}var QuoteType;(function(Ra){Ra[Ra.NoValue=0]="NoValue",Ra[Ra.Unquoted=1]="Unquoted",Ra[Ra.Single=2]="Single",Ra[Ra.Double=3]="Double"})(QuoteType||(QuoteType={}));const Sequences={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class Tokenizer{constructor({xmlMode:qa=!1,decodeEntities:nd=!0},od){this.cbs=od,this.state=State$4.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=State$4.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=qa,this.decodeEntities=nd,this.entityDecoder=new EntityDecoder(qa?xmlDecodeTree:htmlDecodeTree,(ld,ud)=>this.emitCodePoint(ld,ud))}reset(){this.state=State$4.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=State$4.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(qa){this.offset+=this.buffer.length,this.buffer=qa,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(qa){qa===CharCodes.Lt||!this.decodeEntities&&this.fastForwardTo(CharCodes.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=State$4.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&qa===CharCodes.Amp&&this.startEntity()}stateSpecialStartSequence(qa){const nd=this.sequenceIndex===this.currentSequence.length;if(!(nd?isEndOfTagSection(qa):(qa|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!nd){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=State$4.InTagName,this.stateInTagName(qa)}stateInSpecialTag(qa){if(this.sequenceIndex===this.currentSequence.length){if(qa===CharCodes.Gt||isWhitespace$2(qa)){const nd=this.index-this.currentSequence.length;if(this.sectionStart<nd){const od=this.index;this.index=nd,this.cbs.ontext(this.sectionStart,nd),this.index=od}this.isSpecial=!1,this.sectionStart=nd+2,this.stateInClosingTagName(qa);return}this.sequenceIndex=0}(qa|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===Sequences.TitleEnd?this.decodeEntities&&qa===CharCodes.Amp&&this.startEntity():this.fastForwardTo(CharCodes.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(qa===CharCodes.Lt)}stateCDATASequence(qa){qa===Sequences.Cdata[this.sequenceIndex]?++this.sequenceIndex===Sequences.Cdata.length&&(this.state=State$4.InCommentLike,this.currentSequence=Sequences.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=State$4.InDeclaration,this.stateInDeclaration(qa))}fastForwardTo(qa){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===qa)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(qa){qa===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Sequences.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=State$4.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):qa!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(qa){return this.xmlMode?!isEndOfTagSection(qa):isASCIIAlpha(qa)}startSpecial(qa,nd){this.isSpecial=!0,this.currentSequence=qa,this.sequenceIndex=nd,this.state=State$4.SpecialStartSequence}stateBeforeTagName(qa){if(qa===CharCodes.ExclamationMark)this.state=State$4.BeforeDeclaration,this.sectionStart=this.index+1;else if(qa===CharCodes.Questionmark)this.state=State$4.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(qa)){const nd=qa|32;this.sectionStart=this.index,this.xmlMode?this.state=State$4.InTagName:nd===Sequences.ScriptEnd[2]?this.state=State$4.BeforeSpecialS:nd===Sequences.TitleEnd[2]?this.state=State$4.BeforeSpecialT:this.state=State$4.InTagName}else qa===CharCodes.Slash?this.state=State$4.BeforeClosingTagName:(this.state=State$4.Text,this.stateText(qa))}stateInTagName(qa){isEndOfTagSection(qa)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=State$4.BeforeAttributeName,this.stateBeforeAttributeName(qa))}stateBeforeClosingTagName(qa){isWhitespace$2(qa)||(qa===CharCodes.Gt?this.state=State$4.Text:(this.state=this.isTagStartChar(qa)?State$4.InClosingTagName:State$4.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(qa){(qa===CharCodes.Gt||isWhitespace$2(qa))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=State$4.AfterClosingTagName,this.stateAfterClosingTagName(qa))}stateAfterClosingTagName(qa){(qa===CharCodes.Gt||this.fastForwardTo(CharCodes.Gt))&&(this.state=State$4.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(qa){qa===CharCodes.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=State$4.InSpecialTag,this.sequenceIndex=0):this.state=State$4.Text,this.sectionStart=this.index+1):qa===CharCodes.Slash?this.state=State$4.InSelfClosingTag:isWhitespace$2(qa)||(this.state=State$4.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(qa){qa===CharCodes.Gt?(this.cbs.onselfclosingtag(this.index),this.state=State$4.Text,this.sectionStart=this.index+1,this.isSpecial=!1):isWhitespace$2(qa)||(this.state=State$4.BeforeAttributeName,this.stateBeforeAttributeName(qa))}stateInAttributeName(qa){(qa===CharCodes.Eq||isEndOfTagSection(qa))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=State$4.AfterAttributeName,this.stateAfterAttributeName(qa))}stateAfterAttributeName(qa){qa===CharCodes.Eq?this.state=State$4.BeforeAttributeValue:qa===CharCodes.Slash||qa===CharCodes.Gt?(this.cbs.onattribend(QuoteType.NoValue,this.sectionStart),this.sectionStart=-1,this.state=State$4.BeforeAttributeName,this.stateBeforeAttributeName(qa)):isWhitespace$2(qa)||(this.cbs.onattribend(QuoteType.NoValue,this.sectionStart),this.state=State$4.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(qa){qa===CharCodes.DoubleQuote?(this.state=State$4.InAttributeValueDq,this.sectionStart=this.index+1):qa===CharCodes.SingleQuote?(this.state=State$4.InAttributeValueSq,this.sectionStart=this.index+1):isWhitespace$2(qa)||(this.sectionStart=this.index,this.state=State$4.InAttributeValueNq,this.stateInAttributeValueNoQuotes(qa))}handleInAttributeValue(qa,nd){qa===nd||!this.decodeEntities&&this.fastForwardTo(nd)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(nd===CharCodes.DoubleQuote?QuoteType.Double:QuoteType.Single,this.index+1),this.state=State$4.BeforeAttributeName):this.decodeEntities&&qa===CharCodes.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(qa){this.handleInAttributeValue(qa,CharCodes.DoubleQuote)}stateInAttributeValueSingleQuotes(qa){this.handleInAttributeValue(qa,CharCodes.SingleQuote)}stateInAttributeValueNoQuotes(qa){isWhitespace$2(qa)||qa===CharCodes.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(QuoteType.Unquoted,this.index),this.state=State$4.BeforeAttributeName,this.stateBeforeAttributeName(qa)):this.decodeEntities&&qa===CharCodes.Amp&&this.startEntity()}stateBeforeDeclaration(qa){qa===CharCodes.OpeningSquareBracket?(this.state=State$4.CDATASequence,this.sequenceIndex=0):this.state=qa===CharCodes.Dash?State$4.BeforeComment:State$4.InDeclaration}stateInDeclaration(qa){(qa===CharCodes.Gt||this.fastForwardTo(CharCodes.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=State$4.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(qa){(qa===CharCodes.Gt||this.fastForwardTo(CharCodes.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=State$4.Text,this.sectionStart=this.index+1)}stateBeforeComment(qa){qa===CharCodes.Dash?(this.state=State$4.InCommentLike,this.currentSequence=Sequences.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=State$4.InDeclaration}stateInSpecialComment(qa){(qa===CharCodes.Gt||this.fastForwardTo(CharCodes.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=State$4.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(qa){const nd=qa|32;nd===Sequences.ScriptEnd[3]?this.startSpecial(Sequences.ScriptEnd,4):nd===Sequences.StyleEnd[3]?this.startSpecial(Sequences.StyleEnd,4):(this.state=State$4.InTagName,this.stateInTagName(qa))}stateBeforeSpecialT(qa){const nd=qa|32;nd===Sequences.TitleEnd[3]?this.startSpecial(Sequences.TitleEnd,4):nd===Sequences.TextareaEnd[3]?this.startSpecial(Sequences.TextareaEnd,4):(this.state=State$4.InTagName,this.stateInTagName(qa))}startEntity(){this.baseState=this.state,this.state=State$4.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?DecodingMode.Strict:this.baseState===State$4.Text||this.baseState===State$4.InSpecialTag?DecodingMode.Legacy:DecodingMode.Attribute)}stateInEntity(){const qa=this.entityDecoder.write(this.buffer,this.index-this.offset);qa>=0?(this.state=this.baseState,qa===0&&(this.index=this.entityStart)):this.index=this.offset+this.buffer.length-1}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===State$4.Text||this.state===State$4.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===State$4.InAttributeValueDq||this.state===State$4.InAttributeValueSq||this.state===State$4.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){const qa=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case State$4.Text:{this.stateText(qa);break}case State$4.SpecialStartSequence:{this.stateSpecialStartSequence(qa);break}case State$4.InSpecialTag:{this.stateInSpecialTag(qa);break}case State$4.CDATASequence:{this.stateCDATASequence(qa);break}case State$4.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(qa);break}case State$4.InAttributeName:{this.stateInAttributeName(qa);break}case State$4.InCommentLike:{this.stateInCommentLike(qa);break}case State$4.InSpecialComment:{this.stateInSpecialComment(qa);break}case State$4.BeforeAttributeName:{this.stateBeforeAttributeName(qa);break}case State$4.InTagName:{this.stateInTagName(qa);break}case State$4.InClosingTagName:{this.stateInClosingTagName(qa);break}case State$4.BeforeTagName:{this.stateBeforeTagName(qa);break}case State$4.AfterAttributeName:{this.stateAfterAttributeName(qa);break}case State$4.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(qa);break}case State$4.BeforeAttributeValue:{this.stateBeforeAttributeValue(qa);break}case State$4.BeforeClosingTagName:{this.stateBeforeClosingTagName(qa);break}case State$4.AfterClosingTagName:{this.stateAfterClosingTagName(qa);break}case State$4.BeforeSpecialS:{this.stateBeforeSpecialS(qa);break}case State$4.BeforeSpecialT:{this.stateBeforeSpecialT(qa);break}case State$4.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(qa);break}case State$4.InSelfClosingTag:{this.stateInSelfClosingTag(qa);break}case State$4.InDeclaration:{this.stateInDeclaration(qa);break}case State$4.BeforeDeclaration:{this.stateBeforeDeclaration(qa);break}case State$4.BeforeComment:{this.stateBeforeComment(qa);break}case State$4.InProcessingInstruction:{this.stateInProcessingInstruction(qa);break}case State$4.InEntity:{this.stateInEntity();break}}this.index++}this.cleanup()}finish(){this.state===State$4.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const qa=this.buffer.length+this.offset;this.sectionStart>=qa||(this.state===State$4.InCommentLike?this.currentSequence===Sequences.CdataEnd?this.cbs.oncdata(this.sectionStart,qa,0):this.cbs.oncomment(this.sectionStart,qa,0):this.state===State$4.InTagName||this.state===State$4.BeforeAttributeName||this.state===State$4.BeforeAttributeValue||this.state===State$4.AfterAttributeName||this.state===State$4.InAttributeName||this.state===State$4.InAttributeValueSq||this.state===State$4.InAttributeValueDq||this.state===State$4.InAttributeValueNq||this.state===State$4.InClosingTagName||this.cbs.ontext(this.sectionStart,qa))}emitCodePoint(qa,nd){this.baseState!==State$4.Text&&this.baseState!==State$4.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+nd,this.index=this.sectionStart-1,this.cbs.onattribentity(qa)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+nd,this.index=this.sectionStart-1,this.cbs.ontextentity(qa,this.sectionStart))}}const formTags=new Set(["input","option","optgroup","select","button","datalist","textarea"]),pTag=new Set(["p"]),tableSectionTags=new Set(["thead","tbody"]),ddtTags=new Set(["dd","dt"]),rtpTags=new Set(["rt","rp"]),openImpliesClose=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",pTag],["h1",pTag],["h2",pTag],["h3",pTag],["h4",pTag],["h5",pTag],["h6",pTag],["select",formTags],["input",formTags],["output",formTags],["button",formTags],["datalist",formTags],["textarea",formTags],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",ddtTags],["dt",ddtTags],["address",pTag],["article",pTag],["aside",pTag],["blockquote",pTag],["details",pTag],["div",pTag],["dl",pTag],["fieldset",pTag],["figcaption",pTag],["figure",pTag],["footer",pTag],["form",pTag],["header",pTag],["hr",pTag],["main",pTag],["nav",pTag],["ol",pTag],["pre",pTag],["section",pTag],["table",pTag],["ul",pTag],["rt",rtpTags],["rp",rtpTags],["tbody",tableSectionTags],["tfoot",tableSectionTags]]),voidElements=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),foreignContextElements=new Set(["math","svg"]),htmlIntegrationElements=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),reNameEnd=/\s|\//;let Parser$1=class{constructor(qa,nd={}){var od,ld,ud,dd,pd,fd;this.options=nd,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=qa??{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=(od=nd.lowerCaseTags)!==null&&od!==void 0?od:this.htmlMode,this.lowerCaseAttributeNames=(ld=nd.lowerCaseAttributeNames)!==null&&ld!==void 0?ld:this.htmlMode,this.recognizeSelfClosing=(ud=nd.recognizeSelfClosing)!==null&&ud!==void 0?ud:!this.htmlMode,this.tokenizer=new((dd=nd.Tokenizer)!==null&&dd!==void 0?dd:Tokenizer)(this.options,this),this.foreignContext=[!this.htmlMode],(fd=(pd=this.cbs).onparserinit)===null||fd===void 0||fd.call(pd,this)}ontext(qa,nd){var od,ld;const ud=this.getSlice(qa,nd);this.endIndex=nd-1,(ld=(od=this.cbs).ontext)===null||ld===void 0||ld.call(od,ud),this.startIndex=nd}ontextentity(qa,nd){var od,ld;this.endIndex=nd-1,(ld=(od=this.cbs).ontext)===null||ld===void 0||ld.call(od,fromCodePoint(qa)),this.startIndex=nd}isVoidElement(qa){return this.htmlMode&&voidElements.has(qa)}onopentagname(qa,nd){this.endIndex=nd;let od=this.getSlice(qa,nd);this.lowerCaseTagNames&&(od=od.toLowerCase()),this.emitOpenTag(od)}emitOpenTag(qa){var nd,od,ld,ud;this.openTagStart=this.startIndex,this.tagname=qa;const dd=this.htmlMode&&openImpliesClose.get(qa);if(dd)for(;this.stack.length>0&&dd.has(this.stack[0]);){const pd=this.stack.shift();(od=(nd=this.cbs).onclosetag)===null||od===void 0||od.call(nd,pd,!0)}this.isVoidElement(qa)||(this.stack.unshift(qa),this.htmlMode&&(foreignContextElements.has(qa)?this.foreignContext.unshift(!0):htmlIntegrationElements.has(qa)&&this.foreignContext.unshift(!1))),(ud=(ld=this.cbs).onopentagname)===null||ud===void 0||ud.call(ld,qa),this.cbs.onopentag&&(this.attribs={})}endOpenTag(qa){var nd,od;this.startIndex=this.openTagStart,this.attribs&&((od=(nd=this.cbs).onopentag)===null||od===void 0||od.call(nd,this.tagname,this.attribs,qa),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(qa){this.endIndex=qa,this.endOpenTag(!1),this.startIndex=qa+1}onclosetag(qa,nd){var od,ld,ud,dd,pd,fd,md,vd;this.endIndex=nd;let Ad=this.getSlice(qa,nd);if(this.lowerCaseTagNames&&(Ad=Ad.toLowerCase()),this.htmlMode&&(foreignContextElements.has(Ad)||htmlIntegrationElements.has(Ad))&&this.foreignContext.shift(),this.isVoidElement(Ad))this.htmlMode&&Ad==="br"&&((dd=(ud=this.cbs).onopentagname)===null||dd===void 0||dd.call(ud,"br"),(fd=(pd=this.cbs).onopentag)===null||fd===void 0||fd.call(pd,"br",{},!0),(vd=(md=this.cbs).onclosetag)===null||vd===void 0||vd.call(md,"br",!1));else{const Nd=this.stack.indexOf(Ad);if(Nd!==-1)for(let Od=0;Od<=Nd;Od++){const kd=this.stack.shift();(ld=(od=this.cbs).onclosetag)===null||ld===void 0||ld.call(od,kd,Od!==Nd)}else this.htmlMode&&Ad==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=nd+1}onselfclosingtag(qa){this.endIndex=qa,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=qa+1):this.onopentagend(qa)}closeCurrentTag(qa){var nd,od;const ld=this.tagname;this.endOpenTag(qa),this.stack[0]===ld&&((od=(nd=this.cbs).onclosetag)===null||od===void 0||od.call(nd,ld,!qa),this.stack.shift())}onattribname(qa,nd){this.startIndex=qa;const od=this.getSlice(qa,nd);this.attribname=this.lowerCaseAttributeNames?od.toLowerCase():od}onattribdata(qa,nd){this.attribvalue+=this.getSlice(qa,nd)}onattribentity(qa){this.attribvalue+=fromCodePoint(qa)}onattribend(qa,nd){var od,ld;this.endIndex=nd,(ld=(od=this.cbs).onattribute)===null||ld===void 0||ld.call(od,this.attribname,this.attribvalue,qa===QuoteType.Double?'"':qa===QuoteType.Single?"'":qa===QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(qa){const nd=qa.search(reNameEnd);let od=nd<0?qa:qa.substr(0,nd);return this.lowerCaseTagNames&&(od=od.toLowerCase()),od}ondeclaration(qa,nd){this.endIndex=nd;const od=this.getSlice(qa,nd);if(this.cbs.onprocessinginstruction){const ld=this.getInstructionName(od);this.cbs.onprocessinginstruction(`!${ld}`,`!${od}`)}this.startIndex=nd+1}onprocessinginstruction(qa,nd){this.endIndex=nd;const od=this.getSlice(qa,nd);if(this.cbs.onprocessinginstruction){const ld=this.getInstructionName(od);this.cbs.onprocessinginstruction(`?${ld}`,`?${od}`)}this.startIndex=nd+1}oncomment(qa,nd,od){var ld,ud,dd,pd;this.endIndex=nd,(ud=(ld=this.cbs).oncomment)===null||ud===void 0||ud.call(ld,this.getSlice(qa,nd-od)),(pd=(dd=this.cbs).oncommentend)===null||pd===void 0||pd.call(dd),this.startIndex=nd+1}oncdata(qa,nd,od){var ld,ud,dd,pd,fd,md,vd,Ad,Nd,Od;this.endIndex=nd;const kd=this.getSlice(qa,nd-od);!this.htmlMode||this.options.recognizeCDATA?((ud=(ld=this.cbs).oncdatastart)===null||ud===void 0||ud.call(ld),(pd=(dd=this.cbs).ontext)===null||pd===void 0||pd.call(dd,kd),(md=(fd=this.cbs).oncdataend)===null||md===void 0||md.call(fd)):((Ad=(vd=this.cbs).oncomment)===null||Ad===void 0||Ad.call(vd,`[CDATA[${kd}]]`),(Od=(Nd=this.cbs).oncommentend)===null||Od===void 0||Od.call(Nd)),this.startIndex=nd+1}onend(){var qa,nd;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let od=0;od<this.stack.length;od++)this.cbs.onclosetag(this.stack[od],!0)}(nd=(qa=this.cbs).onend)===null||nd===void 0||nd.call(qa)}reset(){var qa,nd,od,ld;(nd=(qa=this.cbs).onreset)===null||nd===void 0||nd.call(qa),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(ld=(od=this.cbs).onparserinit)===null||ld===void 0||ld.call(od,this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(!this.htmlMode),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(qa){this.reset(),this.end(qa)}getSlice(qa,nd){for(;qa-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let od=this.buffers[0].slice(qa-this.bufferOffset,nd-this.bufferOffset);for(;nd-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),od+=this.buffers[0].slice(0,nd-this.bufferOffset);return od}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(qa){var nd,od;if(this.ended){(od=(nd=this.cbs).onerror)===null||od===void 0||od.call(nd,new Error(".write() after done!"));return}this.buffers.push(qa),this.tokenizer.running&&(this.tokenizer.write(qa),this.writeIndex++)}end(qa){var nd,od;if(this.ended){(od=(nd=this.cbs).onerror)===null||od===void 0||od.call(nd,new Error(".end() after done!"));return}qa&&this.write(qa),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(qa){this.write(qa)}done(qa){this.end(qa)}};function parseDocument(Ra,qa){const nd=new DomHandler(void 0,qa);return new Parser$1(nd,qa).end(Ra),nd.root}const parse$4=getParse((Ra,qa,nd,od)=>qa._useHtmlParser2?parseDocument(Ra,qa):parseWithParse5(Ra,qa,nd,od)),load$3=getLoad(parse$4,(Ra,qa)=>qa._useHtmlParser2?render$3(Ra,qa):renderWithParse5(Ra)),browser$2=Object.freeze(Object.defineProperty({__proto__:null,contains,load:load$3,merge:merge$6},Symbol.toStringTag,{value:"Module"})),require$$0$2=getAugmentedNamespace(browser$2);var utils$4={},lexer={exports:{}},debug={exports:{}};(function(Ra,qa){var nd={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_1164a745-b3dc-4b9f-a9be-9609c1b3622a",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_1164a745-b3dc-4b9f-a9be-9609c1b3622a",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250105.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7633",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12854182433",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_eb6908e4-3cff-452d-a339-25146be9740f",INVOCATION_ID:"049b7125072941398f5d27a5cb59ad7a",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"493",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 18",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_1164a745-b3dc-4b9f-a9be-9609c1b3622a",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_1164a745-b3dc-4b9f-a9be-9609c1b3622a",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_1164a745-b3dc-4b9f-a9be-9609c1b3622a",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2166,ppid:2165,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};Ra.exports=od;function od(ud){return ld.bind(null,ud)}function ld(ud){var dd=[].slice.call(arguments,1);dd.unshift("["+ud+"]"),nd.stderr.write(dd.join(" ")+`
`)}})(debug);var debugExports=debug.exports;(function(Ra,qa){debugExports("lex"),Ra.exports=nd;function nd(od){var ld="",ud,dd=0,pd=-1,fd=0,md=1,vd="before-selector",Ad=[vd],Nd={},Od=[],kd=["media","keyframes",{name:"-webkit-keyframes",type:"keyframes",prefix:"-webkit-"},{name:"-moz-keyframes",type:"keyframes",prefix:"-moz-"},{name:"-ms-keyframes",type:"keyframes",prefix:"-ms-"},{name:"-o-keyframes",type:"keyframes",prefix:"-o-"},"font-face",{name:"import",state:"before-at-value"},{name:"charset",state:"before-at-value"},"supports","viewport",{name:"namespace",state:"before-at-value"},"document",{name:"-moz-document",type:"document",prefix:"-moz-"},"page"];function Ld(){return _f(),od[pd]}function Gd(If){return If?Ad[Ad.length-1-If]:vd}function jd(If){var Gf=pd+1;return If===od.slice(Gf,Gf+If.length)}function Fd(If){var Gf=od.slice(pd).indexOf(If);return Gf>0?Gf:!1}function Ud(If){return If===qd(1)}function qd(If){return od[pd+(If||1)]}function zd(){var If=Ad.pop();return vd=Ad[Ad.length-1],If}function Wd(If){return vd=If,Ad.push(vd),Ad.length}function Jd(If){var Gf=vd;return Ad[Ad.length-1]=vd=If,Gf}function _f(If){if((If||1)==1)od[pd]==`
`?(md++,dd=1):dd++,pd++;else{var Gf=od.slice(pd,pd+If).split(`
`);Gf.length>1&&(md+=Gf.length-1,dd=1),dd+=Gf[Gf.length-1].length,pd=pd+If}}function Xd(){Nd.end={line:md,col:dd},Od.push(Nd),ld="",Nd={}}function pf(If){Nd={type:If,start:{line:md,col:dd}}}for(;ud=Ld();)switch(ud){case" ":switch(Gd()){case"selector":case"value":case"value-paren":case"at-group":case"at-value":case"comment":case"double-string":case"single-string":ld+=ud;break}break;case`
`:case" ":case"\r":case"\f":switch(Gd()){case"value":case"value-paren":case"at-group":case"comment":case"single-string":case"double-string":case"selector":ld+=ud;break;case"at-value":ud===`
`&&(Nd.value=ld.trim(),Xd(),zd());break}break;case":":switch(Gd()){case"name":Nd.name=ld.trim(),ld="",Jd("before-value");break;case"before-selector":ld+=ud,pf("selector"),Wd("selector");break;case"before-value":Jd("value"),ld+=ud;break;default:ld+=ud;break}break;case";":switch(Gd()){case"name":case"before-value":case"value":ld.trim().length>0&&(Nd.value=ld.trim(),Xd()),Jd("before-name");break;case"value-paren":ld+=ud;break;case"at-value":Nd.value=ld.trim(),Xd(),zd();break;case"before-name":break;default:ld+=ud;break}break;case"{":switch(Gd()){case"selector":if(qd(-1)==="\\"){ld+=ud;break}Nd.text=ld.trim(),Xd(),Jd("before-name"),fd=fd+1;break;case"at-group":switch(Nd.name=ld.trim(),Nd.type){case"font-face":case"viewport":case"page":Wd("before-name");break;default:Wd("before-selector")}Xd(),fd=fd+1;break;case"name":case"at-rule":Nd.name=ld.trim(),Xd(),Wd("before-name"),fd=fd+1;break;case"comment":case"double-string":case"single-string":ld+=ud;break;case"before-value":Jd("value"),ld+=ud;break}break;case"}":switch(Gd()){case"before-name":case"name":case"before-value":case"value":ld&&(Nd.value=ld.trim()),Nd.name&&Nd.value&&Xd(),pf("end"),Xd(),zd(),Gd()==="at-group"&&(pf("at-group-end"),Xd(),zd()),fd>0&&(fd=fd-1);break;case"at-group":case"before-selector":case"selector":if(qd(-1)==="\\"){ld+=ud;break}fd>0&&Gd(1)==="at-group"&&(pf("at-group-end"),Xd()),fd>1&&zd(),fd>0&&(fd=fd-1);break;case"double-string":case"single-string":case"comment":ld+=ud;break}break;case'"':case"'":switch(Gd()){case"double-string":ud==='"'&&qd(-1)!=="\\"&&zd();break;case"single-string":ud==="'"&&qd(-1)!=="\\"&&zd();break;case"before-at-value":Jd("at-value"),Wd(ud==='"'?"double-string":"single-string");break;case"before-value":Jd("value"),Wd(ud==='"'?"double-string":"single-string");break;case"comment":break;default:qd(-1)!=="\\"&&Wd(ud==='"'?"double-string":"single-string")}ld+=ud;break;case"/":switch(Gd()){case"comment":case"double-string":case"single-string":ld+=ud;break;case"before-value":case"selector":case"name":case"value":if(Ud("*")){var mf=Fd("*/");mf&&_f(mf+1)}else Gd()=="before-value"&&Jd("value"),ld+=ud;break;default:Ud("*")?(pf("comment"),Wd("comment"),_f()):ld+=ud;break}break;case"*":switch(Gd()){case"comment":Ud("/")?(Nd.text=ld,_f(),Xd(),zd()):ld+=ud;break;case"before-selector":ld+=ud,pf("selector"),Wd("selector");break;case"before-value":Jd("value"),ld+=ud;break;default:ld+=ud}break;case"@":switch(Gd()){case"comment":case"double-string":case"single-string":ld+=ud;break;case"before-value":Jd("value"),ld+=ud;break;default:for(var Sf=!1,Tf,Af,Ef=0,Nf=kd.length;!Sf&&Ef<Nf;++Ef)Af=kd[Ef],Tf=Af.name||Af,jd(Tf)&&(Sf=!0,pf(Tf),Wd(Af.state||"at-group"),_f(Tf.length),Af.prefix&&(Nd.prefix=Af.prefix),Af.type&&(Nd.type=Af.type));Sf||(ld+=ud);break}break;case"(":switch(Gd()){case"value":Wd("value-paren");break;case"before-value":Jd("value");break}ld+=ud;break;case")":switch(Gd()){case"value-paren":zd();break;case"before-value":Jd("value");break}ld+=ud;break;default:switch(Gd()){case"before-selector":pf("selector"),Wd("selector");break;case"before-name":pf("property"),Jd("name");break;case"before-value":Jd("value");break;case"before-at-value":Jd("at-value");break}ld+=ud;break}return Od}})(lexer);var lexerExports=lexer.exports,parser$3={exports:{}};(function(Ra,qa){debugExports("parse");var nd=lexerExports;Ra.exports=pd;var od,ld,ud,dd;function pd(zd,Wd){Wd||(Wd={}),od=!!Wd.comments,ud=!!Wd.position,ld=0,dd=Array.isArray(zd)?zd.slice():nd(zd);for(var Jd,_f=[],Xd;Xd=md();)Jd=jd(Xd),Jd&&_f.push(Jd);return{type:"stylesheet",stylesheet:{rules:_f}}}function fd(zd,Wd){Wd||(Wd={});for(var Jd,_f=["type","name","value"],Xd={},pf=0;pf<_f.length;++pf)Jd=_f[pf],zd[Jd]&&(Xd[Jd]=Wd[Jd]||zd[Jd]);for(_f=Object.keys(Wd),pf=0;pf<_f.length;++pf)Jd=_f[pf],Xd[Jd]||(Xd[Jd]=Wd[Jd]);return ud&&(Xd.position={start:zd.start,end:zd.end}),Xd}function md(){var zd=dd.shift();return zd}function vd(zd){ld=ld+1;var Wd={};switch(zd.type){case"font-face":case"viewport":Wd.declarations=Ud();break;case"page":Wd.prefix=zd.prefix,Wd.declarations=Ud();break;default:Wd.prefix=zd.prefix,Wd.rules=qd()}return fd(zd,Wd)}function Ad(zd){return fd(zd)}function Nd(zd){return fd(zd)}function Od(zd){return fd(zd,{text:zd.text})}function kd(zd){return fd(zd)}function Ld(zd){return fd(zd)}function Gd(zd){function Wd(Jd){return Jd.trim()}return fd(zd,{type:"rule",selectors:zd.text.split(",").map(Wd),declarations:Ud()})}function jd(zd){switch(zd.type){case"property":return Ld(zd);case"selector":return Gd(zd);case"at-group-end":ld=ld-1;return;case"media":case"keyframes":return vd(zd);case"comment":if(od)return Od(zd);break;case"charset":return Nd(zd);case"import":return Ad(zd);case"namespace":return kd(zd);case"font-face":case"supports":case"viewport":case"document":case"page":return vd(zd)}}function Fd(zd){for(var Wd,Jd=[],_f;(_f=md())&&zd&&zd(_f);)Wd=jd(_f),Wd&&Jd.push(Wd);return _f&&_f.type!=="end"&&dd.unshift(_f),Jd}function Ud(){return Fd(function(zd){return zd.type==="property"||zd.type==="comment"})}function qd(){return Fd(function(){return ld})}})(parser$3);var parserExports=parser$3.exports,stringify$2={exports:{}};(function(Ra,qa){debugExports("stringify");var nd,od,ld,ud,dd,pd;Ra.exports=fd;function fd(qd,zd){zd||(zd={}),ld=zd.indentation||"",od=!!zd.compress,nd=!!zd.comments,ud=1,od?dd=pd="":(dd=`
`,pd=" ");var Wd=kd(qd.stylesheet.rules,Fd).join(`
`).trim();return Wd}function md(qd){if(qd){ud+=qd;return}return od?"":Array(ud).join(ld||"")}function vd(qd){return"@"+qd.type+" "+qd.value+";"+dd}function Ad(qd){var zd="",Wd=qd.prefix||"";qd.name&&(zd=" "+qd.name);var Jd=qd.type!=="page";return"@"+Wd+qd.type+zd+pd+Ld(qd,Jd)+dd}function Nd(qd){return nd?"/*"+(qd.text||"")+"*/"+dd:""}function Od(qd){var zd;return qd.selectors?zd=qd.selectors.join(","+dd):(zd="@"+qd.type,zd+=qd.name?" "+qd.name:""),md()+zd+pd+Ld(qd)+dd}function kd(qd,zd){return qd.reduce(function(Wd,Jd){var _f=Jd.type==="comment"?Nd(Jd):zd(Jd);return _f&&Wd.push(_f),Wd},[])}function Ld(qd,zd){var Wd=qd.declarations,Jd=jd;return qd.rules&&(Wd=qd.rules,Jd=Od),Wd=Gd(Wd,Jd),Wd&&(Wd=dd+Wd+(zd?"":dd)),"{"+Wd+md()+"}"}function Gd(qd,zd){if(!qd)return"";md(1);var Wd=kd(qd,zd);return md(-1),Wd.length?Wd.join(dd):""}function jd(qd){if(qd.type==="property")return Ud(qd)}function Fd(qd){switch(qd.type){case"rule":return Od(qd);case"media":case"keyframes":return Ad(qd);case"comment":return Nd(qd);case"import":case"charset":case"namespace":return vd(qd);case"font-face":case"supports":case"viewport":case"document":case"page":return Ad(qd)}}function Ud(qd){var zd=qd.name?qd.name+":"+pd:"";return md()+zd+qd.value+";"}})(stringify$2);var stringifyExports=stringify$2.exports,mensch={lex:lexerExports,parse:parserExports,stringify:stringifyExports},selector$1={exports:{}},escapeRe=/([-.*+?^${}()|[\]\/\\])/g,unescapeRe=/\\/g,escape$5=function(Ra){return(Ra+"").replace(escapeRe,"\\$1")},unescape$2=function(Ra){return(Ra+"").replace(unescapeRe,"")},slickRe=RegExp(`^(?:\\s*(,)\\s*|\\s*(<combinator>+)\\s*|(\\s+)|(<unicode>+|\\*)|\\#(<unicode>+)|\\.(<unicode>+)|\\[\\s*(<unicode1>+)(?:\\s*([*^$!~|]?=)(?:\\s*(?:(["']?)(.*?)\\9)))?\\s*\\](?!\\])|(:+)(<unicode>+)(?:\\((?:(?:(["'])([^\\13]*)\\13)|((?:\\([^)]+\\)|[^()]*)+))\\))?)`.replace(/<combinator>/,"["+escape$5(">+~`!@$%^&={}\\;</")+"]").replace(/<unicode>/g,"(?:[\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])").replace(/<unicode1>/g,"(?:[:\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])")),Part=function(qa){this.combinator=qa||" ",this.tag="*"};Part.prototype.toString=function(){if(!this.raw){var Ra="",qa,nd;if(Ra+=this.tag||"*",this.id&&(Ra+="#"+this.id),this.classes&&(Ra+="."+this.classList.join(".")),this.attributes)for(qa=0;nd=this.attributes[qa++];)Ra+="["+nd.name+(nd.operator?nd.operator+'"'+nd.value+'"':"")+"]";if(this.pseudos)for(qa=0;nd=this.pseudos[qa++];)Ra+=":"+nd.name,nd.value&&(Ra+="("+nd.value+")");this.raw=Ra}return this.raw};var Expression=function(){this.length=0};Expression.prototype.toString=function(){if(!this.raw){for(var Ra="",qa=0,nd;nd=this[qa++];)qa!==1&&(Ra+=" "),nd.combinator!==" "&&(Ra+=nd.combinator+" "),Ra+=nd;this.raw=Ra}return this.raw};var replacer=function(Ra,qa,nd,od,ld,ud,dd,pd,fd,md,vd,Ad,Nd,Od,kd,Ld){var Gd,jd;if((qa||!this.length)&&(Gd=this[this.length++]=new Expression,qa))return"";if(Gd||(Gd=this[this.length-1]),(nd||od||!Gd.length)&&(jd=Gd[Gd.length++]=new Part(nd)),jd||(jd=Gd[Gd.length-1]),ld)jd.tag=unescape$2(ld);else if(ud)jd.id=unescape$2(ud);else if(dd){var Fd=unescape$2(dd),Ud=jd.classes||(jd.classes={});if(!Ud[Fd]){Ud[Fd]=escape$5(dd);var qd=jd.classList||(jd.classList=[]);qd.push(Fd),qd.sort()}}else Nd?(Ld=Ld||kd,(jd.pseudos||(jd.pseudos=[])).push({type:Ad.length==1?"class":"element",name:unescape$2(Nd),escapedName:escape$5(Nd),value:Ld?unescape$2(Ld):null,escapedValue:Ld?escape$5(Ld):null})):pd&&(vd=vd?escape$5(vd):null,(jd.attributes||(jd.attributes=[])).push({operator:fd,name:unescape$2(pd),escapedName:escape$5(pd),value:vd?unescape$2(vd):null,escapedValue:vd?escape$5(vd):null}));return""},Expressions=function(qa){this.length=0;for(var nd=this,od=qa,ld;qa;){if(ld=qa.replace(slickRe,function(){return replacer.apply(nd,arguments)}),ld===qa)throw new Error(od+" is an invalid expression");qa=ld}};Expressions.prototype.toString=function(){if(!this.raw){for(var Ra=[],qa=0,nd;nd=this[qa++];)Ra.push(nd);this.raw=Ra.join(", ")}return this.raw};var cache$2={},parse$3=function(Ra){return Ra==null?null:(Ra=(""+Ra).replace(/^\s+|\s+$/g,""),cache$2[Ra]||(cache$2[Ra]=new Expressions(Ra)))},parser$2=parse$3;(function(Ra,qa){var nd=parser$2;Ra.exports=od;function od(ud,dd){this.text=ud,this.spec=void 0,this.styleAttribute=dd||!1}od.prototype.parsed=function(){return this.tokens||(this.tokens=ld(this.text)),this.tokens},od.prototype.specificity=function(){var ud=this.styleAttribute;return this.spec||(this.spec=dd(this.text,this.parsed())),this.spec;function dd(pd,fd){for(var md=fd||ld(pd),vd=[ud?1:0,0,0,0],Ad=[],Nd=0;Nd<md.length;Nd++){var Od=md[Nd],kd=Od.pseudos;if(Od.id&&vd[1]++,Od.attributes&&(vd[2]+=Od.attributes.length),Od.classList&&(vd[2]+=Od.classList.length),Od.tag&&Od.tag!=="*"&&vd[3]++,kd){vd[3]+=kd.length;for(var Ld=0;Ld<kd.length;Ld++)kd[Ld].name==="not"&&(Ad.push(kd[Ld].value),vd[3]--)}}for(var Gd=Ad.length;Gd--;)for(var jd=dd(Ad[Gd]),Fd=4;Fd--;)vd[Fd]+=jd[Fd];return vd}};function ld(ud){try{return nd(ud)[0]}catch{return[]}}})(selector$1);var selectorExports=selector$1.exports,property={exports:{}},hasRequiredProperty;function requireProperty(){return hasRequiredProperty||(hasRequiredProperty=1,function(Ra,qa){Ra.exports=od;var nd=requireUtils$1();function od(ld,ud,dd,pd,fd){this.prop=ld,this.value=ud,this.selector=dd,this.priority=pd||0,this.additionalPriority=fd||[]}od.prototype.compareFunc=function(ld){var ud=[];ud.push.apply(ud,this.selector.specificity()),ud.push.apply(ud,this.additionalPriority),ud[0]+=this.priority;var dd=[];return dd.push.apply(dd,ld.selector.specificity()),dd.push.apply(dd,ld.additionalPriority),dd[0]+=ld.priority,nd.compareFunc(ud,dd)},od.prototype.compare=function(ld){var ud=this.compareFunc(ld);return ud===1?this:ld},od.prototype.toString=function(){return this.prop+": "+this.value.replace(/['"]+/g,"")+";"}}(property)),property.exports}var hasRequiredUtils$1;function requireUtils$1(){return hasRequiredUtils$1||(hasRequiredUtils$1=1,function(Ra){var qa=mensch,nd=selectorExports,od=requireProperty();Ra.Selector=nd,Ra.Property=od;/**
* Returns an array of the selectors.
*
* @license Sizzle CSS Selector Engine - MIT
* @param {String} selectorText from mensch
* @api public
*/Ra.extract=function(ud){for(var dd=0,pd=[],fd="",md=0,vd=ud.length;md<vd;md++){var Ad=ud.charAt(md);dd?((Ad==="]"||Ad===")")&&dd--,fd+=Ad):Ad===","?(pd.push(fd),fd=""):((Ad==="["||Ad==="(")&&dd++,(fd.length||Ad!==","&&Ad!==`
`&&Ad!==" ")&&(fd+=Ad))}return fd.length&&pd.push(fd),pd},Ra.parseCSS=function(ld){for(var ud=qa.parse(ld,{position:!0,comments:!0}),dd=typeof ud.stylesheet<"u"&&ud.stylesheet.rules?ud.stylesheet.rules:[],pd=[],fd=0,md=dd.length;fd<md;fd++)if(dd[fd].type=="rule")for(var vd=dd[fd],Ad=vd.selectors,Nd=0,Od=Ad.length;Nd<Od;Nd++)pd.push([Ad[Nd],vd.declarations]);return pd},Ra.getPreservedText=function(ld,ud,dd){for(var pd=qa.parse(ld,{position:!0,comments:!0}),fd=typeof pd.stylesheet<"u"&&pd.stylesheet.rules?pd.stylesheet.rules:[],md=[],vd=fd.length-1;vd>=0;vd--)(ud.fontFaces&&fd[vd].type==="font-face"||ud.mediaQueries&&fd[vd].type==="media"||ud.keyFrames&&fd[vd].type==="keyframes"||ud.pseudos&&fd[vd].selectors&&this.matchesPseudo(fd[vd].selectors[0],dd))&&md.unshift(qa.stringify({stylesheet:{rules:[fd[vd]]}},{comments:!1,indentation:" "})),fd[vd].position.start;return md.length===0?!1:`
`+md.join(`
`)+`
`},Ra.normalizeLineEndings=function(ld){return ld.replace(/\r\n/g,`
`).replace(/\n/g,`\r
`)},Ra.matchesPseudo=function(ld,ud){return ud.find(function(dd){return ld.indexOf(dd)>-1})},Ra.compareFunc=function(ld,ud){for(var dd=Math.min(ld.length,ud.length),pd=0;pd<dd;pd++)if(ld[pd]!==ud[pd])return ld[pd]>ud[pd]?1:-1;return ld.length-ud.length},Ra.compare=function(ld,ud){return Ra.compareFunc(ld,ud)==1?ld:ud},Ra.getDefaultOptions=function(ld){var ud=Object.assign({extraCss:"",insertPreservedExtraCss:!0,applyStyleTags:!0,removeStyleTags:!0,preserveMediaQueries:!0,preserveFontFaces:!0,preserveKeyFrames:!0,preservePseudos:!0,applyWidthAttributes:!0,applyHeightAttributes:!0,applyAttributesTableElements:!0,resolveCSSVariables:!0,url:""},ld);return ud.webResources=ud.webResources||{},ud}}(utils$4)),utils$4}(function(Ra){var qa=require$$0$2;requireUtils$1();var nd=function(ld,ud,dd){const{xmlMode:pd,...fd}=ud;return ud=Object.assign({xml:{decodeEntities:!1,xmlMode:pd}},fd),ld=dd(ld),qa.load(ld,ud)},od=function(){var ld=[],ud=function(pd){var fd=Ra.exports.codeBlocks;return Object.keys(fd).forEach(function(md){var vd=new RegExp(fd[md].start+"([\\S\\s]*?)"+fd[md].end,"g");pd=pd.replace(vd,function(Ad,Nd){return ld.push(Ad),"JUICE_CODE_BLOCK_"+(ld.length-1)+"_"})}),pd},dd=function(pd){for(var fd=0;fd<ld.length;fd++){var md=new RegExp("JUICE_CODE_BLOCK_"+fd+'_(="")?',"gi");pd=pd.replace(md,function(){return ld[fd]})}return pd};return{encodeEntities:ud,decodeEntities:dd}};Ra.exports=function(ld,ud,dd,pd){var fd=od(),md=nd(ld,ud,fd.encodeEntities),vd=[md];vd.push.apply(vd,pd);var Ad=dd.apply(void 0,vd)||md;return ud&&ud.xmlMode?fd.decodeEntities(Ad.xml()):fd.decodeEntities(Ad.html())},Ra.exports.codeBlocks={EJS:{start:"<%",end:"%>"},HBS:{start:"{{",end:"}}"}}})(cheerio$1);var cheerioExports=cheerio$1.exports,numbers$1={};numbers$1.romanize=function(Ra){if(isNaN(Ra))return NaN;for(var qa=String(+Ra).split(""),nd=["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM","","X","XX","XXX","XL","L","LX","LXX","LXXX","XC","","I","II","III","IV","V","VI","VII","VIII","IX"],od="",ld=3;ld--;)od=(nd[+qa.pop()+ld*10]||"")+od;return Array(+qa.join("")+1).join("M")+od};numbers$1.alphanumeric=function(Ra){for(var qa="",nd;Ra>0;)nd=(Ra-1)%26,qa=String.fromCharCode(65+nd)+qa,Ra=(Ra-nd)/26|0;return qa||void 0};const uniqueString=Ra=>{let qa="";do qa=(Math.random()+1).toString(36).substring(2);while(Ra.indexOf(qa)!==-1);return qa},replaceVariables=(Ra,qa)=>{let nd=/([a-z\-]+)\s*\(\s*([^\(\)]*?)\s*(?:,\s*([^\(\)]*?)\s*)?\s*\)/i,od=[],ld,ud=uniqueString(qa);for(;(ld=nd.exec(qa))!==null;){let pd=`${od.length}`;if(ld[1].toLowerCase()=="var"){const md=findVariableValue(Ra,ld[2]);if(md){qa=qa.replace(ld[0],md);continue}if(ld[3]){qa=qa.replace(ld[0],ld[3]);continue}}let fd=`${ud}${pd.padStart(5,"-")}`;qa=qa.replace(ld[0],fd),od.push({placeholder:fd,replace:ld[0]})}for(var dd=od.length-1;dd>=0;dd--){const pd=od[dd];qa=qa.replace(pd.placeholder,pd.replace)}return qa},findVariableValue=(Ra,qa)=>{for(;Ra;){if(Ra.styleProps&&qa in Ra.styleProps)return Ra.styleProps[qa].value;var Ra=Ra.pseudoElementParent||Ra.parent}};var variables$1={replaceVariables,findVariableValue},utils$3=requireUtils$1(),numbers=numbers$1,variables=variables$1,inline$2=function(qa){qa.ignoredPseudos=["hover","active","focus","visited","link"],qa.widthElements=["TABLE","TD","TH","IMG"],qa.heightElements=["TABLE","TD","TH","IMG"],qa.tableElements=["TABLE","TH","TR","TD","CAPTION","COLGROUP","COL","THEAD","TBODY","TFOOT"],qa.nonVisualElements=["HEAD","TITLE","BASE","LINK","STYLE","META","SCRIPT","NOSCRIPT"],qa.styleToAttribute={"background-color":"bgcolor","background-image":"background","text-align":"align","vertical-align":"valign"},qa.excludedProperties=[],qa.juiceDocument=md,qa.inlineDocument=nd;function nd(Nd,Od,kd){kd=kd||{};var Ld=utils$3.parseCSS(Od),Gd=[],jd="style",Fd={};if(kd.styleAttributeName&&(jd=kd.styleAttributeName),Ld.forEach(zd),Gd.forEach(Wd),kd.inlinePseudoElements&&Gd.forEach(Jd),kd.applyWidthAttributes&&Gd.forEach(function(mf){_f(mf,"width")}),kd.applyHeightAttributes&&Gd.forEach(function(mf){_f(mf,"height")}),kd.applyAttributesTableElements&&Gd.forEach(pf),kd.insertPreservedExtraCss&&kd.extraCss){var Ud=utils$3.getPreservedText(kd.extraCss,{mediaQueries:kd.preserveMediaQueries,fontFaces:kd.preserveFontFaces,keyFrames:kd.preserveKeyFrames});if(Ud){var qd=null;kd.insertPreservedExtraCss!==!0?qd=Nd(kd.insertPreservedExtraCss):(qd=Nd("head"),qd.length||(qd=Nd("body")),qd.length||(qd=Nd.root())),qd.first().append("<style>"+Ud+"</style>")}}function zd(mf){var Sf=mf[0],Tf=mf[1],Af=new utils$3.Selector(Sf),Ef=Af.parsed();if(Ef){for(var Nf=dd(Ef),If=0;If<Ef.length;++If){var Gf=Ef[If];if(Gf.pseudos)for(var Qf=0;Qf<Gf.pseudos.length;++Qf){var Xf=Gf.pseudos[Qf];if(qa.ignoredPseudos.indexOf(Xf.name)>=0)return}}if(Nf){var ph=Ef[Ef.length-1],qf=ph.pseudos;ph.pseudos=fd(ph.pseudos),Sf=Ef.toString(),ph.pseudos=qf}var Lf;try{Lf=Nd(Sf)}catch{return}Lf.each(function(){var Wf=this;if(Wf.name&&qa.nonVisualElements.indexOf(Wf.name.toUpperCase())>=0)return;if(Wf.counterProps||(Wf.counterProps=Wf.parent&&Wf.parent.counterProps?Object.create(Wf.parent.counterProps):{}),Nf){var Jf="pseudo"+Nf,Kf=Wf[Jf];Kf||(Kf=Wf[Jf]=Nd("<span />").get(0),Kf.pseudoElementType=Nf,Kf.pseudoElementParent=Wf,Kf.counterProps=Wf.counterProps,Wf[Jf]=Kf),Wf=Kf}if(!Wf.styleProps){if(Wf.styleProps={},Nd(Wf).attr(jd)){var Cf="* { "+Nd(Wf).attr(jd)+" } ";dh(utils$3.parseCSS(Cf)[0][1],new utils$3.Selector("<style>",!0))}Gd.push(Wf)}function xf(Rh,th){for(var Bf=th.split(/\s+/),Sh=0;Sh<Bf.length;Sh++){var Fh=Bf[Sh],uh=parseInt(Bf[Sh+1],10);isNaN(uh)?Rh.counterProps[Fh]=Fd[Fh]=0:Rh.counterProps[Fh]=Fd[Bf[Sh++]]=uh}}function Yf(Rh,th){for(var Bf=th.split(/\s+/),Sh=0;Sh<Bf.length;Sh++){var Fh=Bf[Sh];if(Rh.counterProps[Fh]!==void 0){var uh=parseInt(Bf[Sh+1],10);isNaN(uh)?Rh.counterProps[Fh]=Fd[Fh]+=1:Rh.counterProps[Fh]=Fd[Bf[Sh++]]+=uh}}}function dh(Rh,th){for(var Bf=0,Sh=Rh.length;Bf<Sh;Bf++)if(Rh[Bf].type=="property"){var Fh=Rh[Bf].name,uh=Rh[Bf].value;Fh==="counter-reset"&&xf(Wf,uh),Fh==="counter-increment"&&Yf(Wf,uh);var Pf=uh.match(/!important$/)!==null;Pf&&!kd.preserveImportant&&(uh=od(uh));var Uf=[Rh[Bf].position.start.line,Rh[Bf].position.start.col],Zf=new utils$3.Property(Fh,uh,th,Pf?2:0,Uf),mh=Wf.styleProps[Fh];qa.excludedProperties.indexOf(Fh)<0&&(mh&&mh.compare(Zf)===Zf||!mh)&&(mh&&mh.selector!==th?delete Wf.styleProps[Fh]:mh&&(Zf.nextProp=mh),Wf.styleProps[Fh]=Zf)}}dh(Tf,Af)})}}function Wd(mf){Object.keys(mf.styleProps).length;var Sf=[];Object.keys(mf.styleProps).forEach(function(Af){for(var Ef=mf.styleProps[Af];typeof Ef<"u";)Sf.push(Ef),Ef=Ef.nextProp}),Sf.sort(function(Af,Ef){return Af.compareFunc(Ef)});var Tf=Sf.filter(function(Af){return kd.resolveCSSVariables&&Af.prop.indexOf("--")===0?!1:Af.prop!=="content"}).map(function(Af){return kd.resolveCSSVariables&&(Af.value=variables.replaceVariables(mf,Af.value)),Af.prop+": "+Af.value.replace(/["]/g,"'")+";"}).join(" ");Tf&&Nd(mf).attr(jd,Tf)}function Jd(mf){if(mf.pseudoElementType&&mf.styleProps.content){var Sf=ud(mf);Sf.img?(mf.name="img",Nd(mf).attr("src",Sf.img)):Nd(mf).text(Sf);var Tf=mf.pseudoElementParent;mf.pseudoElementType==="before"?Nd(Tf).prepend(mf):Nd(Tf).append(mf)}}function _f(mf,Sf){if(mf.name){var Tf=mf.name.toUpperCase();if(qa[Sf+"Elements"].indexOf(Tf)>-1){for(var Af in mf.styleProps)if(mf.styleProps[Af].prop===Sf){var Ef=mf.styleProps[Af].value;if(kd.preserveImportant&&(Ef=od(Ef)),Ef.match(/(px|auto)/)){var Nf=Ef.replace("px","");Nd(mf).attr(Sf,Nf);return}if(qa.tableElements.indexOf(Tf)>-1&&Ef.match(/\%/)){Nd(mf).attr(Sf,Ef);return}}}}}function Xd(mf){return mf.indexOf("url(")!==0?mf:mf.replace(/^url\((["'])?([^"']+)\1\)$/,"$2")}function pf(mf){if(mf.name){var Sf=mf.name.toUpperCase(),Tf=Object.keys(qa.styleToAttribute);if(qa.tableElements.indexOf(Sf)>-1){for(var Af in mf.styleProps)if(Tf.indexOf(mf.styleProps[Af].prop)>-1){var Ef=qa.styleToAttribute[mf.styleProps[Af].prop],Nf=mf.styleProps[Af].value;if(kd.preserveImportant&&(Nf=od(Nf)),Ef==="background"&&(Nf=Xd(Nf)),/(linear|radial)-gradient\(/i.test(Nf))continue;Nd(mf).attr(Ef,Nf)}}}}}function od(Nd){return Nd.replace(/\s*!important$/,"")}function ld(Nd,Od){switch(Od){case"lower-roman":return numbers.romanize(Nd).toLowerCase();case"upper-roman":return numbers.romanize(Nd);case"lower-latin":case"lower-alpha":return numbers.alphanumeric(Nd).toLowerCase();case"upper-latin":case"upper-alpha":return numbers.alphanumeric(Nd);default:return Nd.toString()}}function ud(Nd){var Od=Nd.styleProps.content.value;if(Od==="none"||Od==="normal")return"";var kd=Od.match(/^\s*url\s*\(\s*(.*?)\s*\)\s*$/i);if(kd){var Ld=kd[1].replace(/^['"]|['"]$/g,"");return{img:Ld}}for(var Gd=[],jd=Od.split(/['"]/),Fd=0;Fd<jd.length;Fd++)if(jd[Fd]!==""){var Ud=jd[Fd].match(/var\s*\(\s*(.*?)\s*(,\s*(.*?)\s*)?\s*\)/i);if(Ud){var qd=variables.findVariableValue(Nd,Ud[1])||Ud[2];Gd.push(qd.replace(/^['"]|['"]$/g,""));continue}var zd=jd[Fd].match(/counter\s*\(\s*(.*?)\s*(,\s*(.*?)\s*)?\s*\)/i);if(zd&&zd[1]in Nd.counterProps){var Wd=Nd.counterProps[zd[1]];Gd.push(ld(Wd,zd[3]));continue}var Jd=jd[Fd].match(/attr\s*\(\s*(.*?)\s*\)/i);if(Jd){var _f=Jd[1];Gd.push(Nd.pseudoElementParent?Nd.pseudoElementParent.attribs[_f]:Nd.attribs[_f]);continue}Gd.push(jd[Fd])}return Od=Gd.join(""),Od=Od.replace(/\\/g,""),Od}function dd(Nd){if(Nd.length!==0){var Od=Nd[Nd.length-1].pseudos;if(Od){for(var kd=0;kd<Od.length;kd++)if(pd(Od[kd]))return Od[kd].name}}}function pd(Nd){return Nd.name==="before"||Nd.name==="after"}function fd(Nd){return Nd.filter(function(Od){return!pd(Od)})}function md(Nd,Od){Od=utils$3.getDefaultOptions(Od);var kd=Ad(Nd,Od);return kd+=`
`+Od.extraCss,nd(Nd,kd,Od),Nd}function vd(Nd,Od){var kd=[],Ld=Nd("style"),Gd,jd,Fd;return Ld.each(function(){if(Fd=this,Gd=Fd.childNodes,Gd.length!==1){Od.removeStyleTags&&Nd(Fd).remove();return}if(jd=Gd[0].data,Od.applyStyleTags&&Nd(Fd).attr("data-embed")===void 0&&kd.push(jd),Od.removeStyleTags&&Nd(Fd).attr("data-embed")===void 0){var Ud=Fd.childNodes[0].nodeValue,qd=utils$3.getPreservedText(Ud,{mediaQueries:Od.preserveMediaQueries,fontFaces:Od.preserveFontFaces,keyFrames:Od.preserveKeyFrames,pseudos:Od.preservePseudos},qa.ignoredPseudos);qd?Fd.childNodes[0].nodeValue=qd:Nd(Fd).remove()}Nd(Fd).removeAttr("data-embed")}),kd}function Ad(Nd,Od){var kd=vd(Nd,Od),Ld=kd.join(`
`);return Ld}return qa},cheerio=cheerioExports,makeJuiceClient=inline$2,juiceClient=makeJuiceClient(function(Ra,qa){return cheerio(Ra,{xmlMode:qa&&qa.xmlMode},juiceDocument,[qa])}),juiceDocument=function(Ra,qa){return juiceClient.juiceDocument(Ra,qa)};juiceClient.inlineContent=function(Ra,qa,nd){return cheerio(Ra,{xmlMode:nd&&nd.xmlMode},juiceClient.inlineDocument,[qa,nd])};juiceClient.codeBlocks=cheerio.codeBlocks;var client=juiceClient;const juice=getDefaultExportFromCjs(client);var $s$1=Object.create,je$6=Object.defineProperty,Vs$1=Object.getOwnPropertyDescriptor,qs$2=Object.getOwnPropertyNames,zs$1=Object.getPrototypeOf,Ks$2=Object.prototype.hasOwnProperty,Hs$2=(Ra,qa)=>()=>(qa||Ra((qa={exports:{}}).exports,qa),qa.exports),Ws$1=(Ra,qa)=>{for(var nd in qa)je$6(Ra,nd,{get:qa[nd],enumerable:!0})},Js$1=(Ra,qa,nd,od)=>{if(qa&&typeof qa=="object"||typeof qa=="function")for(let ld of qs$2(qa))!Ks$2.call(Ra,ld)&&ld!==nd&&je$6(Ra,ld,{get:()=>qa[ld],enumerable:!(od=Vs$1(qa,ld))||od.enumerable});return Ra},vt$5=(Ra,qa,nd)=>(nd=Ra!=null?$s$1(zs$1(Ra)):{},Js$1(je$6(nd,"default",{value:Ra,enumerable:!0}),Ra)),At$4=Hs$2(Ra=>{Object.defineProperty(Ra,"__esModule",{value:!0});function qa(Kd,Hd){if(Kd==null)return{};var Qd={},vf=Object.keys(Kd),$f,gh;for(gh=0;gh<vf.length;gh++)$f=vf[gh],!(Hd.indexOf($f)>=0)&&(Qd[$f]=Kd[$f]);return Qd}var nd=class{constructor(Kd,Hd,Qd){this.line=void 0,this.column=void 0,this.index=void 0,this.line=Kd,this.column=Hd,this.index=Qd}},od=class{constructor(Kd,Hd){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=Kd,this.end=Hd}};function ld(Kd,Hd){let{line:Qd,column:vf,index:$f}=Kd;return new nd(Qd,vf+Hd,$f+Hd)}var ud="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED",dd={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:ud},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:ud}},pd={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},fd=Kd=>Kd.type==="UpdateExpression"?pd.UpdateExpression[`${Kd.prefix}`]:pd[Kd.type],md={AccessorIsGenerator:({kind:Kd})=>`A ${Kd}ter cannot be a generator.`,ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:({kind:Kd})=>`Missing initializer in ${Kd} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:({exportName:Kd})=>`\`${Kd}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",DynamicImportPhaseRequiresImportExpressions:({phase:Kd})=>`'import.${Kd}(...)' can only be parsed when using the 'createImportExpressions' option.`,ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:Kd,exportName:Hd})=>`A string literal cannot be used as an exported binding without \`from\`.
- Did you mean \`export { '${Kd}' as '${Hd}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:Kd})=>`'${Kd==="ForInStatement"?"for-in":"for-of"}' loop variable declaration may not have an initializer.`,ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:({type:Kd})=>`Unsyntactic ${Kd==="BreakStatement"?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedAssertSyntax: true` option in the import attributes plugin to suppress this error.",ImportBindingIsString:({importName:Kd})=>`A string literal cannot be used as an imported binding.
- Did you mean \`import { "${Kd}" as foo }\`?`,ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:({maxArgumentCount:Kd})=>`\`import()\` requires exactly ${Kd===1?"one argument":"one or two arguments"}.`,ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({radix:Kd})=>`Expected number in radix ${Kd}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:Kd})=>`Escape sequence in keyword ${Kd}.`,InvalidIdentifier:({identifierName:Kd})=>`Invalid identifier ${Kd}.`,InvalidLhs:({ancestor:Kd})=>`Invalid left-hand side in ${fd(Kd)}.`,InvalidLhsBinding:({ancestor:Kd})=>`Binding invalid left-hand side in ${fd(Kd)}.`,InvalidLhsOptionalChaining:({ancestor:Kd})=>`Invalid optional chaining in the left-hand side of ${fd(Kd)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:Kd})=>`Unexpected character '${Kd}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:Kd})=>`Private name #${Kd} is not defined.`,InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:({labelName:Kd})=>`Label '${Kd}' is already declared.`,LetInLexicalBinding:"'let' is disallowed as a lexically bound name.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:({missingPlugin:Kd})=>`This experimental syntax requires enabling the parser plugin: ${Kd.map(Hd=>JSON.stringify(Hd)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:Kd})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${Kd.map(Hd=>JSON.stringify(Hd)).join(", ")}.`,MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:({key:Kd})=>`Duplicate key "${Kd}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:Kd})=>`An export name cannot include a lone surrogate, found '\\u${Kd.toString(16)}'.`,ModuleExportUndefined:({localName:Kd})=>`Export '${Kd}' is not defined.`,MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:({identifierName:Kd})=>`Private names are only allowed in property accesses (\`obj.#${Kd}\`) or in \`in\` expressions (\`#${Kd} in obj\`).`,PrivateNameRedeclaration:({identifierName:Kd})=>`Duplicate private name #${Kd}.`,RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",SourcePhaseImportRequiresDefault:'Only `import source x from "./module"` is valid.',StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:({keyword:Kd})=>`Unexpected keyword '${Kd}'.`,UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:({reservedWord:Kd})=>`Unexpected reserved word '${Kd}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:Kd,unexpected:Hd})=>`Unexpected token${Hd?` '${Hd}'.`:""}${Kd?`, expected "${Kd}"`:""}`,UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:({target:Kd,onlyValidPropertyName:Hd})=>`The only valid meta property for ${Kd} is ${Kd}.${Hd}.`,UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationExport:"Using declaration cannot be exported.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:Kd})=>`Identifier '${Kd}' has already been declared.`,YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},vd={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:Kd})=>`Assigning to '${Kd}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:Kd})=>`Binding '${Kd}' in strict mode.`,StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."},Ad=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),Nd={PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:({token:Kd})=>`Invalid topic token ${Kd}. In order to use ${Kd} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${Kd}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:Kd})=>`Hack-style pipe body cannot be an unparenthesized ${fd({type:Kd})}; please wrap it in parentheses.`,PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'},Od=["toMessage"],kd=["message"];function Ld(Kd,Hd,Qd){Object.defineProperty(Kd,Hd,{enumerable:!1,configurable:!0,value:Qd})}function Gd(Kd){let{toMessage:Hd}=Kd,Qd=qa(Kd,Od);return function vf($f,gh){let kh=new SyntaxError;return Object.assign(kh,Qd,{loc:$f,pos:$f.index}),"missingPlugin"in gh&&Object.assign(kh,{missingPlugin:gh.missingPlugin}),Ld(kh,"clone",function(im={}){var Sm;let{line:hm,column:Qm,index:yg}=(Sm=im.loc)!=null?Sm:$f;return vf(new nd(hm,Qm,yg),Object.assign({},gh,im.details))}),Ld(kh,"details",gh),Object.defineProperty(kh,"message",{configurable:!0,get(){let im=`${Hd(gh)} (${$f.line}:${$f.column})`;return this.message=im,im},set(im){Object.defineProperty(this,"message",{value:im,writable:!0})}}),kh}}function jd(Kd,Hd){if(Array.isArray(Kd))return vf=>jd(vf,Kd[0]);let Qd={};for(let vf of Object.keys(Kd)){let $f=Kd[vf],gh=typeof $f=="string"?{message:()=>$f}:typeof $f=="function"?{message:$f}:$f,{message:kh}=gh,im=qa(gh,kd),Sm=typeof kh=="string"?()=>kh:kh;Qd[vf]=Gd(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:vf,toMessage:Sm},Hd?{syntaxPlugin:Hd}:{},im))}return Qd}var Fd=Object.assign({},jd(dd),jd(md),jd(vd),jd`pipelineOperator`(Nd)),{defineProperty:Ud}=Object,qd=(Kd,Hd)=>{Kd&&Ud(Kd,Hd,{enumerable:!1,value:Kd[Hd]})};function zd(Kd){return qd(Kd.loc.start,"index"),qd(Kd.loc.end,"index"),Kd}var Wd=Kd=>class extends Kd{parse(){let Hd=zd(super.parse());return this.options.tokens&&(Hd.tokens=Hd.tokens.map(zd)),Hd}parseRegExpLiteral({pattern:Hd,flags:Qd}){let vf=null;try{vf=new RegExp(Hd,Qd)}catch{}let $f=this.estreeParseLiteral(vf);return $f.regex={pattern:Hd,flags:Qd},$f}parseBigIntLiteral(Hd){let Qd;try{Qd=BigInt(Hd)}catch{Qd=null}let vf=this.estreeParseLiteral(Qd);return vf.bigint=String(vf.value||Hd),vf}parseDecimalLiteral(Hd){let Qd=this.estreeParseLiteral(null);return Qd.decimal=String(Qd.value||Hd),Qd}estreeParseLiteral(Hd){return this.parseLiteral(Hd,"Literal")}parseStringLiteral(Hd){return this.estreeParseLiteral(Hd)}parseNumericLiteral(Hd){return this.estreeParseLiteral(Hd)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(Hd){return this.estreeParseLiteral(Hd)}directiveToStmt(Hd){let Qd=Hd.value;delete Hd.value,Qd.type="Literal",Qd.raw=Qd.extra.raw,Qd.value=Qd.extra.expressionValue;let vf=Hd;return vf.type="ExpressionStatement",vf.expression=Qd,vf.directive=Qd.extra.rawValue,delete Qd.extra,vf}initFunction(Hd,Qd){super.initFunction(Hd,Qd),Hd.expression=!1}checkDeclaration(Hd){Hd!=null&&this.isObjectProperty(Hd)?this.checkDeclaration(Hd.value):super.checkDeclaration(Hd)}getObjectOrClassMethodParams(Hd){return Hd.value.params}isValidDirective(Hd){var Qd;return Hd.type==="ExpressionStatement"&&Hd.expression.type==="Literal"&&typeof Hd.expression.value=="string"&&!((Qd=Hd.expression.extra)!=null&&Qd.parenthesized)}parseBlockBody(Hd,Qd,vf,$f,gh){super.parseBlockBody(Hd,Qd,vf,$f,gh);let kh=Hd.directives.map(im=>this.directiveToStmt(im));Hd.body=kh.concat(Hd.body),delete Hd.directives}pushClassMethod(Hd,Qd,vf,$f,gh,kh){this.parseMethod(Qd,vf,$f,gh,kh,"ClassMethod",!0),Qd.typeParameters&&(Qd.value.typeParameters=Qd.typeParameters,delete Qd.typeParameters),Hd.body.push(Qd)}parsePrivateName(){let Hd=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(Hd):Hd}convertPrivateNameToPrivateIdentifier(Hd){let Qd=super.getPrivateNameSV(Hd);return Hd=Hd,delete Hd.id,Hd.name=Qd,Hd.type="PrivateIdentifier",Hd}isPrivateName(Hd){return this.getPluginOption("estree","classFeatures")?Hd.type==="PrivateIdentifier":super.isPrivateName(Hd)}getPrivateNameSV(Hd){return this.getPluginOption("estree","classFeatures")?Hd.name:super.getPrivateNameSV(Hd)}parseLiteral(Hd,Qd){let vf=super.parseLiteral(Hd,Qd);return vf.raw=vf.extra.raw,delete vf.extra,vf}parseFunctionBody(Hd,Qd,vf=!1){super.parseFunctionBody(Hd,Qd,vf),Hd.expression=Hd.body.type!=="BlockStatement"}parseMethod(Hd,Qd,vf,$f,gh,kh,im=!1){let Sm=this.startNode();return Sm.kind=Hd.kind,Sm=super.parseMethod(Sm,Qd,vf,$f,gh,kh,im),Sm.type="FunctionExpression",delete Sm.kind,Hd.value=Sm,kh==="ClassPrivateMethod"&&(Hd.computed=!1),this.finishNode(Hd,"MethodDefinition")}nameIsConstructor(Hd){return Hd.type==="Literal"?Hd.value==="constructor":super.nameIsConstructor(Hd)}parseClassProperty(...Hd){let Qd=super.parseClassProperty(...Hd);return this.getPluginOption("estree","classFeatures")&&(Qd.type="PropertyDefinition"),Qd}parseClassPrivateProperty(...Hd){let Qd=super.parseClassPrivateProperty(...Hd);return this.getPluginOption("estree","classFeatures")&&(Qd.type="PropertyDefinition",Qd.computed=!1),Qd}parseObjectMethod(Hd,Qd,vf,$f,gh){let kh=super.parseObjectMethod(Hd,Qd,vf,$f,gh);return kh&&(kh.type="Property",kh.kind==="method"&&(kh.kind="init"),kh.shorthand=!1),kh}parseObjectProperty(Hd,Qd,vf,$f){let gh=super.parseObjectProperty(Hd,Qd,vf,$f);return gh&&(gh.kind="init",gh.type="Property"),gh}isValidLVal(Hd,Qd,vf){return Hd==="Property"?"value":super.isValidLVal(Hd,Qd,vf)}isAssignable(Hd,Qd){return Hd!=null&&this.isObjectProperty(Hd)?this.isAssignable(Hd.value,Qd):super.isAssignable(Hd,Qd)}toAssignable(Hd,Qd=!1){if(Hd!=null&&this.isObjectProperty(Hd)){let{key:vf,value:$f}=Hd;this.isPrivateName(vf)&&this.classScope.usePrivateName(this.getPrivateNameSV(vf),vf.loc.start),this.toAssignable($f,Qd)}else super.toAssignable(Hd,Qd)}toAssignableObjectExpressionProp(Hd,Qd,vf){Hd.type==="Property"&&(Hd.kind==="get"||Hd.kind==="set")?this.raise(Fd.PatternHasAccessor,Hd.key):Hd.type==="Property"&&Hd.method?this.raise(Fd.PatternHasMethod,Hd.key):super.toAssignableObjectExpressionProp(Hd,Qd,vf)}finishCallExpression(Hd,Qd){let vf=super.finishCallExpression(Hd,Qd);if(vf.callee.type==="Import"){if(vf.type="ImportExpression",vf.source=vf.arguments[0],this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")){var $f,gh;vf.options=($f=vf.arguments[1])!=null?$f:null,vf.attributes=(gh=vf.arguments[1])!=null?gh:null}delete vf.arguments,delete vf.callee}return vf}toReferencedArguments(Hd){Hd.type!=="ImportExpression"&&super.toReferencedArguments(Hd)}parseExport(Hd,Qd){let vf=this.state.lastTokStartLoc,$f=super.parseExport(Hd,Qd);switch($f.type){case"ExportAllDeclaration":$f.exported=null;break;case"ExportNamedDeclaration":$f.specifiers.length===1&&$f.specifiers[0].type==="ExportNamespaceSpecifier"&&($f.type="ExportAllDeclaration",$f.exported=$f.specifiers[0].exported,delete $f.specifiers);case"ExportDefaultDeclaration":{var gh;let{declaration:kh}=$f;(kh==null?void 0:kh.type)==="ClassDeclaration"&&((gh=kh.decorators)==null?void 0:gh.length)>0&&kh.start===$f.start&&this.resetStartLocation($f,vf)}break}return $f}parseSubscript(Hd,Qd,vf,$f){let gh=super.parseSubscript(Hd,Qd,vf,$f);if($f.optionalChainMember){if((gh.type==="OptionalMemberExpression"||gh.type==="OptionalCallExpression")&&(gh.type=gh.type.substring(8)),$f.stop){let kh=this.startNodeAtNode(gh);return kh.expression=gh,this.finishNode(kh,"ChainExpression")}}else(gh.type==="MemberExpression"||gh.type==="CallExpression")&&(gh.optional=!1);return gh}isOptionalMemberExpression(Hd){return Hd.type==="ChainExpression"?Hd.expression.type==="MemberExpression":super.isOptionalMemberExpression(Hd)}hasPropertyAsPrivateName(Hd){return Hd.type==="ChainExpression"&&(Hd=Hd.expression),super.hasPropertyAsPrivateName(Hd)}isObjectProperty(Hd){return Hd.type==="Property"&&Hd.kind==="init"&&!Hd.method}isObjectMethod(Hd){return Hd.type==="Property"&&(Hd.method||Hd.kind==="get"||Hd.kind==="set")}finishNodeAt(Hd,Qd,vf){return zd(super.finishNodeAt(Hd,Qd,vf))}resetStartLocation(Hd,Qd){super.resetStartLocation(Hd,Qd),zd(Hd)}resetEndLocation(Hd,Qd=this.state.lastTokEndLoc){super.resetEndLocation(Hd,Qd),zd(Hd)}},Jd=class{constructor(Kd,Hd){this.token=void 0,this.preserveSpace=void 0,this.token=Kd,this.preserveSpace=!!Hd}},_f={brace:new Jd("{"),j_oTag:new Jd("<tag"),j_cTag:new Jd("</tag"),j_expr:new Jd("<tag>...</tag>",!0)};_f.template=new Jd("`",!0);var Xd=!0,pf=!0,mf=!0,Sf=!0,Tf=!0,Af=!0,Ef=class{constructor(Kd,Hd={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=Kd,this.keyword=Hd.keyword,this.beforeExpr=!!Hd.beforeExpr,this.startsExpr=!!Hd.startsExpr,this.rightAssociative=!!Hd.rightAssociative,this.isLoop=!!Hd.isLoop,this.isAssign=!!Hd.isAssign,this.prefix=!!Hd.prefix,this.postfix=!!Hd.postfix,this.binop=Hd.binop!=null?Hd.binop:null,this.updateContext=null}},Nf=new Map;function If(Kd,Hd={}){Hd.keyword=Kd;let Qd=Kf(Kd,Hd);return Nf.set(Kd,Qd),Qd}function Gf(Kd,Hd){return Kf(Kd,{beforeExpr:Xd,binop:Hd})}var Qf=-1,Xf=[],ph=[],qf=[],Lf=[],Wf=[],Jf=[];function Kf(Kd,Hd={}){var Qd,vf,$f,gh;return++Qf,ph.push(Kd),qf.push((Qd=Hd.binop)!=null?Qd:-1),Lf.push((vf=Hd.beforeExpr)!=null?vf:!1),Wf.push(($f=Hd.startsExpr)!=null?$f:!1),Jf.push((gh=Hd.prefix)!=null?gh:!1),Xf.push(new Ef(Kd,Hd)),Qf}function Cf(Kd,Hd={}){var Qd,vf,$f,gh;return++Qf,Nf.set(Kd,Qf),ph.push(Kd),qf.push((Qd=Hd.binop)!=null?Qd:-1),Lf.push((vf=Hd.beforeExpr)!=null?vf:!1),Wf.push(($f=Hd.startsExpr)!=null?$f:!1),Jf.push((gh=Hd.prefix)!=null?gh:!1),Xf.push(new Ef("name",Hd)),Qf}var xf={bracketL:Kf("[",{beforeExpr:Xd,startsExpr:pf}),bracketHashL:Kf("#[",{beforeExpr:Xd,startsExpr:pf}),bracketBarL:Kf("[|",{beforeExpr:Xd,startsExpr:pf}),bracketR:Kf("]"),bracketBarR:Kf("|]"),braceL:Kf("{",{beforeExpr:Xd,startsExpr:pf}),braceBarL:Kf("{|",{beforeExpr:Xd,startsExpr:pf}),braceHashL:Kf("#{",{beforeExpr:Xd,startsExpr:pf}),braceR:Kf("}"),braceBarR:Kf("|}"),parenL:Kf("(",{beforeExpr:Xd,startsExpr:pf}),parenR:Kf(")"),comma:Kf(",",{beforeExpr:Xd}),semi:Kf(";",{beforeExpr:Xd}),colon:Kf(":",{beforeExpr:Xd}),doubleColon:Kf("::",{beforeExpr:Xd}),dot:Kf("."),question:Kf("?",{beforeExpr:Xd}),questionDot:Kf("?."),arrow:Kf("=>",{beforeExpr:Xd}),template:Kf("template"),ellipsis:Kf("...",{beforeExpr:Xd}),backQuote:Kf("`",{startsExpr:pf}),dollarBraceL:Kf("${",{beforeExpr:Xd,startsExpr:pf}),templateTail:Kf("...`",{startsExpr:pf}),templateNonTail:Kf("...${",{beforeExpr:Xd,startsExpr:pf}),at:Kf("@"),hash:Kf("#",{startsExpr:pf}),interpreterDirective:Kf("#!..."),eq:Kf("=",{beforeExpr:Xd,isAssign:Sf}),assign:Kf("_=",{beforeExpr:Xd,isAssign:Sf}),slashAssign:Kf("_=",{beforeExpr:Xd,isAssign:Sf}),xorAssign:Kf("_=",{beforeExpr:Xd,isAssign:Sf}),moduloAssign:Kf("_=",{beforeExpr:Xd,isAssign:Sf}),incDec:Kf("++/--",{prefix:Tf,postfix:Af,startsExpr:pf}),bang:Kf("!",{beforeExpr:Xd,prefix:Tf,startsExpr:pf}),tilde:Kf("~",{beforeExpr:Xd,prefix:Tf,startsExpr:pf}),doubleCaret:Kf("^^",{startsExpr:pf}),doubleAt:Kf("@@",{startsExpr:pf}),pipeline:Gf("|>",0),nullishCoalescing:Gf("??",1),logicalOR:Gf("||",1),logicalAND:Gf("&&",2),bitwiseOR:Gf("|",3),bitwiseXOR:Gf("^",4),bitwiseAND:Gf("&",5),equality:Gf("==/!=/===/!==",6),lt:Gf("</>/<=/>=",7),gt:Gf("</>/<=/>=",7),relational:Gf("</>/<=/>=",7),bitShift:Gf("<</>>/>>>",8),bitShiftL:Gf("<</>>/>>>",8),bitShiftR:Gf("<</>>/>>>",8),plusMin:Kf("+/-",{beforeExpr:Xd,binop:9,prefix:Tf,startsExpr:pf}),modulo:Kf("%",{binop:10,startsExpr:pf}),star:Kf("*",{binop:10}),slash:Gf("/",10),exponent:Kf("**",{beforeExpr:Xd,binop:11,rightAssociative:!0}),_in:If("in",{beforeExpr:Xd,binop:7}),_instanceof:If("instanceof",{beforeExpr:Xd,binop:7}),_break:If("break"),_case:If("case",{beforeExpr:Xd}),_catch:If("catch"),_continue:If("continue"),_debugger:If("debugger"),_default:If("default",{beforeExpr:Xd}),_else:If("else",{beforeExpr:Xd}),_finally:If("finally"),_function:If("function",{startsExpr:pf}),_if:If("if"),_return:If("return",{beforeExpr:Xd}),_switch:If("switch"),_throw:If("throw",{beforeExpr:Xd,prefix:Tf,startsExpr:pf}),_try:If("try"),_var:If("var"),_const:If("const"),_with:If("with"),_new:If("new",{beforeExpr:Xd,startsExpr:pf}),_this:If("this",{startsExpr:pf}),_super:If("super",{startsExpr:pf}),_class:If("class",{startsExpr:pf}),_extends:If("extends",{beforeExpr:Xd}),_export:If("export"),_import:If("import",{startsExpr:pf}),_null:If("null",{startsExpr:pf}),_true:If("true",{startsExpr:pf}),_false:If("false",{startsExpr:pf}),_typeof:If("typeof",{beforeExpr:Xd,prefix:Tf,startsExpr:pf}),_void:If("void",{beforeExpr:Xd,prefix:Tf,startsExpr:pf}),_delete:If("delete",{beforeExpr:Xd,prefix:Tf,startsExpr:pf}),_do:If("do",{isLoop:mf,beforeExpr:Xd}),_for:If("for",{isLoop:mf}),_while:If("while",{isLoop:mf}),_as:Cf("as",{startsExpr:pf}),_assert:Cf("assert",{startsExpr:pf}),_async:Cf("async",{startsExpr:pf}),_await:Cf("await",{startsExpr:pf}),_defer:Cf("defer",{startsExpr:pf}),_from:Cf("from",{startsExpr:pf}),_get:Cf("get",{startsExpr:pf}),_let:Cf("let",{startsExpr:pf}),_meta:Cf("meta",{startsExpr:pf}),_of:Cf("of",{startsExpr:pf}),_sent:Cf("sent",{startsExpr:pf}),_set:Cf("set",{startsExpr:pf}),_source:Cf("source",{startsExpr:pf}),_static:Cf("static",{startsExpr:pf}),_using:Cf("using",{startsExpr:pf}),_yield:Cf("yield",{startsExpr:pf}),_asserts:Cf("asserts",{startsExpr:pf}),_checks:Cf("checks",{startsExpr:pf}),_exports:Cf("exports",{startsExpr:pf}),_global:Cf("global",{startsExpr:pf}),_implements:Cf("implements",{startsExpr:pf}),_intrinsic:Cf("intrinsic",{startsExpr:pf}),_infer:Cf("infer",{startsExpr:pf}),_is:Cf("is",{startsExpr:pf}),_mixins:Cf("mixins",{startsExpr:pf}),_proto:Cf("proto",{startsExpr:pf}),_require:Cf("require",{startsExpr:pf}),_satisfies:Cf("satisfies",{startsExpr:pf}),_keyof:Cf("keyof",{startsExpr:pf}),_readonly:Cf("readonly",{startsExpr:pf}),_unique:Cf("unique",{startsExpr:pf}),_abstract:Cf("abstract",{startsExpr:pf}),_declare:Cf("declare",{startsExpr:pf}),_enum:Cf("enum",{startsExpr:pf}),_module:Cf("module",{startsExpr:pf}),_namespace:Cf("namespace",{startsExpr:pf}),_interface:Cf("interface",{startsExpr:pf}),_type:Cf("type",{startsExpr:pf}),_opaque:Cf("opaque",{startsExpr:pf}),name:Kf("name",{startsExpr:pf}),string:Kf("string",{startsExpr:pf}),num:Kf("num",{startsExpr:pf}),bigint:Kf("bigint",{startsExpr:pf}),decimal:Kf("decimal",{startsExpr:pf}),regexp:Kf("regexp",{startsExpr:pf}),privateName:Kf("#name",{startsExpr:pf}),eof:Kf("eof"),jsxName:Kf("jsxName"),jsxText:Kf("jsxText",{beforeExpr:!0}),jsxTagStart:Kf("jsxTagStart",{startsExpr:!0}),jsxTagEnd:Kf("jsxTagEnd"),placeholder:Kf("%%",{startsExpr:!0})};function Yf(Kd){return Kd>=93&&Kd<=132}function dh(Kd){return Kd<=92}function Rh(Kd){return Kd>=58&&Kd<=132}function th(Kd){return Kd>=58&&Kd<=136}function Bf(Kd){return Lf[Kd]}function Sh(Kd){return Wf[Kd]}function Fh(Kd){return Kd>=29&&Kd<=33}function uh(Kd){return Kd>=129&&Kd<=131}function Pf(Kd){return Kd>=90&&Kd<=92}function Uf(Kd){return Kd>=58&&Kd<=92}function Zf(Kd){return Kd>=39&&Kd<=59}function mh(Kd){return Kd===34}function Mh(Kd){return Jf[Kd]}function _h(Kd){return Kd>=121&&Kd<=123}function pm(Kd){return Kd>=124&&Kd<=130}function Jh(Kd){return ph[Kd]}function Mm(Kd){return qf[Kd]}function Im(Kd){return Kd===57}function gm(Kd){return Kd>=24&&Kd<=25}function Lm(Kd){return Xf[Kd]}Xf[8].updateContext=Kd=>{Kd.pop()},Xf[5].updateContext=Xf[7].updateContext=Xf[23].updateContext=Kd=>{Kd.push(_f.brace)},Xf[22].updateContext=Kd=>{Kd[Kd.length-1]===_f.template?Kd.pop():Kd.push(_f.template)},Xf[142].updateContext=Kd=>{Kd.push(_f.j_expr,_f.j_oTag)};var Vm="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA--zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",Th="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍--9_・",Rf=new RegExp("["+Vm+"]"),wf=new RegExp("["+Vm+Th+"]");Vm=Th=null;var sh=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],xh=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function Wh(Kd,Hd){let Qd=65536;for(let vf=0,$f=Hd.length;vf<$f;vf+=2){if(Qd+=Hd[vf],Qd>Kd)return!1;if(Qd+=Hd[vf+1],Qd>=Kd)return!0}return!1}function om(Kd){return Kd<65?Kd===36:Kd<=90?!0:Kd<97?Kd===95:Kd<=122?!0:Kd<=65535?Kd>=170&&Rf.test(String.fromCharCode(Kd)):Wh(Kd,sh)}function Dm(Kd){return Kd<48?Kd===36:Kd<58?!0:Kd<65?!1:Kd<=90?!0:Kd<97?Kd===95:Kd<=122?!0:Kd<=65535?Kd>=170&&wf.test(String.fromCharCode(Kd)):Wh(Kd,sh)||Wh(Kd,xh)}var zm={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},jm=new Set(zm.keyword),ig=new Set(zm.strict),Zm=new Set(zm.strictBind);function ug(Kd,Hd){return Hd&&Kd==="await"||Kd==="enum"}function wg(Kd,Hd){return ug(Kd,Hd)||ig.has(Kd)}function Kg(Kd){return Zm.has(Kd)}function Gg(Kd,Hd){return wg(Kd,Hd)||Kg(Kd)}function n_(Kd){return jm.has(Kd)}function Pg(Kd,Hd,Qd){return Kd===64&&Hd===64&&om(Qd)}var m_=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function a_(Kd){return m_.has(Kd)}var M_=class{constructor(Kd){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=Kd}},B_=class{constructor(Kd,Hd){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=Kd,this.inModule=Hd}get inTopLevel(){return(this.currentScope().flags&1)>0}get inFunction(){return(this.currentVarScopeFlags()&2)>0}get allowSuper(){return(this.currentThisScopeFlags()&16)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&32)>0}get inClass(){return(this.currentThisScopeFlags()&64)>0}get inClassAndNotInNonArrowFunction(){let Kd=this.currentThisScopeFlags();return(Kd&64)>0&&(Kd&2)===0}get inStaticBlock(){for(let Kd=this.scopeStack.length-1;;Kd--){let{flags:Hd}=this.scopeStack[Kd];if(Hd&128)return!0;if(Hd&451)return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&2)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(Kd){return new M_(Kd)}enter(Kd){this.scopeStack.push(this.createScope(Kd))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(Kd){return!!(Kd.flags&130||!this.parser.inModule&&Kd.flags&1)}declareName(Kd,Hd,Qd){let vf=this.currentScope();if(Hd&8||Hd&16){this.checkRedeclarationInScope(vf,Kd,Hd,Qd);let $f=vf.names.get(Kd)||0;Hd&16?$f=$f|4:(vf.firstLexicalName||(vf.firstLexicalName=Kd),$f=$f|2),vf.names.set(Kd,$f),Hd&8&&this.maybeExportDefined(vf,Kd)}else if(Hd&4)for(let $f=this.scopeStack.length-1;$f>=0&&(vf=this.scopeStack[$f],this.checkRedeclarationInScope(vf,Kd,Hd,Qd),vf.names.set(Kd,(vf.names.get(Kd)||0)|1),this.maybeExportDefined(vf,Kd),!(vf.flags&387));--$f);this.parser.inModule&&vf.flags&1&&this.undefinedExports.delete(Kd)}maybeExportDefined(Kd,Hd){this.parser.inModule&&Kd.flags&1&&this.undefinedExports.delete(Hd)}checkRedeclarationInScope(Kd,Hd,Qd,vf){this.isRedeclaredInScope(Kd,Hd,Qd)&&this.parser.raise(Fd.VarRedeclaration,vf,{identifierName:Hd})}isRedeclaredInScope(Kd,Hd,Qd){if(!(Qd&1))return!1;if(Qd&8)return Kd.names.has(Hd);let vf=Kd.names.get(Hd);return Qd&16?(vf&2)>0||!this.treatFunctionsAsVarInScope(Kd)&&(vf&1)>0:(vf&2)>0&&!(Kd.flags&8&&Kd.firstLexicalName===Hd)||!this.treatFunctionsAsVarInScope(Kd)&&(vf&4)>0}checkLocalExport(Kd){let{name:Hd}=Kd;this.scopeStack[0].names.has(Hd)||this.undefinedExports.set(Hd,Kd.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let Kd=this.scopeStack.length-1;;Kd--){let{flags:Hd}=this.scopeStack[Kd];if(Hd&387)return Hd}}currentThisScopeFlags(){for(let Kd=this.scopeStack.length-1;;Kd--){let{flags:Hd}=this.scopeStack[Kd];if(Hd&451&&!(Hd&4))return Hd}}},h_=class extends M_{constructor(...Kd){super(...Kd),this.declareFunctions=new Set}},y_=class extends B_{createScope(Kd){return new h_(Kd)}declareName(Kd,Hd,Qd){let vf=this.currentScope();if(Hd&2048){this.checkRedeclarationInScope(vf,Kd,Hd,Qd),this.maybeExportDefined(vf,Kd),vf.declareFunctions.add(Kd);return}super.declareName(Kd,Hd,Qd)}isRedeclaredInScope(Kd,Hd,Qd){if(super.isRedeclaredInScope(Kd,Hd,Qd))return!0;if(Qd&2048&&!Kd.declareFunctions.has(Hd)){let vf=Kd.names.get(Hd);return(vf&4)>0||(vf&2)>0}return!1}checkLocalExport(Kd){this.scopeStack[0].declareFunctions.has(Kd.name)||super.checkLocalExport(Kd)}},dg=class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(Kd){if(typeof Kd=="string")return this.plugins.has(Kd);{let[Hd,Qd]=Kd;if(!this.hasPlugin(Hd))return!1;let vf=this.plugins.get(Hd);for(let $f of Object.keys(Qd))if((vf==null?void 0:vf[$f])!==Qd[$f])return!1;return!0}}getPluginOption(Kd,Hd){var Qd;return(Qd=this.plugins.get(Kd))==null?void 0:Qd[Hd]}};function vb(Kd,Hd){Kd.trailingComments===void 0?Kd.trailingComments=Hd:Kd.trailingComments.unshift(...Hd)}function kb(Kd,Hd){Kd.leadingComments===void 0?Kd.leadingComments=Hd:Kd.leadingComments.unshift(...Hd)}function Z_(Kd,Hd){Kd.innerComments===void 0?Kd.innerComments=Hd:Kd.innerComments.unshift(...Hd)}function jf(Kd,Hd,Qd){let vf=null,$f=Hd.length;for(;vf===null&&$f>0;)vf=Hd[--$f];vf===null||vf.start>Qd.start?Z_(Kd,Qd.comments):vb(vf,Qd.comments)}var Uh=class extends dg{addComment(Kd){this.filename&&(Kd.loc.filename=this.filename);let{commentsLen:Hd}=this.state;this.comments.length!==Hd&&(this.comments.length=Hd),this.comments.push(Kd),this.state.commentsLen++}processComment(Kd){let{commentStack:Hd}=this.state,Qd=Hd.length;if(Qd===0)return;let vf=Qd-1,$f=Hd[vf];$f.start===Kd.end&&($f.leadingNode=Kd,vf--);let{start:gh}=Kd;for(;vf>=0;vf--){let kh=Hd[vf],im=kh.end;if(im>gh)kh.containingNode=Kd,this.finalizeComment(kh),Hd.splice(vf,1);else{im===gh&&(kh.trailingNode=Kd);break}}}finalizeComment(Kd){let{comments:Hd}=Kd;if(Kd.leadingNode!==null||Kd.trailingNode!==null)Kd.leadingNode!==null&&vb(Kd.leadingNode,Hd),Kd.trailingNode!==null&&kb(Kd.trailingNode,Hd);else{let{containingNode:Qd,start:vf}=Kd;if(this.input.charCodeAt(vf-1)===44)switch(Qd.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":jf(Qd,Qd.properties,Kd);break;case"CallExpression":case"OptionalCallExpression":jf(Qd,Qd.arguments,Kd);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":jf(Qd,Qd.params,Kd);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":jf(Qd,Qd.elements,Kd);break;case"ExportNamedDeclaration":case"ImportDeclaration":jf(Qd,Qd.specifiers,Kd);break;default:Z_(Qd,Hd)}else Z_(Qd,Hd)}}finalizeRemainingComments(){let{commentStack:Kd}=this.state;for(let Hd=Kd.length-1;Hd>=0;Hd--)this.finalizeComment(Kd[Hd]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(Kd){let{commentStack:Hd}=this.state,{length:Qd}=Hd;if(Qd===0)return;let vf=Hd[Qd-1];vf.leadingNode===Kd&&(vf.leadingNode=null)}resetPreviousIdentifierLeadingComments(Kd){let{commentStack:Hd}=this.state,{length:Qd}=Hd;Qd!==0&&(Hd[Qd-1].trailingNode===Kd?Hd[Qd-1].trailingNode=null:Qd>=2&&Hd[Qd-2].trailingNode===Kd&&(Hd[Qd-2].trailingNode=null))}takeSurroundingComments(Kd,Hd,Qd){let{commentStack:vf}=this.state,$f=vf.length;if($f===0)return;let gh=$f-1;for(;gh>=0;gh--){let kh=vf[gh],im=kh.end;if(kh.start===Qd)kh.leadingNode=Kd;else if(im===Hd)kh.trailingNode=Kd;else if(im<Hd)break}}},wh=/\r\n?|[\n\u2028\u2029]/,Bh=new RegExp(wh.source,"g");function fm(Kd){switch(Kd){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}var dm=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Tm=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g,_m=new RegExp("(?=("+Tm.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function Zh(Kd){switch(Kd){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}var Gm=class SC{constructor(){this.flags=1024,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.labels=[],this.commentsLen=0,this.commentStack=[],this.pos=0,this.type=139,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.context=[_f.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}get strict(){return(this.flags&1)>0}set strict(Hd){Hd?this.flags|=1:this.flags&=-2}init({strictMode:Hd,sourceType:Qd,startLine:vf,startColumn:$f}){this.strict=Hd===!1?!1:Hd===!0?!0:Qd==="module",this.curLine=vf,this.lineStart=-$f,this.startLoc=this.endLoc=new nd(vf,$f,0)}get maybeInArrowParameters(){return(this.flags&2)>0}set maybeInArrowParameters(Hd){Hd?this.flags|=2:this.flags&=-3}get inType(){return(this.flags&4)>0}set inType(Hd){Hd?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(this.flags&8)>0}set noAnonFunctionType(Hd){Hd?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(this.flags&16)>0}set hasFlowComment(Hd){Hd?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(this.flags&32)>0}set isAmbientContext(Hd){Hd?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(this.flags&64)>0}set inAbstractClass(Hd){Hd?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(this.flags&128)>0}set inDisallowConditionalTypesContext(Hd){Hd?this.flags|=128:this.flags&=-129}get soloAwait(){return(this.flags&256)>0}set soloAwait(Hd){Hd?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(this.flags&512)>0}set inFSharpPipelineDirectBody(Hd){Hd?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(this.flags&1024)>0}set canStartJSXElement(Hd){Hd?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(this.flags&2048)>0}set containsEsc(Hd){Hd?this.flags|=2048:this.flags&=-2049}curPosition(){return new nd(this.curLine,this.pos-this.lineStart,this.pos)}clone(){let Hd=new SC;return Hd.flags=this.flags,Hd.curLine=this.curLine,Hd.lineStart=this.lineStart,Hd.startLoc=this.startLoc,Hd.endLoc=this.endLoc,Hd.errors=this.errors.slice(),Hd.potentialArrowAt=this.potentialArrowAt,Hd.noArrowAt=this.noArrowAt.slice(),Hd.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),Hd.topicContext=this.topicContext,Hd.labels=this.labels.slice(),Hd.commentsLen=this.commentsLen,Hd.commentStack=this.commentStack.slice(),Hd.pos=this.pos,Hd.type=this.type,Hd.value=this.value,Hd.start=this.start,Hd.end=this.end,Hd.lastTokEndLoc=this.lastTokEndLoc,Hd.lastTokStartLoc=this.lastTokStartLoc,Hd.context=this.context.slice(),Hd.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,Hd.strictErrors=this.strictErrors,Hd.tokensLength=this.tokensLength,Hd}},Km=function(Kd){return Kd>=48&&Kd<=57},xg={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},eg={bin:Kd=>Kd===48||Kd===49,oct:Kd=>Kd>=48&&Kd<=55,dec:Kd=>Kd>=48&&Kd<=57,hex:Kd=>Kd>=48&&Kd<=57||Kd>=65&&Kd<=70||Kd>=97&&Kd<=102};function Ag(Kd,Hd,Qd,vf,$f,gh){let kh=Qd,im=vf,Sm=$f,hm="",Qm=null,yg=Qd,{length:Dg}=Hd;for(;;){if(Qd>=Dg){gh.unterminated(kh,im,Sm),hm+=Hd.slice(yg,Qd);break}let Og=Hd.charCodeAt(Qd);if(d_(Kd,Og,Hd,Qd)){hm+=Hd.slice(yg,Qd);break}if(Og===92){hm+=Hd.slice(yg,Qd);let e_=u_(Hd,Qd,vf,$f,Kd==="template",gh);e_.ch===null&&!Qm?Qm={pos:Qd,lineStart:vf,curLine:$f}:hm+=e_.ch,{pos:Qd,lineStart:vf,curLine:$f}=e_,yg=Qd}else Og===8232||Og===8233?(++Qd,++$f,vf=Qd):Og===10||Og===13?Kd==="template"?(hm+=Hd.slice(yg,Qd)+`
`,++Qd,Og===13&&Hd.charCodeAt(Qd)===10&&++Qd,++$f,yg=vf=Qd):gh.unterminated(kh,im,Sm):++Qd}return{pos:Qd,str:hm,firstInvalidLoc:Qm,lineStart:vf,curLine:$f,containsInvalid:!!Qm}}function d_(Kd,Hd,Qd,vf){return Kd==="template"?Hd===96||Hd===36&&Qd.charCodeAt(vf+1)===123:Hd===(Kd==="double"?34:39)}function u_(Kd,Hd,Qd,vf,$f,gh){let kh=!$f;Hd++;let im=hm=>({pos:Hd,ch:hm,lineStart:Qd,curLine:vf}),Sm=Kd.charCodeAt(Hd++);switch(Sm){case 110:return im(`
`);case 114:return im("\r");case 120:{let hm;return{code:hm,pos:Hd}=Xg(Kd,Hd,Qd,vf,2,!1,kh,gh),im(hm===null?null:String.fromCharCode(hm))}case 117:{let hm;return{code:hm,pos:Hd}=N_(Kd,Hd,Qd,vf,kh,gh),im(hm===null?null:String.fromCodePoint(hm))}case 116:return im(" ");case 98:return im("\b");case 118:return im("\v");case 102:return im("\f");case 13:Kd.charCodeAt(Hd)===10&&++Hd;case 10:Qd=Hd,++vf;case 8232:case 8233:return im("");case 56:case 57:if($f)return im(null);gh.strictNumericEscape(Hd-1,Qd,vf);default:if(Sm>=48&&Sm<=55){let hm=Hd-1,Qm=/^[0-7]+/.exec(Kd.slice(hm,Hd+2))[0],yg=parseInt(Qm,8);yg>255&&(Qm=Qm.slice(0,-1),yg=parseInt(Qm,8)),Hd+=Qm.length-1;let Dg=Kd.charCodeAt(Hd);if(Qm!=="0"||Dg===56||Dg===57){if($f)return im(null);gh.strictNumericEscape(hm,Qd,vf)}return im(String.fromCharCode(yg))}return im(String.fromCharCode(Sm))}}function Xg(Kd,Hd,Qd,vf,$f,gh,kh,im){let Sm=Hd,hm;return{n:hm,pos:Hd}=lg(Kd,Hd,Qd,vf,16,$f,gh,!1,im,!kh),hm===null&&(kh?im.invalidEscapeSequence(Sm,Qd,vf):Hd=Sm-1),{code:hm,pos:Hd}}function lg(Kd,Hd,Qd,vf,$f,gh,kh,im,Sm,hm){let Qm=Hd,yg=$f===16?xg.hex:xg.decBinOct,Dg=$f===16?eg.hex:$f===10?eg.dec:$f===8?eg.oct:eg.bin,Og=!1,e_=0;for(let F_=0,p_=gh??1/0;F_<p_;++F_){let v_=Kd.charCodeAt(Hd),ob;if(v_===95&&im!=="bail"){let By=Kd.charCodeAt(Hd-1),Lv=Kd.charCodeAt(Hd+1);if(im){if(Number.isNaN(Lv)||!Dg(Lv)||yg.has(By)||yg.has(Lv)){if(hm)return{n:null,pos:Hd};Sm.unexpectedNumericSeparator(Hd,Qd,vf)}}else{if(hm)return{n:null,pos:Hd};Sm.numericSeparatorInEscapeSequence(Hd,Qd,vf)}++Hd;continue}if(v_>=97?ob=v_-97+10:v_>=65?ob=v_-65+10:Km(v_)?ob=v_-48:ob=1/0,ob>=$f){if(ob<=9&&hm)return{n:null,pos:Hd};if(ob<=9&&Sm.invalidDigit(Hd,Qd,vf,$f))ob=0;else if(kh)ob=0,Og=!0;else break}++Hd,e_=e_*$f+ob}return Hd===Qm||gh!=null&&Hd-Qm!==gh||Og?{n:null,pos:Hd}:{n:e_,pos:Hd}}function N_(Kd,Hd,Qd,vf,$f,gh){let kh=Kd.charCodeAt(Hd),im;if(kh===123){if(++Hd,{code:im,pos:Hd}=Xg(Kd,Hd,Qd,vf,Kd.indexOf("}",Hd)-Hd,!0,$f,gh),++Hd,im!==null&&im>1114111)if($f)gh.invalidCodePoint(Hd,Qd,vf);else return{code:null,pos:Hd}}else({code:im,pos:Hd}=Xg(Kd,Hd,Qd,vf,4,!1,$f,gh));return{code:im,pos:Hd}}function Zg(Kd,Hd,Qd){return new nd(Qd,Kd-Hd,Kd)}var Ug=new Set([103,109,115,105,121,117,100,118]),Ch=class{constructor(Kd){this.type=Kd.type,this.value=Kd.value,this.start=Kd.start,this.end=Kd.end,this.loc=new od(Kd.startLoc,Kd.endLoc)}},um=class extends Uh{constructor(Kd,Hd){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(Qd,vf,$f,gh)=>this.options.errorRecovery?(this.raise(Fd.InvalidDigit,Zg(Qd,vf,$f),{radix:gh}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(Fd.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(Fd.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(Fd.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(Fd.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(Qd,vf,$f)=>{this.recordStrictModeErrors(Fd.StrictNumericEscape,Zg(Qd,vf,$f))},unterminated:(Qd,vf,$f)=>{throw this.raise(Fd.UnterminatedString,Zg(Qd-1,vf,$f))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(Fd.StrictNumericEscape),unterminated:(Qd,vf,$f)=>{throw this.raise(Fd.UnterminatedTemplate,Zg(Qd,vf,$f))}}),this.state=new Gm,this.state.init(Kd),this.input=Hd,this.length=Hd.length,this.comments=[],this.isLookahead=!1}pushToken(Kd){this.tokens.length=this.state.tokensLength,this.tokens.push(Kd),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new Ch(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(Kd){return this.match(Kd)?(this.next(),!0):!1}match(Kd){return this.state.type===Kd}createLookaheadState(Kd){return{pos:Kd.pos,value:null,type:Kd.type,start:Kd.start,end:Kd.end,context:[this.curContext()],inType:Kd.inType,startLoc:Kd.startLoc,lastTokEndLoc:Kd.lastTokEndLoc,curLine:Kd.curLine,lineStart:Kd.lineStart,curPosition:Kd.curPosition}}lookahead(){let Kd=this.state;this.state=this.createLookaheadState(Kd),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let Hd=this.state;return this.state=Kd,Hd}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(Kd){return dm.lastIndex=Kd,dm.test(this.input)?dm.lastIndex:Kd}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(Kd){return Tm.lastIndex=Kd,Tm.test(this.input)?Tm.lastIndex:Kd}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(Kd){let Hd=this.input.charCodeAt(Kd);if((Hd&64512)===55296&&++Kd<this.input.length){let Qd=this.input.charCodeAt(Kd);(Qd&64512)===56320&&(Hd=65536+((Hd&1023)<<10)+(Qd&1023))}return Hd}setStrict(Kd){this.state.strict=Kd,Kd&&(this.state.strictErrors.forEach(([Hd,Qd])=>this.raise(Hd,Qd)),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){if(this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length){this.finishToken(139);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(Kd){let Hd;this.isLookahead||(Hd=this.state.curPosition());let Qd=this.state.pos,vf=this.input.indexOf(Kd,Qd+2);if(vf===-1)throw this.raise(Fd.UnterminatedComment,this.state.curPosition());for(this.state.pos=vf+Kd.length,Bh.lastIndex=Qd+2;Bh.test(this.input)&&Bh.lastIndex<=vf;)++this.state.curLine,this.state.lineStart=Bh.lastIndex;if(this.isLookahead)return;let $f={type:"CommentBlock",value:this.input.slice(Qd+2,vf),start:Qd,end:vf+Kd.length,loc:new od(Hd,this.state.curPosition())};return this.options.tokens&&this.pushToken($f),$f}skipLineComment(Kd){let Hd=this.state.pos,Qd;this.isLookahead||(Qd=this.state.curPosition());let vf=this.input.charCodeAt(this.state.pos+=Kd);if(this.state.pos<this.length)for(;!fm(vf)&&++this.state.pos<this.length;)vf=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let $f=this.state.pos,gh={type:"CommentLine",value:this.input.slice(Hd+Kd,$f),start:Hd,end:$f,loc:new od(Qd,this.state.curPosition())};return this.options.tokens&&this.pushToken(gh),gh}skipSpace(){let Kd=this.state.pos,Hd=[];e:for(;this.state.pos<this.length;){let Qd=this.input.charCodeAt(this.state.pos);switch(Qd){case 32:case 160:case 9:++this.state.pos;break;case 13:this.input.charCodeAt(this.state.pos+1)===10&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{let vf=this.skipBlockComment("*/");vf!==void 0&&(this.addComment(vf),this.options.attachComment&&Hd.push(vf));break}case 47:{let vf=this.skipLineComment(2);vf!==void 0&&(this.addComment(vf),this.options.attachComment&&Hd.push(vf));break}default:break e}break;default:if(Zh(Qd))++this.state.pos;else if(Qd===45&&!this.inModule&&this.options.annexB){let vf=this.state.pos;if(this.input.charCodeAt(vf+1)===45&&this.input.charCodeAt(vf+2)===62&&(Kd===0||this.state.lineStart>Kd)){let $f=this.skipLineComment(3);$f!==void 0&&(this.addComment($f),this.options.attachComment&&Hd.push($f))}else break e}else if(Qd===60&&!this.inModule&&this.options.annexB){let vf=this.state.pos;if(this.input.charCodeAt(vf+1)===33&&this.input.charCodeAt(vf+2)===45&&this.input.charCodeAt(vf+3)===45){let $f=this.skipLineComment(4);$f!==void 0&&(this.addComment($f),this.options.attachComment&&Hd.push($f))}else break e}else break e}}if(Hd.length>0){let Qd=this.state.pos,vf={start:Kd,end:Qd,comments:Hd,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(vf)}}finishToken(Kd,Hd){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let Qd=this.state.type;this.state.type=Kd,this.state.value=Hd,this.isLookahead||this.updateContext(Qd)}replaceToken(Kd){this.state.type=Kd,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let Kd=this.state.pos+1,Hd=this.codePointAtPos(Kd);if(Hd>=48&&Hd<=57)throw this.raise(Fd.UnexpectedDigitAfterHash,this.state.curPosition());if(Hd===123||Hd===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(Hd===123?Fd.RecordExpressionHashIncorrectStartSyntaxType:Fd.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,Hd===123?this.finishToken(7):this.finishToken(1)}else om(Hd)?(++this.state.pos,this.finishToken(138,this.readWord1(Hd))):Hd===92?(++this.state.pos,this.finishToken(138,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let Kd=this.input.charCodeAt(this.state.pos+1);if(Kd>=48&&Kd<=57){this.readNumber(!0);return}Kd===46&&this.input.charCodeAt(this.state.pos+2)===46?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){this.input.charCodeAt(this.state.pos+1)===61?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let Kd=this.input.charCodeAt(this.state.pos+1);if(Kd!==33)return!1;let Hd=this.state.pos;for(this.state.pos+=1;!fm(Kd)&&++this.state.pos<this.length;)Kd=this.input.charCodeAt(this.state.pos);let Qd=this.input.slice(Hd+2,this.state.pos);return this.finishToken(28,Qd),!0}readToken_mult_modulo(Kd){let Hd=Kd===42?55:54,Qd=1,vf=this.input.charCodeAt(this.state.pos+1);Kd===42&&vf===42&&(Qd++,vf=this.input.charCodeAt(this.state.pos+2),Hd=57),vf===61&&!this.state.inType&&(Qd++,Hd=Kd===37?33:30),this.finishOp(Hd,Qd)}readToken_pipe_amp(Kd){let Hd=this.input.charCodeAt(this.state.pos+1);if(Hd===Kd){this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(Kd===124?41:42,2);return}if(Kd===124){if(Hd===62){this.finishOp(39,2);return}if(this.hasPlugin("recordAndTuple")&&Hd===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(Fd.RecordExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(9);return}if(this.hasPlugin("recordAndTuple")&&Hd===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(Fd.TupleExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(4);return}}if(Hd===61){this.finishOp(30,2);return}this.finishOp(Kd===124?43:45,1)}readToken_caret(){let Kd=this.input.charCodeAt(this.state.pos+1);Kd===61&&!this.state.inType?this.finishOp(32,2):Kd===94&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])?(this.finishOp(37,2),this.input.codePointAt(this.state.pos)===94&&this.unexpected()):this.finishOp(44,1)}readToken_atSign(){this.input.charCodeAt(this.state.pos+1)===64&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}])?this.finishOp(38,2):this.finishOp(26,1)}readToken_plus_min(Kd){let Hd=this.input.charCodeAt(this.state.pos+1);if(Hd===Kd){this.finishOp(34,2);return}Hd===61?this.finishOp(30,2):this.finishOp(53,1)}readToken_lt(){let{pos:Kd}=this.state,Hd=this.input.charCodeAt(Kd+1);if(Hd===60){if(this.input.charCodeAt(Kd+2)===61){this.finishOp(30,3);return}this.finishOp(51,2);return}if(Hd===61){this.finishOp(49,2);return}this.finishOp(47,1)}readToken_gt(){let{pos:Kd}=this.state,Hd=this.input.charCodeAt(Kd+1);if(Hd===62){let Qd=this.input.charCodeAt(Kd+2)===62?3:2;if(this.input.charCodeAt(Kd+Qd)===61){this.finishOp(30,Qd+1);return}this.finishOp(52,Qd);return}if(Hd===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(Kd){let Hd=this.input.charCodeAt(this.state.pos+1);if(Hd===61){this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(Kd===61&&Hd===62){this.state.pos+=2,this.finishToken(19);return}this.finishOp(Kd===61?29:35,1)}readToken_question(){let Kd=this.input.charCodeAt(this.state.pos+1),Hd=this.input.charCodeAt(this.state.pos+2);Kd===63?Hd===61?this.finishOp(30,3):this.finishOp(40,2):Kd===46&&!(Hd>=48&&Hd<=57)?(this.state.pos+=2,this.finishToken(18)):(++this.state.pos,this.finishToken(17))}getTokenFromCode(Kd){switch(Kd){case 46:this.readToken_dot();return;case 40:++this.state.pos,this.finishToken(10);return;case 41:++this.state.pos,this.finishToken(11);return;case 59:++this.state.pos,this.finishToken(13);return;case 44:++this.state.pos,this.finishToken(12);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(Fd.TupleExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:++this.state.pos,this.finishToken(3);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(Fd.RecordExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:++this.state.pos,this.finishToken(8);return;case 58:this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(15,2):(++this.state.pos,this.finishToken(14));return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{let Hd=this.input.charCodeAt(this.state.pos+1);if(Hd===120||Hd===88){this.readRadixNumber(16);return}if(Hd===111||Hd===79){this.readRadixNumber(8);return}if(Hd===98||Hd===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(!1);return;case 34:case 39:this.readString(Kd);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(Kd);return;case 124:case 38:this.readToken_pipe_amp(Kd);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(Kd);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(Kd);return;case 126:this.finishOp(36,1);return;case 64:this.readToken_atSign();return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(om(Kd)){this.readWord(Kd);return}}throw this.raise(Fd.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(Kd)})}finishOp(Kd,Hd){let Qd=this.input.slice(this.state.pos,this.state.pos+Hd);this.state.pos+=Hd,this.finishToken(Kd,Qd)}readRegexp(){let Kd=this.state.startLoc,Hd=this.state.start+1,Qd,vf,{pos:$f}=this.state;for(;;++$f){if($f>=this.length)throw this.raise(Fd.UnterminatedRegExp,ld(Kd,1));let Sm=this.input.charCodeAt($f);if(fm(Sm))throw this.raise(Fd.UnterminatedRegExp,ld(Kd,1));if(Qd)Qd=!1;else{if(Sm===91)vf=!0;else if(Sm===93&&vf)vf=!1;else if(Sm===47&&!vf)break;Qd=Sm===92}}let gh=this.input.slice(Hd,$f);++$f;let kh="",im=()=>ld(Kd,$f+2-Hd);for(;$f<this.length;){let Sm=this.codePointAtPos($f),hm=String.fromCharCode(Sm);if(Ug.has(Sm))Sm===118?kh.includes("u")&&this.raise(Fd.IncompatibleRegExpUVFlags,im()):Sm===117&&kh.includes("v")&&this.raise(Fd.IncompatibleRegExpUVFlags,im()),kh.includes(hm)&&this.raise(Fd.DuplicateRegExpFlags,im());else if(Dm(Sm)||Sm===92)this.raise(Fd.MalformedRegExpFlags,im());else break;++$f,kh+=hm}this.state.pos=$f,this.finishToken(137,{pattern:gh,flags:kh})}readInt(Kd,Hd,Qd=!1,vf=!0){let{n:$f,pos:gh}=lg(this.input,this.state.pos,this.state.lineStart,this.state.curLine,Kd,Hd,Qd,vf,this.errorHandlers_readInt,!1);return this.state.pos=gh,$f}readRadixNumber(Kd){let Hd=this.state.curPosition(),Qd=!1;this.state.pos+=2;let vf=this.readInt(Kd);vf==null&&this.raise(Fd.InvalidDigit,ld(Hd,2),{radix:Kd});let $f=this.input.charCodeAt(this.state.pos);if($f===110)++this.state.pos,Qd=!0;else if($f===109)throw this.raise(Fd.InvalidDecimal,Hd);if(om(this.codePointAtPos(this.state.pos)))throw this.raise(Fd.NumberIdentifier,this.state.curPosition());if(Qd){let gh=this.input.slice(Hd.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(135,gh);return}this.finishToken(134,vf)}readNumber(Kd){let Hd=this.state.pos,Qd=this.state.curPosition(),vf=!1,$f=!1,gh=!1,kh=!1,im=!1;!Kd&&this.readInt(10)===null&&this.raise(Fd.InvalidNumber,this.state.curPosition());let Sm=this.state.pos-Hd>=2&&this.input.charCodeAt(Hd)===48;if(Sm){let Dg=this.input.slice(Hd,this.state.pos);if(this.recordStrictModeErrors(Fd.StrictOctalLiteral,Qd),!this.state.strict){let Og=Dg.indexOf("_");Og>0&&this.raise(Fd.ZeroDigitNumericSeparator,ld(Qd,Og))}im=Sm&&!/[89]/.test(Dg)}let hm=this.input.charCodeAt(this.state.pos);if(hm===46&&!im&&(++this.state.pos,this.readInt(10),vf=!0,hm=this.input.charCodeAt(this.state.pos)),(hm===69||hm===101)&&!im&&(hm=this.input.charCodeAt(++this.state.pos),(hm===43||hm===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(Fd.InvalidOrMissingExponent,Qd),vf=!0,kh=!0,hm=this.input.charCodeAt(this.state.pos)),hm===110&&((vf||Sm)&&this.raise(Fd.InvalidBigIntLiteral,Qd),++this.state.pos,$f=!0),hm===109&&(this.expectPlugin("decimal",this.state.curPosition()),(kh||Sm)&&this.raise(Fd.InvalidDecimal,Qd),++this.state.pos,gh=!0),om(this.codePointAtPos(this.state.pos)))throw this.raise(Fd.NumberIdentifier,this.state.curPosition());let Qm=this.input.slice(Hd,this.state.pos).replace(/[_mn]/g,"");if($f){this.finishToken(135,Qm);return}if(gh){this.finishToken(136,Qm);return}let yg=im?parseInt(Qm,8):parseFloat(Qm);this.finishToken(134,yg)}readCodePoint(Kd){let{code:Hd,pos:Qd}=N_(this.input,this.state.pos,this.state.lineStart,this.state.curLine,Kd,this.errorHandlers_readCodePoint);return this.state.pos=Qd,Hd}readString(Kd){let{str:Hd,pos:Qd,curLine:vf,lineStart:$f}=Ag(Kd===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=Qd+1,this.state.lineStart=$f,this.state.curLine=vf,this.finishToken(133,Hd)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let Kd=this.input[this.state.pos],{str:Hd,firstInvalidLoc:Qd,pos:vf,curLine:$f,lineStart:gh}=Ag("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=vf+1,this.state.lineStart=gh,this.state.curLine=$f,Qd&&(this.state.firstInvalidTemplateEscapePos=new nd(Qd.curLine,Qd.pos-Qd.lineStart,Qd.pos)),this.input.codePointAt(vf)===96?this.finishToken(24,Qd?null:Kd+Hd+"`"):(this.state.pos++,this.finishToken(25,Qd?null:Kd+Hd+"${"))}recordStrictModeErrors(Kd,Hd){let Qd=Hd.index;this.state.strict&&!this.state.strictErrors.has(Qd)?this.raise(Kd,Hd):this.state.strictErrors.set(Qd,[Kd,Hd])}readWord1(Kd){this.state.containsEsc=!1;let Hd="",Qd=this.state.pos,vf=this.state.pos;for(Kd!==void 0&&(this.state.pos+=Kd<=65535?1:2);this.state.pos<this.length;){let $f=this.codePointAtPos(this.state.pos);if(Dm($f))this.state.pos+=$f<=65535?1:2;else if($f===92){this.state.containsEsc=!0,Hd+=this.input.slice(vf,this.state.pos);let gh=this.state.curPosition(),kh=this.state.pos===Qd?om:Dm;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(Fd.MissingUnicodeEscape,this.state.curPosition()),vf=this.state.pos-1;continue}++this.state.pos;let im=this.readCodePoint(!0);im!==null&&(kh(im)||this.raise(Fd.EscapedCharNotAnIdentifier,gh),Hd+=String.fromCodePoint(im)),vf=this.state.pos}else break}return Hd+this.input.slice(vf,this.state.pos)}readWord(Kd){let Hd=this.readWord1(Kd),Qd=Nf.get(Hd);Qd!==void 0?this.finishToken(Qd,Jh(Qd)):this.finishToken(132,Hd)}checkKeywordEscapes(){let{type:Kd}=this.state;Uf(Kd)&&this.state.containsEsc&&this.raise(Fd.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:Jh(Kd)})}raise(Kd,Hd,Qd={}){let vf=Hd instanceof nd?Hd:Hd.loc.start,$f=Kd(vf,Qd);if(!this.options.errorRecovery)throw $f;return this.isLookahead||this.state.errors.push($f),$f}raiseOverwrite(Kd,Hd,Qd={}){let vf=Hd instanceof nd?Hd:Hd.loc.start,$f=vf.index,gh=this.state.errors;for(let kh=gh.length-1;kh>=0;kh--){let im=gh[kh];if(im.loc.index===$f)return gh[kh]=Kd(vf,Qd);if(im.loc.index<$f)break}return this.raise(Kd,Hd,Qd)}updateContext(Kd){}unexpected(Kd,Hd){throw this.raise(Fd.UnexpectedToken,Kd??this.state.startLoc,{expected:Hd?Jh(Hd):null})}expectPlugin(Kd,Hd){if(this.hasPlugin(Kd))return!0;throw this.raise(Fd.MissingPlugin,Hd??this.state.startLoc,{missingPlugin:[Kd]})}expectOnePlugin(Kd){if(!Kd.some(Hd=>this.hasPlugin(Hd)))throw this.raise(Fd.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:Kd})}errorBuilder(Kd){return(Hd,Qd,vf)=>{this.raise(Kd,Zg(Hd,Qd,vf))}}},Ym=class{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}},ng=class{constructor(Kd){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=Kd}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new Ym)}exit(){let Kd=this.stack.pop(),Hd=this.current();for(let[Qd,vf]of Array.from(Kd.undefinedPrivateNames))Hd?Hd.undefinedPrivateNames.has(Qd)||Hd.undefinedPrivateNames.set(Qd,vf):this.parser.raise(Fd.InvalidPrivateFieldResolution,vf,{identifierName:Qd})}declarePrivateName(Kd,Hd,Qd){let{privateNames:vf,loneAccessors:$f,undefinedPrivateNames:gh}=this.current(),kh=vf.has(Kd);if(Hd&3){let im=kh&&$f.get(Kd);if(im){let Sm=im&4,hm=Hd&4,Qm=im&3,yg=Hd&3;kh=Qm===yg||Sm!==hm,kh||$f.delete(Kd)}else kh||$f.set(Kd,Hd)}kh&&this.parser.raise(Fd.PrivateNameRedeclaration,Qd,{identifierName:Kd}),vf.add(Kd),gh.delete(Kd)}usePrivateName(Kd,Hd){let Qd;for(Qd of this.stack)if(Qd.privateNames.has(Kd))return;Qd?Qd.undefinedPrivateNames.set(Kd,Hd):this.parser.raise(Fd.InvalidPrivateFieldResolution,Hd,{identifierName:Kd})}},Um=class{constructor(Kd=0){this.type=Kd}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}},Eg=class extends Um{constructor(Kd){super(Kd),this.declarationErrors=new Map}recordDeclarationError(Kd,Hd){let Qd=Hd.index;this.declarationErrors.set(Qd,[Kd,Hd])}clearDeclarationError(Kd){this.declarationErrors.delete(Kd)}iterateErrors(Kd){this.declarationErrors.forEach(Kd)}},r_=class{constructor(Kd){this.parser=void 0,this.stack=[new Um],this.parser=Kd}enter(Kd){this.stack.push(Kd)}exit(){this.stack.pop()}recordParameterInitializerError(Kd,Hd){let Qd=Hd.loc.start,{stack:vf}=this,$f=vf.length-1,gh=vf[$f];for(;!gh.isCertainlyParameterDeclaration();){if(gh.canBeArrowParameterDeclaration())gh.recordDeclarationError(Kd,Qd);else return;gh=vf[--$f]}this.parser.raise(Kd,Qd)}recordArrowParameterBindingError(Kd,Hd){let{stack:Qd}=this,vf=Qd[Qd.length-1],$f=Hd.loc.start;if(vf.isCertainlyParameterDeclaration())this.parser.raise(Kd,$f);else if(vf.canBeArrowParameterDeclaration())vf.recordDeclarationError(Kd,$f);else return}recordAsyncArrowParametersError(Kd){let{stack:Hd}=this,Qd=Hd.length-1,vf=Hd[Qd];for(;vf.canBeArrowParameterDeclaration();)vf.type===2&&vf.recordDeclarationError(Fd.AwaitBindingIdentifier,Kd),vf=Hd[--Qd]}validateAsPattern(){let{stack:Kd}=this,Hd=Kd[Kd.length-1];Hd.canBeArrowParameterDeclaration()&&Hd.iterateErrors(([Qd,vf])=>{this.parser.raise(Qd,vf);let $f=Kd.length-2,gh=Kd[$f];for(;gh.canBeArrowParameterDeclaration();)gh.clearDeclarationError(vf.index),gh=Kd[--$f]})}};function R_(){return new Um(3)}function G_(){return new Eg(1)}function Tb(){return new Eg(2)}function Gb(){return new Um}var qg=class{constructor(){this.stacks=[]}enter(Kd){this.stacks.push(Kd)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&2)>0}get hasYield(){return(this.currentFlags()&1)>0}get hasReturn(){return(this.currentFlags()&4)>0}get hasIn(){return(this.currentFlags()&8)>0}};function xb(Kd,Hd){return(Kd?2:0)|(Hd?1:0)}var O_=class extends um{addExtra(Kd,Hd,Qd,vf=!0){if(!Kd)return;let $f=Kd.extra=Kd.extra||{};vf?$f[Hd]=Qd:Object.defineProperty($f,Hd,{enumerable:vf,value:Qd})}isContextual(Kd){return this.state.type===Kd&&!this.state.containsEsc}isUnparsedContextual(Kd,Hd){let Qd=Kd+Hd.length;if(this.input.slice(Kd,Qd)===Hd){let vf=this.input.charCodeAt(Qd);return!(Dm(vf)||(vf&64512)===55296)}return!1}isLookaheadContextual(Kd){let Hd=this.nextTokenStart();return this.isUnparsedContextual(Hd,Kd)}eatContextual(Kd){return this.isContextual(Kd)?(this.next(),!0):!1}expectContextual(Kd,Hd){if(!this.eatContextual(Kd)){if(Hd!=null)throw this.raise(Hd,this.state.startLoc);this.unexpected(null,Kd)}}canInsertSemicolon(){return this.match(139)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return wh.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return _m.lastIndex=this.state.end,_m.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(Kd=!0){(Kd?this.isLineTerminator():this.eat(13))||this.raise(Fd.MissingSemicolon,this.state.lastTokEndLoc)}expect(Kd,Hd){this.eat(Kd)||this.unexpected(Hd,Kd)}tryParse(Kd,Hd=this.state.clone()){let Qd={node:null};try{let vf=Kd(($f=null)=>{throw Qd.node=$f,Qd});if(this.state.errors.length>Hd.errors.length){let $f=this.state;return this.state=Hd,this.state.tokensLength=$f.tokensLength,{node:vf,error:$f.errors[Hd.errors.length],thrown:!1,aborted:!1,failState:$f}}return{node:vf,error:null,thrown:!1,aborted:!1,failState:null}}catch(vf){let $f=this.state;if(this.state=Hd,vf instanceof SyntaxError)return{node:null,error:vf,thrown:!0,aborted:!1,failState:$f};if(vf===Qd)return{node:Qd.node,error:null,thrown:!1,aborted:!0,failState:$f};throw vf}}checkExpressionErrors(Kd,Hd){if(!Kd)return!1;let{shorthandAssignLoc:Qd,doubleProtoLoc:vf,privateKeyLoc:$f,optionalParametersLoc:gh}=Kd,kh=!!Qd||!!vf||!!gh||!!$f;if(!Hd)return kh;Qd!=null&&this.raise(Fd.InvalidCoverInitializedName,Qd),vf!=null&&this.raise(Fd.DuplicateProto,vf),$f!=null&&this.raise(Fd.UnexpectedPrivateField,$f),gh!=null&&this.unexpected(gh)}isLiteralPropertyName(){return th(this.state.type)}isPrivateName(Kd){return Kd.type==="PrivateName"}getPrivateNameSV(Kd){return Kd.id.name}hasPropertyAsPrivateName(Kd){return(Kd.type==="MemberExpression"||Kd.type==="OptionalMemberExpression")&&this.isPrivateName(Kd.property)}isObjectProperty(Kd){return Kd.type==="ObjectProperty"}isObjectMethod(Kd){return Kd.type==="ObjectMethod"}initializeScopes(Kd=this.options.sourceType==="module"){let Hd=this.state.labels;this.state.labels=[];let Qd=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let vf=this.inModule;this.inModule=Kd;let $f=this.scope,gh=this.getScopeHandler();this.scope=new gh(this,Kd);let kh=this.prodParam;this.prodParam=new qg;let im=this.classScope;this.classScope=new ng(this);let Sm=this.expressionScope;return this.expressionScope=new r_(this),()=>{this.state.labels=Hd,this.exportedIdentifiers=Qd,this.inModule=vf,this.scope=$f,this.prodParam=kh,this.classScope=im,this.expressionScope=Sm}}enterInitialScopes(){let Kd=0;this.inModule&&(Kd|=2),this.scope.enter(1),this.prodParam.enter(Kd)}checkDestructuringPrivate(Kd){let{privateKeyLoc:Hd}=Kd;Hd!==null&&this.expectPlugin("destructuringPrivate",Hd)}},ib=class{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}},W_=class{constructor(Kd,Hd,Qd){this.type="",this.start=Hd,this.end=0,this.loc=new od(Qd),Kd!=null&&Kd.options.ranges&&(this.range=[Hd,0]),Kd!=null&&Kd.filename&&(this.loc.filename=Kd.filename)}},qb=W_.prototype;qb.__clone=function(){let Kd=new W_(void 0,this.start,this.loc.start),Hd=Object.keys(this);for(let Qd=0,vf=Hd.length;Qd<vf;Qd++){let $f=Hd[Qd];$f!=="leadingComments"&&$f!=="trailingComments"&&$f!=="innerComments"&&(Kd[$f]=this[$f])}return Kd};function y0(Kd){return sb(Kd)}function sb(Kd){let{type:Hd,start:Qd,end:vf,loc:$f,range:gh,extra:kh,name:im}=Kd,Sm=Object.create(qb);return Sm.type=Hd,Sm.start=Qd,Sm.end=vf,Sm.loc=$f,Sm.range=gh,Sm.extra=kh,Sm.name=im,Hd==="Placeholder"&&(Sm.expectedNode=Kd.expectedNode),Sm}function Vb(Kd){let{type:Hd,start:Qd,end:vf,loc:$f,range:gh,extra:kh}=Kd;if(Hd==="Placeholder")return y0(Kd);let im=Object.create(qb);return im.type=Hd,im.start=Qd,im.end=vf,im.loc=$f,im.range=gh,Kd.raw!==void 0?im.raw=Kd.raw:im.extra=kh,im.value=Kd.value,im}var Iy=class extends O_{startNode(){let Kd=this.state.startLoc;return new W_(this,Kd.index,Kd)}startNodeAt(Kd){return new W_(this,Kd.index,Kd)}startNodeAtNode(Kd){return this.startNodeAt(Kd.loc.start)}finishNode(Kd,Hd){return this.finishNodeAt(Kd,Hd,this.state.lastTokEndLoc)}finishNodeAt(Kd,Hd,Qd){return Kd.type=Hd,Kd.end=Qd.index,Kd.loc.end=Qd,this.options.ranges&&(Kd.range[1]=Qd.index),this.options.attachComment&&this.processComment(Kd),Kd}resetStartLocation(Kd,Hd){Kd.start=Hd.index,Kd.loc.start=Hd,this.options.ranges&&(Kd.range[0]=Hd.index)}resetEndLocation(Kd,Hd=this.state.lastTokEndLoc){Kd.end=Hd.index,Kd.loc.end=Hd,this.options.ranges&&(Kd.range[1]=Hd.index)}resetStartLocationFromNode(Kd,Hd){this.resetStartLocation(Kd,Hd.loc.start)}},V0=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),Bg=jd`flow`({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:({reservedType:Kd})=>`Cannot overwrite reserved type ${Kd}.`,DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:({memberName:Kd,enumName:Hd})=>`Boolean enum members need to be initialized. Use either \`${Kd} = true,\` or \`${Kd} = false,\` in enum \`${Hd}\`.`,EnumDuplicateMemberName:({memberName:Kd,enumName:Hd})=>`Enum member names need to be unique, but the name \`${Kd}\` has already been used before in enum \`${Hd}\`.`,EnumInconsistentMemberValues:({enumName:Kd})=>`Enum \`${Kd}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:Kd,enumName:Hd})=>`Enum type \`${Kd}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${Hd}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:Kd})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${Kd}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:Kd,memberName:Hd,explicitType:Qd})=>`Enum \`${Kd}\` has type \`${Qd}\`, so the initializer of \`${Hd}\` needs to be a ${Qd} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:Kd,memberName:Hd})=>`Symbol enum members cannot be initialized. Use \`${Hd},\` in enum \`${Kd}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:Kd,memberName:Hd})=>`The enum member initializer for \`${Hd}\` needs to be a literal (either a boolean, number, or string) in enum \`${Kd}\`.`,EnumInvalidMemberName:({enumName:Kd,memberName:Hd,suggestion:Qd})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${Hd}\`, consider using \`${Qd}\`, in enum \`${Kd}\`.`,EnumNumberMemberNotInitialized:({enumName:Kd,memberName:Hd})=>`Number enum members need to be initialized, e.g. \`${Hd} = 1\` in enum \`${Kd}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:Kd})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${Kd}\`.`,GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:({reservedType:Kd})=>`Unexpected reserved type ${Kd}.`,UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:({unsupportedExportKind:Kd,suggestion:Hd})=>`\`declare export ${Kd}\` is not supported. Use \`${Hd}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function z0(Kd){return Kd.type==="DeclareExportAllDeclaration"||Kd.type==="DeclareExportDeclaration"&&(!Kd.declaration||Kd.declaration.type!=="TypeAlias"&&Kd.declaration.type!=="InterfaceDeclaration")}function O0(Kd){return Kd.importKind==="type"||Kd.importKind==="typeof"}var Ry={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function Av(Kd,Hd){let Qd=[],vf=[];for(let $f=0;$f<Kd.length;$f++)(Hd(Kd[$f],$f,Kd)?Qd:vf).push(Kd[$f]);return[Qd,vf]}var wv=/\*?\s*@((?:no)?flow)\b/,k0=Kd=>class extends Kd{constructor(...Hd){super(...Hd),this.flowPragma=void 0}getScopeHandler(){return y_}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(Hd,Qd){Hd!==133&&Hd!==13&&Hd!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(Hd,Qd)}addComment(Hd){if(this.flowPragma===void 0){let Qd=wv.exec(Hd.value);if(Qd)if(Qd[1]==="flow")this.flowPragma="flow";else if(Qd[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}super.addComment(Hd)}flowParseTypeInitialiser(Hd){let Qd=this.state.inType;this.state.inType=!0,this.expect(Hd||14);let vf=this.flowParseType();return this.state.inType=Qd,vf}flowParsePredicate(){let Hd=this.startNode(),Qd=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>Qd.index+1&&this.raise(Bg.UnexpectedSpaceBetweenModuloChecks,Qd),this.eat(10)?(Hd.value=super.parseExpression(),this.expect(11),this.finishNode(Hd,"DeclaredPredicate")):this.finishNode(Hd,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let Hd=this.state.inType;this.state.inType=!0,this.expect(14);let Qd=null,vf=null;return this.match(54)?(this.state.inType=Hd,vf=this.flowParsePredicate()):(Qd=this.flowParseType(),this.state.inType=Hd,this.match(54)&&(vf=this.flowParsePredicate())),[Qd,vf]}flowParseDeclareClass(Hd){return this.next(),this.flowParseInterfaceish(Hd,!0),this.finishNode(Hd,"DeclareClass")}flowParseDeclareFunction(Hd){this.next();let Qd=Hd.id=this.parseIdentifier(),vf=this.startNode(),$f=this.startNode();this.match(47)?vf.typeParameters=this.flowParseTypeParameterDeclaration():vf.typeParameters=null,this.expect(10);let gh=this.flowParseFunctionTypeParams();return vf.params=gh.params,vf.rest=gh.rest,vf.this=gh._this,this.expect(11),[vf.returnType,Hd.predicate]=this.flowParseTypeAndPredicateInitialiser(),$f.typeAnnotation=this.finishNode(vf,"FunctionTypeAnnotation"),Qd.typeAnnotation=this.finishNode($f,"TypeAnnotation"),this.resetEndLocation(Qd),this.semicolon(),this.scope.declareName(Hd.id.name,2048,Hd.id.loc.start),this.finishNode(Hd,"DeclareFunction")}flowParseDeclare(Hd,Qd){if(this.match(80))return this.flowParseDeclareClass(Hd);if(this.match(68))return this.flowParseDeclareFunction(Hd);if(this.match(74))return this.flowParseDeclareVariable(Hd);if(this.eatContextual(127))return this.match(16)?this.flowParseDeclareModuleExports(Hd):(Qd&&this.raise(Bg.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(Hd));if(this.isContextual(130))return this.flowParseDeclareTypeAlias(Hd);if(this.isContextual(131))return this.flowParseDeclareOpaqueType(Hd);if(this.isContextual(129))return this.flowParseDeclareInterface(Hd);if(this.match(82))return this.flowParseDeclareExportDeclaration(Hd,Qd);this.unexpected()}flowParseDeclareVariable(Hd){return this.next(),Hd.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(Hd.id.name,5,Hd.id.loc.start),this.semicolon(),this.finishNode(Hd,"DeclareVariable")}flowParseDeclareModule(Hd){this.scope.enter(0),this.match(133)?Hd.id=super.parseExprAtom():Hd.id=this.parseIdentifier();let Qd=Hd.body=this.startNode(),vf=Qd.body=[];for(this.expect(5);!this.match(8);){let kh=this.startNode();this.match(83)?(this.next(),!this.isContextual(130)&&!this.match(87)&&this.raise(Bg.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),super.parseImport(kh)):(this.expectContextual(125,Bg.UnsupportedStatementInDeclareModule),kh=this.flowParseDeclare(kh,!0)),vf.push(kh)}this.scope.exit(),this.expect(8),this.finishNode(Qd,"BlockStatement");let $f=null,gh=!1;return vf.forEach(kh=>{z0(kh)?($f==="CommonJS"&&this.raise(Bg.AmbiguousDeclareModuleKind,kh),$f="ES"):kh.type==="DeclareModuleExports"&&(gh&&this.raise(Bg.DuplicateDeclareModuleExports,kh),$f==="ES"&&this.raise(Bg.AmbiguousDeclareModuleKind,kh),$f="CommonJS",gh=!0)}),Hd.kind=$f||"CommonJS",this.finishNode(Hd,"DeclareModule")}flowParseDeclareExportDeclaration(Hd,Qd){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?Hd.declaration=this.flowParseDeclare(this.startNode()):(Hd.declaration=this.flowParseType(),this.semicolon()),Hd.default=!0,this.finishNode(Hd,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!Qd){let vf=this.state.value;throw this.raise(Bg.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:vf,suggestion:Ry[vf]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(131))return Hd.declaration=this.flowParseDeclare(this.startNode()),Hd.default=!1,this.finishNode(Hd,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131))return Hd=this.parseExport(Hd,null),Hd.type==="ExportNamedDeclaration"&&(Hd.type="ExportDeclaration",Hd.default=!1,delete Hd.exportKind),Hd.type="Declare"+Hd.type,Hd;this.unexpected()}flowParseDeclareModuleExports(Hd){return this.next(),this.expectContextual(111),Hd.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(Hd,"DeclareModuleExports")}flowParseDeclareTypeAlias(Hd){this.next();let Qd=this.flowParseTypeAlias(Hd);return Qd.type="DeclareTypeAlias",Qd}flowParseDeclareOpaqueType(Hd){this.next();let Qd=this.flowParseOpaqueType(Hd,!0);return Qd.type="DeclareOpaqueType",Qd}flowParseDeclareInterface(Hd){return this.next(),this.flowParseInterfaceish(Hd,!1),this.finishNode(Hd,"DeclareInterface")}flowParseInterfaceish(Hd,Qd){if(Hd.id=this.flowParseRestrictedIdentifier(!Qd,!0),this.scope.declareName(Hd.id.name,Qd?17:8201,Hd.id.loc.start),this.match(47)?Hd.typeParameters=this.flowParseTypeParameterDeclaration():Hd.typeParameters=null,Hd.extends=[],this.eat(81))do Hd.extends.push(this.flowParseInterfaceExtends());while(!Qd&&this.eat(12));if(Qd){if(Hd.implements=[],Hd.mixins=[],this.eatContextual(117))do Hd.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do Hd.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}Hd.body=this.flowParseObjectType({allowStatic:Qd,allowExact:!1,allowSpread:!1,allowProto:Qd,allowInexact:!1})}flowParseInterfaceExtends(){let Hd=this.startNode();return Hd.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?Hd.typeParameters=this.flowParseTypeParameterInstantiation():Hd.typeParameters=null,this.finishNode(Hd,"InterfaceExtends")}flowParseInterface(Hd){return this.flowParseInterfaceish(Hd,!1),this.finishNode(Hd,"InterfaceDeclaration")}checkNotUnderscore(Hd){Hd==="_"&&this.raise(Bg.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(Hd,Qd,vf){V0.has(Hd)&&this.raise(vf?Bg.AssignReservedType:Bg.UnexpectedReservedType,Qd,{reservedType:Hd})}flowParseRestrictedIdentifier(Hd,Qd){return this.checkReservedType(this.state.value,this.state.startLoc,Qd),this.parseIdentifier(Hd)}flowParseTypeAlias(Hd){return Hd.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(Hd.id.name,8201,Hd.id.loc.start),this.match(47)?Hd.typeParameters=this.flowParseTypeParameterDeclaration():Hd.typeParameters=null,Hd.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(Hd,"TypeAlias")}flowParseOpaqueType(Hd,Qd){return this.expectContextual(130),Hd.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(Hd.id.name,8201,Hd.id.loc.start),this.match(47)?Hd.typeParameters=this.flowParseTypeParameterDeclaration():Hd.typeParameters=null,Hd.supertype=null,this.match(14)&&(Hd.supertype=this.flowParseTypeInitialiser(14)),Hd.impltype=null,Qd||(Hd.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(Hd,"OpaqueType")}flowParseTypeParameter(Hd=!1){let Qd=this.state.startLoc,vf=this.startNode(),$f=this.flowParseVariance(),gh=this.flowParseTypeAnnotatableIdentifier();return vf.name=gh.name,vf.variance=$f,vf.bound=gh.typeAnnotation,this.match(29)?(this.eat(29),vf.default=this.flowParseType()):Hd&&this.raise(Bg.MissingTypeParamDefault,Qd),this.finishNode(vf,"TypeParameter")}flowParseTypeParameterDeclaration(){let Hd=this.state.inType,Qd=this.startNode();Qd.params=[],this.state.inType=!0,this.match(47)||this.match(142)?this.next():this.unexpected();let vf=!1;do{let $f=this.flowParseTypeParameter(vf);Qd.params.push($f),$f.default&&(vf=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=Hd,this.finishNode(Qd,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){let Hd=this.startNode(),Qd=this.state.inType;Hd.params=[],this.state.inType=!0,this.expect(47);let vf=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)Hd.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=vf,this.expect(48),this.state.inType=Qd,this.finishNode(Hd,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){let Hd=this.startNode(),Qd=this.state.inType;for(Hd.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)Hd.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=Qd,this.finishNode(Hd,"TypeParameterInstantiation")}flowParseInterfaceType(){let Hd=this.startNode();if(this.expectContextual(129),Hd.extends=[],this.eat(81))do Hd.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return Hd.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(Hd,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(134)||this.match(133)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(Hd,Qd,vf){return Hd.static=Qd,this.lookahead().type===14?(Hd.id=this.flowParseObjectPropertyKey(),Hd.key=this.flowParseTypeInitialiser()):(Hd.id=null,Hd.key=this.flowParseType()),this.expect(3),Hd.value=this.flowParseTypeInitialiser(),Hd.variance=vf,this.finishNode(Hd,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(Hd,Qd){return Hd.static=Qd,Hd.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(Hd.method=!0,Hd.optional=!1,Hd.value=this.flowParseObjectTypeMethodish(this.startNodeAt(Hd.loc.start))):(Hd.method=!1,this.eat(17)&&(Hd.optional=!0),Hd.value=this.flowParseTypeInitialiser()),this.finishNode(Hd,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(Hd){for(Hd.params=[],Hd.rest=null,Hd.typeParameters=null,Hd.this=null,this.match(47)&&(Hd.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(Hd.this=this.flowParseFunctionTypeParam(!0),Hd.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)Hd.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(Hd.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),Hd.returnType=this.flowParseTypeInitialiser(),this.finishNode(Hd,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(Hd,Qd){let vf=this.startNode();return Hd.static=Qd,Hd.value=this.flowParseObjectTypeMethodish(vf),this.finishNode(Hd,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:Hd,allowExact:Qd,allowSpread:vf,allowProto:$f,allowInexact:gh}){let kh=this.state.inType;this.state.inType=!0;let im=this.startNode();im.callProperties=[],im.properties=[],im.indexers=[],im.internalSlots=[];let Sm,hm,Qm=!1;for(Qd&&this.match(6)?(this.expect(6),Sm=9,hm=!0):(this.expect(5),Sm=8,hm=!1),im.exact=hm;!this.match(Sm);){let Dg=!1,Og=null,e_=null,F_=this.startNode();if($f&&this.isContextual(118)){let v_=this.lookahead();v_.type!==14&&v_.type!==17&&(this.next(),Og=this.state.startLoc,Hd=!1)}if(Hd&&this.isContextual(106)){let v_=this.lookahead();v_.type!==14&&v_.type!==17&&(this.next(),Dg=!0)}let p_=this.flowParseVariance();if(this.eat(0))Og!=null&&this.unexpected(Og),this.eat(0)?(p_&&this.unexpected(p_.loc.start),im.internalSlots.push(this.flowParseObjectTypeInternalSlot(F_,Dg))):im.indexers.push(this.flowParseObjectTypeIndexer(F_,Dg,p_));else if(this.match(10)||this.match(47))Og!=null&&this.unexpected(Og),p_&&this.unexpected(p_.loc.start),im.callProperties.push(this.flowParseObjectTypeCallProperty(F_,Dg));else{let v_="init";if(this.isContextual(99)||this.isContextual(104)){let By=this.lookahead();th(By.type)&&(v_=this.state.value,this.next())}let ob=this.flowParseObjectTypeProperty(F_,Dg,Og,p_,v_,vf,gh??!hm);ob===null?(Qm=!0,e_=this.state.lastTokStartLoc):im.properties.push(ob)}this.flowObjectTypeSemicolon(),e_&&!this.match(8)&&!this.match(9)&&this.raise(Bg.UnexpectedExplicitInexactInObject,e_)}this.expect(Sm),vf&&(im.inexact=Qm);let yg=this.finishNode(im,"ObjectTypeAnnotation");return this.state.inType=kh,yg}flowParseObjectTypeProperty(Hd,Qd,vf,$f,gh,kh,im){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(kh?im||this.raise(Bg.InexactInsideExact,this.state.lastTokStartLoc):this.raise(Bg.InexactInsideNonObject,this.state.lastTokStartLoc),$f&&this.raise(Bg.InexactVariance,$f),null):(kh||this.raise(Bg.UnexpectedSpreadType,this.state.lastTokStartLoc),vf!=null&&this.unexpected(vf),$f&&this.raise(Bg.SpreadVariance,$f),Hd.argument=this.flowParseType(),this.finishNode(Hd,"ObjectTypeSpreadProperty"));{Hd.key=this.flowParseObjectPropertyKey(),Hd.static=Qd,Hd.proto=vf!=null,Hd.kind=gh;let Sm=!1;return this.match(47)||this.match(10)?(Hd.method=!0,vf!=null&&this.unexpected(vf),$f&&this.unexpected($f.loc.start),Hd.value=this.flowParseObjectTypeMethodish(this.startNodeAt(Hd.loc.start)),(gh==="get"||gh==="set")&&this.flowCheckGetterSetterParams(Hd),!kh&&Hd.key.name==="constructor"&&Hd.value.this&&this.raise(Bg.ThisParamBannedInConstructor,Hd.value.this)):(gh!=="init"&&this.unexpected(),Hd.method=!1,this.eat(17)&&(Sm=!0),Hd.value=this.flowParseTypeInitialiser(),Hd.variance=$f),Hd.optional=Sm,this.finishNode(Hd,"ObjectTypeProperty")}}flowCheckGetterSetterParams(Hd){let Qd=Hd.kind==="get"?0:1,vf=Hd.value.params.length+(Hd.value.rest?1:0);Hd.value.this&&this.raise(Hd.kind==="get"?Bg.GetterMayNotHaveThisParam:Bg.SetterMayNotHaveThisParam,Hd.value.this),vf!==Qd&&this.raise(Hd.kind==="get"?Fd.BadGetterArity:Fd.BadSetterArity,Hd),Hd.kind==="set"&&Hd.value.rest&&this.raise(Fd.BadSetterRestParameter,Hd)}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(Hd,Qd){Hd!=null||(Hd=this.state.startLoc);let vf=Qd||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let $f=this.startNodeAt(Hd);$f.qualification=vf,$f.id=this.flowParseRestrictedIdentifier(!0),vf=this.finishNode($f,"QualifiedTypeIdentifier")}return vf}flowParseGenericType(Hd,Qd){let vf=this.startNodeAt(Hd);return vf.typeParameters=null,vf.id=this.flowParseQualifiedTypeIdentifier(Hd,Qd),this.match(47)&&(vf.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(vf,"GenericTypeAnnotation")}flowParseTypeofType(){let Hd=this.startNode();return this.expect(87),Hd.argument=this.flowParsePrimaryType(),this.finishNode(Hd,"TypeofTypeAnnotation")}flowParseTupleType(){let Hd=this.startNode();for(Hd.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(Hd.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(Hd,"TupleTypeAnnotation")}flowParseFunctionTypeParam(Hd){let Qd=null,vf=!1,$f=null,gh=this.startNode(),kh=this.lookahead(),im=this.state.type===78;return kh.type===14||kh.type===17?(im&&!Hd&&this.raise(Bg.ThisParamMustBeFirst,gh),Qd=this.parseIdentifier(im),this.eat(17)&&(vf=!0,im&&this.raise(Bg.ThisParamMayNotBeOptional,gh)),$f=this.flowParseTypeInitialiser()):$f=this.flowParseType(),gh.name=Qd,gh.optional=vf,gh.typeAnnotation=$f,this.finishNode(gh,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(Hd){let Qd=this.startNodeAt(Hd.loc.start);return Qd.name=null,Qd.optional=!1,Qd.typeAnnotation=Hd,this.finishNode(Qd,"FunctionTypeParam")}flowParseFunctionTypeParams(Hd=[]){let Qd=null,vf=null;for(this.match(78)&&(vf=this.flowParseFunctionTypeParam(!0),vf.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)Hd.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(Qd=this.flowParseFunctionTypeParam(!1)),{params:Hd,rest:Qd,_this:vf}}flowIdentToTypeAnnotation(Hd,Qd,vf){switch(vf.name){case"any":return this.finishNode(Qd,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(Qd,"BooleanTypeAnnotation");case"mixed":return this.finishNode(Qd,"MixedTypeAnnotation");case"empty":return this.finishNode(Qd,"EmptyTypeAnnotation");case"number":return this.finishNode(Qd,"NumberTypeAnnotation");case"string":return this.finishNode(Qd,"StringTypeAnnotation");case"symbol":return this.finishNode(Qd,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(vf.name),this.flowParseGenericType(Hd,vf)}}flowParsePrimaryType(){let Hd=this.state.startLoc,Qd=this.startNode(),vf,$f,gh=!1,kh=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,$f=this.flowParseTupleType(),this.state.noAnonFunctionType=kh,$f;case 47:{let im=this.startNode();return im.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),vf=this.flowParseFunctionTypeParams(),im.params=vf.params,im.rest=vf.rest,im.this=vf._this,this.expect(11),this.expect(19),im.returnType=this.flowParseType(),this.finishNode(im,"FunctionTypeAnnotation")}case 10:{let im=this.startNode();if(this.next(),!this.match(11)&&!this.match(21))if(Yf(this.state.type)||this.match(78)){let Sm=this.lookahead().type;gh=Sm!==17&&Sm!==14}else gh=!0;if(gh){if(this.state.noAnonFunctionType=!1,$f=this.flowParseType(),this.state.noAnonFunctionType=kh,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),$f;this.eat(12)}return $f?vf=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam($f)]):vf=this.flowParseFunctionTypeParams(),im.params=vf.params,im.rest=vf.rest,im.this=vf._this,this.expect(11),this.expect(19),im.returnType=this.flowParseType(),im.typeParameters=null,this.finishNode(im,"FunctionTypeAnnotation")}case 133:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return Qd.value=this.match(85),this.next(),this.finishNode(Qd,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(134))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",Qd);if(this.match(135))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",Qd);throw this.raise(Bg.UnexpectedSubtractionOperand,this.state.startLoc)}this.unexpected();return;case 134:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 135:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(Qd,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(Qd,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(Qd,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(Qd,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(Uf(this.state.type)){let im=Jh(this.state.type);return this.next(),super.createIdentifier(Qd,im)}else if(Yf(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(Hd,Qd,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){let Hd=this.state.startLoc,Qd=this.flowParsePrimaryType(),vf=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let $f=this.startNodeAt(Hd),gh=this.eat(18);vf=vf||gh,this.expect(0),!gh&&this.match(3)?($f.elementType=Qd,this.next(),Qd=this.finishNode($f,"ArrayTypeAnnotation")):($f.objectType=Qd,$f.indexType=this.flowParseType(),this.expect(3),vf?($f.optional=gh,Qd=this.finishNode($f,"OptionalIndexedAccessType")):Qd=this.finishNode($f,"IndexedAccessType"))}return Qd}flowParsePrefixType(){let Hd=this.startNode();return this.eat(17)?(Hd.typeAnnotation=this.flowParsePrefixType(),this.finishNode(Hd,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let Hd=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let Qd=this.startNodeAt(Hd.loc.start);return Qd.params=[this.reinterpretTypeAsFunctionTypeParam(Hd)],Qd.rest=null,Qd.this=null,Qd.returnType=this.flowParseType(),Qd.typeParameters=null,this.finishNode(Qd,"FunctionTypeAnnotation")}return Hd}flowParseIntersectionType(){let Hd=this.startNode();this.eat(45);let Qd=this.flowParseAnonFunctionWithoutParens();for(Hd.types=[Qd];this.eat(45);)Hd.types.push(this.flowParseAnonFunctionWithoutParens());return Hd.types.length===1?Qd:this.finishNode(Hd,"IntersectionTypeAnnotation")}flowParseUnionType(){let Hd=this.startNode();this.eat(43);let Qd=this.flowParseIntersectionType();for(Hd.types=[Qd];this.eat(43);)Hd.types.push(this.flowParseIntersectionType());return Hd.types.length===1?Qd:this.finishNode(Hd,"UnionTypeAnnotation")}flowParseType(){let Hd=this.state.inType;this.state.inType=!0;let Qd=this.flowParseUnionType();return this.state.inType=Hd,Qd}flowParseTypeOrImplicitInstantiation(){if(this.state.type===132&&this.state.value==="_"){let Hd=this.state.startLoc,Qd=this.parseIdentifier();return this.flowParseGenericType(Hd,Qd)}else return this.flowParseType()}flowParseTypeAnnotation(){let Hd=this.startNode();return Hd.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(Hd,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(Hd){let Qd=Hd?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(Qd.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(Qd)),Qd}typeCastToParameter(Hd){return Hd.expression.typeAnnotation=Hd.typeAnnotation,this.resetEndLocation(Hd.expression,Hd.typeAnnotation.loc.end),Hd.expression}flowParseVariance(){let Hd=null;return this.match(53)?(Hd=this.startNode(),this.state.value==="+"?Hd.kind="plus":Hd.kind="minus",this.next(),this.finishNode(Hd,"Variance")):Hd}parseFunctionBody(Hd,Qd,vf=!1){if(Qd){this.forwardNoArrowParamsConversionAt(Hd,()=>super.parseFunctionBody(Hd,!0,vf));return}super.parseFunctionBody(Hd,!1,vf)}parseFunctionBodyAndFinish(Hd,Qd,vf=!1){if(this.match(14)){let $f=this.startNode();[$f.typeAnnotation,Hd.predicate]=this.flowParseTypeAndPredicateInitialiser(),Hd.returnType=$f.typeAnnotation?this.finishNode($f,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(Hd,Qd,vf)}parseStatementLike(Hd){if(this.state.strict&&this.isContextual(129)){let vf=this.lookahead();if(Rh(vf.type)){let $f=this.startNode();return this.next(),this.flowParseInterface($f)}}else if(this.shouldParseEnums()&&this.isContextual(126)){let vf=this.startNode();return this.next(),this.flowParseEnumDeclaration(vf)}let Qd=super.parseStatementLike(Hd);return this.flowPragma===void 0&&!this.isValidDirective(Qd)&&(this.flowPragma=null),Qd}parseExpressionStatement(Hd,Qd,vf){if(Qd.type==="Identifier"){if(Qd.name==="declare"){if(this.match(80)||Yf(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(Hd)}else if(Yf(this.state.type)){if(Qd.name==="interface")return this.flowParseInterface(Hd);if(Qd.name==="type")return this.flowParseTypeAlias(Hd);if(Qd.name==="opaque")return this.flowParseOpaqueType(Hd,!1)}}return super.parseExpressionStatement(Hd,Qd,vf)}shouldParseExportDeclaration(){let{type:Hd}=this.state;return uh(Hd)||this.shouldParseEnums()&&Hd===126?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:Hd}=this.state;return uh(Hd)||this.shouldParseEnums()&&Hd===126?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(126)){let Hd=this.startNode();return this.next(),this.flowParseEnumDeclaration(Hd)}return super.parseExportDefaultExpression()}parseConditional(Hd,Qd,vf){if(!this.match(17))return Hd;if(this.state.maybeInArrowParameters){let yg=this.lookaheadCharCode();if(yg===44||yg===61||yg===58||yg===41)return this.setOptionalParametersError(vf),Hd}this.expect(17);let $f=this.state.clone(),gh=this.state.noArrowAt,kh=this.startNodeAt(Qd),{consequent:im,failed:Sm}=this.tryParseConditionalConsequent(),[hm,Qm]=this.getArrowLikeExpressions(im);if(Sm||Qm.length>0){let yg=[...gh];if(Qm.length>0){this.state=$f,this.state.noArrowAt=yg;for(let Dg=0;Dg<Qm.length;Dg++)yg.push(Qm[Dg].start);({consequent:im,failed:Sm}=this.tryParseConditionalConsequent()),[hm,Qm]=this.getArrowLikeExpressions(im)}Sm&&hm.length>1&&this.raise(Bg.AmbiguousConditionalArrow,$f.startLoc),Sm&&hm.length===1&&(this.state=$f,yg.push(hm[0].start),this.state.noArrowAt=yg,{consequent:im,failed:Sm}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(im,!0),this.state.noArrowAt=gh,this.expect(14),kh.test=Hd,kh.consequent=im,kh.alternate=this.forwardNoArrowParamsConversionAt(kh,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(kh,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let Hd=this.parseMaybeAssignAllowIn(),Qd=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:Hd,failed:Qd}}getArrowLikeExpressions(Hd,Qd){let vf=[Hd],$f=[];for(;vf.length!==0;){let gh=vf.pop();gh.type==="ArrowFunctionExpression"&&gh.body.type!=="BlockStatement"?(gh.typeParameters||!gh.returnType?this.finishArrowValidation(gh):$f.push(gh),vf.push(gh.body)):gh.type==="ConditionalExpression"&&(vf.push(gh.consequent),vf.push(gh.alternate))}return Qd?($f.forEach(gh=>this.finishArrowValidation(gh)),[$f,[]]):Av($f,gh=>gh.params.every(kh=>this.isAssignable(kh,!0)))}finishArrowValidation(Hd){var Qd;this.toAssignableList(Hd.params,(Qd=Hd.extra)==null?void 0:Qd.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(Hd,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(Hd,Qd){let vf;return this.state.noArrowParamsConversionAt.includes(Hd.start)?(this.state.noArrowParamsConversionAt.push(this.state.start),vf=Qd(),this.state.noArrowParamsConversionAt.pop()):vf=Qd(),vf}parseParenItem(Hd,Qd){let vf=super.parseParenItem(Hd,Qd);if(this.eat(17)&&(vf.optional=!0,this.resetEndLocation(Hd)),this.match(14)){let $f=this.startNodeAt(Qd);return $f.expression=vf,$f.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode($f,"TypeCastExpression")}return vf}assertModuleNodeAllowed(Hd){Hd.type==="ImportDeclaration"&&(Hd.importKind==="type"||Hd.importKind==="typeof")||Hd.type==="ExportNamedDeclaration"&&Hd.exportKind==="type"||Hd.type==="ExportAllDeclaration"&&Hd.exportKind==="type"||super.assertModuleNodeAllowed(Hd)}parseExportDeclaration(Hd){if(this.isContextual(130)){Hd.exportKind="type";let Qd=this.startNode();return this.next(),this.match(5)?(Hd.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(Hd),null):this.flowParseTypeAlias(Qd)}else if(this.isContextual(131)){Hd.exportKind="type";let Qd=this.startNode();return this.next(),this.flowParseOpaqueType(Qd,!1)}else if(this.isContextual(129)){Hd.exportKind="type";let Qd=this.startNode();return this.next(),this.flowParseInterface(Qd)}else if(this.shouldParseEnums()&&this.isContextual(126)){Hd.exportKind="value";let Qd=this.startNode();return this.next(),this.flowParseEnumDeclaration(Qd)}else return super.parseExportDeclaration(Hd)}eatExportStar(Hd){return super.eatExportStar(Hd)?!0:this.isContextual(130)&&this.lookahead().type===55?(Hd.exportKind="type",this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(Hd){let{startLoc:Qd}=this.state,vf=super.maybeParseExportNamespaceSpecifier(Hd);return vf&&Hd.exportKind==="type"&&this.unexpected(Qd),vf}parseClassId(Hd,Qd,vf){super.parseClassId(Hd,Qd,vf),this.match(47)&&(Hd.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(Hd,Qd,vf){let{startLoc:$f}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(Hd,Qd))return;Qd.declare=!0}super.parseClassMember(Hd,Qd,vf),Qd.declare&&(Qd.type!=="ClassProperty"&&Qd.type!=="ClassPrivateProperty"&&Qd.type!=="PropertyDefinition"?this.raise(Bg.DeclareClassElement,$f):Qd.value&&this.raise(Bg.DeclareClassFieldInitializer,Qd.value))}isIterator(Hd){return Hd==="iterator"||Hd==="asyncIterator"}readIterator(){let Hd=super.readWord1(),Qd="@@"+Hd;(!this.isIterator(Hd)||!this.state.inType)&&this.raise(Fd.InvalidIdentifier,this.state.curPosition(),{identifierName:Qd}),this.finishToken(132,Qd)}getTokenFromCode(Hd){let Qd=this.input.charCodeAt(this.state.pos+1);Hd===123&&Qd===124?this.finishOp(6,2):this.state.inType&&(Hd===62||Hd===60)?this.finishOp(Hd===62?48:47,1):this.state.inType&&Hd===63?Qd===46?this.finishOp(18,2):this.finishOp(17,1):Pg(Hd,Qd,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(Hd)}isAssignable(Hd,Qd){return Hd.type==="TypeCastExpression"?this.isAssignable(Hd.expression,Qd):super.isAssignable(Hd,Qd)}toAssignable(Hd,Qd=!1){!Qd&&Hd.type==="AssignmentExpression"&&Hd.left.type==="TypeCastExpression"&&(Hd.left=this.typeCastToParameter(Hd.left)),super.toAssignable(Hd,Qd)}toAssignableList(Hd,Qd,vf){for(let $f=0;$f<Hd.length;$f++){let gh=Hd[$f];(gh==null?void 0:gh.type)==="TypeCastExpression"&&(Hd[$f]=this.typeCastToParameter(gh))}super.toAssignableList(Hd,Qd,vf)}toReferencedList(Hd,Qd){for(let $f=0;$f<Hd.length;$f++){var vf;let gh=Hd[$f];gh&&gh.type==="TypeCastExpression"&&!((vf=gh.extra)!=null&&vf.parenthesized)&&(Hd.length>1||!Qd)&&this.raise(Bg.TypeCastInPattern,gh.typeAnnotation)}return Hd}parseArrayLike(Hd,Qd,vf,$f){let gh=super.parseArrayLike(Hd,Qd,vf,$f);return Qd&&!this.state.maybeInArrowParameters&&this.toReferencedList(gh.elements),gh}isValidLVal(Hd,Qd,vf){return Hd==="TypeCastExpression"||super.isValidLVal(Hd,Qd,vf)}parseClassProperty(Hd){return this.match(14)&&(Hd.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(Hd)}parseClassPrivateProperty(Hd){return this.match(14)&&(Hd.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(Hd)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(Hd){return!this.match(14)&&super.isNonstaticConstructor(Hd)}pushClassMethod(Hd,Qd,vf,$f,gh,kh){if(Qd.variance&&this.unexpected(Qd.variance.loc.start),delete Qd.variance,this.match(47)&&(Qd.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(Hd,Qd,vf,$f,gh,kh),Qd.params&&gh){let im=Qd.params;im.length>0&&this.isThisParam(im[0])&&this.raise(Bg.ThisParamBannedInConstructor,Qd)}else if(Qd.type==="MethodDefinition"&&gh&&Qd.value.params){let im=Qd.value.params;im.length>0&&this.isThisParam(im[0])&&this.raise(Bg.ThisParamBannedInConstructor,Qd)}}pushClassPrivateMethod(Hd,Qd,vf,$f){Qd.variance&&this.unexpected(Qd.variance.loc.start),delete Qd.variance,this.match(47)&&(Qd.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(Hd,Qd,vf,$f)}parseClassSuper(Hd){if(super.parseClassSuper(Hd),Hd.superClass&&this.match(47)&&(Hd.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(113)){this.next();let Qd=Hd.implements=[];do{let vf=this.startNode();vf.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?vf.typeParameters=this.flowParseTypeParameterInstantiation():vf.typeParameters=null,Qd.push(this.finishNode(vf,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(Hd){super.checkGetterSetterParams(Hd);let Qd=this.getObjectOrClassMethodParams(Hd);if(Qd.length>0){let vf=Qd[0];this.isThisParam(vf)&&Hd.kind==="get"?this.raise(Bg.GetterMayNotHaveThisParam,vf):this.isThisParam(vf)&&this.raise(Bg.SetterMayNotHaveThisParam,vf)}}parsePropertyNamePrefixOperator(Hd){Hd.variance=this.flowParseVariance()}parseObjPropValue(Hd,Qd,vf,$f,gh,kh,im){Hd.variance&&this.unexpected(Hd.variance.loc.start),delete Hd.variance;let Sm;this.match(47)&&!kh&&(Sm=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let hm=super.parseObjPropValue(Hd,Qd,vf,$f,gh,kh,im);return Sm&&((hm.value||hm).typeParameters=Sm),hm}parseAssignableListItemTypes(Hd){return this.eat(17)&&(Hd.type!=="Identifier"&&this.raise(Bg.PatternIsOptional,Hd),this.isThisParam(Hd)&&this.raise(Bg.ThisParamMayNotBeOptional,Hd),Hd.optional=!0),this.match(14)?Hd.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(Hd)&&this.raise(Bg.ThisParamAnnotationRequired,Hd),this.match(29)&&this.isThisParam(Hd)&&this.raise(Bg.ThisParamNoDefault,Hd),this.resetEndLocation(Hd),Hd}parseMaybeDefault(Hd,Qd){let vf=super.parseMaybeDefault(Hd,Qd);return vf.type==="AssignmentPattern"&&vf.typeAnnotation&&vf.right.start<vf.typeAnnotation.start&&this.raise(Bg.TypeBeforeInitializer,vf.typeAnnotation),vf}checkImportReflection(Hd){super.checkImportReflection(Hd),Hd.module&&Hd.importKind!=="value"&&this.raise(Bg.ImportReflectionHasImportType,Hd.specifiers[0].loc.start)}parseImportSpecifierLocal(Hd,Qd,vf){Qd.local=O0(Hd)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),Hd.specifiers.push(this.finishImportSpecifier(Qd,vf))}isPotentialImportPhase(Hd){if(super.isPotentialImportPhase(Hd))return!0;if(this.isContextual(130)){if(!Hd)return!0;let Qd=this.lookaheadCharCode();return Qd===123||Qd===42}return!Hd&&this.isContextual(87)}applyImportPhase(Hd,Qd,vf,$f){if(super.applyImportPhase(Hd,Qd,vf,$f),Qd){if(!vf&&this.match(65))return;Hd.exportKind=vf==="type"?vf:"value"}else vf==="type"&&this.match(55)&&this.unexpected(),Hd.importKind=vf==="type"||vf==="typeof"?vf:"value"}parseImportSpecifier(Hd,Qd,vf,$f,gh){let kh=Hd.imported,im=null;kh.type==="Identifier"&&(kh.name==="type"?im="type":kh.name==="typeof"&&(im="typeof"));let Sm=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){let Qm=this.parseIdentifier(!0);im!==null&&!Rh(this.state.type)?(Hd.imported=Qm,Hd.importKind=im,Hd.local=sb(Qm)):(Hd.imported=kh,Hd.importKind=null,Hd.local=this.parseIdentifier())}else{if(im!==null&&Rh(this.state.type))Hd.imported=this.parseIdentifier(!0),Hd.importKind=im;else{if(Qd)throw this.raise(Fd.ImportBindingIsString,Hd,{importName:kh.value});Hd.imported=kh,Hd.importKind=null}this.eatContextual(93)?Hd.local=this.parseIdentifier():(Sm=!0,Hd.local=sb(Hd.imported))}let hm=O0(Hd);return vf&&hm&&this.raise(Bg.ImportTypeShorthandOnlyInPureImport,Hd),(vf||hm)&&this.checkReservedType(Hd.local.name,Hd.local.loc.start,!0),Sm&&!vf&&!hm&&this.checkReservedWord(Hd.local.name,Hd.loc.start,!0,!0),this.finishImportSpecifier(Hd,"ImportSpecifier")}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseFunctionParams(Hd,Qd){let vf=Hd.kind;vf!=="get"&&vf!=="set"&&this.match(47)&&(Hd.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(Hd,Qd)}parseVarId(Hd,Qd){super.parseVarId(Hd,Qd),this.match(14)&&(Hd.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(Hd.id))}parseAsyncArrowFromCallExpression(Hd,Qd){if(this.match(14)){let vf=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,Hd.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=vf}return super.parseAsyncArrowFromCallExpression(Hd,Qd)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(Hd,Qd){var vf;let $f=null,gh;if(this.hasPlugin("jsx")&&(this.match(142)||this.match(47))){if($f=this.state.clone(),gh=this.tryParse(()=>super.parseMaybeAssign(Hd,Qd),$f),!gh.error)return gh.node;let{context:Sm}=this.state,hm=Sm[Sm.length-1];(hm===_f.j_oTag||hm===_f.j_expr)&&Sm.pop()}if((vf=gh)!=null&&vf.error||this.match(47)){var kh,im;$f=$f||this.state.clone();let Sm,hm=this.tryParse(yg=>{var Dg;Sm=this.flowParseTypeParameterDeclaration();let Og=this.forwardNoArrowParamsConversionAt(Sm,()=>{let F_=super.parseMaybeAssign(Hd,Qd);return this.resetStartLocationFromNode(F_,Sm),F_});(Dg=Og.extra)!=null&&Dg.parenthesized&&yg();let e_=this.maybeUnwrapTypeCastExpression(Og);return e_.type!=="ArrowFunctionExpression"&&yg(),e_.typeParameters=Sm,this.resetStartLocationFromNode(e_,Sm),Og},$f),Qm=null;if(hm.node&&this.maybeUnwrapTypeCastExpression(hm.node).type==="ArrowFunctionExpression"){if(!hm.error&&!hm.aborted)return hm.node.async&&this.raise(Bg.UnexpectedTypeParameterBeforeAsyncArrowFunction,Sm),hm.node;Qm=hm.node}if((kh=gh)!=null&&kh.node)return this.state=gh.failState,gh.node;if(Qm)return this.state=hm.failState,Qm;throw(im=gh)!=null&&im.thrown?gh.error:hm.thrown?hm.error:this.raise(Bg.UnexpectedTokenAfterTypeParameter,Sm)}return super.parseMaybeAssign(Hd,Qd)}parseArrow(Hd){if(this.match(14)){let Qd=this.tryParse(()=>{let vf=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let $f=this.startNode();return[$f.typeAnnotation,Hd.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=vf,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),$f});if(Qd.thrown)return null;Qd.error&&(this.state=Qd.failState),Hd.returnType=Qd.node.typeAnnotation?this.finishNode(Qd.node,"TypeAnnotation"):null}return super.parseArrow(Hd)}shouldParseArrow(Hd){return this.match(14)||super.shouldParseArrow(Hd)}setArrowFunctionParameters(Hd,Qd){this.state.noArrowParamsConversionAt.includes(Hd.start)?Hd.params=Qd:super.setArrowFunctionParameters(Hd,Qd)}checkParams(Hd,Qd,vf,$f=!0){if(!(vf&&this.state.noArrowParamsConversionAt.includes(Hd.start))){for(let gh=0;gh<Hd.params.length;gh++)this.isThisParam(Hd.params[gh])&&gh>0&&this.raise(Bg.ThisParamMustBeFirst,Hd.params[gh]);super.checkParams(Hd,Qd,vf,$f)}}parseParenAndDistinguishExpression(Hd){return super.parseParenAndDistinguishExpression(Hd&&!this.state.noArrowAt.includes(this.state.start))}parseSubscripts(Hd,Qd,vf){if(Hd.type==="Identifier"&&Hd.name==="async"&&this.state.noArrowAt.includes(Qd.index)){this.next();let $f=this.startNodeAt(Qd);$f.callee=Hd,$f.arguments=super.parseCallExpressionArguments(11,!1),Hd=this.finishNode($f,"CallExpression")}else if(Hd.type==="Identifier"&&Hd.name==="async"&&this.match(47)){let $f=this.state.clone(),gh=this.tryParse(im=>this.parseAsyncArrowWithTypeParameters(Qd)||im(),$f);if(!gh.error&&!gh.aborted)return gh.node;let kh=this.tryParse(()=>super.parseSubscripts(Hd,Qd,vf),$f);if(kh.node&&!kh.error)return kh.node;if(gh.node)return this.state=gh.failState,gh.node;if(kh.node)return this.state=kh.failState,kh.node;throw gh.error||kh.error}return super.parseSubscripts(Hd,Qd,vf)}parseSubscript(Hd,Qd,vf,$f){if(this.match(18)&&this.isLookaheadToken_lt()){if($f.optionalChainMember=!0,vf)return $f.stop=!0,Hd;this.next();let gh=this.startNodeAt(Qd);return gh.callee=Hd,gh.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),gh.arguments=this.parseCallExpressionArguments(11,!1),gh.optional=!0,this.finishCallExpression(gh,!0)}else if(!vf&&this.shouldParseTypes()&&this.match(47)){let gh=this.startNodeAt(Qd);gh.callee=Hd;let kh=this.tryParse(()=>(gh.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),gh.arguments=super.parseCallExpressionArguments(11,!1),$f.optionalChainMember&&(gh.optional=!1),this.finishCallExpression(gh,$f.optionalChainMember)));if(kh.node)return kh.error&&(this.state=kh.failState),kh.node}return super.parseSubscript(Hd,Qd,vf,$f)}parseNewCallee(Hd){super.parseNewCallee(Hd);let Qd=null;this.shouldParseTypes()&&this.match(47)&&(Qd=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),Hd.typeArguments=Qd}parseAsyncArrowWithTypeParameters(Hd){let Qd=this.startNodeAt(Hd);if(this.parseFunctionParams(Qd,!1),!!this.parseArrow(Qd))return super.parseArrowExpression(Qd,void 0,!0)}readToken_mult_modulo(Hd){let Qd=this.input.charCodeAt(this.state.pos+1);if(Hd===42&&Qd===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(Hd)}readToken_pipe_amp(Hd){let Qd=this.input.charCodeAt(this.state.pos+1);if(Hd===124&&Qd===125){this.finishOp(9,2);return}super.readToken_pipe_amp(Hd)}parseTopLevel(Hd,Qd){let vf=super.parseTopLevel(Hd,Qd);return this.state.hasFlowComment&&this.raise(Bg.UnterminatedFlowComment,this.state.curPosition()),vf}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(Bg.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();let Hd=this.skipFlowComment();Hd&&(this.state.pos+=Hd,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){let{pos:Hd}=this.state,Qd=2;for(;[32,9].includes(this.input.charCodeAt(Hd+Qd));)Qd++;let vf=this.input.charCodeAt(Qd+Hd),$f=this.input.charCodeAt(Qd+Hd+1);return vf===58&&$f===58?Qd+2:this.input.slice(Qd+Hd,Qd+Hd+12)==="flow-include"?Qd+12:vf===58&&$f!==58?Qd:!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(Fd.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(Hd,{enumName:Qd,memberName:vf}){this.raise(Bg.EnumBooleanMemberNotInitialized,Hd,{memberName:vf,enumName:Qd})}flowEnumErrorInvalidMemberInitializer(Hd,Qd){return this.raise(Qd.explicitType?Qd.explicitType==="symbol"?Bg.EnumInvalidMemberInitializerSymbolType:Bg.EnumInvalidMemberInitializerPrimaryType:Bg.EnumInvalidMemberInitializerUnknownType,Hd,Qd)}flowEnumErrorNumberMemberNotInitialized(Hd,Qd){this.raise(Bg.EnumNumberMemberNotInitialized,Hd,Qd)}flowEnumErrorStringMemberInconsistentlyInitialized(Hd,Qd){this.raise(Bg.EnumStringMemberInconsistentlyInitialized,Hd,Qd)}flowEnumMemberInit(){let Hd=this.state.startLoc,Qd=()=>this.match(12)||this.match(8);switch(this.state.type){case 134:{let vf=this.parseNumericLiteral(this.state.value);return Qd()?{type:"number",loc:vf.loc.start,value:vf}:{type:"invalid",loc:Hd}}case 133:{let vf=this.parseStringLiteral(this.state.value);return Qd()?{type:"string",loc:vf.loc.start,value:vf}:{type:"invalid",loc:Hd}}case 85:case 86:{let vf=this.parseBooleanLiteral(this.match(85));return Qd()?{type:"boolean",loc:vf.loc.start,value:vf}:{type:"invalid",loc:Hd}}default:return{type:"invalid",loc:Hd}}}flowEnumMemberRaw(){let Hd=this.state.startLoc,Qd=this.parseIdentifier(!0),vf=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:Hd};return{id:Qd,init:vf}}flowEnumCheckExplicitTypeMismatch(Hd,Qd,vf){let{explicitType:$f}=Qd;$f!==null&&$f!==vf&&this.flowEnumErrorInvalidMemberInitializer(Hd,Qd)}flowEnumMembers({enumName:Hd,explicitType:Qd}){let vf=new Set,$f={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},gh=!1;for(;!this.match(8);){if(this.eat(21)){gh=!0;break}let kh=this.startNode(),{id:im,init:Sm}=this.flowEnumMemberRaw(),hm=im.name;if(hm==="")continue;/^[a-z]/.test(hm)&&this.raise(Bg.EnumInvalidMemberName,im,{memberName:hm,suggestion:hm[0].toUpperCase()+hm.slice(1),enumName:Hd}),vf.has(hm)&&this.raise(Bg.EnumDuplicateMemberName,im,{memberName:hm,enumName:Hd}),vf.add(hm);let Qm={enumName:Hd,explicitType:Qd,memberName:hm};switch(kh.id=im,Sm.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(Sm.loc,Qm,"boolean"),kh.init=Sm.value,$f.booleanMembers.push(this.finishNode(kh,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(Sm.loc,Qm,"number"),kh.init=Sm.value,$f.numberMembers.push(this.finishNode(kh,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(Sm.loc,Qm,"string"),kh.init=Sm.value,$f.stringMembers.push(this.finishNode(kh,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(Sm.loc,Qm);case"none":switch(Qd){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(Sm.loc,Qm);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(Sm.loc,Qm);break;default:$f.defaultedMembers.push(this.finishNode(kh,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:$f,hasUnknownMembers:gh}}flowEnumStringMembers(Hd,Qd,{enumName:vf}){if(Hd.length===0)return Qd;if(Qd.length===0)return Hd;if(Qd.length>Hd.length){for(let $f of Hd)this.flowEnumErrorStringMemberInconsistentlyInitialized($f,{enumName:vf});return Qd}else{for(let $f of Qd)this.flowEnumErrorStringMemberInconsistentlyInitialized($f,{enumName:vf});return Hd}}flowEnumParseExplicitType({enumName:Hd}){if(!this.eatContextual(102))return null;if(!Yf(this.state.type))throw this.raise(Bg.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:Hd});let{value:Qd}=this.state;return this.next(),Qd!=="boolean"&&Qd!=="number"&&Qd!=="string"&&Qd!=="symbol"&&this.raise(Bg.EnumInvalidExplicitType,this.state.startLoc,{enumName:Hd,invalidEnumType:Qd}),Qd}flowEnumBody(Hd,Qd){let vf=Qd.name,$f=Qd.loc.start,gh=this.flowEnumParseExplicitType({enumName:vf});this.expect(5);let{members:kh,hasUnknownMembers:im}=this.flowEnumMembers({enumName:vf,explicitType:gh});switch(Hd.hasUnknownMembers=im,gh){case"boolean":return Hd.explicitType=!0,Hd.members=kh.booleanMembers,this.expect(8),this.finishNode(Hd,"EnumBooleanBody");case"number":return Hd.explicitType=!0,Hd.members=kh.numberMembers,this.expect(8),this.finishNode(Hd,"EnumNumberBody");case"string":return Hd.explicitType=!0,Hd.members=this.flowEnumStringMembers(kh.stringMembers,kh.defaultedMembers,{enumName:vf}),this.expect(8),this.finishNode(Hd,"EnumStringBody");case"symbol":return Hd.members=kh.defaultedMembers,this.expect(8),this.finishNode(Hd,"EnumSymbolBody");default:{let Sm=()=>(Hd.members=[],this.expect(8),this.finishNode(Hd,"EnumStringBody"));Hd.explicitType=!1;let hm=kh.booleanMembers.length,Qm=kh.numberMembers.length,yg=kh.stringMembers.length,Dg=kh.defaultedMembers.length;if(!hm&&!Qm&&!yg&&!Dg)return Sm();if(!hm&&!Qm)return Hd.members=this.flowEnumStringMembers(kh.stringMembers,kh.defaultedMembers,{enumName:vf}),this.expect(8),this.finishNode(Hd,"EnumStringBody");if(!Qm&&!yg&&hm>=Dg){for(let Og of kh.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(Og.loc.start,{enumName:vf,memberName:Og.id.name});return Hd.members=kh.booleanMembers,this.expect(8),this.finishNode(Hd,"EnumBooleanBody")}else if(!hm&&!yg&&Qm>=Dg){for(let Og of kh.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(Og.loc.start,{enumName:vf,memberName:Og.id.name});return Hd.members=kh.numberMembers,this.expect(8),this.finishNode(Hd,"EnumNumberBody")}else return this.raise(Bg.EnumInconsistentMemberValues,$f,{enumName:vf}),Sm()}}}flowParseEnumDeclaration(Hd){let Qd=this.parseIdentifier();return Hd.id=Qd,Hd.body=this.flowEnumBody(this.startNode(),Qd),this.finishNode(Hd,"EnumDeclaration")}isLookaheadToken_lt(){let Hd=this.nextTokenStart();if(this.input.charCodeAt(Hd)===60){let Qd=this.input.charCodeAt(Hd+1);return Qd!==60&&Qd!==61}return!1}maybeUnwrapTypeCastExpression(Hd){return Hd.type==="TypeCastExpression"?Hd.expression:Hd}},Y_=jd`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:Kd})=>`Expected corresponding JSX closing tag for <${Kd}>.`,MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:({unexpected:Kd,HTMLEntity:Hd})=>`Unexpected token \`${Kd}\`. Did you mean \`${Hd}\` or \`{'${Kd}'}\`?`,UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"});function Mb(Kd){return Kd?Kd.type==="JSXOpeningFragment"||Kd.type==="JSXClosingFragment":!1}function r0(Kd){if(Kd.type==="JSXIdentifier")return Kd.name;if(Kd.type==="JSXNamespacedName")return Kd.namespace.name+":"+Kd.name.name;if(Kd.type==="JSXMemberExpression")return r0(Kd.object)+"."+r0(Kd.property);throw new Error("Node had unexpected type: "+Kd.type)}var M0=Kd=>class extends Kd{jsxReadToken(){let Hd="",Qd=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Y_.UnterminatedJsxContent,this.state.startLoc);let vf=this.input.charCodeAt(this.state.pos);switch(vf){case 60:case 123:if(this.state.pos===this.state.start){vf===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(142)):super.getTokenFromCode(vf);return}Hd+=this.input.slice(Qd,this.state.pos),this.finishToken(141,Hd);return;case 38:Hd+=this.input.slice(Qd,this.state.pos),Hd+=this.jsxReadEntity(),Qd=this.state.pos;break;case 62:case 125:default:fm(vf)?(Hd+=this.input.slice(Qd,this.state.pos),Hd+=this.jsxReadNewLine(!0),Qd=this.state.pos):++this.state.pos}}}jsxReadNewLine(Hd){let Qd=this.input.charCodeAt(this.state.pos),vf;return++this.state.pos,Qd===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,vf=Hd?`
`:`\r
`):vf=String.fromCharCode(Qd),++this.state.curLine,this.state.lineStart=this.state.pos,vf}jsxReadString(Hd){let Qd="",vf=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Fd.UnterminatedString,this.state.startLoc);let $f=this.input.charCodeAt(this.state.pos);if($f===Hd)break;$f===38?(Qd+=this.input.slice(vf,this.state.pos),Qd+=this.jsxReadEntity(),vf=this.state.pos):fm($f)?(Qd+=this.input.slice(vf,this.state.pos),Qd+=this.jsxReadNewLine(!1),vf=this.state.pos):++this.state.pos}Qd+=this.input.slice(vf,this.state.pos++),this.finishToken(133,Qd)}jsxReadEntity(){let Hd=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let Qd=10;this.codePointAtPos(this.state.pos)===120&&(Qd=16,++this.state.pos);let vf=this.readInt(Qd,void 0,!1,"bail");if(vf!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(vf)}else{let Qd=0,vf=!1;for(;Qd++<10&&this.state.pos<this.length&&!(vf=this.codePointAtPos(this.state.pos)===59);)++this.state.pos;if(vf){this.input.slice(Hd,this.state.pos);let $f;++this.state.pos}}return this.state.pos=Hd,"&"}jsxReadWord(){let Hd,Qd=this.state.pos;do Hd=this.input.charCodeAt(++this.state.pos);while(Dm(Hd)||Hd===45);this.finishToken(140,this.input.slice(Qd,this.state.pos))}jsxParseIdentifier(){let Hd=this.startNode();return this.match(140)?Hd.name=this.state.value:Uf(this.state.type)?Hd.name=Jh(this.state.type):this.unexpected(),this.next(),this.finishNode(Hd,"JSXIdentifier")}jsxParseNamespacedName(){let Hd=this.state.startLoc,Qd=this.jsxParseIdentifier();if(!this.eat(14))return Qd;let vf=this.startNodeAt(Hd);return vf.namespace=Qd,vf.name=this.jsxParseIdentifier(),this.finishNode(vf,"JSXNamespacedName")}jsxParseElementName(){let Hd=this.state.startLoc,Qd=this.jsxParseNamespacedName();if(Qd.type==="JSXNamespacedName")return Qd;for(;this.eat(16);){let vf=this.startNodeAt(Hd);vf.object=Qd,vf.property=this.jsxParseIdentifier(),Qd=this.finishNode(vf,"JSXMemberExpression")}return Qd}jsxParseAttributeValue(){let Hd;switch(this.state.type){case 5:return Hd=this.startNode(),this.setContext(_f.brace),this.next(),Hd=this.jsxParseExpressionContainer(Hd,_f.j_oTag),Hd.expression.type==="JSXEmptyExpression"&&this.raise(Y_.AttributeIsEmpty,Hd),Hd;case 142:case 133:return this.parseExprAtom();default:throw this.raise(Y_.UnsupportedJsxValue,this.state.startLoc)}}jsxParseEmptyExpression(){let Hd=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(Hd,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(Hd){return this.next(),Hd.expression=this.parseExpression(),this.setContext(_f.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(Hd,"JSXSpreadChild")}jsxParseExpressionContainer(Hd,Qd){if(this.match(8))Hd.expression=this.jsxParseEmptyExpression();else{let vf=this.parseExpression();Hd.expression=vf}return this.setContext(Qd),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(Hd,"JSXExpressionContainer")}jsxParseAttribute(){let Hd=this.startNode();return this.match(5)?(this.setContext(_f.brace),this.next(),this.expect(21),Hd.argument=this.parseMaybeAssignAllowIn(),this.setContext(_f.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(Hd,"JSXSpreadAttribute")):(Hd.name=this.jsxParseNamespacedName(),Hd.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(Hd,"JSXAttribute"))}jsxParseOpeningElementAt(Hd){let Qd=this.startNodeAt(Hd);return this.eat(143)?this.finishNode(Qd,"JSXOpeningFragment"):(Qd.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(Qd))}jsxParseOpeningElementAfterName(Hd){let Qd=[];for(;!this.match(56)&&!this.match(143);)Qd.push(this.jsxParseAttribute());return Hd.attributes=Qd,Hd.selfClosing=this.eat(56),this.expect(143),this.finishNode(Hd,"JSXOpeningElement")}jsxParseClosingElementAt(Hd){let Qd=this.startNodeAt(Hd);return this.eat(143)?this.finishNode(Qd,"JSXClosingFragment"):(Qd.name=this.jsxParseElementName(),this.expect(143),this.finishNode(Qd,"JSXClosingElement"))}jsxParseElementAt(Hd){let Qd=this.startNodeAt(Hd),vf=[],$f=this.jsxParseOpeningElementAt(Hd),gh=null;if(!$f.selfClosing){e:for(;;)switch(this.state.type){case 142:if(Hd=this.state.startLoc,this.next(),this.eat(56)){gh=this.jsxParseClosingElementAt(Hd);break e}vf.push(this.jsxParseElementAt(Hd));break;case 141:vf.push(this.parseLiteral(this.state.value,"JSXText"));break;case 5:{let kh=this.startNode();this.setContext(_f.brace),this.next(),this.match(21)?vf.push(this.jsxParseSpreadChild(kh)):vf.push(this.jsxParseExpressionContainer(kh,_f.j_expr));break}default:this.unexpected()}Mb($f)&&!Mb(gh)&&gh!==null?this.raise(Y_.MissingClosingTagFragment,gh):!Mb($f)&&Mb(gh)?this.raise(Y_.MissingClosingTagElement,gh,{openingTagName:r0($f.name)}):!Mb($f)&&!Mb(gh)&&r0(gh.name)!==r0($f.name)&&this.raise(Y_.MissingClosingTagElement,gh,{openingTagName:r0($f.name)})}if(Mb($f)?(Qd.openingFragment=$f,Qd.closingFragment=gh):(Qd.openingElement=$f,Qd.closingElement=gh),Qd.children=vf,this.match(47))throw this.raise(Y_.UnwrappedAdjacentJSXElements,this.state.startLoc);return Mb($f)?this.finishNode(Qd,"JSXFragment"):this.finishNode(Qd,"JSXElement")}jsxParseElement(){let Hd=this.state.startLoc;return this.next(),this.jsxParseElementAt(Hd)}setContext(Hd){let{context:Qd}=this.state;Qd[Qd.length-1]=Hd}parseExprAtom(Hd){return this.match(142)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(142),this.jsxParseElement()):super.parseExprAtom(Hd)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(Hd){let Qd=this.curContext();if(Qd===_f.j_expr){this.jsxReadToken();return}if(Qd===_f.j_oTag||Qd===_f.j_cTag){if(om(Hd)){this.jsxReadWord();return}if(Hd===62){++this.state.pos,this.finishToken(143);return}if((Hd===34||Hd===39)&&Qd===_f.j_oTag){this.jsxReadString(Hd);return}}if(Hd===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33){++this.state.pos,this.finishToken(142);return}super.getTokenFromCode(Hd)}updateContext(Hd){let{context:Qd,type:vf}=this.state;if(vf===56&&Hd===142)Qd.splice(-2,2,_f.j_cTag),this.state.canStartJSXElement=!1;else if(vf===142)Qd.push(_f.j_oTag);else if(vf===143){let $f=Qd[Qd.length-1];$f===_f.j_oTag&&Hd===56||$f===_f.j_cTag?(Qd.pop(),this.state.canStartJSXElement=Qd[Qd.length-1]===_f.j_expr):(this.setContext(_f.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=Bf(vf)}},W0=class extends M_{constructor(...Kd){super(...Kd),this.tsNames=new Map}},JE=class extends B_{constructor(...Kd){super(...Kd),this.importsStack=[]}createScope(Kd){return this.importsStack.push(new Set),new W0(Kd)}enter(Kd){Kd===256&&this.importsStack.push(new Set),super.enter(Kd)}exit(){let Kd=super.exit();return Kd===256&&this.importsStack.pop(),Kd}hasImport(Kd,Hd){let Qd=this.importsStack.length;if(this.importsStack[Qd-1].has(Kd))return!0;if(!Hd&&Qd>1){for(let vf=0;vf<Qd-1;vf++)if(this.importsStack[vf].has(Kd))return!0}return!1}declareName(Kd,Hd,Qd){if(Hd&4096){this.hasImport(Kd,!0)&&this.parser.raise(Fd.VarRedeclaration,Qd,{identifierName:Kd}),this.importsStack[this.importsStack.length-1].add(Kd);return}let vf=this.currentScope(),$f=vf.tsNames.get(Kd)||0;if(Hd&1024){this.maybeExportDefined(vf,Kd),vf.tsNames.set(Kd,$f|16);return}super.declareName(Kd,Hd,Qd),Hd&2&&(Hd&1||(this.checkRedeclarationInScope(vf,Kd,Hd,Qd),this.maybeExportDefined(vf,Kd)),$f=$f|1),Hd&256&&($f=$f|2),Hd&512&&($f=$f|4),Hd&128&&($f=$f|8),$f&&vf.tsNames.set(Kd,$f)}isRedeclaredInScope(Kd,Hd,Qd){let vf=Kd.tsNames.get(Hd);if((vf&2)>0){if(Qd&256){let $f=!!(Qd&512),gh=(vf&4)>0;return $f!==gh}return!0}return Qd&128&&(vf&8)>0?Kd.names.get(Hd)&2?!!(Qd&1):!1:Qd&2&&(vf&1)>0?!0:super.isRedeclaredInScope(Kd,Hd,Qd)}checkLocalExport(Kd){let{name:Hd}=Kd;if(this.hasImport(Hd))return;let Qd=this.scopeStack.length;for(let vf=Qd-1;vf>=0;vf--){let $f=this.scopeStack[vf].tsNames.get(Hd);if(($f&1)>0||($f&16)>0)return}super.checkLocalExport(Kd)}},mE=(Kd,Hd)=>hasOwnProperty.call(Kd,Hd)&&Kd[Hd],ZE=Kd=>Kd.type==="ParenthesizedExpression"?ZE(Kd.expression):Kd,XS=class extends Iy{toAssignable(Kd,Hd=!1){var Qd,vf;let $f;switch((Kd.type==="ParenthesizedExpression"||(Qd=Kd.extra)!=null&&Qd.parenthesized)&&($f=ZE(Kd),Hd?$f.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(Fd.InvalidParenthesizedAssignment,Kd):$f.type!=="MemberExpression"&&!this.isOptionalMemberExpression($f)&&this.raise(Fd.InvalidParenthesizedAssignment,Kd):this.raise(Fd.InvalidParenthesizedAssignment,Kd)),Kd.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":Kd.type="ObjectPattern";for(let kh=0,im=Kd.properties.length,Sm=im-1;kh<im;kh++){var gh;let hm=Kd.properties[kh],Qm=kh===Sm;this.toAssignableObjectExpressionProp(hm,Qm,Hd),Qm&&hm.type==="RestElement"&&(gh=Kd.extra)!=null&&gh.trailingCommaLoc&&this.raise(Fd.RestTrailingComma,Kd.extra.trailingCommaLoc)}break;case"ObjectProperty":{let{key:kh,value:im}=Kd;this.isPrivateName(kh)&&this.classScope.usePrivateName(this.getPrivateNameSV(kh),kh.loc.start),this.toAssignable(im,Hd);break}case"SpreadElement":throw new Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":Kd.type="ArrayPattern",this.toAssignableList(Kd.elements,(vf=Kd.extra)==null?void 0:vf.trailingCommaLoc,Hd);break;case"AssignmentExpression":Kd.operator!=="="&&this.raise(Fd.MissingEqInAssignment,Kd.left.loc.end),Kd.type="AssignmentPattern",delete Kd.operator,this.toAssignable(Kd.left,Hd);break;case"ParenthesizedExpression":this.toAssignable($f,Hd);break}}toAssignableObjectExpressionProp(Kd,Hd,Qd){if(Kd.type==="ObjectMethod")this.raise(Kd.kind==="get"||Kd.kind==="set"?Fd.PatternHasAccessor:Fd.PatternHasMethod,Kd.key);else if(Kd.type==="SpreadElement"){Kd.type="RestElement";let vf=Kd.argument;this.checkToRestConversion(vf,!1),this.toAssignable(vf,Qd),Hd||this.raise(Fd.RestTrailingComma,Kd)}else this.toAssignable(Kd,Qd)}toAssignableList(Kd,Hd,Qd){let vf=Kd.length-1;for(let $f=0;$f<=vf;$f++){let gh=Kd[$f];if(gh){if(gh.type==="SpreadElement"){gh.type="RestElement";let kh=gh.argument;this.checkToRestConversion(kh,!0),this.toAssignable(kh,Qd)}else this.toAssignable(gh,Qd);gh.type==="RestElement"&&($f<vf?this.raise(Fd.RestTrailingComma,gh):Hd&&this.raise(Fd.RestTrailingComma,Hd))}}}isAssignable(Kd,Hd){switch(Kd.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{let Qd=Kd.properties.length-1;return Kd.properties.every((vf,$f)=>vf.type!=="ObjectMethod"&&($f===Qd||vf.type!=="SpreadElement")&&this.isAssignable(vf))}case"ObjectProperty":return this.isAssignable(Kd.value);case"SpreadElement":return this.isAssignable(Kd.argument);case"ArrayExpression":return Kd.elements.every(Qd=>Qd===null||this.isAssignable(Qd));case"AssignmentExpression":return Kd.operator==="=";case"ParenthesizedExpression":return this.isAssignable(Kd.expression);case"MemberExpression":case"OptionalMemberExpression":return!Hd;default:return!1}}toReferencedList(Kd,Hd){return Kd}toReferencedListDeep(Kd,Hd){this.toReferencedList(Kd,Hd);for(let Qd of Kd)(Qd==null?void 0:Qd.type)==="ArrayExpression"&&this.toReferencedListDeep(Qd.elements)}parseSpread(Kd){let Hd=this.startNode();return this.next(),Hd.argument=this.parseMaybeAssignAllowIn(Kd,void 0),this.finishNode(Hd,"SpreadElement")}parseRestBinding(){let Kd=this.startNode();return this.next(),Kd.argument=this.parseBindingAtom(),this.finishNode(Kd,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let Kd=this.startNode();return this.next(),Kd.elements=this.parseBindingList(3,93,1),this.finishNode(Kd,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(Kd,Hd,Qd){let vf=Qd&1,$f=[],gh=!0;for(;!this.eat(Kd);)if(gh?gh=!1:this.expect(12),vf&&this.match(12))$f.push(null);else{if(this.eat(Kd))break;if(this.match(21)){if($f.push(this.parseAssignableListItemTypes(this.parseRestBinding(),Qd)),!this.checkCommaAfterRest(Hd)){this.expect(Kd);break}}else{let kh=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(Fd.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)kh.push(this.parseDecorator());$f.push(this.parseAssignableListItem(Qd,kh))}}return $f}parseBindingRestProperty(Kd){return this.next(),Kd.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(Kd,"RestElement")}parseBindingProperty(){let{type:Kd,startLoc:Hd}=this.state;if(Kd===21)return this.parseBindingRestProperty(this.startNode());let Qd=this.startNode();return Kd===138?(this.expectPlugin("destructuringPrivate",Hd),this.classScope.usePrivateName(this.state.value,Hd),Qd.key=this.parsePrivateName()):this.parsePropertyName(Qd),Qd.method=!1,this.parseObjPropValue(Qd,Hd,!1,!1,!0,!1)}parseAssignableListItem(Kd,Hd){let Qd=this.parseMaybeDefault();this.parseAssignableListItemTypes(Qd,Kd);let vf=this.parseMaybeDefault(Qd.loc.start,Qd);return Hd.length&&(Qd.decorators=Hd),vf}parseAssignableListItemTypes(Kd,Hd){return Kd}parseMaybeDefault(Kd,Hd){var Qd;if(Kd!=null||(Kd=this.state.startLoc),Hd=(Qd=Hd)!=null?Qd:this.parseBindingAtom(),!this.eat(29))return Hd;let vf=this.startNodeAt(Kd);return vf.left=Hd,vf.right=this.parseMaybeAssignAllowIn(),this.finishNode(vf,"AssignmentPattern")}isValidLVal(Kd,Hd,Qd){return mE({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},Kd)}isOptionalMemberExpression(Kd){return Kd.type==="OptionalMemberExpression"}checkLVal(Kd,{in:Hd,binding:Qd=64,checkClashes:vf=!1,strictModeChanged:$f=!1,hasParenthesizedAncestor:gh=!1}){var kh;let im=Kd.type;if(this.isObjectMethod(Kd))return;let Sm=this.isOptionalMemberExpression(Kd);if(Sm||im==="MemberExpression"){Sm&&(this.expectPlugin("optionalChainingAssign",Kd.loc.start),Hd.type!=="AssignmentExpression"&&this.raise(Fd.InvalidLhsOptionalChaining,Kd,{ancestor:Hd})),Qd!==64&&this.raise(Fd.InvalidPropertyBindingPattern,Kd);return}if(im==="Identifier"){this.checkIdentifier(Kd,Qd,$f);let{name:Og}=Kd;vf&&(vf.has(Og)?this.raise(Fd.ParamDupe,Kd):vf.add(Og));return}let hm=this.isValidLVal(im,!(gh||(kh=Kd.extra)!=null&&kh.parenthesized)&&Hd.type==="AssignmentExpression",Qd);if(hm===!0)return;if(hm===!1){let Og=Qd===64?Fd.InvalidLhs:Fd.InvalidLhsBinding;this.raise(Og,Kd,{ancestor:Hd});return}let[Qm,yg]=Array.isArray(hm)?hm:[hm,im==="ParenthesizedExpression"],Dg=im==="ArrayPattern"||im==="ObjectPattern"?{type:im}:Hd;for(let Og of[].concat(Kd[Qm]))Og&&this.checkLVal(Og,{in:Dg,binding:Qd,checkClashes:vf,strictModeChanged:$f,hasParenthesizedAncestor:yg})}checkIdentifier(Kd,Hd,Qd=!1){this.state.strict&&(Qd?Gg(Kd.name,this.inModule):Kg(Kd.name))&&(Hd===64?this.raise(Fd.StrictEvalArguments,Kd,{referenceName:Kd.name}):this.raise(Fd.StrictEvalArgumentsBinding,Kd,{bindingName:Kd.name})),Hd&8192&&Kd.name==="let"&&this.raise(Fd.LetInLexicalBinding,Kd),Hd&64||this.declareNameFromIdentifier(Kd,Hd)}declareNameFromIdentifier(Kd,Hd){this.scope.declareName(Kd.name,Hd,Kd.loc.start)}checkToRestConversion(Kd,Hd){switch(Kd.type){case"ParenthesizedExpression":this.checkToRestConversion(Kd.expression,Hd);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(Hd)break;default:this.raise(Fd.InvalidRestAssignmentPattern,Kd)}}checkCommaAfterRest(Kd){return this.match(12)?(this.raise(this.lookaheadCharCode()===Kd?Fd.RestTrailingComma:Fd.ElementAfterRest,this.state.startLoc),!0):!1}},gE=(Kd,Hd)=>hasOwnProperty.call(Kd,Hd)&&Kd[Hd];function eS(Kd){if(Kd==null)throw new Error(`Unexpected ${Kd} value.`);return Kd}function tS(Kd){if(!Kd)throw new Error("Assert fail")}var _g=jd`typescript`({AbstractMethodHasImplementation:({methodName:Kd})=>`Method '${Kd}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:Kd})=>`Property '${Kd}' cannot have an initializer because it is marked abstract.`,AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:({kind:Kd})=>`'declare' is not allowed in ${Kd}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:Kd})=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:Kd})=>`Duplicate modifier: '${Kd}'.`,EmptyHeritageClauseType:({token:Kd})=>`'${Kd}' list cannot be empty.`,EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:({modifiers:Kd})=>`'${Kd[0]}' modifier cannot be used with '${Kd[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:Kd})=>`Index signatures cannot have an accessibility modifier ('${Kd}').`,IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidModifierOnTypeMember:({modifier:Kd})=>`'${Kd}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:Kd})=>`'${Kd}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:Kd})=>`'${Kd}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:Kd})=>`'${Kd[0]}' modifier must precede '${Kd[1]}' modifier.`,InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:({modifier:Kd})=>`Private elements cannot have an accessibility modifier ('${Kd}').`,ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:Kd})=>`Single type parameter ${Kd} should have a trailing comma. Example usage: <${Kd},>.`,StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:({type:Kd})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${Kd}.`});function A_(Kd){switch(Kd){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}function Oy(Kd){return Kd==="private"||Kd==="public"||Kd==="protected"}function Nv(Kd){return Kd==="in"||Kd==="out"}var yE=Kd=>class extends Kd{constructor(...Hd){super(...Hd),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:_g.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:_g.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:_g.InvalidModifierOnTypeParameter})}getScopeHandler(){return JE}tsIsIdentifier(){return Yf(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(138)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(Hd,Qd){if(!Yf(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let vf=this.state.value;if(Hd.includes(vf)){if(Qd&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return vf}}tsParseModifiers({allowedModifiers:Hd,disallowedModifiers:Qd,stopOnStartOfClassStaticBlock:vf,errorTemplate:$f=_g.InvalidModifierOnTypeMember},gh){let kh=(Sm,hm,Qm,yg)=>{hm===Qm&&gh[yg]&&this.raise(_g.InvalidModifiersOrder,Sm,{orderedModifiers:[Qm,yg]})},im=(Sm,hm,Qm,yg)=>{(gh[Qm]&&hm===yg||gh[yg]&&hm===Qm)&&this.raise(_g.IncompatibleModifiers,Sm,{modifiers:[Qm,yg]})};for(;;){let{startLoc:Sm}=this.state,hm=this.tsParseModifier(Hd.concat(Qd??[]),vf);if(!hm)break;Oy(hm)?gh.accessibility?this.raise(_g.DuplicateAccessibilityModifier,Sm,{modifier:hm}):(kh(Sm,hm,hm,"override"),kh(Sm,hm,hm,"static"),kh(Sm,hm,hm,"readonly"),gh.accessibility=hm):Nv(hm)?(gh[hm]&&this.raise(_g.DuplicateModifier,Sm,{modifier:hm}),gh[hm]=!0,kh(Sm,hm,"in","out")):(hasOwnProperty.call(gh,hm)?this.raise(_g.DuplicateModifier,Sm,{modifier:hm}):(kh(Sm,hm,"static","readonly"),kh(Sm,hm,"static","override"),kh(Sm,hm,"override","readonly"),kh(Sm,hm,"abstract","override"),im(Sm,hm,"declare","override"),im(Sm,hm,"static","abstract")),gh[hm]=!0),Qd!=null&&Qd.includes(hm)&&this.raise($f,Sm,{modifier:hm})}}tsIsListTerminator(Hd){switch(Hd){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}tsParseList(Hd,Qd){let vf=[];for(;!this.tsIsListTerminator(Hd);)vf.push(Qd());return vf}tsParseDelimitedList(Hd,Qd,vf){return eS(this.tsParseDelimitedListWorker(Hd,Qd,!0,vf))}tsParseDelimitedListWorker(Hd,Qd,vf,$f){let gh=[],kh=-1;for(;!this.tsIsListTerminator(Hd);){kh=-1;let im=Qd();if(im==null)return;if(gh.push(im),this.eat(12)){kh=this.state.lastTokStartLoc.index;continue}if(this.tsIsListTerminator(Hd))break;vf&&this.expect(12);return}return $f&&($f.value=kh),gh}tsParseBracketedList(Hd,Qd,vf,$f,gh){$f||(vf?this.expect(0):this.expect(47));let kh=this.tsParseDelimitedList(Hd,Qd,gh);return vf?this.expect(3):this.expect(48),kh}tsParseImportType(){let Hd=this.startNode();return this.expect(83),this.expect(10),this.match(133)||this.raise(_g.UnsupportedImportTypeArgument,this.state.startLoc),Hd.argument=super.parseExprAtom(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(Hd.options=null),this.eat(12)&&(this.expectImportAttributesPlugin(),this.match(11)||(Hd.options=super.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.eat(16)&&(Hd.qualifier=this.tsParseEntityName()),this.match(47)&&(Hd.typeParameters=this.tsParseTypeArguments()),this.finishNode(Hd,"TSImportType")}tsParseEntityName(Hd=!0){let Qd=this.parseIdentifier(Hd);for(;this.eat(16);){let vf=this.startNodeAtNode(Qd);vf.left=Qd,vf.right=this.parseIdentifier(Hd),Qd=this.finishNode(vf,"TSQualifiedName")}return Qd}tsParseTypeReference(){let Hd=this.startNode();return Hd.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(Hd.typeParameters=this.tsParseTypeArguments()),this.finishNode(Hd,"TSTypeReference")}tsParseThisTypePredicate(Hd){this.next();let Qd=this.startNodeAtNode(Hd);return Qd.parameterName=Hd,Qd.typeAnnotation=this.tsParseTypeAnnotation(!1),Qd.asserts=!1,this.finishNode(Qd,"TSTypePredicate")}tsParseThisTypeNode(){let Hd=this.startNode();return this.next(),this.finishNode(Hd,"TSThisType")}tsParseTypeQuery(){let Hd=this.startNode();return this.expect(87),this.match(83)?Hd.exprName=this.tsParseImportType():Hd.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(Hd.typeParameters=this.tsParseTypeArguments()),this.finishNode(Hd,"TSTypeQuery")}tsParseTypeParameter(Hd){let Qd=this.startNode();return Hd(Qd),Qd.name=this.tsParseTypeParameterName(),Qd.constraint=this.tsEatThenParseType(81),Qd.default=this.tsEatThenParseType(29),this.finishNode(Qd,"TSTypeParameter")}tsTryParseTypeParameters(Hd){if(this.match(47))return this.tsParseTypeParameters(Hd)}tsParseTypeParameters(Hd){let Qd=this.startNode();this.match(47)||this.match(142)?this.next():this.unexpected();let vf={value:-1};return Qd.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,Hd),!1,!0,vf),Qd.params.length===0&&this.raise(_g.EmptyTypeParameters,Qd),vf.value!==-1&&this.addExtra(Qd,"trailingComma",vf.value),this.finishNode(Qd,"TSTypeParameterDeclaration")}tsFillSignature(Hd,Qd){let vf=Hd===19,$f="parameters",gh="typeAnnotation";Qd.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),Qd[$f]=this.tsParseBindingListForSignature(),vf?Qd[gh]=this.tsParseTypeOrTypePredicateAnnotation(Hd):this.match(Hd)&&(Qd[gh]=this.tsParseTypeOrTypePredicateAnnotation(Hd))}tsParseBindingListForSignature(){let Hd=super.parseBindingList(11,41,2);for(let Qd of Hd){let{type:vf}=Qd;(vf==="AssignmentPattern"||vf==="TSParameterProperty")&&this.raise(_g.UnsupportedSignatureParameterKind,Qd,{type:vf})}return Hd}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(Hd,Qd){return this.tsFillSignature(14,Qd),this.tsParseTypeMemberSemicolon(),this.finishNode(Qd,Hd)}tsIsUnambiguouslyIndexSignature(){return this.next(),Yf(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(Hd){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);let Qd=this.parseIdentifier();Qd.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(Qd),this.expect(3),Hd.parameters=[Qd];let vf=this.tsTryParseTypeAnnotation();return vf&&(Hd.typeAnnotation=vf),this.tsParseTypeMemberSemicolon(),this.finishNode(Hd,"TSIndexSignature")}tsParsePropertyOrMethodSignature(Hd,Qd){this.eat(17)&&(Hd.optional=!0);let vf=Hd;if(this.match(10)||this.match(47)){Qd&&this.raise(_g.ReadonlyForMethodSignature,Hd);let $f=vf;$f.kind&&this.match(47)&&this.raise(_g.AccesorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,$f),this.tsParseTypeMemberSemicolon();let gh="parameters",kh="typeAnnotation";if($f.kind==="get")$f[gh].length>0&&(this.raise(Fd.BadGetterArity,this.state.curPosition()),this.isThisParam($f[gh][0])&&this.raise(_g.AccesorCannotDeclareThisParameter,this.state.curPosition()));else if($f.kind==="set"){if($f[gh].length!==1)this.raise(Fd.BadSetterArity,this.state.curPosition());else{let im=$f[gh][0];this.isThisParam(im)&&this.raise(_g.AccesorCannotDeclareThisParameter,this.state.curPosition()),im.type==="Identifier"&&im.optional&&this.raise(_g.SetAccesorCannotHaveOptionalParameter,this.state.curPosition()),im.type==="RestElement"&&this.raise(_g.SetAccesorCannotHaveRestParameter,this.state.curPosition())}$f[kh]&&this.raise(_g.SetAccesorCannotHaveReturnType,$f[kh])}else $f.kind="method";return this.finishNode($f,"TSMethodSignature")}else{let $f=vf;Qd&&($f.readonly=!0);let gh=this.tsTryParseTypeAnnotation();return gh&&($f.typeAnnotation=gh),this.tsParseTypeMemberSemicolon(),this.finishNode($f,"TSPropertySignature")}}tsParseTypeMember(){let Hd=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",Hd);if(this.match(77)){let vf=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",Hd):(Hd.key=this.createIdentifier(vf,"new"),this.tsParsePropertyOrMethodSignature(Hd,!1))}return this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},Hd),this.tsTryParseIndexSignature(Hd)||(super.parsePropertyName(Hd),!Hd.computed&&Hd.key.type==="Identifier"&&(Hd.key.name==="get"||Hd.key.name==="set")&&this.tsTokenCanFollowModifier()&&(Hd.kind=Hd.key.name,super.parsePropertyName(Hd)),this.tsParsePropertyOrMethodSignature(Hd,!!Hd.readonly))}tsParseTypeLiteral(){let Hd=this.startNode();return Hd.members=this.tsParseObjectTypeMembers(),this.finishNode(Hd,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let Hd=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),Hd}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(122):(this.isContextual(122)&&this.next(),!this.match(0)||(this.next(),!this.tsIsIdentifier())?!1:(this.next(),this.match(58)))}tsParseMappedTypeParameter(){let Hd=this.startNode();return Hd.name=this.tsParseTypeParameterName(),Hd.constraint=this.tsExpectThenParseType(58),this.finishNode(Hd,"TSTypeParameter")}tsParseMappedType(){let Hd=this.startNode();return this.expect(5),this.match(53)?(Hd.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(Hd.readonly=!0),this.expect(0),Hd.typeParameter=this.tsParseMappedTypeParameter(),Hd.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(Hd.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(Hd.optional=!0),Hd.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(Hd,"TSMappedType")}tsParseTupleType(){let Hd=this.startNode();Hd.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let Qd=!1;return Hd.elementTypes.forEach(vf=>{let{type:$f}=vf;Qd&&$f!=="TSRestType"&&$f!=="TSOptionalType"&&!($f==="TSNamedTupleMember"&&vf.optional)&&this.raise(_g.OptionalTypeBeforeRequired,vf),Qd||(Qd=$f==="TSNamedTupleMember"&&vf.optional||$f==="TSOptionalType")}),this.finishNode(Hd,"TSTupleType")}tsParseTupleElementType(){let{startLoc:Hd}=this.state,Qd=this.eat(21),vf,$f,gh,kh,im=Rh(this.state.type)?this.lookaheadCharCode():null;if(im===58)vf=!0,gh=!1,$f=this.parseIdentifier(!0),this.expect(14),kh=this.tsParseType();else if(im===63){gh=!0;let Sm=this.state.startLoc,hm=this.state.value,Qm=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(vf=!0,$f=this.createIdentifier(this.startNodeAt(Sm),hm),this.expect(17),this.expect(14),kh=this.tsParseType()):(vf=!1,kh=Qm,this.expect(17))}else kh=this.tsParseType(),gh=this.eat(17),vf=this.eat(14);if(vf){let Sm;$f?(Sm=this.startNodeAtNode($f),Sm.optional=gh,Sm.label=$f,Sm.elementType=kh,this.eat(17)&&(Sm.optional=!0,this.raise(_g.TupleOptionalAfterType,this.state.lastTokStartLoc))):(Sm=this.startNodeAtNode(kh),Sm.optional=gh,this.raise(_g.InvalidTupleMemberLabel,kh),Sm.label=kh,Sm.elementType=this.tsParseType()),kh=this.finishNode(Sm,"TSNamedTupleMember")}else if(gh){let Sm=this.startNodeAtNode(kh);Sm.typeAnnotation=kh,kh=this.finishNode(Sm,"TSOptionalType")}if(Qd){let Sm=this.startNodeAt(Hd);Sm.typeAnnotation=kh,kh=this.finishNode(Sm,"TSRestType")}return kh}tsParseParenthesizedType(){let Hd=this.startNode();return this.expect(10),Hd.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(Hd,"TSParenthesizedType")}tsParseFunctionOrConstructorType(Hd,Qd){let vf=this.startNode();return Hd==="TSConstructorType"&&(vf.abstract=!!Qd,Qd&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,vf)),this.finishNode(vf,Hd)}tsParseLiteralTypeNode(){let Hd=this.startNode();switch(this.state.type){case 134:case 135:case 133:case 85:case 86:Hd.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(Hd,"TSLiteralType")}tsParseTemplateLiteralType(){let Hd=this.startNode();return Hd.literal=super.parseTemplate(!1),this.finishNode(Hd,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let Hd=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(Hd):Hd}tsParseNonArrayType(){switch(this.state.type){case 133:case 134:case 135:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){let Hd=this.startNode(),Qd=this.lookahead();return Qd.type!==134&&Qd.type!==135&&this.unexpected(),Hd.literal=this.parseMaybeUnary(),this.finishNode(Hd,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{let{type:Hd}=this.state;if(Yf(Hd)||Hd===88||Hd===84){let Qd=Hd===88?"TSVoidKeyword":Hd===84?"TSNullKeyword":A_(this.state.value);if(Qd!==void 0&&this.lookaheadCharCode()!==46){let vf=this.startNode();return this.next(),this.finishNode(vf,Qd)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let Hd=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let Qd=this.startNodeAtNode(Hd);Qd.elementType=Hd,this.expect(3),Hd=this.finishNode(Qd,"TSArrayType")}else{let Qd=this.startNodeAtNode(Hd);Qd.objectType=Hd,Qd.indexType=this.tsParseType(),this.expect(3),Hd=this.finishNode(Qd,"TSIndexedAccessType")}return Hd}tsParseTypeOperator(){let Hd=this.startNode(),Qd=this.state.value;return this.next(),Hd.operator=Qd,Hd.typeAnnotation=this.tsParseTypeOperatorOrHigher(),Qd==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(Hd),this.finishNode(Hd,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(Hd){switch(Hd.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(_g.UnexpectedReadonly,Hd)}}tsParseInferType(){let Hd=this.startNode();this.expectContextual(115);let Qd=this.startNode();return Qd.name=this.tsParseTypeParameterName(),Qd.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),Hd.typeParameter=this.finishNode(Qd,"TSTypeParameter"),this.finishNode(Hd,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let Hd=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return Hd}}tsParseTypeOperatorOrHigher(){return _h(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(Hd,Qd,vf){let $f=this.startNode(),gh=this.eat(vf),kh=[];do kh.push(Qd());while(this.eat(vf));return kh.length===1&&!gh?kh[0]:($f.types=kh,this.finishNode($f,Hd))}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return this.match(47)?!0:this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(Yf(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:Hd}=this.state,Qd=Hd.length;try{return this.parseObjectLike(8,!0),Hd.length===Qd}catch{return!1}}if(this.match(0)){this.next();let{errors:Hd}=this.state,Qd=Hd.length;try{return super.parseBindingList(3,93,1),Hd.length===Qd}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(Hd){return this.tsInType(()=>{let Qd=this.startNode();this.expect(Hd);let vf=this.startNode(),$f=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if($f&&this.match(78)){let im=this.tsParseThisTypeOrThisTypePredicate();return im.type==="TSThisType"?(vf.parameterName=im,vf.asserts=!0,vf.typeAnnotation=null,im=this.finishNode(vf,"TSTypePredicate")):(this.resetStartLocationFromNode(im,vf),im.asserts=!0),Qd.typeAnnotation=im,this.finishNode(Qd,"TSTypeAnnotation")}let gh=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!gh)return $f?(vf.parameterName=this.parseIdentifier(),vf.asserts=$f,vf.typeAnnotation=null,Qd.typeAnnotation=this.finishNode(vf,"TSTypePredicate"),this.finishNode(Qd,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,Qd);let kh=this.tsParseTypeAnnotation(!1);return vf.parameterName=gh,vf.typeAnnotation=kh,vf.asserts=$f,Qd.typeAnnotation=this.finishNode(vf,"TSTypePredicate"),this.finishNode(Qd,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let Hd=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),Hd}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;let Hd=this.state.containsEsc;return this.next(),!Yf(this.state.type)&&!this.match(78)?!1:(Hd&&this.raise(Fd.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(Hd=!0,Qd=this.startNode()){return this.tsInType(()=>{Hd&&this.expect(14),Qd.typeAnnotation=this.tsParseType()}),this.finishNode(Qd,"TSTypeAnnotation")}tsParseType(){tS(this.state.inType);let Hd=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return Hd;let Qd=this.startNodeAtNode(Hd);return Qd.checkType=Hd,Qd.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),Qd.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),Qd.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(Qd,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(124)&&this.lookahead().type===77}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(_g.ReservedTypeAssertion,this.state.startLoc);let Hd=this.startNode();return Hd.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),Hd.expression=this.parseMaybeUnary(),this.finishNode(Hd,"TSTypeAssertion")}tsParseHeritageClause(Hd){let Qd=this.state.startLoc,vf=this.tsParseDelimitedList("HeritageClauseElement",()=>{let $f=this.startNode();return $f.expression=this.tsParseEntityName(),this.match(47)&&($f.typeParameters=this.tsParseTypeArguments()),this.finishNode($f,"TSExpressionWithTypeArguments")});return vf.length||this.raise(_g.EmptyHeritageClauseType,Qd,{token:Hd}),vf}tsParseInterfaceDeclaration(Hd,Qd={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),Qd.declare&&(Hd.declare=!0),Yf(this.state.type)?(Hd.id=this.parseIdentifier(),this.checkIdentifier(Hd.id,130)):(Hd.id=null,this.raise(_g.MissingInterfaceName,this.state.startLoc)),Hd.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(Hd.extends=this.tsParseHeritageClause("extends"));let vf=this.startNode();return vf.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),Hd.body=this.finishNode(vf,"TSInterfaceBody"),this.finishNode(Hd,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(Hd){return Hd.id=this.parseIdentifier(),this.checkIdentifier(Hd.id,2),Hd.typeAnnotation=this.tsInType(()=>{if(Hd.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookahead().type!==16){let Qd=this.startNode();return this.next(),this.finishNode(Qd,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(Hd,"TSTypeAliasDeclaration")}tsInNoContext(Hd){let Qd=this.state.context;this.state.context=[Qd[0]];try{return Hd()}finally{this.state.context=Qd}}tsInType(Hd){let Qd=this.state.inType;this.state.inType=!0;try{return Hd()}finally{this.state.inType=Qd}}tsInDisallowConditionalTypesContext(Hd){let Qd=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return Hd()}finally{this.state.inDisallowConditionalTypesContext=Qd}}tsInAllowConditionalTypesContext(Hd){let Qd=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return Hd()}finally{this.state.inDisallowConditionalTypesContext=Qd}}tsEatThenParseType(Hd){if(this.match(Hd))return this.tsNextThenParseType()}tsExpectThenParseType(Hd){return this.tsInType(()=>(this.expect(Hd),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){let Hd=this.startNode();return Hd.id=this.match(133)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(Hd.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(Hd,"TSEnumMember")}tsParseEnumDeclaration(Hd,Qd={}){return Qd.const&&(Hd.const=!0),Qd.declare&&(Hd.declare=!0),this.expectContextual(126),Hd.id=this.parseIdentifier(),this.checkIdentifier(Hd.id,Hd.const?8971:8459),this.expect(5),Hd.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(Hd,"TSEnumDeclaration")}tsParseModuleBlock(){let Hd=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(Hd.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(Hd,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(Hd,Qd=!1){if(Hd.id=this.parseIdentifier(),Qd||this.checkIdentifier(Hd.id,1024),this.eat(16)){let vf=this.startNode();this.tsParseModuleOrNamespaceDeclaration(vf,!0),Hd.body=vf}else this.scope.enter(256),this.prodParam.enter(0),Hd.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(Hd,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(Hd){return this.isContextual(112)?(Hd.global=!0,Hd.id=this.parseIdentifier()):this.match(133)?Hd.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),Hd.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(Hd,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(Hd,Qd,vf){Hd.isExport=vf||!1,Hd.id=Qd||this.parseIdentifier(),this.checkIdentifier(Hd.id,4096),this.expect(29);let $f=this.tsParseModuleReference();return Hd.importKind==="type"&&$f.type!=="TSExternalModuleReference"&&this.raise(_g.ImportAliasHasImportType,$f),Hd.moduleReference=$f,this.semicolon(),this.finishNode(Hd,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){let Hd=this.startNode();return this.expectContextual(119),this.expect(10),this.match(133)||this.unexpected(),Hd.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(Hd,"TSExternalModuleReference")}tsLookAhead(Hd){let Qd=this.state.clone(),vf=Hd();return this.state=Qd,vf}tsTryParseAndCatch(Hd){let Qd=this.tryParse(vf=>Hd()||vf());if(!(Qd.aborted||!Qd.node))return Qd.error&&(this.state=Qd.failState),Qd.node}tsTryParse(Hd){let Qd=this.state.clone(),vf=Hd();if(vf!==void 0&&vf!==!1)return vf;this.state=Qd}tsTryParseDeclare(Hd){if(this.isLineTerminator())return;let Qd=this.state.type,vf;return this.isContextual(100)&&(Qd=74,vf="let"),this.tsInAmbientContext(()=>{switch(Qd){case 68:return Hd.declare=!0,super.parseFunctionStatement(Hd,!1,!1);case 80:return Hd.declare=!0,this.parseClass(Hd,!0,!1);case 126:return this.tsParseEnumDeclaration(Hd,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(Hd);case 75:case 74:return!this.match(75)||!this.isLookaheadContextual("enum")?(Hd.declare=!0,this.parseVarStatement(Hd,vf||this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(Hd,{const:!0,declare:!0}));case 129:{let $f=this.tsParseInterfaceDeclaration(Hd,{declare:!0});if($f)return $f}default:if(Yf(Qd))return this.tsParseDeclaration(Hd,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(Hd,Qd,vf){switch(Qd.name){case"declare":{let $f=this.tsTryParseDeclare(Hd);return $f&&($f.declare=!0),$f}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);let $f=Hd;return $f.global=!0,$f.id=Qd,$f.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode($f,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(Hd,Qd.name,!1,vf)}}tsParseDeclaration(Hd,Qd,vf,$f){switch(Qd){case"abstract":if(this.tsCheckLineTerminator(vf)&&(this.match(80)||Yf(this.state.type)))return this.tsParseAbstractDeclaration(Hd,$f);break;case"module":if(this.tsCheckLineTerminator(vf)){if(this.match(133))return this.tsParseAmbientExternalModuleDeclaration(Hd);if(Yf(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(Hd)}break;case"namespace":if(this.tsCheckLineTerminator(vf)&&Yf(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(Hd);break;case"type":if(this.tsCheckLineTerminator(vf)&&Yf(this.state.type))return this.tsParseTypeAliasDeclaration(Hd);break}}tsCheckLineTerminator(Hd){return Hd?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(Hd){if(!this.match(47))return;let Qd=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let vf=this.tsTryParseAndCatch(()=>{let $f=this.startNodeAt(Hd);return $f.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams($f),$f.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),$f});if(this.state.maybeInArrowParameters=Qd,!!vf)return super.parseArrowExpression(vf,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){let Hd=this.startNode();return Hd.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),Hd.params.length===0?this.raise(_g.EmptyTypeArguments,Hd):!this.state.inType&&this.curContext()===_f.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(Hd,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return pm(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseAssignableListItem(Hd,Qd){let vf=this.state.startLoc,$f={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},$f);let gh=$f.accessibility,kh=$f.override,im=$f.readonly;!(Hd&4)&&(gh||im||kh)&&this.raise(_g.UnexpectedParameterModifier,vf);let Sm=this.parseMaybeDefault();this.parseAssignableListItemTypes(Sm,Hd);let hm=this.parseMaybeDefault(Sm.loc.start,Sm);if(gh||im||kh){let Qm=this.startNodeAt(vf);return Qd.length&&(Qm.decorators=Qd),gh&&(Qm.accessibility=gh),im&&(Qm.readonly=im),kh&&(Qm.override=kh),hm.type!=="Identifier"&&hm.type!=="AssignmentPattern"&&this.raise(_g.UnsupportedParameterPropertyKind,Qm),Qm.parameter=hm,this.finishNode(Qm,"TSParameterProperty")}return Qd.length&&(Sm.decorators=Qd),hm}isSimpleParameter(Hd){return Hd.type==="TSParameterProperty"&&super.isSimpleParameter(Hd.parameter)||super.isSimpleParameter(Hd)}tsDisallowOptionalPattern(Hd){for(let Qd of Hd.params)Qd.type!=="Identifier"&&Qd.optional&&!this.state.isAmbientContext&&this.raise(_g.PatternIsOptional,Qd)}setArrowFunctionParameters(Hd,Qd,vf){super.setArrowFunctionParameters(Hd,Qd,vf),this.tsDisallowOptionalPattern(Hd)}parseFunctionBodyAndFinish(Hd,Qd,vf=!1){this.match(14)&&(Hd.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let $f=Qd==="FunctionDeclaration"?"TSDeclareFunction":Qd==="ClassMethod"||Qd==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return $f&&!this.match(5)&&this.isLineTerminator()?this.finishNode(Hd,$f):$f==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(_g.DeclareFunctionHasImplementation,Hd),Hd.declare)?super.parseFunctionBodyAndFinish(Hd,$f,vf):(this.tsDisallowOptionalPattern(Hd),super.parseFunctionBodyAndFinish(Hd,Qd,vf))}registerFunctionStatementId(Hd){!Hd.body&&Hd.id?this.checkIdentifier(Hd.id,1024):super.registerFunctionStatementId(Hd)}tsCheckForInvalidTypeCasts(Hd){Hd.forEach(Qd=>{(Qd==null?void 0:Qd.type)==="TSTypeCastExpression"&&this.raise(_g.UnexpectedTypeAnnotation,Qd.typeAnnotation)})}toReferencedList(Hd,Qd){return this.tsCheckForInvalidTypeCasts(Hd),Hd}parseArrayLike(Hd,Qd,vf,$f){let gh=super.parseArrayLike(Hd,Qd,vf,$f);return gh.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(gh.elements),gh}parseSubscript(Hd,Qd,vf,$f){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let kh=this.startNodeAt(Qd);return kh.expression=Hd,this.finishNode(kh,"TSNonNullExpression")}let gh=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(vf)return $f.stop=!0,Hd;$f.optionalChainMember=gh=!0,this.next()}if(this.match(47)||this.match(51)){let kh,im=this.tsTryParseAndCatch(()=>{if(!vf&&this.atPossibleAsyncArrow(Hd)){let yg=this.tsTryParseGenericAsyncArrowFunction(Qd);if(yg)return yg}let Sm=this.tsParseTypeArgumentsInExpression();if(!Sm)return;if(gh&&!this.match(10)){kh=this.state.curPosition();return}if(gm(this.state.type)){let yg=super.parseTaggedTemplateExpression(Hd,Qd,$f);return yg.typeParameters=Sm,yg}if(!vf&&this.eat(10)){let yg=this.startNodeAt(Qd);return yg.callee=Hd,yg.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(yg.arguments),yg.typeParameters=Sm,$f.optionalChainMember&&(yg.optional=gh),this.finishCallExpression(yg,$f.optionalChainMember)}let hm=this.state.type;if(hm===48||hm===52||hm!==10&&Sh(hm)&&!this.hasPrecedingLineBreak())return;let Qm=this.startNodeAt(Qd);return Qm.expression=Hd,Qm.typeParameters=Sm,this.finishNode(Qm,"TSInstantiationExpression")});if(kh&&this.unexpected(kh,10),im)return im.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(_g.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),im}return super.parseSubscript(Hd,Qd,vf,$f)}parseNewCallee(Hd){var Qd;super.parseNewCallee(Hd);let{callee:vf}=Hd;vf.type==="TSInstantiationExpression"&&!((Qd=vf.extra)!=null&&Qd.parenthesized)&&(Hd.typeParameters=vf.typeParameters,Hd.callee=vf.expression)}parseExprOp(Hd,Qd,vf){let $f;if(Mm(58)>vf&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||($f=this.isContextual(120)))){let gh=this.startNodeAt(Qd);return gh.expression=Hd,gh.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?($f&&this.raise(Fd.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(gh,$f?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(gh,Qd,vf)}return super.parseExprOp(Hd,Qd,vf)}checkReservedWord(Hd,Qd,vf,$f){this.state.isAmbientContext||super.checkReservedWord(Hd,Qd,vf,$f)}checkImportReflection(Hd){super.checkImportReflection(Hd),Hd.module&&Hd.importKind!=="value"&&this.raise(_g.ImportReflectionHasImportType,Hd.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(Hd){if(super.isPotentialImportPhase(Hd))return!0;if(this.isContextual(130)){let Qd=this.lookaheadCharCode();return Hd?Qd===123||Qd===42:Qd!==61}return!Hd&&this.isContextual(87)}applyImportPhase(Hd,Qd,vf,$f){super.applyImportPhase(Hd,Qd,vf,$f),Qd?Hd.exportKind=vf==="type"?"type":"value":Hd.importKind=vf==="type"||vf==="typeof"?vf:"value"}parseImport(Hd){if(this.match(133))return Hd.importKind="value",super.parseImport(Hd);let Qd;if(Yf(this.state.type)&&this.lookaheadCharCode()===61)return Hd.importKind="value",this.tsParseImportEqualsDeclaration(Hd);if(this.isContextual(130)){let vf=this.parseMaybeImportPhase(Hd,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(Hd,vf);Qd=super.parseImportSpecifiersAndAfter(Hd,vf)}else Qd=super.parseImport(Hd);return Qd.importKind==="type"&&Qd.specifiers.length>1&&Qd.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(_g.TypeImportCannotSpecifyDefaultAndNamed,Qd),Qd}parseExport(Hd,Qd){if(this.match(83)){this.next();let vf=Hd,$f=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?$f=this.parseMaybeImportPhase(vf,!1):vf.importKind="value",this.tsParseImportEqualsDeclaration(vf,$f,!0)}else if(this.eat(29)){let vf=Hd;return vf.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(vf,"TSExportAssignment")}else if(this.eatContextual(93)){let vf=Hd;return this.expectContextual(128),vf.id=this.parseIdentifier(),this.semicolon(),this.finishNode(vf,"TSNamespaceExportDeclaration")}else return super.parseExport(Hd,Qd)}isAbstractClass(){return this.isContextual(124)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){let Hd=this.startNode();return this.next(),Hd.abstract=!0,this.parseClass(Hd,!0,!0)}if(this.match(129)){let Hd=this.tsParseInterfaceDeclaration(this.startNode());if(Hd)return Hd}return super.parseExportDefaultExpression()}parseVarStatement(Hd,Qd,vf=!1){let{isAmbientContext:$f}=this.state,gh=super.parseVarStatement(Hd,Qd,vf||$f);if(!$f)return gh;for(let{id:kh,init:im}of gh.declarations)im&&(Qd!=="const"||kh.typeAnnotation?this.raise(_g.InitializerNotAllowedInAmbientContext,im):nS(im,this.hasPlugin("estree"))||this.raise(_g.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,im));return gh}parseStatementContent(Hd,Qd){if(this.match(75)&&this.isLookaheadContextual("enum")){let vf=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(vf,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){let vf=this.tsParseInterfaceDeclaration(this.startNode());if(vf)return vf}return super.parseStatementContent(Hd,Qd)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(Hd,Qd){return Qd.some(vf=>Oy(vf)?Hd.accessibility===vf:!!Hd[vf])}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(Hd,Qd,vf){let $f=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:$f,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:_g.InvalidModifierOnTypeParameterPositions},Qd);let gh=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(Qd,$f)&&this.raise(_g.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(Hd,Qd)):this.parseClassMemberWithIsStatic(Hd,Qd,vf,!!Qd.static)};Qd.declare?this.tsInAmbientContext(gh):gh()}parseClassMemberWithIsStatic(Hd,Qd,vf,$f){let gh=this.tsTryParseIndexSignature(Qd);if(gh){Hd.body.push(gh),Qd.abstract&&this.raise(_g.IndexSignatureHasAbstract,Qd),Qd.accessibility&&this.raise(_g.IndexSignatureHasAccessibility,Qd,{modifier:Qd.accessibility}),Qd.declare&&this.raise(_g.IndexSignatureHasDeclare,Qd),Qd.override&&this.raise(_g.IndexSignatureHasOverride,Qd);return}!this.state.inAbstractClass&&Qd.abstract&&this.raise(_g.NonAbstractClassHasAbstractMethod,Qd),Qd.override&&(vf.hadSuperClass||this.raise(_g.OverrideNotInSubClass,Qd)),super.parseClassMemberWithIsStatic(Hd,Qd,vf,$f)}parsePostMemberNameModifiers(Hd){this.eat(17)&&(Hd.optional=!0),Hd.readonly&&this.match(10)&&this.raise(_g.ClassMethodHasReadonly,Hd),Hd.declare&&this.match(10)&&this.raise(_g.ClassMethodHasDeclare,Hd)}parseExpressionStatement(Hd,Qd,vf){return(Qd.type==="Identifier"?this.tsParseExpressionStatement(Hd,Qd,vf):void 0)||super.parseExpressionStatement(Hd,Qd,vf)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(Hd,Qd,vf){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(Hd,Qd,vf);let $f=this.tryParse(()=>super.parseConditional(Hd,Qd));return $f.node?($f.error&&(this.state=$f.failState),$f.node):($f.error&&super.setOptionalParametersError(vf,$f.error),Hd)}parseParenItem(Hd,Qd){let vf=super.parseParenItem(Hd,Qd);if(this.eat(17)&&(vf.optional=!0,this.resetEndLocation(Hd)),this.match(14)){let $f=this.startNodeAt(Qd);return $f.expression=Hd,$f.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode($f,"TSTypeCastExpression")}return Hd}parseExportDeclaration(Hd){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(Hd));let Qd=this.state.startLoc,vf=this.eatContextual(125);if(vf&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(_g.ExpectedAmbientAfterExportDeclare,this.state.startLoc);let $f=Yf(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(Hd);return $f?(($f.type==="TSInterfaceDeclaration"||$f.type==="TSTypeAliasDeclaration"||vf)&&(Hd.exportKind="type"),vf&&(this.resetStartLocation($f,Qd),$f.declare=!0),$f):null}parseClassId(Hd,Qd,vf,$f){if((!Qd||vf)&&this.isContextual(113))return;super.parseClassId(Hd,Qd,vf,Hd.declare?1024:8331);let gh=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);gh&&(Hd.typeParameters=gh)}parseClassPropertyAnnotation(Hd){Hd.optional||(this.eat(35)?Hd.definite=!0:this.eat(17)&&(Hd.optional=!0));let Qd=this.tsTryParseTypeAnnotation();Qd&&(Hd.typeAnnotation=Qd)}parseClassProperty(Hd){if(this.parseClassPropertyAnnotation(Hd),this.state.isAmbientContext&&!(Hd.readonly&&!Hd.typeAnnotation)&&this.match(29)&&this.raise(_g.DeclareClassFieldHasInitializer,this.state.startLoc),Hd.abstract&&this.match(29)){let{key:Qd}=Hd;this.raise(_g.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:Qd.type==="Identifier"&&!Hd.computed?Qd.name:`[${this.input.slice(Qd.start,Qd.end)}]`})}return super.parseClassProperty(Hd)}parseClassPrivateProperty(Hd){return Hd.abstract&&this.raise(_g.PrivateElementHasAbstract,Hd),Hd.accessibility&&this.raise(_g.PrivateElementHasAccessibility,Hd,{modifier:Hd.accessibility}),this.parseClassPropertyAnnotation(Hd),super.parseClassPrivateProperty(Hd)}parseClassAccessorProperty(Hd){return this.parseClassPropertyAnnotation(Hd),Hd.optional&&this.raise(_g.AccessorCannotBeOptional,Hd),super.parseClassAccessorProperty(Hd)}pushClassMethod(Hd,Qd,vf,$f,gh,kh){let im=this.tsTryParseTypeParameters(this.tsParseConstModifier);im&&gh&&this.raise(_g.ConstructorHasTypeParameters,im);let{declare:Sm=!1,kind:hm}=Qd;Sm&&(hm==="get"||hm==="set")&&this.raise(_g.DeclareAccessor,Qd,{kind:hm}),im&&(Qd.typeParameters=im),super.pushClassMethod(Hd,Qd,vf,$f,gh,kh)}pushClassPrivateMethod(Hd,Qd,vf,$f){let gh=this.tsTryParseTypeParameters(this.tsParseConstModifier);gh&&(Qd.typeParameters=gh),super.pushClassPrivateMethod(Hd,Qd,vf,$f)}declareClassPrivateMethodInScope(Hd,Qd){Hd.type!=="TSDeclareMethod"&&(Hd.type==="MethodDefinition"&&!hasOwnProperty.call(Hd.value,"body")||super.declareClassPrivateMethodInScope(Hd,Qd))}parseClassSuper(Hd){super.parseClassSuper(Hd),Hd.superClass&&(this.match(47)||this.match(51))&&(Hd.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(113)&&(Hd.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(Hd,Qd,vf,$f,gh,kh,im){let Sm=this.tsTryParseTypeParameters(this.tsParseConstModifier);return Sm&&(Hd.typeParameters=Sm),super.parseObjPropValue(Hd,Qd,vf,$f,gh,kh,im)}parseFunctionParams(Hd,Qd){let vf=this.tsTryParseTypeParameters(this.tsParseConstModifier);vf&&(Hd.typeParameters=vf),super.parseFunctionParams(Hd,Qd)}parseVarId(Hd,Qd){super.parseVarId(Hd,Qd),Hd.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(Hd.definite=!0);let vf=this.tsTryParseTypeAnnotation();vf&&(Hd.id.typeAnnotation=vf,this.resetEndLocation(Hd.id))}parseAsyncArrowFromCallExpression(Hd,Qd){return this.match(14)&&(Hd.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(Hd,Qd)}parseMaybeAssign(Hd,Qd){var vf,$f,gh,kh,im;let Sm,hm,Qm;if(this.hasPlugin("jsx")&&(this.match(142)||this.match(47))){if(Sm=this.state.clone(),hm=this.tryParse(()=>super.parseMaybeAssign(Hd,Qd),Sm),!hm.error)return hm.node;let{context:Og}=this.state,e_=Og[Og.length-1];(e_===_f.j_oTag||e_===_f.j_expr)&&Og.pop()}if(!((vf=hm)!=null&&vf.error)&&!this.match(47))return super.parseMaybeAssign(Hd,Qd);(!Sm||Sm===this.state)&&(Sm=this.state.clone());let yg,Dg=this.tryParse(Og=>{var e_,F_;yg=this.tsParseTypeParameters(this.tsParseConstModifier);let p_=super.parseMaybeAssign(Hd,Qd);return(p_.type!=="ArrowFunctionExpression"||(e_=p_.extra)!=null&&e_.parenthesized)&&Og(),((F_=yg)==null?void 0:F_.params.length)!==0&&this.resetStartLocationFromNode(p_,yg),p_.typeParameters=yg,p_},Sm);if(!Dg.error&&!Dg.aborted)return yg&&this.reportReservedArrowTypeParam(yg),Dg.node;if(!hm&&(tS(!this.hasPlugin("jsx")),Qm=this.tryParse(()=>super.parseMaybeAssign(Hd,Qd),Sm),!Qm.error))return Qm.node;if(($f=hm)!=null&&$f.node)return this.state=hm.failState,hm.node;if(Dg.node)return this.state=Dg.failState,yg&&this.reportReservedArrowTypeParam(yg),Dg.node;if((gh=Qm)!=null&&gh.node)return this.state=Qm.failState,Qm.node;throw((kh=hm)==null?void 0:kh.error)||Dg.error||((im=Qm)==null?void 0:im.error)}reportReservedArrowTypeParam(Hd){var Qd;Hd.params.length===1&&!Hd.params[0].constraint&&!((Qd=Hd.extra)!=null&&Qd.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(_g.ReservedArrowTypeParam,Hd)}parseMaybeUnary(Hd,Qd){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(Hd,Qd)}parseArrow(Hd){if(this.match(14)){let Qd=this.tryParse(vf=>{let $f=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&vf(),$f});if(Qd.aborted)return;Qd.thrown||(Qd.error&&(this.state=Qd.failState),Hd.returnType=Qd.node)}return super.parseArrow(Hd)}parseAssignableListItemTypes(Hd,Qd){if(!(Qd&2))return Hd;this.eat(17)&&(Hd.optional=!0);let vf=this.tsTryParseTypeAnnotation();return vf&&(Hd.typeAnnotation=vf),this.resetEndLocation(Hd),Hd}isAssignable(Hd,Qd){switch(Hd.type){case"TSTypeCastExpression":return this.isAssignable(Hd.expression,Qd);case"TSParameterProperty":return!0;default:return super.isAssignable(Hd,Qd)}}toAssignable(Hd,Qd=!1){switch(Hd.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(Hd,Qd);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":Qd?this.expressionScope.recordArrowParameterBindingError(_g.UnexpectedTypeCastInParameter,Hd):this.raise(_g.UnexpectedTypeCastInParameter,Hd),this.toAssignable(Hd.expression,Qd);break;case"AssignmentExpression":!Qd&&Hd.left.type==="TSTypeCastExpression"&&(Hd.left=this.typeCastToParameter(Hd.left));default:super.toAssignable(Hd,Qd)}}toAssignableParenthesizedExpression(Hd,Qd){switch(Hd.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(Hd.expression,Qd);break;default:super.toAssignable(Hd,Qd)}}checkToRestConversion(Hd,Qd){switch(Hd.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(Hd.expression,!1);break;default:super.checkToRestConversion(Hd,Qd)}}isValidLVal(Hd,Qd,vf){return gE({TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSInstantiationExpression:"expression",TSAsExpression:(vf!==64||!Qd)&&["expression",!0],TSSatisfiesExpression:(vf!==64||!Qd)&&["expression",!0],TSTypeAssertion:(vf!==64||!Qd)&&["expression",!0]},Hd)||super.isValidLVal(Hd,Qd,vf)}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(Hd){if(this.match(47)||this.match(51)){let Qd=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let vf=super.parseMaybeDecoratorArguments(Hd);return vf.typeParameters=Qd,vf}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(Hd)}checkCommaAfterRest(Hd){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===Hd?(this.next(),!1):super.checkCommaAfterRest(Hd)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(Hd,Qd){let vf=super.parseMaybeDefault(Hd,Qd);return vf.type==="AssignmentPattern"&&vf.typeAnnotation&&vf.right.start<vf.typeAnnotation.start&&this.raise(_g.TypeAnnotationAfterAssign,vf.typeAnnotation),vf}getTokenFromCode(Hd){if(this.state.inType){if(Hd===62){this.finishOp(48,1);return}if(Hd===60){this.finishOp(47,1);return}}super.getTokenFromCode(Hd)}reScan_lt_gt(){let{type:Hd}=this.state;Hd===47?(this.state.pos-=1,this.readToken_lt()):Hd===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:Hd}=this.state;return Hd===51?(this.state.pos-=2,this.finishOp(47,1),47):Hd}toAssignableList(Hd,Qd,vf){for(let $f=0;$f<Hd.length;$f++){let gh=Hd[$f];(gh==null?void 0:gh.type)==="TSTypeCastExpression"&&(Hd[$f]=this.typeCastToParameter(gh))}super.toAssignableList(Hd,Qd,vf)}typeCastToParameter(Hd){return Hd.expression.typeAnnotation=Hd.typeAnnotation,this.resetEndLocation(Hd.expression,Hd.typeAnnotation.loc.end),Hd.expression}shouldParseArrow(Hd){return this.match(14)?Hd.every(Qd=>this.isAssignable(Qd,!0)):super.shouldParseArrow(Hd)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(Hd){if(this.match(47)||this.match(51)){let Qd=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());Qd&&(Hd.typeParameters=Qd)}return super.jsxParseOpeningElementAfterName(Hd)}getGetterSetterExpectedParamCount(Hd){let Qd=super.getGetterSetterExpectedParamCount(Hd),vf=this.getObjectOrClassMethodParams(Hd)[0];return vf&&this.isThisParam(vf)?Qd+1:Qd}parseCatchClauseParam(){let Hd=super.parseCatchClauseParam(),Qd=this.tsTryParseTypeAnnotation();return Qd&&(Hd.typeAnnotation=Qd,this.resetEndLocation(Hd)),Hd}tsInAmbientContext(Hd){let{isAmbientContext:Qd,strict:vf}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return Hd()}finally{this.state.isAmbientContext=Qd,this.state.strict=vf}}parseClass(Hd,Qd,vf){let $f=this.state.inAbstractClass;this.state.inAbstractClass=!!Hd.abstract;try{return super.parseClass(Hd,Qd,vf)}finally{this.state.inAbstractClass=$f}}tsParseAbstractDeclaration(Hd,Qd){if(this.match(80))return Hd.abstract=!0,this.maybeTakeDecorators(Qd,this.parseClass(Hd,!0,!1));if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return Hd.abstract=!0,this.raise(_g.NonClassMethodPropertyHasAbstractModifer,Hd),this.tsParseInterfaceDeclaration(Hd)}else this.unexpected(null,80)}parseMethod(Hd,Qd,vf,$f,gh,kh,im){let Sm=super.parseMethod(Hd,Qd,vf,$f,gh,kh,im);if(Sm.abstract&&(this.hasPlugin("estree")?Sm.value.body:Sm.body)){let{key:hm}=Sm;this.raise(_g.AbstractMethodHasImplementation,Sm,{methodName:hm.type==="Identifier"&&!Sm.computed?hm.name:`[${this.input.slice(hm.start,hm.end)}]`})}return Sm}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(Hd,Qd,vf,$f){return!Qd&&$f?(this.parseTypeOnlyImportExportSpecifier(Hd,!1,vf),this.finishNode(Hd,"ExportSpecifier")):(Hd.exportKind="value",super.parseExportSpecifier(Hd,Qd,vf,$f))}parseImportSpecifier(Hd,Qd,vf,$f,gh){return!Qd&&$f?(this.parseTypeOnlyImportExportSpecifier(Hd,!0,vf),this.finishNode(Hd,"ImportSpecifier")):(Hd.importKind="value",super.parseImportSpecifier(Hd,Qd,vf,$f,vf?4098:4096))}parseTypeOnlyImportExportSpecifier(Hd,Qd,vf){let $f=Qd?"imported":"local",gh=Qd?"local":"exported",kh=Hd[$f],im,Sm=!1,hm=!0,Qm=kh.loc.start;if(this.isContextual(93)){let Dg=this.parseIdentifier();if(this.isContextual(93)){let Og=this.parseIdentifier();Rh(this.state.type)?(Sm=!0,kh=Dg,im=Qd?this.parseIdentifier():this.parseModuleExportName(),hm=!1):(im=Og,hm=!1)}else Rh(this.state.type)?(hm=!1,im=Qd?this.parseIdentifier():this.parseModuleExportName()):(Sm=!0,kh=Dg)}else Rh(this.state.type)&&(Sm=!0,Qd?(kh=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(kh.name,kh.loc.start,!0,!0)):kh=this.parseModuleExportName());Sm&&vf&&this.raise(Qd?_g.TypeModifierIsUsedInTypeImports:_g.TypeModifierIsUsedInTypeExports,Qm),Hd[$f]=kh,Hd[gh]=im;let yg=Qd?"importKind":"exportKind";Hd[yg]=Sm?"type":"value",hm&&this.eatContextual(93)&&(Hd[gh]=Qd?this.parseIdentifier():this.parseModuleExportName()),Hd[gh]||(Hd[gh]=sb(Hd[$f])),Qd&&this.checkIdentifier(Hd[gh],Sm?4098:4096)}};function rS(Kd){if(Kd.type!=="MemberExpression")return!1;let{computed:Hd,property:Qd}=Kd;return Hd&&Qd.type!=="StringLiteral"&&(Qd.type!=="TemplateLiteral"||Qd.expressions.length>0)?!1:vE(Kd.object)}function nS(Kd,Hd){var Qd;let{type:vf}=Kd;if((Qd=Kd.extra)!=null&&Qd.parenthesized)return!1;if(Hd){if(vf==="Literal"){let{value:$f}=Kd;if(typeof $f=="string"||typeof $f=="boolean")return!0}}else if(vf==="StringLiteral"||vf==="BooleanLiteral")return!0;return!!($y(Kd,Hd)||iS(Kd,Hd)||vf==="TemplateLiteral"&&Kd.expressions.length===0||rS(Kd))}function $y(Kd,Hd){return Hd?Kd.type==="Literal"&&(typeof Kd.value=="number"||"bigint"in Kd):Kd.type==="NumericLiteral"||Kd.type==="BigIntLiteral"}function iS(Kd,Hd){if(Kd.type==="UnaryExpression"){let{operator:Qd,argument:vf}=Kd;if(Qd==="-"&&$y(vf,Hd))return!0}return!1}function vE(Kd){return Kd.type==="Identifier"?!0:Kd.type!=="MemberExpression"||Kd.computed?!1:vE(Kd.object)}var x_=jd`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),SE=Kd=>class extends Kd{parsePlaceholder(Hd){if(this.match(144)){let Qd=this.startNode();return this.next(),this.assertNoSpace(),Qd.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(144),this.finishPlaceholder(Qd,Hd)}}finishPlaceholder(Hd,Qd){let vf=Hd;return(!vf.expectedNode||!vf.type)&&(vf=this.finishNode(vf,"Placeholder")),vf.expectedNode=Qd,vf}getTokenFromCode(Hd){Hd===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(144,2):super.getTokenFromCode(Hd)}parseExprAtom(Hd){return this.parsePlaceholder("Expression")||super.parseExprAtom(Hd)}parseIdentifier(Hd){return this.parsePlaceholder("Identifier")||super.parseIdentifier(Hd)}checkReservedWord(Hd,Qd,vf,$f){Hd!==void 0&&super.checkReservedWord(Hd,Qd,vf,$f)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(Hd,Qd,vf){return Hd==="Placeholder"||super.isValidLVal(Hd,Qd,vf)}toAssignable(Hd,Qd){Hd&&Hd.type==="Placeholder"&&Hd.expectedNode==="Expression"?Hd.expectedNode="Pattern":super.toAssignable(Hd,Qd)}chStartsBindingIdentifier(Hd,Qd){return!!(super.chStartsBindingIdentifier(Hd,Qd)||this.lookahead().type===144)}verifyBreakContinue(Hd,Qd){Hd.label&&Hd.label.type==="Placeholder"||super.verifyBreakContinue(Hd,Qd)}parseExpressionStatement(Hd,Qd){var vf;if(Qd.type!=="Placeholder"||(vf=Qd.extra)!=null&&vf.parenthesized)return super.parseExpressionStatement(Hd,Qd);if(this.match(14)){let gh=Hd;return gh.label=this.finishPlaceholder(Qd,"Identifier"),this.next(),gh.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(gh,"LabeledStatement")}this.semicolon();let $f=Hd;return $f.name=Qd.name,this.finishPlaceholder($f,"Statement")}parseBlock(Hd,Qd,vf){return this.parsePlaceholder("BlockStatement")||super.parseBlock(Hd,Qd,vf)}parseFunctionId(Hd){return this.parsePlaceholder("Identifier")||super.parseFunctionId(Hd)}parseClass(Hd,Qd,vf){let $f=Qd?"ClassDeclaration":"ClassExpression";this.next();let gh=this.state.strict,kh=this.parsePlaceholder("Identifier");if(kh)if(this.match(81)||this.match(144)||this.match(5))Hd.id=kh;else{if(vf||!Qd)return Hd.id=null,Hd.body=this.finishPlaceholder(kh,"ClassBody"),this.finishNode(Hd,$f);throw this.raise(x_.ClassNameIsRequired,this.state.startLoc)}else this.parseClassId(Hd,Qd,vf);return super.parseClassSuper(Hd),Hd.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!Hd.superClass,gh),this.finishNode(Hd,$f)}parseExport(Hd,Qd){let vf=this.parsePlaceholder("Identifier");if(!vf)return super.parseExport(Hd,Qd);let $f=Hd;if(!this.isContextual(98)&&!this.match(12))return $f.specifiers=[],$f.source=null,$f.declaration=this.finishPlaceholder(vf,"Declaration"),this.finishNode($f,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let gh=this.startNode();return gh.exported=vf,$f.specifiers=[this.finishNode(gh,"ExportDefaultSpecifier")],super.parseExport($f,Qd)}isExportDefaultSpecifier(){if(this.match(65)){let Hd=this.nextTokenStart();if(this.isUnparsedContextual(Hd,"from")&&this.input.startsWith(Jh(144),this.nextTokenStartSince(Hd+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(Hd,Qd){var vf;return(vf=Hd.specifiers)!=null&&vf.length?!0:super.maybeParseExportDefaultSpecifier(Hd,Qd)}checkExport(Hd){let{specifiers:Qd}=Hd;Qd!=null&&Qd.length&&(Hd.specifiers=Qd.filter(vf=>vf.exported.type==="Placeholder")),super.checkExport(Hd),Hd.specifiers=Qd}parseImport(Hd){let Qd=this.parsePlaceholder("Identifier");if(!Qd)return super.parseImport(Hd);if(Hd.specifiers=[],!this.isContextual(98)&&!this.match(12))return Hd.source=this.finishPlaceholder(Qd,"StringLiteral"),this.semicolon(),this.finishNode(Hd,"ImportDeclaration");let vf=this.startNodeAtNode(Qd);return vf.local=Qd,Hd.specifiers.push(this.finishNode(vf,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(Hd)||this.parseNamedImportSpecifiers(Hd)),this.expectContextual(98),Hd.source=this.parseImportSource(),this.semicolon(),this.finishNode(Hd,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(x_.UnexpectedSpace,this.state.lastTokEndLoc)}},$0=Kd=>class extends Kd{parseV8Intrinsic(){if(this.match(54)){let Hd=this.state.startLoc,Qd=this.startNode();if(this.next(),Yf(this.state.type)){let vf=this.parseIdentifierName(),$f=this.createIdentifier(Qd,vf);if($f.type="V8IntrinsicIdentifier",this.match(10))return $f}this.unexpected(Hd)}}parseExprAtom(Hd){return this.parseV8Intrinsic()||super.parseExprAtom(Hd)}};function $_(Kd,Hd){let[Qd,vf]=typeof Hd=="string"?[Hd,{}]:Hd,$f=Object.keys(vf),gh=$f.length===0;return Kd.some(kh=>{if(typeof kh=="string")return gh&&kh===Qd;{let[im,Sm]=kh;if(im!==Qd)return!1;for(let hm of $f)if(Sm[hm]!==vf[hm])return!1;return!0}})}function zb(Kd,Hd,Qd){let vf=Kd.find($f=>Array.isArray($f)?$f[0]===Hd:$f===Hd);return vf&&Array.isArray(vf)&&vf.length>1?vf[1][Qd]:null}var q_=["minimal","fsharp","hack","smart"],Py=["^^","@@","^","%","#"];function Wb(Kd){if($_(Kd,"decorators")){if($_(Kd,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let Hd=zb(Kd,"decorators","decoratorsBeforeExport");if(Hd!=null&&typeof Hd!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");let Qd=zb(Kd,"decorators","allowCallParenthesized");if(Qd!=null&&typeof Qd!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if($_(Kd,"flow")&&$_(Kd,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if($_(Kd,"placeholders")&&$_(Kd,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if($_(Kd,"pipelineOperator")){let Hd=zb(Kd,"pipelineOperator","proposal");if(!q_.includes(Hd)){let $f=q_.map(gh=>`"${gh}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${$f}.`)}let Qd=["recordAndTuple",{syntaxType:"hash"}],vf=$_(Kd,Qd);if(Hd==="hack"){if($_(Kd,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if($_(Kd,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let $f=zb(Kd,"pipelineOperator","topicToken");if(!Py.includes($f)){let gh=Py.map(kh=>`"${kh}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${gh}.`)}if($f==="#"&&vf)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(Qd)}\`.`)}else if(Hd==="smart"&&vf)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(Qd)}\`.`)}if($_(Kd,"moduleAttributes")){if($_(Kd,"importAssertions")||$_(Kd,"importAttributes"))throw new Error("Cannot combine importAssertions, importAttributes and moduleAttributes plugins.");if(zb(Kd,"moduleAttributes","version")!=="may-2020")throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if($_(Kd,"importAssertions")&&$_(Kd,"importAttributes"))throw new Error("Cannot combine importAssertions and importAttributes plugins.");if($_(Kd,"recordAndTuple")){let Hd=zb(Kd,"recordAndTuple","syntaxType");if(Hd!=null){let Qd=["hash","bar"];if(!Qd.includes(Hd))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+Qd.map(vf=>`'${vf}'`).join(", "))}}if($_(Kd,"asyncDoExpressions")&&!$_(Kd,"doExpressions")){let Hd=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw Hd.missingPlugins="doExpressions",Hd}if($_(Kd,"optionalChainingAssign")&&zb(Kd,"optionalChainingAssign","version")!=="2023-07")throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.")}var Y0={estree:Wd,jsx:M0,flow:k0,typescript:yE,v8intrinsic:$0,placeholders:SE},Ov=Object.keys(Y0),n0={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};function sS(Kd){if(Kd==null)return Object.assign({},n0);if(Kd.annexB!=null&&Kd.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");let Hd={};for(let vf of Object.keys(n0)){var Qd;Hd[vf]=(Qd=Kd[vf])!=null?Qd:n0[vf]}return Hd}var Db=class extends XS{checkProto(Kd,Hd,Qd,vf){if(Kd.type==="SpreadElement"||this.isObjectMethod(Kd)||Kd.computed||Kd.shorthand)return;let $f=Kd.key;if(($f.type==="Identifier"?$f.name:$f.value)==="__proto__"){if(Hd){this.raise(Fd.RecordNoProto,$f);return}Qd.used&&(vf?vf.doubleProtoLoc===null&&(vf.doubleProtoLoc=$f.loc.start):this.raise(Fd.DuplicateProto,$f)),Qd.used=!0}}shouldExitDescending(Kd,Hd){return Kd.type==="ArrowFunctionExpression"&&Kd.start===Hd}getExpression(){this.enterInitialScopes(),this.nextToken();let Kd=this.parseExpression();return this.match(139)||this.unexpected(),this.finalizeRemainingComments(),Kd.comments=this.comments,Kd.errors=this.state.errors,this.options.tokens&&(Kd.tokens=this.tokens),Kd}parseExpression(Kd,Hd){return Kd?this.disallowInAnd(()=>this.parseExpressionBase(Hd)):this.allowInAnd(()=>this.parseExpressionBase(Hd))}parseExpressionBase(Kd){let Hd=this.state.startLoc,Qd=this.parseMaybeAssign(Kd);if(this.match(12)){let vf=this.startNodeAt(Hd);for(vf.expressions=[Qd];this.eat(12);)vf.expressions.push(this.parseMaybeAssign(Kd));return this.toReferencedList(vf.expressions),this.finishNode(vf,"SequenceExpression")}return Qd}parseMaybeAssignDisallowIn(Kd,Hd){return this.disallowInAnd(()=>this.parseMaybeAssign(Kd,Hd))}parseMaybeAssignAllowIn(Kd,Hd){return this.allowInAnd(()=>this.parseMaybeAssign(Kd,Hd))}setOptionalParametersError(Kd,Hd){var Qd;Kd.optionalParametersLoc=(Qd=Hd==null?void 0:Hd.loc)!=null?Qd:this.state.startLoc}parseMaybeAssign(Kd,Hd){let Qd=this.state.startLoc;if(this.isContextual(108)&&this.prodParam.hasYield){let kh=this.parseYield();return Hd&&(kh=Hd.call(this,kh,Qd)),kh}let vf;Kd?vf=!1:(Kd=new ib,vf=!0);let{type:$f}=this.state;($f===10||Yf($f))&&(this.state.potentialArrowAt=this.state.start);let gh=this.parseMaybeConditional(Kd);if(Hd&&(gh=Hd.call(this,gh,Qd)),Fh(this.state.type)){let kh=this.startNodeAt(Qd),im=this.state.value;if(kh.operator=im,this.match(29)){this.toAssignable(gh,!0),kh.left=gh;let Sm=Qd.index;Kd.doubleProtoLoc!=null&&Kd.doubleProtoLoc.index>=Sm&&(Kd.doubleProtoLoc=null),Kd.shorthandAssignLoc!=null&&Kd.shorthandAssignLoc.index>=Sm&&(Kd.shorthandAssignLoc=null),Kd.privateKeyLoc!=null&&Kd.privateKeyLoc.index>=Sm&&(this.checkDestructuringPrivate(Kd),Kd.privateKeyLoc=null)}else kh.left=gh;return this.next(),kh.right=this.parseMaybeAssign(),this.checkLVal(gh,{in:this.finishNode(kh,"AssignmentExpression")}),kh}else vf&&this.checkExpressionErrors(Kd,!0);return gh}parseMaybeConditional(Kd){let Hd=this.state.startLoc,Qd=this.state.potentialArrowAt,vf=this.parseExprOps(Kd);return this.shouldExitDescending(vf,Qd)?vf:this.parseConditional(vf,Hd,Kd)}parseConditional(Kd,Hd,Qd){if(this.eat(17)){let vf=this.startNodeAt(Hd);return vf.test=Kd,vf.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),vf.alternate=this.parseMaybeAssign(),this.finishNode(vf,"ConditionalExpression")}return Kd}parseMaybeUnaryOrPrivate(Kd){return this.match(138)?this.parsePrivateName():this.parseMaybeUnary(Kd)}parseExprOps(Kd){let Hd=this.state.startLoc,Qd=this.state.potentialArrowAt,vf=this.parseMaybeUnaryOrPrivate(Kd);return this.shouldExitDescending(vf,Qd)?vf:this.parseExprOp(vf,Hd,-1)}parseExprOp(Kd,Hd,Qd){if(this.isPrivateName(Kd)){let $f=this.getPrivateNameSV(Kd);(Qd>=Mm(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(Fd.PrivateInExpectedIn,Kd,{identifierName:$f}),this.classScope.usePrivateName($f,Kd.loc.start)}let vf=this.state.type;if(Zf(vf)&&(this.prodParam.hasIn||!this.match(58))){let $f=Mm(vf);if($f>Qd){if(vf===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return Kd;this.checkPipelineAtInfixOperator(Kd,Hd)}let gh=this.startNodeAt(Hd);gh.left=Kd,gh.operator=this.state.value;let kh=vf===41||vf===42,im=vf===40;if(im&&($f=Mm(42)),this.next(),vf===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(Fd.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);gh.right=this.parseExprOpRightExpr(vf,$f);let Sm=this.finishNode(gh,kh||im?"LogicalExpression":"BinaryExpression"),hm=this.state.type;if(im&&(hm===41||hm===42)||kh&&hm===40)throw this.raise(Fd.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(Sm,Hd,Qd)}}return Kd}parseExprOpRightExpr(Kd,Hd){let Qd=this.state.startLoc;switch(Kd){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"smart":return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise(Fd.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(Kd,Hd),Qd)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(Hd))}default:return this.parseExprOpBaseRightExpr(Kd,Hd)}}parseExprOpBaseRightExpr(Kd,Hd){let Qd=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),Qd,Im(Kd)?Hd-1:Hd)}parseHackPipeBody(){var Kd;let{startLoc:Hd}=this.state,Qd=this.parseMaybeAssign();return Ad.has(Qd.type)&&!((Kd=Qd.extra)!=null&&Kd.parenthesized)&&this.raise(Fd.PipeUnparenthesizedBody,Hd,{type:Qd.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(Fd.PipeTopicUnused,Hd),Qd}checkExponentialAfterUnary(Kd){this.match(57)&&this.raise(Fd.UnexpectedTokenUnaryExponentiation,Kd.argument)}parseMaybeUnary(Kd,Hd){let Qd=this.state.startLoc,vf=this.isContextual(96);if(vf&&this.isAwaitAllowed()){this.next();let im=this.parseAwait(Qd);return Hd||this.checkExponentialAfterUnary(im),im}let $f=this.match(34),gh=this.startNode();if(Mh(this.state.type)){gh.operator=this.state.value,gh.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let im=this.match(89);if(this.next(),gh.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(Kd,!0),this.state.strict&&im){let Sm=gh.argument;Sm.type==="Identifier"?this.raise(Fd.StrictDelete,gh):this.hasPropertyAsPrivateName(Sm)&&this.raise(Fd.DeletePrivateField,gh)}if(!$f)return Hd||this.checkExponentialAfterUnary(gh),this.finishNode(gh,"UnaryExpression")}let kh=this.parseUpdate(gh,$f,Kd);if(vf){let{type:im}=this.state;if((this.hasPlugin("v8intrinsic")?Sh(im):Sh(im)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(Fd.AwaitNotInAsyncContext,Qd),this.parseAwait(Qd)}return kh}parseUpdate(Kd,Hd,Qd){if(Hd){let gh=Kd;return this.checkLVal(gh.argument,{in:this.finishNode(gh,"UpdateExpression")}),Kd}let vf=this.state.startLoc,$f=this.parseExprSubscripts(Qd);if(this.checkExpressionErrors(Qd,!1))return $f;for(;mh(this.state.type)&&!this.canInsertSemicolon();){let gh=this.startNodeAt(vf);gh.operator=this.state.value,gh.prefix=!1,gh.argument=$f,this.next(),this.checkLVal($f,{in:$f=this.finishNode(gh,"UpdateExpression")})}return $f}parseExprSubscripts(Kd){let Hd=this.state.startLoc,Qd=this.state.potentialArrowAt,vf=this.parseExprAtom(Kd);return this.shouldExitDescending(vf,Qd)?vf:this.parseSubscripts(vf,Hd)}parseSubscripts(Kd,Hd,Qd){let vf={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(Kd),stop:!1};do Kd=this.parseSubscript(Kd,Hd,Qd,vf),vf.maybeAsyncArrow=!1;while(!vf.stop);return Kd}parseSubscript(Kd,Hd,Qd,vf){let{type:$f}=this.state;if(!Qd&&$f===15)return this.parseBind(Kd,Hd,Qd,vf);if(gm($f))return this.parseTaggedTemplateExpression(Kd,Hd,vf);let gh=!1;if($f===18){if(Qd&&(this.raise(Fd.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return vf.stop=!0,Kd;vf.optionalChainMember=gh=!0,this.next()}if(!Qd&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(Kd,Hd,vf,gh);{let kh=this.eat(0);return kh||gh||this.eat(16)?this.parseMember(Kd,Hd,vf,kh,gh):(vf.stop=!0,Kd)}}parseMember(Kd,Hd,Qd,vf,$f){let gh=this.startNodeAt(Hd);return gh.object=Kd,gh.computed=vf,vf?(gh.property=this.parseExpression(),this.expect(3)):this.match(138)?(Kd.type==="Super"&&this.raise(Fd.SuperPrivateField,Hd),this.classScope.usePrivateName(this.state.value,this.state.startLoc),gh.property=this.parsePrivateName()):gh.property=this.parseIdentifier(!0),Qd.optionalChainMember?(gh.optional=$f,this.finishNode(gh,"OptionalMemberExpression")):this.finishNode(gh,"MemberExpression")}parseBind(Kd,Hd,Qd,vf){let $f=this.startNodeAt(Hd);return $f.object=Kd,this.next(),$f.callee=this.parseNoCallExpr(),vf.stop=!0,this.parseSubscripts(this.finishNode($f,"BindExpression"),Hd,Qd)}parseCoverCallAndAsyncArrowHead(Kd,Hd,Qd,vf){let $f=this.state.maybeInArrowParameters,gh=null;this.state.maybeInArrowParameters=!0,this.next();let kh=this.startNodeAt(Hd);kh.callee=Kd;let{maybeAsyncArrow:im,optionalChainMember:Sm}=Qd;im&&(this.expressionScope.enter(Tb()),gh=new ib),Sm&&(kh.optional=vf),vf?kh.arguments=this.parseCallExpressionArguments(11):kh.arguments=this.parseCallExpressionArguments(11,Kd.type==="Import",Kd.type!=="Super",kh,gh);let hm=this.finishCallExpression(kh,Sm);return im&&this.shouldParseAsyncArrow()&&!vf?(Qd.stop=!0,this.checkDestructuringPrivate(gh),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),hm=this.parseAsyncArrowFromCallExpression(this.startNodeAt(Hd),hm)):(im&&(this.checkExpressionErrors(gh,!0),this.expressionScope.exit()),this.toReferencedArguments(hm)),this.state.maybeInArrowParameters=$f,hm}toReferencedArguments(Kd,Hd){this.toReferencedListDeep(Kd.arguments,Hd)}parseTaggedTemplateExpression(Kd,Hd,Qd){let vf=this.startNodeAt(Hd);return vf.tag=Kd,vf.quasi=this.parseTemplate(!0),Qd.optionalChainMember&&this.raise(Fd.OptionalChainingNoTemplate,Hd),this.finishNode(vf,"TaggedTemplateExpression")}atPossibleAsyncArrow(Kd){return Kd.type==="Identifier"&&Kd.name==="async"&&this.state.lastTokEndLoc.index===Kd.end&&!this.canInsertSemicolon()&&Kd.end-Kd.start===5&&Kd.start===this.state.potentialArrowAt}expectImportAttributesPlugin(){this.hasPlugin("importAssertions")||this.expectPlugin("importAttributes")}finishCallExpression(Kd,Hd){if(Kd.callee.type==="Import")if(Kd.arguments.length===2&&(this.hasPlugin("moduleAttributes")||this.expectImportAttributesPlugin()),Kd.arguments.length===0||Kd.arguments.length>2)this.raise(Fd.ImportCallArity,Kd,{maxArgumentCount:this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(let Qd of Kd.arguments)Qd.type==="SpreadElement"&&this.raise(Fd.ImportCallSpreadArgument,Qd);return this.finishNode(Kd,Hd?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(Kd,Hd,Qd,vf,$f){let gh=[],kh=!0,im=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(Kd);){if(kh)kh=!1;else if(this.expect(12),this.match(Kd)){Hd&&!this.hasPlugin("importAttributes")&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")&&this.raise(Fd.ImportCallArgumentTrailingComma,this.state.lastTokStartLoc),vf&&this.addTrailingCommaExtraToNode(vf),this.next();break}gh.push(this.parseExprListItem(!1,$f,Qd))}return this.state.inFSharpPipelineDirectBody=im,gh}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(Kd,Hd){var Qd;return this.resetPreviousNodeTrailingComments(Hd),this.expect(19),this.parseArrowExpression(Kd,Hd.arguments,!0,(Qd=Hd.extra)==null?void 0:Qd.trailingCommaLoc),Hd.innerComments&&Z_(Kd,Hd.innerComments),Hd.callee.trailingComments&&Z_(Kd,Hd.callee.trailingComments),Kd}parseNoCallExpr(){let Kd=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),Kd,!0)}parseExprAtom(Kd){let Hd,Qd=null,{type:vf}=this.state;switch(vf){case 79:return this.parseSuper();case 83:return Hd=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(Hd):this.match(10)?this.options.createImportExpressions?this.parseImportCall(Hd):this.finishNode(Hd,"Import"):(this.raise(Fd.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(Hd,"Import"));case 78:return Hd=this.startNode(),this.next(),this.finishNode(Hd,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 134:return this.parseNumericLiteral(this.state.value);case 135:return this.parseBigIntLiteral(this.state.value);case 136:return this.parseDecimalLiteral(this.state.value);case 133:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{let $f=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression($f)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,Kd);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,Kd);case 68:return this.parseFunctionOrFunctionSent();case 26:Qd=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(Qd,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{Hd=this.startNode(),this.next(),Hd.object=null;let $f=Hd.callee=this.parseNoCallExpr();if($f.type==="MemberExpression")return this.finishNode(Hd,"BindExpression");throw this.raise(Fd.UnsupportedBind,$f)}case 138:return this.raise(Fd.PrivateInExpectedIn,this.state.startLoc,{identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{let $f=this.getPluginOption("pipelineOperator","proposal");if($f)return this.parseTopicReference($f);this.unexpected();break}case 47:{let $f=this.input.codePointAt(this.nextTokenStart());om($f)||$f===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(Yf(vf)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();let $f=this.state.potentialArrowAt===this.state.start,gh=this.state.containsEsc,kh=this.parseIdentifier();if(!gh&&kh.name==="async"&&!this.canInsertSemicolon()){let{type:im}=this.state;if(im===68)return this.resetPreviousNodeTrailingComments(kh),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(kh));if(Yf(im))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(kh)):kh;if(im===90)return this.resetPreviousNodeTrailingComments(kh),this.parseDo(this.startNodeAtNode(kh),!0)}return $f&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(kh),[kh],!1)):kh}else this.unexpected()}}parseTopicReferenceThenEqualsSign(Kd,Hd){let Qd=this.getPluginOption("pipelineOperator","proposal");if(Qd)return this.state.type=Kd,this.state.value=Hd,this.state.pos--,this.state.end--,this.state.endLoc=ld(this.state.endLoc,-1),this.parseTopicReference(Qd);this.unexpected()}parseTopicReference(Kd){let Hd=this.startNode(),Qd=this.state.startLoc,vf=this.state.type;return this.next(),this.finishTopicReference(Hd,Qd,Kd,vf)}finishTopicReference(Kd,Hd,Qd,vf){if(this.testTopicReferenceConfiguration(Qd,Hd,vf)){let $f=Qd==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(Qd==="smart"?Fd.PrimaryTopicNotAllowed:Fd.PipeTopicUnbound,Hd),this.registerTopicReference(),this.finishNode(Kd,$f)}else throw this.raise(Fd.PipeTopicUnconfiguredToken,Hd,{token:Jh(vf)})}testTopicReferenceConfiguration(Kd,Hd,Qd){switch(Kd){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:Jh(Qd)}]);case"smart":return Qd===27;default:throw this.raise(Fd.PipeTopicRequiresHackPipes,Hd)}}parseAsyncArrowUnaryFunction(Kd){this.prodParam.enter(xb(!0,this.prodParam.hasYield));let Hd=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(Fd.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(Kd,Hd,!0)}parseDo(Kd,Hd){this.expectPlugin("doExpressions"),Hd&&this.expectPlugin("asyncDoExpressions"),Kd.async=Hd,this.next();let Qd=this.state.labels;return this.state.labels=[],Hd?(this.prodParam.enter(2),Kd.body=this.parseBlock(),this.prodParam.exit()):Kd.body=this.parseBlock(),this.state.labels=Qd,this.finishNode(Kd,"DoExpression")}parseSuper(){let Kd=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod?this.raise(Fd.SuperNotAllowed,Kd):!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(Fd.UnexpectedSuper,Kd),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(Fd.UnsupportedSuper,Kd),this.finishNode(Kd,"Super")}parsePrivateName(){let Kd=this.startNode(),Hd=this.startNodeAt(ld(this.state.startLoc,1)),Qd=this.state.value;return this.next(),Kd.id=this.createIdentifier(Hd,Qd),this.finishNode(Kd,"PrivateName")}parseFunctionOrFunctionSent(){let Kd=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let Hd=this.createIdentifier(this.startNodeAtNode(Kd),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(Kd,Hd,"sent")}return this.parseFunction(Kd)}parseMetaProperty(Kd,Hd,Qd){Kd.meta=Hd;let vf=this.state.containsEsc;return Kd.property=this.parseIdentifier(!0),(Kd.property.name!==Qd||vf)&&this.raise(Fd.UnsupportedMetaProperty,Kd.property,{target:Hd.name,onlyValidPropertyName:Qd}),this.finishNode(Kd,"MetaProperty")}parseImportMetaProperty(Kd){let Hd=this.createIdentifier(this.startNodeAtNode(Kd),"import");if(this.next(),this.isContextual(101))this.inModule||this.raise(Fd.ImportMetaOutsideModule,Hd),this.sawUnambiguousESM=!0;else if(this.isContextual(105)||this.isContextual(97)){let Qd=this.isContextual(105);if(Qd||this.unexpected(),this.expectPlugin(Qd?"sourcePhaseImports":"deferredImportEvaluation"),!this.options.createImportExpressions)throw this.raise(Fd.DynamicImportPhaseRequiresImportExpressions,this.state.startLoc,{phase:this.state.value});return this.next(),Kd.phase=Qd?"source":"defer",this.parseImportCall(Kd)}return this.parseMetaProperty(Kd,Hd,"meta")}parseLiteralAtNode(Kd,Hd,Qd){return this.addExtra(Qd,"rawValue",Kd),this.addExtra(Qd,"raw",this.input.slice(Qd.start,this.state.end)),Qd.value=Kd,this.next(),this.finishNode(Qd,Hd)}parseLiteral(Kd,Hd){let Qd=this.startNode();return this.parseLiteralAtNode(Kd,Hd,Qd)}parseStringLiteral(Kd){return this.parseLiteral(Kd,"StringLiteral")}parseNumericLiteral(Kd){return this.parseLiteral(Kd,"NumericLiteral")}parseBigIntLiteral(Kd){return this.parseLiteral(Kd,"BigIntLiteral")}parseDecimalLiteral(Kd){return this.parseLiteral(Kd,"DecimalLiteral")}parseRegExpLiteral(Kd){let Hd=this.startNode();return this.addExtra(Hd,"raw",this.input.slice(Hd.start,this.state.end)),Hd.pattern=Kd.pattern,Hd.flags=Kd.flags,this.next(),this.finishNode(Hd,"RegExpLiteral")}parseBooleanLiteral(Kd){let Hd=this.startNode();return Hd.value=Kd,this.next(),this.finishNode(Hd,"BooleanLiteral")}parseNullLiteral(){let Kd=this.startNode();return this.next(),this.finishNode(Kd,"NullLiteral")}parseParenAndDistinguishExpression(Kd){let Hd=this.state.startLoc,Qd;this.next(),this.expressionScope.enter(G_());let vf=this.state.maybeInArrowParameters,$f=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let gh=this.state.startLoc,kh=[],im=new ib,Sm=!0,hm,Qm;for(;!this.match(11);){if(Sm)Sm=!1;else if(this.expect(12,im.optionalParametersLoc===null?null:im.optionalParametersLoc),this.match(11)){Qm=this.state.startLoc;break}if(this.match(21)){let Og=this.state.startLoc;if(hm=this.state.startLoc,kh.push(this.parseParenItem(this.parseRestBinding(),Og)),!this.checkCommaAfterRest(41))break}else kh.push(this.parseMaybeAssignAllowIn(im,this.parseParenItem))}let yg=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=vf,this.state.inFSharpPipelineDirectBody=$f;let Dg=this.startNodeAt(Hd);return Kd&&this.shouldParseArrow(kh)&&(Dg=this.parseArrow(Dg))?(this.checkDestructuringPrivate(im),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(Dg,kh,!1),Dg):(this.expressionScope.exit(),kh.length||this.unexpected(this.state.lastTokStartLoc),Qm&&this.unexpected(Qm),hm&&this.unexpected(hm),this.checkExpressionErrors(im,!0),this.toReferencedListDeep(kh,!0),kh.length>1?(Qd=this.startNodeAt(gh),Qd.expressions=kh,this.finishNode(Qd,"SequenceExpression"),this.resetEndLocation(Qd,yg)):Qd=kh[0],this.wrapParenthesis(Hd,Qd))}wrapParenthesis(Kd,Hd){if(!this.options.createParenthesizedExpressions)return this.addExtra(Hd,"parenthesized",!0),this.addExtra(Hd,"parenStart",Kd.index),this.takeSurroundingComments(Hd,Kd.index,this.state.lastTokEndLoc.index),Hd;let Qd=this.startNodeAt(Kd);return Qd.expression=Hd,this.finishNode(Qd,"ParenthesizedExpression")}shouldParseArrow(Kd){return!this.canInsertSemicolon()}parseArrow(Kd){if(this.eat(19))return Kd}parseParenItem(Kd,Hd){return Kd}parseNewOrNewTarget(){let Kd=this.startNode();if(this.next(),this.match(16)){let Hd=this.createIdentifier(this.startNodeAtNode(Kd),"new");this.next();let Qd=this.parseMetaProperty(Kd,Hd,"target");return!this.scope.inNonArrowFunction&&!this.scope.inClass&&!this.options.allowNewTargetOutsideFunction&&this.raise(Fd.UnexpectedNewTarget,Qd),Qd}return this.parseNew(Kd)}parseNew(Kd){if(this.parseNewCallee(Kd),this.eat(10)){let Hd=this.parseExprList(11);this.toReferencedList(Hd),Kd.arguments=Hd}else Kd.arguments=[];return this.finishNode(Kd,"NewExpression")}parseNewCallee(Kd){let Hd=this.match(83),Qd=this.parseNoCallExpr();Kd.callee=Qd,Hd&&(Qd.type==="Import"||Qd.type==="ImportExpression")&&this.raise(Fd.ImportCallNotNewExpression,Qd)}parseTemplateElement(Kd){let{start:Hd,startLoc:Qd,end:vf,value:$f}=this.state,gh=Hd+1,kh=this.startNodeAt(ld(Qd,1));$f===null&&(Kd||this.raise(Fd.InvalidEscapeSequenceTemplate,ld(this.state.firstInvalidTemplateEscapePos,1)));let im=this.match(24),Sm=im?-1:-2,hm=vf+Sm;kh.value={raw:this.input.slice(gh,hm).replace(/\r\n?/g,`
`),cooked:$f===null?null:$f.slice(1,Sm)},kh.tail=im,this.next();let Qm=this.finishNode(kh,"TemplateElement");return this.resetEndLocation(Qm,ld(this.state.lastTokEndLoc,Sm)),Qm}parseTemplate(Kd){let Hd=this.startNode(),Qd=this.parseTemplateElement(Kd),vf=[Qd],$f=[];for(;!Qd.tail;)$f.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),vf.push(Qd=this.parseTemplateElement(Kd));return Hd.expressions=$f,Hd.quasis=vf,this.finishNode(Hd,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(Kd,Hd,Qd,vf){Qd&&this.expectPlugin("recordAndTuple");let $f=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let gh=Object.create(null),kh=!0,im=this.startNode();for(im.properties=[],this.next();!this.match(Kd);){if(kh)kh=!1;else if(this.expect(12),this.match(Kd)){this.addTrailingCommaExtraToNode(im);break}let hm;Hd?hm=this.parseBindingProperty():(hm=this.parsePropertyDefinition(vf),this.checkProto(hm,Qd,gh,vf)),Qd&&!this.isObjectProperty(hm)&&hm.type!=="SpreadElement"&&this.raise(Fd.InvalidRecordProperty,hm),hm.shorthand&&this.addExtra(hm,"shorthand",!0),im.properties.push(hm)}this.next(),this.state.inFSharpPipelineDirectBody=$f;let Sm="ObjectExpression";return Hd?Sm="ObjectPattern":Qd&&(Sm="RecordExpression"),this.finishNode(im,Sm)}addTrailingCommaExtraToNode(Kd){this.addExtra(Kd,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(Kd,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(Kd){return!Kd.computed&&Kd.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(Kd){let Hd=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(Fd.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)Hd.push(this.parseDecorator());let Qd=this.startNode(),vf=!1,$f=!1,gh;if(this.match(21))return Hd.length&&this.unexpected(),this.parseSpread();Hd.length&&(Qd.decorators=Hd,Hd=[]),Qd.method=!1,Kd&&(gh=this.state.startLoc);let kh=this.eat(55);this.parsePropertyNamePrefixOperator(Qd);let im=this.state.containsEsc;if(this.parsePropertyName(Qd,Kd),!kh&&!im&&this.maybeAsyncOrAccessorProp(Qd)){let{key:Sm}=Qd,hm=Sm.name;hm==="async"&&!this.hasPrecedingLineBreak()&&(vf=!0,this.resetPreviousNodeTrailingComments(Sm),kh=this.eat(55),this.parsePropertyName(Qd)),(hm==="get"||hm==="set")&&($f=!0,this.resetPreviousNodeTrailingComments(Sm),Qd.kind=hm,this.match(55)&&(kh=!0,this.raise(Fd.AccessorIsGenerator,this.state.curPosition(),{kind:hm}),this.next()),this.parsePropertyName(Qd))}return this.parseObjPropValue(Qd,gh,kh,vf,!1,$f,Kd)}getGetterSetterExpectedParamCount(Kd){return Kd.kind==="get"?0:1}getObjectOrClassMethodParams(Kd){return Kd.params}checkGetterSetterParams(Kd){var Hd;let Qd=this.getGetterSetterExpectedParamCount(Kd),vf=this.getObjectOrClassMethodParams(Kd);vf.length!==Qd&&this.raise(Kd.kind==="get"?Fd.BadGetterArity:Fd.BadSetterArity,Kd),Kd.kind==="set"&&((Hd=vf[vf.length-1])==null?void 0:Hd.type)==="RestElement"&&this.raise(Fd.BadSetterRestParameter,Kd)}parseObjectMethod(Kd,Hd,Qd,vf,$f){if($f){let gh=this.parseMethod(Kd,Hd,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(gh),gh}if(Qd||Hd||this.match(10))return vf&&this.unexpected(),Kd.kind="method",Kd.method=!0,this.parseMethod(Kd,Hd,Qd,!1,!1,"ObjectMethod")}parseObjectProperty(Kd,Hd,Qd,vf){if(Kd.shorthand=!1,this.eat(14))return Kd.value=Qd?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(vf),this.finishNode(Kd,"ObjectProperty");if(!Kd.computed&&Kd.key.type==="Identifier"){if(this.checkReservedWord(Kd.key.name,Kd.key.loc.start,!0,!1),Qd)Kd.value=this.parseMaybeDefault(Hd,sb(Kd.key));else if(this.match(29)){let $f=this.state.startLoc;vf!=null?vf.shorthandAssignLoc===null&&(vf.shorthandAssignLoc=$f):this.raise(Fd.InvalidCoverInitializedName,$f),Kd.value=this.parseMaybeDefault(Hd,sb(Kd.key))}else Kd.value=sb(Kd.key);return Kd.shorthand=!0,this.finishNode(Kd,"ObjectProperty")}}parseObjPropValue(Kd,Hd,Qd,vf,$f,gh,kh){let im=this.parseObjectMethod(Kd,Qd,vf,$f,gh)||this.parseObjectProperty(Kd,Hd,$f,kh);return im||this.unexpected(),im}parsePropertyName(Kd,Hd){if(this.eat(0))Kd.computed=!0,Kd.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:Qd,value:vf}=this.state,$f;if(Rh(Qd))$f=this.parseIdentifier(!0);else switch(Qd){case 134:$f=this.parseNumericLiteral(vf);break;case 133:$f=this.parseStringLiteral(vf);break;case 135:$f=this.parseBigIntLiteral(vf);break;case 136:$f=this.parseDecimalLiteral(vf);break;case 138:{let gh=this.state.startLoc;Hd!=null?Hd.privateKeyLoc===null&&(Hd.privateKeyLoc=gh):this.raise(Fd.UnexpectedPrivateField,gh),$f=this.parsePrivateName();break}default:this.unexpected()}Kd.key=$f,Qd!==138&&(Kd.computed=!1)}}initFunction(Kd,Hd){Kd.id=null,Kd.generator=!1,Kd.async=Hd}parseMethod(Kd,Hd,Qd,vf,$f,gh,kh=!1){this.initFunction(Kd,Qd),Kd.generator=Hd,this.scope.enter(18|(kh?64:0)|($f?32:0)),this.prodParam.enter(xb(Qd,Kd.generator)),this.parseFunctionParams(Kd,vf);let im=this.parseFunctionBodyAndFinish(Kd,gh,!0);return this.prodParam.exit(),this.scope.exit(),im}parseArrayLike(Kd,Hd,Qd,vf){Qd&&this.expectPlugin("recordAndTuple");let $f=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let gh=this.startNode();return this.next(),gh.elements=this.parseExprList(Kd,!Qd,vf,gh),this.state.inFSharpPipelineDirectBody=$f,this.finishNode(gh,Qd?"TupleExpression":"ArrayExpression")}parseArrowExpression(Kd,Hd,Qd,vf){this.scope.enter(6);let $f=xb(Qd,!1);!this.match(5)&&this.prodParam.hasIn&&($f|=8),this.prodParam.enter($f),this.initFunction(Kd,Qd);let gh=this.state.maybeInArrowParameters;return Hd&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(Kd,Hd,vf)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(Kd,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=gh,this.finishNode(Kd,"ArrowFunctionExpression")}setArrowFunctionParameters(Kd,Hd,Qd){this.toAssignableList(Hd,Qd,!1),Kd.params=Hd}parseFunctionBodyAndFinish(Kd,Hd,Qd=!1){return this.parseFunctionBody(Kd,!1,Qd),this.finishNode(Kd,Hd)}parseFunctionBody(Kd,Hd,Qd=!1){let vf=Hd&&!this.match(5);if(this.expressionScope.enter(Gb()),vf)Kd.body=this.parseMaybeAssign(),this.checkParams(Kd,!1,Hd,!1);else{let $f=this.state.strict,gh=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|4),Kd.body=this.parseBlock(!0,!1,kh=>{let im=!this.isSimpleParamList(Kd.params);kh&&im&&this.raise(Fd.IllegalLanguageModeDirective,(Kd.kind==="method"||Kd.kind==="constructor")&&Kd.key?Kd.key.loc.end:Kd);let Sm=!$f&&this.state.strict;this.checkParams(Kd,!this.state.strict&&!Hd&&!Qd&&!im,Hd,Sm),this.state.strict&&Kd.id&&this.checkIdentifier(Kd.id,65,Sm)}),this.prodParam.exit(),this.state.labels=gh}this.expressionScope.exit()}isSimpleParameter(Kd){return Kd.type==="Identifier"}isSimpleParamList(Kd){for(let Hd=0,Qd=Kd.length;Hd<Qd;Hd++)if(!this.isSimpleParameter(Kd[Hd]))return!1;return!0}checkParams(Kd,Hd,Qd,vf=!0){let $f=!Hd&&new Set,gh={type:"FormalParameters"};for(let kh of Kd.params)this.checkLVal(kh,{in:gh,binding:5,checkClashes:$f,strictModeChanged:vf})}parseExprList(Kd,Hd,Qd,vf){let $f=[],gh=!0;for(;!this.eat(Kd);){if(gh)gh=!1;else if(this.expect(12),this.match(Kd)){vf&&this.addTrailingCommaExtraToNode(vf),this.next();break}$f.push(this.parseExprListItem(Hd,Qd))}return $f}parseExprListItem(Kd,Hd,Qd){let vf;if(this.match(12))Kd||this.raise(Fd.UnexpectedToken,this.state.curPosition(),{unexpected:","}),vf=null;else if(this.match(21)){let $f=this.state.startLoc;vf=this.parseParenItem(this.parseSpread(Hd),$f)}else if(this.match(17)){this.expectPlugin("partialApplication"),Qd||this.raise(Fd.UnexpectedArgumentPlaceholder,this.state.startLoc);let $f=this.startNode();this.next(),vf=this.finishNode($f,"ArgumentPlaceholder")}else vf=this.parseMaybeAssignAllowIn(Hd,this.parseParenItem);return vf}parseIdentifier(Kd){let Hd=this.startNode(),Qd=this.parseIdentifierName(Kd);return this.createIdentifier(Hd,Qd)}createIdentifier(Kd,Hd){return Kd.name=Hd,Kd.loc.identifierName=Hd,this.finishNode(Kd,"Identifier")}parseIdentifierName(Kd){let Hd,{startLoc:Qd,type:vf}=this.state;Rh(vf)?Hd=this.state.value:this.unexpected();let $f=dh(vf);return Kd?$f&&this.replaceToken(132):this.checkReservedWord(Hd,Qd,$f,!1),this.next(),Hd}checkReservedWord(Kd,Hd,Qd,vf){if(!(Kd.length>10||!a_(Kd))){if(Qd&&n_(Kd)){this.raise(Fd.UnexpectedKeyword,Hd,{keyword:Kd});return}if((this.state.strict?vf?Gg:wg:ug)(Kd,this.inModule)){this.raise(Fd.UnexpectedReservedWord,Hd,{reservedWord:Kd});return}else if(Kd==="yield"){if(this.prodParam.hasYield){this.raise(Fd.YieldBindingIdentifier,Hd);return}}else if(Kd==="await"){if(this.prodParam.hasAwait){this.raise(Fd.AwaitBindingIdentifier,Hd);return}if(this.scope.inStaticBlock){this.raise(Fd.AwaitBindingIdentifierInStaticBlock,Hd);return}this.expressionScope.recordAsyncArrowParametersError(Hd)}else if(Kd==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(Fd.ArgumentsInClass,Hd);return}}}isAwaitAllowed(){return!!(this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction)}parseAwait(Kd){let Hd=this.startNodeAt(Kd);return this.expressionScope.recordParameterInitializerError(Fd.AwaitExpressionFormalParameter,Hd),this.eat(55)&&this.raise(Fd.ObsoleteAwaitStar,Hd),!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(Hd.argument=this.parseMaybeUnary(null,!0)),this.finishNode(Hd,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:Kd}=this.state;return Kd===53||Kd===10||Kd===0||gm(Kd)||Kd===102&&!this.state.containsEsc||Kd===137||Kd===56||this.hasPlugin("v8intrinsic")&&Kd===54}parseYield(){let Kd=this.startNode();this.expressionScope.recordParameterInitializerError(Fd.YieldInParameter,Kd),this.next();let Hd=!1,Qd=null;if(!this.hasPrecedingLineBreak())switch(Hd=this.eat(55),this.state.type){case 13:case 139:case 8:case 11:case 3:case 9:case 14:case 12:if(!Hd)break;default:Qd=this.parseMaybeAssign()}return Kd.delegate=Hd,Kd.argument=Qd,this.finishNode(Kd,"YieldExpression")}parseImportCall(Kd){return this.next(),Kd.source=this.parseMaybeAssignAllowIn(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(Kd.options=null),this.eat(12)&&(this.expectImportAttributesPlugin(),this.match(11)||(Kd.options=this.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.finishNode(Kd,"ImportExpression")}checkPipelineAtInfixOperator(Kd,Hd){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&Kd.type==="SequenceExpression"&&this.raise(Fd.PipelineHeadSequenceExpression,Hd)}parseSmartPipelineBodyInStyle(Kd,Hd){if(this.isSimpleReference(Kd)){let Qd=this.startNodeAt(Hd);return Qd.callee=Kd,this.finishNode(Qd,"PipelineBareFunction")}else{let Qd=this.startNodeAt(Hd);return this.checkSmartPipeTopicBodyEarlyErrors(Hd),Qd.expression=Kd,this.finishNode(Qd,"PipelineTopicExpression")}}isSimpleReference(Kd){switch(Kd.type){case"MemberExpression":return!Kd.computed&&this.isSimpleReference(Kd.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(Kd){if(this.match(19))throw this.raise(Fd.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(Fd.PipelineTopicUnused,Kd)}withTopicBindingContext(Kd){let Hd=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return Kd()}finally{this.state.topicContext=Hd}}withSmartMixTopicForbiddingContext(Kd){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){let Hd=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return Kd()}finally{this.state.topicContext=Hd}}else return Kd()}withSoloAwaitPermittingContext(Kd){let Hd=this.state.soloAwait;this.state.soloAwait=!0;try{return Kd()}finally{this.state.soloAwait=Hd}}allowInAnd(Kd){let Hd=this.prodParam.currentFlags();if(8&~Hd){this.prodParam.enter(Hd|8);try{return Kd()}finally{this.prodParam.exit()}}return Kd()}disallowInAnd(Kd){let Hd=this.prodParam.currentFlags();if(8&Hd){this.prodParam.enter(Hd&-9);try{return Kd()}finally{this.prodParam.exit()}}return Kd()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(Kd){let Hd=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let Qd=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let vf=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),Hd,Kd);return this.state.inFSharpPipelineDirectBody=Qd,vf}parseModuleExpression(){this.expectPlugin("moduleBlocks");let Kd=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);let Hd=this.startNodeAt(this.state.endLoc);this.next();let Qd=this.initializeScopes(!0);this.enterInitialScopes();try{Kd.body=this.parseProgram(Hd,8,"module")}finally{Qd()}return this.finishNode(Kd,"ModuleExpression")}parsePropertyNamePrefixOperator(Kd){}},TE={kind:1},$b={kind:2},oS=/[\uD800-\uDFFF]/u,Ly=/in(?:stanceof)?/y;function v0(Kd,Hd){for(let Qd=0;Qd<Kd.length;Qd++){let vf=Kd[Qd],{type:$f}=vf;if(typeof $f=="number"){{if($f===138){let{loc:gh,start:kh,value:im,end:Sm}=vf,hm=kh+1,Qm=ld(gh.start,1);Kd.splice(Qd,1,new Ch({type:Lm(27),value:"#",start:kh,end:hm,startLoc:gh.start,endLoc:Qm}),new Ch({type:Lm(132),value:im,start:hm,end:Sm,startLoc:Qm,endLoc:gh.end})),Qd++;continue}if(gm($f)){let{loc:gh,start:kh,value:im,end:Sm}=vf,hm=kh+1,Qm=ld(gh.start,1),yg;Hd.charCodeAt(kh)===96?yg=new Ch({type:Lm(22),value:"`",start:kh,end:hm,startLoc:gh.start,endLoc:Qm}):yg=new Ch({type:Lm(8),value:"}",start:kh,end:hm,startLoc:gh.start,endLoc:Qm});let Dg,Og,e_,F_;$f===24?(Og=Sm-1,e_=ld(gh.end,-1),Dg=im===null?null:im.slice(1,-1),F_=new Ch({type:Lm(22),value:"`",start:Og,end:Sm,startLoc:e_,endLoc:gh.end})):(Og=Sm-2,e_=ld(gh.end,-2),Dg=im===null?null:im.slice(1,-2),F_=new Ch({type:Lm(23),value:"${",start:Og,end:Sm,startLoc:e_,endLoc:gh.end})),Kd.splice(Qd,1,yg,new Ch({type:Lm(20),value:Dg,start:hm,end:Og,startLoc:Qm,endLoc:e_}),F_),Qd+=2;continue}}vf.type=Lm($f)}}return Kd}var kv=class extends Db{parseTopLevel(Kd,Hd){return Kd.program=this.parseProgram(Hd),Kd.comments=this.comments,this.options.tokens&&(Kd.tokens=v0(this.tokens,this.input)),this.finishNode(Kd,"File")}parseProgram(Kd,Hd=139,Qd=this.options.sourceType){if(Kd.sourceType=Qd,Kd.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(Kd,!0,!0,Hd),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(let[$f,gh]of Array.from(this.scope.undefinedExports))this.raise(Fd.ModuleExportUndefined,gh,{localName:$f});let vf;return Hd===139?vf=this.finishNode(Kd,"Program"):vf=this.finishNodeAt(Kd,"Program",ld(this.state.startLoc,-1)),vf}stmtToDirective(Kd){let Hd=Kd;Hd.type="Directive",Hd.value=Hd.expression,delete Hd.expression;let Qd=Hd.value,vf=Qd.value,$f=this.input.slice(Qd.start,Qd.end),gh=Qd.value=$f.slice(1,-1);return this.addExtra(Qd,"raw",$f),this.addExtra(Qd,"rawValue",gh),this.addExtra(Qd,"expressionValue",vf),Qd.type="DirectiveLiteral",Hd}parseInterpreterDirective(){if(!this.match(28))return null;let Kd=this.startNode();return Kd.value=this.state.value,this.next(),this.finishNode(Kd,"InterpreterDirective")}isLet(){return this.isContextual(100)?this.hasFollowingBindingAtom():!1}chStartsBindingIdentifier(Kd,Hd){if(om(Kd)){if(Ly.lastIndex=Hd,Ly.test(this.input)){let Qd=this.codePointAtPos(Ly.lastIndex);if(!Dm(Qd)&&Qd!==92)return!1}return!0}else return Kd===92}chStartsBindingPattern(Kd){return Kd===91||Kd===123}hasFollowingBindingAtom(){let Kd=this.nextTokenStart(),Hd=this.codePointAtPos(Kd);return this.chStartsBindingPattern(Hd)||this.chStartsBindingIdentifier(Hd,Kd)}hasInLineFollowingBindingIdentifierOrBrace(){let Kd=this.nextTokenInLineStart(),Hd=this.codePointAtPos(Kd);return Hd===123||this.chStartsBindingIdentifier(Hd,Kd)}startsUsingForOf(){let{type:Kd,containsEsc:Hd}=this.lookahead();if(Kd===102&&!Hd)return!1;if(Yf(Kd)&&!this.hasFollowingLineBreak())return this.expectPlugin("explicitResourceManagement"),!0}startsAwaitUsing(){let Kd=this.nextTokenInLineStart();if(this.isUnparsedContextual(Kd,"using")){Kd=this.nextTokenInLineStartSince(Kd+5);let Hd=this.codePointAtPos(Kd);if(this.chStartsBindingIdentifier(Hd,Kd))return this.expectPlugin("explicitResourceManagement"),!0}return!1}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(Kd=!1){let Hd=0;return this.options.annexB&&!this.state.strict&&(Hd|=4,Kd&&(Hd|=8)),this.parseStatementLike(Hd)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(Kd){let Hd=null;return this.match(26)&&(Hd=this.parseDecorators(!0)),this.parseStatementContent(Kd,Hd)}parseStatementContent(Kd,Hd){let Qd=this.state.type,vf=this.startNode(),$f=!!(Kd&2),gh=!!(Kd&4),kh=Kd&1;switch(Qd){case 60:return this.parseBreakContinueStatement(vf,!0);case 63:return this.parseBreakContinueStatement(vf,!1);case 64:return this.parseDebuggerStatement(vf);case 90:return this.parseDoWhileStatement(vf);case 91:return this.parseForStatement(vf);case 68:if(this.lookaheadCharCode()===46)break;return gh||this.raise(this.state.strict?Fd.StrictFunction:this.options.annexB?Fd.SloppyFunctionAnnexB:Fd.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(vf,!1,!$f&&gh);case 80:return $f||this.unexpected(),this.parseClass(this.maybeTakeDecorators(Hd,vf),!0);case 69:return this.parseIfStatement(vf);case 70:return this.parseReturnStatement(vf);case 71:return this.parseSwitchStatement(vf);case 72:return this.parseThrowStatement(vf);case 73:return this.parseTryStatement(vf);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing())return this.isAwaitAllowed()?$f||this.raise(Fd.UnexpectedLexicalDeclaration,vf):this.raise(Fd.AwaitUsingNotInAsyncContext,vf),this.next(),this.parseVarStatement(vf,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(Fd.UnexpectedUsingDeclaration,this.state.startLoc):$f||this.raise(Fd.UnexpectedLexicalDeclaration,this.state.startLoc),this.parseVarStatement(vf,"using");case 100:{if(this.state.containsEsc)break;let hm=this.nextTokenStart(),Qm=this.codePointAtPos(hm);if(Qm!==91&&(!$f&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(Qm,hm)&&Qm!==123))break}case 75:$f||this.raise(Fd.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{let hm=this.state.value;return this.parseVarStatement(vf,hm)}case 92:return this.parseWhileStatement(vf);case 76:return this.parseWithStatement(vf);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(vf);case 83:{let hm=this.lookaheadCharCode();if(hm===40||hm===46)break}case 82:{!this.options.allowImportExportEverywhere&&!kh&&this.raise(Fd.UnexpectedImportExport,this.state.startLoc),this.next();let hm;return Qd===83?(hm=this.parseImport(vf),hm.type==="ImportDeclaration"&&(!hm.importKind||hm.importKind==="value")&&(this.sawUnambiguousESM=!0)):(hm=this.parseExport(vf,Hd),(hm.type==="ExportNamedDeclaration"&&(!hm.exportKind||hm.exportKind==="value")||hm.type==="ExportAllDeclaration"&&(!hm.exportKind||hm.exportKind==="value")||hm.type==="ExportDefaultDeclaration")&&(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(hm),hm}default:if(this.isAsyncFunction())return $f||this.raise(Fd.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(vf,!0,!$f&&gh)}let im=this.state.value,Sm=this.parseExpression();return Yf(Qd)&&Sm.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(vf,im,Sm,Kd):this.parseExpressionStatement(vf,Sm,Hd)}assertModuleNodeAllowed(Kd){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(Fd.ImportOutsideModule,Kd)}decoratorsEnabledBeforeExport(){return this.hasPlugin("decorators-legacy")?!0:this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(Kd,Hd,Qd){return Kd&&(Hd.decorators&&Hd.decorators.length>0?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(Fd.DecoratorsBeforeAfterExport,Hd.decorators[0]),Hd.decorators.unshift(...Kd)):Hd.decorators=Kd,this.resetStartLocationFromNode(Hd,Kd[0]),Qd&&this.resetStartLocationFromNode(Qd,Hd)),Hd}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(Kd){let Hd=[];do Hd.push(this.parseDecorator());while(this.match(26));if(this.match(82))Kd||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(Fd.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(Fd.UnexpectedLeadingDecorator,this.state.startLoc);return Hd}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let Kd=this.startNode();if(this.next(),this.hasPlugin("decorators")){let Hd=this.state.startLoc,Qd;if(this.match(10)){let vf=this.state.startLoc;this.next(),Qd=this.parseExpression(),this.expect(11),Qd=this.wrapParenthesis(vf,Qd);let $f=this.state.startLoc;Kd.expression=this.parseMaybeDecoratorArguments(Qd),this.getPluginOption("decorators","allowCallParenthesized")===!1&&Kd.expression!==Qd&&this.raise(Fd.DecoratorArgumentsOutsideParentheses,$f)}else{for(Qd=this.parseIdentifier(!1);this.eat(16);){let vf=this.startNodeAt(Hd);vf.object=Qd,this.match(138)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),vf.property=this.parsePrivateName()):vf.property=this.parseIdentifier(!0),vf.computed=!1,Qd=this.finishNode(vf,"MemberExpression")}Kd.expression=this.parseMaybeDecoratorArguments(Qd)}}else Kd.expression=this.parseExprSubscripts();return this.finishNode(Kd,"Decorator")}parseMaybeDecoratorArguments(Kd){if(this.eat(10)){let Hd=this.startNodeAtNode(Kd);return Hd.callee=Kd,Hd.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(Hd.arguments),this.finishNode(Hd,"CallExpression")}return Kd}parseBreakContinueStatement(Kd,Hd){return this.next(),this.isLineTerminator()?Kd.label=null:(Kd.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(Kd,Hd),this.finishNode(Kd,Hd?"BreakStatement":"ContinueStatement")}verifyBreakContinue(Kd,Hd){let Qd;for(Qd=0;Qd<this.state.labels.length;++Qd){let vf=this.state.labels[Qd];if((Kd.label==null||vf.name===Kd.label.name)&&(vf.kind!=null&&(Hd||vf.kind===1)||Kd.label&&Hd))break}if(Qd===this.state.labels.length){let vf=Hd?"BreakStatement":"ContinueStatement";this.raise(Fd.IllegalBreakContinue,Kd,{type:vf})}}parseDebuggerStatement(Kd){return this.next(),this.semicolon(),this.finishNode(Kd,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);let Kd=this.parseExpression();return this.expect(11),Kd}parseDoWhileStatement(Kd){return this.next(),this.state.labels.push(TE),Kd.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),Kd.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(Kd,"DoWhileStatement")}parseForStatement(Kd){this.next(),this.state.labels.push(TE);let Hd=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(Hd=this.state.lastTokStartLoc),this.scope.enter(0),this.expect(10),this.match(13))return Hd!==null&&this.unexpected(Hd),this.parseFor(Kd,null);let Qd=this.isContextual(100);{let im=this.isContextual(96)&&this.startsAwaitUsing(),Sm=im||this.isContextual(107)&&this.startsUsingForOf(),hm=Qd&&this.hasFollowingBindingAtom()||Sm;if(this.match(74)||this.match(75)||hm){let Qm=this.startNode(),yg;im?(yg="await using",this.isAwaitAllowed()||this.raise(Fd.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):yg=this.state.value,this.next(),this.parseVar(Qm,!0,yg);let Dg=this.finishNode(Qm,"VariableDeclaration"),Og=this.match(58);return Og&&Sm&&this.raise(Fd.ForInUsing,Dg),(Og||this.isContextual(102))&&Dg.declarations.length===1?this.parseForIn(Kd,Dg,Hd):(Hd!==null&&this.unexpected(Hd),this.parseFor(Kd,Dg))}}let vf=this.isContextual(95),$f=new ib,gh=this.parseExpression(!0,$f),kh=this.isContextual(102);if(kh&&(Qd&&this.raise(Fd.ForOfLet,gh),Hd===null&&vf&&gh.type==="Identifier"&&this.raise(Fd.ForOfAsync,gh)),kh||this.match(58)){this.checkDestructuringPrivate($f),this.toAssignable(gh,!0);let im=kh?"ForOfStatement":"ForInStatement";return this.checkLVal(gh,{in:{type:im}}),this.parseForIn(Kd,gh,Hd)}else this.checkExpressionErrors($f,!0);return Hd!==null&&this.unexpected(Hd),this.parseFor(Kd,gh)}parseFunctionStatement(Kd,Hd,Qd){return this.next(),this.parseFunction(Kd,1|(Qd?2:0)|(Hd?8:0))}parseIfStatement(Kd){return this.next(),Kd.test=this.parseHeaderExpression(),Kd.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),Kd.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(Kd,"IfStatement")}parseReturnStatement(Kd){return!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction&&this.raise(Fd.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?Kd.argument=null:(Kd.argument=this.parseExpression(),this.semicolon()),this.finishNode(Kd,"ReturnStatement")}parseSwitchStatement(Kd){this.next(),Kd.discriminant=this.parseHeaderExpression();let Hd=Kd.cases=[];this.expect(5),this.state.labels.push($b),this.scope.enter(0);let Qd;for(let vf;!this.match(8);)if(this.match(61)||this.match(65)){let $f=this.match(61);Qd&&this.finishNode(Qd,"SwitchCase"),Hd.push(Qd=this.startNode()),Qd.consequent=[],this.next(),$f?Qd.test=this.parseExpression():(vf&&this.raise(Fd.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),vf=!0,Qd.test=null),this.expect(14)}else Qd?Qd.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),Qd&&this.finishNode(Qd,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(Kd,"SwitchStatement")}parseThrowStatement(Kd){return this.next(),this.hasPrecedingLineBreak()&&this.raise(Fd.NewlineAfterThrow,this.state.lastTokEndLoc),Kd.argument=this.parseExpression(),this.semicolon(),this.finishNode(Kd,"ThrowStatement")}parseCatchClauseParam(){let Kd=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&Kd.type==="Identifier"?8:0),this.checkLVal(Kd,{in:{type:"CatchClause"},binding:9}),Kd}parseTryStatement(Kd){if(this.next(),Kd.block=this.parseBlock(),Kd.handler=null,this.match(62)){let Hd=this.startNode();this.next(),this.match(10)?(this.expect(10),Hd.param=this.parseCatchClauseParam(),this.expect(11)):(Hd.param=null,this.scope.enter(0)),Hd.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),Kd.handler=this.finishNode(Hd,"CatchClause")}return Kd.finalizer=this.eat(67)?this.parseBlock():null,!Kd.handler&&!Kd.finalizer&&this.raise(Fd.NoCatchOrFinally,Kd),this.finishNode(Kd,"TryStatement")}parseVarStatement(Kd,Hd,Qd=!1){return this.next(),this.parseVar(Kd,!1,Hd,Qd),this.semicolon(),this.finishNode(Kd,"VariableDeclaration")}parseWhileStatement(Kd){return this.next(),Kd.test=this.parseHeaderExpression(),this.state.labels.push(TE),Kd.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(Kd,"WhileStatement")}parseWithStatement(Kd){return this.state.strict&&this.raise(Fd.StrictWith,this.state.startLoc),this.next(),Kd.object=this.parseHeaderExpression(),Kd.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(Kd,"WithStatement")}parseEmptyStatement(Kd){return this.next(),this.finishNode(Kd,"EmptyStatement")}parseLabeledStatement(Kd,Hd,Qd,vf){for(let gh of this.state.labels)gh.name===Hd&&this.raise(Fd.LabelRedeclaration,Qd,{labelName:Hd});let $f=Pf(this.state.type)?1:this.match(71)?2:null;for(let gh=this.state.labels.length-1;gh>=0;gh--){let kh=this.state.labels[gh];if(kh.statementStart===Kd.start)kh.statementStart=this.state.start,kh.kind=$f;else break}return this.state.labels.push({name:Hd,kind:$f,statementStart:this.state.start}),Kd.body=vf&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),Kd.label=Qd,this.finishNode(Kd,"LabeledStatement")}parseExpressionStatement(Kd,Hd,Qd){return Kd.expression=Hd,this.semicolon(),this.finishNode(Kd,"ExpressionStatement")}parseBlock(Kd=!1,Hd=!0,Qd){let vf=this.startNode();return Kd&&this.state.strictErrors.clear(),this.expect(5),Hd&&this.scope.enter(0),this.parseBlockBody(vf,Kd,!1,8,Qd),Hd&&this.scope.exit(),this.finishNode(vf,"BlockStatement")}isValidDirective(Kd){return Kd.type==="ExpressionStatement"&&Kd.expression.type==="StringLiteral"&&!Kd.expression.extra.parenthesized}parseBlockBody(Kd,Hd,Qd,vf,$f){let gh=Kd.body=[],kh=Kd.directives=[];this.parseBlockOrModuleBlockBody(gh,Hd?kh:void 0,Qd,vf,$f)}parseBlockOrModuleBlockBody(Kd,Hd,Qd,vf,$f){let gh=this.state.strict,kh=!1,im=!1;for(;!this.match(vf);){let Sm=Qd?this.parseModuleItem():this.parseStatementListItem();if(Hd&&!im){if(this.isValidDirective(Sm)){let hm=this.stmtToDirective(Sm);Hd.push(hm),!kh&&hm.value.value==="use strict"&&(kh=!0,this.setStrict(!0));continue}im=!0,this.state.strictErrors.clear()}Kd.push(Sm)}$f==null||$f.call(this,kh),gh||this.setStrict(!1),this.next()}parseFor(Kd,Hd){return Kd.init=Hd,this.semicolon(!1),Kd.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),Kd.update=this.match(11)?null:this.parseExpression(),this.expect(11),Kd.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(Kd,"ForStatement")}parseForIn(Kd,Hd,Qd){let vf=this.match(58);return this.next(),vf?Qd!==null&&this.unexpected(Qd):Kd.await=Qd!==null,Hd.type==="VariableDeclaration"&&Hd.declarations[0].init!=null&&(!vf||!this.options.annexB||this.state.strict||Hd.kind!=="var"||Hd.declarations[0].id.type!=="Identifier")&&this.raise(Fd.ForInOfLoopInitializer,Hd,{type:vf?"ForInStatement":"ForOfStatement"}),Hd.type==="AssignmentPattern"&&this.raise(Fd.InvalidLhs,Hd,{ancestor:{type:"ForStatement"}}),Kd.left=Hd,Kd.right=vf?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),Kd.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(Kd,vf?"ForInStatement":"ForOfStatement")}parseVar(Kd,Hd,Qd,vf=!1){let $f=Kd.declarations=[];for(Kd.kind=Qd;;){let gh=this.startNode();if(this.parseVarId(gh,Qd),gh.init=this.eat(29)?Hd?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,gh.init===null&&!vf&&(gh.id.type!=="Identifier"&&!(Hd&&(this.match(58)||this.isContextual(102)))?this.raise(Fd.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"}):(Qd==="const"||Qd==="using"||Qd==="await using")&&!(this.match(58)||this.isContextual(102))&&this.raise(Fd.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:Qd})),$f.push(this.finishNode(gh,"VariableDeclarator")),!this.eat(12))break}return Kd}parseVarId(Kd,Hd){let Qd=this.parseBindingAtom();(Hd==="using"||Hd==="await using")&&(Qd.type==="ArrayPattern"||Qd.type==="ObjectPattern")&&this.raise(Fd.UsingDeclarationHasBindingPattern,Qd.loc.start),this.checkLVal(Qd,{in:{type:"VariableDeclarator"},binding:Hd==="var"?5:8201}),Kd.id=Qd}parseAsyncFunctionExpression(Kd){return this.parseFunction(Kd,8)}parseFunction(Kd,Hd=0){let Qd=Hd&2,vf=!!(Hd&1),$f=vf&&!(Hd&4),gh=!!(Hd&8);this.initFunction(Kd,gh),this.match(55)&&(Qd&&this.raise(Fd.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),Kd.generator=!0),vf&&(Kd.id=this.parseFunctionId($f));let kh=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(xb(gh,Kd.generator)),vf||(Kd.id=this.parseFunctionId()),this.parseFunctionParams(Kd,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(Kd,vf?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),vf&&!Qd&&this.registerFunctionStatementId(Kd),this.state.maybeInArrowParameters=kh,Kd}parseFunctionId(Kd){return Kd||Yf(this.state.type)?this.parseIdentifier():null}parseFunctionParams(Kd,Hd){this.expect(10),this.expressionScope.enter(R_()),Kd.params=this.parseBindingList(11,41,2|(Hd?4:0)),this.expressionScope.exit()}registerFunctionStatementId(Kd){Kd.id&&this.scope.declareName(Kd.id.name,!this.options.annexB||this.state.strict||Kd.generator||Kd.async?this.scope.treatFunctionsAsVar?5:8201:17,Kd.id.loc.start)}parseClass(Kd,Hd,Qd){this.next();let vf=this.state.strict;return this.state.strict=!0,this.parseClassId(Kd,Hd,Qd),this.parseClassSuper(Kd),Kd.body=this.parseClassBody(!!Kd.superClass,vf),this.finishNode(Kd,Hd?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(Kd){return Kd.type==="Identifier"&&Kd.name==="constructor"||Kd.type==="StringLiteral"&&Kd.value==="constructor"}isNonstaticConstructor(Kd){return!Kd.computed&&!Kd.static&&this.nameIsConstructor(Kd.key)}parseClassBody(Kd,Hd){this.classScope.enter();let Qd={hadConstructor:!1,hadSuperClass:Kd},vf=[],$f=this.startNode();if($f.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(vf.length>0)throw this.raise(Fd.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){vf.push(this.parseDecorator());continue}let gh=this.startNode();vf.length&&(gh.decorators=vf,this.resetStartLocationFromNode(gh,vf[0]),vf=[]),this.parseClassMember($f,gh,Qd),gh.kind==="constructor"&&gh.decorators&&gh.decorators.length>0&&this.raise(Fd.DecoratorConstructor,gh)}}),this.state.strict=Hd,this.next(),vf.length)throw this.raise(Fd.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode($f,"ClassBody")}parseClassMemberFromModifier(Kd,Hd){let Qd=this.parseIdentifier(!0);if(this.isClassMethod()){let vf=Hd;return vf.kind="method",vf.computed=!1,vf.key=Qd,vf.static=!1,this.pushClassMethod(Kd,vf,!1,!1,!1,!1),!0}else if(this.isClassProperty()){let vf=Hd;return vf.computed=!1,vf.key=Qd,vf.static=!1,Kd.body.push(this.parseClassProperty(vf)),!0}return this.resetPreviousNodeTrailingComments(Qd),!1}parseClassMember(Kd,Hd,Qd){let vf=this.isContextual(106);if(vf){if(this.parseClassMemberFromModifier(Kd,Hd))return;if(this.eat(5)){this.parseClassStaticBlock(Kd,Hd);return}}this.parseClassMemberWithIsStatic(Kd,Hd,Qd,vf)}parseClassMemberWithIsStatic(Kd,Hd,Qd,vf){let $f=Hd,gh=Hd,kh=Hd,im=Hd,Sm=Hd,hm=$f,Qm=$f;if(Hd.static=vf,this.parsePropertyNamePrefixOperator(Hd),this.eat(55)){hm.kind="method";let p_=this.match(138);if(this.parseClassElementName(hm),p_){this.pushClassPrivateMethod(Kd,gh,!0,!1);return}this.isNonstaticConstructor($f)&&this.raise(Fd.ConstructorIsGenerator,$f.key),this.pushClassMethod(Kd,$f,!0,!1,!1,!1);return}let yg=!this.state.containsEsc&&Yf(this.state.type),Dg=this.parseClassElementName(Hd),Og=yg?Dg.name:null,e_=this.isPrivateName(Dg),F_=this.state.startLoc;if(this.parsePostMemberNameModifiers(Qm),this.isClassMethod()){if(hm.kind="method",e_){this.pushClassPrivateMethod(Kd,gh,!1,!1);return}let p_=this.isNonstaticConstructor($f),v_=!1;p_&&($f.kind="constructor",Qd.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(Fd.DuplicateConstructor,Dg),p_&&this.hasPlugin("typescript")&&Hd.override&&this.raise(Fd.OverrideOnConstructor,Dg),Qd.hadConstructor=!0,v_=Qd.hadSuperClass),this.pushClassMethod(Kd,$f,!1,!1,p_,v_)}else if(this.isClassProperty())e_?this.pushClassPrivateProperty(Kd,im):this.pushClassProperty(Kd,kh);else if(Og==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(Dg);let p_=this.eat(55);Qm.optional&&this.unexpected(F_),hm.kind="method";let v_=this.match(138);this.parseClassElementName(hm),this.parsePostMemberNameModifiers(Qm),v_?this.pushClassPrivateMethod(Kd,gh,p_,!0):(this.isNonstaticConstructor($f)&&this.raise(Fd.ConstructorIsAsync,$f.key),this.pushClassMethod(Kd,$f,p_,!0,!1,!1))}else if((Og==="get"||Og==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(Dg),hm.kind=Og;let p_=this.match(138);this.parseClassElementName($f),p_?this.pushClassPrivateMethod(Kd,gh,!1,!1):(this.isNonstaticConstructor($f)&&this.raise(Fd.ConstructorIsAccessor,$f.key),this.pushClassMethod(Kd,$f,!1,!1,!1,!1)),this.checkGetterSetterParams($f)}else if(Og==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(Dg);let p_=this.match(138);this.parseClassElementName(kh),this.pushClassAccessorProperty(Kd,Sm,p_)}else this.isLineTerminator()?e_?this.pushClassPrivateProperty(Kd,im):this.pushClassProperty(Kd,kh):this.unexpected()}parseClassElementName(Kd){let{type:Hd,value:Qd}=this.state;if((Hd===132||Hd===133)&&Kd.static&&Qd==="prototype"&&this.raise(Fd.StaticPrototype,this.state.startLoc),Hd===138){Qd==="constructor"&&this.raise(Fd.ConstructorClassPrivateField,this.state.startLoc);let vf=this.parsePrivateName();return Kd.key=vf,vf}return this.parsePropertyName(Kd),Kd.key}parseClassStaticBlock(Kd,Hd){var Qd;this.scope.enter(208);let vf=this.state.labels;this.state.labels=[],this.prodParam.enter(0);let $f=Hd.body=[];this.parseBlockOrModuleBlockBody($f,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=vf,Kd.body.push(this.finishNode(Hd,"StaticBlock")),(Qd=Hd.decorators)!=null&&Qd.length&&this.raise(Fd.DecoratorStaticBlock,Hd)}pushClassProperty(Kd,Hd){!Hd.computed&&this.nameIsConstructor(Hd.key)&&this.raise(Fd.ConstructorClassField,Hd.key),Kd.body.push(this.parseClassProperty(Hd))}pushClassPrivateProperty(Kd,Hd){let Qd=this.parseClassPrivateProperty(Hd);Kd.body.push(Qd),this.classScope.declarePrivateName(this.getPrivateNameSV(Qd.key),0,Qd.key.loc.start)}pushClassAccessorProperty(Kd,Hd,Qd){!Qd&&!Hd.computed&&this.nameIsConstructor(Hd.key)&&this.raise(Fd.ConstructorClassField,Hd.key);let vf=this.parseClassAccessorProperty(Hd);Kd.body.push(vf),Qd&&this.classScope.declarePrivateName(this.getPrivateNameSV(vf.key),0,vf.key.loc.start)}pushClassMethod(Kd,Hd,Qd,vf,$f,gh){Kd.body.push(this.parseMethod(Hd,Qd,vf,$f,gh,"ClassMethod",!0))}pushClassPrivateMethod(Kd,Hd,Qd,vf){let $f=this.parseMethod(Hd,Qd,vf,!1,!1,"ClassPrivateMethod",!0);Kd.body.push($f);let gh=$f.kind==="get"?$f.static?6:2:$f.kind==="set"?$f.static?5:1:0;this.declareClassPrivateMethodInScope($f,gh)}declareClassPrivateMethodInScope(Kd,Hd){this.classScope.declarePrivateName(this.getPrivateNameSV(Kd.key),Hd,Kd.key.loc.start)}parsePostMemberNameModifiers(Kd){}parseClassPrivateProperty(Kd){return this.parseInitializer(Kd),this.semicolon(),this.finishNode(Kd,"ClassPrivateProperty")}parseClassProperty(Kd){return this.parseInitializer(Kd),this.semicolon(),this.finishNode(Kd,"ClassProperty")}parseClassAccessorProperty(Kd){return this.parseInitializer(Kd),this.semicolon(),this.finishNode(Kd,"ClassAccessorProperty")}parseInitializer(Kd){this.scope.enter(80),this.expressionScope.enter(Gb()),this.prodParam.enter(0),Kd.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(Kd,Hd,Qd,vf=8331){if(Yf(this.state.type))Kd.id=this.parseIdentifier(),Hd&&this.declareNameFromIdentifier(Kd.id,vf);else if(Qd||!Hd)Kd.id=null;else throw this.raise(Fd.MissingClassName,this.state.startLoc)}parseClassSuper(Kd){Kd.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(Kd,Hd){let Qd=this.parseMaybeImportPhase(Kd,!0),vf=this.maybeParseExportDefaultSpecifier(Kd,Qd),$f=!vf||this.eat(12),gh=$f&&this.eatExportStar(Kd),kh=gh&&this.maybeParseExportNamespaceSpecifier(Kd),im=$f&&(!kh||this.eat(12)),Sm=vf||gh;if(gh&&!kh){if(vf&&this.unexpected(),Hd)throw this.raise(Fd.UnsupportedDecoratorExport,Kd);return this.parseExportFrom(Kd,!0),this.finishNode(Kd,"ExportAllDeclaration")}let hm=this.maybeParseExportNamedSpecifiers(Kd);vf&&$f&&!gh&&!hm&&this.unexpected(null,5),kh&&im&&this.unexpected(null,98);let Qm;if(Sm||hm){if(Qm=!1,Hd)throw this.raise(Fd.UnsupportedDecoratorExport,Kd);this.parseExportFrom(Kd,Sm)}else Qm=this.maybeParseExportDeclaration(Kd);if(Sm||hm||Qm){var yg;let Dg=Kd;if(this.checkExport(Dg,!0,!1,!!Dg.source),((yg=Dg.declaration)==null?void 0:yg.type)==="ClassDeclaration")this.maybeTakeDecorators(Hd,Dg.declaration,Dg);else if(Hd)throw this.raise(Fd.UnsupportedDecoratorExport,Kd);return this.finishNode(Dg,"ExportNamedDeclaration")}if(this.eat(65)){let Dg=Kd,Og=this.parseExportDefaultExpression();if(Dg.declaration=Og,Og.type==="ClassDeclaration")this.maybeTakeDecorators(Hd,Og,Dg);else if(Hd)throw this.raise(Fd.UnsupportedDecoratorExport,Kd);return this.checkExport(Dg,!0,!0),this.finishNode(Dg,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(Kd){return this.eat(55)}maybeParseExportDefaultSpecifier(Kd,Hd){if(Hd||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",Hd==null?void 0:Hd.loc.start);let Qd=Hd||this.parseIdentifier(!0),vf=this.startNodeAtNode(Qd);return vf.exported=Qd,Kd.specifiers=[this.finishNode(vf,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(Kd){if(this.isContextual(93)){var Hd;(Hd=Kd).specifiers!=null||(Hd.specifiers=[]);let Qd=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),Qd.exported=this.parseModuleExportName(),Kd.specifiers.push(this.finishNode(Qd,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(Kd){if(this.match(5)){let Hd=Kd;Hd.specifiers||(Hd.specifiers=[]);let Qd=Hd.exportKind==="type";return Hd.specifiers.push(...this.parseExportSpecifiers(Qd)),Hd.source=null,Hd.declaration=null,this.hasPlugin("importAssertions")&&(Hd.assertions=[]),!0}return!1}maybeParseExportDeclaration(Kd){return this.shouldParseExportDeclaration()?(Kd.specifiers=[],Kd.source=null,this.hasPlugin("importAssertions")&&(Kd.assertions=[]),Kd.declaration=this.parseExportDeclaration(Kd),!0):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;let Kd=this.nextTokenInLineStart();return this.isUnparsedContextual(Kd,"function")}parseExportDefaultExpression(){let Kd=this.startNode();if(this.match(68))return this.next(),this.parseFunction(Kd,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(Kd,13);if(this.match(80))return this.parseClass(Kd,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(Fd.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(Fd.UnsupportedDefaultExport,this.state.startLoc);let Hd=this.parseMaybeAssignAllowIn();return this.semicolon(),Hd}parseExportDeclaration(Kd){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:Kd}=this.state;if(Yf(Kd)){if(Kd===95&&!this.state.containsEsc||Kd===100)return!1;if((Kd===130||Kd===129)&&!this.state.containsEsc){let{type:vf}=this.lookahead();if(Yf(vf)&&vf!==98||vf===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let Hd=this.nextTokenStart(),Qd=this.isUnparsedContextual(Hd,"from");if(this.input.charCodeAt(Hd)===44||Yf(this.state.type)&&Qd)return!0;if(this.match(65)&&Qd){let vf=this.input.charCodeAt(this.nextTokenStartSince(Hd+4));return vf===34||vf===39}return!1}parseExportFrom(Kd,Hd){this.eatContextual(98)?(Kd.source=this.parseImportSource(),this.checkExport(Kd),this.maybeParseImportAttributes(Kd),this.checkJSONModuleImport(Kd)):Hd&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){let{type:Kd}=this.state;return Kd===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(Fd.DecoratorBeforeExport,this.state.startLoc),!0):this.isContextual(107)?(this.raise(Fd.UsingDeclarationExport,this.state.startLoc),!0):this.isContextual(96)&&this.startsAwaitUsing()?(this.raise(Fd.UsingDeclarationExport,this.state.startLoc),!0):Kd===74||Kd===75||Kd===68||Kd===80||this.isLet()||this.isAsyncFunction()}checkExport(Kd,Hd,Qd,vf){if(Hd){var $f;if(Qd){if(this.checkDuplicateExports(Kd,"default"),this.hasPlugin("exportDefaultFrom")){var gh;let kh=Kd.declaration;kh.type==="Identifier"&&kh.name==="from"&&kh.end-kh.start===4&&!((gh=kh.extra)!=null&&gh.parenthesized)&&this.raise(Fd.ExportDefaultFromAsIdentifier,kh)}}else if(($f=Kd.specifiers)!=null&&$f.length)for(let kh of Kd.specifiers){let{exported:im}=kh,Sm=im.type==="Identifier"?im.name:im.value;if(this.checkDuplicateExports(kh,Sm),!vf&&kh.local){let{local:hm}=kh;hm.type!=="Identifier"?this.raise(Fd.ExportBindingIsString,kh,{localName:hm.value,exportName:Sm}):(this.checkReservedWord(hm.name,hm.loc.start,!0,!1),this.scope.checkLocalExport(hm))}}else if(Kd.declaration){let kh=Kd.declaration;if(kh.type==="FunctionDeclaration"||kh.type==="ClassDeclaration"){let{id:im}=kh;if(!im)throw new Error("Assertion failure");this.checkDuplicateExports(Kd,im.name)}else if(kh.type==="VariableDeclaration")for(let im of kh.declarations)this.checkDeclaration(im.id)}}}checkDeclaration(Kd){if(Kd.type==="Identifier")this.checkDuplicateExports(Kd,Kd.name);else if(Kd.type==="ObjectPattern")for(let Hd of Kd.properties)this.checkDeclaration(Hd);else if(Kd.type==="ArrayPattern")for(let Hd of Kd.elements)Hd&&this.checkDeclaration(Hd);else Kd.type==="ObjectProperty"?this.checkDeclaration(Kd.value):Kd.type==="RestElement"?this.checkDeclaration(Kd.argument):Kd.type==="AssignmentPattern"&&this.checkDeclaration(Kd.left)}checkDuplicateExports(Kd,Hd){this.exportedIdentifiers.has(Hd)&&(Hd==="default"?this.raise(Fd.DuplicateDefaultExport,Kd):this.raise(Fd.DuplicateExport,Kd,{exportName:Hd})),this.exportedIdentifiers.add(Hd)}parseExportSpecifiers(Kd){let Hd=[],Qd=!0;for(this.expect(5);!this.eat(8);){if(Qd)Qd=!1;else if(this.expect(12),this.eat(8))break;let vf=this.isContextual(130),$f=this.match(133),gh=this.startNode();gh.local=this.parseModuleExportName(),Hd.push(this.parseExportSpecifier(gh,$f,Kd,vf))}return Hd}parseExportSpecifier(Kd,Hd,Qd,vf){return this.eatContextual(93)?Kd.exported=this.parseModuleExportName():Hd?Kd.exported=Vb(Kd.local):Kd.exported||(Kd.exported=sb(Kd.local)),this.finishNode(Kd,"ExportSpecifier")}parseModuleExportName(){if(this.match(133)){let Kd=this.parseStringLiteral(this.state.value),Hd=oS.exec(Kd.value);return Hd&&this.raise(Fd.ModuleExportNameHasLoneSurrogate,Kd,{surrogateCharCode:Hd[0].charCodeAt(0)}),Kd}return this.parseIdentifier(!0)}isJSONModuleImport(Kd){return Kd.assertions!=null?Kd.assertions.some(({key:Hd,value:Qd})=>Qd.value==="json"&&(Hd.type==="Identifier"?Hd.name==="type":Hd.value==="type")):!1}checkImportReflection(Kd){let{specifiers:Hd}=Kd,Qd=Hd.length===1?Hd[0].type:null;if(Kd.phase==="source")Qd!=="ImportDefaultSpecifier"&&this.raise(Fd.SourcePhaseImportRequiresDefault,Hd[0].loc.start);else if(Kd.phase==="defer")Qd!=="ImportNamespaceSpecifier"&&this.raise(Fd.DeferImportRequiresNamespace,Hd[0].loc.start);else if(Kd.module){var vf;Qd!=="ImportDefaultSpecifier"&&this.raise(Fd.ImportReflectionNotBinding,Hd[0].loc.start),((vf=Kd.assertions)==null?void 0:vf.length)>0&&this.raise(Fd.ImportReflectionHasAssertion,Hd[0].loc.start)}}checkJSONModuleImport(Kd){if(this.isJSONModuleImport(Kd)&&Kd.type!=="ExportAllDeclaration"){let{specifiers:Hd}=Kd;if(Hd!=null){let Qd=Hd.find(vf=>{let $f;if(vf.type==="ExportSpecifier"?$f=vf.local:vf.type==="ImportSpecifier"&&($f=vf.imported),$f!==void 0)return $f.type==="Identifier"?$f.name!=="default":$f.value!=="default"});Qd!==void 0&&this.raise(Fd.ImportJSONBindingNotDefault,Qd.loc.start)}}}isPotentialImportPhase(Kd){return Kd?!1:this.isContextual(105)||this.isContextual(97)||this.isContextual(127)}applyImportPhase(Kd,Hd,Qd,vf){Hd||(Qd==="module"?(this.expectPlugin("importReflection",vf),Kd.module=!0):this.hasPlugin("importReflection")&&(Kd.module=!1),Qd==="source"?(this.expectPlugin("sourcePhaseImports",vf),Kd.phase="source"):Qd==="defer"?(this.expectPlugin("deferredImportEvaluation",vf),Kd.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(Kd.phase=null))}parseMaybeImportPhase(Kd,Hd){if(!this.isPotentialImportPhase(Hd))return this.applyImportPhase(Kd,Hd,null),null;let Qd=this.parseIdentifier(!0),{type:vf}=this.state;return(Rh(vf)?vf!==98||this.lookaheadCharCode()===102:vf!==12)?(this.resetPreviousIdentifierLeadingComments(Qd),this.applyImportPhase(Kd,Hd,Qd.name,Qd.loc.start),null):(this.applyImportPhase(Kd,Hd,null),Qd)}isPrecedingIdImportPhase(Kd){let{type:Hd}=this.state;return Yf(Hd)?Hd!==98||this.lookaheadCharCode()===102:Hd!==12}parseImport(Kd){return this.match(133)?this.parseImportSourceAndAttributes(Kd):this.parseImportSpecifiersAndAfter(Kd,this.parseMaybeImportPhase(Kd,!1))}parseImportSpecifiersAndAfter(Kd,Hd){Kd.specifiers=[];let Qd=!this.maybeParseDefaultImportSpecifier(Kd,Hd)||this.eat(12),vf=Qd&&this.maybeParseStarImportSpecifier(Kd);return Qd&&!vf&&this.parseNamedImportSpecifiers(Kd),this.expectContextual(98),this.parseImportSourceAndAttributes(Kd)}parseImportSourceAndAttributes(Kd){return Kd.specifiers!=null||(Kd.specifiers=[]),Kd.source=this.parseImportSource(),this.maybeParseImportAttributes(Kd),this.checkImportReflection(Kd),this.checkJSONModuleImport(Kd),this.semicolon(),this.finishNode(Kd,"ImportDeclaration")}parseImportSource(){return this.match(133)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(Kd,Hd,Qd){Hd.local=this.parseIdentifier(),Kd.specifiers.push(this.finishImportSpecifier(Hd,Qd))}finishImportSpecifier(Kd,Hd,Qd=8201){return this.checkLVal(Kd.local,{in:{type:Hd},binding:Qd}),this.finishNode(Kd,Hd)}parseImportAttributes(){this.expect(5);let Kd=[],Hd=new Set;do{if(this.match(8))break;let Qd=this.startNode(),vf=this.state.value;if(Hd.has(vf)&&this.raise(Fd.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:vf}),Hd.add(vf),this.match(133)?Qd.key=this.parseStringLiteral(vf):Qd.key=this.parseIdentifier(!0),this.expect(14),!this.match(133))throw this.raise(Fd.ModuleAttributeInvalidValue,this.state.startLoc);Qd.value=this.parseStringLiteral(this.state.value),Kd.push(this.finishNode(Qd,"ImportAttribute"))}while(this.eat(12));return this.expect(8),Kd}parseModuleAttributes(){let Kd=[],Hd=new Set;do{let Qd=this.startNode();if(Qd.key=this.parseIdentifier(!0),Qd.key.name!=="type"&&this.raise(Fd.ModuleAttributeDifferentFromType,Qd.key),Hd.has(Qd.key.name)&&this.raise(Fd.ModuleAttributesWithDuplicateKeys,Qd.key,{key:Qd.key.name}),Hd.add(Qd.key.name),this.expect(14),!this.match(133))throw this.raise(Fd.ModuleAttributeInvalidValue,this.state.startLoc);Qd.value=this.parseStringLiteral(this.state.value),Kd.push(this.finishNode(Qd,"ImportAttribute"))}while(this.eat(12));return Kd}maybeParseImportAttributes(Kd){let Hd,Qd=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin("moduleAttributes")?Hd=this.parseModuleAttributes():(this.expectImportAttributesPlugin(),Hd=this.parseImportAttributes()),Qd=!0}else if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.hasPlugin("importAttributes")?(this.getPluginOption("importAttributes","deprecatedAssertSyntax")!==!0&&this.raise(Fd.ImportAttributesUseAssert,this.state.startLoc),this.addExtra(Kd,"deprecatedAssertSyntax",!0)):this.expectOnePlugin(["importAttributes","importAssertions"]),this.next(),Hd=this.parseImportAttributes();else if(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))Hd=[];else if(this.hasPlugin("moduleAttributes"))Hd=[];else return;!Qd&&this.hasPlugin("importAssertions")?Kd.assertions=Hd:Kd.attributes=Hd}maybeParseDefaultImportSpecifier(Kd,Hd){if(Hd){let Qd=this.startNodeAtNode(Hd);return Qd.local=Hd,Kd.specifiers.push(this.finishImportSpecifier(Qd,"ImportDefaultSpecifier")),!0}else if(Rh(this.state.type))return this.parseImportSpecifierLocal(Kd,this.startNode(),"ImportDefaultSpecifier"),!0;return!1}maybeParseStarImportSpecifier(Kd){if(this.match(55)){let Hd=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(Kd,Hd,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(Kd){let Hd=!0;for(this.expect(5);!this.eat(8);){if(Hd)Hd=!1;else{if(this.eat(14))throw this.raise(Fd.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}let Qd=this.startNode(),vf=this.match(133),$f=this.isContextual(130);Qd.imported=this.parseModuleExportName();let gh=this.parseImportSpecifier(Qd,vf,Kd.importKind==="type"||Kd.importKind==="typeof",$f,void 0);Kd.specifiers.push(gh)}}parseImportSpecifier(Kd,Hd,Qd,vf,$f){if(this.eatContextual(93))Kd.local=this.parseIdentifier();else{let{imported:gh}=Kd;if(Hd)throw this.raise(Fd.ImportBindingIsString,Kd,{importName:gh.value});this.checkReservedWord(gh.name,Kd.loc.start,!0,!0),Kd.local||(Kd.local=sb(gh))}return this.finishImportSpecifier(Kd,"ImportSpecifier",$f)}isThisParam(Kd){return Kd.type==="Identifier"&&Kd.name==="this"}},Mv=class extends kv{constructor(Kd,Hd){Kd=sS(Kd),super(Kd,Hd),this.options=Kd,this.initializeScopes(),this.plugins=k_(this.options.plugins),this.filename=Kd.sourceFilename}getScopeHandler(){return B_}parse(){this.enterInitialScopes();let Kd=this.startNode(),Hd=this.startNode();return this.nextToken(),Kd.errors=null,this.parseTopLevel(Kd,Hd),Kd.errors=this.state.errors,Kd.comments.length=this.state.commentsLen,Kd}};function k_(Kd){let Hd=new Map;for(let Qd of Kd){let[vf,$f]=Array.isArray(Qd)?Qd:[Qd,{}];Hd.has(vf)||Hd.set(vf,$f||{})}return Hd}function i0(Kd,Hd){var Qd;if(((Qd=Hd)==null?void 0:Qd.sourceType)==="unambiguous"){Hd=Object.assign({},Hd);try{Hd.sourceType="module";let vf=Yb(Hd,Kd),$f=vf.parse();if(vf.sawUnambiguousESM)return $f;if(vf.ambiguousScriptDifferentAst)try{return Hd.sourceType="script",Yb(Hd,Kd).parse()}catch{}else $f.program.sourceType="script";return $f}catch(vf){try{return Hd.sourceType="script",Yb(Hd,Kd).parse()}catch{}throw vf}}else return Yb(Hd,Kd).parse()}function xE(Kd,Hd){let Qd=Yb(Hd,Kd);return Qd.options.strictMode&&(Qd.state.strict=!0),Qd.getExpression()}function lS(Kd){let Hd={};for(let Qd of Object.keys(Kd))Hd[Qd]=Lm(Kd[Qd]);return Hd}var K0=lS(xf);function Yb(Kd,Hd){let Qd=Mv;return Kd!=null&&Kd.plugins&&(Wb(Kd.plugins),Qd=QS(Kd.plugins)),new Qd(Kd,Hd)}var uS={};function QS(Kd){let Hd=Ov.filter($f=>$_(Kd,$f)),Qd=Hd.join("/"),vf=uS[Qd];if(!vf){vf=Mv;for(let $f of Hd)vf=Y0[$f](vf);uS[Qd]=vf}return vf}Ra.parse=i0,Ra.parseExpression=xE,Ra.tokTypes=K0}),kt$3={};Ws$1(kt$3,{parsers:()=>Qr$3});var _e$6=vt$5(At$4());function Me$6(Ra){return(qa,nd,od)=>{let ld=!!(od!=null&&od.backwards);if(nd===!1)return!1;let{length:ud}=qa,dd=nd;for(;dd>=0&&dd<ud;){let pd=qa.charAt(dd);if(Ra instanceof RegExp){if(!Ra.test(pd))return dd}else if(!Ra.includes(pd))return dd;ld?dd--:dd++}return dd===-1||dd===ud?dd:!1}}var ls$1=Me$6(" "),cs$4=Me$6(/[^\n\r]/u);function dr$2(Ra,qa){if(qa===!1)return!1;if(Ra.charAt(qa)==="/"&&Ra.charAt(qa+1)==="*"){for(let nd=qa+2;nd<Ra.length;++nd)if(Ra.charAt(nd)==="*"&&Ra.charAt(nd+1)==="/")return nd+2}return qa}var ps$1=dr$2;function mr$2(Ra,qa,nd){let od=!!(nd!=null&&nd.backwards);if(qa===!1)return!1;let ld=Ra.charAt(qa);if(od){if(Ra.charAt(qa-1)==="\r"&&ld===`
`)return qa-2;if(ld===`
`||ld==="\r"||ld==="\u2028"||ld==="\u2029")return qa-1}else{if(ld==="\r"&&Ra.charAt(qa+1)===`
`)return qa+2;if(ld===`
`||ld==="\r"||ld==="\u2028"||ld==="\u2029")return qa+1}return qa}var us$2=mr$2;function yr$2(Ra,qa){return qa===!1?!1:Ra.charAt(qa)==="/"&&Ra.charAt(qa+1)==="/"?cs$4(Ra,qa):qa}var fs$2=yr$2;function xr$3(Ra,qa){let nd=null,od=qa;for(;od!==nd;)nd=od,od=ls$1(Ra,od),od=ps$1(Ra,od),od=fs$2(Ra,od),od=us$2(Ra,od);return od}var ds$1=xr$3;function Pr$3(Ra){let qa=[];for(let nd of Ra)try{return nd()}catch(od){qa.push(od)}throw Object.assign(new Error("All combinations failed"),{errors:qa})}var ms$2=Pr$3;function gr$2(Ra){if(!Ra.startsWith("#!"))return"";let qa=Ra.indexOf(`
`);return qa===-1?Ra:Ra.slice(0,qa)}var Oe$6=gr$2,Tr$3=(Ra,qa,nd)=>{if(!(Ra&&qa==null))return Array.isArray(qa)||typeof qa=="string"?qa[nd<0?qa.length+nd:nd]:qa.at(nd)},St$4=Tr$3;function br$5(Ra){return Array.isArray(Ra)&&Ra.length>0}var Pe$6=br$5;function D$4(Ra){var qa,nd,od;let ld=((qa=Ra.range)==null?void 0:qa[0])??Ra.start,ud=(od=((nd=Ra.declaration)==null?void 0:nd.decorators)??Ra.decorators)==null?void 0:od[0];return ud?Math.min(D$4(ud),ld):ld}function B$5(Ra){var qa;return((qa=Ra.range)==null?void 0:qa[1])??Ra.end}function Ar$2(Ra){let qa=new Set(Ra);return nd=>qa.has(nd==null?void 0:nd.type)}var ys$2=Ar$2,Sr$3=ys$2(["Block","CommentBlock","MultiLine"]),ge$7=Sr$3;function wr$3(Ra){let qa=`*${Ra.value}*`.split(`
`);return qa.length>1&&qa.every(nd=>nd.trimStart()[0]==="*")}var wt$3=wr$3;function Cr$1(Ra){return ge$7(Ra)&&Ra.value[0]==="*"&&/@(?:type|satisfies)\b/u.test(Ra.value)}var xs$2=Cr$1,Te$5=null;function be$8(Ra){if(Te$5!==null&&typeof Te$5.property){let qa=Te$5;return Te$5=be$8.prototype=null,qa}return Te$5=be$8.prototype=Ra??Object.create(null),new be$8}var Er$2=10;for(let Ra=0;Ra<=Er$2;Ra++)be$8();function Ct$4(Ra){return be$8(Ra)}function Ir$3(Ra,qa="type"){Ct$4(Ra);function nd(od){let ld=od[qa],ud=Ra[ld];if(!Array.isArray(ud))throw Object.assign(new Error(`Missing visitor keys for '${ld}'.`),{node:od});return ud}return nd}var Ps$1=Ir$3,gs$3={ArrayExpression:["elements"],AssignmentExpression:["left","right"],BinaryExpression:["left","right"],InterpreterDirective:[],Directive:["value"],DirectiveLiteral:[],BlockStatement:["directives","body"],BreakStatement:["label"],CallExpression:["callee","arguments","typeParameters","typeArguments"],CatchClause:["param","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["test","body"],EmptyStatement:[],ExpressionStatement:["expression"],File:["program"],ForInStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body","returnType","typeParameters","predicate"],FunctionExpression:["id","params","body","returnType","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:["test","consequent","alternate"],LabeledStatement:["label","body"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],NewExpression:["callee","arguments","typeParameters","typeArguments"],Program:["directives","body"],ObjectExpression:["properties"],ObjectMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectProperty:["key","value","decorators"],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:["argument"],SequenceExpression:["expressions"],ParenthesizedExpression:["expression"],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],AssignmentPattern:["left","right","decorators","typeAnnotation"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrowFunctionExpression:["params","body","returnType","typeParameters","predicate"],ClassBody:["body"],ClassExpression:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators","superTypeArguments"],ClassDeclaration:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators","superTypeArguments"],ExportAllDeclaration:["source","attributes","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes"],ExportSpecifier:["local","exported"],ForOfStatement:["left","right","body"],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["local","imported"],ImportExpression:["source","options","attributes"],MetaProperty:["meta","property"],ClassMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectPattern:["properties","typeAnnotation","decorators"],SpreadElement:["argument"],Super:[],TaggedTemplateExpression:["tag","quasi","typeParameters","typeArguments"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],YieldExpression:["argument"],AwaitExpression:["argument"],Import:[],BigIntLiteral:[],ExportNamespaceSpecifier:["exported"],OptionalMemberExpression:["object","property"],OptionalCallExpression:["callee","arguments","typeParameters","typeArguments"],ClassProperty:["key","value","typeAnnotation","decorators","variance"],ClassAccessorProperty:["key","value","typeAnnotation","decorators"],ClassPrivateProperty:["key","value","decorators","typeAnnotation","variance"],ClassPrivateMethod:["key","params","body","decorators","returnType","typeParameters"],PrivateName:["id"],StaticBlock:["body"],AnyTypeAnnotation:[],ArrayTypeAnnotation:["elementType"],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:["id","typeParameters"],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareFunction:["id","predicate"],DeclareInterface:["id","typeParameters","extends","body"],DeclareModule:["id","body"],DeclareModuleExports:["typeAnnotation"],DeclareTypeAlias:["id","typeParameters","right"],DeclareOpaqueType:["id","typeParameters","supertype"],DeclareVariable:["id"],DeclareExportDeclaration:["declaration","specifiers","source"],DeclareExportAllDeclaration:["source"],DeclaredPredicate:["value"],ExistsTypeAnnotation:[],FunctionTypeAnnotation:["typeParameters","params","rest","returnType","this"],FunctionTypeParam:["name","typeAnnotation"],GenericTypeAnnotation:["id","typeParameters"],InferredPredicate:[],InterfaceExtends:["id","typeParameters"],InterfaceDeclaration:["id","typeParameters","extends","body"],InterfaceTypeAnnotation:["extends","body"],IntersectionTypeAnnotation:["types"],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:["typeAnnotation"],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeInternalSlot:["id","value"],ObjectTypeCallProperty:["value"],ObjectTypeIndexer:["id","key","value","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:["argument"],OpaqueType:["id","typeParameters","supertype","impltype"],QualifiedTypeIdentifier:["id","qualification"],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:["types","elementTypes"],TypeofTypeAnnotation:["argument","typeArguments"],TypeAlias:["id","typeParameters","right"],TypeAnnotation:["typeAnnotation"],TypeCastExpression:["expression","typeAnnotation"],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:["params"],TypeParameterInstantiation:["params"],UnionTypeAnnotation:["types"],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:["id","body"],EnumBooleanBody:["members"],EnumNumberBody:["members"],EnumStringBody:["members"],EnumSymbolBody:["members"],EnumBooleanMember:["id","init"],EnumNumberMember:["id","init"],EnumStringMember:["id","init"],EnumDefaultedMember:["id"],IndexedAccessType:["objectType","indexType"],OptionalIndexedAccessType:["objectType","indexType"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXSpreadChild:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes","typeArguments","typeParameters"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXOpeningFragment:[],JSXClosingFragment:[],Noop:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:["object","callee"],ImportAttribute:["key","value"],Decorator:["expression"],DoExpression:["body"],ExportDefaultSpecifier:["exported"],RecordExpression:["properties"],TupleExpression:["elements"],DecimalLiteral:[],ModuleExpression:["body"],TopicReference:[],PipelineTopicExpression:["expression"],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:[],TSParameterProperty:["parameter","decorators"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSQualifiedName:["left","right"],TSCallSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSPropertySignature:["key","typeAnnotation"],TSMethodSignature:["key","typeParameters","parameters","typeAnnotation","params","returnType"],TSIndexSignature:["parameters","typeAnnotation"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructorType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSTypeReference:["typeName","typeParameters","typeArguments"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeParameters","typeArguments"],TSTypeLiteral:["members"],TSArrayType:["elementType"],TSTupleType:["elementTypes"],TSOptionalType:["typeAnnotation"],TSRestType:["typeAnnotation"],TSNamedTupleMember:["label","elementType"],TSUnionType:["types"],TSIntersectionType:["types"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSInferType:["typeParameter"],TSParenthesizedType:["typeAnnotation"],TSTypeOperator:["typeAnnotation"],TSIndexedAccessType:["objectType","indexType"],TSMappedType:["typeParameter","typeAnnotation","nameType"],TSLiteralType:["literal"],TSExpressionWithTypeArguments:["expression","typeParameters"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceBody:["body"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSInstantiationExpression:["expression","typeParameters","typeArguments"],TSAsExpression:["expression","typeAnnotation"],TSSatisfiesExpression:["expression","typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSEnumDeclaration:["id","members"],TSEnumMember:["id","initializer"],TSModuleDeclaration:["id","body"],TSModuleBlock:["body"],TSImportType:["argument","qualifier","typeParameters","typeArguments"],TSImportEqualsDeclaration:["id","moduleReference"],TSExternalModuleReference:["expression"],TSNonNullExpression:["expression"],TSExportAssignment:["expression"],TSNamespaceExportDeclaration:["id"],TSTypeAnnotation:["typeAnnotation"],TSTypeParameterInstantiation:["params"],TSTypeParameterDeclaration:["params"],TSTypeParameter:["constraint","default","name"],ChainExpression:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],Literal:[],MethodDefinition:["decorators","key","value"],PrivateIdentifier:[],Property:["key","value"],PropertyDefinition:["decorators","key","typeAnnotation","value","variance"],AccessorProperty:["decorators","key","typeAnnotation","value"],TSAbstractAccessorProperty:["decorators","key","typeAnnotation"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAsyncKeyword:[],TSClassImplements:["expression","typeArguments","typeParameters"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSEnumBody:["members"],TSExportKeyword:[],TSInterfaceHeritage:["expression","typeArguments","typeParameters"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],TSTemplateLiteralType:["quasis","types"],AsConstExpression:["expression"],AsExpression:["expression","typeAnnotation"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],ComponentDeclaration:["id","params","body","typeParameters","rendersType"],ComponentParameter:["name","local"],ComponentTypeAnnotation:["params","rest","typeParameters","rendersType"],ComponentTypeParameter:["name","typeAnnotation"],ConditionalTypeAnnotation:["checkType","extendsType","trueType","falseType"],DeclareComponent:["id","params","rest","typeParameters","rendersType"],DeclareEnum:["id","body"],DeclareHook:["id"],DeclareNamespace:["id","body"],EnumBigIntBody:["members"],EnumBigIntMember:["id","init"],HookDeclaration:["id","params","body","typeParameters","returnType"],HookTypeAnnotation:["params","returnType","rest","typeParameters"],InferTypeAnnotation:["typeParameter"],KeyofTypeAnnotation:["argument"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],QualifiedTypeofIdentifier:["qualification","id"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypeOperator:["typeAnnotation"],TypePredicate:["parameterName","typeAnnotation","asserts"],NGRoot:["node"],NGPipeExpression:["left","right","arguments"],NGChainedExpression:["expressions"],NGEmptyExpression:[],NGMicrosyntax:["body"],NGMicrosyntaxKey:[],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:["key","value"],NGMicrosyntaxAs:["key","alias"],JsExpressionRoot:["node"],JsonRoot:["node"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:["typeAnnotation"],TSJSDocNonNullableType:["typeAnnotation"],NeverTypeAnnotation:[],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[],SatisfiesExpression:["expression","typeAnnotation"]},Nr$3=Ps$1(gs$3),Ts$2=Nr$3;function Et$4(Ra,qa){if(!(Ra!==null&&typeof Ra=="object"))return Ra;if(Array.isArray(Ra)){for(let od=0;od<Ra.length;od++)Ra[od]=Et$4(Ra[od],qa);return Ra}let nd=Ts$2(Ra);for(let od=0;od<nd.length;od++)Ra[nd[od]]=Et$4(Ra[nd[od]],qa);return qa(Ra)||Ra}var Fe$4=Et$4;function kr$3(Ra,qa){let{parser:nd,text:od}=qa;if(Ra.type==="File"&&Ra.program.interpreter){let{program:{interpreter:ld},comments:ud}=Ra;delete Ra.program.interpreter,ud.unshift(ld)}if(nd==="babel"){let ld=new Set;Ra=Fe$4(Ra,ud=>{var dd;(dd=ud.leadingComments)!=null&&dd.some(xs$2)&&ld.add(D$4(ud))}),Ra=Fe$4(Ra,ud=>{if(ud.type==="ParenthesizedExpression"){let{expression:dd}=ud;if(dd.type==="TypeCastExpression")return dd.range=[...ud.range],dd;let pd=D$4(ud);if(!ld.has(pd))return dd.extra={...dd.extra,parenthesized:!0},dd}})}if(Ra=Fe$4(Ra,ld=>{var ud;switch(ld.type){case"LogicalExpression":if(bs$2(ld))return It$3(ld);break;case"VariableDeclaration":{let dd=St$4(!1,ld.declarations,-1);dd!=null&&dd.init&&od[B$5(dd)]!==";"&&(ld.range=[D$4(ld),B$5(dd)]);break}case"TSParenthesizedType":return ld.typeAnnotation;case"TSTypeParameter":if(typeof ld.name=="string"){let dd=D$4(ld);ld.name={type:"Identifier",name:ld.name,range:[dd,dd+ld.name.length]}}break;case"TopicReference":Ra.extra={...Ra.extra,__isUsingHackPipeline:!0};break;case"ExportAllDeclaration":if(nd==="meriyah"&&((ud=ld.exported)==null?void 0:ud.type)==="Identifier"){let{exported:dd}=ld,pd=od.slice(D$4(dd),B$5(dd));(pd.startsWith('"')||pd.startsWith("'"))&&(ld.exported={...ld.exported,type:"Literal",value:ld.exported.name,raw:pd})}break;case"TSUnionType":case"TSIntersectionType":if(ld.types.length===1)return ld.types[0];break}}),Pe$6(Ra.comments)){let ld=St$4(!1,Ra.comments,-1);for(let ud=Ra.comments.length-2;ud>=0;ud--){let dd=Ra.comments[ud];B$5(dd)===D$4(ld)&&ge$7(dd)&&ge$7(ld)&&wt$3(dd)&&wt$3(ld)&&(Ra.comments.splice(ud+1,1),dd.value+="*//*"+ld.value,dd.range=[D$4(dd),B$5(ld)]),ld=dd}}return Ra.type==="Program"&&(Ra.range=[0,od.length]),Ra}function bs$2(Ra){return Ra.type==="LogicalExpression"&&Ra.right.type==="LogicalExpression"&&Ra.operator===Ra.right.operator}function It$3(Ra){return bs$2(Ra)?It$3({type:"LogicalExpression",operator:Ra.operator,left:It$3({type:"LogicalExpression",operator:Ra.operator,left:Ra.left,right:Ra.right.left,range:[D$4(Ra.left),B$5(Ra.right.left)]}),right:Ra.right.right,range:[D$4(Ra),B$5(Ra)]}):Ra}var As$2=kr$3;function vr$2(Ra,qa){let nd=new SyntaxError(Ra+" ("+qa.loc.start.line+":"+qa.loc.start.column+")");return Object.assign(nd,qa)}var Be$7=vr$2;function Lr$3(Ra){let{message:qa,loc:{line:nd,column:od},reasonCode:ld}=Ra,ud=Ra;(ld==="MissingPlugin"||ld==="MissingOneOfPlugins")&&(qa="Unexpected token.",ud=void 0);let dd=` (${nd}:${od})`;return qa.endsWith(dd)&&(qa=qa.slice(0,-dd.length)),Be$7(qa,{loc:{start:{line:nd,column:od+1}},cause:ud})}var Re$7=Lr$3,Dr$2=(Ra,qa,nd,od)=>{if(!(Ra&&qa==null))return qa.replaceAll?qa.replaceAll(nd,od):nd.global?qa.replace(nd,od):qa.split(nd).join(od)},ie$5=Dr$2,Mr$3=/\*\/$/,Or$3=/^\/\*\*?/,Fr$2=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,Br$4=/(^|\s+)\/\/([^\n\r]*)/g,Ss$1=/^(\r?\n)+/,Rr$2=/(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g,ws$2=/(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g,Ur$3=/(\r?\n|^) *\* ?/g,_r$3=[];function Cs$1(Ra){let qa=Ra.match(Fr$2);return qa?qa[0].trimStart():""}function Es$1(Ra){let qa=`
`;Ra=ie$5(!1,Ra.replace(Or$3,"").replace(Mr$3,""),Ur$3,"$1");let nd="";for(;nd!==Ra;)nd=Ra,Ra=ie$5(!1,Ra,Rr$2,`${qa}$1 $2${qa}`);Ra=Ra.replace(Ss$1,"").trimEnd();let od=Object.create(null),ld=ie$5(!1,Ra,ws$2,"").replace(Ss$1,"").trimEnd(),ud;for(;ud=ws$2.exec(Ra);){let dd=ie$5(!1,ud[2],Br$4,"");if(typeof od[ud[1]]=="string"||Array.isArray(od[ud[1]])){let pd=od[ud[1]];od[ud[1]]=[..._r$3,...Array.isArray(pd)?pd:[pd],dd]}else od[ud[1]]=dd}return{comments:ld,pragmas:od}}function jr$3(Ra){let qa=Oe$6(Ra);qa&&(Ra=Ra.slice(qa.length+1));let nd=Cs$1(Ra),{pragmas:od,comments:ld}=Es$1(nd);return{shebang:qa,text:Ra,pragmas:od,comments:ld}}function Is$2(Ra){let{pragmas:qa}=jr$3(Ra);return Object.prototype.hasOwnProperty.call(qa,"prettier")||Object.prototype.hasOwnProperty.call(qa,"format")}function $r$3(Ra){return Ra=typeof Ra=="function"?{parse:Ra}:Ra,{astFormat:"estree",hasPragma:Is$2,locStart:D$4,locEnd:B$5,...Ra}}var G$7=$r$3;function Vr$3(Ra){let{filepath:qa}=Ra;if(qa){if(qa=qa.toLowerCase(),qa.endsWith(".cjs"))return"script";if(qa.endsWith(".mjs"))return"module"}}var Ns$1=Vr$3;function qr$3(Ra,qa){let{type:nd="JsExpressionRoot",rootMarker:od,text:ld}=qa,{tokens:ud,comments:dd}=Ra;return delete Ra.tokens,delete Ra.comments,{tokens:ud,comments:dd,type:nd,node:Ra,range:[0,ld.length],rootMarker:od}}var Ue$4=qr$3,re$6=Ra=>G$7(Jr$3(Ra)),zr$3={sourceType:"module",allowImportExportEverywhere:!0,allowReturnOutsideFunction:!0,allowNewTargetOutsideFunction:!0,allowSuperOutsideMethod:!0,allowUndeclaredExports:!0,errorRecovery:!0,createParenthesizedExpressions:!0,createImportExpressions:!0,plugins:["doExpressions","exportDefaultFrom","functionBind","functionSent","throwExpressions","partialApplication","decorators","decimal","moduleBlocks","asyncDoExpressions","destructuringPrivate","decoratorAutoAccessors","importReflection","explicitResourceManagement",["importAttributes",{deprecatedAssertSyntax:!0}],"sourcePhaseImports","deferredImportEvaluation",["optionalChainingAssign",{version:"2023-07"}],"recordAndTuple"],tokens:!0,ranges:!0},ks$1="v8intrinsic",vs$1=[["pipelineOperator",{proposal:"hack",topicToken:"%"}],["pipelineOperator",{proposal:"minimal"}],["pipelineOperator",{proposal:"fsharp"}]],V$7=(Ra,qa=zr$3)=>({...qa,plugins:[...qa.plugins,...Ra]}),Kr$4=/@(?:no)?flow\b/u;function Hr$4(Ra,qa){var nd;if((nd=qa.filepath)!=null&&nd.endsWith(".js.flow"))return!0;let od=Oe$6(Ra);od&&(Ra=Ra.slice(od.length));let ld=ds$1(Ra,0);return ld!==!1&&(Ra=Ra.slice(0,ld)),Kr$4.test(Ra)}function Wr$3(Ra,qa,nd){let od=Ra(qa,nd),ld=od.errors.find(ud=>!Xr$3.has(ud.reasonCode));if(ld)throw ld;return od}function Jr$3({isExpression:Ra=!1,optionsCombinations:qa}){return(nd,od={})=>{if((od.parser==="babel"||od.parser==="__babel_estree")&&Hr$4(nd,od))return od.parser="babel-flow",Bs$2.parse(nd,od);let ld=qa;(od.__babelSourceType??Ns$1(od))==="script"&&(ld=ld.map(fd=>({...fd,sourceType:"script"})));let ud=/%[A-Z]/u.test(nd);nd.includes("|>")?ld=(ud?[...vs$1,ks$1]:vs$1).flatMap(fd=>ld.map(md=>V$7([fd],md))):ud&&(ld=ld.map(fd=>V$7([ks$1],fd)));let dd=Ra?_e$6.parseExpression:_e$6.parse,pd;try{pd=ms$2(ld.map(fd=>()=>Wr$3(dd,nd,fd)))}catch({errors:[fd]}){throw Re$7(fd)}return Ra&&(pd=Ue$4(pd,{text:nd,rootMarker:od.rootMarker})),As$2(pd,{parser:"babel",text:nd})}}var Xr$3=new Set(["StrictNumericEscape","StrictWith","StrictOctalLiteral","StrictDelete","StrictEvalArguments","StrictEvalArgumentsBinding","StrictFunction","ForInOfLoopInitializer","EmptyTypeArguments","EmptyTypeParameters","ConstructorHasTypeParameters","UnsupportedParameterPropertyKind","DecoratorExportClass","ParamDupe","InvalidDecimal","RestTrailingComma","UnsupportedParameterDecorator","UnterminatedJsxContent","UnexpectedReservedWord","ModuleAttributesWithDuplicateKeys","LineTerminatorBeforeArrow","InvalidEscapeSequenceTemplate","NonAbstractClassHasAbstractMethod","OptionalTypeBeforeRequired","PatternIsOptional","OptionalBindingPattern","DeclareClassFieldHasInitializer","TypeImportCannotSpecifyDefaultAndNamed","ConstructorClassField","VarRedeclaration","InvalidPrivateFieldResolution","DuplicateExport"]),Fs$1=[V$7(["jsx"])],Ls$3=re$6({optionsCombinations:Fs$1}),Ds$2=re$6({optionsCombinations:[V$7(["jsx","typescript"]),V$7(["typescript"])]}),Ms=re$6({isExpression:!0,optionsCombinations:[V$7(["jsx"])]}),Os$3=re$6({isExpression:!0,optionsCombinations:[V$7(["typescript"])]}),Bs$2=re$6({optionsCombinations:[V$7(["jsx",["flow",{all:!0,enums:!0}],"flowComments"])]}),Gr$3=re$6({optionsCombinations:Fs$1.map(Ra=>V$7(["estree"],Ra))}),Rs={babel:Ls$3,"babel-flow":Bs$2,"babel-ts":Ds$2,__js_expression:Ms,__ts_expression:Os$3,__vue_expression:Ms,__vue_ts_expression:Os$3,__vue_event_binding:Ls$3,__vue_ts_event_binding:Ds$2,__babel_estree:Gr$3},Us$2=vt$5(At$4());function _s$3(Ra={}){let{allowComments:qa=!0}=Ra;return function(nd){let od;try{od=(0,Us$2.parseExpression)(nd,{tokens:!0,ranges:!0,attachComment:!1})}catch(ld){throw Re$7(ld)}if(!qa&&Pe$6(od.comments))throw H$6(od.comments[0],"Comment");return ae$5(od),Ue$4(od,{type:"JsonRoot",text:nd})}}function H$6(Ra,qa){let[nd,od]=[Ra.loc.start,Ra.loc.end].map(({line:ld,column:ud})=>({line:ld,column:ud+1}));return Be$7(`${qa} is not allowed in JSON.`,{loc:{start:nd,end:od}})}function ae$5(Ra){switch(Ra.type){case"ArrayExpression":for(let qa of Ra.elements)qa!==null&&ae$5(qa);return;case"ObjectExpression":for(let qa of Ra.properties)ae$5(qa);return;case"ObjectProperty":if(Ra.computed)throw H$6(Ra.key,"Computed key");if(Ra.shorthand)throw H$6(Ra.key,"Shorthand property");Ra.key.type!=="Identifier"&&ae$5(Ra.key),ae$5(Ra.value);return;case"UnaryExpression":{let{operator:qa,argument:nd}=Ra;if(qa!=="+"&&qa!=="-")throw H$6(Ra,`Operator '${Ra.operator}'`);if(nd.type==="NumericLiteral"||nd.type==="Identifier"&&(nd.name==="Infinity"||nd.name==="NaN"))return;throw H$6(nd,`Operator '${qa}' before '${nd.type}'`)}case"Identifier":if(Ra.name!=="Infinity"&&Ra.name!=="NaN"&&Ra.name!=="undefined")throw H$6(Ra,`Identifier '${Ra.name}'`);return;case"TemplateLiteral":if(Pe$6(Ra.expressions))throw H$6(Ra.expressions[0],"'TemplateLiteral' with expression");for(let qa of Ra.quasis)ae$5(qa);return;case"NullLiteral":case"BooleanLiteral":case"NumericLiteral":case"StringLiteral":case"TemplateElement":return;default:throw H$6(Ra,`'${Ra.type}'`)}}var Nt$4=_s$3(),Yr$3={json:G$7({parse:Nt$4,hasPragma(){return!0}}),json5:G$7(Nt$4),jsonc:G$7(Nt$4),"json-stringify":G$7({parse:_s$3({allowComments:!1}),astFormat:"estree-json"})},js$2=Yr$3,Qr$3={...Rs,...js$2},Ln$3=kt$3;const prettierPluginBabel=Object.freeze(Object.defineProperty({__proto__:null,default:Ln$3,parsers:Qr$3},Symbol.toStringTag,{value:"Module"}));var Wa=Object.defineProperty,Js=Ra=>{throw TypeError(Ra)},Ar$1=(Ra,qa)=>{for(var nd in qa)Wa(Ra,nd,{get:qa[nd],enumerable:!0})},qs$1=(Ra,qa,nd)=>qa.has(Ra)||Js("Cannot "+nd),pt$4=(Ra,qa,nd)=>(qs$1(Ra,qa,"read from private field"),qa.get(Ra)),Ws=(Ra,qa,nd)=>qa.has(Ra)?Js("Cannot add the same private member more than once"):qa instanceof WeakSet?qa.add(Ra):qa.set(Ra,nd),Gs$1=(Ra,qa,nd,od)=>(qs$1(Ra,qa,"write to private field"),qa.set(Ra,nd),nd),_s$2={};Ar$1(_s$2,{languages:()=>nm,options:()=>va,printers:()=>rm});var Us$1=[{linguistLanguageId:183,name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib",".wxs"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell","zx"],parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"]},{linguistLanguageId:183,name:"Flow",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:[],extensions:[".js.flow"],filenames:[],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"]},{linguistLanguageId:183,name:"JSX",type:"programming",tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0,aliases:void 0,extensions:[".jsx"],filenames:void 0,interpreters:void 0,parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],group:"JavaScript"},{linguistLanguageId:378,name:"TypeScript",type:"programming",color:"#3178c6",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]},{linguistLanguageId:94901924,name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]}],ws$1={};Ar$1(ws$1,{canAttachComment:()=>fp,embed:()=>Qu$2,experimentalFeatures:()=>Kl$2,getCommentChildNodes:()=>Ep,getVisitorKeys:()=>gr$1,handleComments:()=>Kn$3,insertPragma:()=>pi$5,isBlockComment:()=>re$5,isGap:()=>Fp,massageAstNode:()=>Cu$2,print:()=>Ia$1,printComment:()=>Pu$1,willPrintOwnComments:()=>zn$3});var Ga$1=(Ra,qa,nd,od)=>{if(!(Ra&&qa==null))return qa.replaceAll?qa.replaceAll(nd,od):nd.global?qa.replace(nd,od):qa.split(nd).join(od)},N$6=Ga$1,Ua$2=(Ra,qa,nd)=>{if(!(Ra&&qa==null))return Array.isArray(qa)||typeof qa=="string"?qa[nd<0?qa.length+nd:nd]:qa.at(nd)},O$3=Ua$2;function Na(Ra){return Ra!==null&&typeof Ra=="object"}var Ns=Na;function*Xa$1(Ra,qa){let{getVisitorKeys:nd,filter:od=()=>!0}=qa,ld=ud=>Ns(ud)&&od(ud);for(let ud of nd(Ra)){let dd=Ra[ud];if(Array.isArray(dd))for(let pd of dd)ld(pd)&&(yield pd);else ld(dd)&&(yield dd)}}function*Ya$1(Ra,qa){let nd=[Ra];for(let od=0;od<nd.length;od++){let ld=nd[od];for(let ud of Xa$1(ld,qa))yield ud,nd.push(ud)}}function Xs$1(Ra,{getVisitorKeys:qa,predicate:nd}){for(let od of Ya$1(Ra,{getVisitorKeys:qa}))if(nd(od))return!0;return!1}var Ys=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function Hs$1(Ra){return Ra===12288||Ra>=65281&&Ra<=65376||Ra>=65504&&Ra<=65510}function Vs(Ra){return Ra>=4352&&Ra<=4447||Ra===8986||Ra===8987||Ra===9001||Ra===9002||Ra>=9193&&Ra<=9196||Ra===9200||Ra===9203||Ra===9725||Ra===9726||Ra===9748||Ra===9749||Ra>=9800&&Ra<=9811||Ra===9855||Ra===9875||Ra===9889||Ra===9898||Ra===9899||Ra===9917||Ra===9918||Ra===9924||Ra===9925||Ra===9934||Ra===9940||Ra===9962||Ra===9970||Ra===9971||Ra===9973||Ra===9978||Ra===9981||Ra===9989||Ra===9994||Ra===9995||Ra===10024||Ra===10060||Ra===10062||Ra>=10067&&Ra<=10069||Ra===10071||Ra>=10133&&Ra<=10135||Ra===10160||Ra===10175||Ra===11035||Ra===11036||Ra===11088||Ra===11093||Ra>=11904&&Ra<=11929||Ra>=11931&&Ra<=12019||Ra>=12032&&Ra<=12245||Ra>=12272&&Ra<=12287||Ra>=12289&&Ra<=12350||Ra>=12353&&Ra<=12438||Ra>=12441&&Ra<=12543||Ra>=12549&&Ra<=12591||Ra>=12593&&Ra<=12686||Ra>=12688&&Ra<=12771||Ra>=12783&&Ra<=12830||Ra>=12832&&Ra<=12871||Ra>=12880&&Ra<=19903||Ra>=19968&&Ra<=42124||Ra>=42128&&Ra<=42182||Ra>=43360&&Ra<=43388||Ra>=44032&&Ra<=55203||Ra>=63744&&Ra<=64255||Ra>=65040&&Ra<=65049||Ra>=65072&&Ra<=65106||Ra>=65108&&Ra<=65126||Ra>=65128&&Ra<=65131||Ra>=94176&&Ra<=94180||Ra===94192||Ra===94193||Ra>=94208&&Ra<=100343||Ra>=100352&&Ra<=101589||Ra>=101632&&Ra<=101640||Ra>=110576&&Ra<=110579||Ra>=110581&&Ra<=110587||Ra===110589||Ra===110590||Ra>=110592&&Ra<=110882||Ra===110898||Ra>=110928&&Ra<=110930||Ra===110933||Ra>=110948&&Ra<=110951||Ra>=110960&&Ra<=111355||Ra===126980||Ra===127183||Ra===127374||Ra>=127377&&Ra<=127386||Ra>=127488&&Ra<=127490||Ra>=127504&&Ra<=127547||Ra>=127552&&Ra<=127560||Ra===127568||Ra===127569||Ra>=127584&&Ra<=127589||Ra>=127744&&Ra<=127776||Ra>=127789&&Ra<=127797||Ra>=127799&&Ra<=127868||Ra>=127870&&Ra<=127891||Ra>=127904&&Ra<=127946||Ra>=127951&&Ra<=127955||Ra>=127968&&Ra<=127984||Ra===127988||Ra>=127992&&Ra<=128062||Ra===128064||Ra>=128066&&Ra<=128252||Ra>=128255&&Ra<=128317||Ra>=128331&&Ra<=128334||Ra>=128336&&Ra<=128359||Ra===128378||Ra===128405||Ra===128406||Ra===128420||Ra>=128507&&Ra<=128591||Ra>=128640&&Ra<=128709||Ra===128716||Ra>=128720&&Ra<=128722||Ra>=128725&&Ra<=128727||Ra>=128732&&Ra<=128735||Ra===128747||Ra===128748||Ra>=128756&&Ra<=128764||Ra>=128992&&Ra<=129003||Ra===129008||Ra>=129292&&Ra<=129338||Ra>=129340&&Ra<=129349||Ra>=129351&&Ra<=129535||Ra>=129648&&Ra<=129660||Ra>=129664&&Ra<=129672||Ra>=129680&&Ra<=129725||Ra>=129727&&Ra<=129733||Ra>=129742&&Ra<=129755||Ra>=129760&&Ra<=129768||Ra>=129776&&Ra<=129784||Ra>=131072&&Ra<=196605||Ra>=196608&&Ra<=262141}var $s=Ra=>!(Hs$1(Ra)||Vs(Ra)),Ha=/[^\x20-\x7F]/u;function Va(Ra){if(!Ra)return 0;if(!Ha.test(Ra))return Ra.length;Ra=Ra.replace(Ys()," ");let qa=0;for(let nd of Ra){let od=nd.codePointAt(0);od<=31||od>=127&&od<=159||od>=768&&od<=879||(qa+=$s(od)?1:2)}return qa}var et$4=Va;function Tr$2(Ra){return(qa,nd,od)=>{let ld=!!(od!=null&&od.backwards);if(nd===!1)return!1;let{length:ud}=qa,dd=nd;for(;dd>=0&&dd<ud;){let pd=qa.charAt(dd);if(Ra instanceof RegExp){if(!Ra.test(pd))return dd}else if(!Ra.includes(pd))return dd;ld?dd--:dd++}return dd===-1||dd===ud?dd:!1}}var Ge$3=Tr$2(" "),Ks$1=Tr$2(",; "),zs=Tr$2(/[^\n\r]/u);function $a$1(Ra,qa,nd){let od=!!(nd!=null&&nd.backwards);if(qa===!1)return!1;let ld=Ra.charAt(qa);if(od){if(Ra.charAt(qa-1)==="\r"&&ld===`
`)return qa-2;if(ld===`
`||ld==="\r"||ld==="\u2028"||ld==="\u2029")return qa-1}else{if(ld==="\r"&&Ra.charAt(qa+1)===`
`)return qa+2;if(ld===`
`||ld==="\r"||ld==="\u2028"||ld==="\u2029")return qa+1}return qa}var Ue$3=$a$1;function Ka$1(Ra,qa,nd={}){let od=Ge$3(Ra,nd.backwards?qa-1:qa,nd),ld=Ue$3(Ra,od,nd);return od!==ld}var te$5=Ka$1;function za(Ra,qa){if(qa===!1)return!1;if(Ra.charAt(qa)==="/"&&Ra.charAt(qa+1)==="*"){for(let nd=qa+2;nd<Ra.length;++nd)if(Ra.charAt(nd)==="*"&&Ra.charAt(nd+1)==="/")return nd+2}return qa}var Lt$2=za;function Qa(Ra,qa){return qa===!1?!1:Ra.charAt(qa)==="/"&&Ra.charAt(qa+1)==="/"?zs(Ra,qa):qa}var wt$2=Qa;function Za(Ra,qa){let nd=null,od=qa;for(;od!==nd;)nd=od,od=Ks$1(Ra,od),od=Lt$2(Ra,od),od=Ge$3(Ra,od);return od=wt$2(Ra,od),od=Ue$3(Ra,od),od!==!1&&te$5(Ra,od)}var Ot$3=Za;function eo$1(Ra){return Array.isArray(Ra)&&Ra.length>0}var w$2=eo$1,dr$1="'",Qs$1='"';function to$1(Ra,qa){let nd=qa===!0||qa===dr$1?dr$1:Qs$1,od=nd===dr$1?Qs$1:dr$1,ld=0,ud=0;for(let dd of Ra)dd===nd?ld++:dd===od&&ud++;return ld>ud?od:nd}var xr$2=to$1;function ro$1(Ra,qa,nd){let od=qa==='"'?"'":'"',ld=N$6(!1,Ra,/\\(.)|(["'])/gsu,(ud,dd,pd)=>dd===od?dd:pd===qa?"\\"+pd:pd||(nd&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(dd)?dd:"\\"+dd));return qa+ld+qa}var Zs$1=ro$1;function no$2(Ra,qa){let nd=Ra.slice(1,-1),od=qa.parser==="json"||qa.parser==="jsonc"||qa.parser==="json5"&&qa.quoteProps==="preserve"&&!qa.singleQuote?'"':qa.__isInHtmlAttribute?"'":xr$2(nd,qa.singleQuote);return Zs$1(nd,od,!(qa.parser==="css"||qa.parser==="less"||qa.parser==="scss"||qa.__embeddedInHtml))}var tt$4=no$2;function R$6(Ra){var qa,nd,od;let ld=((qa=Ra.range)==null?void 0:qa[0])??Ra.start,ud=(od=((nd=Ra.declaration)==null?void 0:nd.decorators)??Ra.decorators)==null?void 0:od[0];return ud?Math.min(R$6(ud),ld):ld}function k$2(Ra){var qa;return((qa=Ra.range)==null?void 0:qa[1])??Ra.end}function ht$3(Ra,qa){let nd=R$6(Ra);return Number.isInteger(nd)&&nd===R$6(qa)}function so$1(Ra,qa){let nd=k$2(Ra);return Number.isInteger(nd)&&nd===k$2(qa)}function eu$1(Ra,qa){return ht$3(Ra,qa)&&so$1(Ra,qa)}var Qt$3=null;function Zt$3(Ra){if(Qt$3!==null&&typeof Qt$3.property){let qa=Qt$3;return Qt$3=Zt$3.prototype=null,qa}return Qt$3=Zt$3.prototype=Ra??Object.create(null),new Zt$3}var uo$2=10;for(let Ra=0;Ra<=uo$2;Ra++)Zt$3();function In$1(Ra){return Zt$3(Ra)}function io$2(Ra,qa="type"){In$1(Ra);function nd(od){let ld=od[qa],ud=Ra[ld];if(!Array.isArray(ud))throw Object.assign(new Error(`Missing visitor keys for '${ld}'.`),{node:od});return ud}return nd}var hr$3=io$2,tu$2={ArrayExpression:["elements"],AssignmentExpression:["left","right"],BinaryExpression:["left","right"],InterpreterDirective:[],Directive:["value"],DirectiveLiteral:[],BlockStatement:["directives","body"],BreakStatement:["label"],CallExpression:["callee","arguments","typeParameters","typeArguments"],CatchClause:["param","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["test","body"],EmptyStatement:[],ExpressionStatement:["expression"],File:["program"],ForInStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body","returnType","typeParameters","predicate"],FunctionExpression:["id","params","body","returnType","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:["test","consequent","alternate"],LabeledStatement:["label","body"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],NewExpression:["callee","arguments","typeParameters","typeArguments"],Program:["directives","body"],ObjectExpression:["properties"],ObjectMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectProperty:["key","value","decorators"],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:["argument"],SequenceExpression:["expressions"],ParenthesizedExpression:["expression"],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],AssignmentPattern:["left","right","decorators","typeAnnotation"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrowFunctionExpression:["params","body","returnType","typeParameters","predicate"],ClassBody:["body"],ClassExpression:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators","superTypeArguments"],ClassDeclaration:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators","superTypeArguments"],ExportAllDeclaration:["source","attributes","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes"],ExportSpecifier:["local","exported"],ForOfStatement:["left","right","body"],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["local","imported"],ImportExpression:["source","options","attributes"],MetaProperty:["meta","property"],ClassMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectPattern:["properties","typeAnnotation","decorators"],SpreadElement:["argument"],Super:[],TaggedTemplateExpression:["tag","quasi","typeParameters","typeArguments"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],YieldExpression:["argument"],AwaitExpression:["argument"],Import:[],BigIntLiteral:[],ExportNamespaceSpecifier:["exported"],OptionalMemberExpression:["object","property"],OptionalCallExpression:["callee","arguments","typeParameters","typeArguments"],ClassProperty:["key","value","typeAnnotation","decorators","variance"],ClassAccessorProperty:["key","value","typeAnnotation","decorators"],ClassPrivateProperty:["key","value","decorators","typeAnnotation","variance"],ClassPrivateMethod:["key","params","body","decorators","returnType","typeParameters"],PrivateName:["id"],StaticBlock:["body"],AnyTypeAnnotation:[],ArrayTypeAnnotation:["elementType"],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:["id","typeParameters"],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareFunction:["id","predicate"],DeclareInterface:["id","typeParameters","extends","body"],DeclareModule:["id","body"],DeclareModuleExports:["typeAnnotation"],DeclareTypeAlias:["id","typeParameters","right"],DeclareOpaqueType:["id","typeParameters","supertype"],DeclareVariable:["id"],DeclareExportDeclaration:["declaration","specifiers","source"],DeclareExportAllDeclaration:["source"],DeclaredPredicate:["value"],ExistsTypeAnnotation:[],FunctionTypeAnnotation:["typeParameters","params","rest","returnType","this"],FunctionTypeParam:["name","typeAnnotation"],GenericTypeAnnotation:["id","typeParameters"],InferredPredicate:[],InterfaceExtends:["id","typeParameters"],InterfaceDeclaration:["id","typeParameters","extends","body"],InterfaceTypeAnnotation:["extends","body"],IntersectionTypeAnnotation:["types"],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:["typeAnnotation"],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeInternalSlot:["id","value"],ObjectTypeCallProperty:["value"],ObjectTypeIndexer:["id","key","value","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:["argument"],OpaqueType:["id","typeParameters","supertype","impltype"],QualifiedTypeIdentifier:["id","qualification"],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:["types","elementTypes"],TypeofTypeAnnotation:["argument","typeArguments"],TypeAlias:["id","typeParameters","right"],TypeAnnotation:["typeAnnotation"],TypeCastExpression:["expression","typeAnnotation"],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:["params"],TypeParameterInstantiation:["params"],UnionTypeAnnotation:["types"],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:["id","body"],EnumBooleanBody:["members"],EnumNumberBody:["members"],EnumStringBody:["members"],EnumSymbolBody:["members"],EnumBooleanMember:["id","init"],EnumNumberMember:["id","init"],EnumStringMember:["id","init"],EnumDefaultedMember:["id"],IndexedAccessType:["objectType","indexType"],OptionalIndexedAccessType:["objectType","indexType"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXSpreadChild:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes","typeArguments","typeParameters"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXOpeningFragment:[],JSXClosingFragment:[],Noop:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:["object","callee"],ImportAttribute:["key","value"],Decorator:["expression"],DoExpression:["body"],ExportDefaultSpecifier:["exported"],RecordExpression:["properties"],TupleExpression:["elements"],DecimalLiteral:[],ModuleExpression:["body"],TopicReference:[],PipelineTopicExpression:["expression"],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:[],TSParameterProperty:["parameter","decorators"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSQualifiedName:["left","right"],TSCallSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSPropertySignature:["key","typeAnnotation"],TSMethodSignature:["key","typeParameters","parameters","typeAnnotation","params","returnType"],TSIndexSignature:["parameters","typeAnnotation"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructorType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSTypeReference:["typeName","typeParameters","typeArguments"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeParameters","typeArguments"],TSTypeLiteral:["members"],TSArrayType:["elementType"],TSTupleType:["elementTypes"],TSOptionalType:["typeAnnotation"],TSRestType:["typeAnnotation"],TSNamedTupleMember:["label","elementType"],TSUnionType:["types"],TSIntersectionType:["types"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSInferType:["typeParameter"],TSParenthesizedType:["typeAnnotation"],TSTypeOperator:["typeAnnotation"],TSIndexedAccessType:["objectType","indexType"],TSMappedType:["typeParameter","typeAnnotation","nameType"],TSLiteralType:["literal"],TSExpressionWithTypeArguments:["expression","typeParameters"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceBody:["body"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSInstantiationExpression:["expression","typeParameters","typeArguments"],TSAsExpression:["expression","typeAnnotation"],TSSatisfiesExpression:["expression","typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSEnumDeclaration:["id","members"],TSEnumMember:["id","initializer"],TSModuleDeclaration:["id","body"],TSModuleBlock:["body"],TSImportType:["argument","qualifier","typeParameters","typeArguments"],TSImportEqualsDeclaration:["id","moduleReference"],TSExternalModuleReference:["expression"],TSNonNullExpression:["expression"],TSExportAssignment:["expression"],TSNamespaceExportDeclaration:["id"],TSTypeAnnotation:["typeAnnotation"],TSTypeParameterInstantiation:["params"],TSTypeParameterDeclaration:["params"],TSTypeParameter:["constraint","default","name"],ChainExpression:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],Literal:[],MethodDefinition:["decorators","key","value"],PrivateIdentifier:[],Property:["key","value"],PropertyDefinition:["decorators","key","typeAnnotation","value","variance"],AccessorProperty:["decorators","key","typeAnnotation","value"],TSAbstractAccessorProperty:["decorators","key","typeAnnotation"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAsyncKeyword:[],TSClassImplements:["expression","typeArguments","typeParameters"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSEnumBody:["members"],TSExportKeyword:[],TSInterfaceHeritage:["expression","typeArguments","typeParameters"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],TSTemplateLiteralType:["quasis","types"],AsConstExpression:["expression"],AsExpression:["expression","typeAnnotation"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],ComponentDeclaration:["id","params","body","typeParameters","rendersType"],ComponentParameter:["name","local"],ComponentTypeAnnotation:["params","rest","typeParameters","rendersType"],ComponentTypeParameter:["name","typeAnnotation"],ConditionalTypeAnnotation:["checkType","extendsType","trueType","falseType"],DeclareComponent:["id","params","rest","typeParameters","rendersType"],DeclareEnum:["id","body"],DeclareHook:["id"],DeclareNamespace:["id","body"],EnumBigIntBody:["members"],EnumBigIntMember:["id","init"],HookDeclaration:["id","params","body","typeParameters","returnType"],HookTypeAnnotation:["params","returnType","rest","typeParameters"],InferTypeAnnotation:["typeParameter"],KeyofTypeAnnotation:["argument"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],QualifiedTypeofIdentifier:["qualification","id"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypeOperator:["typeAnnotation"],TypePredicate:["parameterName","typeAnnotation","asserts"],NGRoot:["node"],NGPipeExpression:["left","right","arguments"],NGChainedExpression:["expressions"],NGEmptyExpression:[],NGMicrosyntax:["body"],NGMicrosyntaxKey:[],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:["key","value"],NGMicrosyntaxAs:["key","alias"],JsExpressionRoot:["node"],JsonRoot:["node"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:["typeAnnotation"],TSJSDocNonNullableType:["typeAnnotation"],NeverTypeAnnotation:[],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[],SatisfiesExpression:["expression","typeAnnotation"]},ao$1=hr$3(tu$2),gr$1=ao$1;function oo$3(Ra){let qa=new Set(Ra);return nd=>qa.has(nd==null?void 0:nd.type)}var v$2=oo$3,po$1=v$2(["Block","CommentBlock","MultiLine"]),re$5=po$1,co$3=v$2(["AnyTypeAnnotation","ThisTypeAnnotation","NumberTypeAnnotation","VoidTypeAnnotation","BooleanTypeAnnotation","BigIntTypeAnnotation","SymbolTypeAnnotation","StringTypeAnnotation","NeverTypeAnnotation","UndefinedTypeAnnotation","UnknownTypeAnnotation","EmptyTypeAnnotation","MixedTypeAnnotation"]),Sr$2=co$3;function lo$2(Ra,qa){let nd=qa.split(".");for(let od=nd.length-1;od>=0;od--){let ld=nd[od];if(od===0)return Ra.type==="Identifier"&&Ra.name===ld;if(Ra.type!=="MemberExpression"||Ra.optional||Ra.computed||Ra.property.type!=="Identifier"||Ra.property.name!==ld)return!1;Ra=Ra.object}}function mo$2(Ra,qa){return qa.some(nd=>lo$2(Ra,nd))}var ru$2=mo$2;function yo$2({type:Ra}){return Ra.startsWith("TS")&&Ra.endsWith("Keyword")}var Br$3=yo$2;function tr$2(Ra,qa){return qa(Ra)||Xs$1(Ra,{getVisitorKeys:gr$1,predicate:qa})}function jt$2(Ra){return Ra.type==="AssignmentExpression"||Ra.type==="BinaryExpression"||Ra.type==="LogicalExpression"||Ra.type==="NGPipeExpression"||Ra.type==="ConditionalExpression"||L$6(Ra)||q$6(Ra)||Ra.type==="SequenceExpression"||Ra.type==="TaggedTemplateExpression"||Ra.type==="BindExpression"||Ra.type==="UpdateExpression"&&!Ra.prefix||Te$4(Ra)||Ra.type==="TSNonNullExpression"||Ra.type==="ChainExpression"}function uu$3(Ra){return Ra.expressions?Ra.expressions[0]:Ra.left??Ra.test??Ra.callee??Ra.object??Ra.tag??Ra.argument??Ra.expression}function Pr$2(Ra){if(Ra.expressions)return["expressions",0];if(Ra.left)return["left"];if(Ra.test)return["test"];if(Ra.object)return["object"];if(Ra.callee)return["callee"];if(Ra.tag)return["tag"];if(Ra.argument)return["argument"];if(Ra.expression)return["expression"];throw new Error("Unexpected node has no left side.")}var vt$4=v$2(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose","Hashbang","InterpreterDirective"]),iu$1=v$2(["ExportDefaultDeclaration","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration","DeclareExportAllDeclaration"]),U$6=v$2(["ArrayExpression","TupleExpression"]),se$5=v$2(["ObjectExpression","RecordExpression"]);function au$3(Ra){return Ra.type==="LogicalExpression"&&Ra.operator==="??"}function Ce$4(Ra){return Ra.type==="NumericLiteral"||Ra.type==="Literal"&&typeof Ra.value=="number"}function jn$2(Ra){return Ra.type==="UnaryExpression"&&(Ra.operator==="+"||Ra.operator==="-")&&Ce$4(Ra.argument)}function Q$6(Ra){return!!(Ra&&(Ra.type==="StringLiteral"||Ra.type==="Literal"&&typeof Ra.value=="string"))}function vn$2(Ra){return Ra.type==="RegExpLiteral"||Ra.type==="Literal"&&!!Ra.regex}var kr$2=v$2(["Literal","BooleanLiteral","BigIntLiteral","DecimalLiteral","DirectiveLiteral","NullLiteral","NumericLiteral","RegExpLiteral","StringLiteral"]),Do$2=v$2(["Identifier","ThisExpression","Super","PrivateName","PrivateIdentifier","Import"]),we$5=v$2(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),_t$3=v$2(["FunctionExpression","ArrowFunctionExpression"]);function fo$1(Ra){return Ra.type==="FunctionExpression"||Ra.type==="ArrowFunctionExpression"&&Ra.body.type==="BlockStatement"}function Ln$2(Ra){return L$6(Ra)&&Ra.callee.type==="Identifier"&&["async","inject","fakeAsync","waitForAsync"].includes(Ra.callee.name)}var X$6=v$2(["JSXElement","JSXFragment"]);function gt$3(Ra){return Ra.method&&Ra.kind==="init"||Ra.kind==="get"||Ra.kind==="set"}function Ir$2(Ra){return(Ra.type==="ObjectTypeProperty"||Ra.type==="ObjectTypeInternalSlot")&&!Ra.static&&!Ra.method&&Ra.kind!=="get"&&Ra.kind!=="set"&&Ra.value.type==="FunctionTypeAnnotation"}function ou$2(Ra){return(Ra.type==="TypeAnnotation"||Ra.type==="TSTypeAnnotation")&&Ra.typeAnnotation.type==="FunctionTypeAnnotation"&&!Ra.static&&!ht$3(Ra,Ra.typeAnnotation)}var De$4=v$2(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function Ft$4(Ra){return q$6(Ra)||Ra.type==="BindExpression"&&!!Ra.object}var Eo$1=v$2(["TSThisType","NullLiteralTypeAnnotation","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType"]);function Mt$4(Ra){return Br$3(Ra)||Sr$2(Ra)||Eo$1(Ra)||(Ra.type==="GenericTypeAnnotation"||Ra.type==="TSTypeReference")&&!Ra.typeParameters&&!Ra.typeArguments}function Fo$2(Ra){return Ra.type==="Identifier"&&(Ra.name==="beforeEach"||Ra.name==="beforeAll"||Ra.name==="afterEach"||Ra.name==="afterAll")}var Co=["it","it.only","it.skip","describe","describe.only","describe.skip","test","test.only","test.skip","test.step","test.describe","test.describe.only","test.describe.parallel","test.describe.parallel.only","test.describe.serial","test.describe.serial.only","skip","xit","xdescribe","xtest","fit","fdescribe","ftest"];function Ao$1(Ra){return ru$2(Ra,Co)}function St$3(Ra,qa){if((Ra==null?void 0:Ra.type)!=="CallExpression"||Ra.optional)return!1;let nd=oe$5(Ra);if(nd.length===1){if(Ln$2(Ra)&&St$3(qa))return _t$3(nd[0]);if(Fo$2(Ra.callee))return Ln$2(nd[0])}else if((nd.length===2||nd.length===3)&&(nd[0].type==="TemplateLiteral"||Q$6(nd[0]))&&Ao$1(Ra.callee))return nd[2]&&!Ce$4(nd[2])?!1:(nd.length===2?_t$3(nd[1]):fo$1(nd[1])&&K$6(nd[1]).length<=1)||Ln$2(nd[1]);return!1}var pu$2=Ra=>qa=>((qa==null?void 0:qa.type)==="ChainExpression"&&(qa=qa.expression),Ra(qa)),L$6=pu$2(v$2(["CallExpression","OptionalCallExpression"])),q$6=pu$2(v$2(["MemberExpression","OptionalMemberExpression"]));function Mn$2(Ra,qa=5){return cu$3(Ra,qa)<=qa}function cu$3(Ra,qa){let nd=0;for(let od in Ra){let ld=Ra[od];if(ld&&typeof ld=="object"&&typeof ld.type=="string"&&(nd++,nd+=cu$3(ld,qa-nd)),nd>qa)return nd}return nd}var To=.25;function rr$2(Ra,qa){let{printWidth:nd}=qa;if(d$2(Ra))return!1;let od=nd*To;if(Ra.type==="ThisExpression"||Ra.type==="Identifier"&&Ra.name.length<=od||jn$2(Ra)&&!d$2(Ra.argument))return!0;let ld=Ra.type==="Literal"&&"regex"in Ra&&Ra.regex.pattern||Ra.type==="RegExpLiteral"&&Ra.pattern;return ld?ld.length<=od:Q$6(Ra)?tt$4(fe$6(Ra),qa).length<=od:Ra.type==="TemplateLiteral"?Ra.expressions.length===0&&Ra.quasis[0].value.raw.length<=od&&!Ra.quasis[0].value.raw.includes(`
`):Ra.type==="UnaryExpression"?rr$2(Ra.argument,{printWidth:nd}):Ra.type==="CallExpression"&&Ra.arguments.length===0&&Ra.callee.type==="Identifier"?Ra.callee.name.length<=od-2:kr$2(Ra)}function Oe$5(Ra,qa){return X$6(qa)?Bt$4(qa):d$2(qa,g$4.Leading,nd=>te$5(Ra,k$2(nd)))}function nu$3(Ra){return Ra.quasis.some(qa=>qa.value.raw.includes(`
`))}function Lr$2(Ra,qa){return(Ra.type==="TemplateLiteral"&&nu$3(Ra)||Ra.type==="TaggedTemplateExpression"&&nu$3(Ra.quasi))&&!te$5(qa,R$6(Ra),{backwards:!0})}function wr$2(Ra){if(!d$2(Ra))return!1;let qa=O$3(!1,ct$3(Ra,g$4.Dangling),-1);return qa&&!re$5(qa)}function lu$2(Ra){if(Ra.length<=1)return!1;let qa=0;for(let nd of Ra)if(_t$3(nd)){if(qa+=1,qa>1)return!0}else if(L$6(nd)){for(let od of oe$5(nd))if(_t$3(od))return!0}return!1}function Or$2(Ra){let{node:qa,parent:nd,key:od}=Ra;return od==="callee"&&L$6(qa)&&L$6(nd)&&nd.arguments.length>0&&qa.arguments.length>nd.arguments.length}var xo$3=new Set(["!","-","+","~"]);function be$7(Ra,qa=2){if(qa<=0)return!1;if(Ra.type==="ChainExpression"||Ra.type==="TSNonNullExpression")return be$7(Ra.expression,qa);let nd=od=>be$7(od,qa-1);if(vn$2(Ra))return et$4(Ra.pattern??Ra.regex.pattern)<=5;if(kr$2(Ra)||Do$2(Ra)||Ra.type==="ArgumentPlaceholder")return!0;if(Ra.type==="TemplateLiteral")return Ra.quasis.every(od=>!od.value.raw.includes(`
`))&&Ra.expressions.every(nd);if(se$5(Ra))return Ra.properties.every(od=>!od.computed&&(od.shorthand||od.value&&nd(od.value)));if(U$6(Ra))return Ra.elements.every(od=>od===null||nd(od));if(lt$3(Ra)){if(Ra.type==="ImportExpression"||be$7(Ra.callee,qa)){let od=oe$5(Ra);return od.length<=qa&&od.every(nd)}return!1}return q$6(Ra)?be$7(Ra.object,qa)&&be$7(Ra.property,qa):Ra.type==="UnaryExpression"&&xo$3.has(Ra.operator)||Ra.type==="UpdateExpression"?be$7(Ra.argument,qa):!1}function fe$6(Ra){var qa;return((qa=Ra.extra)==null?void 0:qa.raw)??Ra.raw}function mu$2(Ra){return Ra}function ae$4(Ra,qa="es5"){return Ra.trailingComma==="es5"&&qa==="es5"||Ra.trailingComma==="all"&&(qa==="all"||qa==="es5")}function ie$4(Ra,qa){switch(Ra.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return ie$4(Ra.left,qa);case"MemberExpression":case"OptionalMemberExpression":return ie$4(Ra.object,qa);case"TaggedTemplateExpression":return Ra.tag.type==="FunctionExpression"?!1:ie$4(Ra.tag,qa);case"CallExpression":case"OptionalCallExpression":return Ra.callee.type==="FunctionExpression"?!1:ie$4(Ra.callee,qa);case"ConditionalExpression":return ie$4(Ra.test,qa);case"UpdateExpression":return!Ra.prefix&&ie$4(Ra.argument,qa);case"BindExpression":return Ra.object&&ie$4(Ra.object,qa);case"SequenceExpression":return ie$4(Ra.expressions[0],qa);case"ChainExpression":case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":return ie$4(Ra.expression,qa);default:return qa(Ra)}}var su$2={"==":!0,"!=":!0,"===":!0,"!==":!0},br$4={"*":!0,"/":!0,"%":!0},_n$2={">>":!0,">>>":!0,"<<":!0};function nr$2(Ra,qa){return!(er$2(qa)!==er$2(Ra)||Ra==="**"||su$2[Ra]&&su$2[qa]||qa==="%"&&br$4[Ra]||Ra==="%"&&br$4[qa]||qa!==Ra&&br$4[qa]&&br$4[Ra]||_n$2[Ra]&&_n$2[qa])}var ho$1=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((Ra,qa)=>Ra.map(nd=>[nd,qa])));function er$2(Ra){return ho$1.get(Ra)}function yu$1(Ra){return!!_n$2[Ra]||Ra==="|"||Ra==="^"||Ra==="&"}function Du$2(Ra){var qa;if(Ra.rest)return!0;let nd=K$6(Ra);return((qa=O$3(!1,nd,-1))==null?void 0:qa.type)==="RestElement"}var wn$2=new WeakMap;function K$6(Ra){if(wn$2.has(Ra))return wn$2.get(Ra);let qa=[];return Ra.this&&qa.push(Ra.this),Array.isArray(Ra.parameters)?qa.push(...Ra.parameters):Array.isArray(Ra.params)&&qa.push(...Ra.params),Ra.rest&&qa.push(Ra.rest),wn$2.set(Ra,qa),qa}function fu$1(Ra,qa){let{node:nd}=Ra,od=0,ld=ud=>qa(ud,od++);nd.this&&Ra.call(ld,"this"),Array.isArray(nd.parameters)?Ra.each(ld,"parameters"):Array.isArray(nd.params)&&Ra.each(ld,"params"),nd.rest&&Ra.call(ld,"rest")}var On$3=new WeakMap;function oe$5(Ra){if(On$3.has(Ra))return On$3.get(Ra);if(Ra.type==="ChainExpression")return oe$5(Ra.expression);let qa=Ra.arguments;return Ra.type==="ImportExpression"&&(qa=[Ra.source],Ra.attributes&&qa.push(Ra.attributes),Ra.options&&qa.push(Ra.options)),On$3.set(Ra,qa),qa}function Rt$4(Ra,qa){let{node:nd}=Ra;if(nd.type==="ChainExpression")return Ra.call(()=>Rt$4(Ra,qa),"expression");nd.type==="ImportExpression"?(Ra.call(od=>qa(od,0),"source"),nd.attributes&&Ra.call(od=>qa(od,1),"attributes"),nd.options&&Ra.call(od=>qa(od,1),"options")):Ra.each(qa,"arguments")}function Rn$2(Ra,qa){let nd=[];if(Ra.type==="ChainExpression"&&(Ra=Ra.expression,nd.push("expression")),Ra.type==="ImportExpression"){if(qa===0||qa===(Ra.attributes||Ra.options?-2:-1))return[...nd,"source"];if(Ra.attributes&&(qa===1||qa===-1))return[...nd,"attributes"];if(Ra.options&&(qa===1||qa===-1))return[...nd,"options"];throw new RangeError("Invalid argument index")}if(qa<0&&(qa=Ra.arguments.length+qa),qa<0||qa>=Ra.arguments.length)throw new RangeError("Invalid argument index");return[...nd,"arguments",qa]}function sr$2(Ra){return Ra.value.trim()==="prettier-ignore"&&!Ra.unignore}function Bt$4(Ra){return(Ra==null?void 0:Ra.prettierIgnore)||d$2(Ra,g$4.PrettierIgnore)}var g$4={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},Eu$2=(Ra,qa)=>{if(typeof Ra=="function"&&(qa=Ra,Ra=0),Ra||qa)return(nd,od,ld)=>!(Ra&g$4.Leading&&!nd.leading||Ra&g$4.Trailing&&!nd.trailing||Ra&g$4.Dangling&&(nd.leading||nd.trailing)||Ra&g$4.Block&&!re$5(nd)||Ra&g$4.Line&&!vt$4(nd)||Ra&g$4.First&&od!==0||Ra&g$4.Last&&od!==ld.length-1||Ra&g$4.PrettierIgnore&&!sr$2(nd)||qa&&!qa(nd))};function d$2(Ra,qa,nd){if(!w$2(Ra==null?void 0:Ra.comments))return!1;let od=Eu$2(qa,nd);return od?Ra.comments.some(od):!0}function ct$3(Ra,qa,nd){if(!Array.isArray(Ra==null?void 0:Ra.comments))return[];let od=Eu$2(qa,nd);return od?Ra.comments.filter(od):Ra.comments}var pe$3=(Ra,{originalText:qa})=>Ot$3(qa,k$2(Ra));function lt$3(Ra){return L$6(Ra)||Ra.type==="NewExpression"||Ra.type==="ImportExpression"}function Ae$5(Ra){return Ra&&(Ra.type==="ObjectProperty"||Ra.type==="Property"&&!gt$3(Ra))}var Te$4=v$2(["TSAsExpression","TSSatisfiesExpression","AsExpression","AsConstExpression","SatisfiesExpression"]),Ne$4=v$2(["UnionTypeAnnotation","TSUnionType"]),_r$2=v$2(["IntersectionTypeAnnotation","TSIntersectionType"]),go$2=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),Jt$4=Ra=>{for(let qa of Ra.quasis)delete qa.value};function Fu$2(Ra,qa,nd){var od,ld;if(Ra.type==="Program"&&delete qa.sourceType,(Ra.type==="BigIntLiteral"||Ra.type==="BigIntLiteralTypeAnnotation")&&Ra.value&&(qa.value=Ra.value.toLowerCase()),(Ra.type==="BigIntLiteral"||Ra.type==="Literal")&&Ra.bigint&&(qa.bigint=Ra.bigint.toLowerCase()),Ra.type==="DecimalLiteral"&&(qa.value=Number(Ra.value)),Ra.type==="Literal"&&qa.decimal&&(qa.decimal=Number(Ra.decimal)),Ra.type==="EmptyStatement"||Ra.type==="JSXText"||Ra.type==="JSXExpressionContainer"&&(Ra.expression.type==="Literal"||Ra.expression.type==="StringLiteral")&&Ra.expression.value===" ")return null;if((Ra.type==="Property"||Ra.type==="ObjectProperty"||Ra.type==="MethodDefinition"||Ra.type==="ClassProperty"||Ra.type==="ClassMethod"||Ra.type==="PropertyDefinition"||Ra.type==="TSDeclareMethod"||Ra.type==="TSPropertySignature"||Ra.type==="ObjectTypeProperty"||Ra.type==="ImportAttribute")&&Ra.key&&!Ra.computed){let{key:dd}=Ra;Q$6(dd)||Ce$4(dd)?qa.key=String(dd.value):dd.type==="Identifier"&&(qa.key=dd.name)}if(Ra.type==="JSXElement"&&Ra.openingElement.name.name==="style"&&Ra.openingElement.attributes.some(dd=>dd.type==="JSXAttribute"&&dd.name.name==="jsx"))for(let{type:dd,expression:pd}of qa.children)dd==="JSXExpressionContainer"&&pd.type==="TemplateLiteral"&&Jt$4(pd);Ra.type==="JSXAttribute"&&Ra.name.name==="css"&&Ra.value.type==="JSXExpressionContainer"&&Ra.value.expression.type==="TemplateLiteral"&&Jt$4(qa.value.expression),Ra.type==="JSXAttribute"&&((od=Ra.value)==null?void 0:od.type)==="Literal"&&/["']|&quot;|&apos;/u.test(Ra.value.value)&&(qa.value.value=N$6(!1,Ra.value.value,/["']|&quot;|&apos;/gu,'"'));let ud=Ra.expression||Ra.callee;if(Ra.type==="Decorator"&&ud.type==="CallExpression"&&ud.callee.name==="Component"&&ud.arguments.length===1){let dd=Ra.expression.arguments[0].properties;for(let[pd,fd]of qa.expression.arguments[0].properties.entries())switch(dd[pd].key.name){case"styles":U$6(fd.value)&&Jt$4(fd.value.elements[0]);break;case"template":fd.value.type==="TemplateLiteral"&&Jt$4(fd.value);break}}Ra.type==="TaggedTemplateExpression"&&(Ra.tag.type==="MemberExpression"||Ra.tag.type==="Identifier"&&(Ra.tag.name==="gql"||Ra.tag.name==="graphql"||Ra.tag.name==="css"||Ra.tag.name==="md"||Ra.tag.name==="markdown"||Ra.tag.name==="html")||Ra.tag.type==="CallExpression")&&Jt$4(qa.quasi),Ra.type==="TemplateLiteral"&&((ld=Ra.leadingComments)!=null&&ld.some(dd=>re$5(dd)&&["GraphQL","HTML"].some(pd=>dd.value===` ${pd} `))||nd.type==="CallExpression"&&nd.callee.name==="graphql"||!Ra.leadingComments)&&Jt$4(qa),Ra.type==="ChainExpression"&&Ra.expression.type==="TSNonNullExpression"&&(qa.type="TSNonNullExpression",qa.expression.type="ChainExpression"),Ra.type==="TSMappedType"&&(delete qa.key,delete qa.constraint),Ra.type==="TSEnumDeclaration"&&delete qa.body}Fu$2.ignoredProperties=go$2;var Cu$2=Fu$2,rt$3="string",_e$5="array",nt$3="cursor",Xe$3="indent",Ye$4="align",st$3="trim",le$5="group",Pe$5="fill",xe$4="if-break",He$4="indent-if-break",Ve$4="line-suffix",$e$3="line-suffix-boundary",me$4="line",je$5="label",ve$6="break-parent",jr$2=new Set([nt$3,Xe$3,Ye$4,st$3,le$5,Pe$5,xe$4,He$4,Ve$4,$e$3,me$4,je$5,ve$6]);function So(Ra){if(typeof Ra=="string")return rt$3;if(Array.isArray(Ra))return _e$5;if(!Ra)return;let{type:qa}=Ra;if(jr$2.has(qa))return qa}var ut$3=So,Bo$2=Ra=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(Ra);function bo$2(Ra){let qa=Ra===null?"null":typeof Ra;if(qa!=="string"&&qa!=="object")return`Unexpected doc '${qa}',
Expected it to be 'string' or 'object'.`;if(ut$3(Ra))throw new Error("doc is valid.");let nd=Object.prototype.toString.call(Ra);if(nd!=="[object Object]")return`Unexpected doc '${nd}'.`;let od=Bo$2([...jr$2].map(ld=>`'${ld}'`));return`Unexpected doc.type '${Ra.type}'.
Expected it to be ${od}.`}var Jn$3=class extends Error{constructor(nd){super(bo$2(nd));kg(this,"name","InvalidDocError");this.doc=nd}},Ct$3=Jn$3,Au$1={};function Po$1(Ra,qa,nd,od){let ld=[Ra];for(;ld.length>0;){let ud=ld.pop();if(ud===Au$1){nd(ld.pop());continue}nd&&ld.push(ud,Au$1);let dd=ut$3(ud);if(!dd)throw new Ct$3(ud);if((qa==null?void 0:qa(ud))!==!1)switch(dd){case _e$5:case Pe$5:{let pd=dd===_e$5?ud:ud.parts;for(let fd=pd.length,md=fd-1;md>=0;--md)ld.push(pd[md]);break}case xe$4:ld.push(ud.flatContents,ud.breakContents);break;case le$5:if(od&&ud.expandedStates)for(let pd=ud.expandedStates.length,fd=pd-1;fd>=0;--fd)ld.push(ud.expandedStates[fd]);else ld.push(ud.contents);break;case Ye$4:case Xe$3:case He$4:case je$5:case Ve$4:ld.push(ud.contents);break;case rt$3:case nt$3:case st$3:case $e$3:case me$4:case ve$6:break;default:throw new Ct$3(ud)}}}var qn$2=Po$1,Tu$2=()=>{},vr$1=Tu$2;function f$2(Ra){return{type:Xe$3,contents:Ra}}function he$3(Ra,qa){return{type:Ye$4,contents:qa,n:Ra}}function l$2(Ra,qa={}){return vr$1(qa.expandedStates),{type:le$5,id:qa.id,contents:Ra,break:!!qa.shouldBreak,expandedStates:qa.expandedStates}}function du$2(Ra){return he$3(Number.NEGATIVE_INFINITY,Ra)}function Mr$2(Ra){return he$3(-1,Ra)}function ze$5(Ra,qa){return l$2(Ra[0],{...qa,expandedStates:Ra})}function qt$4(Ra){return{type:Pe$5,parts:Ra}}function b$3(Ra,qa="",nd={}){return{type:xe$4,breakContents:Ra,flatContents:qa,groupId:nd.groupId}}function At$3(Ra,qa){return{type:He$4,contents:Ra,groupId:qa.groupId,negate:qa.negate}}function Wn$2(Ra){return{type:Ve$4,contents:Ra}}var ke$5={type:$e$3},Ee$6={type:ve$6},Gn$3={type:me$4,hard:!0},ko$1={type:me$4,hard:!0,literal:!0},x$5={type:me$4},E$5={type:me$4,soft:!0},F$3=[Gn$3,Ee$6],Rr$1=[ko$1,Ee$6],Un$3={type:nt$3};function P$6(Ra,qa){let nd=[];for(let od=0;od<qa.length;od++)od!==0&&nd.push(Ra),nd.push(qa[od]);return nd}function xu$1(Ra,qa,nd){let od=Ra;if(qa>0){for(let ld=0;ld<Math.floor(qa/nd);++ld)od=f$2(od);od=he$3(qa%nd,od),od=he$3(Number.NEGATIVE_INFINITY,od)}return od}function it$3(Ra,qa){return Ra?{type:je$5,label:Ra,contents:qa}:qa}function mt$3(Ra,qa){if(typeof Ra=="string")return qa(Ra);let nd=new Map;return od(Ra);function od(ud){if(nd.has(ud))return nd.get(ud);let dd=ld(ud);return nd.set(ud,dd),dd}function ld(ud){switch(ut$3(ud)){case _e$5:return qa(ud.map(od));case Pe$5:return qa({...ud,parts:ud.parts.map(od)});case xe$4:return qa({...ud,breakContents:od(ud.breakContents),flatContents:od(ud.flatContents)});case le$5:{let{expandedStates:dd,contents:pd}=ud;return dd?(dd=dd.map(od),pd=dd[0]):pd=od(pd),qa({...ud,contents:pd,expandedStates:dd})}case Ye$4:case Xe$3:case He$4:case je$5:case Ve$4:return qa({...ud,contents:od(ud.contents)});case rt$3:case nt$3:case st$3:case $e$3:case me$4:case ve$6:return qa(ud);default:throw new Ct$3(ud)}}}function gu$1(Ra,qa,nd){let od=nd,ld=!1;function ud(dd){if(ld)return!1;let pd=qa(dd);pd!==void 0&&(ld=!0,od=pd)}return qn$2(Ra,ud),od}function Io$1(Ra){if(Ra.type===le$5&&Ra.break||Ra.type===me$4&&Ra.hard||Ra.type===ve$6)return!0}function ne$5(Ra){return gu$1(Ra,Io$1,!1)}function hu$2(Ra){if(Ra.length>0){let qa=O$3(!1,Ra,-1);!qa.expandedStates&&!qa.break&&(qa.break="propagated")}return null}function Su$1(Ra){let qa=new Set,nd=[];function od(ud){if(ud.type===ve$6&&hu$2(nd),ud.type===le$5){if(nd.push(ud),qa.has(ud))return!1;qa.add(ud)}}function ld(ud){ud.type===le$5&&nd.pop().break&&hu$2(nd)}qn$2(Ra,od,ld,!0)}function Lo$2(Ra){return Ra.type===me$4&&!Ra.hard?Ra.soft?"":" ":Ra.type===xe$4?Ra.flatContents:Ra}function ur$2(Ra){return mt$3(Ra,Lo$2)}function wo$1(Ra){switch(ut$3(Ra)){case Pe$5:if(Ra.parts.every(qa=>qa===""))return"";break;case le$5:if(!Ra.contents&&!Ra.id&&!Ra.break&&!Ra.expandedStates)return"";if(Ra.contents.type===le$5&&Ra.contents.id===Ra.id&&Ra.contents.break===Ra.break&&Ra.contents.expandedStates===Ra.expandedStates)return Ra.contents;break;case Ye$4:case Xe$3:case He$4:case Ve$4:if(!Ra.contents)return"";break;case xe$4:if(!Ra.flatContents&&!Ra.breakContents)return"";break;case _e$5:{let qa=[];for(let nd of Ra){if(!nd)continue;let[od,...ld]=Array.isArray(nd)?nd:[nd];typeof od=="string"&&typeof O$3(!1,qa,-1)=="string"?qa[qa.length-1]+=od:qa.push(od),qa.push(...ld)}return qa.length===0?"":qa.length===1?qa[0]:qa}case rt$3:case nt$3:case st$3:case $e$3:case me$4:case je$5:case ve$6:break;default:throw new Ct$3(Ra)}return Ra}function Wt$3(Ra){return mt$3(Ra,qa=>wo$1(qa))}function Ie$4(Ra,qa=Rr$1){return mt$3(Ra,nd=>typeof nd=="string"?P$6(qa,nd.split(`
`)):nd)}function Oo$1(Ra){if(Ra.type===me$4)return!0}function Bu$1(Ra){return gu$1(Ra,Oo$1,!1)}function ir$3(Ra,qa){return Ra.type===je$5?{...Ra,contents:qa(Ra.contents)}:qa(Ra)}function _o$1(Ra){let qa=`*${Ra.value}*`.split(`
`);return qa.length>1&&qa.every(nd=>nd.trimStart()[0]==="*")}var bu$2=_o$1;function Pu$1(Ra,qa){let nd=Ra.node;if(vt$4(nd))return qa.originalText.slice(R$6(nd),k$2(nd)).trimEnd();if(re$5(nd))return bu$2(nd)?jo$1(nd):["/*",Ie$4(nd.value),"*/"];throw new Error("Not a comment: "+JSON.stringify(nd))}function jo$1(Ra){let qa=Ra.value.split(`
`);return["/*",P$6(F$3,qa.map((nd,od)=>od===0?nd.trimEnd():" "+(od<qa.length-1?nd.trim():nd.trimStart()))),"*/"]}var Kn$3={};Ar$1(Kn$3,{endOfLine:()=>Go$1,ownLine:()=>Wo$1,remaining:()=>Uo$2});function vo(Ra){let qa=Ra.type||Ra.kind||"(unknown type)",nd=String(Ra.name||Ra.id&&(typeof Ra.id=="object"?Ra.id.name:Ra.id)||Ra.key&&(typeof Ra.key=="object"?Ra.key.name:Ra.key)||Ra.value&&(typeof Ra.value=="object"?"":String(Ra.value))||Ra.operator||"");return nd.length>20&&(nd=nd.slice(0,19)+"…"),qa+(nd?" "+nd:"")}function Nn$3(Ra,qa){(Ra.comments??(Ra.comments=[])).push(qa),qa.printed=!1,qa.nodeDescription=vo(Ra)}function ce$7(Ra,qa){qa.leading=!0,qa.trailing=!1,Nn$3(Ra,qa)}function Le$5(Ra,qa,nd){qa.leading=!1,qa.trailing=!1,nd&&(qa.marker=nd),Nn$3(Ra,qa)}function z$5(Ra,qa){qa.leading=!1,qa.trailing=!0,Nn$3(Ra,qa)}function Mo$3(Ra,qa){let nd=null,od=qa;for(;od!==nd;)nd=od,od=Ge$3(Ra,od),od=Lt$2(Ra,od),od=wt$2(Ra,od),od=Ue$3(Ra,od);return od}var yt$2=Mo$3;function Ro$1(Ra,qa){let nd=yt$2(Ra,qa);return nd===!1?"":Ra.charAt(nd)}var ge$6=Ro$1;function Jo$2(Ra,qa,nd){for(let od=qa;od<nd;++od)if(Ra.charAt(od)===`
`)return!0;return!1}var de$4=Jo$2;function qo$1(Ra){return re$5(Ra)&&Ra.value[0]==="*"&&/@(?:type|satisfies)\b/u.test(Ra.value)}var ku$1=qo$1;function Wo$1(Ra){return[Mu$2,Lu$1,_u$2,ep,Xo$1,Yn$2,Hn$2,Iu$2,wu$2,sp,rp,$n$3,vu$2,up,Ou$2,ju$2,Vn$3,Yo$1,yp].some(qa=>qa(Ra))}function Go$1(Ra){return[No$1,_u$2,Lu$1,vu$2,Yn$2,Hn$2,Iu$2,wu$2,ju$2,tp,np,$n$3,op$1,Vn$3,lp,mp].some(qa=>qa(Ra))}function Uo$2(Ra){return[Mu$2,Yn$2,Hn$2,Ho$2,Zo$2,Ou$2,$n$3,Qo$2,zo,cp$1,Vn$3,pp].some(qa=>qa(Ra))}function bt$5(Ra,qa){let nd=(Ra.body||Ra.properties).find(({type:od})=>od!=="EmptyStatement");nd?ce$7(nd,qa):Le$5(Ra,qa)}function Xn$3(Ra,qa){Ra.type==="BlockStatement"?bt$5(Ra,qa):ce$7(Ra,qa)}function No$1({comment:Ra,followingNode:qa}){return qa&&ku$1(Ra)?(ce$7(qa,Ra),!0):!1}function Yn$2({comment:Ra,precedingNode:qa,enclosingNode:nd,followingNode:od,text:ld}){if((nd==null?void 0:nd.type)!=="IfStatement"||!od)return!1;if(ge$6(ld,k$2(Ra))===")")return z$5(qa,Ra),!0;if(qa===nd.consequent&&od===nd.alternate){if(qa.type==="BlockStatement")z$5(qa,Ra);else{let ud=vt$4(Ra)||Ra.loc.start.line===Ra.loc.end.line,dd=Ra.loc.start.line===qa.loc.start.line;ud&&dd?z$5(qa,Ra):Le$5(nd,Ra)}return!0}return od.type==="BlockStatement"?(bt$5(od,Ra),!0):od.type==="IfStatement"?(Xn$3(od.consequent,Ra),!0):nd.consequent===od?(ce$7(od,Ra),!0):!1}function Hn$2({comment:Ra,precedingNode:qa,enclosingNode:nd,followingNode:od,text:ld}){return(nd==null?void 0:nd.type)!=="WhileStatement"||!od?!1:ge$6(ld,k$2(Ra))===")"?(z$5(qa,Ra),!0):od.type==="BlockStatement"?(bt$5(od,Ra),!0):nd.body===od?(ce$7(od,Ra),!0):!1}function Iu$2({comment:Ra,precedingNode:qa,enclosingNode:nd,followingNode:od}){return(nd==null?void 0:nd.type)!=="TryStatement"&&(nd==null?void 0:nd.type)!=="CatchClause"||!od?!1:nd.type==="CatchClause"&&qa?(z$5(qa,Ra),!0):od.type==="BlockStatement"?(bt$5(od,Ra),!0):od.type==="TryStatement"?(Xn$3(od.finalizer,Ra),!0):od.type==="CatchClause"?(Xn$3(od.body,Ra),!0):!1}function Xo$1({comment:Ra,enclosingNode:qa,followingNode:nd}){return q$6(qa)&&(nd==null?void 0:nd.type)==="Identifier"?(ce$7(qa,Ra),!0):!1}function Yo$1({comment:Ra,enclosingNode:qa,followingNode:nd,options:od}){return!od.experimentalTernaries||!((qa==null?void 0:qa.type)==="ConditionalExpression"||(qa==null?void 0:qa.type)==="ConditionalTypeAnnotation"||(qa==null?void 0:qa.type)==="TSConditionalType")?!1:(nd==null?void 0:nd.type)==="ConditionalExpression"||(nd==null?void 0:nd.type)==="ConditionalTypeAnnotation"||(nd==null?void 0:nd.type)==="TSConditionalType"?(Le$5(qa,Ra),!0):!1}function Lu$1({comment:Ra,precedingNode:qa,enclosingNode:nd,followingNode:od,text:ld,options:ud}){let dd=qa&&!de$4(ld,k$2(qa),R$6(Ra));return(!qa||!dd)&&((nd==null?void 0:nd.type)==="ConditionalExpression"||(nd==null?void 0:nd.type)==="ConditionalTypeAnnotation"||(nd==null?void 0:nd.type)==="TSConditionalType")&&od?ud.experimentalTernaries&&nd.alternate===od&&!(re$5(Ra)&&!de$4(ud.originalText,R$6(Ra),k$2(Ra)))?(Le$5(nd,Ra),!0):(ce$7(od,Ra),!0):!1}function Ho$2({comment:Ra,precedingNode:qa,enclosingNode:nd}){return Ae$5(nd)&&nd.shorthand&&nd.key===qa&&nd.value.type==="AssignmentPattern"?(z$5(nd.value.left,Ra),!0):!1}var Vo$2=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function wu$2({comment:Ra,precedingNode:qa,enclosingNode:nd,followingNode:od}){if(Vo$2.has(nd==null?void 0:nd.type)){if(w$2(nd.decorators)&&(od==null?void 0:od.type)!=="Decorator")return z$5(O$3(!1,nd.decorators,-1),Ra),!0;if(nd.body&&od===nd.body)return bt$5(nd.body,Ra),!0;if(od){if(nd.superClass&&od===nd.superClass&&qa&&(qa===nd.id||qa===nd.typeParameters))return z$5(qa,Ra),!0;for(let ld of["implements","extends","mixins"])if(nd[ld]&&od===nd[ld][0])return qa&&(qa===nd.id||qa===nd.typeParameters||qa===nd.superClass)?z$5(qa,Ra):Le$5(nd,Ra,ld),!0}}return!1}var $o$1=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty"]);function Ou$2({comment:Ra,precedingNode:qa,enclosingNode:nd,text:od}){return nd&&qa&&ge$6(od,k$2(Ra))==="("&&(nd.type==="Property"||nd.type==="TSDeclareMethod"||nd.type==="TSAbstractMethodDefinition")&&qa.type==="Identifier"&&nd.key===qa&&ge$6(od,k$2(qa))!==":"||(qa==null?void 0:qa.type)==="Decorator"&&$o$1.has(nd==null?void 0:nd.type)?(z$5(qa,Ra),!0):!1}var Ko$1=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function zo({comment:Ra,precedingNode:qa,enclosingNode:nd,text:od}){return ge$6(od,k$2(Ra))!=="("?!1:qa&&Ko$1.has(nd==null?void 0:nd.type)?(z$5(qa,Ra),!0):!1}function Qo$2({comment:Ra,enclosingNode:qa,text:nd}){if((qa==null?void 0:qa.type)!=="ArrowFunctionExpression")return!1;let od=yt$2(nd,k$2(Ra));return od!==!1&&nd.slice(od,od+2)==="=>"?(Le$5(qa,Ra),!0):!1}function Zo$2({comment:Ra,enclosingNode:qa,text:nd}){return ge$6(nd,k$2(Ra))!==")"?!1:qa&&(Ru$2(qa)&&K$6(qa).length===0||lt$3(qa)&&oe$5(qa).length===0)?(Le$5(qa,Ra),!0):((qa==null?void 0:qa.type)==="MethodDefinition"||(qa==null?void 0:qa.type)==="TSAbstractMethodDefinition")&&K$6(qa.value).length===0?(Le$5(qa.value,Ra),!0):!1}function ep({comment:Ra,precedingNode:qa,enclosingNode:nd,followingNode:od,text:ld}){return(qa==null?void 0:qa.type)==="ComponentTypeParameter"&&((nd==null?void 0:nd.type)==="DeclareComponent"||(nd==null?void 0:nd.type)==="ComponentTypeAnnotation")&&(od==null?void 0:od.type)!=="ComponentTypeParameter"||((qa==null?void 0:qa.type)==="ComponentParameter"||(qa==null?void 0:qa.type)==="RestElement")&&(nd==null?void 0:nd.type)==="ComponentDeclaration"&&ge$6(ld,k$2(Ra))===")"?(z$5(qa,Ra),!0):!1}function _u$2({comment:Ra,precedingNode:qa,enclosingNode:nd,followingNode:od,text:ld}){return(qa==null?void 0:qa.type)==="FunctionTypeParam"&&(nd==null?void 0:nd.type)==="FunctionTypeAnnotation"&&(od==null?void 0:od.type)!=="FunctionTypeParam"||((qa==null?void 0:qa.type)==="Identifier"||(qa==null?void 0:qa.type)==="AssignmentPattern"||(qa==null?void 0:qa.type)==="ObjectPattern"||(qa==null?void 0:qa.type)==="ArrayPattern"||(qa==null?void 0:qa.type)==="RestElement"||(qa==null?void 0:qa.type)==="TSParameterProperty")&&Ru$2(nd)&&ge$6(ld,k$2(Ra))===")"?(z$5(qa,Ra),!0):!re$5(Ra)&&((nd==null?void 0:nd.type)==="FunctionDeclaration"||(nd==null?void 0:nd.type)==="FunctionExpression"||(nd==null?void 0:nd.type)==="ObjectMethod")&&(od==null?void 0:od.type)==="BlockStatement"&&nd.body===od&&yt$2(ld,k$2(Ra))===R$6(od)?(bt$5(od,Ra),!0):!1}function ju$2({comment:Ra,enclosingNode:qa}){return(qa==null?void 0:qa.type)==="LabeledStatement"?(ce$7(qa,Ra),!0):!1}function Vn$3({comment:Ra,enclosingNode:qa}){return((qa==null?void 0:qa.type)==="ContinueStatement"||(qa==null?void 0:qa.type)==="BreakStatement")&&!qa.label?(z$5(qa,Ra),!0):!1}function tp({comment:Ra,precedingNode:qa,enclosingNode:nd}){return L$6(nd)&&qa&&nd.callee===qa&&nd.arguments.length>0?(ce$7(nd.arguments[0],Ra),!0):!1}function rp({comment:Ra,precedingNode:qa,enclosingNode:nd,followingNode:od}){return Ne$4(nd)?(sr$2(Ra)&&(od.prettierIgnore=!0,Ra.unignore=!0),qa?(z$5(qa,Ra),!0):!1):(Ne$4(od)&&sr$2(Ra)&&(od.types[0].prettierIgnore=!0,Ra.unignore=!0),!1)}function np({comment:Ra,enclosingNode:qa}){return Ae$5(qa)?(ce$7(qa,Ra),!0):!1}function $n$3({comment:Ra,enclosingNode:qa,ast:nd,isLastComment:od}){var ld;return((ld=nd==null?void 0:nd.body)==null?void 0:ld.length)===0?(od?Le$5(nd,Ra):ce$7(nd,Ra),!0):(qa==null?void 0:qa.type)==="Program"&&qa.body.length===0&&!w$2(qa.directives)?(od?Le$5(qa,Ra):ce$7(qa,Ra),!0):!1}function sp({comment:Ra,enclosingNode:qa}){return(qa==null?void 0:qa.type)==="ForInStatement"||(qa==null?void 0:qa.type)==="ForOfStatement"?(ce$7(qa,Ra),!0):!1}function vu$2({comment:Ra,precedingNode:qa,enclosingNode:nd,text:od}){if((nd==null?void 0:nd.type)==="ImportSpecifier"||(nd==null?void 0:nd.type)==="ExportSpecifier")return ce$7(nd,Ra),!0;let ld=(qa==null?void 0:qa.type)==="ImportSpecifier"&&(nd==null?void 0:nd.type)==="ImportDeclaration",ud=(qa==null?void 0:qa.type)==="ExportSpecifier"&&(nd==null?void 0:nd.type)==="ExportNamedDeclaration";return(ld||ud)&&te$5(od,k$2(Ra))?(z$5(qa,Ra),!0):!1}function up({comment:Ra,enclosingNode:qa}){return(qa==null?void 0:qa.type)==="AssignmentPattern"?(ce$7(qa,Ra),!0):!1}var ip=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),ap$2=new Set(["ObjectExpression","RecordExpression","ArrayExpression","TupleExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function op$1({comment:Ra,enclosingNode:qa,followingNode:nd}){return ip.has(qa==null?void 0:qa.type)&&nd&&(ap$2.has(nd.type)||re$5(Ra))?(ce$7(nd,Ra),!0):!1}function pp({comment:Ra,enclosingNode:qa,followingNode:nd,text:od}){return!nd&&((qa==null?void 0:qa.type)==="TSMethodSignature"||(qa==null?void 0:qa.type)==="TSDeclareFunction"||(qa==null?void 0:qa.type)==="TSAbstractMethodDefinition")&&ge$6(od,k$2(Ra))===";"?(z$5(qa,Ra),!0):!1}function Mu$2({comment:Ra,enclosingNode:qa,followingNode:nd}){if(sr$2(Ra)&&(qa==null?void 0:qa.type)==="TSMappedType"&&(nd==null?void 0:nd.type)==="TSTypeParameter"&&nd.constraint)return qa.prettierIgnore=!0,Ra.unignore=!0,!0}function cp$1({comment:Ra,precedingNode:qa,enclosingNode:nd,followingNode:od}){return(nd==null?void 0:nd.type)!=="TSMappedType"?!1:(od==null?void 0:od.type)==="TSTypeParameter"&&od.name?(ce$7(od.name,Ra),!0):(qa==null?void 0:qa.type)==="TSTypeParameter"&&qa.constraint?(z$5(qa.constraint,Ra),!0):!1}function lp({comment:Ra,enclosingNode:qa,followingNode:nd}){return!qa||qa.type!=="SwitchCase"||qa.test||!nd||nd!==qa.consequent[0]?!1:(nd.type==="BlockStatement"&&vt$4(Ra)?bt$5(nd,Ra):Le$5(qa,Ra),!0)}function mp({comment:Ra,precedingNode:qa,enclosingNode:nd,followingNode:od}){return Ne$4(qa)&&((nd.type==="TSArrayType"||nd.type==="ArrayTypeAnnotation")&&!od||_r$2(nd))?(z$5(O$3(!1,qa.types,-1),Ra),!0):!1}function yp({comment:Ra,enclosingNode:qa,precedingNode:nd,followingNode:od}){if(((qa==null?void 0:qa.type)==="ObjectPattern"||(qa==null?void 0:qa.type)==="ArrayPattern")&&(od==null?void 0:od.type)==="TSTypeAnnotation")return nd?z$5(nd,Ra):Le$5(qa,Ra),!0}var Ru$2=v$2(["ArrowFunctionExpression","FunctionExpression","FunctionDeclaration","ObjectMethod","ClassMethod","TSDeclareFunction","TSCallSignatureDeclaration","TSConstructSignatureDeclaration","TSMethodSignature","TSConstructorType","TSFunctionType","TSDeclareMethod"]),Dp=new Set(["EmptyStatement","TemplateElement","Import","TSEmptyBodyFunctionExpression","ChainExpression"]);function fp(Ra){return!Dp.has(Ra.type)}function Ep(Ra,qa){var nd;if((qa.parser==="typescript"||qa.parser==="flow"||qa.parser==="acorn"||qa.parser==="espree"||qa.parser==="meriyah"||qa.parser==="__babel_estree")&&Ra.type==="MethodDefinition"&&((nd=Ra.value)==null?void 0:nd.type)==="FunctionExpression"&&K$6(Ra.value).length===0&&!Ra.value.returnType&&!w$2(Ra.value.typeParameters)&&Ra.value.body)return[...Ra.decorators||[],Ra.key,Ra.value.body]}function zn$3(Ra){let{node:qa,parent:nd}=Ra;return(X$6(qa)||nd&&(nd.type==="JSXSpreadAttribute"||nd.type==="JSXSpreadChild"||Ne$4(nd)||(nd.type==="ClassDeclaration"||nd.type==="ClassExpression")&&nd.superClass===qa))&&(!Bt$4(qa)||Ne$4(nd))}function Fp(Ra,{parser:qa}){if(qa==="flow"||qa==="babel-flow")return Ra=N$6(!1,Ra,/[\s(]/gu,""),Ra===""||Ra==="/*"||Ra==="/*::"}function Ju$2(Ra){switch(Ra){case"cr":return"\r";case"crlf":return`\r
`;default:return`
`}}var Se$6=Symbol("MODE_BREAK"),at$6=Symbol("MODE_FLAT"),ar$3=Symbol("cursor");function qu$2(){return{value:"",length:0,queue:[]}}function Cp(Ra,qa){return Qn$3(Ra,{type:"indent"},qa)}function Ap(Ra,qa,nd){return qa===Number.NEGATIVE_INFINITY?Ra.root||qu$2():qa<0?Qn$3(Ra,{type:"dedent"},nd):qa?qa.type==="root"?{...Ra,root:Ra}:Qn$3(Ra,{type:typeof qa=="string"?"stringAlign":"numberAlign",n:qa},nd):Ra}function Qn$3(Ra,qa,nd){let od=qa.type==="dedent"?Ra.queue.slice(0,-1):[...Ra.queue,qa],ld="",ud=0,dd=0,pd=0;for(let kd of od)switch(kd.type){case"indent":vd(),nd.useTabs?fd(1):md(nd.tabWidth);break;case"stringAlign":vd(),ld+=kd.n,ud+=kd.n.length;break;case"numberAlign":dd+=1,pd+=kd.n;break;default:throw new Error(`Unexpected type '${kd.type}'`)}return Nd(),{...Ra,value:ld,length:ud,queue:od};function fd(kd){ld+=" ".repeat(kd),ud+=nd.tabWidth*kd}function md(kd){ld+=" ".repeat(kd),ud+=kd}function vd(){nd.useTabs?Ad():Nd()}function Ad(){dd>0&&fd(dd),Od()}function Nd(){pd>0&&md(pd),Od()}function Od(){dd=0,pd=0}}function Zn$3(Ra){let qa=0,nd=0,od=Ra.length;e:for(;od--;){let ld=Ra[od];if(ld===ar$3){nd++;continue}for(let ud=ld.length-1;ud>=0;ud--){let dd=ld[ud];if(dd===" "||dd===" ")qa++;else{Ra[od]=ld.slice(0,ud+1);break e}}}if(qa>0||nd>0)for(Ra.length=od+1;nd-- >0;)Ra.push(ar$3);return qa}function Jr$2(Ra,qa,nd,od,ld,ud){if(nd===Number.POSITIVE_INFINITY)return!0;let dd=qa.length,pd=[Ra],fd=[];for(;nd>=0;){if(pd.length===0){if(dd===0)return!0;pd.push(qa[--dd]);continue}let{mode:md,doc:vd}=pd.pop(),Ad=ut$3(vd);switch(Ad){case rt$3:fd.push(vd),nd-=et$4(vd);break;case _e$5:case Pe$5:{let Nd=Ad===_e$5?vd:vd.parts;for(let Od=Nd.length-1;Od>=0;Od--)pd.push({mode:md,doc:Nd[Od]});break}case Xe$3:case Ye$4:case He$4:case je$5:pd.push({mode:md,doc:vd.contents});break;case st$3:nd+=Zn$3(fd);break;case le$5:{if(ud&&vd.break)return!1;let Nd=vd.break?Se$6:md,Od=vd.expandedStates&&Nd===Se$6?O$3(!1,vd.expandedStates,-1):vd.contents;pd.push({mode:Nd,doc:Od});break}case xe$4:{let Nd=(vd.groupId?ld[vd.groupId]||at$6:md)===Se$6?vd.breakContents:vd.flatContents;Nd&&pd.push({mode:md,doc:Nd});break}case me$4:if(md===Se$6||vd.hard)return!0;vd.soft||(fd.push(" "),nd--);break;case Ve$4:od=!0;break;case $e$3:if(od)return!1;break}}return!1}function es$1(Ra,qa){let nd={},od=qa.printWidth,ld=Ju$2(qa.endOfLine),ud=0,dd=[{ind:qu$2(),mode:Se$6,doc:Ra}],pd=[],fd=!1,md=[],vd=0;for(Su$1(Ra);dd.length>0;){let{ind:Nd,mode:Od,doc:kd}=dd.pop();switch(ut$3(kd)){case rt$3:{let Ld=ld!==`
`?N$6(!1,kd,`
`,ld):kd;pd.push(Ld),dd.length>0&&(ud+=et$4(Ld));break}case _e$5:for(let Ld=kd.length-1;Ld>=0;Ld--)dd.push({ind:Nd,mode:Od,doc:kd[Ld]});break;case nt$3:if(vd>=2)throw new Error("There are too many 'cursor' in doc.");pd.push(ar$3),vd++;break;case Xe$3:dd.push({ind:Cp(Nd,qa),mode:Od,doc:kd.contents});break;case Ye$4:dd.push({ind:Ap(Nd,kd.n,qa),mode:Od,doc:kd.contents});break;case st$3:ud-=Zn$3(pd);break;case le$5:switch(Od){case at$6:if(!fd){dd.push({ind:Nd,mode:kd.break?Se$6:at$6,doc:kd.contents});break}case Se$6:{fd=!1;let Ld={ind:Nd,mode:at$6,doc:kd.contents},Gd=od-ud,jd=md.length>0;if(!kd.break&&Jr$2(Ld,dd,Gd,jd,nd))dd.push(Ld);else if(kd.expandedStates){let Fd=O$3(!1,kd.expandedStates,-1);if(kd.break){dd.push({ind:Nd,mode:Se$6,doc:Fd});break}else for(let Ud=1;Ud<kd.expandedStates.length+1;Ud++)if(Ud>=kd.expandedStates.length){dd.push({ind:Nd,mode:Se$6,doc:Fd});break}else{let qd=kd.expandedStates[Ud],zd={ind:Nd,mode:at$6,doc:qd};if(Jr$2(zd,dd,Gd,jd,nd)){dd.push(zd);break}}}else dd.push({ind:Nd,mode:Se$6,doc:kd.contents});break}}kd.id&&(nd[kd.id]=O$3(!1,dd,-1).mode);break;case Pe$5:{let Ld=od-ud,{parts:Gd}=kd;if(Gd.length===0)break;let[jd,Fd]=Gd,Ud={ind:Nd,mode:at$6,doc:jd},qd={ind:Nd,mode:Se$6,doc:jd},zd=Jr$2(Ud,[],Ld,md.length>0,nd,!0);if(Gd.length===1){zd?dd.push(Ud):dd.push(qd);break}let Wd={ind:Nd,mode:at$6,doc:Fd},Jd={ind:Nd,mode:Se$6,doc:Fd};if(Gd.length===2){zd?dd.push(Wd,Ud):dd.push(Jd,qd);break}Gd.splice(0,2);let _f={ind:Nd,mode:Od,doc:qt$4(Gd)},Xd=Gd[0];Jr$2({ind:Nd,mode:at$6,doc:[jd,Fd,Xd]},[],Ld,md.length>0,nd,!0)?dd.push(_f,Wd,Ud):zd?dd.push(_f,Jd,Ud):dd.push(_f,Jd,qd);break}case xe$4:case He$4:{let Ld=kd.groupId?nd[kd.groupId]:Od;if(Ld===Se$6){let Gd=kd.type===xe$4?kd.breakContents:kd.negate?kd.contents:f$2(kd.contents);Gd&&dd.push({ind:Nd,mode:Od,doc:Gd})}if(Ld===at$6){let Gd=kd.type===xe$4?kd.flatContents:kd.negate?f$2(kd.contents):kd.contents;Gd&&dd.push({ind:Nd,mode:Od,doc:Gd})}break}case Ve$4:md.push({ind:Nd,mode:Od,doc:kd.contents});break;case $e$3:md.length>0&&dd.push({ind:Nd,mode:Od,doc:Gn$3});break;case me$4:switch(Od){case at$6:if(kd.hard)fd=!0;else{kd.soft||(pd.push(" "),ud+=1);break}case Se$6:if(md.length>0){dd.push({ind:Nd,mode:Od,doc:kd},...md.reverse()),md.length=0;break}kd.literal?Nd.root?(pd.push(ld,Nd.root.value),ud=Nd.root.length):(pd.push(ld),ud=0):(ud-=Zn$3(pd),pd.push(ld+Nd.value),ud=Nd.length);break}break;case je$5:dd.push({ind:Nd,mode:Od,doc:kd.contents});break;case ve$6:break;default:throw new Ct$3(kd)}dd.length===0&&md.length>0&&(dd.push(...md.reverse()),md.length=0)}let Ad=pd.indexOf(ar$3);if(Ad!==-1){let Nd=pd.indexOf(ar$3,Ad+1),Od=pd.slice(0,Ad).join(""),kd=pd.slice(Ad+1,Nd).join(""),Ld=pd.slice(Nd+1).join("");return{formatted:Od+kd+Ld,cursorNodeStart:Od.length,cursorNodeText:kd}}return{formatted:pd.join("")}}function Tp(Ra,qa,nd=0){let od=0;for(let ld=nd;ld<Ra.length;++ld)Ra[ld]===" "?od=od+qa-od%qa:od++;return od}var Wu$1=Tp;function dp(Ra,qa){let nd=Ra.lastIndexOf(`
`);return nd===-1?0:Wu$1(Ra.slice(nd+1).match(/^[\t ]*/u)[0],qa)}var Gu$2=dp;function qr$2(Ra,qa,nd){let{node:od}=Ra;if(od.type==="TemplateLiteral"&&gp(Ra)){let fd=xp(Ra,nd,qa);if(fd)return fd}let ld="expressions";od.type==="TSTemplateLiteralType"&&(ld="types");let ud=[],dd=Ra.map(qa,ld);ud.push(ke$5,"`");let pd=0;return Ra.each(({index:fd,node:md})=>{if(ud.push(qa()),md.tail)return;let{tabWidth:vd}=nd,Ad=md.value.raw,Nd=Ad.includes(`
`)?Gu$2(Ad,vd):pd;pd=Nd;let Od=dd[fd],kd=od[ld][fd],Ld=de$4(nd.originalText,k$2(md),R$6(od.quasis[fd+1]));if(!Ld){let jd=es$1(Od,{...nd,printWidth:Number.POSITIVE_INFINITY}).formatted;jd.includes(`
`)?Ld=!0:Od=jd}Ld&&(d$2(kd)||kd.type==="Identifier"||q$6(kd)||kd.type==="ConditionalExpression"||kd.type==="SequenceExpression"||Te$4(kd)||De$4(kd))&&(Od=[f$2([E$5,Od]),E$5]);let Gd=Nd===0&&Ad.endsWith(`
`)?he$3(Number.NEGATIVE_INFINITY,Od):xu$1(Od,Nd,vd);ud.push(l$2(["${",Gd,ke$5,"}"]))},"quasis"),ud.push("`"),ud}function Uu$3(Ra,qa){let nd=qa("quasi");return it$3(nd.label&&{tagged:!0,...nd.label},[qa("tag"),qa(Ra.node.typeArguments?"typeArguments":"typeParameters"),ke$5,nd])}function xp(Ra,qa,nd){let{node:od}=Ra,ld=od.quasis[0].value.raw.trim().split(/\s*\|\s*/u);if(ld.length>1||ld.some(ud=>ud.length>0)){qa.__inJestEach=!0;let ud=Ra.map(nd,"expressions");qa.__inJestEach=!1;let dd=[],pd=ud.map(Nd=>"${"+es$1(Nd,{...qa,printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"}).formatted+"}"),fd=[{hasLineBreak:!1,cells:[]}];for(let Nd=1;Nd<od.quasis.length;Nd++){let Od=O$3(!1,fd,-1),kd=pd[Nd-1];Od.cells.push(kd),kd.includes(`
`)&&(Od.hasLineBreak=!0),od.quasis[Nd].value.raw.includes(`
`)&&fd.push({hasLineBreak:!1,cells:[]})}let md=Math.max(ld.length,...fd.map(Nd=>Nd.cells.length)),vd=Array.from({length:md}).fill(0),Ad=[{cells:ld},...fd.filter(Nd=>Nd.cells.length>0)];for(let{cells:Nd}of Ad.filter(Od=>!Od.hasLineBreak))for(let[Od,kd]of Nd.entries())vd[Od]=Math.max(vd[Od],et$4(kd));return dd.push(ke$5,"`",f$2([F$3,P$6(F$3,Ad.map(Nd=>P$6(" | ",Nd.cells.map((Od,kd)=>Nd.hasLineBreak?Od:Od+" ".repeat(vd[kd]-et$4(Od))))))]),F$3,"`"),dd}}function hp(Ra,qa){let{node:nd}=Ra,od=qa();return d$2(nd)&&(od=l$2([f$2([E$5,od]),E$5])),["${",od,ke$5,"}"]}function Gt$3(Ra,qa){return Ra.map(nd=>hp(nd,qa),"expressions")}function Wr$2(Ra,qa){return mt$3(Ra,nd=>typeof nd=="string"?qa?N$6(!1,nd,/(\\*)`/gu,"$1$1\\`"):ts(nd):nd)}function ts(Ra){return N$6(!1,Ra,/([\\`]|\$\{)/gu,String.raw`\$1`)}function gp({node:Ra,parent:qa}){let nd=/^[fx]?(?:describe|it|test)$/u;return qa.type==="TaggedTemplateExpression"&&qa.quasi===Ra&&qa.tag.type==="MemberExpression"&&qa.tag.property.type==="Identifier"&&qa.tag.property.name==="each"&&(qa.tag.object.type==="Identifier"&&nd.test(qa.tag.object.name)||qa.tag.object.type==="MemberExpression"&&qa.tag.object.property.type==="Identifier"&&(qa.tag.object.property.name==="only"||qa.tag.object.property.name==="skip")&&qa.tag.object.object.type==="Identifier"&&nd.test(qa.tag.object.object.name))}var ns$1=[(Ra,qa)=>Ra.type==="ObjectExpression"&&qa==="properties",(Ra,qa)=>Ra.type==="CallExpression"&&Ra.callee.type==="Identifier"&&Ra.callee.name==="Component"&&qa==="arguments",(Ra,qa)=>Ra.type==="Decorator"&&qa==="expression"];function Nu$2(Ra){let qa=od=>od.type==="TemplateLiteral",nd=(od,ld)=>Ae$5(od)&&!od.computed&&od.key.type==="Identifier"&&od.key.name==="styles"&&ld==="value";return Ra.match(qa,(od,ld)=>U$6(od)&&ld==="elements",nd,...ns$1)||Ra.match(qa,nd,...ns$1)}function Xu$2(Ra){return Ra.match(qa=>qa.type==="TemplateLiteral",(qa,nd)=>Ae$5(qa)&&!qa.computed&&qa.key.type==="Identifier"&&qa.key.name==="template"&&nd==="value",...ns$1)}function rs$1(Ra,qa){return d$2(Ra,g$4.Block|g$4.Leading,({value:nd})=>nd===` ${qa} `)}function Gr$2({node:Ra,parent:qa},nd){return rs$1(Ra,nd)||Sp(qa)&&rs$1(qa,nd)||qa.type==="ExpressionStatement"&&rs$1(qa,nd)}function Sp(Ra){return Ra.type==="AsConstExpression"||Ra.type==="TSAsExpression"&&Ra.typeAnnotation.type==="TSTypeReference"&&Ra.typeAnnotation.typeName.type==="Identifier"&&Ra.typeAnnotation.typeName.name==="const"}async function Bp(Ra,qa,nd){let{node:od}=nd,ld=od.quasis.map(vd=>vd.value.raw),ud=0,dd=ld.reduce((vd,Ad,Nd)=>Nd===0?Ad:vd+"@prettier-placeholder-"+ud+++"-id"+Ad,""),pd=await Ra(dd,{parser:"scss"}),fd=Gt$3(nd,qa),md=bp$1(pd,fd);if(!md)throw new Error("Couldn't insert all the expressions");return["`",f$2([F$3,md]),E$5,"`"]}function bp$1(Ra,qa){if(!w$2(qa))return Ra;let nd=0,od=mt$3(Wt$3(Ra),ld=>typeof ld!="string"||!ld.includes("@prettier-placeholder")?ld:ld.split(/@prettier-placeholder-(\d+)-id/u).map((ud,dd)=>dd%2===0?Ie$4(ud):(nd++,qa[ud])));return qa.length===nd?od:null}function Pp({node:Ra,parent:qa,grandparent:nd}){return nd&&Ra.quasis&&qa.type==="JSXExpressionContainer"&&nd.type==="JSXElement"&&nd.openingElement.name.name==="style"&&nd.openingElement.attributes.some(od=>od.type==="JSXAttribute"&&od.name.name==="jsx")||(qa==null?void 0:qa.type)==="TaggedTemplateExpression"&&qa.tag.type==="Identifier"&&qa.tag.name==="css"||(qa==null?void 0:qa.type)==="TaggedTemplateExpression"&&qa.tag.type==="MemberExpression"&&qa.tag.object.name==="css"&&(qa.tag.property.name==="global"||qa.tag.property.name==="resolve")}function Ur$2(Ra){return Ra.type==="Identifier"&&Ra.name==="styled"}function Yu$1(Ra){return/^[A-Z]/u.test(Ra.object.name)&&Ra.property.name==="extend"}function kp({parent:Ra}){if(!Ra||Ra.type!=="TaggedTemplateExpression")return!1;let qa=Ra.tag.type==="ParenthesizedExpression"?Ra.tag.expression:Ra.tag;switch(qa.type){case"MemberExpression":return Ur$2(qa.object)||Yu$1(qa);case"CallExpression":return Ur$2(qa.callee)||qa.callee.type==="MemberExpression"&&(qa.callee.object.type==="MemberExpression"&&(Ur$2(qa.callee.object.object)||Yu$1(qa.callee.object))||qa.callee.object.type==="CallExpression"&&Ur$2(qa.callee.object.callee));case"Identifier":return qa.name==="css";default:return!1}}function Ip({parent:Ra,grandparent:qa}){return(qa==null?void 0:qa.type)==="JSXAttribute"&&Ra.type==="JSXExpressionContainer"&&qa.name.type==="JSXIdentifier"&&qa.name.name==="css"}function Lp(Ra){if(Pp(Ra)||kp(Ra)||Ip(Ra)||Nu$2(Ra))return Bp}var Hu$3=Lp;async function wp(Ra,qa,nd){let{node:od}=nd,ld=od.quasis.length,ud=Gt$3(nd,qa),dd=[];for(let pd=0;pd<ld;pd++){let fd=od.quasis[pd],md=pd===0,vd=pd===ld-1,Ad=fd.value.cooked,Nd=Ad.split(`
`),Od=Nd.length,kd=ud[pd],Ld=Od>2&&Nd[0].trim()===""&&Nd[1].trim()==="",Gd=Od>2&&Nd[Od-1].trim()===""&&Nd[Od-2].trim()==="",jd=Nd.every(Ud=>/^\s*(?:#[^\n\r]*)?$/u.test(Ud));if(!vd&&/#[^\n\r]*$/u.test(Nd[Od-1]))return null;let Fd=null;jd?Fd=Op(Nd):Fd=await Ra(Ad,{parser:"graphql"}),Fd?(Fd=Wr$2(Fd,!1),!md&&Ld&&dd.push(""),dd.push(Fd),!vd&&Gd&&dd.push("")):!md&&!vd&&Ld&&dd.push(""),kd&&dd.push(kd)}return["`",f$2([F$3,P$6(F$3,dd)]),F$3,"`"]}function Op(Ra){let qa=[],nd=!1,od=Ra.map(ld=>ld.trim());for(let[ld,ud]of od.entries())ud!==""&&(od[ld-1]===""&&nd?qa.push([F$3,ud]):qa.push(ud),nd=!0);return qa.length===0?null:P$6(F$3,qa)}function _p({node:Ra,parent:qa}){return Gr$2({node:Ra,parent:qa},"GraphQL")||qa&&(qa.type==="TaggedTemplateExpression"&&(qa.tag.type==="MemberExpression"&&qa.tag.object.name==="graphql"&&qa.tag.property.name==="experimental"||qa.tag.type==="Identifier"&&(qa.tag.name==="gql"||qa.tag.name==="graphql"))||qa.type==="CallExpression"&&qa.callee.type==="Identifier"&&qa.callee.name==="graphql")}function jp(Ra){if(_p(Ra))return wp}var Vu$3=jp,ss$1=0;async function $u$2(Ra,qa,nd,od,ld){let{node:ud}=od,dd=ss$1;ss$1=ss$1+1>>>0;let pd=jd=>`PRETTIER_HTML_PLACEHOLDER_${jd}_${dd}_IN_JS`,fd=ud.quasis.map((jd,Fd,Ud)=>Fd===Ud.length-1?jd.value.cooked:jd.value.cooked+pd(Fd)).join(""),md=Gt$3(od,nd),vd=new RegExp(pd(String.raw`(\d+)`),"gu"),Ad=0,Nd=await qa(fd,{parser:Ra,__onHtmlRoot(jd){Ad=jd.children.length}}),Od=mt$3(Nd,jd=>{if(typeof jd!="string")return jd;let Fd=[],Ud=jd.split(vd);for(let qd=0;qd<Ud.length;qd++){let zd=Ud[qd];if(qd%2===0){zd&&(zd=ts(zd),ld.__embeddedInHtml&&(zd=N$6(!1,zd,/<\/(?=script\b)/giu,String.raw`<\/`)),Fd.push(zd));continue}let Wd=Number(zd);Fd.push(md[Wd])}return Fd}),kd=/^\s/u.test(fd)?" ":"",Ld=/\s$/u.test(fd)?" ":"",Gd=ld.htmlWhitespaceSensitivity==="ignore"?F$3:kd&&Ld?x$5:null;return Gd?l$2(["`",f$2([Gd,l$2(Od)]),Gd,"`"]):it$3({hug:!1},l$2(["`",kd,Ad>1?f$2(l$2(Od)):l$2(Od),Ld,"`"]))}function vp(Ra){return Gr$2(Ra,"HTML")||Ra.match(qa=>qa.type==="TemplateLiteral",(qa,nd)=>qa.type==="TaggedTemplateExpression"&&qa.tag.type==="Identifier"&&qa.tag.name==="html"&&nd==="quasi")}var Mp=$u$2.bind(void 0,"html"),Rp=$u$2.bind(void 0,"angular");function Jp(Ra){if(vp(Ra))return Mp;if(Xu$2(Ra))return Rp}var Ku$3=Jp;async function qp(Ra,qa,nd){let{node:od}=nd,ld=N$6(!1,od.quasis[0].value.raw,/((?:\\\\)*)\\`/gu,(fd,md)=>"\\".repeat(md.length/2)+"`"),ud=Wp(ld),dd=ud!=="";dd&&(ld=N$6(!1,ld,new RegExp(`^${ud}`,"gmu"),""));let pd=Wr$2(await Ra(ld,{parser:"markdown",__inJsTemplate:!0}),!0);return["`",dd?f$2([E$5,pd]):[Rr$1,du$2(pd)],E$5,"`"]}function Wp(Ra){let qa=Ra.match(/^([^\S\n]*)\S/mu);return qa===null?"":qa[1]}function Gp(Ra){if(Up(Ra))return qp}function Up({node:Ra,parent:qa}){return(qa==null?void 0:qa.type)==="TaggedTemplateExpression"&&Ra.quasis.length===1&&qa.tag.type==="Identifier"&&(qa.tag.name==="md"||qa.tag.name==="markdown")}var zu$1=Gp;function Np(Ra){let{node:qa}=Ra;if(qa.type!=="TemplateLiteral"||Xp(qa))return;let nd;for(let od of[Hu$3,Vu$3,Ku$3,zu$1])if(nd=od(Ra),!!nd)return qa.quasis.length===1&&qa.quasis[0].value.raw.trim()===""?"``":async(...ld)=>{let ud=await nd(...ld);return ud&&it$3({embed:!0,...ud.label},ud)}}function Xp({quasis:Ra}){return Ra.some(({value:{cooked:qa}})=>qa===null)}var Qu$2=Np,Yp=/\*\/$/,Hp=/^\/\*\*?/,ri$3=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,Vp=/(^|\s+)\/\/([^\n\r]*)/g,Zu$3=/^(\r?\n)+/,$p=/(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g,ei$3=/(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g,Kp=/(\r?\n|^) *\* ?/g,ni$3=[];function si$3(Ra){let qa=Ra.match(ri$3);return qa?qa[0].trimStart():""}function ui$3(Ra){let qa=Ra.match(ri$3),nd=qa==null?void 0:qa[0];return nd==null?Ra:Ra.slice(nd.length)}function ii$4(Ra){let qa=`
`;Ra=N$6(!1,Ra.replace(Hp,"").replace(Yp,""),Kp,"$1");let nd="";for(;nd!==Ra;)nd=Ra,Ra=N$6(!1,Ra,$p,`${qa}$1 $2${qa}`);Ra=Ra.replace(Zu$3,"").trimEnd();let od=Object.create(null),ld=N$6(!1,Ra,ei$3,"").replace(Zu$3,"").trimEnd(),ud;for(;ud=ei$3.exec(Ra);){let dd=N$6(!1,ud[2],Vp,"");if(typeof od[ud[1]]=="string"||Array.isArray(od[ud[1]])){let pd=od[ud[1]];od[ud[1]]=[...ni$3,...Array.isArray(pd)?pd:[pd],dd]}else od[ud[1]]=dd}return{comments:ld,pragmas:od}}function ai$4({comments:Ra="",pragmas:qa={}}){let nd=`
`,od="/**",ld=" *",ud=" */",dd=Object.keys(qa),pd=dd.flatMap(md=>ti$3(md,qa[md])).map(md=>`${ld} ${md}${nd}`).join("");if(!Ra){if(dd.length===0)return"";if(dd.length===1&&!Array.isArray(qa[dd[0]])){let md=qa[dd[0]];return`${od} ${ti$3(dd[0],md)[0]}${ud}`}}let fd=Ra.split(nd).map(md=>`${ld} ${md}`).join(nd)+nd;return od+nd+(Ra?fd:"")+(Ra&&dd.length>0?ld+nd:"")+pd+ud}function ti$3(Ra,qa){return[...ni$3,...Array.isArray(qa)?qa:[qa]].map(nd=>`@${Ra} ${nd}`.trim())}function zp(Ra){if(!Ra.startsWith("#!"))return"";let qa=Ra.indexOf(`
`);return qa===-1?Ra:Ra.slice(0,qa)}var oi$3=zp;function Qp(Ra){let qa=oi$3(Ra);qa&&(Ra=Ra.slice(qa.length+1));let nd=si$3(Ra),{pragmas:od,comments:ld}=ii$4(nd);return{shebang:qa,text:Ra,pragmas:od,comments:ld}}function pi$5(Ra){let{shebang:qa,text:nd,pragmas:od,comments:ld}=Qp(Ra),ud=ui$3(nd),dd=ai$4({pragmas:{format:"",...od},comments:ld.trimStart()});return(qa?`${qa}
`:"")+dd+(ud.startsWith(`
`)?`
`:`
`)+ud}function Zp(Ra,qa){let{originalText:nd,[Symbol.for("comments")]:od,locStart:ld,locEnd:ud,[Symbol.for("printedComments")]:dd}=qa,{node:pd}=Ra,fd=ld(pd),md=ud(pd);for(let vd of od)ld(vd)>=fd&&ud(vd)<=md&&dd.add(vd);return nd.slice(fd,md)}var ci$4=Zp;function us$1(Ra,qa){var nd,od,ld,ud,dd,pd,fd,md,vd;if(Ra.isRoot)return!1;let{node:Ad,key:Nd,parent:Od}=Ra;if(qa.__isInHtmlInterpolation&&!qa.bracketSpacing&&nc$2(Ad)&&or$2(Ra))return!0;if(ec$1(Ad))return!1;if(Ad.type==="Identifier"){if((nd=Ad.extra)!=null&&nd.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(Ad.name)||Nd==="left"&&(Ad.name==="async"&&!Od.await||Ad.name==="let")&&Od.type==="ForOfStatement")return!0;if(Ad.name==="let"){let kd=(od=Ra.findAncestor(Ld=>Ld.type==="ForOfStatement"))==null?void 0:od.left;if(kd&&ie$4(kd,Ld=>Ld===Ad))return!0}if(Nd==="object"&&Ad.name==="let"&&Od.type==="MemberExpression"&&Od.computed&&!Od.optional){let kd=Ra.findAncestor(Gd=>Gd.type==="ExpressionStatement"||Gd.type==="ForStatement"||Gd.type==="ForInStatement"),Ld=kd?kd.type==="ExpressionStatement"?kd.expression:kd.type==="ForStatement"?kd.init:kd.left:void 0;if(Ld&&ie$4(Ld,Gd=>Gd===Ad))return!0}if(Nd==="expression")switch(Ad.name){case"await":case"interface":case"module":case"using":case"yield":case"let":case"component":case"hook":case"type":{let kd=Ra.findAncestor(Ld=>!Te$4(Ld));if(kd!==Od&&kd.type==="ExpressionStatement")return!0}}return!1}if(Ad.type==="ObjectExpression"||Ad.type==="FunctionExpression"||Ad.type==="ClassExpression"||Ad.type==="DoExpression"){let kd=(ld=Ra.findAncestor(Ld=>Ld.type==="ExpressionStatement"))==null?void 0:ld.expression;if(kd&&ie$4(kd,Ld=>Ld===Ad))return!0}if(Ad.type==="ObjectExpression"){let kd=(ud=Ra.findAncestor(Ld=>Ld.type==="ArrowFunctionExpression"))==null?void 0:ud.body;if(kd&&kd.type!=="SequenceExpression"&&kd.type!=="AssignmentExpression"&&ie$4(kd,Ld=>Ld===Ad))return!0}switch(Od.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if(Nd==="superClass"&&(Ad.type==="ArrowFunctionExpression"||Ad.type==="AssignmentExpression"||Ad.type==="AwaitExpression"||Ad.type==="BinaryExpression"||Ad.type==="ConditionalExpression"||Ad.type==="LogicalExpression"||Ad.type==="NewExpression"||Ad.type==="ObjectExpression"||Ad.type==="SequenceExpression"||Ad.type==="TaggedTemplateExpression"||Ad.type==="UnaryExpression"||Ad.type==="UpdateExpression"||Ad.type==="YieldExpression"||Ad.type==="TSNonNullExpression"||Ad.type==="ClassExpression"&&w$2(Ad.decorators)))return!0;break;case"ExportDefaultDeclaration":return li$3(Ra,qa)||Ad.type==="SequenceExpression";case"Decorator":if(Nd==="expression"&&!uc$2(Ad))return!0;break;case"TypeAnnotation":if(Ra.match(void 0,void 0,(kd,Ld)=>Ld==="returnType"&&kd.type==="ArrowFunctionExpression")&&rc$2(Ad))return!0;break;case"BinaryExpression":if(Nd==="left"&&(Od.operator==="in"||Od.operator==="instanceof")&&Ad.type==="UnaryExpression")return!0;break;case"VariableDeclarator":if(Nd==="init"&&Ra.match(void 0,void 0,(kd,Ld)=>Ld==="declarations"&&kd.type==="VariableDeclaration",(kd,Ld)=>Ld==="left"&&kd.type==="ForInStatement"))return!0;break}switch(Ad.type){case"UpdateExpression":if(Od.type==="UnaryExpression")return Ad.prefix&&(Ad.operator==="++"&&Od.operator==="+"||Ad.operator==="--"&&Od.operator==="-");case"UnaryExpression":switch(Od.type){case"UnaryExpression":return Ad.operator===Od.operator&&(Ad.operator==="+"||Ad.operator==="-");case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return Nd==="object";case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return Nd==="callee";case"BinaryExpression":return Nd==="left"&&Od.operator==="**";case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":if(Od.type==="UpdateExpression"||Ad.operator==="in"&&tc$1(Ra))return!0;if(Ad.operator==="|>"&&(dd=Ad.extra)!=null&&dd.parenthesized){let kd=Ra.grandparent;if(kd.type==="BinaryExpression"&&kd.operator==="|>")return!0}case"TSTypeAssertion":case"TSAsExpression":case"TSSatisfiesExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":case"LogicalExpression":switch(Od.type){case"TSAsExpression":case"TSSatisfiesExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":return!Te$4(Ad);case"ConditionalExpression":return Te$4(Ad)||au$3(Ad);case"CallExpression":case"NewExpression":case"OptionalCallExpression":return Nd==="callee";case"ClassExpression":case"ClassDeclaration":return Nd==="superClass";case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return Nd==="object";case"AssignmentExpression":case"AssignmentPattern":return Nd==="left"&&(Ad.type==="TSTypeAssertion"||Te$4(Ad));case"LogicalExpression":if(Ad.type==="LogicalExpression")return Od.operator!==Ad.operator;case"BinaryExpression":{let{operator:kd,type:Ld}=Ad;if(!kd&&Ld!=="TSTypeAssertion")return!0;let Gd=er$2(kd),jd=Od.operator,Fd=er$2(jd);return Fd>Gd||Nd==="right"&&Fd===Gd||Fd===Gd&&!nr$2(jd,kd)?!0:Fd<Gd&&kd==="%"?jd==="+"||jd==="-":!!yu$1(jd)}default:return!1}case"SequenceExpression":switch(Od.type){case"ReturnStatement":return!1;case"ForStatement":return!1;case"ExpressionStatement":return Nd!=="expression";case"ArrowFunctionExpression":return Nd!=="body";default:return!0}case"YieldExpression":if(Od.type==="AwaitExpression"||Od.type==="TSTypeAssertion")return!0;case"AwaitExpression":switch(Od.type){case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"SpreadElement":case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return Nd==="object";case"NewExpression":case"CallExpression":case"OptionalCallExpression":return Nd==="callee";case"ConditionalExpression":return Nd==="test";case"BinaryExpression":return!(!Ad.argument&&Od.operator==="|>");default:return!1}case"TSFunctionType":if(Ra.match(kd=>kd.type==="TSFunctionType",(kd,Ld)=>Ld==="typeAnnotation"&&kd.type==="TSTypeAnnotation",(kd,Ld)=>Ld==="returnType"&&kd.type==="ArrowFunctionExpression"))return!0;case"TSConditionalType":case"TSConstructorType":if(Nd==="extendsType"&&Od.type==="TSConditionalType"){if(Ad.type==="TSConditionalType")return!0;let{typeAnnotation:kd}=Ad.returnType||Ad.typeAnnotation;if(kd.type==="TSTypePredicate"&&kd.typeAnnotation&&(kd=kd.typeAnnotation.typeAnnotation),kd.type==="TSInferType"&&kd.typeParameter.constraint)return!0}if(Nd==="checkType"&&Od.type==="TSConditionalType")return!0;case"TSUnionType":case"TSIntersectionType":if((Od.type==="TSUnionType"||Od.type==="TSIntersectionType")&&Od.types.length>1&&(!Ad.types||Ad.types.length>1))return!0;case"TSInferType":if(Ad.type==="TSInferType"){if(Od.type==="TSRestType")return!1;if(Nd==="types"&&(Od.type==="TSUnionType"||Od.type==="TSIntersectionType")&&Ad.typeParameter.type==="TSTypeParameter"&&Ad.typeParameter.constraint)return!0}case"TSTypeOperator":return Od.type==="TSArrayType"||Od.type==="TSOptionalType"||Od.type==="TSRestType"||Nd==="objectType"&&Od.type==="TSIndexedAccessType"||Od.type==="TSTypeOperator"||Od.type==="TSTypeAnnotation"&&Ra.grandparent.type.startsWith("TSJSDoc");case"TSTypeQuery":return Nd==="objectType"&&Od.type==="TSIndexedAccessType"||Nd==="elementType"&&Od.type==="TSArrayType";case"TypeOperator":return Od.type==="ArrayTypeAnnotation"||Od.type==="NullableTypeAnnotation"||Nd==="objectType"&&(Od.type==="IndexedAccessType"||Od.type==="OptionalIndexedAccessType")||Od.type==="TypeOperator";case"TypeofTypeAnnotation":return Nd==="objectType"&&(Od.type==="IndexedAccessType"||Od.type==="OptionalIndexedAccessType")||Nd==="elementType"&&Od.type==="ArrayTypeAnnotation";case"ArrayTypeAnnotation":return Od.type==="NullableTypeAnnotation";case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return Od.type==="TypeOperator"||Od.type==="ArrayTypeAnnotation"||Od.type==="NullableTypeAnnotation"||Od.type==="IntersectionTypeAnnotation"||Od.type==="UnionTypeAnnotation"||Nd==="objectType"&&(Od.type==="IndexedAccessType"||Od.type==="OptionalIndexedAccessType");case"InferTypeAnnotation":case"NullableTypeAnnotation":return Od.type==="ArrayTypeAnnotation"||Nd==="objectType"&&(Od.type==="IndexedAccessType"||Od.type==="OptionalIndexedAccessType");case"ComponentTypeAnnotation":case"FunctionTypeAnnotation":{if(Ad.type==="ComponentTypeAnnotation"&&(Ad.rendersType===null||Ad.rendersType===void 0))return!1;if(Ra.match(void 0,(Ld,Gd)=>Gd==="typeAnnotation"&&Ld.type==="TypeAnnotation",(Ld,Gd)=>Gd==="returnType"&&Ld.type==="ArrowFunctionExpression")||Ra.match(void 0,(Ld,Gd)=>Gd==="typeAnnotation"&&Ld.type==="TypePredicate",(Ld,Gd)=>Gd==="typeAnnotation"&&Ld.type==="TypeAnnotation",(Ld,Gd)=>Gd==="returnType"&&Ld.type==="ArrowFunctionExpression"))return!0;let kd=Od.type==="NullableTypeAnnotation"?Ra.grandparent:Od;return kd.type==="UnionTypeAnnotation"||kd.type==="IntersectionTypeAnnotation"||kd.type==="ArrayTypeAnnotation"||Nd==="objectType"&&(kd.type==="IndexedAccessType"||kd.type==="OptionalIndexedAccessType")||Nd==="checkType"&&Od.type==="ConditionalTypeAnnotation"||Nd==="extendsType"&&Od.type==="ConditionalTypeAnnotation"&&((pd=Ad.returnType)==null?void 0:pd.type)==="InferTypeAnnotation"&&((fd=Ad.returnType)==null?void 0:fd.typeParameter.bound)||kd.type==="NullableTypeAnnotation"||Od.type==="FunctionTypeParam"&&Od.name===null&&K$6(Ad).some(Ld=>{var Gd;return((Gd=Ld.typeAnnotation)==null?void 0:Gd.type)==="NullableTypeAnnotation"})}case"ConditionalTypeAnnotation":if(Nd==="extendsType"&&Od.type==="ConditionalTypeAnnotation"&&Ad.type==="ConditionalTypeAnnotation"||Nd==="checkType"&&Od.type==="ConditionalTypeAnnotation")return!0;case"OptionalIndexedAccessType":return Nd==="objectType"&&Od.type==="IndexedAccessType";case"StringLiteral":case"NumericLiteral":case"Literal":if(typeof Ad.value=="string"&&Od.type==="ExpressionStatement"&&!Od.directive){let kd=Ra.grandparent;return kd.type==="Program"||kd.type==="BlockStatement"}return Nd==="object"&&Od.type==="MemberExpression"&&typeof Ad.value=="number";case"AssignmentExpression":{let kd=Ra.grandparent;return Nd==="body"&&Od.type==="ArrowFunctionExpression"?!0:Nd==="key"&&(Od.type==="ClassProperty"||Od.type==="PropertyDefinition")&&Od.computed||(Nd==="init"||Nd==="update")&&Od.type==="ForStatement"?!1:Od.type==="ExpressionStatement"?Ad.left.type==="ObjectPattern":!(Nd==="key"&&Od.type==="TSPropertySignature"||Od.type==="AssignmentExpression"||Od.type==="SequenceExpression"&&kd.type==="ForStatement"&&(kd.init===Od||kd.update===Od)||Nd==="value"&&Od.type==="Property"&&kd.type==="ObjectPattern"&&kd.properties.includes(Od)||Od.type==="NGChainedExpression")}case"ConditionalExpression":switch(Od.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return Nd==="callee";case"ConditionalExpression":return qa.experimentalTernaries?!1:Nd==="test";case"MemberExpression":case"OptionalMemberExpression":return Nd==="object";default:return!1}case"FunctionExpression":switch(Od.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return Nd==="callee";case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(Od.type){case"BinaryExpression":return Od.operator!=="|>"||((md=Ad.extra)==null?void 0:md.parenthesized);case"NewExpression":case"CallExpression":case"OptionalCallExpression":return Nd==="callee";case"MemberExpression":case"OptionalMemberExpression":return Nd==="object";case"TSAsExpression":case"TSSatisfiesExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return Nd==="test";default:return!1}case"ClassExpression":switch(Od.type){case"NewExpression":return Nd==="callee";default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":case"CallExpression":case"MemberExpression":if(sc$1(Ra))return!0;case"TaggedTemplateExpression":case"TSNonNullExpression":if(Nd==="callee"&&(Od.type==="BindExpression"||Od.type==="NewExpression")){let kd=Ad;for(;kd;)switch(kd.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":kd=kd.object;break;case"TaggedTemplateExpression":kd=kd.tag;break;case"TSNonNullExpression":kd=kd.expression;break;default:return!1}}return!1;case"BindExpression":return Nd==="callee"&&(Od.type==="BindExpression"||Od.type==="NewExpression")||Nd==="object"&&q$6(Od);case"NGPipeExpression":return!(Od.type==="NGRoot"||Od.type==="NGMicrosyntaxExpression"||Od.type==="ObjectProperty"&&!((vd=Ad.extra)!=null&&vd.parenthesized)||U$6(Od)||Nd==="arguments"&&L$6(Od)||Nd==="right"&&Od.type==="NGPipeExpression"||Nd==="property"&&Od.type==="MemberExpression"||Od.type==="AssignmentExpression");case"JSXFragment":case"JSXElement":return Nd==="callee"||Nd==="left"&&Od.type==="BinaryExpression"&&Od.operator==="<"||!U$6(Od)&&Od.type!=="ArrowFunctionExpression"&&Od.type!=="AssignmentExpression"&&Od.type!=="AssignmentPattern"&&Od.type!=="BinaryExpression"&&Od.type!=="NewExpression"&&Od.type!=="ConditionalExpression"&&Od.type!=="ExpressionStatement"&&Od.type!=="JsExpressionRoot"&&Od.type!=="JSXAttribute"&&Od.type!=="JSXElement"&&Od.type!=="JSXExpressionContainer"&&Od.type!=="JSXFragment"&&Od.type!=="LogicalExpression"&&!L$6(Od)&&!Ae$5(Od)&&Od.type!=="ReturnStatement"&&Od.type!=="ThrowStatement"&&Od.type!=="TypeCastExpression"&&Od.type!=="VariableDeclarator"&&Od.type!=="YieldExpression";case"TSInstantiationExpression":return Nd==="object"&&q$6(Od)}return!1}var ec$1=v$2(["BlockStatement","BreakStatement","ComponentDeclaration","ClassBody","ClassDeclaration","ClassMethod","ClassProperty","PropertyDefinition","ClassPrivateProperty","ContinueStatement","DebuggerStatement","DeclareComponent","DeclareClass","DeclareExportAllDeclaration","DeclareExportDeclaration","DeclareFunction","DeclareHook","DeclareInterface","DeclareModule","DeclareModuleExports","DeclareNamespace","DeclareVariable","DeclareEnum","DoWhileStatement","EnumDeclaration","ExportAllDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ExpressionStatement","ForInStatement","ForOfStatement","ForStatement","FunctionDeclaration","HookDeclaration","IfStatement","ImportDeclaration","InterfaceDeclaration","LabeledStatement","MethodDefinition","ReturnStatement","SwitchStatement","ThrowStatement","TryStatement","TSDeclareFunction","TSEnumDeclaration","TSImportEqualsDeclaration","TSInterfaceDeclaration","TSModuleDeclaration","TSNamespaceExportDeclaration","TypeAlias","VariableDeclaration","WhileStatement","WithStatement"]);function tc$1(Ra){let qa=0,{node:nd}=Ra;for(;nd;){let od=Ra.getParentNode(qa++);if((od==null?void 0:od.type)==="ForStatement"&&od.init===nd)return!0;nd=od}return!1}function rc$2(Ra){return tr$2(Ra,qa=>qa.type==="ObjectTypeAnnotation"&&tr$2(qa,nd=>nd.type==="FunctionTypeAnnotation"))}function nc$2(Ra){return se$5(Ra)}function or$2(Ra){let{parent:qa,key:nd}=Ra;switch(qa.type){case"NGPipeExpression":if(nd==="arguments"&&Ra.isLast)return Ra.callParent(or$2);break;case"ObjectProperty":if(nd==="value")return Ra.callParent(()=>Ra.key==="properties"&&Ra.isLast);break;case"BinaryExpression":case"LogicalExpression":if(nd==="right")return Ra.callParent(or$2);break;case"ConditionalExpression":if(nd==="alternate")return Ra.callParent(or$2);break;case"UnaryExpression":if(qa.prefix)return Ra.callParent(or$2);break}return!1}function li$3(Ra,qa){let{node:nd,parent:od}=Ra;return nd.type==="FunctionExpression"||nd.type==="ClassExpression"?od.type==="ExportDefaultDeclaration"||!us$1(Ra,qa):!jt$2(nd)||od.type!=="ExportDefaultDeclaration"&&us$1(Ra,qa)?!1:Ra.call(()=>li$3(Ra,qa),...Pr$2(nd))}function sc$1(Ra){let{node:qa,parent:nd,grandparent:od,key:ld}=Ra;return!!((qa.type==="OptionalMemberExpression"||qa.type==="OptionalCallExpression")&&(ld==="object"&&nd.type==="MemberExpression"||ld==="callee"&&(nd.type==="CallExpression"||nd.type==="NewExpression")||nd.type==="TSNonNullExpression"&&od.type==="MemberExpression"&&od.object===nd)||Ra.match(()=>qa.type==="CallExpression"||qa.type==="MemberExpression",(ud,dd)=>dd==="expression"&&ud.type==="ChainExpression")&&(Ra.match(void 0,void 0,(ud,dd)=>dd==="callee"&&(ud.type==="CallExpression"&&!ud.optional||ud.type==="NewExpression")||dd==="object"&&ud.type==="MemberExpression"&&!ud.optional)||Ra.match(void 0,void 0,(ud,dd)=>dd==="expression"&&ud.type==="TSNonNullExpression",(ud,dd)=>dd==="object"&&ud.type==="MemberExpression"))||Ra.match(()=>qa.type==="CallExpression"||qa.type==="MemberExpression",(ud,dd)=>dd==="expression"&&ud.type==="TSNonNullExpression",(ud,dd)=>dd==="expression"&&ud.type==="ChainExpression",(ud,dd)=>dd==="object"&&ud.type==="MemberExpression"))}function is(Ra){return Ra.type==="Identifier"?!0:q$6(Ra)?!Ra.computed&&!Ra.optional&&Ra.property.type==="Identifier"&&is(Ra.object):!1}function uc$2(Ra){return Ra.type==="ChainExpression"&&(Ra=Ra.expression),is(Ra)||L$6(Ra)&&!Ra.optional&&is(Ra.callee)}var Be$6=us$1;function ic$1(Ra,qa){let nd=qa-1;nd=Ge$3(Ra,nd,{backwards:!0}),nd=Ue$3(Ra,nd,{backwards:!0}),nd=Ge$3(Ra,nd,{backwards:!0});let od=Ue$3(Ra,nd,{backwards:!0});return nd!==od}var mi$1=ic$1,ac$2=()=>!0;function as$1(Ra,qa){let nd=Ra.node;return nd.printed=!0,qa.printer.printComment(Ra,qa)}function oc$1(Ra,qa){var nd;let od=Ra.node,ld=[as$1(Ra,qa)],{printer:ud,originalText:dd,locStart:pd,locEnd:fd}=qa;if((nd=ud.isBlockComment)!=null&&nd.call(ud,od)){let vd=te$5(dd,fd(od))?te$5(dd,pd(od),{backwards:!0})?F$3:x$5:" ";ld.push(vd)}else ld.push(F$3);let md=Ue$3(dd,Ge$3(dd,fd(od)));return md!==!1&&te$5(dd,md)&&ld.push(F$3),ld}function pc(Ra,qa,nd){var od;let ld=Ra.node,ud=as$1(Ra,qa),{printer:dd,originalText:pd,locStart:fd}=qa,md=(od=dd.isBlockComment)==null?void 0:od.call(dd,ld);if(nd!=null&&nd.hasLineSuffix&&!(nd!=null&&nd.isBlock)||te$5(pd,fd(ld),{backwards:!0})){let vd=mi$1(pd,fd(ld));return{doc:Wn$2([F$3,vd?F$3:"",ud]),isBlock:md,hasLineSuffix:!0}}return!md||nd!=null&&nd.hasLineSuffix?{doc:[Wn$2([" ",ud]),Ee$6],isBlock:md,hasLineSuffix:!0}:{doc:[" ",ud],isBlock:md,hasLineSuffix:!1}}function M$6(Ra,qa,nd={}){let{node:od}=Ra;if(!w$2(od==null?void 0:od.comments))return"";let{indent:ld=!1,marker:ud,filter:dd=ac$2}=nd,pd=[];if(Ra.each(({node:md})=>{md.leading||md.trailing||md.marker!==ud||!dd(md)||pd.push(as$1(Ra,qa))},"comments"),pd.length===0)return"";let fd=P$6(F$3,pd);return ld?f$2([F$3,fd]):fd}function os$1(Ra,qa){let nd=Ra.node;if(!nd)return{};let od=qa[Symbol.for("printedComments")];if((nd.comments||[]).filter(pd=>!od.has(pd)).length===0)return{leading:"",trailing:""};let ld=[],ud=[],dd;return Ra.each(()=>{let pd=Ra.node;if(od!=null&&od.has(pd))return;let{leading:fd,trailing:md}=pd;fd?ld.push(oc$1(Ra,qa)):md&&(dd=pc(Ra,qa,dd),ud.push(dd.doc))},"comments"),{leading:ld,trailing:ud}}function ye$5(Ra,qa,nd){let{leading:od,trailing:ld}=os$1(Ra,nd);return!od&&!ld?qa:ir$3(qa,ud=>[od,ud,ld])}var ps=class extends Error{constructor(qa,nd,od="type"){super(`Unexpected ${nd} node ${od}: ${JSON.stringify(qa[od])}.`);kg(this,"name","UnexpectedNodeError");this.node=qa}},Me$5=ps;function cs$3(Ra){if(typeof Ra!="string")throw new TypeError("Expected a string");return Ra.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Re$6,ls=class{constructor(Ra){Ws(this,Re$6),Gs$1(this,Re$6,new Set(Ra))}getLeadingWhitespaceCount(Ra){let qa=pt$4(this,Re$6),nd=0;for(let od=0;od<Ra.length&&qa.has(Ra.charAt(od));od++)nd++;return nd}getTrailingWhitespaceCount(Ra){let qa=pt$4(this,Re$6),nd=0;for(let od=Ra.length-1;od>=0&&qa.has(Ra.charAt(od));od--)nd++;return nd}getLeadingWhitespace(Ra){let qa=this.getLeadingWhitespaceCount(Ra);return Ra.slice(0,qa)}getTrailingWhitespace(Ra){let qa=this.getTrailingWhitespaceCount(Ra);return Ra.slice(Ra.length-qa)}hasLeadingWhitespace(Ra){return pt$4(this,Re$6).has(Ra.charAt(0))}hasTrailingWhitespace(Ra){return pt$4(this,Re$6).has(O$3(!1,Ra,-1))}trimStart(Ra){let qa=this.getLeadingWhitespaceCount(Ra);return Ra.slice(qa)}trimEnd(Ra){let qa=this.getTrailingWhitespaceCount(Ra);return Ra.slice(0,Ra.length-qa)}trim(Ra){return this.trimEnd(this.trimStart(Ra))}split(Ra,qa=!1){let nd=`[${cs$3([...pt$4(this,Re$6)].join(""))}]+`,od=new RegExp(qa?`(${nd})`:nd,"u");return Ra.split(od)}hasWhitespaceCharacter(Ra){let qa=pt$4(this,Re$6);return Array.prototype.some.call(Ra,nd=>qa.has(nd))}hasNonWhitespaceCharacter(Ra){let qa=pt$4(this,Re$6);return Array.prototype.some.call(Ra,nd=>!qa.has(nd))}isWhitespaceOnly(Ra){let qa=pt$4(this,Re$6);return Array.prototype.every.call(Ra,nd=>qa.has(nd))}};Re$6=new WeakMap;var yi$2=ls,Nr$2=new yi$2(`
\r `),ms$1=Ra=>Ra===""||Ra===x$5||Ra===F$3||Ra===E$5;function cc$1(Ra,qa,nd){var od,ld,ud;let{node:dd}=Ra;if(dd.type==="JSXElement"&&gc$1(dd))return[nd("openingElement"),nd("closingElement")];let pd=dd.type==="JSXElement"?nd("openingElement"):nd("openingFragment"),fd=dd.type==="JSXElement"?nd("closingElement"):nd("closingFragment");if(dd.children.length===1&&dd.children[0].type==="JSXExpressionContainer"&&(dd.children[0].expression.type==="TemplateLiteral"||dd.children[0].expression.type==="TaggedTemplateExpression"))return[pd,...Ra.map(nd,"children"),fd];dd.children=dd.children.map(Wd=>Sc(Wd)?{type:"JSXText",value:" ",raw:" "}:Wd);let md=dd.children.some(X$6),vd=dd.children.filter(Wd=>Wd.type==="JSXExpressionContainer").length>1,Ad=dd.type==="JSXElement"&&dd.openingElement.attributes.length>1,Nd=ne$5(pd)||md||Ad||vd,Od=Ra.parent.rootMarker==="mdx",kd=qa.singleQuote?"{' '}":'{" "}',Ld=Od?" ":b$3([kd,E$5]," "),Gd=((ld=(od=dd.openingElement)==null?void 0:od.name)==null?void 0:ld.name)==="fbt",jd=lc$1(Ra,qa,nd,Ld,Gd),Fd=dd.children.some(Wd=>pr$2(Wd));for(let Wd=jd.length-2;Wd>=0;Wd--){let Jd=jd[Wd]===""&&jd[Wd+1]==="",_f=jd[Wd]===F$3&&jd[Wd+1]===""&&jd[Wd+2]===F$3,Xd=(jd[Wd]===E$5||jd[Wd]===F$3)&&jd[Wd+1]===""&&jd[Wd+2]===Ld,pf=jd[Wd]===Ld&&jd[Wd+1]===""&&(jd[Wd+2]===E$5||jd[Wd+2]===F$3),mf=jd[Wd]===Ld&&jd[Wd+1]===""&&jd[Wd+2]===Ld,Sf=jd[Wd]===E$5&&jd[Wd+1]===""&&jd[Wd+2]===F$3||jd[Wd]===F$3&&jd[Wd+1]===""&&jd[Wd+2]===E$5;_f&&Fd||Jd||Xd||mf||Sf?jd.splice(Wd,2):pf&&jd.splice(Wd+1,2)}for(;jd.length>0&&ms$1(O$3(!1,jd,-1));)jd.pop();for(;jd.length>1&&ms$1(jd[0])&&ms$1(jd[1]);)jd.shift(),jd.shift();let Ud=[];for(let[Wd,Jd]of jd.entries()){if(Jd===Ld){if(Wd===1&&jd[Wd-1]===""){if(jd.length===2){Ud.push(kd);continue}Ud.push([kd,F$3]);continue}else if(Wd===jd.length-1){Ud.push(kd);continue}else if(jd[Wd-1]===""&&jd[Wd-2]===F$3){Ud.push(kd);continue}}Ud.push(Jd),ne$5(Jd)&&(Nd=!0)}let qd=Fd?qt$4(Ud):l$2(Ud,{shouldBreak:!0});if(((ud=qa.cursorNode)==null?void 0:ud.type)==="JSXText"&&dd.children.includes(qa.cursorNode)&&(qd=[Un$3,qd,Un$3]),Od)return qd;let zd=l$2([pd,f$2([F$3,qd]),F$3,fd]);return Nd?zd:ze$5([l$2([pd,...jd,fd]),zd])}function lc$1(Ra,qa,nd,od,ld){let ud=[];return Ra.each(({node:dd,next:pd})=>{if(dd.type==="JSXText"){let fd=fe$6(dd);if(pr$2(dd)){let md=Nr$2.split(fd,!0);md[0]===""&&(ud.push(""),md.shift(),/\n/u.test(md[0])?ud.push(fi$3(ld,md[1],dd,pd)):ud.push(od),md.shift());let vd;if(O$3(!1,md,-1)===""&&(md.pop(),vd=md.pop()),md.length===0)return;for(let[Ad,Nd]of md.entries())Ad%2===1?ud.push(x$5):ud.push(Nd);vd!==void 0?/\n/u.test(vd)?ud.push(fi$3(ld,O$3(!1,ud,-1),dd,pd)):ud.push(od):ud.push(Di$2(ld,O$3(!1,ud,-1),dd,pd))}else/\n/u.test(fd)?fd.match(/\n/gu).length>1&&ud.push("",F$3):ud.push("",od)}else{let fd=nd();if(ud.push(fd),pd&&pr$2(pd)){let md=Nr$2.trim(fe$6(pd)),[vd]=Nr$2.split(md);ud.push(Di$2(ld,vd,dd,pd))}else ud.push(F$3)}},"children"),ud}function Di$2(Ra,qa,nd,od){return Ra?"":nd.type==="JSXElement"&&!nd.closingElement||(od==null?void 0:od.type)==="JSXElement"&&!od.closingElement?qa.length===1?E$5:F$3:E$5}function fi$3(Ra,qa,nd,od){return Ra?F$3:qa.length===1?nd.type==="JSXElement"&&!nd.closingElement||(od==null?void 0:od.type)==="JSXElement"&&!od.closingElement?F$3:E$5:F$3}var mc=new Set(["ArrayExpression","TupleExpression","JSXAttribute","JSXElement","JSXExpressionContainer","JSXFragment","ExpressionStatement","CallExpression","OptionalCallExpression","ConditionalExpression","JsExpressionRoot"]);function yc$1(Ra,qa,nd){let{parent:od}=Ra;if(mc.has(od.type))return qa;let ld=Ra.match(void 0,dd=>dd.type==="ArrowFunctionExpression",L$6,dd=>dd.type==="JSXExpressionContainer"),ud=Be$6(Ra,nd);return l$2([ud?"":b$3("("),f$2([E$5,qa]),E$5,ud?"":b$3(")")],{shouldBreak:ld})}function Dc(Ra,qa,nd){let{node:od}=Ra,ld=[];if(ld.push(nd("name")),od.value){let ud;if(Q$6(od.value)){let dd=fe$6(od.value),pd=N$6(!1,N$6(!1,dd.slice(1,-1),"&apos;","'"),"&quot;",'"'),fd=xr$2(pd,qa.jsxSingleQuote);pd=fd==='"'?N$6(!1,pd,'"',"&quot;"):N$6(!1,pd,"'","&apos;"),ud=Ra.call(()=>ye$5(Ra,Ie$4(fd+pd+fd),qa),"value")}else ud=nd("value");ld.push("=",ud)}return ld}function fc(Ra,qa,nd){let{node:od}=Ra,ld=(ud,dd)=>ud.type==="JSXEmptyExpression"||!d$2(ud)&&(U$6(ud)||se$5(ud)||ud.type==="ArrowFunctionExpression"||ud.type==="AwaitExpression"&&(ld(ud.argument,ud)||ud.argument.type==="JSXElement")||L$6(ud)||ud.type==="ChainExpression"&&L$6(ud.expression)||ud.type==="FunctionExpression"||ud.type==="TemplateLiteral"||ud.type==="TaggedTemplateExpression"||ud.type==="DoExpression"||X$6(dd)&&(ud.type==="ConditionalExpression"||De$4(ud)));return ld(od.expression,Ra.parent)?l$2(["{",nd("expression"),ke$5,"}"]):l$2(["{",f$2([E$5,nd("expression")]),E$5,ke$5,"}"])}function Ec$1(Ra,qa,nd){var od,ld;let{node:ud}=Ra,dd=d$2(ud.name)||d$2(ud.typeParameters)||d$2(ud.typeArguments);if(ud.selfClosing&&ud.attributes.length===0&&!dd)return["<",nd("name"),ud.typeArguments?nd("typeArguments"):nd("typeParameters")," />"];if(((od=ud.attributes)==null?void 0:od.length)===1&&Q$6(ud.attributes[0].value)&&!ud.attributes[0].value.value.includes(`
`)&&!dd&&!d$2(ud.attributes[0]))return l$2(["<",nd("name"),ud.typeArguments?nd("typeArguments"):nd("typeParameters")," ",...Ra.map(nd,"attributes"),ud.selfClosing?" />":">"]);let pd=(ld=ud.attributes)==null?void 0:ld.some(md=>Q$6(md.value)&&md.value.value.includes(`
`)),fd=qa.singleAttributePerLine&&ud.attributes.length>1?F$3:x$5;return l$2(["<",nd("name"),ud.typeArguments?nd("typeArguments"):nd("typeParameters"),f$2(Ra.map(()=>[fd,nd()],"attributes")),...Fc$1(ud,qa,dd)],{shouldBreak:pd})}function Fc$1(Ra,qa,nd){return Ra.selfClosing?[x$5,"/>"]:Cc(Ra,qa,nd)?[">"]:[E$5,">"]}function Cc(Ra,qa,nd){let od=Ra.attributes.length>0&&d$2(O$3(!1,Ra.attributes,-1),g$4.Trailing);return Ra.attributes.length===0&&!nd||(qa.bracketSameLine||qa.jsxBracketSameLine)&&(!nd||Ra.attributes.length>0)&&!od}function Ac(Ra,qa,nd){let{node:od}=Ra,ld=[];ld.push("</");let ud=nd("name");return d$2(od.name,g$4.Leading|g$4.Line)?ld.push(f$2([F$3,ud]),F$3):d$2(od.name,g$4.Leading|g$4.Block)?ld.push(" ",ud):ld.push(ud),ld.push(">"),ld}function Tc(Ra,qa){let{node:nd}=Ra,od=d$2(nd),ld=d$2(nd,g$4.Line),ud=nd.type==="JSXOpeningFragment";return[ud?"<":"</",f$2([ld?F$3:od&&!ud?" ":"",M$6(Ra,qa)]),ld?F$3:"",">"]}function dc$1(Ra,qa,nd){let od=ye$5(Ra,cc$1(Ra,qa,nd),qa);return yc$1(Ra,od,qa)}function xc$1(Ra,qa){let{node:nd}=Ra,od=d$2(nd,g$4.Line);return[M$6(Ra,qa,{indent:od}),od?F$3:""]}function hc(Ra,qa,nd){let{node:od}=Ra;return["{",Ra.call(({node:ld})=>{let ud=["...",nd()];return!d$2(ld)||!zn$3(Ra)?ud:[f$2([E$5,ye$5(Ra,ud,qa)]),E$5]},od.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function Ei$1(Ra,qa,nd){let{node:od}=Ra;if(od.type.startsWith("JSX"))switch(od.type){case"JSXAttribute":return Dc(Ra,qa,nd);case"JSXIdentifier":return od.name;case"JSXNamespacedName":return P$6(":",[nd("namespace"),nd("name")]);case"JSXMemberExpression":return P$6(".",[nd("object"),nd("property")]);case"JSXSpreadAttribute":case"JSXSpreadChild":return hc(Ra,qa,nd);case"JSXExpressionContainer":return fc(Ra,qa,nd);case"JSXFragment":case"JSXElement":return dc$1(Ra,qa,nd);case"JSXOpeningElement":return Ec$1(Ra,qa,nd);case"JSXClosingElement":return Ac(Ra,qa,nd);case"JSXOpeningFragment":case"JSXClosingFragment":return Tc(Ra,qa);case"JSXEmptyExpression":return xc$1(Ra,qa);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new Me$5(od,"JSX")}}function gc$1(Ra){if(Ra.children.length===0)return!0;if(Ra.children.length>1)return!1;let qa=Ra.children[0];return qa.type==="JSXText"&&!pr$2(qa)}function pr$2(Ra){return Ra.type==="JSXText"&&(Nr$2.hasNonWhitespaceCharacter(fe$6(Ra))||!/\n/u.test(fe$6(Ra)))}function Sc(Ra){return Ra.type==="JSXExpressionContainer"&&Q$6(Ra.expression)&&Ra.expression.value===" "&&!d$2(Ra.expression)}function Fi$1(Ra){let{node:qa,parent:nd}=Ra;if(!X$6(qa)||!X$6(nd))return!1;let{index:od,siblings:ld}=Ra,ud;for(let dd=od;dd>0;dd--){let pd=ld[dd-1];if(!(pd.type==="JSXText"&&!pr$2(pd))){ud=pd;break}}return(ud==null?void 0:ud.type)==="JSXExpressionContainer"&&ud.expression.type==="JSXEmptyExpression"&&Bt$4(ud.expression)}function Bc(Ra){return Bt$4(Ra.node)||Fi$1(Ra)}var Xr$2=Bc,bc$1=0;function Yr$2(Ra,qa,nd){var od;let{node:ld,parent:ud,grandparent:dd,key:pd}=Ra,fd=pd!=="body"&&(ud.type==="IfStatement"||ud.type==="WhileStatement"||ud.type==="SwitchStatement"||ud.type==="DoWhileStatement"),md=ld.operator==="|>"&&((od=Ra.root.extra)==null?void 0:od.__isUsingHackPipeline),vd=ys$1(Ra,nd,qa,!1,fd);if(fd)return vd;if(md)return l$2(vd);if(L$6(ud)&&ud.callee===ld||ud.type==="UnaryExpression"||q$6(ud)&&!ud.computed)return l$2([f$2([E$5,...vd]),E$5]);let Ad=ud.type==="ReturnStatement"||ud.type==="ThrowStatement"||ud.type==="JSXExpressionContainer"&&dd.type==="JSXAttribute"||ld.operator!=="|"&&ud.type==="JsExpressionRoot"||ld.type!=="NGPipeExpression"&&(ud.type==="NGRoot"&&qa.parser==="__ng_binding"||ud.type==="NGMicrosyntaxExpression"&&dd.type==="NGMicrosyntax"&&dd.body.length===1)||ld===ud.body&&ud.type==="ArrowFunctionExpression"||ld!==ud.body&&ud.type==="ForStatement"||ud.type==="ConditionalExpression"&&dd.type!=="ReturnStatement"&&dd.type!=="ThrowStatement"&&!L$6(dd)||ud.type==="TemplateLiteral",Nd=ud.type==="AssignmentExpression"||ud.type==="VariableDeclarator"||ud.type==="ClassProperty"||ud.type==="PropertyDefinition"||ud.type==="TSAbstractPropertyDefinition"||ud.type==="ClassPrivateProperty"||Ae$5(ud),Od=De$4(ld.left)&&nr$2(ld.operator,ld.left.operator);if(Ad||Ut$4(ld)&&!Od||!Ut$4(ld)&&Nd)return l$2(vd);if(vd.length===0)return"";let kd=X$6(ld.right),Ld=vd.findIndex(zd=>typeof zd!="string"&&!Array.isArray(zd)&&zd.type===le$5),Gd=vd.slice(0,Ld===-1?1:Ld+1),jd=vd.slice(Gd.length,kd?-1:void 0),Fd=Symbol("logicalChain-"+ ++bc$1),Ud=l$2([...Gd,f$2(jd)],{id:Fd});if(!kd)return Ud;let qd=O$3(!1,vd,-1);return l$2([Ud,At$3(qd,{groupId:Fd})])}function ys$1(Ra,qa,nd,od,ld){var ud;let{node:dd}=Ra;if(!De$4(dd))return[l$2(qa())];let pd=[];nr$2(dd.operator,dd.left.operator)?pd=Ra.call(Gd=>ys$1(Gd,qa,nd,!0,ld),"left"):pd.push(l$2(qa("left")));let fd=Ut$4(dd),md=(dd.operator==="|>"||dd.type==="NGPipeExpression"||Pc(Ra,nd))&&!Oe$5(nd.originalText,dd.right),vd=dd.type==="NGPipeExpression"?"|":dd.operator,Ad=dd.type==="NGPipeExpression"&&dd.arguments.length>0?l$2(f$2([E$5,": ",P$6([x$5,": "],Ra.map(()=>he$3(2,l$2(qa())),"arguments"))])):"",Nd;if(fd)Nd=[vd," ",qa("right"),Ad];else{let Gd=vd==="|>"&&((ud=Ra.root.extra)!=null&&ud.__isUsingHackPipeline)?Ra.call(jd=>ys$1(jd,qa,nd,!0,ld),"right"):qa("right");Nd=[md?x$5:"",vd,md?" ":x$5,Gd,Ad]}let{parent:Od}=Ra,kd=d$2(dd.left,g$4.Trailing|g$4.Line),Ld=kd||!(ld&&dd.type==="LogicalExpression")&&Od.type!==dd.type&&dd.left.type!==dd.type&&dd.right.type!==dd.type;if(pd.push(md?"":" ",Ld?l$2(Nd,{shouldBreak:kd}):Nd),od&&d$2(dd)){let Gd=Wt$3(ye$5(Ra,pd,nd));return Gd.type===Pe$5?Gd.parts:Array.isArray(Gd)?Gd:[Gd]}return pd}function Ut$4(Ra){return Ra.type!=="LogicalExpression"?!1:!!(se$5(Ra.right)&&Ra.right.properties.length>0||U$6(Ra.right)&&Ra.right.elements.length>0||X$6(Ra.right))}var Ci$1=Ra=>Ra.type==="BinaryExpression"&&Ra.operator==="|";function Pc(Ra,qa){return(qa.parser==="__vue_expression"||qa.parser==="__vue_ts_expression")&&Ci$1(Ra.node)&&!Ra.hasAncestor(nd=>!Ci$1(nd)&&nd.type!=="JsExpressionRoot")}function Ti$1(Ra,qa,nd){let{node:od}=Ra;if(od.type.startsWith("NG"))switch(od.type){case"NGRoot":return[nd("node"),d$2(od.node)?" //"+ct$3(od.node)[0].value.trimEnd():""];case"NGPipeExpression":return Yr$2(Ra,qa,nd);case"NGChainedExpression":return l$2(P$6([";",x$5],Ra.map(()=>Ic$1(Ra)?nd():["(",nd(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGMicrosyntax":return Ra.map(()=>[Ra.isFirst?"":Ai$1(Ra)?" ":[";",x$5],nd()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/iu.test(od.name)?od.name:JSON.stringify(od.name);case"NGMicrosyntaxExpression":return[nd("expression"),od.alias===null?"":[" as ",nd("alias")]];case"NGMicrosyntaxKeyedExpression":{let{index:ld,parent:ud}=Ra,dd=Ai$1(Ra)||(ld===1&&(od.key.name==="then"||od.key.name==="else"||od.key.name==="as")||(ld===2||ld===3)&&(od.key.name==="else"&&ud.body[ld-1].type==="NGMicrosyntaxKeyedExpression"&&ud.body[ld-1].key.name==="then"||od.key.name==="track"))&&ud.body[0].type==="NGMicrosyntaxExpression";return[nd("key"),dd?" ":": ",nd("expression")]}case"NGMicrosyntaxLet":return["let ",nd("key"),od.value===null?"":[" = ",nd("value")]];case"NGMicrosyntaxAs":return[nd("key")," as ",nd("alias")];default:throw new Me$5(od,"Angular")}}function Ai$1({node:Ra,index:qa}){return Ra.type==="NGMicrosyntaxKeyedExpression"&&Ra.key.name==="of"&&qa===1}var kc$1=v$2(["CallExpression","OptionalCallExpression","AssignmentExpression"]);function Ic$1({node:Ra}){return tr$2(Ra,kc$1)}function Ds$1(Ra,qa,nd){let{node:od}=Ra;return l$2([P$6(x$5,Ra.map(nd,"decorators")),hi$2(od,qa)?F$3:x$5])}function di$3(Ra,qa,nd){return gi$1(Ra.node)?[P$6(F$3,Ra.map(nd,"declaration","decorators")),F$3]:""}function xi$1(Ra,qa,nd){let{node:od,parent:ld}=Ra,{decorators:ud}=od;if(!w$2(ud)||gi$1(ld)||Xr$2(Ra))return"";let dd=od.type==="ClassExpression"||od.type==="ClassDeclaration"||hi$2(od,qa);return[Ra.key==="declaration"&&iu$1(ld)?F$3:dd?Ee$6:"",P$6(x$5,Ra.map(nd,"decorators")),x$5]}function hi$2(Ra,qa){return Ra.decorators.some(nd=>te$5(qa.originalText,k$2(nd)))}function gi$1(Ra){var qa;if(Ra.type!=="ExportDefaultDeclaration"&&Ra.type!=="ExportNamedDeclaration"&&Ra.type!=="DeclareExportDeclaration")return!1;let nd=(qa=Ra.declaration)==null?void 0:qa.decorators;return w$2(nd)&&ht$3(Ra,nd[0])}var Dt$3=class extends Error{constructor(){super(...arguments);kg(this,"name","ArgExpansionBailout")}};function Lc(Ra,qa,nd){let{node:od}=Ra,ld=oe$5(od);if(ld.length===0)return["(",M$6(Ra,qa),")"];let ud=ld.length-1;if(_c(ld)){let Nd=["("];return Rt$4(Ra,(Od,kd)=>{Nd.push(nd()),kd!==ud&&Nd.push(", ")}),Nd.push(")"),Nd}let dd=!1,pd=[];Rt$4(Ra,({node:Nd},Od)=>{let kd=nd();Od===ud||(pe$3(Nd,qa)?(dd=!0,kd=[kd,",",F$3,F$3]):kd=[kd,",",x$5]),pd.push(kd)});let fd=od.type==="ImportExpression"||od.callee.type==="Import",md=!qa.parser.startsWith("__ng_")&&!fd&&ae$4(qa,"all")?",":"";function vd(){return l$2(["(",f$2([x$5,...pd]),md,x$5,")"],{shouldBreak:!0})}if(dd||Ra.parent.type!=="Decorator"&&lu$2(ld))return vd();if(Oc(ld)){let Nd=pd.slice(1);if(Nd.some(ne$5))return vd();let Od;try{Od=nd(Rn$2(od,0),{expandFirstArg:!0})}catch(kd){if(kd instanceof Dt$3)return vd();throw kd}return ne$5(Od)?[Ee$6,ze$5([["(",l$2(Od,{shouldBreak:!0}),", ",...Nd,")"],vd()])]:ze$5([["(",Od,", ",...Nd,")"],["(",l$2(Od,{shouldBreak:!0}),", ",...Nd,")"],vd()])}if(wc(ld,pd,qa)){let Nd=pd.slice(0,-1);if(Nd.some(ne$5))return vd();let Od;try{Od=nd(Rn$2(od,-1),{expandLastArg:!0})}catch(kd){if(kd instanceof Dt$3)return vd();throw kd}return ne$5(Od)?[Ee$6,ze$5([["(",...Nd,l$2(Od,{shouldBreak:!0}),")"],vd()])]:ze$5([["(",...Nd,Od,")"],["(",...Nd,l$2(Od,{shouldBreak:!0}),")"],vd()])}let Ad=["(",f$2([E$5,...pd]),b$3(md),E$5,")"];return Or$2(Ra)?Ad:l$2(Ad,{shouldBreak:pd.some(ne$5)||dd})}function cr$3(Ra,qa=!1){return se$5(Ra)&&(Ra.properties.length>0||d$2(Ra))||U$6(Ra)&&(Ra.elements.length>0||d$2(Ra))||Ra.type==="TSTypeAssertion"&&cr$3(Ra.expression)||Te$4(Ra)&&cr$3(Ra.expression)||Ra.type==="FunctionExpression"||Ra.type==="ArrowFunctionExpression"&&(!Ra.returnType||!Ra.returnType.typeAnnotation||Ra.returnType.typeAnnotation.type!=="TSTypeReference"||jc$1(Ra.body))&&(Ra.body.type==="BlockStatement"||Ra.body.type==="ArrowFunctionExpression"&&cr$3(Ra.body,!0)||se$5(Ra.body)||U$6(Ra.body)||!qa&&(L$6(Ra.body)||Ra.body.type==="ConditionalExpression")||X$6(Ra.body))||Ra.type==="DoExpression"||Ra.type==="ModuleExpression"}function wc(Ra,qa,nd){var od,ld;let ud=O$3(!1,Ra,-1);if(Ra.length===1){let pd=O$3(!1,qa,-1);if((od=pd.label)!=null&&od.embed&&((ld=pd.label)==null?void 0:ld.hug)!==!1)return!0}let dd=O$3(!1,Ra,-2);return!d$2(ud,g$4.Leading)&&!d$2(ud,g$4.Trailing)&&cr$3(ud)&&(!dd||dd.type!==ud.type)&&(Ra.length!==2||dd.type!=="ArrowFunctionExpression"||!U$6(ud))&&!(Ra.length>1&&fs$1(ud,nd))}function Oc(Ra){if(Ra.length!==2)return!1;let[qa,nd]=Ra;return qa.type==="ModuleExpression"&&vc(nd)?!0:!d$2(qa)&&(qa.type==="FunctionExpression"||qa.type==="ArrowFunctionExpression"&&qa.body.type==="BlockStatement")&&nd.type!=="FunctionExpression"&&nd.type!=="ArrowFunctionExpression"&&nd.type!=="ConditionalExpression"&&Bi$1(nd)&&!cr$3(nd)}function Bi$1(Ra){if(Ra.type==="ParenthesizedExpression")return Bi$1(Ra.expression);if(Te$4(Ra)||Ra.type==="TypeCastExpression"){let{typeAnnotation:qa}=Ra;if(qa.type==="TypeAnnotation"&&(qa=qa.typeAnnotation),qa.type==="TSArrayType"&&(qa=qa.elementType,qa.type==="TSArrayType"&&(qa=qa.elementType)),qa.type==="GenericTypeAnnotation"||qa.type==="TSTypeReference"){let nd=qa.typeArguments??qa.typeParameters;(nd==null?void 0:nd.params.length)===1&&(qa=nd.params[0])}return Mt$4(qa)&&be$7(Ra.expression,1)}return lt$3(Ra)&&oe$5(Ra).length>1?!1:De$4(Ra)?be$7(Ra.left,1)&&be$7(Ra.right,1):vn$2(Ra)||be$7(Ra)}function _c(Ra){return Ra.length===2?Si$1(Ra,0):Ra.length===3?Ra[0].type==="Identifier"&&Si$1(Ra,1):!1}function Si$1(Ra,qa){let nd=Ra[qa],od=Ra[qa+1];return nd.type==="ArrowFunctionExpression"&&K$6(nd).length===0&&nd.body.type==="BlockStatement"&&od.type==="ArrayExpression"&&!Ra.some(ld=>d$2(ld))}function jc$1(Ra){return Ra.type==="BlockStatement"&&(Ra.body.some(qa=>qa.type!=="EmptyStatement")||d$2(Ra,g$4.Dangling))}function vc(Ra){return Ra.type==="ObjectExpression"&&Ra.properties.length===1&&Ae$5(Ra.properties[0])&&Ra.properties[0].key.type==="Identifier"&&Ra.properties[0].key.name==="type"&&Q$6(Ra.properties[0].value)&&Ra.properties[0].value.value==="module"}var lr$1=Lc,Mc$1=Ra=>((Ra.type==="ChainExpression"||Ra.type==="TSNonNullExpression")&&(Ra=Ra.expression),L$6(Ra)&&oe$5(Ra).length>0);function bi$2(Ra,qa,nd){var od;let ld=nd("object"),ud=Es(Ra,qa,nd),{node:dd}=Ra,pd=Ra.findAncestor(vd=>!(q$6(vd)||vd.type==="TSNonNullExpression")),fd=Ra.findAncestor(vd=>!(vd.type==="ChainExpression"||vd.type==="TSNonNullExpression")),md=pd&&(pd.type==="NewExpression"||pd.type==="BindExpression"||pd.type==="AssignmentExpression"&&pd.left.type!=="Identifier")||dd.computed||dd.object.type==="Identifier"&&dd.property.type==="Identifier"&&!q$6(fd)||(fd.type==="AssignmentExpression"||fd.type==="VariableDeclarator")&&(Mc$1(dd.object)||((od=ld.label)==null?void 0:od.memberChain));return it$3(ld.label,[ld,md?ud:l$2(f$2([E$5,ud]))])}function Es(Ra,qa,nd){let od=nd("property"),{node:ld}=Ra,ud=V$6(Ra);return ld.computed?!ld.property||Ce$4(ld.property)?[ud,"[",od,"]"]:l$2([ud,"[",f$2([E$5,od]),E$5,"]"]):[ud,".",od]}function Pi$1(Ra,qa,nd){if(Ra.node.type==="ChainExpression")return Ra.call(()=>Pi$1(Ra,qa,nd),"expression");let{parent:od}=Ra,ld=!od||od.type==="ExpressionStatement",ud=[];function dd(Af){let{originalText:Ef}=qa,Nf=yt$2(Ef,k$2(Af));return Ef.charAt(Nf)===")"?Nf!==!1&&Ot$3(Ef,Nf+1):pe$3(Af,qa)}function pd(Af){let{node:Ef}=Af;if(Ef.type==="ChainExpression")return Af.call(()=>pd(Af),"expression");if(L$6(Ef)&&(Ft$4(Ef.callee)||L$6(Ef.callee))){let Nf=dd(Ef);ud.unshift({node:Ef,hasTrailingEmptyLine:Nf,printed:[ye$5(Af,[V$6(Af),Qe$3(Af,qa,nd),lr$1(Af,qa,nd)],qa),Nf?F$3:""]}),Af.call(If=>pd(If),"callee")}else Ft$4(Ef)?(ud.unshift({node:Ef,needsParens:Be$6(Af,qa),printed:ye$5(Af,q$6(Ef)?Es(Af,qa,nd):Hr$3(Af,qa,nd),qa)}),Af.call(Nf=>pd(Nf),"object")):Ef.type==="TSNonNullExpression"?(ud.unshift({node:Ef,printed:ye$5(Af,"!",qa)}),Af.call(Nf=>pd(Nf),"expression")):ud.unshift({node:Ef,printed:nd()})}let{node:fd}=Ra;ud.unshift({node:fd,printed:[V$6(Ra),Qe$3(Ra,qa,nd),lr$1(Ra,qa,nd)]}),fd.callee&&Ra.call(Af=>pd(Af),"callee");let md=[],vd=[ud[0]],Ad=1;for(;Ad<ud.length&&(ud[Ad].node.type==="TSNonNullExpression"||L$6(ud[Ad].node)||q$6(ud[Ad].node)&&ud[Ad].node.computed&&Ce$4(ud[Ad].node.property));++Ad)vd.push(ud[Ad]);if(!L$6(ud[0].node))for(;Ad+1<ud.length&&Ft$4(ud[Ad].node)&&Ft$4(ud[Ad+1].node);++Ad)vd.push(ud[Ad]);md.push(vd),vd=[];let Nd=!1;for(;Ad<ud.length;++Ad){if(Nd&&Ft$4(ud[Ad].node)){if(ud[Ad].node.computed&&Ce$4(ud[Ad].node.property)){vd.push(ud[Ad]);continue}md.push(vd),vd=[],Nd=!1}(L$6(ud[Ad].node)||ud[Ad].node.type==="ImportExpression")&&(Nd=!0),vd.push(ud[Ad]),d$2(ud[Ad].node,g$4.Trailing)&&(md.push(vd),vd=[],Nd=!1)}vd.length>0&&md.push(vd);function Od(Af){return/^[A-Z]|^[$_]+$/u.test(Af)}function kd(Af){return Af.length<=qa.tabWidth}function Ld(Af){var Ef;let Nf=(Ef=Af[1][0])==null?void 0:Ef.node.computed;if(Af[0].length===1){let Gf=Af[0][0].node;return Gf.type==="ThisExpression"||Gf.type==="Identifier"&&(Od(Gf.name)||ld&&kd(Gf.name)||Nf)}let If=O$3(!1,Af[0],-1).node;return q$6(If)&&If.property.type==="Identifier"&&(Od(If.property.name)||Nf)}let Gd=md.length>=2&&!d$2(md[1][0].node)&&Ld(md);function jd(Af){let Ef=Af.map(Nf=>Nf.printed);return Af.length>0&&O$3(!1,Af,-1).needsParens?["(",...Ef,")"]:Ef}function Fd(Af){return Af.length===0?"":f$2([F$3,P$6(F$3,Af.map(jd))])}let Ud=md.map(jd),qd=Ud,zd=Gd?3:2,Wd=md.flat(),Jd=Wd.slice(1,-1).some(Af=>d$2(Af.node,g$4.Leading))||Wd.slice(0,-1).some(Af=>d$2(Af.node,g$4.Trailing))||md[zd]&&d$2(md[zd][0].node,g$4.Leading);if(md.length<=zd&&!Jd&&!md.some(Af=>O$3(!1,Af,-1).hasTrailingEmptyLine))return Or$2(Ra)?qd:l$2(qd);let _f=O$3(!1,md[Gd?1:0],-1).node,Xd=!L$6(_f)&&dd(_f),pf=[jd(md[0]),Gd?md.slice(1,2).map(jd):"",Xd?F$3:"",Fd(md.slice(Gd?2:1))],mf=ud.map(({node:Af})=>Af).filter(L$6);function Sf(){let Af=O$3(!1,O$3(!1,md,-1),-1).node,Ef=O$3(!1,Ud,-1);return L$6(Af)&&ne$5(Ef)&&mf.slice(0,-1).some(Nf=>Nf.arguments.some(_t$3))}let Tf;return Jd||mf.length>2&&mf.some(Af=>!Af.arguments.every(Ef=>be$7(Ef)))||Ud.slice(0,-1).some(ne$5)||Sf()?Tf=l$2(pf):Tf=[ne$5(qd)||Xd?Ee$6:"",ze$5([qd,pf])],it$3({memberChain:!0},Tf)}var ki$1=Pi$1;function Vr$2(Ra,qa,nd){var od;let{node:ld}=Ra,ud=ld.type==="NewExpression",dd=ld.type==="ImportExpression",pd=V$6(Ra),fd=oe$5(ld),md=fd.length===1&&Lr$2(fd[0],qa.originalText);if(md||Rc$1(Ra)||St$3(ld,Ra.parent)){let Ad=[];if(Rt$4(Ra,()=>{Ad.push(nd())}),!(md&&(od=Ad[0].label)!=null&&od.embed))return[ud?"new ":"",Ii(Ra,nd),pd,Qe$3(Ra,qa,nd),"(",P$6(", ",Ad),")"]}if(!dd&&!ud&&Ft$4(ld.callee)&&!Ra.call(Ad=>Be$6(Ad,qa),"callee",...ld.callee.type==="ChainExpression"?["expression"]:[]))return ki$1(Ra,qa,nd);let vd=[ud?"new ":"",Ii(Ra,nd),pd,Qe$3(Ra,qa,nd),lr$1(Ra,qa,nd)];return dd||L$6(ld.callee)?l$2(vd):vd}function Ii(Ra,qa){let{node:nd}=Ra;return nd.type==="ImportExpression"?`import${nd.phase?`.${nd.phase}`:""}`:qa("callee")}function Rc$1(Ra){let{node:qa}=Ra;if(qa.type!=="CallExpression"||qa.optional||qa.callee.type!=="Identifier")return!1;let nd=oe$5(qa);return qa.callee.name==="require"?nd.length===1&&Q$6(nd[0])||nd.length>1:qa.callee.name==="define"&&Ra.parent.type==="ExpressionStatement"?nd.length===1||nd.length===2&&nd[0].type==="ArrayExpression"||nd.length===3&&Q$6(nd[0])&&nd[1].type==="ArrayExpression":!1}function Tt$3(Ra,qa,nd,od,ld,ud){let dd=Jc$1(Ra,qa,nd,od,ud),pd=ud?nd(ud,{assignmentLayout:dd}):"";switch(dd){case"break-after-operator":return l$2([l$2(od),ld,l$2(f$2([x$5,pd]))]);case"never-break-after-operator":return l$2([l$2(od),ld," ",pd]);case"fluid":{let fd=Symbol("assignment");return l$2([l$2(od),ld,l$2(f$2(x$5),{id:fd}),ke$5,At$3(pd,{groupId:fd})])}case"break-lhs":return l$2([od,ld," ",l$2(pd)]);case"chain":return[l$2(od),ld,x$5,pd];case"chain-tail":return[l$2(od),ld,f$2([x$5,pd])];case"chain-tail-arrow-chain":return[l$2(od),ld,pd];case"only-left":return od}}function wi$1(Ra,qa,nd){let{node:od}=Ra;return Tt$3(Ra,qa,nd,nd("left"),[" ",od.operator],"right")}function Oi(Ra,qa,nd){return Tt$3(Ra,qa,nd,nd("id")," =","init")}function Jc$1(Ra,qa,nd,od,ld){let{node:ud}=Ra,dd=ud[ld];if(!dd)return"only-left";let pd=!$r$2(dd);if(Ra.match($r$2,_i$1,vd=>!pd||vd.type!=="ExpressionStatement"&&vd.type!=="VariableDeclaration"))return pd?dd.type==="ArrowFunctionExpression"&&dd.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!pd&&$r$2(dd.right)||Oe$5(qa.originalText,dd))return"break-after-operator";if(ud.type==="ImportAttribute"||dd.type==="CallExpression"&&dd.callee.name==="require"||qa.parser==="json5"||qa.parser==="jsonc"||qa.parser==="json")return"never-break-after-operator";let fd=Bu$1(od);if(Wc$1(ud)||Xc$1(ud)||Fs(ud)&&fd)return"break-lhs";let md=Hc$1(ud,od,qa);return Ra.call(()=>qc(Ra,qa,nd,md),ld)?"break-after-operator":Gc$1(ud)?"break-lhs":!fd&&(md||dd.type==="TemplateLiteral"||dd.type==="TaggedTemplateExpression"||dd.type==="BooleanLiteral"||Ce$4(dd)||dd.type==="ClassExpression")?"never-break-after-operator":"fluid"}function qc(Ra,qa,nd,od){let ld=Ra.node;if(De$4(ld)&&!Ut$4(ld))return!0;switch(ld.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"TSConditionalType":case"ConditionalTypeAnnotation":if(!qa.experimentalTernaries&&!Kc$1(ld))break;return!0;case"ConditionalExpression":{if(!qa.experimentalTernaries){let{test:md}=ld;return De$4(md)&&!Ut$4(md)}let{consequent:pd,alternate:fd}=ld;return pd.type==="ConditionalExpression"||fd.type==="ConditionalExpression"}case"ClassExpression":return w$2(ld.decorators)}if(od)return!1;let ud=ld,dd=[];for(;;)if(ud.type==="UnaryExpression"||ud.type==="AwaitExpression"||ud.type==="YieldExpression"&&ud.argument!==null)ud=ud.argument,dd.push("argument");else if(ud.type==="TSNonNullExpression")ud=ud.expression,dd.push("expression");else break;return!!(Q$6(ud)||Ra.call(()=>ji(Ra,qa,nd),...dd))}function Wc$1(Ra){if(_i$1(Ra)){let qa=Ra.left||Ra.id;return qa.type==="ObjectPattern"&&qa.properties.length>2&&qa.properties.some(nd=>{var od;return Ae$5(nd)&&(!nd.shorthand||((od=nd.value)==null?void 0:od.type)==="AssignmentPattern")})}return!1}function $r$2(Ra){return Ra.type==="AssignmentExpression"}function _i$1(Ra){return $r$2(Ra)||Ra.type==="VariableDeclarator"}function Gc$1(Ra){let qa=Nc$1(Ra);if(w$2(qa)){let nd=Ra.type==="TSTypeAliasDeclaration"?"constraint":"bound";if(qa.length>1&&qa.some(od=>od[nd]||od.default))return!0}return!1}var Uc$1=v$2(["TSTypeAliasDeclaration","TypeAlias"]);function Nc$1(Ra){var qa;if(Uc$1(Ra))return(qa=Ra.typeParameters)==null?void 0:qa.params}function Xc$1(Ra){if(Ra.type!=="VariableDeclarator")return!1;let{typeAnnotation:qa}=Ra.id;if(!qa||!qa.typeAnnotation)return!1;let nd=Li(qa.typeAnnotation);return w$2(nd)&&nd.length>1&&nd.some(od=>w$2(Li(od))||od.type==="TSConditionalType")}function Fs(Ra){var qa;return Ra.type==="VariableDeclarator"&&((qa=Ra.init)==null?void 0:qa.type)==="ArrowFunctionExpression"}var Yc$1=v$2(["TSTypeReference","GenericTypeAnnotation"]);function Li(Ra){var qa;if(Yc$1(Ra))return(qa=Ra.typeArguments??Ra.typeParameters)==null?void 0:qa.params}function ji(Ra,qa,nd,od=!1){var ld;let{node:ud}=Ra,dd=()=>ji(Ra,qa,nd,!0);if(ud.type==="ChainExpression"||ud.type==="TSNonNullExpression")return Ra.call(dd,"expression");if(L$6(ud)){if((ld=Vr$2(Ra,qa,nd).label)!=null&&ld.memberChain)return!1;let pd=oe$5(ud);return!(pd.length===0||pd.length===1&&rr$2(pd[0],qa))||Vc$1(ud,nd)?!1:Ra.call(dd,"callee")}return q$6(ud)?Ra.call(dd,"object"):od&&(ud.type==="Identifier"||ud.type==="ThisExpression")}function Hc$1(Ra,qa,nd){return Ae$5(Ra)?(qa=Wt$3(qa),typeof qa=="string"&&et$4(qa)<nd.tabWidth+3):!1}function Vc$1(Ra,qa){let nd=$c$1(Ra);if(w$2(nd)){if(nd.length>1)return!0;if(nd.length===1){let ld=nd[0];if(Ne$4(ld)||_r$2(ld)||ld.type==="TSTypeLiteral"||ld.type==="ObjectTypeAnnotation")return!0}let od=Ra.typeParameters?"typeParameters":"typeArguments";if(ne$5(qa(od)))return!0}return!1}function $c$1(Ra){var qa;return(qa=Ra.typeParameters??Ra.typeArguments)==null?void 0:qa.params}function Kc$1(Ra){function qa(nd){switch(nd.type){case"FunctionTypeAnnotation":case"GenericTypeAnnotation":case"TSFunctionType":return!!nd.typeParameters;case"TSTypeReference":return!!(nd.typeArguments??nd.typeParameters);default:return!1}}return qa(Ra.checkType)||qa(Ra.extendsType)}function Je$3(Ra,qa,nd,od,ld){let ud=Ra.node,dd=K$6(ud),pd=ld?Qe$3(Ra,nd,qa):"";if(dd.length===0)return[pd,"(",M$6(Ra,nd,{filter:Od=>ge$6(nd.originalText,k$2(Od))===")"}),")"];let{parent:fd}=Ra,md=St$3(fd),vd=Cs(ud),Ad=[];if(fu$1(Ra,(Od,kd)=>{let Ld=kd===dd.length-1;Ld&&ud.rest&&Ad.push("..."),Ad.push(qa()),!Ld&&(Ad.push(","),md||vd?Ad.push(" "):pe$3(dd[kd],nd)?Ad.push(F$3,F$3):Ad.push(x$5))}),od&&!Qc$1(Ra)){if(ne$5(pd)||ne$5(Ad))throw new Dt$3;return l$2([ur$2(pd),"(",ur$2(Ad),")"])}let Nd=dd.every(Od=>!w$2(Od.decorators));return vd&&Nd?[pd,"(",...Ad,")"]:md?[pd,"(",...Ad,")"]:(Ir$2(fd)||ou$2(fd)||fd.type==="TypeAlias"||fd.type==="UnionTypeAnnotation"||fd.type==="IntersectionTypeAnnotation"||fd.type==="FunctionTypeAnnotation"&&fd.returnType===ud)&&dd.length===1&&dd[0].name===null&&ud.this!==dd[0]&&dd[0].typeAnnotation&&ud.typeParameters===null&&Mt$4(dd[0].typeAnnotation)&&!ud.rest?nd.arrowParens==="always"||ud.type==="HookTypeAnnotation"?["(",...Ad,")"]:Ad:[pd,"(",f$2([E$5,...Ad]),b$3(!Du$2(ud)&&ae$4(nd,"all")?",":""),E$5,")"]}function Cs(Ra){if(!Ra)return!1;let qa=K$6(Ra);if(qa.length!==1)return!1;let[nd]=qa;return!d$2(nd)&&(nd.type==="ObjectPattern"||nd.type==="ArrayPattern"||nd.type==="Identifier"&&nd.typeAnnotation&&(nd.typeAnnotation.type==="TypeAnnotation"||nd.typeAnnotation.type==="TSTypeAnnotation")&&we$5(nd.typeAnnotation.typeAnnotation)||nd.type==="FunctionTypeParam"&&we$5(nd.typeAnnotation)&&nd!==Ra.rest||nd.type==="AssignmentPattern"&&(nd.left.type==="ObjectPattern"||nd.left.type==="ArrayPattern")&&(nd.right.type==="Identifier"||se$5(nd.right)&&nd.right.properties.length===0||U$6(nd.right)&&nd.right.elements.length===0))}function zc$1(Ra){let qa;return Ra.returnType?(qa=Ra.returnType,qa.typeAnnotation&&(qa=qa.typeAnnotation)):Ra.typeAnnotation&&(qa=Ra.typeAnnotation),qa}function ot$3(Ra,qa){var nd;let od=zc$1(Ra);if(!od)return!1;let ld=(nd=Ra.typeParameters)==null?void 0:nd.params;if(ld){if(ld.length>1)return!1;if(ld.length===1){let ud=ld[0];if(ud.constraint||ud.default)return!1}}return K$6(Ra).length===1&&(we$5(od)||ne$5(qa))}function Qc$1(Ra){return Ra.match(qa=>qa.type==="ArrowFunctionExpression"&&qa.body.type==="BlockStatement",(qa,nd)=>{if(qa.type==="CallExpression"&&nd==="arguments"&&qa.arguments.length===1&&qa.callee.type==="CallExpression"){let od=qa.callee.callee;return od.type==="Identifier"||od.type==="MemberExpression"&&!od.computed&&od.object.type==="Identifier"&&od.property.type==="Identifier"}return!1},(qa,nd)=>qa.type==="VariableDeclarator"&&nd==="init"||qa.type==="ExportDefaultDeclaration"&&nd==="declaration"||qa.type==="TSExportAssignment"&&nd==="expression"||qa.type==="AssignmentExpression"&&nd==="right"&&qa.left.type==="MemberExpression"&&qa.left.object.type==="Identifier"&&qa.left.object.name==="module"&&qa.left.property.type==="Identifier"&&qa.left.property.name==="exports",qa=>qa.type!=="VariableDeclaration"||qa.kind==="const"&&qa.declarations.length===1)}function vi$1(Ra){let qa=K$6(Ra);return qa.length>1&&qa.some(nd=>nd.type==="TSParameterProperty")}var Zc$1=v$2(["VoidTypeAnnotation","TSVoidKeyword","NullLiteralTypeAnnotation","TSNullKeyword"]),el$2=v$2(["ObjectTypeAnnotation","TSTypeLiteral","GenericTypeAnnotation","TSTypeReference"]);function tl$2(Ra){let{types:qa}=Ra;if(qa.some(od=>d$2(od)))return!1;let nd=qa.find(od=>el$2(od));return nd?qa.every(od=>od===nd||Zc$1(od)):!1}function As$1(Ra){return Mt$4(Ra)||we$5(Ra)?!0:Ne$4(Ra)?tl$2(Ra):!1}function Mi$1(Ra,qa,nd){let od=qa.semi?";":"",{node:ld}=Ra,ud=[$$3(Ra),"opaque type ",nd("id"),nd("typeParameters")];return ld.supertype&&ud.push(": ",nd("supertype")),ld.impltype&&ud.push(" = ",nd("impltype")),ud.push(od),ud}function Kr$3(Ra,qa,nd){let od=qa.semi?";":"",{node:ld}=Ra,ud=[$$3(Ra)];ud.push("type ",nd("id"),nd("typeParameters"));let dd=ld.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[Tt$3(Ra,qa,nd,ud," =",dd),od]}function zr$2(Ra,qa,nd){let od=!1;return l$2(Ra.map(({isFirst:ld,previous:ud,node:dd,index:pd})=>{let fd=nd();if(ld)return fd;let md=we$5(dd),vd=we$5(ud);return vd&&md?[" & ",od?f$2(fd):fd]:!vd&&!md?f$2([" &",x$5,fd]):(pd>1&&(od=!0),[" & ",pd>1?f$2(fd):fd])},"types"))}function Qr$2(Ra,qa,nd){let{node:od}=Ra,{parent:ld}=Ra,ud=ld.type!=="TypeParameterInstantiation"&&(ld.type!=="TSConditionalType"||!qa.experimentalTernaries)&&(ld.type!=="ConditionalTypeAnnotation"||!qa.experimentalTernaries)&&ld.type!=="TSTypeParameterInstantiation"&&ld.type!=="GenericTypeAnnotation"&&ld.type!=="TSTypeReference"&&ld.type!=="TSTypeAssertion"&&ld.type!=="TupleTypeAnnotation"&&ld.type!=="TSTupleType"&&!(ld.type==="FunctionTypeParam"&&!ld.name&&Ra.grandparent.this!==ld)&&!((ld.type==="TypeAlias"||ld.type==="VariableDeclarator"||ld.type==="TSTypeAliasDeclaration")&&Oe$5(qa.originalText,od)),dd=As$1(od),pd=Ra.map(vd=>{let Ad=nd();return dd||(Ad=he$3(2,Ad)),ye$5(vd,Ad,qa)},"types");if(dd)return P$6(" | ",pd);let fd=ud&&!Oe$5(qa.originalText,od),md=[b$3([fd?x$5:"","| "]),P$6([x$5,"| "],pd)];return Be$6(Ra,qa)?l$2([f$2(md),E$5]):(ld.type==="TupleTypeAnnotation"||ld.type==="TSTupleType")&&ld[ld.type==="TupleTypeAnnotation"&&ld.types?"types":"elementTypes"].length>1?l$2([f$2([b$3(["(",E$5]),md]),E$5,b$3(")")]):l$2(ud?f$2(md):md)}function rl$2(Ra){var qa;let{node:nd,parent:od}=Ra;return nd.type==="FunctionTypeAnnotation"&&(Ir$2(od)||!((od.type==="ObjectTypeProperty"||od.type==="ObjectTypeInternalSlot")&&!od.variance&&!od.optional&&ht$3(od,nd)||od.type==="ObjectTypeCallProperty"||((qa=Ra.getParentNode(2))==null?void 0:qa.type)==="DeclareFunction"))}function Zr$2(Ra,qa,nd){let{node:od}=Ra,ld=[Nt$3(Ra)];(od.type==="TSConstructorType"||od.type==="TSConstructSignatureDeclaration")&&ld.push("new ");let ud=Je$3(Ra,nd,qa,!1,!0),dd=[];return od.type==="FunctionTypeAnnotation"?dd.push(rl$2(Ra)?" => ":": ",nd("returnType")):dd.push(Y$5(Ra,nd,od.returnType?"returnType":"typeAnnotation")),ot$3(od,dd)&&(ud=l$2(ud)),ld.push(ud,dd),l$2(ld)}function en$3(Ra,qa,nd){return[nd("objectType"),V$6(Ra),"[",nd("indexType"),"]"]}function tn$3(Ra,qa,nd){return["infer ",nd("typeParameter")]}function Ts$1(Ra,qa,nd){let{node:od}=Ra;return[od.postfix?"":nd,Y$5(Ra,qa),od.postfix?nd:""]}function rn$3(Ra,qa,nd){let{node:od}=Ra;return["...",...od.type==="TupleTypeSpreadElement"&&od.label?[nd("label"),": "]:[],nd("typeAnnotation")]}function nn$3(Ra,qa,nd){let{node:od}=Ra;return[od.variance?nd("variance"):"",nd("label"),od.optional?"?":"",": ",nd("elementType")]}var nl$2=new WeakSet;function Y$5(Ra,qa,nd="typeAnnotation"){let{node:{[nd]:od}}=Ra;if(!od)return"";let ld=!1;if(od.type==="TSTypeAnnotation"||od.type==="TypeAnnotation"){let ud=Ra.call(Ri,nd);(ud==="=>"||ud===":"&&d$2(od,g$4.Leading))&&(ld=!0),nl$2.add(od)}return ld?[" ",qa(nd)]:qa(nd)}var Ri=Ra=>Ra.match(qa=>qa.type==="TSTypeAnnotation",(qa,nd)=>(nd==="returnType"||nd==="typeAnnotation")&&(qa.type==="TSFunctionType"||qa.type==="TSConstructorType"))?"=>":Ra.match(qa=>qa.type==="TSTypeAnnotation",(qa,nd)=>nd==="typeAnnotation"&&(qa.type==="TSJSDocNullableType"||qa.type==="TSJSDocNonNullableType"||qa.type==="TSTypePredicate"))||Ra.match(qa=>qa.type==="TypeAnnotation",(qa,nd)=>nd==="typeAnnotation"&&qa.type==="Identifier",(qa,nd)=>nd==="id"&&qa.type==="DeclareFunction")||Ra.match(qa=>qa.type==="TypeAnnotation",(qa,nd)=>nd==="typeAnnotation"&&qa.type==="Identifier",(qa,nd)=>nd==="id"&&qa.type==="DeclareHook")||Ra.match(qa=>qa.type==="TypeAnnotation",(qa,nd)=>nd==="bound"&&qa.type==="TypeParameter"&&qa.usesExtendsBound)?"":":";function sn$2(Ra,qa,nd){let od=Ri(Ra);return od?[od," ",nd("typeAnnotation")]:nd("typeAnnotation")}function un$3(Ra){return[Ra("elementType"),"[]"]}function an$4({node:Ra},qa){let nd=Ra.type==="TSTypeQuery"?"exprName":"argument",od=Ra.type==="TypeofTypeAnnotation"||Ra.typeArguments?"typeArguments":"typeParameters";return["typeof ",qa(nd),qa(od)]}function on$2(Ra,qa){let{node:nd}=Ra;return[nd.type==="TSTypePredicate"&&nd.asserts?"asserts ":nd.type==="TypePredicate"&&nd.kind?`${nd.kind} `:"",qa("parameterName"),nd.typeAnnotation?[" is ",Y$5(Ra,qa)]:""]}function V$6(Ra){let{node:qa}=Ra;return!qa.optional||qa.type==="Identifier"&&qa===Ra.parent.key?"":L$6(qa)||q$6(qa)&&qa.computed||qa.type==="OptionalIndexedAccessType"?"?.":"?"}function pn$3(Ra){return Ra.node.definite||Ra.match(void 0,(qa,nd)=>nd==="id"&&qa.type==="VariableDeclarator"&&qa.definite)?"!":""}var sl$1=new Set(["DeclareClass","DeclareComponent","DeclareFunction","DeclareHook","DeclareVariable","DeclareExportDeclaration","DeclareExportAllDeclaration","DeclareOpaqueType","DeclareTypeAlias","DeclareEnum","DeclareInterface"]);function $$3(Ra){let{node:qa}=Ra;return qa.declare||sl$1.has(qa.type)&&Ra.parent.type!=="DeclareExportDeclaration"?"declare ":""}var ul$2=new Set(["TSAbstractMethodDefinition","TSAbstractPropertyDefinition","TSAbstractAccessorProperty"]);function Nt$3({node:Ra}){return Ra.abstract||ul$2.has(Ra.type)?"abstract ":""}function Qe$3(Ra,qa,nd){let od=Ra.node;return od.typeArguments?nd("typeArguments"):od.typeParameters?nd("typeParameters"):""}function Hr$3(Ra,qa,nd){return["::",nd("callee")]}function ft$3(Ra,qa,nd){return Ra.type==="EmptyStatement"?";":Ra.type==="BlockStatement"||nd?[" ",qa]:f$2([x$5,qa])}function cn$4(Ra,qa){return["...",qa("argument"),Y$5(Ra,qa)]}function Xt$3(Ra){return Ra.accessibility?Ra.accessibility+" ":""}function il$2(Ra,qa,nd,od){let{node:ld}=Ra,ud=ld.inexact?"...":"";return d$2(ld,g$4.Dangling)?l$2([nd,ud,M$6(Ra,qa,{indent:!0}),E$5,od]):[nd,ud,od]}function Yt$2(Ra,qa,nd){let{node:od}=Ra,ld=[],ud=od.type==="TupleExpression"?"#[":"[",dd="]",pd=od.type==="TupleTypeAnnotation"&&od.types?"types":od.type==="TSTupleType"||od.type==="TupleTypeAnnotation"?"elementTypes":"elements",fd=od[pd];if(fd.length===0)ld.push(il$2(Ra,qa,ud,dd));else{let md=O$3(!1,fd,-1),vd=(md==null?void 0:md.type)!=="RestElement"&&!od.inexact,Ad=md===null,Nd=Symbol("array"),Od=!qa.__inJestEach&&fd.length>1&&fd.every((Gd,jd,Fd)=>{let Ud=Gd==null?void 0:Gd.type;if(!U$6(Gd)&&!se$5(Gd))return!1;let qd=Fd[jd+1];if(qd&&Ud!==qd.type)return!1;let zd=U$6(Gd)?"elements":"properties";return Gd[zd]&&Gd[zd].length>1}),kd=fs$1(od,qa),Ld=vd?Ad?",":ae$4(qa)?kd?b$3(",","",{groupId:Nd}):b$3(","):"":"";ld.push(l$2([ud,f$2([E$5,kd?ol$2(Ra,qa,nd,Ld):[al$3(Ra,qa,pd,od.inexact,nd),Ld],M$6(Ra,qa)]),E$5,dd],{shouldBreak:Od,id:Nd}))}return ld.push(V$6(Ra),Y$5(Ra,nd)),ld}function fs$1(Ra,qa){return U$6(Ra)&&Ra.elements.length>1&&Ra.elements.every(nd=>nd&&(Ce$4(nd)||jn$2(nd)&&!d$2(nd.argument))&&!d$2(nd,g$4.Trailing|g$4.Line,od=>!te$5(qa.originalText,R$6(od),{backwards:!0})))}function Ji$2({node:Ra},{originalText:qa}){let nd=ld=>Lt$2(qa,wt$2(qa,ld)),od=ld=>qa[ld]===","?ld:od(nd(ld+1));return Ot$3(qa,od(k$2(Ra)))}function al$3(Ra,qa,nd,od,ld){let ud=[];return Ra.each(({node:dd,isLast:pd})=>{ud.push(dd?l$2(ld()):""),(!pd||od)&&ud.push([",",x$5,dd&&Ji$2(Ra,qa)?E$5:""])},nd),od&&ud.push("..."),ud}function ol$2(Ra,qa,nd,od){let ld=[];return Ra.each(({isLast:ud,next:dd})=>{ld.push([nd(),ud?od:","]),ud||ld.push(Ji$2(Ra,qa)?[F$3,F$3]:d$2(dd,g$4.Leading|g$4.Line)?F$3:x$5)},"elements"),qt$4(ld)}var qi$1=new Proxy(()=>{},{get:()=>qi$1}),ln$3=qi$1,pl$2=/^[\$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC][\$0-9A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]*$/,cl$3=Ra=>pl$2.test(Ra),Wi$1=cl$3;function ll$2(Ra){return Ra.length===1?Ra:Ra.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(?=\d)/u,"$1$2").replace(/^([+-]?[\d.]+)e[+-]?0+$/u,"$1").replace(/^([+-])?\./u,"$10.").replace(/(\.\d+?)0+(?=e|$)/u,"$1").replace(/\.(?=e|$)/u,"")}var Ze$4=ll$2,mn$3=new WeakMap;function Ui(Ra){return/^(?:\d+|\d+\.\d+)$/u.test(Ra)}function Gi(Ra,qa){return qa.parser==="json"||qa.parser==="jsonc"||!Q$6(Ra.key)||tt$4(fe$6(Ra.key),qa).slice(1,-1)!==Ra.key.value?!1:!!(Wi$1(Ra.key.value)&&!(qa.parser==="babel-ts"&&Ra.type==="ClassProperty"||qa.parser==="typescript"&&Ra.type==="PropertyDefinition")||Ui(Ra.key.value)&&String(Number(Ra.key.value))===Ra.key.value&&Ra.type!=="ImportAttribute"&&(qa.parser==="babel"||qa.parser==="acorn"||qa.parser==="espree"||qa.parser==="meriyah"||qa.parser==="__babel_estree"))}function ml$2(Ra,qa){let{key:nd}=Ra.node;return(nd.type==="Identifier"||Ce$4(nd)&&Ui(Ze$4(fe$6(nd)))&&String(nd.value)===Ze$4(fe$6(nd))&&!(qa.parser==="typescript"||qa.parser==="babel-ts"))&&(qa.parser==="json"||qa.parser==="jsonc"||qa.quoteProps==="consistent"&&mn$3.get(Ra.parent))}function Et$3(Ra,qa,nd){let{node:od}=Ra;if(od.computed)return["[",nd("key"),"]"];let{parent:ld}=Ra,{key:ud}=od;if(qa.quoteProps==="consistent"&&!mn$3.has(ld)){let dd=Ra.siblings.some(pd=>!pd.computed&&Q$6(pd.key)&&!Gi(pd,qa));mn$3.set(ld,dd)}if(ml$2(Ra,qa)){let dd=tt$4(JSON.stringify(ud.type==="Identifier"?ud.name:ud.value.toString()),qa);return Ra.call(pd=>ye$5(pd,dd,qa),"key")}return Gi(od,qa)&&(qa.quoteProps==="as-needed"||qa.quoteProps==="consistent"&&!mn$3.get(ld))?Ra.call(dd=>ye$5(dd,/^\d/u.test(ud.value)?Ze$4(ud.value):ud.value,qa),"key"):nd("key")}function yn$4(Ra,qa,nd){let{node:od}=Ra;return od.shorthand?nd("value"):Tt$3(Ra,qa,nd,Et$3(Ra,qa,nd),":","value")}var yl$2=({node:Ra,key:qa,parent:nd})=>qa==="value"&&Ra.type==="FunctionExpression"&&(nd.type==="ObjectMethod"||nd.type==="ClassMethod"||nd.type==="ClassPrivateMethod"||nd.type==="MethodDefinition"||nd.type==="TSAbstractMethodDefinition"||nd.type==="TSDeclareMethod"||nd.type==="Property"&&gt$3(nd));function Dn$2(Ra,qa,nd,od){if(yl$2(Ra))return fn$3(Ra,nd,qa);let{node:ld}=Ra,ud=!1;if((ld.type==="FunctionDeclaration"||ld.type==="FunctionExpression")&&od!=null&&od.expandLastArg){let{parent:vd}=Ra;L$6(vd)&&(oe$5(vd).length>1||K$6(ld).every(Ad=>Ad.type==="Identifier"&&!Ad.typeAnnotation))&&(ud=!0)}let dd=[$$3(Ra),ld.async?"async ":"",`function${ld.generator?"*":""} `,ld.id?qa("id"):""],pd=Je$3(Ra,qa,nd,ud),fd=Ht$3(Ra,qa),md=ot$3(ld,fd);return dd.push(Qe$3(Ra,nd,qa),l$2([md?l$2(pd):pd,fd]),ld.body?" ":"",qa("body")),nd.semi&&(ld.declare||!ld.body)&&dd.push(";"),dd}function mr$1(Ra,qa,nd){let{node:od}=Ra,{kind:ld}=od,ud=od.value||od,dd=[];return!ld||ld==="init"||ld==="method"||ld==="constructor"?ud.async&&dd.push("async "):(ln$3.ok(ld==="get"||ld==="set"),dd.push(ld," ")),ud.generator&&dd.push("*"),dd.push(Et$3(Ra,qa,nd),od.optional||od.key.optional?"?":"",od===ud?fn$3(Ra,qa,nd):nd("value")),dd}function fn$3(Ra,qa,nd){let{node:od}=Ra,ld=Je$3(Ra,nd,qa),ud=Ht$3(Ra,nd),dd=vi$1(od),pd=ot$3(od,ud),fd=[Qe$3(Ra,qa,nd),l$2([dd?l$2(ld,{shouldBreak:!0}):pd?l$2(ld):ld,ud])];return od.body?fd.push(" ",nd("body")):fd.push(qa.semi?";":""),fd}function Dl$2(Ra){let qa=K$6(Ra);return qa.length===1&&!Ra.typeParameters&&!d$2(Ra,g$4.Dangling)&&qa[0].type==="Identifier"&&!qa[0].typeAnnotation&&!d$2(qa[0])&&!qa[0].optional&&!Ra.predicate&&!Ra.returnType}function En$2(Ra,qa){if(qa.arrowParens==="always")return!1;if(qa.arrowParens==="avoid"){let{node:nd}=Ra;return Dl$2(nd)}return!1}function Ht$3(Ra,qa){let{node:nd}=Ra,od=[Y$5(Ra,qa,"returnType")];return nd.predicate&&od.push(qa("predicate")),od}function Ni(Ra,qa,nd){let{node:od}=Ra,ld=qa.semi?";":"",ud=[];if(od.argument){let fd=nd("argument");fl$2(qa,od.argument)?fd=["(",f$2([F$3,fd]),F$3,")"]:(De$4(od.argument)||od.argument.type==="SequenceExpression"||qa.experimentalTernaries&&od.argument.type==="ConditionalExpression"&&(od.argument.consequent.type==="ConditionalExpression"||od.argument.alternate.type==="ConditionalExpression"))&&(fd=l$2([b$3("("),f$2([E$5,fd]),E$5,b$3(")")])),ud.push(" ",fd)}let dd=d$2(od,g$4.Dangling),pd=ld&&dd&&d$2(od,g$4.Last|g$4.Line);return pd&&ud.push(ld),dd&&ud.push(" ",M$6(Ra,qa)),pd||ud.push(ld),ud}function Xi(Ra,qa,nd){return["return",Ni(Ra,qa,nd)]}function Yi(Ra,qa,nd){return["throw",Ni(Ra,qa,nd)]}function fl$2(Ra,qa){if(Oe$5(Ra.originalText,qa)||d$2(qa,g$4.Leading,nd=>de$4(Ra.originalText,R$6(nd),k$2(nd)))&&!X$6(qa))return!0;if(jt$2(qa)){let nd=qa,od;for(;od=uu$3(nd);)if(nd=od,Oe$5(Ra.originalText,nd))return!0}return!1}var ds=new WeakMap;function Hi(Ra){return ds.has(Ra)||ds.set(Ra,Ra.type==="ConditionalExpression"&&!ie$4(Ra,qa=>qa.type==="ObjectExpression")),ds.get(Ra)}var Vi=Ra=>Ra.type==="SequenceExpression";function $i$1(Ra,qa,nd,od={}){let ld=[],ud,dd=[],pd=!1,fd=!od.expandLastArg&&Ra.node.body.type==="ArrowFunctionExpression",md;(function Gd(){let{node:jd}=Ra,Fd=El$2(Ra,qa,nd,od);if(ld.length===0)ld.push(Fd);else{let{leading:Ud,trailing:qd}=os$1(Ra,qa);ld.push([Ud,Fd]),dd.unshift(qd)}fd&&(pd||(pd=jd.returnType&&K$6(jd).length>0||jd.typeParameters||K$6(jd).some(Ud=>Ud.type!=="Identifier"))),!fd||jd.body.type!=="ArrowFunctionExpression"?(ud=nd("body",od),md=jd.body):Ra.call(Gd,"body")})();let vd=!Oe$5(qa.originalText,md)&&(Vi(md)||Fl$2(md,ud,qa)||!pd&&Hi(md)),Ad=Ra.key==="callee"&&lt$3(Ra.parent),Nd=Symbol("arrow-chain"),Od=Cl$2(Ra,od,{signatureDocs:ld,shouldBreak:pd}),kd,Ld=!1;return fd&&(Ad||od.assignmentLayout)&&(Ld=!0,kd=od.assignmentLayout==="chain-tail-arrow-chain"||Ad&&!vd),ud=Al$2(Ra,qa,od,{bodyDoc:ud,bodyComments:dd,functionBody:md,shouldPutBodyOnSameLine:vd}),l$2([l$2(Ld?f$2([E$5,Od]):Od,{shouldBreak:kd,id:Nd})," =>",fd?At$3(ud,{groupId:Nd}):l$2(ud),fd&&Ad?b$3(E$5,"",{groupId:Nd}):""])}function El$2(Ra,qa,nd,od){let{node:ld}=Ra,ud=[];if(ld.async&&ud.push("async "),En$2(Ra,qa))ud.push(nd(["params",0]));else{let pd=od.expandLastArg||od.expandFirstArg,fd=Ht$3(Ra,nd);if(pd){if(ne$5(fd))throw new Dt$3;fd=l$2(ur$2(fd))}ud.push(l$2([Je$3(Ra,nd,qa,pd,!0),fd]))}let dd=M$6(Ra,qa,{filter(pd){let fd=yt$2(qa.originalText,k$2(pd));return fd!==!1&&qa.originalText.slice(fd,fd+2)==="=>"}});return dd&&ud.push(" ",dd),ud}function Fl$2(Ra,qa,nd){var od,ld;return U$6(Ra)||se$5(Ra)||Ra.type==="ArrowFunctionExpression"||Ra.type==="DoExpression"||Ra.type==="BlockStatement"||X$6(Ra)||((od=qa.label)==null?void 0:od.hug)!==!1&&(((ld=qa.label)==null?void 0:ld.embed)||Lr$2(Ra,nd.originalText))}function Cl$2(Ra,qa,{signatureDocs:nd,shouldBreak:od}){if(nd.length===1)return nd[0];let{parent:ld,key:ud}=Ra;return ud!=="callee"&&lt$3(ld)||De$4(ld)?l$2([nd[0]," =>",f$2([x$5,P$6([" =>",x$5],nd.slice(1))])],{shouldBreak:od}):ud==="callee"&&lt$3(ld)||qa.assignmentLayout?l$2(P$6([" =>",x$5],nd),{shouldBreak:od}):l$2(f$2(P$6([" =>",x$5],nd)),{shouldBreak:od})}function Al$2(Ra,qa,nd,{bodyDoc:od,bodyComments:ld,functionBody:ud,shouldPutBodyOnSameLine:dd}){let{node:pd,parent:fd}=Ra,md=nd.expandLastArg&&ae$4(qa,"all")?b$3(","):"",vd=(nd.expandLastArg||fd.type==="JSXExpressionContainer")&&!d$2(pd)?E$5:"";return dd&&Hi(ud)?[" ",l$2([b$3("","("),f$2([E$5,od]),b$3("",")"),md,vd]),ld]:(Vi(ud)&&(od=l$2(["(",f$2([E$5,od]),E$5,")"])),dd?[" ",od,ld]:[f$2([x$5,od,ld]),md,vd])}var Tl$2=(Ra,qa,nd)=>{if(!(Ra&&qa==null)){if(qa.findLast)return qa.findLast(nd);for(let od=qa.length-1;od>=0;od--){let ld=qa[od];if(nd(ld,od,qa))return ld}}},Ki$1=Tl$2;function yr$1(Ra,qa,nd,od){let{node:ld}=Ra,ud=[],dd=Ki$1(!1,ld[od],pd=>pd.type!=="EmptyStatement");return Ra.each(({node:pd})=>{pd.type!=="EmptyStatement"&&(ud.push(nd()),pd!==dd&&(ud.push(F$3),pe$3(pd,qa)&&ud.push(F$3)))},od),ud}function Fn$2(Ra,qa,nd){let od=dl$2(Ra,qa,nd),{node:ld,parent:ud}=Ra;if(ld.type==="Program"&&(ud==null?void 0:ud.type)!=="ModuleExpression")return od?[od,F$3]:"";let dd=[];if(ld.type==="StaticBlock"&&dd.push("static "),dd.push("{"),od)dd.push(f$2([F$3,od]),F$3);else{let pd=Ra.grandparent;ud.type==="ArrowFunctionExpression"||ud.type==="FunctionExpression"||ud.type==="FunctionDeclaration"||ud.type==="ComponentDeclaration"||ud.type==="HookDeclaration"||ud.type==="ObjectMethod"||ud.type==="ClassMethod"||ud.type==="ClassPrivateMethod"||ud.type==="ForStatement"||ud.type==="WhileStatement"||ud.type==="DoWhileStatement"||ud.type==="DoExpression"||ud.type==="ModuleExpression"||ud.type==="CatchClause"&&!pd.finalizer||ud.type==="TSModuleDeclaration"||ld.type==="StaticBlock"||dd.push(F$3)}return dd.push("}"),dd}function dl$2(Ra,qa,nd){let{node:od}=Ra,ld=w$2(od.directives),ud=od.body.some(fd=>fd.type!=="EmptyStatement"),dd=d$2(od,g$4.Dangling);if(!ld&&!ud&&!dd)return"";let pd=[];return ld&&(pd.push(yr$1(Ra,qa,nd,"directives")),(ud||dd)&&(pd.push(F$3),pe$3(O$3(!1,od.directives,-1),qa)&&pd.push(F$3))),ud&&pd.push(yr$1(Ra,qa,nd,"body")),dd&&pd.push(M$6(Ra,qa)),pd}function xl$2(Ra){let qa=new WeakMap;return function(nd){return qa.has(nd)||qa.set(nd,Symbol(Ra)),qa.get(nd)}}var Cn$2=xl$2;function hl$2(Ra){switch(Ra){case null:return"";case"PlusOptional":return"+?";case"MinusOptional":return"-?";case"Optional":return"?"}}function zi(Ra,qa,nd){let{node:od}=Ra;return l$2([od.variance?nd("variance"):"","[",f$2([nd("keyTparam")," in ",nd("sourceType")]),"]",hl$2(od.optional),": ",nd("propType")])}function xs$1(Ra,qa){return Ra==="+"||Ra==="-"?Ra+qa:qa}function Qi(Ra,qa,nd){let{node:od}=Ra,ld=de$4(qa.originalText,R$6(od),R$6(od.typeParameter));return l$2(["{",f$2([qa.bracketSpacing?x$5:E$5,l$2([nd("typeParameter"),od.optional?xs$1(od.optional,"?"):"",od.typeAnnotation?": ":"",nd("typeAnnotation")]),qa.semi?b$3(";"):""]),M$6(Ra,qa),qa.bracketSpacing?x$5:E$5,"}"],{shouldBreak:ld})}var Dr$1=Cn$2("typeParameters");function gl$2(Ra,qa,nd){let{node:od}=Ra;return K$6(od).length===1&&od.type.startsWith("TS")&&!od[nd][0].constraint&&Ra.parent.type==="ArrowFunctionExpression"&&!(qa.filepath&&/\.ts$/u.test(qa.filepath))}function Pt$2(Ra,qa,nd,od){let{node:ld}=Ra;if(!ld[od])return"";if(!Array.isArray(ld[od]))return nd(od);let ud=St$3(Ra.grandparent),dd=Ra.match(fd=>!(fd[od].length===1&&we$5(fd[od][0])),void 0,(fd,md)=>md==="typeAnnotation",fd=>fd.type==="Identifier",Fs);if(ld[od].length===0||!dd&&(ud||ld[od].length===1&&(ld[od][0].type==="NullableTypeAnnotation"||As$1(ld[od][0]))))return["<",P$6(", ",Ra.map(nd,od)),Sl$2(Ra,qa),">"];let pd=ld.type==="TSTypeParameterInstantiation"?"":gl$2(Ra,qa,od)?",":ae$4(qa)?b$3(","):"";return l$2(["<",f$2([E$5,P$6([",",x$5],Ra.map(nd,od))]),pd,E$5,">"],{id:Dr$1(ld)})}function Sl$2(Ra,qa){let{node:nd}=Ra;if(!d$2(nd,g$4.Dangling))return"";let od=!d$2(nd,g$4.Line),ld=M$6(Ra,qa,{indent:!od});return od?ld:[ld,F$3]}function An$2(Ra,qa,nd){let{node:od,parent:ld}=Ra,ud=[od.type==="TSTypeParameter"&&od.const?"const ":""],dd=od.type==="TSTypeParameter"?nd("name"):od.name;if(ld.type==="TSMappedType")return ld.readonly&&ud.push(xs$1(ld.readonly,"readonly")," "),ud.push("[",dd),od.constraint&&ud.push(" in ",nd("constraint")),ld.nameType&&ud.push(" as ",Ra.callParent(()=>nd("nameType"))),ud.push("]"),ud;if(od.variance&&ud.push(nd("variance")),od.in&&ud.push("in "),od.out&&ud.push("out "),ud.push(dd),od.bound&&(od.usesExtendsBound&&ud.push(" extends "),ud.push(Y$5(Ra,nd,"bound"))),od.constraint){let pd=Symbol("constraint");ud.push(" extends",l$2(f$2(x$5),{id:pd}),ke$5,At$3(nd("constraint"),{groupId:pd}))}return od.default&&ud.push(" = ",nd("default")),l$2(ud)}var Zi$1=v$2(["ClassProperty","PropertyDefinition","ClassPrivateProperty","ClassAccessorProperty","AccessorProperty","TSAbstractPropertyDefinition","TSAbstractAccessorProperty"]);function Tn$2(Ra,qa,nd){let{node:od}=Ra,ld=[$$3(Ra),Nt$3(Ra),"class"],ud=d$2(od.id,g$4.Trailing)||d$2(od.typeParameters,g$4.Trailing)||d$2(od.superClass)||w$2(od.extends)||w$2(od.mixins)||w$2(od.implements),dd=[],pd=[];if(od.id&&dd.push(" ",nd("id")),dd.push(nd("typeParameters")),od.superClass){let fd=[bl$3(Ra,qa,nd),nd(od.superTypeArguments?"superTypeArguments":"superTypeParameters")],md=Ra.call(vd=>["extends ",ye$5(vd,fd,qa)],"superClass");ud?pd.push(x$5,l$2(md)):pd.push(" ",md)}else pd.push(hs(Ra,qa,nd,"extends"));if(pd.push(hs(Ra,qa,nd,"mixins"),hs(Ra,qa,nd,"implements")),ud){let fd;ta$1(od)?fd=[...dd,f$2(pd)]:fd=f$2([...dd,pd]),ld.push(l$2(fd,{id:ea(od)}))}else ld.push(...dd,...pd);return ld.push(" ",nd("body")),ld}var ea=Cn$2("heritageGroup");function gs$2(Ra){return b$3(F$3,"",{groupId:ea(Ra)})}function Bl$2(Ra){return["extends","mixins","implements"].reduce((qa,nd)=>qa+(Array.isArray(Ra[nd])?Ra[nd].length:0),Ra.superClass?1:0)>1}function ta$1(Ra){return Ra.typeParameters&&!d$2(Ra.typeParameters,g$4.Trailing|g$4.Line)&&!Bl$2(Ra)}function hs(Ra,qa,nd,od){let{node:ld}=Ra;if(!w$2(ld[od]))return"";let ud=M$6(Ra,qa,{marker:od});return[ta$1(ld)?b$3(" ",x$5,{groupId:Dr$1(ld.typeParameters)}):x$5,ud,ud&&F$3,od,l$2(f$2([x$5,P$6([",",x$5],Ra.map(nd,od))]))]}function bl$3(Ra,qa,nd){let od=nd("superClass"),{parent:ld}=Ra;return ld.type==="AssignmentExpression"?l$2(b$3(["(",f$2([E$5,od]),E$5,")"],od)):od}function dn$4(Ra,qa,nd){let{node:od}=Ra,ld=[];return w$2(od.decorators)&&ld.push(Ds$1(Ra,qa,nd)),ld.push(Xt$3(od)),od.static&&ld.push("static "),ld.push(Nt$3(Ra)),od.override&&ld.push("override "),ld.push(mr$1(Ra,qa,nd)),ld}function xn$2(Ra,qa,nd){let{node:od}=Ra,ld=[],ud=qa.semi?";":"";w$2(od.decorators)&&ld.push(Ds$1(Ra,qa,nd)),ld.push(Xt$3(od),$$3(Ra)),od.static&&ld.push("static "),ld.push(Nt$3(Ra)),od.override&&ld.push("override "),od.readonly&&ld.push("readonly "),od.variance&&ld.push(nd("variance")),(od.type==="ClassAccessorProperty"||od.type==="AccessorProperty"||od.type==="TSAbstractAccessorProperty")&&ld.push("accessor "),ld.push(Et$3(Ra,qa,nd),V$6(Ra),pn$3(Ra),Y$5(Ra,nd));let dd=od.type==="TSAbstractPropertyDefinition"||od.type==="TSAbstractAccessorProperty";return[Tt$3(Ra,qa,nd,ld," =",dd?void 0:"value"),ud]}function ra$2(Ra,qa,nd){let{node:od}=Ra,ld=[];return Ra.each(({node:ud,next:dd,isLast:pd})=>{ld.push(nd()),!qa.semi&&Zi$1(ud)&&Pl$2(ud,dd)&&ld.push(";"),pd||(ld.push(F$3),pe$3(ud,qa)&&ld.push(F$3))},"body"),d$2(od,g$4.Dangling)&&ld.push(M$6(Ra,qa)),[w$2(od.body)?gs$2(Ra.parent):"","{",ld.length>0?[f$2([F$3,ld]),F$3]:"","}"]}function Pl$2(Ra,qa){var nd;let{type:od,name:ld}=Ra.key;if(!Ra.computed&&od==="Identifier"&&(ld==="static"||ld==="get"||ld==="set")&&!Ra.value&&!Ra.typeAnnotation)return!0;if(!qa||qa.static||qa.accessibility||qa.readonly)return!1;if(!qa.computed){let ud=(nd=qa.key)==null?void 0:nd.name;if(ud==="in"||ud==="instanceof")return!0}if(Zi$1(qa)&&qa.variance&&!qa.static&&!qa.declare)return!0;switch(qa.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return qa.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((qa.value?qa.value.async:qa.async)||qa.kind==="get"||qa.kind==="set")return!1;let ud=qa.value?qa.value.generator:qa.generator;return!!(qa.computed||ud)}case"TSIndexSignature":return!0}return!1}function na$1(Ra,qa){if(qa.semi||Ss(Ra,qa)||bs$1(Ra,qa))return!1;let{node:nd,key:od,parent:ld}=Ra;return!!(nd.type==="ExpressionStatement"&&(od==="body"&&(ld.type==="Program"||ld.type==="BlockStatement"||ld.type==="StaticBlock"||ld.type==="TSModuleBlock")||od==="consequent"&&ld.type==="SwitchCase")&&Ra.call(()=>sa$1(Ra,qa),"expression"))}function sa$1(Ra,qa){let{node:nd}=Ra;switch(nd.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":if(!En$2(Ra,qa))return!0;break;case"UnaryExpression":{let{prefix:od,operator:ld}=nd;if(od&&(ld==="+"||ld==="-"))return!0;break}case"BindExpression":if(!nd.object)return!0;break;case"Literal":if(nd.regex)return!0;break;default:if(X$6(nd))return!0}return Be$6(Ra,qa)?!0:jt$2(nd)?Ra.call(()=>sa$1(Ra,qa),...Pr$2(nd)):!1}function Ss({node:Ra,parent:qa},nd){return(nd.parentParser==="markdown"||nd.parentParser==="mdx")&&Ra.type==="ExpressionStatement"&&X$6(Ra.expression)&&qa.type==="Program"&&qa.body.length===1}function Bs$1(Ra){switch(Ra.type){case"MemberExpression":switch(Ra.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return Bs$1(Ra.object)}return!1;case"Identifier":return!0;default:return!1}}function bs$1({node:Ra,parent:qa},nd){return(nd.parser==="__vue_event_binding"||nd.parser==="__vue_ts_event_binding")&&Ra.type==="ExpressionStatement"&&qa.type==="Program"&&qa.body.length===1}function ua$1(Ra,qa,nd){let od=[nd("expression")];return bs$1(Ra,qa)?Bs$1(Ra.node.expression)&&od.push(";"):Ss(Ra,qa)||qa.semi&&od.push(";"),od}function ia(Ra,qa,nd){if(qa.__isVueBindings||qa.__isVueForBindingLeft){let od=Ra.map(nd,"program","body",0,"params");if(od.length===1)return od[0];let ld=P$6([",",x$5],od);return qa.__isVueForBindingLeft?["(",f$2([E$5,l$2(ld)]),E$5,")"]:ld}if(qa.__isEmbeddedTypescriptGenericParameters){let od=Ra.map(nd,"program","body",0,"typeParameters","params");return P$6([",",x$5],od)}}function pa$1(Ra,qa){let{node:nd}=Ra;switch(nd.type){case"RegExpLiteral":return aa$3(nd);case"BigIntLiteral":return hn$2(nd.extra.raw);case"NumericLiteral":return Ze$4(nd.extra.raw);case"StringLiteral":return Ie$4(tt$4(nd.extra.raw,qa));case"NullLiteral":return"null";case"BooleanLiteral":return String(nd.value);case"DecimalLiteral":return Ze$4(nd.value)+"m";case"DirectiveLiteral":return oa(nd.extra.raw,qa);case"Literal":{if(nd.regex)return aa$3(nd.regex);if(nd.bigint)return hn$2(nd.raw);if(nd.decimal)return Ze$4(nd.decimal)+"m";let{value:od}=nd;return typeof od=="number"?Ze$4(nd.raw):typeof od=="string"?kl$2(Ra)?oa(nd.raw,qa):Ie$4(tt$4(nd.raw,qa)):String(od)}}}function kl$2(Ra){if(Ra.key!=="expression")return;let{parent:qa}=Ra;return qa.type==="ExpressionStatement"&&qa.directive}function hn$2(Ra){return Ra.toLowerCase()}function aa$3({pattern:Ra,flags:qa}){return qa=[...qa].sort().join(""),`/${Ra}/${qa}`}function oa(Ra,qa){let nd=Ra.slice(1,-1);if(nd.includes('"')||nd.includes("'"))return Ra;let od=qa.singleQuote?"'":'"';return od+nd+od}function Il$2(Ra,qa,nd){let od=Ra.originalText.slice(qa,nd);for(let ld of Ra[Symbol.for("comments")]){let ud=R$6(ld);if(ud>nd)break;let dd=k$2(ld);if(dd<qa)continue;let pd=dd-ud;od=od.slice(0,ud-qa)+" ".repeat(pd)+od.slice(dd-qa)}return od}var fr$1=Il$2;function ca$2(Ra,qa,nd){let{node:od}=Ra;return["import",od.module?" module":"",od.phase?` ${od.phase}`:"",ks(od),ya(Ra,qa,nd),ma$1(Ra,qa,nd),fa(Ra,qa,nd),qa.semi?";":""]}var la$1=Ra=>Ra.type==="ExportDefaultDeclaration"||Ra.type==="DeclareExportDeclaration"&&Ra.default;function gn$3(Ra,qa,nd){let{node:od}=Ra,ld=[di$3(Ra,qa,nd),$$3(Ra),"export",la$1(od)?" default":""],{declaration:ud,exported:dd}=od;return d$2(od,g$4.Dangling)&&(ld.push(" ",M$6(Ra,qa)),wr$2(od)&&ld.push(F$3)),ud?ld.push(" ",nd("declaration")):(ld.push(Ol$2(od)),od.type==="ExportAllDeclaration"||od.type==="DeclareExportAllDeclaration"?(ld.push(" *"),dd&&ld.push(" as ",nd("exported"))):ld.push(ya(Ra,qa,nd)),ld.push(ma$1(Ra,qa,nd),fa(Ra,qa,nd))),ld.push(wl$2(od,qa)),ld}var Ll$2=v$2(["ClassDeclaration","ComponentDeclaration","FunctionDeclaration","TSInterfaceDeclaration","DeclareClass","DeclareComponent","DeclareFunction","DeclareHook","HookDeclaration","TSDeclareFunction","EnumDeclaration"]);function wl$2(Ra,qa){return qa.semi&&(!Ra.declaration||la$1(Ra)&&!Ll$2(Ra.declaration))?";":""}function Ps(Ra,qa=!0){return Ra&&Ra!=="value"?`${qa?" ":""}${Ra}${qa?"":" "}`:""}function ks(Ra,qa){return Ps(Ra.importKind,qa)}function Ol$2(Ra){return Ps(Ra.exportKind)}function ma$1(Ra,qa,nd){let{node:od}=Ra;if(!od.source)return"";let ld=[];return Da(od,qa)&&ld.push(" from"),ld.push(" ",nd("source")),ld}function ya(Ra,qa,nd){let{node:od}=Ra;if(!Da(od,qa))return"";let ld=[" "];if(w$2(od.specifiers)){let ud=[],dd=[];Ra.each(()=>{let pd=Ra.node.type;if(pd==="ExportNamespaceSpecifier"||pd==="ExportDefaultSpecifier"||pd==="ImportNamespaceSpecifier"||pd==="ImportDefaultSpecifier")ud.push(nd());else if(pd==="ExportSpecifier"||pd==="ImportSpecifier")dd.push(nd());else throw new Me$5(od,"specifier")},"specifiers"),ld.push(P$6(", ",ud)),dd.length>0&&(ud.length>0&&ld.push(", "),dd.length>1||ud.length>0||od.specifiers.some(pd=>d$2(pd))?ld.push(l$2(["{",f$2([qa.bracketSpacing?x$5:E$5,P$6([",",x$5],dd)]),b$3(ae$4(qa)?",":""),qa.bracketSpacing?x$5:E$5,"}"])):ld.push(["{",qa.bracketSpacing?" ":"",...dd,qa.bracketSpacing?" ":"","}"]))}else ld.push("{}");return ld}function Da(Ra,qa){return Ra.type!=="ImportDeclaration"||w$2(Ra.specifiers)||Ra.importKind==="type"?!0:fr$1(qa,R$6(Ra),R$6(Ra.source)).trimEnd().endsWith("from")}function _l$2(Ra,qa){var nd,od;if((nd=Ra.extra)!=null&&nd.deprecatedAssertSyntax)return"assert";let ld=fr$1(qa,k$2(Ra.source),(od=Ra.attributes)!=null&&od[0]?R$6(Ra.attributes[0]):k$2(Ra)).trimStart();return ld.startsWith("assert")?"assert":ld.startsWith("with")||w$2(Ra.attributes)?"with":void 0}function fa(Ra,qa,nd){let{node:od}=Ra;if(!od.source)return"";let ld=_l$2(od,qa);if(!ld)return"";let ud=[` ${ld} {`];return w$2(od.attributes)&&(qa.bracketSpacing&&ud.push(" "),ud.push(P$6(", ",Ra.map(nd,"attributes"))),qa.bracketSpacing&&ud.push(" ")),ud.push("}"),ud}function Ea(Ra,qa,nd){let{node:od}=Ra,{type:ld}=od,ud=ld.startsWith("Import"),dd=ud?"imported":"local",pd=ud?"local":"exported",fd=od[dd],md=od[pd],vd="",Ad="";return ld==="ExportNamespaceSpecifier"||ld==="ImportNamespaceSpecifier"?vd="*":fd&&(vd=nd(dd)),md&&!jl$2(od)&&(Ad=nd(pd)),[Ps(ld==="ImportSpecifier"?od.importKind:od.exportKind,!1),vd,vd&&Ad?" as ":"",Ad]}function jl$2(Ra){if(Ra.type!=="ImportSpecifier"&&Ra.type!=="ExportSpecifier")return!1;let{local:qa,[Ra.type==="ImportSpecifier"?"imported":"exported"]:nd}=Ra;if(qa.type!==nd.type||!eu$1(qa,nd))return!1;if(Q$6(qa))return qa.value===nd.value&&fe$6(qa)===fe$6(nd);switch(qa.type){case"Identifier":return qa.name===nd.name;default:return!1}}function dt$3(Ra,qa,nd){var od;let ld=qa.semi?";":"",{node:ud}=Ra,dd=ud.type==="ObjectTypeAnnotation",pd=ud.type==="TSEnumDeclaration"||ud.type==="EnumBooleanBody"||ud.type==="EnumNumberBody"||ud.type==="EnumBigIntBody"||ud.type==="EnumStringBody"||ud.type==="EnumSymbolBody",fd=[ud.type==="TSTypeLiteral"||pd?"members":ud.type==="TSInterfaceBody"?"body":"properties"];dd&&fd.push("indexers","callProperties","internalSlots");let md=fd.flatMap(Wd=>Ra.map(({node:Jd})=>({node:Jd,printed:nd(),loc:R$6(Jd)}),Wd));fd.length>1&&md.sort((Wd,Jd)=>Wd.loc-Jd.loc);let{parent:vd,key:Ad}=Ra,Nd=dd&&Ad==="body"&&(vd.type==="InterfaceDeclaration"||vd.type==="DeclareInterface"||vd.type==="DeclareClass"),Od=ud.type==="TSInterfaceBody"||pd||Nd||ud.type==="ObjectPattern"&&vd.type!=="FunctionDeclaration"&&vd.type!=="FunctionExpression"&&vd.type!=="ArrowFunctionExpression"&&vd.type!=="ObjectMethod"&&vd.type!=="ClassMethod"&&vd.type!=="ClassPrivateMethod"&&vd.type!=="AssignmentPattern"&&vd.type!=="CatchClause"&&ud.properties.some(Wd=>Wd.value&&(Wd.value.type==="ObjectPattern"||Wd.value.type==="ArrayPattern"))||ud.type!=="ObjectPattern"&&md.length>0&&de$4(qa.originalText,R$6(ud),md[0].loc),kd=Nd?";":ud.type==="TSInterfaceBody"||ud.type==="TSTypeLiteral"?b$3(ld,";"):",",Ld=ud.type==="RecordExpression"?"#{":ud.exact?"{|":"{",Gd=ud.exact?"|}":"}",jd=[],Fd=md.map(Wd=>{let Jd=[...jd,l$2(Wd.printed)];return jd=[kd,x$5],(Wd.node.type==="TSPropertySignature"||Wd.node.type==="TSMethodSignature"||Wd.node.type==="TSConstructSignatureDeclaration"||Wd.node.type==="TSCallSignatureDeclaration")&&d$2(Wd.node,g$4.PrettierIgnore)&&jd.shift(),pe$3(Wd.node,qa)&&jd.push(F$3),Jd});if(ud.inexact||ud.hasUnknownMembers){let Wd;if(d$2(ud,g$4.Dangling)){let Jd=d$2(ud,g$4.Line);Wd=[M$6(Ra,qa),Jd||te$5(qa.originalText,k$2(O$3(!1,ct$3(ud),-1)))?F$3:x$5,"..."]}else Wd=["..."];Fd.push([...jd,...Wd])}let Ud=(od=O$3(!1,md,-1))==null?void 0:od.node,qd=!(ud.inexact||ud.hasUnknownMembers||Ud&&(Ud.type==="RestElement"||(Ud.type==="TSPropertySignature"||Ud.type==="TSCallSignatureDeclaration"||Ud.type==="TSMethodSignature"||Ud.type==="TSConstructSignatureDeclaration")&&d$2(Ud,g$4.PrettierIgnore))),zd;if(Fd.length===0){if(!d$2(ud,g$4.Dangling))return[Ld,Gd,Y$5(Ra,nd)];zd=l$2([Ld,M$6(Ra,qa,{indent:!0}),E$5,Gd,V$6(Ra),Y$5(Ra,nd)])}else zd=[Nd&&w$2(ud.properties)?gs$2(vd):"",Ld,f$2([qa.bracketSpacing?x$5:E$5,...Fd]),b$3(qd&&(kd!==","||ae$4(qa))?kd:""),qa.bracketSpacing?x$5:E$5,Gd,V$6(Ra),Y$5(Ra,nd)];return Ra.match(Wd=>Wd.type==="ObjectPattern"&&!w$2(Wd.decorators),Is$1)||we$5(ud)&&(Ra.match(void 0,(Wd,Jd)=>Jd==="typeAnnotation",(Wd,Jd)=>Jd==="typeAnnotation",Is$1)||Ra.match(void 0,(Wd,Jd)=>Wd.type==="FunctionTypeParam"&&Jd==="typeAnnotation",Is$1))||!Od&&Ra.match(Wd=>Wd.type==="ObjectPattern",Wd=>Wd.type==="AssignmentExpression"||Wd.type==="VariableDeclarator")?zd:l$2(zd,{shouldBreak:Od})}function Is$1(Ra,qa){return(qa==="params"||qa==="parameters"||qa==="this"||qa==="rest")&&Cs(Ra)}function vl$2(Ra){let qa=[Ra];for(let nd=0;nd<qa.length;nd++){let od=qa[nd];for(let ld of["test","consequent","alternate"]){let ud=od[ld];if(X$6(ud))return!0;ud.type==="ConditionalExpression"&&qa.push(ud)}}return!1}function Ml$2(Ra,qa,nd){let{node:od}=Ra,ld=od.type==="ConditionalExpression",ud=ld?"alternate":"falseType",{parent:dd}=Ra,pd=ld?nd("test"):[nd("checkType")," ","extends"," ",nd("extendsType")];return dd.type===od.type&&dd[ud]===od?he$3(2,pd):pd}var Rl$2=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"],["AwaitExpression","argument"]]);function Jl$2(Ra){let{node:qa}=Ra;if(qa.type!=="ConditionalExpression")return!1;let nd,od=qa;for(let ld=0;!nd;ld++){let ud=Ra.getParentNode(ld);if(ud.type==="ChainExpression"&&ud.expression===od||L$6(ud)&&ud.callee===od||q$6(ud)&&ud.object===od||ud.type==="TSNonNullExpression"&&ud.expression===od){od=ud;continue}ud.type==="NewExpression"&&ud.callee===od||Te$4(ud)&&ud.expression===od?(nd=Ra.getParentNode(ld+1),od=ud):nd=ud}return od===qa?!1:nd[Rl$2.get(nd.type)]===od}function Fa(Ra,qa,nd){let{node:od}=Ra,ld=od.type==="ConditionalExpression",ud=ld?"consequent":"trueType",dd=ld?"alternate":"falseType",pd=ld?["test"]:["checkType","extendsType"],fd=od[ud],md=od[dd],vd=[],Ad=!1,{parent:Nd}=Ra,Od=Nd.type===od.type&&pd.some(Xd=>Nd[Xd]===od),kd=Nd.type===od.type&&!Od,Ld,Gd,jd=0;do Gd=Ld||od,Ld=Ra.getParentNode(jd),jd++;while(Ld&&Ld.type===od.type&&pd.every(Xd=>Ld[Xd]!==Gd));let Fd=Ld||Nd,Ud=Gd;if(ld&&(X$6(od[pd[0]])||X$6(fd)||X$6(md)||vl$2(Ud))){Ad=!0,kd=!0;let Xd=mf=>[b$3("("),f$2([E$5,mf]),E$5,b$3(")")],pf=mf=>mf.type==="NullLiteral"||mf.type==="Literal"&&mf.value===null||mf.type==="Identifier"&&mf.name==="undefined";vd.push(" ? ",pf(fd)?nd(ud):Xd(nd(ud))," : ",md.type===od.type||pf(md)?nd(dd):Xd(nd(dd)))}else{let Xd=mf=>qa.useTabs?f$2(nd(mf)):he$3(2,nd(mf)),pf=[x$5,"? ",fd.type===od.type?b$3("","("):"",Xd(ud),fd.type===od.type?b$3("",")"):"",x$5,": ",Xd(dd)];vd.push(Nd.type!==od.type||Nd[dd]===od||Od?pf:qa.useTabs?Mr$2(f$2(pf)):he$3(Math.max(0,qa.tabWidth-2),pf))}let qd=[ud,dd,...pd].some(Xd=>d$2(od[Xd],pf=>re$5(pf)&&de$4(qa.originalText,R$6(pf),k$2(pf)))),zd=Xd=>Nd===Fd?l$2(Xd,{shouldBreak:qd}):qd?[Xd,Ee$6]:Xd,Wd=!Ad&&(q$6(Nd)||Nd.type==="NGPipeExpression"&&Nd.left===od)&&!Nd.computed,Jd=Jl$2(Ra),_f=zd([Ml$2(Ra,qa,nd),kd?vd:f$2(vd),ld&&Wd&&!Jd?E$5:""]);return Od||Jd?l$2([f$2([E$5,_f]),E$5]):_f}function ql$2(Ra,qa){return(q$6(qa)||qa.type==="NGPipeExpression"&&qa.left===Ra)&&!qa.computed}function Wl$2(Ra,qa,nd,od){return[...Ra.map(ld=>ct$3(ld)),ct$3(qa),ct$3(nd)].flat().some(ld=>re$5(ld)&&de$4(od.originalText,R$6(ld),k$2(ld)))}var Gl$2=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"],["AwaitExpression","argument"]]);function Ul$2(Ra){let{node:qa}=Ra;if(qa.type!=="ConditionalExpression")return!1;let nd,od=qa;for(let ld=0;!nd;ld++){let ud=Ra.getParentNode(ld);if(ud.type==="ChainExpression"&&ud.expression===od||L$6(ud)&&ud.callee===od||q$6(ud)&&ud.object===od||ud.type==="TSNonNullExpression"&&ud.expression===od){od=ud;continue}ud.type==="NewExpression"&&ud.callee===od||Te$4(ud)&&ud.expression===od?(nd=Ra.getParentNode(ld+1),od=ud):nd=ud}return od===qa?!1:nd[Gl$2.get(nd.type)]===od}var Ls$2=Ra=>[b$3("("),f$2([E$5,Ra]),E$5,b$3(")")];function Vt$3(Ra,qa,nd,od){if(!qa.experimentalTernaries)return Fa(Ra,qa,nd);let{node:ld}=Ra,ud=ld.type==="ConditionalExpression",dd=ld.type==="TSConditionalType"||ld.type==="ConditionalTypeAnnotation",pd=ud?"consequent":"trueType",fd=ud?"alternate":"falseType",md=ud?["test"]:["checkType","extendsType"],vd=ld[pd],Ad=ld[fd],Nd=md.map(th=>ld[th]),{parent:Od}=Ra,kd=Od.type===ld.type,Ld=kd&&md.some(th=>Od[th]===ld),Gd=kd&&Od[fd]===ld,jd=vd.type===ld.type,Fd=Ad.type===ld.type,Ud=Fd||Gd,qd=qa.tabWidth>2||qa.useTabs,zd,Wd,Jd=0;do Wd=zd||ld,zd=Ra.getParentNode(Jd),Jd++;while(zd&&zd.type===ld.type&&md.every(th=>zd[th]!==Wd));let _f=zd||Od,Xd=od&&od.assignmentLayout&&od.assignmentLayout!=="break-after-operator"&&(Od.type==="AssignmentExpression"||Od.type==="VariableDeclarator"||Od.type==="ClassProperty"||Od.type==="PropertyDefinition"||Od.type==="ClassPrivateProperty"||Od.type==="ObjectProperty"||Od.type==="Property"),pf=(Od.type==="ReturnStatement"||Od.type==="ThrowStatement")&&!(jd||Fd),mf=ud&&_f.type==="JSXExpressionContainer"&&Ra.grandparent.type!=="JSXAttribute",Sf=Ul$2(Ra),Tf=ql$2(ld,Od),Af=dd&&Be$6(Ra,qa),Ef=qd?qa.useTabs?" ":" ".repeat(qa.tabWidth-1):"",Nf=Wl$2(Nd,vd,Ad,qa)||jd||Fd,If=!Ud&&!kd&&!dd&&(mf?vd.type==="NullLiteral"||vd.type==="Literal"&&vd.value===null:rr$2(vd,qa)&&Mn$2(ld.test,3)),Gf=Ud||Gd||dd&&!kd||kd&&ud&&Mn$2(ld.test,1)||If,Qf=[];!jd&&d$2(vd,g$4.Dangling)&&Ra.call(th=>{Qf.push(M$6(th,qa),F$3)},"consequent");let Xf=[];d$2(ld.test,g$4.Dangling)&&Ra.call(th=>{Xf.push(M$6(th,qa))},"test"),!Fd&&d$2(Ad,g$4.Dangling)&&Ra.call(th=>{Xf.push(M$6(th,qa))},"alternate"),d$2(ld,g$4.Dangling)&&Xf.push(M$6(Ra,qa));let ph=Symbol("test"),qf=Symbol("consequent"),Lf=Symbol("test-and-consequent"),Wf=ud?[Ls$2(nd("test")),ld.test.type==="ConditionalExpression"?Ee$6:""]:[nd("checkType")," ","extends"," ",ld.extendsType.type==="TSConditionalType"||ld.extendsType.type==="ConditionalTypeAnnotation"||ld.extendsType.type==="TSMappedType"?nd("extendsType"):l$2(Ls$2(nd("extendsType")))],Jf=l$2([Wf," ?"],{id:ph}),Kf=nd(pd),Cf=f$2([jd||mf&&(X$6(vd)||kd||Ud)?F$3:x$5,Qf,Kf]),xf=Gf?l$2([Jf,Ud?Cf:b$3(Cf,l$2(Cf,{id:qf}),{groupId:ph})],{id:Lf}):[Jf,Cf],Yf=nd(fd),dh=If?b$3(Yf,Mr$2(Ls$2(Yf)),{groupId:Lf}):Yf,Rh=[xf,Xf.length>0?[f$2([F$3,Xf]),F$3]:Fd?F$3:If?b$3(x$5," ",{groupId:Lf}):x$5,":",Fd?" ":qd?Gf?b$3(Ef,b$3(Ud||If?" ":Ef," "),{groupId:Lf}):b$3(Ef," "):" ",Fd?dh:l$2([f$2(dh),mf&&!If?E$5:""]),Tf&&!Sf?E$5:"",Nf?Ee$6:""];return Xd&&!Nf?l$2(f$2([E$5,l$2(Rh)])):Xd||pf?l$2(f$2(Rh)):Sf||dd&&Ld?l$2([f$2([E$5,Rh]),Af?E$5:""]):Od===_f?l$2(Rh):Rh}function Ca(Ra,qa,nd,od){let{node:ld}=Ra;if(kr$2(ld))return pa$1(Ra,qa);let ud=qa.semi?";":"",dd=[];switch(ld.type){case"JsExpressionRoot":return nd("node");case"JsonRoot":return[nd("node"),F$3];case"File":return ia(Ra,qa,nd)??nd("program");case"EmptyStatement":return"";case"ExpressionStatement":return ua$1(Ra,qa,nd);case"ChainExpression":return nd("expression");case"ParenthesizedExpression":return!d$2(ld.expression)&&(se$5(ld.expression)||U$6(ld.expression))?["(",nd("expression"),")"]:l$2(["(",f$2([E$5,nd("expression")]),E$5,")"]);case"AssignmentExpression":return wi$1(Ra,qa,nd);case"VariableDeclarator":return Oi(Ra,qa,nd);case"BinaryExpression":case"LogicalExpression":return Yr$2(Ra,qa,nd);case"AssignmentPattern":return[nd("left")," = ",nd("right")];case"OptionalMemberExpression":case"MemberExpression":return bi$2(Ra,qa,nd);case"MetaProperty":return[nd("meta"),".",nd("property")];case"BindExpression":return ld.object&&dd.push(nd("object")),dd.push(l$2(f$2([E$5,Hr$3(Ra,qa,nd)]))),dd;case"Identifier":return[ld.name,V$6(Ra),pn$3(Ra),Y$5(Ra,nd)];case"V8IntrinsicIdentifier":return["%",ld.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadPropertyPattern":case"RestElement":return cn$4(Ra,nd);case"FunctionDeclaration":case"FunctionExpression":return Dn$2(Ra,nd,qa,od);case"ArrowFunctionExpression":return $i$1(Ra,qa,nd,od);case"YieldExpression":return dd.push("yield"),ld.delegate&&dd.push("*"),ld.argument&&dd.push(" ",nd("argument")),dd;case"AwaitExpression":if(dd.push("await"),ld.argument){dd.push(" ",nd("argument"));let{parent:pd}=Ra;if(L$6(pd)&&pd.callee===ld||q$6(pd)&&pd.object===ld){dd=[f$2([E$5,...dd]),E$5];let fd=Ra.findAncestor(md=>md.type==="AwaitExpression"||md.type==="BlockStatement");if((fd==null?void 0:fd.type)!=="AwaitExpression"||!ie$4(fd.argument,md=>md===ld))return l$2(dd)}}return dd;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ExportAllDeclaration":return gn$3(Ra,qa,nd);case"ImportDeclaration":return ca$2(Ra,qa,nd);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return Ea(Ra,qa,nd);case"ImportAttribute":return yn$4(Ra,qa,nd);case"Import":return"import";case"Program":case"BlockStatement":case"StaticBlock":return Fn$2(Ra,qa,nd);case"ClassBody":return ra$2(Ra,qa,nd);case"ThrowStatement":return Yi(Ra,qa,nd);case"ReturnStatement":return Xi(Ra,qa,nd);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return Vr$2(Ra,qa,nd);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return dt$3(Ra,qa,nd);case"Property":return gt$3(ld)?mr$1(Ra,qa,nd):yn$4(Ra,qa,nd);case"ObjectProperty":return yn$4(Ra,qa,nd);case"ObjectMethod":return mr$1(Ra,qa,nd);case"Decorator":return["@",nd("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return Yt$2(Ra,qa,nd);case"SequenceExpression":{let{parent:pd}=Ra;if(pd.type==="ExpressionStatement"||pd.type==="ForStatement"){let fd=[];return Ra.each(({isFirst:md})=>{md?fd.push(nd()):fd.push(",",f$2([x$5,nd()]))},"expressions"),l$2(fd)}return l$2(P$6([",",x$5],Ra.map(nd,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[nd("value"),ud];case"UnaryExpression":return dd.push(ld.operator),/[a-z]$/u.test(ld.operator)&&dd.push(" "),d$2(ld.argument)?dd.push(l$2(["(",f$2([E$5,nd("argument")]),E$5,")"])):dd.push(nd("argument")),dd;case"UpdateExpression":return[ld.prefix?ld.operator:"",nd("argument"),ld.prefix?"":ld.operator];case"ConditionalExpression":return Vt$3(Ra,qa,nd,od);case"VariableDeclaration":{let pd=Ra.map(nd,"declarations"),fd=Ra.parent,md=fd.type==="ForStatement"||fd.type==="ForInStatement"||fd.type==="ForOfStatement",vd=ld.declarations.some(Nd=>Nd.init),Ad;return pd.length===1&&!d$2(ld.declarations[0])?Ad=pd[0]:pd.length>0&&(Ad=f$2(pd[0])),dd=[$$3(Ra),ld.kind,Ad?[" ",Ad]:"",f$2(pd.slice(1).map(Nd=>[",",vd&&!md?F$3:x$5,Nd]))],md&&fd.body!==ld||dd.push(ud),l$2(dd)}case"WithStatement":return l$2(["with (",nd("object"),")",ft$3(ld.body,nd("body"))]);case"IfStatement":{let pd=ft$3(ld.consequent,nd("consequent")),fd=l$2(["if (",l$2([f$2([E$5,nd("test")]),E$5]),")",pd]);if(dd.push(fd),ld.alternate){let md=d$2(ld.consequent,g$4.Trailing|g$4.Line)||wr$2(ld),vd=ld.consequent.type==="BlockStatement"&&!md;dd.push(vd?" ":F$3),d$2(ld,g$4.Dangling)&&dd.push(M$6(Ra,qa),md?F$3:" "),dd.push("else",l$2(ft$3(ld.alternate,nd("alternate"),ld.alternate.type==="IfStatement")))}return dd}case"ForStatement":{let pd=ft$3(ld.body,nd("body")),fd=M$6(Ra,qa),md=fd?[fd,E$5]:"";return!ld.init&&!ld.test&&!ld.update?[md,l$2(["for (;;)",pd])]:[md,l$2(["for (",l$2([f$2([E$5,nd("init"),";",x$5,nd("test"),";",x$5,nd("update")]),E$5]),")",pd])]}case"WhileStatement":return l$2(["while (",l$2([f$2([E$5,nd("test")]),E$5]),")",ft$3(ld.body,nd("body"))]);case"ForInStatement":return l$2(["for (",nd("left")," in ",nd("right"),")",ft$3(ld.body,nd("body"))]);case"ForOfStatement":return l$2(["for",ld.await?" await":""," (",nd("left")," of ",nd("right"),")",ft$3(ld.body,nd("body"))]);case"DoWhileStatement":{let pd=ft$3(ld.body,nd("body"));return dd=[l$2(["do",pd])],ld.body.type==="BlockStatement"?dd.push(" "):dd.push(F$3),dd.push("while (",l$2([f$2([E$5,nd("test")]),E$5]),")",ud),dd}case"DoExpression":return[ld.async?"async ":"","do ",nd("body")];case"BreakStatement":case"ContinueStatement":return dd.push(ld.type==="BreakStatement"?"break":"continue"),ld.label&&dd.push(" ",nd("label")),dd.push(ud),dd;case"LabeledStatement":return ld.body.type==="EmptyStatement"?[nd("label"),":;"]:[nd("label"),": ",nd("body")];case"TryStatement":return["try ",nd("block"),ld.handler?[" ",nd("handler")]:"",ld.finalizer?[" finally ",nd("finalizer")]:""];case"CatchClause":if(ld.param){let pd=d$2(ld.param,md=>!re$5(md)||md.leading&&te$5(qa.originalText,k$2(md))||md.trailing&&te$5(qa.originalText,R$6(md),{backwards:!0})),fd=nd("param");return["catch ",pd?["(",f$2([E$5,fd]),E$5,") "]:["(",fd,") "],nd("body")]}return["catch ",nd("body")];case"SwitchStatement":return[l$2(["switch (",f$2([E$5,nd("discriminant")]),E$5,")"])," {",ld.cases.length>0?f$2([F$3,P$6(F$3,Ra.map(({node:pd,isLast:fd})=>[nd(),!fd&&pe$3(pd,qa)?F$3:""],"cases"))]):"",F$3,"}"];case"SwitchCase":{ld.test?dd.push("case ",nd("test"),":"):dd.push("default:"),d$2(ld,g$4.Dangling)&&dd.push(" ",M$6(Ra,qa));let pd=ld.consequent.filter(fd=>fd.type!=="EmptyStatement");if(pd.length>0){let fd=yr$1(Ra,qa,nd,"consequent");dd.push(pd.length===1&&pd[0].type==="BlockStatement"?[" ",fd]:f$2([F$3,fd]))}return dd}case"DebuggerStatement":return["debugger",ud];case"ClassDeclaration":case"ClassExpression":return Tn$2(Ra,qa,nd);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return dn$4(Ra,qa,nd);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":case"AccessorProperty":return xn$2(Ra,qa,nd);case"TemplateElement":return Ie$4(ld.value.raw);case"TemplateLiteral":return qr$2(Ra,nd,qa);case"TaggedTemplateExpression":return Uu$3(Ra,nd);case"PrivateIdentifier":return["#",ld.name];case"PrivateName":return["#",nd("id")];case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":return["module ",nd("body")];case"InterpreterDirective":default:throw new Me$5(ld,"ESTree")}}function Sn$3(Ra,qa,nd){let{parent:od,node:ld,key:ud}=Ra,dd=[nd("expression")];switch(ld.type){case"AsConstExpression":dd.push(" as const");break;case"AsExpression":case"TSAsExpression":dd.push(" as ",nd("typeAnnotation"));break;case"SatisfiesExpression":case"TSSatisfiesExpression":dd.push(" satisfies ",nd("typeAnnotation"));break}return ud==="callee"&&L$6(od)||ud==="object"&&q$6(od)?l$2([f$2([E$5,...dd]),E$5]):dd}function Aa$1(Ra,qa,nd){let{node:od}=Ra,ld=[$$3(Ra),"component"];od.id&&ld.push(" ",nd("id")),ld.push(nd("typeParameters"));let ud=Nl$2(Ra,nd,qa);return od.rendersType?ld.push(l$2([ud," ",nd("rendersType")])):ld.push(l$2([ud])),od.body&&ld.push(" ",nd("body")),qa.semi&&od.type==="DeclareComponent"&&ld.push(";"),ld}function Nl$2(Ra,qa,nd){let{node:od}=Ra,ld=od.params;if(od.rest&&(ld=[...ld,od.rest]),ld.length===0)return["(",M$6(Ra,nd,{filter:dd=>ge$6(nd.originalText,k$2(dd))===")"}),")"];let ud=[];return Yl$2(Ra,(dd,pd)=>{let fd=pd===ld.length-1;fd&&od.rest&&ud.push("..."),ud.push(qa()),!fd&&(ud.push(","),pe$3(ld[pd],nd)?ud.push(F$3,F$3):ud.push(x$5))}),["(",f$2([E$5,...ud]),b$3(ae$4(nd,"all")&&!Xl$2(od,ld)?",":""),E$5,")"]}function Xl$2(Ra,qa){var nd;return Ra.rest||((nd=O$3(!1,qa,-1))==null?void 0:nd.type)==="RestElement"}function Yl$2(Ra,qa){let{node:nd}=Ra,od=0,ld=ud=>qa(ud,od++);Ra.each(ld,"params"),nd.rest&&Ra.call(ld,"rest")}function Ta(Ra,qa,nd){let{node:od}=Ra;return od.shorthand?nd("local"):[nd("name")," as ",nd("local")]}function da(Ra,qa,nd){let{node:od}=Ra,ld=[];return od.name&&ld.push(nd("name"),od.optional?"?: ":": "),ld.push(nd("typeAnnotation")),ld}function xa$2(Ra,qa,nd){return dt$3(Ra,nd,qa)}function Bn$2(Ra,qa){let{node:nd}=Ra,od=qa("id");nd.computed&&(od=["[",od,"]"]);let ld="";return nd.initializer&&(ld=qa("initializer")),nd.init&&(ld=qa("init")),ld?[od," = ",ld]:od}function ha(Ra,qa,nd){let{node:od}=Ra,ld;if(od.type==="EnumSymbolBody"||od.explicitType)switch(od.type){case"EnumBooleanBody":ld="boolean";break;case"EnumNumberBody":ld="number";break;case"EnumBigIntBody":ld="bigint";break;case"EnumStringBody":ld="string";break;case"EnumSymbolBody":ld="symbol";break}return[ld?`of ${ld} `:"",xa$2(Ra,qa,nd)]}function bn$3(Ra,qa,nd){let{node:od}=Ra;return[$$3(Ra),od.const?"const ":"","enum ",qa("id")," ",od.type==="TSEnumDeclaration"?xa$2(Ra,qa,nd):qa("body")]}function Sa$1(Ra,qa,nd){let{node:od}=Ra,ld=["hook"];od.id&&ld.push(" ",nd("id"));let ud=Je$3(Ra,nd,qa,!1,!0),dd=Ht$3(Ra,nd),pd=ot$3(od,dd);return ld.push(l$2([pd?l$2(ud):ud,dd]),od.body?" ":"",nd("body")),ld}function Ba$1(Ra,qa,nd){let{node:od}=Ra,ld=[$$3(Ra),"hook"];return od.id&&ld.push(" ",nd("id")),qa.semi&&ld.push(";"),ld}function ga$1(Ra){var qa;let{node:nd}=Ra;return nd.type==="HookTypeAnnotation"&&((qa=Ra.getParentNode(2))==null?void 0:qa.type)==="DeclareHook"}function ba$2(Ra,qa,nd){let{node:od}=Ra,ld=[];ld.push(ga$1(Ra)?"":"hook ");let ud=Je$3(Ra,nd,qa,!1,!0),dd=[];return dd.push(ga$1(Ra)?": ":" => ",nd("returnType")),ot$3(od,dd)&&(ud=l$2(ud)),ld.push(ud,dd),l$2(ld)}function Pn$3(Ra,qa,nd){let{node:od}=Ra,ld=[$$3(Ra),"interface"],ud=[],dd=[];od.type!=="InterfaceTypeAnnotation"&&ud.push(" ",nd("id"),nd("typeParameters"));let pd=od.typeParameters&&!d$2(od.typeParameters,g$4.Trailing|g$4.Line);return w$2(od.extends)&&dd.push(pd?b$3(" ",x$5,{groupId:Dr$1(od.typeParameters)}):x$5,"extends ",(od.extends.length===1?mu$2:f$2)(P$6([",",x$5],Ra.map(nd,"extends")))),d$2(od.id,g$4.Trailing)||w$2(od.extends)?pd?ld.push(l$2([...ud,f$2(dd)])):ld.push(l$2(f$2([...ud,...dd]))):ld.push(...ud,...dd),ld.push(" ",nd("body")),l$2(ld)}function Pa$1(Ra,qa,nd){let{node:od}=Ra;if(Sr$2(od))return od.type.slice(0,-14).toLowerCase();let ld=qa.semi?";":"";switch(od.type){case"ComponentDeclaration":case"DeclareComponent":case"ComponentTypeAnnotation":return Aa$1(Ra,qa,nd);case"ComponentParameter":return Ta(Ra,qa,nd);case"ComponentTypeParameter":return da(Ra,qa,nd);case"HookDeclaration":return Sa$1(Ra,qa,nd);case"DeclareHook":return Ba$1(Ra,qa,nd);case"HookTypeAnnotation":return ba$2(Ra,qa,nd);case"DeclareClass":return Tn$2(Ra,qa,nd);case"DeclareFunction":return[$$3(Ra),"function ",nd("id"),nd("predicate"),ld];case"DeclareModule":return["declare module ",nd("id")," ",nd("body")];case"DeclareModuleExports":return["declare module.exports",Y$5(Ra,nd),ld];case"DeclareNamespace":return["declare namespace ",nd("id")," ",nd("body")];case"DeclareVariable":return[$$3(Ra),od.kind??"var"," ",nd("id"),ld];case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":return gn$3(Ra,qa,nd);case"DeclareOpaqueType":case"OpaqueType":return Mi$1(Ra,qa,nd);case"DeclareTypeAlias":case"TypeAlias":return Kr$3(Ra,qa,nd);case"IntersectionTypeAnnotation":return zr$2(Ra,qa,nd);case"UnionTypeAnnotation":return Qr$2(Ra,qa,nd);case"ConditionalTypeAnnotation":return Vt$3(Ra,qa,nd);case"InferTypeAnnotation":return tn$3(Ra,qa,nd);case"FunctionTypeAnnotation":return Zr$2(Ra,qa,nd);case"TupleTypeAnnotation":return Yt$2(Ra,qa,nd);case"TupleTypeLabeledElement":return nn$3(Ra,qa,nd);case"TupleTypeSpreadElement":return rn$3(Ra,qa,nd);case"GenericTypeAnnotation":return[nd("id"),Pt$2(Ra,qa,nd,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return en$3(Ra,qa,nd);case"TypeAnnotation":return sn$2(Ra,qa,nd);case"TypeParameter":return An$2(Ra,qa,nd);case"TypeofTypeAnnotation":return an$4(Ra,nd);case"ExistsTypeAnnotation":return"*";case"ArrayTypeAnnotation":return un$3(nd);case"DeclareEnum":case"EnumDeclaration":return bn$3(Ra,nd,qa);case"EnumBooleanBody":case"EnumNumberBody":case"EnumBigIntBody":case"EnumStringBody":case"EnumSymbolBody":return ha(Ra,nd,qa);case"EnumBooleanMember":case"EnumNumberMember":case"EnumBigIntMember":case"EnumStringMember":case"EnumDefaultedMember":return Bn$2(Ra,nd);case"FunctionTypeParam":{let ud=od.name?nd("name"):Ra.parent.this===od?"this":"";return[ud,V$6(Ra),ud?": ":"",nd("typeAnnotation")]}case"DeclareInterface":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return Pn$3(Ra,qa,nd);case"ClassImplements":case"InterfaceExtends":return[nd("id"),nd("typeParameters")];case"NullableTypeAnnotation":return["?",nd("typeAnnotation")];case"Variance":{let{kind:ud}=od;return ln$3.ok(ud==="plus"||ud==="minus"),ud==="plus"?"+":"-"}case"KeyofTypeAnnotation":return["keyof ",nd("argument")];case"ObjectTypeCallProperty":return[od.static?"static ":"",nd("value")];case"ObjectTypeMappedTypeProperty":return zi(Ra,qa,nd);case"ObjectTypeIndexer":return[od.static?"static ":"",od.variance?nd("variance"):"","[",nd("id"),od.id?": ":"",nd("key"),"]: ",nd("value")];case"ObjectTypeProperty":{let ud="";return od.proto?ud="proto ":od.static&&(ud="static "),[ud,od.kind!=="init"?od.kind+" ":"",od.variance?nd("variance"):"",Et$3(Ra,qa,nd),V$6(Ra),gt$3(od)?"":": ",nd("value")]}case"ObjectTypeAnnotation":return dt$3(Ra,qa,nd);case"ObjectTypeInternalSlot":return[od.static?"static ":"","[[",nd("id"),"]]",V$6(Ra),od.method?"":": ",nd("value")];case"ObjectTypeSpreadProperty":return cn$4(Ra,nd);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[nd("qualification"),".",nd("id")];case"NullLiteralTypeAnnotation":return"null";case"BooleanLiteralTypeAnnotation":return String(od.value);case"StringLiteralTypeAnnotation":return Ie$4(tt$4(fe$6(od),qa));case"NumberLiteralTypeAnnotation":return Ze$4(od.raw??od.extra.raw);case"BigIntLiteralTypeAnnotation":return hn$2(od.raw??od.extra.raw);case"TypeCastExpression":return["(",nd("expression"),Y$5(Ra,nd),")"];case"TypePredicate":return on$2(Ra,nd);case"TypeOperator":return[od.operator," ",nd("typeAnnotation")];case"TypeParameterDeclaration":case"TypeParameterInstantiation":return Pt$2(Ra,qa,nd,"params");case"InferredPredicate":case"DeclaredPredicate":return[Ra.key==="predicate"&&Ra.parent.type!=="DeclareFunction"&&!Ra.parent.returnType?": ":" ","%checks",...od.type==="DeclaredPredicate"?["(",nd("value"),")"]:[]];case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":return Sn$3(Ra,qa,nd)}}function ka$1(Ra,qa,nd){var od;let{node:ld}=Ra;if(!ld.type.startsWith("TS"))return;if(Br$3(ld))return ld.type.slice(2,-7).toLowerCase();let ud=qa.semi?";":"",dd=[];switch(ld.type){case"TSThisType":return"this";case"TSTypeAssertion":{let pd=!(U$6(ld.expression)||se$5(ld.expression)),fd=l$2(["<",f$2([E$5,nd("typeAnnotation")]),E$5,">"]),md=[b$3("("),f$2([E$5,nd("expression")]),E$5,b$3(")")];return pd?ze$5([[fd,nd("expression")],[fd,l$2(md,{shouldBreak:!0})],[fd,nd("expression")]]):l$2([fd,nd("expression")])}case"TSDeclareFunction":return Dn$2(Ra,nd,qa);case"TSExportAssignment":return["export = ",nd("expression"),ud];case"TSModuleBlock":return Fn$2(Ra,qa,nd);case"TSInterfaceBody":case"TSTypeLiteral":return dt$3(Ra,qa,nd);case"TSTypeAliasDeclaration":return Kr$3(Ra,qa,nd);case"TSQualifiedName":return[nd("left"),".",nd("right")];case"TSAbstractMethodDefinition":case"TSDeclareMethod":return dn$4(Ra,qa,nd);case"TSAbstractAccessorProperty":case"TSAbstractPropertyDefinition":return xn$2(Ra,qa,nd);case"TSInterfaceHeritage":case"TSClassImplements":case"TSExpressionWithTypeArguments":case"TSInstantiationExpression":return[nd("expression"),nd(ld.typeArguments?"typeArguments":"typeParameters")];case"TSTemplateLiteralType":return qr$2(Ra,nd,qa);case"TSNamedTupleMember":return nn$3(Ra,qa,nd);case"TSRestType":return rn$3(Ra,qa,nd);case"TSOptionalType":return[nd("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return Pn$3(Ra,qa,nd);case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return Pt$2(Ra,qa,nd,"params");case"TSTypeParameter":return An$2(Ra,qa,nd);case"TSAsExpression":case"TSSatisfiesExpression":return Sn$3(Ra,qa,nd);case"TSArrayType":return un$3(nd);case"TSPropertySignature":return[ld.readonly?"readonly ":"",Et$3(Ra,qa,nd),V$6(Ra),Y$5(Ra,nd)];case"TSParameterProperty":return[Xt$3(ld),ld.static?"static ":"",ld.override?"override ":"",ld.readonly?"readonly ":"",nd("parameter")];case"TSTypeQuery":return an$4(Ra,nd);case"TSIndexSignature":{let pd=ld.parameters.length>1?b$3(ae$4(qa)?",":""):"",fd=l$2([f$2([E$5,P$6([", ",E$5],Ra.map(nd,"parameters"))]),pd,E$5]),md=Ra.parent.type==="ClassBody"&&Ra.key==="body";return[md&&ld.static?"static ":"",ld.readonly?"readonly ":"","[",ld.parameters?fd:"","]",Y$5(Ra,nd),md?ud:""]}case"TSTypePredicate":return on$2(Ra,nd);case"TSNonNullExpression":return[nd("expression"),"!"];case"TSImportType":return[ld.isTypeOf?"typeof ":"","import(",nd("argument"),")",ld.qualifier?[".",nd("qualifier")]:"",Pt$2(Ra,qa,nd,ld.typeArguments?"typeArguments":"typeParameters")];case"TSLiteralType":return nd("literal");case"TSIndexedAccessType":return en$3(Ra,qa,nd);case"TSTypeOperator":return[ld.operator," ",nd("typeAnnotation")];case"TSMappedType":return Qi(Ra,qa,nd);case"TSMethodSignature":{let pd=ld.kind&&ld.kind!=="method"?`${ld.kind} `:"";dd.push(Xt$3(ld),pd,ld.computed?"[":"",nd("key"),ld.computed?"]":"",V$6(Ra));let fd=Je$3(Ra,nd,qa,!1,!0),md=ld.returnType?"returnType":"typeAnnotation",vd=ld[md],Ad=vd?Y$5(Ra,nd,md):"",Nd=ot$3(ld,Ad);return dd.push(Nd?l$2(fd):fd),vd&&dd.push(l$2(Ad)),l$2(dd)}case"TSNamespaceExportDeclaration":return["export as namespace ",nd("id"),qa.semi?";":""];case"TSEnumDeclaration":return bn$3(Ra,nd,qa);case"TSEnumMember":return Bn$2(Ra,nd);case"TSImportEqualsDeclaration":return[ld.isExport?"export ":"","import ",ks(ld,!1),nd("id")," = ",nd("moduleReference"),qa.semi?";":""];case"TSExternalModuleReference":return["require(",nd("expression"),")"];case"TSModuleDeclaration":{let{parent:pd}=Ra,fd=pd.type==="TSModuleDeclaration",md=((od=ld.body)==null?void 0:od.type)==="TSModuleDeclaration";if(fd)dd.push(".");else if(dd.push($$3(Ra)),!(ld.kind==="global"||ld.global)){let vd=ld.kind??(Q$6(ld.id)||fr$1(qa,R$6(ld),R$6(ld.id)).trim().endsWith("module")?"module":"namespace");dd.push(vd," ")}return dd.push(nd("id")),md?dd.push(nd("body")):ld.body?dd.push(" ",l$2(nd("body"))):dd.push(ud),dd}case"TSConditionalType":return Vt$3(Ra,qa,nd);case"TSInferType":return tn$3(Ra,qa,nd);case"TSIntersectionType":return zr$2(Ra,qa,nd);case"TSUnionType":return Qr$2(Ra,qa,nd);case"TSFunctionType":case"TSCallSignatureDeclaration":case"TSConstructorType":case"TSConstructSignatureDeclaration":return Zr$2(Ra,qa,nd);case"TSTupleType":return Yt$2(Ra,qa,nd);case"TSTypeReference":return[nd("typeName"),Pt$2(Ra,qa,nd,ld.typeArguments?"typeArguments":"typeParameters")];case"TSTypeAnnotation":return sn$2(Ra,qa,nd);case"TSEmptyBodyFunctionExpression":return fn$3(Ra,qa,nd);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return Ts$1(Ra,nd,"?");case"TSJSDocNonNullableType":return Ts$1(Ra,nd,"!");case"TSParenthesizedType":default:throw new Me$5(ld,"TypeScript")}}function Hl$2(Ra,qa,nd,od){if(Xr$2(Ra))return ci$4(Ra,qa);for(let ld of[Ti$1,Ei$1,Pa$1,ka$1,Ca]){let ud=ld(Ra,qa,nd,od);if(ud!==void 0)return ud}}var Vl$2=v$2(["ClassMethod","ClassPrivateMethod","ClassProperty","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty","PropertyDefinition","TSAbstractPropertyDefinition","ClassPrivateProperty","MethodDefinition","TSAbstractMethodDefinition","TSDeclareMethod"]);function $l$2(Ra,qa,nd,od){var ld;Ra.isRoot&&((ld=qa.__onHtmlBindingRoot)==null||ld.call(qa,Ra.node,qa));let ud=Hl$2(Ra,qa,nd,od);if(!ud)return"";let{node:dd}=Ra;if(Vl$2(dd))return ud;let pd=w$2(dd.decorators),fd=xi$1(Ra,qa,nd),md=dd.type==="ClassExpression";if(pd&&!md)return ir$3(ud,Nd=>l$2([fd,Nd]));let vd=Be$6(Ra,qa),Ad=na$1(Ra,qa);return!fd&&!vd&&!Ad?ud:ir$3(ud,Nd=>[Ad?";":"",vd?"(":"",vd&&md&&pd?[f$2([x$5,fd,Nd]),x$5]:[fd,Nd],vd?")":""])}var Ia$1=$l$2,Kl$2={avoidAstMutation:!0},La$1=[{linguistLanguageId:174,name:"JSON.stringify",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"],parsers:["json-stringify"],vscodeLanguageIds:["json"]},{linguistLanguageId:174,name:"JSON",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".json",".4DForm",".4DProject",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".all-contributorsrc",".arcconfig",".auto-changelog",".c8rc",".htmlhintrc",".imgbotconfig",".nycrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","flake.lock","mcmod.info",".babelrc",".jscsrc",".jshintrc",".jslintrc",".swcrc"],parsers:["json"],vscodeLanguageIds:["json"]},{linguistLanguageId:423,name:"JSON with Comments",type:"data",color:"#292929",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".code-snippets",".code-workspace",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[],parsers:["jsonc"],vscodeLanguageIds:["jsonc"]},{linguistLanguageId:175,name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",parsers:["json5"],vscodeLanguageIds:["json5"]}],Os$2={};Ar$1(Os$2,{getVisitorKeys:()=>Oa$2,massageAstNode:()=>ja,print:()=>Zl$2});var zl$2={JsonRoot:["node"],ArrayExpression:["elements"],ObjectExpression:["properties"],ObjectProperty:["key","value"],UnaryExpression:["argument"],NullLiteral:[],BooleanLiteral:[],StringLiteral:[],NumericLiteral:[],Identifier:[],TemplateLiteral:["quasis"],TemplateElement:[]},wa=zl$2,Ql$2=hr$3(wa),Oa$2=Ql$2;function Zl$2(Ra,qa,nd){let{node:od}=Ra;switch(od.type){case"JsonRoot":return[nd("node"),F$3];case"ArrayExpression":{if(od.elements.length===0)return"[]";let ld=Ra.map(()=>Ra.node===null?"null":nd(),"elements");return["[",f$2([F$3,P$6([",",F$3],ld)]),F$3,"]"]}case"ObjectExpression":return od.properties.length===0?"{}":["{",f$2([F$3,P$6([",",F$3],Ra.map(nd,"properties"))]),F$3,"}"];case"ObjectProperty":return[nd("key"),": ",nd("value")];case"UnaryExpression":return[od.operator==="+"?"":od.operator,nd("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return od.value?"true":"false";case"StringLiteral":return JSON.stringify(od.value);case"NumericLiteral":return _a$1(Ra)?JSON.stringify(String(od.value)):JSON.stringify(od.value);case"Identifier":return _a$1(Ra)?JSON.stringify(od.name):od.name;case"TemplateLiteral":return nd(["quasis",0]);case"TemplateElement":return JSON.stringify(od.value.cooked);default:throw new Me$5(od,"JSON")}}function _a$1(Ra){return Ra.key==="key"&&Ra.parent.type==="ObjectProperty"}var em=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function ja(Ra,qa){let{type:nd}=Ra;if(nd==="ObjectProperty"){let{key:od}=Ra;od.type==="Identifier"?qa.key={type:"StringLiteral",value:od.name}:od.type==="NumericLiteral"&&(qa.key={type:"StringLiteral",value:String(od.value)});return}if(nd==="UnaryExpression"&&Ra.operator==="+")return qa.argument;if(nd==="ArrayExpression"){for(let[od,ld]of Ra.elements.entries())ld===null&&qa.elements.splice(od,0,{type:"NullLiteral"});return}if(nd==="TemplateLiteral")return{type:"StringLiteral",value:Ra.quasis[0].value.cooked}}ja.ignoredProperties=em;var Er$1={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},kt$2="JavaScript",tm={arrowParens:{category:kt$2,type:"choice",default:"always",description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSameLine:Er$1.bracketSameLine,bracketSpacing:Er$1.bracketSpacing,jsxBracketSameLine:{category:kt$2,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{category:kt$2,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},experimentalTernaries:{category:kt$2,type:"boolean",default:!1,description:"Use curious ternaries, with the question mark after the condition.",oppositeDescription:"Default behavior of ternaries; keep question marks on the same line as the consequent."},singleQuote:Er$1.singleQuote,jsxSingleQuote:{category:kt$2,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{category:kt$2,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{category:kt$2,type:"choice",default:"all",description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"all",description:"Trailing commas wherever possible (including function arguments)."},{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."}]},singleAttributePerLine:Er$1.singleAttributePerLine},va=tm,rm={estree:ws$1,"estree-json":Os$2},nm=[...Us$1,...La$1],$d=_s$2;const prettierPluginEstree=Object.freeze(Object.defineProperty({__proto__:null,default:$d,languages:nm,options:va,printers:rm},Symbol.toStringTag,{value:"Module"}));var el$1=Object.create,ft$2=Object.defineProperty,rl$1=Object.getOwnPropertyDescriptor,tl$1=Object.getOwnPropertyNames,nl$1=Object.getPrototypeOf,il$1=Object.prototype.hasOwnProperty,C$3=(Ra,qa)=>()=>(qa||Ra((qa={exports:{}}).exports,qa),qa.exports),Ln$1=(Ra,qa)=>{for(var nd in qa)ft$2(Ra,nd,{get:qa[nd],enumerable:!0})},ul$1=(Ra,qa,nd,od)=>{if(qa&&typeof qa=="object"||typeof qa=="function")for(let ld of tl$1(qa))!il$1.call(Ra,ld)&&ld!==nd&&ft$2(Ra,ld,{get:()=>qa[ld],enumerable:!(od=rl$1(qa,ld))||od.enumerable});return Ra},Ue$2=(Ra,qa,nd)=>(nd=Ra!=null?el$1(nl$1(Ra)):{},ul$1(ft$2(nd,"default",{value:Ra,enumerable:!0}),Ra)),xr$1=C$3((Ra,qa)=>{qa.exports=nd;function nd(od){return String(od).replace(/\s+/g," ")}}),Pi=C$3((Ra,qa)=>{qa.exports=kd;var nd=9,od=10,ld=32,ud=33,dd=58,pd=91,fd=92,md=93,vd=94,Ad=96,Nd=4,Od=1024;function kd(zd){var Wd=this.Parser,Jd=this.Compiler;Ld(Wd)&&jd(Wd,zd),Gd(Jd)&&Fd(Jd)}function Ld(zd){return!!(zd&&zd.prototype&&zd.prototype.blockTokenizers)}function Gd(zd){return!!(zd&&zd.prototype&&zd.prototype.visitors)}function jd(zd,Wd){for(var Jd=Wd||{},_f=zd.prototype,Xd=_f.blockTokenizers,pf=_f.inlineTokenizers,mf=_f.blockMethods,Sf=_f.inlineMethods,Tf=Xd.definition,Af=pf.reference,Ef=[],Nf=-1,If=mf.length,Gf;++Nf<If;)Gf=mf[Nf],!(Gf==="newline"||Gf==="indentedCode"||Gf==="paragraph"||Gf==="footnoteDefinition")&&Ef.push([Gf]);Ef.push(["footnoteDefinition"]),Jd.inlineNotes&&(Ud(Sf,"reference","inlineNote"),pf.inlineNote=ph),Ud(mf,"definition","footnoteDefinition"),Ud(Sf,"reference","footnoteCall"),Xd.definition=Lf,Xd.footnoteDefinition=Qf,pf.footnoteCall=Xf,pf.reference=qf,_f.interruptFootnoteDefinition=Ef,qf.locator=Af.locator,Xf.locator=Wf,ph.locator=Jf;function Qf(Kf,Cf,xf){for(var Yf=this,dh=Yf.interruptFootnoteDefinition,Rh=Yf.offset,th=Cf.length+1,Bf=0,Sh=[],Fh,uh,Pf,Uf,Zf,mh,Mh,_h,pm,Jh,Mm,Im,gm;Bf<th&&(Uf=Cf.charCodeAt(Bf),!(Uf!==nd&&Uf!==ld));)Bf++;if(Cf.charCodeAt(Bf++)===pd&&Cf.charCodeAt(Bf++)===vd){for(uh=Bf;Bf<th;){if(Uf=Cf.charCodeAt(Bf),Uf!==Uf||Uf===od||Uf===nd||Uf===ld)return;if(Uf===md){Pf=Bf,Bf++;break}Bf++}if(!(Pf===void 0||uh===Pf||Cf.charCodeAt(Bf++)!==dd)){if(xf)return!0;for(Fh=Cf.slice(uh,Pf),Zf=Kf.now(),pm=0,Jh=0,Mm=Bf,Im=[];Bf<th;){if(Uf=Cf.charCodeAt(Bf),Uf!==Uf||Uf===od)gm={start:pm,contentStart:Mm||Bf,contentEnd:Bf,end:Bf},Im.push(gm),Uf===od&&(pm=Bf+1,Jh=0,Mm=void 0,gm.end=pm);else if(Jh!==void 0)if(Uf===ld||Uf===nd)Jh+=Uf===ld?1:Nd-Jh%Nd,Jh>Nd&&(Jh=void 0,Mm=Bf);else{if(Jh<Nd&&gm&&(gm.contentStart===gm.contentEnd||qd(dh,Xd,Yf,[Kf,Cf.slice(Bf,Od),!0])))break;Jh=void 0,Mm=Bf}Bf++}for(Bf=-1,th=Im.length;th>0&&(gm=Im[th-1],gm.contentStart===gm.contentEnd);)th--;for(mh=Kf(Cf.slice(0,gm.contentEnd));++Bf<th;)gm=Im[Bf],Rh[Zf.line+Bf]=(Rh[Zf.line+Bf]||0)+(gm.contentStart-gm.start),Sh.push(Cf.slice(gm.contentStart,gm.end));return Mh=Yf.enterBlock(),_h=Yf.tokenizeBlock(Sh.join(""),Zf),Mh(),mh({type:"footnoteDefinition",identifier:Fh.toLowerCase(),label:Fh,children:_h})}}}function Xf(Kf,Cf,xf){var Yf=Cf.length+1,dh=0,Rh,th,Bf,Sh;if(Cf.charCodeAt(dh++)===pd&&Cf.charCodeAt(dh++)===vd){for(th=dh;dh<Yf;){if(Sh=Cf.charCodeAt(dh),Sh!==Sh||Sh===od||Sh===nd||Sh===ld)return;if(Sh===md){Bf=dh,dh++;break}dh++}if(!(Bf===void 0||th===Bf))return xf?!0:(Rh=Cf.slice(th,Bf),Kf(Cf.slice(0,dh))({type:"footnoteReference",identifier:Rh.toLowerCase(),label:Rh}))}}function ph(Kf,Cf,xf){var Yf=this,dh=Cf.length+1,Rh=0,th=0,Bf,Sh,Fh,uh,Pf,Uf,Zf;if(Cf.charCodeAt(Rh++)===vd&&Cf.charCodeAt(Rh++)===pd){for(Fh=Rh;Rh<dh;){if(Sh=Cf.charCodeAt(Rh),Sh!==Sh)return;if(Uf===void 0)if(Sh===fd)Rh+=2;else if(Sh===pd)th++,Rh++;else if(Sh===md)if(th===0){uh=Rh,Rh++;break}else th--,Rh++;else if(Sh===Ad){for(Pf=Rh,Uf=1;Cf.charCodeAt(Pf+Uf)===Ad;)Uf++;Rh+=Uf}else Rh++;else if(Sh===Ad){for(Pf=Rh,Zf=1;Cf.charCodeAt(Pf+Zf)===Ad;)Zf++;Rh+=Zf,Uf===Zf&&(Uf=void 0),Zf=void 0}else Rh++}if(uh!==void 0)return xf?!0:(Bf=Kf.now(),Bf.column+=2,Bf.offset+=2,Kf(Cf.slice(0,Rh))({type:"footnote",children:Yf.tokenizeInline(Cf.slice(Fh,uh),Bf)}))}}function qf(Kf,Cf,xf){var Yf=0;if(Cf.charCodeAt(Yf)===ud&&Yf++,Cf.charCodeAt(Yf)===pd&&Cf.charCodeAt(Yf+1)!==vd)return Af.call(this,Kf,Cf,xf)}function Lf(Kf,Cf,xf){for(var Yf=0,dh=Cf.charCodeAt(Yf);dh===ld||dh===nd;)dh=Cf.charCodeAt(++Yf);if(dh===pd&&Cf.charCodeAt(Yf+1)!==vd)return Tf.call(this,Kf,Cf,xf)}function Wf(Kf,Cf){return Kf.indexOf("[",Cf)}function Jf(Kf,Cf){return Kf.indexOf("^[",Cf)}}function Fd(zd){var Wd=zd.prototype.visitors,Jd=" ";Wd.footnote=_f,Wd.footnoteReference=Xd,Wd.footnoteDefinition=pf;function _f(mf){return"^["+this.all(mf).join("")+"]"}function Xd(mf){return"[^"+(mf.label||mf.identifier)+"]"}function pf(mf){for(var Sf=this.all(mf).join(`
`).split(`
`),Tf=0,Af=Sf.length,Ef;++Tf<Af;)Ef=Sf[Tf],Ef!==""&&(Sf[Tf]=Jd+Ef);return"[^"+(mf.label||mf.identifier)+"]: "+Sf.join(`
`)}}function Ud(zd,Wd,Jd){zd.splice(zd.indexOf(Wd),0,Jd)}function qd(zd,Wd,Jd,_f){for(var Xd=zd.length,pf=-1;++pf<Xd;)if(Wd[zd[pf][0]].apply(Jd,_f))return!0;return!1}}),Bt$3=C$3(Ra=>{Ra.isRemarkParser=qa,Ra.isRemarkCompiler=nd;function qa(od){return!!(od&&od.prototype&&od.prototype.blockTokenizers)}function nd(od){return!!(od&&od.prototype&&od.prototype.visitors)}}),Mi=C$3((Ra,qa)=>{var nd=Bt$3();qa.exports=Ad;var od=9,ld=32,ud=36,dd=48,pd=57,fd=92,md=["math","math-inline"],vd="math-display";function Ad(kd){let Ld=this.Parser,Gd=this.Compiler;nd.isRemarkParser(Ld)&&Nd(Ld,kd),nd.isRemarkCompiler(Gd)&&Od(Gd)}function Nd(kd,Ld){let Gd=kd.prototype,jd=Gd.inlineMethods;Ud.locator=Fd,Gd.inlineTokenizers.math=Ud,jd.splice(jd.indexOf("text"),0,"math");function Fd(qd,zd){return qd.indexOf("$",zd)}function Ud(qd,zd,Wd){let Jd=zd.length,_f=!1,Xd=!1,pf=0,mf,Sf,Tf,Af,Ef,Nf,If;if(zd.charCodeAt(pf)===fd&&(Xd=!0,pf++),zd.charCodeAt(pf)===ud){if(pf++,Xd)return Wd?!0:qd(zd.slice(0,pf))({type:"text",value:"$"});if(zd.charCodeAt(pf)===ud&&(_f=!0,pf++),Tf=zd.charCodeAt(pf),!(Tf===ld||Tf===od)){for(Af=pf;pf<Jd;){if(Sf=Tf,Tf=zd.charCodeAt(pf+1),Sf===ud){if(mf=zd.charCodeAt(pf-1),mf!==ld&&mf!==od&&(Tf!==Tf||Tf<dd||Tf>pd)&&(!_f||Tf===ud)){Ef=pf-1,pf++,_f&&pf++,Nf=pf;break}}else Sf===fd&&(pf++,Tf=zd.charCodeAt(pf+1));pf++}if(Nf!==void 0)return Wd?!0:(If=zd.slice(Af,Ef+1),qd(zd.slice(0,Nf))({type:"inlineMath",value:If,data:{hName:"span",hProperties:{className:md.concat(_f&&Ld.inlineMathDouble?[vd]:[])},hChildren:[{type:"text",value:If}]}}))}}}}function Od(kd){let Ld=kd.prototype;Ld.visitors.inlineMath=Gd;function Gd(jd){let Fd="$";return(jd.data&&jd.data.hProperties&&jd.data.hProperties.className||[]).includes(vd)&&(Fd="$$"),Fd+jd.value+Fd}}}),$i=C$3((Ra,qa)=>{var nd=Bt$3();qa.exports=vd;var od=10,ld=32,ud=36,dd=`
`,pd="$",fd=2,md=["math","math-display"];function vd(){let Od=this.Parser,kd=this.Compiler;nd.isRemarkParser(Od)&&Ad(Od),nd.isRemarkCompiler(kd)&&Nd(kd)}function Ad(Od){let kd=Od.prototype,Ld=kd.blockMethods,Gd=kd.interruptParagraph,jd=kd.interruptList,Fd=kd.interruptBlockquote;kd.blockTokenizers.math=Ud,Ld.splice(Ld.indexOf("fencedCode")+1,0,"math"),Gd.splice(Gd.indexOf("fencedCode")+1,0,["math"]),jd.splice(jd.indexOf("fencedCode")+1,0,["math"]),Fd.splice(Fd.indexOf("fencedCode")+1,0,["math"]);function Ud(qd,zd,Wd){var Jd=zd.length,_f=0;let Xd,pf,mf,Sf,Tf,Af,Ef,Nf,If,Gf,Qf;for(;_f<Jd&&zd.charCodeAt(_f)===ld;)_f++;for(Tf=_f;_f<Jd&&zd.charCodeAt(_f)===ud;)_f++;if(Af=_f-Tf,!(Af<fd)){for(;_f<Jd&&zd.charCodeAt(_f)===ld;)_f++;for(Ef=_f;_f<Jd;){if(Xd=zd.charCodeAt(_f),Xd===ud)return;if(Xd===od)break;_f++}if(zd.charCodeAt(_f)===od){if(Wd)return!0;for(pf=[],Ef!==_f&&pf.push(zd.slice(Ef,_f)),_f++,mf=zd.indexOf(dd,_f+1),mf=mf===-1?Jd:mf;_f<Jd;){for(Nf=!1,Gf=_f,Qf=mf,Sf=mf,If=0;Sf>Gf&&zd.charCodeAt(Sf-1)===ld;)Sf--;for(;Sf>Gf&&zd.charCodeAt(Sf-1)===ud;)If++,Sf--;for(Af<=If&&zd.indexOf(pd,Gf)===Sf&&(Nf=!0,Qf=Sf);Gf<=Qf&&Gf-_f<Tf&&zd.charCodeAt(Gf)===ld;)Gf++;if(Nf)for(;Qf>Gf&&zd.charCodeAt(Qf-1)===ld;)Qf--;if((!Nf||Gf!==Qf)&&pf.push(zd.slice(Gf,Qf)),Nf)break;_f=mf+1,mf=zd.indexOf(dd,_f+1),mf=mf===-1?Jd:mf}return pf=pf.join(`
`),qd(zd.slice(0,mf))({type:"math",value:pf,data:{hName:"div",hProperties:{className:md.concat()},hChildren:[{type:"text",value:pf}]}})}}}}function Nd(Od){let kd=Od.prototype;kd.visitors.math=Ld;function Ld(Gd){return`$$
`+Gd.value+`
$$`}}}),Wi=C$3((Ra,qa)=>{var nd=Mi(),od=$i();qa.exports=ld;function ld(ud){var dd=ud||{};od.call(this,dd),nd.call(this,dd)}}),Ie$3=C$3((Ra,qa)=>{qa.exports=od;var nd=Object.prototype.hasOwnProperty;function od(){for(var ld={},ud=0;ud<arguments.length;ud++){var dd=arguments[ud];for(var pd in dd)nd.call(dd,pd)&&(ld[pd]=dd[pd])}return ld}}),Ji$1=C$3((Ra,qa)=>{typeof Object.create=="function"?qa.exports=function(nd,od){od&&(nd.super_=od,nd.prototype=Object.create(od.prototype,{constructor:{value:nd,enumerable:!1,writable:!0,configurable:!0}}))}:qa.exports=function(nd,od){if(od){nd.super_=od;var ld=function(){};ld.prototype=od.prototype,nd.prototype=new ld,nd.prototype.constructor=nd}}}),Zi=C$3((Ra,qa)=>{var nd=Ie$3(),od=Ji$1();qa.exports=ld;function ld(ud){var dd,pd,fd;od(vd,ud),od(md,vd),dd=vd.prototype;for(pd in dd)fd=dd[pd],fd&&typeof fd=="object"&&(dd[pd]="concat"in fd?fd.concat():nd(fd));return vd;function md(Ad){return ud.apply(this,Ad)}function vd(){return this instanceof vd?ud.apply(this,arguments):new md(arguments)}}}),ru$1=C$3((Ra,qa)=>{qa.exports=nd;function nd(od,ld,ud){return dd;function dd(){var pd=ud||this,fd=pd[od];return pd[od]=!ld,md;function md(){pd[od]=fd}}}}),nu$2=C$3((Ra,qa)=>{qa.exports=nd;function nd(od){for(var ld=String(od),ud=[],dd=/\r?\n|\r/g;dd.exec(ld);)ud.push(dd.lastIndex);return ud.push(ld.length+1),{toPoint:pd,toPosition:pd,toOffset:fd};function pd(md){var vd=-1;if(md>-1&&md<ud[ud.length-1]){for(;++vd<ud.length;)if(ud[vd]>md)return{line:vd+1,column:md-(ud[vd-1]||0)+1,offset:md}}return{}}function fd(md){var vd=md&&md.line,Ad=md&&md.column,Nd;return!isNaN(vd)&&!isNaN(Ad)&&vd-1 in ud&&(Nd=(ud[vd-2]||0)+Ad-1||0),Nd>-1&&Nd<ud[ud.length-1]?Nd:-1}}}),uu$2=C$3((Ra,qa)=>{qa.exports=od;var nd="\\";function od(ld,ud){return dd;function dd(pd){for(var fd=0,md=pd.indexOf(nd),vd=ld[ud],Ad=[],Nd;md!==-1;)Ad.push(pd.slice(fd,md)),fd=md+1,Nd=pd.charAt(fd),(!Nd||vd.indexOf(Nd)===-1)&&Ad.push(nd),md=pd.indexOf(nd,fd+1);return Ad.push(pd.slice(fd)),Ad.join("")}}}),au$2=C$3((Ra,qa)=>{qa.exports={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:"º",oslash:"ø",otilde:"õ",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',raquo:"»",reg:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",times:"×",uacute:"ú",ucirc:"û",ugrave:"ù",uml:"¨",uuml:"ü",yacute:"ý",yen:"¥",yuml:"ÿ"}}),ou$1=C$3((Ra,qa)=>{qa.exports={0:"<22>",128:"€",130:"",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"",140:"Œ",142:"Ž",145:"",146:"",147:"“",148:"”",149:"•",150:"",151:"—",152:"˜",153:"™",154:"š",155:"",156:"œ",158:"ž",159:"Ÿ"}}),Ne$3=C$3((Ra,qa)=>{qa.exports=nd;function nd(od){var ld=typeof od=="string"?od.charCodeAt(0):od;return ld>=48&&ld<=57}}),lu$1=C$3((Ra,qa)=>{qa.exports=nd;function nd(od){var ld=typeof od=="string"?od.charCodeAt(0):od;return ld>=97&&ld<=102||ld>=65&&ld<=70||ld>=48&&ld<=57}}),Ve$3=C$3((Ra,qa)=>{qa.exports=nd;function nd(od){var ld=typeof od=="string"?od.charCodeAt(0):od;return ld>=97&&ld<=122||ld>=65&&ld<=90}}),pu$1=C$3((Ra,qa)=>{var nd=Ve$3(),od=Ne$3();qa.exports=ld;function ld(ud){return nd(ud)||od(ud)}}),du$1=C$3((Ra,qa)=>{qa.exports={AEli:"Æ",AElig:"Æ",AM:"&",AMP:"&",Aacut:"Á",Aacute:"Á",Abreve:"Ă",Acir:"Â",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrav:"À",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"",Arin:"Å",Aring:"Å",Ascr:"𝒜",Assign:"≔",Atild:"Ã",Atilde:"Ã",Aum:"Ä",Auml:"Ä",Backslash:"",Barv:"⫧",Barwed:"⌆",Bcy:"Б",Because:"∵",Bernoullis:"",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",Bscr:"",Bumpeq:"≎",CHcy:"Ч",COP:"©",COPY:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"",Cayleys:"",Ccaron:"Č",Ccedi:"Ç",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",CenterDot:"·",Cfr:"",Chi:"Χ",CircleDot:"⊙",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"",Colon:"∷",Colone:"⩴",Congruent:"≡",Conint:"∯",ContourIntegral:"∮",Copf:"",Coproduct:"∐",CounterClockwiseContourIntegral:"∳",Cross:"",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",DD:"",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",Darr:"↡",Dashv:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",Diamond:"⋄",DifferentialD:"",Dopf:"𝔻",Dot:"¨",DotDot:"⃜",DotEqual:"≐",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"",DownTeeArrow:"↧",Downarrow:"⇓",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ET:"Ð",ETH:"Ð",Eacut:"É",Eacute:"É",Ecaron:"Ě",Ecir:"Ê",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrav:"È",Egrave:"È",Element:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",Equilibrium:"⇌",Escr:"",Esim:"⩳",Eta:"Η",Eum:"Ë",Euml:"Ë",Exists:"∃",ExponentialE:"",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",Fopf:"𝔽",ForAll:"∀",Fouriertrf:"",Fscr:"",GJcy:"Ѓ",G:">",GT:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"",HilbertSpace:"",Hopf:"",HorizontalLine:"─",Hscr:"",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacut:"Í",Iacute:"Í",Icir:"Î",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"",Igrav:"Ì",Igrave:"Ì",Im:"",Imacr:"Ī",ImaginaryI:"",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"",InvisibleTimes:"",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"",Itilde:"Ĩ",Iukcy:"І",Ium:"Ï",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",L:"<",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"𝕃",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:"",Mellintrf:"",Mfr:"𝔐",MinusPlus:"∓",Mopf:"𝕄",Mscr:"",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
`,Nfr:"𝔑",NoBreak:"",NonBreakingSpace:" ",Nopf:"",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩",Ntild:"Ñ",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacut:"Ó",Oacute:"Ó",Ocir:"Ô",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograv:"Ò",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"",Or:"⩔",Oscr:"𝒪",Oslas:"Ø",Oslash:"Ø",Otild:"Õ",Otilde:"Õ",Otimes:"⨷",Oum:"Ö",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"",Popf:"",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫",Psi:"Ψ",QUO:'"',QUOT:'"',Qfr:"𝔔",Qopf:"",Qscr:"𝒬",RBarr:"⤐",RE:"®",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THOR:"Þ",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",Theta:"Θ",ThickSpace:"",ThinSpace:"",Tilde:"",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋",TripleDot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacut:"Ú",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucir:"Û",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrav:"Ù",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uum:"Ü",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"",Verbar:"‖",Vert:"‖",VerticalBar:"",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:"",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacut:"Ý",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"",Zeta:"Ζ",Zfr:"",Zopf:"",Zscr:"𝒵",aacut:"á",aacute:"á",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acir:"â",acirc:"â",acut:"´",acute:"´",acy:"а",aeli:"æ",aelig:"æ",af:"",afr:"𝔞",agrav:"à",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",am:"&",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",aopf:"𝕒",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",arin:"å",aring:"å",ascr:"𝒶",ast:"*",asymp:"≈",asympeq:"≍",atild:"ã",atilde:"ã",aum:"ä",auml:"ä",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"",beta:"β",beth:"ℶ",between:"≬",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"",breve:"˘",brvba:"¦",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedi:"ç",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedi:"¸",cedil:"¸",cemptyv:"⦲",cen:"¢",cent:"¢",centerdot:"·",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"",cong:"≅",congdot:"⩭",conint:"∮",copf:"𝕔",coprod:"∐",cop:"©",copy:"©",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curre:"¤",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",de:"°",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",digamma:"ϝ",disin:"⋲",div:"÷",divid:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacut:"é",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"ê",ecirc:"ê",ecolon:"≕",ecy:"э",edot:"ė",ee:"",efDot:"≒",efr:"𝔢",eg:"⪚",egrav:"è",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:"",emsp14:"",emsp:"",eng:"ŋ",ensp:"",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"",esdot:"≐",esim:"≂",eta:"η",et:"ð",eth:"ð",eum:"ë",euml:"ë",euro:"€",excl:"!",exist:"∃",expectation:"",exponentiale:"",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac1:"¼",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac3:"¾",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"",frown:"⌢",fscr:"𝒻",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",grave:"`",gscr:"",gsim:"≳",gsime:"⪎",gsiml:"⪐",g:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:"",half:"½",hamilt:"",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hslash:"ℏ",hstrok:"ħ",hybull:"",hyphen:"",iacut:"í",iacute:"í",ic:"",icir:"î",icirc:"î",icy:"и",iecy:"е",iexc:"¡",iexcl:"¡",iff:"⇔",ifr:"𝔦",igrav:"ì",igrave:"ì",ii:"",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",image:"",imagline:"",imagpart:"",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iprod:"⨼",iques:"¿",iquest:"¿",iscr:"𝒾",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",itilde:"ĩ",iukcy:"і",ium:"ï",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laqu:"«",laquo:"«",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"",lscr:"𝓁",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"",lsquor:"",lstrok:"ł",l:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",mac:"¯",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"𝔪",mho:"℧",micr:"µ",micro:"µ",mid:"",midast:"*",midcir:"⫰",middo:"·",middot:"·",minus:"",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",mp:"∓",mscr:"𝓂",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"",nbs:" ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"𝕟",no:"¬",not:"¬",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntild:"ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:"",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacut:"ó",oacute:"ó",oast:"⊛",ocir:"ô",ocirc:"ô",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograv:"ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",opar:"⦷",operp:"⦹",oplus:"⊕",or:"",orarr:"↻",ord:"º",order:"",orderof:"",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"",oslas:"ø",oslash:"ø",osol:"⊘",otild:"õ",otilde:"õ",otimes:"⊗",otimesas:"⨶",oum:"ö",ouml:"ö",ovbar:"⌽",par:"¶",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",phmmat:"",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusm:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"⨕",popf:"𝕡",poun:"£",pound:"£",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"",primes:"",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:"",qfr:"𝔮",qint:"⨌",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quaternions:"",quatint:"⨖",quest:"?",questeq:"≟",quo:'"',quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raqu:"»",raquo:"»",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"",rationals:"",rbarr:"⤍",rbbrk:"",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"",realine:"",realpart:"",reals:"",rect:"▭",re:"®",reg:"®",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"",rscr:"𝓇",rsh:"↱",rsqb:"]",rsquo:"",rsquor:"",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sec:"§",sect:"§",semi:";",seswar:"⤩",setminus:"",setmn:"",sext:"✶",sfr:"𝔰",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"",shortparallel:"∥",sh:"­",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"",smashp:"⨳",smeparsl:"⧤",smid:"",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",ssetmn:"",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szli:"ß",szlig:"ß",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"",thinsp:"",thkap:"≈",thksim:"",thor:"þ",thorn:"þ",tilde:"˜",time:"×",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacut:"ú",uacute:"ú",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucir:"û",ucirc:"û",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",ugrav:"ù",ugrave:"ù",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",um:"¨",uml:"¨",uogon:"ų",uopf:"𝕦",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uum:"ü",uuml:"ü",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",vprop:"∝",vrtri:"⊳",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"𝔴",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"",xdtri:"▽",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"",xwedge:"⋀",yacut:"ý",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",ye:"¥",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yum:"ÿ",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"",zwnj:""}}),Fu$1=C$3((Ra,qa)=>{var nd=du$1();qa.exports=ld;var od={}.hasOwnProperty;function ld(ud){return od.call(nd,ud)?nd[ud]:!1}}),pr$1=C$3((Ra,qa)=>{var nd=au$2(),od=ou$1(),ld=Ne$3(),ud=lu$1(),dd=pu$1(),pd=Fu$1();qa.exports=ph;var fd={}.hasOwnProperty,md=String.fromCharCode,vd=Function.prototype,Ad={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},Nd=9,Od=10,kd=12,Ld=32,Gd=38,jd=59,Fd=60,Ud=61,qd=35,zd=88,Wd=120,Jd=65533,_f="named",Xd="hexadecimal",pf="decimal",mf={};mf[Xd]=16,mf[pf]=10;var Sf={};Sf[_f]=dd,Sf[pf]=ld,Sf[Xd]=ud;var Tf=1,Af=2,Ef=3,Nf=4,If=5,Gf=6,Qf=7,Xf={};Xf[Tf]="Named character references must be terminated by a semicolon",Xf[Af]="Numeric character references must be terminated by a semicolon",Xf[Ef]="Named character references cannot be empty",Xf[Nf]="Numeric character references cannot be empty",Xf[If]="Named character references must be known",Xf[Gf]="Numeric character references cannot be disallowed",Xf[Qf]="Numeric character references cannot be outside the permissible Unicode range";function ph(Jf,Kf){var Cf={},xf,Yf;Kf||(Kf={});for(Yf in Ad)xf=Kf[Yf],Cf[Yf]=xf??Ad[Yf];return(Cf.position.indent||Cf.position.start)&&(Cf.indent=Cf.position.indent||[],Cf.position=Cf.position.start),qf(Jf,Cf)}function qf(Jf,Kf){var Cf=Kf.additional,xf=Kf.nonTerminated,Yf=Kf.text,dh=Kf.reference,Rh=Kf.warning,th=Kf.textContext,Bf=Kf.referenceContext,Sh=Kf.warningContext,Fh=Kf.position,uh=Kf.indent||[],Pf=Jf.length,Uf=0,Zf=-1,mh=Fh.column||1,Mh=Fh.line||1,_h="",pm=[],Jh,Mm,Im,gm,Lm,Vm,Th,Rf,wf,sh,xh,Wh,om,Dm,zm,jm,ig,Zm,ug;for(typeof Cf=="string"&&(Cf=Cf.charCodeAt(0)),jm=wg(),Rf=Rh?Kg:vd,Uf--,Pf++;++Uf<Pf;)if(Lm===Od&&(mh=uh[Zf]||1),Lm=Jf.charCodeAt(Uf),Lm===Gd){if(Th=Jf.charCodeAt(Uf+1),Th===Nd||Th===Od||Th===kd||Th===Ld||Th===Gd||Th===Fd||Th!==Th||Cf&&Th===Cf){_h+=md(Lm),mh++;continue}for(om=Uf+1,Wh=om,ug=om,Th===qd?(ug=++Wh,Th=Jf.charCodeAt(ug),Th===zd||Th===Wd?(Dm=Xd,ug=++Wh):Dm=pf):Dm=_f,Jh="",xh="",gm="",zm=Sf[Dm],ug--;++ug<Pf&&(Th=Jf.charCodeAt(ug),!!zm(Th));)gm+=md(Th),Dm===_f&&fd.call(nd,gm)&&(Jh=gm,xh=nd[gm]);Im=Jf.charCodeAt(ug)===jd,Im&&(ug++,Mm=Dm===_f?pd(gm):!1,Mm&&(Jh=gm,xh=Mm)),Zm=1+ug-om,!Im&&!xf||(gm?Dm===_f?(Im&&!xh?Rf(If,1):(Jh!==gm&&(ug=Wh+Jh.length,Zm=1+ug-Wh,Im=!1),Im||(wf=Jh?Tf:Ef,Kf.attribute?(Th=Jf.charCodeAt(ug),Th===Ud?(Rf(wf,Zm),xh=null):dd(Th)?xh=null:Rf(wf,Zm)):Rf(wf,Zm))),Vm=xh):(Im||Rf(Af,Zm),Vm=parseInt(gm,mf[Dm]),Lf(Vm)?(Rf(Qf,Zm),Vm=md(Jd)):Vm in od?(Rf(Gf,Zm),Vm=od[Vm]):(sh="",Wf(Vm)&&Rf(Gf,Zm),Vm>65535&&(Vm-=65536,sh+=md(Vm>>>10|55296),Vm=56320|Vm&1023),Vm=sh+md(Vm))):Dm!==_f&&Rf(Nf,Zm)),Vm?(Gg(),jm=wg(),Uf=ug-1,mh+=ug-om+1,pm.push(Vm),ig=wg(),ig.offset++,dh&&dh.call(Bf,Vm,{start:jm,end:ig},Jf.slice(om-1,ug)),jm=ig):(gm=Jf.slice(om-1,ug),_h+=gm,mh+=gm.length,Uf=ug-1)}else Lm===10&&(Mh++,Zf++,mh=0),Lm===Lm?(_h+=md(Lm),mh++):Gg();return pm.join("");function wg(){return{line:Mh,column:mh,offset:Uf+(Fh.offset||0)}}function Kg(n_,Pg){var m_=wg();m_.column+=Pg,m_.offset+=Pg,Rh.call(Sh,Xf[n_],m_,n_)}function Gg(){_h&&(pm.push(_h),Yf&&Yf.call(th,_h,{start:jm,end:wg()}),_h="")}}function Lf(Jf){return Jf>=55296&&Jf<=57343||Jf>1114111}function Wf(Jf){return Jf>=1&&Jf<=8||Jf===11||Jf>=13&&Jf<=31||Jf>=127&&Jf<=159||Jf>=64976&&Jf<=65007||(Jf&65535)===65535||(Jf&65535)===65534}}),Ou$1=C$3((Ra,qa)=>{var nd=Ie$3(),od=pr$1();qa.exports=ld;function ld(ud){return pd.raw=fd,pd;function dd(vd){for(var Ad=ud.offset,Nd=vd.line,Od=[];++Nd&&Nd in Ad;)Od.push((Ad[Nd]||0)+1);return{start:vd,indent:Od}}function pd(vd,Ad,Nd){od(vd,{position:dd(Ad),warning:md,text:Nd,reference:Nd,textContext:ud,referenceContext:ud})}function fd(vd,Ad,Nd){return od(vd,nd(Nd,{position:dd(Ad),warning:md}))}function md(vd,Ad,Nd){Nd!==3&&ud.file.message(vd,Ad)}}}),Iu$1=C$3((Ra,qa)=>{qa.exports=nd;function nd(dd){return pd;function pd(fd,md){var vd=this,Ad=vd.offset,Nd=[],Od=vd[dd+"Methods"],kd=vd[dd+"Tokenizers"],Ld=md.line,Gd=md.column,jd,Fd,Ud,qd,zd,Wd;if(!fd)return Nd;for(Af.now=Xd,Af.file=vd.file,Jd("");fd;){for(jd=-1,Fd=Od.length,zd=!1;++jd<Fd&&(qd=Od[jd],Ud=kd[qd],!(Ud&&(!Ud.onlyAtStart||vd.atStart)&&(!Ud.notInList||!vd.inList)&&(!Ud.notInBlock||!vd.inBlock)&&(!Ud.notInLink||!vd.inLink)&&(Wd=fd.length,Ud.apply(vd,[Af,fd]),zd=Wd!==fd.length,zd))););zd||vd.file.fail(new Error("Infinite loop"),Af.now())}return vd.eof=Xd(),Nd;function Jd(Ef){for(var Nf=-1,If=Ef.indexOf(`
`);If!==-1;)Ld++,Nf=If,If=Ef.indexOf(`
`,If+1);Nf===-1?Gd+=Ef.length:Gd=Ef.length-Nf,Ld in Ad&&(Nf!==-1?Gd+=Ad[Ld]:Gd<=Ad[Ld]&&(Gd=Ad[Ld]+1))}function _f(){var Ef=[],Nf=Ld+1;return function(){for(var If=Ld+1;Nf<If;)Ef.push((Ad[Nf]||0)+1),Nf++;return Ef}}function Xd(){var Ef={line:Ld,column:Gd};return Ef.offset=vd.toOffset(Ef),Ef}function pf(Ef){this.start=Ef,this.end=Xd()}function mf(Ef){fd.slice(0,Ef.length)!==Ef&&vd.file.fail(new Error("Incorrectly eaten value: please report this warning on https://git.io/vg5Ft"),Xd())}function Sf(){var Ef=Xd();return Nf;function Nf(If,Gf){var Qf=If.position,Xf=Qf?Qf.start:Ef,ph=[],qf=Qf&&Qf.end.line,Lf=Ef.line;if(If.position=new pf(Xf),Qf&&Gf&&Qf.indent){if(ph=Qf.indent,qf<Lf){for(;++qf<Lf;)ph.push((Ad[qf]||0)+1);ph.push(Ef.column)}Gf=ph.concat(Gf)}return If.position.indent=Gf||[],If}}function Tf(Ef,Nf){var If=Nf?Nf.children:Nd,Gf=If[If.length-1],Qf;return Gf&&Ef.type===Gf.type&&(Ef.type==="text"||Ef.type==="blockquote")&&od(Gf)&&od(Ef)&&(Qf=Ef.type==="text"?ld:ud,Ef=Qf.call(vd,Gf,Ef)),Ef!==Gf&&If.push(Ef),vd.atStart&&Nd.length!==0&&vd.exitStart(),Ef}function Af(Ef){var Nf=_f(),If=Sf(),Gf=Xd();return mf(Ef),Qf.reset=Xf,Xf.test=ph,Qf.test=ph,fd=fd.slice(Ef.length),Jd(Ef),Nf=Nf(),Qf;function Qf(qf,Lf){return If(Tf(If(qf),Lf),Nf)}function Xf(){var qf=Qf.apply(null,arguments);return Ld=Gf.line,Gd=Gf.column,fd=Ef+fd,qf}function ph(){var qf=If({});return Ld=Gf.line,Gd=Gf.column,fd=Ef+fd,qf.position}}}}function od(dd){var pd,fd;return dd.type!=="text"||!dd.position?!0:(pd=dd.position.start,fd=dd.position.end,pd.line!==fd.line||fd.column-pd.column===dd.value.length)}function ld(dd,pd){return dd.value+=pd.value,dd}function ud(dd,pd){return this.options.commonmark||this.options.gfm?pd:(dd.children=dd.children.concat(pd.children),dd)}}),Uu$2=C$3((Ra,qa)=>{qa.exports=ud;var nd=["\\","`","*","{","}","[","]","(",")","#","+","-",".","!","_",">"],od=nd.concat(["~","|"]),ld=od.concat([`
`,'"',"$","%","&","'",",","/",":",";","<","=","?","@","^"]);ud.default=nd,ud.gfm=od,ud.commonmark=ld;function ud(dd){var pd=dd||{};return pd.commonmark?ld:pd.gfm?od:nd}}),Mu$1=C$3((Ra,qa)=>{qa.exports=["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","hgroup","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","pre","section","source","title","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]}),Rt$3=C$3((Ra,qa)=>{qa.exports={position:!0,gfm:!0,commonmark:!1,pedantic:!1,blocks:Mu$1()}}),Vu$2=C$3((Ra,qa)=>{var nd=Ie$3(),od=Uu$2(),ld=Rt$3();qa.exports=ud;function ud(dd){var pd=this,fd=pd.options,md,vd;if(dd==null)dd={};else if(typeof dd=="object")dd=nd(dd);else throw new Error("Invalid value `"+dd+"` for setting `options`");for(md in ld){if(vd=dd[md],vd==null&&(vd=fd[md]),md!=="blocks"&&typeof vd!="boolean"||md==="blocks"&&typeof vd!="object")throw new Error("Invalid value `"+vd+"` for setting `options."+md+"`");dd[md]=vd}return pd.options=dd,pd.escape=od(dd),pd}}),Hu$2=C$3((Ra,qa)=>{qa.exports=nd;function nd(pd){if(pd==null)return dd;if(typeof pd=="string")return ud(pd);if(typeof pd=="object")return"length"in pd?ld(pd):od(pd);if(typeof pd=="function")return pd;throw new Error("Expected function, string, or object as test")}function od(pd){return fd;function fd(md){var vd;for(vd in pd)if(md[vd]!==pd[vd])return!1;return!0}}function ld(pd){for(var fd=[],md=-1;++md<pd.length;)fd[md]=nd(pd[md]);return vd;function vd(){for(var Ad=-1;++Ad<fd.length;)if(fd[Ad].apply(this,arguments))return!0;return!1}}function ud(pd){return fd;function fd(md){return!!(md&&md.type===pd)}}function dd(){return!0}}),Ku$2=C$3((Ra,qa)=>{qa.exports=nd;function nd(od){return od}}),Zu$2=C$3((Ra,qa)=>{qa.exports=pd;var nd=Hu$2(),od=Ku$2(),ld=!0,ud="skip",dd=!1;pd.CONTINUE=ld,pd.SKIP=ud,pd.EXIT=dd;function pd(md,vd,Ad,Nd){var Od,kd;typeof vd=="function"&&typeof Ad!="function"&&(Nd=Ad,Ad=vd,vd=null),kd=nd(vd),Od=Nd?-1:1,Ld(md,null,[])();function Ld(Gd,jd,Fd){var Ud=typeof Gd=="object"&&Gd!==null?Gd:{},qd;return typeof Ud.type=="string"&&(qd=typeof Ud.tagName=="string"?Ud.tagName:typeof Ud.name=="string"?Ud.name:void 0,zd.displayName="node ("+od(Ud.type+(qd?"<"+qd+">":""))+")"),zd;function zd(){var Wd=Fd.concat(Gd),Jd=[],_f,Xd;if((!vd||kd(Gd,jd,Fd[Fd.length-1]||null))&&(Jd=fd(Ad(Gd,Fd)),Jd[0]===dd))return Jd;if(Gd.children&&Jd[0]!==ud)for(Xd=(Nd?Gd.children.length:-1)+Od;Xd>-1&&Xd<Gd.children.length;){if(_f=Ld(Gd.children[Xd],Xd,Wd)(),_f[0]===dd)return _f;Xd=typeof _f[1]=="number"?_f[1]:Xd+Od}return Jd}}}function fd(md){return md!==null&&typeof md=="object"&&"length"in md?md:typeof md=="number"?[ld,md]:[md]}}),ra$1=C$3((Ra,qa)=>{qa.exports=dd;var nd=Zu$2(),od=nd.CONTINUE,ld=nd.SKIP,ud=nd.EXIT;dd.CONTINUE=od,dd.SKIP=ld,dd.EXIT=ud;function dd(pd,fd,md,vd){typeof fd=="function"&&typeof md!="function"&&(vd=md,md=fd,fd=null),nd(pd,fd,Ad,vd);function Ad(Nd,Od){var kd=Od[Od.length-1],Ld=kd?kd.children.indexOf(Nd):null;return md(Nd,Ld,kd)}}}),na=C$3((Ra,qa)=>{var nd=ra$1();qa.exports=od;function od(dd,pd){return nd(dd,pd?ld:ud),dd}function ld(dd){delete dd.position}function ud(dd){dd.position=void 0}}),aa$2=C$3((Ra,qa)=>{var nd=Ie$3(),od=na();qa.exports=dd;var ld=`
`,ud=/\r\n|\r/g;function dd(){var pd=this,fd=String(pd.file),md={line:1,column:1,offset:0},vd=nd(md),Ad;return fd=fd.replace(ud,ld),fd.charCodeAt(0)===65279&&(fd=fd.slice(1),vd.column++,vd.offset++),Ad={type:"root",children:pd.tokenizeBlock(fd,vd),position:{start:md,end:pd.eof||nd(md)}},pd.options.position||od(Ad,!0),Ad}}),sa=C$3((Ra,qa)=>{var nd=/^[ \t]*(\n|$)/;qa.exports=od;function od(ld,ud,dd){for(var pd,fd="",md=0,vd=ud.length;md<vd&&(pd=nd.exec(ud.slice(md)),pd!=null);)md+=pd[0].length,fd+=pd[0];if(fd!==""){if(dd)return!0;ld(fd)}}}),Hr$2=C$3((Ra,qa)=>{var nd="",od;qa.exports=ld;function ld(ud,dd){if(typeof ud!="string")throw new TypeError("expected a string");if(dd===1)return ud;if(dd===2)return ud+ud;var pd=ud.length*dd;if(od!==ud||typeof od>"u")od=ud,nd="";else if(nd.length>=pd)return nd.substr(0,pd);for(;pd>nd.length&&dd>1;)dd&1&&(nd+=ud),dd>>=1,ud+=ud;return nd+=ud,nd=nd.substr(0,pd),nd}}),Mt$3=C$3((Ra,qa)=>{qa.exports=nd;function nd(od){return String(od).replace(/\n+$/,"")}}),pa=C$3((Ra,qa)=>{var nd=Hr$2(),od=Mt$3();qa.exports=md;var ld=`
`,ud=" ",dd=" ",pd=4,fd=nd(dd,pd);function md(vd,Ad,Nd){for(var Od=-1,kd=Ad.length,Ld="",Gd="",jd="",Fd="",Ud,qd,zd;++Od<kd;)if(Ud=Ad.charAt(Od),zd)if(zd=!1,Ld+=jd,Gd+=Fd,jd="",Fd="",Ud===ld)jd=Ud,Fd=Ud;else for(Ld+=Ud,Gd+=Ud;++Od<kd;){if(Ud=Ad.charAt(Od),!Ud||Ud===ld){Fd=Ud,jd=Ud;break}Ld+=Ud,Gd+=Ud}else if(Ud===dd&&Ad.charAt(Od+1)===Ud&&Ad.charAt(Od+2)===Ud&&Ad.charAt(Od+3)===Ud)jd+=fd,Od+=3,zd=!0;else if(Ud===ud)jd+=Ud,zd=!0;else{for(qd="";Ud===ud||Ud===dd;)qd+=Ud,Ud=Ad.charAt(++Od);if(Ud!==ld)break;jd+=qd+Ud,Fd+=Ud}if(Gd)return Nd?!0:vd(Ld)({type:"code",lang:null,meta:null,value:od(Gd)})}}),ma=C$3((Ra,qa)=>{qa.exports=md;var nd=`
`,od=" ",ld=" ",ud="~",dd="`",pd=3,fd=4;function md(vd,Ad,Nd){var Od=this,kd=Od.options.gfm,Ld=Ad.length+1,Gd=0,jd="",Fd,Ud,qd,zd,Wd,Jd,_f,Xd,pf,mf,Sf,Tf,Af;if(kd){for(;Gd<Ld&&(qd=Ad.charAt(Gd),!(qd!==ld&&qd!==od));)jd+=qd,Gd++;if(Tf=Gd,qd=Ad.charAt(Gd),!(qd!==ud&&qd!==dd)){for(Gd++,Ud=qd,Fd=1,jd+=qd;Gd<Ld&&(qd=Ad.charAt(Gd),qd===Ud);)jd+=qd,Fd++,Gd++;if(!(Fd<pd)){for(;Gd<Ld&&(qd=Ad.charAt(Gd),!(qd!==ld&&qd!==od));)jd+=qd,Gd++;for(zd="",_f="";Gd<Ld&&(qd=Ad.charAt(Gd),!(qd===nd||Ud===dd&&qd===Ud));)qd===ld||qd===od?_f+=qd:(zd+=_f+qd,_f=""),Gd++;if(qd=Ad.charAt(Gd),!(qd&&qd!==nd)){if(Nd)return!0;Af=vd.now(),Af.column+=jd.length,Af.offset+=jd.length,jd+=zd,zd=Od.decode.raw(Od.unescape(zd),Af),_f&&(jd+=_f),_f="",mf="",Sf="",Xd="",pf="";for(var Ef=!0;Gd<Ld;){if(qd=Ad.charAt(Gd),Xd+=mf,pf+=Sf,mf="",Sf="",qd!==nd){Xd+=qd,Sf+=qd,Gd++;continue}for(Ef?(jd+=qd,Ef=!1):(mf+=qd,Sf+=qd),_f="",Gd++;Gd<Ld&&(qd=Ad.charAt(Gd),qd===ld);)_f+=qd,Gd++;if(mf+=_f,Sf+=_f.slice(Tf),!(_f.length>=fd)){for(_f="";Gd<Ld&&(qd=Ad.charAt(Gd),qd===Ud);)_f+=qd,Gd++;if(mf+=_f,Sf+=_f,!(_f.length<Fd)){for(_f="";Gd<Ld&&(qd=Ad.charAt(Gd),!(qd!==ld&&qd!==od));)mf+=qd,Sf+=qd,Gd++;if(!qd||qd===nd)break}}}for(jd+=Xd+mf,Gd=-1,Ld=zd.length;++Gd<Ld;)if(qd=zd.charAt(Gd),qd===ld||qd===od)Wd||(Wd=zd.slice(0,Gd));else if(Wd){Jd=zd.slice(Gd);break}return vd(jd)({type:"code",lang:Wd||zd||null,meta:Jd||null,value:pf})}}}}}}),Re$5=C$3((Ra,qa)=>{Ra=qa.exports=nd;function nd(od){return od.trim?od.trim():Ra.right(Ra.left(od))}Ra.left=function(od){return od.trimLeft?od.trimLeft():od.replace(/^\s\s*/,"")},Ra.right=function(od){if(od.trimRight)return od.trimRight();for(var ld=/\s/,ud=od.length;ld.test(od.charAt(--ud)););return od.slice(0,ud+1)}}),Kr$2=C$3((Ra,qa)=>{qa.exports=nd;function nd(od,ld,ud,dd){for(var pd=od.length,fd=-1,md,vd;++fd<pd;)if(md=od[fd],vd=md[1]||{},!(vd.pedantic!==void 0&&vd.pedantic!==ud.options.pedantic)&&!(vd.commonmark!==void 0&&vd.commonmark!==ud.options.commonmark)&&ld[md[0]].apply(ud,dd))return!0;return!1}}),ba$1=C$3((Ra,qa)=>{var nd=Re$5(),od=Kr$2();qa.exports=fd;var ld=`
`,ud=" ",dd=" ",pd=">";function fd(md,vd,Ad){for(var Nd=this,Od=Nd.offset,kd=Nd.blockTokenizers,Ld=Nd.interruptBlockquote,Gd=md.now(),jd=Gd.line,Fd=vd.length,Ud=[],qd=[],zd=[],Wd,Jd=0,_f,Xd,pf,mf,Sf,Tf,Af,Ef;Jd<Fd&&(_f=vd.charAt(Jd),!(_f!==dd&&_f!==ud));)Jd++;if(vd.charAt(Jd)===pd){if(Ad)return!0;for(Jd=0;Jd<Fd;){for(pf=vd.indexOf(ld,Jd),Tf=Jd,Af=!1,pf===-1&&(pf=Fd);Jd<Fd&&(_f=vd.charAt(Jd),!(_f!==dd&&_f!==ud));)Jd++;if(vd.charAt(Jd)===pd?(Jd++,Af=!0,vd.charAt(Jd)===dd&&Jd++):Jd=Tf,mf=vd.slice(Jd,pf),!Af&&!nd(mf)){Jd=Tf;break}if(!Af&&(Xd=vd.slice(Jd),od(Ld,kd,Nd,[md,Xd,!0])))break;Sf=Tf===Jd?mf:vd.slice(Tf,pf),zd.push(Jd-Tf),Ud.push(Sf),qd.push(mf),Jd=pf+1}for(Jd=-1,Fd=zd.length,Wd=md(Ud.join(ld));++Jd<Fd;)Od[jd]=(Od[jd]||0)+zd[Jd],jd++;return Ef=Nd.enterBlock(),qd=Nd.tokenizeBlock(qd.join(ld),Gd),Ef(),Wd({type:"blockquote",children:qd})}}}),xa$1=C$3((Ra,qa)=>{qa.exports=pd;var nd=`
`,od=" ",ld=" ",ud="#",dd=6;function pd(fd,md,vd){for(var Ad=this,Nd=Ad.options.pedantic,Od=md.length+1,kd=-1,Ld=fd.now(),Gd="",jd="",Fd,Ud,qd;++kd<Od;){if(Fd=md.charAt(kd),Fd!==ld&&Fd!==od){kd--;break}Gd+=Fd}for(qd=0;++kd<=Od;){if(Fd=md.charAt(kd),Fd!==ud){kd--;break}Gd+=Fd,qd++}if(!(qd>dd)&&!(!qd||!Nd&&md.charAt(kd+1)===ud)){for(Od=md.length+1,Ud="";++kd<Od;){if(Fd=md.charAt(kd),Fd!==ld&&Fd!==od){kd--;break}Ud+=Fd}if(!(!Nd&&Ud.length===0&&Fd&&Fd!==nd)){if(vd)return!0;for(Gd+=Ud,Ud="",jd="";++kd<Od&&(Fd=md.charAt(kd),!(!Fd||Fd===nd));){if(Fd!==ld&&Fd!==od&&Fd!==ud){jd+=Ud+Fd,Ud="";continue}for(;Fd===ld||Fd===od;)Ud+=Fd,Fd=md.charAt(++kd);if(!Nd&&jd&&!Ud&&Fd===ud){jd+=Fd;continue}for(;Fd===ud;)Ud+=Fd,Fd=md.charAt(++kd);for(;Fd===ld||Fd===od;)Ud+=Fd,Fd=md.charAt(++kd);kd--}return Ld.column+=Gd.length,Ld.offset+=Gd.length,Gd+=jd+Ud,fd(Gd)({type:"heading",depth:qd,children:Ad.tokenizeInline(jd,Ld)})}}}}),Ba=C$3((Ra,qa)=>{qa.exports=md;var nd=" ",od=`
`,ld=" ",ud="*",dd="-",pd="_",fd=3;function md(vd,Ad,Nd){for(var Od=-1,kd=Ad.length+1,Ld="",Gd,jd,Fd,Ud;++Od<kd&&(Gd=Ad.charAt(Od),!(Gd!==nd&&Gd!==ld));)Ld+=Gd;if(!(Gd!==ud&&Gd!==dd&&Gd!==pd))for(jd=Gd,Ld+=Gd,Fd=1,Ud="";++Od<kd;)if(Gd=Ad.charAt(Od),Gd===jd)Fd++,Ld+=Ud+jd,Ud="";else if(Gd===ld)Ud+=Gd;else return Fd>=fd&&(!Gd||Gd===od)?(Ld+=Ud,Nd?!0:vd(Ld)({type:"thematicBreak"})):void 0}}),$t$3=C$3((Ra,qa)=>{qa.exports=dd;var nd=" ",od=" ",ld=1,ud=4;function dd(pd){for(var fd=0,md=0,vd=pd.charAt(fd),Ad={},Nd,Od=0;vd===nd||vd===od;){for(Nd=vd===nd?ud:ld,md+=Nd,Nd>1&&(md=Math.floor(md/Nd)*Nd);Od<md;)Ad[++Od]=fd;vd=pd.charAt(++fd)}return{indent:md,stops:Ad}}}),Oa$1=C$3((Ra,qa)=>{var nd=Re$5(),od=Hr$2(),ld=$t$3();qa.exports=fd;var ud=`
`,dd=" ",pd="!";function fd(md,vd){var Ad=md.split(ud),Nd=Ad.length+1,Od=1/0,kd=[],Ld,Gd,jd;for(Ad.unshift(od(dd,vd)+pd);Nd--;)if(Gd=ld(Ad[Nd]),kd[Nd]=Gd.stops,nd(Ad[Nd]).length!==0)if(Gd.indent)Gd.indent>0&&Gd.indent<Od&&(Od=Gd.indent);else{Od=1/0;break}if(Od!==1/0)for(Nd=Ad.length;Nd--;){for(jd=kd[Nd],Ld=Od;Ld&&!(Ld in jd);)Ld--;Ad[Nd]=Ad[Nd].slice(jd[Ld]+1)}return Ad.shift(),Ad.join(ud)}}),Ua$1=C$3((Ra,qa)=>{var nd=Re$5(),od=Hr$2(),ld=Ne$3(),ud=$t$3(),dd=Oa$1(),pd=Kr$2();qa.exports=_f;var fd="*",md="_",vd="+",Ad="-",Nd=".",Od=" ",kd=`
`,Ld=" ",Gd=")",jd="x",Fd=4,Ud=/\n\n(?!\s*$)/,qd=/^\[([ X\tx])][ \t]/,zd=/^([ \t]*)([*+-]|\d+[.)])( {1,4}(?! )| |\t|$|(?=\n))([^\n]*)/,Wd=/^([ \t]*)([*+-]|\d+[.)])([ \t]+)/,Jd=/^( {1,4}|\t)?/gm;function _f(Sf,Tf,Af){for(var Ef=this,Nf=Ef.options.commonmark,If=Ef.options.pedantic,Gf=Ef.blockTokenizers,Qf=Ef.interruptList,Xf=0,ph=Tf.length,qf=null,Lf,Wf,Jf,Kf,Cf,xf,Yf,dh,Rh,th,Bf,Sh,Fh,uh,Pf,Uf,Zf,mh,Mh,_h=!1,pm,Jh,Mm,Im;Xf<ph&&(Kf=Tf.charAt(Xf),!(Kf!==Ld&&Kf!==Od));)Xf++;if(Kf=Tf.charAt(Xf),Kf===fd||Kf===vd||Kf===Ad)Cf=Kf,Jf=!1;else{for(Jf=!0,Wf="";Xf<ph&&(Kf=Tf.charAt(Xf),!!ld(Kf));)Wf+=Kf,Xf++;if(Kf=Tf.charAt(Xf),!Wf||!(Kf===Nd||Nf&&Kf===Gd)||Af&&Wf!=="1")return;qf=parseInt(Wf,10),Cf=Kf}if(Kf=Tf.charAt(++Xf),!(Kf!==Od&&Kf!==Ld&&(If||Kf!==kd&&Kf!==""))){if(Af)return!0;for(Xf=0,uh=[],Pf=[],Uf=[];Xf<ph;){for(xf=Tf.indexOf(kd,Xf),Yf=Xf,dh=!1,Im=!1,xf===-1&&(xf=ph),Lf=0;Xf<ph;){if(Kf=Tf.charAt(Xf),Kf===Ld)Lf+=Fd-Lf%Fd;else if(Kf===Od)Lf++;else break;Xf++}if(Zf&&Lf>=Zf.indent&&(Im=!0),Kf=Tf.charAt(Xf),Rh=null,!Im){if(Kf===fd||Kf===vd||Kf===Ad)Rh=Kf,Xf++,Lf++;else{for(Wf="";Xf<ph&&(Kf=Tf.charAt(Xf),!!ld(Kf));)Wf+=Kf,Xf++;Kf=Tf.charAt(Xf),Xf++,Wf&&(Kf===Nd||Nf&&Kf===Gd)&&(Rh=Kf,Lf+=Wf.length+1)}if(Rh)if(Kf=Tf.charAt(Xf),Kf===Ld)Lf+=Fd-Lf%Fd,Xf++;else if(Kf===Od){for(Mm=Xf+Fd;Xf<Mm&&Tf.charAt(Xf)===Od;)Xf++,Lf++;Xf===Mm&&Tf.charAt(Xf)===Od&&(Xf-=Fd-1,Lf-=Fd-1)}else Kf!==kd&&Kf!==""&&(Rh=null)}if(Rh){if(!If&&Cf!==Rh)break;dh=!0}else!Nf&&!Im&&Tf.charAt(Yf)===Od?Im=!0:Nf&&Zf&&(Im=Lf>=Zf.indent||Lf>Fd),dh=!1,Xf=Yf;if(Bf=Tf.slice(Yf,xf),th=Yf===Xf?Bf:Tf.slice(Xf,xf),(Rh===fd||Rh===md||Rh===Ad)&&Gf.thematicBreak.call(Ef,Sf,Bf,!0))break;if(Sh=Fh,Fh=!dh&&!nd(th).length,Im&&Zf)Zf.value=Zf.value.concat(Uf,Bf),Pf=Pf.concat(Uf,Bf),Uf=[];else if(dh)Uf.length!==0&&(_h=!0,Zf.value.push(""),Zf.trail=Uf.concat()),Zf={value:[Bf],indent:Lf,trail:[]},uh.push(Zf),Pf=Pf.concat(Uf,Bf),Uf=[];else if(Fh){if(Sh&&!Nf)break;Uf.push(Bf)}else{if(Sh||pd(Qf,Gf,Ef,[Sf,Bf,!0]))break;Zf.value=Zf.value.concat(Uf,Bf),Pf=Pf.concat(Uf,Bf),Uf=[]}Xf=xf+1}for(pm=Sf(Pf.join(kd)).reset({type:"list",ordered:Jf,start:qf,spread:_h,children:[]}),mh=Ef.enterList(),Mh=Ef.enterBlock(),Xf=-1,ph=uh.length;++Xf<ph;)Zf=uh[Xf].value.join(kd),Jh=Sf.now(),Sf(Zf)(Xd(Ef,Zf,Jh),pm),Zf=uh[Xf].trail.join(kd),Xf!==ph-1&&(Zf+=kd),Sf(Zf);return mh(),Mh(),pm}}function Xd(Sf,Tf,Af){var Ef=Sf.offset,Nf=Sf.options.pedantic?pf:mf,If=null,Gf,Qf;return Tf=Nf.apply(null,arguments),Sf.options.gfm&&(Gf=Tf.match(qd),Gf&&(Qf=Gf[0].length,If=Gf[1].toLowerCase()===jd,Ef[Af.line]+=Qf,Tf=Tf.slice(Qf))),{type:"listItem",spread:Ud.test(Tf),checked:If,children:Sf.tokenizeBlock(Tf,Af)}}function pf(Sf,Tf,Af){var Ef=Sf.offset,Nf=Af.line;return Tf=Tf.replace(Wd,If),Nf=Af.line,Tf.replace(Jd,If);function If(Gf){return Ef[Nf]=(Ef[Nf]||0)+Gf.length,Nf++,""}}function mf(Sf,Tf,Af){var Ef=Sf.offset,Nf=Af.line,If,Gf,Qf,Xf,ph,qf,Lf;for(Tf=Tf.replace(zd,Wf),Xf=Tf.split(kd),ph=dd(Tf,ud(If).indent).split(kd),ph[0]=Qf,Ef[Nf]=(Ef[Nf]||0)+Gf.length,Nf++,qf=0,Lf=Xf.length;++qf<Lf;)Ef[Nf]=(Ef[Nf]||0)+Xf[qf].length-ph[qf].length,Nf++;return ph.join(kd);function Wf(Jf,Kf,Cf,xf,Yf){return Gf=Kf+Cf+xf,Qf=Yf,Number(Cf)<10&&Gf.length%2===1&&(Cf=Od+Cf),If=Kf+od(Od,Cf.length)+xf,If+Qf}}}),Ga=C$3((Ra,qa)=>{qa.exports=vd;var nd=`
`,od=" ",ld=" ",ud="=",dd="-",pd=3,fd=1,md=2;function vd(Ad,Nd,Od){for(var kd=this,Ld=Ad.now(),Gd=Nd.length,jd=-1,Fd="",Ud,qd,zd,Wd,Jd;++jd<Gd;){if(zd=Nd.charAt(jd),zd!==ld||jd>=pd){jd--;break}Fd+=zd}for(Ud="",qd="";++jd<Gd;){if(zd=Nd.charAt(jd),zd===nd){jd--;break}zd===ld||zd===od?qd+=zd:(Ud+=qd+zd,qd="")}if(Ld.column+=Fd.length,Ld.offset+=Fd.length,Fd+=Ud+qd,zd=Nd.charAt(++jd),Wd=Nd.charAt(++jd),!(zd!==nd||Wd!==ud&&Wd!==dd)){for(Fd+=zd,qd=Wd,Jd=Wd===ud?fd:md;++jd<Gd;){if(zd=Nd.charAt(jd),zd!==Wd){if(zd!==nd)return;jd--;break}qd+=zd}return Od?!0:Ad(Fd+qd)({type:"heading",depth:Jd,children:kd.tokenizeInline(Ud,Ld)})}}}),Xt$2=C$3(Ra=>{var qa="[a-zA-Z_:][a-zA-Z0-9:._-]*",nd="[^\"'=<>`\\u0000-\\u0020]+",od="'[^']*'",ld='"[^"]*"',ud="(?:"+nd+"|"+od+"|"+ld+")",dd="(?:\\s+"+qa+"(?:\\s*=\\s*"+ud+")?)",pd="<[A-Za-z][A-Za-z0-9\\-]*"+dd+"*\\s*\\/?>",fd="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",md="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",vd="<[?].*?[?]>",Ad="<![A-Za-z]+\\s+[^>]*>",Nd="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>";Ra.openCloseTag=new RegExp("^(?:"+pd+"|"+fd+")"),Ra.tag=new RegExp("^(?:"+pd+"|"+fd+"|"+md+"|"+vd+"|"+Ad+"|"+Nd+")")}),Ka=C$3((Ra,qa)=>{var nd=Xt$2().openCloseTag;qa.exports=Ud;var od=" ",ld=" ",ud=`
`,dd="<",pd=/^<(script|pre|style)(?=(\s|>|$))/i,fd=/<\/(script|pre|style)>/i,md=/^<!--/,vd=/-->/,Ad=/^<\?/,Nd=/\?>/,Od=/^<![A-Za-z]/,kd=/>/,Ld=/^<!\[CDATA\[/,Gd=/]]>/,jd=/^$/,Fd=new RegExp(nd.source+"\\s*$");function Ud(qd,zd,Wd){for(var Jd=this,_f=Jd.options.blocks.join("|"),Xd=new RegExp("^</?("+_f+")(?=(\\s|/?>|$))","i"),pf=zd.length,mf=0,Sf,Tf,Af,Ef,Nf,If,Gf,Qf=[[pd,fd,!0],[md,vd,!0],[Ad,Nd,!0],[Od,kd,!0],[Ld,Gd,!0],[Xd,jd,!0],[Fd,jd,!1]];mf<pf&&(Ef=zd.charAt(mf),!(Ef!==od&&Ef!==ld));)mf++;if(zd.charAt(mf)===dd){for(Sf=zd.indexOf(ud,mf+1),Sf=Sf===-1?pf:Sf,Tf=zd.slice(mf,Sf),Af=-1,Nf=Qf.length;++Af<Nf;)if(Qf[Af][0].test(Tf)){If=Qf[Af];break}if(If){if(Wd)return If[2];if(mf=Sf,!If[1].test(Tf))for(;mf<pf;){if(Sf=zd.indexOf(ud,mf+1),Sf=Sf===-1?pf:Sf,Tf=zd.slice(mf+1,Sf),If[1].test(Tf)){Tf&&(mf=Sf);break}mf=Sf}return Gf=zd.slice(0,mf),qd(Gf)({type:"html",value:Gf})}}}}),ue$4=C$3((Ra,qa)=>{qa.exports=ld;var nd=String.fromCharCode,od=/\s/;function ld(ud){return od.test(typeof ud=="number"?nd(ud):ud.charAt(0))}}),Qt$2=C$3((Ra,qa)=>{var nd=xr$1();qa.exports=od;function od(ld){return nd(ld).toLowerCase()}}),io$1=C$3((Ra,qa)=>{var nd=ue$4(),od=Qt$2();qa.exports=jd;var ld='"',ud="'",dd="\\",pd=`
`,fd=" ",md=" ",vd="[",Ad="]",Nd="(",Od=")",kd=":",Ld="<",Gd=">";function jd(qd,zd,Wd){for(var Jd=this,_f=Jd.options.commonmark,Xd=0,pf=zd.length,mf="",Sf,Tf,Af,Ef,Nf,If,Gf,Qf;Xd<pf&&(Ef=zd.charAt(Xd),!(Ef!==md&&Ef!==fd));)mf+=Ef,Xd++;if(Ef=zd.charAt(Xd),Ef===vd){for(Xd++,mf+=Ef,Af="";Xd<pf&&(Ef=zd.charAt(Xd),Ef!==Ad);)Ef===dd&&(Af+=Ef,Xd++,Ef=zd.charAt(Xd)),Af+=Ef,Xd++;if(!(!Af||zd.charAt(Xd)!==Ad||zd.charAt(Xd+1)!==kd)){for(If=Af,mf+=Af+Ad+kd,Xd=mf.length,Af="";Xd<pf&&(Ef=zd.charAt(Xd),!(Ef!==fd&&Ef!==md&&Ef!==pd));)mf+=Ef,Xd++;if(Ef=zd.charAt(Xd),Af="",Sf=mf,Ef===Ld){for(Xd++;Xd<pf&&(Ef=zd.charAt(Xd),!!Fd(Ef));)Af+=Ef,Xd++;if(Ef=zd.charAt(Xd),Ef===Fd.delimiter)mf+=Ld+Af+Ef,Xd++;else{if(_f)return;Xd-=Af.length+1,Af=""}}if(!Af){for(;Xd<pf&&(Ef=zd.charAt(Xd),!!Ud(Ef));)Af+=Ef,Xd++;mf+=Af}if(Af){for(Gf=Af,Af="";Xd<pf&&(Ef=zd.charAt(Xd),!(Ef!==fd&&Ef!==md&&Ef!==pd));)Af+=Ef,Xd++;if(Ef=zd.charAt(Xd),Nf=null,Ef===ld?Nf=ld:Ef===ud?Nf=ud:Ef===Nd&&(Nf=Od),!Nf)Af="",Xd=mf.length;else if(Af){for(mf+=Af+Ef,Xd=mf.length,Af="";Xd<pf&&(Ef=zd.charAt(Xd),Ef!==Nf);){if(Ef===pd){if(Xd++,Ef=zd.charAt(Xd),Ef===pd||Ef===Nf)return;Af+=pd}Af+=Ef,Xd++}if(Ef=zd.charAt(Xd),Ef!==Nf)return;Tf=mf,mf+=Af+Ef,Xd++,Qf=Af,Af=""}else return;for(;Xd<pf&&(Ef=zd.charAt(Xd),!(Ef!==fd&&Ef!==md));)mf+=Ef,Xd++;if(Ef=zd.charAt(Xd),!Ef||Ef===pd)return Wd?!0:(Sf=qd(Sf).test().end,Gf=Jd.decode.raw(Jd.unescape(Gf),Sf,{nonTerminated:!1}),Qf&&(Tf=qd(Tf).test().end,Qf=Jd.decode.raw(Jd.unescape(Qf),Tf)),qd(mf)({type:"definition",identifier:od(If),label:If,title:Qf||null,url:Gf}))}}}}function Fd(qd){return qd!==Gd&&qd!==vd&&qd!==Ad}Fd.delimiter=Gd;function Ud(qd){return qd!==vd&&qd!==Ad&&!nd(qd)}}),oo$2=C$3((Ra,qa)=>{var nd=ue$4();qa.exports=Ld;var od=" ",ld=`
`,ud=" ",dd="-",pd=":",fd="\\",md="|",vd=1,Ad=2,Nd="left",Od="center",kd="right";function Ld(Gd,jd,Fd){var Ud=this,qd,zd,Wd,Jd,_f,Xd,pf,mf,Sf,Tf,Af,Ef,Nf,If,Gf,Qf,Xf,ph,qf,Lf,Wf,Jf;if(Ud.options.gfm){for(qd=0,Qf=0,Xd=jd.length+1,pf=[];qd<Xd;){if(Lf=jd.indexOf(ld,qd),Wf=jd.indexOf(md,qd+1),Lf===-1&&(Lf=jd.length),Wf===-1||Wf>Lf){if(Qf<Ad)return;break}pf.push(jd.slice(qd,Lf)),Qf++,qd=Lf+1}for(Jd=pf.join(ld),zd=pf.splice(1,1)[0]||[],qd=0,Xd=zd.length,Qf--,Wd=!1,Af=[];qd<Xd;){if(Sf=zd.charAt(qd),Sf===md){if(Tf=null,Wd===!1){if(Jf===!1)return}else Af.push(Wd),Wd=!1;Jf=!1}else if(Sf===dd)Tf=!0,Wd=Wd||null;else if(Sf===pd)Wd===Nd?Wd=Od:Tf&&Wd===null?Wd=kd:Wd=Nd;else if(!nd(Sf))return;qd++}if(Wd!==!1&&Af.push(Wd),!(Af.length<vd)){if(Fd)return!0;for(Gf=-1,ph=[],qf=Gd(Jd).reset({type:"table",align:Af,children:ph});++Gf<Qf;){for(Xf=pf[Gf],_f={type:"tableRow",children:[]},Gf&&Gd(ld),Gd(Xf).reset(_f,qf),Xd=Xf.length+1,qd=0,mf="",Ef="",Nf=!0;qd<Xd;){if(Sf=Xf.charAt(qd),Sf===od||Sf===ud){Ef?mf+=Sf:Gd(Sf),qd++;continue}Sf===""||Sf===md?Nf?Gd(Sf):((Ef||Sf)&&!Nf&&(Jd=Ef,mf.length>1&&(Sf?(Jd+=mf.slice(0,-1),mf=mf.charAt(mf.length-1)):(Jd+=mf,mf="")),If=Gd.now(),Gd(Jd)({type:"tableCell",children:Ud.tokenizeInline(Ef,If)},_f)),Gd(mf+Sf),mf="",Ef=""):(mf&&(Ef+=mf,mf=""),Ef+=Sf,Sf===fd&&qd!==Xd-2&&(Ef+=Xf.charAt(qd+1),qd++)),Nf=!1,qd++}Gf||Gd(ld+zd)}return qf}}}}),lo$1=C$3((Ra,qa)=>{var nd=Re$5(),od=Mt$3(),ld=Kr$2();qa.exports=md;var ud=" ",dd=`
`,pd=" ",fd=4;function md(vd,Ad,Nd){for(var Od=this,kd=Od.options,Ld=kd.commonmark,Gd=Od.blockTokenizers,jd=Od.interruptParagraph,Fd=Ad.indexOf(dd),Ud=Ad.length,qd,zd,Wd,Jd,_f;Fd<Ud;){if(Fd===-1){Fd=Ud;break}if(Ad.charAt(Fd+1)===dd)break;if(Ld){for(Jd=0,qd=Fd+1;qd<Ud;){if(Wd=Ad.charAt(qd),Wd===ud){Jd=fd;break}else if(Wd===pd)Jd++;else break;qd++}if(Jd>=fd&&Wd!==dd){Fd=Ad.indexOf(dd,Fd+1);continue}}if(zd=Ad.slice(Fd+1),ld(jd,Gd,Od,[vd,zd,!0]))break;if(qd=Fd,Fd=Ad.indexOf(dd,Fd+1),Fd!==-1&&nd(Ad.slice(qd,Fd))===""){Fd=qd;break}}return zd=Ad.slice(0,Fd),Nd?!0:(_f=vd.now(),zd=od(zd),vd(zd)({type:"paragraph",children:Od.tokenizeInline(zd,_f)}))}}),Do$1=C$3((Ra,qa)=>{qa.exports=nd;function nd(od,ld){return od.indexOf("\\",ld)}}),Fo$1=C$3((Ra,qa)=>{var nd=Do$1();qa.exports=ud,ud.locator=nd;var od=`
`,ld="\\";function ud(dd,pd,fd){var md=this,vd,Ad;if(pd.charAt(0)===ld&&(vd=pd.charAt(1),md.escape.indexOf(vd)!==-1))return fd?!0:(vd===od?Ad={type:"break"}:Ad={type:"text",value:vd},dd(ld+vd)(Ad))}}),tn$2=C$3((Ra,qa)=>{qa.exports=nd;function nd(od,ld){return od.indexOf("<",ld)}}),yo$1=C$3((Ra,qa)=>{var nd=ue$4(),od=pr$1(),ld=tn$2();qa.exports=Ad,Ad.locator=ld,Ad.notInLink=!0;var ud="<",dd=">",pd="@",fd="/",md="mailto:",vd=md.length;function Ad(Nd,Od,kd){var Ld=this,Gd="",jd=Od.length,Fd=0,Ud="",qd=!1,zd="",Wd,Jd,_f,Xd,pf;if(Od.charAt(0)===ud){for(Fd++,Gd=ud;Fd<jd&&(Wd=Od.charAt(Fd),!(nd(Wd)||Wd===dd||Wd===pd||Wd===":"&&Od.charAt(Fd+1)===fd));)Ud+=Wd,Fd++;if(Ud){if(zd+=Ud,Ud="",Wd=Od.charAt(Fd),zd+=Wd,Fd++,Wd===pd)qd=!0;else{if(Wd!==":"||Od.charAt(Fd+1)!==fd)return;zd+=fd,Fd++}for(;Fd<jd&&(Wd=Od.charAt(Fd),!(nd(Wd)||Wd===dd));)Ud+=Wd,Fd++;if(Wd=Od.charAt(Fd),!(!Ud||Wd!==dd))return kd?!0:(zd+=Ud,_f=zd,Gd+=zd+Wd,Jd=Nd.now(),Jd.column++,Jd.offset++,qd&&(zd.slice(0,vd).toLowerCase()===md?(_f=_f.slice(vd),Jd.column+=vd,Jd.offset+=vd):zd=md+zd),Xd=Ld.inlineTokenizers,Ld.inlineTokenizers={text:Xd.text},pf=Ld.enterLink(),_f=Ld.tokenizeInline(_f,Jd),Ld.inlineTokenizers=Xd,pf(),Nd(Gd)({type:"link",title:null,url:od(zd,{nonTerminated:!1}),children:_f}))}}}}),xo$2=C$3((Ra,qa)=>{qa.exports=nd;function nd(od,ld){var ud=String(od),dd=0,pd;if(typeof ld!="string")throw new Error("Expected character");for(pd=ud.indexOf(ld);pd!==-1;)dd++,pd=ud.indexOf(ld,pd+ld.length);return dd}}),Bo$1=C$3((Ra,qa)=>{qa.exports=od;var nd=["www.","http://","https://"];function od(ld,ud){var dd=-1,pd,fd,md;if(!this.options.gfm)return dd;for(fd=nd.length,pd=-1;++pd<fd;)md=ld.indexOf(nd[pd],ud),md!==-1&&(dd===-1||md<dd)&&(dd=md);return dd}}),Oo=C$3((Ra,qa)=>{var nd=xo$2(),od=pr$1(),ld=Ne$3(),ud=Ve$3(),dd=ue$4(),pd=Bo$1();qa.exports=Jd,Jd.locator=pd,Jd.notInLink=!0;var fd=33,md=38,vd=41,Ad=42,Nd=44,Od=45,kd=46,Ld=58,Gd=59,jd=63,Fd=60,Ud=95,qd=126,zd="(",Wd=")";function Jd(_f,Xd,pf){var mf=this,Sf=mf.options.gfm,Tf=mf.inlineTokenizers,Af=Xd.length,Ef=-1,Nf=!1,If,Gf,Qf,Xf,ph,qf,Lf,Wf,Jf,Kf,Cf,xf,Yf,dh;if(Sf){if(Xd.slice(0,4)==="www.")Nf=!0,Xf=4;else if(Xd.slice(0,7).toLowerCase()==="http://")Xf=7;else if(Xd.slice(0,8).toLowerCase()==="https://")Xf=8;else return;for(Ef=Xf-1,Qf=Xf,If=[];Xf<Af;){if(Lf=Xd.charCodeAt(Xf),Lf===kd){if(Ef===Xf-1)break;If.push(Xf),Ef=Xf,Xf++;continue}if(ld(Lf)||ud(Lf)||Lf===Od||Lf===Ud){Xf++;continue}break}if(Lf===kd&&(If.pop(),Xf--),If[0]!==void 0&&(Gf=If.length<2?Qf:If[If.length-2]+1,Xd.slice(Gf,Xf).indexOf("_")===-1)){if(pf)return!0;for(Wf=Xf,ph=Xf;Xf<Af&&(Lf=Xd.charCodeAt(Xf),!(dd(Lf)||Lf===Fd));)Xf++,Lf===fd||Lf===Ad||Lf===Nd||Lf===kd||Lf===Ld||Lf===jd||Lf===Ud||Lf===qd||(Wf=Xf);if(Xf=Wf,Xd.charCodeAt(Xf-1)===vd)for(qf=Xd.slice(ph,Xf),Jf=nd(qf,zd),Kf=nd(qf,Wd);Kf>Jf;)Xf=ph+qf.lastIndexOf(Wd),qf=Xd.slice(ph,Xf),Kf--;if(Xd.charCodeAt(Xf-1)===Gd&&(Xf--,ud(Xd.charCodeAt(Xf-1)))){for(Wf=Xf-2;ud(Xd.charCodeAt(Wf));)Wf--;Xd.charCodeAt(Wf)===md&&(Xf=Wf)}return Cf=Xd.slice(0,Xf),Yf=od(Cf,{nonTerminated:!1}),Nf&&(Yf="http://"+Yf),dh=mf.enterLink(),mf.inlineTokenizers={text:Tf.text},xf=mf.tokenizeInline(Cf,_f.now()),mf.inlineTokenizers=Tf,dh(),_f(Cf)({type:"link",title:null,url:Yf,children:xf})}}}}),No=C$3((Ra,qa)=>{var nd=Ne$3(),od=Ve$3(),ld=43,ud=45,dd=46,pd=95;qa.exports=fd;function fd(vd,Ad){var Nd=this,Od,kd;if(!this.options.gfm||(Od=vd.indexOf("@",Ad),Od===-1))return-1;if(kd=Od,kd===Ad||!md(vd.charCodeAt(kd-1)))return fd.call(Nd,vd,Od+1);for(;kd>Ad&&md(vd.charCodeAt(kd-1));)kd--;return kd}function md(vd){return nd(vd)||od(vd)||vd===ld||vd===ud||vd===dd||vd===pd}}),Mo$2=C$3((Ra,qa)=>{var nd=pr$1(),od=Ne$3(),ld=Ve$3(),ud=No();qa.exports=Ad,Ad.locator=ud,Ad.notInLink=!0;var dd=43,pd=45,fd=46,md=64,vd=95;function Ad(Nd,Od,kd){var Ld=this,Gd=Ld.options.gfm,jd=Ld.inlineTokenizers,Fd=0,Ud=Od.length,qd=-1,zd,Wd,Jd,_f;if(Gd){for(zd=Od.charCodeAt(Fd);od(zd)||ld(zd)||zd===dd||zd===pd||zd===fd||zd===vd;)zd=Od.charCodeAt(++Fd);if(Fd!==0&&zd===md){for(Fd++;Fd<Ud;){if(zd=Od.charCodeAt(Fd),od(zd)||ld(zd)||zd===pd||zd===fd||zd===vd){Fd++,qd===-1&&zd===fd&&(qd=Fd);continue}break}if(!(qd===-1||qd===Fd||zd===pd||zd===vd))return zd===fd&&Fd--,Wd=Od.slice(0,Fd),kd?!0:(_f=Ld.enterLink(),Ld.inlineTokenizers={text:jd.text},Jd=Ld.tokenizeInline(Wd,Nd.now()),Ld.inlineTokenizers=jd,_f(),Nd(Wd)({type:"link",title:null,url:"mailto:"+nd(Wd,{nonTerminated:!1}),children:Jd}))}}}}),Vo$1=C$3((Ra,qa)=>{var nd=Ve$3(),od=tn$2(),ld=Xt$2().tag;qa.exports=Ad,Ad.locator=od;var ud="<",dd="?",pd="!",fd="/",md=/^<a /i,vd=/^<\/a>/i;function Ad(Nd,Od,kd){var Ld=this,Gd=Od.length,jd,Fd;if(!(Od.charAt(0)!==ud||Gd<3)&&(jd=Od.charAt(1),!(!nd(jd)&&jd!==dd&&jd!==pd&&jd!==fd)&&(Fd=Od.match(ld),!!Fd)))return kd?!0:(Fd=Fd[0],!Ld.inLink&&md.test(Fd)?Ld.inLink=!0:Ld.inLink&&vd.test(Fd)&&(Ld.inLink=!1),Nd(Fd)({type:"html",value:Fd}))}}),dn$3=C$3((Ra,qa)=>{qa.exports=nd;function nd(od,ld){var ud=od.indexOf("[",ld),dd=od.indexOf("![",ld);return dd===-1||ud<dd?ud:dd}}),Qo$1=C$3((Ra,qa)=>{var nd=ue$4(),od=dn$3();qa.exports=Gd,Gd.locator=od;var ld=`
`,ud="!",dd='"',pd="'",fd="(",md=")",vd="<",Ad=">",Nd="[",Od="\\",kd="]",Ld="`";function Gd(jd,Fd,Ud){var qd=this,zd="",Wd=0,Jd=Fd.charAt(0),_f=qd.options.pedantic,Xd=qd.options.commonmark,pf=qd.options.gfm,mf,Sf,Tf,Af,Ef,Nf,If,Gf,Qf,Xf,ph,qf,Lf,Wf,Jf,Kf,Cf,xf;if(Jd===ud&&(Gf=!0,zd=Jd,Jd=Fd.charAt(++Wd)),Jd===Nd&&!(!Gf&&qd.inLink)){for(zd+=Jd,Wf="",Wd++,ph=Fd.length,Kf=jd.now(),Lf=0,Kf.column+=Wd,Kf.offset+=Wd;Wd<ph;){if(Jd=Fd.charAt(Wd),Nf=Jd,Jd===Ld){for(Sf=1;Fd.charAt(Wd+1)===Ld;)Nf+=Jd,Wd++,Sf++;Tf?Sf>=Tf&&(Tf=0):Tf=Sf}else if(Jd===Od)Wd++,Nf+=Fd.charAt(Wd);else if((!Tf||pf)&&Jd===Nd)Lf++;else if((!Tf||pf)&&Jd===kd)if(Lf)Lf--;else{if(Fd.charAt(Wd+1)!==fd)return;Nf+=fd,mf=!0,Wd++;break}Wf+=Nf,Nf="",Wd++}if(mf){for(Qf=Wf,zd+=Wf+Nf,Wd++;Wd<ph&&(Jd=Fd.charAt(Wd),!!nd(Jd));)zd+=Jd,Wd++;if(Jd=Fd.charAt(Wd),Wf="",Af=zd,Jd===vd){for(Wd++,Af+=vd;Wd<ph&&(Jd=Fd.charAt(Wd),Jd!==Ad);){if(Xd&&Jd===ld)return;Wf+=Jd,Wd++}if(Fd.charAt(Wd)!==Ad)return;zd+=vd+Wf+Ad,Jf=Wf,Wd++}else{for(Jd=null,Nf="";Wd<ph&&(Jd=Fd.charAt(Wd),!(Nf&&(Jd===dd||Jd===pd||Xd&&Jd===fd)));){if(nd(Jd)){if(!_f)break;Nf+=Jd}else{if(Jd===fd)Lf++;else if(Jd===md){if(Lf===0)break;Lf--}Wf+=Nf,Nf="",Jd===Od&&(Wf+=Od,Jd=Fd.charAt(++Wd)),Wf+=Jd}Wd++}zd+=Wf,Jf=Wf,Wd=zd.length}for(Wf="";Wd<ph&&(Jd=Fd.charAt(Wd),!!nd(Jd));)Wf+=Jd,Wd++;if(Jd=Fd.charAt(Wd),zd+=Wf,Wf&&(Jd===dd||Jd===pd||Xd&&Jd===fd))if(Wd++,zd+=Jd,Wf="",Xf=Jd===fd?md:Jd,Ef=zd,Xd){for(;Wd<ph&&(Jd=Fd.charAt(Wd),Jd!==Xf);)Jd===Od&&(Wf+=Od,Jd=Fd.charAt(++Wd)),Wd++,Wf+=Jd;if(Jd=Fd.charAt(Wd),Jd!==Xf)return;for(qf=Wf,zd+=Wf+Jd,Wd++;Wd<ph&&(Jd=Fd.charAt(Wd),!!nd(Jd));)zd+=Jd,Wd++}else for(Nf="";Wd<ph;){if(Jd=Fd.charAt(Wd),Jd===Xf)If&&(Wf+=Xf+Nf,Nf=""),If=!0;else if(!If)Wf+=Jd;else if(Jd===md){zd+=Wf+Xf+Nf,qf=Wf;break}else nd(Jd)?Nf+=Jd:(Wf+=Xf+Nf+Jd,Nf="",If=!1);Wd++}if(Fd.charAt(Wd)===md)return Ud?!0:(zd+=md,Jf=qd.decode.raw(qd.unescape(Jf),jd(Af).test().end,{nonTerminated:!1}),qf&&(Ef=jd(Ef).test().end,qf=qd.decode.raw(qd.unescape(qf),Ef)),xf={type:Gf?"image":"link",title:qf||null,url:Jf},Gf?xf.alt=qd.decode.raw(qd.unescape(Qf),Kf)||null:(Cf=qd.enterLink(),xf.children=qd.tokenizeInline(Qf,Kf),Cf()),jd(zd)(xf))}}}}),rs=C$3((Ra,qa)=>{var nd=ue$4(),od=dn$3(),ld=Qt$2();qa.exports=kd,kd.locator=od;var ud="link",dd="image",pd="shortcut",fd="collapsed",md="full",vd="!",Ad="[",Nd="\\",Od="]";function kd(Ld,Gd,jd){var Fd=this,Ud=Fd.options.commonmark,qd=Gd.charAt(0),zd=0,Wd=Gd.length,Jd="",_f="",Xd=ud,pf=pd,mf,Sf,Tf,Af,Ef,Nf,If,Gf;if(qd===vd&&(Xd=dd,_f=qd,qd=Gd.charAt(++zd)),qd===Ad){for(zd++,_f+=qd,Nf="",Gf=0;zd<Wd;){if(qd=Gd.charAt(zd),qd===Ad)If=!0,Gf++;else if(qd===Od){if(!Gf)break;Gf--}qd===Nd&&(Nf+=Nd,qd=Gd.charAt(++zd)),Nf+=qd,zd++}if(Jd=Nf,mf=Nf,qd=Gd.charAt(zd),qd===Od){if(zd++,Jd+=qd,Nf="",!Ud)for(;zd<Wd&&(qd=Gd.charAt(zd),!!nd(qd));)Nf+=qd,zd++;if(qd=Gd.charAt(zd),qd===Ad){for(Sf="",Nf+=qd,zd++;zd<Wd&&(qd=Gd.charAt(zd),!(qd===Ad||qd===Od));)qd===Nd&&(Sf+=Nd,qd=Gd.charAt(++zd)),Sf+=qd,zd++;qd=Gd.charAt(zd),qd===Od?(pf=Sf?md:fd,Nf+=Sf+qd,zd++):Sf="",Jd+=Nf,Nf=""}else{if(!mf)return;Sf=mf}if(!(pf!==md&&If))return Jd=_f+Jd,Xd===ud&&Fd.inLink?null:jd?!0:(Tf=Ld.now(),Tf.column+=_f.length,Tf.offset+=_f.length,Sf=pf===md?Sf:mf,Af={type:Xd+"Reference",identifier:ld(Sf),label:Sf,referenceType:pf},Xd===ud?(Ef=Fd.enterLink(),Af.children=Fd.tokenizeInline(mf,Tf),Ef()):Af.alt=Fd.decode.raw(Fd.unescape(mf),Tf)||null,Ld(Jd)(Af))}}}}),ns=C$3((Ra,qa)=>{qa.exports=nd;function nd(od,ld){var ud=od.indexOf("**",ld),dd=od.indexOf("__",ld);return dd===-1?ud:ud===-1||dd<ud?dd:ud}}),os=C$3((Ra,qa)=>{var nd=Re$5(),od=ue$4(),ld=ns();qa.exports=fd,fd.locator=ld;var ud="\\",dd="*",pd="_";function fd(md,vd,Ad){var Nd=this,Od=0,kd=vd.charAt(Od),Ld,Gd,jd,Fd,Ud,qd,zd;if(!(kd!==dd&&kd!==pd||vd.charAt(++Od)!==kd)&&(Gd=Nd.options.pedantic,jd=kd,Ud=jd+jd,qd=vd.length,Od++,Fd="",kd="",!(Gd&&od(vd.charAt(Od)))))for(;Od<qd;){if(zd=kd,kd=vd.charAt(Od),kd===jd&&vd.charAt(Od+1)===jd&&(!Gd||!od(zd))&&(kd=vd.charAt(Od+2),kd!==jd))return nd(Fd)?Ad?!0:(Ld=md.now(),Ld.column+=2,Ld.offset+=2,md(Ud+Fd+Ud)({type:"strong",children:Nd.tokenizeInline(Fd,Ld)})):void 0;!Gd&&kd===ud&&(Fd+=kd,kd=vd.charAt(++Od)),Fd+=kd,Od++}}}),cs$2=C$3((Ra,qa)=>{qa.exports=ld;var nd=String.fromCharCode,od=/\w/;function ld(ud){return od.test(typeof ud=="number"?nd(ud):ud.charAt(0))}}),fs=C$3((Ra,qa)=>{qa.exports=nd;function nd(od,ld){var ud=od.indexOf("*",ld),dd=od.indexOf("_",ld);return dd===-1?ud:ud===-1||dd<ud?dd:ud}}),ms=C$3((Ra,qa)=>{var nd=Re$5(),od=cs$2(),ld=ue$4(),ud=fs();qa.exports=md,md.locator=ud;var dd="*",pd="_",fd="\\";function md(vd,Ad,Nd){var Od=this,kd=0,Ld=Ad.charAt(kd),Gd,jd,Fd,Ud,qd,zd,Wd;if(!(Ld!==dd&&Ld!==pd)&&(jd=Od.options.pedantic,qd=Ld,Fd=Ld,zd=Ad.length,kd++,Ud="",Ld="",!(jd&&ld(Ad.charAt(kd)))))for(;kd<zd;){if(Wd=Ld,Ld=Ad.charAt(kd),Ld===Fd&&(!jd||!ld(Wd))){if(Ld=Ad.charAt(++kd),Ld!==Fd){if(!nd(Ud)||Wd===Fd)return;if(!jd&&Fd===pd&&od(Ld)){Ud+=Fd;continue}return Nd?!0:(Gd=vd.now(),Gd.column++,Gd.offset++,vd(qd+Ud+Fd)({type:"emphasis",children:Od.tokenizeInline(Ud,Gd)}))}Ud+=Fd}!jd&&Ld===fd&&(Ud+=Ld,Ld=Ad.charAt(++kd)),Ud+=Ld,kd++}}}),gs$1=C$3((Ra,qa)=>{qa.exports=nd;function nd(od,ld){return od.indexOf("~~",ld)}}),ys=C$3((Ra,qa)=>{var nd=ue$4(),od=gs$1();qa.exports=dd,dd.locator=od;var ld="~",ud="~~";function dd(pd,fd,md){var vd=this,Ad="",Nd="",Od="",kd="",Ld,Gd,jd;if(!(!vd.options.gfm||fd.charAt(0)!==ld||fd.charAt(1)!==ld||nd(fd.charAt(2))))for(Ld=1,Gd=fd.length,jd=pd.now(),jd.column+=2,jd.offset+=2;++Ld<Gd;){if(Ad=fd.charAt(Ld),Ad===ld&&Nd===ld&&(!Od||!nd(Od)))return md?!0:pd(ud+kd+ud)({type:"delete",children:vd.tokenizeInline(kd,jd)});kd+=Nd,Od=Nd,Nd=Ad}}}),xs=C$3((Ra,qa)=>{qa.exports=nd;function nd(od,ld){return od.indexOf("`",ld)}}),Bs=C$3((Ra,qa)=>{var nd=xs();qa.exports=dd,dd.locator=nd;var od=10,ld=32,ud=96;function dd(pd,fd,md){for(var vd=fd.length,Ad=0,Nd,Od,kd,Ld,Gd,jd;Ad<vd&&fd.charCodeAt(Ad)===ud;)Ad++;if(!(Ad===0||Ad===vd)){for(Nd=Ad,Gd=fd.charCodeAt(Ad);Ad<vd;){if(Ld=Gd,Gd=fd.charCodeAt(Ad+1),Ld===ud){if(Od===void 0&&(Od=Ad),kd=Ad+1,Gd!==ud&&kd-Od===Nd){jd=!0;break}}else Od!==void 0&&(Od=void 0,kd=void 0);Ad++}if(jd){if(md)return!0;if(Ad=Nd,vd=Od,Ld=fd.charCodeAt(Ad),Gd=fd.charCodeAt(vd-1),jd=!1,vd-Ad>2&&(Ld===ld||Ld===od)&&(Gd===ld||Gd===od)){for(Ad++,vd--;Ad<vd;){if(Ld=fd.charCodeAt(Ad),Ld!==ld&&Ld!==od){jd=!0;break}Ad++}jd===!0&&(Nd++,Od--)}return pd(fd.slice(0,kd))({type:"inlineCode",value:fd.slice(Nd,Od)})}}}}),Ts=C$3((Ra,qa)=>{qa.exports=nd;function nd(od,ld){for(var ud=od.indexOf(`
`,ld);ud>ld&&od.charAt(ud-1)===" ";)ud--;return ud}}),Os$1=C$3((Ra,qa)=>{var nd=Ts();qa.exports=dd,dd.locator=nd;var od=" ",ld=`
`,ud=2;function dd(pd,fd,md){for(var vd=fd.length,Ad=-1,Nd="",Od;++Ad<vd;){if(Od=fd.charAt(Ad),Od===ld)return Ad<ud?void 0:md?!0:(Nd+=Od,pd(Nd)({type:"break"}));if(Od!==od)return;Nd+=Od}}}),Ls$1=C$3((Ra,qa)=>{qa.exports=nd;function nd(od,ld,ud){var dd=this,pd,fd,md,vd,Ad,Nd,Od,kd,Ld,Gd;if(ud)return!0;for(pd=dd.inlineMethods,vd=pd.length,fd=dd.inlineTokenizers,md=-1,Ld=ld.length;++md<vd;)kd=pd[md],!(kd==="text"||!fd[kd])&&(Od=fd[kd].locator,Od||od.file.fail("Missing locator: `"+kd+"`"),Nd=Od.call(dd,ld,1),Nd!==-1&&Nd<Ld&&(Ld=Nd));Ad=ld.slice(0,Ld),Gd=od.now(),dd.decode(Ad,Gd,jd);function jd(Fd,Ud,qd){od(qd||Fd)({type:"text",value:Fd})}}}),Us=C$3((Ra,qa)=>{var nd=Ie$3(),od=ru$1(),ld=nu$2(),ud=uu$2(),dd=Ou$1(),pd=Iu$1();qa.exports=fd;function fd(Ad,Nd){this.file=Nd,this.offset={},this.options=nd(this.options),this.setOptions({}),this.inList=!1,this.inBlock=!1,this.inLink=!1,this.atStart=!0,this.toOffset=ld(Nd).toOffset,this.unescape=ud(this,"escape"),this.decode=dd(this)}var md=fd.prototype;md.setOptions=Vu$2(),md.parse=aa$2(),md.options=Rt$3(),md.exitStart=od("atStart",!0),md.enterList=od("inList",!1),md.enterLink=od("inLink",!1),md.enterBlock=od("inBlock",!1),md.interruptParagraph=[["thematicBreak"],["list"],["atxHeading"],["fencedCode"],["blockquote"],["html"],["setextHeading",{commonmark:!1}],["definition",{commonmark:!1}]],md.interruptList=[["atxHeading",{pedantic:!1}],["fencedCode",{pedantic:!1}],["thematicBreak",{pedantic:!1}],["definition",{commonmark:!1}]],md.interruptBlockquote=[["indentedCode",{commonmark:!0}],["fencedCode",{commonmark:!0}],["atxHeading",{commonmark:!0}],["setextHeading",{commonmark:!0}],["thematicBreak",{commonmark:!0}],["html",{commonmark:!0}],["list",{commonmark:!0}],["definition",{commonmark:!1}]],md.blockTokenizers={blankLine:sa(),indentedCode:pa(),fencedCode:ma(),blockquote:ba$1(),atxHeading:xa$1(),thematicBreak:Ba(),list:Ua$1(),setextHeading:Ga(),html:Ka(),definition:io$1(),table:oo$2(),paragraph:lo$1()},md.inlineTokenizers={escape:Fo$1(),autoLink:yo$1(),url:Oo(),email:Mo$2(),html:Vo$1(),link:Qo$1(),reference:rs(),strong:os(),emphasis:ms(),deletion:ys(),code:Bs(),break:Os$1(),text:Ls$1()},md.blockMethods=vd(md.blockTokenizers),md.inlineMethods=vd(md.inlineTokenizers),md.tokenizeBlock=pd("block"),md.tokenizeInline=pd("inline"),md.tokenizeFactory=pd;function vd(Ad){var Nd=[],Od;for(Od in Ad)Nd.push(Od);return Nd}}),Gs=C$3((Ra,qa)=>{var nd=Zi(),od=Ie$3(),ld=Us();qa.exports=ud,ud.Parser=ld;function ud(dd){var pd=this.data("settings"),fd=nd(ld);fd.prototype.options=od(fd.prototype.options,pd,dd),this.Parser=fd}}),js$1=C$3((Ra,qa)=>{qa.exports=nd;function nd(od){if(od)throw od}}),yn$3=C$3((Ra,qa)=>{qa.exports=function(nd){return nd!=null&&nd.constructor!=null&&typeof nd.constructor.isBuffer=="function"&&nd.constructor.isBuffer(nd)}}),rc$1=C$3((Ra,qa)=>{var nd=Object.prototype.hasOwnProperty,od=Object.prototype.toString,ld=Object.defineProperty,ud=Object.getOwnPropertyDescriptor,dd=function(vd){return typeof Array.isArray=="function"?Array.isArray(vd):od.call(vd)==="[object Array]"},pd=function(vd){if(!vd||od.call(vd)!=="[object Object]")return!1;var Ad=nd.call(vd,"constructor"),Nd=vd.constructor&&vd.constructor.prototype&&nd.call(vd.constructor.prototype,"isPrototypeOf");if(vd.constructor&&!Ad&&!Nd)return!1;var Od;for(Od in vd);return typeof Od>"u"||nd.call(vd,Od)},fd=function(vd,Ad){ld&&Ad.name==="__proto__"?ld(vd,Ad.name,{enumerable:!0,configurable:!0,value:Ad.newValue,writable:!0}):vd[Ad.name]=Ad.newValue},md=function(vd,Ad){if(Ad==="__proto__")if(nd.call(vd,Ad)){if(ud)return ud(vd,Ad).value}else return;return vd[Ad]};qa.exports=function vd(){var Ad,Nd,Od,kd,Ld,Gd,jd=arguments[0],Fd=1,Ud=arguments.length,qd=!1;for(typeof jd=="boolean"&&(qd=jd,jd=arguments[1]||{},Fd=2),(jd==null||typeof jd!="object"&&typeof jd!="function")&&(jd={});Fd<Ud;++Fd)if(Ad=arguments[Fd],Ad!=null)for(Nd in Ad)Od=md(jd,Nd),kd=md(Ad,Nd),jd!==kd&&(qd&&kd&&(pd(kd)||(Ld=dd(kd)))?(Ld?(Ld=!1,Gd=Od&&dd(Od)?Od:[]):Gd=Od&&pd(Od)?Od:{},fd(jd,{name:Nd,newValue:vd(qd,Gd,kd)})):typeof kd<"u"&&fd(jd,{name:Nd,newValue:kd}));return jd}}),nc$1=C$3((Ra,qa)=>{qa.exports=nd=>{if(Object.prototype.toString.call(nd)!=="[object Object]")return!1;let od=Object.getPrototypeOf(nd);return od===null||od===Object.prototype}}),uc$1=C$3((Ra,qa)=>{var nd=[].slice;qa.exports=od;function od(ld,ud){var dd;return pd;function pd(){var vd=nd.call(arguments,0),Ad=ld.length>vd.length,Nd;Ad&&vd.push(fd);try{Nd=ld.apply(null,vd)}catch(Od){if(Ad&&dd)throw Od;return fd(Od)}Ad||(Nd&&typeof Nd.then=="function"?Nd.then(md,fd):Nd instanceof Error?fd(Nd):md(Nd))}function fd(){dd||(dd=!0,ud.apply(null,arguments))}function md(vd){fd(null,vd)}}}),lc=C$3((Ra,qa)=>{var nd=uc$1();qa.exports=ld,ld.wrap=nd;var od=[].slice;function ld(){var ud=[],dd={};return dd.run=pd,dd.use=fd,dd;function pd(){var md=-1,vd=od.call(arguments,0,-1),Ad=arguments[arguments.length-1];if(typeof Ad!="function")throw new Error("Expected function as last argument, not "+Ad);Nd.apply(null,[null].concat(vd));function Nd(Od){var kd=ud[++md],Ld=od.call(arguments,0),Gd=Ld.slice(1),jd=vd.length,Fd=-1;if(Od){Ad(Od);return}for(;++Fd<jd;)(Gd[Fd]===null||Gd[Fd]===void 0)&&(Gd[Fd]=vd[Fd]);vd=Gd,kd?nd(kd,Nd).apply(null,vd):Ad.apply(null,[null].concat(vd))}}function fd(md){if(typeof md!="function")throw new Error("Expected `fn` to be a function, not "+md);return ud.push(md),dd}}}),dc=C$3((Ra,qa)=>{var nd={}.hasOwnProperty;qa.exports=od;function od(pd){return!pd||typeof pd!="object"?"":nd.call(pd,"position")||nd.call(pd,"type")?ud(pd.position):nd.call(pd,"start")||nd.call(pd,"end")?ud(pd):nd.call(pd,"line")||nd.call(pd,"column")?ld(pd):""}function ld(pd){return(!pd||typeof pd!="object")&&(pd={}),dd(pd.line)+":"+dd(pd.column)}function ud(pd){return(!pd||typeof pd!="object")&&(pd={}),ld(pd.start)+"-"+ld(pd.end)}function dd(pd){return pd&&typeof pd=="number"?pd:1}}),Fc=C$3((Ra,qa)=>{var nd=dc();qa.exports=ud;function od(){}od.prototype=Error.prototype,ud.prototype=new od;var ld=ud.prototype;ld.file="",ld.name="",ld.reason="",ld.message="",ld.stack="",ld.fatal=null,ld.column=null,ld.line=null;function ud(pd,fd,md){var vd,Ad,Nd;typeof fd=="string"&&(md=fd,fd=null),vd=dd(md),Ad=nd(fd)||"1:1",Nd={start:{line:null,column:null},end:{line:null,column:null}},fd&&fd.position&&(fd=fd.position),fd&&(fd.start?(Nd=fd,fd=fd.start):Nd.start=fd),pd.stack&&(this.stack=pd.stack,pd=pd.message),this.message=pd,this.name=Ad,this.reason=pd,this.line=fd?fd.line:null,this.column=fd?fd.column:null,this.location=Nd,this.source=vd[0],this.ruleId=vd[1]}function dd(pd){var fd=[null,null],md;return typeof pd=="string"&&(md=pd.indexOf(":"),md===-1?fd[1]=pd:(fd[0]=pd.slice(0,md),fd[1]=pd.slice(md+1))),fd}}),gc=C$3(Ra=>{Ra.basename=qa,Ra.dirname=nd,Ra.extname=od,Ra.join=ld,Ra.sep="/";function qa(fd,md){var vd=0,Ad=-1,Nd,Od,kd,Ld;if(md!==void 0&&typeof md!="string")throw new TypeError('"ext" argument must be a string');if(pd(fd),Nd=fd.length,md===void 0||!md.length||md.length>fd.length){for(;Nd--;)if(fd.charCodeAt(Nd)===47){if(kd){vd=Nd+1;break}}else Ad<0&&(kd=!0,Ad=Nd+1);return Ad<0?"":fd.slice(vd,Ad)}if(md===fd)return"";for(Od=-1,Ld=md.length-1;Nd--;)if(fd.charCodeAt(Nd)===47){if(kd){vd=Nd+1;break}}else Od<0&&(kd=!0,Od=Nd+1),Ld>-1&&(fd.charCodeAt(Nd)===md.charCodeAt(Ld--)?Ld<0&&(Ad=Nd):(Ld=-1,Ad=Od));return vd===Ad?Ad=Od:Ad<0&&(Ad=fd.length),fd.slice(vd,Ad)}function nd(fd){var md,vd,Ad;if(pd(fd),!fd.length)return".";for(md=-1,Ad=fd.length;--Ad;)if(fd.charCodeAt(Ad)===47){if(vd){md=Ad;break}}else vd||(vd=!0);return md<0?fd.charCodeAt(0)===47?"/":".":md===1&&fd.charCodeAt(0)===47?"//":fd.slice(0,md)}function od(fd){var md=-1,vd=0,Ad=-1,Nd=0,Od,kd,Ld;for(pd(fd),Ld=fd.length;Ld--;){if(kd=fd.charCodeAt(Ld),kd===47){if(Od){vd=Ld+1;break}continue}Ad<0&&(Od=!0,Ad=Ld+1),kd===46?md<0?md=Ld:Nd!==1&&(Nd=1):md>-1&&(Nd=-1)}return md<0||Ad<0||Nd===0||Nd===1&&md===Ad-1&&md===vd+1?"":fd.slice(md,Ad)}function ld(){for(var fd=-1,md;++fd<arguments.length;)pd(arguments[fd]),arguments[fd]&&(md=md===void 0?arguments[fd]:md+"/"+arguments[fd]);return md===void 0?".":ud(md)}function ud(fd){var md,vd;return pd(fd),md=fd.charCodeAt(0)===47,vd=dd(fd,!md),!vd.length&&!md&&(vd="."),vd.length&&fd.charCodeAt(fd.length-1)===47&&(vd+="/"),md?"/"+vd:vd}function dd(fd,md){for(var vd="",Ad=0,Nd=-1,Od=0,kd=-1,Ld,Gd;++kd<=fd.length;){if(kd<fd.length)Ld=fd.charCodeAt(kd);else{if(Ld===47)break;Ld=47}if(Ld===47){if(!(Nd===kd-1||Od===1))if(Nd!==kd-1&&Od===2){if(vd.length<2||Ad!==2||vd.charCodeAt(vd.length-1)!==46||vd.charCodeAt(vd.length-2)!==46){if(vd.length>2){if(Gd=vd.lastIndexOf("/"),Gd!==vd.length-1){Gd<0?(vd="",Ad=0):(vd=vd.slice(0,Gd),Ad=vd.length-1-vd.lastIndexOf("/")),Nd=kd,Od=0;continue}}else if(vd.length){vd="",Ad=0,Nd=kd,Od=0;continue}}md&&(vd=vd.length?vd+"/..":"..",Ad=2)}else vd.length?vd+="/"+fd.slice(Nd+1,kd):vd=fd.slice(Nd+1,kd),Ad=kd-Nd-1;Nd=kd,Od=0}else Ld===46&&Od>-1?Od++:Od=-1}return vd}function pd(fd){if(typeof fd!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(fd))}}),Ec=C$3(Ra=>{Ra.cwd=qa;function qa(){return"/"}}),yc=C$3((Ra,qa)=>{var nd=gc(),od=Ec(),ld=yn$3();qa.exports=pd;var ud={}.hasOwnProperty,dd=["history","path","basename","stem","extname","dirname"];pd.prototype.toString=Fd,Object.defineProperty(pd.prototype,"path",{get:fd,set:md}),Object.defineProperty(pd.prototype,"dirname",{get:vd,set:Ad}),Object.defineProperty(pd.prototype,"basename",{get:Nd,set:Od}),Object.defineProperty(pd.prototype,"extname",{get:kd,set:Ld}),Object.defineProperty(pd.prototype,"stem",{get:Gd,set:jd});function pd(Wd){var Jd,_f;if(!Wd)Wd={};else if(typeof Wd=="string"||ld(Wd))Wd={contents:Wd};else if("message"in Wd&&"messages"in Wd)return Wd;if(!(this instanceof pd))return new pd(Wd);for(this.data={},this.messages=[],this.history=[],this.cwd=od.cwd(),_f=-1;++_f<dd.length;)Jd=dd[_f],ud.call(Wd,Jd)&&(this[Jd]=Wd[Jd]);for(Jd in Wd)dd.indexOf(Jd)<0&&(this[Jd]=Wd[Jd])}function fd(){return this.history[this.history.length-1]}function md(Wd){qd(Wd,"path"),this.path!==Wd&&this.history.push(Wd)}function vd(){return typeof this.path=="string"?nd.dirname(this.path):void 0}function Ad(Wd){zd(this.path,"dirname"),this.path=nd.join(Wd||"",this.basename)}function Nd(){return typeof this.path=="string"?nd.basename(this.path):void 0}function Od(Wd){qd(Wd,"basename"),Ud(Wd,"basename"),this.path=nd.join(this.dirname||"",Wd)}function kd(){return typeof this.path=="string"?nd.extname(this.path):void 0}function Ld(Wd){if(Ud(Wd,"extname"),zd(this.path,"extname"),Wd){if(Wd.charCodeAt(0)!==46)throw new Error("`extname` must start with `.`");if(Wd.indexOf(".",1)>-1)throw new Error("`extname` cannot contain multiple dots")}this.path=nd.join(this.dirname,this.stem+(Wd||""))}function Gd(){return typeof this.path=="string"?nd.basename(this.path,this.extname):void 0}function jd(Wd){qd(Wd,"stem"),Ud(Wd,"stem"),this.path=nd.join(this.dirname||"",Wd+(this.extname||""))}function Fd(Wd){return(this.contents||"").toString(Wd)}function Ud(Wd,Jd){if(Wd&&Wd.indexOf(nd.sep)>-1)throw new Error("`"+Jd+"` cannot be a path: did not expect `"+nd.sep+"`")}function qd(Wd,Jd){if(!Wd)throw new Error("`"+Jd+"` cannot be empty")}function zd(Wd,Jd){if(!Wd)throw new Error("Setting `"+Jd+"` requires `path` to be set too")}}),xc=C$3((Ra,qa)=>{var nd=Fc(),od=yc();qa.exports=od,od.prototype.message=ld,od.prototype.info=dd,od.prototype.fail=ud;function ld(pd,fd,md){var vd=new nd(pd,fd,md);return this.path&&(vd.name=this.path+":"+vd.name,vd.file=this.path),vd.fatal=!1,this.messages.push(vd),vd}function ud(){var pd=this.message.apply(this,arguments);throw pd.fatal=!0,pd}function dd(){var pd=this.message.apply(this,arguments);return pd.fatal=null,pd}}),kc=C$3((Ra,qa)=>{qa.exports=xc()}),Ic=C$3((Ra,qa)=>{var nd=js$1(),od=yn$3(),ld=rc$1(),ud=nc$1(),dd=lc(),pd=kc();qa.exports=kd().freeze();var fd=[].slice,md={}.hasOwnProperty,vd=dd().use(Ad).use(Nd).use(Od);function Ad(Wd,Jd){Jd.tree=Wd.parse(Jd.file)}function Nd(Wd,Jd,_f){Wd.run(Jd.tree,Jd.file,Xd);function Xd(pf,mf,Sf){pf?_f(pf):(Jd.tree=mf,Jd.file=Sf,_f())}}function Od(Wd,Jd){var _f=Wd.stringify(Jd.tree,Jd.file);_f==null||(typeof _f=="string"||od(_f)?("value"in Jd.file&&(Jd.file.value=_f),Jd.file.contents=_f):Jd.file.result=_f)}function kd(){var Wd=[],Jd=dd(),_f={},Xd=-1,pf;return mf.data=Tf,mf.freeze=Sf,mf.attachers=Wd,mf.use=Af,mf.parse=Nf,mf.stringify=Qf,mf.run=If,mf.runSync=Gf,mf.process=Xf,mf.processSync=ph,mf;function mf(){for(var qf=kd(),Lf=-1;++Lf<Wd.length;)qf.use.apply(null,Wd[Lf]);return qf.data(ld(!0,{},_f)),qf}function Sf(){var qf,Lf;if(pf)return mf;for(;++Xd<Wd.length;)qf=Wd[Xd],qf[1]!==!1&&(qf[1]===!0&&(qf[1]=void 0),Lf=qf[0].apply(mf,qf.slice(1)),typeof Lf=="function"&&Jd.use(Lf));return pf=!0,Xd=1/0,mf}function Tf(qf,Lf){return typeof qf=="string"?arguments.length===2?(Ud("data",pf),_f[qf]=Lf,mf):md.call(_f,qf)&&_f[qf]||null:qf?(Ud("data",pf),_f=qf,mf):_f}function Af(qf){var Lf;if(Ud("use",pf),qf!=null)if(typeof qf=="function")Cf.apply(null,arguments);else if(typeof qf=="object")"length"in qf?Kf(qf):Wf(qf);else throw new Error("Expected usable value, not `"+qf+"`");return Lf&&(_f.settings=ld(_f.settings||{},Lf)),mf;function Wf(xf){Kf(xf.plugins),xf.settings&&(Lf=ld(Lf||{},xf.settings))}function Jf(xf){if(typeof xf=="function")Cf(xf);else if(typeof xf=="object")"length"in xf?Cf.apply(null,xf):Wf(xf);else throw new Error("Expected usable value, not `"+xf+"`")}function Kf(xf){var Yf=-1;if(xf!=null)if(typeof xf=="object"&&"length"in xf)for(;++Yf<xf.length;)Jf(xf[Yf]);else throw new Error("Expected a list of plugins, not `"+xf+"`")}function Cf(xf,Yf){var dh=Ef(xf);dh?(ud(dh[1])&&ud(Yf)&&(Yf=ld(!0,dh[1],Yf)),dh[1]=Yf):Wd.push(fd.call(arguments))}}function Ef(qf){for(var Lf=-1;++Lf<Wd.length;)if(Wd[Lf][0]===qf)return Wd[Lf]}function Nf(qf){var Lf=pd(qf),Wf;return Sf(),Wf=mf.Parser,jd("parse",Wf),Ld(Wf,"parse")?new Wf(String(Lf),Lf).parse():Wf(String(Lf),Lf)}function If(qf,Lf,Wf){if(qd(qf),Sf(),!Wf&&typeof Lf=="function"&&(Wf=Lf,Lf=null),!Wf)return new Promise(Jf);Jf(null,Wf);function Jf(Kf,Cf){Jd.run(qf,pd(Lf),xf);function xf(Yf,dh,Rh){dh=dh||qf,Yf?Cf(Yf):Kf?Kf(dh):Wf(null,dh,Rh)}}}function Gf(qf,Lf){var Wf,Jf;return If(qf,Lf,Kf),zd("runSync","run",Jf),Wf;function Kf(Cf,xf){Jf=!0,Wf=xf,nd(Cf)}}function Qf(qf,Lf){var Wf=pd(Lf),Jf;return Sf(),Jf=mf.Compiler,Fd("stringify",Jf),qd(qf),Ld(Jf,"compile")?new Jf(qf,Wf).compile():Jf(qf,Wf)}function Xf(qf,Lf){if(Sf(),jd("process",mf.Parser),Fd("process",mf.Compiler),!Lf)return new Promise(Wf);Wf(null,Lf);function Wf(Jf,Kf){var Cf=pd(qf);vd.run(mf,{file:Cf},xf);function xf(Yf){Yf?Kf(Yf):Jf?Jf(Cf):Lf(null,Cf)}}}function ph(qf){var Lf,Wf;return Sf(),jd("processSync",mf.Parser),Fd("processSync",mf.Compiler),Lf=pd(qf),Xf(Lf,Jf),zd("processSync","process",Wf),Lf;function Jf(Kf){Wf=!0,nd(Kf)}}}function Ld(Wd,Jd){return typeof Wd=="function"&&Wd.prototype&&(Gd(Wd.prototype)||Jd in Wd.prototype)}function Gd(Wd){var Jd;for(Jd in Wd)return!0;return!1}function jd(Wd,Jd){if(typeof Jd!="function")throw new Error("Cannot `"+Wd+"` without `Parser`")}function Fd(Wd,Jd){if(typeof Jd!="function")throw new Error("Cannot `"+Wd+"` without `Compiler`")}function Ud(Wd,Jd){if(Jd)throw new Error("Cannot invoke `"+Wd+"` on a frozen processor.\nCreate a new processor first, by invoking it: use `processor()` instead of `processor`.")}function qd(Wd){if(!Wd||typeof Wd.type!="string")throw new Error("Expected node, got `"+Wd+"`")}function zd(Wd,Jd,_f){if(!_f)throw new Error("`"+Wd+"` finished async. Use `"+Jd+"` instead")}}),Pn$2={};Ln$1(Pn$2,{languages:()=>_i,options:()=>Si,parsers:()=>On$2,printers:()=>qm});var al$2=(Ra,qa,nd,od)=>{if(!(Ra&&qa==null))return qa.replaceAll?qa.replaceAll(nd,od):nd.global?qa.replace(nd,od):qa.split(nd).join(od)},N$5=al$2,ol$1=(Ra,qa,nd)=>{if(!(Ra&&qa==null))return Array.isArray(qa)||typeof qa=="string"?qa[nd<0?qa.length+nd:nd]:qa.at(nd)},M$5=ol$1,qi=Ue$2(xr$1());function Be$5(Ra){if(typeof Ra!="string")throw new TypeError("Expected a string");return Ra.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var $$2="string",H$5="array",ge$5="cursor",ee$4="indent",re$4="align",oe$4="trim",K$5="group",J$6="fill",X$5="if-break",se$4="indent-if-break",ce$6="line-suffix",le$4="line-suffix-boundary",W$6="line",fe$5="label",te$4="break-parent",wr$1=new Set([ge$5,ee$4,re$4,oe$4,K$5,J$6,X$5,se$4,ce$6,le$4,W$6,fe$5,te$4]);function cl$2(Ra){if(typeof Ra=="string")return $$2;if(Array.isArray(Ra))return H$5;if(!Ra)return;let{type:qa}=Ra;if(wr$1.has(qa))return qa}var Y$4=cl$2,ll$1=Ra=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(Ra);function fl$1(Ra){let qa=Ra===null?"null":typeof Ra;if(qa!=="string"&&qa!=="object")return`Unexpected doc '${qa}',
Expected it to be 'string' or 'object'.`;if(Y$4(Ra))throw new Error("doc is valid.");let nd=Object.prototype.toString.call(Ra);if(nd!=="[object Object]")return`Unexpected doc '${nd}'.`;let od=ll$1([...wr$1].map(ld=>`'${ld}'`));return`Unexpected doc.type '${Ra.type}'.
Expected it to be ${od}.`}var Dt$2=class extends Error{constructor(nd){super(fl$1(nd));kg(this,"name","InvalidDocError");this.doc=nd}},qe$2=Dt$2,Nn$2={};function Dl$1(Ra,qa,nd,od){let ld=[Ra];for(;ld.length>0;){let ud=ld.pop();if(ud===Nn$2){nd(ld.pop());continue}nd&&ld.push(ud,Nn$2);let dd=Y$4(ud);if(!dd)throw new qe$2(ud);if((qa==null?void 0:qa(ud))!==!1)switch(dd){case H$5:case J$6:{let pd=dd===H$5?ud:ud.parts;for(let fd=pd.length,md=fd-1;md>=0;--md)ld.push(pd[md]);break}case X$5:ld.push(ud.flatContents,ud.breakContents);break;case K$5:if(od&&ud.expandedStates)for(let pd=ud.expandedStates.length,fd=pd-1;fd>=0;--fd)ld.push(ud.expandedStates[fd]);else ld.push(ud.contents);break;case re$4:case ee$4:case se$4:case fe$5:case ce$6:ld.push(ud.contents);break;case $$2:case ge$5:case oe$4:case le$4:case W$6:case te$4:break;default:throw new qe$2(ud)}}}var Rn$1=Dl$1,Un$2=()=>{},kr$1=Un$2;function Ze$3(Ra){return{type:ee$4,contents:Ra}}function ve$5(Ra,qa){return{type:re$4,contents:qa,n:Ra}}function ze$4(Ra,qa={}){return kr$1(qa.expandedStates),{type:K$5,id:qa.id,contents:Ra,break:!!qa.shouldBreak,expandedStates:qa.expandedStates}}function _e$4(Ra){return ve$5({type:"root"},Ra)}function Ee$5(Ra){return{type:J$6,parts:Ra}}function zn$2(Ra,qa="",nd={}){return{type:X$5,breakContents:Ra,flatContents:qa,groupId:nd.groupId}}var er$1={type:te$4},rr$1={type:W$6,hard:!0},pl$1={type:W$6,hard:!0,literal:!0},Br$2={type:W$6},qr$1={type:W$6,soft:!0},L$5=[rr$1,er$1],tr$1=[pl$1,er$1];function Tr$1(Ra,qa){let nd=[];for(let od=0;od<qa.length;od++)od!==0&&nd.push(Ra),nd.push(qa[od]);return nd}function dl$1(Ra,qa){if(typeof Ra=="string")return qa(Ra);let nd=new Map;return od(Ra);function od(ud){if(nd.has(ud))return nd.get(ud);let dd=ld(ud);return nd.set(ud,dd),dd}function ld(ud){switch(Y$4(ud)){case H$5:return qa(ud.map(od));case J$6:return qa({...ud,parts:ud.parts.map(od)});case X$5:return qa({...ud,breakContents:od(ud.breakContents),flatContents:od(ud.flatContents)});case K$5:{let{expandedStates:dd,contents:pd}=ud;return dd?(dd=dd.map(od),pd=dd[0]):pd=od(pd),qa({...ud,contents:pd,expandedStates:dd})}case re$4:case ee$4:case se$4:case fe$5:case ce$6:return qa({...ud,contents:od(ud.contents)});case $$2:case ge$5:case oe$4:case le$4:case W$6:case te$4:return qa(ud);default:throw new qe$2(ud)}}}function Mn$1(Ra){if(Ra.length>0){let qa=M$5(!1,Ra,-1);!qa.expandedStates&&!qa.break&&(qa.break="propagated")}return null}function Yn$1(Ra){let qa=new Set,nd=[];function od(ud){if(ud.type===te$4&&Mn$1(nd),ud.type===K$5){if(nd.push(ud),qa.has(ud))return!1;qa.add(ud)}}function ld(ud){ud.type===K$5&&nd.pop().break&&Mn$1(nd)}Rn$1(Ra,od,ld,!0)}function Ce$3(Ra,qa=tr$1){return dl$1(Ra,nd=>typeof nd=="string"?Tr$1(qa,nd.split(`
`)):nd)}function hl$1(Ra,qa){let nd=Ra.match(new RegExp(`(${Be$5(qa)})+`,"gu"));return nd===null?0:nd.reduce((od,ld)=>Math.max(od,ld.length/qa.length),0)}var _r$1=hl$1;function ml$1(Ra,qa){let nd=Ra.match(new RegExp(`(${Be$5(qa)})+`,"gu"));if(nd===null)return 0;let od=new Map,ld=0;for(let ud of nd){let dd=ud.length/qa.length;od.set(dd,!0),dd>ld&&(ld=dd)}for(let ud=1;ud<ld;ud++)if(!od.get(ud))return ud;return ld+1}var Gn$2=ml$1,Sr$1="'",Vn$2='"';function Fl$1(Ra,qa){let nd=qa===!0||qa===Sr$1?Sr$1:Vn$2,od=nd===Sr$1?Vn$2:Sr$1,ld=0,ud=0;for(let dd of Ra)dd===nd?ld++:dd===od&&ud++;return ld>ud?od:nd}var jn$1=Fl$1,pt$3=class extends Error{constructor(nd,od,ld="type"){super(`Unexpected ${od} node ${ld}: ${JSON.stringify(nd[ld])}.`);kg(this,"name","UnexpectedNodeError");this.node=nd}},$n$2=pt$3,Xn$2=Ue$2(xr$1());function gl$1(Ra){return(Ra==null?void 0:Ra.type)==="front-matter"}var Hn$1=gl$1,nr$1=3;function vl$1(Ra){let qa=Ra.slice(0,nr$1);if(qa!=="---"&&qa!=="+++")return;let nd=Ra.indexOf(`
`,nr$1);if(nd===-1)return;let od=Ra.slice(nr$1,nd).trim(),ld=Ra.indexOf(`
${qa}`,nd),ud=od;if(ud||(ud=qa==="+++"?"toml":"yaml"),ld===-1&&qa==="---"&&ud==="yaml"&&(ld=Ra.indexOf(`
...`,nd)),ld===-1)return;let dd=ld+1+nr$1,pd=Ra.charAt(dd+1);if(!/\s?/u.test(pd))return;let fd=Ra.slice(0,dd);return{type:"front-matter",language:ud,explicitLanguage:od,value:Ra.slice(nd+1,ld),startDelimiter:qa,endDelimiter:fd.slice(-nr$1),raw:fd}}function El$1(Ra){let qa=vl$1(Ra);if(!qa)return{content:Ra};let{raw:nd}=qa;return{frontMatter:qa,content:N$5(!1,nd,/[^\n]/gu," ")+Ra.slice(nd.length)}}var ir$2=El$1,Wn$1=["format","prettier"];function dt$2(Ra){let qa=`@(${Wn$1.join("|")})`,nd=new RegExp([`<!--\\s*${qa}\\s*-->`,`\\{\\s*\\/\\*\\s*${qa}\\s*\\*\\/\\s*\\}`,`<!--.*\r?
[\\s\\S]*(^|
)[^\\S
]*${qa}[^\\S
]*($|
)[\\s\\S]*
.*-->`].join("|"),"mu"),od=Ra.match(nd);return(od==null?void 0:od.index)===0}var Kn$2=Ra=>dt$2(ir$2(Ra).content.trimStart()),Jn$2=Ra=>{let qa=ir$2(Ra),nd=`<!-- @${Wn$1[0]} -->`;return qa.frontMatter?`${qa.frontMatter.raw}
${nd}
${qa.content}`:`${nd}
${qa.content}`},Cl$1=new Set(["position","raw"]);function Qn$2(Ra,qa,nd){if((Ra.type==="front-matter"||Ra.type==="code"||Ra.type==="yaml"||Ra.type==="import"||Ra.type==="export"||Ra.type==="jsx")&&delete qa.value,Ra.type==="list"&&delete qa.isAligned,(Ra.type==="list"||Ra.type==="listItem")&&delete qa.spread,Ra.type==="text")return null;if(Ra.type==="inlineCode"&&(qa.value=N$5(!1,Ra.value,`
`," ")),Ra.type==="wikiLink"&&(qa.value=N$5(!1,Ra.value.trim(),/[\t\n]+/gu," ")),(Ra.type==="definition"||Ra.type==="linkReference"||Ra.type==="imageReference")&&(qa.label=(0,Xn$2.default)(Ra.label)),(Ra.type==="link"||Ra.type==="image")&&Ra.url&&Ra.url.includes("("))for(let od of"<>")qa.url=N$5(!1,Ra.url,od,encodeURIComponent(od));if((Ra.type==="definition"||Ra.type==="link"||Ra.type==="image")&&Ra.title&&(qa.title=N$5(!1,Ra.title,/\\(?=["')])/gu,"")),(nd==null?void 0:nd.type)==="root"&&nd.children.length>0&&(nd.children[0]===Ra||Hn$1(nd.children[0])&&nd.children[1]===Ra)&&Ra.type==="html"&&dt$2(Ra.value))return null}Qn$2.ignoredProperties=Cl$1;var Zn$2=Qn$2,ei$2=/(?:[\u02ea-\u02eb\u1100-\u11ff\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u303f\u3041-\u3096\u3099-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u3190-\u4dbf\u4e00-\u9fff\ua700-\ua707\ua960-\ua97c\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufe10-\ufe1f\ufe30-\ufe6f\uff00-\uffef]|[\ud840-\ud868\ud86a-\ud86c\ud86f-\ud872\ud874-\ud879\ud880-\ud883\ud885-\ud887][\udc00-\udfff]|\ud81b[\udfe3]|\ud82b[\udff0-\udff3\udff5-\udffb\udffd-\udffe]|\ud82c[\udc00-\udd22\udd32\udd50-\udd52\udd55\udd64-\udd67]|\ud83c[\ude00\ude50-\ude51]|\ud869[\udc00-\udedf\udf00-\udfff]|\ud86d[\udc00-\udf39\udf40-\udfff]|\ud86e[\udc00-\udc1d\udc20-\udfff]|\ud873[\udc00-\udea1\udeb0-\udfff]|\ud87a[\udc00-\udfe0]|\ud87e[\udc00-\ude1d]|\ud884[\udc00-\udf4a\udf50-\udfff]|\ud888[\udc00-\udfaf])(?:[\ufe00-\ufe0f]|\udb40[\udd00-\uddef])?/u,Se$5=new RegExp("(?:[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e]|\\p{General_Category=Connector_Punctuation}|\\p{General_Category=Dash_Punctuation}|\\p{General_Category=Close_Punctuation}|\\p{General_Category=Final_Punctuation}|\\p{General_Category=Initial_Punctuation}|\\p{General_Category=Other_Punctuation}|\\p{General_Category=Open_Punctuation})","u");async function bl$2(Ra,qa){if(Ra.language==="yaml"){let nd=Ra.value.trim(),od=nd?await qa(nd,{parser:"yaml"}):"";return _e$4([Ra.startDelimiter,Ra.explicitLanguage,L$5,od,od?L$5:"",Ra.endDelimiter])}}var ri$2=bl$2,yl$1=Ra=>String(Ra).split(/[/\\]/u).pop();function ti$2(Ra,qa){if(!qa)return;let nd=yl$1(qa).toLowerCase();return Ra.find(({filenames:od})=>od==null?void 0:od.some(ld=>ld.toLowerCase()===nd))??Ra.find(({extensions:od})=>od==null?void 0:od.some(ld=>nd.endsWith(ld)))}function Al$1(Ra,qa){if(qa)return Ra.find(({name:nd})=>nd.toLowerCase()===qa)??Ra.find(({aliases:nd})=>nd==null?void 0:nd.includes(qa))??Ra.find(({extensions:nd})=>nd==null?void 0:nd.includes(`.${qa}`))}function xl$1(Ra,qa){let nd=Ra.plugins.flatMap(ld=>ld.languages??[]),od=Al$1(nd,qa.language)??ti$2(nd,qa.physicalFile)??ti$2(nd,qa.file)??(qa.physicalFile,void 0);return od==null?void 0:od.parsers[0]}var ni$2=xl$1,wl$1=new Proxy(()=>{},{get:()=>wl$1});function Oe$4(Ra){return Ra.position.start.offset}function Pe$4(Ra){return Ra.position.end.offset}var ht$2=new Set(["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"]),Or$1=new Set([...ht$2,"tableCell","paragraph","heading"]),Le$4="non-cjk",De$3="cj-letter",be$6="k-letter",ur$1="cjk-punctuation",kl$1=new RegExp("\\p{Script_Extensions=Hangul}","u");function Pr$1(Ra){let qa=[],nd=Ra.split(/([\t\n ]+)/u);for(let[ld,ud]of nd.entries()){if(ld%2===1){qa.push({type:"whitespace",value:/\n/u.test(ud)?`
`:" "});continue}if((ld===0||ld===nd.length-1)&&ud==="")continue;let dd=ud.split(new RegExp(`(${ei$2.source})`,"u"));for(let[pd,fd]of dd.entries())if(!((pd===0||pd===dd.length-1)&&fd==="")){if(pd%2===0){fd!==""&&od({type:"word",value:fd,kind:Le$4,hasLeadingPunctuation:Se$5.test(fd[0]),hasTrailingPunctuation:Se$5.test(M$5(!1,fd,-1))});continue}od(Se$5.test(fd)?{type:"word",value:fd,kind:ur$1,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:fd,kind:kl$1.test(fd)?be$6:De$3,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return qa;function od(ld){let ud=M$5(!1,qa,-1);(ud==null?void 0:ud.type)==="word"&&!dd(Le$4,ur$1)&&![ud.value,ld.value].some(pd=>/\u3000/u.test(pd))&&qa.push({type:"whitespace",value:""}),qa.push(ld);function dd(pd,fd){return ud.kind===pd&&ld.kind===fd||ud.kind===fd&&ld.kind===pd}}}function Me$4(Ra,qa){let nd=qa.originalText.slice(Ra.position.start.offset,Ra.position.end.offset),{numberText:od,leadingSpaces:ld}=nd.match(/^\s*(?<numberText>\d+)(\.|\))(?<leadingSpaces>\s*)/u).groups;return{number:Number(od),leadingSpaces:ld}}function ii$3(Ra,qa){return!Ra.ordered||Ra.children.length<2||Me$4(Ra.children[1],qa).number!==1?!1:Me$4(Ra.children[0],qa).number!==0?!0:Ra.children.length>2&&Me$4(Ra.children[2],qa).number===1}function Lr$1(Ra,qa){let{value:nd}=Ra;return Ra.position.end.offset===qa.length&&nd.endsWith(`
`)&&qa.endsWith(`
`)?nd.slice(0,-1):nd}function ye$4(Ra,qa){return function nd(od,ld,ud){let dd={...qa(od,ld,ud)};return dd.children&&(dd.children=dd.children.map((pd,fd)=>nd(pd,fd,[dd,...ud]))),dd}(Ra,null,[])}function mt$2(Ra){if((Ra==null?void 0:Ra.type)!=="link"||Ra.children.length!==1)return!1;let[qa]=Ra.children;return Oe$4(Ra)===Oe$4(qa)&&Pe$4(Ra)===Pe$4(qa)}function Bl$1(Ra,qa){let{node:nd}=Ra;if(nd.type==="code"&&nd.lang!==null){let od=ni$2(qa,{language:nd.lang});if(od)return async ld=>{let ud=qa.__inJsTemplate?"~":"`",dd=ud.repeat(Math.max(3,_r$1(nd.value,ud)+1)),pd={parser:od};nd.lang==="ts"||nd.lang==="typescript"?pd.filepath="dummy.ts":nd.lang==="tsx"&&(pd.filepath="dummy.tsx");let fd=await ld(Lr$1(nd,qa.originalText),pd);return _e$4([dd,nd.lang,nd.meta?" "+nd.meta:"",L$5,Ce$3(fd),L$5,dd])}}switch(nd.type){case"front-matter":return od=>ri$2(nd,od);case"import":case"export":return od=>od(nd.value,{parser:"babel"});case"jsx":return od=>od(`<$>${nd.value}</$>`,{parser:"__js_expression",rootMarker:"mdx"})}return null}var ui$2=Bl$1,ar$2=null;function or$1(Ra){if(ar$2!==null&&typeof ar$2.property){let qa=ar$2;return ar$2=or$1.prototype=null,qa}return ar$2=or$1.prototype=Ra??Object.create(null),new or$1}var ql$1=10;for(let Ra=0;Ra<=ql$1;Ra++)or$1();function Ft$3(Ra){return or$1(Ra)}function Tl$1(Ra,qa="type"){Ft$3(Ra);function nd(od){let ld=od[qa],ud=Ra[ld];if(!Array.isArray(ud))throw Object.assign(new Error(`Missing visitor keys for '${ld}'.`),{node:od});return ud}return nd}var ai$3=Tl$1,_l$1={"front-matter":[],root:["children"],paragraph:["children"],sentence:["children"],word:[],whitespace:[],emphasis:["children"],strong:["children"],delete:["children"],inlineCode:[],wikiLink:[],link:["children"],image:[],blockquote:["children"],heading:["children"],code:[],html:[],list:["children"],thematicBreak:[],linkReference:["children"],imageReference:[],definition:[],footnote:["children"],footnoteReference:[],footnoteDefinition:["children"],table:["children"],tableCell:["children"],break:[],liquidNode:[],import:[],export:[],esComment:[],jsx:[],math:[],inlineMath:[],tableRow:["children"],listItem:["children"],text:[]},oi$2=_l$1,Sl$1=ai$3(oi$2),si$2=Sl$1;function ci$3(Ra){switch(Ra){case"cr":return"\r";case"crlf":return`\r
`;default:return`
`}}var li$2=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function fi$2(Ra){return Ra===12288||Ra>=65281&&Ra<=65376||Ra>=65504&&Ra<=65510}function Di$1(Ra){return Ra>=4352&&Ra<=4447||Ra===8986||Ra===8987||Ra===9001||Ra===9002||Ra>=9193&&Ra<=9196||Ra===9200||Ra===9203||Ra===9725||Ra===9726||Ra===9748||Ra===9749||Ra>=9800&&Ra<=9811||Ra===9855||Ra===9875||Ra===9889||Ra===9898||Ra===9899||Ra===9917||Ra===9918||Ra===9924||Ra===9925||Ra===9934||Ra===9940||Ra===9962||Ra===9970||Ra===9971||Ra===9973||Ra===9978||Ra===9981||Ra===9989||Ra===9994||Ra===9995||Ra===10024||Ra===10060||Ra===10062||Ra>=10067&&Ra<=10069||Ra===10071||Ra>=10133&&Ra<=10135||Ra===10160||Ra===10175||Ra===11035||Ra===11036||Ra===11088||Ra===11093||Ra>=11904&&Ra<=11929||Ra>=11931&&Ra<=12019||Ra>=12032&&Ra<=12245||Ra>=12272&&Ra<=12287||Ra>=12289&&Ra<=12350||Ra>=12353&&Ra<=12438||Ra>=12441&&Ra<=12543||Ra>=12549&&Ra<=12591||Ra>=12593&&Ra<=12686||Ra>=12688&&Ra<=12771||Ra>=12783&&Ra<=12830||Ra>=12832&&Ra<=12871||Ra>=12880&&Ra<=19903||Ra>=19968&&Ra<=42124||Ra>=42128&&Ra<=42182||Ra>=43360&&Ra<=43388||Ra>=44032&&Ra<=55203||Ra>=63744&&Ra<=64255||Ra>=65040&&Ra<=65049||Ra>=65072&&Ra<=65106||Ra>=65108&&Ra<=65126||Ra>=65128&&Ra<=65131||Ra>=94176&&Ra<=94180||Ra===94192||Ra===94193||Ra>=94208&&Ra<=100343||Ra>=100352&&Ra<=101589||Ra>=101632&&Ra<=101640||Ra>=110576&&Ra<=110579||Ra>=110581&&Ra<=110587||Ra===110589||Ra===110590||Ra>=110592&&Ra<=110882||Ra===110898||Ra>=110928&&Ra<=110930||Ra===110933||Ra>=110948&&Ra<=110951||Ra>=110960&&Ra<=111355||Ra===126980||Ra===127183||Ra===127374||Ra>=127377&&Ra<=127386||Ra>=127488&&Ra<=127490||Ra>=127504&&Ra<=127547||Ra>=127552&&Ra<=127560||Ra===127568||Ra===127569||Ra>=127584&&Ra<=127589||Ra>=127744&&Ra<=127776||Ra>=127789&&Ra<=127797||Ra>=127799&&Ra<=127868||Ra>=127870&&Ra<=127891||Ra>=127904&&Ra<=127946||Ra>=127951&&Ra<=127955||Ra>=127968&&Ra<=127984||Ra===127988||Ra>=127992&&Ra<=128062||Ra===128064||Ra>=128066&&Ra<=128252||Ra>=128255&&Ra<=128317||Ra>=128331&&Ra<=128334||Ra>=128336&&Ra<=128359||Ra===128378||Ra===128405||Ra===128406||Ra===128420||Ra>=128507&&Ra<=128591||Ra>=128640&&Ra<=128709||Ra===128716||Ra>=128720&&Ra<=128722||Ra>=128725&&Ra<=128727||Ra>=128732&&Ra<=128735||Ra===128747||Ra===128748||Ra>=128756&&Ra<=128764||Ra>=128992&&Ra<=129003||Ra===129008||Ra>=129292&&Ra<=129338||Ra>=129340&&Ra<=129349||Ra>=129351&&Ra<=129535||Ra>=129648&&Ra<=129660||Ra>=129664&&Ra<=129672||Ra>=129680&&Ra<=129725||Ra>=129727&&Ra<=129733||Ra>=129742&&Ra<=129755||Ra>=129760&&Ra<=129768||Ra>=129776&&Ra<=129784||Ra>=131072&&Ra<=196605||Ra>=196608&&Ra<=262141}var pi$4=Ra=>!(fi$2(Ra)||Di$1(Ra)),Ol$1=/[^\x20-\x7F]/u;function Pl$1(Ra){if(!Ra)return 0;if(!Ol$1.test(Ra))return Ra.length;Ra=Ra.replace(li$2()," ");let qa=0;for(let nd of Ra){let od=nd.codePointAt(0);od<=31||od>=127&&od<=159||od>=768&&od<=879||(qa+=pi$4(od)?1:2)}return qa}var sr$1=Pl$1,G$6=Symbol("MODE_BREAK"),ne$4=Symbol("MODE_FLAT"),cr$2=Symbol("cursor");function di$2(){return{value:"",length:0,queue:[]}}function Ll$1(Ra,qa){return gt$2(Ra,{type:"indent"},qa)}function Il$1(Ra,qa,nd){return qa===Number.NEGATIVE_INFINITY?Ra.root||di$2():qa<0?gt$2(Ra,{type:"dedent"},nd):qa?qa.type==="root"?{...Ra,root:Ra}:gt$2(Ra,{type:typeof qa=="string"?"stringAlign":"numberAlign",n:qa},nd):Ra}function gt$2(Ra,qa,nd){let od=qa.type==="dedent"?Ra.queue.slice(0,-1):[...Ra.queue,qa],ld="",ud=0,dd=0,pd=0;for(let kd of od)switch(kd.type){case"indent":vd(),nd.useTabs?fd(1):md(nd.tabWidth);break;case"stringAlign":vd(),ld+=kd.n,ud+=kd.n.length;break;case"numberAlign":dd+=1,pd+=kd.n;break;default:throw new Error(`Unexpected type '${kd.type}'`)}return Nd(),{...Ra,value:ld,length:ud,queue:od};function fd(kd){ld+=" ".repeat(kd),ud+=nd.tabWidth*kd}function md(kd){ld+=" ".repeat(kd),ud+=kd}function vd(){nd.useTabs?Ad():Nd()}function Ad(){dd>0&&fd(dd),Od()}function Nd(){pd>0&&md(pd),Od()}function Od(){dd=0,pd=0}}function vt$3(Ra){let qa=0,nd=0,od=Ra.length;e:for(;od--;){let ld=Ra[od];if(ld===cr$2){nd++;continue}for(let ud=ld.length-1;ud>=0;ud--){let dd=ld[ud];if(dd===" "||dd===" ")qa++;else{Ra[od]=ld.slice(0,ud+1);break e}}}if(qa>0||nd>0)for(Ra.length=od+1;nd-- >0;)Ra.push(cr$2);return qa}function Ir$1(Ra,qa,nd,od,ld,ud){if(nd===Number.POSITIVE_INFINITY)return!0;let dd=qa.length,pd=[Ra],fd=[];for(;nd>=0;){if(pd.length===0){if(dd===0)return!0;pd.push(qa[--dd]);continue}let{mode:md,doc:vd}=pd.pop(),Ad=Y$4(vd);switch(Ad){case $$2:fd.push(vd),nd-=sr$1(vd);break;case H$5:case J$6:{let Nd=Ad===H$5?vd:vd.parts;for(let Od=Nd.length-1;Od>=0;Od--)pd.push({mode:md,doc:Nd[Od]});break}case ee$4:case re$4:case se$4:case fe$5:pd.push({mode:md,doc:vd.contents});break;case oe$4:nd+=vt$3(fd);break;case K$5:{if(ud&&vd.break)return!1;let Nd=vd.break?G$6:md,Od=vd.expandedStates&&Nd===G$6?M$5(!1,vd.expandedStates,-1):vd.contents;pd.push({mode:Nd,doc:Od});break}case X$5:{let Nd=(vd.groupId?ld[vd.groupId]||ne$4:md)===G$6?vd.breakContents:vd.flatContents;Nd&&pd.push({mode:md,doc:Nd});break}case W$6:if(md===G$6||vd.hard)return!0;vd.soft||(fd.push(" "),nd--);break;case ce$6:od=!0;break;case le$4:if(od)return!1;break}}return!1}function hi$1(Ra,qa){let nd={},od=qa.printWidth,ld=ci$3(qa.endOfLine),ud=0,dd=[{ind:di$2(),mode:G$6,doc:Ra}],pd=[],fd=!1,md=[],vd=0;for(Yn$1(Ra);dd.length>0;){let{ind:Nd,mode:Od,doc:kd}=dd.pop();switch(Y$4(kd)){case $$2:{let Ld=ld!==`
`?N$5(!1,kd,`
`,ld):kd;pd.push(Ld),dd.length>0&&(ud+=sr$1(Ld));break}case H$5:for(let Ld=kd.length-1;Ld>=0;Ld--)dd.push({ind:Nd,mode:Od,doc:kd[Ld]});break;case ge$5:if(vd>=2)throw new Error("There are too many 'cursor' in doc.");pd.push(cr$2),vd++;break;case ee$4:dd.push({ind:Ll$1(Nd,qa),mode:Od,doc:kd.contents});break;case re$4:dd.push({ind:Il$1(Nd,kd.n,qa),mode:Od,doc:kd.contents});break;case oe$4:ud-=vt$3(pd);break;case K$5:switch(Od){case ne$4:if(!fd){dd.push({ind:Nd,mode:kd.break?G$6:ne$4,doc:kd.contents});break}case G$6:{fd=!1;let Ld={ind:Nd,mode:ne$4,doc:kd.contents},Gd=od-ud,jd=md.length>0;if(!kd.break&&Ir$1(Ld,dd,Gd,jd,nd))dd.push(Ld);else if(kd.expandedStates){let Fd=M$5(!1,kd.expandedStates,-1);if(kd.break){dd.push({ind:Nd,mode:G$6,doc:Fd});break}else for(let Ud=1;Ud<kd.expandedStates.length+1;Ud++)if(Ud>=kd.expandedStates.length){dd.push({ind:Nd,mode:G$6,doc:Fd});break}else{let qd=kd.expandedStates[Ud],zd={ind:Nd,mode:ne$4,doc:qd};if(Ir$1(zd,dd,Gd,jd,nd)){dd.push(zd);break}}}else dd.push({ind:Nd,mode:G$6,doc:kd.contents});break}}kd.id&&(nd[kd.id]=M$5(!1,dd,-1).mode);break;case J$6:{let Ld=od-ud,{parts:Gd}=kd;if(Gd.length===0)break;let[jd,Fd]=Gd,Ud={ind:Nd,mode:ne$4,doc:jd},qd={ind:Nd,mode:G$6,doc:jd},zd=Ir$1(Ud,[],Ld,md.length>0,nd,!0);if(Gd.length===1){zd?dd.push(Ud):dd.push(qd);break}let Wd={ind:Nd,mode:ne$4,doc:Fd},Jd={ind:Nd,mode:G$6,doc:Fd};if(Gd.length===2){zd?dd.push(Wd,Ud):dd.push(Jd,qd);break}Gd.splice(0,2);let _f={ind:Nd,mode:Od,doc:Ee$5(Gd)},Xd=Gd[0];Ir$1({ind:Nd,mode:ne$4,doc:[jd,Fd,Xd]},[],Ld,md.length>0,nd,!0)?dd.push(_f,Wd,Ud):zd?dd.push(_f,Jd,Ud):dd.push(_f,Jd,qd);break}case X$5:case se$4:{let Ld=kd.groupId?nd[kd.groupId]:Od;if(Ld===G$6){let Gd=kd.type===X$5?kd.breakContents:kd.negate?kd.contents:Ze$3(kd.contents);Gd&&dd.push({ind:Nd,mode:Od,doc:Gd})}if(Ld===ne$4){let Gd=kd.type===X$5?kd.flatContents:kd.negate?Ze$3(kd.contents):kd.contents;Gd&&dd.push({ind:Nd,mode:Od,doc:Gd})}break}case ce$6:md.push({ind:Nd,mode:Od,doc:kd.contents});break;case le$4:md.length>0&&dd.push({ind:Nd,mode:Od,doc:rr$1});break;case W$6:switch(Od){case ne$4:if(kd.hard)fd=!0;else{kd.soft||(pd.push(" "),ud+=1);break}case G$6:if(md.length>0){dd.push({ind:Nd,mode:Od,doc:kd},...md.reverse()),md.length=0;break}kd.literal?Nd.root?(pd.push(ld,Nd.root.value),ud=Nd.root.length):(pd.push(ld),ud=0):(ud-=vt$3(pd),pd.push(ld+Nd.value),ud=Nd.length);break}break;case fe$5:dd.push({ind:Nd,mode:Od,doc:kd.contents});break;case te$4:break;default:throw new qe$2(kd)}dd.length===0&&md.length>0&&(dd.push(...md.reverse()),md.length=0)}let Ad=pd.indexOf(cr$2);if(Ad!==-1){let Nd=pd.indexOf(cr$2,Ad+1),Od=pd.slice(0,Ad).join(""),kd=pd.slice(Ad+1,Nd).join(""),Ld=pd.slice(Nd+1).join("");return{formatted:Od+kd+Ld,cursorNodeStart:Od.length,cursorNodeText:kd}}return{formatted:pd.join("")}}function mi(Ra,qa,nd){let{node:od}=Ra,ld=[],ud=Ra.map(()=>Ra.map(({index:Ad})=>{let Nd=hi$1(nd(),qa).formatted,Od=sr$1(Nd);return ld[Ad]=Math.max(ld[Ad]??3,Od),{text:Nd,width:Od}},"children"),"children"),dd=fd(!1);if(qa.proseWrap!=="never")return[er$1,dd];let pd=fd(!0);return[er$1,ze$4(zn$2(pd,dd))];function fd(Ad){return Tr$1(rr$1,[vd(ud[0],Ad),md(Ad),...ud.slice(1).map(Nd=>vd(Nd,Ad))].map(Nd=>`| ${Nd.join(" | ")} |`))}function md(Ad){return ld.map((Nd,Od)=>{let kd=od.align[Od],Ld=kd==="center"||kd==="left"?":":"-",Gd=kd==="center"||kd==="right"?":":"-",jd=Ad?"-":"-".repeat(Nd-2);return`${Ld}${jd}${Gd}`})}function vd(Ad,Nd){return Ad.map(({text:Od,width:kd},Ld)=>{if(Nd)return Od;let Gd=ld[Ld]-kd,jd=od.align[Ld],Fd=0;jd==="right"?Fd=Gd:jd==="center"&&(Fd=Math.floor(Gd/2));let Ud=Gd-Fd;return`${" ".repeat(Fd)}${Od}${" ".repeat(Ud)}`})}}function Fi(Ra,qa,nd){let od=Ra.map(nd,"children");return Nl$1(od)}function Nl$1(Ra){let qa=[""];return function nd(od){for(let ld of od){let ud=Y$4(ld);if(ud===H$5){nd(ld);continue}let dd=ld,pd=[];ud===J$6&&([dd,...pd]=ld.parts),qa.push([qa.pop(),dd],...pd)}}(Ra),Ee$5(qa)}var Rl$1=/^.$/su;function Ul$1(Ra,qa){return Ra=zl$1(Ra,qa),Ra=Yl$1(Ra),Ra=Vl$1(Ra,qa),Ra=jl$1(Ra,qa),Ra=Gl$1(Ra),Ra}function zl$1(Ra,qa){return ye$4(Ra,nd=>nd.type!=="text"||nd.value==="*"||nd.value==="_"||!Rl$1.test(nd.value)||nd.position.end.offset-nd.position.start.offset===nd.value.length?nd:{...nd,value:qa.originalText.slice(nd.position.start.offset,nd.position.end.offset)})}function Ml$1(Ra,qa,nd){return ye$4(Ra,od=>{if(!od.children)return od;let ld=od.children.reduce((ud,dd)=>{let pd=M$5(!1,ud,-1);return pd&&qa(pd,dd)?ud.splice(-1,1,nd(pd,dd)):ud.push(dd),ud},[]);return{...od,children:ld}})}function Yl$1(Ra){return Ml$1(Ra,(qa,nd)=>qa.type==="text"&&nd.type==="text",(qa,nd)=>({type:"text",value:qa.value+nd.value,position:{start:qa.position.start,end:nd.position.end}}))}function Gl$1(Ra){return ye$4(Ra,(qa,nd,[od])=>{if(qa.type!=="text")return qa;let{value:ld}=qa;return od.type==="paragraph"&&(nd===0&&(ld=ld.trimStart()),nd===od.children.length-1&&(ld=ld.trimEnd())),{type:"sentence",position:qa.position,children:Pr$1(ld)}})}function Vl$1(Ra,qa){return ye$4(Ra,(nd,od,ld)=>{if(nd.type==="code"){let ud=/^\n?(?: {4,}|\t)/u.test(qa.originalText.slice(nd.position.start.offset,nd.position.end.offset));if(nd.isIndented=ud,ud)for(let dd=0;dd<ld.length;dd++){let pd=ld[dd];if(pd.hasIndentedCodeblock)break;pd.type==="list"&&(pd.hasIndentedCodeblock=!0)}}return nd})}function jl$1(Ra,qa){return ye$4(Ra,(ld,ud,dd)=>{if(ld.type==="list"&&ld.children.length>0){for(let pd=0;pd<dd.length;pd++){let fd=dd[pd];if(fd.type==="list"&&!fd.isAligned)return ld.isAligned=!1,ld}ld.isAligned=od(ld)}return ld});function nd(ld){return ld.children.length===0?-1:ld.children[0].position.start.column-1}function od(ld){if(!ld.ordered)return!0;let[ud,dd]=ld.children;if(Me$4(ud,qa).leadingSpaces.length>1)return!0;let pd=nd(ud);if(pd===-1)return!1;if(ld.children.length===1)return pd%qa.tabWidth===0;let fd=nd(dd);return pd!==fd?!1:pd%qa.tabWidth===0?!0:Me$4(dd,qa).leadingSpaces.length>1}}var gi=Ul$1;function vi(Ra,qa){let nd=[""];return Ra.each(()=>{let{node:od}=Ra,ld=qa();switch(od.type){case"whitespace":if(Y$4(ld)!==$$2){nd.push(ld,"");break}default:nd.push([nd.pop(),ld])}},"children"),Ee$5(nd)}var $l$1=new Set(["heading","tableCell","link","wikiLink"]),Hl$1=new Set(`$(£¥·'"〈《「『【〔〖〝﹙﹛$([{£¥[{‵︴︵︷︹︻︽︿﹁﹃﹏〘⦅«`),Wl$1=new Set(`!%),.:;?]}¢°·'"†‡›℃∶、。〃〆〕〗〞﹚﹜!"%'),.:;?]}~–—•〉》」︰︱︲︳﹐﹑﹒﹓﹔﹕﹖﹘︶︸︺︼︾﹀﹂﹗|、』】〙〟⦆»ヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻‐゠〜~‼⁇⁈⁉・゙゚`),Ei=new Set("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~");function Kl$1({parent:Ra}){if(Ra.usesCJSpaces===void 0){let qa={" ":0,"":0},{children:nd}=Ra;for(let od=1;od<nd.length-1;++od){let ld=nd[od];if(ld.type==="whitespace"&&(ld.value===" "||ld.value==="")){let ud=nd[od-1].kind,dd=nd[od+1].kind;(ud===De$3&&dd===Le$4||ud===Le$4&&dd===De$3)&&++qa[ld.value]}}Ra.usesCJSpaces=qa[" "]>qa[""]}return Ra.usesCJSpaces}function Jl$1(Ra,qa){if(qa)return!0;let{previous:nd,next:od}=Ra;if(!nd||!od)return!0;let ld=nd.kind,ud=od.kind;return bi$1(ld)&&bi$1(ud)||ld===be$6&&ud===De$3||ud===be$6&&ld===De$3?!0:ld===ur$1||ud===ur$1||ld===De$3&&ud===De$3?!1:Ei.has(od.value[0])||Ei.has(M$5(!1,nd.value,-1))?!0:nd.hasTrailingPunctuation||od.hasLeadingPunctuation?!1:Kl$1(Ra)}function Ci(Ra){return Ra===Le$4||Ra===De$3||Ra===be$6}function bi$1(Ra){return Ra===Le$4||Ra===be$6}function Xl$1(Ra,qa,nd,od,ld){if(nd!=="always"||Ra.hasAncestor(pd=>$l$1.has(pd.type)))return!1;if(od)return qa!=="";if(qa===" ")return!0;let{previous:ud,next:dd}=Ra;return!(qa===""&&((ud==null?void 0:ud.kind)===be$6&&Ci(dd==null?void 0:dd.kind)||(dd==null?void 0:dd.kind)===be$6&&Ci(ud==null?void 0:ud.kind))||!ld&&(dd&&Wl$1.has(dd.value[0])||ud&&Hl$1.has(M$5(!1,ud.value,-1))))}function Et$2(Ra,qa,nd,od){if(nd==="preserve"&&qa===`
`)return L$5;let ld=qa===" "||qa===`
`&&Jl$1(Ra,od);return Xl$1(Ra,qa,nd,od,ld)?ld?Br$2:qr$1:ld?" ":""}var Ql$1=new Set(["listItem","definition"]);function Zl$1(Ra,qa,nd){var od,ld;let{node:ud}=Ra;if(af$1(Ra)){let dd=[""],pd=Pr$1(qa.originalText.slice(ud.position.start.offset,ud.position.end.offset));for(let fd of pd){if(fd.type==="word"){dd.push([dd.pop(),fd.value]);continue}let md=Et$2(Ra,fd.value,qa.proseWrap,!0);if(Y$4(md)===$$2){dd.push([dd.pop(),md]);continue}dd.push(md)}return Ee$5(dd)}switch(ud.type){case"front-matter":return qa.originalText.slice(ud.position.start.offset,ud.position.end.offset);case"root":return ud.children.length===0?"":[tf(Ra,qa,nd),L$5];case"paragraph":return Fi(Ra,qa,nd);case"sentence":return vi(Ra,nd);case"word":{let dd=N$5(!1,N$5(!1,ud.value,"*",String.raw`\*`),new RegExp([`(^|${Se$5.source})(_+)`,`(_+)(${Se$5.source}|$)`].join("|"),"gu"),(md,vd,Ad,Nd,Od)=>N$5(!1,Ad?`${vd}${Ad}`:`${Nd}${Od}`,"_",String.raw`\_`)),pd=(md,vd,Ad)=>md.type==="sentence"&&Ad===0,fd=(md,vd,Ad)=>mt$2(md.children[Ad-1]);return dd!==ud.value&&(Ra.match(void 0,pd,fd)||Ra.match(void 0,pd,(md,vd,Ad)=>md.type==="emphasis"&&Ad===0,fd))&&(dd=dd.replace(/^(\\?[*_])+/u,md=>N$5(!1,md,"\\",""))),dd}case"whitespace":{let{next:dd}=Ra,pd=dd&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/u.test(dd.value)?"never":qa.proseWrap;return Et$2(Ra,ud.value,pd)}case"emphasis":{let dd;if(mt$2(ud.children[0]))dd=qa.originalText[ud.position.start.offset];else{let{previous:pd,next:fd}=Ra;dd=(pd==null?void 0:pd.type)==="sentence"&&((od=M$5(!1,pd.children,-1))==null?void 0:od.type)==="word"&&!M$5(!1,pd.children,-1).hasTrailingPunctuation||(fd==null?void 0:fd.type)==="sentence"&&((ld=fd.children[0])==null?void 0:ld.type)==="word"&&!fd.children[0].hasLeadingPunctuation||Ra.hasAncestor(md=>md.type==="emphasis")?"*":"_"}return[dd,V$5(Ra,qa,nd),dd]}case"strong":return["**",V$5(Ra,qa,nd),"**"];case"delete":return["~~",V$5(Ra,qa,nd),"~~"];case"inlineCode":{let dd=qa.proseWrap==="preserve"?ud.value:N$5(!1,ud.value,`
`," "),pd=Gn$2(dd,"`"),fd="`".repeat(pd||1),md=dd.startsWith("`")||dd.endsWith("`")||/^[\n ]/u.test(dd)&&/[\n ]$/u.test(dd)&&/[^\n ]/u.test(dd)?" ":"";return[fd,md,dd,md,fd]}case"wikiLink":{let dd="";return qa.proseWrap==="preserve"?dd=ud.value:dd=N$5(!1,ud.value,/[\t\n]+/gu," "),["[[",dd,"]]"]}case"link":switch(qa.originalText[ud.position.start.offset]){case"<":{let dd="mailto:";return["<",ud.url.startsWith(dd)&&qa.originalText.slice(ud.position.start.offset+1,ud.position.start.offset+1+dd.length)!==dd?ud.url.slice(dd.length):ud.url,">"]}case"[":return["[",V$5(Ra,qa,nd),"](",Ct$2(ud.url,")"),Nr$1(ud.title,qa),")"];default:return qa.originalText.slice(ud.position.start.offset,ud.position.end.offset)}case"image":return["![",ud.alt||"","](",Ct$2(ud.url,")"),Nr$1(ud.title,qa),")"];case"blockquote":return["> ",ve$5("> ",V$5(Ra,qa,nd))];case"heading":return["#".repeat(ud.depth)+" ",V$5(Ra,qa,nd)];case"code":{if(ud.isIndented){let fd=" ".repeat(4);return ve$5(fd,[fd,Ce$3(ud.value,L$5)])}let dd=qa.__inJsTemplate?"~":"`",pd=dd.repeat(Math.max(3,_r$1(ud.value,dd)+1));return[pd,ud.lang||"",ud.meta?" "+ud.meta:"",L$5,Ce$3(Lr$1(ud,qa.originalText),L$5),L$5,pd]}case"html":{let{parent:dd,isLast:pd}=Ra,fd=dd.type==="root"&&pd?ud.value.trimEnd():ud.value,md=/^<!--.*-->$/su.test(fd);return Ce$3(fd,md?L$5:_e$4(tr$1))}case"list":{let dd=Ai(ud,Ra.parent),pd=ii$3(ud,qa);return V$5(Ra,qa,nd,{processor(fd){let md=Ad(),vd=fd.node;if(vd.children.length===2&&vd.children[1].type==="html"&&vd.children[0].position.start.column!==vd.children[1].position.start.column)return[md,yi$1(fd,qa,nd,md)];return[md,ve$5(" ".repeat(md.length),yi$1(fd,qa,nd,md))];function Ad(){let Nd=ud.ordered?(fd.isFirst?ud.start:pd?1:ud.start+fd.index)+(dd%2===0?". ":") "):dd%2===0?"- ":"* ";return ud.isAligned||ud.hasIndentedCodeblock?ef(Nd,qa):Nd}}})}case"thematicBreak":{let{ancestors:dd}=Ra,pd=dd.findIndex(fd=>fd.type==="list");return pd===-1?"---":Ai(dd[pd],dd[pd+1])%2===0?"***":"---"}case"linkReference":return["[",V$5(Ra,qa,nd),"]",ud.referenceType==="full"?bt$4(ud):ud.referenceType==="collapsed"?"[]":""];case"imageReference":switch(ud.referenceType){case"full":return["![",ud.alt||"","]",bt$4(ud)];default:return["![",ud.alt,"]",ud.referenceType==="collapsed"?"[]":""]}case"definition":{let dd=qa.proseWrap==="always"?Br$2:" ";return ze$4([bt$4(ud),":",Ze$3([dd,Ct$2(ud.url),ud.title===null?"":[dd,Nr$1(ud.title,qa,!1)]])])}case"footnote":return["[^",V$5(Ra,qa,nd),"]"];case"footnoteReference":return Bi(ud);case"footnoteDefinition":{let dd=ud.children.length===1&&ud.children[0].type==="paragraph"&&(qa.proseWrap==="never"||qa.proseWrap==="preserve"&&ud.children[0].position.start.line===ud.children[0].position.end.line);return[Bi(ud),": ",dd?V$5(Ra,qa,nd):ze$4([ve$5(" ".repeat(4),V$5(Ra,qa,nd,{processor:({isFirst:pd})=>pd?ze$4([qr$1,nd()]):nd()}))])]}case"table":return mi(Ra,qa,nd);case"tableCell":return V$5(Ra,qa,nd);case"break":return/\s/u.test(qa.originalText[ud.position.start.offset])?[" ",_e$4(tr$1)]:["\\",L$5];case"liquidNode":return Ce$3(ud.value,L$5);case"import":case"export":case"jsx":return ud.value;case"esComment":return["{/* ",ud.value," */}"];case"math":return["$$",L$5,ud.value?[Ce$3(ud.value,L$5),L$5]:"","$$"];case"inlineMath":return qa.originalText.slice(Oe$4(ud),Pe$4(ud));case"tableRow":case"listItem":case"text":default:throw new $n$2(ud,"Markdown")}}function yi$1(Ra,qa,nd,od){let{node:ld}=Ra,ud=ld.checked===null?"":ld.checked?"[x] ":"[ ] ";return[ud,V$5(Ra,qa,nd,{processor({node:dd,isFirst:pd}){if(pd&&dd.type!=="list")return ve$5(" ".repeat(ud.length),nd());let fd=" ".repeat(sf(qa.tabWidth-od.length,0,3));return[fd,ve$5(fd,nd())]}})]}function ef(Ra,qa){let nd=od();return Ra+" ".repeat(nd>=4?0:nd);function od(){let ld=Ra.length%qa.tabWidth;return ld===0?0:qa.tabWidth-ld}}function Ai(Ra,qa){return rf(Ra,qa,nd=>nd.ordered===Ra.ordered)}function rf(Ra,qa,nd){let od=-1;for(let ld of qa.children)if(ld.type===Ra.type&&nd(ld)?od++:od=-1,ld===Ra)return od}function tf(Ra,qa,nd){let od=[],ld=null,{children:ud}=Ra.node;for(let[dd,pd]of ud.entries())switch(yt$1(pd)){case"start":ld===null&&(ld={index:dd,offset:pd.position.end.offset});break;case"end":ld!==null&&(od.push({start:ld,end:{index:dd,offset:pd.position.start.offset}}),ld=null);break}return V$5(Ra,qa,nd,{processor({index:dd}){if(od.length>0){let pd=od[0];if(dd===pd.start.index)return[xi(ud[pd.start.index]),qa.originalText.slice(pd.start.offset,pd.end.offset),xi(ud[pd.end.index])];if(pd.start.index<dd&&dd<pd.end.index)return!1;if(dd===pd.end.index)return od.shift(),!1}return nd()}})}function V$5(Ra,qa,nd,od={}){let{processor:ld=nd}=od,ud=[];return Ra.each(()=>{let dd=ld(Ra);dd!==!1&&(ud.length>0&&nf(Ra)&&(ud.push(L$5),(uf(Ra,qa)||ki(Ra))&&ud.push(L$5),ki(Ra)&&ud.push(L$5)),ud.push(dd))},"children"),ud}function xi(Ra){if(Ra.type==="html")return Ra.value;if(Ra.type==="paragraph"&&Array.isArray(Ra.children)&&Ra.children.length===1&&Ra.children[0].type==="esComment")return["{/* ",Ra.children[0].value," */}"]}function yt$1(Ra){let qa;if(Ra.type==="html")qa=Ra.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/u);else{let nd;Ra.type==="esComment"?nd=Ra:Ra.type==="paragraph"&&Ra.children.length===1&&Ra.children[0].type==="esComment"&&(nd=Ra.children[0]),nd&&(qa=nd.value.match(/^prettier-ignore(?:-(start|end))?$/u))}return qa?qa[1]||"next":!1}function nf({node:Ra,parent:qa}){let nd=ht$2.has(Ra.type),od=Ra.type==="html"&&Or$1.has(qa.type);return!nd&&!od}function wi(Ra,qa){return Ra.type==="listItem"&&(Ra.spread||qa.originalText.charAt(Ra.position.end.offset-1)===`
`)}function uf({node:Ra,previous:qa,parent:nd},od){if(wi(qa,od))return!0;let ld=qa.type===Ra.type&&Ql$1.has(Ra.type),ud=nd.type==="listItem"&&!wi(nd,od),dd=yt$1(qa)==="next",pd=Ra.type==="html"&&qa.type==="html"&&qa.position.end.line+1===Ra.position.start.line,fd=Ra.type==="html"&&nd.type==="listItem"&&qa.type==="paragraph"&&qa.position.end.line+1===Ra.position.start.line;return!(ld||ud||dd||pd||fd)}function ki({node:Ra,previous:qa}){let nd=qa.type==="list",od=Ra.type==="code"&&Ra.isIndented;return nd&&od}function af$1(Ra){let qa=Ra.findAncestor(nd=>nd.type==="linkReference"||nd.type==="imageReference");return qa&&(qa.type!=="linkReference"||qa.referenceType!=="full")}var of=(Ra,qa)=>{for(let nd of qa)Ra=N$5(!1,Ra,nd,encodeURIComponent(nd));return Ra};function Ct$2(Ra,qa=[]){let nd=[" ",...Array.isArray(qa)?qa:[qa]];return new RegExp(nd.map(od=>Be$5(od)).join("|"),"u").test(Ra)?`<${of(Ra,"<>")}>`:Ra}function Nr$1(Ra,qa,nd=!0){if(!Ra)return"";if(nd)return" "+Nr$1(Ra,qa,!1);if(Ra=N$5(!1,Ra,/\\(?=["')])/gu,""),Ra.includes('"')&&Ra.includes("'")&&!Ra.includes(")"))return`(${Ra})`;let od=jn$1(Ra,qa.singleQuote);return Ra=N$5(!1,Ra,"\\","\\\\"),Ra=N$5(!1,Ra,od,`\\${od}`),`${od}${Ra}${od}`}function sf(Ra,qa,nd){return Ra<qa?qa:Ra>nd?nd:Ra}function cf$1(Ra){return Ra.index>0&&yt$1(Ra.previous)==="next"}function bt$4(Ra){return`[${(0,qi.default)(Ra.label)}]`}function Bi(Ra){return`[^${Ra.label}]`}var lf={preprocess:gi,print:Zl$1,embed:ui$2,massageAstNode:Zn$2,hasPrettierIgnore:cf$1,insertPragma:Jn$2,getVisitorKeys:si$2},Ti=lf,_i=[{linguistLanguageId:222,name:"Markdown",type:"prose",color:"#083fa1",aliases:["md","pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".livemd",".markdown",".mdown",".mdwn",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr","README"],tmScope:"text.md",parsers:["markdown"],vscodeLanguageIds:["markdown"]},{linguistLanguageId:222,name:"MDX",type:"prose",color:"#083fa1",aliases:["md","pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".mdx"],filenames:[],tmScope:"text.md",parsers:["mdx"],vscodeLanguageIds:["mdx"]}],At$2={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},ff$1={proseWrap:At$2.proseWrap,singleQuote:At$2.singleQuote},Si=ff$1,On$2={};Ln$1(On$2,{markdown:()=>km,mdx:()=>Bm,remark:()=>km});var Wc=Ue$2(Pi()),Kc=Ue$2(Wi()),Jc=Ue$2(Gs()),Xc=Ue$2(Ic()),vm=/^import\s/u,Em=/^export\s/u,Nc=String.raw`[a-z][a-z0-9]*(\.[a-z][a-z0-9]*)*|`,Rc=/<!---->|<!---?[^>-](?:-?[^-])*-->/u,Cm=/^\{\s*\/\*(.*)\*\/\s*\}/u,bm$2=`
`,Uc=Ra=>vm.test(Ra),Sn$2=Ra=>Em.test(Ra),zc=(Ra,qa)=>{let nd=qa.indexOf(bm$2),od=qa.slice(0,nd);if(Sn$2(od)||Uc(od))return Ra(od)({type:Sn$2(od)?"export":"import",value:od})},Mc=(Ra,qa)=>{let nd=Cm.exec(qa);if(nd)return Ra(nd[0])({type:"esComment",value:nd[1].trim()})};zc.locator=Ra=>Sn$2(Ra)||Uc(Ra)?-1:1;Mc.locator=(Ra,qa)=>Ra.indexOf("{",qa);var Yc=function(){let{Parser:Ra}=this,{blockTokenizers:qa,blockMethods:nd,inlineTokenizers:od,inlineMethods:ld}=Ra.prototype;qa.esSyntax=zc,od.esComment=Mc,nd.splice(nd.indexOf("paragraph"),0,"esSyntax"),ld.splice(ld.indexOf("text"),0,"esComment")},ym=function(){let Ra=this.Parser.prototype;Ra.blockMethods=["frontMatter",...Ra.blockMethods],Ra.blockTokenizers.frontMatter=qa;function qa(nd,od){let ld=ir$2(od);if(ld.frontMatter)return nd(ld.frontMatter.raw)(ld.frontMatter)}qa.onlyAtStart=!0},Gc=ym;function Am(){return Ra=>ye$4(Ra,(qa,nd,[od])=>qa.type!=="html"||Rc.test(qa.value)||Or$1.has(od.type)?qa:{...qa,type:"jsx"})}var Vc=Am,xm=function(){let Ra=this.Parser.prototype,qa=Ra.inlineMethods;qa.splice(qa.indexOf("text"),0,"liquid"),Ra.inlineTokenizers.liquid=nd;function nd(od,ld){let ud=ld.match(/^(\{%.*?%\}|\{\{.*?\}\})/su);if(ud)return od(ud[0])({type:"liquidNode",value:ud[0]})}nd.locator=function(od,ld){return od.indexOf("{",ld)}},jc=xm,wm=function(){let Ra="wikiLink",qa=/^\[\[(?<linkContents>.+?)\]\]/su,nd=this.Parser.prototype,od=nd.inlineMethods;od.splice(od.indexOf("link"),0,Ra),nd.inlineTokenizers.wikiLink=ld;function ld(ud,dd){let pd=qa.exec(dd);if(pd){let fd=pd.groups.linkContents.trim();return ud(pd[0])({type:Ra,value:fd})}}ld.locator=function(ud,dd){return ud.indexOf("[",dd)}},$c=wm;function Qc({isMDX:Ra}){return qa=>{let nd=(0,Xc.default)().use(Jc.default,{commonmark:!0,...Ra&&{blocks:[Nc]}}).use(Wc.default).use(Gc).use(Kc.default).use(Ra?Yc:Hc).use(jc).use(Ra?Vc:Hc).use($c);return nd.run(nd.parse(qa))}}function Hc(){}var Zc={astFormat:"mdast",hasPragma:Kn$2,locStart:Oe$4,locEnd:Pe$4},km={...Zc,parse:Qc({isMDX:!1})},Bm={...Zc,parse:Qc({isMDX:!0})},qm={mdast:Ti},fC=Pn$2;const prettierPluginMarkdown=Object.freeze(Object.defineProperty({__proto__:null,default:fC,languages:_i,options:Si,parsers:On$2,printers:qm},Symbol.toStringTag,{value:"Module"}));var al$1=Object.create,Ur$1=Object.defineProperty,ul=Object.getOwnPropertyDescriptor,ll=Object.getOwnPropertyNames,cl$1=Object.getPrototypeOf,fl=Object.prototype.hasOwnProperty,y$4=(Ra,qa)=>()=>(qa||Ra((qa={exports:{}}).exports,qa),qa.exports),Xs=(Ra,qa)=>{for(var nd in qa)Ur$1(Ra,nd,{get:qa[nd],enumerable:!0})},pl=(Ra,qa,nd,od)=>{if(qa&&typeof qa=="object"||typeof qa=="function")for(let ld of ll(qa))!fl.call(Ra,ld)&&ld!==nd&&Ur$1(Ra,ld,{get:()=>qa[ld],enumerable:!(od=ul(qa,ld))||od.enumerable});return Ra},ye$3=(Ra,qa,nd)=>(nd=Ra!=null?al$1(cl$1(Ra)):{},pl(Ur$1(nd,"default",{value:Ra,enumerable:!0}),Ra)),Ut$3=y$4((Ra,qa)=>{qa.exports.isClean=Symbol("isClean"),qa.exports.my=Symbol("my")}),yi=y$4((Ra,qa)=>{var nd=String,od=function(){return{isColorSupported:!1,reset:nd,bold:nd,dim:nd,italic:nd,underline:nd,inverse:nd,hidden:nd,strikethrough:nd,black:nd,red:nd,green:nd,yellow:nd,blue:nd,magenta:nd,cyan:nd,white:nd,gray:nd,bgBlack:nd,bgRed:nd,bgGreen:nd,bgYellow:nd,bgBlue:nd,bgMagenta:nd,bgCyan:nd,bgWhite:nd}};qa.exports=od(),qa.exports.createColors=od}),ss=y$4(()=>{}),Ft$2=y$4((Ra,qa)=>{var nd=yi(),od=ss(),ld=class TC extends Error{constructor(dd,pd,fd,md,vd,Ad){super(dd),this.name="CssSyntaxError",this.reason=dd,vd&&(this.file=vd),md&&(this.source=md),Ad&&(this.plugin=Ad),typeof pd<"u"&&typeof fd<"u"&&(typeof pd=="number"?(this.line=pd,this.column=fd):(this.line=pd.line,this.column=pd.column,this.endLine=fd.line,this.endColumn=fd.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,TC)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(dd){if(!this.source)return"";let pd=this.source;dd==null&&(dd=nd.isColorSupported),od&&dd&&(pd=od(pd));let fd=pd.split(/\r?\n/),md=Math.max(this.line-3,0),vd=Math.min(this.line+2,fd.length),Ad=String(vd).length,Nd,Od;if(dd){let{bold:kd,gray:Ld,red:Gd}=nd.createColors(!0);Nd=jd=>kd(Gd(jd)),Od=jd=>Ld(jd)}else Nd=Od=kd=>kd;return fd.slice(md,vd).map((kd,Ld)=>{let Gd=md+1+Ld,jd=" "+(" "+Gd).slice(-Ad)+" | ";if(Gd===this.line){let Fd=Od(jd.replace(/\d/g," "))+kd.slice(0,this.column-1).replace(/[^\t]/g," ");return Nd(">")+Od(jd)+kd+`
`+Fd+Nd("^")}return" "+Od(jd)+kd}).join(`
`)}toString(){let dd=this.showSourceCode();return dd&&(dd=`
`+dd+`
`),this.name+": "+this.message+dd}};qa.exports=ld,ld.default=ld}),$t$2=y$4((Ra,qa)=>{var nd={after:`
`,beforeClose:`
`,beforeComment:`
`,beforeDecl:`
`,beforeOpen:" ",beforeRule:`
`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function od(ud){return ud[0].toUpperCase()+ud.slice(1)}var ld=class{constructor(ud){this.builder=ud}atrule(ud,dd){let pd="@"+ud.name,fd=ud.params?this.rawValue(ud,"params"):"";if(typeof ud.raws.afterName<"u"?pd+=ud.raws.afterName:fd&&(pd+=" "),ud.nodes)this.block(ud,pd+fd);else{let md=(ud.raws.between||"")+(dd?";":"");this.builder(pd+fd+md,ud)}}beforeAfter(ud,dd){let pd;ud.type==="decl"?pd=this.raw(ud,null,"beforeDecl"):ud.type==="comment"?pd=this.raw(ud,null,"beforeComment"):dd==="before"?pd=this.raw(ud,null,"beforeRule"):pd=this.raw(ud,null,"beforeClose");let fd=ud.parent,md=0;for(;fd&&fd.type!=="root";)md+=1,fd=fd.parent;if(pd.includes(`
`)){let vd=this.raw(ud,null,"indent");if(vd.length)for(let Ad=0;Ad<md;Ad++)pd+=vd}return pd}block(ud,dd){let pd=this.raw(ud,"between","beforeOpen");this.builder(dd+pd+"{",ud,"start");let fd;ud.nodes&&ud.nodes.length?(this.body(ud),fd=this.raw(ud,"after")):fd=this.raw(ud,"after","emptyBody"),fd&&this.builder(fd),this.builder("}",ud,"end")}body(ud){let dd=ud.nodes.length-1;for(;dd>0&&ud.nodes[dd].type==="comment";)dd-=1;let pd=this.raw(ud,"semicolon");for(let fd=0;fd<ud.nodes.length;fd++){let md=ud.nodes[fd],vd=this.raw(md,"before");vd&&this.builder(vd),this.stringify(md,dd!==fd||pd)}}comment(ud){let dd=this.raw(ud,"left","commentLeft"),pd=this.raw(ud,"right","commentRight");this.builder("/*"+dd+ud.text+pd+"*/",ud)}decl(ud,dd){let pd=this.raw(ud,"between","colon"),fd=ud.prop+pd+this.rawValue(ud,"value");ud.important&&(fd+=ud.raws.important||" !important"),dd&&(fd+=";"),this.builder(fd,ud)}document(ud){this.body(ud)}raw(ud,dd,pd){let fd;if(pd||(pd=dd),dd&&(fd=ud.raws[dd],typeof fd<"u"))return fd;let md=ud.parent;if(pd==="before"&&(!md||md.type==="root"&&md.first===ud||md&&md.type==="document"))return"";if(!md)return nd[pd];let vd=ud.root();if(vd.rawCache||(vd.rawCache={}),typeof vd.rawCache[pd]<"u")return vd.rawCache[pd];if(pd==="before"||pd==="after")return this.beforeAfter(ud,pd);{let Ad="raw"+od(pd);this[Ad]?fd=this[Ad](vd,ud):vd.walk(Nd=>{if(fd=Nd.raws[dd],typeof fd<"u")return!1})}return typeof fd>"u"&&(fd=nd[pd]),vd.rawCache[pd]=fd,fd}rawBeforeClose(ud){let dd;return ud.walk(pd=>{if(pd.nodes&&pd.nodes.length>0&&typeof pd.raws.after<"u")return dd=pd.raws.after,dd.includes(`
`)&&(dd=dd.replace(/[^\n]+$/,"")),!1}),dd&&(dd=dd.replace(/\S/g,"")),dd}rawBeforeComment(ud,dd){let pd;return ud.walkComments(fd=>{if(typeof fd.raws.before<"u")return pd=fd.raws.before,pd.includes(`
`)&&(pd=pd.replace(/[^\n]+$/,"")),!1}),typeof pd>"u"?pd=this.raw(dd,null,"beforeDecl"):pd&&(pd=pd.replace(/\S/g,"")),pd}rawBeforeDecl(ud,dd){let pd;return ud.walkDecls(fd=>{if(typeof fd.raws.before<"u")return pd=fd.raws.before,pd.includes(`
`)&&(pd=pd.replace(/[^\n]+$/,"")),!1}),typeof pd>"u"?pd=this.raw(dd,null,"beforeRule"):pd&&(pd=pd.replace(/\S/g,"")),pd}rawBeforeOpen(ud){let dd;return ud.walk(pd=>{if(pd.type!=="decl"&&(dd=pd.raws.between,typeof dd<"u"))return!1}),dd}rawBeforeRule(ud){let dd;return ud.walk(pd=>{if(pd.nodes&&(pd.parent!==ud||ud.first!==pd)&&typeof pd.raws.before<"u")return dd=pd.raws.before,dd.includes(`
`)&&(dd=dd.replace(/[^\n]+$/,"")),!1}),dd&&(dd=dd.replace(/\S/g,"")),dd}rawColon(ud){let dd;return ud.walkDecls(pd=>{if(typeof pd.raws.between<"u")return dd=pd.raws.between.replace(/[^\s:]/g,""),!1}),dd}rawEmptyBody(ud){let dd;return ud.walk(pd=>{if(pd.nodes&&pd.nodes.length===0&&(dd=pd.raws.after,typeof dd<"u"))return!1}),dd}rawIndent(ud){if(ud.raws.indent)return ud.raws.indent;let dd;return ud.walk(pd=>{let fd=pd.parent;if(fd&&fd!==ud&&fd.parent&&fd.parent===ud&&typeof pd.raws.before<"u"){let md=pd.raws.before.split(`
`);return dd=md[md.length-1],dd=dd.replace(/\S/g,""),!1}}),dd}rawSemicolon(ud){let dd;return ud.walk(pd=>{if(pd.nodes&&pd.nodes.length&&pd.last.type==="decl"&&(dd=pd.raws.semicolon,typeof dd<"u"))return!1}),dd}rawValue(ud,dd){let pd=ud[dd],fd=ud.raws[dd];return fd&&fd.value===pd?fd.raw:pd}root(ud){this.body(ud),ud.raws.after&&this.builder(ud.raws.after)}rule(ud){this.block(ud,this.rawValue(ud,"selector")),ud.raws.ownSemicolon&&this.builder(ud.raws.ownSemicolon,ud,"end")}stringify(ud,dd){if(!this[ud.type])throw new Error("Unknown AST node type "+ud.type+". Maybe you need to change PostCSS stringifier.");this[ud.type](ud,dd)}};qa.exports=ld,ld.default=ld}),it$2=y$4((Ra,qa)=>{var nd=$t$2();function od(ld,ud){new nd(ud).stringify(ld)}qa.exports=od,od.default=od}),at$5=y$4((Ra,qa)=>{var{isClean:nd,my:od}=Ut$3(),ld=Ft$2(),ud=$t$2(),dd=it$2();function pd(md,vd){let Ad=new md.constructor;for(let Nd in md){if(!Object.prototype.hasOwnProperty.call(md,Nd)||Nd==="proxyCache")continue;let Od=md[Nd],kd=typeof Od;Nd==="parent"&&kd==="object"?vd&&(Ad[Nd]=vd):Nd==="source"?Ad[Nd]=Od:Array.isArray(Od)?Ad[Nd]=Od.map(Ld=>pd(Ld,Ad)):(kd==="object"&&Od!==null&&(Od=pd(Od)),Ad[Nd]=Od)}return Ad}var fd=class{constructor(md={}){this.raws={},this[nd]=!1,this[od]=!0;for(let vd in md)if(vd==="nodes"){this.nodes=[];for(let Ad of md[vd])typeof Ad.clone=="function"?this.append(Ad.clone()):this.append(Ad)}else this[vd]=md[vd]}addToError(md){if(md.postcssNode=this,md.stack&&this.source&&/\n\s{4}at /.test(md.stack)){let vd=this.source;md.stack=md.stack.replace(/\n\s{4}at /,`$&${vd.input.from}:${vd.start.line}:${vd.start.column}$&`)}return md}after(md){return this.parent.insertAfter(this,md),this}assign(md={}){for(let vd in md)this[vd]=md[vd];return this}before(md){return this.parent.insertBefore(this,md),this}cleanRaws(md){delete this.raws.before,delete this.raws.after,md||delete this.raws.between}clone(md={}){let vd=pd(this);for(let Ad in md)vd[Ad]=md[Ad];return vd}cloneAfter(md={}){let vd=this.clone(md);return this.parent.insertAfter(this,vd),vd}cloneBefore(md={}){let vd=this.clone(md);return this.parent.insertBefore(this,vd),vd}error(md,vd={}){if(this.source){let{end:Ad,start:Nd}=this.rangeBy(vd);return this.source.input.error(md,{column:Nd.column,line:Nd.line},{column:Ad.column,line:Ad.line},vd)}return new ld(md)}getProxyProcessor(){return{get(md,vd){return vd==="proxyOf"?md:vd==="root"?()=>md.root().toProxy():md[vd]},set(md,vd,Ad){return md[vd]===Ad||(md[vd]=Ad,(vd==="prop"||vd==="value"||vd==="name"||vd==="params"||vd==="important"||vd==="text")&&md.markDirty()),!0}}}markDirty(){if(this[nd]){this[nd]=!1;let md=this;for(;md=md.parent;)md[nd]=!1}}next(){if(!this.parent)return;let md=this.parent.index(this);return this.parent.nodes[md+1]}positionBy(md,vd){let Ad=this.source.start;if(md.index)Ad=this.positionInside(md.index,vd);else if(md.word){vd=this.toString();let Nd=vd.indexOf(md.word);Nd!==-1&&(Ad=this.positionInside(Nd,vd))}return Ad}positionInside(md,vd){let Ad=vd||this.toString(),Nd=this.source.start.column,Od=this.source.start.line;for(let kd=0;kd<md;kd++)Ad[kd]===`
`?(Nd=1,Od+=1):Nd+=1;return{column:Nd,line:Od}}prev(){if(!this.parent)return;let md=this.parent.index(this);return this.parent.nodes[md-1]}rangeBy(md){let vd={column:this.source.start.column,line:this.source.start.line},Ad=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:vd.column+1,line:vd.line};if(md.word){let Nd=this.toString(),Od=Nd.indexOf(md.word);Od!==-1&&(vd=this.positionInside(Od,Nd),Ad=this.positionInside(Od+md.word.length,Nd))}else md.start?vd={column:md.start.column,line:md.start.line}:md.index&&(vd=this.positionInside(md.index)),md.end?Ad={column:md.end.column,line:md.end.line}:typeof md.endIndex=="number"?Ad=this.positionInside(md.endIndex):md.index&&(Ad=this.positionInside(md.index+1));return(Ad.line<vd.line||Ad.line===vd.line&&Ad.column<=vd.column)&&(Ad={column:vd.column+1,line:vd.line}),{end:Ad,start:vd}}raw(md,vd){return new ud().raw(this,md,vd)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...md){if(this.parent){let vd=this,Ad=!1;for(let Nd of md)Nd===this?Ad=!0:Ad?(this.parent.insertAfter(vd,Nd),vd=Nd):this.parent.insertBefore(vd,Nd);Ad||this.remove()}return this}root(){let md=this;for(;md.parent&&md.parent.type!=="document";)md=md.parent;return md}toJSON(md,vd){let Ad={},Nd=vd==null;vd=vd||new Map;let Od=0;for(let kd in this){if(!Object.prototype.hasOwnProperty.call(this,kd)||kd==="parent"||kd==="proxyCache")continue;let Ld=this[kd];if(Array.isArray(Ld))Ad[kd]=Ld.map(Gd=>typeof Gd=="object"&&Gd.toJSON?Gd.toJSON(null,vd):Gd);else if(typeof Ld=="object"&&Ld.toJSON)Ad[kd]=Ld.toJSON(null,vd);else if(kd==="source"){let Gd=vd.get(Ld.input);Gd==null&&(Gd=Od,vd.set(Ld.input,Od),Od++),Ad[kd]={end:Ld.end,inputId:Gd,start:Ld.start}}else Ad[kd]=Ld}return Nd&&(Ad.inputs=[...vd.keys()].map(kd=>kd.toJSON())),Ad}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(md=dd){md.stringify&&(md=md.stringify);let vd="";return md(this,Ad=>{vd+=Ad}),vd}warn(md,vd,Ad){let Nd={node:this};for(let Od in Ad)Nd[Od]=Ad[Od];return md.warn(vd,Nd)}get proxyOf(){return this}};qa.exports=fd,fd.default=fd}),lt$2=y$4((Ra,qa)=>{var nd=at$5(),od=class extends nd{constructor(ld){ld&&typeof ld.value<"u"&&typeof ld.value!="string"&&(ld={...ld,value:String(ld.value)}),super(ld),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};qa.exports=od,od.default=od}),Oe$3=y$4((Ra,qa)=>{var nd=at$5(),od=class extends nd{constructor(ld){super(ld),this.type="comment"}};qa.exports=od,od.default=od}),re$3=y$4((Ra,qa)=>{var{isClean:nd,my:od}=Ut$3(),ld=lt$2(),ud=Oe$3(),dd=at$5(),pd,fd,md,vd;function Ad(kd){return kd.map(Ld=>(Ld.nodes&&(Ld.nodes=Ad(Ld.nodes)),delete Ld.source,Ld))}function Nd(kd){if(kd[nd]=!1,kd.proxyOf.nodes)for(let Ld of kd.proxyOf.nodes)Nd(Ld)}var Od=class xC extends dd{append(...Ld){for(let Gd of Ld){let jd=this.normalize(Gd,this.last);for(let Fd of jd)this.proxyOf.nodes.push(Fd)}return this.markDirty(),this}cleanRaws(Ld){if(super.cleanRaws(Ld),this.nodes)for(let Gd of this.nodes)Gd.cleanRaws(Ld)}each(Ld){if(!this.proxyOf.nodes)return;let Gd=this.getIterator(),jd,Fd;for(;this.indexes[Gd]<this.proxyOf.nodes.length&&(jd=this.indexes[Gd],Fd=Ld(this.proxyOf.nodes[jd],jd),Fd!==!1);)this.indexes[Gd]+=1;return delete this.indexes[Gd],Fd}every(Ld){return this.nodes.every(Ld)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let Ld=this.lastEach;return this.indexes[Ld]=0,Ld}getProxyProcessor(){return{get(Ld,Gd){return Gd==="proxyOf"?Ld:Ld[Gd]?Gd==="each"||typeof Gd=="string"&&Gd.startsWith("walk")?(...jd)=>Ld[Gd](...jd.map(Fd=>typeof Fd=="function"?(Ud,qd)=>Fd(Ud.toProxy(),qd):Fd)):Gd==="every"||Gd==="some"?jd=>Ld[Gd]((Fd,...Ud)=>jd(Fd.toProxy(),...Ud)):Gd==="root"?()=>Ld.root().toProxy():Gd==="nodes"?Ld.nodes.map(jd=>jd.toProxy()):Gd==="first"||Gd==="last"?Ld[Gd].toProxy():Ld[Gd]:Ld[Gd]},set(Ld,Gd,jd){return Ld[Gd]===jd||(Ld[Gd]=jd,(Gd==="name"||Gd==="params"||Gd==="selector")&&Ld.markDirty()),!0}}}index(Ld){return typeof Ld=="number"?Ld:(Ld.proxyOf&&(Ld=Ld.proxyOf),this.proxyOf.nodes.indexOf(Ld))}insertAfter(Ld,Gd){let jd=this.index(Ld),Fd=this.normalize(Gd,this.proxyOf.nodes[jd]).reverse();jd=this.index(Ld);for(let qd of Fd)this.proxyOf.nodes.splice(jd+1,0,qd);let Ud;for(let qd in this.indexes)Ud=this.indexes[qd],jd<Ud&&(this.indexes[qd]=Ud+Fd.length);return this.markDirty(),this}insertBefore(Ld,Gd){let jd=this.index(Ld),Fd=jd===0?"prepend":!1,Ud=this.normalize(Gd,this.proxyOf.nodes[jd],Fd).reverse();jd=this.index(Ld);for(let zd of Ud)this.proxyOf.nodes.splice(jd,0,zd);let qd;for(let zd in this.indexes)qd=this.indexes[zd],jd<=qd&&(this.indexes[zd]=qd+Ud.length);return this.markDirty(),this}normalize(Ld,Gd){if(typeof Ld=="string")Ld=Ad(pd(Ld).nodes);else if(typeof Ld>"u")Ld=[];else if(Array.isArray(Ld)){Ld=Ld.slice(0);for(let jd of Ld)jd.parent&&jd.parent.removeChild(jd,"ignore")}else if(Ld.type==="root"&&this.type!=="document"){Ld=Ld.nodes.slice(0);for(let jd of Ld)jd.parent&&jd.parent.removeChild(jd,"ignore")}else if(Ld.type)Ld=[Ld];else if(Ld.prop){if(typeof Ld.value>"u")throw new Error("Value field is missed in node creation");typeof Ld.value!="string"&&(Ld.value=String(Ld.value)),Ld=[new ld(Ld)]}else if(Ld.selector)Ld=[new fd(Ld)];else if(Ld.name)Ld=[new md(Ld)];else if(Ld.text)Ld=[new ud(Ld)];else throw new Error("Unknown node type in node creation");return Ld.map(jd=>(jd[od]||xC.rebuild(jd),jd=jd.proxyOf,jd.parent&&jd.parent.removeChild(jd),jd[nd]&&Nd(jd),typeof jd.raws.before>"u"&&Gd&&typeof Gd.raws.before<"u"&&(jd.raws.before=Gd.raws.before.replace(/\S/g,"")),jd.parent=this.proxyOf,jd))}prepend(...Ld){Ld=Ld.reverse();for(let Gd of Ld){let jd=this.normalize(Gd,this.first,"prepend").reverse();for(let Fd of jd)this.proxyOf.nodes.unshift(Fd);for(let Fd in this.indexes)this.indexes[Fd]=this.indexes[Fd]+jd.length}return this.markDirty(),this}push(Ld){return Ld.parent=this,this.proxyOf.nodes.push(Ld),this}removeAll(){for(let Ld of this.proxyOf.nodes)Ld.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(Ld){Ld=this.index(Ld),this.proxyOf.nodes[Ld].parent=void 0,this.proxyOf.nodes.splice(Ld,1);let Gd;for(let jd in this.indexes)Gd=this.indexes[jd],Gd>=Ld&&(this.indexes[jd]=Gd-1);return this.markDirty(),this}replaceValues(Ld,Gd,jd){return jd||(jd=Gd,Gd={}),this.walkDecls(Fd=>{Gd.props&&!Gd.props.includes(Fd.prop)||Gd.fast&&!Fd.value.includes(Gd.fast)||(Fd.value=Fd.value.replace(Ld,jd))}),this.markDirty(),this}some(Ld){return this.nodes.some(Ld)}walk(Ld){return this.each((Gd,jd)=>{let Fd;try{Fd=Ld(Gd,jd)}catch(Ud){throw Gd.addToError(Ud)}return Fd!==!1&&Gd.walk&&(Fd=Gd.walk(Ld)),Fd})}walkAtRules(Ld,Gd){return Gd?Ld instanceof RegExp?this.walk((jd,Fd)=>{if(jd.type==="atrule"&&Ld.test(jd.name))return Gd(jd,Fd)}):this.walk((jd,Fd)=>{if(jd.type==="atrule"&&jd.name===Ld)return Gd(jd,Fd)}):(Gd=Ld,this.walk((jd,Fd)=>{if(jd.type==="atrule")return Gd(jd,Fd)}))}walkComments(Ld){return this.walk((Gd,jd)=>{if(Gd.type==="comment")return Ld(Gd,jd)})}walkDecls(Ld,Gd){return Gd?Ld instanceof RegExp?this.walk((jd,Fd)=>{if(jd.type==="decl"&&Ld.test(jd.prop))return Gd(jd,Fd)}):this.walk((jd,Fd)=>{if(jd.type==="decl"&&jd.prop===Ld)return Gd(jd,Fd)}):(Gd=Ld,this.walk((jd,Fd)=>{if(jd.type==="decl")return Gd(jd,Fd)}))}walkRules(Ld,Gd){return Gd?Ld instanceof RegExp?this.walk((jd,Fd)=>{if(jd.type==="rule"&&Ld.test(jd.selector))return Gd(jd,Fd)}):this.walk((jd,Fd)=>{if(jd.type==="rule"&&jd.selector===Ld)return Gd(jd,Fd)}):(Gd=Ld,this.walk((jd,Fd)=>{if(jd.type==="rule")return Gd(jd,Fd)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}};Od.registerParse=kd=>{pd=kd},Od.registerRule=kd=>{fd=kd},Od.registerAtRule=kd=>{md=kd},Od.registerRoot=kd=>{vd=kd},qa.exports=Od,Od.default=Od,Od.rebuild=kd=>{kd.type==="atrule"?Object.setPrototypeOf(kd,md.prototype):kd.type==="rule"?Object.setPrototypeOf(kd,fd.prototype):kd.type==="decl"?Object.setPrototypeOf(kd,ld.prototype):kd.type==="comment"?Object.setPrototypeOf(kd,ud.prototype):kd.type==="root"&&Object.setPrototypeOf(kd,vd.prototype),kd[od]=!0,kd.nodes&&kd.nodes.forEach(Ld=>{Od.rebuild(Ld)})}}),Vt$2=y$4((Ra,qa)=>{var nd=/[\t\n\f\r "#'()/;[\\\]{}]/g,od=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,ld=/.[\r\n"'(/\\]/,ud=/[\da-f]/i;qa.exports=function(dd,pd={}){let fd=dd.css.valueOf(),md=pd.ignoreErrors,vd,Ad,Nd,Od,kd,Ld,Gd,jd,Fd,Ud,qd=fd.length,zd=0,Wd=[],Jd=[];function _f(){return zd}function Xd(Tf){throw dd.error("Unclosed "+Tf,zd)}function pf(){return Jd.length===0&&zd>=qd}function mf(Tf){if(Jd.length)return Jd.pop();if(zd>=qd)return;let Af=Tf?Tf.ignoreUnclosed:!1;switch(vd=fd.charCodeAt(zd),vd){case 10:case 32:case 9:case 13:case 12:{Ad=zd;do Ad+=1,vd=fd.charCodeAt(Ad);while(vd===32||vd===10||vd===9||vd===13||vd===12);Ud=["space",fd.slice(zd,Ad)],zd=Ad-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let Ef=String.fromCharCode(vd);Ud=[Ef,Ef,zd];break}case 40:{if(jd=Wd.length?Wd.pop()[1]:"",Fd=fd.charCodeAt(zd+1),jd==="url"&&Fd!==39&&Fd!==34&&Fd!==32&&Fd!==10&&Fd!==9&&Fd!==12&&Fd!==13){Ad=zd;do{if(Ld=!1,Ad=fd.indexOf(")",Ad+1),Ad===-1)if(md||Af){Ad=zd;break}else Xd("bracket");for(Gd=Ad;fd.charCodeAt(Gd-1)===92;)Gd-=1,Ld=!Ld}while(Ld);Ud=["brackets",fd.slice(zd,Ad+1),zd,Ad],zd=Ad}else Ad=fd.indexOf(")",zd+1),Od=fd.slice(zd,Ad+1),Ad===-1||ld.test(Od)?Ud=["(","(",zd]:(Ud=["brackets",Od,zd,Ad],zd=Ad);break}case 39:case 34:{Nd=vd===39?"'":'"',Ad=zd;do{if(Ld=!1,Ad=fd.indexOf(Nd,Ad+1),Ad===-1)if(md||Af){Ad=zd+1;break}else Xd("string");for(Gd=Ad;fd.charCodeAt(Gd-1)===92;)Gd-=1,Ld=!Ld}while(Ld);Ud=["string",fd.slice(zd,Ad+1),zd,Ad],zd=Ad;break}case 64:{nd.lastIndex=zd+1,nd.test(fd),nd.lastIndex===0?Ad=fd.length-1:Ad=nd.lastIndex-2,Ud=["at-word",fd.slice(zd,Ad+1),zd,Ad],zd=Ad;break}case 92:{for(Ad=zd,kd=!0;fd.charCodeAt(Ad+1)===92;)Ad+=1,kd=!kd;if(vd=fd.charCodeAt(Ad+1),kd&&vd!==47&&vd!==32&&vd!==10&&vd!==9&&vd!==13&&vd!==12&&(Ad+=1,ud.test(fd.charAt(Ad)))){for(;ud.test(fd.charAt(Ad+1));)Ad+=1;fd.charCodeAt(Ad+1)===32&&(Ad+=1)}Ud=["word",fd.slice(zd,Ad+1),zd,Ad],zd=Ad;break}default:{vd===47&&fd.charCodeAt(zd+1)===42?(Ad=fd.indexOf("*/",zd+2)+1,Ad===0&&(md||Af?Ad=fd.length:Xd("comment")),Ud=["comment",fd.slice(zd,Ad+1),zd,Ad],zd=Ad):(od.lastIndex=zd+1,od.test(fd),od.lastIndex===0?Ad=fd.length-1:Ad=od.lastIndex-2,Ud=["word",fd.slice(zd,Ad+1),zd,Ad],Wd.push(Ud),zd=Ad);break}}return zd++,Ud}function Sf(Tf){Jd.push(Tf)}return{back:Sf,endOfFile:pf,nextToken:mf,position:_f}}}),Gt$2=y$4((Ra,qa)=>{var nd=re$3(),od=class extends nd{constructor(ld){super(ld),this.type="atrule"}append(...ld){return this.proxyOf.nodes||(this.nodes=[]),super.append(...ld)}prepend(...ld){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...ld)}};qa.exports=od,od.default=od,nd.registerAtRule(od)}),Ae$4=y$4((Ra,qa)=>{var nd=re$3(),od,ld,ud=class extends nd{constructor(dd){super(dd),this.type="root",this.nodes||(this.nodes=[])}normalize(dd,pd,fd){let md=super.normalize(dd);if(pd){if(fd==="prepend")this.nodes.length>1?pd.raws.before=this.nodes[1].raws.before:delete pd.raws.before;else if(this.first!==pd)for(let vd of md)vd.raws.before=pd.raws.before}return md}removeChild(dd,pd){let fd=this.index(dd);return!pd&&fd===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[fd].raws.before),super.removeChild(dd)}toResult(dd={}){return new od(new ld,this,dd).stringify()}};ud.registerLazyResult=dd=>{od=dd},ud.registerProcessor=dd=>{ld=dd},qa.exports=ud,ud.default=ud,nd.registerRoot(ud)}),us=y$4((Ra,qa)=>{var nd={comma(od){return nd.split(od,[","],!0)},space(od){let ld=[" ",`
`," "];return nd.split(od,ld)},split(od,ld,ud){let dd=[],pd="",fd=!1,md=0,vd=!1,Ad="",Nd=!1;for(let Od of od)Nd?Nd=!1:Od==="\\"?Nd=!0:vd?Od===Ad&&(vd=!1):Od==='"'||Od==="'"?(vd=!0,Ad=Od):Od==="("?md+=1:Od===")"?md>0&&(md-=1):md===0&&ld.includes(Od)&&(fd=!0),fd?(pd!==""&&dd.push(pd.trim()),pd="",fd=!1):pd+=Od;return(ud||pd!=="")&&dd.push(pd.trim()),dd}};qa.exports=nd,nd.default=nd}),jt$1=y$4((Ra,qa)=>{var nd=re$3(),od=us(),ld=class extends nd{constructor(ud){super(ud),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return od.comma(this.selector)}set selectors(ud){let dd=this.selector?this.selector.match(/,\s*/):null,pd=dd?dd[0]:","+this.raw("between","beforeOpen");this.selector=ud.join(pd)}};qa.exports=ld,ld.default=ld,nd.registerRule(ld)}),Ht$2=y$4((Ra,qa)=>{var nd=lt$2(),od=Vt$2(),ld=Oe$3(),ud=Gt$2(),dd=Ae$4(),pd=jt$1(),fd={empty:!0,space:!0};function md(Ad){for(let Nd=Ad.length-1;Nd>=0;Nd--){let Od=Ad[Nd],kd=Od[3]||Od[2];if(kd)return kd}}var vd=class{constructor(Ad){this.input=Ad,this.root=new dd,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:Ad,start:{column:1,line:1,offset:0}}}atrule(Ad){let Nd=new ud;Nd.name=Ad[1].slice(1),Nd.name===""&&this.unnamedAtrule(Nd,Ad),this.init(Nd,Ad[2]);let Od,kd,Ld,Gd=!1,jd=!1,Fd=[],Ud=[];for(;!this.tokenizer.endOfFile();){if(Ad=this.tokenizer.nextToken(),Od=Ad[0],Od==="("||Od==="["?Ud.push(Od==="("?")":"]"):Od==="{"&&Ud.length>0?Ud.push("}"):Od===Ud[Ud.length-1]&&Ud.pop(),Ud.length===0)if(Od===";"){Nd.source.end=this.getPosition(Ad[2]),Nd.source.end.offset++,this.semicolon=!0;break}else if(Od==="{"){jd=!0;break}else if(Od==="}"){if(Fd.length>0){for(Ld=Fd.length-1,kd=Fd[Ld];kd&&kd[0]==="space";)kd=Fd[--Ld];kd&&(Nd.source.end=this.getPosition(kd[3]||kd[2]),Nd.source.end.offset++)}this.end(Ad);break}else Fd.push(Ad);else Fd.push(Ad);if(this.tokenizer.endOfFile()){Gd=!0;break}}Nd.raws.between=this.spacesAndCommentsFromEnd(Fd),Fd.length?(Nd.raws.afterName=this.spacesAndCommentsFromStart(Fd),this.raw(Nd,"params",Fd),Gd&&(Ad=Fd[Fd.length-1],Nd.source.end=this.getPosition(Ad[3]||Ad[2]),Nd.source.end.offset++,this.spaces=Nd.raws.between,Nd.raws.between="")):(Nd.raws.afterName="",Nd.params=""),jd&&(Nd.nodes=[],this.current=Nd)}checkMissedSemicolon(Ad){let Nd=this.colon(Ad);if(Nd===!1)return;let Od=0,kd;for(let Ld=Nd-1;Ld>=0&&(kd=Ad[Ld],!(kd[0]!=="space"&&(Od+=1,Od===2)));Ld--);throw this.input.error("Missed semicolon",kd[0]==="word"?kd[3]+1:kd[2])}colon(Ad){let Nd=0,Od,kd,Ld;for(let[Gd,jd]of Ad.entries()){if(Od=jd,kd=Od[0],kd==="("&&(Nd+=1),kd===")"&&(Nd-=1),Nd===0&&kd===":")if(!Ld)this.doubleColon(Od);else{if(Ld[0]==="word"&&Ld[1]==="progid")continue;return Gd}Ld=Od}return!1}comment(Ad){let Nd=new ld;this.init(Nd,Ad[2]),Nd.source.end=this.getPosition(Ad[3]||Ad[2]),Nd.source.end.offset++;let Od=Ad[1].slice(2,-2);if(/^\s*$/.test(Od))Nd.text="",Nd.raws.left=Od,Nd.raws.right="";else{let kd=Od.match(/^(\s*)([^]*\S)(\s*)$/);Nd.text=kd[2],Nd.raws.left=kd[1],Nd.raws.right=kd[3]}}createTokenizer(){this.tokenizer=od(this.input)}decl(Ad,Nd){let Od=new nd;this.init(Od,Ad[0][2]);let kd=Ad[Ad.length-1];for(kd[0]===";"&&(this.semicolon=!0,Ad.pop()),Od.source.end=this.getPosition(kd[3]||kd[2]||md(Ad)),Od.source.end.offset++;Ad[0][0]!=="word";)Ad.length===1&&this.unknownWord(Ad),Od.raws.before+=Ad.shift()[1];for(Od.source.start=this.getPosition(Ad[0][2]),Od.prop="";Ad.length;){let Fd=Ad[0][0];if(Fd===":"||Fd==="space"||Fd==="comment")break;Od.prop+=Ad.shift()[1]}Od.raws.between="";let Ld;for(;Ad.length;)if(Ld=Ad.shift(),Ld[0]===":"){Od.raws.between+=Ld[1];break}else Ld[0]==="word"&&/\w/.test(Ld[1])&&this.unknownWord([Ld]),Od.raws.between+=Ld[1];(Od.prop[0]==="_"||Od.prop[0]==="*")&&(Od.raws.before+=Od.prop[0],Od.prop=Od.prop.slice(1));let Gd=[],jd;for(;Ad.length&&(jd=Ad[0][0],!(jd!=="space"&&jd!=="comment"));)Gd.push(Ad.shift());this.precheckMissedSemicolon(Ad);for(let Fd=Ad.length-1;Fd>=0;Fd--){if(Ld=Ad[Fd],Ld[1].toLowerCase()==="!important"){Od.important=!0;let Ud=this.stringFrom(Ad,Fd);Ud=this.spacesFromEnd(Ad)+Ud,Ud!==" !important"&&(Od.raws.important=Ud);break}else if(Ld[1].toLowerCase()==="important"){let Ud=Ad.slice(0),qd="";for(let zd=Fd;zd>0;zd--){let Wd=Ud[zd][0];if(qd.trim().indexOf("!")===0&&Wd!=="space")break;qd=Ud.pop()[1]+qd}qd.trim().indexOf("!")===0&&(Od.important=!0,Od.raws.important=qd,Ad=Ud)}if(Ld[0]!=="space"&&Ld[0]!=="comment")break}Ad.some(Fd=>Fd[0]!=="space"&&Fd[0]!=="comment")&&(Od.raws.between+=Gd.map(Fd=>Fd[1]).join(""),Gd=[]),this.raw(Od,"value",Gd.concat(Ad),Nd),Od.value.includes(":")&&!Nd&&this.checkMissedSemicolon(Ad)}doubleColon(Ad){throw this.input.error("Double colon",{offset:Ad[2]},{offset:Ad[2]+Ad[1].length})}emptyRule(Ad){let Nd=new pd;this.init(Nd,Ad[2]),Nd.selector="",Nd.raws.between="",this.current=Nd}end(Ad){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(Ad[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(Ad)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(Ad){if(this.spaces+=Ad[1],this.current.nodes){let Nd=this.current.nodes[this.current.nodes.length-1];Nd&&Nd.type==="rule"&&!Nd.raws.ownSemicolon&&(Nd.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(Ad){let Nd=this.input.fromOffset(Ad);return{column:Nd.col,line:Nd.line,offset:Ad}}init(Ad,Nd){this.current.push(Ad),Ad.source={input:this.input,start:this.getPosition(Nd)},Ad.raws.before=this.spaces,this.spaces="",Ad.type!=="comment"&&(this.semicolon=!1)}other(Ad){let Nd=!1,Od=null,kd=!1,Ld=null,Gd=[],jd=Ad[1].startsWith("--"),Fd=[],Ud=Ad;for(;Ud;){if(Od=Ud[0],Fd.push(Ud),Od==="("||Od==="[")Ld||(Ld=Ud),Gd.push(Od==="("?")":"]");else if(jd&&kd&&Od==="{")Ld||(Ld=Ud),Gd.push("}");else if(Gd.length===0)if(Od===";")if(kd){this.decl(Fd,jd);return}else break;else if(Od==="{"){this.rule(Fd);return}else if(Od==="}"){this.tokenizer.back(Fd.pop()),Nd=!0;break}else Od===":"&&(kd=!0);else Od===Gd[Gd.length-1]&&(Gd.pop(),Gd.length===0&&(Ld=null));Ud=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(Nd=!0),Gd.length>0&&this.unclosedBracket(Ld),Nd&&kd){if(!jd)for(;Fd.length&&(Ud=Fd[Fd.length-1][0],!(Ud!=="space"&&Ud!=="comment"));)this.tokenizer.back(Fd.pop());this.decl(Fd,jd)}else this.unknownWord(Fd)}parse(){let Ad;for(;!this.tokenizer.endOfFile();)switch(Ad=this.tokenizer.nextToken(),Ad[0]){case"space":this.spaces+=Ad[1];break;case";":this.freeSemicolon(Ad);break;case"}":this.end(Ad);break;case"comment":this.comment(Ad);break;case"at-word":this.atrule(Ad);break;case"{":this.emptyRule(Ad);break;default:this.other(Ad);break}this.endFile()}precheckMissedSemicolon(){}raw(Ad,Nd,Od,kd){let Ld,Gd,jd=Od.length,Fd="",Ud=!0,qd,zd;for(let Wd=0;Wd<jd;Wd+=1)Ld=Od[Wd],Gd=Ld[0],Gd==="space"&&Wd===jd-1&&!kd?Ud=!1:Gd==="comment"?(zd=Od[Wd-1]?Od[Wd-1][0]:"empty",qd=Od[Wd+1]?Od[Wd+1][0]:"empty",!fd[zd]&&!fd[qd]?Fd.slice(-1)===","?Ud=!1:Fd+=Ld[1]:Ud=!1):Fd+=Ld[1];if(!Ud){let Wd=Od.reduce((Jd,_f)=>Jd+_f[1],"");Ad.raws[Nd]={raw:Wd,value:Fd}}Ad[Nd]=Fd}rule(Ad){Ad.pop();let Nd=new pd;this.init(Nd,Ad[0][2]),Nd.raws.between=this.spacesAndCommentsFromEnd(Ad),this.raw(Nd,"selector",Ad),this.current=Nd}spacesAndCommentsFromEnd(Ad){let Nd,Od="";for(;Ad.length&&(Nd=Ad[Ad.length-1][0],!(Nd!=="space"&&Nd!=="comment"));)Od=Ad.pop()[1]+Od;return Od}spacesAndCommentsFromStart(Ad){let Nd,Od="";for(;Ad.length&&(Nd=Ad[0][0],!(Nd!=="space"&&Nd!=="comment"));)Od+=Ad.shift()[1];return Od}spacesFromEnd(Ad){let Nd,Od="";for(;Ad.length&&(Nd=Ad[Ad.length-1][0],Nd==="space");)Od=Ad.pop()[1]+Od;return Od}stringFrom(Ad,Nd){let Od="";for(let kd=Nd;kd<Ad.length;kd++)Od+=Ad[kd][1];return Ad.splice(Nd,Ad.length-Nd),Od}unclosedBlock(){let Ad=this.current.source.start;throw this.input.error("Unclosed block",Ad.line,Ad.column)}unclosedBracket(Ad){throw this.input.error("Unclosed bracket",{offset:Ad[2]},{offset:Ad[2]+1})}unexpectedClose(Ad){throw this.input.error("Unexpected }",{offset:Ad[2]},{offset:Ad[2]+1})}unknownWord(Ad){throw this.input.error("Unknown word",{offset:Ad[0][2]},{offset:Ad[0][2]+Ad[0][1].length})}unnamedAtrule(Ad,Nd){throw this.input.error("At-rule without name",{offset:Nd[2]},{offset:Nd[2]+Nd[1].length})}};qa.exports=vd}),Ki=y$4(()=>{}),Ji=y$4((Ra,qa)=>{var nd="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",od=(ud,dd=21)=>(pd=dd)=>{let fd="",md=pd;for(;md--;)fd+=ud[Math.random()*ud.length|0];return fd},ld=(ud=21)=>{let dd="",pd=ud;for(;pd--;)dd+=nd[Math.random()*64|0];return dd};qa.exports={nanoid:ld,customAlphabet:od}}),cs$1=y$4((Ra,qa)=>{qa.exports=class{}}),Re$4=y$4((Ra,qa)=>{var{SourceMapConsumer:nd,SourceMapGenerator:od}=Ki(),{fileURLToPath:ld,pathToFileURL:ud}={},{isAbsolute:dd,resolve:pd}={},{nanoid:fd}=Ji(),md=ss(),vd=Ft$2(),Ad=cs$1(),Nd=Symbol("fromOffsetCache"),Od=!!(nd&&od),kd=!!(pd&&dd),Ld=class{constructor(Gd,jd={}){if(Gd===null||typeof Gd>"u"||typeof Gd=="object"&&!Gd.toString)throw new Error(`PostCSS received ${Gd} instead of CSS string`);if(this.css=Gd.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,jd.from&&(!kd||/^\w+:\/\//.test(jd.from)||dd(jd.from)?this.file=jd.from:this.file=pd(jd.from)),kd&&Od){let Fd=new Ad(this.css,jd);if(Fd.text){this.map=Fd;let Ud=Fd.consumer().file;!this.file&&Ud&&(this.file=this.mapResolve(Ud))}}this.file||(this.id="<input css "+fd(6)+">"),this.map&&(this.map.file=this.from)}error(Gd,jd,Fd,Ud={}){let qd,zd,Wd;if(jd&&typeof jd=="object"){let _f=jd,Xd=Fd;if(typeof _f.offset=="number"){let pf=this.fromOffset(_f.offset);jd=pf.line,Fd=pf.col}else jd=_f.line,Fd=_f.column;if(typeof Xd.offset=="number"){let pf=this.fromOffset(Xd.offset);zd=pf.line,Wd=pf.col}else zd=Xd.line,Wd=Xd.column}else if(!Fd){let _f=this.fromOffset(jd);jd=_f.line,Fd=_f.col}let Jd=this.origin(jd,Fd,zd,Wd);return Jd?qd=new vd(Gd,Jd.endLine===void 0?Jd.line:{column:Jd.column,line:Jd.line},Jd.endLine===void 0?Jd.column:{column:Jd.endColumn,line:Jd.endLine},Jd.source,Jd.file,Ud.plugin):qd=new vd(Gd,zd===void 0?jd:{column:Fd,line:jd},zd===void 0?Fd:{column:Wd,line:zd},this.css,this.file,Ud.plugin),qd.input={column:Fd,endColumn:Wd,endLine:zd,line:jd,source:this.css},this.file&&(ud&&(qd.input.url=ud(this.file).toString()),qd.input.file=this.file),qd}fromOffset(Gd){let jd,Fd;if(this[Nd])Fd=this[Nd];else{let qd=this.css.split(`
`);Fd=new Array(qd.length);let zd=0;for(let Wd=0,Jd=qd.length;Wd<Jd;Wd++)Fd[Wd]=zd,zd+=qd[Wd].length+1;this[Nd]=Fd}jd=Fd[Fd.length-1];let Ud=0;if(Gd>=jd)Ud=Fd.length-1;else{let qd=Fd.length-2,zd;for(;Ud<qd;)if(zd=Ud+(qd-Ud>>1),Gd<Fd[zd])qd=zd-1;else if(Gd>=Fd[zd+1])Ud=zd+1;else{Ud=zd;break}}return{col:Gd-Fd[Ud]+1,line:Ud+1}}mapResolve(Gd){return/^\w+:\/\//.test(Gd)?Gd:pd(this.map.consumer().sourceRoot||this.map.root||".",Gd)}origin(Gd,jd,Fd,Ud){if(!this.map)return!1;let qd=this.map.consumer(),zd=qd.originalPositionFor({column:jd,line:Gd});if(!zd.source)return!1;let Wd;typeof Fd=="number"&&(Wd=qd.originalPositionFor({column:Ud,line:Fd}));let Jd;dd(zd.source)?Jd=ud(zd.source):Jd=new URL(zd.source,this.map.consumer().sourceRoot||ud(this.map.mapFile));let _f={column:zd.column,endColumn:Wd&&Wd.column,endLine:Wd&&Wd.line,line:zd.line,url:Jd.toString()};if(Jd.protocol==="file:")if(ld)_f.file=ld(Jd);else throw new Error("file: protocol is not available in this PostCSS build");let Xd=qd.sourceContentFor(zd.source);return Xd&&(_f.source=Xd),_f}toJSON(){let Gd={};for(let jd of["hasBOM","css","file","id"])this[jd]!=null&&(Gd[jd]=this[jd]);return this.map&&(Gd.map={...this.map},Gd.map.consumerCache&&(Gd.map.consumerCache=void 0)),Gd}get from(){return this.file||this.id}};qa.exports=Ld,Ld.default=Ld,md&&md.registerInput&&md.registerInput(Ld)}),pt$2=y$4((Ra,qa)=>{var nd=re$3(),od=Ht$2(),ld=Re$4();function ud(dd,pd){let fd=new ld(dd,pd),md=new od(fd);try{md.parse()}catch(vd){throw vd}return md.root}qa.exports=ud,ud.default=ud,nd.registerParse(ud)}),no$1=y$4((Ra,qa)=>{var nd=Vt$2(),od=Re$4();qa.exports={isInlineComment(ld){if(ld[0]==="word"&&ld[1].slice(0,2)==="//"){let ud=ld,dd=[],pd,fd;for(;ld;){if(/\r?\n/.test(ld[1])){if(/['"].*\r?\n/.test(ld[1])){dd.push(ld[1].substring(0,ld[1].indexOf(`
`))),fd=ld[1].substring(ld[1].indexOf(`
`));let vd=this.input.css.valueOf().substring(this.tokenizer.position());fd+=vd,pd=ld[3]+vd.length-fd.length}else this.tokenizer.back(ld);break}dd.push(ld[1]),pd=ld[2],ld=this.tokenizer.nextToken({ignoreUnclosed:!0})}let md=["comment",dd.join(""),ud[2],pd];return this.inlineComment(md),fd&&(this.input=new od(fd),this.tokenizer=nd(this.input)),!0}else if(ld[1]==="/"){let ud=this.tokenizer.nextToken({ignoreUnclosed:!0});if(ud[0]==="comment"&&/^\/\*/.test(ud[1]))return ud[0]="word",ud[1]=ud[1].slice(1),ld[1]="//",this.tokenizer.back(ud),qa.exports.isInlineComment.bind(this)(ld)}return!1}}}),oo$1=y$4((Ra,qa)=>{qa.exports={interpolation(nd){let od=[nd,this.tokenizer.nextToken()],ld=["word","}"];if(od[0][1].length>1||od[1][0]!=="{")return this.tokenizer.back(od[1]),!1;for(nd=this.tokenizer.nextToken();nd&&ld.includes(nd[0]);)od.push(nd),nd=this.tokenizer.nextToken();let ud=od.map(md=>md[1]),[dd]=od,pd=od.pop(),fd=["word",ud.join(""),dd[2],pd[2]];return this.tokenizer.back(nd),this.tokenizer.back(fd),!0}}}),uo$1=y$4((Ra,qa)=>{var nd=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/,od=/\.[0-9]/,ld=ud=>{let[,dd]=ud,[pd]=dd;return(pd==="."||pd==="#")&&nd.test(dd)===!1&&od.test(dd)===!1};qa.exports={isMixinToken:ld}}),co$2=y$4((Ra,qa)=>{var nd=Vt$2(),od=/^url\((.+)\)/;qa.exports=ld=>{let{name:ud,params:dd=""}=ld;if(ud==="import"&&dd.length){ld.import=!0;let pd=nd({css:dd});for(ld.filename=dd.replace(od,"$1");!pd.endOfFile();){let[fd,md]=pd.nextToken();if(fd==="word"&&md==="url")return;if(fd==="brackets"){ld.options=md,ld.filename=dd.replace(md,"").trim();break}}}}}),mo$1=y$4((Ra,qa)=>{var nd=/:$/,od=/^:(\s+)?/;qa.exports=ld=>{let{name:ud,params:dd=""}=ld;if(ld.name.slice(-1)===":"){if(nd.test(ud)){let[pd]=ud.match(nd);ld.name=ud.replace(pd,""),ld.raws.afterName=pd+(ld.raws.afterName||""),ld.variable=!0,ld.value=ld.params}if(od.test(dd)){let[pd]=dd.match(od);ld.value=dd.replace(pd,""),ld.raws.afterName=(ld.raws.afterName||"")+pd,ld.variable=!0}}}}),go$1=y$4((Ra,qa)=>{var nd=Oe$3(),od=Ht$2(),{isInlineComment:ld}=no$1(),{interpolation:ud}=oo$1(),{isMixinToken:dd}=uo$1(),pd=co$2(),fd=mo$1(),md=/(!\s*important)$/i;qa.exports=class extends od{constructor(...vd){super(...vd),this.lastNode=null}atrule(vd){ud.bind(this)(vd)||(super.atrule(vd),pd(this.lastNode),fd(this.lastNode))}decl(...vd){super.decl(...vd),/extend\(.+\)/i.test(this.lastNode.value)&&(this.lastNode.extend=!0)}each(vd){vd[0][1]=` ${vd[0][1]}`;let Ad=vd.findIndex(Ld=>Ld[0]==="("),Nd=vd.reverse().find(Ld=>Ld[0]===")"),Od=vd.reverse().indexOf(Nd),kd=vd.splice(Ad,Od).map(Ld=>Ld[1]).join("");for(let Ld of vd.reverse())this.tokenizer.back(Ld);this.atrule(this.tokenizer.nextToken()),this.lastNode.function=!0,this.lastNode.params=kd}init(vd,Ad,Nd){super.init(vd,Ad,Nd),this.lastNode=vd}inlineComment(vd){let Ad=new nd,Nd=vd[1].slice(2);if(this.init(Ad,vd[2]),Ad.source.end=this.getPosition(vd[3]||vd[2]),Ad.inline=!0,Ad.raws.begin="//",/^\s*$/.test(Nd))Ad.text="",Ad.raws.left=Nd,Ad.raws.right="";else{let Od=Nd.match(/^(\s*)([^]*[^\s])(\s*)$/);[,Ad.raws.left,Ad.text,Ad.raws.right]=Od}}mixin(vd){let[Ad]=vd,Nd=Ad[1].slice(0,1),Od=vd.findIndex(Fd=>Fd[0]==="brackets"),kd=vd.findIndex(Fd=>Fd[0]==="("),Ld="";if((Od<0||Od>3)&&kd>0){let Fd=vd.reduce((mf,Sf,Tf)=>Sf[0]===")"?Tf:mf),Ud=vd.slice(kd,Fd+kd).map(mf=>mf[1]).join(""),[qd]=vd.slice(kd),zd=[qd[2],qd[3]],[Wd]=vd.slice(Fd,Fd+1),Jd=[Wd[2],Wd[3]],_f=["brackets",Ud].concat(zd,Jd),Xd=vd.slice(0,kd),pf=vd.slice(Fd+1);vd=Xd,vd.push(_f),vd=vd.concat(pf)}let Gd=[];for(let Fd of vd)if((Fd[1]==="!"||Gd.length)&&Gd.push(Fd),Fd[1]==="important")break;if(Gd.length){let[Fd]=Gd,Ud=vd.indexOf(Fd),qd=Gd[Gd.length-1],zd=[Fd[2],Fd[3]],Wd=[qd[4],qd[5]],Jd=["word",Gd.map(_f=>_f[1]).join("")].concat(zd,Wd);vd.splice(Ud,Gd.length,Jd)}let jd=vd.findIndex(Fd=>md.test(Fd[1]));jd>0&&([,Ld]=vd[jd],vd.splice(jd,1));for(let Fd of vd.reverse())this.tokenizer.back(Fd);this.atrule(this.tokenizer.nextToken()),this.lastNode.mixin=!0,this.lastNode.raws.identifier=Nd,Ld&&(this.lastNode.important=!0,this.lastNode.raws.important=Ld)}other(vd){ld.bind(this)(vd)||super.other(vd)}rule(vd){let Ad=vd[vd.length-1],Nd=vd[vd.length-2];if(Nd[0]==="at-word"&&Ad[0]==="{"&&(this.tokenizer.back(Ad),ud.bind(this)(Nd))){let Od=this.tokenizer.nextToken();vd=vd.slice(0,vd.length-2).concat([Od]);for(let kd of vd.reverse())this.tokenizer.back(kd);return}super.rule(vd),/:extend\(.+\)/i.test(this.lastNode.selector)&&(this.lastNode.extend=!0)}unknownWord(vd){let[Ad]=vd;if(vd[0][1]==="each"&&vd[1][0]==="("){this.each(vd);return}if(dd(Ad)){this.mixin(vd);return}super.unknownWord(vd)}}}),xo$1=y$4((Ra,qa)=>{var nd=$t$2();qa.exports=class extends nd{atrule(od,ld){if(!od.mixin&&!od.variable&&!od.function){super.atrule(od,ld);return}let ud=`${od.function?"":od.raws.identifier||"@"}${od.name}`,dd=od.params?this.rawValue(od,"params"):"",pd=od.raws.important||"";if(od.variable&&(dd=od.value),typeof od.raws.afterName<"u"?ud+=od.raws.afterName:dd&&(ud+=" "),od.nodes)this.block(od,ud+dd+pd);else{let fd=(od.raws.between||"")+pd+(ld?";":"");this.builder(ud+dd+fd,od)}}comment(od){if(od.inline){let ld=this.raw(od,"left","commentLeft"),ud=this.raw(od,"right","commentRight");this.builder(`//${ld}${od.text}${ud}`,od)}else super.comment(od)}}}),bo$1=y$4((Ra,qa)=>{var nd=Re$4(),od=go$1(),ld=xo$1();qa.exports={parse(ud,dd){let pd=new nd(ud,dd),fd=new od(pd);return fd.parse(),fd.root.walk(md=>{let vd=pd.css.lastIndexOf(md.source.input.css);if(vd===0)return;if(vd+md.source.input.css.length!==pd.css.length)throw new Error("Invalid state detected in postcss-less");let Ad=vd+md.source.start.offset,Nd=pd.fromOffset(vd+md.source.start.offset);if(md.source.start={offset:Ad,line:Nd.line,column:Nd.col},md.source.end){let Od=vd+md.source.end.offset,kd=pd.fromOffset(vd+md.source.end.offset);md.source.end={offset:Od,line:kd.line,column:kd.col}}}),fd.root},stringify(ud,dd){new ld(dd).stringify(ud)},nodeToString(ud){let dd="";return qa.exports.stringify(ud,pd=>{dd+=pd}),dd}}}),ws=y$4((Ra,qa)=>{qa.exports=class{generate(){}}}),Jt$3=y$4((Ra,qa)=>{var nd=re$3(),od,ld,ud=class extends nd{constructor(dd){super({type:"document",...dd}),this.nodes||(this.nodes=[])}toResult(dd={}){return new od(new ld,this,dd).stringify()}};ud.registerLazyResult=dd=>{od=dd},ud.registerProcessor=dd=>{ld=dd},qa.exports=ud,ud.default=ud}),gs=y$4((Ra,qa)=>{var nd={};qa.exports=function(od){nd[od]||(nd[od]=!0,typeof console<"u"&&console.warn&&console.warn(od))}}),vs=y$4((Ra,qa)=>{var nd=class{constructor(od,ld={}){if(this.type="warning",this.text=od,ld.node&&ld.node.source){let ud=ld.node.rangeBy(ld);this.line=ud.start.line,this.column=ud.start.column,this.endLine=ud.end.line,this.endColumn=ud.end.column}for(let ud in ld)this[ud]=ld[ud]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};qa.exports=nd,nd.default=nd}),Xt$1=y$4((Ra,qa)=>{var nd=vs(),od=class{constructor(ld,ud,dd){this.processor=ld,this.messages=[],this.root=ud,this.opts=dd,this.css=void 0,this.map=void 0}toString(){return this.css}warn(ld,ud={}){ud.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(ud.plugin=this.lastPlugin.postcssPlugin);let dd=new nd(ld,ud);return this.messages.push(dd),dd}warnings(){return this.messages.filter(ld=>ld.type==="warning")}get content(){return this.css}};qa.exports=od,od.default=od}),_s$1=y$4((Ra,qa)=>{var{isClean:nd,my:od}=Ut$3(),ld=ws(),ud=it$2(),dd=re$3(),pd=Jt$3();gs();var fd=Xt$1(),md=pt$2(),vd=Ae$4(),Ad={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},Nd={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},Od={Once:!0,postcssPlugin:!0,prepare:!0},kd=0;function Ld(zd){return typeof zd=="object"&&typeof zd.then=="function"}function Gd(zd){let Wd=!1,Jd=Ad[zd.type];return zd.type==="decl"?Wd=zd.prop.toLowerCase():zd.type==="atrule"&&(Wd=zd.name.toLowerCase()),Wd&&zd.append?[Jd,Jd+"-"+Wd,kd,Jd+"Exit",Jd+"Exit-"+Wd]:Wd?[Jd,Jd+"-"+Wd,Jd+"Exit",Jd+"Exit-"+Wd]:zd.append?[Jd,kd,Jd+"Exit"]:[Jd,Jd+"Exit"]}function jd(zd){let Wd;return zd.type==="document"?Wd=["Document",kd,"DocumentExit"]:zd.type==="root"?Wd=["Root",kd,"RootExit"]:Wd=Gd(zd),{eventIndex:0,events:Wd,iterator:0,node:zd,visitorIndex:0,visitors:[]}}function Fd(zd){return zd[nd]=!1,zd.nodes&&zd.nodes.forEach(Wd=>Fd(Wd)),zd}var Ud={},qd=class CC{constructor(Wd,Jd,_f){this.stringified=!1,this.processed=!1;let Xd;if(typeof Jd=="object"&&Jd!==null&&(Jd.type==="root"||Jd.type==="document"))Xd=Fd(Jd);else if(Jd instanceof CC||Jd instanceof fd)Xd=Fd(Jd.root),Jd.map&&(typeof _f.map>"u"&&(_f.map={}),_f.map.inline||(_f.map.inline=!1),_f.map.prev=Jd.map);else{let pf=md;_f.syntax&&(pf=_f.syntax.parse),_f.parser&&(pf=_f.parser),pf.parse&&(pf=pf.parse);try{Xd=pf(Jd,_f)}catch(mf){this.processed=!0,this.error=mf}Xd&&!Xd[od]&&dd.rebuild(Xd)}this.result=new fd(Wd,Xd,_f),this.helpers={...Ud,postcss:Ud,result:this.result},this.plugins=this.processor.plugins.map(pf=>typeof pf=="object"&&pf.prepare?{...pf,...pf.prepare(this.result)}:pf)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(Wd){return this.async().catch(Wd)}finally(Wd){return this.async().then(Wd,Wd)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(Wd,Jd){let _f=this.result.lastPlugin;try{Jd&&Jd.addToError(Wd),this.error=Wd,Wd.name==="CssSyntaxError"&&!Wd.plugin?(Wd.plugin=_f.postcssPlugin,Wd.setMessage()):_f.postcssVersion}catch(Xd){console&&console.error&&console.error(Xd)}return Wd}prepareVisitors(){this.listeners={};let Wd=(Jd,_f,Xd)=>{this.listeners[_f]||(this.listeners[_f]=[]),this.listeners[_f].push([Jd,Xd])};for(let Jd of this.plugins)if(typeof Jd=="object")for(let _f in Jd){if(!Nd[_f]&&/^[A-Z]/.test(_f))throw new Error(`Unknown event ${_f} in ${Jd.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!Od[_f])if(typeof Jd[_f]=="object")for(let Xd in Jd[_f])Xd==="*"?Wd(Jd,_f,Jd[_f][Xd]):Wd(Jd,_f+"-"+Xd.toLowerCase(),Jd[_f][Xd]);else typeof Jd[_f]=="function"&&Wd(Jd,_f,Jd[_f])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let Wd=0;Wd<this.plugins.length;Wd++){let Jd=this.plugins[Wd],_f=this.runOnRoot(Jd);if(Ld(_f))try{await _f}catch(Xd){throw this.handleError(Xd)}}if(this.prepareVisitors(),this.hasListener){let Wd=this.result.root;for(;!Wd[nd];){Wd[nd]=!0;let Jd=[jd(Wd)];for(;Jd.length>0;){let _f=this.visitTick(Jd);if(Ld(_f))try{await _f}catch(Xd){let pf=Jd[Jd.length-1].node;throw this.handleError(Xd,pf)}}}if(this.listeners.OnceExit)for(let[Jd,_f]of this.listeners.OnceExit){this.result.lastPlugin=Jd;try{if(Wd.type==="document"){let Xd=Wd.nodes.map(pf=>_f(pf,this.helpers));await Promise.all(Xd)}else await _f(Wd,this.helpers)}catch(Xd){throw this.handleError(Xd)}}}return this.processed=!0,this.stringify()}runOnRoot(Wd){this.result.lastPlugin=Wd;try{if(typeof Wd=="object"&&Wd.Once){if(this.result.root.type==="document"){let Jd=this.result.root.nodes.map(_f=>Wd.Once(_f,this.helpers));return Ld(Jd[0])?Promise.all(Jd):Jd}return Wd.Once(this.result.root,this.helpers)}else if(typeof Wd=="function")return Wd(this.result.root,this.result)}catch(Jd){throw this.handleError(Jd)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let Wd=this.result.opts,Jd=ud;Wd.syntax&&(Jd=Wd.syntax.stringify),Wd.stringifier&&(Jd=Wd.stringifier),Jd.stringify&&(Jd=Jd.stringify);let _f=new ld(Jd,this.result.root,this.result.opts).generate();return this.result.css=_f[0],this.result.map=_f[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let Wd of this.plugins){let Jd=this.runOnRoot(Wd);if(Ld(Jd))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let Wd=this.result.root;for(;!Wd[nd];)Wd[nd]=!0,this.walkSync(Wd);if(this.listeners.OnceExit)if(Wd.type==="document")for(let Jd of Wd.nodes)this.visitSync(this.listeners.OnceExit,Jd);else this.visitSync(this.listeners.OnceExit,Wd)}return this.result}then(Wd,Jd){return this.async().then(Wd,Jd)}toString(){return this.css}visitSync(Wd,Jd){for(let[_f,Xd]of Wd){this.result.lastPlugin=_f;let pf;try{pf=Xd(Jd,this.helpers)}catch(mf){throw this.handleError(mf,Jd.proxyOf)}if(Jd.type!=="root"&&Jd.type!=="document"&&!Jd.parent)return!0;if(Ld(pf))throw this.getAsyncError()}}visitTick(Wd){let Jd=Wd[Wd.length-1],{node:_f,visitors:Xd}=Jd;if(_f.type!=="root"&&_f.type!=="document"&&!_f.parent){Wd.pop();return}if(Xd.length>0&&Jd.visitorIndex<Xd.length){let[mf,Sf]=Xd[Jd.visitorIndex];Jd.visitorIndex+=1,Jd.visitorIndex===Xd.length&&(Jd.visitors=[],Jd.visitorIndex=0),this.result.lastPlugin=mf;try{return Sf(_f.toProxy(),this.helpers)}catch(Tf){throw this.handleError(Tf,_f)}}if(Jd.iterator!==0){let mf=Jd.iterator,Sf;for(;Sf=_f.nodes[_f.indexes[mf]];)if(_f.indexes[mf]+=1,!Sf[nd]){Sf[nd]=!0,Wd.push(jd(Sf));return}Jd.iterator=0,delete _f.indexes[mf]}let pf=Jd.events;for(;Jd.eventIndex<pf.length;){let mf=pf[Jd.eventIndex];if(Jd.eventIndex+=1,mf===kd){_f.nodes&&_f.nodes.length&&(_f[nd]=!0,Jd.iterator=_f.getIterator());return}else if(this.listeners[mf]){Jd.visitors=this.listeners[mf];return}}Wd.pop()}walkSync(Wd){Wd[nd]=!0;let Jd=Gd(Wd);for(let _f of Jd)if(_f===kd)Wd.nodes&&Wd.each(Xd=>{Xd[nd]||this.walkSync(Xd)});else{let Xd=this.listeners[_f];if(Xd&&this.visitSync(Xd,Wd.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}};qd.registerPostcss=zd=>{Ud=zd},qa.exports=qd,qd.default=qd,vd.registerLazyResult(qd),pd.registerLazyResult(qd)}),Lo$1=y$4((Ra,qa)=>{var nd=ws(),od=it$2();gs();var ld=pt$2(),ud=Xt$1(),dd=class{constructor(pd,fd,md){fd=fd.toString(),this.stringified=!1,this._processor=pd,this._css=fd,this._opts=md,this._map=void 0;let vd,Ad=od;this.result=new ud(this._processor,vd,this._opts),this.result.css=fd;let Nd=this;Object.defineProperty(this.result,"root",{get(){return Nd.root}});let Od=new nd(Ad,vd,this._opts,fd);if(Od.isMap()){let[kd,Ld]=Od.generate();kd&&(this.result.css=kd),Ld&&(this.result.map=Ld)}else Od.clearAnnotation(),this.result.css=Od.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(pd){return this.async().catch(pd)}finally(pd){return this.async().then(pd,pd)}sync(){if(this.error)throw this.error;return this.result}then(pd,fd){return this.async().then(pd,fd)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let pd,fd=ld;try{pd=fd(this._css,this._opts)}catch(md){this.error=md}if(this.error)throw this.error;return this._root=pd,pd}get[Symbol.toStringTag](){return"NoWorkResult"}};qa.exports=dd,dd.default=dd}),Mo$1=y$4((Ra,qa)=>{var nd=Lo$1(),od=_s$1(),ld=Jt$3(),ud=Ae$4(),dd=class{constructor(pd=[]){this.version="8.4.39",this.plugins=this.normalize(pd)}normalize(pd){let fd=[];for(let md of pd)if(md.postcss===!0?md=md():md.postcss&&(md=md.postcss),typeof md=="object"&&Array.isArray(md.plugins))fd=fd.concat(md.plugins);else if(typeof md=="object"&&md.postcssPlugin)fd.push(md);else if(typeof md=="function")fd.push(md);else if(!(typeof md=="object"&&(md.parse||md.stringify)))throw new Error(md+" is not a PostCSS plugin");return fd}process(pd,fd={}){return!this.plugins.length&&!fd.parser&&!fd.stringifier&&!fd.syntax?new nd(this,pd,fd):new od(this,pd,fd)}use(pd){return this.plugins=this.plugins.concat(this.normalize([pd])),this}};qa.exports=dd,dd.default=dd,ud.registerProcessor(dd),ld.registerProcessor(dd)}),Uo$1=y$4((Ra,qa)=>{var nd=lt$2(),od=cs$1(),ld=Oe$3(),ud=Gt$2(),dd=Re$4(),pd=Ae$4(),fd=jt$1();function md(vd,Ad){if(Array.isArray(vd))return vd.map(kd=>md(kd));let{inputs:Nd,...Od}=vd;if(Nd){Ad=[];for(let kd of Nd){let Ld={...kd,__proto__:dd.prototype};Ld.map&&(Ld.map={...Ld.map,__proto__:od.prototype}),Ad.push(Ld)}}if(Od.nodes&&(Od.nodes=vd.nodes.map(kd=>md(kd,Ad))),Od.source){let{inputId:kd,...Ld}=Od.source;Od.source=Ld,kd!=null&&(Od.source.input=Ad[kd])}if(Od.type==="root")return new pd(Od);if(Od.type==="decl")return new nd(Od);if(Od.type==="rule")return new fd(Od);if(Od.type==="comment")return new ld(Od);if(Od.type==="atrule")return new ud(Od);throw new Error("Unknown node type: "+vd.type)}qa.exports=md,md.default=md}),Zt$2=y$4((Ra,qa)=>{var nd=Ft$2(),od=lt$2(),ld=_s$1(),ud=re$3(),dd=Mo$1(),pd=it$2(),fd=Uo$1(),md=Jt$3(),vd=vs(),Ad=Oe$3(),Nd=Gt$2(),Od=Xt$1(),kd=Re$4(),Ld=pt$2(),Gd=us(),jd=jt$1(),Fd=Ae$4(),Ud=at$5();function qd(...zd){return zd.length===1&&Array.isArray(zd[0])&&(zd=zd[0]),new dd(zd)}qd.plugin=function(zd,Wd){let Jd=!1;function _f(...pf){console&&console.warn&&!Jd&&(Jd=!0,console.warn(zd+`: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration`));let mf=Wd(...pf);return mf.postcssPlugin=zd,mf.postcssVersion=new dd().version,mf}let Xd;return Object.defineProperty(_f,"postcss",{get(){return Xd||(Xd=_f()),Xd}}),_f.process=function(pf,mf,Sf){return qd([_f(Sf)]).process(pf,mf)},_f},qd.stringify=pd,qd.parse=Ld,qd.fromJSON=fd,qd.list=Gd,qd.comment=zd=>new Ad(zd),qd.atRule=zd=>new Nd(zd),qd.decl=zd=>new od(zd),qd.rule=zd=>new jd(zd),qd.root=zd=>new Fd(zd),qd.document=zd=>new md(zd),qd.CssSyntaxError=nd,qd.Declaration=od,qd.Container=ud,qd.Processor=dd,qd.Document=md,qd.Comment=Ad,qd.Warning=vd,qd.AtRule=Nd,qd.Result=Od,qd.Input=kd,qd.Rule=jd,qd.Root=Fd,qd.Node=Ud,ld.registerPostcss(qd),qa.exports=qd,qd.default=qd}),Ho$1=y$4((Ra,qa)=>{var{Container:nd}=Zt$2(),od=class extends nd{constructor(ld){super(ld),this.type="decl",this.isNested=!0,this.nodes||(this.nodes=[])}};qa.exports=od}),Jo$1=y$4((Ra,qa)=>{var nd=/[\t\n\f\r "#'()/;[\\\]{}]/g,od=/[,\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,ld=/.[\r\n"'(/\\]/,ud=/[\da-f]/i,dd=/[\n\f\r]/g;qa.exports=function(pd,fd={}){let md=pd.css.valueOf(),vd=fd.ignoreErrors,Ad,Nd,Od,kd,Ld,Gd,jd,Fd,Ud,qd=md.length,zd=0,Wd=[],Jd=[],_f;function Xd(){return zd}function pf(Ef){throw pd.error("Unclosed "+Ef,zd)}function mf(){return Jd.length===0&&zd>=qd}function Sf(){let Ef=1,Nf=!1,If=!1;for(;Ef>0;)Nd+=1,md.length<=Nd&&pf("interpolation"),Ad=md.charCodeAt(Nd),Fd=md.charCodeAt(Nd+1),Nf?!If&&Ad===Nf?(Nf=!1,If=!1):Ad===92?If=!If:If&&(If=!1):Ad===39||Ad===34?Nf=Ad:Ad===125?Ef-=1:Ad===35&&Fd===123&&(Ef+=1)}function Tf(Ef){if(Jd.length)return Jd.pop();if(zd>=qd)return;let Nf=Ef?Ef.ignoreUnclosed:!1;switch(Ad=md.charCodeAt(zd),Ad){case 10:case 32:case 9:case 13:case 12:{Nd=zd;do Nd+=1,Ad=md.charCodeAt(Nd);while(Ad===32||Ad===10||Ad===9||Ad===13||Ad===12);Ud=["space",md.slice(zd,Nd)],zd=Nd-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let If=String.fromCharCode(Ad);Ud=[If,If,zd];break}case 44:{Ud=["word",",",zd,zd+1];break}case 40:{if(jd=Wd.length?Wd.pop()[1]:"",Fd=md.charCodeAt(zd+1),jd==="url"&&Fd!==39&&Fd!==34){for(_f=1,Gd=!1,Nd=zd+1;Nd<=md.length-1;){if(Fd=md.charCodeAt(Nd),Fd===92)Gd=!Gd;else if(Fd===40)_f+=1;else if(Fd===41&&(_f-=1,_f===0))break;Nd+=1}kd=md.slice(zd,Nd+1),Ud=["brackets",kd,zd,Nd],zd=Nd}else Nd=md.indexOf(")",zd+1),kd=md.slice(zd,Nd+1),Nd===-1||ld.test(kd)?Ud=["(","(",zd]:(Ud=["brackets",kd,zd,Nd],zd=Nd);break}case 39:case 34:{for(Od=Ad,Nd=zd,Gd=!1;Nd<qd&&(Nd++,Nd===qd&&pf("string"),Ad=md.charCodeAt(Nd),Fd=md.charCodeAt(Nd+1),!(!Gd&&Ad===Od));)Ad===92?Gd=!Gd:Gd?Gd=!1:Ad===35&&Fd===123&&Sf();Ud=["string",md.slice(zd,Nd+1),zd,Nd],zd=Nd;break}case 64:{nd.lastIndex=zd+1,nd.test(md),nd.lastIndex===0?Nd=md.length-1:Nd=nd.lastIndex-2,Ud=["at-word",md.slice(zd,Nd+1),zd,Nd],zd=Nd;break}case 92:{for(Nd=zd,Ld=!0;md.charCodeAt(Nd+1)===92;)Nd+=1,Ld=!Ld;if(Ad=md.charCodeAt(Nd+1),Ld&&Ad!==47&&Ad!==32&&Ad!==10&&Ad!==9&&Ad!==13&&Ad!==12&&(Nd+=1,ud.test(md.charAt(Nd)))){for(;ud.test(md.charAt(Nd+1));)Nd+=1;md.charCodeAt(Nd+1)===32&&(Nd+=1)}Ud=["word",md.slice(zd,Nd+1),zd,Nd],zd=Nd;break}default:Fd=md.charCodeAt(zd+1),Ad===35&&Fd===123?(Nd=zd,Sf(),kd=md.slice(zd,Nd+1),Ud=["word",kd,zd,Nd],zd=Nd):Ad===47&&Fd===42?(Nd=md.indexOf("*/",zd+2)+1,Nd===0&&(vd||Nf?Nd=md.length:pf("comment")),Ud=["comment",md.slice(zd,Nd+1),zd,Nd],zd=Nd):Ad===47&&Fd===47?(dd.lastIndex=zd+1,dd.test(md),dd.lastIndex===0?Nd=md.length-1:Nd=dd.lastIndex-2,kd=md.slice(zd,Nd+1),Ud=["comment",kd,zd,Nd,"inline"],zd=Nd):(od.lastIndex=zd+1,od.test(md),od.lastIndex===0?Nd=md.length-1:Nd=od.lastIndex-2,Ud=["word",md.slice(zd,Nd+1),zd,Nd],Wd.push(Ud),zd=Nd);break}return zd++,Ud}function Af(Ef){Jd.push(Ef)}return{back:Af,endOfFile:mf,nextToken:Tf,position:Xd}}}),Zo$1=y$4((Ra,qa)=>{var{Comment:nd}=Zt$2(),od=Ht$2(),ld=Ho$1(),ud=Jo$1(),dd=class extends od{atrule(pd){let fd=pd[1],md=pd;for(;!this.tokenizer.endOfFile();){let vd=this.tokenizer.nextToken();if(vd[0]==="word"&&vd[2]===md[3]+1)fd+=vd[1],md=vd;else{this.tokenizer.back(vd);break}}super.atrule(["at-word",fd,pd[2],md[3]])}comment(pd){if(pd[4]==="inline"){let fd=new nd;this.init(fd,pd[2]),fd.raws.inline=!0;let md=this.input.fromOffset(pd[3]);fd.source.end={column:md.col,line:md.line,offset:pd[3]+1};let vd=pd[1].slice(2);if(/^\s*$/.test(vd))fd.text="",fd.raws.left=vd,fd.raws.right="";else{let Ad=vd.match(/^(\s*)([^]*\S)(\s*)$/),Nd=Ad[2].replace(/(\*\/|\/\*)/g,"*//*");fd.text=Nd,fd.raws.left=Ad[1],fd.raws.right=Ad[3],fd.raws.text=Ad[2]}}else super.comment(pd)}createTokenizer(){this.tokenizer=ud(this.input)}raw(pd,fd,md,vd){if(super.raw(pd,fd,md,vd),pd.raws[fd]){let Ad=pd.raws[fd].raw;pd.raws[fd].raw=md.reduce((Nd,Od)=>{if(Od[0]==="comment"&&Od[4]==="inline"){let kd=Od[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return Nd+"/*"+kd+"*/"}else return Nd+Od[1]},""),Ad!==pd.raws[fd].raw&&(pd.raws[fd].scss=Ad)}}rule(pd){let fd=!1,md=0,vd="";for(let Ad of pd)if(fd)Ad[0]!=="comment"&&Ad[0]!=="{"&&(vd+=Ad[1]);else{if(Ad[0]==="space"&&Ad[1].includes(`
`))break;Ad[0]==="("?md+=1:Ad[0]===")"?md-=1:md===0&&Ad[0]===":"&&(fd=!0)}if(!fd||vd.trim()===""||/^[#:A-Za-z-]/.test(vd))super.rule(pd);else{pd.pop();let Ad=new ld;this.init(Ad,pd[0][2]);let Nd;for(let kd=pd.length-1;kd>=0;kd--)if(pd[kd][0]!=="space"){Nd=pd[kd];break}if(Nd[3]){let kd=this.input.fromOffset(Nd[3]);Ad.source.end={column:kd.col,line:kd.line,offset:Nd[3]+1}}else{let kd=this.input.fromOffset(Nd[2]);Ad.source.end={column:kd.col,line:kd.line,offset:Nd[2]+1}}for(;pd[0][0]!=="word";)Ad.raws.before+=pd.shift()[1];if(pd[0][2]){let kd=this.input.fromOffset(pd[0][2]);Ad.source.start={column:kd.col,line:kd.line,offset:pd[0][2]}}for(Ad.prop="";pd.length;){let kd=pd[0][0];if(kd===":"||kd==="space"||kd==="comment")break;Ad.prop+=pd.shift()[1]}Ad.raws.between="";let Od;for(;pd.length;)if(Od=pd.shift(),Od[0]===":"){Ad.raws.between+=Od[1];break}else Ad.raws.between+=Od[1];(Ad.prop[0]==="_"||Ad.prop[0]==="*")&&(Ad.raws.before+=Ad.prop[0],Ad.prop=Ad.prop.slice(1)),Ad.raws.between+=this.spacesAndCommentsFromStart(pd),this.precheckMissedSemicolon(pd);for(let kd=pd.length-1;kd>0;kd--){if(Od=pd[kd],Od[1]==="!important"){Ad.important=!0;let Ld=this.stringFrom(pd,kd);Ld=this.spacesFromEnd(pd)+Ld,Ld!==" !important"&&(Ad.raws.important=Ld);break}else if(Od[1]==="important"){let Ld=pd.slice(0),Gd="";for(let jd=kd;jd>0;jd--){let Fd=Ld[jd][0];if(Gd.trim().indexOf("!")===0&&Fd!=="space")break;Gd=Ld.pop()[1]+Gd}Gd.trim().indexOf("!")===0&&(Ad.important=!0,Ad.raws.important=Gd,pd=Ld)}if(Od[0]!=="space"&&Od[0]!=="comment")break}this.raw(Ad,"value",pd),Ad.value.includes(":")&&this.checkMissedSemicolon(pd),this.current=Ad}}};qa.exports=dd}),ta=y$4((Ra,qa)=>{var{Input:nd}=Zt$2(),od=Zo$1();qa.exports=function(ld,ud){let dd=new nd(ld,ud),pd=new od(dd);return pd.parse(),pd.root}}),Os=y$4(Ra=>{Object.defineProperty(Ra,"__esModule",{value:!0});function qa(nd){this.after=nd.after,this.before=nd.before,this.type=nd.type,this.value=nd.value,this.sourceIndex=nd.sourceIndex}Ra.default=qa}),As=y$4(Ra=>{Object.defineProperty(Ra,"__esModule",{value:!0});var qa=Os(),nd=od(qa);function od(ud){return ud&&ud.__esModule?ud:{default:ud}}function ld(ud){var dd=this;this.constructor(ud),this.nodes=ud.nodes,this.after===void 0&&(this.after=this.nodes.length>0?this.nodes[this.nodes.length-1].after:""),this.before===void 0&&(this.before=this.nodes.length>0?this.nodes[0].before:""),this.sourceIndex===void 0&&(this.sourceIndex=this.before.length),this.nodes.forEach(function(pd){pd.parent=dd})}ld.prototype=Object.create(nd.default.prototype),ld.constructor=nd.default,ld.prototype.walk=function(ud,dd){for(var pd=typeof ud=="string"||ud instanceof RegExp,fd=pd?dd:ud,md=typeof ud=="string"?new RegExp(ud):ud,vd=0;vd<this.nodes.length;vd++){var Ad=this.nodes[vd],Nd=pd?md.test(Ad.type):!0;if(Nd&&fd&&fd(Ad,vd,this.nodes)===!1||Ad.nodes&&Ad.walk(ud,dd)===!1)return!1}return!0},ld.prototype.each=function(){for(var ud=arguments.length<=0||arguments[0]===void 0?function(){}:arguments[0],dd=0;dd<this.nodes.length;dd++){var pd=this.nodes[dd];if(ud(pd,dd,this.nodes)===!1)return!1}return!0},Ra.default=ld}),aa$1=y$4(Ra=>{Object.defineProperty(Ra,"__esModule",{value:!0}),Ra.parseMediaFeature=dd,Ra.parseMediaQuery=pd,Ra.parseMediaList=fd;var qa=Os(),nd=ud(qa),od=As(),ld=ud(od);function ud(md){return md&&md.__esModule?md:{default:md}}function dd(md){var vd=arguments.length<=1||arguments[1]===void 0?0:arguments[1],Ad=[{mode:"normal",character:null}],Nd=[],Od=0,kd="",Ld=null,Gd=null,jd=vd,Fd=md;md[0]==="("&&md[md.length-1]===")"&&(Fd=md.substring(1,md.length-1),jd++);for(var Ud=0;Ud<Fd.length;Ud++){var qd=Fd[Ud];if((qd==="'"||qd==='"')&&(Ad[Od].isCalculationEnabled===!0?(Ad.push({mode:"string",isCalculationEnabled:!1,character:qd}),Od++):Ad[Od].mode==="string"&&Ad[Od].character===qd&&Fd[Ud-1]!=="\\"&&(Ad.pop(),Od--)),qd==="{"?(Ad.push({mode:"interpolation",isCalculationEnabled:!0}),Od++):qd==="}"&&(Ad.pop(),Od--),Ad[Od].mode==="normal"&&qd===":"){var zd=Fd.substring(Ud+1);Gd={type:"value",before:/^(\s*)/.exec(zd)[1],after:/(\s*)$/.exec(zd)[1],value:zd.trim()},Gd.sourceIndex=Gd.before.length+Ud+1+jd,Ld={type:"colon",sourceIndex:Ud+jd,after:Gd.before,value:":"};break}kd+=qd}return kd={type:"media-feature",before:/^(\s*)/.exec(kd)[1],after:/(\s*)$/.exec(kd)[1],value:kd.trim()},kd.sourceIndex=kd.before.length+jd,Nd.push(kd),Ld!==null&&(Ld.before=kd.after,Nd.push(Ld)),Gd!==null&&Nd.push(Gd),Nd}function pd(md){var vd=arguments.length<=1||arguments[1]===void 0?0:arguments[1],Ad=[],Nd=0,Od=!1,kd=void 0;function Ld(){return{before:"",after:"",value:""}}kd=Ld();for(var Gd=0;Gd<md.length;Gd++){var jd=md[Gd];Od?(kd.value+=jd,(jd==="{"||jd==="(")&&Nd++,(jd===")"||jd==="}")&&Nd--):jd.search(/\s/)!==-1?kd.before+=jd:(jd==="("&&(kd.type="media-feature-expression",Nd++),kd.value=jd,kd.sourceIndex=vd+Gd,Od=!0),Od&&Nd===0&&(jd===")"||Gd===md.length-1||md[Gd+1].search(/\s/)!==-1)&&(["not","only","and"].indexOf(kd.value)!==-1&&(kd.type="keyword"),kd.type==="media-feature-expression"&&(kd.nodes=dd(kd.value,kd.sourceIndex)),Ad.push(Array.isArray(kd.nodes)?new ld.default(kd):new nd.default(kd)),kd=Ld(),Od=!1)}for(var Fd=0;Fd<Ad.length;Fd++)if(kd=Ad[Fd],Fd>0&&(Ad[Fd-1].after=kd.before),kd.type===void 0){if(Fd>0){if(Ad[Fd-1].type==="media-feature-expression"){kd.type="keyword";continue}if(Ad[Fd-1].value==="not"||Ad[Fd-1].value==="only"){kd.type="media-type";continue}if(Ad[Fd-1].value==="and"){kd.type="media-feature-expression";continue}Ad[Fd-1].type==="media-type"&&(Ad[Fd+1]?kd.type=Ad[Fd+1].type==="media-feature-expression"?"keyword":"media-feature-expression":kd.type="media-feature-expression")}if(Fd===0){if(!Ad[Fd+1]){kd.type="media-type";continue}if(Ad[Fd+1]&&(Ad[Fd+1].type==="media-feature-expression"||Ad[Fd+1].type==="keyword")){kd.type="media-type";continue}if(Ad[Fd+2]){if(Ad[Fd+2].type==="media-feature-expression"){kd.type="media-type",Ad[Fd+1].type="keyword";continue}if(Ad[Fd+2].type==="keyword"){kd.type="keyword",Ad[Fd+1].type="media-type";continue}}if(Ad[Fd+3]&&Ad[Fd+3].type==="media-feature-expression"){kd.type="keyword",Ad[Fd+1].type="media-type",Ad[Fd+2].type="keyword";continue}}}return Ad}function fd(md){var vd=[],Ad=0,Nd=0,Od=/^(\s*)url\s*\(/.exec(md);if(Od!==null){for(var kd=Od[0].length,Ld=1;Ld>0;){var Gd=md[kd];Gd==="("&&Ld++,Gd===")"&&Ld--,kd++}vd.unshift(new nd.default({type:"url",value:md.substring(0,kd).trim(),sourceIndex:Od[1].length,before:Od[1],after:/^(\s*)/.exec(md.substring(kd))[1]})),Ad=kd}for(var jd=Ad;jd<md.length;jd++){var Fd=md[jd];if(Fd==="("&&Nd++,Fd===")"&&Nd--,Nd===0&&Fd===","){var Ud=md.substring(Ad,jd),qd=/^(\s*)/.exec(Ud)[1];vd.push(new ld.default({type:"media-query",value:Ud.trim(),sourceIndex:Ad+qd.length,nodes:pd(Ud,Ad),before:qd,after:/(\s*)$/.exec(Ud)[1]})),Ad=jd+1}}var zd=md.substring(Ad),Wd=/^(\s*)/.exec(zd)[1];return vd.push(new ld.default({type:"media-query",value:zd.trim(),sourceIndex:Ad+Wd.length,nodes:pd(zd,Ad),before:Wd,after:/(\s*)$/.exec(zd)[1]})),vd}}),ua=y$4(Ra=>{Object.defineProperty(Ra,"__esModule",{value:!0}),Ra.default=ud;var qa=As(),nd=ld(qa),od=aa$1();function ld(dd){return dd&&dd.__esModule?dd:{default:dd}}function ud(dd){return new nd.default({nodes:(0,od.parseMediaList)(dd),type:"media-query-list",value:dd.trim()})}}),qs=y$4((Ra,qa)=>{qa.exports=function(nd,od){if(od=typeof od=="number"?od:1/0,!od)return Array.isArray(nd)?nd.map(function(ud){return ud}):nd;return ld(nd,1);function ld(ud,dd){return ud.reduce(function(pd,fd){return Array.isArray(fd)&&dd<od?pd.concat(ld(fd,dd+1)):pd.concat(fd)},[])}}}),Ls=y$4((Ra,qa)=>{qa.exports=function(nd,od){for(var ld=-1,ud=[];(ld=nd.indexOf(od,ld+1))!==-1;)ud.push(ld);return ud}}),Ds=y$4((Ra,qa)=>{function nd(ud,dd){for(var pd=1,fd=ud.length,md=ud[0],vd=ud[0],Ad=1;Ad<fd;++Ad)if(vd=md,md=ud[Ad],dd(md,vd)){if(Ad===pd){pd++;continue}ud[pd++]=md}return ud.length=pd,ud}function od(ud){for(var dd=1,pd=ud.length,fd=ud[0],md=ud[0],vd=1;vd<pd;++vd,md=fd)if(md=fd,fd=ud[vd],fd!==md){if(vd===dd){dd++;continue}ud[dd++]=fd}return ud.length=dd,ud}function ld(ud,dd,pd){return ud.length===0?ud:dd?(pd||ud.sort(dd),nd(ud,dd)):(pd||ud.sort(),od(ud))}qa.exports=ld}),de$3=y$4((Ra,qa)=>{Ra.__esModule=!0;var nd=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(dd){return typeof dd}:function(dd){return dd&&typeof Symbol=="function"&&dd.constructor===Symbol&&dd!==Symbol.prototype?"symbol":typeof dd};function od(dd,pd){if(!(dd instanceof pd))throw new TypeError("Cannot call a class as a function")}var ld=function dd(pd,fd){if((typeof pd>"u"?"undefined":nd(pd))!=="object")return pd;var md=new pd.constructor;for(var vd in pd)if(pd.hasOwnProperty(vd)){var Ad=pd[vd],Nd=typeof Ad>"u"?"undefined":nd(Ad);vd==="parent"&&Nd==="object"?fd&&(md[vd]=fd):Ad instanceof Array?md[vd]=Ad.map(function(Od){return dd(Od,md)}):md[vd]=dd(Ad,md)}return md},ud=function(){function dd(){var pd=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};od(this,dd);for(var fd in pd)this[fd]=pd[fd];var md=pd.spaces;md=md===void 0?{}:md;var vd=md.before,Ad=vd===void 0?"":vd,Nd=md.after,Od=Nd===void 0?"":Nd;this.spaces={before:Ad,after:Od}}return dd.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},dd.prototype.replaceWith=function(){if(this.parent){for(var pd in arguments)this.parent.insertBefore(this,arguments[pd]);this.remove()}return this},dd.prototype.next=function(){return this.parent.at(this.parent.index(this)+1)},dd.prototype.prev=function(){return this.parent.at(this.parent.index(this)-1)},dd.prototype.clone=function(){var pd=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},fd=ld(this);for(var md in pd)fd[md]=pd[md];return fd},dd.prototype.toString=function(){return[this.spaces.before,String(this.value),this.spaces.after].join("")},dd}();Ra.default=ud,qa.exports=Ra.default}),D$3=y$4(Ra=>{Ra.__esModule=!0,Ra.TAG="tag",Ra.STRING="string",Ra.SELECTOR="selector",Ra.ROOT="root",Ra.PSEUDO="pseudo",Ra.NESTING="nesting",Ra.ID="id",Ra.COMMENT="comment",Ra.COMBINATOR="combinator",Ra.CLASS="class",Ra.ATTRIBUTE="attribute",Ra.UNIVERSAL="universal"}),ir$1=y$4((Ra,qa)=>{Ra.__esModule=!0;var nd=function(){function Od(kd,Ld){for(var Gd=0;Gd<Ld.length;Gd++){var jd=Ld[Gd];jd.enumerable=jd.enumerable||!1,jd.configurable=!0,"value"in jd&&(jd.writable=!0),Object.defineProperty(kd,jd.key,jd)}}return function(kd,Ld,Gd){return Ld&&Od(kd.prototype,Ld),Gd&&Od(kd,Gd),kd}}(),od=de$3(),ld=fd(od),ud=D$3(),dd=pd(ud);function pd(Od){if(Od&&Od.__esModule)return Od;var kd={};if(Od!=null)for(var Ld in Od)Object.prototype.hasOwnProperty.call(Od,Ld)&&(kd[Ld]=Od[Ld]);return kd.default=Od,kd}function fd(Od){return Od&&Od.__esModule?Od:{default:Od}}function md(Od,kd){if(!(Od instanceof kd))throw new TypeError("Cannot call a class as a function")}function vd(Od,kd){if(!Od)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return kd&&(typeof kd=="object"||typeof kd=="function")?kd:Od}function Ad(Od,kd){if(typeof kd!="function"&&kd!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof kd);Od.prototype=Object.create(kd&&kd.prototype,{constructor:{value:Od,enumerable:!1,writable:!0,configurable:!0}}),kd&&(Object.setPrototypeOf?Object.setPrototypeOf(Od,kd):Od.__proto__=kd)}var Nd=function(Od){Ad(kd,Od);function kd(Ld){md(this,kd);var Gd=vd(this,Od.call(this,Ld));return Gd.nodes||(Gd.nodes=[]),Gd}return kd.prototype.append=function(Ld){return Ld.parent=this,this.nodes.push(Ld),this},kd.prototype.prepend=function(Ld){return Ld.parent=this,this.nodes.unshift(Ld),this},kd.prototype.at=function(Ld){return this.nodes[Ld]},kd.prototype.index=function(Ld){return typeof Ld=="number"?Ld:this.nodes.indexOf(Ld)},kd.prototype.removeChild=function(Ld){Ld=this.index(Ld),this.at(Ld).parent=void 0,this.nodes.splice(Ld,1);var Gd=void 0;for(var jd in this.indexes)Gd=this.indexes[jd],Gd>=Ld&&(this.indexes[jd]=Gd-1);return this},kd.prototype.removeAll=function(){for(var jd=this.nodes,Ld=Array.isArray(jd),Gd=0,jd=Ld?jd:jd[Symbol.iterator]();;){var Fd;if(Ld){if(Gd>=jd.length)break;Fd=jd[Gd++]}else{if(Gd=jd.next(),Gd.done)break;Fd=Gd.value}var Ud=Fd;Ud.parent=void 0}return this.nodes=[],this},kd.prototype.empty=function(){return this.removeAll()},kd.prototype.insertAfter=function(Ld,Gd){var jd=this.index(Ld);this.nodes.splice(jd+1,0,Gd);var Fd=void 0;for(var Ud in this.indexes)Fd=this.indexes[Ud],jd<=Fd&&(this.indexes[Ud]=Fd+this.nodes.length);return this},kd.prototype.insertBefore=function(Ld,Gd){var jd=this.index(Ld);this.nodes.splice(jd,0,Gd);var Fd=void 0;for(var Ud in this.indexes)Fd=this.indexes[Ud],jd<=Fd&&(this.indexes[Ud]=Fd+this.nodes.length);return this},kd.prototype.each=function(Ld){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var Gd=this.lastEach;if(this.indexes[Gd]=0,!!this.length){for(var jd=void 0,Fd=void 0;this.indexes[Gd]<this.length&&(jd=this.indexes[Gd],Fd=Ld(this.at(jd),jd),Fd!==!1);)this.indexes[Gd]+=1;if(delete this.indexes[Gd],Fd===!1)return!1}},kd.prototype.walk=function(Ld){return this.each(function(Gd,jd){var Fd=Ld(Gd,jd);if(Fd!==!1&&Gd.length&&(Fd=Gd.walk(Ld)),Fd===!1)return!1})},kd.prototype.walkAttributes=function(Ld){var Gd=this;return this.walk(function(jd){if(jd.type===dd.ATTRIBUTE)return Ld.call(Gd,jd)})},kd.prototype.walkClasses=function(Ld){var Gd=this;return this.walk(function(jd){if(jd.type===dd.CLASS)return Ld.call(Gd,jd)})},kd.prototype.walkCombinators=function(Ld){var Gd=this;return this.walk(function(jd){if(jd.type===dd.COMBINATOR)return Ld.call(Gd,jd)})},kd.prototype.walkComments=function(Ld){var Gd=this;return this.walk(function(jd){if(jd.type===dd.COMMENT)return Ld.call(Gd,jd)})},kd.prototype.walkIds=function(Ld){var Gd=this;return this.walk(function(jd){if(jd.type===dd.ID)return Ld.call(Gd,jd)})},kd.prototype.walkNesting=function(Ld){var Gd=this;return this.walk(function(jd){if(jd.type===dd.NESTING)return Ld.call(Gd,jd)})},kd.prototype.walkPseudos=function(Ld){var Gd=this;return this.walk(function(jd){if(jd.type===dd.PSEUDO)return Ld.call(Gd,jd)})},kd.prototype.walkTags=function(Ld){var Gd=this;return this.walk(function(jd){if(jd.type===dd.TAG)return Ld.call(Gd,jd)})},kd.prototype.walkUniversals=function(Ld){var Gd=this;return this.walk(function(jd){if(jd.type===dd.UNIVERSAL)return Ld.call(Gd,jd)})},kd.prototype.split=function(Ld){var Gd=this,jd=[];return this.reduce(function(Fd,Ud,qd){var zd=Ld.call(Gd,Ud);return jd.push(Ud),zd?(Fd.push(jd),jd=[]):qd===Gd.length-1&&Fd.push(jd),Fd},[])},kd.prototype.map=function(Ld){return this.nodes.map(Ld)},kd.prototype.reduce=function(Ld,Gd){return this.nodes.reduce(Ld,Gd)},kd.prototype.every=function(Ld){return this.nodes.every(Ld)},kd.prototype.some=function(Ld){return this.nodes.some(Ld)},kd.prototype.filter=function(Ld){return this.nodes.filter(Ld)},kd.prototype.sort=function(Ld){return this.nodes.sort(Ld)},kd.prototype.toString=function(){return this.map(String).join("")},nd(kd,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),kd}(ld.default);Ra.default=Nd,qa.exports=Ra.default}),ga=y$4((Ra,qa)=>{Ra.__esModule=!0;var nd=ir$1(),od=ud(nd),ld=D$3();function ud(vd){return vd&&vd.__esModule?vd:{default:vd}}function dd(vd,Ad){if(!(vd instanceof Ad))throw new TypeError("Cannot call a class as a function")}function pd(vd,Ad){if(!vd)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ad&&(typeof Ad=="object"||typeof Ad=="function")?Ad:vd}function fd(vd,Ad){if(typeof Ad!="function"&&Ad!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ad);vd.prototype=Object.create(Ad&&Ad.prototype,{constructor:{value:vd,enumerable:!1,writable:!0,configurable:!0}}),Ad&&(Object.setPrototypeOf?Object.setPrototypeOf(vd,Ad):vd.__proto__=Ad)}var md=function(vd){fd(Ad,vd);function Ad(Nd){dd(this,Ad);var Od=pd(this,vd.call(this,Nd));return Od.type=ld.ROOT,Od}return Ad.prototype.toString=function(){var Nd=this.reduce(function(Od,kd){var Ld=String(kd);return Ld?Od+Ld+",":""},"").slice(0,-1);return this.trailingComma?Nd+",":Nd},Ad}(od.default);Ra.default=md,qa.exports=Ra.default}),xa=y$4((Ra,qa)=>{Ra.__esModule=!0;var nd=ir$1(),od=ud(nd),ld=D$3();function ud(vd){return vd&&vd.__esModule?vd:{default:vd}}function dd(vd,Ad){if(!(vd instanceof Ad))throw new TypeError("Cannot call a class as a function")}function pd(vd,Ad){if(!vd)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ad&&(typeof Ad=="object"||typeof Ad=="function")?Ad:vd}function fd(vd,Ad){if(typeof Ad!="function"&&Ad!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ad);vd.prototype=Object.create(Ad&&Ad.prototype,{constructor:{value:vd,enumerable:!1,writable:!0,configurable:!0}}),Ad&&(Object.setPrototypeOf?Object.setPrototypeOf(vd,Ad):vd.__proto__=Ad)}var md=function(vd){fd(Ad,vd);function Ad(Nd){dd(this,Ad);var Od=pd(this,vd.call(this,Nd));return Od.type=ld.SELECTOR,Od}return Ad}(od.default);Ra.default=md,qa.exports=Ra.default}),qe$1=y$4((Ra,qa)=>{Ra.__esModule=!0;var nd=function(){function vd(Ad,Nd){for(var Od=0;Od<Nd.length;Od++){var kd=Nd[Od];kd.enumerable=kd.enumerable||!1,kd.configurable=!0,"value"in kd&&(kd.writable=!0),Object.defineProperty(Ad,kd.key,kd)}}return function(Ad,Nd,Od){return Nd&&vd(Ad.prototype,Nd),Od&&vd(Ad,Od),Ad}}(),od=de$3(),ld=ud(od);function ud(vd){return vd&&vd.__esModule?vd:{default:vd}}function dd(vd,Ad){if(!(vd instanceof Ad))throw new TypeError("Cannot call a class as a function")}function pd(vd,Ad){if(!vd)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ad&&(typeof Ad=="object"||typeof Ad=="function")?Ad:vd}function fd(vd,Ad){if(typeof Ad!="function"&&Ad!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ad);vd.prototype=Object.create(Ad&&Ad.prototype,{constructor:{value:vd,enumerable:!1,writable:!0,configurable:!0}}),Ad&&(Object.setPrototypeOf?Object.setPrototypeOf(vd,Ad):vd.__proto__=Ad)}var md=function(vd){fd(Ad,vd);function Ad(){return dd(this,Ad),pd(this,vd.apply(this,arguments))}return Ad.prototype.toString=function(){return[this.spaces.before,this.ns,String(this.value),this.spaces.after].join("")},nd(Ad,[{key:"ns",get:function(){var Nd=this.namespace;return Nd?(typeof Nd=="string"?Nd:"")+"|":""}}]),Ad}(ld.default);Ra.default=md,qa.exports=Ra.default}),ka=y$4((Ra,qa)=>{Ra.__esModule=!0;var nd=qe$1(),od=ud(nd),ld=D$3();function ud(vd){return vd&&vd.__esModule?vd:{default:vd}}function dd(vd,Ad){if(!(vd instanceof Ad))throw new TypeError("Cannot call a class as a function")}function pd(vd,Ad){if(!vd)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ad&&(typeof Ad=="object"||typeof Ad=="function")?Ad:vd}function fd(vd,Ad){if(typeof Ad!="function"&&Ad!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ad);vd.prototype=Object.create(Ad&&Ad.prototype,{constructor:{value:vd,enumerable:!1,writable:!0,configurable:!0}}),Ad&&(Object.setPrototypeOf?Object.setPrototypeOf(vd,Ad):vd.__proto__=Ad)}var md=function(vd){fd(Ad,vd);function Ad(Nd){dd(this,Ad);var Od=pd(this,vd.call(this,Nd));return Od.type=ld.CLASS,Od}return Ad.prototype.toString=function(){return[this.spaces.before,this.ns,"."+this.value,this.spaces.after].join("")},Ad}(od.default);Ra.default=md,qa.exports=Ra.default}),Sa=y$4((Ra,qa)=>{Ra.__esModule=!0;var nd=de$3(),od=ud(nd),ld=D$3();function ud(vd){return vd&&vd.__esModule?vd:{default:vd}}function dd(vd,Ad){if(!(vd instanceof Ad))throw new TypeError("Cannot call a class as a function")}function pd(vd,Ad){if(!vd)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ad&&(typeof Ad=="object"||typeof Ad=="function")?Ad:vd}function fd(vd,Ad){if(typeof Ad!="function"&&Ad!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ad);vd.prototype=Object.create(Ad&&Ad.prototype,{constructor:{value:vd,enumerable:!1,writable:!0,configurable:!0}}),Ad&&(Object.setPrototypeOf?Object.setPrototypeOf(vd,Ad):vd.__proto__=Ad)}var md=function(vd){fd(Ad,vd);function Ad(Nd){dd(this,Ad);var Od=pd(this,vd.call(this,Nd));return Od.type=ld.COMMENT,Od}return Ad}(od.default);Ra.default=md,qa.exports=Ra.default}),Oa=y$4((Ra,qa)=>{Ra.__esModule=!0;var nd=qe$1(),od=ud(nd),ld=D$3();function ud(vd){return vd&&vd.__esModule?vd:{default:vd}}function dd(vd,Ad){if(!(vd instanceof Ad))throw new TypeError("Cannot call a class as a function")}function pd(vd,Ad){if(!vd)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ad&&(typeof Ad=="object"||typeof Ad=="function")?Ad:vd}function fd(vd,Ad){if(typeof Ad!="function"&&Ad!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ad);vd.prototype=Object.create(Ad&&Ad.prototype,{constructor:{value:vd,enumerable:!1,writable:!0,configurable:!0}}),Ad&&(Object.setPrototypeOf?Object.setPrototypeOf(vd,Ad):vd.__proto__=Ad)}var md=function(vd){fd(Ad,vd);function Ad(Nd){dd(this,Ad);var Od=pd(this,vd.call(this,Nd));return Od.type=ld.ID,Od}return Ad.prototype.toString=function(){return[this.spaces.before,this.ns,"#"+this.value,this.spaces.after].join("")},Ad}(od.default);Ra.default=md,qa.exports=Ra.default}),Aa=y$4((Ra,qa)=>{Ra.__esModule=!0;var nd=qe$1(),od=ud(nd),ld=D$3();function ud(vd){return vd&&vd.__esModule?vd:{default:vd}}function dd(vd,Ad){if(!(vd instanceof Ad))throw new TypeError("Cannot call a class as a function")}function pd(vd,Ad){if(!vd)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ad&&(typeof Ad=="object"||typeof Ad=="function")?Ad:vd}function fd(vd,Ad){if(typeof Ad!="function"&&Ad!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ad);vd.prototype=Object.create(Ad&&Ad.prototype,{constructor:{value:vd,enumerable:!1,writable:!0,configurable:!0}}),Ad&&(Object.setPrototypeOf?Object.setPrototypeOf(vd,Ad):vd.__proto__=Ad)}var md=function(vd){fd(Ad,vd);function Ad(Nd){dd(this,Ad);var Od=pd(this,vd.call(this,Nd));return Od.type=ld.TAG,Od}return Ad}(od.default);Ra.default=md,qa.exports=Ra.default}),Pa=y$4((Ra,qa)=>{Ra.__esModule=!0;var nd=de$3(),od=ud(nd),ld=D$3();function ud(vd){return vd&&vd.__esModule?vd:{default:vd}}function dd(vd,Ad){if(!(vd instanceof Ad))throw new TypeError("Cannot call a class as a function")}function pd(vd,Ad){if(!vd)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ad&&(typeof Ad=="object"||typeof Ad=="function")?Ad:vd}function fd(vd,Ad){if(typeof Ad!="function"&&Ad!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ad);vd.prototype=Object.create(Ad&&Ad.prototype,{constructor:{value:vd,enumerable:!1,writable:!0,configurable:!0}}),Ad&&(Object.setPrototypeOf?Object.setPrototypeOf(vd,Ad):vd.__proto__=Ad)}var md=function(vd){fd(Ad,vd);function Ad(Nd){dd(this,Ad);var Od=pd(this,vd.call(this,Nd));return Od.type=ld.STRING,Od}return Ad}(od.default);Ra.default=md,qa.exports=Ra.default}),Ia=y$4((Ra,qa)=>{Ra.__esModule=!0;var nd=ir$1(),od=ud(nd),ld=D$3();function ud(vd){return vd&&vd.__esModule?vd:{default:vd}}function dd(vd,Ad){if(!(vd instanceof Ad))throw new TypeError("Cannot call a class as a function")}function pd(vd,Ad){if(!vd)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ad&&(typeof Ad=="object"||typeof Ad=="function")?Ad:vd}function fd(vd,Ad){if(typeof Ad!="function"&&Ad!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ad);vd.prototype=Object.create(Ad&&Ad.prototype,{constructor:{value:vd,enumerable:!1,writable:!0,configurable:!0}}),Ad&&(Object.setPrototypeOf?Object.setPrototypeOf(vd,Ad):vd.__proto__=Ad)}var md=function(vd){fd(Ad,vd);function Ad(Nd){dd(this,Ad);var Od=pd(this,vd.call(this,Nd));return Od.type=ld.PSEUDO,Od}return Ad.prototype.toString=function(){var Nd=this.length?"("+this.map(String).join(",")+")":"";return[this.spaces.before,String(this.value),Nd,this.spaces.after].join("")},Ad}(od.default);Ra.default=md,qa.exports=Ra.default}),La=y$4((Ra,qa)=>{Ra.__esModule=!0;var nd=qe$1(),od=ud(nd),ld=D$3();function ud(vd){return vd&&vd.__esModule?vd:{default:vd}}function dd(vd,Ad){if(!(vd instanceof Ad))throw new TypeError("Cannot call a class as a function")}function pd(vd,Ad){if(!vd)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ad&&(typeof Ad=="object"||typeof Ad=="function")?Ad:vd}function fd(vd,Ad){if(typeof Ad!="function"&&Ad!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ad);vd.prototype=Object.create(Ad&&Ad.prototype,{constructor:{value:vd,enumerable:!1,writable:!0,configurable:!0}}),Ad&&(Object.setPrototypeOf?Object.setPrototypeOf(vd,Ad):vd.__proto__=Ad)}var md=function(vd){fd(Ad,vd);function Ad(Nd){dd(this,Ad);var Od=pd(this,vd.call(this,Nd));return Od.type=ld.ATTRIBUTE,Od.raws={},Od}return Ad.prototype.toString=function(){var Nd=[this.spaces.before,"[",this.ns,this.attribute];return this.operator&&Nd.push(this.operator),this.value&&Nd.push(this.value),this.raws.insensitive?Nd.push(this.raws.insensitive):this.insensitive&&Nd.push(" i"),Nd.push("]"),Nd.concat(this.spaces.after).join("")},Ad}(od.default);Ra.default=md,qa.exports=Ra.default}),Ma=y$4((Ra,qa)=>{Ra.__esModule=!0;var nd=qe$1(),od=ud(nd),ld=D$3();function ud(vd){return vd&&vd.__esModule?vd:{default:vd}}function dd(vd,Ad){if(!(vd instanceof Ad))throw new TypeError("Cannot call a class as a function")}function pd(vd,Ad){if(!vd)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ad&&(typeof Ad=="object"||typeof Ad=="function")?Ad:vd}function fd(vd,Ad){if(typeof Ad!="function"&&Ad!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ad);vd.prototype=Object.create(Ad&&Ad.prototype,{constructor:{value:vd,enumerable:!1,writable:!0,configurable:!0}}),Ad&&(Object.setPrototypeOf?Object.setPrototypeOf(vd,Ad):vd.__proto__=Ad)}var md=function(vd){fd(Ad,vd);function Ad(Nd){dd(this,Ad);var Od=pd(this,vd.call(this,Nd));return Od.type=ld.UNIVERSAL,Od.value="*",Od}return Ad}(od.default);Ra.default=md,qa.exports=Ra.default}),Ua=y$4((Ra,qa)=>{Ra.__esModule=!0;var nd=de$3(),od=ud(nd),ld=D$3();function ud(vd){return vd&&vd.__esModule?vd:{default:vd}}function dd(vd,Ad){if(!(vd instanceof Ad))throw new TypeError("Cannot call a class as a function")}function pd(vd,Ad){if(!vd)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ad&&(typeof Ad=="object"||typeof Ad=="function")?Ad:vd}function fd(vd,Ad){if(typeof Ad!="function"&&Ad!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ad);vd.prototype=Object.create(Ad&&Ad.prototype,{constructor:{value:vd,enumerable:!1,writable:!0,configurable:!0}}),Ad&&(Object.setPrototypeOf?Object.setPrototypeOf(vd,Ad):vd.__proto__=Ad)}var md=function(vd){fd(Ad,vd);function Ad(Nd){dd(this,Ad);var Od=pd(this,vd.call(this,Nd));return Od.type=ld.COMBINATOR,Od}return Ad}(od.default);Ra.default=md,qa.exports=Ra.default}),$a=y$4((Ra,qa)=>{Ra.__esModule=!0;var nd=de$3(),od=ud(nd),ld=D$3();function ud(vd){return vd&&vd.__esModule?vd:{default:vd}}function dd(vd,Ad){if(!(vd instanceof Ad))throw new TypeError("Cannot call a class as a function")}function pd(vd,Ad){if(!vd)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ad&&(typeof Ad=="object"||typeof Ad=="function")?Ad:vd}function fd(vd,Ad){if(typeof Ad!="function"&&Ad!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ad);vd.prototype=Object.create(Ad&&Ad.prototype,{constructor:{value:vd,enumerable:!1,writable:!0,configurable:!0}}),Ad&&(Object.setPrototypeOf?Object.setPrototypeOf(vd,Ad):vd.__proto__=Ad)}var md=function(vd){fd(Ad,vd);function Ad(Nd){dd(this,Ad);var Od=pd(this,vd.call(this,Nd));return Od.type=ld.NESTING,Od.value="&",Od}return Ad}(od.default);Ra.default=md,qa.exports=Ra.default}),Ya=y$4((Ra,qa)=>{Ra.__esModule=!0,Ra.default=nd;function nd(od){return od.sort(function(ld,ud){return ld-ud})}qa.exports=Ra.default}),Xa=y$4((Ra,qa)=>{Ra.__esModule=!0,Ra.default=mf;var nd=39,od=34,ld=92,ud=47,dd=10,pd=32,fd=12,md=9,vd=13,Ad=43,Nd=62,Od=126,kd=124,Ld=44,Gd=40,jd=41,Fd=91,Ud=93,qd=59,zd=42,Wd=58,Jd=38,_f=64,Xd=/[ \n\t\r\{\(\)'"\\;/]/g,pf=/[ \n\t\r\(\)\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;function mf(Sf){for(var Tf=[],Af=Sf.css.valueOf(),Ef=void 0,Nf=void 0,If=void 0,Gf=void 0,Qf=void 0,Xf=void 0,ph=void 0,qf=void 0,Lf=void 0,Wf=void 0,Jf=void 0,Kf=Af.length,Cf=-1,xf=1,Yf=0,dh=function(Rh,th){if(Sf.safe)Af+=th,Nf=Af.length-1;else throw Sf.error("Unclosed "+Rh,xf,Yf-Cf,Yf)};Yf<Kf;){switch(Ef=Af.charCodeAt(Yf),Ef===dd&&(Cf=Yf,xf+=1),Ef){case dd:case pd:case md:case vd:case fd:Nf=Yf;do Nf+=1,Ef=Af.charCodeAt(Nf),Ef===dd&&(Cf=Nf,xf+=1);while(Ef===pd||Ef===dd||Ef===md||Ef===vd||Ef===fd);Tf.push(["space",Af.slice(Yf,Nf),xf,Yf-Cf,Yf]),Yf=Nf-1;break;case Ad:case Nd:case Od:case kd:Nf=Yf;do Nf+=1,Ef=Af.charCodeAt(Nf);while(Ef===Ad||Ef===Nd||Ef===Od||Ef===kd);Tf.push(["combinator",Af.slice(Yf,Nf),xf,Yf-Cf,Yf]),Yf=Nf-1;break;case zd:Tf.push(["*","*",xf,Yf-Cf,Yf]);break;case Jd:Tf.push(["&","&",xf,Yf-Cf,Yf]);break;case Ld:Tf.push([",",",",xf,Yf-Cf,Yf]);break;case Fd:Tf.push(["[","[",xf,Yf-Cf,Yf]);break;case Ud:Tf.push(["]","]",xf,Yf-Cf,Yf]);break;case Wd:Tf.push([":",":",xf,Yf-Cf,Yf]);break;case qd:Tf.push([";",";",xf,Yf-Cf,Yf]);break;case Gd:Tf.push(["(","(",xf,Yf-Cf,Yf]);break;case jd:Tf.push([")",")",xf,Yf-Cf,Yf]);break;case nd:case od:If=Ef===nd?"'":'"',Nf=Yf;do for(Wf=!1,Nf=Af.indexOf(If,Nf+1),Nf===-1&&dh("quote",If),Jf=Nf;Af.charCodeAt(Jf-1)===ld;)Jf-=1,Wf=!Wf;while(Wf);Tf.push(["string",Af.slice(Yf,Nf+1),xf,Yf-Cf,xf,Nf-Cf,Yf]),Yf=Nf;break;case _f:Xd.lastIndex=Yf+1,Xd.test(Af),Xd.lastIndex===0?Nf=Af.length-1:Nf=Xd.lastIndex-2,Tf.push(["at-word",Af.slice(Yf,Nf+1),xf,Yf-Cf,xf,Nf-Cf,Yf]),Yf=Nf;break;case ld:for(Nf=Yf,ph=!0;Af.charCodeAt(Nf+1)===ld;)Nf+=1,ph=!ph;Ef=Af.charCodeAt(Nf+1),ph&&Ef!==ud&&Ef!==pd&&Ef!==dd&&Ef!==md&&Ef!==vd&&Ef!==fd&&(Nf+=1),Tf.push(["word",Af.slice(Yf,Nf+1),xf,Yf-Cf,xf,Nf-Cf,Yf]),Yf=Nf;break;default:Ef===ud&&Af.charCodeAt(Yf+1)===zd?(Nf=Af.indexOf("*/",Yf+2)+1,Nf===0&&dh("comment","*/"),Xf=Af.slice(Yf,Nf+1),Gf=Xf.split(`
`),Qf=Gf.length-1,Qf>0?(qf=xf+Qf,Lf=Nf-Gf[Qf].length):(qf=xf,Lf=Cf),Tf.push(["comment",Xf,xf,Yf-Cf,qf,Nf-Lf,Yf]),Cf=Lf,xf=qf,Yf=Nf):(pf.lastIndex=Yf+1,pf.test(Af),pf.lastIndex===0?Nf=Af.length-1:Nf=pf.lastIndex-2,Tf.push(["word",Af.slice(Yf,Nf+1),xf,Yf-Cf,xf,Nf-Cf,Yf]),Yf=Nf);break}Yf++}return Tf}qa.exports=Ra.default}),tu$1=y$4((Ra,qa)=>{Ra.__esModule=!0;var nd=function(){function Cf(xf,Yf){for(var dh=0;dh<Yf.length;dh++){var Rh=Yf[dh];Rh.enumerable=Rh.enumerable||!1,Rh.configurable=!0,"value"in Rh&&(Rh.writable=!0),Object.defineProperty(xf,Rh.key,Rh)}}return function(xf,Yf,dh){return Yf&&Cf(xf.prototype,Yf),dh&&Cf(xf,dh),xf}}(),od=qs(),ld=Wf(od),ud=Ls(),dd=Wf(ud),pd=Ds(),fd=Wf(pd),md=ga(),vd=Wf(md),Ad=xa(),Nd=Wf(Ad),Od=ka(),kd=Wf(Od),Ld=Sa(),Gd=Wf(Ld),jd=Oa(),Fd=Wf(jd),Ud=Aa(),qd=Wf(Ud),zd=Pa(),Wd=Wf(zd),Jd=Ia(),_f=Wf(Jd),Xd=La(),pf=Wf(Xd),mf=Ma(),Sf=Wf(mf),Tf=Ua(),Af=Wf(Tf),Ef=$a(),Nf=Wf(Ef),If=Ya(),Gf=Wf(If),Qf=Xa(),Xf=Wf(Qf),ph=D$3(),qf=Lf(ph);function Lf(Cf){if(Cf&&Cf.__esModule)return Cf;var xf={};if(Cf!=null)for(var Yf in Cf)Object.prototype.hasOwnProperty.call(Cf,Yf)&&(xf[Yf]=Cf[Yf]);return xf.default=Cf,xf}function Wf(Cf){return Cf&&Cf.__esModule?Cf:{default:Cf}}function Jf(Cf,xf){if(!(Cf instanceof xf))throw new TypeError("Cannot call a class as a function")}var Kf=function(){function Cf(xf){Jf(this,Cf),this.input=xf,this.lossy=xf.options.lossless===!1,this.position=0,this.root=new vd.default;var Yf=new Nd.default;return this.root.append(Yf),this.current=Yf,this.lossy?this.tokens=(0,Xf.default)({safe:xf.safe,css:xf.css.trim()}):this.tokens=(0,Xf.default)(xf),this.loop()}return Cf.prototype.attribute=function(){var xf="",Yf=void 0,dh=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[0]!=="]";)xf+=this.tokens[this.position][1],this.position++;this.position===this.tokens.length&&!~xf.indexOf("]")&&this.error("Expected a closing square bracket.");var Rh=xf.split(/((?:[*~^$|]?=))([^]*)/),th=Rh[0].split(/(\|)/g),Bf={operator:Rh[1],value:Rh[2],source:{start:{line:dh[2],column:dh[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:dh[4]};if(th.length>1?(th[0]===""&&(th[0]=!0),Bf.attribute=this.parseValue(th[2]),Bf.namespace=this.parseNamespace(th[0])):Bf.attribute=this.parseValue(Rh[0]),Yf=new pf.default(Bf),Rh[2]){var Sh=Rh[2].split(/(\s+i\s*?)$/),Fh=Sh[0].trim();Yf.value=this.lossy?Fh:Sh[0],Sh[1]&&(Yf.insensitive=!0,this.lossy||(Yf.raws.insensitive=Sh[1])),Yf.quoted=Fh[0]==="'"||Fh[0]==='"',Yf.raws.unquoted=Yf.quoted?Fh.slice(1,-1):Fh}this.newNode(Yf),this.position++},Cf.prototype.combinator=function(){if(this.currToken[1]==="|")return this.namespace();for(var xf=new Af.default({value:"",source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]});this.position<this.tokens.length&&this.currToken&&(this.currToken[0]==="space"||this.currToken[0]==="combinator");)this.nextToken&&this.nextToken[0]==="combinator"?(xf.spaces.before=this.parseSpace(this.currToken[1]),xf.source.start.line=this.nextToken[2],xf.source.start.column=this.nextToken[3],xf.source.end.column=this.nextToken[3],xf.source.end.line=this.nextToken[2],xf.sourceIndex=this.nextToken[4]):this.prevToken&&this.prevToken[0]==="combinator"?xf.spaces.after=this.parseSpace(this.currToken[1]):this.currToken[0]==="combinator"?xf.value=this.currToken[1]:this.currToken[0]==="space"&&(xf.value=this.parseSpace(this.currToken[1]," ")),this.position++;return this.newNode(xf)},Cf.prototype.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}var xf=new Nd.default;this.current.parent.append(xf),this.current=xf,this.position++},Cf.prototype.comment=function(){var xf=new Gd.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]});this.newNode(xf),this.position++},Cf.prototype.error=function(xf){throw new this.input.error(xf)},Cf.prototype.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.")},Cf.prototype.missingParenthesis=function(){return this.error("Expected opening parenthesis.")},Cf.prototype.missingSquareBracket=function(){return this.error("Expected opening square bracket.")},Cf.prototype.namespace=function(){var xf=this.prevToken&&this.prevToken[1]||!0;if(this.nextToken[0]==="word")return this.position++,this.word(xf);if(this.nextToken[0]==="*")return this.position++,this.universal(xf)},Cf.prototype.nesting=function(){this.newNode(new Nf.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]})),this.position++},Cf.prototype.parentheses=function(){var xf=this.current.last;if(xf&&xf.type===qf.PSEUDO){var Yf=new Nd.default,dh=this.current;xf.append(Yf),this.current=Yf;var Rh=1;for(this.position++;this.position<this.tokens.length&&Rh;)this.currToken[0]==="("&&Rh++,this.currToken[0]===")"&&Rh--,Rh?this.parse():(Yf.parent.source.end.line=this.currToken[2],Yf.parent.source.end.column=this.currToken[3],this.position++);Rh&&this.error("Expected closing parenthesis."),this.current=dh}else{var th=1;for(this.position++,xf.value+="(";this.position<this.tokens.length&&th;)this.currToken[0]==="("&&th++,this.currToken[0]===")"&&th--,xf.value+=this.parseParenthesisToken(this.currToken),this.position++;th&&this.error("Expected closing parenthesis.")}},Cf.prototype.pseudo=function(){for(var xf=this,Yf="",dh=this.currToken;this.currToken&&this.currToken[0]===":";)Yf+=this.currToken[1],this.position++;if(!this.currToken)return this.error("Expected pseudo-class or pseudo-element");if(this.currToken[0]==="word"){var Rh=void 0;this.splitWord(!1,function(th,Bf){Yf+=th,Rh=new _f.default({value:Yf,source:{start:{line:dh[2],column:dh[3]},end:{line:xf.currToken[4],column:xf.currToken[5]}},sourceIndex:dh[4]}),xf.newNode(Rh),Bf>1&&xf.nextToken&&xf.nextToken[0]==="("&&xf.error("Misplaced parenthesis.")})}else this.error('Unexpected "'+this.currToken[0]+'" found.')},Cf.prototype.space=function(){var xf=this.currToken;this.position===0||this.prevToken[0]===","||this.prevToken[0]==="("?(this.spaces=this.parseSpace(xf[1]),this.position++):this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.spaces.after=this.parseSpace(xf[1]),this.position++):this.combinator()},Cf.prototype.string=function(){var xf=this.currToken;this.newNode(new Wd.default({value:this.currToken[1],source:{start:{line:xf[2],column:xf[3]},end:{line:xf[4],column:xf[5]}},sourceIndex:xf[6]})),this.position++},Cf.prototype.universal=function(xf){var Yf=this.nextToken;if(Yf&&Yf[1]==="|")return this.position++,this.namespace();this.newNode(new Sf.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]}),xf),this.position++},Cf.prototype.splitWord=function(xf,Yf){for(var dh=this,Rh=this.nextToken,th=this.currToken[1];Rh&&Rh[0]==="word";){this.position++;var Bf=this.currToken[1];if(th+=Bf,Bf.lastIndexOf("\\")===Bf.length-1){var Sh=this.nextToken;Sh&&Sh[0]==="space"&&(th+=this.parseSpace(Sh[1]," "),this.position++)}Rh=this.nextToken}var Fh=(0,dd.default)(th,"."),uh=(0,dd.default)(th,"#"),Pf=(0,dd.default)(th,"#{");Pf.length&&(uh=uh.filter(function(Zf){return!~Pf.indexOf(Zf)}));var Uf=(0,Gf.default)((0,fd.default)((0,ld.default)([[0],Fh,uh])));Uf.forEach(function(Zf,mh){var Mh=Uf[mh+1]||th.length,_h=th.slice(Zf,Mh);if(mh===0&&Yf)return Yf.call(dh,_h,Uf.length);var pm=void 0;~Fh.indexOf(Zf)?pm=new kd.default({value:_h.slice(1),source:{start:{line:dh.currToken[2],column:dh.currToken[3]+Zf},end:{line:dh.currToken[4],column:dh.currToken[3]+(Mh-1)}},sourceIndex:dh.currToken[6]+Uf[mh]}):~uh.indexOf(Zf)?pm=new Fd.default({value:_h.slice(1),source:{start:{line:dh.currToken[2],column:dh.currToken[3]+Zf},end:{line:dh.currToken[4],column:dh.currToken[3]+(Mh-1)}},sourceIndex:dh.currToken[6]+Uf[mh]}):pm=new qd.default({value:_h,source:{start:{line:dh.currToken[2],column:dh.currToken[3]+Zf},end:{line:dh.currToken[4],column:dh.currToken[3]+(Mh-1)}},sourceIndex:dh.currToken[6]+Uf[mh]}),dh.newNode(pm,xf)}),this.position++},Cf.prototype.word=function(xf){var Yf=this.nextToken;return Yf&&Yf[1]==="|"?(this.position++,this.namespace()):this.splitWord(xf)},Cf.prototype.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.root},Cf.prototype.parse=function(xf){switch(this.currToken[0]){case"space":this.space();break;case"comment":this.comment();break;case"(":this.parentheses();break;case")":xf&&this.missingParenthesis();break;case"[":this.attribute();break;case"]":this.missingSquareBracket();break;case"at-word":case"word":this.word();break;case":":this.pseudo();break;case";":this.missingBackslash();break;case",":this.comma();break;case"*":this.universal();break;case"&":this.nesting();break;case"combinator":this.combinator();break;case"string":this.string();break}},Cf.prototype.parseNamespace=function(xf){if(this.lossy&&typeof xf=="string"){var Yf=xf.trim();return Yf.length?Yf:!0}return xf},Cf.prototype.parseSpace=function(xf,Yf){return this.lossy?Yf||"":xf},Cf.prototype.parseValue=function(xf){return this.lossy&&xf&&typeof xf=="string"?xf.trim():xf},Cf.prototype.parseParenthesisToken=function(xf){return this.lossy?xf[0]==="space"?this.parseSpace(xf[1]," "):this.parseValue(xf[1]):xf[1]},Cf.prototype.newNode=function(xf,Yf){return Yf&&(xf.namespace=this.parseNamespace(Yf)),this.spaces&&(xf.spaces.before=this.spaces,this.spaces=""),this.current.append(xf)},nd(Cf,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),Cf}();Ra.default=Kf,qa.exports=Ra.default}),su$1=y$4((Ra,qa)=>{Ra.__esModule=!0;var nd=function(){function fd(md,vd){for(var Ad=0;Ad<vd.length;Ad++){var Nd=vd[Ad];Nd.enumerable=Nd.enumerable||!1,Nd.configurable=!0,"value"in Nd&&(Nd.writable=!0),Object.defineProperty(md,Nd.key,Nd)}}return function(md,vd,Ad){return vd&&fd(md.prototype,vd),Ad&&fd(md,Ad),md}}(),od=tu$1(),ld=ud(od);function ud(fd){return fd&&fd.__esModule?fd:{default:fd}}function dd(fd,md){if(!(fd instanceof md))throw new TypeError("Cannot call a class as a function")}var pd=function(){function fd(md){return dd(this,fd),this.func=md||function(){},this}return fd.prototype.process=function(md){var vd=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ad=new ld.default({css:md,error:function(Nd){throw new Error(Nd)},options:vd});return this.res=Ad,this.func(Ad),this},nd(fd,[{key:"result",get:function(){return String(this.res)}}]),fd}();Ra.default=pd,qa.exports=Ra.default}),z$4=y$4((Ra,qa)=>{var nd=function(od,ld){let ud=new od.constructor;for(let dd in od){if(!od.hasOwnProperty(dd))continue;let pd=od[dd],fd=typeof pd;dd==="parent"&&fd==="object"?ld&&(ud[dd]=ld):dd==="source"?ud[dd]=pd:pd instanceof Array?ud[dd]=pd.map(md=>nd(md,ud)):dd!=="before"&&dd!=="after"&&dd!=="between"&&dd!=="semicolon"&&(fd==="object"&&pd!==null&&(pd=nd(pd)),ud[dd]=pd)}return ud};qa.exports=class{constructor(od){od=od||{},this.raws={before:"",after:""};for(let ld in od)this[ld]=od[ld]}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(){return[this.raws.before,String(this.value),this.raws.after].join("")}clone(od){od=od||{};let ld=nd(this);for(let ud in od)ld[ud]=od[ud];return ld}cloneBefore(od){od=od||{};let ld=this.clone(od);return this.parent.insertBefore(this,ld),ld}cloneAfter(od){od=od||{};let ld=this.clone(od);return this.parent.insertAfter(this,ld),ld}replaceWith(){let od=Array.prototype.slice.call(arguments);if(this.parent){for(let ld of od)this.parent.insertBefore(this,ld);this.remove()}return this}moveTo(od){return this.cleanRaws(this.root()===od.root()),this.remove(),od.append(this),this}moveBefore(od){return this.cleanRaws(this.root()===od.root()),this.remove(),od.parent.insertBefore(od,this),this}moveAfter(od){return this.cleanRaws(this.root()===od.root()),this.remove(),od.parent.insertAfter(od,this),this}next(){let od=this.parent.index(this);return this.parent.nodes[od+1]}prev(){let od=this.parent.index(this);return this.parent.nodes[od-1]}toJSON(){let od={};for(let ld in this){if(!this.hasOwnProperty(ld)||ld==="parent")continue;let ud=this[ld];ud instanceof Array?od[ld]=ud.map(dd=>typeof dd=="object"&&dd.toJSON?dd.toJSON():dd):typeof ud=="object"&&ud.toJSON?od[ld]=ud.toJSON():od[ld]=ud}return od}root(){let od=this;for(;od.parent;)od=od.parent;return od}cleanRaws(od){delete this.raws.before,delete this.raws.after,od||delete this.raws.between}positionInside(od){let ld=this.toString(),ud=this.source.start.column,dd=this.source.start.line;for(let pd=0;pd<od;pd++)ld[pd]===`
`?(ud=1,dd+=1):ud+=1;return{line:dd,column:ud}}positionBy(od){let ld=this.source.start;if(Object(od).index)ld=this.positionInside(od.index);else if(Object(od).word){let ud=this.toString().indexOf(od.word);ud!==-1&&(ld=this.positionInside(ud))}return ld}}}),U$5=y$4((Ra,qa)=>{var nd=z$4(),od=class extends nd{constructor(ld){super(ld),this.nodes||(this.nodes=[])}push(ld){return ld.parent=this,this.nodes.push(ld),this}each(ld){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let ud=this.lastEach,dd,pd;if(this.indexes[ud]=0,!!this.nodes){for(;this.indexes[ud]<this.nodes.length&&(dd=this.indexes[ud],pd=ld(this.nodes[dd],dd),pd!==!1);)this.indexes[ud]+=1;return delete this.indexes[ud],pd}}walk(ld){return this.each((ud,dd)=>{let pd=ld(ud,dd);return pd!==!1&&ud.walk&&(pd=ud.walk(ld)),pd})}walkType(ld,ud){if(!ld||!ud)throw new Error("Parameters {type} and {callback} are required.");let dd=typeof ld=="function";return this.walk((pd,fd)=>{if(dd&&pd instanceof ld||!dd&&pd.type===ld)return ud.call(this,pd,fd)})}append(ld){return ld.parent=this,this.nodes.push(ld),this}prepend(ld){return ld.parent=this,this.nodes.unshift(ld),this}cleanRaws(ld){if(super.cleanRaws(ld),this.nodes)for(let ud of this.nodes)ud.cleanRaws(ld)}insertAfter(ld,ud){let dd=this.index(ld),pd;this.nodes.splice(dd+1,0,ud);for(let fd in this.indexes)pd=this.indexes[fd],dd<=pd&&(this.indexes[fd]=pd+this.nodes.length);return this}insertBefore(ld,ud){let dd=this.index(ld),pd;this.nodes.splice(dd,0,ud);for(let fd in this.indexes)pd=this.indexes[fd],dd<=pd&&(this.indexes[fd]=pd+this.nodes.length);return this}removeChild(ld){ld=this.index(ld),this.nodes[ld].parent=void 0,this.nodes.splice(ld,1);let ud;for(let dd in this.indexes)ud=this.indexes[dd],ud>=ld&&(this.indexes[dd]=ud-1);return this}removeAll(){for(let ld of this.nodes)ld.parent=void 0;return this.nodes=[],this}every(ld){return this.nodes.every(ld)}some(ld){return this.nodes.some(ld)}index(ld){return typeof ld=="number"?ld:this.nodes.indexOf(ld)}get first(){if(this.nodes)return this.nodes[0]}get last(){if(this.nodes)return this.nodes[this.nodes.length-1]}toString(){let ld=this.nodes.map(String).join("");return this.value&&(ld=this.value+ld),this.raws.before&&(ld=this.raws.before+ld),this.raws.after&&(ld+=this.raws.after),ld}};od.registerWalker=ld=>{let ud="walk"+ld.name;ud.lastIndexOf("s")!==ud.length-1&&(ud+="s"),!od.prototype[ud]&&(od.prototype[ud]=function(dd){return this.walkType(ld,dd)})},qa.exports=od}),uu$1=y$4((Ra,qa)=>{var nd=U$5();qa.exports=class extends nd{constructor(od){super(od),this.type="root"}}}),cu$2=y$4((Ra,qa)=>{var nd=U$5();qa.exports=class extends nd{constructor(od){super(od),this.type="value",this.unbalanced=0}}}),hu$1=y$4((Ra,qa)=>{var nd=U$5(),od=class extends nd{constructor(ld){super(ld),this.type="atword"}toString(){return this.quoted&&this.raws.quote,[this.raws.before,"@",String.prototype.toString.call(this.value),this.raws.after].join("")}};nd.registerWalker(od),qa.exports=od}),mu$1=y$4((Ra,qa)=>{var nd=U$5(),od=z$4(),ld=class extends od{constructor(ud){super(ud),this.type="colon"}};nd.registerWalker(ld),qa.exports=ld}),wu$1=y$4((Ra,qa)=>{var nd=U$5(),od=z$4(),ld=class extends od{constructor(ud){super(ud),this.type="comma"}};nd.registerWalker(ld),qa.exports=ld}),vu$1=y$4((Ra,qa)=>{var nd=U$5(),od=z$4(),ld=class extends od{constructor(ud){super(ud),this.type="comment",this.inline=Object(ud).inline||!1}toString(){return[this.raws.before,this.inline?"//":"/*",String(this.value),this.inline?"":"*/",this.raws.after].join("")}};nd.registerWalker(ld),qa.exports=ld}),_u$1=y$4((Ra,qa)=>{var nd=U$5(),od=class extends nd{constructor(ld){super(ld),this.type="func",this.unbalanced=-1}};nd.registerWalker(od),qa.exports=od}),Eu$1=y$4((Ra,qa)=>{var nd=U$5(),od=z$4(),ld=class extends od{constructor(ud){super(ud),this.type="number",this.unit=Object(ud).unit||""}toString(){return[this.raws.before,String(this.value),this.unit,this.raws.after].join("")}};nd.registerWalker(ld),qa.exports=ld}),Tu$1=y$4((Ra,qa)=>{var nd=U$5(),od=z$4(),ld=class extends od{constructor(ud){super(ud),this.type="operator"}};nd.registerWalker(ld),qa.exports=ld}),Cu$1=y$4((Ra,qa)=>{var nd=U$5(),od=z$4(),ld=class extends od{constructor(ud){super(ud),this.type="paren",this.parenType=""}};nd.registerWalker(ld),qa.exports=ld}),Nu$1=y$4((Ra,qa)=>{var nd=U$5(),od=z$4(),ld=class extends od{constructor(ud){super(ud),this.type="string"}toString(){let ud=this.quoted?this.raws.quote:"";return[this.raws.before,ud,this.value+"",ud,this.raws.after].join("")}};nd.registerWalker(ld),qa.exports=ld}),Ru$1=y$4((Ra,qa)=>{var nd=U$5(),od=z$4(),ld=class extends od{constructor(ud){super(ud),this.type="word"}};nd.registerWalker(ld),qa.exports=ld}),qu$1=y$4((Ra,qa)=>{var nd=U$5(),od=z$4(),ld=class extends od{constructor(ud){super(ud),this.type="unicode-range"}};nd.registerWalker(ld),qa.exports=ld}),Du$1=y$4((Ra,qa)=>{var nd=class extends Error{constructor(od){super(od),this.name=this.constructor.name,this.message=od||"An error ocurred while tokzenizing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(od).stack}};qa.exports=nd}),Uu$1=y$4((Ra,qa)=>{var nd=/[ \n\t\r\{\(\)'"\\;,/]/g,od=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g,ld=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g,ud=/^[a-z0-9]/i,dd=/^[a-f0-9?\-]/i,pd=Du$1();qa.exports=function(fd,md){md=md||{};let vd=[],Ad=fd.valueOf(),Nd=Ad.length,Od=-1,kd=1,Ld=0,Gd=0,jd=null,Fd,Ud,qd,zd,Wd,Jd,_f,Xd,pf,mf,Sf;function Tf(Af){let Ef=`Unclosed ${Af} at line: ${kd}, column: ${Ld-Od}, token: ${Ld}`;throw new pd(Ef)}for(;Ld<Nd;){switch(Fd=Ad.charCodeAt(Ld),Fd===10&&(Od=Ld,kd+=1),Fd){case 10:case 32:case 9:case 13:case 12:Ud=Ld;do Ud+=1,Fd=Ad.charCodeAt(Ud),Fd===10&&(Od=Ud,kd+=1);while(Fd===32||Fd===10||Fd===9||Fd===13||Fd===12);vd.push(["space",Ad.slice(Ld,Ud),kd,Ld-Od,kd,Ud-Od,Ld]),Ld=Ud-1;break;case 58:Ud=Ld+1,vd.push(["colon",Ad.slice(Ld,Ud),kd,Ld-Od,kd,Ud-Od,Ld]),Ld=Ud-1;break;case 44:Ud=Ld+1,vd.push(["comma",Ad.slice(Ld,Ud),kd,Ld-Od,kd,Ud-Od,Ld]),Ld=Ud-1;break;case 123:vd.push(["{","{",kd,Ld-Od,kd,Ud-Od,Ld]);break;case 125:vd.push(["}","}",kd,Ld-Od,kd,Ud-Od,Ld]);break;case 40:Gd++,jd=!jd&&Gd===1&&vd.length>0&&vd[vd.length-1][0]==="word"&&vd[vd.length-1][1]==="url",vd.push(["(","(",kd,Ld-Od,kd,Ud-Od,Ld]);break;case 41:Gd--,jd=jd&&Gd>0,vd.push([")",")",kd,Ld-Od,kd,Ud-Od,Ld]);break;case 39:case 34:qd=Fd===39?"'":'"',Ud=Ld;do for(pf=!1,Ud=Ad.indexOf(qd,Ud+1),Ud===-1&&Tf("quote"),mf=Ud;Ad.charCodeAt(mf-1)===92;)mf-=1,pf=!pf;while(pf);vd.push(["string",Ad.slice(Ld,Ud+1),kd,Ld-Od,kd,Ud-Od,Ld]),Ld=Ud;break;case 64:nd.lastIndex=Ld+1,nd.test(Ad),nd.lastIndex===0?Ud=Ad.length-1:Ud=nd.lastIndex-2,vd.push(["atword",Ad.slice(Ld,Ud+1),kd,Ld-Od,kd,Ud-Od,Ld]),Ld=Ud;break;case 92:Ud=Ld,Fd=Ad.charCodeAt(Ud+1),vd.push(["word",Ad.slice(Ld,Ud+1),kd,Ld-Od,kd,Ud-Od,Ld]),Ld=Ud;break;case 43:case 45:case 42:if(Ud=Ld+1,Sf=Ad.slice(Ld+1,Ud+1),Ad.slice(Ld-1,Ld),Fd===45&&Sf.charCodeAt(0)===45){Ud++,vd.push(["word",Ad.slice(Ld,Ud),kd,Ld-Od,kd,Ud-Od,Ld]),Ld=Ud-1;break}vd.push(["operator",Ad.slice(Ld,Ud),kd,Ld-Od,kd,Ud-Od,Ld]),Ld=Ud-1;break;default:if(Fd===47&&(Ad.charCodeAt(Ld+1)===42||md.loose&&!jd&&Ad.charCodeAt(Ld+1)===47)){if(Ad.charCodeAt(Ld+1)===42)Ud=Ad.indexOf("*/",Ld+2)+1,Ud===0&&Tf("comment");else{let Af=Ad.indexOf(`
`,Ld+2);Ud=Af!==-1?Af-1:Nd}Jd=Ad.slice(Ld,Ud+1),zd=Jd.split(`
`),Wd=zd.length-1,Wd>0?(_f=kd+Wd,Xd=Ud-zd[Wd].length):(_f=kd,Xd=Od),vd.push(["comment",Jd,kd,Ld-Od,_f,Ud-Xd,Ld]),Od=Xd,kd=_f,Ld=Ud}else if(Fd===35&&!ud.test(Ad.slice(Ld+1,Ld+2)))Ud=Ld+1,vd.push(["#",Ad.slice(Ld,Ud),kd,Ld-Od,kd,Ud-Od,Ld]),Ld=Ud-1;else if((Fd===117||Fd===85)&&Ad.charCodeAt(Ld+1)===43){Ud=Ld+2;do Ud+=1,Fd=Ad.charCodeAt(Ud);while(Ud<Nd&&dd.test(Ad.slice(Ud,Ud+1)));vd.push(["unicoderange",Ad.slice(Ld,Ud),kd,Ld-Od,kd,Ud-Od,Ld]),Ld=Ud-1}else if(Fd===47)Ud=Ld+1,vd.push(["operator",Ad.slice(Ld,Ud),kd,Ld-Od,kd,Ud-Od,Ld]),Ld=Ud-1;else{let Af=od;if(Fd>=48&&Fd<=57&&(Af=ld),Af.lastIndex=Ld+1,Af.test(Ad),Af.lastIndex===0?Ud=Ad.length-1:Ud=Af.lastIndex-2,Af===ld||Fd===46){let Ef=Ad.charCodeAt(Ud),Nf=Ad.charCodeAt(Ud+1),If=Ad.charCodeAt(Ud+2);(Ef===101||Ef===69)&&(Nf===45||Nf===43)&&If>=48&&If<=57&&(ld.lastIndex=Ud+2,ld.test(Ad),ld.lastIndex===0?Ud=Ad.length-1:Ud=ld.lastIndex-2)}vd.push(["word",Ad.slice(Ld,Ud+1),kd,Ld-Od,kd,Ud-Od,Ld]),Ld=Ud}break}Ld++}return vd}}),$u$1=y$4((Ra,qa)=>{var nd=class extends Error{constructor(od){super(od),this.name=this.constructor.name,this.message=od||"An error ocurred while parsing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(od).stack}};qa.exports=nd}),Vu$1=y$4((Ra,qa)=>{var nd=uu$1(),od=cu$2(),ld=hu$1(),ud=mu$1(),dd=wu$1(),pd=vu$1(),fd=_u$1(),md=Eu$1(),vd=Tu$1(),Ad=Cu$1(),Nd=Nu$1(),Od=Ru$1(),kd=qu$1(),Ld=Uu$1(),Gd=qs(),jd=Ls(),Fd=Ds(),Ud=$u$1();function qd(zd){return zd.sort((Wd,Jd)=>Wd-Jd)}qa.exports=class{constructor(zd,Wd){let Jd={loose:!1};this.cache=[],this.input=zd,this.options=Object.assign({},Jd,Wd),this.position=0,this.unbalanced=0,this.root=new nd;let _f=new od;this.root.append(_f),this.current=_f,this.tokens=Ld(zd,this.options)}parse(){return this.loop()}colon(){let zd=this.currToken;this.newNode(new ud({value:zd[1],source:{start:{line:zd[2],column:zd[3]},end:{line:zd[4],column:zd[5]}},sourceIndex:zd[6]})),this.position++}comma(){let zd=this.currToken;this.newNode(new dd({value:zd[1],source:{start:{line:zd[2],column:zd[3]},end:{line:zd[4],column:zd[5]}},sourceIndex:zd[6]})),this.position++}comment(){let zd=!1,Wd=this.currToken[1].replace(/\/\*|\*\//g,""),Jd;this.options.loose&&Wd.startsWith("//")&&(Wd=Wd.substring(2),zd=!0),Jd=new pd({value:Wd,inline:zd,source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]}),this.newNode(Jd),this.position++}error(zd,Wd){throw new Ud(zd+` at line: ${Wd[2]}, column ${Wd[3]}`)}loop(){for(;this.position<this.tokens.length;)this.parseTokens();return!this.current.last&&this.spaces?this.current.raws.before+=this.spaces:this.spaces&&(this.current.last.raws.after+=this.spaces),this.spaces="",this.root}operator(){let zd=this.currToken[1],Wd;if(zd==="+"||zd==="-"){if(this.options.loose||this.position>0&&(this.current.type==="func"&&this.current.value==="calc"?this.prevToken[0]!=="space"&&this.prevToken[0]!=="("?this.error("Syntax Error",this.currToken):this.nextToken[0]!=="space"&&this.nextToken[0]!=="word"?this.error("Syntax Error",this.currToken):this.nextToken[0]==="word"&&this.current.last.type!=="operator"&&this.current.last.value!=="("&&this.error("Syntax Error",this.currToken):(this.nextToken[0]==="space"||this.nextToken[0]==="operator"||this.prevToken[0]==="operator")&&this.error("Syntax Error",this.currToken)),this.options.loose){if((!this.current.nodes.length||this.current.last&&this.current.last.type==="operator")&&this.nextToken[0]==="word")return this.word()}else if(this.nextToken[0]==="word")return this.word()}return Wd=new vd({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]}),this.position++,this.newNode(Wd)}parseTokens(){switch(this.currToken[0]){case"space":this.space();break;case"colon":this.colon();break;case"comma":this.comma();break;case"comment":this.comment();break;case"(":this.parenOpen();break;case")":this.parenClose();break;case"atword":case"word":this.word();break;case"operator":this.operator();break;case"string":this.string();break;case"unicoderange":this.unicodeRange();break;default:this.word();break}}parenOpen(){let zd=1,Wd=this.position+1,Jd=this.currToken,_f;for(;Wd<this.tokens.length&&zd;){let Xd=this.tokens[Wd];Xd[0]==="("&&zd++,Xd[0]===")"&&zd--,Wd++}if(zd&&this.error("Expected closing parenthesis",Jd),_f=this.current.last,_f&&_f.type==="func"&&_f.unbalanced<0&&(_f.unbalanced=0,this.current=_f),this.current.unbalanced++,this.newNode(new Ad({value:Jd[1],source:{start:{line:Jd[2],column:Jd[3]},end:{line:Jd[4],column:Jd[5]}},sourceIndex:Jd[6]})),this.position++,this.current.type==="func"&&this.current.unbalanced&&this.current.value==="url"&&this.currToken[0]!=="string"&&this.currToken[0]!==")"&&!this.options.loose){let Xd=this.nextToken,pf=this.currToken[1],mf={line:this.currToken[2],column:this.currToken[3]};for(;Xd&&Xd[0]!==")"&&this.current.unbalanced;)this.position++,pf+=this.currToken[1],Xd=this.nextToken;this.position!==this.tokens.length-1&&(this.position++,this.newNode(new Od({value:pf,source:{start:mf,end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]})))}}parenClose(){let zd=this.currToken;this.newNode(new Ad({value:zd[1],source:{start:{line:zd[2],column:zd[3]},end:{line:zd[4],column:zd[5]}},sourceIndex:zd[6]})),this.position++,!(this.position>=this.tokens.length-1&&!this.current.unbalanced)&&(this.current.unbalanced--,this.current.unbalanced<0&&this.error("Expected opening parenthesis",zd),!this.current.unbalanced&&this.cache.length&&(this.current=this.cache.pop()))}space(){let zd=this.currToken;this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.raws.after+=zd[1],this.position++):(this.spaces=zd[1],this.position++)}unicodeRange(){let zd=this.currToken;this.newNode(new kd({value:zd[1],source:{start:{line:zd[2],column:zd[3]},end:{line:zd[4],column:zd[5]}},sourceIndex:zd[6]})),this.position++}splitWord(){let zd=this.nextToken,Wd=this.currToken[1],Jd=/^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/,_f=/^(?!\#([a-z0-9]+))[\#\{\}]/gi,Xd,pf;if(!_f.test(Wd))for(;zd&&zd[0]==="word";){this.position++;let mf=this.currToken[1];Wd+=mf,zd=this.nextToken}Xd=jd(Wd,"@"),pf=qd(Fd(Gd([[0],Xd]))),pf.forEach((mf,Sf)=>{let Tf=pf[Sf+1]||Wd.length,Af=Wd.slice(mf,Tf),Ef;if(~Xd.indexOf(mf))Ef=new ld({value:Af.slice(1),source:{start:{line:this.currToken[2],column:this.currToken[3]+mf},end:{line:this.currToken[4],column:this.currToken[3]+(Tf-1)}},sourceIndex:this.currToken[6]+pf[Sf]});else if(Jd.test(this.currToken[1])){let Nf=Af.replace(Jd,"");Ef=new md({value:Af.replace(Nf,""),source:{start:{line:this.currToken[2],column:this.currToken[3]+mf},end:{line:this.currToken[4],column:this.currToken[3]+(Tf-1)}},sourceIndex:this.currToken[6]+pf[Sf],unit:Nf})}else Ef=new(zd&&zd[0]==="("?fd:Od)({value:Af,source:{start:{line:this.currToken[2],column:this.currToken[3]+mf},end:{line:this.currToken[4],column:this.currToken[3]+(Tf-1)}},sourceIndex:this.currToken[6]+pf[Sf]}),Ef.type==="word"?(Ef.isHex=/^#(.+)/.test(Af),Ef.isColor=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(Af)):this.cache.push(this.current);this.newNode(Ef)}),this.position++}string(){let zd=this.currToken,Wd=this.currToken[1],Jd=/^(\"|\')/,_f=Jd.test(Wd),Xd="",pf;_f&&(Xd=Wd.match(Jd)[0],Wd=Wd.slice(1,Wd.length-1)),pf=new Nd({value:Wd,source:{start:{line:zd[2],column:zd[3]},end:{line:zd[4],column:zd[5]}},sourceIndex:zd[6],quoted:_f}),pf.raws.quote=Xd,this.newNode(pf),this.position++}word(){return this.splitWord()}newNode(zd){return this.spaces&&(zd.raws.before+=this.spaces,this.spaces=""),this.current.append(zd)}get currToken(){return this.tokens[this.position]}get nextToken(){return this.tokens[this.position+1]}get prevToken(){return this.tokens[this.position-1]}}}),Qs={};Xs(Qs,{languages:()=>pi$3,options:()=>di$1,parsers:()=>Ks,printers:()=>Ey});var hl=(Ra,qa,nd,od)=>{if(!(Ra&&qa==null))return qa.replaceAll?qa.replaceAll(nd,od):nd.global?qa.replace(nd,od):qa.split(nd).join(od)},_$4=hl,Me$3="string",Be$4="array",Ue$1="cursor",we$4="indent",ge$4="align",Fe$3="trim",ve$4="group",xe$3="fill",oe$3="if-break",$e$2="indent-if-break",We$2="line-suffix",Ye$3="line-suffix-boundary",K$4="line",ze$3="label",be$5="break-parent",bt$3=new Set([Ue$1,we$4,ge$4,Fe$3,ve$4,xe$3,oe$3,$e$2,We$2,Ye$3,K$4,ze$3,be$5]);function dl(Ra){if(typeof Ra=="string")return Me$3;if(Array.isArray(Ra))return Be$4;if(!Ra)return;let{type:qa}=Ra;if(bt$3.has(qa))return qa}var Ve$2=dl,ml=Ra=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(Ra);function yl(Ra){let qa=Ra===null?"null":typeof Ra;if(qa!=="string"&&qa!=="object")return`Unexpected doc '${qa}',
Expected it to be 'string' or 'object'.`;if(Ve$2(Ra))throw new Error("doc is valid.");let nd=Object.prototype.toString.call(Ra);if(nd!=="[object Object]")return`Unexpected doc '${nd}'.`;let od=ml([...bt$3].map(ld=>`'${ld}'`));return`Unexpected doc.type '${Ra.type}'.
Expected it to be ${od}.`}var Fr$1=class extends Error{constructor(nd){super(yl(nd));kg(this,"name","InvalidDocError");this.doc=nd}},$r$1=Fr$1,Zs=()=>{},_t$2=Zs;function q$5(Ra){return{type:we$4,contents:Ra}}function en$2(Ra,qa){return{type:ge$4,contents:qa,n:Ra}}function L$4(Ra,qa={}){return _t$2(qa.expandedStates),{type:ve$4,id:qa.id,contents:Ra,break:!!qa.shouldBreak,expandedStates:qa.expandedStates}}function tn$1(Ra){return en$2({type:"root"},Ra)}function ue$3(Ra){return en$2(-1,Ra)}function Ge$2(Ra){return{type:xe$3,parts:Ra}}function kt$1(Ra,qa="",nd={}){return{type:oe$3,breakContents:Ra,flatContents:qa,groupId:nd.groupId}}var je$4={type:be$5},wl={type:K$4,hard:!0},A$2={type:K$4},M$4={type:K$4,soft:!0},E$4=[wl,je$4];function V$4(Ra,qa){let nd=[];for(let od=0;od<qa.length;od++)od!==0&&nd.push(Ra),nd.push(qa[od]);return nd}var gl=(Ra,qa,nd)=>{if(!(Ra&&qa==null))return Array.isArray(qa)||typeof qa=="string"?qa[nd<0?qa.length+nd:nd]:qa.at(nd)},G$5=gl;function vl(Ra,qa){if(typeof Ra=="string")return qa(Ra);let nd=new Map;return od(Ra);function od(ud){if(nd.has(ud))return nd.get(ud);let dd=ld(ud);return nd.set(ud,dd),dd}function ld(ud){switch(Ve$2(ud)){case Be$4:return qa(ud.map(od));case xe$3:return qa({...ud,parts:ud.parts.map(od)});case oe$3:return qa({...ud,breakContents:od(ud.breakContents),flatContents:od(ud.flatContents)});case ve$4:{let{expandedStates:dd,contents:pd}=ud;return dd?(dd=dd.map(od),pd=dd[0]):pd=od(pd),qa({...ud,contents:pd,expandedStates:dd})}case ge$4:case we$4:case $e$2:case ze$3:case We$2:return qa({...ud,contents:od(ud.contents)});case Me$3:case Ue$1:case Fe$3:case Ye$3:case K$4:case be$5:return qa(ud);default:throw new $r$1(ud)}}}function xl(Ra){return Ra.type===K$4&&!Ra.hard?Ra.soft?"":" ":Ra.type===oe$3?Ra.flatContents:Ra}function rn$2(Ra){return vl(Ra,xl)}function bl$1(Ra){return Array.isArray(Ra)&&Ra.length>0}var ee$3=bl$1,Et$1="'",sn$1='"';function _l(Ra,qa){let nd=qa===!0||qa===Et$1?Et$1:sn$1,od=nd===Et$1?sn$1:Et$1,ld=0,ud=0;for(let dd of Ra)dd===nd?ld++:dd===od&&ud++;return ld>ud?od:nd}var nn$2=_l;function kl(Ra,qa,nd){let od=qa==='"'?"'":'"',ld=_$4(!1,Ra,/\\(.)|(["'])/gsu,(ud,dd,pd)=>dd===od?dd:pd===qa?"\\"+pd:pd||(nd&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(dd)?dd:"\\"+dd));return qa+ld+qa}var on$1=kl;function El(Ra,qa){let nd=Ra.slice(1,-1),od=qa.parser==="json"||qa.parser==="jsonc"||qa.parser==="json5"&&qa.quoteProps==="preserve"&&!qa.singleQuote?'"':qa.__isInHtmlAttribute?"'":nn$2(nd,qa.singleQuote);return on$1(nd,od,!(qa.parser==="css"||qa.parser==="less"||qa.parser==="scss"||qa.__embeddedInHtml))}var St$2=El,Wr$1=class extends Error{constructor(nd,od,ld="type"){super(`Unexpected ${od} node ${ld}: ${JSON.stringify(nd[ld])}.`);kg(this,"name","UnexpectedNodeError");this.node=nd}},an$3=Wr$1;function Sl(Ra){return(Ra==null?void 0:Ra.type)==="front-matter"}var _e$3=Sl,Tl=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma","spaces"]);function un$2(Ra,qa,nd){if(_e$3(Ra)&&Ra.language==="yaml"&&delete qa.value,Ra.type==="css-comment"&&nd.type==="css-root"&&nd.nodes.length>0&&((nd.nodes[0]===Ra||_e$3(nd.nodes[0])&&nd.nodes[1]===Ra)&&(delete qa.text,/^\*\s*@(?:format|prettier)\s*$/u.test(Ra.text))||nd.type==="css-root"&&G$5(!1,nd.nodes,-1)===Ra))return null;if(Ra.type==="value-root"&&delete qa.text,(Ra.type==="media-query"||Ra.type==="media-query-list"||Ra.type==="media-feature-expression")&&delete qa.value,Ra.type==="css-rule"&&delete qa.params,(Ra.type==="media-feature"||Ra.type==="media-keyword"||Ra.type==="media-type"||Ra.type==="media-unknown"||Ra.type==="media-url"||Ra.type==="media-value"||Ra.type==="selector-attribute"||Ra.type==="selector-string"||Ra.type==="selector-class"||Ra.type==="selector-combinator"||Ra.type==="value-string")&&Ra.value&&(qa.value=Ol(Ra.value)),Ra.type==="selector-combinator"&&(qa.value=_$4(!1,qa.value,/\s+/gu," ")),Ra.type==="media-feature"&&(qa.value=_$4(!1,qa.value," ","")),(Ra.type==="value-word"&&(Ra.isColor&&Ra.isHex||["initial","inherit","unset","revert"].includes(Ra.value.toLowerCase()))||Ra.type==="media-feature"||Ra.type==="selector-root-invalid"||Ra.type==="selector-pseudo")&&(qa.value=qa.value.toLowerCase()),Ra.type==="css-decl"&&(qa.prop=Ra.prop.toLowerCase()),(Ra.type==="css-atrule"||Ra.type==="css-import")&&(qa.name=Ra.name.toLowerCase()),Ra.type==="value-number"&&(qa.unit=Ra.unit.toLowerCase()),Ra.type==="value-unknown"&&(qa.value=_$4(!1,qa.value,/;$/gu,"")),Ra.type==="selector-attribute"&&(qa.attribute=Ra.attribute.trim(),Ra.namespace&&typeof Ra.namespace=="string"&&(qa.namespace=Ra.namespace.trim()||!0),Ra.value&&(qa.value=_$4(!1,qa.value.trim(),/^["']|["']$/gu,""),delete qa.quoted)),(Ra.type==="media-value"||Ra.type==="media-type"||Ra.type==="value-number"||Ra.type==="selector-root-invalid"||Ra.type==="selector-class"||Ra.type==="selector-combinator"||Ra.type==="selector-tag")&&Ra.value&&(qa.value=_$4(!1,qa.value,/([\d+.e-]+)([a-z]*)/giu,(od,ld,ud)=>{let dd=Number(ld);return Number.isNaN(dd)?od:dd+ud.toLowerCase()})),Ra.type==="selector-tag"){let od=qa.value.toLowerCase();["from","to"].includes(od)&&(qa.value=od)}if(Ra.type==="css-atrule"&&Ra.name.toLowerCase()==="supports"&&delete qa.value,Ra.type==="selector-unknown"&&delete qa.value,Ra.type==="value-comma_group"){let od=Ra.groups.findIndex(ld=>ld.type==="value-number"&&ld.unit==="...");od!==-1&&(qa.groups[od].unit="",qa.groups.splice(od+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}if(Ra.type==="value-comma_group"&&Ra.groups.some(od=>od.type==="value-atword"&&od.value.endsWith("[")||od.type==="value-word"&&od.value.startsWith("]")))return{type:"value-atword",value:Ra.groups.map(od=>od.value).join(""),group:{open:null,close:null,groups:[],type:"value-paren_group"}}}un$2.ignoredProperties=Tl;function Ol(Ra){return _$4(!1,_$4(!1,Ra,"'",'"'),/\\([^\da-f])/giu,"$1")}var ln$2=un$2;async function Cl(Ra,qa){if(Ra.language==="yaml"){let nd=Ra.value.trim(),od=nd?await qa(nd,{parser:"yaml"}):"";return tn$1([Ra.startDelimiter,Ra.explicitLanguage,E$4,od,od?E$4:"",Ra.endDelimiter])}}var cn$3=Cl;function fn$2(Ra){let{node:qa}=Ra;if(qa.type==="front-matter")return async nd=>{let od=await cn$3(qa,nd);return od?[od,E$4]:void 0}}fn$2.getVisitorKeys=Ra=>Ra.type==="css-root"?["frontMatter"]:[];var pn$2=fn$2,He$3=null;function Ke$3(Ra){if(He$3!==null&&typeof He$3.property){let qa=He$3;return He$3=Ke$3.prototype=null,qa}return He$3=Ke$3.prototype=Ra??Object.create(null),new Ke$3}var Al=10;for(let Ra=0;Ra<=Al;Ra++)Ke$3();function Yr$1(Ra){return Ke$3(Ra)}function Nl(Ra,qa="type"){Yr$1(Ra);function nd(od){let ld=od[qa],ud=Ra[ld];if(!Array.isArray(ud))throw Object.assign(new Error(`Missing visitor keys for '${ld}'.`),{node:od});return ud}return nd}var hn$1=Nl,Pl={"front-matter":[],"css-root":["frontMatter","nodes"],"css-comment":[],"css-rule":["selector","nodes"],"css-decl":["value","selector","nodes"],"css-atrule":["selector","params","value","nodes"],"media-query-list":["nodes"],"media-query":["nodes"],"media-type":[],"media-feature-expression":["nodes"],"media-feature":[],"media-colon":[],"media-value":[],"media-keyword":[],"media-url":[],"media-unknown":[],"selector-root":["nodes"],"selector-selector":["nodes"],"selector-comment":[],"selector-string":[],"selector-tag":[],"selector-id":[],"selector-class":[],"selector-attribute":[],"selector-combinator":["nodes"],"selector-universal":[],"selector-pseudo":["nodes"],"selector-nesting":[],"selector-unknown":[],"value-value":["group"],"value-root":["group"],"value-comment":[],"value-comma_group":["groups"],"value-paren_group":["open","groups","close"],"value-func":["group"],"value-paren":[],"value-number":[],"value-operator":[],"value-word":[],"value-colon":[],"value-comma":[],"value-string":[],"value-atword":[],"value-unicode-range":[],"value-unknown":[]},dn$2=Pl,Rl=hn$1(dn$2),mn$2=Rl;function Il(Ra,qa){let nd=0;for(let od=0;od<Ra.line-1;++od)nd=qa.indexOf(`
`,nd)+1;return nd+Ra.column}var zr$1=Il;function Tt$2(Ra){return(qa,nd,od)=>{let ld=!!(od!=null&&od.backwards);if(nd===!1)return!1;let{length:ud}=qa,dd=nd;for(;dd>=0&&dd<ud;){let pd=qa.charAt(dd);if(Ra instanceof RegExp){if(!Ra.test(pd))return dd}else if(!Ra.includes(pd))return dd;ld?dd--:dd++}return dd===-1||dd===ud?dd:!1}}var Ot$2=Tt$2(" "),yn$2=Tt$2(",; "),Ct$1=Tt$2(/[^\n\r]/u);function wn$1(Ra,qa){var nd,od,ld;if(typeof((od=(nd=Ra.source)==null?void 0:nd.start)==null?void 0:od.offset)=="number")return Ra.source.start.offset;if(typeof Ra.sourceIndex=="number")return Ra.sourceIndex;if((ld=Ra.source)!=null&&ld.start)return zr$1(Ra.source.start,qa);throw Object.assign(new Error("Can not locate node."),{node:Ra})}function Vr$1(Ra,qa){var nd,od;if(Ra.type==="css-comment"&&Ra.inline)return Ct$1(qa,Ra.source.startOffset);if(typeof((od=(nd=Ra.source)==null?void 0:nd.end)==null?void 0:od.offset)=="number")return Ra.source.end.offset;if(Ra.source){if(Ra.source.end)return zr$1(Ra.source.end,qa);if(ee$3(Ra.nodes))return Vr$1(G$5(!1,Ra.nodes,-1),qa)}return null}function Gr$1(Ra,qa){Ra.source&&(Ra.source.startOffset=wn$1(Ra,qa),Ra.source.endOffset=Vr$1(Ra,qa));for(let nd in Ra){let od=Ra[nd];nd==="source"||!od||typeof od!="object"||(od.type==="value-root"||od.type==="value-unknown"?gn$2(od,ql(Ra),od.text||od.value):Gr$1(od,qa))}}function gn$2(Ra,qa,nd){Ra.source&&(Ra.source.startOffset=wn$1(Ra,nd)+qa,Ra.source.endOffset=Vr$1(Ra,nd)+qa);for(let od in Ra){let ld=Ra[od];od==="source"||!ld||typeof ld!="object"||gn$2(ld,qa,nd)}}function ql(Ra){var qa;let nd=Ra.source.startOffset;return typeof Ra.prop=="string"&&(nd+=Ra.prop.length),Ra.type==="css-atrule"&&typeof Ra.name=="string"&&(nd+=1+Ra.name.length+Ra.raws.afterName.match(/^\s*:?\s*/u)[0].length),Ra.type!=="css-atrule"&&typeof((qa=Ra.raws)==null?void 0:qa.between)=="string"&&(nd+=Ra.raws.between.length),nd}function vn$1(Ra){let qa="initial",nd="initial",od,ld=!1,ud=[];for(let dd=0;dd<Ra.length;dd++){let pd=Ra[dd];switch(qa){case"initial":if(pd==="'"){qa="single-quotes";continue}if(pd==='"'){qa="double-quotes";continue}if((pd==="u"||pd==="U")&&Ra.slice(dd,dd+4).toLowerCase()==="url("){qa="url",dd+=3;continue}if(pd==="*"&&Ra[dd-1]==="/"){qa="comment-block";continue}if(pd==="/"&&Ra[dd-1]==="/"){qa="comment-inline",od=dd-1;continue}continue;case"single-quotes":if(pd==="'"&&Ra[dd-1]!=="\\"&&(qa=nd,nd="initial"),pd===`
`||pd==="\r")return Ra;continue;case"double-quotes":if(pd==='"'&&Ra[dd-1]!=="\\"&&(qa=nd,nd="initial"),pd===`
`||pd==="\r")return Ra;continue;case"url":if(pd===")"&&(qa="initial"),pd===`
`||pd==="\r")return Ra;if(pd==="'"){qa="single-quotes",nd="url";continue}if(pd==='"'){qa="double-quotes",nd="url";continue}continue;case"comment-block":pd==="/"&&Ra[dd-1]==="*"&&(qa="initial");continue;case"comment-inline":(pd==='"'||pd==="'"||pd==="*")&&(ld=!0),(pd===`
`||pd==="\r")&&(ld&&ud.push([od,dd]),qa="initial",ld=!1);continue}}for(let[dd,pd]of ud)Ra=Ra.slice(0,dd)+_$4(!1,Ra.slice(dd,pd),/["'*]/gu," ")+Ra.slice(pd);return Ra}function N$4(Ra){var qa;return(qa=Ra.source)==null?void 0:qa.startOffset}function P$5(Ra){var qa;return(qa=Ra.source)==null?void 0:qa.endOffset}var Ll=/\*\/$/,Dl=/^\/\*\*?/,kn$1=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,Ml=/(^|\s+)\/\/([^\n\r]*)/g,xn$1=/^(\r?\n)+/,Bl=/(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g,bn$2=/(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g,Ul=/(\r?\n|^) *\* ?/g,En$1=[];function Sn$1(Ra){let qa=Ra.match(kn$1);return qa?qa[0].trimStart():""}function Tn$1(Ra){let qa=Ra.match(kn$1),nd=qa==null?void 0:qa[0];return nd==null?Ra:Ra.slice(nd.length)}function On$1(Ra){let qa=`
`;Ra=_$4(!1,Ra.replace(Dl,"").replace(Ll,""),Ul,"$1");let nd="";for(;nd!==Ra;)nd=Ra,Ra=_$4(!1,Ra,Bl,`${qa}$1 $2${qa}`);Ra=Ra.replace(xn$1,"").trimEnd();let od=Object.create(null),ld=_$4(!1,Ra,bn$2,"").replace(xn$1,"").trimEnd(),ud;for(;ud=bn$2.exec(Ra);){let dd=_$4(!1,ud[2],Ml,"");if(typeof od[ud[1]]=="string"||Array.isArray(od[ud[1]])){let pd=od[ud[1]];od[ud[1]]=[...En$1,...Array.isArray(pd)?pd:[pd],dd]}else od[ud[1]]=dd}return{comments:ld,pragmas:od}}function Cn$1({comments:Ra="",pragmas:qa={}}){let nd=`
`,od="/**",ld=" *",ud=" */",dd=Object.keys(qa),pd=dd.flatMap(md=>_n$1(md,qa[md])).map(md=>`${ld} ${md}${nd}`).join("");if(!Ra){if(dd.length===0)return"";if(dd.length===1&&!Array.isArray(qa[dd[0]])){let md=qa[dd[0]];return`${od} ${_n$1(dd[0],md)[0]}${ud}`}}let fd=Ra.split(nd).map(md=>`${ld} ${md}`).join(nd)+nd;return od+nd+(Ra?fd:"")+(Ra&&dd.length>0?ld+nd:"")+pd+ud}function _n$1(Ra,qa){return[...En$1,...Array.isArray(qa)?qa:[qa]].map(nd=>`@${Ra} ${nd}`.trim())}function Fl(Ra){if(!Ra.startsWith("#!"))return"";let qa=Ra.indexOf(`
`);return qa===-1?Ra:Ra.slice(0,qa)}var An$1=Fl;function Nn$1(Ra){let qa=An$1(Ra);qa&&(Ra=Ra.slice(qa.length+1));let nd=Sn$1(Ra),{pragmas:od,comments:ld}=On$1(nd);return{shebang:qa,text:Ra,pragmas:od,comments:ld}}function Pn$1(Ra){let{pragmas:qa}=Nn$1(Ra);return Object.prototype.hasOwnProperty.call(qa,"prettier")||Object.prototype.hasOwnProperty.call(qa,"format")}function Rn(Ra){let{shebang:qa,text:nd,pragmas:od,comments:ld}=Nn$1(Ra),ud=Tn$1(nd),dd=Cn$1({pragmas:{format:"",...od},comments:ld.trimStart()});return(qa?`${qa}
`:"")+dd+(ud.startsWith(`
`)?`
`:`
`)+ud}var Qe$2=3;function $l(Ra){let qa=Ra.slice(0,Qe$2);if(qa!=="---"&&qa!=="+++")return;let nd=Ra.indexOf(`
`,Qe$2);if(nd===-1)return;let od=Ra.slice(Qe$2,nd).trim(),ld=Ra.indexOf(`
${qa}`,nd),ud=od;if(ud||(ud=qa==="+++"?"toml":"yaml"),ld===-1&&qa==="---"&&ud==="yaml"&&(ld=Ra.indexOf(`
...`,nd)),ld===-1)return;let dd=ld+1+Qe$2,pd=Ra.charAt(dd+1);if(!/\s?/u.test(pd))return;let fd=Ra.slice(0,dd);return{type:"front-matter",language:ud,explicitLanguage:od,value:Ra.slice(nd+1,ld),startDelimiter:qa,endDelimiter:fd.slice(-Qe$2),raw:fd}}function Wl(Ra){let qa=$l(Ra);if(!qa)return{content:Ra};let{raw:nd}=qa;return{frontMatter:qa,content:_$4(!1,nd,/[^\n]/gu," ")+Ra.slice(nd.length)}}var Je$2=Wl;function In(Ra){return Pn$1(Je$2(Ra).content)}function qn$1(Ra){let{frontMatter:qa,content:nd}=Je$2(Ra);return(qa?qa.raw+`
`:"")+Rn(nd)}var Yl=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]);function Ln(Ra){var qa,nd;return(nd=(qa=Ra.findAncestor(od=>od.type==="css-decl"))==null?void 0:qa.prop)==null?void 0:nd.toLowerCase()}var zl=new Set(["initial","inherit","unset","revert"]);function Dn$1(Ra){return zl.has(Ra.toLowerCase())}function Mn(Ra,qa){var nd;let od=Ra.findAncestor(ld=>ld.type==="css-atrule");return((nd=od==null?void 0:od.name)==null?void 0:nd.toLowerCase().endsWith("keyframes"))&&["from","to"].includes(qa.toLowerCase())}function te$3(Ra){return Ra.includes("$")||Ra.includes("@")||Ra.includes("#")||Ra.startsWith("%")||Ra.startsWith("--")||Ra.startsWith(":--")||Ra.includes("(")&&Ra.includes(")")?Ra:Ra.toLowerCase()}function ke$4(Ra,qa){var nd;let od=Ra.findAncestor(ld=>ld.type==="value-func");return((nd=od==null?void 0:od.value)==null?void 0:nd.toLowerCase())===qa}function Bn$1(Ra){var qa;let nd=Ra.findAncestor(ld=>ld.type==="css-rule"),od=(qa=nd==null?void 0:nd.raws)==null?void 0:qa.selector;return od&&(od.startsWith(":import")||od.startsWith(":export"))}function Ee$4(Ra,qa){let nd=Array.isArray(qa)?qa:[qa],od=Ra.findAncestor(ld=>ld.type==="css-atrule");return od&&nd.includes(od.name.toLowerCase())}function Un$1(Ra){var qa;let{node:nd}=Ra;return nd.groups[0].value==="url"&&nd.groups.length===2&&((qa=Ra.findAncestor(od=>od.type==="css-atrule"))==null?void 0:qa.name)==="import"}function Fn$1(Ra){return Ra.type==="value-func"&&Ra.value.toLowerCase()==="url"}function $n$1(Ra){return Ra.type==="value-func"&&Ra.value.toLowerCase()==="var"}function Wn(Ra){let{selector:qa}=Ra;return qa?typeof qa=="string"&&/^@.+:.*$/u.test(qa)||qa.value&&/^@.+:.*$/u.test(qa.value):!1}function Yn(Ra){return Ra.type==="value-word"&&["from","through","end"].includes(Ra.value)}function zn$1(Ra){return Ra.type==="value-word"&&["and","or","not"].includes(Ra.value)}function Vn$1(Ra){return Ra.type==="value-word"&&Ra.value==="in"}function At$1(Ra){return Ra.type==="value-operator"&&Ra.value==="*"}function Xe$2(Ra){return Ra.type==="value-operator"&&Ra.value==="/"}function Q$5(Ra){return Ra.type==="value-operator"&&Ra.value==="+"}function le$3(Ra){return Ra.type==="value-operator"&&Ra.value==="-"}function Vl(Ra){return Ra.type==="value-operator"&&Ra.value==="%"}function Nt$2(Ra){return At$1(Ra)||Xe$2(Ra)||Q$5(Ra)||le$3(Ra)||Vl(Ra)}function Gn$1(Ra){return Ra.type==="value-word"&&["==","!="].includes(Ra.value)}function jn(Ra){return Ra.type==="value-word"&&["<",">","<=",">="].includes(Ra.value)}function Ze$2(Ra,qa){return qa.parser==="scss"&&Ra.type==="css-atrule"&&["if","else","for","each","while"].includes(Ra.name)}function Hr$1(Ra){var qa;return((qa=Ra.raws)==null?void 0:qa.params)&&/^\(\s*\)$/u.test(Ra.raws.params)}function Pt$1(Ra){return Ra.name.startsWith("prettier-placeholder")}function Hn(Ra){return Ra.prop.startsWith("@prettier-placeholder")}function Kn$1(Ra,qa){return Ra.value==="$$"&&Ra.type==="value-func"&&(qa==null?void 0:qa.type)==="value-word"&&!qa.raws.before}function Qn$1(Ra){var qa,nd;return((qa=Ra.value)==null?void 0:qa.type)==="value-root"&&((nd=Ra.value.group)==null?void 0:nd.type)==="value-value"&&Ra.prop.toLowerCase()==="composes"}function Jn$1(Ra){var qa,nd,od;return((od=(nd=(qa=Ra.value)==null?void 0:qa.group)==null?void 0:nd.group)==null?void 0:od.type)==="value-paren_group"&&Ra.value.group.group.open!==null&&Ra.value.group.group.close!==null}function ce$5(Ra){var qa;return((qa=Ra.raws)==null?void 0:qa.before)===""}function Rt$2(Ra){var qa,nd;return Ra.type==="value-comma_group"&&((nd=(qa=Ra.groups)==null?void 0:qa[1])==null?void 0:nd.type)==="value-colon"}function jr$1(Ra){var qa;return Ra.type==="value-paren_group"&&((qa=Ra.groups)==null?void 0:qa[0])&&Rt$2(Ra.groups[0])}function Kr$1(Ra,qa){var nd;if(qa.parser!=="scss")return!1;let{node:od}=Ra;if(od.groups.length===0)return!1;let ld=Ra.grandparent;if(!jr$1(od)&&!(ld&&jr$1(ld)))return!1;let ud=Ra.findAncestor(dd=>dd.type==="css-decl");return!!((nd=ud==null?void 0:ud.prop)!=null&&nd.startsWith("$")||jr$1(ld)||ld.type==="value-func")}function Qr$1(Ra){return Ra.type==="value-comment"&&Ra.inline}function It$2(Ra){return Ra.type==="value-word"&&Ra.value==="#"}function Jr$1(Ra){return Ra.type==="value-word"&&Ra.value==="{"}function qt$3(Ra){return Ra.type==="value-word"&&Ra.value==="}"}function et$3(Ra){return["value-word","value-atword"].includes(Ra.type)}function Lt$1(Ra){return(Ra==null?void 0:Ra.type)==="value-colon"}function Xn$1(Ra,qa){if(!Rt$2(qa))return!1;let{groups:nd}=qa,od=nd.indexOf(Ra);return od===-1?!1:Lt$1(nd[od+1])}function Zn$1(Ra){return Ra.value&&["not","and","or"].includes(Ra.value.toLowerCase())}function ei$1(Ra){return Ra.type!=="value-func"?!1:Yl.has(Ra.value.toLowerCase())}function Se$4(Ra){return/\/\//u.test(Ra.split(/[\n\r]/u).pop())}function tt$3(Ra){return(Ra==null?void 0:Ra.type)==="value-atword"&&Ra.value.startsWith("prettier-placeholder-")}function ti$1(Ra,qa){var nd,od;if(((nd=Ra.open)==null?void 0:nd.value)!=="("||((od=Ra.close)==null?void 0:od.value)!==")"||Ra.groups.some(ld=>ld.type!=="value-comma_group"))return!1;if(qa.type==="value-comma_group"){let ld=qa.groups.indexOf(Ra)-1,ud=qa.groups[ld];if((ud==null?void 0:ud.type)==="value-word"&&ud.value==="with")return!0}return!1}function rt$2(Ra){var qa,nd;return Ra.type==="value-paren_group"&&((qa=Ra.open)==null?void 0:qa.value)==="("&&((nd=Ra.close)==null?void 0:nd.value)===")"}function Gl(Ra,qa,nd){var od;let{node:ld}=Ra,ud=Ra.parent,dd=Ra.grandparent,pd=Ln(Ra),fd=pd&&ud.type==="value-value"&&(pd==="grid"||pd.startsWith("grid-template")),md=Ra.findAncestor(jd=>jd.type==="css-atrule"),vd=md&&Ze$2(md,qa),Ad=ld.groups.some(jd=>Qr$1(jd)),Nd=Ra.map(nd,"groups"),Od=[],kd=ke$4(Ra,"url"),Ld=!1,Gd=!1;for(let jd=0;jd<ld.groups.length;++jd){Od.push(Nd[jd]);let Fd=ld.groups[jd-1],Ud=ld.groups[jd],qd=ld.groups[jd+1],zd=ld.groups[jd+2];if(kd){(qd&&Q$5(qd)||Q$5(Ud))&&Od.push(" ");continue}if(Ee$4(Ra,"forward")&&Ud.type==="value-word"&&Ud.value&&Fd!==void 0&&Fd.type==="value-word"&&Fd.value==="as"&&qd.type==="value-operator"&&qd.value==="*"||!qd||Ud.type==="value-word"&&Ud.value.endsWith("-")&&tt$3(qd))continue;if(Ud.type==="value-string"&&Ud.quoted){let mf=Ud.value.lastIndexOf("#{"),Sf=Ud.value.lastIndexOf("}");mf!==-1&&Sf!==-1?Ld=mf>Sf:mf!==-1?Ld=!0:Sf!==-1&&(Ld=!1)}if(Ld||Lt$1(Ud)||Lt$1(qd)||Ud.type==="value-atword"&&(Ud.value===""||Ud.value.endsWith("["))||qd.type==="value-word"&&qd.value.startsWith("]")||Ud.value==="~"||Ud.type!=="value-string"&&Ud.value&&Ud.value.includes("\\")&&qd&&qd.type!=="value-comment"||Fd!=null&&Fd.value&&Fd.value.indexOf("\\")===Fd.value.length-1&&Ud.type==="value-operator"&&Ud.value==="/"||Ud.value==="\\"||Kn$1(Ud,qd)||It$2(Ud)||Jr$1(Ud)||qt$3(qd)||Jr$1(qd)&&ce$5(qd)||qt$3(Ud)&&ce$5(qd)||Ud.value==="--"&&It$2(qd))continue;let Wd=Nt$2(Ud),Jd=Nt$2(qd);if((Wd&&It$2(qd)||Jd&&qt$3(Ud))&&ce$5(qd)||!Fd&&Xe$2(Ud)||ke$4(Ra,"calc")&&(Q$5(Ud)||Q$5(qd)||le$3(Ud)||le$3(qd))&&ce$5(qd))continue;let _f=(Q$5(Ud)||le$3(Ud))&&jd===0&&(qd.type==="value-number"||qd.isHex)&&dd&&ei$1(dd)&&!ce$5(qd),Xd=(zd==null?void 0:zd.type)==="value-func"||zd&&et$3(zd)||Ud.type==="value-func"||et$3(Ud),pf=qd.type==="value-func"||et$3(qd)||(Fd==null?void 0:Fd.type)==="value-func"||Fd&&et$3(Fd);if(qa.parser==="scss"&&Wd&&Ud.value==="-"&&qd.type==="value-func"&&P$5(Ud)!==N$4(qd)){Od.push(" ");continue}if(!(!(At$1(qd)||At$1(Ud))&&!ke$4(Ra,"calc")&&!_f&&(Xe$2(qd)&&!Xd||Xe$2(Ud)&&!pf||Q$5(qd)&&!Xd||Q$5(Ud)&&!pf||le$3(qd)||le$3(Ud))&&(ce$5(qd)||Wd&&(!Fd||Fd&&Nt$2(Fd))))&&!((qa.parser==="scss"||qa.parser==="less")&&Wd&&Ud.value==="-"&&rt$2(qd)&&P$5(Ud)===N$4(qd.open)&&qd.open.value==="(")){if(Qr$1(Ud)){if(ud.type==="value-paren_group"){Od.push(ue$3(E$4));continue}Od.push(E$4);continue}if(vd&&(Gn$1(qd)||jn(qd)||zn$1(qd)||Vn$1(Ud)||Yn(Ud))){Od.push(" ");continue}if(md&&md.name.toLowerCase()==="namespace"){Od.push(" ");continue}if(fd){Ud.source&&qd.source&&Ud.source.start.line!==qd.source.start.line?(Od.push(E$4),Gd=!0):Od.push(" ");continue}if(Jd){Od.push(" ");continue}if((qd==null?void 0:qd.value)!=="..."&&!(tt$3(Ud)&&tt$3(qd)&&P$5(Ud)===N$4(qd))){if(tt$3(Ud)&&rt$2(qd)&&P$5(Ud)===N$4(qd.open)){Od.push(M$4);continue}if(Ud.value==="with"&&rt$2(qd)){Od.push(" ");continue}(od=Ud.value)!=null&&od.endsWith("#")&&qd.value==="{"&&rt$2(qd.group)||Od.push(A$2)}}}return Ad&&Od.push(je$4),Gd&&Od.unshift(E$4),vd?L$4(q$5(Od)):Un$1(Ra)?L$4(Ge$2(Od)):L$4(q$5(Ge$2(Od)))}var ri$1=Gl;function jl(Ra){return Ra.length===1?Ra:Ra.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(?=\d)/u,"$1$2").replace(/^([+-]?[\d.]+)e[+-]?0+$/u,"$1").replace(/^([+-])?\./u,"$10.").replace(/(\.\d+?)0+(?=e|$)/u,"$1").replace(/\.(?=e|$)/u,"")}var si$1=jl,Xr$1=new Map([["em","em"],["rem","rem"],["ex","ex"],["rex","rex"],["cap","cap"],["rcap","rcap"],["ch","ch"],["rch","rch"],["ic","ic"],["ric","ric"],["lh","lh"],["rlh","rlh"],["vw","vw"],["svw","svw"],["lvw","lvw"],["dvw","dvw"],["vh","vh"],["svh","svh"],["lvh","lvh"],["dvh","dvh"],["vi","vi"],["svi","svi"],["lvi","lvi"],["dvi","dvi"],["vb","vb"],["svb","svb"],["lvb","lvb"],["dvb","dvb"],["vmin","vmin"],["svmin","svmin"],["lvmin","lvmin"],["dvmin","dvmin"],["vmax","vmax"],["svmax","svmax"],["lvmax","lvmax"],["dvmax","dvmax"],["cm","cm"],["mm","mm"],["q","Q"],["in","in"],["pt","pt"],["pc","pc"],["px","px"],["deg","deg"],["grad","grad"],["rad","rad"],["turn","turn"],["s","s"],["ms","ms"],["hz","Hz"],["khz","kHz"],["dpi","dpi"],["dpcm","dpcm"],["dppx","dppx"],["x","x"],["cqw","cqw"],["cqh","cqh"],["cqi","cqi"],["cqb","cqb"],["cqmin","cqmin"],["cqmax","cqmax"]]);function ni$1(Ra){let qa=Ra.toLowerCase();return Xr$1.has(qa)?Xr$1.get(qa):Ra}var ii$2=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gsu,Hl=/(?:\d*\.\d+|\d+\.?)(?:e[+-]?\d+)?/giu,Kl=/[a-z]+/giu,Ql=/[$@]?[_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/giu,Jl=new RegExp(ii$2.source+`|(${Ql.source})?(${Hl.source})(${Kl.source})?`,"giu");function W$5(Ra,qa){return _$4(!1,Ra,ii$2,nd=>St$2(nd,qa))}function oi$1(Ra,qa){let nd=qa.singleQuote?"'":'"';return Ra.includes('"')||Ra.includes("'")?Ra:nd+Ra+nd}function fe$4(Ra){return _$4(!1,Ra,Jl,(qa,nd,od,ld,ud)=>!od&&ld?Zr$1(ld)+te$3(ud||""):qa)}function Zr$1(Ra){return si$1(Ra).replace(/\.0(?=$|e)/u,"")}function ai$2(Ra){return Ra.trailingComma==="es5"||Ra.trailingComma==="all"}function Xl(Ra,qa,nd){let od=!!(nd!=null&&nd.backwards);if(qa===!1)return!1;let ld=Ra.charAt(qa);if(od){if(Ra.charAt(qa-1)==="\r"&&ld===`
`)return qa-2;if(ld===`
`||ld==="\r"||ld==="\u2028"||ld==="\u2029")return qa-1}else{if(ld==="\r"&&Ra.charAt(qa+1)===`
`)return qa+2;if(ld===`
`||ld==="\r"||ld==="\u2028"||ld==="\u2029")return qa+1}return qa}var Dt$1=Xl;function Zl(Ra,qa,nd={}){let od=Ot$2(Ra,nd.backwards?qa-1:qa,nd),ld=Dt$1(Ra,od,nd);return od!==ld}var Mt$2=Zl;function ec(Ra,qa){if(qa===!1)return!1;if(Ra.charAt(qa)==="/"&&Ra.charAt(qa+1)==="*"){for(let nd=qa+2;nd<Ra.length;++nd)if(Ra.charAt(nd)==="*"&&Ra.charAt(nd+1)==="/")return nd+2}return qa}var ui$1=ec;function tc(Ra,qa){return qa===!1?!1:Ra.charAt(qa)==="/"&&Ra.charAt(qa+1)==="/"?Ct$1(Ra,qa):qa}var li$1=tc;function rc(Ra,qa){let nd=null,od=qa;for(;od!==nd;)nd=od,od=yn$2(Ra,od),od=ui$1(Ra,od),od=Ot$2(Ra,od);return od=li$1(Ra,od),od=Dt$1(Ra,od),od!==!1&&Mt$2(Ra,od)}var Bt$2=rc;function sc({node:Ra,parent:qa},nd){return!!(Ra.source&&nd.originalText.slice(N$4(Ra),N$4(qa.close)).trimEnd().endsWith(","))}function nc(Ra,qa){return $n$1(Ra.grandparent)&&sc(Ra,qa)?",":Ra.node.type!=="value-comment"&&!(Ra.node.type==="value-comma_group"&&Ra.node.groups.every(nd=>nd.type==="value-comment"))&&ai$2(qa)&&Ra.callParent(()=>Kr$1(Ra,qa))?kt$1(","):""}function ci$2(Ra,qa,nd){let{node:od,parent:ld}=Ra,ud=Ra.map(({node:Od})=>typeof Od=="string"?Od:nd(),"groups");if(ld&&Fn$1(ld)&&(od.groups.length===1||od.groups.length>0&&od.groups[0].type==="value-comma_group"&&od.groups[0].groups.length>0&&od.groups[0].groups[0].type==="value-word"&&od.groups[0].groups[0].value.startsWith("data:")))return[od.open?nd("open"):"",V$4(",",ud),od.close?nd("close"):""];if(!od.open){let Od=es(Ra),kd=V$4([",",Od?E$4:A$2],ud);return q$5(Od?[E$4,kd]:L$4(Ge$2(kd)))}let dd=Ra.map(({node:Od,isLast:kd,index:Ld})=>{var Gd;let jd=ud[Ld];if(Rt$2(Od)&&Od.type==="value-comma_group"&&Od.groups&&Od.groups[0].type!=="value-paren_group"&&((Gd=Od.groups[2])==null?void 0:Gd.type)==="value-paren_group"){let{parts:Ud}=jd.contents.contents;Ud[1]=L$4(Ud[1]),jd=L$4(ue$3(jd))}let Fd=[jd,kd?nc(Ra,qa):","];if(!kd&&Od.type==="value-comma_group"&&ee$3(Od.groups)){let Ud=G$5(!1,Od.groups,-1);!Ud.source&&Ud.close&&(Ud=Ud.close),Ud.source&&Bt$2(qa.originalText,P$5(Ud))&&Fd.push(E$4)}return Fd},"groups"),pd=Xn$1(od,ld),fd=ti$1(od,ld),md=Kr$1(Ra,qa),vd=fd||md&&!pd,Ad=fd||pd,Nd=L$4([od.open?nd("open"):"",q$5([M$4,V$4(A$2,dd)]),M$4,od.close?nd("close"):""],{shouldBreak:vd});return Ad?ue$3(Nd):Nd}function es(Ra){return Ra.match(qa=>qa.type==="value-paren_group"&&!qa.open&&qa.groups.some(nd=>nd.type==="value-comma_group"),(qa,nd)=>nd==="group"&&qa.type==="value-value",(qa,nd)=>nd==="group"&&qa.type==="value-root",(qa,nd)=>nd==="value"&&(qa.type==="css-decl"&&!qa.prop.startsWith("--")||qa.type==="css-atrule"&&qa.variable))}function ic(Ra,qa,nd){let od=[];return Ra.each(()=>{let{node:ld,previous:ud}=Ra;if((ud==null?void 0:ud.type)==="css-comment"&&ud.text.trim()==="prettier-ignore"?od.push(qa.originalText.slice(N$4(ld),P$5(ld))):od.push(nd()),Ra.isLast)return;let{next:dd}=Ra;dd.type==="css-comment"&&!Mt$2(qa.originalText,N$4(dd),{backwards:!0})&&!_e$3(ld)||dd.type==="css-atrule"&&dd.name==="else"&&ld.type!=="css-comment"?od.push(" "):(od.push(qa.__isHTMLStyleAttribute?A$2:E$4),Bt$2(qa.originalText,P$5(ld))&&!_e$3(ld)&&od.push(E$4))},"nodes"),od}var Te$3=ic;function oc(Ra,qa,nd){var od,ld,ud,dd,pd,fd;let{node:md}=Ra;switch(md.type){case"front-matter":return[md.raw,E$4];case"css-root":{let vd=Te$3(Ra,qa,nd),Ad=md.raws.after.trim();return Ad.startsWith(";")&&(Ad=Ad.slice(1).trim()),[md.frontMatter?[nd("frontMatter"),E$4]:"",vd,Ad?` ${Ad}`:"",md.nodes.length>0?E$4:""]}case"css-comment":{let vd=md.inline||md.raws.inline,Ad=qa.originalText.slice(N$4(md),P$5(md));return vd?Ad.trimEnd():Ad}case"css-rule":return[nd("selector"),md.important?" !important":"",md.nodes?[((od=md.selector)==null?void 0:od.type)==="selector-unknown"&&Se$4(md.selector.value)?A$2:md.selector?" ":"","{",md.nodes.length>0?q$5([E$4,Te$3(Ra,qa,nd)]):"",E$4,"}",Wn(md)?";":""]:";"];case"css-decl":{let vd=Ra.parent,{between:Ad}=md.raws,Nd=Ad.trim(),Od=Nd===":",kd=typeof md.value=="string"&&/^ *$/u.test(md.value),Ld=typeof md.value=="string"?md.value:nd("value");return Ld=Qn$1(md)?rn$2(Ld):Ld,!Od&&Se$4(Nd)&&!((ud=(ld=md.value)==null?void 0:ld.group)!=null&&ud.group&&Ra.call(()=>es(Ra),"value","group","group"))&&(Ld=q$5([E$4,ue$3(Ld)])),[_$4(!1,md.raws.before,/[\s;]/gu,""),vd.type==="css-atrule"&&vd.variable||Bn$1(Ra)?md.prop:te$3(md.prop),Nd.startsWith("//")?" ":"",Nd,md.extend||kd?"":" ",qa.parser==="less"&&md.extend&&md.selector?["extend(",nd("selector"),")"]:"",Ld,md.raws.important?md.raws.important.replace(/\s*!\s*important/iu," !important"):md.important?" !important":"",md.raws.scssDefault?md.raws.scssDefault.replace(/\s*!default/iu," !default"):md.scssDefault?" !default":"",md.raws.scssGlobal?md.raws.scssGlobal.replace(/\s*!global/iu," !global"):md.scssGlobal?" !global":"",md.nodes?[" {",q$5([M$4,Te$3(Ra,qa,nd)]),M$4,"}"]:Hn(md)&&!vd.raws.semicolon&&qa.originalText[P$5(md)-1]!==";"?"":qa.__isHTMLStyleAttribute&&Ra.isLast?kt$1(";"):";"]}case"css-atrule":{let vd=Ra.parent,Ad=Pt$1(md)&&!vd.raws.semicolon&&qa.originalText[P$5(md)-1]!==";";if(qa.parser==="less"){if(md.mixin)return[nd("selector"),md.important?" !important":"",Ad?"":";"];if(md.function)return[md.name,typeof md.params=="string"?md.params:nd("params"),Ad?"":";"];if(md.variable)return["@",md.name,": ",md.value?nd("value"):"",md.raws.between.trim()?md.raws.between.trim()+" ":"",md.nodes?["{",q$5([md.nodes.length>0?M$4:"",Te$3(Ra,qa,nd)]),M$4,"}"]:"",Ad?"":";"]}let Nd=md.name==="import"&&((dd=md.params)==null?void 0:dd.type)==="value-unknown"&&md.params.value.endsWith(";");return["@",Hr$1(md)||md.name.endsWith(":")||Pt$1(md)?md.name:te$3(md.name),md.params?[Hr$1(md)?"":Pt$1(md)?md.raws.afterName===""?"":md.name.endsWith(":")?" ":/^\s*\n\s*\n/u.test(md.raws.afterName)?[E$4,E$4]:/^\s*\n/u.test(md.raws.afterName)?E$4:" ":" ",typeof md.params=="string"?md.params:nd("params")]:"",md.selector?q$5([" ",nd("selector")]):"",md.value?L$4([" ",nd("value"),Ze$2(md,qa)?Jn$1(md)?" ":A$2:""]):md.name==="else"?" ":"",md.nodes?[Ze$2(md,qa)?"":md.selector&&!md.selector.nodes&&typeof md.selector.value=="string"&&Se$4(md.selector.value)||!md.selector&&typeof md.params=="string"&&Se$4(md.params)?A$2:" ","{",q$5([md.nodes.length>0?M$4:"",Te$3(Ra,qa,nd)]),M$4,"}"]:Ad||Nd?"":";"]}case"media-query-list":{let vd=[];return Ra.each(({node:Ad})=>{Ad.type==="media-query"&&Ad.value===""||vd.push(nd())},"nodes"),L$4(q$5(V$4(A$2,vd)))}case"media-query":return[V$4(" ",Ra.map(nd,"nodes")),Ra.isLast?"":","];case"media-type":return fe$4(W$5(md.value,qa));case"media-feature-expression":return md.nodes?["(",...Ra.map(nd,"nodes"),")"]:md.value;case"media-feature":return te$3(W$5(_$4(!1,md.value,/ +/gu," "),qa));case"media-colon":return[md.value," "];case"media-value":return fe$4(W$5(md.value,qa));case"media-keyword":return W$5(md.value,qa);case"media-url":return W$5(_$4(!1,_$4(!1,md.value,/^url\(\s+/giu,"url("),/\s+\)$/gu,")"),qa);case"media-unknown":return md.value;case"selector-root":return L$4([Ee$4(Ra,"custom-selector")?[Ra.findAncestor(vd=>vd.type==="css-atrule").customSelector,A$2]:"",V$4([",",Ee$4(Ra,["extend","custom-selector","nest"])?A$2:E$4],Ra.map(nd,"nodes"))]);case"selector-selector":return L$4(q$5(Ra.map(nd,"nodes")));case"selector-comment":return md.value;case"selector-string":return W$5(md.value,qa);case"selector-tag":return[md.namespace?[md.namespace===!0?"":md.namespace.trim(),"|"]:"",((pd=Ra.previous)==null?void 0:pd.type)==="selector-nesting"?md.value:fe$4(Mn(Ra,md.value)?md.value.toLowerCase():md.value)];case"selector-id":return["#",md.value];case"selector-class":return[".",fe$4(W$5(md.value,qa))];case"selector-attribute":return["[",md.namespace?[md.namespace===!0?"":md.namespace.trim(),"|"]:"",md.attribute.trim(),md.operator??"",md.value?oi$1(W$5(md.value.trim(),qa),qa):"",md.insensitive?" i":"","]"];case"selector-combinator":{if(md.value==="+"||md.value===">"||md.value==="~"||md.value===">>>"){let Nd=Ra.parent;return[Nd.type==="selector-selector"&&Nd.nodes[0]===md?"":A$2,md.value,Ra.isLast?"":" "]}let vd=md.value.trim().startsWith("(")?A$2:"",Ad=fe$4(W$5(md.value.trim(),qa))||A$2;return[vd,Ad]}case"selector-universal":return[md.namespace?[md.namespace===!0?"":md.namespace.trim(),"|"]:"",md.value];case"selector-pseudo":return[te$3(md.value),ee$3(md.nodes)?L$4(["(",q$5([M$4,V$4([",",A$2],Ra.map(nd,"nodes"))]),M$4,")"]):""];case"selector-nesting":return md.value;case"selector-unknown":{let vd=Ra.findAncestor(Od=>Od.type==="css-rule");if(vd!=null&&vd.isSCSSNesterProperty)return fe$4(W$5(te$3(md.value),qa));let Ad=Ra.parent;if((fd=Ad.raws)!=null&&fd.selector){let Od=N$4(Ad),kd=Od+Ad.raws.selector.length;return qa.originalText.slice(Od,kd).trim()}let Nd=Ra.grandparent;if(Ad.type==="value-paren_group"&&(Nd==null?void 0:Nd.type)==="value-func"&&Nd.value==="selector"){let Od=P$5(Ad.open)+1,kd=N$4(Ad.close),Ld=qa.originalText.slice(Od,kd).trim();return Se$4(Ld)?[je$4,Ld]:Ld}return md.value}case"value-value":case"value-root":return nd("group");case"value-comment":return qa.originalText.slice(N$4(md),P$5(md));case"value-comma_group":return ri$1(Ra,qa,nd);case"value-paren_group":return ci$2(Ra,qa,nd);case"value-func":return[md.value,Ee$4(Ra,"supports")&&Zn$1(md)?" ":"",nd("group")];case"value-paren":return md.value;case"value-number":return[Zr$1(md.value),ni$1(md.unit)];case"value-operator":return md.value;case"value-word":return md.isColor&&md.isHex||Dn$1(md.value)?md.value.toLowerCase():md.value;case"value-colon":{let{previous:vd}=Ra;return[md.value,typeof(vd==null?void 0:vd.value)=="string"&&vd.value.endsWith("\\")||ke$4(Ra,"url")?"":A$2]}case"value-string":return St$2(md.raws.quote+md.value+md.raws.quote,qa);case"value-atword":return["@",md.value];case"value-unicode-range":return md.value;case"value-unknown":return md.value;case"value-comma":default:throw new an$3(md,"PostCSS")}}var ac$1={print:oc,embed:pn$2,insertPragma:qn$1,massageAstNode:ln$2,getVisitorKeys:mn$2},fi$1=ac$1,pi$3=[{linguistLanguageId:50,name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css",".wxss"],parsers:["css"],vscodeLanguageIds:["css"]},{linguistLanguageId:262764437,name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",parsers:["css"],vscodeLanguageIds:["postcss"]},{linguistLanguageId:198,name:"Less",type:"markup",color:"#1d365d",aliases:["less-css"],extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",parsers:["less"],vscodeLanguageIds:["less"]},{linguistLanguageId:329,name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],parsers:["scss"],vscodeLanguageIds:["scss"]}],hi={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},uc={singleQuote:hi.singleQuote},di$1=uc,Ks={};Xs(Ks,{css:()=>by$1,less:()=>_y,scss:()=>ky});var el=ye$3(pt$2()),tl=ye$3(bo$1()),rl=ye$3(ta());function Hf(Ra,qa){let nd=new SyntaxError(Ra+" ("+qa.loc.start.line+":"+qa.loc.start.column+")");return Object.assign(nd,qa)}var ra=Hf,la=ye$3(ua());function J$5(Ra,qa,nd){if(Ra&&typeof Ra=="object"){delete Ra.parent;for(let od in Ra)J$5(Ra[od],qa,nd),od==="type"&&typeof Ra[od]=="string"&&!Ra[od].startsWith(qa)&&(!nd||!nd.test(Ra[od]))&&(Ra[od]=qa+Ra[od])}return Ra}function Is(Ra){if(Ra&&typeof Ra=="object"){delete Ra.parent;for(let qa in Ra)Is(Ra[qa]);!Array.isArray(Ra)&&Ra.value&&!Ra.type&&(Ra.type="unknown")}return Ra}var op=la.default.default;function ap$1(Ra){let qa;try{qa=op(Ra)}catch{return{type:"selector-unknown",value:Ra}}return J$5(Is(qa),"media-")}var ca$1=ap$1,nu$1=ye$3(su$1());function bm$1(Ra){if(/\/\/|\/\*/u.test(Ra))return{type:"selector-unknown",value:Ra.trim()};let qa;try{new nu$1.default(nd=>{qa=nd}).process(Ra)}catch{return{type:"selector-unknown",value:Ra}}return J$5(qa,"selector-")}var Z$5=bm$1,Qu$1=ye$3(Vu$1()),ly=Ra=>{for(;Ra.parent;)Ra=Ra.parent;return Ra},Mr$1=ly;function cy(Ra){return Mr$1(Ra).text.slice(Ra.group.open.sourceIndex+1,Ra.group.close.sourceIndex).trim()}var Gu$1=cy;function fy(Ra){if(ee$3(Ra)){for(let qa=Ra.length-1;qa>0;qa--)if(Ra[qa].type==="word"&&Ra[qa].value==="{"&&Ra[qa-1].type==="word"&&Ra[qa-1].value.endsWith("#"))return!0}return!1}var ju$1=fy;function py(Ra){return Ra.some(qa=>qa.type==="string"||qa.type==="func"&&!qa.value.endsWith("\\"))}var Hu$1=py;function hy(Ra,qa){return!!(qa.parser==="scss"&&(Ra==null?void 0:Ra.type)==="word"&&Ra.value.startsWith("$"))}var Ku$1=hy;function dy(Ra,qa){var nd;let{nodes:od}=Ra,ld={open:null,close:null,groups:[],type:"paren_group"},ud=[ld],dd=ld,pd={groups:[],type:"comma_group"},fd=[pd];for(let md=0;md<od.length;++md){let vd=od[md];if(qa.parser==="scss"&&vd.type==="number"&&vd.unit===".."&&vd.value.endsWith(".")&&(vd.value=vd.value.slice(0,-1),vd.unit="..."),vd.type==="func"&&vd.value==="selector"&&(vd.group.groups=[Z$5(Mr$1(Ra).text.slice(vd.group.open.sourceIndex+1,vd.group.close.sourceIndex))]),vd.type==="func"&&vd.value==="url"){let Ad=((nd=vd.group)==null?void 0:nd.groups)??[],Nd=[];for(let Od=0;Od<Ad.length;Od++){let kd=Ad[Od];kd.type==="comma_group"?Nd=[...Nd,...kd.groups]:Nd.push(kd)}(ju$1(Nd)||!Hu$1(Nd)&&!Ku$1(Nd[0],qa))&&(vd.group.groups=[Gu$1(vd)])}if(vd.type==="paren"&&vd.value==="(")ld={open:vd,close:null,groups:[],type:"paren_group"},ud.push(ld),pd={groups:[],type:"comma_group"},fd.push(pd);else if(vd.type==="paren"&&vd.value===")"){if(pd.groups.length>0&&ld.groups.push(pd),ld.close=vd,fd.length===1)throw new Error("Unbalanced parenthesis");fd.pop(),pd=G$5(!1,fd,-1),pd.groups.push(ld),ud.pop(),ld=G$5(!1,ud,-1)}else vd.type==="comma"?(ld.groups.push(pd),pd={groups:[],type:"comma_group"},fd[fd.length-1]=pd):pd.groups.push(vd)}return pd.groups.length>0&&ld.groups.push(pd),dd}function Br$1(Ra){return Ra.type==="paren_group"&&!Ra.open&&!Ra.close&&Ra.groups.length===1||Ra.type==="comma_group"&&Ra.groups.length===1?Br$1(Ra.groups[0]):Ra.type==="paren_group"||Ra.type==="comma_group"?{...Ra,groups:Ra.groups.map(Br$1)}:Ra}function Ju$1(Ra,qa){if(Ra&&typeof Ra=="object")for(let nd in Ra)nd!=="parent"&&(Ju$1(Ra[nd],qa),nd==="nodes"&&(Ra.group=Br$1(dy(Ra,qa)),delete Ra[nd]));return Ra}function my(Ra,qa){if(qa.parser==="less"&&Ra.startsWith("~`"))return{type:"value-unknown",value:Ra};let nd=null;try{nd=new Qu$1.default(Ra,{loose:!0}).parse()}catch{return{type:"value-unknown",value:Ra}}nd.text=Ra;let od=Ju$1(nd,qa);return J$5(od,"value-",/^selector-/u)}var ie$3=my,yy=new Set(["import","use","forward"]);function wy(Ra){return yy.has(Ra)}var Xu$1=wy;function gy(Ra,qa){return qa.parser!=="scss"||!Ra.selector?!1:Ra.selector.replace(/\/\*.*?\*\//u,"").replace(/\/\/.*\n/u,"").trim().endsWith(":")}var Zu$1=gy,vy=/(\s*)(!default).*$/u,xy=/(\s*)(!global).*$/u;function sl(Ra,qa){var nd,od;if(Ra&&typeof Ra=="object"){delete Ra.parent;for(let pd in Ra)sl(Ra[pd],qa);if(!Ra.type)return Ra;if(Ra.raws??(Ra.raws={}),Ra.type==="css-decl"&&typeof Ra.prop=="string"&&Ra.prop.startsWith("--")&&typeof Ra.value=="string"&&Ra.value.startsWith("{")){let pd;if(Ra.value.trimEnd().endsWith("}")){let fd=qa.originalText.slice(0,Ra.source.start.offset),md="a".repeat(Ra.prop.length)+qa.originalText.slice(Ra.source.start.offset+Ra.prop.length,Ra.source.end.offset),vd=_$4(!1,fd,/[^\n]/gu," ")+md,Ad;qa.parser==="scss"?Ad=ol:qa.parser==="less"?Ad=il:Ad=nl;let Nd;try{Nd=Ad(vd,{...qa})}catch{}((nd=Nd==null?void 0:Nd.nodes)==null?void 0:nd.length)===1&&Nd.nodes[0].type==="css-rule"&&(pd=Nd.nodes[0].nodes)}return pd?Ra.value={type:"css-rule",nodes:pd}:Ra.value={type:"value-unknown",value:Ra.raws.value.raw},Ra}let ld="";typeof Ra.selector=="string"&&(ld=Ra.raws.selector?Ra.raws.selector.scss??Ra.raws.selector.raw:Ra.selector,Ra.raws.between&&Ra.raws.between.trim().length>0&&(ld+=Ra.raws.between),Ra.raws.selector=ld);let ud="";typeof Ra.value=="string"&&(ud=Ra.raws.value?Ra.raws.value.scss??Ra.raws.value.raw:Ra.value,ud=ud.trim(),Ra.raws.value=ud);let dd="";if(typeof Ra.params=="string"&&(dd=Ra.raws.params?Ra.raws.params.scss??Ra.raws.params.raw:Ra.params,Ra.raws.afterName&&Ra.raws.afterName.trim().length>0&&(dd=Ra.raws.afterName+dd),Ra.raws.between&&Ra.raws.between.trim().length>0&&(dd=dd+Ra.raws.between),dd=dd.trim(),Ra.raws.params=dd),ld.trim().length>0)return ld.startsWith("@")&&ld.endsWith(":")?Ra:Ra.mixin?(Ra.selector=ie$3(ld,qa),Ra):(Zu$1(Ra,qa)&&(Ra.isSCSSNesterProperty=!0),Ra.selector=Z$5(ld),Ra);if(ud.length>0){let pd=ud.match(vy);pd&&(ud=ud.slice(0,pd.index),Ra.scssDefault=!0,pd[0].trim()!=="!default"&&(Ra.raws.scssDefault=pd[0]));let fd=ud.match(xy);if(fd&&(ud=ud.slice(0,fd.index),Ra.scssGlobal=!0,fd[0].trim()!=="!global"&&(Ra.raws.scssGlobal=fd[0])),ud.startsWith("progid:"))return{type:"value-unknown",value:ud};Ra.value=ie$3(ud,qa)}if(qa.parser==="less"&&Ra.type==="css-decl"&&ud.startsWith("extend(")&&(Ra.extend||(Ra.extend=Ra.raws.between===":"),Ra.extend&&!Ra.selector&&(delete Ra.value,Ra.selector=Z$5(ud.slice(7,-1)))),Ra.type==="css-atrule"){if(qa.parser==="less"){if(Ra.mixin){let pd=Ra.raws.identifier+Ra.name+Ra.raws.afterName+Ra.raws.params;return Ra.selector=Z$5(pd),delete Ra.params,Ra}if(Ra.function)return Ra}if(qa.parser==="css"&&Ra.name==="custom-selector"){let pd=Ra.params.match(/:--\S+\s+/u)[0].trim();return Ra.customSelector=pd,Ra.selector=Z$5(Ra.params.slice(pd.length).trim()),delete Ra.params,Ra}if(qa.parser==="less"){if(Ra.name.includes(":")&&!Ra.params){Ra.variable=!0;let pd=Ra.name.split(":");Ra.name=pd[0],Ra.value=ie$3(pd.slice(1).join(":"),qa)}if(!["page","nest","keyframes"].includes(Ra.name)&&((od=Ra.params)==null?void 0:od[0])===":"){Ra.variable=!0;let pd=Ra.params.slice(1);pd&&(Ra.value=ie$3(pd,qa)),Ra.raws.afterName+=":"}if(Ra.variable)return delete Ra.params,Ra.value||delete Ra.value,Ra}}if(Ra.type==="css-atrule"&&dd.length>0){let{name:pd}=Ra,fd=Ra.name.toLowerCase();return pd==="warn"||pd==="error"?(Ra.params={type:"media-unknown",value:dd},Ra):pd==="extend"||pd==="nest"?(Ra.selector=Z$5(dd),delete Ra.params,Ra):pd==="at-root"?(/^\(\s*(?:without|with)\s*:.+\)$/su.test(dd)?Ra.params=ie$3(dd,qa):(Ra.selector=Z$5(dd),delete Ra.params),Ra):Xu$1(fd)?(Ra.import=!0,delete Ra.filename,Ra.params=ie$3(dd,qa),Ra):["namespace","supports","if","else","for","each","while","debug","mixin","include","function","return","define-mixin","add-mixin"].includes(pd)?(dd=dd.replace(/(\$\S+?)(\s+)?\.{3}/u,"$1...$2"),dd=dd.replace(/^(?!if)(\S+)(\s+)\(/u,"$1($2"),Ra.value=ie$3(dd,qa),delete Ra.params,Ra):["media","custom-media"].includes(fd)?dd.includes("#{")?{type:"media-unknown",value:dd}:(Ra.params=ca$1(dd),Ra):(Ra.params=dd,Ra)}}return Ra}function js(Ra,qa,nd){let od=Je$2(qa),{frontMatter:ld}=od;qa=od.content;let ud;try{ud=Ra(qa,{map:!1})}catch(dd){let{name:pd,reason:fd,line:md,column:vd}=dd;throw typeof md!="number"?dd:ra(`${pd}: ${fd}`,{loc:{start:{line:md,column:vd}},cause:dd})}return nd.originalText=qa,ud=sl(J$5(ud,"css-"),nd),Gr$1(ud,qa),ld&&(ld.source={startOffset:0,endOffset:ld.raw.length},ud.frontMatter=ld),ud}function nl(Ra,qa={}){return js(el.default.default,Ra,qa)}function il(Ra,qa={}){return js(nd=>tl.default.parse(vn$1(nd)),Ra,qa)}function ol(Ra,qa={}){return js(rl.default,Ra,qa)}var Hs={astFormat:"postcss",hasPragma:In,locStart:N$4,locEnd:P$5},by$1={...Hs,parse:nl},_y={...Hs,parse:il},ky={...Hs,parse:ol},Ey={postcss:fi$1},Ob=Qs;const prettierPluginCss=Object.freeze(Object.defineProperty({__proto__:null,default:Ob,languages:pi$3,options:di$1,parsers:Ks,printers:Ey},Symbol.toStringTag,{value:"Module"}));var yu=Object.create,He$2=Object.defineProperty,Au=Object.getOwnPropertyDescriptor,Bu=Object.getOwnPropertyNames,wu=Object.getPrototypeOf,xu=Object.prototype.hasOwnProperty,sr=Ra=>{throw TypeError(Ra)},_u=(Ra,qa)=>()=>(Ra&&(qa=Ra(Ra=0)),qa),At=(Ra,qa)=>()=>(qa||Ra((qa={exports:{}}).exports,qa),qa.exports),We$1=(Ra,qa)=>{for(var nd in qa)He$2(Ra,nd,{get:qa[nd],enumerable:!0})},ar$1=(Ra,qa,nd,od)=>{if(qa&&typeof qa=="object"||typeof qa=="function")for(let ld of Bu(qa))!xu.call(Ra,ld)&&ld!==nd&&He$2(Ra,ld,{get:()=>qa[ld],enumerable:!(od=Au(qa,ld))||od.enumerable});return Ra},Me$2=(Ra,qa,nd)=>(nd=Ra!=null?yu(wu(Ra)):{},ar$1(He$2(nd,"default",{value:Ra,enumerable:!0}),Ra)),vu=Ra=>ar$1(He$2({},"__esModule",{value:!0}),Ra),bu$1=(Ra,qa,nd)=>qa.has(Ra)||sr("Cannot "+nd),Dr=(Ra,qa,nd)=>qa.has(Ra)?sr("Cannot add the same private member more than once"):qa instanceof WeakSet?qa.add(Ra):qa.set(Ra,nd),pe$2=(Ra,qa,nd)=>(bu$1(Ra,qa,"access private method"),nd),it$1=At((Ra,qa)=>{var nd=new Proxy(String,{get:()=>nd});qa.exports=nd}),Tn={};We$1(Tn,{default:()=>_o,shouldHighlight:()=>xo});var xo,_o,kn=_u(()=>{xo=()=>!1,_o=String}),Pn=At((Ra,qa)=>{var nd=String,od=function(){return{isColorSupported:!1,reset:nd,bold:nd,dim:nd,italic:nd,underline:nd,inverse:nd,hidden:nd,strikethrough:nd,black:nd,red:nd,green:nd,yellow:nd,blue:nd,magenta:nd,cyan:nd,white:nd,gray:nd,bgBlack:nd,bgRed:nd,bgGreen:nd,bgYellow:nd,bgBlue:nd,bgMagenta:nd,bgCyan:nd,bgWhite:nd}};qa.exports=od(),qa.exports.createColors=od}),$n=At(Ra=>{Object.defineProperty(Ra,"__esModule",{value:!0}),Ra.codeFrameColumns=Od,Ra.default=kd;var qa=(kn(),vu(Tn)),nd=ld(Pn(),!0);function od(Ld){if(typeof WeakMap!="function")return null;var Gd=new WeakMap,jd=new WeakMap;return(od=function(Fd){return Fd?jd:Gd})(Ld)}function ld(Ld,Gd){if(Ld===null||typeof Ld!="object"&&typeof Ld!="function")return{default:Ld};var jd=od(Gd);if(jd&&jd.has(Ld))return jd.get(Ld);var Fd={__proto__:null},Ud=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var qd in Ld)if(qd!=="default"&&{}.hasOwnProperty.call(Ld,qd)){var zd=Ud?Object.getOwnPropertyDescriptor(Ld,qd):null;zd&&(zd.get||zd.set)?Object.defineProperty(Fd,qd,zd):Fd[qd]=Ld[qd]}return Fd.default=Ld,jd&&jd.set(Ld,Fd),Fd}var ud=nd.default,dd=(Ld,Gd)=>jd=>Ld(Gd(jd)),pd;function fd(Ld){return Ld?(pd!=null||(pd=(0,nd.createColors)(!0)),pd):ud}var md=!1;function vd(Ld){return{gutter:Ld.gray,marker:dd(Ld.red,Ld.bold),message:dd(Ld.red,Ld.bold)}}var Ad=/\r\n|[\n\r\u2028\u2029]/;function Nd(Ld,Gd,jd){let Fd=Object.assign({column:0,line:-1},Ld.start),Ud=Object.assign({},Fd,Ld.end),{linesAbove:qd=2,linesBelow:zd=3}=jd||{},Wd=Fd.line,Jd=Fd.column,_f=Ud.line,Xd=Ud.column,pf=Math.max(Wd-(qd+1),0),mf=Math.min(Gd.length,_f+zd);Wd===-1&&(pf=0),_f===-1&&(mf=Gd.length);let Sf=_f-Wd,Tf={};if(Sf)for(let Af=0;Af<=Sf;Af++){let Ef=Af+Wd;if(!Jd)Tf[Ef]=!0;else if(Af===0){let Nf=Gd[Ef-1].length;Tf[Ef]=[Jd,Nf-Jd+1]}else if(Af===Sf)Tf[Ef]=[0,Xd];else{let Nf=Gd[Ef-Af].length;Tf[Ef]=[0,Nf]}}else Jd===Xd?Jd?Tf[Wd]=[Jd,0]:Tf[Wd]=!0:Tf[Wd]=[Jd,Xd-Jd];return{start:pf,end:mf,markerLines:Tf}}function Od(Ld,Gd,jd={}){let Fd=(jd.highlightCode||jd.forceColor)&&(0,qa.shouldHighlight)(jd),Ud=fd(jd.forceColor),qd=vd(Ud),zd=(Tf,Af)=>Fd?Tf(Af):Af,Wd=Ld.split(Ad),{start:Jd,end:_f,markerLines:Xd}=Nd(Gd,Wd,jd),pf=Gd.start&&typeof Gd.start.column=="number",mf=String(_f).length,Sf=(Fd?(0,qa.default)(Ld,jd):Ld).split(Ad,_f).slice(Jd,_f).map((Tf,Af)=>{let Ef=Jd+1+Af,Nf=` ${` ${Ef}`.slice(-mf)} |`,If=Xd[Ef],Gf=!Xd[Ef+1];if(If){let Qf="";if(Array.isArray(If)){let Xf=Tf.slice(0,Math.max(If[0]-1,0)).replace(/[^\t]/g," "),ph=If[1]||1;Qf=[`
`,zd(qd.gutter,Nf.replace(/\d/g," "))," ",Xf,zd(qd.marker,"^").repeat(ph)].join(""),Gf&&jd.message&&(Qf+=" "+zd(qd.message,jd.message))}return[zd(qd.marker,">"),zd(qd.gutter,Nf),Tf.length>0?` ${Tf}`:"",Qf].join("")}else return` ${zd(qd.gutter,Nf)}${Tf.length>0?` ${Tf}`:""}`}).join(`
`);return jd.message&&!pf&&(Sf=`${" ".repeat(mf+1)}${jd.message}
${Sf}`),Fd?Ud.reset(Sf):Sf}function kd(Ld,Gd,jd,Fd={}){if(!md){md=!0;let Ud="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";{let qd=new Error(Ud);qd.name="DeprecationWarning",console.warn(new Error(Ud))}}return jd=Math.max(jd,0),Od(Ld,{start:{column:jd,line:Gd}},Fd)}}),ir={};We$1(ir,{__debug:()=>di,check:()=>fi,doc:()=>nr,format:()=>gu,formatWithCursor:()=>Cu,getSupportInfo:()=>pi$2,util:()=>or,version:()=>fu});var Ou=(Ra,qa,nd,od)=>{if(!(Ra&&qa==null))return qa.replaceAll?qa.replaceAll(nd,od):nd.global?qa.replace(nd,od):qa.split(nd).join(od)},ne$3=Ou;function Z$4(){}Z$4.prototype={diff:function(Ra,qa){var nd,od=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ld=od.callback;typeof od=="function"&&(ld=od,od={}),this.options=od;var ud=this;function dd(Ud){return ld?(setTimeout(function(){ld(void 0,Ud)},0),!0):Ud}Ra=this.castInput(Ra),qa=this.castInput(qa),Ra=this.removeEmpty(this.tokenize(Ra)),qa=this.removeEmpty(this.tokenize(qa));var pd=qa.length,fd=Ra.length,md=1,vd=pd+fd;od.maxEditLength&&(vd=Math.min(vd,od.maxEditLength));var Ad=(nd=od.timeout)!==null&&nd!==void 0?nd:1/0,Nd=Date.now()+Ad,Od=[{oldPos:-1,lastComponent:void 0}],kd=this.extractCommon(Od[0],qa,Ra,0);if(Od[0].oldPos+1>=fd&&kd+1>=pd)return dd([{value:this.join(qa),count:qa.length}]);var Ld=-1/0,Gd=1/0;function jd(){for(var Ud=Math.max(Ld,-md);Ud<=Math.min(Gd,md);Ud+=2){var qd=void 0,zd=Od[Ud-1],Wd=Od[Ud+1];zd&&(Od[Ud-1]=void 0);var Jd=!1;if(Wd){var _f=Wd.oldPos-Ud;Jd=Wd&&0<=_f&&_f<pd}var Xd=zd&&zd.oldPos+1<fd;if(!Jd&&!Xd){Od[Ud]=void 0;continue}if(!Xd||Jd&&zd.oldPos+1<Wd.oldPos?qd=ud.addToPath(Wd,!0,void 0,0):qd=ud.addToPath(zd,void 0,!0,1),kd=ud.extractCommon(qd,qa,Ra,Ud),qd.oldPos+1>=fd&&kd+1>=pd)return dd(Su(ud,qd.lastComponent,qa,Ra,ud.useLongestToken));Od[Ud]=qd,qd.oldPos+1>=fd&&(Gd=Math.min(Gd,Ud-1)),kd+1>=pd&&(Ld=Math.max(Ld,Ud+1))}md++}if(ld)(function Ud(){setTimeout(function(){if(md>vd||Date.now()>Nd)return ld();jd()||Ud()},0)})();else for(;md<=vd&&Date.now()<=Nd;){var Fd=jd();if(Fd)return Fd}},addToPath:function(Ra,qa,nd,od){var ld=Ra.lastComponent;return ld&&ld.added===qa&&ld.removed===nd?{oldPos:Ra.oldPos+od,lastComponent:{count:ld.count+1,added:qa,removed:nd,previousComponent:ld.previousComponent}}:{oldPos:Ra.oldPos+od,lastComponent:{count:1,added:qa,removed:nd,previousComponent:ld}}},extractCommon:function(Ra,qa,nd,od){for(var ld=qa.length,ud=nd.length,dd=Ra.oldPos,pd=dd-od,fd=0;pd+1<ld&&dd+1<ud&&this.equals(qa[pd+1],nd[dd+1]);)pd++,dd++,fd++;return fd&&(Ra.lastComponent={count:fd,previousComponent:Ra.lastComponent}),Ra.oldPos=dd,pd},equals:function(Ra,qa){return this.options.comparator?this.options.comparator(Ra,qa):Ra===qa||this.options.ignoreCase&&Ra.toLowerCase()===qa.toLowerCase()},removeEmpty:function(Ra){for(var qa=[],nd=0;nd<Ra.length;nd++)Ra[nd]&&qa.push(Ra[nd]);return qa},castInput:function(Ra){return Ra},tokenize:function(Ra){return Ra.split("")},join:function(Ra){return Ra.join("")}};function Su(Ra,qa,nd,od,ld){for(var ud=[],dd;qa;)ud.push(qa),dd=qa.previousComponent,delete qa.previousComponent,qa=dd;ud.reverse();for(var pd=0,fd=ud.length,md=0,vd=0;pd<fd;pd++){var Ad=ud[pd];if(Ad.removed){if(Ad.value=Ra.join(od.slice(vd,vd+Ad.count)),vd+=Ad.count,pd&&ud[pd-1].added){var Nd=ud[pd-1];ud[pd-1]=ud[pd],ud[pd]=Nd}}else{if(!Ad.added&&ld){var Od=nd.slice(md,md+Ad.count);Od=Od.map(function(Ld,Gd){var jd=od[vd+Gd];return jd.length>Ld.length?jd:Ld}),Ad.value=Ra.join(Od)}else Ad.value=Ra.join(nd.slice(md,md+Ad.count));md+=Ad.count,Ad.added||(vd+=Ad.count)}}var kd=ud[fd-1];return fd>1&&typeof kd.value=="string"&&(kd.added||kd.removed)&&Ra.equals("",kd.value)&&(ud[fd-2].value+=kd.value,ud.pop()),ud}var lr=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,cr$1=/\S/,fr=new Z$4;fr.equals=function(Ra,qa){return this.options.ignoreCase&&(Ra=Ra.toLowerCase(),qa=qa.toLowerCase()),Ra===qa||this.options.ignoreWhitespace&&!cr$1.test(Ra)&&!cr$1.test(qa)};fr.tokenize=function(Ra){for(var qa=Ra.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),nd=0;nd<qa.length-1;nd++)!qa[nd+1]&&qa[nd+2]&&lr.test(qa[nd])&&lr.test(qa[nd+2])&&(qa[nd]+=qa[nd+2],qa.splice(nd+1,2),nd--);return qa};var pr=new Z$4;pr.tokenize=function(Ra){this.options.stripTrailingCr&&(Ra=Ra.replace(/\r\n/g,`
`));var qa=[],nd=Ra.split(/(\n|\r\n)/);nd[nd.length-1]||nd.pop();for(var od=0;od<nd.length;od++){var ld=nd[od];od%2&&!this.options.newlineIsToken?qa[qa.length-1]+=ld:(this.options.ignoreWhitespace&&(ld=ld.trim()),qa.push(ld))}return qa};var Nu=new Z$4;Nu.tokenize=function(Ra){return Ra.split(/(\S.+?[.!?])(?=\s+|$)/)};var Tu=new Z$4;Tu.tokenize=function(Ra){return Ra.split(/([{}:;,]|\s+)/)};function $e$1(Ra){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?$e$1=function(qa){return typeof qa}:$e$1=function(qa){return qa&&typeof Symbol=="function"&&qa.constructor===Symbol&&qa!==Symbol.prototype?"symbol":typeof qa},$e$1(Ra)}var ku=Object.prototype.toString,Ae$3=new Z$4;Ae$3.useLongestToken=!0;Ae$3.tokenize=pr.tokenize;Ae$3.castInput=function(Ra){var qa=this.options,nd=qa.undefinedReplacement,od=qa.stringifyReplacer,ld=od===void 0?function(ud,dd){return typeof dd>"u"?nd:dd}:od;return typeof Ra=="string"?Ra:JSON.stringify(Bt$1(Ra,null,null,ld),ld," ")};Ae$3.equals=function(Ra,qa){return Z$4.prototype.equals.call(Ae$3,Ra.replace(/,([\r\n])/g,"$1"),qa.replace(/,([\r\n])/g,"$1"))};function Bt$1(Ra,qa,nd,od,ld){qa=qa||[],nd=nd||[],od&&(Ra=od(ld,Ra));var ud;for(ud=0;ud<qa.length;ud+=1)if(qa[ud]===Ra)return nd[ud];var dd;if(ku.call(Ra)==="[object Array]"){for(qa.push(Ra),dd=new Array(Ra.length),nd.push(dd),ud=0;ud<Ra.length;ud+=1)dd[ud]=Bt$1(Ra[ud],qa,nd,od,ld);return qa.pop(),nd.pop(),dd}if(Ra&&Ra.toJSON&&(Ra=Ra.toJSON()),$e$1(Ra)==="object"&&Ra!==null){qa.push(Ra),dd={},nd.push(dd);var pd=[],fd;for(fd in Ra)Ra.hasOwnProperty(fd)&&pd.push(fd);for(pd.sort(),ud=0;ud<pd.length;ud+=1)fd=pd[ud],dd[fd]=Bt$1(Ra[fd],qa,nd,od,fd);qa.pop(),nd.pop()}else dd=Ra;return dd}var Ve$1=new Z$4;Ve$1.tokenize=function(Ra){return Ra.slice()};Ve$1.join=Ve$1.removeEmpty=function(Ra){return Ra};function dr(Ra,qa,nd){return Ve$1.diff(Ra,qa,nd)}function Fr(Ra){let qa=Ra.indexOf("\r");return qa>=0?Ra.charAt(qa+1)===`
`?"crlf":"cr":"lf"}function Be$3(Ra){switch(Ra){case"cr":return"\r";case"crlf":return`\r
`;default:return`
`}}function wt$1(Ra,qa){let nd;switch(qa){case`
`:nd=/\n/gu;break;case"\r":nd=/\r/gu;break;case`\r
`:nd=/\r\n/gu;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(qa)}.`)}let od=Ra.match(nd);return od?od.length:0}function mr(Ra){return ne$3(!1,Ra,/\r\n?/gu,`
`)}var U$4="string",W$4="array",z$3="cursor",L$3="indent",P$4="align",I$4="trim",x$4="group",S$2="fill",_$3="if-break",R$5="indent-if-break",Y$3="line-suffix",j$3="line-suffix-boundary",B$4="line",N$3="label",b$2="break-parent",Ue=new Set([z$3,L$3,P$4,I$4,x$4,S$2,_$3,R$5,Y$3,j$3,B$4,N$3,b$2]);function Lu(Ra){if(typeof Ra=="string")return U$4;if(Array.isArray(Ra))return W$4;if(!Ra)return;let{type:qa}=Ra;if(Ue.has(qa))return qa}var G$4=Lu,Pu=Ra=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(Ra);function Iu(Ra){let qa=Ra===null?"null":typeof Ra;if(qa!=="string"&&qa!=="object")return`Unexpected doc '${qa}',
Expected it to be 'string' or 'object'.`;if(G$4(Ra))throw new Error("doc is valid.");let nd=Object.prototype.toString.call(Ra);if(nd!=="[object Object]")return`Unexpected doc '${nd}'.`;let od=Pu([...Ue].map(ld=>`'${ld}'`));return`Unexpected doc.type '${Ra.type}'.
Expected it to be ${od}.`}var xt$1=class extends Error{constructor(nd){super(Iu(nd));kg(this,"name","InvalidDocError");this.doc=nd}},Q$4=xt$1,Er={};function Ru(Ra,qa,nd,od){let ld=[Ra];for(;ld.length>0;){let ud=ld.pop();if(ud===Er){nd(ld.pop());continue}nd&&ld.push(ud,Er);let dd=G$4(ud);if(!dd)throw new Q$4(ud);if((qa==null?void 0:qa(ud))!==!1)switch(dd){case W$4:case S$2:{let pd=dd===W$4?ud:ud.parts;for(let fd=pd.length,md=fd-1;md>=0;--md)ld.push(pd[md]);break}case _$3:ld.push(ud.flatContents,ud.breakContents);break;case x$4:if(od&&ud.expandedStates)for(let pd=ud.expandedStates.length,fd=pd-1;fd>=0;--fd)ld.push(ud.expandedStates[fd]);else ld.push(ud.contents);break;case P$4:case L$3:case R$5:case N$3:case Y$3:ld.push(ud.contents);break;case U$4:case z$3:case I$4:case j$3:case B$4:case b$2:break;default:throw new Q$4(ud)}}}var we$3=Ru,hr$2=()=>{},ze$2=hr$2;function De$2(Ra){return{type:L$3,contents:Ra}}function ae$3(Ra,qa){return{type:P$4,contents:qa,n:Ra}}function _t$1(Ra,qa={}){return ze$2(qa.expandedStates),{type:x$4,id:qa.id,contents:Ra,break:!!qa.shouldBreak,expandedStates:qa.expandedStates}}function Cr(Ra){return ae$3(Number.NEGATIVE_INFINITY,Ra)}function gr(Ra){return ae$3({type:"root"},Ra)}function yr(Ra){return ae$3(-1,Ra)}function Ar(Ra,qa){return _t$1(Ra[0],{...qa,expandedStates:Ra})}function Ge$1(Ra){return{type:S$2,parts:Ra}}function Br(Ra,qa="",nd={}){return{type:_$3,breakContents:Ra,flatContents:qa,groupId:nd.groupId}}function wr(Ra,qa){return{type:R$5,contents:Ra,groupId:qa.groupId,negate:qa.negate}}function xe$2(Ra){return{type:Y$3,contents:Ra}}var xr={type:j$3},de$2={type:b$2},_r={type:I$4},_e$2={type:B$4,hard:!0},vt$2={type:B$4,hard:!0,literal:!0},Ke$2={type:B$4},vr={type:B$4,soft:!0},q$4=[_e$2,de$2],qe=[vt$2,de$2],ve$3={type:z$3};function be$4(Ra,qa){let nd=[];for(let od=0;od<qa.length;od++)od!==0&&nd.push(Ra),nd.push(qa[od]);return nd}function Je$1(Ra,qa,nd){let od=Ra;if(qa>0){for(let ld=0;ld<Math.floor(qa/nd);++ld)od=De$2(od);od=ae$3(qa%nd,od),od=ae$3(Number.NEGATIVE_INFINITY,od)}return od}function br$3(Ra,qa){return Ra?{type:N$3,label:Ra,contents:qa}:qa}function ee$2(Ra){var qa;if(!Ra)return"";if(Array.isArray(Ra)){let nd=[];for(let od of Ra)if(Array.isArray(od))nd.push(...ee$2(od));else{let ld=ee$2(od);ld!==""&&nd.push(ld)}return nd}return Ra.type===_$3?{...Ra,breakContents:ee$2(Ra.breakContents),flatContents:ee$2(Ra.flatContents)}:Ra.type===x$4?{...Ra,contents:ee$2(Ra.contents),expandedStates:(qa=Ra.expandedStates)==null?void 0:qa.map(ee$2)}:Ra.type===S$2?{type:"fill",parts:Ra.parts.map(ee$2)}:Ra.contents?{...Ra,contents:ee$2(Ra.contents)}:Ra}function Or(Ra){let qa=Object.create(null),nd=new Set;return od(ee$2(Ra));function od(ud,dd,pd){var fd,md;if(typeof ud=="string")return JSON.stringify(ud);if(Array.isArray(ud)){let vd=ud.map(od).filter(Boolean);return vd.length===1?vd[0]:`[${vd.join(", ")}]`}if(ud.type===B$4){let vd=((fd=pd==null?void 0:pd[dd+1])==null?void 0:fd.type)===b$2;return ud.literal?vd?"literalline":"literallineWithoutBreakParent":ud.hard?vd?"hardline":"hardlineWithoutBreakParent":ud.soft?"softline":"line"}if(ud.type===b$2)return((md=pd==null?void 0:pd[dd-1])==null?void 0:md.type)===B$4&&pd[dd-1].hard?void 0:"breakParent";if(ud.type===I$4)return"trim";if(ud.type===L$3)return"indent("+od(ud.contents)+")";if(ud.type===P$4)return ud.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+od(ud.contents)+")":ud.n<0?"dedent("+od(ud.contents)+")":ud.n.type==="root"?"markAsRoot("+od(ud.contents)+")":"align("+JSON.stringify(ud.n)+", "+od(ud.contents)+")";if(ud.type===_$3)return"ifBreak("+od(ud.breakContents)+(ud.flatContents?", "+od(ud.flatContents):"")+(ud.groupId?(ud.flatContents?"":', ""')+`, { groupId: ${ld(ud.groupId)} }`:"")+")";if(ud.type===R$5){let vd=[];ud.negate&&vd.push("negate: true"),ud.groupId&&vd.push(`groupId: ${ld(ud.groupId)}`);let Ad=vd.length>0?`, { ${vd.join(", ")} }`:"";return`indentIfBreak(${od(ud.contents)}${Ad})`}if(ud.type===x$4){let vd=[];ud.break&&ud.break!=="propagated"&&vd.push("shouldBreak: true"),ud.id&&vd.push(`id: ${ld(ud.id)}`);let Ad=vd.length>0?`, { ${vd.join(", ")} }`:"";return ud.expandedStates?`conditionalGroup([${ud.expandedStates.map(Nd=>od(Nd)).join(",")}]${Ad})`:`group(${od(ud.contents)}${Ad})`}if(ud.type===S$2)return`fill([${ud.parts.map(vd=>od(vd)).join(", ")}])`;if(ud.type===Y$3)return"lineSuffix("+od(ud.contents)+")";if(ud.type===j$3)return"lineSuffixBoundary";if(ud.type===N$3)return`label(${JSON.stringify(ud.label)}, ${od(ud.contents)})`;throw new Error("Unknown doc type "+ud.type)}function ld(ud){if(typeof ud!="symbol")return JSON.stringify(String(ud));if(ud in qa)return qa[ud];let dd=ud.description||"symbol";for(let pd=0;;pd++){let fd=dd+(pd>0?` #${pd}`:"");if(!nd.has(fd))return nd.add(fd),qa[ud]=`Symbol.for(${JSON.stringify(fd)})`}}}var Yu=(Ra,qa,nd)=>{if(!(Ra&&qa==null))return Array.isArray(qa)||typeof qa=="string"?qa[nd<0?qa.length+nd:nd]:qa.at(nd)},y$3=Yu,Sr=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function Nr(Ra){return Ra===12288||Ra>=65281&&Ra<=65376||Ra>=65504&&Ra<=65510}function Tr(Ra){return Ra>=4352&&Ra<=4447||Ra===8986||Ra===8987||Ra===9001||Ra===9002||Ra>=9193&&Ra<=9196||Ra===9200||Ra===9203||Ra===9725||Ra===9726||Ra===9748||Ra===9749||Ra>=9800&&Ra<=9811||Ra===9855||Ra===9875||Ra===9889||Ra===9898||Ra===9899||Ra===9917||Ra===9918||Ra===9924||Ra===9925||Ra===9934||Ra===9940||Ra===9962||Ra===9970||Ra===9971||Ra===9973||Ra===9978||Ra===9981||Ra===9989||Ra===9994||Ra===9995||Ra===10024||Ra===10060||Ra===10062||Ra>=10067&&Ra<=10069||Ra===10071||Ra>=10133&&Ra<=10135||Ra===10160||Ra===10175||Ra===11035||Ra===11036||Ra===11088||Ra===11093||Ra>=11904&&Ra<=11929||Ra>=11931&&Ra<=12019||Ra>=12032&&Ra<=12245||Ra>=12272&&Ra<=12287||Ra>=12289&&Ra<=12350||Ra>=12353&&Ra<=12438||Ra>=12441&&Ra<=12543||Ra>=12549&&Ra<=12591||Ra>=12593&&Ra<=12686||Ra>=12688&&Ra<=12771||Ra>=12783&&Ra<=12830||Ra>=12832&&Ra<=12871||Ra>=12880&&Ra<=19903||Ra>=19968&&Ra<=42124||Ra>=42128&&Ra<=42182||Ra>=43360&&Ra<=43388||Ra>=44032&&Ra<=55203||Ra>=63744&&Ra<=64255||Ra>=65040&&Ra<=65049||Ra>=65072&&Ra<=65106||Ra>=65108&&Ra<=65126||Ra>=65128&&Ra<=65131||Ra>=94176&&Ra<=94180||Ra===94192||Ra===94193||Ra>=94208&&Ra<=100343||Ra>=100352&&Ra<=101589||Ra>=101632&&Ra<=101640||Ra>=110576&&Ra<=110579||Ra>=110581&&Ra<=110587||Ra===110589||Ra===110590||Ra>=110592&&Ra<=110882||Ra===110898||Ra>=110928&&Ra<=110930||Ra===110933||Ra>=110948&&Ra<=110951||Ra>=110960&&Ra<=111355||Ra===126980||Ra===127183||Ra===127374||Ra>=127377&&Ra<=127386||Ra>=127488&&Ra<=127490||Ra>=127504&&Ra<=127547||Ra>=127552&&Ra<=127560||Ra===127568||Ra===127569||Ra>=127584&&Ra<=127589||Ra>=127744&&Ra<=127776||Ra>=127789&&Ra<=127797||Ra>=127799&&Ra<=127868||Ra>=127870&&Ra<=127891||Ra>=127904&&Ra<=127946||Ra>=127951&&Ra<=127955||Ra>=127968&&Ra<=127984||Ra===127988||Ra>=127992&&Ra<=128062||Ra===128064||Ra>=128066&&Ra<=128252||Ra>=128255&&Ra<=128317||Ra>=128331&&Ra<=128334||Ra>=128336&&Ra<=128359||Ra===128378||Ra===128405||Ra===128406||Ra===128420||Ra>=128507&&Ra<=128591||Ra>=128640&&Ra<=128709||Ra===128716||Ra>=128720&&Ra<=128722||Ra>=128725&&Ra<=128727||Ra>=128732&&Ra<=128735||Ra===128747||Ra===128748||Ra>=128756&&Ra<=128764||Ra>=128992&&Ra<=129003||Ra===129008||Ra>=129292&&Ra<=129338||Ra>=129340&&Ra<=129349||Ra>=129351&&Ra<=129535||Ra>=129648&&Ra<=129660||Ra>=129664&&Ra<=129672||Ra>=129680&&Ra<=129725||Ra>=129727&&Ra<=129733||Ra>=129742&&Ra<=129755||Ra>=129760&&Ra<=129768||Ra>=129776&&Ra<=129784||Ra>=131072&&Ra<=196605||Ra>=196608&&Ra<=262141}var kr=Ra=>!(Nr(Ra)||Tr(Ra)),ju=/[^\x20-\x7F]/u;function Hu(Ra){if(!Ra)return 0;if(!ju.test(Ra))return Ra.length;Ra=Ra.replace(Sr()," ");let qa=0;for(let nd of Ra){let od=nd.codePointAt(0);od<=31||od>=127&&od<=159||od>=768&&od<=879||(qa+=kr(od)?1:2)}return qa}var Oe$2=Hu;function Ne$2(Ra,qa){if(typeof Ra=="string")return qa(Ra);let nd=new Map;return od(Ra);function od(ud){if(nd.has(ud))return nd.get(ud);let dd=ld(ud);return nd.set(ud,dd),dd}function ld(ud){switch(G$4(ud)){case W$4:return qa(ud.map(od));case S$2:return qa({...ud,parts:ud.parts.map(od)});case _$3:return qa({...ud,breakContents:od(ud.breakContents),flatContents:od(ud.flatContents)});case x$4:{let{expandedStates:dd,contents:pd}=ud;return dd?(dd=dd.map(od),pd=dd[0]):pd=od(pd),qa({...ud,contents:pd,expandedStates:dd})}case P$4:case L$3:case R$5:case N$3:case Y$3:return qa({...ud,contents:od(ud.contents)});case U$4:case z$3:case I$4:case j$3:case B$4:case b$2:return qa(ud);default:throw new Q$4(ud)}}}function Xe$1(Ra,qa,nd){let od=nd,ld=!1;function ud(dd){if(ld)return!1;let pd=qa(dd);pd!==void 0&&(ld=!0,od=pd)}return we$3(Ra,ud),od}function Wu(Ra){if(Ra.type===x$4&&Ra.break||Ra.type===B$4&&Ra.hard||Ra.type===b$2)return!0}function Ir(Ra){return Xe$1(Ra,Wu,!1)}function Lr(Ra){if(Ra.length>0){let qa=y$3(!1,Ra,-1);!qa.expandedStates&&!qa.break&&(qa.break="propagated")}return null}function Rr(Ra){let qa=new Set,nd=[];function od(ud){if(ud.type===b$2&&Lr(nd),ud.type===x$4){if(nd.push(ud),qa.has(ud))return!1;qa.add(ud)}}function ld(ud){ud.type===x$4&&nd.pop().break&&Lr(nd)}we$3(Ra,od,ld,!0)}function Mu(Ra){return Ra.type===B$4&&!Ra.hard?Ra.soft?"":" ":Ra.type===_$3?Ra.flatContents:Ra}function Yr(Ra){return Ne$2(Ra,Mu)}function Pr(Ra){for(Ra=[...Ra];Ra.length>=2&&y$3(!1,Ra,-2).type===B$4&&y$3(!1,Ra,-1).type===b$2;)Ra.length-=2;if(Ra.length>0){let qa=Se$3(y$3(!1,Ra,-1));Ra[Ra.length-1]=qa}return Ra}function Se$3(Ra){switch(G$4(Ra)){case L$3:case R$5:case x$4:case Y$3:case N$3:{let qa=Se$3(Ra.contents);return{...Ra,contents:qa}}case _$3:return{...Ra,breakContents:Se$3(Ra.breakContents),flatContents:Se$3(Ra.flatContents)};case S$2:return{...Ra,parts:Pr(Ra.parts)};case W$4:return Pr(Ra);case U$4:return Ra.replace(/[\n\r]*$/u,"");case P$4:case z$3:case I$4:case j$3:case B$4:case b$2:break;default:throw new Q$4(Ra)}return Ra}function Ze$1(Ra){return Se$3(Vu(Ra))}function $u(Ra){switch(G$4(Ra)){case S$2:if(Ra.parts.every(qa=>qa===""))return"";break;case x$4:if(!Ra.contents&&!Ra.id&&!Ra.break&&!Ra.expandedStates)return"";if(Ra.contents.type===x$4&&Ra.contents.id===Ra.id&&Ra.contents.break===Ra.break&&Ra.contents.expandedStates===Ra.expandedStates)return Ra.contents;break;case P$4:case L$3:case R$5:case Y$3:if(!Ra.contents)return"";break;case _$3:if(!Ra.flatContents&&!Ra.breakContents)return"";break;case W$4:{let qa=[];for(let nd of Ra){if(!nd)continue;let[od,...ld]=Array.isArray(nd)?nd:[nd];typeof od=="string"&&typeof y$3(!1,qa,-1)=="string"?qa[qa.length-1]+=od:qa.push(od),qa.push(...ld)}return qa.length===0?"":qa.length===1?qa[0]:qa}case U$4:case z$3:case I$4:case j$3:case B$4:case N$3:case b$2:break;default:throw new Q$4(Ra)}return Ra}function Vu(Ra){return Ne$2(Ra,qa=>$u(qa))}function jr(Ra,qa=qe){return Ne$2(Ra,nd=>typeof nd=="string"?be$4(qa,nd.split(`
`)):nd)}function Uu(Ra){if(Ra.type===B$4)return!0}function Hr(Ra){return Xe$1(Ra,Uu,!1)}function Qe$1(Ra,qa){return Ra.type===N$3?{...Ra,contents:qa(Ra.contents)}:qa(Ra)}var H$4=Symbol("MODE_BREAK"),J$4=Symbol("MODE_FLAT"),Te$2=Symbol("cursor");function Wr(){return{value:"",length:0,queue:[]}}function zu(Ra,qa){return bt$2(Ra,{type:"indent"},qa)}function Gu(Ra,qa,nd){return qa===Number.NEGATIVE_INFINITY?Ra.root||Wr():qa<0?bt$2(Ra,{type:"dedent"},nd):qa?qa.type==="root"?{...Ra,root:Ra}:bt$2(Ra,{type:typeof qa=="string"?"stringAlign":"numberAlign",n:qa},nd):Ra}function bt$2(Ra,qa,nd){let od=qa.type==="dedent"?Ra.queue.slice(0,-1):[...Ra.queue,qa],ld="",ud=0,dd=0,pd=0;for(let kd of od)switch(kd.type){case"indent":vd(),nd.useTabs?fd(1):md(nd.tabWidth);break;case"stringAlign":vd(),ld+=kd.n,ud+=kd.n.length;break;case"numberAlign":dd+=1,pd+=kd.n;break;default:throw new Error(`Unexpected type '${kd.type}'`)}return Nd(),{...Ra,value:ld,length:ud,queue:od};function fd(kd){ld+=" ".repeat(kd),ud+=nd.tabWidth*kd}function md(kd){ld+=" ".repeat(kd),ud+=kd}function vd(){nd.useTabs?Ad():Nd()}function Ad(){dd>0&&fd(dd),Od()}function Nd(){pd>0&&md(pd),Od()}function Od(){dd=0,pd=0}}function Ot$1(Ra){let qa=0,nd=0,od=Ra.length;e:for(;od--;){let ld=Ra[od];if(ld===Te$2){nd++;continue}for(let ud=ld.length-1;ud>=0;ud--){let dd=ld[ud];if(dd===" "||dd===" ")qa++;else{Ra[od]=ld.slice(0,ud+1);break e}}}if(qa>0||nd>0)for(Ra.length=od+1;nd-- >0;)Ra.push(Te$2);return qa}function et$2(Ra,qa,nd,od,ld,ud){if(nd===Number.POSITIVE_INFINITY)return!0;let dd=qa.length,pd=[Ra],fd=[];for(;nd>=0;){if(pd.length===0){if(dd===0)return!0;pd.push(qa[--dd]);continue}let{mode:md,doc:vd}=pd.pop(),Ad=G$4(vd);switch(Ad){case U$4:fd.push(vd),nd-=Oe$2(vd);break;case W$4:case S$2:{let Nd=Ad===W$4?vd:vd.parts;for(let Od=Nd.length-1;Od>=0;Od--)pd.push({mode:md,doc:Nd[Od]});break}case L$3:case P$4:case R$5:case N$3:pd.push({mode:md,doc:vd.contents});break;case I$4:nd+=Ot$1(fd);break;case x$4:{if(ud&&vd.break)return!1;let Nd=vd.break?H$4:md,Od=vd.expandedStates&&Nd===H$4?y$3(!1,vd.expandedStates,-1):vd.contents;pd.push({mode:Nd,doc:Od});break}case _$3:{let Nd=(vd.groupId?ld[vd.groupId]||J$4:md)===H$4?vd.breakContents:vd.flatContents;Nd&&pd.push({mode:md,doc:Nd});break}case B$4:if(md===H$4||vd.hard)return!0;vd.soft||(fd.push(" "),nd--);break;case Y$3:od=!0;break;case j$3:if(od)return!1;break}}return!1}function Fe$2(Ra,qa){let nd={},od=qa.printWidth,ld=Be$3(qa.endOfLine),ud=0,dd=[{ind:Wr(),mode:H$4,doc:Ra}],pd=[],fd=!1,md=[],vd=0;for(Rr(Ra);dd.length>0;){let{ind:Nd,mode:Od,doc:kd}=dd.pop();switch(G$4(kd)){case U$4:{let Ld=ld!==`
`?ne$3(!1,kd,`
`,ld):kd;pd.push(Ld),dd.length>0&&(ud+=Oe$2(Ld));break}case W$4:for(let Ld=kd.length-1;Ld>=0;Ld--)dd.push({ind:Nd,mode:Od,doc:kd[Ld]});break;case z$3:if(vd>=2)throw new Error("There are too many 'cursor' in doc.");pd.push(Te$2),vd++;break;case L$3:dd.push({ind:zu(Nd,qa),mode:Od,doc:kd.contents});break;case P$4:dd.push({ind:Gu(Nd,kd.n,qa),mode:Od,doc:kd.contents});break;case I$4:ud-=Ot$1(pd);break;case x$4:switch(Od){case J$4:if(!fd){dd.push({ind:Nd,mode:kd.break?H$4:J$4,doc:kd.contents});break}case H$4:{fd=!1;let Ld={ind:Nd,mode:J$4,doc:kd.contents},Gd=od-ud,jd=md.length>0;if(!kd.break&&et$2(Ld,dd,Gd,jd,nd))dd.push(Ld);else if(kd.expandedStates){let Fd=y$3(!1,kd.expandedStates,-1);if(kd.break){dd.push({ind:Nd,mode:H$4,doc:Fd});break}else for(let Ud=1;Ud<kd.expandedStates.length+1;Ud++)if(Ud>=kd.expandedStates.length){dd.push({ind:Nd,mode:H$4,doc:Fd});break}else{let qd=kd.expandedStates[Ud],zd={ind:Nd,mode:J$4,doc:qd};if(et$2(zd,dd,Gd,jd,nd)){dd.push(zd);break}}}else dd.push({ind:Nd,mode:H$4,doc:kd.contents});break}}kd.id&&(nd[kd.id]=y$3(!1,dd,-1).mode);break;case S$2:{let Ld=od-ud,{parts:Gd}=kd;if(Gd.length===0)break;let[jd,Fd]=Gd,Ud={ind:Nd,mode:J$4,doc:jd},qd={ind:Nd,mode:H$4,doc:jd},zd=et$2(Ud,[],Ld,md.length>0,nd,!0);if(Gd.length===1){zd?dd.push(Ud):dd.push(qd);break}let Wd={ind:Nd,mode:J$4,doc:Fd},Jd={ind:Nd,mode:H$4,doc:Fd};if(Gd.length===2){zd?dd.push(Wd,Ud):dd.push(Jd,qd);break}Gd.splice(0,2);let _f={ind:Nd,mode:Od,doc:Ge$1(Gd)},Xd=Gd[0];et$2({ind:Nd,mode:J$4,doc:[jd,Fd,Xd]},[],Ld,md.length>0,nd,!0)?dd.push(_f,Wd,Ud):zd?dd.push(_f,Jd,Ud):dd.push(_f,Jd,qd);break}case _$3:case R$5:{let Ld=kd.groupId?nd[kd.groupId]:Od;if(Ld===H$4){let Gd=kd.type===_$3?kd.breakContents:kd.negate?kd.contents:De$2(kd.contents);Gd&&dd.push({ind:Nd,mode:Od,doc:Gd})}if(Ld===J$4){let Gd=kd.type===_$3?kd.flatContents:kd.negate?De$2(kd.contents):kd.contents;Gd&&dd.push({ind:Nd,mode:Od,doc:Gd})}break}case Y$3:md.push({ind:Nd,mode:Od,doc:kd.contents});break;case j$3:md.length>0&&dd.push({ind:Nd,mode:Od,doc:_e$2});break;case B$4:switch(Od){case J$4:if(kd.hard)fd=!0;else{kd.soft||(pd.push(" "),ud+=1);break}case H$4:if(md.length>0){dd.push({ind:Nd,mode:Od,doc:kd},...md.reverse()),md.length=0;break}kd.literal?Nd.root?(pd.push(ld,Nd.root.value),ud=Nd.root.length):(pd.push(ld),ud=0):(ud-=Ot$1(pd),pd.push(ld+Nd.value),ud=Nd.length);break}break;case N$3:dd.push({ind:Nd,mode:Od,doc:kd.contents});break;case b$2:break;default:throw new Q$4(kd)}dd.length===0&&md.length>0&&(dd.push(...md.reverse()),md.length=0)}let Ad=pd.indexOf(Te$2);if(Ad!==-1){let Nd=pd.indexOf(Te$2,Ad+1),Od=pd.slice(0,Ad).join(""),kd=pd.slice(Ad+1,Nd).join(""),Ld=pd.slice(Nd+1).join("");return{formatted:Od+kd+Ld,cursorNodeStart:Od.length,cursorNodeText:kd}}return{formatted:pd.join("")}}function Ku(Ra,qa,nd=0){let od=0;for(let ld=nd;ld<Ra.length;++ld)Ra[ld]===" "?od=od+qa-od%qa:od++;return od}var me$3=Ku,te$2,Nt$1,tt$2,St$1=class{constructor(qa){Dr(this,te$2),this.stack=[qa]}get key(){let{stack:qa,siblings:nd}=this;return y$3(!1,qa,nd===null?-2:-4)??null}get index(){return this.siblings===null?null:y$3(!1,this.stack,-2)}get node(){return y$3(!1,this.stack,-1)}get parent(){return this.getNode(1)}get grandparent(){return this.getNode(2)}get isInArray(){return this.siblings!==null}get siblings(){let{stack:qa}=this,nd=y$3(!1,qa,-3);return Array.isArray(nd)?nd:null}get next(){let{siblings:qa}=this;return qa===null?null:qa[this.index+1]}get previous(){let{siblings:qa}=this;return qa===null?null:qa[this.index-1]}get isFirst(){return this.index===0}get isLast(){let{siblings:qa,index:nd}=this;return qa!==null&&nd===qa.length-1}get isRoot(){return this.stack.length===1}get root(){return this.stack[0]}get ancestors(){return[...pe$2(this,te$2,tt$2).call(this)]}getName(){let{stack:qa}=this,{length:nd}=qa;return nd>1?y$3(!1,qa,-2):null}getValue(){return y$3(!1,this.stack,-1)}getNode(qa=0){let nd=pe$2(this,te$2,Nt$1).call(this,qa);return nd===-1?null:this.stack[nd]}getParentNode(qa=0){return this.getNode(qa+1)}call(qa,...nd){let{stack:od}=this,{length:ld}=od,ud=y$3(!1,od,-1);for(let dd of nd)ud=ud[dd],od.push(dd,ud);try{return qa(this)}finally{od.length=ld}}callParent(qa,nd=0){let od=pe$2(this,te$2,Nt$1).call(this,nd+1),ld=this.stack.splice(od+1);try{return qa(this)}finally{this.stack.push(...ld)}}each(qa,...nd){let{stack:od}=this,{length:ld}=od,ud=y$3(!1,od,-1);for(let dd of nd)ud=ud[dd],od.push(dd,ud);try{for(let dd=0;dd<ud.length;++dd)od.push(dd,ud[dd]),qa(this,dd,ud),od.length-=2}finally{od.length=ld}}map(qa,...nd){let od=[];return this.each((ld,ud,dd)=>{od[ud]=qa(ld,ud,dd)},...nd),od}match(...qa){let nd=this.stack.length-1,od=null,ld=this.stack[nd--];for(let ud of qa){if(ld===void 0)return!1;let dd=null;if(typeof od=="number"&&(dd=od,od=this.stack[nd--],ld=this.stack[nd--]),ud&&!ud(ld,od,dd))return!1;od=this.stack[nd--],ld=this.stack[nd--]}return!0}findAncestor(qa){for(let nd of pe$2(this,te$2,tt$2).call(this))if(qa(nd))return nd}hasAncestor(qa){for(let nd of pe$2(this,te$2,tt$2).call(this))if(qa(nd))return!0;return!1}};te$2=new WeakSet,Nt$1=function(Ra){let{stack:qa}=this;for(let nd=qa.length-1;nd>=0;nd-=2)if(!Array.isArray(qa[nd])&&--Ra<0)return nd;return-1},tt$2=function*(){let{stack:Ra}=this;for(let qa=Ra.length-3;qa>=0;qa-=2){let nd=Ra[qa];Array.isArray(nd)||(yield nd)}};var Mr=St$1,$r=new Proxy(()=>{},{get:()=>$r}),ke$3=$r;function qu(Ra){return Ra!==null&&typeof Ra=="object"}var Vr=qu;function*Tt$1(Ra,qa){let{getVisitorKeys:nd,filter:od=()=>!0}=qa,ld=ud=>Vr(ud)&&od(ud);for(let ud of nd(Ra)){let dd=Ra[ud];if(Array.isArray(dd))for(let pd of dd)ld(pd)&&(yield pd);else ld(dd)&&(yield dd)}}function*Ur(Ra,qa){let nd=[Ra];for(let od=0;od<nd.length;od++){let ld=nd[od];for(let ud of Tt$1(ld,qa))yield ud,nd.push(ud)}}function Ee$3(Ra){return(qa,nd,od)=>{let ld=!!(od!=null&&od.backwards);if(nd===!1)return!1;let{length:ud}=qa,dd=nd;for(;dd>=0&&dd<ud;){let pd=qa.charAt(dd);if(Ra instanceof RegExp){if(!Ra.test(pd))return dd}else if(!Ra.includes(pd))return dd;ld?dd--:dd++}return dd===-1||dd===ud?dd:!1}}var zr=Ee$3(/\s/u),T$3=Ee$3(" "),rt$1=Ee$3(",; "),nt$2=Ee$3(/[^\n\r]/u);function Ju(Ra,qa,nd){let od=!!(nd!=null&&nd.backwards);if(qa===!1)return!1;let ld=Ra.charAt(qa);if(od){if(Ra.charAt(qa-1)==="\r"&&ld===`
`)return qa-2;if(ld===`
`||ld==="\r"||ld==="\u2028"||ld==="\u2029")return qa-1}else{if(ld==="\r"&&Ra.charAt(qa+1)===`
`)return qa+2;if(ld===`
`||ld==="\r"||ld==="\u2028"||ld==="\u2029")return qa+1}return qa}var M$3=Ju;function Xu(Ra,qa,nd={}){let od=T$3(Ra,nd.backwards?qa-1:qa,nd),ld=M$3(Ra,od,nd);return od!==ld}var V$3=Xu;function Zu(Ra){return Array.isArray(Ra)&&Ra.length>0}var kt=Zu,Gr=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),Qu=Ra=>Object.keys(Ra).filter(qa=>!Gr.has(qa));function eo(Ra){return Ra?qa=>Ra(qa,Gr):Qu}var X$4=eo;function to(Ra){let qa=Ra.type||Ra.kind||"(unknown type)",nd=String(Ra.name||Ra.id&&(typeof Ra.id=="object"?Ra.id.name:Ra.id)||Ra.key&&(typeof Ra.key=="object"?Ra.key.name:Ra.key)||Ra.value&&(typeof Ra.value=="object"?"":String(Ra.value))||Ra.operator||"");return nd.length>20&&(nd=nd.slice(0,19)+"…"),qa+(nd?" "+nd:"")}function Lt(Ra,qa){(Ra.comments??(Ra.comments=[])).push(qa),qa.printed=!1,qa.nodeDescription=to(Ra)}function ue$2(Ra,qa){qa.leading=!0,qa.trailing=!1,Lt(Ra,qa)}function re$2(Ra,qa,nd){qa.leading=!1,qa.trailing=!1,nd&&(qa.marker=nd),Lt(Ra,qa)}function oe$2(Ra,qa){qa.leading=!1,qa.trailing=!0,Lt(Ra,qa)}var Pt=new WeakMap;function ut$2(Ra,qa){if(Pt.has(Ra))return Pt.get(Ra);let{printer:{getCommentChildNodes:nd,canAttachComment:od,getVisitorKeys:ld},locStart:ud,locEnd:dd}=qa;if(!od)return[];let pd=((nd==null?void 0:nd(Ra,qa))??[...Tt$1(Ra,{getVisitorKeys:X$4(ld)})]).flatMap(fd=>od(fd)?[fd]:ut$2(fd,qa));return pd.sort((fd,md)=>ud(fd)-ud(md)||dd(fd)-dd(md)),Pt.set(Ra,pd),pd}function qr(Ra,qa,nd,od){let{locStart:ld,locEnd:ud}=nd,dd=ld(qa),pd=ud(qa),fd=ut$2(Ra,nd),md,vd,Ad=0,Nd=fd.length;for(;Ad<Nd;){let Od=Ad+Nd>>1,kd=fd[Od],Ld=ld(kd),Gd=ud(kd);if(Ld<=dd&&pd<=Gd)return qr(kd,qa,nd,kd);if(Gd<=dd){md=kd,Ad=Od+1;continue}if(pd<=Ld){vd=kd,Nd=Od;continue}throw new Error("Comment location overlaps with node location")}if((od==null?void 0:od.type)==="TemplateLiteral"){let{quasis:Od}=od,kd=Rt$1(Od,qa,nd);md&&Rt$1(Od,md,nd)!==kd&&(md=null),vd&&Rt$1(Od,vd,nd)!==kd&&(vd=null)}return{enclosingNode:od,precedingNode:md,followingNode:vd}}var It$1=()=>!1;function Jr(Ra,qa){let{comments:nd}=Ra;if(delete Ra.comments,!kt(nd)||!qa.printer.canAttachComment)return;let od=[],{locStart:ld,locEnd:ud,printer:{experimentalFeatures:{avoidAstMutation:dd=!1}={},handleComments:pd={}},originalText:fd}=qa,{ownLine:md=It$1,endOfLine:vd=It$1,remaining:Ad=It$1}=pd,Nd=nd.map((Od,kd)=>({...qr(Ra,Od,qa),comment:Od,text:fd,options:qa,ast:Ra,isLastComment:nd.length-1===kd}));for(let[Od,kd]of Nd.entries()){let{comment:Ld,precedingNode:Gd,enclosingNode:jd,followingNode:Fd,text:Ud,options:qd,ast:zd,isLastComment:Wd}=kd;if(qd.parser==="json"||qd.parser==="json5"||qd.parser==="jsonc"||qd.parser==="__js_expression"||qd.parser==="__ts_expression"||qd.parser==="__vue_expression"||qd.parser==="__vue_ts_expression"){if(ld(Ld)-ld(zd)<=0){ue$2(zd,Ld);continue}if(ud(Ld)-ud(zd)>=0){oe$2(zd,Ld);continue}}let Jd;if(dd?Jd=[kd]:(Ld.enclosingNode=jd,Ld.precedingNode=Gd,Ld.followingNode=Fd,Jd=[Ld,Ud,qd,zd,Wd]),ro(Ud,qd,Nd,Od))Ld.placement="ownLine",md(...Jd)||(Fd?ue$2(Fd,Ld):Gd?oe$2(Gd,Ld):re$2(jd||zd,Ld));else if(no(Ud,qd,Nd,Od))Ld.placement="endOfLine",vd(...Jd)||(Gd?oe$2(Gd,Ld):Fd?ue$2(Fd,Ld):re$2(jd||zd,Ld));else if(Ld.placement="remaining",!Ad(...Jd))if(Gd&&Fd){let _f=od.length;_f>0&&od[_f-1].followingNode!==Fd&&Kr(od,qd),od.push(kd)}else Gd?oe$2(Gd,Ld):Fd?ue$2(Fd,Ld):re$2(jd||zd,Ld)}if(Kr(od,qa),!dd)for(let Od of nd)delete Od.precedingNode,delete Od.enclosingNode,delete Od.followingNode}var Xr=Ra=>!/[\S\n\u2028\u2029]/u.test(Ra);function ro(Ra,qa,nd,od){let{comment:ld,precedingNode:ud}=nd[od],{locStart:dd,locEnd:pd}=qa,fd=dd(ld);if(ud)for(let md=od-1;md>=0;md--){let{comment:vd,precedingNode:Ad}=nd[md];if(Ad!==ud||!Xr(Ra.slice(pd(vd),fd)))break;fd=dd(vd)}return V$3(Ra,fd,{backwards:!0})}function no(Ra,qa,nd,od){let{comment:ld,followingNode:ud}=nd[od],{locStart:dd,locEnd:pd}=qa,fd=pd(ld);if(ud)for(let md=od+1;md<nd.length;md++){let{comment:vd,followingNode:Ad}=nd[md];if(Ad!==ud||!Xr(Ra.slice(fd,dd(vd))))break;fd=pd(vd)}return V$3(Ra,fd)}function Kr(Ra,qa){var nd,od;let ld=Ra.length;if(ld===0)return;let{precedingNode:ud,followingNode:dd}=Ra[0],pd=qa.locStart(dd),fd;for(fd=ld;fd>0;--fd){let{comment:md,precedingNode:vd,followingNode:Ad}=Ra[fd-1];ke$3.strictEqual(vd,ud),ke$3.strictEqual(Ad,dd);let Nd=qa.originalText.slice(qa.locEnd(md),pd);if(((od=(nd=qa.printer).isGap)==null?void 0:od.call(nd,Nd,qa))??/^[\s(]*$/u.test(Nd))pd=qa.locStart(md);else break}for(let[md,{comment:vd}]of Ra.entries())md<fd?oe$2(ud,vd):ue$2(dd,vd);for(let md of[ud,dd])md.comments&&md.comments.length>1&&md.comments.sort((vd,Ad)=>qa.locStart(vd)-qa.locStart(Ad));Ra.length=0}function Rt$1(Ra,qa,nd){let od=nd.locStart(qa)-1;for(let ld=1;ld<Ra.length;++ld)if(od<nd.locStart(Ra[ld]))return ld-1;return 0}function uo(Ra,qa){let nd=qa-1;nd=T$3(Ra,nd,{backwards:!0}),nd=M$3(Ra,nd,{backwards:!0}),nd=T$3(Ra,nd,{backwards:!0});let od=M$3(Ra,nd,{backwards:!0});return nd!==od}var Le$3=uo;function Zr(Ra,qa){let nd=Ra.node;return nd.printed=!0,qa.printer.printComment(Ra,qa)}function oo(Ra,qa){var nd;let od=Ra.node,ld=[Zr(Ra,qa)],{printer:ud,originalText:dd,locStart:pd,locEnd:fd}=qa;if((nd=ud.isBlockComment)!=null&&nd.call(ud,od)){let vd=V$3(dd,fd(od))?V$3(dd,pd(od),{backwards:!0})?q$4:Ke$2:" ";ld.push(vd)}else ld.push(q$4);let md=M$3(dd,T$3(dd,fd(od)));return md!==!1&&V$3(dd,md)&&ld.push(q$4),ld}function io(Ra,qa,nd){var od;let ld=Ra.node,ud=Zr(Ra,qa),{printer:dd,originalText:pd,locStart:fd}=qa,md=(od=dd.isBlockComment)==null?void 0:od.call(dd,ld);if(nd!=null&&nd.hasLineSuffix&&!(nd!=null&&nd.isBlock)||V$3(pd,fd(ld),{backwards:!0})){let vd=Le$3(pd,fd(ld));return{doc:xe$2([q$4,vd?q$4:"",ud]),isBlock:md,hasLineSuffix:!0}}return!md||nd!=null&&nd.hasLineSuffix?{doc:[xe$2([" ",ud]),de$2],isBlock:md,hasLineSuffix:!0}:{doc:[" ",ud],isBlock:md,hasLineSuffix:!1}}function so(Ra,qa){let nd=Ra.node;if(!nd)return{};let od=qa[Symbol.for("printedComments")];if((nd.comments||[]).filter(pd=>!od.has(pd)).length===0)return{leading:"",trailing:""};let ld=[],ud=[],dd;return Ra.each(()=>{let pd=Ra.node;if(od!=null&&od.has(pd))return;let{leading:fd,trailing:md}=pd;fd?ld.push(oo(Ra,qa)):md&&(dd=io(Ra,qa,dd),ud.push(dd.doc))},"comments"),{leading:ld,trailing:ud}}function Qr(Ra,qa,nd){let{leading:od,trailing:ld}=so(Ra,nd);return!od&&!ld?qa:Qe$1(qa,ud=>[od,ud,ld])}function en$1(Ra){let{[Symbol.for("comments")]:qa,[Symbol.for("printedComments")]:nd}=Ra;for(let od of qa){if(!od.printed&&!nd.has(od))throw new Error('Comment "'+od.value.trim()+'" was not printed. Please report this error!');delete od.printed}}var Pe$3=class extends Error{constructor(){super(...arguments);kg(this,"name","ConfigError")}},Ie$2=class extends Error{constructor(){super(...arguments);kg(this,"name","UndefinedParserError")}},rn$1={cursorOffset:{category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:"Print (to stderr) where a cursor at the given position would move to after formatting.",cliCategory:"Editor"},endOfLine:{category:"Global",type:"choice",default:"lf",description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:`Maintain existing
(mixed values within one file are normalised by looking at what's used after the first line)`}]},filepath:{category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{category:"Global",type:"choice",default:void 0,description:"Which parser to use.",exception:Ra=>typeof Ra=="string"||typeof Ra=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",description:"JavaScript"},{value:"babel-flow",description:"Flow"},{value:"babel-ts",description:"TypeScript"},{value:"typescript",description:"TypeScript"},{value:"acorn",description:"JavaScript"},{value:"espree",description:"JavaScript"},{value:"meriyah",description:"JavaScript"},{value:"css",description:"CSS"},{value:"less",description:"Less"},{value:"scss",description:"SCSS"},{value:"json",description:"JSON"},{value:"json5",description:"JSON5"},{value:"jsonc",description:"JSON with Comments"},{value:"json-stringify",description:"JSON.stringify"},{value:"graphql",description:"GraphQL"},{value:"markdown",description:"Markdown"},{value:"mdx",description:"MDX"},{value:"vue",description:"Vue"},{value:"yaml",description:"YAML"},{value:"glimmer",description:"Ember / Handlebars"},{value:"html",description:"HTML"},{value:"angular",description:"Angular"},{value:"lwc",description:"Lightning Web Components"}]},plugins:{type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:Ra=>typeof Ra=="string"||typeof Ra=="object",cliName:"plugin",cliCategory:"Config"},printWidth:{category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:`Format code ending at a given character offset (exclusive).
The range will extend forwards to the end of the selected statement.`,cliCategory:"Editor"},rangeStart:{category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:`Format code starting at a given character offset.
The range will extend backwards to the start of the first line containing the selected statement.`,cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description:`Require either '@prettier' or '@format' to be present in the file's first docblock comment
in order for it to be formatted.`,cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};function ot$2({plugins:Ra=[],showDeprecated:qa=!1}={}){let nd=Ra.flatMap(ld=>ld.languages??[]),od=[];for(let ld of lo(Object.assign({},...Ra.map(({options:ud})=>ud),rn$1)))!qa&&ld.deprecated||(Array.isArray(ld.choices)&&(qa||(ld.choices=ld.choices.filter(ud=>!ud.deprecated)),ld.name==="parser"&&(ld.choices=[...ld.choices,...Do(ld.choices,nd,Ra)])),ld.pluginDefaults=Object.fromEntries(Ra.filter(ud=>{var dd;return((dd=ud.defaultOptions)==null?void 0:dd[ld.name])!==void 0}).map(ud=>[ud.name,ud.defaultOptions[ld.name]])),od.push(ld));return{languages:nd,options:od}}function*Do(Ra,qa,nd){let od=new Set(Ra.map(ld=>ld.value));for(let ld of qa)if(ld.parsers){for(let ud of ld.parsers)if(!od.has(ud)){od.add(ud);let dd=nd.find(fd=>fd.parsers&&Object.prototype.hasOwnProperty.call(fd.parsers,ud)),pd=ld.name;dd!=null&&dd.name&&(pd+=` (plugin: ${dd.name})`),yield{value:ud,description:pd}}}}function lo(Ra){let qa=[];for(let[nd,od]of Object.entries(Ra)){let ld={name:nd,...od};Array.isArray(ld.default)&&(ld.default=y$3(!1,ld.default,-1).value),qa.push(ld)}return qa}var co$1=Ra=>String(Ra).split(/[/\\]/u).pop();function nn$1(Ra,qa){if(!qa)return;let nd=co$1(qa).toLowerCase();return Ra.find(({filenames:od})=>od==null?void 0:od.some(ld=>ld.toLowerCase()===nd))??Ra.find(({extensions:od})=>od==null?void 0:od.some(ld=>nd.endsWith(ld)))}function fo(Ra,qa){if(qa)return Ra.find(({name:nd})=>nd.toLowerCase()===qa)??Ra.find(({aliases:nd})=>nd==null?void 0:nd.includes(qa))??Ra.find(({extensions:nd})=>nd==null?void 0:nd.includes(`.${qa}`))}function po(Ra,qa){let nd=Ra.plugins.flatMap(ld=>ld.languages??[]),od=fo(nd,qa.language)??nn$1(nd,qa.physicalFile)??nn$1(nd,qa.file)??(qa.physicalFile,void 0);return od==null?void 0:od.parsers[0]}var un$1=po,ie$2={key:Ra=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(Ra)?Ra:JSON.stringify(Ra),value(Ra){if(Ra===null||typeof Ra!="object")return JSON.stringify(Ra);if(Array.isArray(Ra))return`[${Ra.map(nd=>ie$2.value(nd)).join(", ")}]`;let qa=Object.keys(Ra);return qa.length===0?"{}":`{ ${qa.map(nd=>`${ie$2.key(nd)}: ${ie$2.value(Ra[nd])}`).join(", ")} }`},pair:({key:Ra,value:qa})=>ie$2.value({[Ra]:qa})},Yt$1=Me$2(it$1()),an$2=(Ra,qa,{descriptor:nd})=>{let od=[`${Yt$1.default.yellow(typeof Ra=="string"?nd.key(Ra):nd.pair(Ra))} is deprecated`];return qa&&od.push(`we now treat it as ${Yt$1.default.blue(typeof qa=="string"?nd.key(qa):nd.pair(qa))}`),od.join("; ")+"."},le$2=Me$2(it$1()),st$2=Symbol.for("vnopts.VALUE_NOT_EXIST"),he$2=Symbol.for("vnopts.VALUE_UNCHANGED"),Dn=" ".repeat(2),cn$2=(Ra,qa,nd)=>{let{text:od,list:ld}=nd.normalizeExpectedResult(nd.schemas[Ra].expected(nd)),ud=[];return od&&ud.push(ln$1(Ra,qa,od,nd.descriptor)),ld&&ud.push([ln$1(Ra,qa,ld.title,nd.descriptor)].concat(ld.values.map(dd=>fn$1(dd,nd.loggerPrintWidth))).join(`
`)),pn$1(ud,nd.loggerPrintWidth)};function ln$1(Ra,qa,nd,od){return[`Invalid ${le$2.default.red(od.key(Ra))} value.`,`Expected ${le$2.default.blue(nd)},`,`but received ${qa===st$2?le$2.default.gray("nothing"):le$2.default.red(od.value(qa))}.`].join(" ")}function fn$1({text:Ra,list:qa},nd){let od=[];return Ra&&od.push(`- ${le$2.default.blue(Ra)}`),qa&&od.push([`- ${le$2.default.blue(qa.title)}:`].concat(qa.values.map(ld=>fn$1(ld,nd-Dn.length).replace(/^|\n/g,`$&${Dn}`))).join(`
`)),pn$1(od,nd)}function pn$1(Ra,qa){if(Ra.length===1)return Ra[0];let[nd,od]=Ra,[ld,ud]=Ra.map(dd=>dd.split(`
`,1)[0].length);return ld>qa&&ld>ud?od:nd}var Wt$2=Me$2(it$1()),jt=[],dn$1=[];function Ht$1(Ra,qa){if(Ra===qa)return 0;let nd=Ra;Ra.length>qa.length&&(Ra=qa,qa=nd);let od=Ra.length,ld=qa.length;for(;od>0&&Ra.charCodeAt(~-od)===qa.charCodeAt(~-ld);)od--,ld--;let ud=0;for(;ud<od&&Ra.charCodeAt(ud)===qa.charCodeAt(ud);)ud++;if(od-=ud,ld-=ud,od===0)return ld;let dd,pd,fd,md,vd=0,Ad=0;for(;vd<od;)dn$1[vd]=Ra.charCodeAt(ud+vd),jt[vd]=++vd;for(;Ad<ld;)for(dd=qa.charCodeAt(ud+Ad),fd=Ad++,pd=Ad,vd=0;vd<od;vd++)md=dd===dn$1[vd]?fd:fd+1,fd=jt[vd],pd=jt[vd]=fd>pd?md>pd?pd+1:md:md>fd?fd+1:md;return pd}var at$4=(Ra,qa,{descriptor:nd,logger:od,schemas:ld})=>{let ud=[`Ignored unknown option ${Wt$2.default.yellow(nd.pair({key:Ra,value:qa}))}.`],dd=Object.keys(ld).sort().find(pd=>Ht$1(Ra,pd)<3);dd&&ud.push(`Did you mean ${Wt$2.default.blue(nd.key(dd))}?`),od.warn(ud.join(" "))},Fo=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function mo(Ra,qa){let nd=new Ra(qa),od=Object.create(nd);for(let ld of Fo)ld in qa&&(od[ld]=Eo(qa[ld],nd,O$2.prototype[ld].length));return od}var O$2=class{static create(qa){return mo(this,qa)}constructor(qa){this.name=qa.name}default(qa){}expected(qa){return"nothing"}validate(qa,nd){return!1}deprecated(qa,nd){return!1}forward(qa,nd){}redirect(qa,nd){}overlap(qa,nd,od){return qa}preprocess(qa,nd){return qa}postprocess(qa,nd){return he$2}};function Eo(Ra,qa,nd){return typeof Ra=="function"?(...od)=>Ra(...od.slice(0,nd-1),qa,...od.slice(nd-1)):()=>Ra}var Dt=class extends O$2{constructor(Ra){super(Ra),this._sourceName=Ra.sourceName}expected(Ra){return Ra.schemas[this._sourceName].expected(Ra)}validate(Ra,qa){return qa.schemas[this._sourceName].validate(Ra,qa)}redirect(Ra,qa){return this._sourceName}},lt$1=class extends O$2{expected(){return"anything"}validate(){return!0}},ct$2=class extends O$2{constructor({valueSchema:qa,name:nd=qa.name,...od}){super({...od,name:nd}),this._valueSchema=qa}expected(qa){let{text:nd,list:od}=qa.normalizeExpectedResult(this._valueSchema.expected(qa));return{text:nd&&`an array of ${nd}`,list:od&&{title:"an array of the following values",values:[{list:od}]}}}validate(qa,nd){if(!Array.isArray(qa))return!1;let od=[];for(let ld of qa){let ud=nd.normalizeValidateResult(this._valueSchema.validate(ld,nd),ld);ud!==!0&&od.push(ud.value)}return od.length===0?!0:{value:od}}deprecated(qa,nd){let od=[];for(let ld of qa){let ud=nd.normalizeDeprecatedResult(this._valueSchema.deprecated(ld,nd),ld);ud!==!1&&od.push(...ud.map(({value:dd})=>({value:[dd]})))}return od}forward(qa,nd){let od=[];for(let ld of qa){let ud=nd.normalizeForwardResult(this._valueSchema.forward(ld,nd),ld);od.push(...ud.map(Fn))}return od}redirect(qa,nd){let od=[],ld=[];for(let ud of qa){let dd=nd.normalizeRedirectResult(this._valueSchema.redirect(ud,nd),ud);"remain"in dd&&od.push(dd.remain),ld.push(...dd.redirect.map(Fn))}return od.length===0?{redirect:ld}:{redirect:ld,remain:od}}overlap(qa,nd){return qa.concat(nd)}};function Fn({from:Ra,to:qa}){return{from:[Ra],to:qa}}var ft$1=class extends O$2{expected(){return"true or false"}validate(qa){return typeof qa=="boolean"}};function En(Ra,qa){let nd=Object.create(null);for(let od of Ra){let ld=od[qa];if(nd[ld])throw new Error(`Duplicate ${qa} ${JSON.stringify(ld)}`);nd[ld]=od}return nd}function hn(Ra,qa){let nd=new Map;for(let od of Ra){let ld=od[qa];if(nd.has(ld))throw new Error(`Duplicate ${qa} ${JSON.stringify(ld)}`);nd.set(ld,od)}return nd}function Cn(){let Ra=Object.create(null);return qa=>{let nd=JSON.stringify(qa);return Ra[nd]?!0:(Ra[nd]=!0,!1)}}function gn$1(Ra,qa){let nd=[],od=[];for(let ld of Ra)qa(ld)?nd.push(ld):od.push(ld);return[nd,od]}function yn$1(Ra){return Ra===Math.floor(Ra)}function An(Ra,qa){if(Ra===qa)return 0;let nd=typeof Ra,od=typeof qa,ld=["undefined","object","boolean","number","string"];return nd!==od?ld.indexOf(nd)-ld.indexOf(od):nd!=="string"?Number(Ra)-Number(qa):Ra.localeCompare(qa)}function Bn(Ra){return(...qa)=>{let nd=Ra(...qa);return typeof nd=="string"?new Error(nd):nd}}function Mt$1(Ra){return Ra===void 0?{}:Ra}function $t$1(Ra){if(typeof Ra=="string")return{text:Ra};let{text:qa,list:nd}=Ra;return ho((qa||nd)!==void 0,"Unexpected `expected` result, there should be at least one field."),nd?{text:qa,list:{title:nd.title,values:nd.values.map($t$1)}}:{text:qa}}function Vt$1(Ra,qa){return Ra===!0?!0:Ra===!1?{value:qa}:Ra}function Ut$2(Ra,qa,nd=!1){return Ra===!1?!1:Ra===!0?nd?!0:[{value:qa}]:"value"in Ra?[Ra]:Ra.length===0?!1:Ra}function mn$1(Ra,qa){return typeof Ra=="string"||"key"in Ra?{from:qa,to:Ra}:"from"in Ra?{from:Ra.from,to:Ra.to}:{from:qa,to:Ra.to}}function pt$1(Ra,qa){return Ra===void 0?[]:Array.isArray(Ra)?Ra.map(nd=>mn$1(nd,qa)):[mn$1(Ra,qa)]}function zt$1(Ra,qa){let nd=pt$1(typeof Ra=="object"&&"redirect"in Ra?Ra.redirect:Ra,qa);return nd.length===0?{remain:qa,redirect:nd}:typeof Ra=="object"&&"remain"in Ra?{remain:Ra.remain,redirect:nd}:{redirect:nd}}function ho(Ra,qa){if(!Ra)throw new Error(qa)}var dt$1=class extends O$2{constructor(qa){super(qa),this._choices=hn(qa.choices.map(nd=>nd&&typeof nd=="object"?nd:{value:nd}),"value")}expected({descriptor:qa}){let nd=Array.from(this._choices.keys()).map(ud=>this._choices.get(ud)).filter(({hidden:ud})=>!ud).map(ud=>ud.value).sort(An).map(qa.value),od=nd.slice(0,-2),ld=nd.slice(-2);return{text:od.concat(ld.join(" or ")).join(", "),list:{title:"one of the following values",values:nd}}}validate(qa){return this._choices.has(qa)}deprecated(qa){let nd=this._choices.get(qa);return nd&&nd.deprecated?{value:qa}:!1}forward(qa){let nd=this._choices.get(qa);return nd?nd.forward:void 0}redirect(qa){let nd=this._choices.get(qa);return nd?nd.redirect:void 0}},Ft$1=class extends O$2{expected(){return"a number"}validate(qa,nd){return typeof qa=="number"}},mt$1=class extends Ft$1{expected(){return"an integer"}validate(qa,nd){return nd.normalizeValidateResult(super.validate(qa,nd),qa)===!0&&yn$1(qa)}},Re$3=class extends O$2{expected(){return"a string"}validate(qa){return typeof qa=="string"}},wn=ie$2,xn=at$4,_n=cn$2,vn=an$2,Et=class{constructor(Ra,qa){let{logger:nd=console,loggerPrintWidth:od=80,descriptor:ld=wn,unknown:ud=xn,invalid:dd=_n,deprecated:pd=vn,missing:fd=()=>!1,required:md=()=>!1,preprocess:vd=Nd=>Nd,postprocess:Ad=()=>he$2}=qa||{};this._utils={descriptor:ld,logger:nd||{warn:()=>{}},loggerPrintWidth:od,schemas:En(Ra,"name"),normalizeDefaultResult:Mt$1,normalizeExpectedResult:$t$1,normalizeDeprecatedResult:Ut$2,normalizeForwardResult:pt$1,normalizeRedirectResult:zt$1,normalizeValidateResult:Vt$1},this._unknownHandler=ud,this._invalidHandler=Bn(dd),this._deprecatedHandler=pd,this._identifyMissing=(Nd,Od)=>!(Nd in Od)||fd(Nd,Od),this._identifyRequired=md,this._preprocess=vd,this._postprocess=Ad,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=Cn()}normalize(Ra){let qa={},nd=[this._preprocess(Ra,this._utils)],od=()=>{for(;nd.length!==0;){let ld=nd.shift(),ud=this._applyNormalization(ld,qa);nd.push(...ud)}};od();for(let ld of Object.keys(this._utils.schemas)){let ud=this._utils.schemas[ld];if(!(ld in qa)){let dd=Mt$1(ud.default(this._utils));"value"in dd&&nd.push({[ld]:dd.value})}}od();for(let ld of Object.keys(this._utils.schemas)){if(!(ld in qa))continue;let ud=this._utils.schemas[ld],dd=qa[ld],pd=ud.postprocess(dd,this._utils);pd!==he$2&&(this._applyValidation(pd,ld,ud),qa[ld]=pd)}return this._applyPostprocess(qa),this._applyRequiredCheck(qa),qa}_applyNormalization(Ra,qa){let nd=[],{knownKeys:od,unknownKeys:ld}=this._partitionOptionKeys(Ra);for(let ud of od){let dd=this._utils.schemas[ud],pd=dd.preprocess(Ra[ud],this._utils);this._applyValidation(pd,ud,dd);let fd=({from:Ad,to:Nd})=>{nd.push(typeof Nd=="string"?{[Nd]:Ad}:{[Nd.key]:Nd.value})},md=({value:Ad,redirectTo:Nd})=>{let Od=Ut$2(dd.deprecated(Ad,this._utils),pd,!0);if(Od!==!1)if(Od===!0)this._hasDeprecationWarned(ud)||this._utils.logger.warn(this._deprecatedHandler(ud,Nd,this._utils));else for(let{value:kd}of Od){let Ld={key:ud,value:kd};if(!this._hasDeprecationWarned(Ld)){let Gd=typeof Nd=="string"?{key:Nd,value:kd}:Nd;this._utils.logger.warn(this._deprecatedHandler(Ld,Gd,this._utils))}}};pt$1(dd.forward(pd,this._utils),pd).forEach(fd);let vd=zt$1(dd.redirect(pd,this._utils),pd);if(vd.redirect.forEach(fd),"remain"in vd){let Ad=vd.remain;qa[ud]=ud in qa?dd.overlap(qa[ud],Ad,this._utils):Ad,md({value:Ad})}for(let{from:Ad,to:Nd}of vd.redirect)md({value:Ad,redirectTo:Nd})}for(let ud of ld){let dd=Ra[ud];this._applyUnknownHandler(ud,dd,qa,(pd,fd)=>{nd.push({[pd]:fd})})}return nd}_applyRequiredCheck(Ra){for(let qa of Object.keys(this._utils.schemas))if(this._identifyMissing(qa,Ra)&&this._identifyRequired(qa))throw this._invalidHandler(qa,st$2,this._utils)}_partitionOptionKeys(Ra){let[qa,nd]=gn$1(Object.keys(Ra).filter(od=>!this._identifyMissing(od,Ra)),od=>od in this._utils.schemas);return{knownKeys:qa,unknownKeys:nd}}_applyValidation(Ra,qa,nd){let od=Vt$1(nd.validate(Ra,this._utils),Ra);if(od!==!0)throw this._invalidHandler(qa,od.value,this._utils)}_applyUnknownHandler(Ra,qa,nd,od){let ld=this._unknownHandler(Ra,qa,this._utils);if(ld)for(let ud of Object.keys(ld)){if(this._identifyMissing(ud,ld))continue;let dd=ld[ud];ud in this._utils.schemas?od(ud,dd):nd[ud]=dd}}_applyPostprocess(Ra){let qa=this._postprocess(Ra,this._utils);if(qa!==he$2){if(qa.delete)for(let nd of qa.delete)delete Ra[nd];if(qa.override){let{knownKeys:nd,unknownKeys:od}=this._partitionOptionKeys(qa.override);for(let ld of nd){let ud=qa.override[ld];this._applyValidation(ud,ld,this._utils.schemas[ld]),Ra[ld]=ud}for(let ld of od){let ud=qa.override[ld];this._applyUnknownHandler(ld,ud,Ra,(dd,pd)=>{let fd=this._utils.schemas[dd];this._applyValidation(pd,dd,fd),Ra[dd]=pd})}}}}},Gt$1;function go(Ra,qa,{logger:nd=!1,isCLI:od=!1,passThrough:ld=!1,FlagSchema:ud,descriptor:dd}={}){if(od){if(!ud)throw new Error("'FlagSchema' option is required.");if(!dd)throw new Error("'descriptor' option is required.")}else dd=ie$2;let pd=ld?Array.isArray(ld)?(Nd,Od)=>ld.includes(Nd)?{[Nd]:Od}:void 0:(Nd,Od)=>({[Nd]:Od}):(Nd,Od,kd)=>{let{_:Ld,...Gd}=kd.schemas;return at$4(Nd,Od,{...kd,schemas:Gd})},fd=yo(qa,{isCLI:od,FlagSchema:ud}),md=new Et(fd,{logger:nd,unknown:pd,descriptor:dd}),vd=nd!==!1;vd&&Gt$1&&(md._hasDeprecationWarned=Gt$1);let Ad=md.normalize(Ra);return vd&&(Gt$1=md._hasDeprecationWarned),Ad}function yo(Ra,{isCLI:qa,FlagSchema:nd}){let od=[];qa&&od.push(lt$1.create({name:"_"}));for(let ld of Ra)od.push(Ao(ld,{isCLI:qa,optionInfos:Ra,FlagSchema:nd})),ld.alias&&qa&&od.push(Dt.create({name:ld.alias,sourceName:ld.name}));return od}function Ao(Ra,{isCLI:qa,optionInfos:nd,FlagSchema:od}){let{name:ld}=Ra,ud={name:ld},dd,pd={};switch(Ra.type){case"int":dd=mt$1,qa&&(ud.preprocess=Number);break;case"string":dd=Re$3;break;case"choice":dd=dt$1,ud.choices=Ra.choices.map(fd=>fd!=null&&fd.redirect?{...fd,redirect:{to:{key:Ra.name,value:fd.redirect}}}:fd);break;case"boolean":dd=ft$1;break;case"flag":dd=od,ud.flags=nd.flatMap(fd=>[fd.alias,fd.description&&fd.name,fd.oppositeDescription&&`no-${fd.name}`].filter(Boolean));break;case"path":dd=Re$3;break;default:throw new Error(`Unexpected type ${Ra.type}`)}if(Ra.exception?ud.validate=(fd,md,vd)=>Ra.exception(fd)||md.validate(fd,vd):ud.validate=(fd,md,vd)=>fd===void 0||md.validate(fd,vd),Ra.redirect&&(pd.redirect=fd=>fd?{to:typeof Ra.redirect=="string"?Ra.redirect:{key:Ra.redirect.option,value:Ra.redirect.value}}:void 0),Ra.deprecated&&(pd.deprecated=!0),qa&&!Ra.array){let fd=ud.preprocess||(md=>md);ud.preprocess=(md,vd,Ad)=>vd.preprocess(fd(Array.isArray(md)?y$3(!1,md,-1):md),Ad)}return Ra.array?ct$2.create({...qa?{preprocess:fd=>Array.isArray(fd)?fd:[fd]}:{},...pd,valueSchema:dd.create(ud)}):dd.create({...ud,...pd})}var bn$1=go,Bo=(Ra,qa,nd)=>{if(!(Ra&&qa==null)){if(qa.findLast)return qa.findLast(nd);for(let od=qa.length-1;od>=0;od--){let ld=qa[od];if(nd(ld,od,qa))return ld}}},Kt$1=Bo;function qt$2(Ra,qa){if(!qa)throw new Error("parserName is required.");let nd=Kt$1(!1,Ra,ld=>ld.parsers&&Object.prototype.hasOwnProperty.call(ld.parsers,qa));if(nd)return nd;let od=`Couldn't resolve parser "${qa}".`;throw od+=" Plugins must be explicitly added to the standalone bundle.",new Pe$3(od)}function On(Ra,qa){if(!qa)throw new Error("astFormat is required.");let nd=Kt$1(!1,Ra,ld=>ld.printers&&Object.prototype.hasOwnProperty.call(ld.printers,qa));if(nd)return nd;let od=`Couldn't find plugin for AST format "${qa}".`;throw od+=" Plugins must be explicitly added to the standalone bundle.",new Pe$3(od)}function ht$1({plugins:Ra,parser:qa}){let nd=qt$2(Ra,qa);return Jt$2(nd,qa)}function Jt$2(Ra,qa){let nd=Ra.parsers[qa];return typeof nd=="function"?nd():nd}function Sn(Ra,qa){let nd=Ra.printers[qa];return typeof nd=="function"?nd():nd}var Nn={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};async function wo(Ra,qa={}){var nd;let od={...Ra};if(!od.parser)if(od.filepath){if(od.parser=un$1(od,{physicalFile:od.filepath}),!od.parser)throw new Ie$2(`No parser could be inferred for file "${od.filepath}".`)}else throw new Ie$2("No parser and no file path given, couldn't infer a parser.");let ld=ot$2({plugins:Ra.plugins,showDeprecated:!0}).options,ud={...Nn,...Object.fromEntries(ld.filter(Nd=>Nd.default!==void 0).map(Nd=>[Nd.name,Nd.default]))},dd=qt$2(od.plugins,od.parser),pd=await Jt$2(dd,od.parser);od.astFormat=pd.astFormat,od.locEnd=pd.locEnd,od.locStart=pd.locStart;let fd=(nd=dd.printers)!=null&&nd[pd.astFormat]?dd:On(od.plugins,pd.astFormat),md=await Sn(fd,pd.astFormat);od.printer=md;let vd=fd.defaultOptions?Object.fromEntries(Object.entries(fd.defaultOptions).filter(([,Nd])=>Nd!==void 0)):{},Ad={...ud,...vd};for(let[Nd,Od]of Object.entries(Ad))(od[Nd]===null||od[Nd]===void 0)&&(od[Nd]=Od);return od.parser==="json"&&(od.trailingComma="none"),bn$1(od,ld,{passThrough:Object.keys(Nn),...qa})}var se$3=wo,Vn=Me$2($n());async function ko(Ra,qa){let nd=await ht$1(qa),od=nd.preprocess?nd.preprocess(Ra,qa):Ra;qa.originalText=od;let ld;try{ld=await nd.parse(od,qa,qa)}catch(ud){Lo(ud,Ra)}return{text:od,ast:ld}}function Lo(Ra,qa){let{loc:nd}=Ra;if(nd){let od=(0,Vn.codeFrameColumns)(qa,nd,{highlightCode:!0});throw Ra.message+=`
`+od,Ra.codeFrame=od,Ra}throw Ra}var ce$4=ko;async function Un(Ra,qa,nd,od,ld){let{embeddedLanguageFormatting:ud,printer:{embed:dd,hasPrettierIgnore:pd=()=>!1,getVisitorKeys:fd}}=nd;if(!dd||ud!=="auto")return;if(dd.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed");let md=X$4(dd.getVisitorKeys??fd),vd=[];Od();let Ad=Ra.stack;for(let{print:kd,node:Ld,pathStack:Gd}of vd)try{Ra.stack=Gd;let jd=await kd(Nd,qa,Ra,nd);jd&&ld.set(Ld,jd)}catch(jd){if(globalThis.PRETTIER_DEBUG)throw jd}Ra.stack=Ad;function Nd(kd,Ld){return Po(kd,Ld,nd,od)}function Od(){let{node:kd}=Ra;if(kd===null||typeof kd!="object"||pd(Ra))return;for(let Gd of md(kd))Array.isArray(kd[Gd])?Ra.each(Od,Gd):Ra.call(Od,Gd);let Ld=dd(Ra,nd);if(Ld){if(typeof Ld=="function"){vd.push({print:Ld,node:kd,pathStack:[...Ra.stack]});return}ld.set(kd,Ld)}}}async function Po(Ra,qa,nd,od){let ld=await se$3({...nd,...qa,parentParser:nd.parser,originalText:Ra},{passThrough:!0}),{ast:ud}=await ce$4(Ra,ld),dd=await od(ud,ld);return Ze$1(dd)}function Io(Ra,qa){let{originalText:nd,[Symbol.for("comments")]:od,locStart:ld,locEnd:ud,[Symbol.for("printedComments")]:dd}=qa,{node:pd}=Ra,fd=ld(pd),md=ud(pd);for(let vd of od)ld(vd)>=fd&&ud(vd)<=md&&dd.add(vd);return nd.slice(fd,md)}var zn=Io;async function Ye$2(Ra,qa){({ast:Ra}=await Qt$1(Ra,qa));let nd=new Map,od=new Mr(Ra),ld=new Map;await Un(od,dd,qa,Ye$2,ld);let ud=await Gn(od,qa,dd,void 0,ld);return en$1(qa),ud;function dd(fd,md){return fd===void 0||fd===od?pd(md):Array.isArray(fd)?od.call(()=>pd(md),...fd):od.call(()=>pd(md),fd)}function pd(fd){let md=od.node;if(md==null)return"";let vd=md&&typeof md=="object"&&fd===void 0;if(vd&&nd.has(md))return nd.get(md);let Ad=Gn(od,qa,dd,fd,ld);return vd&&nd.set(md,Ad),Ad}}function Gn(Ra,qa,nd,od,ld){var ud;let{node:dd}=Ra,{printer:pd}=qa,fd;return(ud=pd.hasPrettierIgnore)!=null&&ud.call(pd,Ra)?fd=zn(Ra,qa):ld.has(dd)?fd=ld.get(dd):fd=pd.print(Ra,qa,nd,od),dd===qa.cursorNode&&(fd=Qe$1(fd,md=>[ve$3,md,ve$3])),pd.printComment&&(!pd.willPrintOwnComments||!pd.willPrintOwnComments(Ra,qa))&&(fd=Qr(Ra,fd,qa)),fd}async function Qt$1(Ra,qa){let nd=Ra.comments??[];qa[Symbol.for("comments")]=nd,qa[Symbol.for("tokens")]=Ra.tokens??[],qa[Symbol.for("printedComments")]=new Set,Jr(Ra,qa);let{printer:{preprocess:od}}=qa;return Ra=od?await od(Ra,qa):Ra,{ast:Ra,comments:nd}}function Ro(Ra,qa){let{cursorOffset:nd,locStart:od,locEnd:ld}=qa,ud=X$4(qa.printer.getVisitorKeys),dd=fd=>od(fd)<=nd&&ld(fd)>=nd,pd=Ra;for(let fd of Ur(Ra,{getVisitorKeys:ud,filter:dd}))pd=fd;return pd}var Kn=Ro;function Yo(Ra,qa){let{printer:{massageAstNode:nd,getVisitorKeys:od}}=qa;if(!nd)return Ra;let ld=X$4(od),ud=nd.ignoredProperties??new Set;return dd(Ra);function dd(pd,fd){if(!(pd!==null&&typeof pd=="object"))return pd;if(Array.isArray(pd))return pd.map(Nd=>dd(Nd,fd)).filter(Boolean);let md={},vd=new Set(ld(pd));for(let Nd in pd)!Object.prototype.hasOwnProperty.call(pd,Nd)||ud.has(Nd)||(vd.has(Nd)?md[Nd]=dd(pd[Nd],pd):md[Nd]=pd[Nd]);let Ad=nd(pd,md,fd);if(Ad!==null)return Ad??md}}var qn=Yo,jo=(Ra,qa,nd)=>{if(!(Ra&&qa==null)){if(qa.findLastIndex)return qa.findLastIndex(nd);for(let od=qa.length-1;od>=0;od--){let ld=qa[od];if(nd(ld,od,qa))return od}return-1}},Jn=jo,Ho=({parser:Ra})=>Ra==="json"||Ra==="json5"||Ra==="jsonc"||Ra==="json-stringify";function Wo(Ra,qa){let nd=[Ra.node,...Ra.parentNodes],od=new Set([qa.node,...qa.parentNodes]);return nd.find(ld=>Qn.has(ld.type)&&od.has(ld))}function Xn(Ra){let qa=Jn(!1,Ra,nd=>nd.type!=="Program"&&nd.type!=="File");return qa===-1?Ra:Ra.slice(0,qa+1)}function Mo(Ra,qa,{locStart:nd,locEnd:od}){let ld=Ra.node,ud=qa.node;if(ld===ud)return{startNode:ld,endNode:ud};let dd=nd(Ra.node);for(let fd of Xn(qa.parentNodes))if(nd(fd)>=dd)ud=fd;else break;let pd=od(qa.node);for(let fd of Xn(Ra.parentNodes)){if(od(fd)<=pd)ld=fd;else break;if(ld===ud)break}return{startNode:ld,endNode:ud}}function er(Ra,qa,nd,od,ld=[],ud){let{locStart:dd,locEnd:pd}=nd,fd=dd(Ra),md=pd(Ra);if(!(qa>md||qa<fd||ud==="rangeEnd"&&qa===fd||ud==="rangeStart"&&qa===md)){for(let vd of ut$2(Ra,nd)){let Ad=er(vd,qa,nd,od,[Ra,...ld],ud);if(Ad)return Ad}if(!od||od(Ra,ld[0]))return{node:Ra,parentNodes:ld}}}function $o(Ra,qa){return qa!=="DeclareExportDeclaration"&&Ra!=="TypeParameterDeclaration"&&(Ra==="Directive"||Ra==="TypeAlias"||Ra==="TSExportAssignment"||Ra.startsWith("Declare")||Ra.startsWith("TSDeclare")||Ra.endsWith("Statement")||Ra.endsWith("Declaration"))}var Qn=new Set(["JsonRoot","ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),Vo=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function Zn(Ra,qa,nd){if(!qa)return!1;switch(Ra.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"acorn":case"espree":case"meriyah":case"__babel_estree":return $o(qa.type,nd==null?void 0:nd.type);case"json":case"json5":case"jsonc":case"json-stringify":return Qn.has(qa.type);case"graphql":return Vo.has(qa.kind);case"vue":return qa.tag!=="root"}return!1}function eu(Ra,qa,nd){let{rangeStart:od,rangeEnd:ld,locStart:ud,locEnd:dd}=qa;ke$3.ok(ld>od);let pd=Ra.slice(od,ld).search(/\S/u),fd=pd===-1;if(!fd)for(od+=pd;ld>od&&!/\S/u.test(Ra[ld-1]);--ld);let md=er(nd,od,qa,(Od,kd)=>Zn(qa,Od,kd),[],"rangeStart"),vd=fd?md:er(nd,ld,qa,Od=>Zn(qa,Od),[],"rangeEnd");if(!md||!vd)return{rangeStart:0,rangeEnd:0};let Ad,Nd;if(Ho(qa)){let Od=Wo(md,vd);Ad=Od,Nd=Od}else({startNode:Ad,endNode:Nd}=Mo(md,vd,qa));return{rangeStart:Math.min(ud(Ad),ud(Nd)),rangeEnd:Math.max(dd(Ad),dd(Nd))}}var uu="\uFEFF",tu=Symbol("cursor");async function ou(Ra,qa,nd=0){if(!Ra||Ra.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:od,text:ld}=await ce$4(Ra,qa);qa.cursorOffset>=0&&(qa.cursorNode=Kn(od,qa));let ud=await Ye$2(od,qa);nd>0&&(ud=Je$1([q$4,ud],nd,qa.tabWidth));let dd=Fe$2(ud,qa);if(nd>0){let fd=dd.formatted.trim();dd.cursorNodeStart!==void 0&&(dd.cursorNodeStart-=dd.formatted.indexOf(fd)),dd.formatted=fd+Be$3(qa.endOfLine)}let pd=qa[Symbol.for("comments")];if(qa.cursorOffset>=0){let fd,md,vd,Ad,Nd;if(qa.cursorNode&&dd.cursorNodeText?(fd=qa.locStart(qa.cursorNode),md=ld.slice(fd,qa.locEnd(qa.cursorNode)),vd=qa.cursorOffset-fd,Ad=dd.cursorNodeStart,Nd=dd.cursorNodeText):(fd=0,md=ld,vd=qa.cursorOffset,Ad=0,Nd=dd.formatted),md===Nd)return{formatted:dd.formatted,cursorOffset:Ad+vd,comments:pd};let Od=md.split("");Od.splice(vd,0,tu);let kd=Nd.split(""),Ld=dr(Od,kd),Gd=Ad;for(let jd of Ld)if(jd.removed){if(jd.value.includes(tu))break}else Gd+=jd.count;return{formatted:dd.formatted,cursorOffset:Gd,comments:pd}}return{formatted:dd.formatted,cursorOffset:-1,comments:pd}}async function Uo(Ra,qa){let{ast:nd,text:od}=await ce$4(Ra,qa),{rangeStart:ld,rangeEnd:ud}=eu(od,qa,nd),dd=od.slice(ld,ud),pd=Math.min(ld,od.lastIndexOf(`
`,ld)+1),fd=od.slice(pd,ld).match(/^\s*/u)[0],md=me$3(fd,qa.tabWidth),vd=await ou(dd,{...qa,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:qa.cursorOffset>ld&&qa.cursorOffset<=ud?qa.cursorOffset-ld:-1,endOfLine:"lf"},md),Ad=vd.formatted.trimEnd(),{cursorOffset:Nd}=qa;Nd>ud?Nd+=Ad.length-dd.length:vd.cursorOffset>=0&&(Nd=vd.cursorOffset+ld);let Od=od.slice(0,ld)+Ad+od.slice(ud);if(qa.endOfLine!=="lf"){let kd=Be$3(qa.endOfLine);Nd>=0&&kd===`\r
`&&(Nd+=wt$1(Od.slice(0,Nd),`
`)),Od=ne$3(!1,Od,`
`,kd)}return{formatted:Od,cursorOffset:Nd,comments:vd.comments}}function tr(Ra,qa,nd){return typeof qa!="number"||Number.isNaN(qa)||qa<0||qa>Ra.length?nd:qa}function ru(Ra,qa){let{cursorOffset:nd,rangeStart:od,rangeEnd:ld}=qa;return nd=tr(Ra,nd,-1),od=tr(Ra,od,0),ld=tr(Ra,ld,Ra.length),{...qa,cursorOffset:nd,rangeStart:od,rangeEnd:ld}}function iu(Ra,qa){let{cursorOffset:nd,rangeStart:od,rangeEnd:ld,endOfLine:ud}=ru(Ra,qa),dd=Ra.charAt(0)===uu;if(dd&&(Ra=Ra.slice(1),nd--,od--,ld--),ud==="auto"&&(ud=Fr(Ra)),Ra.includes("\r")){let pd=fd=>wt$1(Ra.slice(0,Math.max(fd,0)),`\r
`);nd-=pd(nd),od-=pd(od),ld-=pd(ld),Ra=mr(Ra)}return{hasBOM:dd,text:Ra,options:ru(Ra,{...qa,cursorOffset:nd,rangeStart:od,rangeEnd:ld,endOfLine:ud})}}async function nu(Ra,qa){let nd=await ht$1(qa);return!nd.hasPragma||nd.hasPragma(Ra)}async function rr(Ra,qa){let{hasBOM:nd,text:od,options:ld}=iu(Ra,await se$3(qa));if(ld.rangeStart>=ld.rangeEnd&&od!==""||ld.requirePragma&&!await nu(od,ld))return{formatted:Ra,cursorOffset:qa.cursorOffset,comments:[]};let ud;return ld.rangeStart>0||ld.rangeEnd<od.length?ud=await Uo(od,ld):(!ld.requirePragma&&ld.insertPragma&&ld.printer.insertPragma&&!await nu(od,ld)&&(od=ld.printer.insertPragma(od)),ud=await ou(od,ld)),nd&&(ud.formatted=uu+ud.formatted,ud.cursorOffset>=0&&ud.cursorOffset++),ud}async function su(Ra,qa,nd){let{text:od,options:ld}=iu(Ra,await se$3(qa)),ud=await ce$4(od,ld);return nd&&(nd.preprocessForPrint&&(ud.ast=await Qt$1(ud.ast,ld)),nd.massage&&(ud.ast=qn(ud.ast,ld))),ud}async function au$1(Ra,qa){qa=await se$3(qa);let nd=await Ye$2(Ra,qa);return Fe$2(nd,qa)}async function Du(Ra,qa){let nd=Or(Ra),{formatted:od}=await rr(nd,{...qa,parser:"__js_expression"});return od}async function lu(Ra,qa){qa=await se$3(qa);let{ast:nd}=await ce$4(Ra,qa);return Ye$2(nd,qa)}async function cu$1(Ra,qa){return Fe$2(Ra,await se$3(qa))}var nr={};We$1(nr,{builders:()=>Go,printer:()=>Ko,utils:()=>qo});var Go={join:be$4,line:Ke$2,softline:vr,hardline:q$4,literalline:qe,group:_t$1,conditionalGroup:Ar,fill:Ge$1,lineSuffix:xe$2,lineSuffixBoundary:xr,cursor:ve$3,breakParent:de$2,ifBreak:Br,trim:_r,indent:De$2,indentIfBreak:wr,align:ae$3,addAlignmentToDoc:Je$1,markAsRoot:gr,dedentToRoot:Cr,dedent:yr,hardlineWithoutBreakParent:_e$2,literallineWithoutBreakParent:vt$2,label:br$3,concat:Ra=>Ra},Ko={printDocToString:Fe$2},qo={willBreak:Ir,traverseDoc:we$3,findInDoc:Xe$1,mapDoc:Ne$2,removeLines:Yr,stripTrailingHardline:Ze$1,replaceEndOfLine:jr,canBreak:Hr},fu="3.3.3",or={};We$1(or,{addDanglingComment:()=>re$2,addLeadingComment:()=>ue$2,addTrailingComment:()=>oe$2,getAlignmentSize:()=>me$3,getIndentSize:()=>pu,getMaxContinuousCount:()=>du,getNextNonSpaceNonCommentCharacter:()=>Fu,getNextNonSpaceNonCommentCharacterIndex:()=>si,getStringWidth:()=>Oe$2,hasNewline:()=>V$3,hasNewlineInRange:()=>mu,hasSpaces:()=>Eu,isNextLineEmpty:()=>ci$1,isNextLineEmptyAfterIndex:()=>gt$1,isPreviousLineEmpty:()=>Di,makeString:()=>hu,skip:()=>Ee$3,skipEverythingButNewLine:()=>nt$2,skipInlineComment:()=>Ce$2,skipNewline:()=>M$3,skipSpaces:()=>T$3,skipToLineEnd:()=>rt$1,skipTrailingComment:()=>ge$3,skipWhitespace:()=>zr});function Jo(Ra,qa){if(qa===!1)return!1;if(Ra.charAt(qa)==="/"&&Ra.charAt(qa+1)==="*"){for(let nd=qa+2;nd<Ra.length;++nd)if(Ra.charAt(nd)==="*"&&Ra.charAt(nd+1)==="/")return nd+2}return qa}var Ce$2=Jo;function Xo(Ra,qa){return qa===!1?!1:Ra.charAt(qa)==="/"&&Ra.charAt(qa+1)==="/"?nt$2(Ra,qa):qa}var ge$3=Xo;function Zo(Ra,qa){let nd=null,od=qa;for(;od!==nd;)nd=od,od=T$3(Ra,od),od=Ce$2(Ra,od),od=ge$3(Ra,od),od=M$3(Ra,od);return od}var je$3=Zo;function Qo(Ra,qa){let nd=null,od=qa;for(;od!==nd;)nd=od,od=rt$1(Ra,od),od=Ce$2(Ra,od),od=T$3(Ra,od);return od=ge$3(Ra,od),od=M$3(Ra,od),od!==!1&&V$3(Ra,od)}var gt$1=Qo;function ei(Ra,qa){let nd=Ra.lastIndexOf(`
`);return nd===-1?0:me$3(Ra.slice(nd+1).match(/^[\t ]*/u)[0],qa)}var pu=ei;function ur(Ra){if(typeof Ra!="string")throw new TypeError("Expected a string");return Ra.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function ti(Ra,qa){let nd=Ra.match(new RegExp(`(${ur(qa)})+`,"gu"));return nd===null?0:nd.reduce((od,ld)=>Math.max(od,ld.length/qa.length),0)}var du=ti;function ri(Ra,qa){let nd=je$3(Ra,qa);return nd===!1?"":Ra.charAt(nd)}var Fu=ri;function ni(Ra,qa,nd){for(let od=qa;od<nd;++od)if(Ra.charAt(od)===`
`)return!0;return!1}var mu=ni;function ui(Ra,qa,nd={}){return T$3(Ra,nd.backwards?qa-1:qa,nd)!==qa}var Eu=ui;function oi(Ra,qa,nd){let od=qa==='"'?"'":'"',ld=ne$3(!1,Ra,/\\(.)|(["'])/gsu,(ud,dd,pd)=>dd===od?dd:pd===qa?"\\"+pd:pd||(nd&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(dd)?dd:"\\"+dd));return qa+ld+qa}var hu=oi;function ii$1(Ra,qa,nd){return je$3(Ra,nd(qa))}function si(Ra,qa){return arguments.length===2||typeof qa=="number"?je$3(Ra,qa):ii$1(...arguments)}function ai$1(Ra,qa,nd){return Le$3(Ra,nd(qa))}function Di(Ra,qa){return arguments.length===2||typeof qa=="number"?Le$3(Ra,qa):ai$1(...arguments)}function li(Ra,qa,nd){return gt$1(Ra,nd(qa))}function ci$1(Ra,qa){return arguments.length===2||typeof qa=="number"?gt$1(Ra,qa):li(...arguments)}function fe$3(Ra,qa=1){return async(...nd)=>{let od=nd[qa]??{},ld=od.plugins??[];return nd[qa]={...od,plugins:Array.isArray(ld)?ld:Object.values(ld)},Ra(...nd)}}var Cu=fe$3(rr);async function gu(Ra,qa){let{formatted:nd}=await Cu(Ra,{...qa,cursorOffset:-1});return nd}async function fi(Ra,qa){return await gu(Ra,qa)===Ra}var pi$2=fe$3(ot$2,0),di={parse:fe$3(su),formatAST:fe$3(au$1),formatDoc:fe$3(Du),printToDoc:fe$3(lu),printDocToString:fe$3(cu$1)};function addPrefix(Ra){return`${prefix}__${Ra}`}function customizeTheme(Ra,qa){const nd=JSON.parse(JSON.stringify(Ra)),{fontSize:od,color:ld}=qa;if(od)for(let ud=1;ud<=6;ud++){const dd=nd.block[`h${ud}`]["font-size"];nd.block[`h${ud}`]["font-size"]=`${od*Number.parseFloat(dd)}px`}return ld&&(nd.base["--md-primary-color"]=ld),nd}function customCssWithTemplate(Ra,qa,nd){const od=customizeTheme(nd,{color:qa}),ld=(pd,fd,md)=>{md.forEach(vd=>{fd[vd]&&(pd[vd]=Object.assign(pd[vd]||{},fd[vd]))})},ud=["container","h1","h2","h3","h4","h5","h6","code","code_pre","p","hr","blockquote","blockquote_note","blockquote_tip","blockquote_important","blockquote_warning","blockquote_caution","blockquote_p","blockquote_p_note","blockquote_p_tip","blockquote_p_important","blockquote_p_warning","blockquote_p_caution","blockquote_title","blockquote_title_note","blockquote_title_tip","blockquote_title_important","blockquote_title_warning","blockquote_title_caution","image","ul","ol"],dd=["strong","codespan","link","wx_link","listitem"];return ld(od.block,Ra,ud),ld(od.inline,Ra,dd),od}function css2json(Ra){Ra=Ra.replace(/\/\*[\s\S]*?\*\//g,"");const qa={},nd=od=>od.reduce((ld,ud)=>{const[dd,pd]=ud.split(":").map(fd=>fd.trim());return dd&&(ld[dd]=pd),ld},{});for(;Ra.includes("{")&&Ra.includes("}");){const od=Ra.indexOf("{"),ld=Ra.indexOf("}"),ud=Ra.substring(od+1,ld).split(";").map(fd=>fd.trim()).filter(Boolean),dd=Ra.substring(0,od).split(",").map(fd=>fd.trim()),pd=nd(ud);dd.forEach(fd=>{qa[fd]={...qa[fd]||{},...pd}}),Ra=Ra.slice(ld+1).trim()}return qa}function getStyleString(Ra){return Object.entries(Ra??{}).map(([qa,nd])=>`${qa}: ${nd}`).join("; ")}async function formatDoc(Ra,qa="markdown"){const nd={markdown:[prettierPluginMarkdown,prettierPluginBabel,prettierPluginEstree],css:[prettierPluginCss]},od=qa in nd?qa:"markdown";return await gu(Ra,{parser:od,plugins:nd[od]})}function downloadMD(Ra){const qa=document.createElement("a");qa.download="content.md",qa.style.display="none";const nd=new Blob([Ra]);qa.href=URL.createObjectURL(nd),document.body.appendChild(qa),qa.click(),document.body.removeChild(qa)}function exportHTML(Ra){const qa=document.querySelector("#output");ud(qa);const nd=qa.innerHTML.replaceAll("var(--md-primary-color)",Ra).replaceAll(/--md-primary-color:.+?;/g,""),od=document.createElement("a");od.download="content.html",od.style.display="none";const ld=new Blob([`<html><head><meta charset="utf-8" /></head><body><div style="width: 750px; margin: auto;">${nd}</div></body></html>`]);od.href=URL.createObjectURL(ld),document.body.appendChild(od),od.click(),document.body.removeChild(od);function ud(dd){function pd(Ad,Nd=["width","height","inlineSize","webkitLogicalWidth","webkitLogicalHeight"]){const Od=getComputedStyle(Ad,null);return Object.entries(Od).filter(([kd])=>{const Ld=kd.replace(/[A-Z]/g,Gd=>`-${Gd.toLowerCase()}`);return Od.getPropertyValue(Ld)&&!Nd.includes(kd)}).map(([kd,Ld])=>`${kd.replace(/[A-Z]/g,jd=>`-${jd.toLowerCase()}`)}:${Ld};`).join("")}switch(!0){case fd(dd):case md(dd):case vd(dd):dd.setAttribute("style",pd(dd))}dd.children.length&&Array.from(dd.children).forEach(Ad=>ud(Ad));function fd(Ad){return Ad.tagName==="PRE"&&Array.from(Ad.classList).includes("code__pre")}function md(Ad){return Ad==null?!1:Ad.tagName==="CODE"}function vd(Ad){return Ad.tagName==="SPAN"&&(md(Ad.parentElement)||md(Ad.parentElement.parentElement))}}}function createTable({data:Ra,rows:qa,cols:nd}){let od="";for(let ld=0;ld<qa+2;++ld){od+="| ";const ud=[];for(let dd=0;dd<nd;++dd){const pd=ld>1?ld-1:ld;ud.push(ld===1?"---":Ra[`k_${pd}_${dd}`]||" ")}od+=ud.join(" | "),od+=` |
`}return od}function toBase64$2(Ra){return new Promise((qa,nd)=>{const od=new FileReader;od.readAsDataURL(Ra),od.onload=()=>qa(od.result.split(",").pop()),od.onerror=ld=>nd(ld)})}function checkImage(Ra){if(!/\.(?:gif|jpe?g|png)$/i.test(Ra.name))return{ok:!1,msg:"请上传 JPG/PNG/GIF 格式的图片"};const nd=10;return Ra.size>nd*1024*1024?{ok:!1,msg:`由于公众号限制,图片大小不能超过 ${nd}M`}:{ok:!0}}function removeLeft(Ra){const qa=Ra.split(`
`),nd=qa.filter(od=>od.trim()).map(od=>od.match(/(^\s+)?/)[0].length).sort((od,ld)=>od-ld)[0];return qa.map(od=>od.slice(nd)).join(`
`)}function solveWeChatImage(){const qa=document.getElementById("output").getElementsByTagName("img");Array.from(qa).forEach(nd=>{const od=nd.getAttribute("width"),ld=nd.getAttribute("height");nd.removeAttribute("width"),nd.removeAttribute("height"),nd.style.width=od,nd.style.height=ld})}function mergeCss(Ra){return juice(Ra,{inlinePseudoElements:!0,preserveImportant:!0})}function createEmptyNode(){const Ra=document.createElement("p");return Ra.style.fontSize="0",Ra.style.lineHeight="0",Ra.style.margin="0",Ra.innerHTML="&nbsp;",Ra}function modifyHtmlStructure(Ra){const qa=document.createElement("div");return qa.innerHTML=Ra,qa.querySelectorAll("li > ul, li > ol").forEach(nd=>{nd.parentElement.insertAdjacentElement("afterend",nd)}),qa.innerHTML}function processClipboardContent(Ra){const qa=document.getElementById("output");qa.innerHTML=modifyHtmlStructure(mergeCss(qa.innerHTML)),qa.innerHTML=qa.innerHTML.replace(/top:(.*?)em/g,"transform: translateY($1em)").replace(/hsl\(var\(--foreground\)\)/g,"#3f3f3f").replace(/var\(--blockquote-background\)/g,"#f7f7f7").replace(/var\(--md-primary-color\)/g,Ra).replace(/--md-primary-color:.+?;/g,"").replace(/<span class="nodeLabel"([^>]*)><p[^>]*>(.*?)<\/p><\/span>/g,'<span class="nodeLabel"$1>$2</span>'),solveWeChatImage();const nd=createEmptyNode(),od=createEmptyNode();qa.insertBefore(nd,qa.firstChild),qa.appendChild(od),qa.querySelectorAll(".nodeLabel").forEach(ud=>{const dd=ud.parentElement,pd=dd.getAttribute("xmlns"),fd=dd.getAttribute("style"),md=document.createElement("section");md.setAttribute("xmlns",pd),md.setAttribute("style",fd),md.innerHTML=dd.innerHTML;const vd=dd.parentElement;vd.innerHTML="",vd.appendChild(md)})}var frontMatter$1={exports:{}},jsYaml$1={},loader$3={},common$7={};function isNothing$1(Ra){return typeof Ra>"u"||Ra===null}function isObject$7(Ra){return typeof Ra=="object"&&Ra!==null}function toArray$4(Ra){return Array.isArray(Ra)?Ra:isNothing$1(Ra)?[]:[Ra]}function extend$3(Ra,qa){var nd,od,ld,ud;if(qa)for(ud=Object.keys(qa),nd=0,od=ud.length;nd<od;nd+=1)ld=ud[nd],Ra[ld]=qa[ld];return Ra}function repeat$1(Ra,qa){var nd="",od;for(od=0;od<qa;od+=1)nd+=Ra;return nd}function isNegativeZero$1(Ra){return Ra===0&&Number.NEGATIVE_INFINITY===1/Ra}common$7.isNothing=isNothing$1;common$7.isObject=isObject$7;common$7.toArray=toArray$4;common$7.repeat=repeat$1;common$7.isNegativeZero=isNegativeZero$1;common$7.extend=extend$3;function YAMLException$5(Ra,qa){Error.call(this),this.name="YAMLException",this.reason=Ra,this.mark=qa,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():""),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}YAMLException$5.prototype=Object.create(Error.prototype);YAMLException$5.prototype.constructor=YAMLException$5;YAMLException$5.prototype.toString=function(qa){var nd=this.name+": ";return nd+=this.reason||"(unknown reason)",!qa&&this.mark&&(nd+=" "+this.mark.toString()),nd};var exception$1=YAMLException$5,common$6=common$7;function Mark$1(Ra,qa,nd,od,ld){this.name=Ra,this.buffer=qa,this.position=nd,this.line=od,this.column=ld}Mark$1.prototype.getSnippet=function(qa,nd){var od,ld,ud,dd,pd;if(!this.buffer)return null;for(qa=qa||4,nd=nd||75,od="",ld=this.position;ld>0&&`\0\r
…\u2028\u2029`.indexOf(this.buffer.charAt(ld-1))===-1;)if(ld-=1,this.position-ld>nd/2-1){od=" ... ",ld+=5;break}for(ud="",dd=this.position;dd<this.buffer.length&&`\0\r
…\u2028\u2029`.indexOf(this.buffer.charAt(dd))===-1;)if(dd+=1,dd-this.position>nd/2-1){ud=" ... ",dd-=5;break}return pd=this.buffer.slice(ld,dd),common$6.repeat(" ",qa)+od+pd+ud+`
`+common$6.repeat(" ",qa+this.position-ld+od.length)+"^"};Mark$1.prototype.toString=function(qa){var nd,od="";return this.name&&(od+='in "'+this.name+'" '),od+="at line "+(this.line+1)+", column "+(this.column+1),qa||(nd=this.getSnippet(),nd&&(od+=`:
`+nd)),od};var mark=Mark$1,YAMLException$4=exception$1,TYPE_CONSTRUCTOR_OPTIONS$1=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],YAML_NODE_KINDS$1=["scalar","sequence","mapping"];function compileStyleAliases$1(Ra){var qa={};return Ra!==null&&Object.keys(Ra).forEach(function(nd){Ra[nd].forEach(function(od){qa[String(od)]=nd})}),qa}function Type$j(Ra,qa){if(qa=qa||{},Object.keys(qa).forEach(function(nd){if(TYPE_CONSTRUCTOR_OPTIONS$1.indexOf(nd)===-1)throw new YAMLException$4('Unknown option "'+nd+'" is met in definition of "'+Ra+'" YAML type.')}),this.tag=Ra,this.kind=qa.kind||null,this.resolve=qa.resolve||function(){return!0},this.construct=qa.construct||function(nd){return nd},this.instanceOf=qa.instanceOf||null,this.predicate=qa.predicate||null,this.represent=qa.represent||null,this.defaultStyle=qa.defaultStyle||null,this.styleAliases=compileStyleAliases$1(qa.styleAliases||null),YAML_NODE_KINDS$1.indexOf(this.kind)===-1)throw new YAMLException$4('Unknown kind "'+this.kind+'" is specified for "'+Ra+'" YAML type.')}var type$2=Type$j,common$5=common$7,YAMLException$3=exception$1,Type$i=type$2;function compileList$1(Ra,qa,nd){var od=[];return Ra.include.forEach(function(ld){nd=compileList$1(ld,qa,nd)}),Ra[qa].forEach(function(ld){nd.forEach(function(ud,dd){ud.tag===ld.tag&&ud.kind===ld.kind&&od.push(dd)}),nd.push(ld)}),nd.filter(function(ld,ud){return od.indexOf(ud)===-1})}function compileMap$1(){var Ra={scalar:{},sequence:{},mapping:{},fallback:{}},qa,nd;function od(ld){Ra[ld.kind][ld.tag]=Ra.fallback[ld.tag]=ld}for(qa=0,nd=arguments.length;qa<nd;qa+=1)arguments[qa].forEach(od);return Ra}function Schema$7(Ra){this.include=Ra.include||[],this.implicit=Ra.implicit||[],this.explicit=Ra.explicit||[],this.implicit.forEach(function(qa){if(qa.loadKind&&qa.loadKind!=="scalar")throw new YAMLException$3("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")}),this.compiledImplicit=compileList$1(this,"implicit",[]),this.compiledExplicit=compileList$1(this,"explicit",[]),this.compiledTypeMap=compileMap$1(this.compiledImplicit,this.compiledExplicit)}Schema$7.DEFAULT=null;Schema$7.create=function(){var qa,nd;switch(arguments.length){case 1:qa=Schema$7.DEFAULT,nd=arguments[0];break;case 2:qa=arguments[0],nd=arguments[1];break;default:throw new YAMLException$3("Wrong number of arguments for Schema.create function")}if(qa=common$5.toArray(qa),nd=common$5.toArray(nd),!qa.every(function(od){return od instanceof Schema$7}))throw new YAMLException$3("Specified list of super schemas (or a single Schema object) contains a non-Schema object.");if(!nd.every(function(od){return od instanceof Type$i}))throw new YAMLException$3("Specified list of YAML types (or a single Type object) contains a non-Type object.");return new Schema$7({include:qa,explicit:nd})};var schema$1=Schema$7,Type$h=type$2,str$1=new Type$h("tag:yaml.org,2002:str",{kind:"scalar",construct:function(Ra){return Ra!==null?Ra:""}}),Type$g=type$2,seq$2=new Type$g("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(Ra){return Ra!==null?Ra:[]}}),Type$f=type$2,map$4=new Type$f("tag:yaml.org,2002:map",{kind:"mapping",construct:function(Ra){return Ra!==null?Ra:{}}}),Schema$6=schema$1,failsafe$1=new Schema$6({explicit:[str$1,seq$2,map$4]}),Type$e=type$2;function resolveYamlNull$1(Ra){if(Ra===null)return!0;var qa=Ra.length;return qa===1&&Ra==="~"||qa===4&&(Ra==="null"||Ra==="Null"||Ra==="NULL")}function constructYamlNull$1(){return null}function isNull$1(Ra){return Ra===null}var _null$1=new Type$e("tag:yaml.org,2002:null",{kind:"scalar",resolve:resolveYamlNull$1,construct:constructYamlNull$1,predicate:isNull$1,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"}),Type$d=type$2;function resolveYamlBoolean$1(Ra){if(Ra===null)return!1;var qa=Ra.length;return qa===4&&(Ra==="true"||Ra==="True"||Ra==="TRUE")||qa===5&&(Ra==="false"||Ra==="False"||Ra==="FALSE")}function constructYamlBoolean$1(Ra){return Ra==="true"||Ra==="True"||Ra==="TRUE"}function isBoolean$3(Ra){return Object.prototype.toString.call(Ra)==="[object Boolean]"}var bool$1=new Type$d("tag:yaml.org,2002:bool",{kind:"scalar",resolve:resolveYamlBoolean$1,construct:constructYamlBoolean$1,predicate:isBoolean$3,represent:{lowercase:function(Ra){return Ra?"true":"false"},uppercase:function(Ra){return Ra?"TRUE":"FALSE"},camelcase:function(Ra){return Ra?"True":"False"}},defaultStyle:"lowercase"}),common$4=common$7,Type$c=type$2;function isHexCode$1(Ra){return 48<=Ra&&Ra<=57||65<=Ra&&Ra<=70||97<=Ra&&Ra<=102}function isOctCode$1(Ra){return 48<=Ra&&Ra<=55}function isDecCode$1(Ra){return 48<=Ra&&Ra<=57}function resolveYamlInteger$1(Ra){if(Ra===null)return!1;var qa=Ra.length,nd=0,od=!1,ld;if(!qa)return!1;if(ld=Ra[nd],(ld==="-"||ld==="+")&&(ld=Ra[++nd]),ld==="0"){if(nd+1===qa)return!0;if(ld=Ra[++nd],ld==="b"){for(nd++;nd<qa;nd++)if(ld=Ra[nd],ld!=="_"){if(ld!=="0"&&ld!=="1")return!1;od=!0}return od&&ld!=="_"}if(ld==="x"){for(nd++;nd<qa;nd++)if(ld=Ra[nd],ld!=="_"){if(!isHexCode$1(Ra.charCodeAt(nd)))return!1;od=!0}return od&&ld!=="_"}for(;nd<qa;nd++)if(ld=Ra[nd],ld!=="_"){if(!isOctCode$1(Ra.charCodeAt(nd)))return!1;od=!0}return od&&ld!=="_"}if(ld==="_")return!1;for(;nd<qa;nd++)if(ld=Ra[nd],ld!=="_"){if(ld===":")break;if(!isDecCode$1(Ra.charCodeAt(nd)))return!1;od=!0}return!od||ld==="_"?!1:ld!==":"?!0:/^(:[0-5]?[0-9])+$/.test(Ra.slice(nd))}function constructYamlInteger$1(Ra){var qa=Ra,nd=1,od,ld,ud=[];return qa.indexOf("_")!==-1&&(qa=qa.replace(/_/g,"")),od=qa[0],(od==="-"||od==="+")&&(od==="-"&&(nd=-1),qa=qa.slice(1),od=qa[0]),qa==="0"?0:od==="0"?qa[1]==="b"?nd*parseInt(qa.slice(2),2):qa[1]==="x"?nd*parseInt(qa,16):nd*parseInt(qa,8):qa.indexOf(":")!==-1?(qa.split(":").forEach(function(dd){ud.unshift(parseInt(dd,10))}),qa=0,ld=1,ud.forEach(function(dd){qa+=dd*ld,ld*=60}),nd*qa):nd*parseInt(qa,10)}function isInteger$1(Ra){return Object.prototype.toString.call(Ra)==="[object Number]"&&Ra%1===0&&!common$4.isNegativeZero(Ra)}var int$1=new Type$c("tag:yaml.org,2002:int",{kind:"scalar",resolve:resolveYamlInteger$1,construct:constructYamlInteger$1,predicate:isInteger$1,represent:{binary:function(Ra){return Ra>=0?"0b"+Ra.toString(2):"-0b"+Ra.toString(2).slice(1)},octal:function(Ra){return Ra>=0?"0"+Ra.toString(8):"-0"+Ra.toString(8).slice(1)},decimal:function(Ra){return Ra.toString(10)},hexadecimal:function(Ra){return Ra>=0?"0x"+Ra.toString(16).toUpperCase():"-0x"+Ra.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),common$3=common$7,Type$b=type$2,YAML_FLOAT_PATTERN$1=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function resolveYamlFloat$1(Ra){return!(Ra===null||!YAML_FLOAT_PATTERN$1.test(Ra)||Ra[Ra.length-1]==="_")}function constructYamlFloat$1(Ra){var qa,nd,od,ld;return qa=Ra.replace(/_/g,"").toLowerCase(),nd=qa[0]==="-"?-1:1,ld=[],"+-".indexOf(qa[0])>=0&&(qa=qa.slice(1)),qa===".inf"?nd===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:qa===".nan"?NaN:qa.indexOf(":")>=0?(qa.split(":").forEach(function(ud){ld.unshift(parseFloat(ud,10))}),qa=0,od=1,ld.forEach(function(ud){qa+=ud*od,od*=60}),nd*qa):nd*parseFloat(qa,10)}var SCIENTIFIC_WITHOUT_DOT$1=/^[-+]?[0-9]+e/;function representYamlFloat$1(Ra,qa){var nd;if(isNaN(Ra))switch(qa){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===Ra)switch(qa){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===Ra)switch(qa){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(common$3.isNegativeZero(Ra))return"-0.0";return nd=Ra.toString(10),SCIENTIFIC_WITHOUT_DOT$1.test(nd)?nd.replace("e",".e"):nd}function isFloat$1(Ra){return Object.prototype.toString.call(Ra)==="[object Number]"&&(Ra%1!==0||common$3.isNegativeZero(Ra))}var float$1=new Type$b("tag:yaml.org,2002:float",{kind:"scalar",resolve:resolveYamlFloat$1,construct:constructYamlFloat$1,predicate:isFloat$1,represent:representYamlFloat$1,defaultStyle:"lowercase"}),Schema$5=schema$1,json$1=new Schema$5({include:[failsafe$1],implicit:[_null$1,bool$1,int$1,float$1]}),Schema$4=schema$1,core$3=new Schema$4({include:[json$1]}),Type$a=type$2,YAML_DATE_REGEXP$1=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),YAML_TIMESTAMP_REGEXP$1=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function resolveYamlTimestamp$1(Ra){return Ra===null?!1:YAML_DATE_REGEXP$1.exec(Ra)!==null||YAML_TIMESTAMP_REGEXP$1.exec(Ra)!==null}function constructYamlTimestamp$1(Ra){var qa,nd,od,ld,ud,dd,pd,fd=0,md=null,vd,Ad,Nd;if(qa=YAML_DATE_REGEXP$1.exec(Ra),qa===null&&(qa=YAML_TIMESTAMP_REGEXP$1.exec(Ra)),qa===null)throw new Error("Date resolve error");if(nd=+qa[1],od=+qa[2]-1,ld=+qa[3],!qa[4])return new Date(Date.UTC(nd,od,ld));if(ud=+qa[4],dd=+qa[5],pd=+qa[6],qa[7]){for(fd=qa[7].slice(0,3);fd.length<3;)fd+="0";fd=+fd}return qa[9]&&(vd=+qa[10],Ad=+(qa[11]||0),md=(vd*60+Ad)*6e4,qa[9]==="-"&&(md=-md)),Nd=new Date(Date.UTC(nd,od,ld,ud,dd,pd,fd)),md&&Nd.setTime(Nd.getTime()-md),Nd}function representYamlTimestamp$1(Ra){return Ra.toISOString()}var timestamp$1=new Type$a("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:resolveYamlTimestamp$1,construct:constructYamlTimestamp$1,instanceOf:Date,represent:representYamlTimestamp$1}),Type$9=type$2;function resolveYamlMerge$1(Ra){return Ra==="<<"||Ra===null}var merge$5=new Type$9("tag:yaml.org,2002:merge",{kind:"scalar",resolve:resolveYamlMerge$1});function commonjsRequire(Ra){throw new Error('Could not dynamically require "'+Ra+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var NodeBuffer;try{var _require$1=commonjsRequire;NodeBuffer=_require$1("buffer").Buffer}catch{}var Type$8=type$2,BASE64_MAP$1=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
\r`;function resolveYamlBinary$1(Ra){if(Ra===null)return!1;var qa,nd,od=0,ld=Ra.length,ud=BASE64_MAP$1;for(nd=0;nd<ld;nd++)if(qa=ud.indexOf(Ra.charAt(nd)),!(qa>64)){if(qa<0)return!1;od+=6}return od%8===0}function constructYamlBinary$1(Ra){var qa,nd,od=Ra.replace(/[\r\n=]/g,""),ld=od.length,ud=BASE64_MAP$1,dd=0,pd=[];for(qa=0;qa<ld;qa++)qa%4===0&&qa&&(pd.push(dd>>16&255),pd.push(dd>>8&255),pd.push(dd&255)),dd=dd<<6|ud.indexOf(od.charAt(qa));return nd=ld%4*6,nd===0?(pd.push(dd>>16&255),pd.push(dd>>8&255),pd.push(dd&255)):nd===18?(pd.push(dd>>10&255),pd.push(dd>>2&255)):nd===12&&pd.push(dd>>4&255),NodeBuffer?NodeBuffer.from?NodeBuffer.from(pd):new NodeBuffer(pd):pd}function representYamlBinary$1(Ra){var qa="",nd=0,od,ld,ud=Ra.length,dd=BASE64_MAP$1;for(od=0;od<ud;od++)od%3===0&&od&&(qa+=dd[nd>>18&63],qa+=dd[nd>>12&63],qa+=dd[nd>>6&63],qa+=dd[nd&63]),nd=(nd<<8)+Ra[od];return ld=ud%3,ld===0?(qa+=dd[nd>>18&63],qa+=dd[nd>>12&63],qa+=dd[nd>>6&63],qa+=dd[nd&63]):ld===2?(qa+=dd[nd>>10&63],qa+=dd[nd>>4&63],qa+=dd[nd<<2&63],qa+=dd[64]):ld===1&&(qa+=dd[nd>>2&63],qa+=dd[nd<<4&63],qa+=dd[64],qa+=dd[64]),qa}function isBinary$1(Ra){return NodeBuffer&&NodeBuffer.isBuffer(Ra)}var binary$1=new Type$8("tag:yaml.org,2002:binary",{kind:"scalar",resolve:resolveYamlBinary$1,construct:constructYamlBinary$1,predicate:isBinary$1,represent:representYamlBinary$1}),Type$7=type$2,_hasOwnProperty$7=Object.prototype.hasOwnProperty,_toString$5=Object.prototype.toString;function resolveYamlOmap$1(Ra){if(Ra===null)return!0;var qa=[],nd,od,ld,ud,dd,pd=Ra;for(nd=0,od=pd.length;nd<od;nd+=1){if(ld=pd[nd],dd=!1,_toString$5.call(ld)!=="[object Object]")return!1;for(ud in ld)if(_hasOwnProperty$7.call(ld,ud))if(!dd)dd=!0;else return!1;if(!dd)return!1;if(qa.indexOf(ud)===-1)qa.push(ud);else return!1}return!0}function constructYamlOmap$1(Ra){return Ra!==null?Ra:[]}var omap$1=new Type$7("tag:yaml.org,2002:omap",{kind:"sequence",resolve:resolveYamlOmap$1,construct:constructYamlOmap$1}),Type$6=type$2,_toString$4=Object.prototype.toString;function resolveYamlPairs$1(Ra){if(Ra===null)return!0;var qa,nd,od,ld,ud,dd=Ra;for(ud=new Array(dd.length),qa=0,nd=dd.length;qa<nd;qa+=1){if(od=dd[qa],_toString$4.call(od)!=="[object Object]"||(ld=Object.keys(od),ld.length!==1))return!1;ud[qa]=[ld[0],od[ld[0]]]}return!0}function constructYamlPairs$1(Ra){if(Ra===null)return[];var qa,nd,od,ld,ud,dd=Ra;for(ud=new Array(dd.length),qa=0,nd=dd.length;qa<nd;qa+=1)od=dd[qa],ld=Object.keys(od),ud[qa]=[ld[0],od[ld[0]]];return ud}var pairs$1=new Type$6("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:resolveYamlPairs$1,construct:constructYamlPairs$1}),Type$5=type$2,_hasOwnProperty$6=Object.prototype.hasOwnProperty;function resolveYamlSet$1(Ra){if(Ra===null)return!0;var qa,nd=Ra;for(qa in nd)if(_hasOwnProperty$6.call(nd,qa)&&nd[qa]!==null)return!1;return!0}function constructYamlSet$1(Ra){return Ra!==null?Ra:{}}var set$4=new Type$5("tag:yaml.org,2002:set",{kind:"mapping",resolve:resolveYamlSet$1,construct:constructYamlSet$1}),Schema$3=schema$1,default_safe=new Schema$3({include:[core$3],implicit:[timestamp$1,merge$5],explicit:[binary$1,omap$1,pairs$1,set$4]}),Type$4=type$2;function resolveJavascriptUndefined(){return!0}function constructJavascriptUndefined(){}function representJavascriptUndefined(){return""}function isUndefined$1(Ra){return typeof Ra>"u"}var _undefined=new Type$4("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:resolveJavascriptUndefined,construct:constructJavascriptUndefined,predicate:isUndefined$1,represent:representJavascriptUndefined}),Type$3=type$2;function resolveJavascriptRegExp(Ra){if(Ra===null||Ra.length===0)return!1;var qa=Ra,nd=/\/([gim]*)$/.exec(Ra),od="";return!(qa[0]==="/"&&(nd&&(od=nd[1]),od.length>3||qa[qa.length-od.length-1]!=="/"))}function constructJavascriptRegExp(Ra){var qa=Ra,nd=/\/([gim]*)$/.exec(Ra),od="";return qa[0]==="/"&&(nd&&(od=nd[1]),qa=qa.slice(1,qa.length-od.length-1)),new RegExp(qa,od)}function representJavascriptRegExp(Ra){var qa="/"+Ra.source+"/";return Ra.global&&(qa+="g"),Ra.multiline&&(qa+="m"),Ra.ignoreCase&&(qa+="i"),qa}function isRegExp$1(Ra){return Object.prototype.toString.call(Ra)==="[object RegExp]"}var regexp=new Type$3("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:resolveJavascriptRegExp,construct:constructJavascriptRegExp,predicate:isRegExp$1,represent:representJavascriptRegExp}),esprima;try{var _require=commonjsRequire;esprima=_require("esprima")}catch{typeof window<"u"&&(esprima=window.esprima)}var Type$2=type$2;function resolveJavascriptFunction(Ra){if(Ra===null)return!1;try{var qa="("+Ra+")",nd=esprima.parse(qa,{range:!0});return!(nd.type!=="Program"||nd.body.length!==1||nd.body[0].type!=="ExpressionStatement"||nd.body[0].expression.type!=="ArrowFunctionExpression"&&nd.body[0].expression.type!=="FunctionExpression")}catch{return!1}}function constructJavascriptFunction(Ra){var qa="("+Ra+")",nd=esprima.parse(qa,{range:!0}),od=[],ld;if(nd.type!=="Program"||nd.body.length!==1||nd.body[0].type!=="ExpressionStatement"||nd.body[0].expression.type!=="ArrowFunctionExpression"&&nd.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return nd.body[0].expression.params.forEach(function(ud){od.push(ud.name)}),ld=nd.body[0].expression.body.range,nd.body[0].expression.body.type==="BlockStatement"?new Function(od,qa.slice(ld[0]+1,ld[1]-1)):new Function(od,"return "+qa.slice(ld[0],ld[1]))}function representJavascriptFunction(Ra){return Ra.toString()}function isFunction$3(Ra){return Object.prototype.toString.call(Ra)==="[object Function]"}var _function=new Type$2("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:resolveJavascriptFunction,construct:constructJavascriptFunction,predicate:isFunction$3,represent:representJavascriptFunction}),Schema$2=schema$1,default_full=Schema$2.DEFAULT=new Schema$2({include:[default_safe],explicit:[_undefined,regexp,_function]}),common$2=common$7,YAMLException$2=exception$1,Mark=mark,DEFAULT_SAFE_SCHEMA$1=default_safe,DEFAULT_FULL_SCHEMA$1=default_full,_hasOwnProperty$5=Object.prototype.hasOwnProperty,CONTEXT_FLOW_IN$1=1,CONTEXT_FLOW_OUT$1=2,CONTEXT_BLOCK_IN$1=3,CONTEXT_BLOCK_OUT$1=4,CHOMPING_CLIP$1=1,CHOMPING_STRIP$1=2,CHOMPING_KEEP$1=3,PATTERN_NON_PRINTABLE$1=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,PATTERN_NON_ASCII_LINE_BREAKS$1=/[\x85\u2028\u2029]/,PATTERN_FLOW_INDICATORS$1=/[,\[\]\{\}]/,PATTERN_TAG_HANDLE$1=/^(?:!|!!|![a-z\-]+!)$/i,PATTERN_TAG_URI$1=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function _class$1(Ra){return Object.prototype.toString.call(Ra)}function is_EOL$1(Ra){return Ra===10||Ra===13}function is_WHITE_SPACE$1(Ra){return Ra===9||Ra===32}function is_WS_OR_EOL$1(Ra){return Ra===9||Ra===32||Ra===10||Ra===13}function is_FLOW_INDICATOR$1(Ra){return Ra===44||Ra===91||Ra===93||Ra===123||Ra===125}function fromHexCode$1(Ra){var qa;return 48<=Ra&&Ra<=57?Ra-48:(qa=Ra|32,97<=qa&&qa<=102?qa-97+10:-1)}function escapedHexLen$1(Ra){return Ra===120?2:Ra===117?4:Ra===85?8:0}function fromDecimalCode$1(Ra){return 48<=Ra&&Ra<=57?Ra-48:-1}function simpleEscapeSequence$1(Ra){return Ra===48?"\0":Ra===97?"\x07":Ra===98?"\b":Ra===116||Ra===9?" ":Ra===110?`
`:Ra===118?"\v":Ra===102?"\f":Ra===114?"\r":Ra===101?"\x1B":Ra===32?" ":Ra===34?'"':Ra===47?"/":Ra===92?"\\":Ra===78?"…":Ra===95?" ":Ra===76?"\u2028":Ra===80?"\u2029":""}function charFromCodepoint$1(Ra){return Ra<=65535?String.fromCharCode(Ra):String.fromCharCode((Ra-65536>>10)+55296,(Ra-65536&1023)+56320)}var simpleEscapeCheck$1=new Array(256),simpleEscapeMap$1=new Array(256);for(var i$3=0;i$3<256;i$3++)simpleEscapeCheck$1[i$3]=simpleEscapeSequence$1(i$3)?1:0,simpleEscapeMap$1[i$3]=simpleEscapeSequence$1(i$3);function State$3(Ra,qa){this.input=Ra,this.filename=qa.filename||null,this.schema=qa.schema||DEFAULT_FULL_SCHEMA$1,this.onWarning=qa.onWarning||null,this.legacy=qa.legacy||!1,this.json=qa.json||!1,this.listener=qa.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=Ra.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function generateError$1(Ra,qa){return new YAMLException$2(qa,new Mark(Ra.filename,Ra.input,Ra.position,Ra.line,Ra.position-Ra.lineStart))}function throwError$1(Ra,qa){throw generateError$1(Ra,qa)}function throwWarning$1(Ra,qa){Ra.onWarning&&Ra.onWarning.call(null,generateError$1(Ra,qa))}var directiveHandlers$1={YAML:function(qa,nd,od){var ld,ud,dd;qa.version!==null&&throwError$1(qa,"duplication of %YAML directive"),od.length!==1&&throwError$1(qa,"YAML directive accepts exactly one argument"),ld=/^([0-9]+)\.([0-9]+)$/.exec(od[0]),ld===null&&throwError$1(qa,"ill-formed argument of the YAML directive"),ud=parseInt(ld[1],10),dd=parseInt(ld[2],10),ud!==1&&throwError$1(qa,"unacceptable YAML version of the document"),qa.version=od[0],qa.checkLineBreaks=dd<2,dd!==1&&dd!==2&&throwWarning$1(qa,"unsupported YAML version of the document")},TAG:function(qa,nd,od){var ld,ud;od.length!==2&&throwError$1(qa,"TAG directive accepts exactly two arguments"),ld=od[0],ud=od[1],PATTERN_TAG_HANDLE$1.test(ld)||throwError$1(qa,"ill-formed tag handle (first argument) of the TAG directive"),_hasOwnProperty$5.call(qa.tagMap,ld)&&throwError$1(qa,'there is a previously declared suffix for "'+ld+'" tag handle'),PATTERN_TAG_URI$1.test(ud)||throwError$1(qa,"ill-formed tag prefix (second argument) of the TAG directive"),qa.tagMap[ld]=ud}};function captureSegment$1(Ra,qa,nd,od){var ld,ud,dd,pd;if(qa<nd){if(pd=Ra.input.slice(qa,nd),od)for(ld=0,ud=pd.length;ld<ud;ld+=1)dd=pd.charCodeAt(ld),dd===9||32<=dd&&dd<=1114111||throwError$1(Ra,"expected valid JSON character");else PATTERN_NON_PRINTABLE$1.test(pd)&&throwError$1(Ra,"the stream contains non-printable characters");Ra.result+=pd}}function mergeMappings$1(Ra,qa,nd,od){var ld,ud,dd,pd;for(common$2.isObject(nd)||throwError$1(Ra,"cannot merge mappings; the provided source object is unacceptable"),ld=Object.keys(nd),dd=0,pd=ld.length;dd<pd;dd+=1)ud=ld[dd],_hasOwnProperty$5.call(qa,ud)||(qa[ud]=nd[ud],od[ud]=!0)}function storeMappingPair$1(Ra,qa,nd,od,ld,ud,dd,pd){var fd,md;if(Array.isArray(ld))for(ld=Array.prototype.slice.call(ld),fd=0,md=ld.length;fd<md;fd+=1)Array.isArray(ld[fd])&&throwError$1(Ra,"nested arrays are not supported inside keys"),typeof ld=="object"&&_class$1(ld[fd])==="[object Object]"&&(ld[fd]="[object Object]");if(typeof ld=="object"&&_class$1(ld)==="[object Object]"&&(ld="[object Object]"),ld=String(ld),qa===null&&(qa={}),od==="tag:yaml.org,2002:merge")if(Array.isArray(ud))for(fd=0,md=ud.length;fd<md;fd+=1)mergeMappings$1(Ra,qa,ud[fd],nd);else mergeMappings$1(Ra,qa,ud,nd);else!Ra.json&&!_hasOwnProperty$5.call(nd,ld)&&_hasOwnProperty$5.call(qa,ld)&&(Ra.line=dd||Ra.line,Ra.position=pd||Ra.position,throwError$1(Ra,"duplicated mapping key")),qa[ld]=ud,delete nd[ld];return qa}function readLineBreak$1(Ra){var qa;qa=Ra.input.charCodeAt(Ra.position),qa===10?Ra.position++:qa===13?(Ra.position++,Ra.input.charCodeAt(Ra.position)===10&&Ra.position++):throwError$1(Ra,"a line break is expected"),Ra.line+=1,Ra.lineStart=Ra.position}function skipSeparationSpace$1(Ra,qa,nd){for(var od=0,ld=Ra.input.charCodeAt(Ra.position);ld!==0;){for(;is_WHITE_SPACE$1(ld);)ld=Ra.input.charCodeAt(++Ra.position);if(qa&&ld===35)do ld=Ra.input.charCodeAt(++Ra.position);while(ld!==10&&ld!==13&&ld!==0);if(is_EOL$1(ld))for(readLineBreak$1(Ra),ld=Ra.input.charCodeAt(Ra.position),od++,Ra.lineIndent=0;ld===32;)Ra.lineIndent++,ld=Ra.input.charCodeAt(++Ra.position);else break}return nd!==-1&&od!==0&&Ra.lineIndent<nd&&throwWarning$1(Ra,"deficient indentation"),od}function testDocumentSeparator$1(Ra){var qa=Ra.position,nd;return nd=Ra.input.charCodeAt(qa),!!((nd===45||nd===46)&&nd===Ra.input.charCodeAt(qa+1)&&nd===Ra.input.charCodeAt(qa+2)&&(qa+=3,nd=Ra.input.charCodeAt(qa),nd===0||is_WS_OR_EOL$1(nd)))}function writeFoldedLines$1(Ra,qa){qa===1?Ra.result+=" ":qa>1&&(Ra.result+=common$2.repeat(`
`,qa-1))}function readPlainScalar$1(Ra,qa,nd){var od,ld,ud,dd,pd,fd,md,vd,Ad=Ra.kind,Nd=Ra.result,Od;if(Od=Ra.input.charCodeAt(Ra.position),is_WS_OR_EOL$1(Od)||is_FLOW_INDICATOR$1(Od)||Od===35||Od===38||Od===42||Od===33||Od===124||Od===62||Od===39||Od===34||Od===37||Od===64||Od===96||(Od===63||Od===45)&&(ld=Ra.input.charCodeAt(Ra.position+1),is_WS_OR_EOL$1(ld)||nd&&is_FLOW_INDICATOR$1(ld)))return!1;for(Ra.kind="scalar",Ra.result="",ud=dd=Ra.position,pd=!1;Od!==0;){if(Od===58){if(ld=Ra.input.charCodeAt(Ra.position+1),is_WS_OR_EOL$1(ld)||nd&&is_FLOW_INDICATOR$1(ld))break}else if(Od===35){if(od=Ra.input.charCodeAt(Ra.position-1),is_WS_OR_EOL$1(od))break}else{if(Ra.position===Ra.lineStart&&testDocumentSeparator$1(Ra)||nd&&is_FLOW_INDICATOR$1(Od))break;if(is_EOL$1(Od))if(fd=Ra.line,md=Ra.lineStart,vd=Ra.lineIndent,skipSeparationSpace$1(Ra,!1,-1),Ra.lineIndent>=qa){pd=!0,Od=Ra.input.charCodeAt(Ra.position);continue}else{Ra.position=dd,Ra.line=fd,Ra.lineStart=md,Ra.lineIndent=vd;break}}pd&&(captureSegment$1(Ra,ud,dd,!1),writeFoldedLines$1(Ra,Ra.line-fd),ud=dd=Ra.position,pd=!1),is_WHITE_SPACE$1(Od)||(dd=Ra.position+1),Od=Ra.input.charCodeAt(++Ra.position)}return captureSegment$1(Ra,ud,dd,!1),Ra.result?!0:(Ra.kind=Ad,Ra.result=Nd,!1)}function readSingleQuotedScalar$1(Ra,qa){var nd,od,ld;if(nd=Ra.input.charCodeAt(Ra.position),nd!==39)return!1;for(Ra.kind="scalar",Ra.result="",Ra.position++,od=ld=Ra.position;(nd=Ra.input.charCodeAt(Ra.position))!==0;)if(nd===39)if(captureSegment$1(Ra,od,Ra.position,!0),nd=Ra.input.charCodeAt(++Ra.position),nd===39)od=Ra.position,Ra.position++,ld=Ra.position;else return!0;else is_EOL$1(nd)?(captureSegment$1(Ra,od,ld,!0),writeFoldedLines$1(Ra,skipSeparationSpace$1(Ra,!1,qa)),od=ld=Ra.position):Ra.position===Ra.lineStart&&testDocumentSeparator$1(Ra)?throwError$1(Ra,"unexpected end of the document within a single quoted scalar"):(Ra.position++,ld=Ra.position);throwError$1(Ra,"unexpected end of the stream within a single quoted scalar")}function readDoubleQuotedScalar$1(Ra,qa){var nd,od,ld,ud,dd,pd;if(pd=Ra.input.charCodeAt(Ra.position),pd!==34)return!1;for(Ra.kind="scalar",Ra.result="",Ra.position++,nd=od=Ra.position;(pd=Ra.input.charCodeAt(Ra.position))!==0;){if(pd===34)return captureSegment$1(Ra,nd,Ra.position,!0),Ra.position++,!0;if(pd===92){if(captureSegment$1(Ra,nd,Ra.position,!0),pd=Ra.input.charCodeAt(++Ra.position),is_EOL$1(pd))skipSeparationSpace$1(Ra,!1,qa);else if(pd<256&&simpleEscapeCheck$1[pd])Ra.result+=simpleEscapeMap$1[pd],Ra.position++;else if((dd=escapedHexLen$1(pd))>0){for(ld=dd,ud=0;ld>0;ld--)pd=Ra.input.charCodeAt(++Ra.position),(dd=fromHexCode$1(pd))>=0?ud=(ud<<4)+dd:throwError$1(Ra,"expected hexadecimal character");Ra.result+=charFromCodepoint$1(ud),Ra.position++}else throwError$1(Ra,"unknown escape sequence");nd=od=Ra.position}else is_EOL$1(pd)?(captureSegment$1(Ra,nd,od,!0),writeFoldedLines$1(Ra,skipSeparationSpace$1(Ra,!1,qa)),nd=od=Ra.position):Ra.position===Ra.lineStart&&testDocumentSeparator$1(Ra)?throwError$1(Ra,"unexpected end of the document within a double quoted scalar"):(Ra.position++,od=Ra.position)}throwError$1(Ra,"unexpected end of the stream within a double quoted scalar")}function readFlowCollection$1(Ra,qa){var nd=!0,od,ld=Ra.tag,ud,dd=Ra.anchor,pd,fd,md,vd,Ad,Nd={},Od,kd,Ld,Gd;if(Gd=Ra.input.charCodeAt(Ra.position),Gd===91)fd=93,Ad=!1,ud=[];else if(Gd===123)fd=125,Ad=!0,ud={};else return!1;for(Ra.anchor!==null&&(Ra.anchorMap[Ra.anchor]=ud),Gd=Ra.input.charCodeAt(++Ra.position);Gd!==0;){if(skipSeparationSpace$1(Ra,!0,qa),Gd=Ra.input.charCodeAt(Ra.position),Gd===fd)return Ra.position++,Ra.tag=ld,Ra.anchor=dd,Ra.kind=Ad?"mapping":"sequence",Ra.result=ud,!0;nd||throwError$1(Ra,"missed comma between flow collection entries"),kd=Od=Ld=null,md=vd=!1,Gd===63&&(pd=Ra.input.charCodeAt(Ra.position+1),is_WS_OR_EOL$1(pd)&&(md=vd=!0,Ra.position++,skipSeparationSpace$1(Ra,!0,qa))),od=Ra.line,composeNode$1(Ra,qa,CONTEXT_FLOW_IN$1,!1,!0),kd=Ra.tag,Od=Ra.result,skipSeparationSpace$1(Ra,!0,qa),Gd=Ra.input.charCodeAt(Ra.position),(vd||Ra.line===od)&&Gd===58&&(md=!0,Gd=Ra.input.charCodeAt(++Ra.position),skipSeparationSpace$1(Ra,!0,qa),composeNode$1(Ra,qa,CONTEXT_FLOW_IN$1,!1,!0),Ld=Ra.result),Ad?storeMappingPair$1(Ra,ud,Nd,kd,Od,Ld):md?ud.push(storeMappingPair$1(Ra,null,Nd,kd,Od,Ld)):ud.push(Od),skipSeparationSpace$1(Ra,!0,qa),Gd=Ra.input.charCodeAt(Ra.position),Gd===44?(nd=!0,Gd=Ra.input.charCodeAt(++Ra.position)):nd=!1}throwError$1(Ra,"unexpected end of the stream within a flow collection")}function readBlockScalar$1(Ra,qa){var nd,od,ld=CHOMPING_CLIP$1,ud=!1,dd=!1,pd=qa,fd=0,md=!1,vd,Ad;if(Ad=Ra.input.charCodeAt(Ra.position),Ad===124)od=!1;else if(Ad===62)od=!0;else return!1;for(Ra.kind="scalar",Ra.result="";Ad!==0;)if(Ad=Ra.input.charCodeAt(++Ra.position),Ad===43||Ad===45)CHOMPING_CLIP$1===ld?ld=Ad===43?CHOMPING_KEEP$1:CHOMPING_STRIP$1:throwError$1(Ra,"repeat of a chomping mode identifier");else if((vd=fromDecimalCode$1(Ad))>=0)vd===0?throwError$1(Ra,"bad explicit indentation width of a block scalar; it cannot be less than one"):dd?throwError$1(Ra,"repeat of an indentation width identifier"):(pd=qa+vd-1,dd=!0);else break;if(is_WHITE_SPACE$1(Ad)){do Ad=Ra.input.charCodeAt(++Ra.position);while(is_WHITE_SPACE$1(Ad));if(Ad===35)do Ad=Ra.input.charCodeAt(++Ra.position);while(!is_EOL$1(Ad)&&Ad!==0)}for(;Ad!==0;){for(readLineBreak$1(Ra),Ra.lineIndent=0,Ad=Ra.input.charCodeAt(Ra.position);(!dd||Ra.lineIndent<pd)&&Ad===32;)Ra.lineIndent++,Ad=Ra.input.charCodeAt(++Ra.position);if(!dd&&Ra.lineIndent>pd&&(pd=Ra.lineIndent),is_EOL$1(Ad)){fd++;continue}if(Ra.lineIndent<pd){ld===CHOMPING_KEEP$1?Ra.result+=common$2.repeat(`
`,ud?1+fd:fd):ld===CHOMPING_CLIP$1&&ud&&(Ra.result+=`
`);break}for(od?is_WHITE_SPACE$1(Ad)?(md=!0,Ra.result+=common$2.repeat(`
`,ud?1+fd:fd)):md?(md=!1,Ra.result+=common$2.repeat(`
`,fd+1)):fd===0?ud&&(Ra.result+=" "):Ra.result+=common$2.repeat(`
`,fd):Ra.result+=common$2.repeat(`
`,ud?1+fd:fd),ud=!0,dd=!0,fd=0,nd=Ra.position;!is_EOL$1(Ad)&&Ad!==0;)Ad=Ra.input.charCodeAt(++Ra.position);captureSegment$1(Ra,nd,Ra.position,!1)}return!0}function readBlockSequence$1(Ra,qa){var nd,od=Ra.tag,ld=Ra.anchor,ud=[],dd,pd=!1,fd;for(Ra.anchor!==null&&(Ra.anchorMap[Ra.anchor]=ud),fd=Ra.input.charCodeAt(Ra.position);fd!==0&&!(fd!==45||(dd=Ra.input.charCodeAt(Ra.position+1),!is_WS_OR_EOL$1(dd)));){if(pd=!0,Ra.position++,skipSeparationSpace$1(Ra,!0,-1)&&Ra.lineIndent<=qa){ud.push(null),fd=Ra.input.charCodeAt(Ra.position);continue}if(nd=Ra.line,composeNode$1(Ra,qa,CONTEXT_BLOCK_IN$1,!1,!0),ud.push(Ra.result),skipSeparationSpace$1(Ra,!0,-1),fd=Ra.input.charCodeAt(Ra.position),(Ra.line===nd||Ra.lineIndent>qa)&&fd!==0)throwError$1(Ra,"bad indentation of a sequence entry");else if(Ra.lineIndent<qa)break}return pd?(Ra.tag=od,Ra.anchor=ld,Ra.kind="sequence",Ra.result=ud,!0):!1}function readBlockMapping$1(Ra,qa,nd){var od,ld,ud,dd,pd=Ra.tag,fd=Ra.anchor,md={},vd={},Ad=null,Nd=null,Od=null,kd=!1,Ld=!1,Gd;for(Ra.anchor!==null&&(Ra.anchorMap[Ra.anchor]=md),Gd=Ra.input.charCodeAt(Ra.position);Gd!==0;){if(od=Ra.input.charCodeAt(Ra.position+1),ud=Ra.line,dd=Ra.position,(Gd===63||Gd===58)&&is_WS_OR_EOL$1(od))Gd===63?(kd&&(storeMappingPair$1(Ra,md,vd,Ad,Nd,null),Ad=Nd=Od=null),Ld=!0,kd=!0,ld=!0):kd?(kd=!1,ld=!0):throwError$1(Ra,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),Ra.position+=1,Gd=od;else if(composeNode$1(Ra,nd,CONTEXT_FLOW_OUT$1,!1,!0))if(Ra.line===ud){for(Gd=Ra.input.charCodeAt(Ra.position);is_WHITE_SPACE$1(Gd);)Gd=Ra.input.charCodeAt(++Ra.position);if(Gd===58)Gd=Ra.input.charCodeAt(++Ra.position),is_WS_OR_EOL$1(Gd)||throwError$1(Ra,"a whitespace character is expected after the key-value separator within a block mapping"),kd&&(storeMappingPair$1(Ra,md,vd,Ad,Nd,null),Ad=Nd=Od=null),Ld=!0,kd=!1,ld=!1,Ad=Ra.tag,Nd=Ra.result;else if(Ld)throwError$1(Ra,"can not read an implicit mapping pair; a colon is missed");else return Ra.tag=pd,Ra.anchor=fd,!0}else if(Ld)throwError$1(Ra,"can not read a block mapping entry; a multiline key may not be an implicit key");else return Ra.tag=pd,Ra.anchor=fd,!0;else break;if((Ra.line===ud||Ra.lineIndent>qa)&&(composeNode$1(Ra,qa,CONTEXT_BLOCK_OUT$1,!0,ld)&&(kd?Nd=Ra.result:Od=Ra.result),kd||(storeMappingPair$1(Ra,md,vd,Ad,Nd,Od,ud,dd),Ad=Nd=Od=null),skipSeparationSpace$1(Ra,!0,-1),Gd=Ra.input.charCodeAt(Ra.position)),Ra.lineIndent>qa&&Gd!==0)throwError$1(Ra,"bad indentation of a mapping entry");else if(Ra.lineIndent<qa)break}return kd&&storeMappingPair$1(Ra,md,vd,Ad,Nd,null),Ld&&(Ra.tag=pd,Ra.anchor=fd,Ra.kind="mapping",Ra.result=md),Ld}function readTagProperty$1(Ra){var qa,nd=!1,od=!1,ld,ud,dd;if(dd=Ra.input.charCodeAt(Ra.position),dd!==33)return!1;if(Ra.tag!==null&&throwError$1(Ra,"duplication of a tag property"),dd=Ra.input.charCodeAt(++Ra.position),dd===60?(nd=!0,dd=Ra.input.charCodeAt(++Ra.position)):dd===33?(od=!0,ld="!!",dd=Ra.input.charCodeAt(++Ra.position)):ld="!",qa=Ra.position,nd){do dd=Ra.input.charCodeAt(++Ra.position);while(dd!==0&&dd!==62);Ra.position<Ra.length?(ud=Ra.input.slice(qa,Ra.position),dd=Ra.input.charCodeAt(++Ra.position)):throwError$1(Ra,"unexpected end of the stream within a verbatim tag")}else{for(;dd!==0&&!is_WS_OR_EOL$1(dd);)dd===33&&(od?throwError$1(Ra,"tag suffix cannot contain exclamation marks"):(ld=Ra.input.slice(qa-1,Ra.position+1),PATTERN_TAG_HANDLE$1.test(ld)||throwError$1(Ra,"named tag handle cannot contain such characters"),od=!0,qa=Ra.position+1)),dd=Ra.input.charCodeAt(++Ra.position);ud=Ra.input.slice(qa,Ra.position),PATTERN_FLOW_INDICATORS$1.test(ud)&&throwError$1(Ra,"tag suffix cannot contain flow indicator characters")}return ud&&!PATTERN_TAG_URI$1.test(ud)&&throwError$1(Ra,"tag name cannot contain such characters: "+ud),nd?Ra.tag=ud:_hasOwnProperty$5.call(Ra.tagMap,ld)?Ra.tag=Ra.tagMap[ld]+ud:ld==="!"?Ra.tag="!"+ud:ld==="!!"?Ra.tag="tag:yaml.org,2002:"+ud:throwError$1(Ra,'undeclared tag handle "'+ld+'"'),!0}function readAnchorProperty$1(Ra){var qa,nd;if(nd=Ra.input.charCodeAt(Ra.position),nd!==38)return!1;for(Ra.anchor!==null&&throwError$1(Ra,"duplication of an anchor property"),nd=Ra.input.charCodeAt(++Ra.position),qa=Ra.position;nd!==0&&!is_WS_OR_EOL$1(nd)&&!is_FLOW_INDICATOR$1(nd);)nd=Ra.input.charCodeAt(++Ra.position);return Ra.position===qa&&throwError$1(Ra,"name of an anchor node must contain at least one character"),Ra.anchor=Ra.input.slice(qa,Ra.position),!0}function readAlias$1(Ra){var qa,nd,od;if(od=Ra.input.charCodeAt(Ra.position),od!==42)return!1;for(od=Ra.input.charCodeAt(++Ra.position),qa=Ra.position;od!==0&&!is_WS_OR_EOL$1(od)&&!is_FLOW_INDICATOR$1(od);)od=Ra.input.charCodeAt(++Ra.position);return Ra.position===qa&&throwError$1(Ra,"name of an alias node must contain at least one character"),nd=Ra.input.slice(qa,Ra.position),_hasOwnProperty$5.call(Ra.anchorMap,nd)||throwError$1(Ra,'unidentified alias "'+nd+'"'),Ra.result=Ra.anchorMap[nd],skipSeparationSpace$1(Ra,!0,-1),!0}function composeNode$1(Ra,qa,nd,od,ld){var ud,dd,pd,fd=1,md=!1,vd=!1,Ad,Nd,Od,kd,Ld;if(Ra.listener!==null&&Ra.listener("open",Ra),Ra.tag=null,Ra.anchor=null,Ra.kind=null,Ra.result=null,ud=dd=pd=CONTEXT_BLOCK_OUT$1===nd||CONTEXT_BLOCK_IN$1===nd,od&&skipSeparationSpace$1(Ra,!0,-1)&&(md=!0,Ra.lineIndent>qa?fd=1:Ra.lineIndent===qa?fd=0:Ra.lineIndent<qa&&(fd=-1)),fd===1)for(;readTagProperty$1(Ra)||readAnchorProperty$1(Ra);)skipSeparationSpace$1(Ra,!0,-1)?(md=!0,pd=ud,Ra.lineIndent>qa?fd=1:Ra.lineIndent===qa?fd=0:Ra.lineIndent<qa&&(fd=-1)):pd=!1;if(pd&&(pd=md||ld),(fd===1||CONTEXT_BLOCK_OUT$1===nd)&&(CONTEXT_FLOW_IN$1===nd||CONTEXT_FLOW_OUT$1===nd?kd=qa:kd=qa+1,Ld=Ra.position-Ra.lineStart,fd===1?pd&&(readBlockSequence$1(Ra,Ld)||readBlockMapping$1(Ra,Ld,kd))||readFlowCollection$1(Ra,kd)?vd=!0:(dd&&readBlockScalar$1(Ra,kd)||readSingleQuotedScalar$1(Ra,kd)||readDoubleQuotedScalar$1(Ra,kd)?vd=!0:readAlias$1(Ra)?(vd=!0,(Ra.tag!==null||Ra.anchor!==null)&&throwError$1(Ra,"alias node should not have any properties")):readPlainScalar$1(Ra,kd,CONTEXT_FLOW_IN$1===nd)&&(vd=!0,Ra.tag===null&&(Ra.tag="?")),Ra.anchor!==null&&(Ra.anchorMap[Ra.anchor]=Ra.result)):fd===0&&(vd=pd&&readBlockSequence$1(Ra,Ld))),Ra.tag!==null&&Ra.tag!=="!")if(Ra.tag==="?"){for(Ra.result!==null&&Ra.kind!=="scalar"&&throwError$1(Ra,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+Ra.kind+'"'),Ad=0,Nd=Ra.implicitTypes.length;Ad<Nd;Ad+=1)if(Od=Ra.implicitTypes[Ad],Od.resolve(Ra.result)){Ra.result=Od.construct(Ra.result),Ra.tag=Od.tag,Ra.anchor!==null&&(Ra.anchorMap[Ra.anchor]=Ra.result);break}}else _hasOwnProperty$5.call(Ra.typeMap[Ra.kind||"fallback"],Ra.tag)?(Od=Ra.typeMap[Ra.kind||"fallback"][Ra.tag],Ra.result!==null&&Od.kind!==Ra.kind&&throwError$1(Ra,"unacceptable node kind for !<"+Ra.tag+'> tag; it should be "'+Od.kind+'", not "'+Ra.kind+'"'),Od.resolve(Ra.result)?(Ra.result=Od.construct(Ra.result),Ra.anchor!==null&&(Ra.anchorMap[Ra.anchor]=Ra.result)):throwError$1(Ra,"cannot resolve a node with !<"+Ra.tag+"> explicit tag")):throwError$1(Ra,"unknown tag !<"+Ra.tag+">");return Ra.listener!==null&&Ra.listener("close",Ra),Ra.tag!==null||Ra.anchor!==null||vd}function readDocument$1(Ra){var qa=Ra.position,nd,od,ld,ud=!1,dd;for(Ra.version=null,Ra.checkLineBreaks=Ra.legacy,Ra.tagMap={},Ra.anchorMap={};(dd=Ra.input.charCodeAt(Ra.position))!==0&&(skipSeparationSpace$1(Ra,!0,-1),dd=Ra.input.charCodeAt(Ra.position),!(Ra.lineIndent>0||dd!==37));){for(ud=!0,dd=Ra.input.charCodeAt(++Ra.position),nd=Ra.position;dd!==0&&!is_WS_OR_EOL$1(dd);)dd=Ra.input.charCodeAt(++Ra.position);for(od=Ra.input.slice(nd,Ra.position),ld=[],od.length<1&&throwError$1(Ra,"directive name must not be less than one character in length");dd!==0;){for(;is_WHITE_SPACE$1(dd);)dd=Ra.input.charCodeAt(++Ra.position);if(dd===35){do dd=Ra.input.charCodeAt(++Ra.position);while(dd!==0&&!is_EOL$1(dd));break}if(is_EOL$1(dd))break;for(nd=Ra.position;dd!==0&&!is_WS_OR_EOL$1(dd);)dd=Ra.input.charCodeAt(++Ra.position);ld.push(Ra.input.slice(nd,Ra.position))}dd!==0&&readLineBreak$1(Ra),_hasOwnProperty$5.call(directiveHandlers$1,od)?directiveHandlers$1[od](Ra,od,ld):throwWarning$1(Ra,'unknown document directive "'+od+'"')}if(skipSeparationSpace$1(Ra,!0,-1),Ra.lineIndent===0&&Ra.input.charCodeAt(Ra.position)===45&&Ra.input.charCodeAt(Ra.position+1)===45&&Ra.input.charCodeAt(Ra.position+2)===45?(Ra.position+=3,skipSeparationSpace$1(Ra,!0,-1)):ud&&throwError$1(Ra,"directives end mark is expected"),composeNode$1(Ra,Ra.lineIndent-1,CONTEXT_BLOCK_OUT$1,!1,!0),skipSeparationSpace$1(Ra,!0,-1),Ra.checkLineBreaks&&PATTERN_NON_ASCII_LINE_BREAKS$1.test(Ra.input.slice(qa,Ra.position))&&throwWarning$1(Ra,"non-ASCII line breaks are interpreted as content"),Ra.documents.push(Ra.result),Ra.position===Ra.lineStart&&testDocumentSeparator$1(Ra)){Ra.input.charCodeAt(Ra.position)===46&&(Ra.position+=3,skipSeparationSpace$1(Ra,!0,-1));return}if(Ra.position<Ra.length-1)throwError$1(Ra,"end of the stream or a document separator is expected");else return}function loadDocuments$1(Ra,qa){Ra=String(Ra),qa=qa||{},Ra.length!==0&&(Ra.charCodeAt(Ra.length-1)!==10&&Ra.charCodeAt(Ra.length-1)!==13&&(Ra+=`
`),Ra.charCodeAt(0)===65279&&(Ra=Ra.slice(1)));var nd=new State$3(Ra,qa),od=Ra.indexOf("\0");for(od!==-1&&(nd.position=od,throwError$1(nd,"null byte is not allowed in input")),nd.input+="\0";nd.input.charCodeAt(nd.position)===32;)nd.lineIndent+=1,nd.position+=1;for(;nd.position<nd.length-1;)readDocument$1(nd);return nd.documents}function loadAll(Ra,qa,nd){qa!==null&&typeof qa=="object"&&typeof nd>"u"&&(nd=qa,qa=null);var od=loadDocuments$1(Ra,nd);if(typeof qa!="function")return od;for(var ld=0,ud=od.length;ld<ud;ld+=1)qa(od[ld])}function load$2(Ra,qa){var nd=loadDocuments$1(Ra,qa);if(nd.length!==0){if(nd.length===1)return nd[0];throw new YAMLException$2("expected a single document in the stream, but found more")}}function safeLoadAll(Ra,qa,nd){return typeof qa=="object"&&qa!==null&&typeof nd>"u"&&(nd=qa,qa=null),loadAll(Ra,qa,common$2.extend({schema:DEFAULT_SAFE_SCHEMA$1},nd))}function safeLoad(Ra,qa){return load$2(Ra,common$2.extend({schema:DEFAULT_SAFE_SCHEMA$1},qa))}loader$3.loadAll=loadAll;loader$3.load=load$2;loader$3.safeLoadAll=safeLoadAll;loader$3.safeLoad=safeLoad;var dumper$1={},common$1=common$7,YAMLException=exception$1,DEFAULT_FULL_SCHEMA=default_full,DEFAULT_SAFE_SCHEMA=default_safe,_toString$3=Object.prototype.toString,_hasOwnProperty$4=Object.prototype.hasOwnProperty,CHAR_TAB$1=9,CHAR_LINE_FEED$1=10,CHAR_CARRIAGE_RETURN$1=13,CHAR_SPACE$1=32,CHAR_EXCLAMATION$1=33,CHAR_DOUBLE_QUOTE$1=34,CHAR_SHARP$1=35,CHAR_PERCENT$1=37,CHAR_AMPERSAND$1=38,CHAR_SINGLE_QUOTE$1=39,CHAR_ASTERISK$1=42,CHAR_COMMA$1=44,CHAR_MINUS$1=45,CHAR_COLON$1=58,CHAR_EQUALS$1=61,CHAR_GREATER_THAN$1=62,CHAR_QUESTION$1=63,CHAR_COMMERCIAL_AT$1=64,CHAR_LEFT_SQUARE_BRACKET$1=91,CHAR_RIGHT_SQUARE_BRACKET$1=93,CHAR_GRAVE_ACCENT$1=96,CHAR_LEFT_CURLY_BRACKET$1=123,CHAR_VERTICAL_LINE$1=124,CHAR_RIGHT_CURLY_BRACKET$1=125,ESCAPE_SEQUENCES$1={};ESCAPE_SEQUENCES$1[0]="\\0";ESCAPE_SEQUENCES$1[7]="\\a";ESCAPE_SEQUENCES$1[8]="\\b";ESCAPE_SEQUENCES$1[9]="\\t";ESCAPE_SEQUENCES$1[10]="\\n";ESCAPE_SEQUENCES$1[11]="\\v";ESCAPE_SEQUENCES$1[12]="\\f";ESCAPE_SEQUENCES$1[13]="\\r";ESCAPE_SEQUENCES$1[27]="\\e";ESCAPE_SEQUENCES$1[34]='\\"';ESCAPE_SEQUENCES$1[92]="\\\\";ESCAPE_SEQUENCES$1[133]="\\N";ESCAPE_SEQUENCES$1[160]="\\_";ESCAPE_SEQUENCES$1[8232]="\\L";ESCAPE_SEQUENCES$1[8233]="\\P";var DEPRECATED_BOOLEANS_SYNTAX$1=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function compileStyleMap$1(Ra,qa){var nd,od,ld,ud,dd,pd,fd;if(qa===null)return{};for(nd={},od=Object.keys(qa),ld=0,ud=od.length;ld<ud;ld+=1)dd=od[ld],pd=String(qa[dd]),dd.slice(0,2)==="!!"&&(dd="tag:yaml.org,2002:"+dd.slice(2)),fd=Ra.compiledTypeMap.fallback[dd],fd&&_hasOwnProperty$4.call(fd.styleAliases,pd)&&(pd=fd.styleAliases[pd]),nd[dd]=pd;return nd}function encodeHex$1(Ra){var qa,nd,od;if(qa=Ra.toString(16).toUpperCase(),Ra<=255)nd="x",od=2;else if(Ra<=65535)nd="u",od=4;else if(Ra<=4294967295)nd="U",od=8;else throw new YAMLException("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+nd+common$1.repeat("0",od-qa.length)+qa}function State$2(Ra){this.schema=Ra.schema||DEFAULT_FULL_SCHEMA,this.indent=Math.max(1,Ra.indent||2),this.noArrayIndent=Ra.noArrayIndent||!1,this.skipInvalid=Ra.skipInvalid||!1,this.flowLevel=common$1.isNothing(Ra.flowLevel)?-1:Ra.flowLevel,this.styleMap=compileStyleMap$1(this.schema,Ra.styles||null),this.sortKeys=Ra.sortKeys||!1,this.lineWidth=Ra.lineWidth||80,this.noRefs=Ra.noRefs||!1,this.noCompatMode=Ra.noCompatMode||!1,this.condenseFlow=Ra.condenseFlow||!1,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function indentString$1(Ra,qa){for(var nd=common$1.repeat(" ",qa),od=0,ld=-1,ud="",dd,pd=Ra.length;od<pd;)ld=Ra.indexOf(`
`,od),ld===-1?(dd=Ra.slice(od),od=pd):(dd=Ra.slice(od,ld+1),od=ld+1),dd.length&&dd!==`
`&&(ud+=nd),ud+=dd;return ud}function generateNextLine$1(Ra,qa){return`
`+common$1.repeat(" ",Ra.indent*qa)}function testImplicitResolving$1(Ra,qa){var nd,od,ld;for(nd=0,od=Ra.implicitTypes.length;nd<od;nd+=1)if(ld=Ra.implicitTypes[nd],ld.resolve(qa))return!0;return!1}function isWhitespace$1(Ra){return Ra===CHAR_SPACE$1||Ra===CHAR_TAB$1}function isPrintable$1(Ra){return 32<=Ra&&Ra<=126||161<=Ra&&Ra<=55295&&Ra!==8232&&Ra!==8233||57344<=Ra&&Ra<=65533&&Ra!==65279||65536<=Ra&&Ra<=1114111}function isNsChar(Ra){return isPrintable$1(Ra)&&!isWhitespace$1(Ra)&&Ra!==65279&&Ra!==CHAR_CARRIAGE_RETURN$1&&Ra!==CHAR_LINE_FEED$1}function isPlainSafe$1(Ra,qa){return isPrintable$1(Ra)&&Ra!==65279&&Ra!==CHAR_COMMA$1&&Ra!==CHAR_LEFT_SQUARE_BRACKET$1&&Ra!==CHAR_RIGHT_SQUARE_BRACKET$1&&Ra!==CHAR_LEFT_CURLY_BRACKET$1&&Ra!==CHAR_RIGHT_CURLY_BRACKET$1&&Ra!==CHAR_COLON$1&&(Ra!==CHAR_SHARP$1||qa&&isNsChar(qa))}function isPlainSafeFirst$1(Ra){return isPrintable$1(Ra)&&Ra!==65279&&!isWhitespace$1(Ra)&&Ra!==CHAR_MINUS$1&&Ra!==CHAR_QUESTION$1&&Ra!==CHAR_COLON$1&&Ra!==CHAR_COMMA$1&&Ra!==CHAR_LEFT_SQUARE_BRACKET$1&&Ra!==CHAR_RIGHT_SQUARE_BRACKET$1&&Ra!==CHAR_LEFT_CURLY_BRACKET$1&&Ra!==CHAR_RIGHT_CURLY_BRACKET$1&&Ra!==CHAR_SHARP$1&&Ra!==CHAR_AMPERSAND$1&&Ra!==CHAR_ASTERISK$1&&Ra!==CHAR_EXCLAMATION$1&&Ra!==CHAR_VERTICAL_LINE$1&&Ra!==CHAR_EQUALS$1&&Ra!==CHAR_GREATER_THAN$1&&Ra!==CHAR_SINGLE_QUOTE$1&&Ra!==CHAR_DOUBLE_QUOTE$1&&Ra!==CHAR_PERCENT$1&&Ra!==CHAR_COMMERCIAL_AT$1&&Ra!==CHAR_GRAVE_ACCENT$1}function needIndentIndicator$1(Ra){var qa=/^\n* /;return qa.test(Ra)}var STYLE_PLAIN$1=1,STYLE_SINGLE$1=2,STYLE_LITERAL$1=3,STYLE_FOLDED$1=4,STYLE_DOUBLE$1=5;function chooseScalarStyle$1(Ra,qa,nd,od,ld){var ud,dd,pd,fd=!1,md=!1,vd=od!==-1,Ad=-1,Nd=isPlainSafeFirst$1(Ra.charCodeAt(0))&&!isWhitespace$1(Ra.charCodeAt(Ra.length-1));if(qa)for(ud=0;ud<Ra.length;ud++){if(dd=Ra.charCodeAt(ud),!isPrintable$1(dd))return STYLE_DOUBLE$1;pd=ud>0?Ra.charCodeAt(ud-1):null,Nd=Nd&&isPlainSafe$1(dd,pd)}else{for(ud=0;ud<Ra.length;ud++){if(dd=Ra.charCodeAt(ud),dd===CHAR_LINE_FEED$1)fd=!0,vd&&(md=md||ud-Ad-1>od&&Ra[Ad+1]!==" ",Ad=ud);else if(!isPrintable$1(dd))return STYLE_DOUBLE$1;pd=ud>0?Ra.charCodeAt(ud-1):null,Nd=Nd&&isPlainSafe$1(dd,pd)}md=md||vd&&ud-Ad-1>od&&Ra[Ad+1]!==" "}return!fd&&!md?Nd&&!ld(Ra)?STYLE_PLAIN$1:STYLE_SINGLE$1:nd>9&&needIndentIndicator$1(Ra)?STYLE_DOUBLE$1:md?STYLE_FOLDED$1:STYLE_LITERAL$1}function writeScalar$1(Ra,qa,nd,od){Ra.dump=function(){if(qa.length===0)return"''";if(!Ra.noCompatMode&&DEPRECATED_BOOLEANS_SYNTAX$1.indexOf(qa)!==-1)return"'"+qa+"'";var ld=Ra.indent*Math.max(1,nd),ud=Ra.lineWidth===-1?-1:Math.max(Math.min(Ra.lineWidth,40),Ra.lineWidth-ld),dd=od||Ra.flowLevel>-1&&nd>=Ra.flowLevel;function pd(fd){return testImplicitResolving$1(Ra,fd)}switch(chooseScalarStyle$1(qa,dd,Ra.indent,ud,pd)){case STYLE_PLAIN$1:return qa;case STYLE_SINGLE$1:return"'"+qa.replace(/'/g,"''")+"'";case STYLE_LITERAL$1:return"|"+blockHeader$1(qa,Ra.indent)+dropEndingNewline$1(indentString$1(qa,ld));case STYLE_FOLDED$1:return">"+blockHeader$1(qa,Ra.indent)+dropEndingNewline$1(indentString$1(foldString$1(qa,ud),ld));case STYLE_DOUBLE$1:return'"'+escapeString$1(qa)+'"';default:throw new YAMLException("impossible error: invalid scalar style")}}()}function blockHeader$1(Ra,qa){var nd=needIndentIndicator$1(Ra)?String(qa):"",od=Ra[Ra.length-1]===`
`,ld=od&&(Ra[Ra.length-2]===`
`||Ra===`
`),ud=ld?"+":od?"":"-";return nd+ud+`
`}function dropEndingNewline$1(Ra){return Ra[Ra.length-1]===`
`?Ra.slice(0,-1):Ra}function foldString$1(Ra,qa){for(var nd=/(\n+)([^\n]*)/g,od=function(){var md=Ra.indexOf(`
`);return md=md!==-1?md:Ra.length,nd.lastIndex=md,foldLine$1(Ra.slice(0,md),qa)}(),ld=Ra[0]===`
`||Ra[0]===" ",ud,dd;dd=nd.exec(Ra);){var pd=dd[1],fd=dd[2];ud=fd[0]===" ",od+=pd+(!ld&&!ud&&fd!==""?`
`:"")+foldLine$1(fd,qa),ld=ud}return od}function foldLine$1(Ra,qa){if(Ra===""||Ra[0]===" ")return Ra;for(var nd=/ [^ ]/g,od,ld=0,ud,dd=0,pd=0,fd="";od=nd.exec(Ra);)pd=od.index,pd-ld>qa&&(ud=dd>ld?dd:pd,fd+=`
`+Ra.slice(ld,ud),ld=ud+1),dd=pd;return fd+=`
`,Ra.length-ld>qa&&dd>ld?fd+=Ra.slice(ld,dd)+`
`+Ra.slice(dd+1):fd+=Ra.slice(ld),fd.slice(1)}function escapeString$1(Ra){for(var qa="",nd,od,ld,ud=0;ud<Ra.length;ud++){if(nd=Ra.charCodeAt(ud),nd>=55296&&nd<=56319&&(od=Ra.charCodeAt(ud+1),od>=56320&&od<=57343)){qa+=encodeHex$1((nd-55296)*1024+od-56320+65536),ud++;continue}ld=ESCAPE_SEQUENCES$1[nd],qa+=!ld&&isPrintable$1(nd)?Ra[ud]:ld||encodeHex$1(nd)}return qa}function writeFlowSequence$1(Ra,qa,nd){var od="",ld=Ra.tag,ud,dd;for(ud=0,dd=nd.length;ud<dd;ud+=1)writeNode$1(Ra,qa,nd[ud],!1,!1)&&(ud!==0&&(od+=","+(Ra.condenseFlow?"":" ")),od+=Ra.dump);Ra.tag=ld,Ra.dump="["+od+"]"}function writeBlockSequence$1(Ra,qa,nd,od){var ld="",ud=Ra.tag,dd,pd;for(dd=0,pd=nd.length;dd<pd;dd+=1)writeNode$1(Ra,qa+1,nd[dd],!0,!0)&&((!od||dd!==0)&&(ld+=generateNextLine$1(Ra,qa)),Ra.dump&&CHAR_LINE_FEED$1===Ra.dump.charCodeAt(0)?ld+="-":ld+="- ",ld+=Ra.dump);Ra.tag=ud,Ra.dump=ld||"[]"}function writeFlowMapping$1(Ra,qa,nd){var od="",ld=Ra.tag,ud=Object.keys(nd),dd,pd,fd,md,vd;for(dd=0,pd=ud.length;dd<pd;dd+=1)vd="",dd!==0&&(vd+=", "),Ra.condenseFlow&&(vd+='"'),fd=ud[dd],md=nd[fd],writeNode$1(Ra,qa,fd,!1,!1)&&(Ra.dump.length>1024&&(vd+="? "),vd+=Ra.dump+(Ra.condenseFlow?'"':"")+":"+(Ra.condenseFlow?"":" "),writeNode$1(Ra,qa,md,!1,!1)&&(vd+=Ra.dump,od+=vd));Ra.tag=ld,Ra.dump="{"+od+"}"}function writeBlockMapping$1(Ra,qa,nd,od){var ld="",ud=Ra.tag,dd=Object.keys(nd),pd,fd,md,vd,Ad,Nd;if(Ra.sortKeys===!0)dd.sort();else if(typeof Ra.sortKeys=="function")dd.sort(Ra.sortKeys);else if(Ra.sortKeys)throw new YAMLException("sortKeys must be a boolean or a function");for(pd=0,fd=dd.length;pd<fd;pd+=1)Nd="",(!od||pd!==0)&&(Nd+=generateNextLine$1(Ra,qa)),md=dd[pd],vd=nd[md],writeNode$1(Ra,qa+1,md,!0,!0,!0)&&(Ad=Ra.tag!==null&&Ra.tag!=="?"||Ra.dump&&Ra.dump.length>1024,Ad&&(Ra.dump&&CHAR_LINE_FEED$1===Ra.dump.charCodeAt(0)?Nd+="?":Nd+="? "),Nd+=Ra.dump,Ad&&(Nd+=generateNextLine$1(Ra,qa)),writeNode$1(Ra,qa+1,vd,!0,Ad)&&(Ra.dump&&CHAR_LINE_FEED$1===Ra.dump.charCodeAt(0)?Nd+=":":Nd+=": ",Nd+=Ra.dump,ld+=Nd));Ra.tag=ud,Ra.dump=ld||"{}"}function detectType$2(Ra,qa,nd){var od,ld,ud,dd,pd,fd;for(ld=nd?Ra.explicitTypes:Ra.implicitTypes,ud=0,dd=ld.length;ud<dd;ud+=1)if(pd=ld[ud],(pd.instanceOf||pd.predicate)&&(!pd.instanceOf||typeof qa=="object"&&qa instanceof pd.instanceOf)&&(!pd.predicate||pd.predicate(qa))){if(Ra.tag=nd?pd.tag:"?",pd.represent){if(fd=Ra.styleMap[pd.tag]||pd.defaultStyle,_toString$3.call(pd.represent)==="[object Function]")od=pd.represent(qa,fd);else if(_hasOwnProperty$4.call(pd.represent,fd))od=pd.represent[fd](qa,fd);else throw new YAMLException("!<"+pd.tag+'> tag resolver accepts not "'+fd+'" style');Ra.dump=od}return!0}return!1}function writeNode$1(Ra,qa,nd,od,ld,ud){Ra.tag=null,Ra.dump=nd,detectType$2(Ra,nd,!1)||detectType$2(Ra,nd,!0);var dd=_toString$3.call(Ra.dump);od&&(od=Ra.flowLevel<0||Ra.flowLevel>qa);var pd=dd==="[object Object]"||dd==="[object Array]",fd,md;if(pd&&(fd=Ra.duplicates.indexOf(nd),md=fd!==-1),(Ra.tag!==null&&Ra.tag!=="?"||md||Ra.indent!==2&&qa>0)&&(ld=!1),md&&Ra.usedDuplicates[fd])Ra.dump="*ref_"+fd;else{if(pd&&md&&!Ra.usedDuplicates[fd]&&(Ra.usedDuplicates[fd]=!0),dd==="[object Object]")od&&Object.keys(Ra.dump).length!==0?(writeBlockMapping$1(Ra,qa,Ra.dump,ld),md&&(Ra.dump="&ref_"+fd+Ra.dump)):(writeFlowMapping$1(Ra,qa,Ra.dump),md&&(Ra.dump="&ref_"+fd+" "+Ra.dump));else if(dd==="[object Array]"){var vd=Ra.noArrayIndent&&qa>0?qa-1:qa;od&&Ra.dump.length!==0?(writeBlockSequence$1(Ra,vd,Ra.dump,ld),md&&(Ra.dump="&ref_"+fd+Ra.dump)):(writeFlowSequence$1(Ra,vd,Ra.dump),md&&(Ra.dump="&ref_"+fd+" "+Ra.dump))}else if(dd==="[object String]")Ra.tag!=="?"&&writeScalar$1(Ra,Ra.dump,qa,ud);else{if(Ra.skipInvalid)return!1;throw new YAMLException("unacceptable kind of an object to dump "+dd)}Ra.tag!==null&&Ra.tag!=="?"&&(Ra.dump="!<"+Ra.tag+"> "+Ra.dump)}return!0}function getDuplicateReferences$1(Ra,qa){var nd=[],od=[],ld,ud;for(inspectNode$1(Ra,nd,od),ld=0,ud=od.length;ld<ud;ld+=1)qa.duplicates.push(nd[od[ld]]);qa.usedDuplicates=new Array(ud)}function inspectNode$1(Ra,qa,nd){var od,ld,ud;if(Ra!==null&&typeof Ra=="object")if(ld=qa.indexOf(Ra),ld!==-1)nd.indexOf(ld)===-1&&nd.push(ld);else if(qa.push(Ra),Array.isArray(Ra))for(ld=0,ud=Ra.length;ld<ud;ld+=1)inspectNode$1(Ra[ld],qa,nd);else for(od=Object.keys(Ra),ld=0,ud=od.length;ld<ud;ld+=1)inspectNode$1(Ra[od[ld]],qa,nd)}function dump(Ra,qa){qa=qa||{};var nd=new State$2(qa);return nd.noRefs||getDuplicateReferences$1(Ra,nd),writeNode$1(nd,0,Ra,!0,!0)?nd.dump+`
`:""}function safeDump(Ra,qa){return dump(Ra,common$1.extend({schema:DEFAULT_SAFE_SCHEMA},qa))}dumper$1.dump=dump;dumper$1.safeDump=safeDump;var loader$2=loader$3,dumper=dumper$1;function deprecated$1(Ra){return function(){throw new Error("Function "+Ra+" is deprecated and cannot be used.")}}jsYaml$1.Type=type$2;jsYaml$1.Schema=schema$1;jsYaml$1.FAILSAFE_SCHEMA=failsafe$1;jsYaml$1.JSON_SCHEMA=json$1;jsYaml$1.CORE_SCHEMA=core$3;jsYaml$1.DEFAULT_SAFE_SCHEMA=default_safe;jsYaml$1.DEFAULT_FULL_SCHEMA=default_full;jsYaml$1.load=loader$2.load;jsYaml$1.loadAll=loader$2.loadAll;jsYaml$1.safeLoad=loader$2.safeLoad;jsYaml$1.safeLoadAll=loader$2.safeLoadAll;jsYaml$1.dump=dumper.dump;jsYaml$1.safeDump=dumper.safeDump;jsYaml$1.YAMLException=exception$1;jsYaml$1.MINIMAL_SCHEMA=failsafe$1;jsYaml$1.SAFE_SCHEMA=default_safe;jsYaml$1.DEFAULT_SCHEMA=default_full;jsYaml$1.scan=deprecated$1("scan");jsYaml$1.parse=deprecated$1("parse");jsYaml$1.compose=deprecated$1("compose");jsYaml$1.addConstructor=deprecated$1("addConstructor");var yaml=jsYaml$1,jsYaml=yaml,define_process_default$9={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_1164a745-b3dc-4b9f-a9be-9609c1b3622a",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_1164a745-b3dc-4b9f-a9be-9609c1b3622a",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250105.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7633",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12854182433",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_eb6908e4-3cff-452d-a339-25146be9740f",INVOCATION_ID:"049b7125072941398f5d27a5cb59ad7a",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"493",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 18",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_1164a745-b3dc-4b9f-a9be-9609c1b3622a",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_1164a745-b3dc-4b9f-a9be-9609c1b3622a",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_1164a745-b3dc-4b9f-a9be-9609c1b3622a",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2166,ppid:2165,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}},parser$1=jsYaml,optionalByteOrderMark="\\ufeff?",platform$2=typeof define_process_default$9<"u"?define_process_default$9.platform:"",pattern="^("+optionalByteOrderMark+"(= yaml =|---)$([\\s\\S]*?)^(?:\\2|\\.\\.\\.)\\s*$"+(platform$2==="win32"?"\\r?":"")+"(?:\\n)?)",regex$1=new RegExp(pattern,"m");frontMatter$1.exports=extractor;frontMatter$1.exports.test=test$2;function extractor(Ra,qa){Ra=Ra||"";var nd={allowUnsafe:!1};qa=qa instanceof Object?{...nd,...qa}:nd,qa.allowUnsafe=!!qa.allowUnsafe;var od=Ra.split(/(\r?\n)/);return od[0]&&/= yaml =|---/.test(od[0])?parse$2(Ra,qa.allowUnsafe):{attributes:{},body:Ra,bodyBegin:1}}function computeLocation(Ra,qa){for(var nd=1,od=qa.indexOf(`
`),ld=Ra.index+Ra[0].length;od!==-1;){if(od>=ld)return nd;nd++,od=qa.indexOf(`
`,od+1)}return nd}function parse$2(Ra,qa){var nd=regex$1.exec(Ra);if(!nd)return{attributes:{},body:Ra,bodyBegin:1};var od=qa?parser$1.load:parser$1.safeLoad,ld=nd[nd.length-1].replace(/^\s+|\s+$/g,""),ud=od(ld)||{},dd=Ra.replace(nd[0],""),pd=computeLocation(nd,Ra);return{attributes:ud,body:dd,bodyBegin:pd,frontmatter:ld}}function test$2(Ra){return Ra=Ra||"",regex$1.test(Ra)}var frontMatterExports=frontMatter$1.exports;const frontMatter=getDefaultExportFromCjs(frontMatterExports);function deepFreeze(Ra){return Ra instanceof Map?Ra.clear=Ra.delete=Ra.set=function(){throw new Error("map is read-only")}:Ra instanceof Set&&(Ra.add=Ra.clear=Ra.delete=function(){throw new Error("set is read-only")}),Object.freeze(Ra),Object.getOwnPropertyNames(Ra).forEach(qa=>{const nd=Ra[qa],od=typeof nd;(od==="object"||od==="function")&&!Object.isFrozen(nd)&&deepFreeze(nd)}),Ra}let Response$1=class{constructor(qa){qa.data===void 0&&(qa.data={}),this.data=qa.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function escapeHTML(Ra){return Ra.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function inherit$1(Ra,...qa){const nd=Object.create(null);for(const od in Ra)nd[od]=Ra[od];return qa.forEach(function(od){for(const ld in od)nd[ld]=od[ld]}),nd}const SPAN_CLOSE="</span>",emitsWrappingTags=Ra=>!!Ra.scope,scopeToCSSClass=(Ra,{prefix:qa})=>{if(Ra.startsWith("language:"))return Ra.replace("language:","language-");if(Ra.includes(".")){const nd=Ra.split(".");return[`${qa}${nd.shift()}`,...nd.map((od,ld)=>`${od}${"_".repeat(ld+1)}`)].join(" ")}return`${qa}${Ra}`};class HTMLRenderer{constructor(qa,nd){this.buffer="",this.classPrefix=nd.classPrefix,qa.walk(this)}addText(qa){this.buffer+=escapeHTML(qa)}openNode(qa){if(!emitsWrappingTags(qa))return;const nd=scopeToCSSClass(qa.scope,{prefix:this.classPrefix});this.span(nd)}closeNode(qa){emitsWrappingTags(qa)&&(this.buffer+=SPAN_CLOSE)}value(){return this.buffer}span(qa){this.buffer+=`<span class="${qa}">`}}const newNode=(Ra={})=>{const qa={children:[]};return Object.assign(qa,Ra),qa};class TokenTree{constructor(){this.rootNode=newNode(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(qa){this.top.children.push(qa)}openNode(qa){const nd=newNode({scope:qa});this.add(nd),this.stack.push(nd)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(qa){return this.constructor._walk(qa,this.rootNode)}static _walk(qa,nd){return typeof nd=="string"?qa.addText(nd):nd.children&&(qa.openNode(nd),nd.children.forEach(od=>this._walk(qa,od)),qa.closeNode(nd)),qa}static _collapse(qa){typeof qa!="string"&&qa.children&&(qa.children.every(nd=>typeof nd=="string")?qa.children=[qa.children.join("")]:qa.children.forEach(nd=>{TokenTree._collapse(nd)}))}}class TokenTreeEmitter extends TokenTree{constructor(qa){super(),this.options=qa}addText(qa){qa!==""&&this.add(qa)}startScope(qa){this.openNode(qa)}endScope(){this.closeNode()}__addSublanguage(qa,nd){const od=qa.root;nd&&(od.scope=`language:${nd}`),this.add(od)}toHTML(){return new HTMLRenderer(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function source(Ra){return Ra?typeof Ra=="string"?Ra:Ra.source:null}function lookahead(Ra){return concat$2("(?=",Ra,")")}function anyNumberOfTimes(Ra){return concat$2("(?:",Ra,")*")}function optional(Ra){return concat$2("(?:",Ra,")?")}function concat$2(...Ra){return Ra.map(nd=>source(nd)).join("")}function stripOptionsFromArgs(Ra){const qa=Ra[Ra.length-1];return typeof qa=="object"&&qa.constructor===Object?(Ra.splice(Ra.length-1,1),qa):{}}function either(...Ra){return"("+(stripOptionsFromArgs(Ra).capture?"":"?:")+Ra.map(od=>source(od)).join("|")+")"}function countMatchGroups(Ra){return new RegExp(Ra.toString()+"|").exec("").length-1}function startsWith$1(Ra,qa){const nd=Ra&&Ra.exec(qa);return nd&&nd.index===0}const BACKREF_RE=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function _rewriteBackreferences(Ra,{joinWith:qa}){let nd=0;return Ra.map(od=>{nd+=1;const ld=nd;let ud=source(od),dd="";for(;ud.length>0;){const pd=BACKREF_RE.exec(ud);if(!pd){dd+=ud;break}dd+=ud.substring(0,pd.index),ud=ud.substring(pd.index+pd[0].length),pd[0][0]==="\\"&&pd[1]?dd+="\\"+String(Number(pd[1])+ld):(dd+=pd[0],pd[0]==="("&&nd++)}return dd}).map(od=>`(${od})`).join(qa)}const MATCH_NOTHING_RE=/\b\B/,IDENT_RE="[a-zA-Z]\\w*",UNDERSCORE_IDENT_RE="[a-zA-Z_]\\w*",NUMBER_RE="\\b\\d+(\\.\\d+)?",C_NUMBER_RE="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",BINARY_NUMBER_RE="\\b(0b[01]+)",RE_STARTERS_RE="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG=(Ra={})=>{const qa=/^#![ ]*\//;return Ra.binary&&(Ra.begin=concat$2(qa,/.*\b/,Ra.binary,/\b.*/)),inherit$1({scope:"meta",begin:qa,end:/$/,relevance:0,"on:begin":(nd,od)=>{nd.index!==0&&od.ignoreMatch()}},Ra)},BACKSLASH_ESCAPE={begin:"\\\\[\\s\\S]",relevance:0},APOS_STRING_MODE={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[BACKSLASH_ESCAPE]},QUOTE_STRING_MODE={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[BACKSLASH_ESCAPE]},PHRASAL_WORDS_MODE={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},COMMENT$1=function(Ra,qa,nd={}){const od=inherit$1({scope:"comment",begin:Ra,end:qa,contains:[]},nd);od.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const ld=either("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return od.contains.push({begin:concat$2(/[ ]+/,"(",ld,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),od},C_LINE_COMMENT_MODE=COMMENT$1("//","$"),C_BLOCK_COMMENT_MODE=COMMENT$1("/\\*","\\*/"),HASH_COMMENT_MODE=COMMENT$1("#","$"),NUMBER_MODE={scope:"number",begin:NUMBER_RE,relevance:0},C_NUMBER_MODE={scope:"number",begin:C_NUMBER_RE,relevance:0},BINARY_NUMBER_MODE={scope:"number",begin:BINARY_NUMBER_RE,relevance:0},REGEXP_MODE={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[BACKSLASH_ESCAPE]}]},TITLE_MODE={scope:"title",begin:IDENT_RE,relevance:0},UNDERSCORE_TITLE_MODE={scope:"title",begin:UNDERSCORE_IDENT_RE,relevance:0},METHOD_GUARD={begin:"\\.\\s*"+UNDERSCORE_IDENT_RE,relevance:0},END_SAME_AS_BEGIN=function(Ra){return Object.assign(Ra,{"on:begin":(qa,nd)=>{nd.data._beginMatch=qa[1]},"on:end":(qa,nd)=>{nd.data._beginMatch!==qa[1]&&nd.ignoreMatch()}})};var MODES=Object.freeze({__proto__:null,APOS_STRING_MODE,BACKSLASH_ESCAPE,BINARY_NUMBER_MODE,BINARY_NUMBER_RE,COMMENT:COMMENT$1,C_BLOCK_COMMENT_MODE,C_LINE_COMMENT_MODE,C_NUMBER_MODE,C_NUMBER_RE,END_SAME_AS_BEGIN,HASH_COMMENT_MODE,IDENT_RE,MATCH_NOTHING_RE,METHOD_GUARD,NUMBER_MODE,NUMBER_RE,PHRASAL_WORDS_MODE,QUOTE_STRING_MODE,REGEXP_MODE,RE_STARTERS_RE,SHEBANG,TITLE_MODE,UNDERSCORE_IDENT_RE,UNDERSCORE_TITLE_MODE});function skipIfHasPrecedingDot(Ra,qa){Ra.input[Ra.index-1]==="."&&qa.ignoreMatch()}function scopeClassName(Ra,qa){Ra.className!==void 0&&(Ra.scope=Ra.className,delete Ra.className)}function beginKeywords(Ra,qa){qa&&Ra.beginKeywords&&(Ra.begin="\\b("+Ra.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",Ra.__beforeBegin=skipIfHasPrecedingDot,Ra.keywords=Ra.keywords||Ra.beginKeywords,delete Ra.beginKeywords,Ra.relevance===void 0&&(Ra.relevance=0))}function compileIllegal(Ra,qa){Array.isArray(Ra.illegal)&&(Ra.illegal=either(...Ra.illegal))}function compileMatch(Ra,qa){if(Ra.match){if(Ra.begin||Ra.end)throw new Error("begin & end are not supported with match");Ra.begin=Ra.match,delete Ra.match}}function compileRelevance(Ra,qa){Ra.relevance===void 0&&(Ra.relevance=1)}const beforeMatchExt=(Ra,qa)=>{if(!Ra.beforeMatch)return;if(Ra.starts)throw new Error("beforeMatch cannot be used with starts");const nd=Object.assign({},Ra);Object.keys(Ra).forEach(od=>{delete Ra[od]}),Ra.keywords=nd.keywords,Ra.begin=concat$2(nd.beforeMatch,lookahead(nd.begin)),Ra.starts={relevance:0,contains:[Object.assign(nd,{endsParent:!0})]},Ra.relevance=0,delete nd.beforeMatch},COMMON_KEYWORDS=["of","and","for","in","not","or","if","then","parent","list","value"],DEFAULT_KEYWORD_SCOPE="keyword";function compileKeywords(Ra,qa,nd=DEFAULT_KEYWORD_SCOPE){const od=Object.create(null);return typeof Ra=="string"?ld(nd,Ra.split(" ")):Array.isArray(Ra)?ld(nd,Ra):Object.keys(Ra).forEach(function(ud){Object.assign(od,compileKeywords(Ra[ud],qa,ud))}),od;function ld(ud,dd){qa&&(dd=dd.map(pd=>pd.toLowerCase())),dd.forEach(function(pd){const fd=pd.split("|");od[fd[0]]=[ud,scoreForKeyword(fd[0],fd[1])]})}}function scoreForKeyword(Ra,qa){return qa?Number(qa):commonKeyword(Ra)?0:1}function commonKeyword(Ra){return COMMON_KEYWORDS.includes(Ra.toLowerCase())}const seenDeprecations={},error=Ra=>{console.error(Ra)},warn=(Ra,...qa)=>{console.log(`WARN: ${Ra}`,...qa)},deprecated=(Ra,qa)=>{seenDeprecations[`${Ra}/${qa}`]||(console.log(`Deprecated as of ${Ra}. ${qa}`),seenDeprecations[`${Ra}/${qa}`]=!0)},MultiClassError=new Error;function remapScopeNames(Ra,qa,{key:nd}){let od=0;const ld=Ra[nd],ud={},dd={};for(let pd=1;pd<=qa.length;pd++)dd[pd+od]=ld[pd],ud[pd+od]=!0,od+=countMatchGroups(qa[pd-1]);Ra[nd]=dd,Ra[nd]._emit=ud,Ra[nd]._multi=!0}function beginMultiClass(Ra){if(Array.isArray(Ra.begin)){if(Ra.skip||Ra.excludeBegin||Ra.returnBegin)throw error("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),MultiClassError;if(typeof Ra.beginScope!="object"||Ra.beginScope===null)throw error("beginScope must be object"),MultiClassError;remapScopeNames(Ra,Ra.begin,{key:"beginScope"}),Ra.begin=_rewriteBackreferences(Ra.begin,{joinWith:""})}}function endMultiClass(Ra){if(Array.isArray(Ra.end)){if(Ra.skip||Ra.excludeEnd||Ra.returnEnd)throw error("skip, excludeEnd, returnEnd not compatible with endScope: {}"),MultiClassError;if(typeof Ra.endScope!="object"||Ra.endScope===null)throw error("endScope must be object"),MultiClassError;remapScopeNames(Ra,Ra.end,{key:"endScope"}),Ra.end=_rewriteBackreferences(Ra.end,{joinWith:""})}}function scopeSugar(Ra){Ra.scope&&typeof Ra.scope=="object"&&Ra.scope!==null&&(Ra.beginScope=Ra.scope,delete Ra.scope)}function MultiClass(Ra){scopeSugar(Ra),typeof Ra.beginScope=="string"&&(Ra.beginScope={_wrap:Ra.beginScope}),typeof Ra.endScope=="string"&&(Ra.endScope={_wrap:Ra.endScope}),beginMultiClass(Ra),endMultiClass(Ra)}function compileLanguage(Ra){function qa(dd,pd){return new RegExp(source(dd),"m"+(Ra.case_insensitive?"i":"")+(Ra.unicodeRegex?"u":"")+(pd?"g":""))}class nd{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(pd,fd){fd.position=this.position++,this.matchIndexes[this.matchAt]=fd,this.regexes.push([fd,pd]),this.matchAt+=countMatchGroups(pd)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const pd=this.regexes.map(fd=>fd[1]);this.matcherRe=qa(_rewriteBackreferences(pd,{joinWith:"|"}),!0),this.lastIndex=0}exec(pd){this.matcherRe.lastIndex=this.lastIndex;const fd=this.matcherRe.exec(pd);if(!fd)return null;const md=fd.findIndex((Ad,Nd)=>Nd>0&&Ad!==void 0),vd=this.matchIndexes[md];return fd.splice(0,md),Object.assign(fd,vd)}}class od{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(pd){if(this.multiRegexes[pd])return this.multiRegexes[pd];const fd=new nd;return this.rules.slice(pd).forEach(([md,vd])=>fd.addRule(md,vd)),fd.compile(),this.multiRegexes[pd]=fd,fd}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(pd,fd){this.rules.push([pd,fd]),fd.type==="begin"&&this.count++}exec(pd){const fd=this.getMatcher(this.regexIndex);fd.lastIndex=this.lastIndex;let md=fd.exec(pd);if(this.resumingScanAtSamePosition()&&!(md&&md.index===this.lastIndex)){const vd=this.getMatcher(0);vd.lastIndex=this.lastIndex+1,md=vd.exec(pd)}return md&&(this.regexIndex+=md.position+1,this.regexIndex===this.count&&this.considerAll()),md}}function ld(dd){const pd=new od;return dd.contains.forEach(fd=>pd.addRule(fd.begin,{rule:fd,type:"begin"})),dd.terminatorEnd&&pd.addRule(dd.terminatorEnd,{type:"end"}),dd.illegal&&pd.addRule(dd.illegal,{type:"illegal"}),pd}function ud(dd,pd){const fd=dd;if(dd.isCompiled)return fd;[scopeClassName,compileMatch,MultiClass,beforeMatchExt].forEach(vd=>vd(dd,pd)),Ra.compilerExtensions.forEach(vd=>vd(dd,pd)),dd.__beforeBegin=null,[beginKeywords,compileIllegal,compileRelevance].forEach(vd=>vd(dd,pd)),dd.isCompiled=!0;let md=null;return typeof dd.keywords=="object"&&dd.keywords.$pattern&&(dd.keywords=Object.assign({},dd.keywords),md=dd.keywords.$pattern,delete dd.keywords.$pattern),md=md||/\w+/,dd.keywords&&(dd.keywords=compileKeywords(dd.keywords,Ra.case_insensitive)),fd.keywordPatternRe=qa(md,!0),pd&&(dd.begin||(dd.begin=/\B|\b/),fd.beginRe=qa(fd.begin),!dd.end&&!dd.endsWithParent&&(dd.end=/\B|\b/),dd.end&&(fd.endRe=qa(fd.end)),fd.terminatorEnd=source(fd.end)||"",dd.endsWithParent&&pd.terminatorEnd&&(fd.terminatorEnd+=(dd.end?"|":"")+pd.terminatorEnd)),dd.illegal&&(fd.illegalRe=qa(dd.illegal)),dd.contains||(dd.contains=[]),dd.contains=[].concat(...dd.contains.map(function(vd){return expandOrCloneMode(vd==="self"?dd:vd)})),dd.contains.forEach(function(vd){ud(vd,fd)}),dd.starts&&ud(dd.starts,pd),fd.matcher=ld(fd),fd}if(Ra.compilerExtensions||(Ra.compilerExtensions=[]),Ra.contains&&Ra.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return Ra.classNameAliases=inherit$1(Ra.classNameAliases||{}),ud(Ra)}function dependencyOnParent(Ra){return Ra?Ra.endsWithParent||dependencyOnParent(Ra.starts):!1}function expandOrCloneMode(Ra){return Ra.variants&&!Ra.cachedVariants&&(Ra.cachedVariants=Ra.variants.map(function(qa){return inherit$1(Ra,{variants:null},qa)})),Ra.cachedVariants?Ra.cachedVariants:dependencyOnParent(Ra)?inherit$1(Ra,{starts:Ra.starts?inherit$1(Ra.starts):null}):Object.isFrozen(Ra)?inherit$1(Ra):Ra}var version$3="11.10.0";class HTMLInjectionError extends Error{constructor(qa,nd){super(qa),this.name="HTMLInjectionError",this.html=nd}}const escape$4=escapeHTML,inherit$2=inherit$1,NO_MATCH=Symbol("nomatch"),MAX_KEYWORD_HITS=7,HLJS=function(Ra){const qa=Object.create(null),nd=Object.create(null),od=[];let ld=!0;const ud="Could not find the language '{}', did you forget to load/include a language module?",dd={disableAutodetect:!0,name:"Plain text",contains:[]};let pd={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:TokenTreeEmitter};function fd(If){return pd.noHighlightRe.test(If)}function md(If){let Gf=If.className+" ";Gf+=If.parentNode?If.parentNode.className:"";const Qf=pd.languageDetectRe.exec(Gf);if(Qf){const Xf=Xd(Qf[1]);return Xf||(warn(ud.replace("{}",Qf[1])),warn("Falling back to no-highlight mode for this block.",If)),Xf?Qf[1]:"no-highlight"}return Gf.split(/\s+/).find(Xf=>fd(Xf)||Xd(Xf))}function vd(If,Gf,Qf){let Xf="",ph="";typeof Gf=="object"?(Xf=If,Qf=Gf.ignoreIllegals,ph=Gf.language):(deprecated("10.7.0","highlight(lang, code, ...args) has been deprecated."),deprecated("10.7.0",`Please use highlight(code, options) instead.
https://github.com/highlightjs/highlight.js/issues/2277`),ph=If,Xf=Gf),Qf===void 0&&(Qf=!0);const qf={code:Xf,language:ph};Ef("before:highlight",qf);const Lf=qf.result?qf.result:Ad(qf.language,qf.code,Qf);return Lf.code=qf.code,Ef("after:highlight",Lf),Lf}function Ad(If,Gf,Qf,Xf){const ph=Object.create(null);function qf(gm,Lm){return gm.keywords[Lm]}function Lf(){if(!Zf.keywords){Mh.addText(_h);return}let gm=0;Zf.keywordPatternRe.lastIndex=0;let Lm=Zf.keywordPatternRe.exec(_h),Vm="";for(;Lm;){Vm+=_h.substring(gm,Lm.index);const Th=uh.case_insensitive?Lm[0].toLowerCase():Lm[0],Rf=qf(Zf,Th);if(Rf){const[wf,sh]=Rf;if(Mh.addText(Vm),Vm="",ph[Th]=(ph[Th]||0)+1,ph[Th]<=MAX_KEYWORD_HITS&&(pm+=sh),wf.startsWith("_"))Vm+=Lm[0];else{const xh=uh.classNameAliases[wf]||wf;Kf(Lm[0],xh)}}else Vm+=Lm[0];gm=Zf.keywordPatternRe.lastIndex,Lm=Zf.keywordPatternRe.exec(_h)}Vm+=_h.substring(gm),Mh.addText(Vm)}function Wf(){if(_h==="")return;let gm=null;if(typeof Zf.subLanguage=="string"){if(!qa[Zf.subLanguage]){Mh.addText(_h);return}gm=Ad(Zf.subLanguage,_h,!0,mh[Zf.subLanguage]),mh[Zf.subLanguage]=gm._top}else gm=Od(_h,Zf.subLanguage.length?Zf.subLanguage:null);Zf.relevance>0&&(pm+=gm.relevance),Mh.__addSublanguage(gm._emitter,gm.language)}function Jf(){Zf.subLanguage!=null?Wf():Lf(),_h=""}function Kf(gm,Lm){gm!==""&&(Mh.startScope(Lm),Mh.addText(gm),Mh.endScope())}function Cf(gm,Lm){let Vm=1;const Th=Lm.length-1;for(;Vm<=Th;){if(!gm._emit[Vm]){Vm++;continue}const Rf=uh.classNameAliases[gm[Vm]]||gm[Vm],wf=Lm[Vm];Rf?Kf(wf,Rf):(_h=wf,Lf(),_h=""),Vm++}}function xf(gm,Lm){return gm.scope&&typeof gm.scope=="string"&&Mh.openNode(uh.classNameAliases[gm.scope]||gm.scope),gm.beginScope&&(gm.beginScope._wrap?(Kf(_h,uh.classNameAliases[gm.beginScope._wrap]||gm.beginScope._wrap),_h=""):gm.beginScope._multi&&(Cf(gm.beginScope,Lm),_h="")),Zf=Object.create(gm,{parent:{value:Zf}}),Zf}function Yf(gm,Lm,Vm){let Th=startsWith$1(gm.endRe,Vm);if(Th){if(gm["on:end"]){const Rf=new Response$1(gm);gm["on:end"](Lm,Rf),Rf.isMatchIgnored&&(Th=!1)}if(Th){for(;gm.endsParent&&gm.parent;)gm=gm.parent;return gm}}if(gm.endsWithParent)return Yf(gm.parent,Lm,Vm)}function dh(gm){return Zf.matcher.regexIndex===0?(_h+=gm[0],1):(Im=!0,0)}function Rh(gm){const Lm=gm[0],Vm=gm.rule,Th=new Response$1(Vm),Rf=[Vm.__beforeBegin,Vm["on:begin"]];for(const wf of Rf)if(wf&&(wf(gm,Th),Th.isMatchIgnored))return dh(Lm);return Vm.skip?_h+=Lm:(Vm.excludeBegin&&(_h+=Lm),Jf(),!Vm.returnBegin&&!Vm.excludeBegin&&(_h=Lm)),xf(Vm,gm),Vm.returnBegin?0:Lm.length}function th(gm){const Lm=gm[0],Vm=Gf.substring(gm.index),Th=Yf(Zf,gm,Vm);if(!Th)return NO_MATCH;const Rf=Zf;Zf.endScope&&Zf.endScope._wrap?(Jf(),Kf(Lm,Zf.endScope._wrap)):Zf.endScope&&Zf.endScope._multi?(Jf(),Cf(Zf.endScope,gm)):Rf.skip?_h+=Lm:(Rf.returnEnd||Rf.excludeEnd||(_h+=Lm),Jf(),Rf.excludeEnd&&(_h=Lm));do Zf.scope&&Mh.closeNode(),!Zf.skip&&!Zf.subLanguage&&(pm+=Zf.relevance),Zf=Zf.parent;while(Zf!==Th.parent);return Th.starts&&xf(Th.starts,gm),Rf.returnEnd?0:Lm.length}function Bf(){const gm=[];for(let Lm=Zf;Lm!==uh;Lm=Lm.parent)Lm.scope&&gm.unshift(Lm.scope);gm.forEach(Lm=>Mh.openNode(Lm))}let Sh={};function Fh(gm,Lm){const Vm=Lm&&Lm[0];if(_h+=gm,Vm==null)return Jf(),0;if(Sh.type==="begin"&&Lm.type==="end"&&Sh.index===Lm.index&&Vm===""){if(_h+=Gf.slice(Lm.index,Lm.index+1),!ld){const Th=new Error(`0 width match regex (${If})`);throw Th.languageName=If,Th.badRule=Sh.rule,Th}return 1}if(Sh=Lm,Lm.type==="begin")return Rh(Lm);if(Lm.type==="illegal"&&!Qf){const Th=new Error('Illegal lexeme "'+Vm+'" for mode "'+(Zf.scope||"<unnamed>")+'"');throw Th.mode=Zf,Th}else if(Lm.type==="end"){const Th=th(Lm);if(Th!==NO_MATCH)return Th}if(Lm.type==="illegal"&&Vm==="")return 1;if(Mm>1e5&&Mm>Lm.index*3)throw new Error("potential infinite loop, way more iterations than matches");return _h+=Vm,Vm.length}const uh=Xd(If);if(!uh)throw error(ud.replace("{}",If)),new Error('Unknown language: "'+If+'"');const Pf=compileLanguage(uh);let Uf="",Zf=Xf||Pf;const mh={},Mh=new pd.__emitter(pd);Bf();let _h="",pm=0,Jh=0,Mm=0,Im=!1;try{if(uh.__emitTokens)uh.__emitTokens(Gf,Mh);else{for(Zf.matcher.considerAll();;){Mm++,Im?Im=!1:Zf.matcher.considerAll(),Zf.matcher.lastIndex=Jh;const gm=Zf.matcher.exec(Gf);if(!gm)break;const Lm=Gf.substring(Jh,gm.index),Vm=Fh(Lm,gm);Jh=gm.index+Vm}Fh(Gf.substring(Jh))}return Mh.finalize(),Uf=Mh.toHTML(),{language:If,value:Uf,relevance:pm,illegal:!1,_emitter:Mh,_top:Zf}}catch(gm){if(gm.message&&gm.message.includes("Illegal"))return{language:If,value:escape$4(Gf),illegal:!0,relevance:0,_illegalBy:{message:gm.message,index:Jh,context:Gf.slice(Jh-100,Jh+100),mode:gm.mode,resultSoFar:Uf},_emitter:Mh};if(ld)return{language:If,value:escape$4(Gf),illegal:!1,relevance:0,errorRaised:gm,_emitter:Mh,_top:Zf};throw gm}}function Nd(If){const Gf={value:escape$4(If),illegal:!1,relevance:0,_top:dd,_emitter:new pd.__emitter(pd)};return Gf._emitter.addText(If),Gf}function Od(If,Gf){Gf=Gf||pd.languages||Object.keys(qa);const Qf=Nd(If),Xf=Gf.filter(Xd).filter(mf).map(Jf=>Ad(Jf,If,!1));Xf.unshift(Qf);const ph=Xf.sort((Jf,Kf)=>{if(Jf.relevance!==Kf.relevance)return Kf.relevance-Jf.relevance;if(Jf.language&&Kf.language){if(Xd(Jf.language).supersetOf===Kf.language)return 1;if(Xd(Kf.language).supersetOf===Jf.language)return-1}return 0}),[qf,Lf]=ph,Wf=qf;return Wf.secondBest=Lf,Wf}function kd(If,Gf,Qf){const Xf=Gf&&nd[Gf]||Qf;If.classList.add("hljs"),If.classList.add(`language-${Xf}`)}function Ld(If){let Gf=null;const Qf=md(If);if(fd(Qf))return;if(Ef("before:highlightElement",{el:If,language:Qf}),If.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",If);return}if(If.children.length>0&&(pd.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(If)),pd.throwUnescapedHTML))throw new HTMLInjectionError("One of your code blocks includes unescaped HTML.",If.innerHTML);Gf=If;const Xf=Gf.textContent,ph=Qf?vd(Xf,{language:Qf,ignoreIllegals:!0}):Od(Xf);If.innerHTML=ph.value,If.dataset.highlighted="yes",kd(If,Qf,ph.language),If.result={language:ph.language,re:ph.relevance,relevance:ph.relevance},ph.secondBest&&(If.secondBest={language:ph.secondBest.language,relevance:ph.secondBest.relevance}),Ef("after:highlightElement",{el:If,result:ph,text:Xf})}function Gd(If){pd=inherit$2(pd,If)}const jd=()=>{qd(),deprecated("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function Fd(){qd(),deprecated("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let Ud=!1;function qd(){if(document.readyState==="loading"){Ud=!0;return}document.querySelectorAll(pd.cssSelector).forEach(Ld)}function zd(){Ud&&qd()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",zd,!1);function Wd(If,Gf){let Qf=null;try{Qf=Gf(Ra)}catch(Xf){if(error("Language definition for '{}' could not be registered.".replace("{}",If)),ld)error(Xf);else throw Xf;Qf=dd}Qf.name||(Qf.name=If),qa[If]=Qf,Qf.rawDefinition=Gf.bind(null,Ra),Qf.aliases&&pf(Qf.aliases,{languageName:If})}function Jd(If){delete qa[If];for(const Gf of Object.keys(nd))nd[Gf]===If&&delete nd[Gf]}function _f(){return Object.keys(qa)}function Xd(If){return If=(If||"").toLowerCase(),qa[If]||qa[nd[If]]}function pf(If,{languageName:Gf}){typeof If=="string"&&(If=[If]),If.forEach(Qf=>{nd[Qf.toLowerCase()]=Gf})}function mf(If){const Gf=Xd(If);return Gf&&!Gf.disableAutodetect}function Sf(If){If["before:highlightBlock"]&&!If["before:highlightElement"]&&(If["before:highlightElement"]=Gf=>{If["before:highlightBlock"](Object.assign({block:Gf.el},Gf))}),If["after:highlightBlock"]&&!If["after:highlightElement"]&&(If["after:highlightElement"]=Gf=>{If["after:highlightBlock"](Object.assign({block:Gf.el},Gf))})}function Tf(If){Sf(If),od.push(If)}function Af(If){const Gf=od.indexOf(If);Gf!==-1&&od.splice(Gf,1)}function Ef(If,Gf){const Qf=If;od.forEach(function(Xf){Xf[Qf]&&Xf[Qf](Gf)})}function Nf(If){return deprecated("10.7.0","highlightBlock will be removed entirely in v12.0"),deprecated("10.7.0","Please use highlightElement now."),Ld(If)}Object.assign(Ra,{highlight:vd,highlightAuto:Od,highlightAll:qd,highlightElement:Ld,highlightBlock:Nf,configure:Gd,initHighlighting:jd,initHighlightingOnLoad:Fd,registerLanguage:Wd,unregisterLanguage:Jd,listLanguages:_f,getLanguage:Xd,registerAliases:pf,autoDetection:mf,inherit:inherit$2,addPlugin:Tf,removePlugin:Af}),Ra.debugMode=function(){ld=!1},Ra.safeMode=function(){ld=!0},Ra.versionString=version$3,Ra.regex={concat:concat$2,lookahead,either,optional,anyNumberOfTimes};for(const If in MODES)typeof MODES[If]=="object"&&deepFreeze(MODES[If]);return Object.assign(Ra,MODES),Ra},highlight=HLJS({});highlight.newInstance=()=>HLJS({});var core$2=highlight;highlight.HighlightJS=highlight;highlight.default=highlight;var _1c_1,hasRequired_1c;function require_1c(){if(hasRequired_1c)return _1c_1;hasRequired_1c=1;function Ra(qa){const nd="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+",ud="далее "+"возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",fd="загрузитьизфайла "+"вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент ",Od="разделительстраниц разделительстрок символтабуляции "+"ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон "+"acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища "+"wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",Xf="webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля "+"автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы "+"виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента "+"авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных "+"использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц "+"отображениевремениэлементовпланировщика "+"типфайлаформатированногодокумента "+"обходрезультатазапроса типзаписизапроса "+"видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов "+"доступкфайлу режимдиалогавыборафайла режимоткрытияфайла "+"типизмеренияпостроителязапроса "+"видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений "+"wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson "+"видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных "+"важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения "+"режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации "+"расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии "+"кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip "+"звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp "+"направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса "+"httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений "+"важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",Lf="comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных "+"comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ",Wf="null истина ложь неопределено",Jf=qa.inherit(qa.NUMBER_MODE),Kf={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},Cf={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},xf={match:/[;()+\-:=,]/,className:"punctuation",relevance:0},Yf=qa.inherit(qa.C_LINE_COMMENT_MODE),dh={className:"meta",begin:"#|&",end:"$",keywords:{$pattern:nd,keyword:ud+fd},contains:[Yf]},Rh={className:"symbol",begin:"~",end:";|:",excludeEnd:!0},th={className:"function",variants:[{begin:"процедура|функция",end:"\\)",keywords:"процедура функция"},{begin:"конецпроцедуры|конецфункции",keywords:"конецпроцедуры конецфункции"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:nd,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:nd,keyword:"знач",literal:Wf},contains:[Jf,Kf,Cf]},Yf]},qa.inherit(qa.TITLE_MODE,{begin:nd})]};return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:nd,keyword:ud,built_in:Od,class:Xf,type:Lf,literal:Wf},contains:[dh,th,Yf,Rh,Jf,Kf,Cf,xf]}}return _1c_1=Ra,_1c_1}var abnf_1,hasRequiredAbnf;function requireAbnf(){if(hasRequiredAbnf)return abnf_1;hasRequiredAbnf=1;function Ra(qa){const nd=qa.regex,od=/^[a-zA-Z][a-zA-Z0-9-]*/,ld=["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],ud=qa.COMMENT(/;/,/$/),dd={scope:"symbol",match:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/},pd={scope:"symbol",match:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/},fd={scope:"symbol",match:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/},md={scope:"symbol",match:/%[si](?=".*")/},vd={scope:"attribute",match:nd.concat(od,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:/[!@#$^&',?+~`|:]/,keywords:ld,contains:[{scope:"operator",match:/=\/?/},vd,ud,dd,pd,fd,md,qa.QUOTE_STRING_MODE,qa.NUMBER_MODE]}}return abnf_1=Ra,abnf_1}var accesslog_1,hasRequiredAccesslog;function requireAccesslog(){if(hasRequiredAccesslog)return accesslog_1;hasRequiredAccesslog=1;function Ra(qa){const nd=qa.regex,od=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5},{className:"number",begin:/\b\d+\b/,relevance:0},{className:"string",begin:nd.concat(/"/,nd.either(...od)),end:/"/,keywords:od,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]},{className:"string",begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0},{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3},{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}return accesslog_1=Ra,accesslog_1}var actionscript_1,hasRequiredActionscript;function requireActionscript(){if(hasRequiredActionscript)return actionscript_1;hasRequiredActionscript=1;function Ra(qa){const nd=qa.regex,od=/[a-zA-Z_$][a-zA-Z0-9_$]*/,ld=nd.concat(od,nd.concat("(\\.",od,")*")),ud=/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/,dd={className:"rest_arg",begin:/[.]{3}/,end:od,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:["as","break","case","catch","class","const","continue","default","delete","do","dynamic","each","else","extends","final","finally","for","function","get","if","implements","import","in","include","instanceof","interface","internal","is","namespace","native","new","override","package","private","protected","public","return","set","static","super","switch","this","throw","try","typeof","use","var","void","while","with"],literal:["true","false","null","undefined"]},contains:[qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.C_NUMBER_MODE,{match:[/\bpackage/,/\s+/,ld],className:{1:"keyword",3:"title.class"}},{match:[/\b(?:class|interface|extends|implements)/,/\s+/,od],className:{1:"keyword",3:"title.class"}},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{keyword:"import include"}},{beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[qa.inherit(qa.TITLE_MODE,{className:"title.function"}),{className:"params",begin:/\(/,end:/\)/,contains:[qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,dd]},{begin:nd.concat(/:\s*/,ud)}]},qa.METHOD_GUARD],illegal:/#/}}return actionscript_1=Ra,actionscript_1}var ada_1,hasRequiredAda;function requireAda(){if(hasRequiredAda)return ada_1;hasRequiredAda=1;function Ra(qa){const nd="\\d(_|\\d)*",od="[eE][-+]?"+nd,ld=nd+"(\\."+nd+")?("+od+")?",ud="\\w+",pd="\\b("+(nd+"#"+ud+"(\\."+ud+")?#("+od+")?")+"|"+ld+")",fd="[A-Za-z](_?[A-Za-z0-9.])*",md=`[]\\{\\}%#'"`,vd=qa.COMMENT("--","$"),Ad={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:md,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:fd,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:["abort","else","new","return","abs","elsif","not","reverse","abstract","end","accept","entry","select","access","exception","of","separate","aliased","exit","or","some","all","others","subtype","and","for","out","synchronized","array","function","overriding","at","tagged","generic","package","task","begin","goto","pragma","terminate","body","private","then","if","procedure","type","case","in","protected","constant","interface","is","raise","use","declare","range","delay","limited","record","when","delta","loop","rem","while","digits","renames","with","do","mod","requeue","xor"],literal:["True","False"]},contains:[vd,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:pd,relevance:0},{className:"symbol",begin:"'"+fd},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:md},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[vd,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:md},Ad,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:md}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:md},Ad]}}return ada_1=Ra,ada_1}var angelscript_1,hasRequiredAngelscript;function requireAngelscript(){if(hasRequiredAngelscript)return angelscript_1;hasRequiredAngelscript=1;function Ra(qa){const nd={className:"built_in",begin:"\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|uint32|uint64|uint|string|ref|array|double|float|auto|dictionary)"},od={className:"symbol",begin:"[a-zA-Z0-9_]+@"},ld={className:"keyword",begin:"<",end:">",contains:[nd,od]};return nd.contains=[ld],od.contains=[ld],{name:"AngelScript",aliases:["asc"],keywords:["for","in|0","break","continue","while","do|0","return","if","else","case","switch","namespace","is","cast","or","and","xor","not","get|0","in","inout|10","out","override","set|0","private","public","const","default|0","final","shared","external","mixin|10","enum","typedef","funcdef","this","super","import","from","interface","abstract|0","try","catch","protected","explicit","property"],illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[qa.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[qa.BACKSLASH_ESCAPE],relevance:0},qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,{className:"string",begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},nd,od,{className:"literal",begin:"\\b(null|true|false)"},{className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}return angelscript_1=Ra,angelscript_1}var apache_1,hasRequiredApache;function requireApache(){if(hasRequiredApache)return apache_1;hasRequiredApache=1;function Ra(qa){const nd={className:"number",begin:/[$%]\d+/},od={className:"number",begin:/\b\d+/},ld={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/},ud={className:"number",begin:/:\d{1,5}/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[qa.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[ld,ud,qa.inherit(qa.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{_:["order","deny","allow","setenv","rewriterule","rewriteengine","rewritecond","documentroot","sethandler","errordocument","loadmodule","options","header","listen","serverroot","servername"]},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",nd]},ld,od,qa.QUOTE_STRING_MODE]}}],illegal:/\S/}}return apache_1=Ra,apache_1}var applescript_1,hasRequiredApplescript;function requireApplescript(){if(hasRequiredApplescript)return applescript_1;hasRequiredApplescript=1;function Ra(qa){const nd=qa.regex,od=qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null}),ld={className:"params",begin:/\(/,end:/\)/,contains:["self",qa.C_NUMBER_MODE,od]},ud=qa.COMMENT(/--/,/$/),dd=qa.COMMENT(/\(\*/,/\*\)/,{contains:["self",ud]}),pd=[ud,dd,qa.HASH_COMMENT_MODE],fd=[/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/],md=[/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name|0 paragraph paragraphs rest reverse running time version weekday word words year"},contains:[od,qa.C_NUMBER_MODE,{className:"built_in",begin:nd.concat(/\b/,nd.either(...md),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:nd.concat(/\b/,nd.either(...fd),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[qa.UNDERSCORE_TITLE_MODE,ld]},...pd],illegal:/\/\/|->|=>|\[\[/}}return applescript_1=Ra,applescript_1}var arcade_1,hasRequiredArcade;function requireArcade(){if(hasRequiredArcade)return arcade_1;hasRequiredArcade=1;function Ra(qa){const nd=qa.regex,od="[A-Za-z_][0-9A-Za-z_]*",ld={keyword:["break","case","catch","continue","debugger","do","else","export","for","function","if","import","in","new","return","switch","try","var","void","while"],literal:["BackSlash","DoubleQuote","ForwardSlash","Infinity","NaN","NewLine","PI","SingleQuote","Tab","TextFormatting","false","null","true","undefined"],built_in:["Abs","Acos","All","Angle","Any","Area","AreaGeodetic","Array","Asin","Atan","Atan2","Attachments","Average","Back","Bearing","Boolean","Buffer","BufferGeodetic","Ceil","Centroid","ChangeTimeZone","Clip","Concatenate","Console","Constrain","Contains","ConvertDirection","ConvexHull","Cos","Count","Crosses","Cut","Date|0","DateAdd","DateDiff","DateOnly","Day","Decode","DefaultValue","Densify","DensifyGeodetic","Dictionary","Difference","Disjoint","Distance","DistanceGeodetic","Distinct","Domain","DomainCode","DomainName","EnvelopeIntersects","Equals","Erase","Exp","Expects","Extent","Feature","FeatureSet","FeatureSetByAssociation","FeatureSetById","FeatureSetByName","FeatureSetByPortalItem","FeatureSetByRelationshipClass","FeatureSetByRelationshipName","Filter","Find","First|0","Floor","FromCharCode","FromCodePoint","FromJSON","Front","GdbVersion","Generalize","Geometry","GetEnvironment","GetFeatureSet","GetFeatureSetInfo","GetUser","GroupBy","Guid","HasKey","HasValue","Hash","Hour","IIf","ISOMonth","ISOWeek","ISOWeekday","ISOYear","Includes","IndexOf","Insert","Intersection","Intersects","IsEmpty","IsNan","IsSelfIntersecting","IsSimple","Left|0","Length","Length3D","LengthGeodetic","Log","Lower","Map","Max","Mean","Mid","Millisecond","Min","Minute","Month","MultiPartToSinglePart","Multipoint","NearestCoordinate","NearestVertex","NextSequenceValue","None","Now","Number","Offset","OrderBy","Overlaps","Point","Polygon","Polyline","Pop","Portal","Pow","Proper","Push","Random","Reduce","Relate","Replace","Resize","Reverse","Right|0","RingIsClockwise","Rotate","Round","Schema","Second","SetGeometry","Simplify","Sin","Slice","Sort","Splice","Split","Sqrt","StandardizeGuid","Stdev","SubtypeCode","SubtypeName","Subtypes","Sum","SymmetricDifference","Tan","Text","Time","TimeZone","TimeZoneOffset","Timestamp","ToCharCode","ToCodePoint","ToHex","ToLocal","ToUTC","Today","Top|0","Touches","TrackAccelerationAt","TrackAccelerationWindow","TrackCurrentAcceleration","TrackCurrentDistance","TrackCurrentSpeed","TrackCurrentTime","TrackDistanceAt","TrackDistanceWindow","TrackDuration","TrackFieldWindow","TrackGeometryWindow","TrackIndex","TrackSpeedAt","TrackSpeedWindow","TrackStartTime","TrackWindow","Trim","TypeOf","Union","Upper","UrlEncode","Variance","Week","Weekday","When|0","Within","Year|0"]},ud=["aggregatedFeatures","analytic","config","datapoint","datastore","editcontext","feature","featureSet","feedfeature","fencefeature","fencenotificationtype","join","layer","locationupdate","map","measure","measure","originalFeature","record","reference","rowindex","sourcedatastore","sourcefeature","sourcelayer","target","targetdatastore","targetfeature","targetlayer","value","view"],dd={className:"symbol",begin:"\\$"+nd.either(...ud)},pd={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:qa.C_NUMBER_RE}],relevance:0},fd={className:"subst",begin:"\\$\\{",end:"\\}",keywords:ld,contains:[]},md={className:"string",begin:"`",end:"`",contains:[qa.BACKSLASH_ESCAPE,fd]};fd.contains=[qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,md,pd,qa.REGEXP_MODE];const vd=fd.contains.concat([qa.C_BLOCK_COMMENT_MODE,qa.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",case_insensitive:!0,keywords:ld,contains:[qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,md,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,dd,pd,{begin:/[{,]\s*/,relevance:0,contains:[{begin:od+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:od,relevance:0}]}]},{begin:"("+qa.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+od+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:od},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:ld,contains:vd}]}]}],relevance:0},{beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[qa.inherit(qa.TITLE_MODE,{className:"title.function",begin:od}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:vd}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}return arcade_1=Ra,arcade_1}var arduino_1,hasRequiredArduino;function requireArduino(){if(hasRequiredArduino)return arduino_1;hasRequiredArduino=1;function Ra(nd){const od=nd.regex,ld=nd.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),ud="decltype\\(auto\\)",dd="[a-zA-Z_]\\w*::",fd="(?!struct)("+ud+"|"+od.optional(dd)+"[a-zA-Z_]\\w*"+od.optional("<[^<>]+>")+")",md={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},Ad={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[nd.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},nd.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},Nd={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},Od={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},nd.inherit(Ad,{className:"string"}),{className:"string",begin:/<.*?>/},ld,nd.C_BLOCK_COMMENT_MODE]},kd={className:"title",begin:od.optional(dd)+nd.IDENT_RE,relevance:0},Ld=od.optional(dd)+nd.IDENT_RE+"\\s*\\(",Gd=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],jd=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],Fd=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],Ud=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],Wd={type:jd,keyword:Gd,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:Fd},Jd={className:"function.dispatch",relevance:0,keywords:{_hint:Ud},begin:od.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,nd.IDENT_RE,od.lookahead(/(<[^<>]+>|)\s*\(/))},_f=[Jd,Od,md,ld,nd.C_BLOCK_COMMENT_MODE,Nd,Ad],Xd={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:Wd,contains:_f.concat([{begin:/\(/,end:/\)/,keywords:Wd,contains:_f.concat(["self"]),relevance:0}]),relevance:0},pf={className:"function",begin:"("+fd+"[\\*&\\s]+)+"+Ld,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:Wd,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:ud,keywords:Wd,relevance:0},{begin:Ld,returnBegin:!0,contains:[kd],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[Ad,Nd]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:Wd,relevance:0,contains:[ld,nd.C_BLOCK_COMMENT_MODE,Ad,Nd,md,{begin:/\(/,end:/\)/,keywords:Wd,relevance:0,contains:["self",ld,nd.C_BLOCK_COMMENT_MODE,Ad,Nd,md]}]},md,ld,nd.C_BLOCK_COMMENT_MODE,Od]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:Wd,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(Xd,pf,Jd,_f,[Od,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)",end:">",keywords:Wd,contains:["self",md]},{begin:nd.IDENT_RE+"::",keywords:Wd},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function qa(nd){const od={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},ld=Ra(nd),ud=ld.keywords;return ud.type=[...ud.type,...od.type],ud.literal=[...ud.literal,...od.literal],ud.built_in=[...ud.built_in,...od.built_in],ud._hints=od._hints,ld.name="Arduino",ld.aliases=["ino"],ld.supersetOf="cpp",ld}return arduino_1=qa,arduino_1}var armasm_1,hasRequiredArmasm;function requireArmasm(){if(hasRequiredArmasm)return armasm_1;hasRequiredArmasm=1;function Ra(qa){const nd={variants:[qa.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),qa.COMMENT("[;@]","$",{relevance:0}),qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+qa.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 w0 w1 w2 w3 w4 w5 w6 w7 w8 w9 w10 w11 w12 w13 w14 w15 w16 w17 w18 w19 w20 w21 w22 w23 w24 w25 w26 w27 w28 w29 w30 x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 x17 x18 x19 x20 x21 x22 x23 x24 x25 x26 x27 x28 x29 x30 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},nd,qa.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}return armasm_1=Ra,armasm_1}var xml_1,hasRequiredXml$1;function requireXml$1(){if(hasRequiredXml$1)return xml_1;hasRequiredXml$1=1;function Ra(qa){const nd=qa.regex,od=nd.concat(/[\p{L}_]/u,nd.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),ld=/[\p{L}0-9._:-]+/u,ud={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},dd={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},pd=qa.inherit(dd,{begin:/\(/,end:/\)/}),fd=qa.inherit(qa.APOS_STRING_MODE,{className:"string"}),md=qa.inherit(qa.QUOTE_STRING_MODE,{className:"string"}),vd={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:ld,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[ud]},{begin:/'/,end:/'/,contains:[ud]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[dd,md,fd,pd,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[dd,pd,md,fd]}]}]},qa.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},ud,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[md]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[vd],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[vd],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:nd.concat(/</,nd.lookahead(nd.concat(od,nd.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:od,relevance:0,starts:vd}]},{className:"tag",begin:nd.concat(/<\//,nd.lookahead(nd.concat(od,/>/))),contains:[{className:"name",begin:od,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return xml_1=Ra,xml_1}var asciidoc_1,hasRequiredAsciidoc;function requireAsciidoc(){if(hasRequiredAsciidoc)return asciidoc_1;hasRequiredAsciidoc=1;function Ra(qa){const nd=qa.regex,od={begin:"^'{3,}[ \\t]*$",relevance:10},ld=[{begin:/\\[*_`]/},{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/},{begin:/[:;}][*_`](?![*_`])/}],ud=[{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/},{className:"strong",begin:nd.concat(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],dd=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:nd.concat(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0},{className:"emphasis",begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/},{className:"emphasis",begin:/_[^\s]([^\n]+\n)+([^\n]+)_/},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}],pd={className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},fd={className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"};return{name:"AsciiDoc",aliases:["adoc"],contains:[qa.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),qa.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ ].+?([ ]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},fd,pd,...ld,...ud,...dd,{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},od,{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}return asciidoc_1=Ra,asciidoc_1}var aspectj_1,hasRequiredAspectj;function requireAspectj(){if(hasRequiredAspectj)return aspectj_1;hasRequiredAspectj=1;function Ra(qa){const nd=qa.regex,od=["false","synchronized","int","abstract","float","private","char","boolean","static","null","if","const","for","true","while","long","throw","strictfp","finally","protected","import","native","final","return","void","enum","else","extends","implements","break","transient","new","catch","instanceof","byte","super","volatile","case","assert","short","package","default","double","public","try","this","switch","continue","throws","privileged","aspectOf","adviceexecution","proceed","cflowbelow","cflow","initialization","preinitialization","staticinitialization","withincode","target","within","execution","getWithinTypeName","handler","thisJoinPoint","thisJoinPointStaticPart","thisEnclosingJoinPointStaticPart","declare","parents","warning","error","soft","precedence","thisAspectInstance"],ld=["get","set","args","call"];return{name:"AspectJ",keywords:od,illegal:/<\/|#/,contains:[qa.COMMENT(/\/\*\*/,/\*\//,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:/@[A-Za-z]+/}]}),qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},qa.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:od.concat(ld),excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},qa.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:nd.concat(qa.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,contains:[qa.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:od,illegal:/["\[\]]/,contains:[{begin:nd.concat(qa.UNDERSCORE_IDENT_RE,/\s*\(/),keywords:od.concat(ld),relevance:0},qa.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:od,excludeEnd:!0,contains:[{begin:nd.concat(qa.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,relevance:0,contains:[qa.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:od,contains:[qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,qa.C_NUMBER_MODE,qa.C_BLOCK_COMMENT_MODE]},qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]},qa.C_NUMBER_MODE,{className:"meta",begin:/@[A-Za-z]+/}]}}return aspectj_1=Ra,aspectj_1}var autohotkey_1,hasRequiredAutohotkey;function requireAutohotkey(){if(hasRequiredAutohotkey)return autohotkey_1;hasRequiredAutohotkey=1;function Ra(qa){const nd={begin:"`[\\s\\S]"};return{name:"AutoHotkey",case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[nd,qa.inherit(qa.QUOTE_STRING_MODE,{contains:[nd]}),qa.COMMENT(";","$",{relevance:0}),qa.C_BLOCK_COMMENT_MODE,{className:"number",begin:qa.NUMBER_RE,relevance:0},{className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{begin:",\\s*,"}]}}return autohotkey_1=Ra,autohotkey_1}var autoit_1,hasRequiredAutoit;function requireAutoit(){if(hasRequiredAutoit)return autoit_1;hasRequiredAutoit=1;function Ra(qa){const nd="ByRef Case Const ContinueCase ContinueLoop Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",od=["EndRegion","forcedef","forceref","ignorefunc","include","include-once","NoTrayIcon","OnAutoItStartRegister","pragma","Region","RequireAdmin","Tidy_Off","Tidy_On","Tidy_Parameters"],ld="True False And Null Not Or Default",ud="Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive",dd={variants:[qa.COMMENT(";","$",{relevance:0}),qa.COMMENT("#cs","#ce"),qa.COMMENT("#comments-start","#comments-end")]},pd={begin:"\\$[A-z0-9_]+"},fd={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},md={variants:[qa.BINARY_NUMBER_MODE,qa.C_NUMBER_MODE]},vd={className:"meta",begin:"#",end:"$",keywords:{keyword:od},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{keyword:"include"},end:"$",contains:[fd,{className:"string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},fd,dd]},Ad={className:"symbol",begin:"@[A-z0-9_]+"},Nd={beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[qa.inherit(qa.UNDERSCORE_TITLE_MODE,{className:"title.function"}),{className:"params",begin:"\\(",end:"\\)",contains:[pd,fd,md]}]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:nd,built_in:ud,literal:ld},contains:[dd,pd,fd,md,vd,Ad,Nd]}}return autoit_1=Ra,autoit_1}var avrasm_1,hasRequiredAvrasm;function requireAvrasm(){if(hasRequiredAvrasm)return avrasm_1;hasRequiredAvrasm=1;function Ra(qa){return{name:"AVR Assembly",case_insensitive:!0,keywords:{$pattern:"\\.?"+qa.IDENT_RE,keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[qa.C_BLOCK_COMMENT_MODE,qa.COMMENT(";","$",{relevance:0}),qa.C_NUMBER_MODE,qa.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},qa.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{className:"subst",begin:"@[0-9]+"}]}}return avrasm_1=Ra,avrasm_1}var awk_1,hasRequiredAwk;function requireAwk(){if(hasRequiredAwk)return awk_1;hasRequiredAwk=1;function Ra(qa){const nd={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},od="BEGIN END if else while do for in break continue delete next nextfile function func exit|10",ld={className:"string",contains:[qa.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE]};return{name:"Awk",keywords:{keyword:od},contains:[nd,ld,qa.REGEXP_MODE,qa.HASH_COMMENT_MODE,qa.NUMBER_MODE]}}return awk_1=Ra,awk_1}var axapta_1,hasRequiredAxapta;function requireAxapta(){if(hasRequiredAxapta)return axapta_1;hasRequiredAxapta=1;function Ra(qa){const nd=qa.UNDERSCORE_IDENT_RE,dd={keyword:["abstract","as","asc","avg","break","breakpoint","by","byref","case","catch","changecompany","class","client","client","common","const","continue","count","crosscompany","delegate","delete_from","desc","display","div","do","edit","else","eventhandler","exists","extends","final","finally","firstfast","firstonly","firstonly1","firstonly10","firstonly100","firstonly1000","flush","for","forceliterals","forcenestedloop","forceplaceholders","forceselectorder","forupdate","from","generateonly","group","hint","if","implements","in","index","insert_recordset","interface","internal","is","join","like","maxof","minof","mod","namespace","new","next","nofetch","notexists","optimisticlock","order","outer","pessimisticlock","print","private","protected","public","readonly","repeatableread","retry","return","reverse","select","server","setting","static","sum","super","switch","this","throw","try","ttsabort","ttsbegin","ttscommit","unchecked","update_recordset","using","validtimestate","void","where","while"],built_in:["anytype","boolean","byte","char","container","date","double","enum","guid","int","int64","long","real","short","str","utcdatetime","var"],literal:["default","false","null","true"]},pd={variants:[{match:[/(class|interface)\s+/,nd,/\s+(extends|implements)\s+/,nd]},{match:[/class\s+/,nd]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:dd};return{name:"X++",aliases:["x++"],keywords:dd,contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,qa.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},pd]}}return axapta_1=Ra,axapta_1}var bash_1,hasRequiredBash;function requireBash(){if(hasRequiredBash)return bash_1;hasRequiredBash=1;function Ra(qa){const nd=qa.regex,od={},ld={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[od]}]};Object.assign(od,{className:"variable",variants:[{begin:nd.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},ld]});const ud={className:"subst",begin:/\$\(/,end:/\)/,contains:[qa.BACKSLASH_ESCAPE]},dd=qa.inherit(qa.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),pd={begin:/<<-?\s*(?=\w+)/,starts:{contains:[qa.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},fd={className:"string",begin:/"/,end:/"/,contains:[qa.BACKSLASH_ESCAPE,od,ud]};ud.contains.push(fd);const md={match:/\\"/},vd={className:"string",begin:/'/,end:/'/},Ad={match:/\\'/},Nd={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},qa.NUMBER_MODE,od]},Od=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],kd=qa.SHEBANG({binary:`(${Od.join("|")})`,relevance:10}),Ld={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[qa.inherit(qa.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},Gd=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],jd=["true","false"],Fd={match:/(\/[a-z._-]+)+/},Ud=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],qd=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],zd=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],Wd=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:Gd,literal:jd,built_in:[...Ud,...qd,"set","shopt",...zd,...Wd]},contains:[kd,qa.SHEBANG(),Ld,Nd,dd,pd,Fd,fd,md,vd,Ad,od]}}return bash_1=Ra,bash_1}var basic_1,hasRequiredBasic;function requireBasic(){if(hasRequiredBasic)return basic_1;hasRequiredBasic=1;function Ra(qa){return{name:"BASIC",case_insensitive:!0,illegal:"^.",keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keyword:["ABS","ASC","AND","ATN","AUTO|0","BEEP","BLOAD|10","BSAVE|10","CALL","CALLS","CDBL","CHAIN","CHDIR","CHR$|10","CINT","CIRCLE","CLEAR","CLOSE","CLS","COLOR","COM","COMMON","CONT","COS","CSNG","CSRLIN","CVD","CVI","CVS","DATA","DATE$","DEFDBL","DEFINT","DEFSNG","DEFSTR","DEF|0","SEG","USR","DELETE","DIM","DRAW","EDIT","END","ENVIRON","ENVIRON$","EOF","EQV","ERASE","ERDEV","ERDEV$","ERL","ERR","ERROR","EXP","FIELD","FILES","FIX","FOR|0","FRE","GET","GOSUB|10","GOTO","HEX$","IF","THEN","ELSE|0","INKEY$","INP","INPUT","INPUT#","INPUT$","INSTR","IMP","INT","IOCTL","IOCTL$","KEY","ON","OFF","LIST","KILL","LEFT$","LEN","LET","LINE","LLIST","LOAD","LOC","LOCATE","LOF","LOG","LPRINT","USING","LSET","MERGE","MID$","MKDIR","MKD$","MKI$","MKS$","MOD","NAME","NEW","NEXT","NOISE","NOT","OCT$","ON","OR","PEN","PLAY","STRIG","OPEN","OPTION","BASE","OUT","PAINT","PALETTE","PCOPY","PEEK","PMAP","POINT","POKE","POS","PRINT","PRINT]","PSET","PRESET","PUT","RANDOMIZE","READ","REM","RENUM","RESET|0","RESTORE","RESUME","RETURN|0","RIGHT$","RMDIR","RND","RSET","RUN","SAVE","SCREEN","SGN","SHELL","SIN","SOUND","SPACE$","SPC","SQR","STEP","STICK","STOP","STR$","STRING$","SWAP","SYSTEM","TAB","TAN","TIME$","TIMER","TROFF","TRON","TO","USR","VAL","VARPTR","VARPTR$","VIEW","WAIT","WHILE","WEND","WIDTH","WINDOW","WRITE","XOR"]},contains:[qa.QUOTE_STRING_MODE,qa.COMMENT("REM","$",{relevance:10}),qa.COMMENT("'","$",{relevance:0}),{className:"symbol",begin:"^[0-9]+ ",relevance:10},{className:"number",begin:"\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",relevance:0},{className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{className:"number",begin:"(&[oO][0-7]{1,6})"}]}}return basic_1=Ra,basic_1}var bnf_1,hasRequiredBnf;function requireBnf(){if(hasRequiredBnf)return bnf_1;hasRequiredBnf=1;function Ra(qa){return{name:"BackusNaur Form",contains:[{className:"attribute",begin:/</,end:/>/},{begin:/::=/,end:/$/,contains:[{begin:/</,end:/>/},qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE]}]}}return bnf_1=Ra,bnf_1}var brainfuck_1,hasRequiredBrainfuck;function requireBrainfuck(){if(hasRequiredBrainfuck)return brainfuck_1;hasRequiredBrainfuck=1;function Ra(qa){const nd={className:"literal",begin:/[+-]+/,relevance:0};return{name:"Brainfuck",aliases:["bf"],contains:[qa.COMMENT(/[^\[\]\.,\+\-<> \r\n]/,/[\[\]\.,\+\-<> \r\n]/,{contains:[{match:/[ ]+[^\[\]\.,\+\-<> \r\n]/,relevance:0}],returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?=\+\+|--)/,contains:[nd]},nd]}}return brainfuck_1=Ra,brainfuck_1}var c_1,hasRequiredC;function requireC(){if(hasRequiredC)return c_1;hasRequiredC=1;function Ra(qa){const nd=qa.regex,od=qa.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),ld="decltype\\(auto\\)",ud="[a-zA-Z_]\\w*::",pd="("+ld+"|"+nd.optional(ud)+"[a-zA-Z_]\\w*"+nd.optional("<[^<>]+>")+")",fd={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},vd={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[qa.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},qa.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},Ad={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},Nd={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include"},contains:[{begin:/\\\n/,relevance:0},qa.inherit(vd,{className:"string"}),{className:"string",begin:/<.*?>/},od,qa.C_BLOCK_COMMENT_MODE]},Od={className:"title",begin:nd.optional(ud)+qa.IDENT_RE,relevance:0},kd=nd.optional(ud)+qa.IDENT_RE+"\\s*\\(",jd={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","typeof","typeof_unqual","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_BitInt","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal96","_Decimal128","_Decimal64x","_Decimal128x","_Float16","_Float32","_Float64","_Float128","_Float32x","_Float64x","_Float128x","const","static","constexpr","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},Fd=[Nd,fd,od,qa.C_BLOCK_COMMENT_MODE,Ad,vd],Ud={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:jd,contains:Fd.concat([{begin:/\(/,end:/\)/,keywords:jd,contains:Fd.concat(["self"]),relevance:0}]),relevance:0},qd={begin:"("+pd+"[\\*&\\s]+)+"+kd,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:jd,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:ld,keywords:jd,relevance:0},{begin:kd,returnBegin:!0,contains:[qa.inherit(Od,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:jd,relevance:0,contains:[od,qa.C_BLOCK_COMMENT_MODE,vd,Ad,fd,{begin:/\(/,end:/\)/,keywords:jd,relevance:0,contains:["self",od,qa.C_BLOCK_COMMENT_MODE,vd,Ad,fd]}]},fd,od,qa.C_BLOCK_COMMENT_MODE,Nd]};return{name:"C",aliases:["h"],keywords:jd,disableAutodetect:!0,illegal:"</",contains:[].concat(Ud,qd,Fd,[Nd,{begin:qa.IDENT_RE+"::",keywords:jd},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},qa.TITLE_MODE]}]),exports:{preprocessor:Nd,strings:vd,keywords:jd}}}return c_1=Ra,c_1}var cal_1,hasRequiredCal;function requireCal(){if(hasRequiredCal)return cal_1;hasRequiredCal=1;function Ra(qa){const nd=qa.regex,od=["div","mod","in","and","or","not","xor","asserterror","begin","case","do","downto","else","end","exit","for","local","if","of","repeat","then","to","until","while","with","var"],ld="false true",ud=[qa.C_LINE_COMMENT_MODE,qa.COMMENT(/\{/,/\}/,{relevance:0}),qa.COMMENT(/\(\*/,/\*\)/,{relevance:10})],dd={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},pd={className:"string",begin:/(#\d+)+/},fd={className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},md={className:"string",begin:'"',end:'"'},vd={match:[/procedure/,/\s+/,/[a-zA-Z_][\w@]*/,/\s*/],scope:{1:"keyword",3:"title.function"},contains:[{className:"params",begin:/\(/,end:/\)/,keywords:od,contains:[dd,pd,qa.NUMBER_MODE]},...ud]},Ad=["Table","Form","Report","Dataport","Codeunit","XMLport","MenuSuite","Page","Query"],Nd={match:[/OBJECT/,/\s+/,nd.either(...Ad),/\s+/,/\d+/,/\s+(?=[^\s])/,/.*/,/$/],relevance:3,scope:{1:"keyword",3:"type",5:"number",7:"title"}};return{name:"C/AL",case_insensitive:!0,keywords:{keyword:od,literal:ld},illegal:/\/\*/,contains:[{match:/[\w]+(?=\=)/,scope:"attribute",relevance:0},dd,pd,fd,md,qa.NUMBER_MODE,Nd,vd]}}return cal_1=Ra,cal_1}var capnproto_1,hasRequiredCapnproto;function requireCapnproto(){if(hasRequiredCapnproto)return capnproto_1;hasRequiredCapnproto=1;function Ra(qa){const nd=["struct","enum","interface","union","group","import","using","const","annotation","extends","in","of","on","as","with","from","fixed"],od=["Void","Bool","Int8","Int16","Int32","Int64","UInt8","UInt16","UInt32","UInt64","Float32","Float64","Text","Data","AnyPointer","AnyStruct","Capability","List"],ld=["true","false"],ud={variants:[{match:[/(struct|enum|interface)/,/\s+/,qa.IDENT_RE]},{match:[/extends/,/\s*\(/,qa.IDENT_RE,/\s*\)/]}],scope:{1:"keyword",3:"title.class"}};return{name:"Capn Proto",aliases:["capnp"],keywords:{keyword:nd,type:od,literal:ld},contains:[qa.QUOTE_STRING_MODE,qa.NUMBER_MODE,qa.HASH_COMMENT_MODE,{className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol",begin:/@\d+\b/},ud]}}return capnproto_1=Ra,capnproto_1}var ceylon_1,hasRequiredCeylon;function requireCeylon(){if(hasRequiredCeylon)return ceylon_1;hasRequiredCeylon=1;function Ra(qa){const nd=["assembly","module","package","import","alias","class","interface","object","given","value","assign","void","function","new","of","extends","satisfies","abstracts","in","out","return","break","continue","throw","assert","dynamic","if","else","switch","case","for","while","try","catch","finally","then","let","this","outer","super","is","exists","nonempty"],od=["shared","abstract","formal","default","actual","variable","late","native","deprecated","final","sealed","annotation","suppressWarnings","small"],ld=["doc","by","license","see","throws","tagged"],ud={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:nd,relevance:10},dd=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[ud]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return ud.contains=dd,{name:"Ceylon",keywords:{keyword:nd.concat(od),meta:ld},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[qa.C_LINE_COMMENT_MODE,qa.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"meta",begin:'@[a-z]\\w*(?::"[^"]*")?'}].concat(dd)}}return ceylon_1=Ra,ceylon_1}var clean_1,hasRequiredClean;function requireClean(){if(hasRequiredClean)return clean_1;hasRequiredClean=1;function Ra(qa){return{name:"Clean",aliases:["icl","dcl"],keywords:{keyword:["if","let","in","with","where","case","of","class","instance","otherwise","implementation","definition","system","module","from","import","qualified","as","special","code","inline","foreign","export","ccall","stdcall","generic","derive","infix","infixl","infixr"],built_in:"Int Real Char Bool",literal:"True False"},contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,qa.C_NUMBER_MODE,{begin:"->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"}]}}return clean_1=Ra,clean_1}var clojure_1,hasRequiredClojure;function requireClojure(){if(hasRequiredClojure)return clojure_1;hasRequiredClojure=1;function Ra(qa){const nd="a-zA-Z_\\-!.?+*=<>&'",od="[#]?["+nd+"]["+nd+"0-9/;:$#]*",ld="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",ud={$pattern:od,built_in:ld+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},dd={begin:od,relevance:0},pd={scope:"number",relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/},{match:/[-+]?0[0-7]+N?/},{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/},{match:/[-+]?[0-9]+\/[0-9]+N?/},{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/},{match:/[-+]?([1-9][0-9]*|0)N?/}]},fd={scope:"character",variants:[{match:/\\o[0-3]?[0-7]{1,2}/},{match:/\\u[0-9a-fA-F]{4}/},{match:/\\(newline|space|tab|formfeed|backspace|return)/},{match:/\\\S/,relevance:0}]},md={scope:"regex",begin:/#"/,end:/"/,contains:[qa.BACKSLASH_ESCAPE]},vd=qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null}),Ad={scope:"punctuation",match:/,/,relevance:0},Nd=qa.COMMENT(";","$",{relevance:0}),Od={className:"literal",begin:/\b(true|false|nil)\b/},kd={begin:"\\[|(#::?"+od+")?\\{",end:"[\\]\\}]",relevance:0},Ld={className:"symbol",begin:"[:]{1,2}"+od},Gd={begin:"\\(",end:"\\)"},jd={endsWithParent:!0,relevance:0},Fd={keywords:ud,className:"name",begin:od,relevance:0,starts:jd},Ud=[Ad,Gd,fd,md,vd,Nd,Ld,kd,pd,Od,dd],qd={beginKeywords:ld,keywords:{$pattern:od,keyword:ld},end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:od,relevance:0,excludeEnd:!0,endsParent:!0}].concat(Ud)};return Gd.contains=[qd,Fd,jd],jd.contains=Ud,kd.contains=Ud,{name:"Clojure",aliases:["clj","edn"],illegal:/\S/,contains:[Ad,Gd,fd,md,vd,Nd,Ld,kd,pd,Od]}}return clojure_1=Ra,clojure_1}var clojureRepl_1,hasRequiredClojureRepl;function requireClojureRepl(){if(hasRequiredClojureRepl)return clojureRepl_1;hasRequiredClojureRepl=1;function Ra(qa){return{name:"Clojure REPL",contains:[{className:"meta.prompt",begin:/^([\w.-]+|\s*#_)?=>/,starts:{end:/$/,subLanguage:"clojure"}}]}}return clojureRepl_1=Ra,clojureRepl_1}var cmake_1,hasRequiredCmake;function requireCmake(){if(hasRequiredCmake)return cmake_1;hasRequiredCmake=1;function Ra(qa){return{name:"CMake",aliases:["cmake.in"],case_insensitive:!0,keywords:{keyword:"break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while add_compile_definitions add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_link_options add_subdirectory add_test aux_source_directory build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group target_compile_definitions target_compile_features target_compile_options target_include_directories target_link_directories target_link_libraries target_link_options target_sources try_compile try_run ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ctest_test ctest_update ctest_upload build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"},contains:[{className:"variable",begin:/\$\{/,end:/\}/},qa.COMMENT(/#\[\[/,/]]/),qa.HASH_COMMENT_MODE,qa.QUOTE_STRING_MODE,qa.NUMBER_MODE]}}return cmake_1=Ra,cmake_1}var coffeescript_1,hasRequiredCoffeescript;function requireCoffeescript(){if(hasRequiredCoffeescript)return coffeescript_1;hasRequiredCoffeescript=1;const Ra=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],qa=["true","false","null","undefined","NaN","Infinity"],nd=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],od=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],ld=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],ud=[].concat(ld,nd,od);function dd(pd){const fd=["npm","print"],md=["yes","no","on","off"],vd=["then","unless","until","loop","by","when","and","or","is","isnt","not"],Ad=["var","const","let","function","static"],Nd=zd=>Wd=>!zd.includes(Wd),Od={keyword:Ra.concat(vd).filter(Nd(Ad)),literal:qa.concat(md),built_in:ud.concat(fd)},kd="[A-Za-z$_][0-9A-Za-z$_]*",Ld={className:"subst",begin:/#\{/,end:/\}/,keywords:Od},Gd=[pd.BINARY_NUMBER_MODE,pd.inherit(pd.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[pd.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[pd.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[pd.BACKSLASH_ESCAPE,Ld]},{begin:/"/,end:/"/,contains:[pd.BACKSLASH_ESCAPE,Ld]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[Ld,pd.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+kd},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];Ld.contains=Gd;const jd=pd.inherit(pd.TITLE_MODE,{begin:kd}),Fd="(\\(.*\\)\\s*)?\\B[-=]>",Ud={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:Od,contains:["self"].concat(Gd)}]},qd={variants:[{match:[/class\s+/,kd,/\s+extends\s+/,kd]},{match:[/class\s+/,kd]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:Od};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:Od,illegal:/\/\*/,contains:[...Gd,pd.COMMENT("###","###"),pd.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+kd+"\\s*=\\s*"+Fd,end:"[-=]>",returnBegin:!0,contains:[jd,Ud]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:Fd,end:"[-=]>",returnBegin:!0,contains:[Ud]}]},qd,{begin:kd+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}]}}return coffeescript_1=dd,coffeescript_1}var coq_1,hasRequiredCoq;function requireCoq(){if(hasRequiredCoq)return coq_1;hasRequiredCoq=1;function Ra(qa){return{name:"Coq",keywords:{keyword:["_|0","as","at","cofix","else","end","exists","exists2","fix","for","forall","fun","if","IF","in","let","match","mod","Prop","return","Set","then","Type","using","where","with","Abort","About","Add","Admit","Admitted","All","Arguments","Assumptions","Axiom","Back","BackTo","Backtrack","Bind","Blacklist","Canonical","Cd","Check","Class","Classes","Close","Coercion","Coercions","CoFixpoint","CoInductive","Collection","Combined","Compute","Conjecture","Conjectures","Constant","constr","Constraint","Constructors","Context","Corollary","CreateHintDb","Cut","Declare","Defined","Definition","Delimit","Dependencies","Dependent","Derive","Drop","eauto","End","Equality","Eval","Example","Existential","Existentials","Existing","Export","exporting","Extern","Extract","Extraction","Fact","Field","Fields","File","Fixpoint","Focus","for","From","Function","Functional","Generalizable","Global","Goal","Grab","Grammar","Graph","Guarded","Heap","Hint","HintDb","Hints","Hypotheses","Hypothesis","ident","Identity","If","Immediate","Implicit","Import","Include","Inductive","Infix","Info","Initial","Inline","Inspect","Instance","Instances","Intro","Intros","Inversion","Inversion_clear","Language","Left","Lemma","Let","Libraries","Library","Load","LoadPath","Local","Locate","Ltac","ML","Mode","Module","Modules","Monomorphic","Morphism","Next","NoInline","Notation","Obligation","Obligations","Opaque","Open","Optimize","Options","Parameter","Parameters","Parametric","Path","Paths","pattern","Polymorphic","Preterm","Print","Printing","Program","Projections","Proof","Proposition","Pwd","Qed","Quit","Rec","Record","Recursive","Redirect","Relation","Remark","Remove","Require","Reserved","Reset","Resolve","Restart","Rewrite","Right","Ring","Rings","Save","Scheme","Scope","Scopes","Script","Search","SearchAbout","SearchHead","SearchPattern","SearchRewrite","Section","Separate","Set","Setoid","Show","Solve","Sorted","Step","Strategies","Strategy","Structure","SubClass","Table","Tables","Tactic","Term","Test","Theorem","Time","Timeout","Transparent","Type","Typeclasses","Types","Undelimit","Undo","Unfocus","Unfocused","Unfold","Universe","Universes","Unset","Unshelve","using","Variable","Variables","Variant","Verbose","Visibility","where","with"],built_in:["abstract","absurd","admit","after","apply","as","assert","assumption","at","auto","autorewrite","autounfold","before","bottom","btauto","by","case","case_eq","cbn","cbv","change","classical_left","classical_right","clear","clearbody","cofix","compare","compute","congruence","constr_eq","constructor","contradict","contradiction","cut","cutrewrite","cycle","decide","decompose","dependent","destruct","destruction","dintuition","discriminate","discrR","do","double","dtauto","eapply","eassumption","eauto","ecase","econstructor","edestruct","ediscriminate","eelim","eexact","eexists","einduction","einjection","eleft","elim","elimtype","enough","equality","erewrite","eright","esimplify_eq","esplit","evar","exact","exactly_once","exfalso","exists","f_equal","fail","field","field_simplify","field_simplify_eq","first","firstorder","fix","fold","fourier","functional","generalize","generalizing","gfail","give_up","has_evar","hnf","idtac","in","induction","injection","instantiate","intro","intro_pattern","intros","intuition","inversion","inversion_clear","is_evar","is_var","lapply","lazy","left","lia","lra","move","native_compute","nia","nsatz","omega","once","pattern","pose","progress","proof","psatz","quote","record","red","refine","reflexivity","remember","rename","repeat","replace","revert","revgoals","rewrite","rewrite_strat","right","ring","ring_simplify","rtauto","set","setoid_reflexivity","setoid_replace","setoid_rewrite","setoid_symmetry","setoid_transitivity","shelve","shelve_unifiable","simpl","simple","simplify_eq","solve","specialize","split","split_Rabs","split_Rmult","stepl","stepr","subst","sum","swap","symmetry","tactic","tauto","time","timeout","top","transitivity","trivial","try","tryif","unfold","unify","until","using","vm_compute","with"]},contains:[qa.QUOTE_STRING_MODE,qa.COMMENT("\\(\\*","\\*\\)"),qa.C_NUMBER_MODE,{className:"type",excludeBegin:!0,begin:"\\|\\s*",end:"\\w+"},{begin:/[-=]>/}]}}return coq_1=Ra,coq_1}var cos_1,hasRequiredCos;function requireCos(){if(hasRequiredCos)return cos_1;hasRequiredCos=1;function Ra(qa){return{name:"Caché Object Script",case_insensitive:!0,aliases:["cls"],keywords:"property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii",contains:[{className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0},{className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]}]},qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,{className:"comment",begin:/;/,end:"$",relevance:0},{className:"built_in",begin:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{className:"built_in",begin:/\$\$\$[a-zA-Z]+/},{className:"built_in",begin:/%[a-z]+(?:\.[a-z]+)*/},{className:"symbol",begin:/\^%?[a-zA-Z][\w]*/},{className:"keyword",begin:/##class|##super|#define|#dim/},{begin:/&sql\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"sql"},{begin:/&(js|jscript|javascript)</,end:/>/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*</,end:/>\s*>/,subLanguage:"xml"}]}}return cos_1=Ra,cos_1}var cpp_1,hasRequiredCpp;function requireCpp(){if(hasRequiredCpp)return cpp_1;hasRequiredCpp=1;function Ra(qa){const nd=qa.regex,od=qa.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),ld="decltype\\(auto\\)",ud="[a-zA-Z_]\\w*::",pd="(?!struct)("+ld+"|"+nd.optional(ud)+"[a-zA-Z_]\\w*"+nd.optional("<[^<>]+>")+")",fd={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},vd={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[qa.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},qa.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},Ad={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},Nd={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},qa.inherit(vd,{className:"string"}),{className:"string",begin:/<.*?>/},od,qa.C_BLOCK_COMMENT_MODE]},Od={className:"title",begin:nd.optional(ud)+qa.IDENT_RE,relevance:0},kd=nd.optional(ud)+qa.IDENT_RE+"\\s*\\(",Ld=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],Gd=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],jd=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],Fd=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],zd={type:Gd,keyword:Ld,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:jd},Wd={className:"function.dispatch",relevance:0,keywords:{_hint:Fd},begin:nd.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,qa.IDENT_RE,nd.lookahead(/(<[^<>]+>|)\s*\(/))},Jd=[Wd,Nd,fd,od,qa.C_BLOCK_COMMENT_MODE,Ad,vd],_f={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:zd,contains:Jd.concat([{begin:/\(/,end:/\)/,keywords:zd,contains:Jd.concat(["self"]),relevance:0}]),relevance:0},Xd={className:"function",begin:"("+pd+"[\\*&\\s]+)+"+kd,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:zd,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:ld,keywords:zd,relevance:0},{begin:kd,returnBegin:!0,contains:[Od],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[vd,Ad]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:zd,relevance:0,contains:[od,qa.C_BLOCK_COMMENT_MODE,vd,Ad,fd,{begin:/\(/,end:/\)/,keywords:zd,relevance:0,contains:["self",od,qa.C_BLOCK_COMMENT_MODE,vd,Ad,fd]}]},fd,od,qa.C_BLOCK_COMMENT_MODE,Nd]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:zd,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(_f,Xd,Wd,Jd,[Nd,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)",end:">",keywords:zd,contains:["self",fd]},{begin:qa.IDENT_RE+"::",keywords:zd},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}return cpp_1=Ra,cpp_1}var crmsh_1,hasRequiredCrmsh;function requireCrmsh(){if(hasRequiredCrmsh)return crmsh_1;hasRequiredCrmsh=1;function Ra(qa){const nd="primitive rsc_template",od="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml";return{name:"crmsh",aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:"params meta operations op rule attributes utilization"+" "+"read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\"+" "+"number string",literal:"Master Started Slave Stopped start promote demote stop monitor true false"},contains:[qa.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:nd,starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+od.split(" ").join("|")+")\\s+",keywords:od,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:"property rsc_defaults op_defaults",starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},qa.QUOTE_STRING_MODE,{className:"meta",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"literal",begin:"[-]?(infinity|inf)",relevance:0},{className:"attr",begin:/([A-Za-z$_#][\w_-]+)=/,relevance:0},{className:"tag",begin:"</?",end:"/?>",relevance:0}]}}return crmsh_1=Ra,crmsh_1}var crystal_1,hasRequiredCrystal;function requireCrystal(){if(hasRequiredCrystal)return crystal_1;hasRequiredCrystal=1;function Ra(qa){const nd="(_?[ui](8|16|32|64|128))?",od="(_?f(32|64))?",ld="[a-zA-Z_]\\w*[!?=]?",ud="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",dd="[A-Za-z_]\\w*(::\\w+)*(\\?|!)?",pd={$pattern:ld,keyword:"abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",literal:"false nil true"},fd={className:"subst",begin:/#\{/,end:/\}/,keywords:pd},md={className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},vd={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:pd};function Ad(Fd,Ud){const qd=[{begin:Fd,end:Ud}];return qd[0].contains=qd,qd}const Nd={className:"string",contains:[qa.BACKSLASH_ESCAPE,fd],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[Qwi]?\\(",end:"\\)",contains:Ad("\\(","\\)")},{begin:"%[Qwi]?\\[",end:"\\]",contains:Ad("\\[","\\]")},{begin:"%[Qwi]?\\{",end:/\}/,contains:Ad(/\{/,/\}/)},{begin:"%[Qwi]?<",end:">",contains:Ad("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},Od={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:Ad("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:Ad("\\[","\\]")},{begin:"%q\\{",end:/\}/,contains:Ad(/\{/,/\}/)},{begin:"%q<",end:">",contains:Ad("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},kd={begin:"(?!%\\})("+qa.RE_STARTERS_RE+"|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*",keywords:"case if select unless until when while",contains:[{className:"regexp",contains:[qa.BACKSLASH_ESCAPE,fd],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},Ld={className:"regexp",contains:[qa.BACKSLASH_ESCAPE,fd],variants:[{begin:"%r\\(",end:"\\)",contains:Ad("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:Ad("\\[","\\]")},{begin:"%r\\{",end:/\}/,contains:Ad(/\{/,/\}/)},{begin:"%r<",end:">",contains:Ad("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},Gd={className:"meta",begin:"@\\[",end:"\\]",contains:[qa.inherit(qa.QUOTE_STRING_MODE,{className:"string"})]},jd=[vd,Nd,Od,Ld,kd,Gd,md,qa.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[qa.HASH_COMMENT_MODE,qa.inherit(qa.TITLE_MODE,{begin:dd}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[qa.HASH_COMMENT_MODE,qa.inherit(qa.TITLE_MODE,{begin:dd})]},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[qa.HASH_COMMENT_MODE,qa.inherit(qa.TITLE_MODE,{begin:dd})],relevance:2},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[qa.inherit(qa.TITLE_MODE,{begin:ud,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[qa.inherit(qa.TITLE_MODE,{begin:ud,endsParent:!0})],relevance:2},{className:"symbol",begin:qa.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[Nd,{begin:ud}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]+)"+nd},{begin:"\\b0o([0-7_]+)"+nd},{begin:"\\b0x([A-Fa-f0-9_]+)"+nd},{begin:"\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?"+od+"(?!_)"},{begin:"\\b([1-9][0-9_]*|0)"+nd}],relevance:0}];return fd.contains=jd,vd.contains=jd.slice(1),{name:"Crystal",aliases:["cr"],keywords:pd,contains:jd}}return crystal_1=Ra,crystal_1}var csharp_1,hasRequiredCsharp;function requireCsharp(){if(hasRequiredCsharp)return csharp_1;hasRequiredCsharp=1;function Ra(qa){const nd=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],od=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],ld=["default","false","null","true"],ud=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],dd=["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"],pd={keyword:ud.concat(dd),built_in:nd,literal:ld},fd=qa.inherit(qa.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),md={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},vd={className:"string",begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},Ad={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},Nd=qa.inherit(Ad,{illegal:/\n/}),Od={className:"subst",begin:/\{/,end:/\}/,keywords:pd},kd=qa.inherit(Od,{illegal:/\n/}),Ld={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},qa.BACKSLASH_ESCAPE,kd]},Gd={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},Od]},jd=qa.inherit(Gd,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},kd]});Od.contains=[Gd,Ld,Ad,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,md,qa.C_BLOCK_COMMENT_MODE],kd.contains=[jd,Ld,Nd,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,md,qa.inherit(qa.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const Fd={variants:[vd,Gd,Ld,Ad,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE]},Ud={begin:"<",end:">",contains:[{beginKeywords:"in out"},fd]},qd=qa.IDENT_RE+"(<"+qa.IDENT_RE+"(\\s*,\\s*"+qa.IDENT_RE+")*>)?(\\[\\])?",zd={begin:"@"+qa.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:pd,illegal:/::/,contains:[qa.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"<!--|-->"},{begin:"</?",end:">"}]}]}),qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},Fd,md,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},fd,Ud,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[fd,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[fd,Ud,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+qd+"\\s+)+"+qa.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:pd,contains:[{beginKeywords:od.join(" "),relevance:0},{begin:qa.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[qa.TITLE_MODE,Ud],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:pd,relevance:0,contains:[Fd,md,qa.C_BLOCK_COMMENT_MODE]},qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]},zd]}}return csharp_1=Ra,csharp_1}var csp_1,hasRequiredCsp;function requireCsp(){if(hasRequiredCsp)return csp_1;hasRequiredCsp=1;function Ra(qa){return{name:"CSP",case_insensitive:!1,keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_-]*",keyword:["base-uri","child-src","connect-src","default-src","font-src","form-action","frame-ancestors","frame-src","img-src","manifest-src","media-src","object-src","plugin-types","report-uri","sandbox","script-src","style-src","trusted-types","unsafe-hashes","worker-src"]},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:!0}]}}return csp_1=Ra,csp_1}var css_1,hasRequiredCss;function requireCss(){if(hasRequiredCss)return css_1;hasRequiredCss=1;const Ra=md=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:md.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[md.APOS_STRING_MODE,md.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:md.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),qa=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],nd=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],od=[...qa,...nd],ld=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),ud=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),dd=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),pd=["accent-color","align-content","align-items","align-self","alignment-baseline","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-end-end-radius","border-end-start-radius","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","cx","cy","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","empty-cells","enable-background","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","flood-color","flood-opacity","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","kerning","justify-content","justify-items","justify-self","left","letter-spacing","lighting-color","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","marker","marker-end","marker-mid","marker-start","mask","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","speak","speak-as","src","tab-size","table-layout","text-anchor","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-offset","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","vector-effect","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index"].sort().reverse();function fd(md){const vd=md.regex,Ad=Ra(md),Nd={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},Od="and or not only",kd=/@-?\w[\w]*(-\w+)*/,Ld="[a-zA-Z-][a-zA-Z0-9_-]*",Gd=[md.APOS_STRING_MODE,md.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[Ad.BLOCK_COMMENT,Nd,Ad.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+Ld,relevance:0},Ad.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+ud.join("|")+")"},{begin:":(:)?("+dd.join("|")+")"}]},Ad.CSS_VARIABLE,{className:"attribute",begin:"\\b("+pd.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[Ad.BLOCK_COMMENT,Ad.HEXCOLOR,Ad.IMPORTANT,Ad.CSS_NUMBER_MODE,...Gd,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...Gd,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},Ad.FUNCTION_DISPATCH]},{begin:vd.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:kd},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:Od,attribute:ld.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...Gd,Ad.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+od.join("|")+")\\b"}]}}return css_1=fd,css_1}var d_1,hasRequiredD;function requireD(){if(hasRequiredD)return d_1;hasRequiredD=1;function Ra(qa){const nd={$pattern:qa.UNDERSCORE_IDENT_RE,keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},od="(0|[1-9][\\d_]*)",ld="(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)",ud="0[bB][01_]+",dd="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",pd="0[xX]"+dd,fd="([eE][+-]?"+ld+")",md="("+ld+"(\\.\\d*|"+fd+")|\\d+\\."+ld+"|\\."+od+fd+"?)",vd="(0[xX]("+dd+"\\."+dd+"|\\.?"+dd+")[pP][+-]?"+ld+")",Ad="("+od+"|"+ud+"|"+pd+")",Nd="("+vd+"|"+md+")",Od=`\\\\(['"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};`,kd={className:"number",begin:"\\b"+Ad+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},Ld={className:"number",begin:"\\b("+Nd+"([fF]|L|i|[fF]i|Li)?|"+Ad+"(i|[fF]i|Li))",relevance:0},Gd={className:"string",begin:"'("+Od+"|.)",end:"'",illegal:"."},Fd={className:"string",begin:'"',contains:[{begin:Od,relevance:0}],end:'"[cwd]?'},Ud={className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},qd={className:"string",begin:"`",end:"`[cwd]?"},zd={className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},Wd={className:"string",begin:'q"\\{',end:'\\}"'},Jd={className:"meta",begin:"^#!",end:"$",relevance:5},_f={className:"meta",begin:"#(line)",end:"$",relevance:5},Xd={className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"},pf=qa.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:nd,contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,pf,zd,Fd,Ud,qd,Wd,Ld,kd,Gd,Jd,_f,Xd]}}return d_1=Ra,d_1}var markdown_1,hasRequiredMarkdown;function requireMarkdown(){if(hasRequiredMarkdown)return markdown_1;hasRequiredMarkdown=1;function Ra(qa){const nd=qa.regex,od={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},ld={begin:"^[-\\*]{3,}",end:"$"},ud={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},dd={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},pd={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},fd=/[A-Za-z][A-Za-z0-9+.-]*/,md={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:nd.concat(/\[.+?\]\(/,fd,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},vd={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},Ad={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},Nd=qa.inherit(vd,{contains:[]}),Od=qa.inherit(Ad,{contains:[]});vd.contains.push(Od),Ad.contains.push(Nd);let kd=[od,md];return[vd,Ad,Nd,Od].forEach(Fd=>{Fd.contains=Fd.contains.concat(kd)}),kd=kd.concat(vd,Ad),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:kd},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:kd}]}]},od,dd,vd,Ad,{className:"quote",begin:"^>\\s+",contains:kd,end:"$"},ud,ld,md,pd,{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}return markdown_1=Ra,markdown_1}var dart_1,hasRequiredDart;function requireDart(){if(hasRequiredDart)return dart_1;hasRequiredDart=1;function Ra(qa){const nd={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},od={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},ld={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[qa.BACKSLASH_ESCAPE,nd,od]},{begin:'"""',end:'"""',contains:[qa.BACKSLASH_ESCAPE,nd,od]},{begin:"'",end:"'",illegal:"\\n",contains:[qa.BACKSLASH_ESCAPE,nd,od]},{begin:'"',end:'"',illegal:"\\n",contains:[qa.BACKSLASH_ESCAPE,nd,od]}]};od.contains=[qa.C_NUMBER_MODE,ld];const ud=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],dd=ud.map(md=>`${md}?`);return{name:"Dart",keywords:{keyword:["abstract","as","assert","async","await","base","break","case","catch","class","const","continue","covariant","default","deferred","do","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","interface","is","late","library","mixin","new","null","on","operator","part","required","rethrow","return","sealed","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","when","while","with","yield"],built_in:ud.concat(dd).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[ld,qa.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),qa.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},qa.UNDERSCORE_TITLE_MODE]},qa.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}return dart_1=Ra,dart_1}var delphi_1,hasRequiredDelphi;function requireDelphi(){if(hasRequiredDelphi)return delphi_1;hasRequiredDelphi=1;function Ra(qa){const nd=["exports","register","file","shl","array","record","property","for","mod","while","set","ally","label","uses","raise","not","stored","class","safecall","var","interface","or","private","static","exit","index","inherited","to","else","stdcall","override","shr","asm","far","resourcestring","finalization","packed","virtual","out","and","protected","library","do","xorwrite","goto","near","function","end","div","overload","object","unit","begin","string","on","inline","repeat","until","destructor","write","message","program","with","read","initialization","except","default","nil","if","case","cdecl","in","downto","threadvar","of","try","pascal","const","external","constructor","type","public","then","implementation","finally","published","procedure","absolute","reintroduce","operator","as","is","abstract","alias","assembler","bitpacked","break","continue","cppdecl","cvar","enumerator","experimental","platform","deprecated","unimplemented","dynamic","export","far16","forward","generic","helper","implements","interrupt","iochecks","local","name","nodefault","noreturn","nostackframe","oldfpccall","otherwise","saveregisters","softfloat","specialize","strict","unaligned","varargs"],od=[qa.C_LINE_COMMENT_MODE,qa.COMMENT(/\{/,/\}/,{relevance:0}),qa.COMMENT(/\(\*/,/\*\)/,{relevance:10})],ld={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]},ud={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},dd={className:"number",relevance:0,variants:[{match:/\b\d[\d_]*(\.\d[\d_]*)?/},{match:/\$[\dA-Fa-f_]+/},{match:/\$/,relevance:0},{match:/&[0-7][0-7_]*/},{match:/%[01_]+/},{match:/%/,relevance:0}]},pd={className:"string",variants:[{match:/#\d[\d_]*/},{match:/#\$[\dA-Fa-f][\dA-Fa-f_]*/},{match:/#&[0-7][0-7_]*/},{match:/#%[01][01_]*/}]},fd={begin:qa.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[qa.TITLE_MODE]},md={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[qa.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:nd,contains:[ud,pd,ld].concat(od)},ld].concat(od)};return{name:"Delphi",aliases:["dpr","dfm","pas","pascal"],case_insensitive:!0,keywords:nd,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[ud,pd,dd,fd,md,ld].concat(od)}}return delphi_1=Ra,delphi_1}var diff_1,hasRequiredDiff;function requireDiff(){if(hasRequiredDiff)return diff_1;hasRequiredDiff=1;function Ra(qa){const nd=qa.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:nd.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:nd.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}return diff_1=Ra,diff_1}var django_1,hasRequiredDjango;function requireDjango(){if(hasRequiredDjango)return django_1;hasRequiredDjango=1;function Ra(qa){const nd={begin:/\|[A-Za-z]+:?/,keywords:{name:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone"},contains:[qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE]};return{name:"Django",aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[qa.COMMENT(/\{%\s*comment\s*%\}/,/\{%\s*endcomment\s*%\}/),qa.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:{name:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim"},starts:{endsWithParent:!0,keywords:"in by as",contains:[nd],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[nd]}]}}return django_1=Ra,django_1}var dns_1,hasRequiredDns;function requireDns(){if(hasRequiredDns)return dns_1;hasRequiredDns=1;function Ra(qa){return{name:"DNS Zone",aliases:["bind","zone"],keywords:["IN","A","AAAA","AFSDB","APL","CAA","CDNSKEY","CDS","CERT","CNAME","DHCID","DLV","DNAME","DNSKEY","DS","HIP","IPSECKEY","KEY","KX","LOC","MX","NAPTR","NS","NSEC","NSEC3","NSEC3PARAM","PTR","RRSIG","RP","SIG","SOA","SRV","SSHFP","TA","TKEY","TLSA","TSIG","TXT"],contains:[qa.COMMENT(";","$",{relevance:0}),{className:"meta",begin:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"},{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"},qa.inherit(qa.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}}return dns_1=Ra,dns_1}var dockerfile_1,hasRequiredDockerfile;function requireDockerfile(){if(hasRequiredDockerfile)return dockerfile_1;hasRequiredDockerfile=1;function Ra(qa){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],contains:[qa.HASH_COMMENT_MODE,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,qa.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"</"}}return dockerfile_1=Ra,dockerfile_1}var dos_1,hasRequiredDos;function requireDos(){if(hasRequiredDos)return dos_1;hasRequiredDos=1;function Ra(qa){const nd=qa.COMMENT(/^\s*@?rem\b/,/$/,{relevance:10});return{name:"Batch file (DOS)",aliases:["bat","cmd"],case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:["if","else","goto","for","in","do","call","exit","not","exist","errorlevel","defined","equ","neq","lss","leq","gtr","geq"],built_in:["prn","nul","lpt3","lpt2","lpt1","con","com4","com3","com2","com1","aux","shift","cd","dir","echo","setlocal","endlocal","set","pause","copy","append","assoc","at","attrib","break","cacls","cd","chcp","chdir","chkdsk","chkntfs","cls","cmd","color","comp","compact","convert","date","dir","diskcomp","diskcopy","doskey","erase","fs","find","findstr","format","ftype","graftabl","help","keyb","label","md","mkdir","mode","more","move","path","pause","print","popd","pushd","promt","rd","recover","rem","rename","replace","restore","rmdir","shift","sort","start","subst","time","title","tree","type","ver","verify","vol","ping","net","ipconfig","taskkill","xcopy","ren","del"]},contains:[{className:"variable",begin:/%%[^ ]|%[^ ]+?%|![^ ]+?!/},{className:"function",begin:{className:"symbol",begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)",relevance:0}.begin,end:"goto:eof",contains:[qa.inherit(qa.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),nd]},{className:"number",begin:"\\b\\d+",relevance:0},nd]}}return dos_1=Ra,dos_1}var dsconfig_1,hasRequiredDsconfig;function requireDsconfig(){if(hasRequiredDsconfig)return dsconfig_1;hasRequiredDsconfig=1;function Ra(qa){return{keywords:"dsconfig",contains:[{className:"keyword",begin:"^dsconfig",end:/\s/,excludeEnd:!0,relevance:10},{className:"built_in",begin:/(list|create|get|set|delete)-(\w+)/,end:/\s/,excludeEnd:!0,illegal:"!@#$%^&*()",relevance:10},{className:"built_in",begin:/--(\w+)/,end:/\s/,excludeEnd:!0},{className:"string",begin:/"/,end:/"/},{className:"string",begin:/'/,end:/'/},{className:"string",begin:/[\w\-?]+:\w+/,end:/\W/,relevance:0},{className:"string",begin:/\w+(\-\w+)*/,end:/(?=\W)/,relevance:0},qa.HASH_COMMENT_MODE]}}return dsconfig_1=Ra,dsconfig_1}var dts_1,hasRequiredDts;function requireDts(){if(hasRequiredDts)return dts_1;hasRequiredDts=1;function Ra(qa){const nd={className:"string",variants:[qa.inherit(qa.QUOTE_STRING_MODE,{begin:'((u8?|U)|L)?"'}),{begin:'(u8?|U)?R"',end:'"',contains:[qa.BACKSLASH_ESCAPE]},{begin:"'\\\\?.",end:"'",illegal:"."}]},od={className:"number",variants:[{begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)(u|U|l|L|ul|UL|f|F)"},{begin:qa.C_NUMBER_RE}],relevance:0},ld={className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef ifdef ifndef"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{keyword:"include"},contains:[qa.inherit(nd,{className:"string"}),{className:"string",begin:"<",end:">",illegal:"\\n"}]},nd,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]},ud={className:"variable",begin:/&[a-z\d_]*\b/},dd={className:"keyword",begin:"/[a-z][a-z\\d-]*/"},pd={className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},fd={className:"params",relevance:0,begin:"<",end:">",contains:[od,ud]},md={className:"title.class",begin:/[a-zA-Z_][a-zA-Z\d_@-]*(?=\s\{)/,relevance:.2},vd={className:"title.class",begin:/^\/(?=\s*\{)/,relevance:10},Ad={match:/[a-z][a-z-,]+(?=;)/,relevance:0,scope:"attr"},Nd={relevance:0,match:[/[a-z][a-z-,]+/,/\s*/,/=/],scope:{1:"attr",3:"operator"}},Od={scope:"punctuation",relevance:0,match:/\};|[;{}]/};return{name:"Device Tree",contains:[vd,ud,dd,pd,md,Nd,Ad,fd,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,od,nd,ld,Od,{begin:qa.IDENT_RE+"::",keywords:""}]}}return dts_1=Ra,dts_1}var dust_1,hasRequiredDust;function requireDust(){if(hasRequiredDust)return dust_1;hasRequiredDust=1;function Ra(qa){return{name:"Dust",aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"template-tag",begin:/\{[#\/]/,end:/\}/,illegal:/;/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,starts:{endsWithParent:!0,relevance:0,contains:[qa.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:"if eq ne lt lte gt gte select default math sep"}]}}return dust_1=Ra,dust_1}var ebnf_1,hasRequiredEbnf;function requireEbnf(){if(hasRequiredEbnf)return ebnf_1;hasRequiredEbnf=1;function Ra(qa){const nd=qa.COMMENT(/\(\*/,/\*\)/),od={className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},ud={begin:/=/,end:/[.;]/,contains:[nd,{className:"meta",begin:/\?.*\?/},{className:"string",variants:[qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]};return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[nd,od,ud]}}return ebnf_1=Ra,ebnf_1}var elixir_1,hasRequiredElixir;function requireElixir(){if(hasRequiredElixir)return elixir_1;hasRequiredElixir=1;function Ra(qa){const nd=qa.regex,od="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",ld="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",pd={$pattern:od,keyword:["after","alias","and","case","catch","cond","defstruct","defguard","do","else","end","fn","for","if","import","in","not","or","quote","raise","receive","require","reraise","rescue","try","unless","unquote","unquote_splicing","use","when","with|0"],literal:["false","nil","true"]},fd={className:"subst",begin:/#\{/,end:/\}/,keywords:pd},md={className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},Ad={match:/\\[\s\S]/,scope:"char.escape",relevance:0},Nd=`[/|([{<"']`,Od=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin:/</,end:/>/}],kd=Wd=>({scope:"char.escape",begin:nd.concat(/\\/,Wd),relevance:0}),Ld={className:"string",begin:"~[a-z](?="+Nd+")",contains:Od.map(Wd=>qa.inherit(Wd,{contains:[kd(Wd.end),Ad,fd]}))},Gd={className:"string",begin:"~[A-Z](?="+Nd+")",contains:Od.map(Wd=>qa.inherit(Wd,{contains:[kd(Wd.end)]}))},jd={className:"regex",variants:[{begin:"~r(?="+Nd+")",contains:Od.map(Wd=>qa.inherit(Wd,{end:nd.concat(Wd.end,/[uismxfU]{0,7}/),contains:[kd(Wd.end),Ad,fd]}))},{begin:"~R(?="+Nd+")",contains:Od.map(Wd=>qa.inherit(Wd,{end:nd.concat(Wd.end,/[uismxfU]{0,7}/),contains:[kd(Wd.end)]}))}]},Fd={className:"string",contains:[qa.BACKSLASH_ESCAPE,fd],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},Ud={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,contains:[qa.inherit(qa.TITLE_MODE,{begin:od,endsParent:!0})]},qd=qa.inherit(Ud,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),zd=[Fd,jd,Gd,Ld,qa.HASH_COMMENT_MODE,qd,Ud,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[Fd,{begin:ld}],relevance:0},{className:"symbol",begin:od+":(?!:)",relevance:0},{className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},md,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return fd.contains=zd,{name:"Elixir",aliases:["ex","exs"],keywords:pd,contains:zd}}return elixir_1=Ra,elixir_1}var elm_1,hasRequiredElm;function requireElm(){if(hasRequiredElm)return elm_1;hasRequiredElm=1;function Ra(qa){const nd={variants:[qa.COMMENT("--","$"),qa.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},od={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},ld={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},nd]},ud={begin:/\{/,end:/\}/,contains:ld.contains},dd={className:"string",begin:"'\\\\?.",end:"'",illegal:"."};return{name:"Elm",keywords:["let","in","if","then","else","case","of","where","module","import","exposing","type","alias","as","infix","infixl","infixr","port","effect","command","subscription"],contains:[{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[ld,nd],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[ld,nd],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[od,ld,ud,nd]},{beginKeywords:"infix infixl infixr",end:"$",contains:[qa.C_NUMBER_MODE,nd]},{begin:"port",end:"$",keywords:"port",contains:[nd]},dd,qa.QUOTE_STRING_MODE,qa.C_NUMBER_MODE,od,qa.inherit(qa.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),nd,{begin:"->|<-"}],illegal:/;/}}return elm_1=Ra,elm_1}var ruby_1,hasRequiredRuby;function requireRuby(){if(hasRequiredRuby)return ruby_1;hasRequiredRuby=1;function Ra(qa){const nd=qa.regex,od="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",ld=nd.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),ud=nd.concat(ld,/(::\w+)*/),pd={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},fd={className:"doctag",begin:"@[A-Za-z]+"},md={begin:"#<",end:">"},vd=[qa.COMMENT("#","$",{contains:[fd]}),qa.COMMENT("^=begin","^=end",{contains:[fd],relevance:10}),qa.COMMENT("^__END__",qa.MATCH_NOTHING_RE)],Ad={className:"subst",begin:/#\{/,end:/\}/,keywords:pd},Nd={className:"string",contains:[qa.BACKSLASH_ESCAPE,Ad],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:nd.concat(/<<[-~]?'?/,nd.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[qa.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[qa.BACKSLASH_ESCAPE,Ad]})]}]},Od="[1-9](_?[0-9])*|0",kd="[0-9](_?[0-9])*",Ld={className:"number",relevance:0,variants:[{begin:`\\b(${Od})(\\.(${kd}))?([eE][+-]?(${kd})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},Gd={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:pd}]},Jd=[Nd,{variants:[{match:[/class\s+/,ud,/\s+<\s+/,ud]},{match:[/\b(class|module)\s+/,ud]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:pd},{match:[/(include|extend)\s+/,ud],scope:{2:"title.class"},keywords:pd},{relevance:0,match:[ud,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:ld,scope:"title.class"},{match:[/def/,/\s+/,od],scope:{1:"keyword",3:"title.function"},contains:[Gd]},{begin:qa.IDENT_RE+"::"},{className:"symbol",begin:qa.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[Nd,{begin:od}],relevance:0},Ld,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:pd},{begin:"("+qa.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[qa.BACKSLASH_ESCAPE,Ad],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(md,vd),relevance:0}].concat(md,vd);Ad.contains=Jd,Gd.contains=Jd;const mf=[{begin:/^\s*=>/,starts:{end:"$",contains:Jd}},{className:"meta.prompt",begin:"^("+"[>?]>"+"|"+"[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]"+"|"+"(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>"+")(?=[ ])",starts:{end:"$",keywords:pd,contains:Jd}}];return vd.unshift(md),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:pd,illegal:/\/\*/,contains:[qa.SHEBANG({binary:"ruby"})].concat(mf).concat(vd).concat(Jd)}}return ruby_1=Ra,ruby_1}var erb_1,hasRequiredErb;function requireErb(){if(hasRequiredErb)return erb_1;hasRequiredErb=1;function Ra(qa){return{name:"ERB",subLanguage:"xml",contains:[qa.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return erb_1=Ra,erb_1}var erlangRepl_1,hasRequiredErlangRepl;function requireErlangRepl(){if(hasRequiredErlangRepl)return erlangRepl_1;hasRequiredErlangRepl=1;function Ra(qa){const nd=qa.regex;return{name:"Erlang REPL",keywords:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"meta.prompt",begin:"^[0-9]+> ",relevance:10},qa.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,{begin:nd.concat(/\?(::)?/,/([A-Z]\w*)/,/((::)[A-Z]\w*)*/)},{begin:"->"},{begin:"ok"},{begin:"!"},{begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}return erlangRepl_1=Ra,erlangRepl_1}var erlang_1,hasRequiredErlang;function requireErlang(){if(hasRequiredErlang)return erlang_1;hasRequiredErlang=1;function Ra(qa){const nd="[a-z'][a-zA-Z0-9_']*",od="("+nd+":"+nd+"|"+nd+")",ld={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",literal:"false true"},ud=qa.COMMENT("%","$"),dd={className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},pd={begin:"fun\\s+"+nd+"/\\d+"},fd={begin:od+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:od,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},md={begin:/\{/,end:/\}/,relevance:0},vd={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},Ad={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},Nd={begin:"#"+qa.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+qa.UNDERSCORE_IDENT_RE,relevance:0},{begin:/\{/,end:/\}/,relevance:0}]},Od={scope:"string",match:/\$(\\([^0-9]|[0-9]{1,3}|)|.)/},kd={beginKeywords:"fun receive if try case",end:"end",keywords:ld};kd.contains=[ud,pd,qa.inherit(qa.APOS_STRING_MODE,{className:""}),kd,fd,qa.QUOTE_STRING_MODE,dd,md,vd,Ad,Nd,Od];const Ld=[ud,pd,kd,fd,qa.QUOTE_STRING_MODE,dd,md,vd,Ad,Nd,Od];fd.contains[1].contains=Ld,md.contains=Ld,Nd.contains[1].contains=Ld;const Gd=["-module","-record","-undef","-export","-ifdef","-ifndef","-author","-copyright","-doc","-vsn","-import","-include","-include_lib","-compile","-define","-else","-endif","-file","-behaviour","-behavior","-spec"],jd={className:"params",begin:"\\(",end:"\\)",contains:Ld};return{name:"Erlang",aliases:["erl"],keywords:ld,illegal:"(</|\\*=|\\+=|-=|/\\*|\\*/|\\(\\*|\\*\\))",contains:[{className:"function",begin:"^"+nd+"\\s*\\(",end:"->",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[jd,qa.inherit(qa.TITLE_MODE,{begin:nd})],starts:{end:";|\\.",keywords:ld,contains:Ld}},ud,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,keywords:{$pattern:"-"+qa.IDENT_RE,keyword:Gd.map(Fd=>`${Fd}|1.5`).join(" ")},contains:[jd]},dd,qa.QUOTE_STRING_MODE,Nd,vd,Ad,md,Od,{begin:/\.$/}]}}return erlang_1=Ra,erlang_1}var excel_1,hasRequiredExcel;function requireExcel(){if(hasRequiredExcel)return excel_1;hasRequiredExcel=1;function Ra(qa){return{name:"Excel formulae",aliases:["xlsx","xls"],case_insensitive:!0,keywords:{$pattern:/[a-zA-Z][\w\.]*/,built_in:["ABS","ACCRINT","ACCRINTM","ACOS","ACOSH","ACOT","ACOTH","AGGREGATE","ADDRESS","AMORDEGRC","AMORLINC","AND","ARABIC","AREAS","ASC","ASIN","ASINH","ATAN","ATAN2","ATANH","AVEDEV","AVERAGE","AVERAGEA","AVERAGEIF","AVERAGEIFS","BAHTTEXT","BASE","BESSELI","BESSELJ","BESSELK","BESSELY","BETADIST","BETA.DIST","BETAINV","BETA.INV","BIN2DEC","BIN2HEX","BIN2OCT","BINOMDIST","BINOM.DIST","BINOM.DIST.RANGE","BINOM.INV","BITAND","BITLSHIFT","BITOR","BITRSHIFT","BITXOR","CALL","CEILING","CEILING.MATH","CEILING.PRECISE","CELL","CHAR","CHIDIST","CHIINV","CHITEST","CHISQ.DIST","CHISQ.DIST.RT","CHISQ.INV","CHISQ.INV.RT","CHISQ.TEST","CHOOSE","CLEAN","CODE","COLUMN","COLUMNS","COMBIN","COMBINA","COMPLEX","CONCAT","CONCATENATE","CONFIDENCE","CONFIDENCE.NORM","CONFIDENCE.T","CONVERT","CORREL","COS","COSH","COT","COTH","COUNT","COUNTA","COUNTBLANK","COUNTIF","COUNTIFS","COUPDAYBS","COUPDAYS","COUPDAYSNC","COUPNCD","COUPNUM","COUPPCD","COVAR","COVARIANCE.P","COVARIANCE.S","CRITBINOM","CSC","CSCH","CUBEKPIMEMBER","CUBEMEMBER","CUBEMEMBERPROPERTY","CUBERANKEDMEMBER","CUBESET","CUBESETCOUNT","CUBEVALUE","CUMIPMT","CUMPRINC","DATE","DATEDIF","DATEVALUE","DAVERAGE","DAY","DAYS","DAYS360","DB","DBCS","DCOUNT","DCOUNTA","DDB","DEC2BIN","DEC2HEX","DEC2OCT","DECIMAL","DEGREES","DELTA","DEVSQ","DGET","DISC","DMAX","DMIN","DOLLAR","DOLLARDE","DOLLARFR","DPRODUCT","DSTDEV","DSTDEVP","DSUM","DURATION","DVAR","DVARP","EDATE","EFFECT","ENCODEURL","EOMONTH","ERF","ERF.PRECISE","ERFC","ERFC.PRECISE","ERROR.TYPE","EUROCONVERT","EVEN","EXACT","EXP","EXPON.DIST","EXPONDIST","FACT","FACTDOUBLE","FALSE|0","F.DIST","FDIST","F.DIST.RT","FILTERXML","FIND","FINDB","F.INV","F.INV.RT","FINV","FISHER","FISHERINV","FIXED","FLOOR","FLOOR.MATH","FLOOR.PRECISE","FORECAST","FORECAST.ETS","FORECAST.ETS.CONFINT","FORECAST.ETS.SEASONALITY","FORECAST.ETS.STAT","FORECAST.LINEAR","FORMULATEXT","FREQUENCY","F.TEST","FTEST","FV","FVSCHEDULE","GAMMA","GAMMA.DIST","GAMMADIST","GAMMA.INV","GAMMAINV","GAMMALN","GAMMALN.PRECISE","GAUSS","GCD","GEOMEAN","GESTEP","GETPIVOTDATA","GROWTH","HARMEAN","HEX2BIN","HEX2DEC","HEX2OCT","HLOOKUP","HOUR","HYPERLINK","HYPGEOM.DIST","HYPGEOMDIST","IF","IFERROR","IFNA","IFS","IMABS","IMAGINARY","IMARGUMENT","IMCONJUGATE","IMCOS","IMCOSH","IMCOT","IMCSC","IMCSCH","IMDIV","IMEXP","IMLN","IMLOG10","IMLOG2","IMPOWER","IMPRODUCT","IMREAL","IMSEC","IMSECH","IMSIN","IMSINH","IMSQRT","IMSUB","IMSUM","IMTAN","INDEX","INDIRECT","INFO","INT","INTERCEPT","INTRATE","IPMT","IRR","ISBLANK","ISERR","ISERROR","ISEVEN","ISFORMULA","ISLOGICAL","ISNA","ISNONTEXT","ISNUMBER","ISODD","ISREF","ISTEXT","ISO.CEILING","ISOWEEKNUM","ISPMT","JIS","KURT","LARGE","LCM","LEFT","LEFTB","LEN","LENB","LINEST","LN","LOG","LOG10","LOGEST","LOGINV","LOGNORM.DIST","LOGNORMDIST","LOGNORM.INV","LOOKUP","LOWER","MATCH","MAX","MAXA","MAXIFS","MDETERM","MDURATION","MEDIAN","MID","MIDBs","MIN","MINIFS","MINA","MINUTE","MINVERSE","MIRR","MMULT","MOD","MODE","MODE.MULT","MODE.SNGL","MONTH","MROUND","MULTINOMIAL","MUNIT","N","NA","NEGBINOM.DIST","NEGBINOMDIST","NETWORKDAYS","NETWORKDAYS.INTL","NOMINAL","NORM.DIST","NORMDIST","NORMINV","NORM.INV","NORM.S.DIST","NORMSDIST","NORM.S.INV","NORMSINV","NOT","NOW","NPER","NPV","NUMBERVALUE","OCT2BIN","OCT2DEC","OCT2HEX","ODD","ODDFPRICE","ODDFYIELD","ODDLPRICE","ODDLYIELD","OFFSET","OR","PDURATION","PEARSON","PERCENTILE.EXC","PERCENTILE.INC","PERCENTILE","PERCENTRANK.EXC","PERCENTRANK.INC","PERCENTRANK","PERMUT","PERMUTATIONA","PHI","PHONETIC","PI","PMT","POISSON.DIST","POISSON","POWER","PPMT","PRICE","PRICEDISC","PRICEMAT","PROB","PRODUCT","PROPER","PV","QUARTILE","QUARTILE.EXC","QUARTILE.INC","QUOTIENT","RADIANS","RAND","RANDBETWEEN","RANK.AVG","RANK.EQ","RANK","RATE","RECEIVED","REGISTER.ID","REPLACE","REPLACEB","REPT","RIGHT","RIGHTB","ROMAN","ROUND","ROUNDDOWN","ROUNDUP","ROW","ROWS","RRI","RSQ","RTD","SEARCH","SEARCHB","SEC","SECH","SECOND","SERIESSUM","SHEET","SHEETS","SIGN","SIN","SINH","SKEW","SKEW.P","SLN","SLOPE","SMALL","SQL.REQUEST","SQRT","SQRTPI","STANDARDIZE","STDEV","STDEV.P","STDEV.S","STDEVA","STDEVP","STDEVPA","STEYX","SUBSTITUTE","SUBTOTAL","SUM","SUMIF","SUMIFS","SUMPRODUCT","SUMSQ","SUMX2MY2","SUMX2PY2","SUMXMY2","SWITCH","SYD","T","TAN","TANH","TBILLEQ","TBILLPRICE","TBILLYIELD","T.DIST","T.DIST.2T","T.DIST.RT","TDIST","TEXT","TEXTJOIN","TIME","TIMEVALUE","T.INV","T.INV.2T","TINV","TODAY","TRANSPOSE","TREND","TRIM","TRIMMEAN","TRUE|0","TRUNC","T.TEST","TTEST","TYPE","UNICHAR","UNICODE","UPPER","VALUE","VAR","VAR.P","VAR.S","VARA","VARP","VARPA","VDB","VLOOKUP","WEBSERVICE","WEEKDAY","WEEKNUM","WEIBULL","WEIBULL.DIST","WORKDAY","WORKDAY.INTL","XIRR","XNPV","XOR","YEAR","YEARFRAC","YIELD","YIELDDISC","YIELDMAT","Z.TEST","ZTEST"]},contains:[{begin:/^=/,end:/[^=]/,returnEnd:!0,illegal:/=/,relevance:10},{className:"symbol",begin:/\b[A-Z]{1,2}\d+\b/,end:/[^\d]/,excludeEnd:!0,relevance:0},{className:"symbol",begin:/[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,relevance:0},qa.BACKSLASH_ESCAPE,qa.QUOTE_STRING_MODE,{className:"number",begin:qa.NUMBER_RE+"(%)?",relevance:0},qa.COMMENT(/\bN\(/,/\)/,{excludeBegin:!0,excludeEnd:!0,illegal:/\n/})]}}return excel_1=Ra,excel_1}var fix_1,hasRequiredFix;function requireFix(){if(hasRequiredFix)return fix_1;hasRequiredFix=1;function Ra(qa){return{name:"FIX",contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}}return fix_1=Ra,fix_1}var flix_1,hasRequiredFlix;function requireFlix(){if(hasRequiredFlix)return flix_1;hasRequiredFlix=1;function Ra(qa){const nd={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},od={className:"string",variants:[{begin:'"',end:'"'}]},ud={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[{className:"title",relevance:0,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/}]};return{name:"Flix",keywords:{keyword:["case","class","def","else","enum","if","impl","import","in","lat","rel","index","let","match","namespace","switch","type","yield","with"],literal:["true","false"]},contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,nd,od,ud,qa.C_NUMBER_MODE]}}return flix_1=Ra,flix_1}var fortran_1,hasRequiredFortran;function requireFortran(){if(hasRequiredFortran)return fortran_1;hasRequiredFortran=1;function Ra(qa){const nd=qa.regex,od={className:"params",begin:"\\(",end:"\\)"},ld={variants:[qa.COMMENT("!","$",{relevance:0}),qa.COMMENT("^C[ ]","$",{relevance:0}),qa.COMMENT("^C$","$",{relevance:0})]},ud=/(_[a-z_\d]+)?/,dd=/([de][+-]?\d+)?/,pd={className:"number",variants:[{begin:nd.concat(/\b\d+/,/\.(\d*)/,dd,ud)},{begin:nd.concat(/\b\d+/,dd,ud)},{begin:nd.concat(/\.\d+/,dd,ud)}],relevance:0},fd={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[qa.UNDERSCORE_TITLE_MODE,od]},md={className:"string",relevance:0,variants:[qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE]};return{name:"Fortran",case_insensitive:!0,aliases:["f90","f95"],keywords:{$pattern:/\b[a-z][a-z0-9_]+\b|\.[a-z][a-z0-9_]+\./,keyword:["kind","do","concurrent","local","shared","while","private","call","intrinsic","where","elsewhere","type","endtype","endmodule","endselect","endinterface","end","enddo","endif","if","forall","endforall","only","contains","default","return","stop","then","block","endblock","endassociate","public","subroutine|10","function","program",".and.",".or.",".not.",".le.",".eq.",".ge.",".gt.",".lt.","goto","save","else","use","module","select","case","access","blank","direct","exist","file","fmt","form","formatted","iostat","name","named","nextrec","number","opened","rec","recl","sequential","status","unformatted","unit","continue","format","pause","cycle","exit","c_null_char","c_alert","c_backspace","c_form_feed","flush","wait","decimal","round","iomsg","synchronous","nopass","non_overridable","pass","protected","volatile","abstract","extends","import","non_intrinsic","value","deferred","generic","final","enumerator","class","associate","bind","enum","c_int","c_short","c_long","c_long_long","c_signed_char","c_size_t","c_int8_t","c_int16_t","c_int32_t","c_int64_t","c_int_least8_t","c_int_least16_t","c_int_least32_t","c_int_least64_t","c_int_fast8_t","c_int_fast16_t","c_int_fast32_t","c_int_fast64_t","c_intmax_t","C_intptr_t","c_float","c_double","c_long_double","c_float_complex","c_double_complex","c_long_double_complex","c_bool","c_char","c_null_ptr","c_null_funptr","c_new_line","c_carriage_return","c_horizontal_tab","c_vertical_tab","iso_c_binding","c_loc","c_funloc","c_associated","c_f_pointer","c_ptr","c_funptr","iso_fortran_env","character_storage_size","error_unit","file_storage_size","input_unit","iostat_end","iostat_eor","numeric_storage_size","output_unit","c_f_procpointer","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","newunit","contiguous","recursive","pad","position","action","delim","readwrite","eor","advance","nml","interface","procedure","namelist","include","sequence","elemental","pure","impure","integer","real","character","complex","logical","codimension","dimension","allocatable|10","parameter","external","implicit|10","none","double","precision","assign","intent","optional","pointer","target","in","out","common","equivalence","data"],literal:[".False.",".True."],built_in:["alog","alog10","amax0","amax1","amin0","amin1","amod","cabs","ccos","cexp","clog","csin","csqrt","dabs","dacos","dasin","datan","datan2","dcos","dcosh","ddim","dexp","dint","dlog","dlog10","dmax1","dmin1","dmod","dnint","dsign","dsin","dsinh","dsqrt","dtan","dtanh","float","iabs","idim","idint","idnint","ifix","isign","max0","max1","min0","min1","sngl","algama","cdabs","cdcos","cdexp","cdlog","cdsin","cdsqrt","cqabs","cqcos","cqexp","cqlog","cqsin","cqsqrt","dcmplx","dconjg","derf","derfc","dfloat","dgamma","dimag","dlgama","iqint","qabs","qacos","qasin","qatan","qatan2","qcmplx","qconjg","qcos","qcosh","qdim","qerf","qerfc","qexp","qgamma","qimag","qlgama","qlog","qlog10","qmax1","qmin1","qmod","qnint","qsign","qsin","qsinh","qsqrt","qtan","qtanh","abs","acos","aimag","aint","anint","asin","atan","atan2","char","cmplx","conjg","cos","cosh","exp","ichar","index","int","log","log10","max","min","nint","sign","sin","sinh","sqrt","tan","tanh","print","write","dim","lge","lgt","lle","llt","mod","nullify","allocate","deallocate","adjustl","adjustr","all","allocated","any","associated","bit_size","btest","ceiling","count","cshift","date_and_time","digits","dot_product","eoshift","epsilon","exponent","floor","fraction","huge","iand","ibclr","ibits","ibset","ieor","ior","ishft","ishftc","lbound","len_trim","matmul","maxexponent","maxloc","maxval","merge","minexponent","minloc","minval","modulo","mvbits","nearest","pack","present","product","radix","random_number","random_seed","range","repeat","reshape","rrspacing","scale","scan","selected_int_kind","selected_real_kind","set_exponent","shape","size","spacing","spread","sum","system_clock","tiny","transpose","trim","ubound","unpack","verify","achar","iachar","transfer","dble","entry","dprod","cpu_time","command_argument_count","get_command","get_command_argument","get_environment_variable","is_iostat_end","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","is_iostat_eor","move_alloc","new_line","selected_char_kind","same_type_as","extends_type_of","acosh","asinh","atanh","bessel_j0","bessel_j1","bessel_jn","bessel_y0","bessel_y1","bessel_yn","erf","erfc","erfc_scaled","gamma","log_gamma","hypot","norm2","atomic_define","atomic_ref","execute_command_line","leadz","trailz","storage_size","merge_bits","bge","bgt","ble","blt","dshiftl","dshiftr","findloc","iall","iany","iparity","image_index","lcobound","ucobound","maskl","maskr","num_images","parity","popcnt","poppar","shifta","shiftl","shiftr","this_image","sync","change","team","co_broadcast","co_max","co_min","co_sum","co_reduce"]},illegal:/\/\*/,contains:[md,fd,{begin:/^C\s*=(?!=)/,relevance:0},ld,pd]}}return fortran_1=Ra,fortran_1}var fsharp_1,hasRequiredFsharp;function requireFsharp(){if(hasRequiredFsharp)return fsharp_1;hasRequiredFsharp=1;function Ra(pd){return new RegExp(pd.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function qa(pd){return pd?typeof pd=="string"?pd:pd.source:null}function nd(pd){return od("(?=",pd,")")}function od(...pd){return pd.map(md=>qa(md)).join("")}function ld(pd){const fd=pd[pd.length-1];return typeof fd=="object"&&fd.constructor===Object?(pd.splice(pd.length-1,1),fd):{}}function ud(...pd){return"("+(ld(pd).capture?"":"?:")+pd.map(vd=>qa(vd)).join("|")+")"}function dd(pd){const fd=["abstract","and","as","assert","base","begin","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","extern","finally","fixed","for","fun","function","global","if","in","inherit","inline","interface","internal","lazy","let","match","member","module","mutable","namespace","new","of","open","or","override","private","public","rec","return","static","struct","then","to","try","type","upcast","use","val","void","when","while","with","yield"],md={scope:"keyword",match:/\b(yield|return|let|do|match|use)!/},vd=["if","else","endif","line","nowarn","light","r","i","I","load","time","help","quit"],Ad=["true","false","null","Some","None","Ok","Error","infinity","infinityf","nan","nanf"],Nd=["__LINE__","__SOURCE_DIRECTORY__","__SOURCE_FILE__"],Od=["bool","byte","sbyte","int8","int16","int32","uint8","uint16","uint32","int","uint","int64","uint64","nativeint","unativeint","decimal","float","double","float32","single","char","string","unit","bigint","option","voption","list","array","seq","byref","exn","inref","nativeptr","obj","outref","voidptr","Result"],Ld={keyword:fd,literal:Ad,built_in:["not","ref","raise","reraise","dict","readOnlyDict","set","get","enum","sizeof","typeof","typedefof","nameof","nullArg","invalidArg","invalidOp","id","fst","snd","ignore","lock","using","box","unbox","tryUnbox","printf","printfn","sprintf","eprintf","eprintfn","fprintf","fprintfn","failwith","failwithf"],"variable.constant":Nd},jd={variants:[pd.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:["self"]}),pd.C_LINE_COMMENT_MODE]},Fd=/[a-zA-Z_](\w|')*/,Ud={scope:"variable",begin:/``/,end:/``/},qd=/\B('|\^)/,zd={scope:"symbol",variants:[{match:od(qd,/``.*?``/)},{match:od(qd,pd.UNDERSCORE_IDENT_RE)}],relevance:0},Wd=function({includeEqual:Jf}){let Kf;Jf?Kf="!%&*+-/<=>@^|~?":Kf="!%&*+-/<>@^|~?";const Cf=Array.from(Kf),xf=od("[",...Cf.map(Ra),"]"),Yf=ud(xf,/\./),dh=od(Yf,nd(Yf)),Rh=ud(od(dh,Yf,"*"),od(xf,"+"));return{scope:"operator",match:ud(Rh,/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},Jd=Wd({includeEqual:!0}),_f=Wd({includeEqual:!1}),Xd=function(Jf,Kf){return{begin:od(Jf,nd(od(/\s*/,ud(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:Kf,end:nd(ud(/\n/,/=/)),relevance:0,keywords:pd.inherit(Ld,{type:Od}),contains:[jd,zd,pd.inherit(Ud,{scope:null}),_f]}},pf=Xd(/:/,"operator"),mf=Xd(/\bof\b/,"keyword"),Sf={begin:[/(^|\s+)/,/type/,/\s+/,Fd],beginScope:{2:"keyword",4:"title.class"},end:nd(/\(|=|$/),keywords:Ld,contains:[jd,pd.inherit(Ud,{scope:null}),zd,{scope:"operator",match:/<|>/},pf]},Tf={scope:"computation-expression",match:/\b[_a-z]\w*(?=\s*\{)/},Af={begin:[/^\s*/,od(/#/,ud(...vd)),/\b/],beginScope:{2:"meta"},end:nd(/\s|$/)},Ef={variants:[pd.BINARY_NUMBER_MODE,pd.C_NUMBER_MODE]},Nf={scope:"string",begin:/"/,end:/"/,contains:[pd.BACKSLASH_ESCAPE]},If={scope:"string",begin:/@"/,end:/"/,contains:[{match:/""/},pd.BACKSLASH_ESCAPE]},Gf={scope:"string",begin:/"""/,end:/"""/,relevance:2},Qf={scope:"subst",begin:/\{/,end:/\}/,keywords:Ld},Xf={scope:"string",begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},pd.BACKSLASH_ESCAPE,Qf]},ph={scope:"string",begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},pd.BACKSLASH_ESCAPE,Qf]},qf={scope:"string",begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},Qf],relevance:2},Lf={scope:"string",match:od(/'/,ud(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};return Qf.contains=[ph,Xf,If,Nf,Lf,md,jd,Ud,pf,Tf,Af,Ef,zd,Jd],{name:"F#",aliases:["fs","f#"],keywords:Ld,illegal:/\/\*/,classNameAliases:{"computation-expression":"keyword"},contains:[md,{variants:[qf,ph,Xf,Gf,If,Nf,Lf]},jd,Ud,Sf,{scope:"meta",begin:/\[</,end:/>\]/,relevance:2,contains:[Ud,Gf,If,Nf,Lf,Ef]},mf,pf,Tf,Af,Ef,zd,Jd]}}return fsharp_1=dd,fsharp_1}var gams_1,hasRequiredGams;function requireGams(){if(hasRequiredGams)return gams_1;hasRequiredGams=1;function Ra(qa){const nd=qa.regex,od={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na",built_in:"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"},ld={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},ud={className:"symbol",variants:[{begin:/=[lgenxc]=/},{begin:/\$/}]},dd={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[qa.BACKSLASH_ESCAPE]},pd={begin:"/",end:"/",keywords:od,contains:[dd,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE,qa.C_NUMBER_MODE]},fd=/[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/,md={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[dd,pd,{className:"comment",begin:nd.concat(fd,nd.anyNumberOfTimes(nd.concat(/[ ]+/,fd))),relevance:0}]};return{name:"GAMS",aliases:["gms"],case_insensitive:!0,keywords:od,contains:[qa.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"keyword",begin:"^\\$[a-z0-9]+"}]},qa.COMMENT("^\\*","$"),qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[qa.COMMENT("^\\*","$"),qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE,pd,md]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[md]},qa.COMMENT("^\\*","$"),qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE,qa.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{className:"title",begin:/^[a-z0-9_]+/},ld,ud]},qa.C_NUMBER_MODE,ud]}}return gams_1=Ra,gams_1}var gauss_1,hasRequiredGauss;function requireGauss(){if(hasRequiredGauss)return gauss_1;hasRequiredGauss=1;function Ra(qa){const nd={keyword:"bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint ne ge le gt lt and xor or not eq eqv",built_in:"abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester strtrim",literal:"DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR"},od=qa.COMMENT("@","@"),ld={className:"meta",begin:"#",end:"$",keywords:{keyword:"define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{keyword:"include"},contains:[{className:"string",begin:'"',end:'"',illegal:"\\n"}]},qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,od]},ud={begin:/\bstruct\s+/,end:/\s/,keywords:"struct",contains:[{className:"type",begin:qa.UNDERSCORE_IDENT_RE,relevance:0}]},dd=[{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,endsWithParent:!0,relevance:0,contains:[{className:"literal",begin:/\.\.\./},qa.C_NUMBER_MODE,qa.C_BLOCK_COMMENT_MODE,od,ud]}],pd={className:"title",begin:qa.UNDERSCORE_IDENT_RE,relevance:0},fd=function(Od,kd,Ld){const Gd=qa.inherit({className:"function",beginKeywords:Od,end:kd,excludeEnd:!0,contains:[].concat(dd)},{});return Gd.contains.push(pd),Gd.contains.push(qa.C_NUMBER_MODE),Gd.contains.push(qa.C_BLOCK_COMMENT_MODE),Gd.contains.push(od),Gd},md={className:"built_in",begin:"\\b("+nd.built_in.split(" ").join("|")+")\\b"},vd={className:"string",begin:'"',end:'"',contains:[qa.BACKSLASH_ESCAPE],relevance:0},Ad={begin:qa.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,keywords:nd,relevance:0,contains:[{beginKeywords:nd.keyword},md,{className:"built_in",begin:qa.UNDERSCORE_IDENT_RE,relevance:0}]},Nd={begin:/\(/,end:/\)/,relevance:0,keywords:{built_in:nd.built_in,literal:nd.literal},contains:[qa.C_NUMBER_MODE,qa.C_BLOCK_COMMENT_MODE,od,md,Ad,vd,"self"]};return Ad.contains.push(Nd),{name:"GAUSS",aliases:["gss"],case_insensitive:!0,keywords:nd,illegal:/(\{[%#]|[%#]\}| <- )/,contains:[qa.C_NUMBER_MODE,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,od,vd,ld,{className:"keyword",begin:/\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/},fd("proc keyword",";"),fd("fn","="),{beginKeywords:"for threadfor",end:/;/,relevance:0,contains:[qa.C_BLOCK_COMMENT_MODE,od,Nd]},{variants:[{begin:qa.UNDERSCORE_IDENT_RE+"\\."+qa.UNDERSCORE_IDENT_RE},{begin:qa.UNDERSCORE_IDENT_RE+"\\s*="}],relevance:0},Ad,ud]}}return gauss_1=Ra,gauss_1}var gcode_1,hasRequiredGcode;function requireGcode(){if(hasRequiredGcode)return gcode_1;hasRequiredGcode=1;function Ra(qa){const nd="[A-Z_][A-Z0-9_.]*",od="%",ld={$pattern:nd,keyword:"IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR"},ud={className:"meta",begin:"([O])([0-9]+)"},dd=qa.inherit(qa.C_NUMBER_MODE,{begin:"([-+]?((\\.\\d+)|(\\d+)(\\.\\d*)?))|"+qa.C_NUMBER_RE}),pd=[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.COMMENT(/\(/,/\)/),dd,qa.inherit(qa.APOS_STRING_MODE,{illegal:null}),qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null}),{className:"name",begin:"([G])([0-9]+\\.?[0-9]?)"},{className:"name",begin:"([M])([0-9]+\\.?[0-9]?)"},{className:"attr",begin:"(VC|VS|#)",end:"(\\d+)"},{className:"attr",begin:"(VZOFX|VZOFY|VZOFZ)"},{className:"built_in",begin:"(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)",contains:[dd],end:"\\]"},{className:"symbol",variants:[{begin:"N",end:"\\d+",illegal:"\\W"}]}];return{name:"G-code (ISO 6983)",aliases:["nc"],case_insensitive:!0,keywords:ld,contains:[{className:"meta",begin:od},ud].concat(pd)}}return gcode_1=Ra,gcode_1}var gherkin_1,hasRequiredGherkin;function requireGherkin(){if(hasRequiredGherkin)return gherkin_1;hasRequiredGherkin=1;function Ra(qa){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},qa.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},qa.QUOTE_STRING_MODE]}}return gherkin_1=Ra,gherkin_1}var glsl_1,hasRequiredGlsl;function requireGlsl(){if(hasRequiredGlsl)return glsl_1;hasRequiredGlsl=1;function Ra(qa){return{name:"GLSL",keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}}return glsl_1=Ra,glsl_1}var gml_1,hasRequiredGml;function requireGml(){if(hasRequiredGml)return gml_1;hasRequiredGml=1;function Ra(qa){return{name:"GML",case_insensitive:!1,keywords:{keyword:["#endregion","#macro","#region","and","begin","break","case","constructor","continue","default","delete","div","do","else","end","enum","exit","for","function","globalvar","if","mod","new","not","or","repeat","return","static","switch","then","until","var","while","with","xor"],built_in:["abs","alarm_get","alarm_set","angle_difference","animcurve_channel_evaluate","animcurve_channel_new","animcurve_create","animcurve_destroy","animcurve_exists","animcurve_get","animcurve_get_channel","animcurve_get_channel_index","animcurve_point_new","ansi_char","application_get_position","application_surface_draw_enable","application_surface_enable","application_surface_is_enabled","arccos","arcsin","arctan","arctan2","array_all","array_any","array_concat","array_contains","array_contains_ext","array_copy","array_copy_while","array_create","array_create_ext","array_delete","array_equals","array_filter","array_filter_ext","array_find_index","array_first","array_foreach","array_get","array_get_index","array_insert","array_intersection","array_last","array_length","array_map","array_map_ext","array_pop","array_push","array_reduce","array_resize","array_reverse","array_reverse_ext","array_set","array_shuffle","array_shuffle_ext","array_sort","array_union","array_unique","array_unique_ext","asset_add_tags","asset_clear_tags","asset_get_ids","asset_get_index","asset_get_tags","asset_get_type","asset_has_any_tag","asset_has_tags","asset_remove_tags","audio_bus_clear_emitters","audio_bus_create","audio_bus_get_emitters","audio_channel_num","audio_create_buffer_sound","audio_create_play_queue","audio_create_stream","audio_create_sync_group","audio_debug","audio_destroy_stream","audio_destroy_sync_group","audio_effect_create","audio_emitter_bus","audio_emitter_create","audio_emitter_exists","audio_emitter_falloff","audio_emitter_free","audio_emitter_gain","audio_emitter_get_bus","audio_emitter_get_gain","audio_emitter_get_listener_mask","audio_emitter_get_pitch","audio_emitter_get_vx","audio_emitter_get_vy","audio_emitter_get_vz","audio_emitter_get_x","audio_emitter_get_y","audio_emitter_get_z","audio_emitter_pitch","audio_emitter_position","audio_emitter_set_listener_mask","audio_emitter_velocity","audio_exists","audio_falloff_set_model","audio_free_buffer_sound","audio_free_play_queue","audio_get_listener_count","audio_get_listener_info","audio_get_listener_mask","audio_get_master_gain","audio_get_name","audio_get_recorder_count","audio_get_recorder_info","audio_get_type","audio_group_get_assets","audio_group_get_gain","audio_group_is_loaded","audio_group_load","audio_group_load_progress","audio_group_name","audio_group_set_gain","audio_group_stop_all","audio_group_unload","audio_is_paused","audio_is_playing","audio_listener_get_data","audio_listener_orientation","audio_listener_position","audio_listener_set_orientation","audio_listener_set_position","audio_listener_set_velocity","audio_listener_velocity","audio_master_gain","audio_pause_all","audio_pause_sound","audio_pause_sync_group","audio_play_in_sync_group","audio_play_sound","audio_play_sound_at","audio_play_sound_ext","audio_play_sound_on","audio_queue_sound","audio_resume_all","audio_resume_sound","audio_resume_sync_group","audio_set_listener_mask","audio_set_master_gain","audio_sound_gain","audio_sound_get_audio_group","audio_sound_get_gain","audio_sound_get_listener_mask","audio_sound_get_loop","audio_sound_get_loop_end","audio_sound_get_loop_start","audio_sound_get_pitch","audio_sound_get_track_position","audio_sound_is_playable","audio_sound_length","audio_sound_loop","audio_sound_loop_end","audio_sound_loop_start","audio_sound_pitch","audio_sound_set_listener_mask","audio_sound_set_track_position","audio_start_recording","audio_start_sync_group","audio_stop_all","audio_stop_recording","audio_stop_sound","audio_stop_sync_group","audio_sync_group_debug","audio_sync_group_get_track_pos","audio_sync_group_is_paused","audio_sync_group_is_playing","audio_system_is_available","audio_system_is_initialised","base64_decode","base64_encode","bool","browser_input_capture","buffer_async_group_begin","buffer_async_group_end","buffer_async_group_option","buffer_base64_decode","buffer_base64_decode_ext","buffer_base64_encode","buffer_compress","buffer_copy","buffer_copy_from_vertex_buffer","buffer_copy_stride","buffer_crc32","buffer_create","buffer_create_from_vertex_buffer","buffer_create_from_vertex_buffer_ext","buffer_decompress","buffer_delete","buffer_exists","buffer_fill","buffer_get_address","buffer_get_alignment","buffer_get_size","buffer_get_surface","buffer_get_type","buffer_load","buffer_load_async","buffer_load_ext","buffer_load_partial","buffer_md5","buffer_peek","buffer_poke","buffer_read","buffer_resize","buffer_save","buffer_save_async","buffer_save_ext","buffer_seek","buffer_set_surface","buffer_set_used_size","buffer_sha1","buffer_sizeof","buffer_tell","buffer_write","call_cancel","call_later","camera_apply","camera_copy_transforms","camera_create","camera_create_view","camera_destroy","camera_get_active","camera_get_begin_script","camera_get_default","camera_get_end_script","camera_get_proj_mat","camera_get_update_script","camera_get_view_angle","camera_get_view_border_x","camera_get_view_border_y","camera_get_view_height","camera_get_view_mat","camera_get_view_speed_x","camera_get_view_speed_y","camera_get_view_target","camera_get_view_width","camera_get_view_x","camera_get_view_y","camera_set_begin_script","camera_set_default","camera_set_end_script","camera_set_proj_mat","camera_set_update_script","camera_set_view_angle","camera_set_view_border","camera_set_view_mat","camera_set_view_pos","camera_set_view_size","camera_set_view_speed","camera_set_view_target","ceil","choose","chr","clamp","clickable_add","clickable_add_ext","clickable_change","clickable_change_ext","clickable_delete","clickable_exists","clickable_set_style","clipboard_get_text","clipboard_has_text","clipboard_set_text","cloud_file_save","cloud_string_save","cloud_synchronise","code_is_compiled","collision_circle","collision_circle_list","collision_ellipse","collision_ellipse_list","collision_line","collision_line_list","collision_point","collision_point_list","collision_rectangle","collision_rectangle_list","color_get_blue","color_get_green","color_get_hue","color_get_red","color_get_saturation","color_get_value","colour_get_blue","colour_get_green","colour_get_hue","colour_get_red","colour_get_saturation","colour_get_value","cos","darccos","darcsin","darctan","darctan2","date_compare_date","date_compare_datetime","date_compare_time","date_create_datetime","date_current_datetime","date_date_of","date_date_string","date_datetime_string","date_day_span","date_days_in_month","date_days_in_year","date_get_day","date_get_day_of_year","date_get_hour","date_get_hour_of_year","date_get_minute","date_get_minute_of_year","date_get_month","date_get_second","date_get_second_of_year","date_get_timezone","date_get_week","date_get_weekday","date_get_year","date_hour_span","date_inc_day","date_inc_hour","date_inc_minute","date_inc_month","date_inc_second","date_inc_week","date_inc_year","date_is_today","date_leap_year","date_minute_span","date_month_span","date_second_span","date_set_timezone","date_time_of","date_time_string","date_valid_datetime","date_week_span","date_year_span","db_to_lin","dbg_add_font_glyphs","dbg_button","dbg_checkbox","dbg_color","dbg_colour","dbg_drop_down","dbg_same_line","dbg_section","dbg_section_delete","dbg_section_exists","dbg_slider","dbg_slider_int","dbg_sprite","dbg_text","dbg_text_input","dbg_view","dbg_view_delete","dbg_view_exists","dbg_watch","dcos","debug_event","debug_get_callstack","degtorad","device_get_tilt_x","device_get_tilt_y","device_get_tilt_z","device_is_keypad_open","device_mouse_check_button","device_mouse_check_button_pressed","device_mouse_check_button_released","device_mouse_dbclick_enable","device_mouse_raw_x","device_mouse_raw_y","device_mouse_x","device_mouse_x_to_gui","device_mouse_y","device_mouse_y_to_gui","directory_create","directory_destroy","directory_exists","display_get_dpi_x","display_get_dpi_y","display_get_frequency","display_get_gui_height","display_get_gui_width","display_get_height","display_get_orientation","display_get_sleep_margin","display_get_timing_method","display_get_width","display_mouse_get_x","display_mouse_get_y","display_mouse_set","display_reset","display_set_gui_maximise","display_set_gui_maximize","display_set_gui_size","display_set_sleep_margin","display_set_timing_method","display_set_ui_visibility","distance_to_object","distance_to_point","dot_product","dot_product_3d","dot_product_3d_normalised","dot_product_3d_normalized","dot_product_normalised","dot_product_normalized","draw_arrow","draw_button","draw_circle","draw_circle_color","draw_circle_colour","draw_clear","draw_clear_alpha","draw_ellipse","draw_ellipse_color","draw_ellipse_colour","draw_enable_drawevent","draw_enable_skeleton_blendmodes","draw_enable_swf_aa","draw_flush","draw_get_alpha","draw_get_color","draw_get_colour","draw_get_enable_skeleton_blendmodes","draw_get_font","draw_get_halign","draw_get_lighting","draw_get_swf_aa_level","draw_get_valign","draw_getpixel","draw_getpixel_ext","draw_healthbar","draw_highscore","draw_light_define_ambient","draw_light_define_direction","draw_light_define_point","draw_light_enable","draw_light_get","draw_light_get_ambient","draw_line","draw_line_color","draw_line_colour","draw_line_width","draw_line_width_color","draw_line_width_colour","draw_path","draw_point","draw_point_color","draw_point_colour","draw_primitive_begin","draw_primitive_begin_texture","draw_primitive_end","draw_rectangle","draw_rectangle_color","draw_rectangle_colour","draw_roundrect","draw_roundrect_color","draw_roundrect_color_ext","draw_roundrect_colour","draw_roundrect_colour_ext","draw_roundrect_ext","draw_self","draw_set_alpha","draw_set_circle_precision","draw_set_color","draw_set_colour","draw_set_font","draw_set_halign","draw_set_lighting","draw_set_swf_aa_level","draw_set_valign","draw_skeleton","draw_skeleton_collision","draw_skeleton_instance","draw_skeleton_time","draw_sprite","draw_sprite_ext","draw_sprite_general","draw_sprite_part","draw_sprite_part_ext","draw_sprite_pos","draw_sprite_stretched","draw_sprite_stretched_ext","draw_sprite_tiled","draw_sprite_tiled_ext","draw_surface","draw_surface_ext","draw_surface_general","draw_surface_part","draw_surface_part_ext","draw_surface_stretched","draw_surface_stretched_ext","draw_surface_tiled","draw_surface_tiled_ext","draw_text","draw_text_color","draw_text_colour","draw_text_ext","draw_text_ext_color","draw_text_ext_colour","draw_text_ext_transformed","draw_text_ext_transformed_color","draw_text_ext_transformed_colour","draw_text_transformed","draw_text_transformed_color","draw_text_transformed_colour","draw_texture_flush","draw_tile","draw_tilemap","draw_triangle","draw_triangle_color","draw_triangle_colour","draw_vertex","draw_vertex_color","draw_vertex_colour","draw_vertex_texture","draw_vertex_texture_color","draw_vertex_texture_colour","ds_exists","ds_grid_add","ds_grid_add_disk","ds_grid_add_grid_region","ds_grid_add_region","ds_grid_clear","ds_grid_copy","ds_grid_create","ds_grid_destroy","ds_grid_get","ds_grid_get_disk_max","ds_grid_get_disk_mean","ds_grid_get_disk_min","ds_grid_get_disk_sum","ds_grid_get_max","ds_grid_get_mean","ds_grid_get_min","ds_grid_get_sum","ds_grid_height","ds_grid_multiply","ds_grid_multiply_disk","ds_grid_multiply_grid_region","ds_grid_multiply_region","ds_grid_read","ds_grid_resize","ds_grid_set","ds_grid_set_disk","ds_grid_set_grid_region","ds_grid_set_region","ds_grid_shuffle","ds_grid_sort","ds_grid_to_mp_grid","ds_grid_value_disk_exists","ds_grid_value_disk_x","ds_grid_value_disk_y","ds_grid_value_exists","ds_grid_value_x","ds_grid_value_y","ds_grid_width","ds_grid_write","ds_list_add","ds_list_clear","ds_list_copy","ds_list_create","ds_list_delete","ds_list_destroy","ds_list_empty","ds_list_find_index","ds_list_find_value","ds_list_insert","ds_list_is_list","ds_list_is_map","ds_list_mark_as_list","ds_list_mark_as_map","ds_list_read","ds_list_replace","ds_list_set","ds_list_shuffle","ds_list_size","ds_list_sort","ds_list_write","ds_map_add","ds_map_add_list","ds_map_add_map","ds_map_clear","ds_map_copy","ds_map_create","ds_map_delete","ds_map_destroy","ds_map_empty","ds_map_exists","ds_map_find_first","ds_map_find_last","ds_map_find_next","ds_map_find_previous","ds_map_find_value","ds_map_is_list","ds_map_is_map","ds_map_keys_to_array","ds_map_read","ds_map_replace","ds_map_replace_list","ds_map_replace_map","ds_map_secure_load","ds_map_secure_load_buffer","ds_map_secure_save","ds_map_secure_save_buffer","ds_map_set","ds_map_size","ds_map_values_to_array","ds_map_write","ds_priority_add","ds_priority_change_priority","ds_priority_clear","ds_priority_copy","ds_priority_create","ds_priority_delete_max","ds_priority_delete_min","ds_priority_delete_value","ds_priority_destroy","ds_priority_empty","ds_priority_find_max","ds_priority_find_min","ds_priority_find_priority","ds_priority_read","ds_priority_size","ds_priority_write","ds_queue_clear","ds_queue_copy","ds_queue_create","ds_queue_dequeue","ds_queue_destroy","ds_queue_empty","ds_queue_enqueue","ds_queue_head","ds_queue_read","ds_queue_size","ds_queue_tail","ds_queue_write","ds_set_precision","ds_stack_clear","ds_stack_copy","ds_stack_create","ds_stack_destroy","ds_stack_empty","ds_stack_pop","ds_stack_push","ds_stack_read","ds_stack_size","ds_stack_top","ds_stack_write","dsin","dtan","effect_clear","effect_create_above","effect_create_below","effect_create_depth","effect_create_layer","environment_get_variable","event_inherited","event_perform","event_perform_async","event_perform_object","event_user","exception_unhandled_handler","exp","extension_exists","extension_get_option_count","extension_get_option_names","extension_get_option_value","extension_get_options","extension_get_version","external_call","external_define","external_free","file_attributes","file_bin_close","file_bin_open","file_bin_position","file_bin_read_byte","file_bin_rewrite","file_bin_seek","file_bin_size","file_bin_write_byte","file_copy","file_delete","file_exists","file_find_close","file_find_first","file_find_next","file_rename","file_text_close","file_text_eof","file_text_eoln","file_text_open_append","file_text_open_from_string","file_text_open_read","file_text_open_write","file_text_read_real","file_text_read_string","file_text_readln","file_text_write_real","file_text_write_string","file_text_writeln","filename_change_ext","filename_dir","filename_drive","filename_ext","filename_name","filename_path","floor","font_add","font_add_enable_aa","font_add_get_enable_aa","font_add_sprite","font_add_sprite_ext","font_cache_glyph","font_delete","font_enable_effects","font_enable_sdf","font_exists","font_get_bold","font_get_first","font_get_fontname","font_get_info","font_get_italic","font_get_last","font_get_name","font_get_sdf_enabled","font_get_sdf_spread","font_get_size","font_get_texture","font_get_uvs","font_replace_sprite","font_replace_sprite_ext","font_sdf_spread","font_set_cache_size","frac","fx_create","fx_get_name","fx_get_parameter","fx_get_parameter_names","fx_get_parameters","fx_get_single_layer","fx_set_parameter","fx_set_parameters","fx_set_single_layer","game_change","game_end","game_get_speed","game_load","game_load_buffer","game_restart","game_save","game_save_buffer","game_set_speed","gamepad_axis_count","gamepad_axis_value","gamepad_button_check","gamepad_button_check_pressed","gamepad_button_check_released","gamepad_button_count","gamepad_button_value","gamepad_get_axis_deadzone","gamepad_get_button_threshold","gamepad_get_description","gamepad_get_device_count","gamepad_get_guid","gamepad_get_mapping","gamepad_get_option","gamepad_hat_count","gamepad_hat_value","gamepad_is_connected","gamepad_is_supported","gamepad_remove_mapping","gamepad_set_axis_deadzone","gamepad_set_button_threshold","gamepad_set_color","gamepad_set_colour","gamepad_set_option","gamepad_set_vibration","gamepad_test_mapping","gc_collect","gc_enable","gc_get_stats","gc_get_target_frame_time","gc_is_enabled","gc_target_frame_time","gesture_double_tap_distance","gesture_double_tap_time","gesture_drag_distance","gesture_drag_time","gesture_flick_speed","gesture_get_double_tap_distance","gesture_get_double_tap_time","gesture_get_drag_distance","gesture_get_drag_time","gesture_get_flick_speed","gesture_get_pinch_angle_away","gesture_get_pinch_angle_towards","gesture_get_pinch_distance","gesture_get_rotate_angle","gesture_get_rotate_time","gesture_get_tap_count","gesture_pinch_angle_away","gesture_pinch_angle_towards","gesture_pinch_distance","gesture_rotate_angle","gesture_rotate_time","gesture_tap_count","get_integer","get_integer_async","get_login_async","get_open_filename","get_open_filename_ext","get_save_filename","get_save_filename_ext","get_string","get_string_async","get_timer","gif_add_surface","gif_open","gif_save","gif_save_buffer","gml_pragma","gml_release_mode","gpu_get_alphatestenable","gpu_get_alphatestref","gpu_get_blendenable","gpu_get_blendmode","gpu_get_blendmode_dest","gpu_get_blendmode_destalpha","gpu_get_blendmode_ext","gpu_get_blendmode_ext_sepalpha","gpu_get_blendmode_src","gpu_get_blendmode_srcalpha","gpu_get_colorwriteenable","gpu_get_colourwriteenable","gpu_get_cullmode","gpu_get_depth","gpu_get_fog","gpu_get_state","gpu_get_tex_filter","gpu_get_tex_filter_ext","gpu_get_tex_max_aniso","gpu_get_tex_max_aniso_ext","gpu_get_tex_max_mip","gpu_get_tex_max_mip_ext","gpu_get_tex_min_mip","gpu_get_tex_min_mip_ext","gpu_get_tex_mip_bias","gpu_get_tex_mip_bias_ext","gpu_get_tex_mip_enable","gpu_get_tex_mip_enable_ext","gpu_get_tex_mip_filter","gpu_get_tex_mip_filter_ext","gpu_get_tex_repeat","gpu_get_tex_repeat_ext","gpu_get_texfilter","gpu_get_texfilter_ext","gpu_get_texrepeat","gpu_get_texrepeat_ext","gpu_get_zfunc","gpu_get_ztestenable","gpu_get_zwriteenable","gpu_pop_state","gpu_push_state","gpu_set_alphatestenable","gpu_set_alphatestref","gpu_set_blendenable","gpu_set_blendmode","gpu_set_blendmode_ext","gpu_set_blendmode_ext_sepalpha","gpu_set_colorwriteenable","gpu_set_colourwriteenable","gpu_set_cullmode","gpu_set_depth","gpu_set_fog","gpu_set_state","gpu_set_tex_filter","gpu_set_tex_filter_ext","gpu_set_tex_max_aniso","gpu_set_tex_max_aniso_ext","gpu_set_tex_max_mip","gpu_set_tex_max_mip_ext","gpu_set_tex_min_mip","gpu_set_tex_min_mip_ext","gpu_set_tex_mip_bias","gpu_set_tex_mip_bias_ext","gpu_set_tex_mip_enable","gpu_set_tex_mip_enable_ext","gpu_set_tex_mip_filter","gpu_set_tex_mip_filter_ext","gpu_set_tex_repeat","gpu_set_tex_repeat_ext","gpu_set_texfilter","gpu_set_texfilter_ext","gpu_set_texrepeat","gpu_set_texrepeat_ext","gpu_set_zfunc","gpu_set_ztestenable","gpu_set_zwriteenable","handle_parse","highscore_add","highscore_clear","highscore_name","highscore_value","http_get","http_get_file","http_get_request_crossorigin","http_post_string","http_request","http_set_request_crossorigin","iap_acquire","iap_activate","iap_consume","iap_enumerate_products","iap_product_details","iap_purchase_details","iap_restore_all","iap_status","ini_close","ini_key_delete","ini_key_exists","ini_open","ini_open_from_string","ini_read_real","ini_read_string","ini_section_delete","ini_section_exists","ini_write_real","ini_write_string","instance_activate_all","instance_activate_layer","instance_activate_object","instance_activate_region","instance_change","instance_copy","instance_create_depth","instance_create_layer","instance_deactivate_all","instance_deactivate_layer","instance_deactivate_object","instance_deactivate_region","instance_destroy","instance_exists","instance_find","instance_furthest","instance_id_get","instance_nearest","instance_number","instance_place","instance_place_list","instance_position","instance_position_list","instanceof","int64","io_clear","irandom","irandom_range","is_array","is_bool","is_callable","is_debug_overlay_open","is_handle","is_infinity","is_instanceof","is_int32","is_int64","is_keyboard_used_debug_overlay","is_method","is_mouse_over_debug_overlay","is_nan","is_numeric","is_ptr","is_real","is_string","is_struct","is_undefined","json_decode","json_encode","json_parse","json_stringify","keyboard_check","keyboard_check_direct","keyboard_check_pressed","keyboard_check_released","keyboard_clear","keyboard_get_map","keyboard_get_numlock","keyboard_key_press","keyboard_key_release","keyboard_set_map","keyboard_set_numlock","keyboard_unset_map","keyboard_virtual_height","keyboard_virtual_hide","keyboard_virtual_show","keyboard_virtual_status","layer_add_instance","layer_background_alpha","layer_background_blend","layer_background_change","layer_background_create","layer_background_destroy","layer_background_exists","layer_background_get_alpha","layer_background_get_blend","layer_background_get_htiled","layer_background_get_id","layer_background_get_index","layer_background_get_speed","layer_background_get_sprite","layer_background_get_stretch","layer_background_get_visible","layer_background_get_vtiled","layer_background_get_xscale","layer_background_get_yscale","layer_background_htiled","layer_background_index","layer_background_speed","layer_background_sprite","layer_background_stretch","layer_background_visible","layer_background_vtiled","layer_background_xscale","layer_background_yscale","layer_clear_fx","layer_create","layer_depth","layer_destroy","layer_destroy_instances","layer_element_move","layer_enable_fx","layer_exists","layer_force_draw_depth","layer_fx_is_enabled","layer_get_all","layer_get_all_elements","layer_get_depth","layer_get_element_layer","layer_get_element_type","layer_get_forced_depth","layer_get_fx","layer_get_hspeed","layer_get_id","layer_get_id_at_depth","layer_get_name","layer_get_script_begin","layer_get_script_end","layer_get_shader","layer_get_target_room","layer_get_visible","layer_get_vspeed","layer_get_x","layer_get_y","layer_has_instance","layer_hspeed","layer_instance_get_instance","layer_is_draw_depth_forced","layer_reset_target_room","layer_script_begin","layer_script_end","layer_sequence_angle","layer_sequence_create","layer_sequence_destroy","layer_sequence_exists","layer_sequence_get_angle","layer_sequence_get_headdir","layer_sequence_get_headpos","layer_sequence_get_instance","layer_sequence_get_length","layer_sequence_get_sequence","layer_sequence_get_speedscale","layer_sequence_get_x","layer_sequence_get_xscale","layer_sequence_get_y","layer_sequence_get_yscale","layer_sequence_headdir","layer_sequence_headpos","layer_sequence_is_finished","layer_sequence_is_paused","layer_sequence_pause","layer_sequence_play","layer_sequence_speedscale","layer_sequence_x","layer_sequence_xscale","layer_sequence_y","layer_sequence_yscale","layer_set_fx","layer_set_target_room","layer_set_visible","layer_shader","layer_sprite_alpha","layer_sprite_angle","layer_sprite_blend","layer_sprite_change","layer_sprite_create","layer_sprite_destroy","layer_sprite_exists","layer_sprite_get_alpha","layer_sprite_get_angle","layer_sprite_get_blend","layer_sprite_get_id","layer_sprite_get_index","layer_sprite_get_speed","layer_sprite_get_sprite","layer_sprite_get_x","layer_sprite_get_xscale","layer_sprite_get_y","layer_sprite_get_yscale","layer_sprite_index","layer_sprite_speed","layer_sprite_x","layer_sprite_xscale","layer_sprite_y","layer_sprite_yscale","layer_tile_alpha","layer_tile_blend","layer_tile_change","layer_tile_create","layer_tile_destroy","layer_tile_exists","layer_tile_get_alpha","layer_tile_get_blend","layer_tile_get_region","layer_tile_get_sprite","layer_tile_get_visible","layer_tile_get_x","layer_tile_get_xscale","layer_tile_get_y","layer_tile_get_yscale","layer_tile_region","layer_tile_visible","layer_tile_x","layer_tile_xscale","layer_tile_y","layer_tile_yscale","layer_tilemap_create","layer_tilemap_destroy","layer_tilemap_exists","layer_tilemap_get_id","layer_vspeed","layer_x","layer_y","lengthdir_x","lengthdir_y","lerp","lin_to_db","ln","load_csv","log10","log2","logn","make_color_hsv","make_color_rgb","make_colour_hsv","make_colour_rgb","math_get_epsilon","math_set_epsilon","matrix_build","matrix_build_identity","matrix_build_lookat","matrix_build_projection_ortho","matrix_build_projection_perspective","matrix_build_projection_perspective_fov","matrix_get","matrix_multiply","matrix_set","matrix_stack_clear","matrix_stack_is_empty","matrix_stack_pop","matrix_stack_push","matrix_stack_set","matrix_stack_top","matrix_transform_vertex","max","md5_file","md5_string_unicode","md5_string_utf8","mean","median","merge_color","merge_colour","method","method_call","method_get_index","method_get_self","min","motion_add","motion_set","mouse_check_button","mouse_check_button_pressed","mouse_check_button_released","mouse_clear","mouse_wheel_down","mouse_wheel_up","move_and_collide","move_bounce_all","move_bounce_solid","move_contact_all","move_contact_solid","move_outside_all","move_outside_solid","move_random","move_snap","move_towards_point","move_wrap","mp_grid_add_cell","mp_grid_add_instances","mp_grid_add_rectangle","mp_grid_clear_all","mp_grid_clear_cell","mp_grid_clear_rectangle","mp_grid_create","mp_grid_destroy","mp_grid_draw","mp_grid_get_cell","mp_grid_path","mp_grid_to_ds_grid","mp_linear_path","mp_linear_path_object","mp_linear_step","mp_linear_step_object","mp_potential_path","mp_potential_path_object","mp_potential_settings","mp_potential_step","mp_potential_step_object","nameof","network_connect","network_connect_async","network_connect_raw","network_connect_raw_async","network_create_server","network_create_server_raw","network_create_socket","network_create_socket_ext","network_destroy","network_resolve","network_send_broadcast","network_send_packet","network_send_raw","network_send_udp","network_send_udp_raw","network_set_config","network_set_timeout","object_exists","object_get_mask","object_get_name","object_get_parent","object_get_persistent","object_get_physics","object_get_solid","object_get_sprite","object_get_visible","object_is_ancestor","object_set_mask","object_set_persistent","object_set_solid","object_set_sprite","object_set_visible","ord","os_check_permission","os_get_config","os_get_info","os_get_language","os_get_region","os_is_network_connected","os_is_paused","os_lock_orientation","os_powersave_enable","os_request_permission","os_set_orientation_lock","parameter_count","parameter_string","part_emitter_burst","part_emitter_clear","part_emitter_create","part_emitter_delay","part_emitter_destroy","part_emitter_destroy_all","part_emitter_enable","part_emitter_exists","part_emitter_interval","part_emitter_region","part_emitter_relative","part_emitter_stream","part_particles_burst","part_particles_clear","part_particles_count","part_particles_create","part_particles_create_color","part_particles_create_colour","part_system_angle","part_system_automatic_draw","part_system_automatic_update","part_system_clear","part_system_color","part_system_colour","part_system_create","part_system_create_layer","part_system_depth","part_system_destroy","part_system_draw_order","part_system_drawit","part_system_exists","part_system_get_info","part_system_get_layer","part_system_global_space","part_system_layer","part_system_position","part_system_update","part_type_alpha1","part_type_alpha2","part_type_alpha3","part_type_blend","part_type_clear","part_type_color1","part_type_color2","part_type_color3","part_type_color_hsv","part_type_color_mix","part_type_color_rgb","part_type_colour1","part_type_colour2","part_type_colour3","part_type_colour_hsv","part_type_colour_mix","part_type_colour_rgb","part_type_create","part_type_death","part_type_destroy","part_type_direction","part_type_exists","part_type_gravity","part_type_life","part_type_orientation","part_type_scale","part_type_shape","part_type_size","part_type_size_x","part_type_size_y","part_type_speed","part_type_sprite","part_type_step","part_type_subimage","particle_exists","particle_get_info","path_add","path_add_point","path_append","path_assign","path_change_point","path_clear_points","path_delete","path_delete_point","path_duplicate","path_end","path_exists","path_flip","path_get_closed","path_get_kind","path_get_length","path_get_name","path_get_number","path_get_point_speed","path_get_point_x","path_get_point_y","path_get_precision","path_get_speed","path_get_x","path_get_y","path_insert_point","path_mirror","path_rescale","path_reverse","path_rotate","path_set_closed","path_set_kind","path_set_precision","path_shift","path_start","physics_apply_angular_impulse","physics_apply_force","physics_apply_impulse","physics_apply_local_force","physics_apply_local_impulse","physics_apply_torque","physics_draw_debug","physics_fixture_add_point","physics_fixture_bind","physics_fixture_bind_ext","physics_fixture_create","physics_fixture_delete","physics_fixture_set_angular_damping","physics_fixture_set_awake","physics_fixture_set_box_shape","physics_fixture_set_chain_shape","physics_fixture_set_circle_shape","physics_fixture_set_collision_group","physics_fixture_set_density","physics_fixture_set_edge_shape","physics_fixture_set_friction","physics_fixture_set_kinematic","physics_fixture_set_linear_damping","physics_fixture_set_polygon_shape","physics_fixture_set_restitution","physics_fixture_set_sensor","physics_get_density","physics_get_friction","physics_get_restitution","physics_joint_delete","physics_joint_distance_create","physics_joint_enable_motor","physics_joint_friction_create","physics_joint_gear_create","physics_joint_get_value","physics_joint_prismatic_create","physics_joint_pulley_create","physics_joint_revolute_create","physics_joint_rope_create","physics_joint_set_value","physics_joint_weld_create","physics_joint_wheel_create","physics_mass_properties","physics_particle_count","physics_particle_create","physics_particle_delete","physics_particle_delete_region_box","physics_particle_delete_region_circle","physics_particle_delete_region_poly","physics_particle_draw","physics_particle_draw_ext","physics_particle_get_damping","physics_particle_get_data","physics_particle_get_data_particle","physics_particle_get_density","physics_particle_get_gravity_scale","physics_particle_get_group_flags","physics_particle_get_max_count","physics_particle_get_radius","physics_particle_group_add_point","physics_particle_group_begin","physics_particle_group_box","physics_particle_group_circle","physics_particle_group_count","physics_particle_group_delete","physics_particle_group_end","physics_particle_group_get_ang_vel","physics_particle_group_get_angle","physics_particle_group_get_centre_x","physics_particle_group_get_centre_y","physics_particle_group_get_data","physics_particle_group_get_inertia","physics_particle_group_get_mass","physics_particle_group_get_vel_x","physics_particle_group_get_vel_y","physics_particle_group_get_x","physics_particle_group_get_y","physics_particle_group_join","physics_particle_group_polygon","physics_particle_set_category_flags","physics_particle_set_damping","physics_particle_set_density","physics_particle_set_flags","physics_particle_set_gravity_scale","physics_particle_set_group_flags","physics_particle_set_max_count","physics_particle_set_radius","physics_pause_enable","physics_remove_fixture","physics_set_density","physics_set_friction","physics_set_restitution","physics_test_overlap","physics_world_create","physics_world_draw_debug","physics_world_gravity","physics_world_update_iterations","physics_world_update_speed","place_empty","place_free","place_meeting","place_snapped","point_direction","point_distance","point_distance_3d","point_in_circle","point_in_rectangle","point_in_triangle","position_change","position_destroy","position_empty","position_meeting","power","ptr","radtodeg","random","random_get_seed","random_range","random_set_seed","randomise","randomize","real","rectangle_in_circle","rectangle_in_rectangle","rectangle_in_triangle","ref_create","rollback_chat","rollback_create_game","rollback_define_extra_network_latency","rollback_define_input","rollback_define_input_frame_delay","rollback_define_mock_input","rollback_define_player","rollback_display_events","rollback_get_info","rollback_get_input","rollback_get_player_prefs","rollback_join_game","rollback_leave_game","rollback_set_player_prefs","rollback_start_game","rollback_sync_on_frame","rollback_use_late_join","rollback_use_manual_start","rollback_use_player_prefs","rollback_use_random_input","room_add","room_assign","room_duplicate","room_exists","room_get_camera","room_get_info","room_get_name","room_get_viewport","room_goto","room_goto_next","room_goto_previous","room_instance_add","room_instance_clear","room_next","room_previous","room_restart","room_set_camera","room_set_height","room_set_persistent","room_set_view_enabled","room_set_viewport","room_set_width","round","scheduler_resolution_get","scheduler_resolution_set","screen_save","screen_save_part","script_execute","script_execute_ext","script_exists","script_get_name","sequence_create","sequence_destroy","sequence_exists","sequence_get","sequence_get_objects","sequence_instance_override_object","sequence_keyframe_new","sequence_keyframedata_new","sequence_track_new","sha1_file","sha1_string_unicode","sha1_string_utf8","shader_current","shader_enable_corner_id","shader_get_name","shader_get_sampler_index","shader_get_uniform","shader_is_compiled","shader_reset","shader_set","shader_set_uniform_f","shader_set_uniform_f_array","shader_set_uniform_f_buffer","shader_set_uniform_i","shader_set_uniform_i_array","shader_set_uniform_matrix","shader_set_uniform_matrix_array","shaders_are_supported","shop_leave_rating","show_debug_message","show_debug_message_ext","show_debug_overlay","show_error","show_message","show_message_async","show_question","show_question_async","sign","sin","skeleton_animation_clear","skeleton_animation_get","skeleton_animation_get_duration","skeleton_animation_get_event_frames","skeleton_animation_get_ext","skeleton_animation_get_frame","skeleton_animation_get_frames","skeleton_animation_get_position","skeleton_animation_is_finished","skeleton_animation_is_looping","skeleton_animation_list","skeleton_animation_mix","skeleton_animation_set","skeleton_animation_set_ext","skeleton_animation_set_frame","skeleton_animation_set_position","skeleton_attachment_create","skeleton_attachment_create_color","skeleton_attachment_create_colour","skeleton_attachment_destroy","skeleton_attachment_exists","skeleton_attachment_get","skeleton_attachment_replace","skeleton_attachment_replace_color","skeleton_attachment_replace_colour","skeleton_attachment_set","skeleton_bone_data_get","skeleton_bone_data_set","skeleton_bone_list","skeleton_bone_state_get","skeleton_bone_state_set","skeleton_collision_draw_set","skeleton_find_slot","skeleton_get_bounds","skeleton_get_minmax","skeleton_get_num_bounds","skeleton_skin_create","skeleton_skin_get","skeleton_skin_list","skeleton_skin_set","skeleton_slot_alpha_get","skeleton_slot_color_get","skeleton_slot_color_set","skeleton_slot_colour_get","skeleton_slot_colour_set","skeleton_slot_data","skeleton_slot_data_instance","skeleton_slot_list","sprite_add","sprite_add_ext","sprite_add_from_surface","sprite_assign","sprite_collision_mask","sprite_create_from_surface","sprite_delete","sprite_duplicate","sprite_exists","sprite_flush","sprite_flush_multi","sprite_get_bbox_bottom","sprite_get_bbox_left","sprite_get_bbox_mode","sprite_get_bbox_right","sprite_get_bbox_top","sprite_get_height","sprite_get_info","sprite_get_name","sprite_get_nineslice","sprite_get_number","sprite_get_speed","sprite_get_speed_type","sprite_get_texture","sprite_get_tpe","sprite_get_uvs","sprite_get_width","sprite_get_xoffset","sprite_get_yoffset","sprite_merge","sprite_nineslice_create","sprite_prefetch","sprite_prefetch_multi","sprite_replace","sprite_save","sprite_save_strip","sprite_set_alpha_from_sprite","sprite_set_bbox","sprite_set_bbox_mode","sprite_set_cache_size","sprite_set_cache_size_ext","sprite_set_nineslice","sprite_set_offset","sprite_set_speed","sqr","sqrt","static_get","static_set","string","string_byte_at","string_byte_length","string_char_at","string_concat","string_concat_ext","string_copy","string_count","string_delete","string_digits","string_ends_with","string_ext","string_foreach","string_format","string_hash_to_newline","string_height","string_height_ext","string_insert","string_join","string_join_ext","string_last_pos","string_last_pos_ext","string_length","string_letters","string_lettersdigits","string_lower","string_ord_at","string_pos","string_pos_ext","string_repeat","string_replace","string_replace_all","string_set_byte_at","string_split","string_split_ext","string_starts_with","string_trim","string_trim_end","string_trim_start","string_upper","string_width","string_width_ext","struct_exists","struct_foreach","struct_get","struct_get_from_hash","struct_get_names","struct_names_count","struct_remove","struct_set","struct_set_from_hash","surface_copy","surface_copy_part","surface_create","surface_create_ext","surface_depth_disable","surface_exists","surface_format_is_supported","surface_free","surface_get_depth_disable","surface_get_format","surface_get_height","surface_get_target","surface_get_target_ext","surface_get_texture","surface_get_width","surface_getpixel","surface_getpixel_ext","surface_reset_target","surface_resize","surface_save","surface_save_part","surface_set_target","surface_set_target_ext","tag_get_asset_ids","tag_get_assets","tan","texture_debug_messages","texture_flush","texture_get_height","texture_get_texel_height","texture_get_texel_width","texture_get_uvs","texture_get_width","texture_global_scale","texture_is_ready","texture_prefetch","texture_set_stage","texturegroup_get_fonts","texturegroup_get_names","texturegroup_get_sprites","texturegroup_get_status","texturegroup_get_textures","texturegroup_get_tilesets","texturegroup_load","texturegroup_set_mode","texturegroup_unload","tile_get_empty","tile_get_flip","tile_get_index","tile_get_mirror","tile_get_rotate","tile_set_empty","tile_set_flip","tile_set_index","tile_set_mirror","tile_set_rotate","tilemap_clear","tilemap_get","tilemap_get_at_pixel","tilemap_get_cell_x_at_pixel","tilemap_get_cell_y_at_pixel","tilemap_get_frame","tilemap_get_global_mask","tilemap_get_height","tilemap_get_mask","tilemap_get_tile_height","tilemap_get_tile_width","tilemap_get_tileset","tilemap_get_width","tilemap_get_x","tilemap_get_y","tilemap_set","tilemap_set_at_pixel","tilemap_set_global_mask","tilemap_set_height","tilemap_set_mask","tilemap_set_width","tilemap_tileset","tilemap_x","tilemap_y","tileset_get_info","tileset_get_name","tileset_get_texture","tileset_get_uvs","time_bpm_to_seconds","time_seconds_to_bpm","time_source_create","time_source_destroy","time_source_exists","time_source_get_children","time_source_get_parent","time_source_get_period","time_source_get_reps_completed","time_source_get_reps_remaining","time_source_get_state","time_source_get_time_remaining","time_source_get_units","time_source_pause","time_source_reconfigure","time_source_reset","time_source_resume","time_source_start","time_source_stop","timeline_add","timeline_clear","timeline_delete","timeline_exists","timeline_get_name","timeline_max_moment","timeline_moment_add_script","timeline_moment_clear","timeline_size","typeof","url_get_domain","url_open","url_open_ext","url_open_full","uwp_device_touchscreen_available","uwp_livetile_badge_clear","uwp_livetile_badge_notification","uwp_livetile_notification_begin","uwp_livetile_notification_end","uwp_livetile_notification_expiry","uwp_livetile_notification_image_add","uwp_livetile_notification_secondary_begin","uwp_livetile_notification_tag","uwp_livetile_notification_template_add","uwp_livetile_notification_text_add","uwp_livetile_queue_enable","uwp_livetile_tile_clear","uwp_secondarytile_badge_clear","uwp_secondarytile_badge_notification","uwp_secondarytile_delete","uwp_secondarytile_pin","uwp_secondarytile_tile_clear","variable_clone","variable_get_hash","variable_global_exists","variable_global_get","variable_global_set","variable_instance_exists","variable_instance_get","variable_instance_get_names","variable_instance_names_count","variable_instance_set","variable_struct_exists","variable_struct_get","variable_struct_get_names","variable_struct_names_count","variable_struct_remove","variable_struct_set","vertex_argb","vertex_begin","vertex_color","vertex_colour","vertex_create_buffer","vertex_create_buffer_ext","vertex_create_buffer_from_buffer","vertex_create_buffer_from_buffer_ext","vertex_delete_buffer","vertex_end","vertex_float1","vertex_float2","vertex_float3","vertex_float4","vertex_format_add_color","vertex_format_add_colour","vertex_format_add_custom","vertex_format_add_normal","vertex_format_add_position","vertex_format_add_position_3d","vertex_format_add_texcoord","vertex_format_begin","vertex_format_delete","vertex_format_end","vertex_format_get_info","vertex_freeze","vertex_get_buffer_size","vertex_get_number","vertex_normal","vertex_position","vertex_position_3d","vertex_submit","vertex_submit_ext","vertex_texcoord","vertex_ubyte4","vertex_update_buffer_from_buffer","vertex_update_buffer_from_vertex","video_close","video_draw","video_enable_loop","video_get_duration","video_get_format","video_get_position","video_get_status","video_get_volume","video_is_looping","video_open","video_pause","video_resume","video_seek_to","video_set_volume","view_get_camera","view_get_hport","view_get_surface_id","view_get_visible","view_get_wport","view_get_xport","view_get_yport","view_set_camera","view_set_hport","view_set_surface_id","view_set_visible","view_set_wport","view_set_xport","view_set_yport","virtual_key_add","virtual_key_delete","virtual_key_hide","virtual_key_show","wallpaper_set_config","wallpaper_set_subscriptions","weak_ref_alive","weak_ref_any_alive","weak_ref_create","window_center","window_device","window_enable_borderless_fullscreen","window_get_borderless_fullscreen","window_get_caption","window_get_color","window_get_colour","window_get_cursor","window_get_fullscreen","window_get_height","window_get_showborder","window_get_visible_rects","window_get_width","window_get_x","window_get_y","window_handle","window_has_focus","window_mouse_get_delta_x","window_mouse_get_delta_y","window_mouse_get_locked","window_mouse_get_x","window_mouse_get_y","window_mouse_set","window_mouse_set_locked","window_set_caption","window_set_color","window_set_colour","window_set_cursor","window_set_fullscreen","window_set_max_height","window_set_max_width","window_set_min_height","window_set_min_width","window_set_position","window_set_rectangle","window_set_showborder","window_set_size","window_view_mouse_get_x","window_view_mouse_get_y","window_views_mouse_get_x","window_views_mouse_get_y","winphone_tile_background_color","winphone_tile_background_colour","zip_add_file","zip_create","zip_save","zip_unzip","zip_unzip_async"],symbol:["AudioEffect","AudioEffectType","AudioLFOType","GM_build_date","GM_build_type","GM_is_sandboxed","GM_project_filename","GM_runtime_version","GM_version","NaN","_GMFILE_","_GMFUNCTION_","_GMLINE_","alignmentH","alignmentV","all","animcurvetype_bezier","animcurvetype_catmullrom","animcurvetype_linear","asset_animationcurve","asset_font","asset_object","asset_path","asset_room","asset_script","asset_sequence","asset_shader","asset_sound","asset_sprite","asset_tiles","asset_timeline","asset_unknown","audio_3D","audio_bus_main","audio_falloff_exponent_distance","audio_falloff_exponent_distance_clamped","audio_falloff_exponent_distance_scaled","audio_falloff_inverse_distance","audio_falloff_inverse_distance_clamped","audio_falloff_inverse_distance_scaled","audio_falloff_linear_distance","audio_falloff_linear_distance_clamped","audio_falloff_none","audio_mono","audio_stereo","bboxkind_diamond","bboxkind_ellipse","bboxkind_precise","bboxkind_rectangular","bboxmode_automatic","bboxmode_fullimage","bboxmode_manual","bm_add","bm_dest_alpha","bm_dest_color","bm_dest_colour","bm_inv_dest_alpha","bm_inv_dest_color","bm_inv_dest_colour","bm_inv_src_alpha","bm_inv_src_color","bm_inv_src_colour","bm_max","bm_normal","bm_one","bm_src_alpha","bm_src_alpha_sat","bm_src_color","bm_src_colour","bm_subtract","bm_zero","browser_chrome","browser_edge","browser_firefox","browser_ie","browser_ie_mobile","browser_not_a_browser","browser_opera","browser_safari","browser_safari_mobile","browser_tizen","browser_unknown","browser_windows_store","buffer_bool","buffer_f16","buffer_f32","buffer_f64","buffer_fast","buffer_fixed","buffer_grow","buffer_s16","buffer_s32","buffer_s8","buffer_seek_end","buffer_seek_relative","buffer_seek_start","buffer_string","buffer_text","buffer_u16","buffer_u32","buffer_u64","buffer_u8","buffer_vbuffer","buffer_wrap","c_aqua","c_black","c_blue","c_dkgray","c_dkgrey","c_fuchsia","c_gray","c_green","c_grey","c_lime","c_ltgray","c_ltgrey","c_maroon","c_navy","c_olive","c_orange","c_purple","c_red","c_silver","c_teal","c_white","c_yellow","cache_directory","characterSpacing","cmpfunc_always","cmpfunc_equal","cmpfunc_greater","cmpfunc_greaterequal","cmpfunc_less","cmpfunc_lessequal","cmpfunc_never","cmpfunc_notequal","coreColor","coreColour","cr_appstart","cr_arrow","cr_beam","cr_cross","cr_default","cr_drag","cr_handpoint","cr_hourglass","cr_none","cr_size_all","cr_size_nesw","cr_size_ns","cr_size_nwse","cr_size_we","cr_uparrow","cull_clockwise","cull_counterclockwise","cull_noculling","device_emulator","device_ios_ipad","device_ios_ipad_retina","device_ios_iphone","device_ios_iphone5","device_ios_iphone6","device_ios_iphone6plus","device_ios_iphone_retina","device_ios_unknown","device_tablet","display_landscape","display_landscape_flipped","display_portrait","display_portrait_flipped","dll_cdecl","dll_stdcall","dropShadowEnabled","dropShadowEnabled","ds_type_grid","ds_type_list","ds_type_map","ds_type_priority","ds_type_queue","ds_type_stack","ef_cloud","ef_ellipse","ef_explosion","ef_firework","ef_flare","ef_rain","ef_ring","ef_smoke","ef_smokeup","ef_snow","ef_spark","ef_star","effectsEnabled","effectsEnabled","ev_alarm","ev_animation_end","ev_animation_event","ev_animation_update","ev_async_audio_playback","ev_async_audio_playback_ended","ev_async_audio_recording","ev_async_dialog","ev_async_push_notification","ev_async_save_load","ev_async_save_load","ev_async_social","ev_async_system_event","ev_async_web","ev_async_web_cloud","ev_async_web_iap","ev_async_web_image_load","ev_async_web_networking","ev_async_web_steam","ev_audio_playback","ev_audio_playback_ended","ev_audio_recording","ev_boundary","ev_boundary_view0","ev_boundary_view1","ev_boundary_view2","ev_boundary_view3","ev_boundary_view4","ev_boundary_view5","ev_boundary_view6","ev_boundary_view7","ev_broadcast_message","ev_cleanup","ev_collision","ev_create","ev_destroy","ev_dialog_async","ev_draw","ev_draw_begin","ev_draw_end","ev_draw_normal","ev_draw_post","ev_draw_pre","ev_end_of_path","ev_game_end","ev_game_start","ev_gesture","ev_gesture_double_tap","ev_gesture_drag_end","ev_gesture_drag_start","ev_gesture_dragging","ev_gesture_flick","ev_gesture_pinch_end","ev_gesture_pinch_in","ev_gesture_pinch_out","ev_gesture_pinch_start","ev_gesture_rotate_end","ev_gesture_rotate_start","ev_gesture_rotating","ev_gesture_tap","ev_global_gesture_double_tap","ev_global_gesture_drag_end","ev_global_gesture_drag_start","ev_global_gesture_dragging","ev_global_gesture_flick","ev_global_gesture_pinch_end","ev_global_gesture_pinch_in","ev_global_gesture_pinch_out","ev_global_gesture_pinch_start","ev_global_gesture_rotate_end","ev_global_gesture_rotate_start","ev_global_gesture_rotating","ev_global_gesture_tap","ev_global_left_button","ev_global_left_press","ev_global_left_release","ev_global_middle_button","ev_global_middle_press","ev_global_middle_release","ev_global_right_button","ev_global_right_press","ev_global_right_release","ev_gui","ev_gui_begin","ev_gui_end","ev_joystick1_button1","ev_joystick1_button2","ev_joystick1_button3","ev_joystick1_button4","ev_joystick1_button5","ev_joystick1_button6","ev_joystick1_button7","ev_joystick1_button8","ev_joystick1_down","ev_joystick1_left","ev_joystick1_right","ev_joystick1_up","ev_joystick2_button1","ev_joystick2_button2","ev_joystick2_button3","ev_joystick2_button4","ev_joystick2_button5","ev_joystick2_button6","ev_joystick2_button7","ev_joystick2_button8","ev_joystick2_down","ev_joystick2_left","ev_joystick2_right","ev_joystick2_up","ev_keyboard","ev_keypress","ev_keyrelease","ev_left_button","ev_left_press","ev_left_release","ev_middle_button","ev_middle_press","ev_middle_release","ev_mouse","ev_mouse_enter","ev_mouse_leave","ev_mouse_wheel_down","ev_mouse_wheel_up","ev_no_button","ev_no_more_health","ev_no_more_lives","ev_other","ev_outside","ev_outside_view0","ev_outside_view1","ev_outside_view2","ev_outside_view3","ev_outside_view4","ev_outside_view5","ev_outside_view6","ev_outside_view7","ev_pre_create","ev_push_notification","ev_right_button","ev_right_press","ev_right_release","ev_room_end","ev_room_start","ev_social","ev_step","ev_step_begin","ev_step_end","ev_step_normal","ev_system_event","ev_trigger","ev_user0","ev_user1","ev_user10","ev_user11","ev_user12","ev_user13","ev_user14","ev_user15","ev_user2","ev_user3","ev_user4","ev_user5","ev_user6","ev_user7","ev_user8","ev_user9","ev_web_async","ev_web_cloud","ev_web_iap","ev_web_image_load","ev_web_networking","ev_web_sound_load","ev_web_steam","fa_archive","fa_bottom","fa_center","fa_directory","fa_hidden","fa_left","fa_middle","fa_none","fa_readonly","fa_right","fa_sysfile","fa_top","fa_volumeid","false","frameSizeX","frameSizeY","gamespeed_fps","gamespeed_microseconds","global","glowColor","glowColour","glowEnabled","glowEnabled","glowEnd","glowStart","gp_axis_acceleration_x","gp_axis_acceleration_y","gp_axis_acceleration_z","gp_axis_angular_velocity_x","gp_axis_angular_velocity_y","gp_axis_angular_velocity_z","gp_axis_orientation_w","gp_axis_orientation_x","gp_axis_orientation_y","gp_axis_orientation_z","gp_axislh","gp_axislv","gp_axisrh","gp_axisrv","gp_face1","gp_face2","gp_face3","gp_face4","gp_padd","gp_padl","gp_padr","gp_padu","gp_select","gp_shoulderl","gp_shoulderlb","gp_shoulderr","gp_shoulderrb","gp_start","gp_stickl","gp_stickr","iap_available","iap_canceled","iap_ev_consume","iap_ev_product","iap_ev_purchase","iap_ev_restore","iap_ev_storeload","iap_failed","iap_purchased","iap_refunded","iap_status_available","iap_status_loading","iap_status_processing","iap_status_restoring","iap_status_unavailable","iap_status_uninitialised","iap_storeload_failed","iap_storeload_ok","iap_unavailable","infinity","kbv_autocapitalize_characters","kbv_autocapitalize_none","kbv_autocapitalize_sentences","kbv_autocapitalize_words","kbv_returnkey_continue","kbv_returnkey_default","kbv_returnkey_done","kbv_returnkey_emergency","kbv_returnkey_go","kbv_returnkey_google","kbv_returnkey_join","kbv_returnkey_next","kbv_returnkey_route","kbv_returnkey_search","kbv_returnkey_send","kbv_returnkey_yahoo","kbv_type_ascii","kbv_type_default","kbv_type_email","kbv_type_numbers","kbv_type_phone","kbv_type_phone_name","kbv_type_url","layerelementtype_background","layerelementtype_instance","layerelementtype_oldtilemap","layerelementtype_particlesystem","layerelementtype_sequence","layerelementtype_sprite","layerelementtype_tile","layerelementtype_tilemap","layerelementtype_undefined","leaderboard_type_number","leaderboard_type_time_mins_secs","lighttype_dir","lighttype_point","lineSpacing","m_axisx","m_axisx_gui","m_axisy","m_axisy_gui","m_scroll_down","m_scroll_up","matrix_projection","matrix_view","matrix_world","mb_any","mb_left","mb_middle","mb_none","mb_right","mb_side1","mb_side2","mip_markedonly","mip_off","mip_on","network_config_avoid_time_wait","network_config_connect_timeout","network_config_disable_multicast","network_config_disable_reliable_udp","network_config_enable_multicast","network_config_enable_reliable_udp","network_config_use_non_blocking_socket","network_config_websocket_protocol","network_connect_active","network_connect_blocking","network_connect_nonblocking","network_connect_none","network_connect_passive","network_send_binary","network_send_text","network_socket_bluetooth","network_socket_tcp","network_socket_udp","network_socket_ws","network_socket_wss","network_type_connect","network_type_data","network_type_disconnect","network_type_down","network_type_non_blocking_connect","network_type_up","network_type_up_failed","nineslice_blank","nineslice_bottom","nineslice_center","nineslice_centre","nineslice_hide","nineslice_left","nineslice_mirror","nineslice_repeat","nineslice_right","nineslice_stretch","nineslice_top","noone","of_challenge_lose","of_challenge_tie","of_challenge_win","os_android","os_gdk","os_gxgames","os_ios","os_linux","os_macosx","os_operagx","os_permission_denied","os_permission_denied_dont_request","os_permission_granted","os_ps3","os_ps4","os_ps5","os_psvita","os_switch","os_tvos","os_unknown","os_uwp","os_win8native","os_windows","os_winphone","os_xboxone","os_xboxseriesxs","other","outlineColor","outlineColour","outlineDist","outlineEnabled","outlineEnabled","paragraphSpacing","path_action_continue","path_action_restart","path_action_reverse","path_action_stop","phy_debug_render_aabb","phy_debug_render_collision_pairs","phy_debug_render_coms","phy_debug_render_core_shapes","phy_debug_render_joints","phy_debug_render_obb","phy_debug_render_shapes","phy_joint_anchor_1_x","phy_joint_anchor_1_y","phy_joint_anchor_2_x","phy_joint_anchor_2_y","phy_joint_angle","phy_joint_angle_limits","phy_joint_damping_ratio","phy_joint_frequency","phy_joint_length_1","phy_joint_length_2","phy_joint_lower_angle_limit","phy_joint_max_force","phy_joint_max_length","phy_joint_max_motor_force","phy_joint_max_motor_torque","phy_joint_max_torque","phy_joint_motor_force","phy_joint_motor_speed","phy_joint_motor_torque","phy_joint_reaction_force_x","phy_joint_reaction_force_y","phy_joint_reaction_torque","phy_joint_speed","phy_joint_translation","phy_joint_upper_angle_limit","phy_particle_data_flag_category","phy_particle_data_flag_color","phy_particle_data_flag_colour","phy_particle_data_flag_position","phy_particle_data_flag_typeflags","phy_particle_data_flag_velocity","phy_particle_flag_colormixing","phy_particle_flag_colourmixing","phy_particle_flag_elastic","phy_particle_flag_powder","phy_particle_flag_spring","phy_particle_flag_tensile","phy_particle_flag_viscous","phy_particle_flag_wall","phy_particle_flag_water","phy_particle_flag_zombie","phy_particle_group_flag_rigid","phy_particle_group_flag_solid","pi","pointer_invalid","pointer_null","pr_linelist","pr_linestrip","pr_pointlist","pr_trianglefan","pr_trianglelist","pr_trianglestrip","ps_distr_gaussian","ps_distr_invgaussian","ps_distr_linear","ps_mode_burst","ps_mode_stream","ps_shape_diamond","ps_shape_ellipse","ps_shape_line","ps_shape_rectangle","pt_shape_circle","pt_shape_cloud","pt_shape_disk","pt_shape_explosion","pt_shape_flare","pt_shape_line","pt_shape_pixel","pt_shape_ring","pt_shape_smoke","pt_shape_snow","pt_shape_spark","pt_shape_sphere","pt_shape_square","pt_shape_star","rollback_chat_message","rollback_connect_error","rollback_connect_info","rollback_connected_to_peer","rollback_connection_rejected","rollback_disconnected_from_peer","rollback_end_game","rollback_game_full","rollback_game_info","rollback_game_interrupted","rollback_game_resumed","rollback_high_latency","rollback_player_prefs","rollback_protocol_rejected","rollback_synchronized_with_peer","rollback_synchronizing_with_peer","self","seqaudiokey_loop","seqaudiokey_oneshot","seqdir_left","seqdir_right","seqinterpolation_assign","seqinterpolation_lerp","seqplay_loop","seqplay_oneshot","seqplay_pingpong","seqtextkey_bottom","seqtextkey_center","seqtextkey_justify","seqtextkey_left","seqtextkey_middle","seqtextkey_right","seqtextkey_top","seqtracktype_audio","seqtracktype_bool","seqtracktype_clipmask","seqtracktype_clipmask_mask","seqtracktype_clipmask_subject","seqtracktype_color","seqtracktype_colour","seqtracktype_empty","seqtracktype_graphic","seqtracktype_group","seqtracktype_instance","seqtracktype_message","seqtracktype_moment","seqtracktype_particlesystem","seqtracktype_real","seqtracktype_sequence","seqtracktype_spriteframes","seqtracktype_string","seqtracktype_text","shadowColor","shadowColour","shadowOffsetX","shadowOffsetY","shadowSoftness","sprite_add_ext_error_cancelled","sprite_add_ext_error_decompressfailed","sprite_add_ext_error_loadfailed","sprite_add_ext_error_setupfailed","sprite_add_ext_error_spritenotfound","sprite_add_ext_error_unknown","spritespeed_framespergameframe","spritespeed_framespersecond","surface_r16float","surface_r32float","surface_r8unorm","surface_rg8unorm","surface_rgba16float","surface_rgba32float","surface_rgba4unorm","surface_rgba8unorm","texturegroup_status_fetched","texturegroup_status_loaded","texturegroup_status_loading","texturegroup_status_unloaded","tf_anisotropic","tf_linear","tf_point","thickness","tile_flip","tile_index_mask","tile_mirror","tile_rotate","time_source_expire_after","time_source_expire_nearest","time_source_game","time_source_global","time_source_state_active","time_source_state_initial","time_source_state_paused","time_source_state_stopped","time_source_units_frames","time_source_units_seconds","timezone_local","timezone_utc","tm_countvsyncs","tm_sleep","tm_systemtiming","true","ty_real","ty_string","undefined","vertex_type_color","vertex_type_colour","vertex_type_float1","vertex_type_float2","vertex_type_float3","vertex_type_float4","vertex_type_ubyte4","vertex_usage_binormal","vertex_usage_blendindices","vertex_usage_blendweight","vertex_usage_color","vertex_usage_colour","vertex_usage_depth","vertex_usage_fog","vertex_usage_normal","vertex_usage_position","vertex_usage_psize","vertex_usage_sample","vertex_usage_tangent","vertex_usage_texcoord","video_format_rgba","video_format_yuv","video_status_closed","video_status_paused","video_status_playing","video_status_preparing","vk_add","vk_alt","vk_anykey","vk_backspace","vk_control","vk_decimal","vk_delete","vk_divide","vk_down","vk_end","vk_enter","vk_escape","vk_f1","vk_f10","vk_f11","vk_f12","vk_f2","vk_f3","vk_f4","vk_f5","vk_f6","vk_f7","vk_f8","vk_f9","vk_home","vk_insert","vk_lalt","vk_lcontrol","vk_left","vk_lshift","vk_multiply","vk_nokey","vk_numpad0","vk_numpad1","vk_numpad2","vk_numpad3","vk_numpad4","vk_numpad5","vk_numpad6","vk_numpad7","vk_numpad8","vk_numpad9","vk_pagedown","vk_pageup","vk_pause","vk_printscreen","vk_ralt","vk_rcontrol","vk_return","vk_right","vk_rshift","vk_shift","vk_space","vk_subtract","vk_tab","vk_up","wallpaper_config","wallpaper_subscription_data","wrap"],"variable.language":["alarm","application_surface","argument","argument0","argument1","argument2","argument3","argument4","argument5","argument6","argument7","argument8","argument9","argument10","argument11","argument12","argument13","argument14","argument15","argument_count","async_load","background_color","background_colour","background_showcolor","background_showcolour","bbox_bottom","bbox_left","bbox_right","bbox_top","browser_height","browser_width","colour?ColourTrack","current_day","current_hour","current_minute","current_month","current_second","current_time","current_weekday","current_year","cursor_sprite","debug_mode","delta_time","depth","direction","display_aa","drawn_by_sequence","event_action","event_data","event_number","event_object","event_type","font_texture_page_size","fps","fps_real","friction","game_display_name","game_id","game_project_name","game_save_id","gravity","gravity_direction","health","hspeed","iap_data","id","image_alpha","image_angle","image_blend","image_index","image_number","image_speed","image_xscale","image_yscale","in_collision_tree","in_sequence","instance_count","instance_id","keyboard_key","keyboard_lastchar","keyboard_lastkey","keyboard_string","layer","lives","longMessage","managed","mask_index","message","mouse_button","mouse_lastbutton","mouse_x","mouse_y","object_index","os_browser","os_device","os_type","os_version","path_endaction","path_index","path_orientation","path_position","path_positionprevious","path_scale","path_speed","persistent","phy_active","phy_angular_damping","phy_angular_velocity","phy_bullet","phy_col_normal_x","phy_col_normal_y","phy_collision_points","phy_collision_x","phy_collision_y","phy_com_x","phy_com_y","phy_dynamic","phy_fixed_rotation","phy_inertia","phy_kinematic","phy_linear_damping","phy_linear_velocity_x","phy_linear_velocity_y","phy_mass","phy_position_x","phy_position_xprevious","phy_position_y","phy_position_yprevious","phy_rotation","phy_sleeping","phy_speed","phy_speed_x","phy_speed_y","player_avatar_sprite","player_avatar_url","player_id","player_local","player_type","player_user_id","program_directory","rollback_api_server","rollback_confirmed_frame","rollback_current_frame","rollback_event_id","rollback_event_param","rollback_game_running","room","room_first","room_height","room_last","room_persistent","room_speed","room_width","score","script","sequence_instance","solid","speed","sprite_height","sprite_index","sprite_width","sprite_xoffset","sprite_yoffset","stacktrace","temp_directory","timeline_index","timeline_loop","timeline_position","timeline_running","timeline_speed","view_camera","view_current","view_enabled","view_hport","view_surface_id","view_visible","view_wport","view_xport","view_yport","visible","vspeed","webgl_enabled","working_directory","x","xprevious","xstart","y","yprevious","ystart"]},contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,qa.C_NUMBER_MODE]}}return gml_1=Ra,gml_1}var go_1,hasRequiredGo;function requireGo(){if(hasRequiredGo)return go_1;hasRequiredGo=1;function Ra(qa){const dd={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:dd,illegal:"</",contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,{className:"string",variants:[qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{match:/-?\b0[xX]\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\d(_?\d)*i?/,relevance:0},{match:/-?\b0[xX](_?[a-fA-F0-9])+((\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b0[oO](_?[0-7])*i?/,relevance:0},{match:/-?\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b\d(_?\d)*(\.(\d(_?\d)*)?)?([eE][+-]?\d(_?\d)*)?i?/,relevance:0}]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[qa.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:dd,illegal:/["']/}]}]}}return go_1=Ra,go_1}var golo_1,hasRequiredGolo;function requireGolo(){if(hasRequiredGolo)return golo_1;hasRequiredGolo=1;function Ra(qa){return{name:"Golo",keywords:{keyword:["println","readln","print","import","module","function","local","return","let","var","while","for","foreach","times","in","case","when","match","with","break","continue","augment","augmentation","each","find","filter","reduce","if","then","else","otherwise","try","catch","finally","raise","throw","orIfNull","DynamicObject|10","DynamicVariable","struct","Observable","map","set","vector","list","array"],literal:["true","false","null"]},contains:[qa.HASH_COMMENT_MODE,qa.QUOTE_STRING_MODE,qa.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"}]}}return golo_1=Ra,golo_1}var gradle_1,hasRequiredGradle;function requireGradle(){if(hasRequiredGradle)return gradle_1;hasRequiredGradle=1;function Ra(qa){return{name:"Gradle",case_insensitive:!0,keywords:["task","project","allprojects","subprojects","artifacts","buildscript","configurations","dependencies","repositories","sourceSets","description","delete","from","into","include","exclude","source","classpath","destinationDir","includes","options","sourceCompatibility","targetCompatibility","group","flatDir","doLast","doFirst","flatten","todir","fromdir","ant","def","abstract","break","case","catch","continue","default","do","else","extends","final","finally","for","if","implements","instanceof","native","new","private","protected","public","return","static","switch","synchronized","throw","throws","transient","try","volatile","while","strictfp","package","import","false","null","super","this","true","antlrtask","checkstyle","codenarc","copy","boolean","byte","char","class","double","float","int","interface","long","short","void","compile","runTime","file","fileTree","abs","any","append","asList","asWritable","call","collect","compareTo","count","div","dump","each","eachByte","eachFile","eachLine","every","find","findAll","flatten","getAt","getErr","getIn","getOut","getText","grep","immutable","inject","inspect","intersect","invokeMethods","isCase","join","leftShift","minus","multiply","newInputStream","newOutputStream","newPrintWriter","newReader","newWriter","next","plus","pop","power","previous","print","println","push","putAt","read","readBytes","readLines","reverse","reverseEach","round","size","sort","splitEachLine","step","subMap","times","toInteger","toList","tokenize","upto","waitForOrKill","withPrintWriter","withReader","withStream","withWriter","withWriterAppend","write","writeLine"],contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,qa.NUMBER_MODE,qa.REGEXP_MODE]}}return gradle_1=Ra,gradle_1}var graphql_1,hasRequiredGraphql;function requireGraphql(){if(hasRequiredGraphql)return graphql_1;hasRequiredGraphql=1;function Ra(qa){const nd=qa.regex,od=/[_A-Za-z][_0-9A-Za-z]*/;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[qa.HASH_COMMENT_MODE,qa.QUOTE_STRING_MODE,qa.NUMBER_MODE,{scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation",begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{scope:"symbol",begin:nd.concat(od,nd.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}return graphql_1=Ra,graphql_1}var groovy_1,hasRequiredGroovy;function requireGroovy(){if(hasRequiredGroovy)return groovy_1;hasRequiredGroovy=1;function Ra(nd,od={}){return od.variants=nd,od}function qa(nd){const od=nd.regex,ld="[A-Za-z0-9_$]+",ud=Ra([nd.C_LINE_COMMENT_MODE,nd.C_BLOCK_COMMENT_MODE,nd.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]})]),dd={className:"regexp",begin:/~?\/[^\/\n]+\//,contains:[nd.BACKSLASH_ESCAPE]},pd=Ra([nd.BINARY_NUMBER_MODE,nd.C_NUMBER_MODE]),fd=Ra([{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:"\\$/",end:"/\\$",relevance:10},nd.APOS_STRING_MODE,nd.QUOTE_STRING_MODE],{className:"string"}),md={match:[/(class|interface|trait|enum|record|extends|implements)/,/\s+/,nd.UNDERSCORE_IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"Groovy",keywords:{"variable.language":"this super",literal:"true false null",type:["byte","short","char","int","long","boolean","float","double","void"],keyword:["def","as","in","assert","trait","abstract","static","volatile","transient","public","private","protected","synchronized","final","class","interface","enum","if","else","for","while","switch","case","break","default","continue","throw","throws","try","catch","finally","implements","extends","new","import","package","return","instanceof","var"]},contains:[nd.SHEBANG({binary:"groovy",relevance:10}),ud,fd,dd,pd,md,{className:"meta",begin:"@[A-Za-z]+",relevance:0},{className:"attr",begin:ld+"[ ]*:",relevance:0},{begin:/\?/,end:/:/,relevance:0,contains:[ud,fd,dd,pd,"self"]},{className:"symbol",begin:"^[ ]*"+od.lookahead(ld+":"),excludeBegin:!0,end:ld+":",relevance:0}],illegal:/#|<\//}}return groovy_1=qa,groovy_1}var haml_1,hasRequiredHaml;function requireHaml(){if(hasRequiredHaml)return haml_1;hasRequiredHaml=1;function Ra(qa){return{name:"HAML",case_insensitive:!0,contains:[{className:"meta",begin:"^!!!( (5|1\\.1|Strict|Frameset|Basic|Mobile|RDFa|XML\\b.*))?$",relevance:10},qa.COMMENT("^\\s*(!=#|=#|-#|/).*$",null,{relevance:0}),{begin:"^\\s*(-|=|!=)(?!#)",end:/$/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0},{className:"tag",begin:"^\\s*%",contains:[{className:"selector-tag",begin:"\\w+"},{className:"selector-id",begin:"#[\\w-]+"},{className:"selector-class",begin:"\\.[\\w-]+"},{begin:/\{\s*/,end:/\s*\}/,contains:[{begin:":\\w+\\s*=>",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:":\\w+"},qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:"\\w+",relevance:0},qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:/#\{/,end:/\}/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return haml_1=Ra,haml_1}var handlebars_1,hasRequiredHandlebars;function requireHandlebars(){if(hasRequiredHandlebars)return handlebars_1;hasRequiredHandlebars=1;function Ra(qa){const nd=qa.regex,od={$pattern:/[\w.\/]+/,built_in:["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},ld={$pattern:/[\w.\/]+/,literal:["true","false","undefined","null"]},ud=/""|"[^"]+"/,dd=/''|'[^']+'/,pd=/\[\]|\[[^\]]+\]/,fd=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,md=/(\.|\/)/,vd=nd.either(ud,dd,pd,fd),Ad=nd.concat(nd.optional(/\.|\.\/|\//),vd,nd.anyNumberOfTimes(nd.concat(md,vd))),Nd=nd.concat("(",pd,"|",fd,")(?==)"),Od={begin:Ad},kd=qa.inherit(Od,{keywords:ld}),Ld={begin:/\(/,end:/\)/},Gd={className:"attr",begin:Nd,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[qa.NUMBER_MODE,qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE,kd,Ld]}}},jd={begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},Fd={contains:[qa.NUMBER_MODE,qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE,jd,Gd,kd,Ld],returnEnd:!0},Ud=qa.inherit(Od,{className:"name",keywords:od,starts:qa.inherit(Fd,{end:/\)/})});Ld.contains=[Ud];const qd=qa.inherit(Od,{keywords:od,className:"name",starts:qa.inherit(Fd,{end:/\}\}/})}),zd=qa.inherit(Od,{keywords:od,className:"name"}),Wd=qa.inherit(Od,{className:"name",keywords:od,starts:qa.inherit(Fd,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},qa.COMMENT(/\{\{!--/,/--\}\}/),qa.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[qd],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[zd]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[qd]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[zd]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[Wd]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[Wd]}]}}return handlebars_1=Ra,handlebars_1}var haskell_1,hasRequiredHaskell;function requireHaskell(){if(hasRequiredHaskell)return haskell_1;hasRequiredHaskell=1;function Ra(qa){const nd="([0-9]_*)+",od="([0-9a-fA-F]_*)+",ld="([01]_*)+",ud="([0-7]_*)+",md="([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]`|{}]|[_:\"']))(\\p{S}|\\p{P}))",vd={variants:[qa.COMMENT("--+","$"),qa.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},Ad={className:"meta",begin:/\{-#/,end:/#-\}/},Nd={className:"meta",begin:"^#",end:"$"},Od={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},kd={begin:"\\(",end:"\\)",illegal:'"',contains:[Ad,Nd,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},qa.inherit(qa.TITLE_MODE,{begin:"[_a-z][\\w']*"}),vd]},Ld={begin:/\{/,end:/\}/,contains:kd.contains},Gd={className:"number",relevance:0,variants:[{match:`\\b(${nd})(\\.(${nd}))?([eE][+-]?(${nd}))?\\b`},{match:`\\b0[xX]_*(${od})(\\.(${od}))?([pP][+-]?(${nd}))?\\b`},{match:`\\b0[oO](${ud})\\b`},{match:`\\b0[bB](${ld})\\b`}]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",unicodeRegex:!0,contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[kd,vd],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[kd,vd],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[Od,kd,vd]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[Ad,Od,kd,Ld,vd]},{beginKeywords:"default",end:"$",contains:[Od,kd,vd]},{beginKeywords:"infix infixl infixr",end:"$",contains:[qa.C_NUMBER_MODE,vd]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[Od,qa.QUOTE_STRING_MODE,vd]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},Ad,Nd,{scope:"string",begin:/'(?=\\?.')/,end:/'/,contains:[{scope:"char.escape",match:/\\./}]},qa.QUOTE_STRING_MODE,Gd,Od,qa.inherit(qa.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),{begin:`(?!-)${md}--+|--+(?!-)${md}`},vd,{begin:"->|<-"}]}}return haskell_1=Ra,haskell_1}var haxe_1,hasRequiredHaxe;function requireHaxe(){if(hasRequiredHaxe)return haxe_1;hasRequiredHaxe=1;function Ra(qa){const nd="[a-zA-Z_$][a-zA-Z0-9_$]*",od=/(-?)(\b0[xX][a-fA-F0-9_]+|(\b\d+(\.[\d_]*)?|\.[\d_]+)(([eE][-+]?\d+)|i32|u32|i64|f64)?)/;return{name:"Haxe",aliases:["hx"],keywords:{keyword:"abstract break case cast catch continue default do dynamic else enum extern final for function here if import in inline is macro never new override package private get set public return static super switch this throw trace try typedef untyped using var while "+"Int Float String Bool Dynamic Void Array ",built_in:"trace this",literal:"true false null _"},contains:[{className:"string",begin:"'",end:"'",contains:[qa.BACKSLASH_ESCAPE,{className:"subst",begin:/\$\{/,end:/\}/},{className:"subst",begin:/\$/,end:/\W\}/}]},qa.QUOTE_STRING_MODE,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,{className:"number",begin:od,relevance:0},{className:"variable",begin:"\\$"+nd},{className:"meta",begin:/@:?/,end:/\(|$/,excludeEnd:!0},{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elseif end error"}},{className:"type",begin:/:[ \t]*/,end:/[^A-Za-z0-9_ \t\->]/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/:[ \t]*/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",beginKeywords:"new",end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"title.class",beginKeywords:"enum",end:/\{/,contains:[qa.TITLE_MODE]},{className:"title.class",begin:"\\babstract\\b(?=\\s*"+qa.IDENT_RE+"\\s*\\()",end:/[\{$]/,contains:[{className:"type",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/from +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/to +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},qa.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"title.class",begin:/\b(class|interface) +/,end:/[\{$]/,excludeEnd:!0,keywords:"class interface",contains:[{className:"keyword",begin:/\b(extends|implements) +/,keywords:"extends implements",contains:[{className:"type",begin:qa.IDENT_RE,relevance:0}]},qa.TITLE_MODE]},{className:"title.function",beginKeywords:"function",end:/\(/,excludeEnd:!0,illegal:/\S/,contains:[qa.TITLE_MODE]}],illegal:/<\//}}return haxe_1=Ra,haxe_1}var hsp_1,hasRequiredHsp;function requireHsp(){if(hasRequiredHsp)return hsp_1;hasRequiredHsp=1;function Ra(qa){return{name:"HSP",case_insensitive:!0,keywords:{$pattern:/[\w._]+/,keyword:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop"},contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE,{className:"string",begin:/\{"/,end:/"\}/,contains:[qa.BACKSLASH_ESCAPE]},qa.COMMENT(";","$",{relevance:0}),{className:"meta",begin:"#",end:"$",keywords:{keyword:"addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib"},contains:[qa.inherit(qa.QUOTE_STRING_MODE,{className:"string"}),qa.NUMBER_MODE,qa.C_NUMBER_MODE,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]},{className:"symbol",begin:"^\\*(\\w+|@)"},qa.NUMBER_MODE,qa.C_NUMBER_MODE]}}return hsp_1=Ra,hsp_1}var http_1,hasRequiredHttp;function requireHttp(){if(hasRequiredHttp)return http_1;hasRequiredHttp=1;function Ra(qa){const nd=qa.regex,od="HTTP/([32]|1\\.[01])",ld=/[A-Za-z][A-Za-z0-9-]*/,ud={className:"attribute",begin:nd.concat("^",ld,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},dd=[ud,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+od+" \\d{3})",end:/$/,contains:[{className:"meta",begin:od},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:dd}},{begin:"(?=^[A-Z]+ (.*?) "+od+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:od},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:dd}},qa.inherit(ud,{relevance:0})]}}return http_1=Ra,http_1}var hy_1,hasRequiredHy;function requireHy(){if(hasRequiredHy)return hy_1;hasRequiredHy=1;function Ra(qa){const nd="a-zA-Z_\\-!.?+*=<>&#'",od="["+nd+"]["+nd+"0-9/;:]*",ld={$pattern:od,built_in:"!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"},ud="[-+]?\\d+(\\.\\d+)?",dd={begin:od,relevance:0},pd={className:"number",begin:ud,relevance:0},fd=qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null}),md=qa.COMMENT(";","$",{relevance:0}),vd={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},Ad={begin:"[\\[\\{]",end:"[\\]\\}]",relevance:0},Nd={className:"comment",begin:"\\^"+od},Od=qa.COMMENT("\\^\\{","\\}"),kd={className:"symbol",begin:"[:]{1,2}"+od},Ld={begin:"\\(",end:"\\)"},Gd={endsWithParent:!0,relevance:0},jd={className:"name",relevance:0,keywords:ld,begin:od,starts:Gd},Fd=[Ld,fd,Nd,Od,md,kd,Ad,pd,vd,dd];return Ld.contains=[qa.COMMENT("comment",""),jd,Gd],Gd.contains=Fd,Ad.contains=Fd,{name:"Hy",aliases:["hylang"],illegal:/\S/,contains:[qa.SHEBANG(),Ld,fd,Nd,Od,md,kd,Ad,pd,vd]}}return hy_1=Ra,hy_1}var inform7_1,hasRequiredInform7;function requireInform7(){if(hasRequiredInform7)return inform7_1;hasRequiredInform7=1;function Ra(qa){const nd="\\[",od="\\]";return{name:"Inform 7",aliases:["i7"],case_insensitive:!0,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:nd,end:od}]},{className:"section",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\(This",end:"\\)"}]},{className:"comment",begin:nd,end:od,contains:["self"]}]}}return inform7_1=Ra,inform7_1}var ini_1,hasRequiredIni;function requireIni(){if(hasRequiredIni)return ini_1;hasRequiredIni=1;function Ra(qa){const nd=qa.regex,od={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:qa.NUMBER_RE}]},ld=qa.COMMENT();ld.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const ud={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},dd={className:"literal",begin:/\bon|off|true|false|yes|no\b/},pd={className:"string",contains:[qa.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},fd={begin:/\[/,end:/\]/,contains:[ld,dd,ud,pd,od,"self"],relevance:0},md=/[A-Za-z0-9_-]+/,vd=/"(\\"|[^"])*"/,Ad=/'[^']*'/,Nd=nd.either(md,vd,Ad),Od=nd.concat(Nd,"(\\s*\\.\\s*",Nd,")*",nd.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[ld,{className:"section",begin:/\[+/,end:/\]+/},{begin:Od,className:"attr",starts:{end:/$/,contains:[ld,fd,dd,ud,pd,od]}}]}}return ini_1=Ra,ini_1}var irpf90_1,hasRequiredIrpf90;function requireIrpf90(){if(hasRequiredIrpf90)return irpf90_1;hasRequiredIrpf90=1;function Ra(qa){const nd=qa.regex,od={className:"params",begin:"\\(",end:"\\)"},ld=/(_[a-z_\d]+)?/,ud=/([de][+-]?\d+)?/,dd={className:"number",variants:[{begin:nd.concat(/\b\d+/,/\.(\d*)/,ud,ld)},{begin:nd.concat(/\b\d+/,ud,ld)},{begin:nd.concat(/\.\d+/,ud,ld)}],relevance:0};return{name:"IRPF90",case_insensitive:!0,keywords:{literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"},illegal:/\/\*/,contains:[qa.inherit(qa.APOS_STRING_MODE,{className:"string",relevance:0}),qa.inherit(qa.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[qa.UNDERSCORE_TITLE_MODE,od]},qa.COMMENT("!","$",{relevance:0}),qa.COMMENT("begin_doc","end_doc",{relevance:10}),dd]}}return irpf90_1=Ra,irpf90_1}var isbl_1,hasRequiredIsbl;function requireIsbl(){if(hasRequiredIsbl)return isbl_1;hasRequiredIsbl=1;function Ra(qa){const nd="[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*",od="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*",ld="and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока except exitfor finally foreach все if если in в not не or или try while пока ",Jf="SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE "+"CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE "+"ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME "+"DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY "+"ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION "+"JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY "+"ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE "+"smHidden smMaximized smMinimized smNormal wmNo wmYes "+"COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND "+"COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE "+"MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY "+"NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY "+"dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT "+"CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM "+"ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME "+"PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE "+"ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE "+"CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT "+"STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER "+"COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE "+"SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STATЕ SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID "+"RESULT_VAR_NAME RESULT_VAR_NAME_ENG "+"AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID "+"SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY "+"SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY "+"SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS "+"SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS "+"SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS "+"ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME "+"TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME "+"ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk "+"EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE "+"cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate "+"ISBL_SYNTAX NO_SYNTAX XML_SYNTAX "+"WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY "+"SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP ",W_="atUser atGroup atRole "+"aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty "+"apBegin apEnd "+"alLeft alRight "+"asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways "+"cirCommon cirRevoked "+"ctSignature ctEncode ctSignatureEncode "+"clbUnchecked clbChecked clbGrayed "+"ceISB ceAlways ceNever "+"ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob "+"cfInternal cfDisplay "+"ciUnspecified ciWrite ciRead "+"ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog "+"ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton "+"cctDate cctInteger cctNumeric cctPick cctReference cctString cctText "+"cltInternal cltPrimary cltGUI "+"dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange "+"dssEdit dssInsert dssBrowse dssInActive "+"dftDate dftShortDate dftDateTime dftTimeStamp "+"dotDays dotHours dotMinutes dotSeconds "+"dtkndLocal dtkndUTC "+"arNone arView arEdit arFull "+"ddaView ddaEdit "+"emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode "+"ecotFile ecotProcess "+"eaGet eaCopy eaCreate eaCreateStandardRoute "+"edltAll edltNothing edltQuery "+"essmText essmCard "+"esvtLast esvtLastActive esvtSpecified "+"edsfExecutive edsfArchive "+"edstSQLServer edstFile "+"edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile "+"vsDefault vsDesign vsActive vsObsolete "+"etNone etCertificate etPassword etCertificatePassword "+"ecException ecWarning ecInformation "+"estAll estApprovingOnly "+"evtLast evtLastActive evtQuery "+"fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger "+"ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch "+"grhAuto grhX1 grhX2 grhX3 "+"hltText hltRTF hltHTML "+"iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG "+"im8bGrayscale im24bRGB im1bMonochrome "+"itBMP itJPEG itWMF itPNG "+"ikhInformation ikhWarning ikhError ikhNoIcon "+"icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler "+"isShow isHide isByUserSettings "+"jkJob jkNotice jkControlJob "+"jtInner jtLeft jtRight jtFull jtCross "+"lbpAbove lbpBelow lbpLeft lbpRight "+"eltPerConnection eltPerUser "+"sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac "+"sfsItalic sfsStrikeout sfsNormal "+"ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents "+"mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom "+"vtEqual vtGreaterOrEqual vtLessOrEqual vtRange "+"rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth "+"rdWindow rdFile rdPrinter "+"rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument "+"reOnChange reOnChangeValues "+"ttGlobal ttLocal ttUser ttSystem "+"ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal "+"smSelect smLike smCard "+"stNone stAuthenticating stApproving "+"sctString sctStream "+"sstAnsiSort sstNaturalSort "+"svtEqual svtContain "+"soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown "+"tarAbortByUser tarAbortByWorkflowException "+"tvtAllWords tvtExactPhrase tvtAnyWord "+"usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp "+"utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected "+"btAnd btDetailAnd btOr btNotOr btOnly "+"vmView vmSelect vmNavigation "+"vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection "+"wfatPrevious wfatNext wfatCancel wfatFinish "+"wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 "+"wfetQueryParameter wfetText wfetDelimiter wfetLabel "+"wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate "+"wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal "+"wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal "+"waAll waPerformers waManual "+"wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause "+"wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection "+"wiLow wiNormal wiHigh "+"wrtSoft wrtHard "+"wsInit wsRunning wsDone wsControlled wsAborted wsContinued "+"wtmFull wtmFromCurrent wtmOnlyCurrent ",qb="AddSubString AdjustLineBreaks AmountInWords Analysis ArrayDimCount ArrayHighBound ArrayLowBound ArrayOf ArrayReDim Assert Assigned BeginOfMonth BeginOfPeriod BuildProfilingOperationAnalysis CallProcedure CanReadFile CArrayElement CDataSetRequisite ChangeDate ChangeReferenceDataset Char CharPos CheckParam CheckParamValue CompareStrings ConstantExists ControlState ConvertDateStr Copy CopyFile CreateArray CreateCachedReference CreateConnection CreateDialog CreateDualListDialog CreateEditor CreateException CreateFile CreateFolderDialog CreateInputDialog CreateLinkFile CreateList CreateLock CreateMemoryDataSet CreateObject CreateOpenDialog CreateProgress CreateQuery CreateReference CreateReport CreateSaveDialog CreateScript CreateSQLPivotFunction CreateStringList CreateTreeListSelectDialog CSelectSQL CSQL CSubString CurrentUserID CurrentUserName CurrentVersion DataSetLocateEx DateDiff DateTimeDiff DateToStr DayOfWeek DeleteFile DirectoryExists DisableCheckAccessRights DisableCheckFullShowingRestriction DisableMassTaskSendingRestrictions DropTable DupeString EditText EnableCheckAccessRights EnableCheckFullShowingRestriction EnableMassTaskSendingRestrictions EndOfMonth EndOfPeriod ExceptionExists ExceptionsOff ExceptionsOn Execute ExecuteProcess Exit ExpandEnvironmentVariables ExtractFileDrive ExtractFileExt ExtractFileName ExtractFilePath ExtractParams FileExists FileSize FindFile FindSubString FirmContext ForceDirectories Format FormatDate FormatNumeric FormatSQLDate FormatString FreeException GetComponent GetComponentLaunchParam GetConstant GetLastException GetReferenceRecord GetRefTypeByRefID GetTableID GetTempFolder IfThen In IndexOf InputDialog InputDialogEx InteractiveMode IsFileLocked IsGraphicFile IsNumeric Length LoadString LoadStringFmt LocalTimeToUTC LowerCase Max MessageBox MessageBoxEx MimeDecodeBinary MimeDecodeString MimeEncodeBinary MimeEncodeString Min MoneyInWords MoveFile NewID Now OpenFile Ord Precision Raise ReadCertificateFromFile ReadFile ReferenceCodeByID ReferenceNumber ReferenceRequisiteMode ReferenceRequisiteValue RegionDateSettings RegionNumberSettings RegionTimeSettings RegRead RegWrite RenameFile Replace Round SelectServerCode SelectSQL ServerDateTime SetConstant SetManagedFolderFieldsState ShowConstantsInputDialog ShowMessage Sleep Split SQL SQL2XLSTAB SQLProfilingSendReport StrToDate SubString SubStringCount SystemSetting Time TimeDiff Today Transliterate Trim UpperCase UserStatus UTCToLocalTime ValidateXML VarIsClear VarIsEmpty VarIsNull WorkTimeDiff WriteFile WriteFileEx WriteObjectHistory Анализ БазаДанных БлокЕсть БлокЕстьРасш БлокИнфо БлокСнять БлокСнятьРасш БлокУстановить Ввод ВводМеню ВедС ВедСпр ВерхняяГраницаМассива ВнешПрогр Восст ВременнаяПапка Время ВыборSQL ВыбратьЗапись ВыделитьСтр Вызвать Выполнить ВыпПрогр ГрафическийФайл ГруппаДополнительно ДатаВремяСерв ДеньНедели ДиалогДаНет ДлинаСтр ДобПодстр ЕПусто ЕслиТо ЕЧисло ЗамПодстр ЗаписьСправочника ЗначПоляСпр ИДТипСпр ИзвлечьДиск ИзвлечьИмяФайла ИзвлечьПуть ИзвлечьРасширение ИзмДат ИзменитьРазмерМассива ИзмеренийМассива ИмяОрг ИмяПоляСпр Индекс ИндикаторЗакрыть ИндикаторОткрыть ИндикаторШаг ИнтерактивныйРежим ИтогТблСпр КодВидВедСпр КодВидСпрПоИД КодПоAnalit КодСимвола КодСпр КолПодстр КолПроп КонМес Конст КонстЕсть КонстЗнач КонТран КопироватьФайл КопияСтр КПериод КСтрТблСпр Макс МаксСтрТблСпр Массив Меню МенюРасш Мин НаборДанныхНайтиРасш НаимВидСпр НаимПоAnalit НаимСпр НастроитьПереводыСтрок НачМес НачТран НижняяГраницаМассива НомерСпр НПериод Окно Окр Окружение ОтлИнфДобавить ОтлИнфУдалить Отчет ОтчетАнал ОтчетИнт ПапкаСуществует Пауза ПВыборSQL ПереименоватьФайл Переменные ПереместитьФайл Подстр ПоискПодстр ПоискСтр ПолучитьИДТаблицы ПользовательДополнительно ПользовательИД ПользовательИмя ПользовательСтатус Прервать ПроверитьПараметр ПроверитьПараметрЗнач ПроверитьУсловие РазбСтр РазнВремя РазнДат РазнДатаВремя РазнРабВремя РегУстВрем РегУстДат РегУстЧсл РедТекст РеестрЗапись РеестрСписокИменПарам РеестрЧтение РеквСпр РеквСпрПр Сегодня Сейчас Сервер СерверПроцессИД СертификатФайлСчитать СжПроб Символ СистемаДиректумКод СистемаИнформация СистемаКод Содержит СоединениеЗакрыть СоединениеОткрыть СоздатьДиалог СоздатьДиалогВыбораИзДвухСписков СоздатьДиалогВыбораПапки СоздатьДиалогОткрытияФайла СоздатьДиалогСохраненияФайла СоздатьЗапрос СоздатьИндикатор СоздатьИсключение СоздатьКэшированныйСправочник СоздатьМассив СоздатьНаборДанных СоздатьОбъект СоздатьОтчет СоздатьПапку СоздатьРедактор СоздатьСоединение СоздатьСписок СоздатьСписокСтрок СоздатьСправочник СоздатьСценарий СоздСпр СостСпр Сохр СохрСпр СписокСистем Спр Справочник СпрБлокЕсть СпрБлокСнять СпрБлокСнятьРасш СпрБлокУстановить СпрИзмНабДан СпрКод СпрНомер СпрОбновить СпрОткрыть СпрОтменить СпрПарам СпрПолеЗнач СпрПолеИмя СпрРекв СпрРеквВведЗн СпрРеквНовые СпрРеквПр СпрРеквПредЗн СпрРеквРежим СпрРеквТипТекст СпрСоздать СпрСост СпрСохранить СпрТблИтог СпрТблСтр СпрТблСтрКол СпрТблСтрМакс СпрТблСтрМин СпрТблСтрПред СпрТблСтрСлед СпрТблСтрСозд СпрТблСтрУд СпрТекПредст СпрУдалить СравнитьСтр СтрВерхРегистр СтрНижнРегистр СтрТблСпр СумПроп Сценарий СценарийПарам ТекВерсия ТекОрг Точн Тран Транслитерация УдалитьТаблицу УдалитьФайл УдСпр УдСтрТблСпр Уст УстановкиКонстант ФайлАтрибутСчитать ФайлАтрибутУстановить ФайлВремя ФайлВремяУстановить ФайлВыбрать ФайлЗанят ФайлЗаписать ФайлИскать ФайлКопировать ФайлМожноЧитать ФайлОткрыть ФайлПереименовать ФайлПерекодировать ФайлПереместить ФайлПросмотреть ФайлРазмер ФайлСоздать ФайлСсылкаСоздать ФайлСуществует ФайлСчитать ФайлУдалить ФмтSQLДат ФмтДат ФмтСтр ФмтЧсл Формат ЦМассивЭлемент ЦНаборДанныхРеквизит ЦПодстр ",y0="AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work ВызовСпособ ИмяОтчета РеквЗнач ",sb="IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ",Vb=Jf+W_,Iy=y0,V0="null true false nil ",Bg={className:"number",begin:qa.NUMBER_RE,relevance:0},z0={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]},O0={className:"doctag",begin:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",relevance:0},Ry={className:"comment",begin:"//",end:"$",relevance:0,contains:[qa.PHRASAL_WORDS_MODE,O0]},Av={className:"comment",begin:"/\\*",end:"\\*/",relevance:0,contains:[qa.PHRASAL_WORDS_MODE,O0]},wv={variants:[Ry,Av]},k0={$pattern:nd,keyword:ld,built_in:Vb,class:Iy,literal:V0},Y_={begin:"\\.\\s*"+qa.UNDERSCORE_IDENT_RE,keywords:k0,relevance:0},Mb={className:"type",begin:":[ \\t]*("+sb.trim().replace(/\s/g,"|")+")",end:"[ \\t]*=",excludeEnd:!0},r0={className:"variable",keywords:k0,begin:nd,relevance:0,contains:[Mb,Y_]},M0=od+"\\(";return{name:"ISBL",case_insensitive:!0,keywords:k0,illegal:"\\$|\\?|%|,|;$|~|#|@|</",contains:[{className:"function",begin:M0,end:"\\)$",returnBegin:!0,keywords:k0,illegal:"[\\[\\]\\|\\$\\?%,~#@]",contains:[{className:"title",keywords:{$pattern:nd,built_in:qb},begin:M0,end:"\\(",returnBegin:!0,excludeEnd:!0},Y_,r0,z0,Bg,wv]},Mb,Y_,r0,z0,Bg,wv]}}return isbl_1=Ra,isbl_1}var java_1,hasRequiredJava;function requireJava(){if(hasRequiredJava)return java_1;hasRequiredJava=1;var Ra="[0-9](_*[0-9])*",qa=`\\.(${Ra})`,nd="[0-9a-fA-F](_*[0-9a-fA-F])*",od={className:"number",variants:[{begin:`(\\b(${Ra})((${qa})|\\.)?|(${qa}))[eE][+-]?(${Ra})[fFdD]?\\b`},{begin:`\\b(${Ra})((${qa})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${qa})[fFdD]?\\b`},{begin:`\\b(${Ra})[fFdD]\\b`},{begin:`\\b0[xX]((${nd})\\.?|(${nd})?\\.(${nd}))[pP][+-]?(${Ra})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${nd})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function ld(dd,pd,fd){return fd===-1?"":dd.replace(pd,md=>ld(dd,pd,fd-1))}function ud(dd){const pd=dd.regex,fd="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",md=fd+ld("(?:<"+fd+"~~~(?:\\s*,\\s*"+fd+"~~~)*>)?",/~~~/g,2),kd={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},Ld={className:"meta",begin:"@"+fd,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},Gd={className:"params",begin:/\(/,end:/\)/,keywords:kd,relevance:0,contains:[dd.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:kd,illegal:/<\/|#/,contains:[dd.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},dd.C_LINE_COMMENT_MODE,dd.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[dd.BACKSLASH_ESCAPE]},dd.APOS_STRING_MODE,dd.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,fd],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[pd.concat(/(?!else)/,fd),/\s+/,fd,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,fd],className:{1:"keyword",3:"title.class"},contains:[Gd,dd.C_LINE_COMMENT_MODE,dd.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+md+"\\s+)",dd.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:kd,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:kd,relevance:0,contains:[Ld,dd.APOS_STRING_MODE,dd.QUOTE_STRING_MODE,od,dd.C_BLOCK_COMMENT_MODE]},dd.C_LINE_COMMENT_MODE,dd.C_BLOCK_COMMENT_MODE]},od,Ld]}}return java_1=ud,java_1}var javascript_1,hasRequiredJavascript;function requireJavascript(){if(hasRequiredJavascript)return javascript_1;hasRequiredJavascript=1;const Ra="[A-Za-z$_][0-9A-Za-z$_]*",qa=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],nd=["true","false","null","undefined","NaN","Infinity"],od=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],ld=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],ud=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],dd=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],pd=[].concat(ud,od,ld);function fd(md){const vd=md.regex,Ad=(Cf,{after:xf})=>{const Yf="</"+Cf[0].slice(1);return Cf.input.indexOf(Yf,xf)!==-1},Nd=Ra,Od={begin:"<>",end:"</>"},kd=/<[A-Za-z0-9\\._:-]+\s*\/>/,Ld={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Cf,xf)=>{const Yf=Cf[0].length+Cf.index,dh=Cf.input[Yf];if(dh==="<"||dh===","){xf.ignoreMatch();return}dh===">"&&(Ad(Cf,{after:Yf})||xf.ignoreMatch());let Rh;const th=Cf.input.substring(Yf);if(Rh=th.match(/^\s*=/)){xf.ignoreMatch();return}if((Rh=th.match(/^\s+extends\s+/))&&Rh.index===0){xf.ignoreMatch();return}}},Gd={$pattern:Ra,keyword:qa,literal:nd,built_in:pd,"variable.language":dd},jd="[0-9](_?[0-9])*",Fd=`\\.(${jd})`,Ud="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",qd={className:"number",variants:[{begin:`(\\b(${Ud})((${Fd})|\\.)?|(${Fd}))[eE][+-]?(${jd})\\b`},{begin:`\\b(${Ud})\\b((${Fd})\\b|\\.)?|(${Fd})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},zd={className:"subst",begin:"\\$\\{",end:"\\}",keywords:Gd,contains:[]},Wd={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[md.BACKSLASH_ESCAPE,zd],subLanguage:"xml"}},Jd={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[md.BACKSLASH_ESCAPE,zd],subLanguage:"css"}},_f={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[md.BACKSLASH_ESCAPE,zd],subLanguage:"graphql"}},Xd={className:"string",begin:"`",end:"`",contains:[md.BACKSLASH_ESCAPE,zd]},mf={className:"comment",variants:[md.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:Nd+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),md.C_BLOCK_COMMENT_MODE,md.C_LINE_COMMENT_MODE]},Sf=[md.APOS_STRING_MODE,md.QUOTE_STRING_MODE,Wd,Jd,_f,Xd,{match:/\$\d+/},qd];zd.contains=Sf.concat({begin:/\{/,end:/\}/,keywords:Gd,contains:["self"].concat(Sf)});const Tf=[].concat(mf,zd.contains),Af=Tf.concat([{begin:/(\s*)\(/,end:/\)/,keywords:Gd,contains:["self"].concat(Tf)}]),Ef={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:Gd,contains:Af},Nf={variants:[{match:[/class/,/\s+/,Nd,/\s+/,/extends/,/\s+/,vd.concat(Nd,"(",vd.concat(/\./,Nd),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,Nd],scope:{1:"keyword",3:"title.class"}}]},If={relevance:0,match:vd.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...od,...ld]}},Gf={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},Qf={variants:[{match:[/function/,/\s+/,Nd,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[Ef],illegal:/%/},Xf={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function ph(Cf){return vd.concat("(?!",Cf.join("|"),")")}const qf={match:vd.concat(/\b/,ph([...ud,"super","import"].map(Cf=>`${Cf}\\s*\\(`)),Nd,vd.lookahead(/\s*\(/)),className:"title.function",relevance:0},Lf={begin:vd.concat(/\./,vd.lookahead(vd.concat(Nd,/(?![0-9A-Za-z$_(])/))),end:Nd,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Wf={match:[/get|set/,/\s+/,Nd,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},Ef]},Jf="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+md.UNDERSCORE_IDENT_RE+")\\s*=>",Kf={match:[/const|var|let/,/\s+/,Nd,/\s*/,/=\s*/,/(async\s*)?/,vd.lookahead(Jf)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[Ef]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:Gd,exports:{PARAMS_CONTAINS:Af,CLASS_REFERENCE:If},illegal:/#(?![$_A-z])/,contains:[md.SHEBANG({label:"shebang",binary:"node",relevance:5}),Gf,md.APOS_STRING_MODE,md.QUOTE_STRING_MODE,Wd,Jd,_f,Xd,mf,{match:/\$\d+/},qd,If,{className:"attr",begin:Nd+vd.lookahead(":"),relevance:0},Kf,{begin:"("+md.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[mf,md.REGEXP_MODE,{className:"function",begin:Jf,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:md.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:Gd,contains:Af}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:Od.begin,end:Od.end},{match:kd},{begin:Ld.begin,"on:begin":Ld.isTrulyOpeningTag,end:Ld.end}],subLanguage:"xml",contains:[{begin:Ld.begin,end:Ld.end,skip:!0,contains:["self"]}]}]},Qf,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+md.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[Ef,md.inherit(md.TITLE_MODE,{begin:Nd,className:"title.function"})]},{match:/\.\.\./,relevance:0},Lf,{match:"\\$"+Nd,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[Ef]},qf,Xf,Nf,Wf,{match:/\$[(.]/}]}}return javascript_1=fd,javascript_1}var jbossCli_1,hasRequiredJbossCli;function requireJbossCli(){if(hasRequiredJbossCli)return jbossCli_1;hasRequiredJbossCli=1;function Ra(qa){const od={className:"params",begin:/\(/,end:/\)/,contains:[{begin:/[\w-]+ *=/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/[\w-]+/}]}],relevance:0},ld={className:"function",begin:/:[\w\-.]+/,relevance:0},ud={className:"string",begin:/\B([\/.])[\w\-.\/=]+/},dd={className:"params",begin:/--[\w\-=\/]+/};return{name:"JBoss CLI",aliases:["wildfly-cli"],keywords:{$pattern:"[a-z-]+",keyword:"alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source",literal:"true false"},contains:[qa.HASH_COMMENT_MODE,qa.QUOTE_STRING_MODE,dd,ld,ud,od]}}return jbossCli_1=Ra,jbossCli_1}var json_1,hasRequiredJson;function requireJson(){if(hasRequiredJson)return json_1;hasRequiredJson=1;function Ra(qa){const nd={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},od={match:/[{}[\],:]/,className:"punctuation",relevance:0},ld=["true","false","null"],ud={scope:"literal",beginKeywords:ld.join(" ")};return{name:"JSON",aliases:["jsonc"],keywords:{literal:ld},contains:[nd,od,qa.QUOTE_STRING_MODE,ud,qa.C_NUMBER_MODE,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}return json_1=Ra,json_1}var julia_1,hasRequiredJulia;function requireJulia(){if(hasRequiredJulia)return julia_1;hasRequiredJulia=1;function Ra(qa){const nd="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",dd={$pattern:nd,keyword:["baremodule","begin","break","catch","ccall","const","continue","do","else","elseif","end","export","false","finally","for","function","global","if","import","in","isa","let","local","macro","module","quote","return","true","try","using","where","while"],literal:["ARGS","C_NULL","DEPOT_PATH","ENDIAN_BOM","ENV","Inf","Inf16","Inf32","Inf64","InsertionSort","LOAD_PATH","MergeSort","NaN","NaN16","NaN32","NaN64","PROGRAM_FILE","QuickSort","RoundDown","RoundFromZero","RoundNearest","RoundNearestTiesAway","RoundNearestTiesUp","RoundToZero","RoundUp","VERSION|0","devnull","false","im","missing","nothing","pi","stderr","stdin","stdout","true","undef","π",""],built_in:["AbstractArray","AbstractChannel","AbstractChar","AbstractDict","AbstractDisplay","AbstractFloat","AbstractIrrational","AbstractMatrix","AbstractRange","AbstractSet","AbstractString","AbstractUnitRange","AbstractVecOrMat","AbstractVector","Any","ArgumentError","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError","LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","ProcessFailedException","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","TaskFailedException","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","UndefKeywordError","UndefRefError","UndefVarError","Union","UnionAll","UnitRange","Unsigned","Val","Vararg","VecElement","VecOrMat","Vector","VersionNumber","WeakKeyDict","WeakRef"]},pd={keywords:dd,illegal:/<\//},fd={className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},md={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},vd={className:"subst",begin:/\$\(/,end:/\)/,keywords:dd},Ad={className:"variable",begin:"\\$"+nd},Nd={className:"string",contains:[qa.BACKSLASH_ESCAPE,vd,Ad],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},Od={className:"string",contains:[qa.BACKSLASH_ESCAPE,vd,Ad],begin:"`",end:"`"},kd={className:"meta",begin:"@"+nd},Ld={className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]};return pd.name="Julia",pd.contains=[fd,md,Nd,Od,kd,Ld,qa.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],vd.contains=pd.contains,pd}return julia_1=Ra,julia_1}var juliaRepl_1,hasRequiredJuliaRepl;function requireJuliaRepl(){if(hasRequiredJuliaRepl)return juliaRepl_1;hasRequiredJuliaRepl=1;function Ra(qa){return{name:"Julia REPL",contains:[{className:"meta.prompt",begin:/^julia>/,relevance:10,starts:{end:/^(?![ ]{6})/,subLanguage:"julia"}}],aliases:["jldoctest"]}}return juliaRepl_1=Ra,juliaRepl_1}var kotlin_1,hasRequiredKotlin;function requireKotlin(){if(hasRequiredKotlin)return kotlin_1;hasRequiredKotlin=1;var Ra="[0-9](_*[0-9])*",qa=`\\.(${Ra})`,nd="[0-9a-fA-F](_*[0-9a-fA-F])*",od={className:"number",variants:[{begin:`(\\b(${Ra})((${qa})|\\.)?|(${qa}))[eE][+-]?(${Ra})[fFdD]?\\b`},{begin:`\\b(${Ra})((${qa})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${qa})[fFdD]?\\b`},{begin:`\\b(${Ra})[fFdD]\\b`},{begin:`\\b0[xX]((${nd})\\.?|(${nd})?\\.(${nd}))[pP][+-]?(${Ra})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${nd})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function ld(ud){const dd={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},pd={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},fd={className:"symbol",begin:ud.UNDERSCORE_IDENT_RE+"@"},md={className:"subst",begin:/\$\{/,end:/\}/,contains:[ud.C_NUMBER_MODE]},vd={className:"variable",begin:"\\$"+ud.UNDERSCORE_IDENT_RE},Ad={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[vd,md]},{begin:"'",end:"'",illegal:/\n/,contains:[ud.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[ud.BACKSLASH_ESCAPE,vd,md]}]};md.contains.push(Ad);const Nd={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+ud.UNDERSCORE_IDENT_RE+")?"},Od={className:"meta",begin:"@"+ud.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[ud.inherit(Ad,{className:"string"}),"self"]}]},kd=od,Ld=ud.COMMENT("/\\*","\\*/",{contains:[ud.C_BLOCK_COMMENT_MODE]}),Gd={variants:[{className:"type",begin:ud.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},jd=Gd;return jd.variants[1].contains=[Gd],Gd.variants[1].contains=[jd],{name:"Kotlin",aliases:["kt","kts"],keywords:dd,contains:[ud.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),ud.C_LINE_COMMENT_MODE,Ld,pd,fd,Nd,Od,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:dd,relevance:5,contains:[{begin:ud.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[ud.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:dd,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[Gd,ud.C_LINE_COMMENT_MODE,Ld],relevance:0},ud.C_LINE_COMMENT_MODE,Ld,Nd,Od,Ad,ud.C_NUMBER_MODE]},Ld]},{begin:[/class|interface|trait/,/\s+/,ud.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},ud.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},Nd,Od]},Ad,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:`
`},kd]}}return kotlin_1=ld,kotlin_1}var lasso_1,hasRequiredLasso;function requireLasso(){if(hasRequiredLasso)return lasso_1;hasRequiredLasso=1;function Ra(qa){const nd="[a-zA-Z_][\\w.]*",od="<\\?(lasso(script)?|=)",ld="\\]|\\?>",ud={$pattern:nd+"|&[lg]t;",literal:"true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},dd=qa.COMMENT("<!--","-->",{relevance:0}),pd={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[dd]}},fd={className:"meta",begin:"\\[/noprocess|"+od},md={className:"symbol",begin:"'"+nd+"'"},vd=[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.inherit(qa.C_NUMBER_MODE,{begin:qa.C_NUMBER_RE+"|(-?infinity|NaN)\\b"}),qa.inherit(qa.APOS_STRING_MODE,{illegal:null}),qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{variants:[{begin:"[#$]"+nd},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:nd,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+nd,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[md]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[qa.inherit(qa.TITLE_MODE,{begin:nd+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:ud,contains:[{className:"meta",begin:ld,relevance:0,starts:{end:"\\[|"+od,returnEnd:!0,relevance:0,contains:[dd]}},pd,fd,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:ud,contains:[{className:"meta",begin:ld,relevance:0,starts:{end:"\\[noprocess\\]|"+od,returnEnd:!0,contains:[dd]}},pd,fd].concat(vd)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(vd)}}return lasso_1=Ra,lasso_1}var latex_1,hasRequiredLatex;function requireLatex(){if(hasRequiredLatex)return latex_1;hasRequiredLatex=1;function Ra(qa){const od=qa.regex.either(...["(?:NeedsTeXFormat|RequirePackage|GetIdInfo)","Provides(?:Expl)?(?:Package|Class|File)","(?:DeclareOption|ProcessOptions)","(?:documentclass|usepackage|input|include)","makeat(?:letter|other)","ExplSyntax(?:On|Off)","(?:new|renew|provide)?command","(?:re)newenvironment","(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand","(?:New|Renew|Provide|Declare)DocumentEnvironment","(?:(?:e|g|x)?def|let)","(?:begin|end)","(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)","caption","(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)","(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)","(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)","(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)","(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)","(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)"].map(mf=>mf+"(?![a-zA-Z@:_])")),ld=new RegExp(["(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*","[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}","[qs]__?[a-zA-Z](?:_?[a-zA-Z])+","use(?:_i)?:[a-zA-Z]*","(?:else|fi|or):","(?:if|cs|exp):w","(?:hbox|vbox):n","::[a-zA-Z]_unbraced","::[a-zA-Z:]"].map(mf=>mf+"(?![a-zA-Z:_])").join("|")),ud=[{begin:/[a-zA-Z@]+/},{begin:/[^a-zA-Z@]?/}],dd=[{begin:/\^{6}[0-9a-f]{6}/},{begin:/\^{5}[0-9a-f]{5}/},{begin:/\^{4}[0-9a-f]{4}/},{begin:/\^{3}[0-9a-f]{3}/},{begin:/\^{2}[0-9a-f]{2}/},{begin:/\^{2}[\u0000-\u007f]/}],pd={className:"keyword",begin:/\\/,relevance:0,contains:[{endsParent:!0,begin:od},{endsParent:!0,begin:ld},{endsParent:!0,variants:dd},{endsParent:!0,relevance:0,variants:ud}]},fd={className:"params",relevance:0,begin:/#+\d?/},md={variants:dd},vd={className:"built_in",relevance:0,begin:/[$&^_]/},Ad={className:"meta",begin:/% ?!(T[eE]X|tex|BIB|bib)/,end:"$",relevance:10},Nd=qa.COMMENT("%","$",{relevance:0}),Od=[pd,fd,md,vd,Ad,Nd],kd={begin:/\{/,end:/\}/,relevance:0,contains:["self",...Od]},Ld=qa.inherit(kd,{relevance:0,endsParent:!0,contains:[kd,...Od]}),Gd={begin:/\[/,end:/\]/,endsParent:!0,relevance:0,contains:[kd,...Od]},jd={begin:/\s+/,relevance:0},Fd=[Ld],Ud=[Gd],qd=function(mf,Sf){return{contains:[jd],starts:{relevance:0,contains:mf,starts:Sf}}},zd=function(mf,Sf){return{begin:"\\\\"+mf+"(?![a-zA-Z@:_])",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\"+mf},relevance:0,contains:[jd],starts:Sf}},Wd=function(mf,Sf){return qa.inherit({begin:"\\\\begin(?=[ ]*(\\r?\\n[ ]*)?\\{"+mf+"\\})",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\begin"},relevance:0},qd(Fd,Sf))},Jd=(mf="string")=>qa.END_SAME_AS_BEGIN({className:mf,begin:/(.|\r?\n)/,end:/(.|\r?\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0}),_f=function(mf){return{className:"string",end:"(?=\\\\end\\{"+mf+"\\})"}},Xd=(mf="string")=>({relevance:0,begin:/\{/,starts:{endsParent:!0,contains:[{className:mf,end:/(?=\})/,endsParent:!0,contains:[{begin:/\{/,end:/\}/,relevance:0,contains:["self"]}]}]}}),pf=[...["verb","lstinline"].map(mf=>zd(mf,{contains:[Jd()]})),zd("mint",qd(Fd,{contains:[Jd()]})),zd("mintinline",qd(Fd,{contains:[Xd(),Jd()]})),zd("url",{contains:[Xd("link"),Xd("link")]}),zd("hyperref",{contains:[Xd("link")]}),zd("href",qd(Ud,{contains:[Xd("link")]})),...[].concat(...["","\\*"].map(mf=>[Wd("verbatim"+mf,_f("verbatim"+mf)),Wd("filecontents"+mf,qd(Fd,_f("filecontents"+mf))),...["","B","L"].map(Sf=>Wd(Sf+"Verbatim"+mf,qd(Ud,_f(Sf+"Verbatim"+mf))))])),Wd("minted",qd(Ud,qd(Fd,_f("minted"))))];return{name:"LaTeX",aliases:["tex"],contains:[...pf,...Od]}}return latex_1=Ra,latex_1}var ldif_1,hasRequiredLdif;function requireLdif(){if(hasRequiredLdif)return ldif_1;hasRequiredLdif=1;function Ra(qa){return{name:"LDIF",contains:[{className:"attribute",match:"^dn(?=:)",relevance:10},{className:"attribute",match:"^\\w+(?=:)"},{className:"literal",match:"^-"},qa.HASH_COMMENT_MODE]}}return ldif_1=Ra,ldif_1}var leaf_1,hasRequiredLeaf;function requireLeaf(){if(hasRequiredLeaf)return leaf_1;hasRequiredLeaf=1;function Ra(qa){const nd=/([A-Za-z_][A-Za-z_0-9]*)?/,ld={scope:"params",begin:/\(/,end:/\)(?=\:?)/,endsParent:!0,relevance:7,contains:[{scope:"string",begin:'"',end:'"'},{scope:"keyword",match:["true","false","in"].join("|")},{scope:"variable",match:/[A-Za-z_][A-Za-z_0-9]*/},{scope:"operator",match:/\+|\-|\*|\/|\%|\=\=|\=|\!|\>|\<|\&\&|\|\|/}]},ud={match:[nd,/(?=\()/],scope:{1:"keyword"},contains:[ld]};return ld.contains.unshift(ud),{name:"Leaf",contains:[{match:[/#+/,nd,/(?=\()/],scope:{1:"punctuation",2:"keyword"},starts:{contains:[{match:/\:/,scope:"punctuation"}]},contains:[ld]},{match:[/#+/,nd,/:?/],scope:{1:"punctuation",2:"keyword",3:"punctuation"}}]}}return leaf_1=Ra,leaf_1}var less_1,hasRequiredLess;function requireLess(){if(hasRequiredLess)return less_1;hasRequiredLess=1;const Ra=vd=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:vd.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[vd.APOS_STRING_MODE,vd.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:vd.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),qa=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],nd=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],od=[...qa,...nd],ld=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),ud=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),dd=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),pd=["accent-color","align-content","align-items","align-self","alignment-baseline","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-end-end-radius","border-end-start-radius","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","cx","cy","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","empty-cells","enable-background","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","flood-color","flood-opacity","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","kerning","justify-content","justify-items","justify-self","left","letter-spacing","lighting-color","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","marker","marker-end","marker-mid","marker-start","mask","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","speak","speak-as","src","tab-size","table-layout","text-anchor","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-offset","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","vector-effect","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index"].sort().reverse(),fd=ud.concat(dd).sort().reverse();function md(vd){const Ad=Ra(vd),Nd=fd,Od="and or not only",kd="[\\w-]+",Ld="("+kd+"|@\\{"+kd+"\\})",Gd=[],jd=[],Fd=function(Tf){return{className:"string",begin:"~?"+Tf+".*?"+Tf}},Ud=function(Tf,Af,Ef){return{className:Tf,begin:Af,relevance:Ef}},qd={$pattern:/[a-z-]+/,keyword:Od,attribute:ld.join(" ")},zd={begin:"\\(",end:"\\)",contains:jd,keywords:qd,relevance:0};jd.push(vd.C_LINE_COMMENT_MODE,vd.C_BLOCK_COMMENT_MODE,Fd("'"),Fd('"'),Ad.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},Ad.HEXCOLOR,zd,Ud("variable","@@?"+kd,10),Ud("variable","@\\{"+kd+"\\}"),Ud("built_in","~?`[^`]*?`"),{className:"attribute",begin:kd+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},Ad.IMPORTANT,{beginKeywords:"and not"},Ad.FUNCTION_DISPATCH);const Wd=jd.concat({begin:/\{/,end:/\}/,contains:Gd}),Jd={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(jd)},_f={begin:Ld+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},Ad.CSS_VARIABLE,{className:"attribute",begin:"\\b("+pd.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:jd}}]},Xd={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:qd,returnEnd:!0,contains:jd,relevance:0}},pf={className:"variable",variants:[{begin:"@"+kd+"\\s*:",relevance:15},{begin:"@"+kd}],starts:{end:"[;}]",returnEnd:!0,contains:Wd}},mf={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:Ld,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[vd.C_LINE_COMMENT_MODE,vd.C_BLOCK_COMMENT_MODE,Jd,Ud("keyword","all\\b"),Ud("variable","@\\{"+kd+"\\}"),{begin:"\\b("+od.join("|")+")\\b",className:"selector-tag"},Ad.CSS_NUMBER_MODE,Ud("selector-tag",Ld,0),Ud("selector-id","#"+Ld),Ud("selector-class","\\."+Ld,0),Ud("selector-tag","&",0),Ad.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+ud.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+dd.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:Wd},{begin:"!important"},Ad.FUNCTION_DISPATCH]},Sf={begin:kd+`:(:)?(${Nd.join("|")})`,returnBegin:!0,contains:[mf]};return Gd.push(vd.C_LINE_COMMENT_MODE,vd.C_BLOCK_COMMENT_MODE,Xd,pf,Sf,_f,mf,Jd,Ad.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:Gd}}return less_1=md,less_1}var lisp_1,hasRequiredLisp;function requireLisp(){if(hasRequiredLisp)return lisp_1;hasRequiredLisp=1;function Ra(qa){const nd="[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*",od="\\|[^]*?\\|",ld="(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?",ud={className:"literal",begin:"\\b(t{1}|nil)\\b"},dd={className:"number",variants:[{begin:ld,relevance:0},{begin:"#(b|B)[0-1]+(/[0-1]+)?"},{begin:"#(o|O)[0-7]+(/[0-7]+)?"},{begin:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{begin:"#(c|C)\\("+ld+" +"+ld,end:"\\)"}]},pd=qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null}),fd=qa.COMMENT(";","$",{relevance:0}),md={begin:"\\*",end:"\\*"},vd={className:"symbol",begin:"[:&]"+nd},Ad={begin:nd,relevance:0},Nd={begin:od},kd={contains:[dd,pd,md,vd,{begin:"\\(",end:"\\)",contains:["self",ud,pd,dd,Ad]},Ad],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:{name:"quote"}},{begin:"'"+od}]},Ld={variants:[{begin:"'"+nd},{begin:"#'"+nd+"(::"+nd+")*"}]},Gd={begin:"\\(\\s*",end:"\\)"},jd={endsWithParent:!0,relevance:0};return Gd.contains=[{className:"name",variants:[{begin:nd,relevance:0},{begin:od}]},jd],jd.contains=[kd,Ld,Gd,ud,dd,pd,fd,md,vd,Nd,Ad],{name:"Lisp",illegal:/\S/,contains:[dd,qa.SHEBANG(),ud,pd,fd,kd,Ld,Gd,Ad]}}return lisp_1=Ra,lisp_1}var livecodeserver_1,hasRequiredLivecodeserver;function requireLivecodeserver(){if(hasRequiredLivecodeserver)return livecodeserver_1;hasRequiredLivecodeserver=1;function Ra(qa){const nd={className:"variable",variants:[{begin:"\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\[.+\\])?(?:\\s*?)"},{begin:"\\$_[A-Z]+"}],relevance:0},od=[qa.C_BLOCK_COMMENT_MODE,qa.HASH_COMMENT_MODE,qa.COMMENT("--","$"),qa.COMMENT("[^:]//","$")],ld=qa.inherit(qa.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z][A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]}),ud=qa.inherit(qa.TITLE_MODE,{begin:"\\b([A-Za-z0-9_\\-]+)\\b"});return{name:"LiveCode",case_insensitive:!1,keywords:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",literal:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress difference directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge messageAuthenticationCode messageDigest millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetDriver libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load extension loadedExtensions multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract symmetric union unload vectorDotProduct wait write"},contains:[nd,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[nd,ud,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,qa.BINARY_NUMBER_MODE,qa.C_NUMBER_MODE,ld]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[ud,ld],relevance:0},{beginKeywords:"command on",end:"$",contains:[nd,ud,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,qa.BINARY_NUMBER_MODE,qa.C_NUMBER_MODE,ld]},{className:"meta",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,qa.BINARY_NUMBER_MODE,qa.C_NUMBER_MODE,ld].concat(od),illegal:";$|^\\[|^=|&|\\{"}}return livecodeserver_1=Ra,livecodeserver_1}var livescript_1,hasRequiredLivescript;function requireLivescript(){if(hasRequiredLivescript)return livescript_1;hasRequiredLivescript=1;const Ra=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],qa=["true","false","null","undefined","NaN","Infinity"],nd=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],od=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],ld=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],ud=[].concat(ld,nd,od);function dd(pd){const fd=["npm","print"],md=["yes","no","on","off","it","that","void"],vd=["then","unless","until","loop","of","by","when","and","or","is","isnt","not","it","that","otherwise","from","to","til","fallthrough","case","enum","native","list","map","__hasProp","__extends","__slice","__bind","__indexOf"],Ad={keyword:Ra.concat(vd),literal:qa.concat(md),built_in:ud.concat(fd)},Nd="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",Od=pd.inherit(pd.TITLE_MODE,{begin:Nd}),kd={className:"subst",begin:/#\{/,end:/\}/,keywords:Ad},Ld={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:Ad},Gd=[pd.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[pd.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[pd.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[pd.BACKSLASH_ESCAPE,kd,Ld]},{begin:/"/,end:/"/,contains:[pd.BACKSLASH_ESCAPE,kd,Ld]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[kd,pd.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@"+Nd},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];kd.contains=Gd;const jd={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:Ad,contains:["self"].concat(Gd)}]},Fd={begin:"(#=>|=>|\\|>>|-?->|!->)"},Ud={variants:[{match:[/class\s+/,Nd,/\s+extends\s+/,Nd]},{match:[/class\s+/,Nd]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:Ad};return{name:"LiveScript",aliases:["ls"],keywords:Ad,illegal:/\/\*/,contains:Gd.concat([pd.COMMENT("\\/\\*","\\*\\/"),pd.HASH_COMMENT_MODE,Fd,{className:"function",contains:[Od,jd],returnBegin:!0,variants:[{begin:"("+Nd+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",end:"->\\*?"},{begin:"("+Nd+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+Nd+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},Ud,{begin:Nd+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return livescript_1=dd,livescript_1}var llvm_1,hasRequiredLlvm;function requireLlvm(){if(hasRequiredLlvm)return llvm_1;hasRequiredLlvm=1;function Ra(qa){const nd=qa.regex,od=/([-a-zA-Z$._][\w$.-]*)/,ld={className:"type",begin:/\bi\d+(?=\s|\b)/},ud={className:"operator",relevance:0,begin:/=/},dd={className:"punctuation",relevance:0,begin:/,/},pd={className:"number",variants:[{begin:/[su]?0[xX][KMLHR]?[a-fA-F0-9]+/},{begin:/[-+]?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/}],relevance:0},fd={className:"symbol",variants:[{begin:/^\s*[a-z]+:/}],relevance:0},md={className:"variable",variants:[{begin:nd.concat(/%/,od)},{begin:/%\d+/},{begin:/#\d+/}]},vd={className:"title",variants:[{begin:nd.concat(/@/,od)},{begin:/@\d+/},{begin:nd.concat(/!/,od)},{begin:nd.concat(/!\d+/,od)},{begin:/!\d+/}]};return{name:"LLVM IR",keywords:{keyword:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly",type:"void half bfloat float double fp128 x86_fp80 ppc_fp128 x86_amx x86_mmx ptr label token metadata opaque"},contains:[ld,qa.COMMENT(/;\s*$/,null,{relevance:0}),qa.COMMENT(/;/,/$/),{className:"string",begin:/"/,end:/"/,contains:[{className:"char.escape",match:/\\\d\d/}]},vd,dd,ud,md,fd,pd]}}return llvm_1=Ra,llvm_1}var lsl_1,hasRequiredLsl;function requireLsl(){if(hasRequiredLsl)return lsl_1;hasRequiredLsl=1;function Ra(qa){const od={className:"string",begin:'"',end:'"',contains:[{className:"subst",begin:/\\[tn"\\]/}]},ld={className:"number",relevance:0,begin:qa.C_NUMBER_RE},ud={className:"literal",variants:[{begin:"\\b(PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b"},{begin:"\\b(XP_ERROR_(EXPERIENCES_DISABLED|EXPERIENCE_(DISABLED|SUSPENDED)|INVALID_(EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(FOUND|PERMITTED(_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(_OBJECT)?|(DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(_(BY_(LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(PARCEL(_OWNER)?|REGION)))?|CAMERA_(PITCH|DISTANCE|BEHINDNESS_(ANGLE|LAG)|(FOCUS|POSITION)(_(THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(ROOT|SET|ALL_(OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(IVE|_(ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(FWD|BACK|(ROT_)?(LEFT|RIGHT)|UP|DOWN|(ML_)?LBUTTON)|PERMISSION_(RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(_START)?|TELEPORT|MEDIA)|OBJECT_(CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_(ATTACHED|ON_REZ)|NAME|DESC|POS|PRIM_(COUNT|EQUIVALENCE)|RETURN_(PARCEL(_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP(_TAG)?|CREATOR|ATTACHED_(POINT|SLOTS_AVAILABLE)|RENDER_WEIGHT|(BODY_SHAPE|PATHFINDING)_TYPE|(RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(MEMORY|TIME))|TYPE_(INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(DEBUG|PUBLIC)_CHANNEL|ATTACH_(AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](SHOULDER|HAND|FOOT|EAR|EYE|[UL](ARM|LEG)|HIP)|(LEFT|RIGHT)_PEC|HUD_(CENTER_[12]|TOP_(RIGHT|CENTER|LEFT)|BOTTOM(_(RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(BASE|TIP)|[LR]WING|FACE_(JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(ONLINE|NAME|BORN|SIM_(POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(ON_FILE|USED)|REMOTE_DATA_(CHANNEL|REQUEST|REPLY)|PSYS_(PART_(BF_(ZERO|ONE(_MINUS_(DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(START|END)_(COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(RIBBON|WIND|INTERP_(COLOR|SCALE)|BOUNCE|FOLLOW_(SRC|VELOCITY)|TARGET_(POS|LINEAR)|EMISSIVE)_MASK)|SRC_(MAX_AGE|PATTERN|ANGLE_(BEGIN|END)|BURST_(RATE|PART_COUNT|RADIUS|SPEED_(MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(DROP|EXPLODE|ANGLE(_CONE(_EMPTY)?)?)))|VEHICLE_(REFERENCE_FRAME|TYPE_(NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(LINEAR|ANGULAR)_(FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(LINEAR|ANGULAR)_(DEFLECTION_(EFFICIENCY|TIMESCALE)|MOTOR_(DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(EFFICIENCY|TIMESCALE)|BANKING_(EFFICIENCY|MIX|TIMESCALE)|FLAG_(NO_DEFLECTION_UP|LIMIT_(ROLL_ONLY|MOTOR_UP)|HOVER_((WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(ALLOW_UNSIT|ALPHA_MODE(_(BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(_(BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(_(STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(NONE|LOW|MEDIUM|HIGH)|BUMP_(NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(DEFAULT|PLANAR)|SCRIPTED_SIT_ONLY|SCULPT_(TYPE_(SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(MIRROR|INVERT))|PHYSICS(_(SHAPE_(CONVEX|NONE|PRIM|TYPE)))?|(POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIT_TARGET|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(ALT_IMAGE_ENABLE|CONTROLS|(CURRENT|HOME)_URL|AUTO_(LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(WIDTH|HEIGHT)_PIXELS|WHITELIST(_ENABLE)?|PERMS_(INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(STANDARD|MINI)|PERM_(NONE|OWNER|GROUP|ANYONE)|MAX_(URL_LENGTH|WHITELIST_(SIZE|COUNT)|(WIDTH|HEIGHT)_PIXELS)))|MASK_(BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(MEDIA_COMMAND_(STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(ALLOW_(FLY|(GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(GROUP_)?OBJECTS)|USE_(ACCESS_(GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(GROUP|ALL)_OBJECT_ENTRY)|COUNT_(TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(HIDE|DEFAULT)|REGION_FLAG_(ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(METHOD|MIMETYPE|BODY_(MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|SIT_(INVALID_(AGENT|LINK_OBJECT)|NO(T_EXPERIENCE|_(ACCESS|EXPERIENCE_PERMISSION|SIT_TARGET)))|STRING_(TRIM(_(HEAD|TAIL))?)|CLICK_ACTION_(NONE|TOUCH|SIT|BUY|PAY|OPEN(_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(NONE|SCRIPT_MEMORY)|RC_(DATA_FLAGS|DETECT_PHANTOM|GET_(LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(TYPES|AGENTS|(NON)?PHYSICAL|LAND))|RCERR_(CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(ALLOWED_(AGENT|GROUP)_(ADD|REMOVE)|BANNED_AGENT_(ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(COMMAND|CMD_(PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(CMD_((SMOOTH_)?STOP|JUMP)|DESIRED_(TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(_([ABCD]|NONE))?|MAX_(DECEL|TURN_RADIUS|(ACCEL|SPEED)))|PURSUIT_(OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(EVADE_(HIDDEN|SPOTTED)|FAILURE_(DYNAMIC_PATHFINDING_DISABLED|INVALID_(GOAL|START)|NO_(NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(PARCEL_)?UNREACHABLE)|(GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(_(FAST|NONE|SLOW))?|CONTENT_TYPE_(ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(RADIUS|STATIC)|(PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b"},{begin:"\\b(FALSE|TRUE)\\b"},{begin:"\\b(ZERO_ROTATION)\\b"},{begin:"\\b(EOF|JSON_(ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(GRANTED|DENIED))\\b"},{begin:"\\b(ZERO_VECTOR|TOUCH_INVALID_(TEXCOORD|VECTOR))\\b"}]},dd={className:"built_in",begin:"\\b(ll(AgentInExperience|(Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(Details|ErrorMessage)|ReturnObjectsBy(ID|Owner)|Json(2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(Mag|Norm|Dist)|Rot(Between|2(Euler|Fwd|Left|Up))|(Euler|Axes)2Rot|Whisper|(Region|Owner)?Say|Shout|Listen(Control|Remove)?|Sensor(Repeat|Remove)?|Detected(Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|([GS]et)(AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(Scale|Offset|Rotate)Texture|(Rot)?Target(Remove)?|(Stop)?MoveToTarget|Apply(Rotational)?Impulse|Set(KeyframedMotion|ContentType|RegionPos|(Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(Queueing|Radius)|Vehicle(Type|(Float|Vector|Rotation)Param)|(Touch|Sit)?Text|Camera(Eye|At)Offset|PrimitiveParams|ClickAction|Link(Alpha|Color|PrimitiveParams(Fast)?|Texture(Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get((Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(PrimitiveParams|Number(OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(Details|PermMask|PrimCount)|Parcel(MaxPrims|Details|Prim(Count|Owners))|Attached(List)?|(SPMax|Free|Used)Memory|Region(Name|TimeDilation|FPS|Corner|AgentCount)|Root(Position|Rotation)|UnixTime|(Parcel|Region)Flags|(Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(Prims|NotecardLines|Sides)|Animation(List)?|(Camera|Local)(Pos|Rot)|Vel|Accel|Omega|Time(stamp|OfDay)|(Object|CenterOf)?Mass|MassMKS|Energy|Owner|(Owner)?Key|SunDirection|Texture(Offset|Scale|Rot)|Inventory(Number|Name|Key|Type|Creator|PermMask)|Permissions(Key)?|StartParameter|List(Length|EntryType)|Date|Agent(Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(Name|State))|(Get|Reset|GetAndReset)Time|PlaySound(Slave)?|LoopSound(Master|Slave)?|(Trigger|Stop|Preload)Sound|((Get|Delete)Sub|Insert)String|To(Upper|Lower)|Give(InventoryList|Money)|RezObject|(Stop)?LookAt|Sleep|CollisionFilter|(Take|Release)Controls|DetachFromAvatar|AttachToAvatar(Temp)?|InstantMessage|(GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(Length|Trim)|(Start|Stop)Animation|TargetOmega|Request(Experience)?Permissions|(Create|Break)Link|BreakAllLinks|(Give|Remove)Inventory|Water|PassTouches|Request(Agent|Inventory)Data|TeleportAgent(Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(Axis|Angle)|A(cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(CSV|Integer|Json|Float|String|Key|Vector|Rot|List(Strided)?)|DeleteSubList|List(Statistics|Sort|Randomize|(Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(Slope|Normal|Contour)|GroundRepel|(Set|Remove)VehicleFlags|SitOnLink|(AvatarOn)?(Link)?SitTarget|Script(Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(Integer|String)ToBase64|XorBase64|Log(10)?|Base64To(String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(Load|Release|(E|Une)scape)URL|ParcelMedia(CommandList|Query)|ModPow|MapDestination|(RemoveFrom|AddTo|Reset)Land(Pass|Ban)List|(Set|Clear)CameraParams|HTTP(Request|Response)|TextBox|DetectedTouch(UV|Face|Pos|(N|Bin)ormal|ST)|(MD5|SHA1|DumpList2)String|Request(Secure)?URL|Clear(Prim|Link)Media|(Link)?ParticleSystem|(Get|Request)(Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b"};return{name:"LSL (Linden Scripting Language)",illegal:":",contains:[od,{className:"comment",variants:[qa.COMMENT("//","$"),qa.COMMENT("/\\*","\\*/")],relevance:0},ld,{className:"section",variants:[{begin:"\\b(state|default)\\b"},{begin:"\\b(state_(entry|exit)|touch(_(start|end))?|(land_)?collision(_(start|end))?|timer|listen|(no_)?sensor|control|(not_)?at_(rot_)?target|money|email|experience_permissions(_denied)?|run_time_permissions|changed|attach|dataserver|moving_(start|end)|link_message|(on|object)_rez|remote_data|http_re(sponse|quest)|path_update|transaction_result)\\b"}]},dd,ud,{className:"type",begin:"\\b(integer|float|string|key|vector|quaternion|rotation|list)\\b"}]}}return lsl_1=Ra,lsl_1}var lua_1,hasRequiredLua;function requireLua(){if(hasRequiredLua)return lua_1;hasRequiredLua=1;function Ra(qa){const nd="\\[=*\\[",od="\\]=*\\]",ld={begin:nd,end:od,contains:["self"]},ud=[qa.COMMENT("--(?!"+nd+")","$"),qa.COMMENT("--"+nd,od,{contains:[ld],relevance:10})];return{name:"Lua",keywords:{$pattern:qa.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:ud.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[qa.inherit(qa.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:ud}].concat(ud)},qa.C_NUMBER_MODE,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,{className:"string",begin:nd,end:od,contains:[ld],relevance:5}])}}return lua_1=Ra,lua_1}var makefile_1,hasRequiredMakefile;function requireMakefile(){if(hasRequiredMakefile)return makefile_1;hasRequiredMakefile=1;function Ra(qa){const nd={className:"variable",variants:[{begin:"\\$\\("+qa.UNDERSCORE_IDENT_RE+"\\)",contains:[qa.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},od={className:"string",begin:/"/,end:/"/,contains:[qa.BACKSLASH_ESCAPE,nd]},ld={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[nd]},ud={begin:"^"+qa.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},dd={className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},pd={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[nd]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[qa.HASH_COMMENT_MODE,nd,od,ld,ud,dd,pd]}}return makefile_1=Ra,makefile_1}var mathematica_1,hasRequiredMathematica;function requireMathematica(){if(hasRequiredMathematica)return mathematica_1;hasRequiredMathematica=1;const Ra=["AASTriangle","AbelianGroup","Abort","AbortKernels","AbortProtect","AbortScheduledTask","Above","Abs","AbsArg","AbsArgPlot","Absolute","AbsoluteCorrelation","AbsoluteCorrelationFunction","AbsoluteCurrentValue","AbsoluteDashing","AbsoluteFileName","AbsoluteOptions","AbsolutePointSize","AbsoluteThickness","AbsoluteTime","AbsoluteTiming","AcceptanceThreshold","AccountingForm","Accumulate","Accuracy","AccuracyGoal","AcousticAbsorbingValue","AcousticImpedanceValue","AcousticNormalVelocityValue","AcousticPDEComponent","AcousticPressureCondition","AcousticRadiationValue","AcousticSoundHardValue","AcousticSoundSoftCondition","ActionDelay","ActionMenu","ActionMenuBox","ActionMenuBoxOptions","Activate","Active","ActiveClassification","ActiveClassificationObject","ActiveItem","ActivePrediction","ActivePredictionObject","ActiveStyle","AcyclicGraphQ","AddOnHelpPath","AddSides","AddTo","AddToSearchIndex","AddUsers","AdjacencyGraph","AdjacencyList","AdjacencyMatrix","AdjacentMeshCells","Adjugate","AdjustmentBox","AdjustmentBoxOptions","AdjustTimeSeriesForecast","AdministrativeDivisionData","AffineHalfSpace","AffineSpace","AffineStateSpaceModel","AffineTransform","After","AggregatedEntityClass","AggregationLayer","AircraftData","AirportData","AirPressureData","AirSoundAttenuation","AirTemperatureData","AiryAi","AiryAiPrime","AiryAiZero","AiryBi","AiryBiPrime","AiryBiZero","AlgebraicIntegerQ","AlgebraicNumber","AlgebraicNumberDenominator","AlgebraicNumberNorm","AlgebraicNumberPolynomial","AlgebraicNumberTrace","AlgebraicRules","AlgebraicRulesData","Algebraics","AlgebraicUnitQ","Alignment","AlignmentMarker","AlignmentPoint","All","AllowAdultContent","AllowChatServices","AllowedCloudExtraParameters","AllowedCloudParameterExtensions","AllowedDimensions","AllowedFrequencyRange","AllowedHeads","AllowGroupClose","AllowIncomplete","AllowInlineCells","AllowKernelInitialization","AllowLooseGrammar","AllowReverseGroupClose","AllowScriptLevelChange","AllowVersionUpdate","AllTrue","Alphabet","AlphabeticOrder","AlphabeticSort","AlphaChannel","AlternateImage","AlternatingFactorial","AlternatingGroup","AlternativeHypothesis","Alternatives","AltitudeMethod","AmbientLight","AmbiguityFunction","AmbiguityList","Analytic","AnatomyData","AnatomyForm","AnatomyPlot3D","AnatomySkinStyle","AnatomyStyling","AnchoredSearch","And","AndersonDarlingTest","AngerJ","AngleBisector","AngleBracket","AnglePath","AnglePath3D","AngleVector","AngularGauge","Animate","AnimatedImage","AnimationCycleOffset","AnimationCycleRepetitions","AnimationDirection","AnimationDisplayTime","AnimationRate","AnimationRepetitions","AnimationRunning","AnimationRunTime","AnimationTimeIndex","AnimationVideo","Animator","AnimatorBox","AnimatorBoxOptions","AnimatorElements","Annotate","Annotation","AnnotationDelete","AnnotationKeys","AnnotationRules","AnnotationValue","Annuity","AnnuityDue","Annulus","AnomalyDetection","AnomalyDetector","AnomalyDetectorFunction","Anonymous","Antialiasing","Antihermitian","AntihermitianMatrixQ","Antisymmetric","AntisymmetricMatrixQ","Antonyms","AnyOrder","AnySubset","AnyTrue","Apart","ApartSquareFree","APIFunction","Appearance","AppearanceElements","AppearanceRules","AppellF1","Append","AppendCheck","AppendLayer","AppendTo","Application","Apply","ApplyReaction","ApplySides","ApplyTo","ArcCos","ArcCosh","ArcCot","ArcCoth","ArcCsc","ArcCsch","ArcCurvature","ARCHProcess","ArcLength","ArcSec","ArcSech","ArcSin","ArcSinDistribution","ArcSinh","ArcTan","ArcTanh","Area","Arg","ArgMax","ArgMin","ArgumentCountQ","ArgumentsOptions","ARIMAProcess","ArithmeticGeometricMean","ARMAProcess","Around","AroundReplace","ARProcess","Array","ArrayComponents","ArrayDepth","ArrayFilter","ArrayFlatten","ArrayMesh","ArrayPad","ArrayPlot","ArrayPlot3D","ArrayQ","ArrayReduce","ArrayResample","ArrayReshape","ArrayRules","Arrays","Arrow","Arrow3DBox","ArrowBox","Arrowheads","ASATriangle","Ask","AskAppend","AskConfirm","AskDisplay","AskedQ","AskedValue","AskFunction","AskState","AskTemplateDisplay","AspectRatio","AspectRatioFixed","Assert","AssessmentFunction","AssessmentResultObject","AssociateTo","Association","AssociationFormat","AssociationMap","AssociationQ","AssociationThread","AssumeDeterministic","Assuming","Assumptions","AstroAngularSeparation","AstroBackground","AstroCenter","AstroDistance","AstroGraphics","AstroGridLines","AstroGridLinesStyle","AstronomicalData","AstroPosition","AstroProjection","AstroRange","AstroRangePadding","AstroReferenceFrame","AstroStyling","AstroZoomLevel","Asymptotic","AsymptoticDSolveValue","AsymptoticEqual","AsymptoticEquivalent","AsymptoticExpectation","AsymptoticGreater","AsymptoticGreaterEqual","AsymptoticIntegrate","AsymptoticLess","AsymptoticLessEqual","AsymptoticOutputTracker","AsymptoticProbability","AsymptoticProduct","AsymptoticRSolveValue","AsymptoticSolve","AsymptoticSum","Asynchronous","AsynchronousTaskObject","AsynchronousTasks","Atom","AtomCoordinates","AtomCount","AtomDiagramCoordinates","AtomLabels","AtomLabelStyle","AtomList","AtomQ","AttachCell","AttachedCell","AttentionLayer","Attributes","Audio","AudioAmplify","AudioAnnotate","AudioAnnotationLookup","AudioBlockMap","AudioCapture","AudioChannelAssignment","AudioChannelCombine","AudioChannelMix","AudioChannels","AudioChannelSeparate","AudioData","AudioDelay","AudioDelete","AudioDevice","AudioDistance","AudioEncoding","AudioFade","AudioFrequencyShift","AudioGenerator","AudioIdentify","AudioInputDevice","AudioInsert","AudioInstanceQ","AudioIntervals","AudioJoin","AudioLabel","AudioLength","AudioLocalMeasurements","AudioLooping","AudioLoudness","AudioMeasurements","AudioNormalize","AudioOutputDevice","AudioOverlay","AudioPad","AudioPan","AudioPartition","AudioPause","AudioPitchShift","AudioPlay","AudioPlot","AudioQ","AudioRecord","AudioReplace","AudioResample","AudioReverb","AudioReverse","AudioSampleRate","AudioSpectralMap","AudioSpectralTransformation","AudioSplit","AudioStop","AudioStream","AudioStreams","AudioTimeStretch","AudioTrackApply","AudioTrackSelection","AudioTrim","AudioType","AugmentedPolyhedron","AugmentedSymmetricPolynomial","Authenticate","Authentication","AuthenticationDialog","AutoAction","Autocomplete","AutocompletionFunction","AutoCopy","AutocorrelationTest","AutoDelete","AutoEvaluateEvents","AutoGeneratedPackage","AutoIndent","AutoIndentSpacings","AutoItalicWords","AutoloadPath","AutoMatch","Automatic","AutomaticImageSize","AutoMultiplicationSymbol","AutoNumberFormatting","AutoOpenNotebooks","AutoOpenPalettes","AutoOperatorRenderings","AutoQuoteCharacters","AutoRefreshed","AutoRemove","AutorunSequencing","AutoScaling","AutoScroll","AutoSpacing","AutoStyleOptions","AutoStyleWords","AutoSubmitting","Axes","AxesEdge","AxesLabel","AxesOrigin","AxesStyle","AxiomaticTheory","Axis","Axis3DBox","Axis3DBoxOptions","AxisBox","AxisBoxOptions","AxisLabel","AxisObject","AxisStyle","BabyMonsterGroupB","Back","BackFaceColor","BackFaceGlowColor","BackFaceOpacity","BackFaceSpecularColor","BackFaceSpecularExponent","BackFaceSurfaceAppearance","BackFaceTexture","Background","BackgroundAppearance","BackgroundTasksSettings","Backslash","Backsubstitution","Backward","Ball","Band","BandpassFilter","BandstopFilter","BarabasiAlbertGraphDistribution","BarChart","BarChart3D","BarcodeImage","BarcodeRecognize","BaringhausHenzeTest","BarLegend","BarlowProschanImportance","BarnesG","BarOrigin","BarSpacing","BartlettHannWindow","BartlettWindow","BaseDecode","BaseEncode","BaseForm","Baseline","BaselinePosition","BaseStyle","BasicRecurrentLayer","BatchNormalizationLayer","BatchSize","BatesDistribution","BattleLemarieWavelet","BayesianMaximization","BayesianMaximizationObject","BayesianMinimization","BayesianMinimizationObject","Because","BeckmannDistribution","Beep","Before","Begin","BeginDialogPacket","BeginPackage","BellB","BellY","Below","BenfordDistribution","BeniniDistribution","BenktanderGibratDistribution","BenktanderWeibullDistribution","BernoulliB","BernoulliDistribution","BernoulliGraphDistribution","BernoulliProcess","BernsteinBasis","BesagL","BesselFilterModel","BesselI","BesselJ","BesselJZero","BesselK","BesselY","BesselYZero","Beta","BetaBinomialDistribution","BetaDistribution","BetaNegativeBinomialDistribution","BetaPrimeDistribution","BetaRegularized","Between","BetweennessCentrality","Beveled","BeveledPolyhedron","BezierCurve","BezierCurve3DBox","BezierCurve3DBoxOptions","BezierCurveBox","BezierCurveBoxOptions","BezierFunction","BilateralFilter","BilateralLaplaceTransform","BilateralZTransform","Binarize","BinaryDeserialize","BinaryDistance","BinaryFormat","BinaryImageQ","BinaryRead","BinaryReadList","BinarySerialize","BinaryWrite","BinCounts","BinLists","BinnedVariogramList","Binomial","BinomialDistribution","BinomialPointProcess","BinomialProcess","BinormalDistribution","BiorthogonalSplineWavelet","BioSequence","BioSequenceBackTranslateList","BioSequenceComplement","BioSequenceInstances","BioSequenceModify","BioSequencePlot","BioSequenceQ","BioSequenceReverseComplement","BioSequenceTranscribe","BioSequenceTranslate","BipartiteGraphQ","BiquadraticFilterModel","BirnbaumImportance","BirnbaumSaundersDistribution","BitAnd","BitClear","BitGet","BitLength","BitNot","BitOr","BitRate","BitSet","BitShiftLeft","BitShiftRight","BitXor","BiweightLocation","BiweightMidvariance","Black","BlackmanHarrisWindow","BlackmanNuttallWindow","BlackmanWindow","Blank","BlankForm","BlankNullSequence","BlankSequence","Blend","Block","BlockchainAddressData","BlockchainBase","BlockchainBlockData","BlockchainContractValue","BlockchainData","BlockchainGet","BlockchainKeyEncode","BlockchainPut","BlockchainTokenData","BlockchainTransaction","BlockchainTransactionData","BlockchainTransactionSign","BlockchainTransactionSubmit","BlockDiagonalMatrix","BlockLowerTriangularMatrix","BlockMap","BlockRandom","BlockUpperTriangularMatrix","BlomqvistBeta","BlomqvistBetaTest","Blue","Blur","Blurring","BodePlot","BohmanWindow","Bold","Bond","BondCount","BondLabels","BondLabelStyle","BondList","BondQ","Bookmarks","Boole","BooleanConsecutiveFunction","BooleanConvert","BooleanCountingFunction","BooleanFunction","BooleanGraph","BooleanMaxterms","BooleanMinimize","BooleanMinterms","BooleanQ","BooleanRegion","Booleans","BooleanStrings","BooleanTable","BooleanVariables","BorderDimensions","BorelTannerDistribution","Bottom","BottomHatTransform","BoundaryDiscretizeGraphics","BoundaryDiscretizeRegion","BoundaryMesh","BoundaryMeshRegion","BoundaryMeshRegionQ","BoundaryStyle","BoundedRegionQ","BoundingRegion","Bounds","Box","BoxBaselineShift","BoxData","BoxDimensions","Boxed","Boxes","BoxForm","BoxFormFormatTypes","BoxFrame","BoxID","BoxMargins","BoxMatrix","BoxObject","BoxRatios","BoxRotation","BoxRotationPoint","BoxStyle","BoxWhiskerChart","Bra","BracketingBar","BraKet","BrayCurtisDistance","BreadthFirstScan","Break","BridgeData","BrightnessEqualize","BroadcastStationData","Brown","BrownForsytheTest","BrownianBridgeProcess","BrowserCategory","BSplineBasis","BSplineCurve","BSplineCurve3DBox","BSplineCurve3DBoxOptions","BSplineCurveBox","BSplineCurveBoxOptions","BSplineFunction","BSplineSurface","BSplineSurface3DBox","BSplineSurface3DBoxOptions","BubbleChart","BubbleChart3D","BubbleScale","BubbleSizes","BuckyballGraph","BuildCompiledComponent","BuildingData","BulletGauge","BusinessDayQ","ButterflyGraph","ButterworthFilterModel","Button","ButtonBar","ButtonBox","ButtonBoxOptions","ButtonCell","ButtonContents","ButtonData","ButtonEvaluator","ButtonExpandable","ButtonFrame","ButtonFunction","ButtonMargins","ButtonMinHeight","ButtonNote","ButtonNotebook","ButtonSource","ButtonStyle","ButtonStyleMenuListing","Byte","ByteArray","ByteArrayFormat","ByteArrayFormatQ","ByteArrayQ","ByteArrayToString","ByteCount","ByteOrdering","C","CachedValue","CacheGraphics","CachePersistence","CalendarConvert","CalendarData","CalendarType","Callout","CalloutMarker","CalloutStyle","CallPacket","CanberraDistance","Cancel","CancelButton","CandlestickChart","CanonicalGraph","CanonicalizePolygon","CanonicalizePolyhedron","CanonicalizeRegion","CanonicalName","CanonicalWarpingCorrespondence","CanonicalWarpingDistance","CantorMesh","CantorStaircase","Canvas","Cap","CapForm","CapitalDifferentialD","Capitalize","CapsuleShape","CaptureRunning","CaputoD","CardinalBSplineBasis","CarlemanLinearize","CarlsonRC","CarlsonRD","CarlsonRE","CarlsonRF","CarlsonRG","CarlsonRJ","CarlsonRK","CarlsonRM","CarmichaelLambda","CaseOrdering","Cases","CaseSensitive","Cashflow","Casoratian","Cast","Catalan","CatalanNumber","Catch","CategoricalDistribution","Catenate","CatenateLayer","CauchyDistribution","CauchyMatrix","CauchyPointProcess","CauchyWindow","CayleyGraph","CDF","CDFDeploy","CDFInformation","CDFWavelet","Ceiling","CelestialSystem","Cell","CellAutoOverwrite","CellBaseline","CellBoundingBox","CellBracketOptions","CellChangeTimes","CellContents","CellContext","CellDingbat","CellDingbatMargin","CellDynamicExpression","CellEditDuplicate","CellElementsBoundingBox","CellElementSpacings","CellEpilog","CellEvaluationDuplicate","CellEvaluationFunction","CellEvaluationLanguage","CellEventActions","CellFrame","CellFrameColor","CellFrameLabelMargins","CellFrameLabels","CellFrameMargins","CellFrameStyle","CellGroup","CellGroupData","CellGrouping","CellGroupingRules","CellHorizontalScrolling","CellID","CellInsertionPointCell","CellLabel","CellLabelAutoDelete","CellLabelMargins","CellLabelPositioning","CellLabelStyle","CellLabelTemplate","CellMargins","CellObject","CellOpen","CellPrint","CellProlog","Cells","CellSize","CellStyle","CellTags","CellTrayPosition","CellTrayWidgets","CellularAutomaton","CensoredDistribution","Censoring","Center","CenterArray","CenterDot","CenteredInterval","CentralFeature","CentralMoment","CentralMomentGeneratingFunction","Cepstrogram","CepstrogramArray","CepstrumArray","CForm","ChampernowneNumber","ChangeOptions","ChannelBase","ChannelBrokerAction","ChannelDatabin","ChannelHistoryLength","ChannelListen","ChannelListener","ChannelListeners","ChannelListenerWait","ChannelObject","ChannelPreSendFunction","ChannelReceiverFunction","ChannelSend","ChannelSubscribers","ChanVeseBinarize","Character","CharacterCounts","CharacterEncoding","CharacterEncodingsPath","CharacteristicFunction","CharacteristicPolynomial","CharacterName","CharacterNormalize","CharacterRange","Characters","ChartBaseStyle","ChartElementData","ChartElementDataFunction","ChartElementFunction","ChartElements","ChartLabels","ChartLayout","ChartLegends","ChartStyle","Chebyshev1FilterModel","Chebyshev2FilterModel","ChebyshevDistance","ChebyshevT","ChebyshevU","Check","CheckAbort","CheckAll","CheckArguments","Checkbox","CheckboxBar","CheckboxBox","CheckboxBoxOptions","ChemicalConvert","ChemicalData","ChemicalFormula","ChemicalInstance","ChemicalReaction","ChessboardDistance","ChiDistribution","ChineseRemainder","ChiSquareDistribution","ChoiceButtons","ChoiceDialog","CholeskyDecomposition","Chop","ChromaticityPlot","ChromaticityPlot3D","ChromaticPolynomial","Circle","CircleBox","CircleDot","CircleMinus","CirclePlus","CirclePoints","CircleThrough","CircleTimes","CirculantGraph","CircularArcThrough","CircularOrthogonalMatrixDistribution","CircularQuaternionMatrixDistribution","CircularRealMatrixDistribution","CircularSymplecticMatrixDistribution","CircularUnitaryMatrixDistribution","Circumsphere","CityData","ClassifierFunction","ClassifierInformation","ClassifierMeasurements","ClassifierMeasurementsObject","Classify","ClassPriors","Clear","ClearAll","ClearAttributes","ClearCookies","ClearPermissions","ClearSystemCache","ClebschGordan","ClickPane","ClickToCopy","ClickToCopyEnabled","Clip","ClipboardNotebook","ClipFill","ClippingStyle","ClipPlanes","ClipPlanesStyle","ClipRange","Clock","ClockGauge","ClockwiseContourIntegral","Close","Closed","CloseKernels","ClosenessCentrality","Closing","ClosingAutoSave","ClosingEvent","CloudAccountData","CloudBase","CloudConnect","CloudConnections","CloudDeploy","CloudDirectory","CloudDisconnect","CloudEvaluate","CloudExport","CloudExpression","CloudExpressions","CloudFunction","CloudGet","CloudImport","CloudLoggingData","CloudObject","CloudObjectInformation","CloudObjectInformationData","CloudObjectNameFormat","CloudObjects","CloudObjectURLType","CloudPublish","CloudPut","CloudRenderingMethod","CloudSave","CloudShare","CloudSubmit","CloudSymbol","CloudUnshare","CloudUserID","ClusterClassify","ClusterDissimilarityFunction","ClusteringComponents","ClusteringMeasurements","ClusteringTree","CMYKColor","Coarse","CodeAssistOptions","Coefficient","CoefficientArrays","CoefficientDomain","CoefficientList","CoefficientRules","CoifletWavelet","Collect","CollinearPoints","Colon","ColonForm","ColorBalance","ColorCombine","ColorConvert","ColorCoverage","ColorData","ColorDataFunction","ColorDetect","ColorDistance","ColorFunction","ColorFunctionBinning","ColorFunctionScaling","Colorize","ColorNegate","ColorOutput","ColorProfileData","ColorQ","ColorQuantize","ColorReplace","ColorRules","ColorSelectorSettings","ColorSeparate","ColorSetter","ColorSetterBox","ColorSetterBoxOptions","ColorSlider","ColorsNear","ColorSpace","ColorToneMapping","Column","ColumnAlignments","ColumnBackgrounds","ColumnForm","ColumnLines","ColumnsEqual","ColumnSpacings","ColumnWidths","CombinatorB","CombinatorC","CombinatorI","CombinatorK","CombinatorS","CombinatorW","CombinatorY","CombinedEntityClass","CombinerFunction","CometData","CommonDefaultFormatTypes","Commonest","CommonestFilter","CommonName","CommonUnits","CommunityBoundaryStyle","CommunityGraphPlot","CommunityLabels","CommunityRegionStyle","CompanyData","CompatibleUnitQ","CompilationOptions","CompilationTarget","Compile","Compiled","CompiledCodeFunction","CompiledComponent","CompiledExpressionDeclaration","CompiledFunction","CompiledLayer","CompilerCallback","CompilerEnvironment","CompilerEnvironmentAppend","CompilerEnvironmentAppendTo","CompilerEnvironmentObject","CompilerOptions","Complement","ComplementedEntityClass","CompleteGraph","CompleteGraphQ","CompleteIntegral","CompleteKaryTree","CompletionsListPacket","Complex","ComplexArrayPlot","ComplexContourPlot","Complexes","ComplexExpand","ComplexInfinity","ComplexityFunction","ComplexListPlot","ComplexPlot","ComplexPlot3D","ComplexRegionPlot","ComplexStreamPlot","ComplexVectorPlot","ComponentMeasurements","ComponentwiseContextMenu","Compose","ComposeList","ComposeSeries","CompositeQ","Composition","CompoundElement","CompoundExpression","CompoundPoissonDistribution","CompoundPoissonProcess","CompoundRenewalProcess","Compress","CompressedData","CompressionLevel","ComputeUncertainty","ConcaveHullMesh","Condition","ConditionalExpression","Conditioned","Cone","ConeBox","ConfidenceLevel","ConfidenceRange","ConfidenceTransform","ConfigurationPath","Confirm","ConfirmAssert","ConfirmBy","ConfirmMatch","ConfirmQuiet","ConformationMethod","ConformAudio","ConformImages","Congruent","ConicGradientFilling","ConicHullRegion","ConicHullRegion3DBox","ConicHullRegion3DBoxOptions","ConicHullRegionBox","ConicHullRegionBoxOptions","ConicOptimization","Conjugate","ConjugateTranspose","Conjunction","Connect","ConnectedComponents","ConnectedGraphComponents","ConnectedGraphQ","ConnectedMeshComponents","ConnectedMoleculeComponents","ConnectedMoleculeQ","ConnectionSettings","ConnectLibraryCallbackFunction","ConnectSystemModelComponents","ConnectSystemModelController","ConnesWindow","ConoverTest","ConservativeConvectionPDETerm","ConsoleMessage","Constant","ConstantArray","ConstantArrayLayer","ConstantImage","ConstantPlusLayer","ConstantRegionQ","Constants","ConstantTimesLayer","ConstellationData","ConstrainedMax","ConstrainedMin","Construct","Containing","ContainsAll","ContainsAny","ContainsExactly","ContainsNone","ContainsOnly","ContentDetectorFunction","ContentFieldOptions","ContentLocationFunction","ContentObject","ContentPadding","ContentsBoundingBox","ContentSelectable","ContentSize","Context","ContextMenu","Contexts","ContextToFileName","Continuation","Continue","ContinuedFraction","ContinuedFractionK","ContinuousAction","ContinuousMarkovProcess","ContinuousTask","ContinuousTimeModelQ","ContinuousWaveletData","ContinuousWaveletTransform","ContourDetect","ContourGraphics","ContourIntegral","ContourLabels","ContourLines","ContourPlot","ContourPlot3D","Contours","ContourShading","ContourSmoothing","ContourStyle","ContraharmonicMean","ContrastiveLossLayer","Control","ControlActive","ControlAlignment","ControlGroupContentsBox","ControllabilityGramian","ControllabilityMatrix","ControllableDecomposition","ControllableModelQ","ControllerDuration","ControllerInformation","ControllerInformationData","ControllerLinking","ControllerManipulate","ControllerMethod","ControllerPath","ControllerState","ControlPlacement","ControlsRendering","ControlType","ConvectionPDETerm","Convergents","ConversionOptions","ConversionRules","ConvertToPostScript","ConvertToPostScriptPacket","ConvexHullMesh","ConvexHullRegion","ConvexOptimization","ConvexPolygonQ","ConvexPolyhedronQ","ConvexRegionQ","ConvolutionLayer","Convolve","ConwayGroupCo1","ConwayGroupCo2","ConwayGroupCo3","CookieFunction","Cookies","CoordinateBoundingBox","CoordinateBoundingBoxArray","CoordinateBounds","CoordinateBoundsArray","CoordinateChartData","CoordinatesToolOptions","CoordinateTransform","CoordinateTransformData","CoplanarPoints","CoprimeQ","Coproduct","CopulaDistribution","Copyable","CopyDatabin","CopyDirectory","CopyFile","CopyFunction","CopyTag","CopyToClipboard","CoreNilpotentDecomposition","CornerFilter","CornerNeighbors","Correlation","CorrelationDistance","CorrelationFunction","CorrelationTest","Cos","Cosh","CoshIntegral","CosineDistance","CosineWindow","CosIntegral","Cot","Coth","CoulombF","CoulombG","CoulombH1","CoulombH2","Count","CountDistinct","CountDistinctBy","CounterAssignments","CounterBox","CounterBoxOptions","CounterClockwiseContourIntegral","CounterEvaluator","CounterFunction","CounterIncrements","CounterStyle","CounterStyleMenuListing","CountRoots","CountryData","Counts","CountsBy","Covariance","CovarianceEstimatorFunction","CovarianceFunction","CoxianDistribution","CoxIngersollRossProcess","CoxModel","CoxModelFit","CramerVonMisesTest","CreateArchive","CreateCellID","CreateChannel","CreateCloudExpression","CreateCompilerEnvironment","CreateDatabin","CreateDataStructure","CreateDataSystemModel","CreateDialog","CreateDirectory","CreateDocument","CreateFile","CreateIntermediateDirectories","CreateLicenseEntitlement","CreateManagedLibraryExpression","CreateNotebook","CreatePacletArchive","CreatePalette","CreatePermissionsGroup","CreateScheduledTask","CreateSearchIndex","CreateSystemModel","CreateTemporary","CreateTypeInstance","CreateUUID","CreateWindow","CriterionFunction","CriticalityFailureImportance","CriticalitySuccessImportance","CriticalSection","Cross","CrossEntropyLossLayer","CrossingCount","CrossingDetect","CrossingPolygon","CrossMatrix","Csc","Csch","CSGRegion","CSGRegionQ","CSGRegionTree","CTCLossLayer","Cube","CubeRoot","Cubics","Cuboid","CuboidBox","CuboidBoxOptions","Cumulant","CumulantGeneratingFunction","CumulativeFeatureImpactPlot","Cup","CupCap","Curl","CurlyDoubleQuote","CurlyQuote","CurrencyConvert","CurrentDate","CurrentImage","CurrentNotebookImage","CurrentScreenImage","CurrentValue","Curry","CurryApplied","CurvatureFlowFilter","CurveClosed","Cyan","CycleGraph","CycleIndexPolynomial","Cycles","CyclicGroup","Cyclotomic","Cylinder","CylinderBox","CylinderBoxOptions","CylindricalDecomposition","CylindricalDecompositionFunction","D","DagumDistribution","DamData","DamerauLevenshteinDistance","DampingFactor","Darker","Dashed","Dashing","DatabaseConnect","DatabaseDisconnect","DatabaseReference","Databin","DatabinAdd","DatabinRemove","Databins","DatabinSubmit","DatabinUpload","DataCompression","DataDistribution","DataRange","DataReversed","Dataset","DatasetDisplayPanel","DatasetTheme","DataStructure","DataStructureQ","Date","DateBounds","Dated","DateDelimiters","DateDifference","DatedUnit","DateFormat","DateFunction","DateGranularity","DateHistogram","DateInterval","DateList","DateListLogPlot","DateListPlot","DateListStepPlot","DateObject","DateObjectQ","DateOverlapsQ","DatePattern","DatePlus","DateRange","DateReduction","DateScale","DateSelect","DateString","DateTicksFormat","DateValue","DateWithinQ","DaubechiesWavelet","DavisDistribution","DawsonF","DayCount","DayCountConvention","DayHemisphere","DaylightQ","DayMatchQ","DayName","DayNightTerminator","DayPlus","DayRange","DayRound","DeBruijnGraph","DeBruijnSequence","Debug","DebugTag","Decapitalize","Decimal","DecimalForm","DeclareCompiledComponent","DeclareKnownSymbols","DeclarePackage","Decompose","DeconvolutionLayer","Decrement","Decrypt","DecryptFile","DedekindEta","DeepSpaceProbeData","Default","Default2DTool","Default3DTool","DefaultAttachedCellStyle","DefaultAxesStyle","DefaultBaseStyle","DefaultBoxStyle","DefaultButton","DefaultColor","DefaultControlPlacement","DefaultDockedCellStyle","DefaultDuplicateCellStyle","DefaultDuration","DefaultElement","DefaultFaceGridsStyle","DefaultFieldHintStyle","DefaultFont","DefaultFontProperties","DefaultFormatType","DefaultFrameStyle","DefaultFrameTicksStyle","DefaultGridLinesStyle","DefaultInlineFormatType","DefaultInputFormatType","DefaultLabelStyle","DefaultMenuStyle","DefaultNaturalLanguage","DefaultNewCellStyle","DefaultNewInlineCellStyle","DefaultNotebook","DefaultOptions","DefaultOutputFormatType","DefaultPrintPrecision","DefaultStyle","DefaultStyleDefinitions","DefaultTextFormatType","DefaultTextInlineFormatType","DefaultTicksStyle","DefaultTooltipStyle","DefaultValue","DefaultValues","Defer","DefineExternal","DefineInputStreamMethod","DefineOutputStreamMethod","DefineResourceFunction","Definition","Degree","DegreeCentrality","DegreeGraphDistribution","DegreeLexicographic","DegreeReverseLexicographic","DEigensystem","DEigenvalues","Deinitialization","Del","DelaunayMesh","Delayed","Deletable","Delete","DeleteAdjacentDuplicates","DeleteAnomalies","DeleteBorderComponents","DeleteCases","DeleteChannel","DeleteCloudExpression","DeleteContents","DeleteDirectory","DeleteDuplicates","DeleteDuplicatesBy","DeleteElements","DeleteFile","DeleteMissing","DeleteObject","DeletePermissionsKey","DeleteSearchIndex","DeleteSmallComponents","DeleteStopwords","DeleteWithContents","DeletionWarning","DelimitedArray","DelimitedSequence","Delimiter","DelimiterAutoMatching","DelimiterFlashTime","DelimiterMatching","Delimiters","DeliveryFunction","Dendrogram","Denominator","DensityGraphics","DensityHistogram","DensityPlot","DensityPlot3D","DependentVariables","Deploy","Deployed","Depth","DepthFirstScan","Derivative","DerivativeFilter","DerivativePDETerm","DerivedKey","DescriptorStateSpace","DesignMatrix","DestroyAfterEvaluation","Det","DeviceClose","DeviceConfigure","DeviceExecute","DeviceExecuteAsynchronous","DeviceObject","DeviceOpen","DeviceOpenQ","DeviceRead","DeviceReadBuffer","DeviceReadLatest","DeviceReadList","DeviceReadTimeSeries","Devices","DeviceStreams","DeviceWrite","DeviceWriteBuffer","DGaussianWavelet","DiacriticalPositioning","Diagonal","DiagonalizableMatrixQ","DiagonalMatrix","DiagonalMatrixQ","Dialog","DialogIndent","DialogInput","DialogLevel","DialogNotebook","DialogProlog","DialogReturn","DialogSymbols","Diamond","DiamondMatrix","DiceDissimilarity","DictionaryLookup","DictionaryWordQ","DifferenceDelta","DifferenceOrder","DifferenceQuotient","DifferenceRoot","DifferenceRootReduce","Differences","DifferentialD","DifferentialRoot","DifferentialRootReduce","DifferentiatorFilter","DiffusionPDETerm","DiggleGatesPointProcess","DiggleGrattonPointProcess","DigitalSignature","DigitBlock","DigitBlockMinimum","DigitCharacter","DigitCount","DigitQ","DihedralAngle","DihedralGroup","Dilation","DimensionalCombinations","DimensionalMeshComponents","DimensionReduce","DimensionReducerFunction","DimensionReduction","Dimensions","DiracComb","DiracDelta","DirectedEdge","DirectedEdges","DirectedGraph","DirectedGraphQ","DirectedInfinity","Direction","DirectionalLight","Directive","Directory","DirectoryName","DirectoryQ","DirectoryStack","DirichletBeta","DirichletCharacter","DirichletCondition","DirichletConvolve","DirichletDistribution","DirichletEta","DirichletL","DirichletLambda","DirichletTransform","DirichletWindow","DisableConsolePrintPacket","DisableFormatting","DiscreteAsymptotic","DiscreteChirpZTransform","DiscreteConvolve","DiscreteDelta","DiscreteHadamardTransform","DiscreteIndicator","DiscreteInputOutputModel","DiscreteLimit","DiscreteLQEstimatorGains","DiscreteLQRegulatorGains","DiscreteLyapunovSolve","DiscreteMarkovProcess","DiscreteMaxLimit","DiscreteMinLimit","DiscretePlot","DiscretePlot3D","DiscreteRatio","DiscreteRiccatiSolve","DiscreteShift","DiscreteTimeModelQ","DiscreteUniformDistribution","DiscreteVariables","DiscreteWaveletData","DiscreteWaveletPacketTransform","DiscreteWaveletTransform","DiscretizeGraphics","DiscretizeRegion","Discriminant","DisjointQ","Disjunction","Disk","DiskBox","DiskBoxOptions","DiskMatrix","DiskSegment","Dispatch","DispatchQ","DispersionEstimatorFunction","Display","DisplayAllSteps","DisplayEndPacket","DisplayForm","DisplayFunction","DisplayPacket","DisplayRules","DisplayString","DisplayTemporary","DisplayWith","DisplayWithRef","DisplayWithVariable","DistanceFunction","DistanceMatrix","DistanceTransform","Distribute","Distributed","DistributedContexts","DistributeDefinitions","DistributionChart","DistributionDomain","DistributionFitTest","DistributionParameterAssumptions","DistributionParameterQ","Dithering","Div","Divergence","Divide","DivideBy","Dividers","DivideSides","Divisible","Divisors","DivisorSigma","DivisorSum","DMSList","DMSString","Do","DockedCell","DockedCells","DocumentGenerator","DocumentGeneratorInformation","DocumentGeneratorInformationData","DocumentGenerators","DocumentNotebook","DocumentWeightingRules","Dodecahedron","DomainRegistrationInformation","DominantColors","DominatorTreeGraph","DominatorVertexList","DOSTextFormat","Dot","DotDashed","DotEqual","DotLayer","DotPlusLayer","Dotted","DoubleBracketingBar","DoubleContourIntegral","DoubleDownArrow","DoubleLeftArrow","DoubleLeftRightArrow","DoubleLeftTee","DoubleLongLeftArrow","DoubleLongLeftRightArrow","DoubleLongRightArrow","DoubleRightArrow","DoubleRightTee","DoubleUpArrow","DoubleUpDownArrow","DoubleVerticalBar","DoublyInfinite","Down","DownArrow","DownArrowBar","DownArrowUpArrow","DownLeftRightVector","DownLeftTeeVector","DownLeftVector","DownLeftVectorBar","DownRightTeeVector","DownRightVector","DownRightVectorBar","Downsample","DownTee","DownTeeArrow","DownValues","DownValuesFunction","DragAndDrop","DrawBackFaces","DrawEdges","DrawFrontFaces","DrawHighlighted","DrazinInverse","Drop","DropoutLayer","DropShadowing","DSolve","DSolveChangeVariables","DSolveValue","Dt","DualLinearProgramming","DualPlanarGraph","DualPolyhedron","DualSystemsModel","DumpGet","DumpSave","DuplicateFreeQ","Duration","Dynamic","DynamicBox","DynamicBoxOptions","DynamicEvaluationTimeout","DynamicGeoGraphics","DynamicImage","DynamicLocation","DynamicModule","DynamicModuleBox","DynamicModuleBoxOptions","DynamicModuleParent","DynamicModuleValues","DynamicName","DynamicNamespace","DynamicReference","DynamicSetting","DynamicUpdating","DynamicWrapper","DynamicWrapperBox","DynamicWrapperBoxOptions","E","EarthImpactData","EarthquakeData","EccentricityCentrality","Echo","EchoEvaluation","EchoFunction","EchoLabel","EchoTiming","EclipseType","EdgeAdd","EdgeBetweennessCentrality","EdgeCapacity","EdgeCapForm","EdgeChromaticNumber","EdgeColor","EdgeConnectivity","EdgeContract","EdgeCost","EdgeCount","EdgeCoverQ","EdgeCycleMatrix","EdgeDashing","EdgeDelete","EdgeDetect","EdgeForm","EdgeIndex","EdgeJoinForm","EdgeLabeling","EdgeLabels","EdgeLabelStyle","EdgeList","EdgeOpacity","EdgeQ","EdgeRenderingFunction","EdgeRules","EdgeShapeFunction","EdgeStyle","EdgeTaggedGraph","EdgeTaggedGraphQ","EdgeTags","EdgeThickness","EdgeTransitiveGraphQ","EdgeValueRange","EdgeValueSizes","EdgeWeight","EdgeWeightedGraphQ","Editable","EditButtonSettings","EditCellTagsSettings","EditDistance","EffectiveInterest","Eigensystem","Eigenvalues","EigenvectorCentrality","Eigenvectors","Element","ElementData","ElementwiseLayer","ElidedForms","Eliminate","EliminationOrder","Ellipsoid","EllipticE","EllipticExp","EllipticExpPrime","EllipticF","EllipticFilterModel","EllipticK","EllipticLog","EllipticNomeQ","EllipticPi","EllipticReducedHalfPeriods","EllipticTheta","EllipticThetaPrime","EmbedCode","EmbeddedHTML","EmbeddedService","EmbeddedSQLEntityClass","EmbeddedSQLExpression","EmbeddingLayer","EmbeddingObject","EmitSound","EmphasizeSyntaxErrors","EmpiricalDistribution","Empty","EmptyGraphQ","EmptyRegion","EmptySpaceF","EnableConsolePrintPacket","Enabled","Enclose","Encode","Encrypt","EncryptedObject","EncryptFile","End","EndAdd","EndDialogPacket","EndOfBuffer","EndOfFile","EndOfLine","EndOfString","EndPackage","EngineEnvironment","EngineeringForm","Enter","EnterExpressionPacket","EnterTextPacket","Entity","EntityClass","EntityClassList","EntityCopies","EntityFunction","EntityGroup","EntityInstance","EntityList","EntityPrefetch","EntityProperties","EntityProperty","EntityPropertyClass","EntityRegister","EntityStore","EntityStores","EntityTypeName","EntityUnregister","EntityValue","Entropy","EntropyFilter","Environment","Epilog","EpilogFunction","Equal","EqualColumns","EqualRows","EqualTilde","EqualTo","EquatedTo","Equilibrium","EquirippleFilterKernel","Equivalent","Erf","Erfc","Erfi","ErlangB","ErlangC","ErlangDistribution","Erosion","ErrorBox","ErrorBoxOptions","ErrorNorm","ErrorPacket","ErrorsDialogSettings","EscapeRadius","EstimatedBackground","EstimatedDistribution","EstimatedPointNormals","EstimatedPointProcess","EstimatedProcess","EstimatedVariogramModel","EstimatorGains","EstimatorRegulator","EuclideanDistance","EulerAngles","EulerCharacteristic","EulerE","EulerGamma","EulerianGraphQ","EulerMatrix","EulerPhi","Evaluatable","Evaluate","Evaluated","EvaluatePacket","EvaluateScheduledTask","EvaluationBox","EvaluationCell","EvaluationCompletionAction","EvaluationData","EvaluationElements","EvaluationEnvironment","EvaluationMode","EvaluationMonitor","EvaluationNotebook","EvaluationObject","EvaluationOrder","EvaluationPrivileges","EvaluationRateLimit","Evaluator","EvaluatorNames","EvenQ","EventData","EventEvaluator","EventHandler","EventHandlerTag","EventLabels","EventSeries","ExactBlackmanWindow","ExactNumberQ","ExactRootIsolation","ExampleData","Except","ExcludedContexts","ExcludedForms","ExcludedLines","ExcludedPhysicalQuantities","ExcludePods","Exclusions","ExclusionsStyle","Exists","Exit","ExitDialog","ExoplanetData","Exp","Expand","ExpandAll","ExpandDenominator","ExpandFileName","ExpandNumerator","Expectation","ExpectationE","ExpectedValue","ExpGammaDistribution","ExpIntegralE","ExpIntegralEi","ExpirationDate","Exponent","ExponentFunction","ExponentialDistribution","ExponentialFamily","ExponentialGeneratingFunction","ExponentialMovingAverage","ExponentialPowerDistribution","ExponentPosition","ExponentStep","Export","ExportAutoReplacements","ExportByteArray","ExportForm","ExportPacket","ExportString","Expression","ExpressionCell","ExpressionGraph","ExpressionPacket","ExpressionTree","ExpressionUUID","ExpToTrig","ExtendedEntityClass","ExtendedGCD","Extension","ExtentElementFunction","ExtentMarkers","ExtentSize","ExternalBundle","ExternalCall","ExternalDataCharacterEncoding","ExternalEvaluate","ExternalFunction","ExternalFunctionName","ExternalIdentifier","ExternalObject","ExternalOptions","ExternalSessionObject","ExternalSessions","ExternalStorageBase","ExternalStorageDownload","ExternalStorageGet","ExternalStorageObject","ExternalStoragePut","ExternalStorageUpload","ExternalTypeSignature","ExternalValue","Extract","ExtractArchive","ExtractLayer","ExtractPacletArchive","ExtremeValueDistribution","FaceAlign","FaceForm","FaceGrids","FaceGridsStyle","FaceRecognize","FacialFeatures","Factor","FactorComplete","Factorial","Factorial2","FactorialMoment","FactorialMomentGeneratingFunction","FactorialPower","FactorInteger","FactorList","FactorSquareFree","FactorSquareFreeList","FactorTerms","FactorTermsList","Fail","Failure","FailureAction","FailureDistribution","FailureQ","False","FareySequence","FARIMAProcess","FeatureDistance","FeatureExtract","FeatureExtraction","FeatureExtractor","FeatureExtractorFunction","FeatureImpactPlot","FeatureNames","FeatureNearest","FeatureSpacePlot","FeatureSpacePlot3D","FeatureTypes","FeatureValueDependencyPlot","FeatureValueImpactPlot","FEDisableConsolePrintPacket","FeedbackLinearize","FeedbackSector","FeedbackSectorStyle","FeedbackType","FEEnableConsolePrintPacket","FetalGrowthData","Fibonacci","Fibonorial","FieldCompletionFunction","FieldHint","FieldHintStyle","FieldMasked","FieldSize","File","FileBaseName","FileByteCount","FileConvert","FileDate","FileExistsQ","FileExtension","FileFormat","FileFormatProperties","FileFormatQ","FileHandler","FileHash","FileInformation","FileName","FileNameDepth","FileNameDialogSettings","FileNameDrop","FileNameForms","FileNameJoin","FileNames","FileNameSetter","FileNameSplit","FileNameTake","FileNameToFormatList","FilePrint","FileSize","FileSystemMap","FileSystemScan","FileSystemTree","FileTemplate","FileTemplateApply","FileType","FilledCurve","FilledCurveBox","FilledCurveBoxOptions","FilledTorus","FillForm","Filling","FillingStyle","FillingTransform","FilteredEntityClass","FilterRules","FinancialBond","FinancialData","FinancialDerivative","FinancialIndicator","Find","FindAnomalies","FindArgMax","FindArgMin","FindChannels","FindClique","FindClusters","FindCookies","FindCurvePath","FindCycle","FindDevices","FindDistribution","FindDistributionParameters","FindDivisions","FindEdgeColoring","FindEdgeCover","FindEdgeCut","FindEdgeIndependentPaths","FindEquationalProof","FindEulerianCycle","FindExternalEvaluators","FindFaces","FindFile","FindFit","FindFormula","FindFundamentalCycles","FindGeneratingFunction","FindGeoLocation","FindGeometricConjectures","FindGeometricTransform","FindGraphCommunities","FindGraphIsomorphism","FindGraphPartition","FindHamiltonianCycle","FindHamiltonianPath","FindHiddenMarkovStates","FindImageText","FindIndependentEdgeSet","FindIndependentVertexSet","FindInstance","FindIntegerNullVector","FindIsomers","FindIsomorphicSubgraph","FindKClan","FindKClique","FindKClub","FindKPlex","FindLibrary","FindLinearRecurrence","FindList","FindMatchingColor","FindMaximum","FindMaximumCut","FindMaximumFlow","FindMaxValue","FindMeshDefects","FindMinimum","FindMinimumCostFlow","FindMinimumCut","FindMinValue","FindMoleculeSubstructure","FindPath","FindPeaks","FindPermutation","FindPlanarColoring","FindPointProcessParameters","FindPostmanTour","FindProcessParameters","FindRegionTransform","FindRepeat","FindRoot","FindSequenceFunction","FindSettings","FindShortestPath","FindShortestTour","FindSpanningTree","FindSubgraphIsomorphism","FindSystemModelEquilibrium","FindTextualAnswer","FindThreshold","FindTransientRepeat","FindVertexColoring","FindVertexCover","FindVertexCut","FindVertexIndependentPaths","Fine","FinishDynamic","FiniteAbelianGroupCount","FiniteGroupCount","FiniteGroupData","First","FirstCase","FirstPassageTimeDistribution","FirstPosition","FischerGroupFi22","FischerGroupFi23","FischerGroupFi24Prime","FisherHypergeometricDistribution","FisherRatioTest","FisherZDistribution","Fit","FitAll","FitRegularization","FittedModel","FixedOrder","FixedPoint","FixedPointList","FlashSelection","Flat","FlatShading","Flatten","FlattenAt","FlattenLayer","FlatTopWindow","FlightData","FlipView","Floor","FlowPolynomial","Fold","FoldList","FoldPair","FoldPairList","FoldWhile","FoldWhileList","FollowRedirects","Font","FontColor","FontFamily","FontForm","FontName","FontOpacity","FontPostScriptName","FontProperties","FontReencoding","FontSize","FontSlant","FontSubstitutions","FontTracking","FontVariations","FontWeight","For","ForAll","ForAllType","ForceVersionInstall","Format","FormatRules","FormatType","FormatTypeAutoConvert","FormatValues","FormBox","FormBoxOptions","FormControl","FormFunction","FormLayoutFunction","FormObject","FormPage","FormProtectionMethod","FormTheme","FormulaData","FormulaLookup","FortranForm","Forward","ForwardBackward","ForwardCloudCredentials","Fourier","FourierCoefficient","FourierCosCoefficient","FourierCosSeries","FourierCosTransform","FourierDCT","FourierDCTFilter","FourierDCTMatrix","FourierDST","FourierDSTMatrix","FourierMatrix","FourierParameters","FourierSequenceTransform","FourierSeries","FourierSinCoefficient","FourierSinSeries","FourierSinTransform","FourierTransform","FourierTrigSeries","FoxH","FoxHReduce","FractionalBrownianMotionProcess","FractionalD","FractionalGaussianNoiseProcess","FractionalPart","FractionBox","FractionBoxOptions","FractionLine","Frame","FrameBox","FrameBoxOptions","Framed","FrameInset","FrameLabel","Frameless","FrameListVideo","FrameMargins","FrameRate","FrameStyle","FrameTicks","FrameTicksStyle","FRatioDistribution","FrechetDistribution","FreeQ","FrenetSerretSystem","FrequencySamplingFilterKernel","FresnelC","FresnelF","FresnelG","FresnelS","Friday","FrobeniusNumber","FrobeniusSolve","FromAbsoluteTime","FromCharacterCode","FromCoefficientRules","FromContinuedFraction","FromDate","FromDateString","FromDigits","FromDMS","FromEntity","FromJulianDate","FromLetterNumber","FromPolarCoordinates","FromRawPointer","FromRomanNumeral","FromSphericalCoordinates","FromUnixTime","Front","FrontEndDynamicExpression","FrontEndEventActions","FrontEndExecute","FrontEndObject","FrontEndResource","FrontEndResourceString","FrontEndStackSize","FrontEndToken","FrontEndTokenExecute","FrontEndValueCache","FrontEndVersion","FrontFaceColor","FrontFaceGlowColor","FrontFaceOpacity","FrontFaceSpecularColor","FrontFaceSpecularExponent","FrontFaceSurfaceAppearance","FrontFaceTexture","Full","FullAxes","FullDefinition","FullForm","FullGraphics","FullInformationOutputRegulator","FullOptions","FullRegion","FullSimplify","Function","FunctionAnalytic","FunctionBijective","FunctionCompile","FunctionCompileExport","FunctionCompileExportByteArray","FunctionCompileExportLibrary","FunctionCompileExportString","FunctionContinuous","FunctionConvexity","FunctionDeclaration","FunctionDiscontinuities","FunctionDomain","FunctionExpand","FunctionInjective","FunctionInterpolation","FunctionLayer","FunctionMeromorphic","FunctionMonotonicity","FunctionPeriod","FunctionPoles","FunctionRange","FunctionSign","FunctionSingularities","FunctionSpace","FunctionSurjective","FussellVeselyImportance","GaborFilter","GaborMatrix","GaborWavelet","GainMargins","GainPhaseMargins","GalaxyData","GalleryView","Gamma","GammaDistribution","GammaRegularized","GapPenalty","GARCHProcess","GatedRecurrentLayer","Gather","GatherBy","GaugeFaceElementFunction","GaugeFaceStyle","GaugeFrameElementFunction","GaugeFrameSize","GaugeFrameStyle","GaugeLabels","GaugeMarkers","GaugeStyle","GaussianFilter","GaussianIntegers","GaussianMatrix","GaussianOrthogonalMatrixDistribution","GaussianSymplecticMatrixDistribution","GaussianUnitaryMatrixDistribution","GaussianWindow","GCD","GegenbauerC","General","GeneralizedLinearModelFit","GenerateAsymmetricKeyPair","GenerateConditions","GeneratedAssetFormat","GeneratedAssetLocation","GeneratedCell","GeneratedCellStyles","GeneratedDocumentBinding","GenerateDerivedKey","GenerateDigitalSignature","GenerateDocument","GeneratedParameters","GeneratedQuantityMagnitudes","GenerateFileSignature","GenerateHTTPResponse","GenerateSecuredAuthenticationKey","GenerateSymmetricKey","GeneratingFunction","GeneratorDescription","GeneratorHistoryLength","GeneratorOutputType","Generic","GenericCylindricalDecomposition","GenomeData","GenomeLookup","GeoAntipode","GeoArea","GeoArraySize","GeoBackground","GeoBoundary","GeoBoundingBox","GeoBounds","GeoBoundsRegion","GeoBoundsRegionBoundary","GeoBubbleChart","GeoCenter","GeoCircle","GeoContourPlot","GeoDensityPlot","GeodesicClosing","GeodesicDilation","GeodesicErosion","GeodesicOpening","GeodesicPolyhedron","GeoDestination","GeodesyData","GeoDirection","GeoDisk","GeoDisplacement","GeoDistance","GeoDistanceList","GeoElevationData","GeoEntities","GeoGraphics","GeoGraphPlot","GeoGraphValuePlot","GeogravityModelData","GeoGridDirectionDifference","GeoGridLines","GeoGridLinesStyle","GeoGridPosition","GeoGridRange","GeoGridRangePadding","GeoGridUnitArea","GeoGridUnitDistance","GeoGridVector","GeoGroup","GeoHemisphere","GeoHemisphereBoundary","GeoHistogram","GeoIdentify","GeoImage","GeoLabels","GeoLength","GeoListPlot","GeoLocation","GeologicalPeriodData","GeomagneticModelData","GeoMarker","GeometricAssertion","GeometricBrownianMotionProcess","GeometricDistribution","GeometricMean","GeometricMeanFilter","GeometricOptimization","GeometricScene","GeometricStep","GeometricStylingRules","GeometricTest","GeometricTransformation","GeometricTransformation3DBox","GeometricTransformation3DBoxOptions","GeometricTransformationBox","GeometricTransformationBoxOptions","GeoModel","GeoNearest","GeoOrientationData","GeoPath","GeoPolygon","GeoPosition","GeoPositionENU","GeoPositionXYZ","GeoProjection","GeoProjectionData","GeoRange","GeoRangePadding","GeoRegionValuePlot","GeoResolution","GeoScaleBar","GeoServer","GeoSmoothHistogram","GeoStreamPlot","GeoStyling","GeoStylingImageFunction","GeoVariant","GeoVector","GeoVectorENU","GeoVectorPlot","GeoVectorXYZ","GeoVisibleRegion","GeoVisibleRegionBoundary","GeoWithinQ","GeoZoomLevel","GestureHandler","GestureHandlerTag","Get","GetContext","GetEnvironment","GetFileName","GetLinebreakInformationPacket","GibbsPointProcess","Glaisher","GlobalClusteringCoefficient","GlobalPreferences","GlobalSession","Glow","GoldenAngle","GoldenRatio","GompertzMakehamDistribution","GoochShading","GoodmanKruskalGamma","GoodmanKruskalGammaTest","Goto","GouraudShading","Grad","Gradient","GradientFilter","GradientFittedMesh","GradientOrientationFilter","GrammarApply","GrammarRules","GrammarToken","Graph","Graph3D","GraphAssortativity","GraphAutomorphismGroup","GraphCenter","GraphComplement","GraphData","GraphDensity","GraphDiameter","GraphDifference","GraphDisjointUnion","GraphDistance","GraphDistanceMatrix","GraphEmbedding","GraphHighlight","GraphHighlightStyle","GraphHub","Graphics","Graphics3D","Graphics3DBox","Graphics3DBoxOptions","GraphicsArray","GraphicsBaseline","GraphicsBox","GraphicsBoxOptions","GraphicsColor","GraphicsColumn","GraphicsComplex","GraphicsComplex3DBox","GraphicsComplex3DBoxOptions","GraphicsComplexBox","GraphicsComplexBoxOptions","GraphicsContents","GraphicsData","GraphicsGrid","GraphicsGridBox","GraphicsGroup","GraphicsGroup3DBox","GraphicsGroup3DBoxOptions","GraphicsGroupBox","GraphicsGroupBoxOptions","GraphicsGrouping","GraphicsHighlightColor","GraphicsRow","GraphicsSpacing","GraphicsStyle","GraphIntersection","GraphJoin","GraphLayerLabels","GraphLayers","GraphLayerStyle","GraphLayout","GraphLinkEfficiency","GraphPeriphery","GraphPlot","GraphPlot3D","GraphPower","GraphProduct","GraphPropertyDistribution","GraphQ","GraphRadius","GraphReciprocity","GraphRoot","GraphStyle","GraphSum","GraphTree","GraphUnion","Gray","GrayLevel","Greater","GreaterEqual","GreaterEqualLess","GreaterEqualThan","GreaterFullEqual","GreaterGreater","GreaterLess","GreaterSlantEqual","GreaterThan","GreaterTilde","GreekStyle","Green","GreenFunction","Grid","GridBaseline","GridBox","GridBoxAlignment","GridBoxBackground","GridBoxDividers","GridBoxFrame","GridBoxItemSize","GridBoxItemStyle","GridBoxOptions","GridBoxSpacings","GridCreationSettings","GridDefaultElement","GridElementStyleOptions","GridFrame","GridFrameMargins","GridGraph","GridLines","GridLinesStyle","GridVideo","GroebnerBasis","GroupActionBase","GroupBy","GroupCentralizer","GroupElementFromWord","GroupElementPosition","GroupElementQ","GroupElements","GroupElementToWord","GroupGenerators","Groupings","GroupMultiplicationTable","GroupOpenerColor","GroupOpenerInsideFrame","GroupOrbits","GroupOrder","GroupPageBreakWithin","GroupSetwiseStabilizer","GroupStabilizer","GroupStabilizerChain","GroupTogetherGrouping","GroupTogetherNestedGrouping","GrowCutComponents","Gudermannian","GuidedFilter","GumbelDistribution","HaarWavelet","HadamardMatrix","HalfLine","HalfNormalDistribution","HalfPlane","HalfSpace","HalftoneShading","HamiltonianGraphQ","HammingDistance","HammingWindow","HandlerFunctions","HandlerFunctionsKeys","HankelH1","HankelH2","HankelMatrix","HankelTransform","HannPoissonWindow","HannWindow","HaradaNortonGroupHN","HararyGraph","HardcorePointProcess","HarmonicMean","HarmonicMeanFilter","HarmonicNumber","Hash","HatchFilling","HatchShading","Haversine","HazardFunction","Head","HeadCompose","HeaderAlignment","HeaderBackground","HeaderDisplayFunction","HeaderLines","Headers","HeaderSize","HeaderStyle","Heads","HeatFluxValue","HeatInsulationValue","HeatOutflowValue","HeatRadiationValue","HeatSymmetryValue","HeatTemperatureCondition","HeatTransferPDEComponent","HeatTransferValue","HeavisideLambda","HeavisidePi","HeavisideTheta","HeldGroupHe","HeldPart","HelmholtzPDEComponent","HelpBrowserLookup","HelpBrowserNotebook","HelpBrowserSettings","HelpViewerSettings","Here","HermiteDecomposition","HermiteH","Hermitian","HermitianMatrixQ","HessenbergDecomposition","Hessian","HeunB","HeunBPrime","HeunC","HeunCPrime","HeunD","HeunDPrime","HeunG","HeunGPrime","HeunT","HeunTPrime","HexadecimalCharacter","Hexahedron","HexahedronBox","HexahedronBoxOptions","HiddenItems","HiddenMarkovProcess","HiddenSurface","Highlighted","HighlightGraph","HighlightImage","HighlightMesh","HighlightString","HighpassFilter","HigmanSimsGroupHS","HilbertCurve","HilbertFilter","HilbertMatrix","Histogram","Histogram3D","HistogramDistribution","HistogramList","HistogramPointDensity","HistogramTransform","HistogramTransformInterpolation","HistoricalPeriodData","HitMissTransform","HITSCentrality","HjorthDistribution","HodgeDual","HoeffdingD","HoeffdingDTest","Hold","HoldAll","HoldAllComplete","HoldComplete","HoldFirst","HoldForm","HoldPattern","HoldRest","HolidayCalendar","HomeDirectory","HomePage","Horizontal","HorizontalForm","HorizontalGauge","HorizontalScrollPosition","HornerForm","HostLookup","HotellingTSquareDistribution","HoytDistribution","HTMLSave","HTTPErrorResponse","HTTPRedirect","HTTPRequest","HTTPRequestData","HTTPResponse","Hue","HumanGrowthData","HumpDownHump","HumpEqual","HurwitzLerchPhi","HurwitzZeta","HyperbolicDistribution","HypercubeGraph","HyperexponentialDistribution","Hyperfactorial","Hypergeometric0F1","Hypergeometric0F1Regularized","Hypergeometric1F1","Hypergeometric1F1Regularized","Hypergeometric2F1","Hypergeometric2F1Regularized","HypergeometricDistribution","HypergeometricPFQ","HypergeometricPFQRegularized","HypergeometricU","Hyperlink","HyperlinkAction","HyperlinkCreationSettings","Hyperplane","Hyphenation","HyphenationOptions","HypoexponentialDistribution","HypothesisTestData","I","IconData","Iconize","IconizedObject","IconRules","Icosahedron","Identity","IdentityMatrix","If","IfCompiled","IgnoreCase","IgnoreDiacritics","IgnoreIsotopes","IgnorePunctuation","IgnoreSpellCheck","IgnoreStereochemistry","IgnoringInactive","Im","Image","Image3D","Image3DProjection","Image3DSlices","ImageAccumulate","ImageAdd","ImageAdjust","ImageAlign","ImageApply","ImageApplyIndexed","ImageAspectRatio","ImageAssemble","ImageAugmentationLayer","ImageBoundingBoxes","ImageCache","ImageCacheValid","ImageCapture","ImageCaptureFunction","ImageCases","ImageChannels","ImageClip","ImageCollage","ImageColorSpace","ImageCompose","ImageContainsQ","ImageContents","ImageConvolve","ImageCooccurrence","ImageCorners","ImageCorrelate","ImageCorrespondingPoints","ImageCrop","ImageData","ImageDeconvolve","ImageDemosaic","ImageDifference","ImageDimensions","ImageDisplacements","ImageDistance","ImageEditMode","ImageEffect","ImageExposureCombine","ImageFeatureTrack","ImageFileApply","ImageFileFilter","ImageFileScan","ImageFilter","ImageFocusCombine","ImageForestingComponents","ImageFormattingWidth","ImageForwardTransformation","ImageGraphics","ImageHistogram","ImageIdentify","ImageInstanceQ","ImageKeypoints","ImageLabels","ImageLegends","ImageLevels","ImageLines","ImageMargins","ImageMarker","ImageMarkers","ImageMeasurements","ImageMesh","ImageMultiply","ImageOffset","ImagePad","ImagePadding","ImagePartition","ImagePeriodogram","ImagePerspectiveTransformation","ImagePosition","ImagePreviewFunction","ImagePyramid","ImagePyramidApply","ImageQ","ImageRangeCache","ImageRecolor","ImageReflect","ImageRegion","ImageResize","ImageResolution","ImageRestyle","ImageRotate","ImageRotated","ImageSaliencyFilter","ImageScaled","ImageScan","ImageSize","ImageSizeAction","ImageSizeCache","ImageSizeMultipliers","ImageSizeRaw","ImageStitch","ImageSubtract","ImageTake","ImageTransformation","ImageTrim","ImageType","ImageValue","ImageValuePositions","ImageVectorscopePlot","ImageWaveformPlot","ImagingDevice","ImplicitD","ImplicitRegion","Implies","Import","ImportAutoReplacements","ImportByteArray","ImportedObject","ImportOptions","ImportString","ImprovementImportance","In","Inactivate","Inactive","InactiveStyle","IncidenceGraph","IncidenceList","IncidenceMatrix","IncludeAromaticBonds","IncludeConstantBasis","IncludedContexts","IncludeDefinitions","IncludeDirectories","IncludeFileExtension","IncludeGeneratorTasks","IncludeHydrogens","IncludeInflections","IncludeMetaInformation","IncludePods","IncludeQuantities","IncludeRelatedTables","IncludeSingularSolutions","IncludeSingularTerm","IncludeWindowTimes","Increment","IndefiniteMatrixQ","Indent","IndentingNewlineSpacings","IndentMaxFraction","IndependenceTest","IndependentEdgeSetQ","IndependentPhysicalQuantity","IndependentUnit","IndependentUnitDimension","IndependentVertexSetQ","Indeterminate","IndeterminateThreshold","IndexCreationOptions","Indexed","IndexEdgeTaggedGraph","IndexGraph","IndexTag","Inequality","InertEvaluate","InertExpression","InexactNumberQ","InexactNumbers","InfiniteFuture","InfiniteLine","InfiniteLineThrough","InfinitePast","InfinitePlane","Infinity","Infix","InflationAdjust","InflationMethod","Information","InformationData","InformationDataGrid","Inherited","InheritScope","InhomogeneousPoissonPointProcess","InhomogeneousPoissonProcess","InitialEvaluationHistory","Initialization","InitializationCell","InitializationCellEvaluation","InitializationCellWarning","InitializationObject","InitializationObjects","InitializationValue","Initialize","InitialSeeding","InlineCounterAssignments","InlineCounterIncrements","InlineRules","Inner","InnerPolygon","InnerPolyhedron","Inpaint","Input","InputAliases","InputAssumptions","InputAutoReplacements","InputField","InputFieldBox","InputFieldBoxOptions","InputForm","InputGrouping","InputNamePacket","InputNotebook","InputPacket","InputPorts","InputSettings","InputStream","InputString","InputStringPacket","InputToBoxFormPacket","Insert","InsertionFunction","InsertionPointObject","InsertLinebreaks","InsertResults","Inset","Inset3DBox","Inset3DBoxOptions","InsetBox","InsetBoxOptions","Insphere","Install","InstallService","InstanceNormalizationLayer","InString","Integer","IntegerDigits","IntegerExponent","IntegerLength","IntegerName","IntegerPart","IntegerPartitions","IntegerQ","IntegerReverse","Integers","IntegerString","Integral","Integrate","IntegrateChangeVariables","Interactive","InteractiveTradingChart","InterfaceSwitched","Interlaced","Interleaving","InternallyBalancedDecomposition","InterpolatingFunction","InterpolatingPolynomial","Interpolation","InterpolationOrder","InterpolationPoints","InterpolationPrecision","Interpretation","InterpretationBox","InterpretationBoxOptions","InterpretationFunction","Interpreter","InterpretTemplate","InterquartileRange","Interrupt","InterruptSettings","IntersectedEntityClass","IntersectingQ","Intersection","Interval","IntervalIntersection","IntervalMarkers","IntervalMarkersStyle","IntervalMemberQ","IntervalSlider","IntervalUnion","Into","Inverse","InverseBetaRegularized","InverseBilateralLaplaceTransform","InverseBilateralZTransform","InverseCDF","InverseChiSquareDistribution","InverseContinuousWaveletTransform","InverseDistanceTransform","InverseEllipticNomeQ","InverseErf","InverseErfc","InverseFourier","InverseFourierCosTransform","InverseFourierSequenceTransform","InverseFourierSinTransform","InverseFourierTransform","InverseFunction","InverseFunctions","InverseGammaDistribution","InverseGammaRegularized","InverseGaussianDistribution","InverseGudermannian","InverseHankelTransform","InverseHaversine","InverseImagePyramid","InverseJacobiCD","InverseJacobiCN","InverseJacobiCS","InverseJacobiDC","InverseJacobiDN","InverseJacobiDS","InverseJacobiNC","InverseJacobiND","InverseJacobiNS","InverseJacobiSC","InverseJacobiSD","InverseJacobiSN","InverseLaplaceTransform","InverseMellinTransform","InversePermutation","InverseRadon","InverseRadonTransform","InverseSeries","InverseShortTimeFourier","InverseSpectrogram","InverseSurvivalFunction","InverseTransformedRegion","InverseWaveletTransform","InverseWeierstrassP","InverseWishartMatrixDistribution","InverseZTransform","Invisible","InvisibleApplication","InvisibleTimes","IPAddress","IrreduciblePolynomialQ","IslandData","IsolatingInterval","IsomorphicGraphQ","IsomorphicSubgraphQ","IsotopeData","Italic","Item","ItemAspectRatio","ItemBox","ItemBoxOptions","ItemDisplayFunction","ItemSize","ItemStyle","ItoProcess","JaccardDissimilarity","JacobiAmplitude","Jacobian","JacobiCD","JacobiCN","JacobiCS","JacobiDC","JacobiDN","JacobiDS","JacobiEpsilon","JacobiNC","JacobiND","JacobiNS","JacobiP","JacobiSC","JacobiSD","JacobiSN","JacobiSymbol","JacobiZeta","JacobiZN","JankoGroupJ1","JankoGroupJ2","JankoGroupJ3","JankoGroupJ4","JarqueBeraALMTest","JohnsonDistribution","Join","JoinAcross","Joined","JoinedCurve","JoinedCurveBox","JoinedCurveBoxOptions","JoinForm","JordanDecomposition","JordanModelDecomposition","JulianDate","JuliaSetBoettcher","JuliaSetIterationCount","JuliaSetPlot","JuliaSetPoints","K","KagiChart","KaiserBesselWindow","KaiserWindow","KalmanEstimator","KalmanFilter","KarhunenLoeveDecomposition","KaryTree","KatzCentrality","KCoreComponents","KDistribution","KEdgeConnectedComponents","KEdgeConnectedGraphQ","KeepExistingVersion","KelvinBei","KelvinBer","KelvinKei","KelvinKer","KendallTau","KendallTauTest","KernelConfiguration","KernelExecute","KernelFunction","KernelMixtureDistribution","KernelObject","Kernels","Ket","Key","KeyCollisionFunction","KeyComplement","KeyDrop","KeyDropFrom","KeyExistsQ","KeyFreeQ","KeyIntersection","KeyMap","KeyMemberQ","KeypointStrength","Keys","KeySelect","KeySort","KeySortBy","KeyTake","KeyUnion","KeyValueMap","KeyValuePattern","Khinchin","KillProcess","KirchhoffGraph","KirchhoffMatrix","KleinInvariantJ","KnapsackSolve","KnightTourGraph","KnotData","KnownUnitQ","KochCurve","KolmogorovSmirnovTest","KroneckerDelta","KroneckerModelDecomposition","KroneckerProduct","KroneckerSymbol","KuiperTest","KumaraswamyDistribution","Kurtosis","KuwaharaFilter","KVertexConnectedComponents","KVertexConnectedGraphQ","LABColor","Label","Labeled","LabeledSlider","LabelingFunction","LabelingSize","LabelStyle","LabelVisibility","LaguerreL","LakeData","LambdaComponents","LambertW","LameC","LameCPrime","LameEigenvalueA","LameEigenvalueB","LameS","LameSPrime","LaminaData","LanczosWindow","LandauDistribution","Language","LanguageCategory","LanguageData","LanguageIdentify","LanguageOptions","LaplaceDistribution","LaplaceTransform","Laplacian","LaplacianFilter","LaplacianGaussianFilter","LaplacianPDETerm","Large","Larger","Last","Latitude","LatitudeLongitude","LatticeData","LatticeReduce","Launch","LaunchKernels","LayeredGraphPlot","LayeredGraphPlot3D","LayerSizeFunction","LayoutInformation","LCHColor","LCM","LeaderSize","LeafCount","LeapVariant","LeapYearQ","LearnDistribution","LearnedDistribution","LearningRate","LearningRateMultipliers","LeastSquares","LeastSquaresFilterKernel","Left","LeftArrow","LeftArrowBar","LeftArrowRightArrow","LeftDownTeeVector","LeftDownVector","LeftDownVectorBar","LeftRightArrow","LeftRightVector","LeftTee","LeftTeeArrow","LeftTeeVector","LeftTriangle","LeftTriangleBar","LeftTriangleEqual","LeftUpDownVector","LeftUpTeeVector","LeftUpVector","LeftUpVectorBar","LeftVector","LeftVectorBar","LegendAppearance","Legended","LegendFunction","LegendLabel","LegendLayout","LegendMargins","LegendMarkers","LegendMarkerSize","LegendreP","LegendreQ","LegendreType","Length","LengthWhile","LerchPhi","Less","LessEqual","LessEqualGreater","LessEqualThan","LessFullEqual","LessGreater","LessLess","LessSlantEqual","LessThan","LessTilde","LetterCharacter","LetterCounts","LetterNumber","LetterQ","Level","LeveneTest","LeviCivitaTensor","LevyDistribution","Lexicographic","LexicographicOrder","LexicographicSort","LibraryDataType","LibraryFunction","LibraryFunctionDeclaration","LibraryFunctionError","LibraryFunctionInformation","LibraryFunctionLoad","LibraryFunctionUnload","LibraryLoad","LibraryUnload","LicenseEntitlementObject","LicenseEntitlements","LicenseID","LicensingSettings","LiftingFilterData","LiftingWaveletTransform","LightBlue","LightBrown","LightCyan","Lighter","LightGray","LightGreen","Lighting","LightingAngle","LightMagenta","LightOrange","LightPink","LightPurple","LightRed","LightSources","LightYellow","Likelihood","Limit","LimitsPositioning","LimitsPositioningTokens","LindleyDistribution","Line","Line3DBox","Line3DBoxOptions","LinearFilter","LinearFractionalOptimization","LinearFractionalTransform","LinearGradientFilling","LinearGradientImage","LinearizingTransformationData","LinearLayer","LinearModelFit","LinearOffsetFunction","LinearOptimization","LinearProgramming","LinearRecurrence","LinearSolve","LinearSolveFunction","LineBox","LineBoxOptions","LineBreak","LinebreakAdjustments","LineBreakChart","LinebreakSemicolonWeighting","LineBreakWithin","LineColor","LineGraph","LineIndent","LineIndentMaxFraction","LineIntegralConvolutionPlot","LineIntegralConvolutionScale","LineLegend","LineOpacity","LineSpacing","LineWrapParts","LinkActivate","LinkClose","LinkConnect","LinkConnectedQ","LinkCreate","LinkError","LinkFlush","LinkFunction","LinkHost","LinkInterrupt","LinkLaunch","LinkMode","LinkObject","LinkOpen","LinkOptions","LinkPatterns","LinkProtocol","LinkRankCentrality","LinkRead","LinkReadHeld","LinkReadyQ","Links","LinkService","LinkWrite","LinkWriteHeld","LiouvilleLambda","List","Listable","ListAnimate","ListContourPlot","ListContourPlot3D","ListConvolve","ListCorrelate","ListCurvePathPlot","ListDeconvolve","ListDensityPlot","ListDensityPlot3D","Listen","ListFormat","ListFourierSequenceTransform","ListInterpolation","ListLineIntegralConvolutionPlot","ListLinePlot","ListLinePlot3D","ListLogLinearPlot","ListLogLogPlot","ListLogPlot","ListPicker","ListPickerBox","ListPickerBoxBackground","ListPickerBoxOptions","ListPlay","ListPlot","ListPlot3D","ListPointPlot3D","ListPolarPlot","ListQ","ListSliceContourPlot3D","ListSliceDensityPlot3D","ListSliceVectorPlot3D","ListStepPlot","ListStreamDensityPlot","ListStreamPlot","ListStreamPlot3D","ListSurfacePlot3D","ListVectorDensityPlot","ListVectorDisplacementPlot","ListVectorDisplacementPlot3D","ListVectorPlot","ListVectorPlot3D","ListZTransform","Literal","LiteralSearch","LiteralType","LoadCompiledComponent","LocalAdaptiveBinarize","LocalCache","LocalClusteringCoefficient","LocalEvaluate","LocalizeDefinitions","LocalizeVariables","LocalObject","LocalObjects","LocalResponseNormalizationLayer","LocalSubmit","LocalSymbol","LocalTime","LocalTimeZone","LocationEquivalenceTest","LocationTest","Locator","LocatorAutoCreate","LocatorBox","LocatorBoxOptions","LocatorCentering","LocatorPane","LocatorPaneBox","LocatorPaneBoxOptions","LocatorRegion","Locked","Log","Log10","Log2","LogBarnesG","LogGamma","LogGammaDistribution","LogicalExpand","LogIntegral","LogisticDistribution","LogisticSigmoid","LogitModelFit","LogLikelihood","LogLinearPlot","LogLogisticDistribution","LogLogPlot","LogMultinormalDistribution","LogNormalDistribution","LogPlot","LogRankTest","LogSeriesDistribution","LongEqual","Longest","LongestCommonSequence","LongestCommonSequencePositions","LongestCommonSubsequence","LongestCommonSubsequencePositions","LongestMatch","LongestOrderedSequence","LongForm","Longitude","LongLeftArrow","LongLeftRightArrow","LongRightArrow","LongShortTermMemoryLayer","Lookup","Loopback","LoopFreeGraphQ","Looping","LossFunction","LowerCaseQ","LowerLeftArrow","LowerRightArrow","LowerTriangularize","LowerTriangularMatrix","LowerTriangularMatrixQ","LowpassFilter","LQEstimatorGains","LQGRegulator","LQOutputRegulatorGains","LQRegulatorGains","LUBackSubstitution","LucasL","LuccioSamiComponents","LUDecomposition","LunarEclipse","LUVColor","LyapunovSolve","LyonsGroupLy","MachineID","MachineName","MachineNumberQ","MachinePrecision","MacintoshSystemPageSetup","Magenta","Magnification","Magnify","MailAddressValidation","MailExecute","MailFolder","MailItem","MailReceiverFunction","MailResponseFunction","MailSearch","MailServerConnect","MailServerConnection","MailSettings","MainSolve","MaintainDynamicCaches","Majority","MakeBoxes","MakeExpression","MakeRules","ManagedLibraryExpressionID","ManagedLibraryExpressionQ","MandelbrotSetBoettcher","MandelbrotSetDistance","MandelbrotSetIterationCount","MandelbrotSetMemberQ","MandelbrotSetPlot","MangoldtLambda","ManhattanDistance","Manipulate","Manipulator","MannedSpaceMissionData","MannWhitneyTest","MantissaExponent","Manual","Map","MapAll","MapApply","MapAt","MapIndexed","MAProcess","MapThread","MarchenkoPasturDistribution","MarcumQ","MardiaCombinedTest","MardiaKurtosisTest","MardiaSkewnessTest","MarginalDistribution","MarkovProcessProperties","Masking","MassConcentrationCondition","MassFluxValue","MassImpermeableBoundaryValue","MassOutflowValue","MassSymmetryValue","MassTransferValue","MassTransportPDEComponent","MatchingDissimilarity","MatchLocalNameQ","MatchLocalNames","MatchQ","Material","MaterialShading","MaternPointProcess","MathematicalFunctionData","MathematicaNotation","MathieuC","MathieuCharacteristicA","MathieuCharacteristicB","MathieuCharacteristicExponent","MathieuCPrime","MathieuGroupM11","MathieuGroupM12","MathieuGroupM22","MathieuGroupM23","MathieuGroupM24","MathieuS","MathieuSPrime","MathMLForm","MathMLText","Matrices","MatrixExp","MatrixForm","MatrixFunction","MatrixLog","MatrixNormalDistribution","MatrixPlot","MatrixPower","MatrixPropertyDistribution","MatrixQ","MatrixRank","MatrixTDistribution","Max","MaxBend","MaxCellMeasure","MaxColorDistance","MaxDate","MaxDetect","MaxDisplayedChildren","MaxDuration","MaxExtraBandwidths","MaxExtraConditions","MaxFeatureDisplacement","MaxFeatures","MaxFilter","MaximalBy","Maximize","MaxItems","MaxIterations","MaxLimit","MaxMemoryUsed","MaxMixtureKernels","MaxOverlapFraction","MaxPlotPoints","MaxPoints","MaxRecursion","MaxStableDistribution","MaxStepFraction","MaxSteps","MaxStepSize","MaxTrainingRounds","MaxValue","MaxwellDistribution","MaxWordGap","McLaughlinGroupMcL","Mean","MeanAbsoluteLossLayer","MeanAround","MeanClusteringCoefficient","MeanDegreeConnectivity","MeanDeviation","MeanFilter","MeanGraphDistance","MeanNeighborDegree","MeanPointDensity","MeanShift","MeanShiftFilter","MeanSquaredLossLayer","Median","MedianDeviation","MedianFilter","MedicalTestData","Medium","MeijerG","MeijerGReduce","MeixnerDistribution","MellinConvolve","MellinTransform","MemberQ","MemoryAvailable","MemoryConstrained","MemoryConstraint","MemoryInUse","MengerMesh","Menu","MenuAppearance","MenuCommandKey","MenuEvaluator","MenuItem","MenuList","MenuPacket","MenuSortingValue","MenuStyle","MenuView","Merge","MergeDifferences","MergingFunction","MersennePrimeExponent","MersennePrimeExponentQ","Mesh","MeshCellCentroid","MeshCellCount","MeshCellHighlight","MeshCellIndex","MeshCellLabel","MeshCellMarker","MeshCellMeasure","MeshCellQuality","MeshCells","MeshCellShapeFunction","MeshCellStyle","MeshConnectivityGraph","MeshCoordinates","MeshFunctions","MeshPrimitives","MeshQualityGoal","MeshRange","MeshRefinementFunction","MeshRegion","MeshRegionQ","MeshShading","MeshStyle","Message","MessageDialog","MessageList","MessageName","MessageObject","MessageOptions","MessagePacket","Messages","MessagesNotebook","MetaCharacters","MetaInformation","MeteorShowerData","Method","MethodOptions","MexicanHatWavelet","MeyerWavelet","Midpoint","MIMETypeToFormatList","Min","MinColorDistance","MinDate","MinDetect","MineralData","MinFilter","MinimalBy","MinimalPolynomial","MinimalStateSpaceModel","Minimize","MinimumTimeIncrement","MinIntervalSize","MinkowskiQuestionMark","MinLimit","MinMax","MinorPlanetData","Minors","MinPointSeparation","MinRecursion","MinSize","MinStableDistribution","Minus","MinusPlus","MinValue","Missing","MissingBehavior","MissingDataMethod","MissingDataRules","MissingQ","MissingString","MissingStyle","MissingValuePattern","MissingValueSynthesis","MittagLefflerE","MixedFractionParts","MixedGraphQ","MixedMagnitude","MixedRadix","MixedRadixQuantity","MixedUnit","MixtureDistribution","Mod","Modal","Mode","ModelPredictiveController","Modular","ModularInverse","ModularLambda","Module","Modulus","MoebiusMu","Molecule","MoleculeAlign","MoleculeContainsQ","MoleculeDraw","MoleculeEquivalentQ","MoleculeFreeQ","MoleculeGraph","MoleculeMatchQ","MoleculeMaximumCommonSubstructure","MoleculeModify","MoleculeName","MoleculePattern","MoleculePlot","MoleculePlot3D","MoleculeProperty","MoleculeQ","MoleculeRecognize","MoleculeSubstructureCount","MoleculeValue","Moment","MomentConvert","MomentEvaluate","MomentGeneratingFunction","MomentOfInertia","Monday","Monitor","MonomialList","MonomialOrder","MonsterGroupM","MoonPhase","MoonPosition","MorletWavelet","MorphologicalBinarize","MorphologicalBranchPoints","MorphologicalComponents","MorphologicalEulerNumber","MorphologicalGraph","MorphologicalPerimeter","MorphologicalTransform","MortalityData","Most","MountainData","MouseAnnotation","MouseAppearance","MouseAppearanceTag","MouseButtons","Mouseover","MousePointerNote","MousePosition","MovieData","MovingAverage","MovingMap","MovingMedian","MoyalDistribution","MultiaxisArrangement","Multicolumn","MultiedgeStyle","MultigraphQ","MultilaunchWarning","MultiLetterItalics","MultiLetterStyle","MultilineFunction","Multinomial","MultinomialDistribution","MultinormalDistribution","MultiplicativeOrder","Multiplicity","MultiplySides","MultiscriptBoxOptions","Multiselection","MultivariateHypergeometricDistribution","MultivariatePoissonDistribution","MultivariateTDistribution","N","NakagamiDistribution","NameQ","Names","NamespaceBox","NamespaceBoxOptions","Nand","NArgMax","NArgMin","NBernoulliB","NBodySimulation","NBodySimulationData","NCache","NCaputoD","NDEigensystem","NDEigenvalues","NDSolve","NDSolveValue","Nearest","NearestFunction","NearestMeshCells","NearestNeighborG","NearestNeighborGraph","NearestTo","NebulaData","NeedlemanWunschSimilarity","Needs","Negative","NegativeBinomialDistribution","NegativeDefiniteMatrixQ","NegativeIntegers","NegativelyOrientedPoints","NegativeMultinomialDistribution","NegativeRationals","NegativeReals","NegativeSemidefiniteMatrixQ","NeighborhoodData","NeighborhoodGraph","Nest","NestedGreaterGreater","NestedLessLess","NestedScriptRules","NestGraph","NestList","NestTree","NestWhile","NestWhileList","NetAppend","NetArray","NetArrayLayer","NetBidirectionalOperator","NetChain","NetDecoder","NetDelete","NetDrop","NetEncoder","NetEvaluationMode","NetExternalObject","NetExtract","NetFlatten","NetFoldOperator","NetGANOperator","NetGraph","NetInformation","NetInitialize","NetInsert","NetInsertSharedArrays","NetJoin","NetMapOperator","NetMapThreadOperator","NetMeasurements","NetModel","NetNestOperator","NetPairEmbeddingOperator","NetPort","NetPortGradient","NetPrepend","NetRename","NetReplace","NetReplacePart","NetSharedArray","NetStateObject","NetTake","NetTrain","NetTrainResultsObject","NetUnfold","NetworkPacketCapture","NetworkPacketRecording","NetworkPacketRecordingDuring","NetworkPacketTrace","NeumannValue","NevilleThetaC","NevilleThetaD","NevilleThetaN","NevilleThetaS","NewPrimitiveStyle","NExpectation","Next","NextCell","NextDate","NextPrime","NextScheduledTaskTime","NeymanScottPointProcess","NFractionalD","NHoldAll","NHoldFirst","NHoldRest","NicholsGridLines","NicholsPlot","NightHemisphere","NIntegrate","NMaximize","NMaxValue","NMinimize","NMinValue","NominalScale","NominalVariables","NonAssociative","NoncentralBetaDistribution","NoncentralChiSquareDistribution","NoncentralFRatioDistribution","NoncentralStudentTDistribution","NonCommutativeMultiply","NonConstants","NondimensionalizationTransform","None","NoneTrue","NonlinearModelFit","NonlinearStateSpaceModel","NonlocalMeansFilter","NonNegative","NonNegativeIntegers","NonNegativeRationals","NonNegativeReals","NonPositive","NonPositiveIntegers","NonPositiveRationals","NonPositiveReals","Nor","NorlundB","Norm","Normal","NormalDistribution","NormalGrouping","NormalizationLayer","Normalize","Normalized","NormalizedSquaredEuclideanDistance","NormalMatrixQ","NormalsFunction","NormFunction","Not","NotCongruent","NotCupCap","NotDoubleVerticalBar","Notebook","NotebookApply","NotebookAutoSave","NotebookBrowseDirectory","NotebookClose","NotebookConvertSettings","NotebookCreate","NotebookDefault","NotebookDelete","NotebookDirectory","NotebookDynamicExpression","NotebookEvaluate","NotebookEventActions","NotebookFileName","NotebookFind","NotebookGet","NotebookImport","NotebookInformation","NotebookInterfaceObject","NotebookLocate","NotebookObject","NotebookOpen","NotebookPath","NotebookPrint","NotebookPut","NotebookRead","Notebooks","NotebookSave","NotebookSelection","NotebooksMenu","NotebookTemplate","NotebookWrite","NotElement","NotEqualTilde","NotExists","NotGreater","NotGreaterEqual","NotGreaterFullEqual","NotGreaterGreater","NotGreaterLess","NotGreaterSlantEqual","NotGreaterTilde","Nothing","NotHumpDownHump","NotHumpEqual","NotificationFunction","NotLeftTriangle","NotLeftTriangleBar","NotLeftTriangleEqual","NotLess","NotLessEqual","NotLessFullEqual","NotLessGreater","NotLessLess","NotLessSlantEqual","NotLessTilde","NotNestedGreaterGreater","NotNestedLessLess","NotPrecedes","NotPrecedesEqual","NotPrecedesSlantEqual","NotPrecedesTilde","NotReverseElement","NotRightTriangle","NotRightTriangleBar","NotRightTriangleEqual","NotSquareSubset","NotSquareSubsetEqual","NotSquareSuperset","NotSquareSupersetEqual","NotSubset","NotSubsetEqual","NotSucceeds","NotSucceedsEqual","NotSucceedsSlantEqual","NotSucceedsTilde","NotSuperset","NotSupersetEqual","NotTilde","NotTildeEqual","NotTildeFullEqual","NotTildeTilde","NotVerticalBar","Now","NoWhitespace","NProbability","NProduct","NProductFactors","NRoots","NSolve","NSolveValues","NSum","NSumTerms","NuclearExplosionData","NuclearReactorData","Null","NullRecords","NullSpace","NullWords","Number","NumberCompose","NumberDecompose","NumberDigit","NumberExpand","NumberFieldClassNumber","NumberFieldDiscriminant","NumberFieldFundamentalUnits","NumberFieldIntegralBasis","NumberFieldNormRepresentatives","NumberFieldRegulator","NumberFieldRootsOfUnity","NumberFieldSignature","NumberForm","NumberFormat","NumberLinePlot","NumberMarks","NumberMultiplier","NumberPadding","NumberPoint","NumberQ","NumberSeparator","NumberSigns","NumberString","Numerator","NumeratorDenominator","NumericalOrder","NumericalSort","NumericArray","NumericArrayQ","NumericArrayType","NumericFunction","NumericQ","NuttallWindow","NValues","NyquistGridLines","NyquistPlot","O","ObjectExistsQ","ObservabilityGramian","ObservabilityMatrix","ObservableDecomposition","ObservableModelQ","OceanData","Octahedron","OddQ","Off","Offset","OLEData","On","ONanGroupON","Once","OneIdentity","Opacity","OpacityFunction","OpacityFunctionScaling","Open","OpenAppend","Opener","OpenerBox","OpenerBoxOptions","OpenerView","OpenFunctionInspectorPacket","Opening","OpenRead","OpenSpecialOptions","OpenTemporary","OpenWrite","Operate","OperatingSystem","OperatorApplied","OptimumFlowData","Optional","OptionalElement","OptionInspectorSettings","OptionQ","Options","OptionsPacket","OptionsPattern","OptionValue","OptionValueBox","OptionValueBoxOptions","Or","Orange","Order","OrderDistribution","OrderedQ","Ordering","OrderingBy","OrderingLayer","Orderless","OrderlessPatternSequence","OrdinalScale","OrnsteinUhlenbeckProcess","Orthogonalize","OrthogonalMatrixQ","Out","Outer","OuterPolygon","OuterPolyhedron","OutputAutoOverwrite","OutputControllabilityMatrix","OutputControllableModelQ","OutputForm","OutputFormData","OutputGrouping","OutputMathEditExpression","OutputNamePacket","OutputPorts","OutputResponse","OutputSizeLimit","OutputStream","Over","OverBar","OverDot","Overflow","OverHat","Overlaps","Overlay","OverlayBox","OverlayBoxOptions","OverlayVideo","Overscript","OverscriptBox","OverscriptBoxOptions","OverTilde","OverVector","OverwriteTarget","OwenT","OwnValues","Package","PackingMethod","PackPaclet","PacletDataRebuild","PacletDirectoryAdd","PacletDirectoryLoad","PacletDirectoryRemove","PacletDirectoryUnload","PacletDisable","PacletEnable","PacletFind","PacletFindRemote","PacletInformation","PacletInstall","PacletInstallSubmit","PacletNewerQ","PacletObject","PacletObjectQ","PacletSite","PacletSiteObject","PacletSiteRegister","PacletSites","PacletSiteUnregister","PacletSiteUpdate","PacletSymbol","PacletUninstall","PacletUpdate","PaddedForm","Padding","PaddingLayer","PaddingSize","PadeApproximant","PadLeft","PadRight","PageBreakAbove","PageBreakBelow","PageBreakWithin","PageFooterLines","PageFooters","PageHeaderLines","PageHeaders","PageHeight","PageRankCentrality","PageTheme","PageWidth","Pagination","PairCorrelationG","PairedBarChart","PairedHistogram","PairedSmoothHistogram","PairedTTest","PairedZTest","PaletteNotebook","PalettePath","PalettesMenuSettings","PalindromeQ","Pane","PaneBox","PaneBoxOptions","Panel","PanelBox","PanelBoxOptions","Paneled","PaneSelector","PaneSelectorBox","PaneSelectorBoxOptions","PaperWidth","ParabolicCylinderD","ParagraphIndent","ParagraphSpacing","ParallelArray","ParallelAxisPlot","ParallelCombine","ParallelDo","Parallelepiped","ParallelEvaluate","Parallelization","Parallelize","ParallelKernels","ParallelMap","ParallelNeeds","Parallelogram","ParallelProduct","ParallelSubmit","ParallelSum","ParallelTable","ParallelTry","Parameter","ParameterEstimator","ParameterMixtureDistribution","ParameterVariables","ParametricConvexOptimization","ParametricFunction","ParametricNDSolve","ParametricNDSolveValue","ParametricPlot","ParametricPlot3D","ParametricRampLayer","ParametricRegion","ParentBox","ParentCell","ParentConnect","ParentDirectory","ParentEdgeLabel","ParentEdgeLabelFunction","ParentEdgeLabelStyle","ParentEdgeShapeFunction","ParentEdgeStyle","ParentEdgeStyleFunction","ParentForm","Parenthesize","ParentList","ParentNotebook","ParetoDistribution","ParetoPickandsDistribution","ParkData","Part","PartBehavior","PartialCorrelationFunction","PartialD","ParticleAcceleratorData","ParticleData","Partition","PartitionGranularity","PartitionsP","PartitionsQ","PartLayer","PartOfSpeech","PartProtection","ParzenWindow","PascalDistribution","PassEventsDown","PassEventsUp","Paste","PasteAutoQuoteCharacters","PasteBoxFormInlineCells","PasteButton","Path","PathGraph","PathGraphQ","Pattern","PatternFilling","PatternReaction","PatternSequence","PatternTest","PauliMatrix","PaulWavelet","Pause","PausedTime","PDF","PeakDetect","PeanoCurve","PearsonChiSquareTest","PearsonCorrelationTest","PearsonDistribution","PenttinenPointProcess","PercentForm","PerfectNumber","PerfectNumberQ","PerformanceGoal","Perimeter","PeriodicBoundaryCondition","PeriodicInterpolation","Periodogram","PeriodogramArray","Permanent","Permissions","PermissionsGroup","PermissionsGroupMemberQ","PermissionsGroups","PermissionsKey","PermissionsKeys","PermutationCycles","PermutationCyclesQ","PermutationGroup","PermutationLength","PermutationList","PermutationListQ","PermutationMatrix","PermutationMax","PermutationMin","PermutationOrder","PermutationPower","PermutationProduct","PermutationReplace","Permutations","PermutationSupport","Permute","PeronaMalikFilter","Perpendicular","PerpendicularBisector","PersistenceLocation","PersistenceTime","PersistentObject","PersistentObjects","PersistentSymbol","PersistentValue","PersonData","PERTDistribution","PetersenGraph","PhaseMargins","PhaseRange","PhongShading","PhysicalSystemData","Pi","Pick","PickedElements","PickMode","PIDData","PIDDerivativeFilter","PIDFeedforward","PIDTune","Piecewise","PiecewiseExpand","PieChart","PieChart3D","PillaiTrace","PillaiTraceTest","PingTime","Pink","PitchRecognize","Pivoting","PixelConstrained","PixelValue","PixelValuePositions","Placed","Placeholder","PlaceholderLayer","PlaceholderReplace","Plain","PlanarAngle","PlanarFaceList","PlanarGraph","PlanarGraphQ","PlanckRadiationLaw","PlaneCurveData","PlanetaryMoonData","PlanetData","PlantData","Play","PlaybackSettings","PlayRange","Plot","Plot3D","Plot3Matrix","PlotDivision","PlotJoined","PlotLabel","PlotLabels","PlotLayout","PlotLegends","PlotMarkers","PlotPoints","PlotRange","PlotRangeClipping","PlotRangeClipPlanesStyle","PlotRangePadding","PlotRegion","PlotStyle","PlotTheme","Pluralize","Plus","PlusMinus","Pochhammer","PodStates","PodWidth","Point","Point3DBox","Point3DBoxOptions","PointBox","PointBoxOptions","PointCountDistribution","PointDensity","PointDensityFunction","PointFigureChart","PointLegend","PointLight","PointProcessEstimator","PointProcessFitTest","PointProcessParameterAssumptions","PointProcessParameterQ","PointSize","PointStatisticFunction","PointValuePlot","PoissonConsulDistribution","PoissonDistribution","PoissonPDEComponent","PoissonPointProcess","PoissonProcess","PoissonWindow","PolarAxes","PolarAxesOrigin","PolarGridLines","PolarPlot","PolarTicks","PoleZeroMarkers","PolyaAeppliDistribution","PolyGamma","Polygon","Polygon3DBox","Polygon3DBoxOptions","PolygonalNumber","PolygonAngle","PolygonBox","PolygonBoxOptions","PolygonCoordinates","PolygonDecomposition","PolygonHoleScale","PolygonIntersections","PolygonScale","Polyhedron","PolyhedronAngle","PolyhedronBox","PolyhedronBoxOptions","PolyhedronCoordinates","PolyhedronData","PolyhedronDecomposition","PolyhedronGenus","PolyLog","PolynomialExpressionQ","PolynomialExtendedGCD","PolynomialForm","PolynomialGCD","PolynomialLCM","PolynomialMod","PolynomialQ","PolynomialQuotient","PolynomialQuotientRemainder","PolynomialReduce","PolynomialRemainder","Polynomials","PolynomialSumOfSquaresList","PoolingLayer","PopupMenu","PopupMenuBox","PopupMenuBoxOptions","PopupView","PopupWindow","Position","PositionIndex","PositionLargest","PositionSmallest","Positive","PositiveDefiniteMatrixQ","PositiveIntegers","PositivelyOrientedPoints","PositiveRationals","PositiveReals","PositiveSemidefiniteMatrixQ","PossibleZeroQ","Postfix","PostScript","Power","PowerDistribution","PowerExpand","PowerMod","PowerModList","PowerRange","PowerSpectralDensity","PowersRepresentations","PowerSymmetricPolynomial","Precedence","PrecedenceForm","Precedes","PrecedesEqual","PrecedesSlantEqual","PrecedesTilde","Precision","PrecisionGoal","PreDecrement","Predict","PredictionRoot","PredictorFunction","PredictorInformation","PredictorMeasurements","PredictorMeasurementsObject","PreemptProtect","PreferencesPath","PreferencesSettings","Prefix","PreIncrement","Prepend","PrependLayer","PrependTo","PreprocessingRules","PreserveColor","PreserveImageOptions","Previous","PreviousCell","PreviousDate","PriceGraphDistribution","PrimaryPlaceholder","Prime","PrimeNu","PrimeOmega","PrimePi","PrimePowerQ","PrimeQ","Primes","PrimeZetaP","PrimitivePolynomialQ","PrimitiveRoot","PrimitiveRootList","PrincipalComponents","PrincipalValue","Print","PrintableASCIIQ","PrintAction","PrintForm","PrintingCopies","PrintingOptions","PrintingPageRange","PrintingStartingPageNumber","PrintingStyleEnvironment","Printout3D","Printout3DPreviewer","PrintPrecision","PrintTemporary","Prism","PrismBox","PrismBoxOptions","PrivateCellOptions","PrivateEvaluationOptions","PrivateFontOptions","PrivateFrontEndOptions","PrivateKey","PrivateNotebookOptions","PrivatePaths","Probability","ProbabilityDistribution","ProbabilityPlot","ProbabilityPr","ProbabilityScalePlot","ProbitModelFit","ProcessConnection","ProcessDirectory","ProcessEnvironment","Processes","ProcessEstimator","ProcessInformation","ProcessObject","ProcessParameterAssumptions","ProcessParameterQ","ProcessStateDomain","ProcessStatus","ProcessTimeDomain","Product","ProductDistribution","ProductLog","ProgressIndicator","ProgressIndicatorBox","ProgressIndicatorBoxOptions","ProgressReporting","Projection","Prolog","PromptForm","ProofObject","PropagateAborts","Properties","Property","PropertyList","PropertyValue","Proportion","Proportional","Protect","Protected","ProteinData","Pruning","PseudoInverse","PsychrometricPropertyData","PublicKey","PublisherID","PulsarData","PunctuationCharacter","Purple","Put","PutAppend","Pyramid","PyramidBox","PyramidBoxOptions","QBinomial","QFactorial","QGamma","QHypergeometricPFQ","QnDispersion","QPochhammer","QPolyGamma","QRDecomposition","QuadraticIrrationalQ","QuadraticOptimization","Quantile","QuantilePlot","Quantity","QuantityArray","QuantityDistribution","QuantityForm","QuantityMagnitude","QuantityQ","QuantityUnit","QuantityVariable","QuantityVariableCanonicalUnit","QuantityVariableDimensions","QuantityVariableIdentifier","QuantityVariablePhysicalQuantity","Quartics","QuartileDeviation","Quartiles","QuartileSkewness","Query","QuestionGenerator","QuestionInterface","QuestionObject","QuestionSelector","QueueingNetworkProcess","QueueingProcess","QueueProperties","Quiet","QuietEcho","Quit","Quotient","QuotientRemainder","RadialAxisPlot","RadialGradientFilling","RadialGradientImage","RadialityCentrality","RadicalBox","RadicalBoxOptions","RadioButton","RadioButtonBar","RadioButtonBox","RadioButtonBoxOptions","Radon","RadonTransform","RamanujanTau","RamanujanTauL","RamanujanTauTheta","RamanujanTauZ","Ramp","Random","RandomArrayLayer","RandomChoice","RandomColor","RandomComplex","RandomDate","RandomEntity","RandomFunction","RandomGeneratorState","RandomGeoPosition","RandomGraph","RandomImage","RandomInstance","RandomInteger","RandomPermutation","RandomPoint","RandomPointConfiguration","RandomPolygon","RandomPolyhedron","RandomPrime","RandomReal","RandomSample","RandomSeed","RandomSeeding","RandomTime","RandomTree","RandomVariate","RandomWalkProcess","RandomWord","Range","RangeFilter","RangeSpecification","RankedMax","RankedMin","RarerProbability","Raster","Raster3D","Raster3DBox","Raster3DBoxOptions","RasterArray","RasterBox","RasterBoxOptions","Rasterize","RasterSize","Rational","RationalExpressionQ","RationalFunctions","Rationalize","Rationals","Ratios","RawArray","RawBoxes","RawData","RawMedium","RayleighDistribution","Re","ReactionBalance","ReactionBalancedQ","ReactionPDETerm","Read","ReadByteArray","ReadLine","ReadList","ReadProtected","ReadString","Real","RealAbs","RealBlockDiagonalForm","RealDigits","RealExponent","Reals","RealSign","Reap","RebuildPacletData","RecalibrationFunction","RecognitionPrior","RecognitionThreshold","ReconstructionMesh","Record","RecordLists","RecordSeparators","Rectangle","RectangleBox","RectangleBoxOptions","RectangleChart","RectangleChart3D","RectangularRepeatingElement","RecurrenceFilter","RecurrenceTable","RecurringDigitsForm","Red","Reduce","RefBox","ReferenceLineStyle","ReferenceMarkers","ReferenceMarkerStyle","Refine","ReflectionMatrix","ReflectionTransform","Refresh","RefreshRate","Region","RegionBinarize","RegionBoundary","RegionBoundaryStyle","RegionBounds","RegionCentroid","RegionCongruent","RegionConvert","RegionDifference","RegionDilation","RegionDimension","RegionDisjoint","RegionDistance","RegionDistanceFunction","RegionEmbeddingDimension","RegionEqual","RegionErosion","RegionFillingStyle","RegionFit","RegionFunction","RegionImage","RegionIntersection","RegionMeasure","RegionMember","RegionMemberFunction","RegionMoment","RegionNearest","RegionNearestFunction","RegionPlot","RegionPlot3D","RegionProduct","RegionQ","RegionResize","RegionSimilar","RegionSize","RegionSymmetricDifference","RegionUnion","RegionWithin","RegisterExternalEvaluator","RegularExpression","Regularization","RegularlySampledQ","RegularPolygon","ReIm","ReImLabels","ReImPlot","ReImStyle","Reinstall","RelationalDatabase","RelationGraph","Release","ReleaseHold","ReliabilityDistribution","ReliefImage","ReliefPlot","RemoteAuthorizationCaching","RemoteBatchJobAbort","RemoteBatchJobObject","RemoteBatchJobs","RemoteBatchMapSubmit","RemoteBatchSubmissionEnvironment","RemoteBatchSubmit","RemoteConnect","RemoteConnectionObject","RemoteEvaluate","RemoteFile","RemoteInputFiles","RemoteKernelObject","RemoteProviderSettings","RemoteRun","RemoteRunProcess","RemovalConditions","Remove","RemoveAlphaChannel","RemoveAsynchronousTask","RemoveAudioStream","RemoveBackground","RemoveChannelListener","RemoveChannelSubscribers","Removed","RemoveDiacritics","RemoveInputStreamMethod","RemoveOutputStreamMethod","RemoveProperty","RemoveScheduledTask","RemoveUsers","RemoveVideoStream","RenameDirectory","RenameFile","RenderAll","RenderingOptions","RenewalProcess","RenkoChart","RepairMesh","Repeated","RepeatedNull","RepeatedString","RepeatedTiming","RepeatingElement","Replace","ReplaceAll","ReplaceAt","ReplaceHeldPart","ReplaceImageValue","ReplaceList","ReplacePart","ReplacePixelValue","ReplaceRepeated","ReplicateLayer","RequiredPhysicalQuantities","Resampling","ResamplingAlgorithmData","ResamplingMethod","Rescale","RescalingTransform","ResetDirectory","ResetScheduledTask","ReshapeLayer","Residue","ResidueSum","ResizeLayer","Resolve","ResolveContextAliases","ResourceAcquire","ResourceData","ResourceFunction","ResourceObject","ResourceRegister","ResourceRemove","ResourceSearch","ResourceSubmissionObject","ResourceSubmit","ResourceSystemBase","ResourceSystemPath","ResourceUpdate","ResourceVersion","ResponseForm","Rest","RestartInterval","Restricted","Resultant","ResumePacket","Return","ReturnCreatesNewCell","ReturnEntersInput","ReturnExpressionPacket","ReturnInputFormPacket","ReturnPacket","ReturnReceiptFunction","ReturnTextPacket","Reverse","ReverseApplied","ReverseBiorthogonalSplineWavelet","ReverseElement","ReverseEquilibrium","ReverseGraph","ReverseSort","ReverseSortBy","ReverseUpEquilibrium","RevolutionAxis","RevolutionPlot3D","RGBColor","RiccatiSolve","RiceDistribution","RidgeFilter","RiemannR","RiemannSiegelTheta","RiemannSiegelZ","RiemannXi","Riffle","Right","RightArrow","RightArrowBar","RightArrowLeftArrow","RightComposition","RightCosetRepresentative","RightDownTeeVector","RightDownVector","RightDownVectorBar","RightTee","RightTeeArrow","RightTeeVector","RightTriangle","RightTriangleBar","RightTriangleEqual","RightUpDownVector","RightUpTeeVector","RightUpVector","RightUpVectorBar","RightVector","RightVectorBar","RipleyK","RipleyRassonRegion","RiskAchievementImportance","RiskReductionImportance","RobustConvexOptimization","RogersTanimotoDissimilarity","RollPitchYawAngles","RollPitchYawMatrix","RomanNumeral","Root","RootApproximant","RootIntervals","RootLocusPlot","RootMeanSquare","RootOfUnityQ","RootReduce","Roots","RootSum","RootTree","Rotate","RotateLabel","RotateLeft","RotateRight","RotationAction","RotationBox","RotationBoxOptions","RotationMatrix","RotationTransform","Round","RoundImplies","RoundingRadius","Row","RowAlignments","RowBackgrounds","RowBox","RowHeights","RowLines","RowMinHeight","RowReduce","RowsEqual","RowSpacings","RSolve","RSolveValue","RudinShapiro","RudvalisGroupRu","Rule","RuleCondition","RuleDelayed","RuleForm","RulePlot","RulerUnits","RulesTree","Run","RunProcess","RunScheduledTask","RunThrough","RuntimeAttributes","RuntimeOptions","RussellRaoDissimilarity","SameAs","SameQ","SameTest","SameTestProperties","SampledEntityClass","SampleDepth","SampledSoundFunction","SampledSoundList","SampleRate","SamplingPeriod","SARIMAProcess","SARMAProcess","SASTriangle","SatelliteData","SatisfiabilityCount","SatisfiabilityInstances","SatisfiableQ","Saturday","Save","Saveable","SaveAutoDelete","SaveConnection","SaveDefinitions","SavitzkyGolayMatrix","SawtoothWave","Scale","Scaled","ScaleDivisions","ScaledMousePosition","ScaleOrigin","ScalePadding","ScaleRanges","ScaleRangeStyle","ScalingFunctions","ScalingMatrix","ScalingTransform","Scan","ScheduledTask","ScheduledTaskActiveQ","ScheduledTaskInformation","ScheduledTaskInformationData","ScheduledTaskObject","ScheduledTasks","SchurDecomposition","ScientificForm","ScientificNotationThreshold","ScorerGi","ScorerGiPrime","ScorerHi","ScorerHiPrime","ScreenRectangle","ScreenStyleEnvironment","ScriptBaselineShifts","ScriptForm","ScriptLevel","ScriptMinSize","ScriptRules","ScriptSizeMultipliers","Scrollbars","ScrollingOptions","ScrollPosition","SearchAdjustment","SearchIndexObject","SearchIndices","SearchQueryString","SearchResultObject","Sec","Sech","SechDistribution","SecondOrderConeOptimization","SectionGrouping","SectorChart","SectorChart3D","SectorOrigin","SectorSpacing","SecuredAuthenticationKey","SecuredAuthenticationKeys","SecurityCertificate","SeedRandom","Select","Selectable","SelectComponents","SelectedCells","SelectedNotebook","SelectFirst","Selection","SelectionAnimate","SelectionCell","SelectionCellCreateCell","SelectionCellDefaultStyle","SelectionCellParentStyle","SelectionCreateCell","SelectionDebuggerTag","SelectionEvaluate","SelectionEvaluateCreateCell","SelectionMove","SelectionPlaceholder","SelectWithContents","SelfLoops","SelfLoopStyle","SemanticImport","SemanticImportString","SemanticInterpretation","SemialgebraicComponentInstances","SemidefiniteOptimization","SendMail","SendMessage","Sequence","SequenceAlignment","SequenceAttentionLayer","SequenceCases","SequenceCount","SequenceFold","SequenceFoldList","SequenceForm","SequenceHold","SequenceIndicesLayer","SequenceLastLayer","SequenceMostLayer","SequencePosition","SequencePredict","SequencePredictorFunction","SequenceReplace","SequenceRestLayer","SequenceReverseLayer","SequenceSplit","Series","SeriesCoefficient","SeriesData","SeriesTermGoal","ServiceConnect","ServiceDisconnect","ServiceExecute","ServiceObject","ServiceRequest","ServiceResponse","ServiceSubmit","SessionSubmit","SessionTime","Set","SetAccuracy","SetAlphaChannel","SetAttributes","Setbacks","SetCloudDirectory","SetCookies","SetDelayed","SetDirectory","SetEnvironment","SetFileDate","SetFileFormatProperties","SetOptions","SetOptionsPacket","SetPermissions","SetPrecision","SetProperty","SetSecuredAuthenticationKey","SetSelectedNotebook","SetSharedFunction","SetSharedVariable","SetStreamPosition","SetSystemModel","SetSystemOptions","Setter","SetterBar","SetterBox","SetterBoxOptions","Setting","SetUsers","Shading","Shallow","ShannonWavelet","ShapiroWilkTest","Share","SharingList","Sharpen","ShearingMatrix","ShearingTransform","ShellRegion","ShenCastanMatrix","ShiftedGompertzDistribution","ShiftRegisterSequence","Short","ShortDownArrow","Shortest","ShortestMatch","ShortestPathFunction","ShortLeftArrow","ShortRightArrow","ShortTimeFourier","ShortTimeFourierData","ShortUpArrow","Show","ShowAutoConvert","ShowAutoSpellCheck","ShowAutoStyles","ShowCellBracket","ShowCellLabel","ShowCellTags","ShowClosedCellArea","ShowCodeAssist","ShowContents","ShowControls","ShowCursorTracker","ShowGroupOpenCloseIcon","ShowGroupOpener","ShowInvisibleCharacters","ShowPageBreaks","ShowPredictiveInterface","ShowSelection","ShowShortBoxForm","ShowSpecialCharacters","ShowStringCharacters","ShowSyntaxStyles","ShrinkingDelay","ShrinkWrapBoundingBox","SiderealTime","SiegelTheta","SiegelTukeyTest","SierpinskiCurve","SierpinskiMesh","Sign","Signature","SignedRankTest","SignedRegionDistance","SignificanceLevel","SignPadding","SignTest","SimilarityRules","SimpleGraph","SimpleGraphQ","SimplePolygonQ","SimplePolyhedronQ","Simplex","Simplify","Sin","Sinc","SinghMaddalaDistribution","SingleEvaluation","SingleLetterItalics","SingleLetterStyle","SingularValueDecomposition","SingularValueList","SingularValuePlot","SingularValues","Sinh","SinhIntegral","SinIntegral","SixJSymbol","Skeleton","SkeletonTransform","SkellamDistribution","Skewness","SkewNormalDistribution","SkinStyle","Skip","SliceContourPlot3D","SliceDensityPlot3D","SliceDistribution","SliceVectorPlot3D","Slider","Slider2D","Slider2DBox","Slider2DBoxOptions","SliderBox","SliderBoxOptions","SlideShowVideo","SlideView","Slot","SlotSequence","Small","SmallCircle","Smaller","SmithDecomposition","SmithDelayCompensator","SmithWatermanSimilarity","SmoothDensityHistogram","SmoothHistogram","SmoothHistogram3D","SmoothKernelDistribution","SmoothPointDensity","SnDispersion","Snippet","SnippetsVideo","SnubPolyhedron","SocialMediaData","Socket","SocketConnect","SocketListen","SocketListener","SocketObject","SocketOpen","SocketReadMessage","SocketReadyQ","Sockets","SocketWaitAll","SocketWaitNext","SoftmaxLayer","SokalSneathDissimilarity","SolarEclipse","SolarSystemFeatureData","SolarTime","SolidAngle","SolidBoundaryLoadValue","SolidData","SolidDisplacementCondition","SolidFixedCondition","SolidMechanicsPDEComponent","SolidMechanicsStrain","SolidMechanicsStress","SolidRegionQ","Solve","SolveAlways","SolveDelayed","SolveValues","Sort","SortBy","SortedBy","SortedEntityClass","Sound","SoundAndGraphics","SoundNote","SoundVolume","SourceLink","SourcePDETerm","Sow","Space","SpaceCurveData","SpaceForm","Spacer","Spacings","Span","SpanAdjustments","SpanCharacterRounding","SpanFromAbove","SpanFromBoth","SpanFromLeft","SpanLineThickness","SpanMaxSize","SpanMinSize","SpanningCharacters","SpanSymmetric","SparseArray","SparseArrayQ","SpatialBinnedPointData","SpatialBoundaryCorrection","SpatialEstimate","SpatialEstimatorFunction","SpatialGraphDistribution","SpatialJ","SpatialMedian","SpatialNoiseLevel","SpatialObservationRegionQ","SpatialPointData","SpatialPointSelect","SpatialRandomnessTest","SpatialTransformationLayer","SpatialTrendFunction","Speak","SpeakerMatchQ","SpearmanRankTest","SpearmanRho","SpeciesData","SpecificityGoal","SpectralLineData","Spectrogram","SpectrogramArray","Specularity","SpeechCases","SpeechInterpreter","SpeechRecognize","SpeechSynthesize","SpellingCorrection","SpellingCorrectionList","SpellingDictionaries","SpellingDictionariesPath","SpellingOptions","Sphere","SphereBox","SphereBoxOptions","SpherePoints","SphericalBesselJ","SphericalBesselY","SphericalHankelH1","SphericalHankelH2","SphericalHarmonicY","SphericalPlot3D","SphericalRegion","SphericalShell","SpheroidalEigenvalue","SpheroidalJoiningFactor","SpheroidalPS","SpheroidalPSPrime","SpheroidalQS","SpheroidalQSPrime","SpheroidalRadialFactor","SpheroidalS1","SpheroidalS1Prime","SpheroidalS2","SpheroidalS2Prime","Splice","SplicedDistribution","SplineClosed","SplineDegree","SplineKnots","SplineWeights","Split","SplitBy","SpokenString","SpotLight","Sqrt","SqrtBox","SqrtBoxOptions","Square","SquaredEuclideanDistance","SquareFreeQ","SquareIntersection","SquareMatrixQ","SquareRepeatingElement","SquaresR","SquareSubset","SquareSubsetEqual","SquareSuperset","SquareSupersetEqual","SquareUnion","SquareWave","SSSTriangle","StabilityMargins","StabilityMarginsStyle","StableDistribution","Stack","StackBegin","StackComplete","StackedDateListPlot","StackedListPlot","StackInhibit","StadiumShape","StandardAtmosphereData","StandardDeviation","StandardDeviationFilter","StandardForm","Standardize","Standardized","StandardOceanData","StandbyDistribution","Star","StarClusterData","StarData","StarGraph","StartAsynchronousTask","StartExternalSession","StartingStepSize","StartOfLine","StartOfString","StartProcess","StartScheduledTask","StartupSound","StartWebSession","StateDimensions","StateFeedbackGains","StateOutputEstimator","StateResponse","StateSpaceModel","StateSpaceRealization","StateSpaceTransform","StateTransformationLinearize","StationaryDistribution","StationaryWaveletPacketTransform","StationaryWaveletTransform","StatusArea","StatusCentrality","StepMonitor","StereochemistryElements","StieltjesGamma","StippleShading","StirlingS1","StirlingS2","StopAsynchronousTask","StoppingPowerData","StopScheduledTask","StrataVariables","StratonovichProcess","StraussHardcorePointProcess","StraussPointProcess","StreamColorFunction","StreamColorFunctionScaling","StreamDensityPlot","StreamMarkers","StreamPlot","StreamPlot3D","StreamPoints","StreamPosition","Streams","StreamScale","StreamStyle","StrictInequalities","String","StringBreak","StringByteCount","StringCases","StringContainsQ","StringCount","StringDelete","StringDrop","StringEndsQ","StringExpression","StringExtract","StringForm","StringFormat","StringFormatQ","StringFreeQ","StringInsert","StringJoin","StringLength","StringMatchQ","StringPadLeft","StringPadRight","StringPart","StringPartition","StringPosition","StringQ","StringRepeat","StringReplace","StringReplaceList","StringReplacePart","StringReverse","StringRiffle","StringRotateLeft","StringRotateRight","StringSkeleton","StringSplit","StringStartsQ","StringTake","StringTakeDrop","StringTemplate","StringToByteArray","StringToStream","StringTrim","StripBoxes","StripOnInput","StripStyleOnPaste","StripWrapperBoxes","StrokeForm","Struckthrough","StructuralImportance","StructuredArray","StructuredArrayHeadQ","StructuredSelection","StruveH","StruveL","Stub","StudentTDistribution","Style","StyleBox","StyleBoxAutoDelete","StyleData","StyleDefinitions","StyleForm","StyleHints","StyleKeyMapping","StyleMenuListing","StyleNameDialogSettings","StyleNames","StylePrint","StyleSheetPath","Subdivide","Subfactorial","Subgraph","SubMinus","SubPlus","SubresultantPolynomialRemainders","SubresultantPolynomials","Subresultants","Subscript","SubscriptBox","SubscriptBoxOptions","Subscripted","Subsequences","Subset","SubsetCases","SubsetCount","SubsetEqual","SubsetMap","SubsetPosition","SubsetQ","SubsetReplace","Subsets","SubStar","SubstitutionSystem","Subsuperscript","SubsuperscriptBox","SubsuperscriptBoxOptions","SubtitleEncoding","SubtitleTrackSelection","Subtract","SubtractFrom","SubtractSides","SubValues","Succeeds","SucceedsEqual","SucceedsSlantEqual","SucceedsTilde","Success","SuchThat","Sum","SumConvergence","SummationLayer","Sunday","SunPosition","Sunrise","Sunset","SuperDagger","SuperMinus","SupernovaData","SuperPlus","Superscript","SuperscriptBox","SuperscriptBoxOptions","Superset","SupersetEqual","SuperStar","Surd","SurdForm","SurfaceAppearance","SurfaceArea","SurfaceColor","SurfaceData","SurfaceGraphics","SurvivalDistribution","SurvivalFunction","SurvivalModel","SurvivalModelFit","SuspendPacket","SuzukiDistribution","SuzukiGroupSuz","SwatchLegend","Switch","Symbol","SymbolName","SymletWavelet","Symmetric","SymmetricDifference","SymmetricGroup","SymmetricKey","SymmetricMatrixQ","SymmetricPolynomial","SymmetricReduction","Symmetrize","SymmetrizedArray","SymmetrizedArrayRules","SymmetrizedDependentComponents","SymmetrizedIndependentComponents","SymmetrizedReplacePart","SynchronousInitialization","SynchronousUpdating","Synonyms","Syntax","SyntaxForm","SyntaxInformation","SyntaxLength","SyntaxPacket","SyntaxQ","SynthesizeMissingValues","SystemCredential","SystemCredentialData","SystemCredentialKey","SystemCredentialKeys","SystemCredentialStoreObject","SystemDialogInput","SystemException","SystemGet","SystemHelpPath","SystemInformation","SystemInformationData","SystemInstall","SystemModel","SystemModeler","SystemModelExamples","SystemModelLinearize","SystemModelMeasurements","SystemModelParametricSimulate","SystemModelPlot","SystemModelProgressReporting","SystemModelReliability","SystemModels","SystemModelSimulate","SystemModelSimulateSensitivity","SystemModelSimulationData","SystemOpen","SystemOptions","SystemProcessData","SystemProcesses","SystemsConnectionsModel","SystemsModelControllerData","SystemsModelDelay","SystemsModelDelayApproximate","SystemsModelDelete","SystemsModelDimensions","SystemsModelExtract","SystemsModelFeedbackConnect","SystemsModelLabels","SystemsModelLinearity","SystemsModelMerge","SystemsModelOrder","SystemsModelParallelConnect","SystemsModelSeriesConnect","SystemsModelStateFeedbackConnect","SystemsModelVectorRelativeOrders","SystemStub","SystemTest","Tab","TabFilling","Table","TableAlignments","TableDepth","TableDirections","TableForm","TableHeadings","TableSpacing","TableView","TableViewBox","TableViewBoxAlignment","TableViewBoxBackground","TableViewBoxHeaders","TableViewBoxItemSize","TableViewBoxItemStyle","TableViewBoxOptions","TabSpacings","TabView","TabViewBox","TabViewBoxOptions","TagBox","TagBoxNote","TagBoxOptions","TaggingRules","TagSet","TagSetDelayed","TagStyle","TagUnset","Take","TakeDrop","TakeLargest","TakeLargestBy","TakeList","TakeSmallest","TakeSmallestBy","TakeWhile","Tally","Tan","Tanh","TargetDevice","TargetFunctions","TargetSystem","TargetUnits","TaskAbort","TaskExecute","TaskObject","TaskRemove","TaskResume","Tasks","TaskSuspend","TaskWait","TautologyQ","TelegraphProcess","TemplateApply","TemplateArgBox","TemplateBox","TemplateBoxOptions","TemplateEvaluate","TemplateExpression","TemplateIf","TemplateObject","TemplateSequence","TemplateSlot","TemplateSlotSequence","TemplateUnevaluated","TemplateVerbatim","TemplateWith","TemporalData","TemporalRegularity","Temporary","TemporaryVariable","TensorContract","TensorDimensions","TensorExpand","TensorProduct","TensorQ","TensorRank","TensorReduce","TensorSymmetry","TensorTranspose","TensorWedge","TerminatedEvaluation","TernaryListPlot","TernaryPlotCorners","TestID","TestReport","TestReportObject","TestResultObject","Tetrahedron","TetrahedronBox","TetrahedronBoxOptions","TeXForm","TeXSave","Text","Text3DBox","Text3DBoxOptions","TextAlignment","TextBand","TextBoundingBox","TextBox","TextCases","TextCell","TextClipboardType","TextContents","TextData","TextElement","TextForm","TextGrid","TextJustification","TextLine","TextPacket","TextParagraph","TextPosition","TextRecognize","TextSearch","TextSearchReport","TextSentences","TextString","TextStructure","TextStyle","TextTranslation","Texture","TextureCoordinateFunction","TextureCoordinateScaling","TextWords","Therefore","ThermodynamicData","ThermometerGauge","Thick","Thickness","Thin","Thinning","ThisLink","ThomasPointProcess","ThompsonGroupTh","Thread","Threaded","ThreadingLayer","ThreeJSymbol","Threshold","Through","Throw","ThueMorse","Thumbnail","Thursday","TickDirection","TickLabelOrientation","TickLabelPositioning","TickLabels","TickLengths","TickPositions","Ticks","TicksStyle","TideData","Tilde","TildeEqual","TildeFullEqual","TildeTilde","TimeConstrained","TimeConstraint","TimeDirection","TimeFormat","TimeGoal","TimelinePlot","TimeObject","TimeObjectQ","TimeRemaining","Times","TimesBy","TimeSeries","TimeSeriesAggregate","TimeSeriesForecast","TimeSeriesInsert","TimeSeriesInvertibility","TimeSeriesMap","TimeSeriesMapThread","TimeSeriesModel","TimeSeriesModelFit","TimeSeriesResample","TimeSeriesRescale","TimeSeriesShift","TimeSeriesThread","TimeSeriesWindow","TimeSystem","TimeSystemConvert","TimeUsed","TimeValue","TimeWarpingCorrespondence","TimeWarpingDistance","TimeZone","TimeZoneConvert","TimeZoneOffset","Timing","Tiny","TitleGrouping","TitsGroupT","ToBoxes","ToCharacterCode","ToColor","ToContinuousTimeModel","ToDate","Today","ToDiscreteTimeModel","ToEntity","ToeplitzMatrix","ToExpression","ToFileName","Together","Toggle","ToggleFalse","Toggler","TogglerBar","TogglerBox","TogglerBoxOptions","ToHeldExpression","ToInvertibleTimeSeries","TokenWords","Tolerance","ToLowerCase","Tomorrow","ToNumberField","TooBig","Tooltip","TooltipBox","TooltipBoxOptions","TooltipDelay","TooltipStyle","ToonShading","Top","TopHatTransform","ToPolarCoordinates","TopologicalSort","ToRadicals","ToRawPointer","ToRules","Torus","TorusGraph","ToSphericalCoordinates","ToString","Total","TotalHeight","TotalLayer","TotalVariationFilter","TotalWidth","TouchPosition","TouchscreenAutoZoom","TouchscreenControlPlacement","ToUpperCase","TourVideo","Tr","Trace","TraceAbove","TraceAction","TraceBackward","TraceDepth","TraceDialog","TraceForward","TraceInternal","TraceLevel","TraceOff","TraceOn","TraceOriginal","TracePrint","TraceScan","TrackCellChangeTimes","TrackedSymbols","TrackingFunction","TracyWidomDistribution","TradingChart","TraditionalForm","TraditionalFunctionNotation","TraditionalNotation","TraditionalOrder","TrainImageContentDetector","TrainingProgressCheckpointing","TrainingProgressFunction","TrainingProgressMeasurements","TrainingProgressReporting","TrainingStoppingCriterion","TrainingUpdateSchedule","TrainTextContentDetector","TransferFunctionCancel","TransferFunctionExpand","TransferFunctionFactor","TransferFunctionModel","TransferFunctionPoles","TransferFunctionTransform","TransferFunctionZeros","TransformationClass","TransformationFunction","TransformationFunctions","TransformationMatrix","TransformedDistribution","TransformedField","TransformedProcess","TransformedRegion","TransitionDirection","TransitionDuration","TransitionEffect","TransitiveClosureGraph","TransitiveReductionGraph","Translate","TranslationOptions","TranslationTransform","Transliterate","Transparent","TransparentColor","Transpose","TransposeLayer","TrapEnterKey","TrapSelection","TravelDirections","TravelDirectionsData","TravelDistance","TravelDistanceList","TravelMethod","TravelTime","Tree","TreeCases","TreeChildren","TreeCount","TreeData","TreeDelete","TreeDepth","TreeElementCoordinates","TreeElementLabel","TreeElementLabelFunction","TreeElementLabelStyle","TreeElementShape","TreeElementShapeFunction","TreeElementSize","TreeElementSizeFunction","TreeElementStyle","TreeElementStyleFunction","TreeExpression","TreeExtract","TreeFold","TreeForm","TreeGraph","TreeGraphQ","TreeInsert","TreeLayout","TreeLeafCount","TreeLeafQ","TreeLeaves","TreeLevel","TreeMap","TreeMapAt","TreeOutline","TreePlot","TreePosition","TreeQ","TreeReplacePart","TreeRules","TreeScan","TreeSelect","TreeSize","TreeTraversalOrder","TrendStyle","Triangle","TriangleCenter","TriangleConstruct","TriangleMeasurement","TriangleWave","TriangularDistribution","TriangulateMesh","Trig","TrigExpand","TrigFactor","TrigFactorList","Trigger","TrigReduce","TrigToExp","TrimmedMean","TrimmedVariance","TropicalStormData","True","TrueQ","TruncatedDistribution","TruncatedPolyhedron","TsallisQExponentialDistribution","TsallisQGaussianDistribution","TTest","Tube","TubeBezierCurveBox","TubeBezierCurveBoxOptions","TubeBox","TubeBoxOptions","TubeBSplineCurveBox","TubeBSplineCurveBoxOptions","Tuesday","TukeyLambdaDistribution","TukeyWindow","TunnelData","Tuples","TuranGraph","TuringMachine","TuttePolynomial","TwoWayRule","Typed","TypeDeclaration","TypeEvaluate","TypeHint","TypeOf","TypeSpecifier","UnateQ","Uncompress","UnconstrainedParameters","Undefined","UnderBar","Underflow","Underlined","Underoverscript","UnderoverscriptBox","UnderoverscriptBoxOptions","Underscript","UnderscriptBox","UnderscriptBoxOptions","UnderseaFeatureData","UndirectedEdge","UndirectedGraph","UndirectedGraphQ","UndoOptions","UndoTrackedVariables","Unequal","UnequalTo","Unevaluated","UniformDistribution","UniformGraphDistribution","UniformPolyhedron","UniformSumDistribution","Uninstall","Union","UnionedEntityClass","UnionPlus","Unique","UniqueElements","UnitaryMatrixQ","UnitBox","UnitConvert","UnitDimensions","Unitize","UnitRootTest","UnitSimplify","UnitStep","UnitSystem","UnitTriangle","UnitVector","UnitVectorLayer","UnityDimensions","UniverseModelData","UniversityData","UnixTime","UnlabeledTree","UnmanageObject","Unprotect","UnregisterExternalEvaluator","UnsameQ","UnsavedVariables","Unset","UnsetShared","Until","UntrackedVariables","Up","UpArrow","UpArrowBar","UpArrowDownArrow","Update","UpdateDynamicObjects","UpdateDynamicObjectsSynchronous","UpdateInterval","UpdatePacletSites","UpdateSearchIndex","UpDownArrow","UpEquilibrium","UpperCaseQ","UpperLeftArrow","UpperRightArrow","UpperTriangularize","UpperTriangularMatrix","UpperTriangularMatrixQ","Upsample","UpSet","UpSetDelayed","UpTee","UpTeeArrow","UpTo","UpValues","URL","URLBuild","URLDecode","URLDispatcher","URLDownload","URLDownloadSubmit","URLEncode","URLExecute","URLExpand","URLFetch","URLFetchAsynchronous","URLParse","URLQueryDecode","URLQueryEncode","URLRead","URLResponseTime","URLSave","URLSaveAsynchronous","URLShorten","URLSubmit","UseEmbeddedLibrary","UseGraphicsRange","UserDefinedWavelet","Using","UsingFrontEnd","UtilityFunction","V2Get","ValenceErrorHandling","ValenceFilling","ValidationLength","ValidationSet","ValueBox","ValueBoxOptions","ValueDimensions","ValueForm","ValuePreprocessingFunction","ValueQ","Values","ValuesData","VandermondeMatrix","Variables","Variance","VarianceEquivalenceTest","VarianceEstimatorFunction","VarianceGammaDistribution","VarianceGammaPointProcess","VarianceTest","VariogramFunction","VariogramModel","VectorAngle","VectorAround","VectorAspectRatio","VectorColorFunction","VectorColorFunctionScaling","VectorDensityPlot","VectorDisplacementPlot","VectorDisplacementPlot3D","VectorGlyphData","VectorGreater","VectorGreaterEqual","VectorLess","VectorLessEqual","VectorMarkers","VectorPlot","VectorPlot3D","VectorPoints","VectorQ","VectorRange","Vectors","VectorScale","VectorScaling","VectorSizes","VectorStyle","Vee","Verbatim","Verbose","VerificationTest","VerifyConvergence","VerifyDerivedKey","VerifyDigitalSignature","VerifyFileSignature","VerifyInterpretation","VerifySecurityCertificates","VerifySolutions","VerifyTestAssumptions","VersionedPreferences","VertexAdd","VertexCapacity","VertexChromaticNumber","VertexColors","VertexComponent","VertexConnectivity","VertexContract","VertexCoordinateRules","VertexCoordinates","VertexCorrelationSimilarity","VertexCosineSimilarity","VertexCount","VertexCoverQ","VertexDataCoordinates","VertexDegree","VertexDelete","VertexDiceSimilarity","VertexEccentricity","VertexInComponent","VertexInComponentGraph","VertexInDegree","VertexIndex","VertexJaccardSimilarity","VertexLabeling","VertexLabels","VertexLabelStyle","VertexList","VertexNormals","VertexOutComponent","VertexOutComponentGraph","VertexOutDegree","VertexQ","VertexRenderingFunction","VertexReplace","VertexShape","VertexShapeFunction","VertexSize","VertexStyle","VertexTextureCoordinates","VertexTransitiveGraphQ","VertexWeight","VertexWeightedGraphQ","Vertical","VerticalBar","VerticalForm","VerticalGauge","VerticalSeparator","VerticalSlider","VerticalTilde","Video","VideoCapture","VideoCombine","VideoDelete","VideoEncoding","VideoExtractFrames","VideoFrameList","VideoFrameMap","VideoGenerator","VideoInsert","VideoIntervals","VideoJoin","VideoMap","VideoMapList","VideoMapTimeSeries","VideoPadding","VideoPause","VideoPlay","VideoQ","VideoRecord","VideoReplace","VideoScreenCapture","VideoSplit","VideoStop","VideoStream","VideoStreams","VideoTimeStretch","VideoTrackSelection","VideoTranscode","VideoTransparency","VideoTrim","ViewAngle","ViewCenter","ViewMatrix","ViewPoint","ViewPointSelectorSettings","ViewPort","ViewProjection","ViewRange","ViewVector","ViewVertical","VirtualGroupData","Visible","VisibleCell","VoiceStyleData","VoigtDistribution","VolcanoData","Volume","VonMisesDistribution","VoronoiMesh","WaitAll","WaitAsynchronousTask","WaitNext","WaitUntil","WakebyDistribution","WalleniusHypergeometricDistribution","WaringYuleDistribution","WarpingCorrespondence","WarpingDistance","WatershedComponents","WatsonUSquareTest","WattsStrogatzGraphDistribution","WaveletBestBasis","WaveletFilterCoefficients","WaveletImagePlot","WaveletListPlot","WaveletMapIndexed","WaveletMatrixPlot","WaveletPhi","WaveletPsi","WaveletScale","WaveletScalogram","WaveletThreshold","WavePDEComponent","WeaklyConnectedComponents","WeaklyConnectedGraphComponents","WeaklyConnectedGraphQ","WeakStationarity","WeatherData","WeatherForecastData","WebAudioSearch","WebColumn","WebElementObject","WeberE","WebExecute","WebImage","WebImageSearch","WebItem","WebPageMetaInformation","WebRow","WebSearch","WebSessionObject","WebSessions","WebWindowObject","Wedge","Wednesday","WeibullDistribution","WeierstrassE1","WeierstrassE2","WeierstrassE3","WeierstrassEta1","WeierstrassEta2","WeierstrassEta3","WeierstrassHalfPeriods","WeierstrassHalfPeriodW1","WeierstrassHalfPeriodW2","WeierstrassHalfPeriodW3","WeierstrassInvariantG2","WeierstrassInvariantG3","WeierstrassInvariants","WeierstrassP","WeierstrassPPrime","WeierstrassSigma","WeierstrassZeta","WeightedAdjacencyGraph","WeightedAdjacencyMatrix","WeightedData","WeightedGraphQ","Weights","WelchWindow","WheelGraph","WhenEvent","Which","While","White","WhiteNoiseProcess","WhitePoint","Whitespace","WhitespaceCharacter","WhittakerM","WhittakerW","WholeCellGroupOpener","WienerFilter","WienerProcess","WignerD","WignerSemicircleDistribution","WikidataData","WikidataSearch","WikipediaData","WikipediaSearch","WilksW","WilksWTest","WindDirectionData","WindingCount","WindingPolygon","WindowClickSelect","WindowElements","WindowFloating","WindowFrame","WindowFrameElements","WindowMargins","WindowMovable","WindowOpacity","WindowPersistentStyles","WindowSelected","WindowSize","WindowStatusArea","WindowTitle","WindowToolbars","WindowWidth","WindSpeedData","WindVectorData","WinsorizedMean","WinsorizedVariance","WishartMatrixDistribution","With","WithCleanup","WithLock","WolframAlpha","WolframAlphaDate","WolframAlphaQuantity","WolframAlphaResult","WolframCloudSettings","WolframLanguageData","Word","WordBoundary","WordCharacter","WordCloud","WordCount","WordCounts","WordData","WordDefinition","WordFrequency","WordFrequencyData","WordList","WordOrientation","WordSearch","WordSelectionFunction","WordSeparators","WordSpacings","WordStem","WordTranslation","WorkingPrecision","WrapAround","Write","WriteLine","WriteString","Wronskian","XMLElement","XMLObject","XMLTemplate","Xnor","Xor","XYZColor","Yellow","Yesterday","YuleDissimilarity","ZernikeR","ZeroSymmetric","ZeroTest","ZeroWidthTimes","Zeta","ZetaZero","ZIPCodeData","ZipfDistribution","ZoomCenter","ZoomFactor","ZTest","ZTransform","$Aborted","$ActivationGroupID","$ActivationKey","$ActivationUserRegistered","$AddOnsDirectory","$AllowDataUpdates","$AllowExternalChannelFunctions","$AllowInternet","$AssertFunction","$Assumptions","$AsynchronousTask","$AudioDecoders","$AudioEncoders","$AudioInputDevices","$AudioOutputDevices","$BaseDirectory","$BasePacletsDirectory","$BatchInput","$BatchOutput","$BlockchainBase","$BoxForms","$ByteOrdering","$CacheBaseDirectory","$Canceled","$ChannelBase","$CharacterEncoding","$CharacterEncodings","$CloudAccountName","$CloudBase","$CloudConnected","$CloudConnection","$CloudCreditsAvailable","$CloudEvaluation","$CloudExpressionBase","$CloudObjectNameFormat","$CloudObjectURLType","$CloudRootDirectory","$CloudSymbolBase","$CloudUserID","$CloudUserUUID","$CloudVersion","$CloudVersionNumber","$CloudWolframEngineVersionNumber","$CommandLine","$CompilationTarget","$CompilerEnvironment","$ConditionHold","$ConfiguredKernels","$Context","$ContextAliases","$ContextPath","$ControlActiveSetting","$Cookies","$CookieStore","$CreationDate","$CryptographicEllipticCurveNames","$CurrentLink","$CurrentTask","$CurrentWebSession","$DataStructures","$DateStringFormat","$DefaultAudioInputDevice","$DefaultAudioOutputDevice","$DefaultFont","$DefaultFrontEnd","$DefaultImagingDevice","$DefaultKernels","$DefaultLocalBase","$DefaultLocalKernel","$DefaultMailbox","$DefaultNetworkInterface","$DefaultPath","$DefaultProxyRules","$DefaultRemoteBatchSubmissionEnvironment","$DefaultRemoteKernel","$DefaultSystemCredentialStore","$Display","$DisplayFunction","$DistributedContexts","$DynamicEvaluation","$Echo","$EmbedCodeEnvironments","$EmbeddableServices","$EntityStores","$Epilog","$EvaluationCloudBase","$EvaluationCloudObject","$EvaluationEnvironment","$ExportFormats","$ExternalIdentifierTypes","$ExternalStorageBase","$Failed","$FinancialDataSource","$FontFamilies","$FormatType","$FrontEnd","$FrontEndSession","$GeneratedAssetLocation","$GeoEntityTypes","$GeoLocation","$GeoLocationCity","$GeoLocationCountry","$GeoLocationPrecision","$GeoLocationSource","$HistoryLength","$HomeDirectory","$HTMLExportRules","$HTTPCookies","$HTTPRequest","$IgnoreEOF","$ImageFormattingWidth","$ImageResolution","$ImagingDevice","$ImagingDevices","$ImportFormats","$IncomingMailSettings","$InitialDirectory","$Initialization","$InitializationContexts","$Input","$InputFileName","$InputStreamMethods","$Inspector","$InstallationDate","$InstallationDirectory","$InterfaceEnvironment","$InterpreterTypes","$IterationLimit","$KernelCount","$KernelID","$Language","$LaunchDirectory","$LibraryPath","$LicenseExpirationDate","$LicenseID","$LicenseProcesses","$LicenseServer","$LicenseSubprocesses","$LicenseType","$Line","$Linked","$LinkSupported","$LoadedFiles","$LocalBase","$LocalSymbolBase","$MachineAddresses","$MachineDomain","$MachineDomains","$MachineEpsilon","$MachineID","$MachineName","$MachinePrecision","$MachineType","$MaxDisplayedChildren","$MaxExtraPrecision","$MaxLicenseProcesses","$MaxLicenseSubprocesses","$MaxMachineNumber","$MaxNumber","$MaxPiecewiseCases","$MaxPrecision","$MaxRootDegree","$MessageGroups","$MessageList","$MessagePrePrint","$Messages","$MinMachineNumber","$MinNumber","$MinorReleaseNumber","$MinPrecision","$MobilePhone","$ModuleNumber","$NetworkConnected","$NetworkInterfaces","$NetworkLicense","$NewMessage","$NewSymbol","$NotebookInlineStorageLimit","$Notebooks","$NoValue","$NumberMarks","$Off","$OperatingSystem","$Output","$OutputForms","$OutputSizeLimit","$OutputStreamMethods","$Packages","$ParentLink","$ParentProcessID","$PasswordFile","$PatchLevelID","$Path","$PathnameSeparator","$PerformanceGoal","$Permissions","$PermissionsGroupBase","$PersistenceBase","$PersistencePath","$PipeSupported","$PlotTheme","$Post","$Pre","$PreferencesDirectory","$PreInitialization","$PrePrint","$PreRead","$PrintForms","$PrintLiteral","$Printout3DPreviewer","$ProcessID","$ProcessorCount","$ProcessorType","$ProductInformation","$ProgramName","$ProgressReporting","$PublisherID","$RandomGeneratorState","$RandomState","$RecursionLimit","$RegisteredDeviceClasses","$RegisteredUserName","$ReleaseNumber","$RequesterAddress","$RequesterCloudUserID","$RequesterCloudUserUUID","$RequesterWolframID","$RequesterWolframUUID","$ResourceSystemBase","$ResourceSystemPath","$RootDirectory","$ScheduledTask","$ScriptCommandLine","$ScriptInputString","$SecuredAuthenticationKeyTokens","$ServiceCreditsAvailable","$Services","$SessionID","$SetParentLink","$SharedFunctions","$SharedVariables","$SoundDisplay","$SoundDisplayFunction","$SourceLink","$SSHAuthentication","$SubtitleDecoders","$SubtitleEncoders","$SummaryBoxDataSizeLimit","$SuppressInputFormHeads","$SynchronousEvaluation","$SyntaxHandler","$System","$SystemCharacterEncoding","$SystemCredentialStore","$SystemID","$SystemMemory","$SystemShell","$SystemTimeZone","$SystemWordLength","$TargetSystems","$TemplatePath","$TemporaryDirectory","$TemporaryPrefix","$TestFileName","$TextStyle","$TimedOut","$TimeUnit","$TimeZone","$TimeZoneEntity","$TopDirectory","$TraceOff","$TraceOn","$TracePattern","$TracePostAction","$TracePreAction","$UnitSystem","$Urgent","$UserAddOnsDirectory","$UserAgentLanguages","$UserAgentMachine","$UserAgentName","$UserAgentOperatingSystem","$UserAgentString","$UserAgentVersion","$UserBaseDirectory","$UserBasePacletsDirectory","$UserDocumentsDirectory","$Username","$UserName","$UserURLBase","$Version","$VersionNumber","$VideoDecoders","$VideoEncoders","$VoiceStyles","$WolframDocumentsDirectory","$WolframID","$WolframUUID"];function qa(nd){const od=nd.regex,ld=/([2-9]|[1-2]\d|[3][0-5])\^\^/,ud=/(\w*\.\w+|\w+\.\w*|\w+)/,dd=/(\d*\.\d+|\d+\.\d*|\d+)/,pd=od.either(od.concat(ld,ud),dd),fd=/``[+-]?(\d*\.\d+|\d+\.\d*|\d+)/,md=/`([+-]?(\d*\.\d+|\d+\.\d*|\d+))?/,vd=od.either(fd,md),Ad=/\*\^[+-]?\d+/,Od={className:"number",relevance:0,begin:od.concat(pd,od.optional(vd),od.optional(Ad))},kd=/[a-zA-Z$][a-zA-Z0-9$]*/,Ld=new Set(Ra),Gd={variants:[{className:"builtin-symbol",begin:kd,"on:begin":(Jd,_f)=>{Ld.has(Jd[0])||_f.ignoreMatch()}},{className:"symbol",relevance:0,begin:kd}]},jd={className:"named-character",begin:/\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/},Fd={className:"operator",relevance:0,begin:/[+\-*/,;.:@~=><&|_`'^?!%]+/},Ud={className:"pattern",relevance:0,begin:/([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/},qd={className:"slot",relevance:0,begin:/#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/},zd={className:"brace",relevance:0,begin:/[[\](){}]/},Wd={className:"message-name",relevance:0,begin:od.concat("::",kd)};return{name:"Mathematica",aliases:["mma","wl"],classNameAliases:{brace:"punctuation",pattern:"type",slot:"type",symbol:"variable","named-character":"variable","builtin-symbol":"built_in","message-name":"string"},contains:[nd.COMMENT(/\(\*/,/\*\)/,{contains:["self"]}),Ud,qd,Wd,Gd,jd,nd.QUOTE_STRING_MODE,Od,Fd,zd]}}return mathematica_1=qa,mathematica_1}var matlab_1,hasRequiredMatlab;function requireMatlab(){if(hasRequiredMatlab)return matlab_1;hasRequiredMatlab=1;function Ra(qa){const nd="('|\\.')+",od={relevance:0,contains:[{begin:nd}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[qa.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:od},{begin:"[a-zA-Z][a-zA-Z_0-9]*"+nd,relevance:0},{className:"number",begin:qa.C_NUMBER_RE,relevance:0,starts:od},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:od},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}],starts:od},qa.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),qa.COMMENT("%","$")]}}return matlab_1=Ra,matlab_1}var maxima_1,hasRequiredMaxima;function requireMaxima(){if(hasRequiredMaxima)return maxima_1;hasRequiredMaxima=1;function Ra(qa){return{name:"Maxima",keywords:{$pattern:"[A-Za-z_%][0-9A-Za-z_%]*",keyword:"if then else elseif for thru do while unless step in and or not",literal:"true false unknown inf minf ind und %e %i %pi %phi %gamma",built_in:" abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type alias allroots alphacharp alphanumericp amortization %and annuity_fv annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2 applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method av average_degree backtrace bars barsplot barsplot_description base64 base64_decode bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description break bug_report build_info|10 buildq build_sample burn cabs canform canten cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2 charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps chinese cholesky christof chromatic_index chromatic_number cint circulant_graph clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse collectterms columnop columnspace columnswap columnvector combination combine comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph complete_graph complex_number_p components compose_functions concan concat conjugate conmetderiv connected_components connect_vertices cons constant constantp constituent constvalue cont2part content continuous_freq contortion contour_plot contract contract_edge contragrad contrib_ode convert coord copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1 covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate declare declare_constvalue declare_dimensions declare_fundamental_dimensions declare_fundamental_units declare_qty declare_translated declare_unit_conversion declare_units declare_weights decsym defcon define define_alt_display define_variable defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten delta demo demoivre denom depends derivdegree derivlist describe desolve determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export dimacs_import dimension dimensionless dimensions dimensions_as_list direct directory discrete_freq disjoin disjointp disolate disp dispcon dispform dispfun dispJordan display disprule dispterms distrib divide divisors divsum dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors euler ev eval_string evenp every evolution evolution2d evundiff example exp expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li expintegral_shi expintegral_si explicit explose exponentialize express expt exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge file_search file_type fillarray findde find_root find_root_abs find_root_error find_root_rel first fix flatten flength float floatnump floor flower_snark flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string get_pixel get_plot_option get_tex_environment get_tex_environment_default get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart imetric implicit implicit_derivative implicit_plot indexed_tensor indices induced_subgraph inferencep inference_result infix info_display init_atensor init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions integrate intersect intersection intervalp intopois intosum invariant1 invariant2 inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2 kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit Lindstedt linear linearinterpol linear_program linear_regression line_graph linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country make_polygon make_random_state make_rgb_picture makeset make_string_input_stream make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker max max_clique max_degree max_flow maximize_lp max_independent_set max_matching maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext newdet new_graph newline newton new_variable next_prime nicedummies niceindices ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst nthroot nullity nullspace num numbered_boundaries numberp number_to_octets num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin oid_to_octets op opena opena_binary openr openr_binary openw openw_binary operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface parg parGosper parse_string parse_timedate part part2cont partfrac partition partition_set partpol path_digraph path_graph pathname_directory pathname_name pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod powerseries powerset prefix prev_prime primep primes principal_components print printf printfile print_graph printpois printprops prodrac product properties propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2 quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan radius random random_bernoulli random_beta random_binomial random_bipartite_graph random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform random_exp random_f random_gamma random_general_finite_discrete random_geometric random_graph random_graph1 random_gumbel random_hypergeometric random_laplace random_logistic random_lognormal random_negative_binomial random_network random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto random_permutation random_poisson random_rayleigh random_regular_graph random_student_t random_tournament random_tree random_weibull range rank rat ratcoef ratdenom ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus rem remainder remarray rembox remcomps remcon remcoord remfun remfunction remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions remove_fundamental_units remove_plot_option remove_vertex rempart remrule remsym remvalue rename rename_file reset reset_displays residue resolvante resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann rinvariant risch rk rmdir rncombine romberg room rootscontract round row rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1 spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot starplot_description status std std1 std_bernoulli std_beta std_binomial std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull stemplot stirling stirling1 stirling2 strim striml strimr string stringout stringp strong_components struve_h struve_l sublis sublist sublist_indices submatrix subsample subset subsetp subst substinpart subst_parallel substpart substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext symbolp symmdifference symmetricp system take_channel take_inference tan tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference test_normality test_proportion test_proportions_difference test_rank_sum test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep totalfourier totient tpartpol trace tracematrix trace_options transform_sample translate translate_file transpose treefale tree_reduce treillis treinat triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget ultraspherical underlying_graph undiff union unique uniteigenvectors unitp units unit_step unitvector unorder unsum untellrat untimer untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table absboxchar activecontexts adapt_depth additive adim aform algebraic algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top azimuth background background_color backsubst berlefact bernstein_explicit besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest border boundaries_array box boxchar breakup %c capping cauchysum cbrange cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics colorbox columns commutative complex cone context contexts contour contour_levels cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp cube current_let_rule_package cylinder data_file_name debugmode decreasing default_let_rule_package delay dependencies derivabbrev derivsubst detout diagmetric diff dim dimensions dispflag display2d|10 display_format_internal distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart edge_color edge_coloring edge_partition edge_type edge_width %edispflag elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine factlim factorflag factorial_expand factors_only fb feature features file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10 file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color fill_density filled_func fixed_vertices flipflag float2bf font font_size fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both head_length head_type height hypergeometric_representation %iargs ibase icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued integrate_use_rootsof integration_constant integration_constant_counter interpolate_color intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10 maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties opsubst optimprefix optionset orientation origin orthopoly_returns_intervals outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart png_file pochhammer_max_index points pointsize point_size points_joined point_type poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list poly_secondary_elimination_order poly_top_reduction_only posfun position powerdisp pred prederror primep_number_of_tests product_use_gamma program programmode promote_float_to_bigfloat prompt proportional_axes props psexpand ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type show_vertices show_weight simp simplified_output simplify_products simpproduct simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch tr track transcompile transform transform_xy translate_fast_arrays transparent transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest",symbol:"_ __ %|0 %%|0"},contains:[{className:"comment",begin:"/\\*",end:"\\*/",contains:["self"]},qa.QUOTE_STRING_MODE,{className:"number",relevance:0,variants:[{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b"},{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b",relevance:10},{begin:"\\b(\\.\\d+|\\d+\\.\\d+)\\b"},{begin:"\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b"}]}],illegal:/@/}}return maxima_1=Ra,maxima_1}var mel_1,hasRequiredMel;function requireMel(){if(hasRequiredMel)return mel_1;hasRequiredMel=1;function Ra(qa){return{name:"MEL",keywords:"int float string vector matrix if else switch case default while do for in break continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor animDisplay animView annotate appendStringArray applicationName applyAttrPreset applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem componentEditor compositingInterop computePolysetVolume condition cone confirmDialog connectAttr connectControl connectDynamic connectJoint connectionInfo constrain constrainValue constructionHistory container containsMultibyte contextInfo control convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected displayColor displayCull displayLevelOfDetail displayPref displayRGBColor displaySmoothness displayStats displayString displaySurface distanceDimContext distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor editorTemplate effector emit emitter enableDevice encodeString endString endsWith env equivalent equivalentTol erf error eval evalDeferred evalEcho event exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo filetest filletCurve filter filterCurve filterExpand filterStudioImport findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss geometryConstraint getApplicationVersionAsFloat getAttr getClassification getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation listNodeTypes listPanelCategories listRelatives listSets listTransforms listUnselected listerEditor loadFluid loadNewShelf loadPlugin loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration panelHistory paramDimContext paramDimension paramLocator parent parentConstraint particle particleExists particleInstancer particleRenderInfo partition pasteKey pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE registerPluginResource rehash reloadImage removeJoint removeMultiInstance removePanelCategory rename renameAttr renameSelectionList renameUI render renderGlobalsNode renderInfo renderLayerButton renderLayerParent renderLayerPostProcess renderLayerUnparent renderManip renderPartition renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor renderWindowSelectContext renderer reorder reorderDeformers requires reroot resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType selectedNodes selectionConnection separator setAttr setAttrEnumResource setAttrMapping setAttrNiceNameResource setConstraintRestPosition setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField shortNameOf showHelp showHidden showManipCtx showSelectionInTitle showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString stringToStringArray strip stripPrefixFromName stroke subdAutoProjection subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList textToShelf textureDisplacePlane textureHairColor texturePlacementContext textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper trace track trackCtx transferAttributes transformCompare transformLimits translator trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform",illegal:"</",contains:[qa.C_NUMBER_MODE,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[qa.BACKSLASH_ESCAPE]},{begin:/[$%@](\^\w\b|#\w+|[^\s\w{]|\{\w+\}|\w+)/},qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]}}return mel_1=Ra,mel_1}var mercury_1,hasRequiredMercury;function requireMercury(){if(hasRequiredMercury)return mercury_1;hasRequiredMercury=1;function Ra(qa){const nd={keyword:"module use_module import_module include_module end_module initialise mutable initialize finalize finalise interface implementation pred mode func type inst solver any_pred any_func is semidet det nondet multi erroneous failure cc_nondet cc_multi typeclass instance where pragma promise external trace atomic or_else require_complete_switch require_det require_semidet require_multi require_nondet require_cc_multi require_cc_nondet require_erroneous require_failure",meta:"inline no_inline type_spec source_file fact_table obsolete memo loop_check minimal_model terminates does_not_terminate check_termination promise_equivalent_clauses foreign_proc foreign_decl foreign_code foreign_type foreign_import_module foreign_export_enum foreign_export foreign_enum may_call_mercury will_not_call_mercury thread_safe not_thread_safe maybe_thread_safe promise_pure promise_semipure tabled_for_io local untrailed trailed attach_to_io_state can_pass_as_mercury_type stable will_not_throw_exception may_modify_trail will_not_modify_trail may_duplicate may_not_duplicate affects_liveness does_not_affect_liveness doesnt_affect_liveness no_sharing unknown_sharing sharing",built_in:"some all not if then else true fail false try catch catch_any semidet_true semidet_false semidet_fail impure_true impure semipure"},od=qa.COMMENT("%","$"),ld={className:"number",begin:"0'.\\|0[box][0-9a-fA-F]*"},ud=qa.inherit(qa.APOS_STRING_MODE,{relevance:0}),dd=qa.inherit(qa.QUOTE_STRING_MODE,{relevance:0}),pd={className:"subst",begin:"\\\\[abfnrtv]\\|\\\\x[0-9a-fA-F]*\\\\\\|%[-+# *.0-9]*[dioxXucsfeEgGp]",relevance:0};return dd.contains=dd.contains.slice(),dd.contains.push(pd),{name:"Mercury",aliases:["m","moo"],keywords:nd,contains:[{className:"built_in",variants:[{begin:"<=>"},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]},{className:"built_in",variants:[{begin:":-\\|-->"},{begin:"=",relevance:0}]},od,qa.C_BLOCK_COMMENT_MODE,ld,qa.NUMBER_MODE,ud,dd,{begin:/:-/},{begin:/\.$/}]}}return mercury_1=Ra,mercury_1}var mipsasm_1,hasRequiredMipsasm;function requireMipsasm(){if(hasRequiredMipsasm)return mipsasm_1;hasRequiredMipsasm=1;function Ra(qa){return{name:"MIPS Assembly",case_insensitive:!0,aliases:["mips"],keywords:{$pattern:"\\.?"+qa.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ",built_in:"$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 k0 k1 gp sp fp ra $f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 $f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt "},contains:[{className:"keyword",begin:"\\b(addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(\\.hb)?|jr(\\.hb)?|lbu?|lhu?|ll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|srlv?|subu?|sw[lr]?|xori?|wsbh|abs\\.[sd]|add\\.[sd]|alnv.ps|bc1[ft]l?|c\\.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et])\\.[sd]|(ceil|floor|round|trunc)\\.[lw]\\.[sd]|cfc1|cvt\\.d\\.[lsw]|cvt\\.l\\.[dsw]|cvt\\.ps\\.s|cvt\\.s\\.[dlw]|cvt\\.s\\.p[lu]|cvt\\.w\\.[dls]|div\\.[ds]|ldx?c1|luxc1|lwx?c1|madd\\.[sd]|mfc1|mov[fntz]?\\.[ds]|msub\\.[sd]|mth?c1|mul\\.[ds]|neg\\.[ds]|nmadd\\.[ds]|nmsub\\.[ds]|p[lu][lu]\\.ps|recip\\.fmt|r?sqrt\\.[ds]|sdx?c1|sub\\.[ds]|suxc1|swx?c1|break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|tlti?u?|tnei?|wait|wrpgpr)",end:"\\s"},qa.COMMENT("[;#](?!\\s*$)","$"),qa.C_BLOCK_COMMENT_MODE,qa.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"0x[0-9a-f]+"},{begin:"\\b-?\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^\\s*[0-9]+:"},{begin:"[0-9]+[bf]"}],relevance:0}],illegal:/\//}}return mipsasm_1=Ra,mipsasm_1}var mizar_1,hasRequiredMizar;function requireMizar(){if(hasRequiredMizar)return mizar_1;hasRequiredMizar=1;function Ra(qa){return{name:"Mizar",keywords:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",contains:[qa.COMMENT("::","$")]}}return mizar_1=Ra,mizar_1}var perl_1,hasRequiredPerl;function requirePerl(){if(hasRequiredPerl)return perl_1;hasRequiredPerl=1;function Ra(qa){const nd=qa.regex,od=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","class","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","field","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","method","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],ld=/[dualxmsipngr]{0,12}/,ud={$pattern:/[\w.]+/,keyword:od.join(" ")},dd={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:ud},pd={begin:/->\{/,end:/\}/},fd={scope:"attr",match:/\s+:\s*\w+(\s*\(.*?\))?/},md={scope:"variable",variants:[{begin:/\$\d/},{begin:nd.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[fd]},vd={className:"number",variants:[{match:/0?\.[0-9][0-9_]+\b/},{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/},{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},Ad=[qa.BACKSLASH_ESCAPE,dd,md],Nd=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],Od=(Gd,jd,Fd="\\1")=>{const Ud=Fd==="\\1"?Fd:nd.concat(Fd,jd);return nd.concat(nd.concat("(?:",Gd,")"),jd,/(?:\\.|[^\\\/])*?/,Ud,/(?:\\.|[^\\\/])*?/,Fd,ld)},kd=(Gd,jd,Fd)=>nd.concat(nd.concat("(?:",Gd,")"),jd,/(?:\\.|[^\\\/])*?/,Fd,ld),Ld=[md,qa.HASH_COMMENT_MODE,qa.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),pd,{className:"string",contains:Ad,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[qa.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[qa.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},vd,{begin:"(\\/\\/|"+qa.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[qa.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:Od("s|tr|y",nd.either(...Nd,{capture:!0}))},{begin:Od("s|tr|y","\\(","\\)")},{begin:Od("s|tr|y","\\[","\\]")},{begin:Od("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:kd("(?:m|qr)?",/\//,/\//)},{begin:kd("m|qr",nd.either(...Nd,{capture:!0}),/\1/)},{begin:kd("m|qr",/\(/,/\)/)},{begin:kd("m|qr",/\[/,/\]/)},{begin:kd("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub method",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[qa.TITLE_MODE,fd]},{className:"class",beginKeywords:"class",end:"[;{]",excludeEnd:!0,relevance:5,contains:[qa.TITLE_MODE,fd,vd]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return dd.contains=Ld,pd.contains=Ld,{name:"Perl",aliases:["pl","pm"],keywords:ud,contains:Ld}}return perl_1=Ra,perl_1}var mojolicious_1,hasRequiredMojolicious;function requireMojolicious(){if(hasRequiredMojolicious)return mojolicious_1;hasRequiredMojolicious=1;function Ra(qa){return{name:"Mojolicious",subLanguage:"xml",contains:[{className:"meta",begin:"^__(END|DATA)__$"},{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"},{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:!0,excludeEnd:!0}]}}return mojolicious_1=Ra,mojolicious_1}var monkey_1,hasRequiredMonkey;function requireMonkey(){if(hasRequiredMonkey)return monkey_1;hasRequiredMonkey=1;function Ra(qa){const nd={className:"number",relevance:0,variants:[{begin:"[$][a-fA-F0-9]+"},qa.NUMBER_MODE]},od={variants:[{match:[/(function|method)/,/\s+/,qa.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.function"}},ld={variants:[{match:[/(class|interface|extends|implements)/,/\s+/,qa.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.class"}};return{name:"Monkey",case_insensitive:!0,keywords:{keyword:["public","private","property","continue","exit","extern","new","try","catch","eachin","not","abstract","final","select","case","default","const","local","global","field","end","if","then","else","elseif","endif","while","wend","repeat","until","forever","for","to","step","next","return","module","inline","throw","import","and","or","shl","shr","mod"],built_in:["DebugLog","DebugStop","Error","Print","ACos","ACosr","ASin","ASinr","ATan","ATan2","ATan2r","ATanr","Abs","Abs","Ceil","Clamp","Clamp","Cos","Cosr","Exp","Floor","Log","Max","Max","Min","Min","Pow","Sgn","Sgn","Sin","Sinr","Sqrt","Tan","Tanr","Seed","PI","HALFPI","TWOPI"],literal:["true","false","null"]},illegal:/\/\*/,contains:[qa.COMMENT("#rem","#end"),qa.COMMENT("'","$",{relevance:0}),od,ld,{className:"variable.language",begin:/\b(self|super)\b/},{className:"meta",begin:/\s*#/,end:"$",keywords:{keyword:"if else elseif endif end then"}},{match:[/^\s*/,/strict\b/],scope:{2:"meta"}},{beginKeywords:"alias",end:"=",contains:[qa.UNDERSCORE_TITLE_MODE]},qa.QUOTE_STRING_MODE,nd]}}return monkey_1=Ra,monkey_1}var moonscript_1,hasRequiredMoonscript;function requireMoonscript(){if(hasRequiredMoonscript)return moonscript_1;hasRequiredMoonscript=1;function Ra(qa){const nd={keyword:"if then not for in while do return else elseif break continue switch and or unless when class extends super local import export from using",literal:"true false nil",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},od="[A-Za-z$_][0-9A-Za-z$_]*",ld={className:"subst",begin:/#\{/,end:/\}/,keywords:nd},ud=[qa.inherit(qa.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'/,end:/'/,contains:[qa.BACKSLASH_ESCAPE]},{begin:/"/,end:/"/,contains:[qa.BACKSLASH_ESCAPE,ld]}]},{className:"built_in",begin:"@__"+qa.IDENT_RE},{begin:"@"+qa.IDENT_RE},{begin:qa.IDENT_RE+"\\\\"+qa.IDENT_RE}];ld.contains=ud;const dd=qa.inherit(qa.TITLE_MODE,{begin:od}),pd="(\\(.*\\)\\s*)?\\B[-=]>",fd={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:nd,contains:["self"].concat(ud)}]};return{name:"MoonScript",aliases:["moon"],keywords:nd,illegal:/\/\*/,contains:ud.concat([qa.COMMENT("--","$"),{className:"function",begin:"^\\s*"+od+"\\s*=\\s*"+pd,end:"[-=]>",returnBegin:!0,contains:[dd,fd]},{begin:/[\(,:=]\s*/,relevance:0,contains:[{className:"function",begin:pd,end:"[-=]>",returnBegin:!0,contains:[fd]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[dd]},dd]},{className:"name",begin:od+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return moonscript_1=Ra,moonscript_1}var n1ql_1,hasRequiredN1ql;function requireN1ql(){if(hasRequiredN1ql)return n1ql_1;hasRequiredN1ql=1;function Ra(qa){return{name:"N1QL",case_insensitive:!0,contains:[{beginKeywords:"build create index delete drop explain infer|10 insert merge prepare select update upsert|10",end:/;/,keywords:{keyword:["all","alter","analyze","and","any","array","as","asc","begin","between","binary","boolean","break","bucket","build","by","call","case","cast","cluster","collate","collection","commit","connect","continue","correlate","cover","create","database","dataset","datastore","declare","decrement","delete","derived","desc","describe","distinct","do","drop","each","element","else","end","every","except","exclude","execute","exists","explain","fetch","first","flatten","for","force","from","function","grant","group","gsi","having","if","ignore","ilike","in","include","increment","index","infer","inline","inner","insert","intersect","into","is","join","key","keys","keyspace","known","last","left","let","letting","like","limit","lsm","map","mapping","matched","materialized","merge","minus","namespace","nest","not","number","object","offset","on","option","or","order","outer","over","parse","partition","password","path","pool","prepare","primary","private","privilege","procedure","public","raw","realm","reduce","rename","return","returning","revoke","right","role","rollback","satisfies","schema","select","self","semi","set","show","some","start","statistics","string","system","then","to","transaction","trigger","truncate","under","union","unique","unknown","unnest","unset","update","upsert","use","user","using","validate","value","valued","values","via","view","when","where","while","with","within","work","xor"],literal:["true","false","null","missing|5"],built_in:["array_agg","array_append","array_concat","array_contains","array_count","array_distinct","array_ifnull","array_length","array_max","array_min","array_position","array_prepend","array_put","array_range","array_remove","array_repeat","array_replace","array_reverse","array_sort","array_sum","avg","count","max","min","sum","greatest","least","ifmissing","ifmissingornull","ifnull","missingif","nullif","ifinf","ifnan","ifnanorinf","naninf","neginfif","posinfif","clock_millis","clock_str","date_add_millis","date_add_str","date_diff_millis","date_diff_str","date_part_millis","date_part_str","date_trunc_millis","date_trunc_str","duration_to_str","millis","str_to_millis","millis_to_str","millis_to_utc","millis_to_zone_name","now_millis","now_str","str_to_duration","str_to_utc","str_to_zone_name","decode_json","encode_json","encoded_size","poly_length","base64","base64_encode","base64_decode","meta","uuid","abs","acos","asin","atan","atan2","ceil","cos","degrees","e","exp","ln","log","floor","pi","power","radians","random","round","sign","sin","sqrt","tan","trunc","object_length","object_names","object_pairs","object_inner_pairs","object_values","object_inner_values","object_add","object_put","object_remove","object_unwrap","regexp_contains","regexp_like","regexp_position","regexp_replace","contains","initcap","length","lower","ltrim","position","repeat","replace","rtrim","split","substr","title","trim","upper","isarray","isatom","isboolean","isnumber","isobject","isstring","type","toarray","toatom","toboolean","tonumber","toobject","tostring"]},contains:[{className:"string",begin:"'",end:"'",contains:[qa.BACKSLASH_ESCAPE]},{className:"string",begin:'"',end:'"',contains:[qa.BACKSLASH_ESCAPE]},{className:"symbol",begin:"`",end:"`",contains:[qa.BACKSLASH_ESCAPE]},qa.C_NUMBER_MODE,qa.C_BLOCK_COMMENT_MODE]},qa.C_BLOCK_COMMENT_MODE]}}return n1ql_1=Ra,n1ql_1}var nestedtext_1,hasRequiredNestedtext;function requireNestedtext(){if(hasRequiredNestedtext)return nestedtext_1;hasRequiredNestedtext=1;function Ra(qa){const nd={match:[/^\s*(?=\S)/,/[^:]+/,/:\s*/,/$/],className:{2:"attribute",3:"punctuation"}},od={match:[/^\s*(?=\S)/,/[^:]*[^: ]/,/[ ]*:/,/[ ]/,/.*$/],className:{2:"attribute",3:"punctuation",5:"string"}},ld={match:[/^\s*/,/>/,/[ ]/,/.*$/],className:{2:"punctuation",4:"string"}},ud={variants:[{match:[/^\s*/,/-/,/[ ]/,/.*$/]},{match:[/^\s*/,/-$/]}],className:{2:"bullet",4:"string"}};return{name:"Nested Text",aliases:["nt"],contains:[qa.inherit(qa.HASH_COMMENT_MODE,{begin:/^\s*(?=#)/,excludeBegin:!0}),ud,ld,nd,od]}}return nestedtext_1=Ra,nestedtext_1}var nginx_1,hasRequiredNginx;function requireNginx(){if(hasRequiredNginx)return nginx_1;hasRequiredNginx=1;function Ra(qa){const nd=qa.regex,od={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:nd.concat(/[$@]/,qa.UNDERSCORE_IDENT_RE)}]},ud={endsWithParent:!0,keywords:{$pattern:/[a-z_]{2,}|\/dev\/poll/,literal:["on","off","yes","no","true","false","none","blocked","debug","info","notice","warn","error","crit","select","break","last","permanent","redirect","kqueue","rtsig","epoll","poll","/dev/poll"]},relevance:0,illegal:"=>",contains:[qa.HASH_COMMENT_MODE,{className:"string",contains:[qa.BACKSLASH_ESCAPE,od],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[od]},{className:"regexp",contains:[qa.BACKSLASH_ESCAPE,od],variants:[{begin:"\\s\\^",end:"\\s|\\{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]?\\b",relevance:0},od]};return{name:"Nginx config",aliases:["nginxconf"],contains:[qa.HASH_COMMENT_MODE,{beginKeywords:"upstream location",end:/;|\{/,contains:ud.contains,keywords:{section:"upstream location"}},{className:"section",begin:nd.concat(qa.UNDERSCORE_IDENT_RE+nd.lookahead(/\s+\{/)),relevance:0},{begin:nd.lookahead(qa.UNDERSCORE_IDENT_RE+"\\s"),end:";|\\{",contains:[{className:"attribute",begin:qa.UNDERSCORE_IDENT_RE,starts:ud}],relevance:0}],illegal:"[^\\s\\}\\{]"}}return nginx_1=Ra,nginx_1}var nim_1,hasRequiredNim;function requireNim(){if(hasRequiredNim)return nim_1;hasRequiredNim=1;function Ra(qa){return{name:"Nim",keywords:{keyword:["addr","and","as","asm","bind","block","break","case","cast","const","continue","converter","discard","distinct","div","do","elif","else","end","enum","except","export","finally","for","from","func","generic","guarded","if","import","in","include","interface","is","isnot","iterator","let","macro","method","mixin","mod","nil","not","notin","object","of","or","out","proc","ptr","raise","ref","return","shared","shl","shr","static","template","try","tuple","type","using","var","when","while","with","without","xor","yield"],literal:["true","false"],type:["int","int8","int16","int32","int64","uint","uint8","uint16","uint32","uint64","float","float32","float64","bool","char","string","cstring","pointer","expr","stmt","void","auto","any","range","array","openarray","varargs","seq","set","clong","culong","cchar","cschar","cshort","cint","csize","clonglong","cfloat","cdouble","clongdouble","cuchar","cushort","cuint","culonglong","cstringarray","semistatic"],built_in:["stdin","stdout","stderr","result"]},contains:[{className:"meta",begin:/\{\./,end:/\.\}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},qa.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"number",relevance:0,variants:[{begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/},{begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/}]},qa.HASH_COMMENT_MODE]}}return nim_1=Ra,nim_1}var nix_1,hasRequiredNix;function requireNix(){if(hasRequiredNix)return nix_1;hasRequiredNix=1;function Ra(qa){const nd={keyword:["rec","with","let","in","inherit","assert","if","else","then"],literal:["true","false","or","and","null"],built_in:["import","abort","baseNameOf","dirOf","isNull","builtins","map","removeAttrs","throw","toString","derivation"]},od={className:"subst",begin:/\$\{/,end:/\}/,keywords:nd},ld={className:"char.escape",begin:/''\$/},ud={begin:/[a-zA-Z0-9-_]+(\s*=)/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/\S+/,relevance:.2}]},dd={className:"string",contains:[ld,od],variants:[{begin:"''",end:"''"},{begin:'"',end:'"'}]},pd=[qa.NUMBER_MODE,qa.HASH_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,dd,ud];return od.contains=pd,{name:"Nix",aliases:["nixos"],keywords:nd,contains:pd}}return nix_1=Ra,nix_1}var nodeRepl_1,hasRequiredNodeRepl;function requireNodeRepl(){if(hasRequiredNodeRepl)return nodeRepl_1;hasRequiredNodeRepl=1;function Ra(qa){return{name:"Node REPL",contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"javascript"}},variants:[{begin:/^>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return nodeRepl_1=Ra,nodeRepl_1}var nsis_1,hasRequiredNsis;function requireNsis(){if(hasRequiredNsis)return nsis_1;hasRequiredNsis=1;function Ra(qa){const nd=qa.regex,od=["ADMINTOOLS","APPDATA","CDBURN_AREA","CMDLINE","COMMONFILES32","COMMONFILES64","COMMONFILES","COOKIES","DESKTOP","DOCUMENTS","EXEDIR","EXEFILE","EXEPATH","FAVORITES","FONTS","HISTORY","HWNDPARENT","INSTDIR","INTERNET_CACHE","LANGUAGE","LOCALAPPDATA","MUSIC","NETHOOD","OUTDIR","PICTURES","PLUGINSDIR","PRINTHOOD","PROFILE","PROGRAMFILES32","PROGRAMFILES64","PROGRAMFILES","QUICKLAUNCH","RECENT","RESOURCES_LOCALIZED","RESOURCES","SENDTO","SMPROGRAMS","SMSTARTUP","STARTMENU","SYSDIR","TEMP","TEMPLATES","VIDEOS","WINDIR"],ld=["ARCHIVE","FILE_ATTRIBUTE_ARCHIVE","FILE_ATTRIBUTE_NORMAL","FILE_ATTRIBUTE_OFFLINE","FILE_ATTRIBUTE_READONLY","FILE_ATTRIBUTE_SYSTEM","FILE_ATTRIBUTE_TEMPORARY","HKCR","HKCU","HKDD","HKEY_CLASSES_ROOT","HKEY_CURRENT_CONFIG","HKEY_CURRENT_USER","HKEY_DYN_DATA","HKEY_LOCAL_MACHINE","HKEY_PERFORMANCE_DATA","HKEY_USERS","HKLM","HKPD","HKU","IDABORT","IDCANCEL","IDIGNORE","IDNO","IDOK","IDRETRY","IDYES","MB_ABORTRETRYIGNORE","MB_DEFBUTTON1","MB_DEFBUTTON2","MB_DEFBUTTON3","MB_DEFBUTTON4","MB_ICONEXCLAMATION","MB_ICONINFORMATION","MB_ICONQUESTION","MB_ICONSTOP","MB_OK","MB_OKCANCEL","MB_RETRYCANCEL","MB_RIGHT","MB_RTLREADING","MB_SETFOREGROUND","MB_TOPMOST","MB_USERICON","MB_YESNO","NORMAL","OFFLINE","READONLY","SHCTX","SHELL_CONTEXT","SYSTEM|TEMPORARY"],ud=["addincludedir","addplugindir","appendfile","assert","cd","define","delfile","echo","else","endif","error","execute","finalize","getdllversion","gettlbversion","if","ifdef","ifmacrodef","ifmacrondef","ifndef","include","insertmacro","macro","macroend","makensis","packhdr","searchparse","searchreplace","system","tempfile","undef","uninstfinalize","verbose","warning"],dd={className:"variable.constant",begin:nd.concat(/\$/,nd.either(...od))},pd={className:"variable",begin:/\$+\{[\!\w.:-]+\}/},fd={className:"variable",begin:/\$+\w[\w\.]*/,illegal:/\(\)\{\}/},md={className:"variable",begin:/\$+\([\w^.:!-]+\)/},vd={className:"params",begin:nd.either(...ld)},Ad={className:"keyword",begin:nd.concat(/!/,nd.either(...ud))},Nd={className:"char.escape",begin:/\$(\\[nrt]|\$)/},Od={className:"title.function",begin:/\w+::\w+/},kd={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"},{begin:"`",end:"`"}],illegal:/\n/,contains:[Nd,dd,pd,fd,md]},Ld=["Abort","AddBrandingImage","AddSize","AllowRootDirInstall","AllowSkipFiles","AutoCloseWindow","BGFont","BGGradient","BrandingText","BringToFront","Call","CallInstDLL","Caption","ChangeUI","CheckBitmap","ClearErrors","CompletedText","ComponentText","CopyFiles","CRCCheck","CreateDirectory","CreateFont","CreateShortCut","Delete","DeleteINISec","DeleteINIStr","DeleteRegKey","DeleteRegValue","DetailPrint","DetailsButtonText","DirText","DirVar","DirVerify","EnableWindow","EnumRegKey","EnumRegValue","Exch","Exec","ExecShell","ExecShellWait","ExecWait","ExpandEnvStrings","File","FileBufSize","FileClose","FileErrorText","FileOpen","FileRead","FileReadByte","FileReadUTF16LE","FileReadWord","FileWriteUTF16LE","FileSeek","FileWrite","FileWriteByte","FileWriteWord","FindClose","FindFirst","FindNext","FindWindow","FlushINI","GetCurInstType","GetCurrentAddress","GetDlgItem","GetDLLVersion","GetDLLVersionLocal","GetErrorLevel","GetFileTime","GetFileTimeLocal","GetFullPathName","GetFunctionAddress","GetInstDirError","GetKnownFolderPath","GetLabelAddress","GetTempFileName","GetWinVer","Goto","HideWindow","Icon","IfAbort","IfErrors","IfFileExists","IfRebootFlag","IfRtlLanguage","IfShellVarContextAll","IfSilent","InitPluginsDir","InstallButtonText","InstallColors","InstallDir","InstallDirRegKey","InstProgressFlags","InstType","InstTypeGetText","InstTypeSetText","Int64Cmp","Int64CmpU","Int64Fmt","IntCmp","IntCmpU","IntFmt","IntOp","IntPtrCmp","IntPtrCmpU","IntPtrOp","IsWindow","LangString","LicenseBkColor","LicenseData","LicenseForceSelection","LicenseLangString","LicenseText","LoadAndSetImage","LoadLanguageFile","LockWindow","LogSet","LogText","ManifestDPIAware","ManifestLongPathAware","ManifestMaxVersionTested","ManifestSupportedOS","MessageBox","MiscButtonText","Name|0","Nop","OutFile","Page","PageCallbacks","PEAddResource","PEDllCharacteristics","PERemoveResource","PESubsysVer","Pop","Push","Quit","ReadEnvStr","ReadINIStr","ReadRegDWORD","ReadRegStr","Reboot","RegDLL","Rename","RequestExecutionLevel","ReserveFile","Return","RMDir","SearchPath","SectionGetFlags","SectionGetInstTypes","SectionGetSize","SectionGetText","SectionIn","SectionSetFlags","SectionSetInstTypes","SectionSetSize","SectionSetText","SendMessage","SetAutoClose","SetBrandingImage","SetCompress","SetCompressor","SetCompressorDictSize","SetCtlColors","SetCurInstType","SetDatablockOptimize","SetDateSave","SetDetailsPrint","SetDetailsView","SetErrorLevel","SetErrors","SetFileAttributes","SetFont","SetOutPath","SetOverwrite","SetRebootFlag","SetRegView","SetShellVarContext","SetSilent","ShowInstDetails","ShowUninstDetails","ShowWindow","SilentInstall","SilentUnInstall","Sleep","SpaceTexts","StrCmp","StrCmpS","StrCpy","StrLen","SubCaption","Unicode","UninstallButtonText","UninstallCaption","UninstallIcon","UninstallSubCaption","UninstallText","UninstPage","UnRegDLL","Var","VIAddVersionKey","VIFileVersion","VIProductVersion","WindowIcon","WriteINIStr","WriteRegBin","WriteRegDWORD","WriteRegExpandStr","WriteRegMultiStr","WriteRegNone","WriteRegStr","WriteUninstaller","XPStyle"],Gd=["admin","all","auto","both","bottom","bzip2","colored","components","current","custom","directory","false","force","hide","highest","ifdiff","ifnewer","instfiles","lastused","leave","left","license","listonly","lzma","nevershow","none","normal","notset","off","on","open","print","right","show","silent","silentlog","smooth","textonly","top","true","try","un.components","un.custom","un.directory","un.instfiles","un.license","uninstConfirm","user","Win10","Win7","Win8","WinVista","zlib"],jd={match:[/Function/,/\s+/,nd.concat(/(\.)?/,qa.IDENT_RE)],scope:{1:"keyword",3:"title.function"}},Ud={match:[/Var/,/\s+/,/(?:\/GLOBAL\s+)?/,/[A-Za-z][\w.]*/],scope:{1:"keyword",3:"params",4:"variable"}};return{name:"NSIS",case_insensitive:!0,keywords:{keyword:Ld,literal:Gd},contains:[qa.HASH_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.COMMENT(";","$",{relevance:0}),Ud,jd,{beginKeywords:"Function PageEx Section SectionGroup FunctionEnd SectionEnd"},kd,Ad,pd,fd,md,vd,Od,qa.NUMBER_MODE]}}return nsis_1=Ra,nsis_1}var objectivec_1,hasRequiredObjectivec;function requireObjectivec(){if(hasRequiredObjectivec)return objectivec_1;hasRequiredObjectivec=1;function Ra(qa){const nd={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},od=/[a-zA-Z@][a-zA-Z0-9_]*/,fd={"variable.language":["this","super"],$pattern:od,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},md={$pattern:od,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:fd,illegal:"</",contains:[nd,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.C_NUMBER_MODE,qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[qa.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},qa.inherit(qa.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+md.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:md,contains:[qa.UNDERSCORE_TITLE_MODE]},{begin:"\\."+qa.UNDERSCORE_IDENT_RE,relevance:0}]}}return objectivec_1=Ra,objectivec_1}var ocaml_1,hasRequiredOcaml;function requireOcaml(){if(hasRequiredOcaml)return ocaml_1;hasRequiredOcaml=1;function Ra(qa){return{name:"OCaml",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},qa.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*",relevance:0},qa.inherit(qa.APOS_STRING_MODE,{className:"string",relevance:0}),qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/->/}]}}return ocaml_1=Ra,ocaml_1}var openscad_1,hasRequiredOpenscad;function requireOpenscad(){if(hasRequiredOpenscad)return openscad_1;hasRequiredOpenscad=1;function Ra(qa){const nd={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},od={className:"literal",begin:"false|true|PI|undef"},ld={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",relevance:0},ud=qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null}),dd={className:"meta",keywords:{keyword:"include use"},begin:"include|use <",end:">"},pd={className:"params",begin:"\\(",end:"\\)",contains:["self",ld,ud,nd,od]},fd={begin:"[*!#%]",relevance:0},md={className:"function",beginKeywords:"module function",end:/=|\{/,contains:[pd,qa.UNDERSCORE_TITLE_MODE]};return{name:"OpenSCAD",aliases:["scad"],keywords:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,ld,dd,ud,nd,fd,md]}}return openscad_1=Ra,openscad_1}var oxygene_1,hasRequiredOxygene;function requireOxygene(){if(hasRequiredOxygene)return oxygene_1;hasRequiredOxygene=1;function Ra(qa){const nd={$pattern:/\.?\w+/,keyword:"abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained"},od=qa.COMMENT(/\{/,/\}/,{relevance:0}),ld=qa.COMMENT("\\(\\*","\\*\\)",{relevance:10}),ud={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},dd={className:"string",begin:"(#\\d+)+"},pd={beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[qa.inherit(qa.TITLE_MODE,{scope:"title.function"}),{className:"params",begin:"\\(",end:"\\)",keywords:nd,contains:[ud,dd]},od,ld]},fd={scope:"punctuation",match:/;/,relevance:0};return{name:"Oxygene",case_insensitive:!0,keywords:nd,illegal:'("|\\$[G-Zg-z]|\\/\\*|</|=>|->)',contains:[od,ld,qa.C_LINE_COMMENT_MODE,ud,dd,qa.NUMBER_MODE,pd,fd]}}return oxygene_1=Ra,oxygene_1}var parser3_1,hasRequiredParser3;function requireParser3(){if(hasRequiredParser3)return parser3_1;hasRequiredParser3=1;function Ra(qa){const nd=qa.COMMENT(/\{/,/\}/,{contains:["self"]});return{name:"Parser3",subLanguage:"xml",relevance:0,contains:[qa.COMMENT("^#","$"),qa.COMMENT(/\^rem\{/,/\}/,{relevance:10,contains:[nd]}),{className:"meta",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",relevance:10},{className:"title",begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{className:"variable",begin:/\$\{?[\w\-.:]+\}?/},{className:"keyword",begin:/\^[\w\-.:]+/},{className:"number",begin:"\\^#[0-9a-fA-F]+"},qa.C_NUMBER_MODE]}}return parser3_1=Ra,parser3_1}var pf_1,hasRequiredPf;function requirePf(){if(hasRequiredPf)return pf_1;hasRequiredPf=1;function Ra(qa){const nd={className:"variable",begin:/\$[\w\d#@][\w\d_]*/,relevance:0},od={className:"variable",begin:/<(?!\/)/,end:/>/};return{name:"Packet Filter config",aliases:["pf.conf"],keywords:{$pattern:/[a-z0-9_<>-]+/,built_in:"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to route allow-opts divert-packet divert-reply divert-to flags group icmp-type icmp6-type label once probability recieved-on rtable prio queue tos tag tagged user keep fragment for os drop af-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robin source-hash static-port dup-to reply-to route-to parent bandwidth default min max qlimit block-policy debug fingerprints hostid limit loginterface optimization reassemble ruleset-optimization basic none profile skip state-defaults state-policy timeout const counters persist no modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppy source-track global rule max-src-nodes max-src-states max-src-conn max-src-conn-rate overload flush scrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},contains:[qa.HASH_COMMENT_MODE,qa.NUMBER_MODE,qa.QUOTE_STRING_MODE,nd,od]}}return pf_1=Ra,pf_1}var pgsql_1,hasRequiredPgsql;function requirePgsql(){if(hasRequiredPgsql)return pgsql_1;hasRequiredPgsql=1;function Ra(qa){const nd=qa.COMMENT("--","$"),od="[a-zA-Z_][a-zA-Z_0-9$]*",ld="\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",ud="<<\\s*"+od+"\\s*>>",dd="ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION INDEX PROCEDURE ASSERTION ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS DEFERRABLE RANGE DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED OF NOTHING NONE EXCLUDE ATTRIBUTE USAGE ROUTINES TRUE FALSE NAN INFINITY ",pd="SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ",fd="ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT OPEN ",md="BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR NAME OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ",vd=md.trim().split(" ").map(function(Gd){return Gd.split("|")[0]}).join("|"),Ad="CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC ",Nd="FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 ",Od="SQLSTATE SQLERRM|10 SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED INDEX_CORRUPTED ",Ld="ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP PERCENTILE_CONT PERCENTILE_DISC ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE NUM_NONNULLS NUM_NULLS ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT TRUNC WIDTH_BUCKET RANDOM SETSEED ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR TO_ASCII TO_HEX TRANSLATE OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 TIMEOFDAY TRANSACTION_TIMESTAMP|10 ENUM_FIRST ENUM_LAST ENUM_RANGE AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY INET_MERGE MACADDR8_SET7BIT ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA CURSOR_TO_XML CURSOR_TO_XMLSCHEMA SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA XMLATTRIBUTES TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY CURRVAL LASTVAL NEXTVAL SETVAL COALESCE NULLIF GREATEST LEAST ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY STRING_TO_ARRAY UNNEST ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE GENERATE_SERIES GENERATE_SUBSCRIPTS CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE GIN_CLEAN_PENDING_LIST SUPPRESS_REDUNDANT_UPDATES_TRIGGER LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE GROUPING CAST ".trim().split(" ").map(function(Gd){return Gd.split("|")[0]}).join("|");return{name:"PostgreSQL",aliases:["postgres","postgresql"],supersetOf:"sql",case_insensitive:!0,keywords:{keyword:dd+fd+pd,built_in:Ad+Nd+Od},illegal:/:==|\W\s*\(\*|(^|\s)\$[a-z]|\{\{|[a-z]:\s*$|\.\.\.|TO:|DO:/,contains:[{className:"keyword",variants:[{begin:/\bTEXT\s*SEARCH\b/},{begin:/\b(PRIMARY|FOREIGN|FOR(\s+NO)?)\s+KEY\b/},{begin:/\bPARALLEL\s+(UNSAFE|RESTRICTED|SAFE)\b/},{begin:/\bSTORAGE\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\b/},{begin:/\bMATCH\s+(FULL|PARTIAL|SIMPLE)\b/},{begin:/\bNULLS\s+(FIRST|LAST)\b/},{begin:/\bEVENT\s+TRIGGER\b/},{begin:/\b(MAPPING|OR)\s+REPLACE\b/},{begin:/\b(FROM|TO)\s+(PROGRAM|STDIN|STDOUT)\b/},{begin:/\b(SHARE|EXCLUSIVE)\s+MODE\b/},{begin:/\b(LEFT|RIGHT)\s+(OUTER\s+)?JOIN\b/},{begin:/\b(FETCH|MOVE)\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\b/},{begin:/\bPRESERVE\s+ROWS\b/},{begin:/\bDISCARD\s+PLANS\b/},{begin:/\bREFERENCING\s+(OLD|NEW)\b/},{begin:/\bSKIP\s+LOCKED\b/},{begin:/\bGROUPING\s+SETS\b/},{begin:/\b(BINARY|INSENSITIVE|SCROLL|NO\s+SCROLL)\s+(CURSOR|FOR)\b/},{begin:/\b(WITH|WITHOUT)\s+HOLD\b/},{begin:/\bWITH\s+(CASCADED|LOCAL)\s+CHECK\s+OPTION\b/},{begin:/\bEXCLUDE\s+(TIES|NO\s+OTHERS)\b/},{begin:/\bFORMAT\s+(TEXT|XML|JSON|YAML)\b/},{begin:/\bSET\s+((SESSION|LOCAL)\s+)?NAMES\b/},{begin:/\bIS\s+(NOT\s+)?UNKNOWN\b/},{begin:/\bSECURITY\s+LABEL\b/},{begin:/\bSTANDALONE\s+(YES|NO|NO\s+VALUE)\b/},{begin:/\bWITH\s+(NO\s+)?DATA\b/},{begin:/\b(FOREIGN|SET)\s+DATA\b/},{begin:/\bSET\s+(CATALOG|CONSTRAINTS)\b/},{begin:/\b(WITH|FOR)\s+ORDINALITY\b/},{begin:/\bIS\s+(NOT\s+)?DOCUMENT\b/},{begin:/\bXML\s+OPTION\s+(DOCUMENT|CONTENT)\b/},{begin:/\b(STRIP|PRESERVE)\s+WHITESPACE\b/},{begin:/\bNO\s+(ACTION|MAXVALUE|MINVALUE)\b/},{begin:/\bPARTITION\s+BY\s+(RANGE|LIST|HASH)\b/},{begin:/\bAT\s+TIME\s+ZONE\b/},{begin:/\bGRANTED\s+BY\b/},{begin:/\bRETURN\s+(QUERY|NEXT)\b/},{begin:/\b(ATTACH|DETACH)\s+PARTITION\b/},{begin:/\bFORCE\s+ROW\s+LEVEL\s+SECURITY\b/},{begin:/\b(INCLUDING|EXCLUDING)\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\b/},{begin:/\bAS\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\b/}]},{begin:/\b(FORMAT|FAMILY|VERSION)\s*\(/},{begin:/\bINCLUDE\s*\(/,keywords:"INCLUDE"},{begin:/\bRANGE(?!\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/},{begin:/\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\s*=/},{begin:/\b(PG_\w+?|HAS_[A-Z_]+_PRIVILEGE)\b/,relevance:10},{begin:/\bEXTRACT\s*\(/,end:/\bFROM\b/,returnEnd:!0,keywords:{type:"CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR TIMEZONE_MINUTE WEEK YEAR"}},{begin:/\b(XMLELEMENT|XMLPI)\s*\(\s*NAME/,keywords:{keyword:"NAME"}},{begin:/\b(XMLPARSE|XMLSERIALIZE)\s*\(\s*(DOCUMENT|CONTENT)/,keywords:{keyword:"DOCUMENT CONTENT"}},{beginKeywords:"CACHE INCREMENT MAXVALUE MINVALUE",end:qa.C_NUMBER_RE,returnEnd:!0,keywords:"BY CACHE INCREMENT MAXVALUE MINVALUE"},{className:"type",begin:/\b(WITH|WITHOUT)\s+TIME\s+ZONE\b/},{className:"type",begin:/\bINTERVAL\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\s+TO\s+(MONTH|HOUR|MINUTE|SECOND))?\b/},{begin:/\bRETURNS\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\b/,keywords:{keyword:"RETURNS",type:"LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER"}},{begin:"\\b("+Ld+")\\s*\\("},{begin:"\\.("+vd+")\\b"},{begin:"\\b("+vd+")\\s+PATH\\b",keywords:{keyword:"PATH",type:md.replace("PATH ","")}},{className:"type",begin:"\\b("+vd+")\\b"},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:"(e|E|u&|U&)'",end:"'",contains:[{begin:"\\\\."}],relevance:10},qa.END_SAME_AS_BEGIN({begin:ld,end:ld,contains:[{subLanguage:["pgsql","perl","python","tcl","r","lua","java","php","ruby","bash","scheme","xml","json"],endsWithParent:!0}]}),{begin:'"',end:'"',contains:[{begin:'""'}]},qa.C_NUMBER_MODE,qa.C_BLOCK_COMMENT_MODE,nd,{className:"meta",variants:[{begin:"%(ROW)?TYPE",relevance:10},{begin:"\\$\\d+"},{begin:"^#\\w",end:"$"}]},{className:"symbol",begin:ud,relevance:10}]}}return pgsql_1=Ra,pgsql_1}var php_1,hasRequiredPhp;function requirePhp(){if(hasRequiredPhp)return php_1;hasRequiredPhp=1;function Ra(qa){const nd=qa.regex,od=/(?![A-Za-z0-9])(?![$])/,ld=nd.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,od),ud=nd.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,od),dd={scope:"variable",match:"\\$+"+ld},pd={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},fd={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},md=qa.inherit(qa.APOS_STRING_MODE,{illegal:null}),vd=qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null,contains:qa.QUOTE_STRING_MODE.contains.concat(fd)}),Ad={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:qa.QUOTE_STRING_MODE.contains.concat(fd),"on:begin":(Af,Ef)=>{Ef.data._beginMatch=Af[1]||Af[2]},"on:end":(Af,Ef)=>{Ef.data._beginMatch!==Af[1]&&Ef.ignoreMatch()}},Nd=qa.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),Od=`[
]`,kd={scope:"string",variants:[vd,md,Ad,Nd]},Ld={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},Gd=["false","null","true"],jd=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],Fd=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],qd={keyword:jd,literal:(Af=>{const Ef=[];return Af.forEach(Nf=>{Ef.push(Nf),Nf.toLowerCase()===Nf?Ef.push(Nf.toUpperCase()):Ef.push(Nf.toLowerCase())}),Ef})(Gd),built_in:Fd},zd=Af=>Af.map(Ef=>Ef.replace(/\|\d+$/,"")),Wd={variants:[{match:[/new/,nd.concat(Od,"+"),nd.concat("(?!",zd(Fd).join("\\b|"),"\\b)"),ud],scope:{1:"keyword",4:"title.class"}}]},Jd=nd.concat(ld,"\\b(?!\\()"),_f={variants:[{match:[nd.concat(/::/,nd.lookahead(/(?!class\b)/)),Jd],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[ud,nd.concat(/::/,nd.lookahead(/(?!class\b)/)),Jd],scope:{1:"title.class",3:"variable.constant"}},{match:[ud,nd.concat("::",nd.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[ud,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},Xd={scope:"attr",match:nd.concat(ld,nd.lookahead(":"),nd.lookahead(/(?!::)/))},pf={relevance:0,begin:/\(/,end:/\)/,keywords:qd,contains:[Xd,dd,_f,qa.C_BLOCK_COMMENT_MODE,kd,Ld,Wd]},mf={relevance:0,match:[/\b/,nd.concat("(?!fn\\b|function\\b|",zd(jd).join("\\b|"),"|",zd(Fd).join("\\b|"),"\\b)"),ld,nd.concat(Od,"*"),nd.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[pf]};pf.contains.push(mf);const Sf=[Xd,_f,qa.C_BLOCK_COMMENT_MODE,kd,Ld,Wd],Tf={begin:nd.concat(/#\[\s*/,ud),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:Gd,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:Gd,keyword:["new","array"]},contains:["self",...Sf]},...Sf,{scope:"meta",match:ud}]};return{case_insensitive:!1,keywords:qd,contains:[Tf,qa.HASH_COMMENT_MODE,qa.COMMENT("//","$"),qa.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:qa.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},pd,{scope:"variable.language",match:/\$this\b/},dd,mf,_f,{match:[/const/,/\s/,ld],scope:{1:"keyword",3:"variable.constant"}},Wd,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},qa.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:qd,contains:["self",dd,_f,qa.C_BLOCK_COMMENT_MODE,kd,Ld]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},qa.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[qa.inherit(qa.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},qa.UNDERSCORE_TITLE_MODE]},kd,Ld]}}return php_1=Ra,php_1}var phpTemplate_1,hasRequiredPhpTemplate;function requirePhpTemplate(){if(hasRequiredPhpTemplate)return phpTemplate_1;hasRequiredPhpTemplate=1;function Ra(qa){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},qa.inherit(qa.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}return phpTemplate_1=Ra,phpTemplate_1}var plaintext_1,hasRequiredPlaintext;function requirePlaintext(){if(hasRequiredPlaintext)return plaintext_1;hasRequiredPlaintext=1;function Ra(qa){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return plaintext_1=Ra,plaintext_1}var pony_1,hasRequiredPony;function requirePony(){if(hasRequiredPony)return pony_1;hasRequiredPony=1;function Ra(qa){const nd={keyword:"actor addressof and as be break class compile_error compile_intrinsic consume continue delegate digestof do else elseif embed end error for fun if ifdef in interface is isnt lambda let match new not object or primitive recover repeat return struct then trait try type until use var where while with xor",meta:"iso val tag trn box ref",literal:"this false true"},od={className:"string",begin:'"""',end:'"""',relevance:10},ld={className:"string",begin:'"',end:'"',contains:[qa.BACKSLASH_ESCAPE]},ud={className:"string",begin:"'",end:"'",contains:[qa.BACKSLASH_ESCAPE],relevance:0},dd={className:"type",begin:"\\b_?[A-Z][\\w]*",relevance:0},pd={begin:qa.IDENT_RE+"'",relevance:0};return{name:"Pony",keywords:nd,contains:[dd,od,ld,ud,pd,{className:"number",begin:"(-?)(\\b0[xX][a-fA-F0-9]+|\\b0[bB][01]+|(\\b\\d+(_\\d+)?(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",relevance:0},qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]}}return pony_1=Ra,pony_1}var powershell_1,hasRequiredPowershell;function requirePowershell(){if(hasRequiredPowershell)return powershell_1;hasRequiredPowershell=1;function Ra(qa){const nd=["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"],od="Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",ld="-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",ud={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},dd=/\w[\w\d]*((-)[\w\d]+)*/,pd={begin:"`[\\s\\S]",relevance:0},fd={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},md={className:"literal",begin:/\$(null|true|false)\b/},vd={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[pd,fd,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},Ad={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},Nd={className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},Od=qa.inherit(qa.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[Nd]}),kd={className:"built_in",variants:[{begin:"(".concat(od,")+(-)[\\w\\d]+")}]},Ld={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[qa.TITLE_MODE]},Gd={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:dd,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[fd]}]},jd={begin:/using\s/,end:/$/,returnBegin:!0,contains:[vd,Ad,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},Fd={variants:[{className:"operator",begin:"(".concat(ld,")\\b")},{className:"literal",begin:/(-){1,2}[\w\d-]+/,relevance:0}]},Ud={className:"selector-tag",begin:/@\B/,relevance:0},qd={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(ud.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},qa.inherit(qa.TITLE_MODE,{endsParent:!0})]},zd=[qd,Od,pd,qa.NUMBER_MODE,vd,Ad,kd,fd,md,Ud],Wd={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",zd,{begin:"("+nd.join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return qd.contains.unshift(Wd),{name:"PowerShell",aliases:["pwsh","ps","ps1"],case_insensitive:!0,keywords:ud,contains:zd.concat(Ld,Gd,jd,Fd,Wd)}}return powershell_1=Ra,powershell_1}var processing_1,hasRequiredProcessing;function requireProcessing(){if(hasRequiredProcessing)return processing_1;hasRequiredProcessing=1;function Ra(qa){const nd=qa.regex,od=["displayHeight","displayWidth","mouseY","mouseX","mousePressed","pmouseX","pmouseY","key","keyCode","pixels","focused","frameCount","frameRate","height","width","size","createGraphics","beginDraw","createShape","loadShape","PShape","arc","ellipse","line","point","quad","rect","triangle","bezier","bezierDetail","bezierPoint","bezierTangent","curve","curveDetail","curvePoint","curveTangent","curveTightness","shape","shapeMode","beginContour","beginShape","bezierVertex","curveVertex","endContour","endShape","quadraticVertex","vertex","ellipseMode","noSmooth","rectMode","smooth","strokeCap","strokeJoin","strokeWeight","mouseClicked","mouseDragged","mouseMoved","mousePressed","mouseReleased","mouseWheel","keyPressed","keyPressedkeyReleased","keyTyped","print","println","save","saveFrame","day","hour","millis","minute","month","second","year","background","clear","colorMode","fill","noFill","noStroke","stroke","alpha","blue","brightness","color","green","hue","lerpColor","red","saturation","modelX","modelY","modelZ","screenX","screenY","screenZ","ambient","emissive","shininess","specular","add","createImage","beginCamera","camera","endCamera","frustum","ortho","perspective","printCamera","printProjection","cursor","frameRate","noCursor","exit","loop","noLoop","popStyle","pushStyle","redraw","binary","boolean","byte","char","float","hex","int","str","unbinary","unhex","join","match","matchAll","nf","nfc","nfp","nfs","split","splitTokens","trim","append","arrayCopy","concat","expand","reverse","shorten","sort","splice","subset","box","sphere","sphereDetail","createInput","createReader","loadBytes","loadJSONArray","loadJSONObject","loadStrings","loadTable","loadXML","open","parseXML","saveTable","selectFolder","selectInput","beginRaw","beginRecord","createOutput","createWriter","endRaw","endRecord","PrintWritersaveBytes","saveJSONArray","saveJSONObject","saveStream","saveStrings","saveXML","selectOutput","popMatrix","printMatrix","pushMatrix","resetMatrix","rotate","rotateX","rotateY","rotateZ","scale","shearX","shearY","translate","ambientLight","directionalLight","lightFalloff","lights","lightSpecular","noLights","normal","pointLight","spotLight","image","imageMode","loadImage","noTint","requestImage","tint","texture","textureMode","textureWrap","blend","copy","filter","get","loadPixels","set","updatePixels","blendMode","loadShader","PShaderresetShader","shader","createFont","loadFont","text","textFont","textAlign","textLeading","textMode","textSize","textWidth","textAscent","textDescent","abs","ceil","constrain","dist","exp","floor","lerp","log","mag","map","max","min","norm","pow","round","sq","sqrt","acos","asin","atan","atan2","cos","degrees","radians","sin","tan","noise","noiseDetail","noiseSeed","random","randomGaussian","randomSeed"],ld=qa.IDENT_RE,ud={variants:[{match:nd.concat(nd.either(...od),nd.lookahead(/\s*\(/)),className:"built_in"},{relevance:0,match:nd.concat(/\b(?!for|if|while)/,ld,nd.lookahead(/\s*\(/)),className:"title.function"}]},dd={match:[/new\s+/,ld],className:{1:"keyword",2:"class.title"}},pd={relevance:0,match:[/\./,ld],className:{2:"property"}},fd={variants:[{match:[/class/,/\s+/,ld,/\s+/,/extends/,/\s+/,ld]},{match:[/class/,/\s+/,ld]}],className:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},md=["boolean","byte","char","color","double","float","int","long","short"],vd=["BufferedReader","PVector","PFont","PImage","PGraphics","HashMap","String","Array","FloatDict","ArrayList","FloatList","IntDict","IntList","JSONArray","JSONObject","Object","StringDict","StringList","Table","TableRow","XML"];return{name:"Processing",aliases:["pde"],keywords:{keyword:[...["abstract","assert","break","case","catch","const","continue","default","else","enum","final","finally","for","if","import","instanceof","long","native","new","package","private","private","protected","protected","public","public","return","static","strictfp","switch","synchronized","throw","throws","transient","try","void","volatile","while"]],literal:"P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI null true false",title:"setup draw",variable:"super this",built_in:[...od,...vd],type:md},contains:[fd,dd,ud,pd,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,qa.C_NUMBER_MODE]}}return processing_1=Ra,processing_1}var profile_1,hasRequiredProfile;function requireProfile(){if(hasRequiredProfile)return profile_1;hasRequiredProfile=1;function Ra(qa){return{name:"Python profiler",contains:[qa.C_NUMBER_MODE,{begin:"[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",end:":",excludeEnd:!0},{begin:"(ncalls|tottime|cumtime)",end:"$",keywords:"ncalls tottime|10 cumtime|10 filename",relevance:10},{begin:"function calls",end:"$",contains:[qa.C_NUMBER_MODE],relevance:10},qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,{className:"string",begin:"\\(",end:"\\)$",excludeBegin:!0,excludeEnd:!0,relevance:0}]}}return profile_1=Ra,profile_1}var prolog_1,hasRequiredProlog;function requireProlog(){if(hasRequiredProlog)return prolog_1;hasRequiredProlog=1;function Ra(qa){const nd={begin:/[a-z][A-Za-z0-9_]*/,relevance:0},od={className:"symbol",variants:[{begin:/[A-Z][a-zA-Z0-9_]*/},{begin:/_[A-Za-z0-9_]*/}],relevance:0},ld={begin:/\(/,end:/\)/,relevance:0},ud={begin:/\[/,end:/\]/},dd={className:"comment",begin:/%/,end:/$/,contains:[qa.PHRASAL_WORDS_MODE]},pd={className:"string",begin:/`/,end:/`/,contains:[qa.BACKSLASH_ESCAPE]},fd={className:"string",begin:/0'(\\'|.)/},md={className:"string",begin:/0'\\s/},Ad=[nd,od,ld,{begin:/:-/},ud,dd,qa.C_BLOCK_COMMENT_MODE,qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE,pd,fd,md,qa.C_NUMBER_MODE];return ld.contains=Ad,ud.contains=Ad,{name:"Prolog",contains:Ad.concat([{begin:/\.$/}])}}return prolog_1=Ra,prolog_1}var properties_1,hasRequiredProperties;function requireProperties(){if(hasRequiredProperties)return properties_1;hasRequiredProperties=1;function Ra(qa){const nd="[ \\t\\f]*",od="[ \\t\\f]+",ld=nd+"[:=]"+nd,ud=od,dd="("+ld+"|"+ud+")",pd="([^\\\\:= \\t\\f\\n]|\\\\.)+",fd={end:dd,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,contains:[qa.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:pd+ld},{begin:pd+ud}],contains:[{className:"attr",begin:pd,endsParent:!0}],starts:fd},{className:"attr",begin:pd+nd+"$"}]}}return properties_1=Ra,properties_1}var protobuf_1,hasRequiredProtobuf;function requireProtobuf(){if(hasRequiredProtobuf)return protobuf_1;hasRequiredProtobuf=1;function Ra(qa){const nd=["package","import","option","optional","required","repeated","group","oneof"],od=["double","float","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","bool","string","bytes"],ld={match:[/(message|enum|service)\s+/,qa.IDENT_RE],scope:{1:"keyword",2:"title.class"}};return{name:"Protocol Buffers",aliases:["proto"],keywords:{keyword:nd,type:od,literal:["true","false"]},contains:[qa.QUOTE_STRING_MODE,qa.NUMBER_MODE,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,ld,{className:"function",beginKeywords:"rpc",end:/[{;]/,excludeEnd:!0,keywords:"rpc returns"},{begin:/^\s*[A-Z_]+(?=\s*=[^\n]+;$)/}]}}return protobuf_1=Ra,protobuf_1}var puppet_1,hasRequiredPuppet;function requirePuppet(){if(hasRequiredPuppet)return puppet_1;hasRequiredPuppet=1;function Ra(qa){const nd={keyword:"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal:"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in:"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"},od=qa.COMMENT("#","$"),ld="([A-Za-z_]|::)(\\w|::)*",ud=qa.inherit(qa.TITLE_MODE,{begin:ld}),dd={className:"variable",begin:"\\$"+ld},pd={className:"string",contains:[qa.BACKSLASH_ESCAPE,dd],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{name:"Puppet",aliases:["pp"],contains:[od,dd,pd,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[ud,od]},{beginKeywords:"define",end:/\{/,contains:[{className:"section",begin:qa.IDENT_RE,endsParent:!0}]},{begin:qa.IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\S/,contains:[{className:"keyword",begin:qa.IDENT_RE,relevance:.2},{begin:/\{/,end:/\}/,keywords:nd,relevance:0,contains:[pd,od,{begin:"[a-zA-Z_]+\\s*=>",returnBegin:!0,end:"=>",contains:[{className:"attr",begin:qa.IDENT_RE}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},dd]}],relevance:0}]}}return puppet_1=Ra,puppet_1}var purebasic_1,hasRequiredPurebasic;function requirePurebasic(){if(hasRequiredPurebasic)return purebasic_1;hasRequiredPurebasic=1;function Ra(qa){const nd={className:"string",begin:'(~)?"',end:'"',illegal:"\\n"},od={className:"symbol",begin:"#[a-zA-Z_]\\w*\\$?"};return{name:"PureBASIC",aliases:["pb","pbi"],keywords:"Align And Array As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerElseIf CompilerEndIf CompilerEndSelect CompilerError CompilerIf CompilerSelect CompilerWarning Continue Data DataSection Debug DebugLevel Declare DeclareC DeclareCDLL DeclareDLL DeclareModule Default Define Dim DisableASM DisableDebugger DisableExplicit Else ElseIf EnableASM EnableDebugger EnableExplicit End EndDataSection EndDeclareModule EndEnumeration EndIf EndImport EndInterface EndMacro EndModule EndProcedure EndSelect EndStructure EndStructureUnion EndWith Enumeration EnumerationBinary Extends FakeReturn For ForEach ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface List Macro MacroExpandedCount Map Module NewList NewMap Next Not Or Procedure ProcedureC ProcedureCDLL ProcedureDLL ProcedureReturn Protected Prototype PrototypeC ReDim Read Repeat Restore Return Runtime Select Shared Static Step Structure StructureUnion Swap Threaded To UndefineMacro Until Until UnuseModule UseModule Wend While With XIncludeFile XOr",contains:[qa.COMMENT(";","$",{relevance:0}),{className:"function",begin:"\\b(Procedure|Declare)(C|CDLL|DLL)?\\b",end:"\\(",excludeEnd:!0,returnBegin:!0,contains:[{className:"keyword",begin:"(Procedure|Declare)(C|CDLL|DLL)?",excludeEnd:!0},{className:"type",begin:"\\.\\w*"},qa.UNDERSCORE_TITLE_MODE]},nd,od]}}return purebasic_1=Ra,purebasic_1}var python_1,hasRequiredPython;function requirePython(){if(hasRequiredPython)return python_1;hasRequiredPython=1;function Ra(qa){const nd=qa.regex,od=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),ld=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],fd={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:ld,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},md={className:"meta",begin:/^(>>>|\.\.\.) /},vd={className:"subst",begin:/\{/,end:/\}/,keywords:fd,illegal:/#/},Ad={begin:/\{\{/,relevance:0},Nd={className:"string",contains:[qa.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[qa.BACKSLASH_ESCAPE,md],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[qa.BACKSLASH_ESCAPE,md],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[qa.BACKSLASH_ESCAPE,md,Ad,vd]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[qa.BACKSLASH_ESCAPE,md,Ad,vd]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[qa.BACKSLASH_ESCAPE,Ad,vd]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[qa.BACKSLASH_ESCAPE,Ad,vd]},qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE]},Od="[0-9](_?[0-9])*",kd=`(\\b(${Od}))?\\.(${Od})|\\b(${Od})\\.`,Ld=`\\b|${ld.join("|")}`,Gd={className:"number",relevance:0,variants:[{begin:`(\\b(${Od})|(${kd}))[eE][+-]?(${Od})[jJ]?(?=${Ld})`},{begin:`(${kd})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${Ld})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${Ld})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${Ld})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${Ld})`},{begin:`\\b(${Od})[jJ](?=${Ld})`}]},jd={className:"comment",begin:nd.lookahead(/# type:/),end:/$/,keywords:fd,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},Fd={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:fd,contains:["self",md,Gd,Nd,qa.HASH_COMMENT_MODE]}]};return vd.contains=[Nd,Gd,md],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:fd,illegal:/(<\/|\?)|=>/,contains:[md,Gd,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},Nd,jd,qa.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,od],scope:{1:"keyword",3:"title.function"},contains:[Fd]},{variants:[{match:[/\bclass/,/\s+/,od,/\s*/,/\(\s*/,od,/\s*\)/]},{match:[/\bclass/,/\s+/,od]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[Gd,Fd,Nd]}]}}return python_1=Ra,python_1}var pythonRepl_1,hasRequiredPythonRepl;function requirePythonRepl(){if(hasRequiredPythonRepl)return pythonRepl_1;hasRequiredPythonRepl=1;function Ra(qa){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return pythonRepl_1=Ra,pythonRepl_1}var q_1,hasRequiredQ;function requireQ(){if(hasRequiredQ)return q_1;hasRequiredQ=1;function Ra(qa){return{name:"Q",aliases:["k","kdb"],keywords:{$pattern:/(`?)[A-Za-z0-9_]+\b/,keyword:"do while select delete by update from",literal:"0b 1b",built_in:"neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum",type:"`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid"},contains:[qa.C_LINE_COMMENT_MODE,qa.QUOTE_STRING_MODE,qa.C_NUMBER_MODE]}}return q_1=Ra,q_1}var qml_1,hasRequiredQml;function requireQml(){if(hasRequiredQml)return qml_1;hasRequiredQml=1;function Ra(qa){const nd=qa.regex,od={keyword:"in of on if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Behavior bool color coordinate date double enumeration font geocircle georectangle geoshape int list matrix4x4 parent point quaternion real rect size string url variant vector2d vector3d vector4d Promise"},ld="[a-zA-Z_][a-zA-Z0-9\\._]*",ud={className:"keyword",begin:"\\bproperty\\b",starts:{className:"string",end:"(:|=|;|,|//|/\\*|$)",returnEnd:!0}},dd={className:"keyword",begin:"\\bsignal\\b",starts:{className:"string",end:"(\\(|:|=|;|,|//|/\\*|$)",returnEnd:!0}},pd={className:"attribute",begin:"\\bid\\s*:",starts:{className:"string",end:ld,returnEnd:!1}},fd={begin:ld+"\\s*:",returnBegin:!0,contains:[{className:"attribute",begin:ld,end:"\\s*:",excludeEnd:!0,relevance:0}],relevance:0},md={begin:nd.concat(ld,/\s*\{/),end:/\{/,returnBegin:!0,relevance:0,contains:[qa.inherit(qa.TITLE_MODE,{begin:ld})]};return{name:"QML",aliases:["qt"],case_insensitive:!1,keywords:od,contains:[{className:"meta",begin:/^\s*['"]use (strict|asm)['"]/},qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[qa.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:qa.C_NUMBER_RE}],relevance:0},{begin:"("+qa.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.REGEXP_MODE,{begin:/</,end:/>\s*[);\]]/,relevance:0,subLanguage:"xml"}],relevance:0},dd,ud,{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[qa.inherit(qa.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]}],illegal:/\[|%/},{begin:"\\."+qa.IDENT_RE,relevance:0},pd,fd,md],illegal:/#/}}return qml_1=Ra,qml_1}var r_1,hasRequiredR;function requireR(){if(hasRequiredR)return r_1;hasRequiredR=1;function Ra(qa){const nd=qa.regex,od=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,ld=nd.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),ud=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,dd=nd.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:od,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[qa.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:nd.lookahead(nd.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:od},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),qa.HASH_COMMENT_MODE,{scope:"string",contains:[qa.BACKSLASH_ESCAPE],variants:[qa.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),qa.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),qa.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),qa.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),qa.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),qa.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[ud,ld]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,ld]},{scope:{1:"punctuation",2:"number"},match:[dd,ld]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,ld]}]},{scope:{3:"operator"},match:[od,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:ud},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:dd},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}return r_1=Ra,r_1}var reasonml_1,hasRequiredReasonml;function requireReasonml(){if(hasRequiredReasonml)return reasonml_1;hasRequiredReasonml=1;function Ra(qa){return{name:"ReasonML",aliases:["re"],keywords:{$pattern:/[a-z_]\w*!?/,keyword:["and","as","asr","assert","begin","class","constraint","do","done","downto","else","end","esfun","exception","external","for","fun","function","functor","if","in","include","inherit","initializer","land","lazy","let","lor","lsl","lsr","lxor","mod","module","mutable","new","nonrec","object","of","open","or","pri","pub","rec","sig","struct","switch","then","to","try","type","val","virtual","when","while","with"],built_in:["array","bool","bytes","char","exn|5","float","int","int32","int64","list","lazy_t|5","nativeint|5","ref","string","unit"],literal:["true","false"]},illegal:/(:-|:=|\$\{|\+=)/,contains:[{scope:"literal",match:/\[(\|\|)?\]|\(\)/,relevance:0},qa.C_LINE_COMMENT_MODE,qa.COMMENT(/\/\*/,/\*\//,{illegal:/^(#,\/\/)/}),{scope:"symbol",match:/\'[A-Za-z_](?!\')[\w\']*/},{scope:"type",match:/`[A-Z][\w\']*/},{scope:"type",match:/\b[A-Z][\w\']*/,relevance:0},{match:/[a-z_]\w*\'[\w\']*/,relevance:0},{scope:"operator",match:/\s+(\|\||\+[\+\.]?|\*[\*\/\.]?|\/[\.]?|\.\.\.|\|>|&&|===?)\s+/,relevance:0},qa.inherit(qa.APOS_STRING_MODE,{scope:"string",relevance:0}),qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null}),{scope:"number",variants:[{match:/\b0[xX][a-fA-F0-9_]+[Lln]?/},{match:/\b0[oO][0-7_]+[Lln]?/},{match:/\b0[bB][01_]+[Lln]?/},{match:/\b[0-9][0-9_]*([Lln]|(\.[0-9_]*)?([eE][-+]?[0-9_]+)?)/}],relevance:0}]}}return reasonml_1=Ra,reasonml_1}var rib_1,hasRequiredRib;function requireRib(){if(hasRequiredRib)return rib_1;hasRequiredRib=1;function Ra(qa){return{name:"RenderMan RIB",keywords:"ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry Hider Hyperboloid Identity Illuminate Imager Interior LightSource MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd",illegal:"</",contains:[qa.HASH_COMMENT_MODE,qa.C_NUMBER_MODE,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE]}}return rib_1=Ra,rib_1}var roboconf_1,hasRequiredRoboconf;function requireRoboconf(){if(hasRequiredRoboconf)return roboconf_1;hasRequiredRoboconf=1;function Ra(qa){const nd="[a-zA-Z-_][^\\n{]+\\{",od={className:"attribute",begin:/[a-zA-Z-_]+/,end:/\s*:/,excludeEnd:!0,starts:{end:";",relevance:0,contains:[{className:"variable",begin:/\.[a-zA-Z-_]+/},{className:"keyword",begin:/\(optional\)/}]}};return{name:"Roboconf",aliases:["graph","instances"],case_insensitive:!0,keywords:"import",contains:[{begin:"^facet "+nd,end:/\}/,keywords:"facet",contains:[od,qa.HASH_COMMENT_MODE]},{begin:"^\\s*instance of "+nd,end:/\}/,keywords:"name count channels instance-data instance-state instance of",illegal:/\S/,contains:["self",od,qa.HASH_COMMENT_MODE]},{begin:"^"+nd,end:/\}/,contains:[od,qa.HASH_COMMENT_MODE]},qa.HASH_COMMENT_MODE]}}return roboconf_1=Ra,roboconf_1}var routeros_1,hasRequiredRouteros;function requireRouteros(){if(hasRequiredRouteros)return routeros_1;hasRequiredRouteros=1;function Ra(qa){const nd="foreach do while for if from to step else on-error and or not in",od="global local beep delay put len typeof pick log time set find environment terminal error execute parse resolve toarray tobool toid toip toip6 tonum tostr totime",ld="add remove enable disable set get print export edit find run debug error info warning",ud="true false yes no nothing nil null",dd="traffic-flow traffic-generator firewall scheduler aaa accounting address-list address align area bandwidth-server bfd bgp bridge client clock community config connection console customer default dhcp-client dhcp-server discovery dns e-mail ethernet filter firmware gps graphing group hardware health hotspot identity igmp-proxy incoming instance interface ip ipsec ipv6 irq l2tp-server lcd ldp logging mac-server mac-winbox mangle manual mirror mme mpls nat nd neighbor network note ntp ospf ospf-v3 ovpn-server page peer pim ping policy pool port ppp pppoe-client pptp-server prefix profile proposal proxy queue radius resource rip ripng route routing screen script security-profiles server service service-port settings shares smb sms sniffer snmp snooper socks sstp-server system tool tracking type upgrade upnp user-manager users user vlan secret vrrp watchdog web-access wireless pptp pppoe lan wan layer7-protocol lease simple raw",pd={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},fd={className:"string",begin:/"/,end:/"/,contains:[qa.BACKSLASH_ESCAPE,pd,{className:"variable",begin:/\$\(/,end:/\)/,contains:[qa.BACKSLASH_ESCAPE]}]},md={className:"string",begin:/'/,end:/'/};return{name:"MikroTik RouterOS script",aliases:["mikrotik"],case_insensitive:!0,keywords:{$pattern:/:?[\w-]+/,literal:ud,keyword:nd+" :"+nd.split(" ").join(" :")+" :"+od.split(" ").join(" :")},contains:[{variants:[{begin:/\/\*/,end:/\*\//},{begin:/\/\//,end:/$/},{begin:/<\//,end:/>/}],illegal:/./},qa.COMMENT("^#","$"),fd,md,pd,{begin:/[\w-]+=([^\s{}[\]()>]+)/,relevance:0,returnBegin:!0,contains:[{className:"attribute",begin:/[^=]+/},{begin:/=/,endsWithParent:!0,relevance:0,contains:[fd,md,pd,{className:"literal",begin:"\\b("+ud.split(" ").join("|")+")\\b"},{begin:/("[^"]*"|[^\s{}[\]]+)/}]}]},{className:"number",begin:/\*[0-9a-fA-F]+/},{begin:"\\b("+ld.split(" ").join("|")+")([\\s[(\\]|])",returnBegin:!0,contains:[{className:"built_in",begin:/\w+/}]},{className:"built_in",variants:[{begin:"(\\.\\./|/|\\s)(("+dd.split(" ").join("|")+");?\\s)+"},{begin:/\.\./,relevance:0}]}]}}return routeros_1=Ra,routeros_1}var rsl_1,hasRequiredRsl;function requireRsl(){if(hasRequiredRsl)return rsl_1;hasRequiredRsl=1;function Ra(qa){const nd=["abs","acos","ambient","area","asin","atan","atmosphere","attribute","calculatenormal","ceil","cellnoise","clamp","comp","concat","cos","degrees","depth","Deriv","diffuse","distance","Du","Dv","environment","exp","faceforward","filterstep","floor","format","fresnel","incident","length","lightsource","log","match","max","min","mod","noise","normalize","ntransform","opposite","option","phong","pnoise","pow","printf","ptlined","radians","random","reflect","refract","renderinfo","round","setcomp","setxcomp","setycomp","setzcomp","shadow","sign","sin","smoothstep","specular","specularbrdf","spline","sqrt","step","tan","texture","textureinfo","trace","transform","vtransform","xcomp","ycomp","zcomp"],od=["matrix","float","color","point","normal","vector"],ld=["while","for","if","do","return","else","break","extern","continue"],ud={match:[/(surface|displacement|light|volume|imager)/,/\s+/,qa.IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"RenderMan RSL",keywords:{keyword:ld,built_in:nd,type:od},illegal:"</",contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE,qa.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},ud,{beginKeywords:"illuminate illuminance gather",end:"\\("}]}}return rsl_1=Ra,rsl_1}var ruleslanguage_1,hasRequiredRuleslanguage;function requireRuleslanguage(){if(hasRequiredRuleslanguage)return ruleslanguage_1;hasRequiredRuleslanguage=1;function Ra(qa){return{name:"Oracle Rules Language",keywords:{keyword:"BILL_PERIOD BILL_START BILL_STOP RS_EFFECTIVE_START RS_EFFECTIVE_STOP RS_JURIS_CODE RS_OPCO_CODE INTDADDATTRIBUTE|5 INTDADDVMSG|5 INTDBLOCKOP|5 INTDBLOCKOPNA|5 INTDCLOSE|5 INTDCOUNT|5 INTDCOUNTSTATUSCODE|5 INTDCREATEMASK|5 INTDCREATEDAYMASK|5 INTDCREATEFACTORMASK|5 INTDCREATEHANDLE|5 INTDCREATEOVERRIDEDAYMASK|5 INTDCREATEOVERRIDEMASK|5 INTDCREATESTATUSCODEMASK|5 INTDCREATETOUPERIOD|5 INTDDELETE|5 INTDDIPTEST|5 INTDEXPORT|5 INTDGETERRORCODE|5 INTDGETERRORMESSAGE|5 INTDISEQUAL|5 INTDJOIN|5 INTDLOAD|5 INTDLOADACTUALCUT|5 INTDLOADDATES|5 INTDLOADHIST|5 INTDLOADLIST|5 INTDLOADLISTDATES|5 INTDLOADLISTENERGY|5 INTDLOADLISTHIST|5 INTDLOADRELATEDCHANNEL|5 INTDLOADSP|5 INTDLOADSTAGING|5 INTDLOADUOM|5 INTDLOADUOMDATES|5 INTDLOADUOMHIST|5 INTDLOADVERSION|5 INTDOPEN|5 INTDREADFIRST|5 INTDREADNEXT|5 INTDRECCOUNT|5 INTDRELEASE|5 INTDREPLACE|5 INTDROLLAVG|5 INTDROLLPEAK|5 INTDSCALAROP|5 INTDSCALE|5 INTDSETATTRIBUTE|5 INTDSETDSTPARTICIPANT|5 INTDSETSTRING|5 INTDSETVALUE|5 INTDSETVALUESTATUS|5 INTDSHIFTSTARTTIME|5 INTDSMOOTH|5 INTDSORT|5 INTDSPIKETEST|5 INTDSUBSET|5 INTDTOU|5 INTDTOURELEASE|5 INTDTOUVALUE|5 INTDUPDATESTATS|5 INTDVALUE|5 STDEV INTDDELETEEX|5 INTDLOADEXACTUAL|5 INTDLOADEXCUT|5 INTDLOADEXDATES|5 INTDLOADEX|5 INTDLOADEXRELATEDCHANNEL|5 INTDSAVEEX|5 MVLOAD|5 MVLOADACCT|5 MVLOADACCTDATES|5 MVLOADACCTHIST|5 MVLOADDATES|5 MVLOADHIST|5 MVLOADLIST|5 MVLOADLISTDATES|5 MVLOADLISTHIST|5 IF FOR NEXT DONE SELECT END CALL ABORT CLEAR CHANNEL FACTOR LIST NUMBER OVERRIDE SET WEEK DISTRIBUTIONNODE ELSE WHEN THEN OTHERWISE IENUM CSV INCLUDE LEAVE RIDER SAVE DELETE NOVALUE SECTION WARN SAVE_UPDATE DETERMINANT LABEL REPORT REVENUE EACH IN FROM TOTAL CHARGE BLOCK AND OR CSV_FILE RATE_CODE AUXILIARY_DEMAND UIDACCOUNT RS BILL_PERIOD_SELECT HOURS_PER_MONTH INTD_ERROR_STOP SEASON_SCHEDULE_NAME ACCOUNTFACTOR ARRAYUPPERBOUND CALLSTOREDPROC GETADOCONNECTION GETCONNECT GETDATASOURCE GETQUALIFIER GETUSERID HASVALUE LISTCOUNT LISTOP LISTUPDATE LISTVALUE PRORATEFACTOR RSPRORATE SETBINPATH SETDBMONITOR WQ_OPEN BILLINGHOURS DATE DATEFROMFLOAT DATETIMEFROMSTRING DATETIMETOSTRING DATETOFLOAT DAY DAYDIFF DAYNAME DBDATETIME HOUR MINUTE MONTH MONTHDIFF MONTHHOURS MONTHNAME ROUNDDATE SAMEWEEKDAYLASTYEAR SECOND WEEKDAY WEEKDIFF YEAR YEARDAY YEARSTR COMPSUM HISTCOUNT HISTMAX HISTMIN HISTMINNZ HISTVALUE MAXNRANGE MAXRANGE MINRANGE COMPIKVA COMPKVA COMPKVARFROMKQKW COMPLF IDATTR FLAG LF2KW LF2KWH MAXKW POWERFACTOR READING2USAGE AVGSEASON MAXSEASON MONTHLYMERGE SEASONVALUE SUMSEASON ACCTREADDATES ACCTTABLELOAD CONFIGADD CONFIGGET CREATEOBJECT CREATEREPORT EMAILCLIENT EXPBLKMDMUSAGE EXPMDMUSAGE EXPORT_USAGE FACTORINEFFECT GETUSERSPECIFIEDSTOP INEFFECT ISHOLIDAY RUNRATE SAVE_PROFILE SETREPORTTITLE USEREXIT WATFORRUNRATE TO TABLE ACOS ASIN ATAN ATAN2 BITAND CEIL COS COSECANT COSH COTANGENT DIVQUOT DIVREM EXP FABS FLOOR FMOD FREPM FREXPN LOG LOG10 MAX MAXN MIN MINNZ MODF POW ROUND ROUND2VALUE ROUNDINT SECANT SIN SINH SQROOT TAN TANH FLOAT2STRING FLOAT2STRINGNC INSTR LEFT LEN LTRIM MID RIGHT RTRIM STRING STRINGNC TOLOWER TOUPPER TRIM NUMDAYS READ_DATE STAGING",built_in:"IDENTIFIER OPTIONS XML_ELEMENT XML_OP XML_ELEMENT_OF DOMDOCCREATE DOMDOCLOADFILE DOMDOCLOADXML DOMDOCSAVEFILE DOMDOCGETROOT DOMDOCADDPI DOMNODEGETNAME DOMNODEGETTYPE DOMNODEGETVALUE DOMNODEGETCHILDCT DOMNODEGETFIRSTCHILD DOMNODEGETSIBLING DOMNODECREATECHILDELEMENT DOMNODESETATTRIBUTE DOMNODEGETCHILDELEMENTCT DOMNODEGETFIRSTCHILDELEMENT DOMNODEGETSIBLINGELEMENT DOMNODEGETATTRIBUTECT DOMNODEGETATTRIBUTEI DOMNODEGETATTRIBUTEBYNAME DOMNODEGETBYNAME"},contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,qa.C_NUMBER_MODE,{className:"literal",variants:[{begin:"#\\s+",relevance:0},{begin:"#[a-zA-Z .]+"}]}]}}return ruleslanguage_1=Ra,ruleslanguage_1}var rust_1,hasRequiredRust;function requireRust(){if(hasRequiredRust)return rust_1;hasRequiredRust=1;function Ra(qa){const nd=qa.regex,od=/(r#)?/,ld=nd.concat(od,qa.UNDERSCORE_IDENT_RE),ud=nd.concat(od,qa.IDENT_RE),dd={className:"title.function.invoke",relevance:0,begin:nd.concat(/\b/,/(?!let|for|while|if|else|match\b)/,ud,nd.lookahead(/\s*\(/))},pd="([ui](8|16|32|64|128|size)|f(32|64))?",fd=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","union","unsafe","unsized","use","virtual","where","while","yield"],md=["true","false","Some","None","Ok","Err"],vd=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],Ad=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:qa.IDENT_RE+"!?",type:Ad,keyword:fd,literal:md,built_in:vd},illegal:"</",contains:[qa.C_LINE_COMMENT_MODE,qa.COMMENT("/\\*","\\*/",{contains:["self"]}),qa.inherit(qa.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/}]},{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*/},{className:"number",variants:[{begin:"\\b0b([01_]+)"+pd},{begin:"\\b0o([0-7_]+)"+pd},{begin:"\\b0x([A-Fa-f0-9_]+)"+pd},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+pd}],relevance:0},{begin:[/fn/,/\s+/,ld],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/,contains:[qa.BACKSLASH_ESCAPE]}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,ld],className:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,ld,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,ld],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,ld],className:{1:"keyword",3:"title.class"}},{begin:qa.IDENT_RE+"::",keywords:{keyword:"Self",built_in:vd,type:Ad}},{className:"punctuation",begin:"->"},dd]}}return rust_1=Ra,rust_1}var sas_1,hasRequiredSas;function requireSas(){if(hasRequiredSas)return sas_1;hasRequiredSas=1;function Ra(qa){const nd=qa.regex,od=["do","if","then","else","end","until","while","abort","array","attrib","by","call","cards","cards4","catname","continue","datalines","datalines4","delete","delim","delimiter","display","dm","drop","endsas","error","file","filename","footnote","format","goto","in","infile","informat","input","keep","label","leave","length","libname","link","list","lostcard","merge","missing","modify","options","output","out","page","put","redirect","remove","rename","replace","retain","return","select","set","skip","startsas","stop","title","update","waitsas","where","window","x|0","systask","add","and","alter","as","cascade","check","create","delete","describe","distinct","drop","foreign","from","group","having","index","insert","into","in","key","like","message","modify","msgtype","not","null","on","or","order","primary","references","reset","restrict","select","set","table","unique","update","validate","view","where"],ld=["abs","addr","airy","arcos","arsin","atan","attrc","attrn","band","betainv","blshift","bnot","bor","brshift","bxor","byte","cdf","ceil","cexist","cinv","close","cnonct","collate","compbl","compound","compress","cos","cosh","css","curobs","cv","daccdb","daccdbsl","daccsl","daccsyd","dacctab","dairy","date","datejul","datepart","datetime","day","dclose","depdb","depdbsl","depdbsl","depsl","depsl","depsyd","depsyd","deptab","deptab","dequote","dhms","dif","digamma","dim","dinfo","dnum","dopen","doptname","doptnum","dread","dropnote","dsname","erf","erfc","exist","exp","fappend","fclose","fcol","fdelete","fetch","fetchobs","fexist","fget","fileexist","filename","fileref","finfo","finv","fipname","fipnamel","fipstate","floor","fnonct","fnote","fopen","foptname","foptnum","fpoint","fpos","fput","fread","frewind","frlen","fsep","fuzz","fwrite","gaminv","gamma","getoption","getvarc","getvarn","hbound","hms","hosthelp","hour","ibessel","index","indexc","indexw","input","inputc","inputn","int","intck","intnx","intrr","irr","jbessel","juldate","kurtosis","lag","lbound","left","length","lgamma","libname","libref","log","log10","log2","logpdf","logpmf","logsdf","lowcase","max","mdy","mean","min","minute","mod","month","mopen","mort","n","netpv","nmiss","normal","note","npv","open","ordinal","pathname","pdf","peek","peekc","pmf","point","poisson","poke","probbeta","probbnml","probchi","probf","probgam","probhypr","probit","probnegb","probnorm","probt","put","putc","putn","qtr","quote","ranbin","rancau","ranexp","rangam","range","rank","rannor","ranpoi","rantbl","rantri","ranuni","repeat","resolve","reverse","rewind","right","round","saving","scan","sdf","second","sign","sin","sinh","skewness","soundex","spedis","sqrt","std","stderr","stfips","stname","stnamel","substr","sum","symget","sysget","sysmsg","sysprod","sysrc","system","tan","tanh","time","timepart","tinv","tnonct","today","translate","tranwrd","trigamma","trim","trimn","trunc","uniform","upcase","uss","var","varfmt","varinfmt","varlabel","varlen","varname","varnum","varray","varrayx","vartype","verify","vformat","vformatd","vformatdx","vformatn","vformatnx","vformatw","vformatwx","vformatx","vinarray","vinarrayx","vinformat","vinformatd","vinformatdx","vinformatn","vinformatnx","vinformatw","vinformatwx","vinformatx","vlabel","vlabelx","vlength","vlengthx","vname","vnamex","vtype","vtypex","weekday","year","yyq","zipfips","zipname","zipnamel","zipstate"],ud=["bquote","nrbquote","cmpres","qcmpres","compstor","datatyp","display","do","else","end","eval","global","goto","if","index","input","keydef","label","left","length","let","local","lowcase","macro","mend","nrbquote","nrquote","nrstr","put","qcmpres","qleft","qlowcase","qscan","qsubstr","qsysfunc","qtrim","quote","qupcase","scan","str","substr","superq","syscall","sysevalf","sysexec","sysfunc","sysget","syslput","sysprod","sysrc","sysrput","then","to","trim","unquote","until","upcase","verify","while","window"];return{name:"SAS",case_insensitive:!0,keywords:{literal:["null","missing","_all_","_automatic_","_character_","_infile_","_n_","_name_","_null_","_numeric_","_user_","_webout_"],keyword:od},contains:[{className:"keyword",begin:/^\s*(proc [\w\d_]+|data|run|quit)[\s;]/},{className:"variable",begin:/&[a-zA-Z_&][a-zA-Z0-9_]*\.?/},{begin:[/^\s*/,/datalines;|cards;/,/(?:.*\n)+/,/^\s*;\s*$/],className:{2:"keyword",3:"string"}},{begin:[/%mend|%macro/,/\s+/,/[a-zA-Z_&][a-zA-Z0-9_]*/],className:{1:"built_in",3:"title.function"}},{className:"built_in",begin:"%"+nd.either(...ud)},{className:"title.function",begin:/%[a-zA-Z_][a-zA-Z_0-9]*/},{className:"meta",begin:nd.either(...ld)+"(?=\\()"},{className:"string",variants:[qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE]},qa.COMMENT("\\*",";"),qa.C_BLOCK_COMMENT_MODE]}}return sas_1=Ra,sas_1}var scala_1,hasRequiredScala;function requireScala(){if(hasRequiredScala)return scala_1;hasRequiredScala=1;function Ra(qa){const nd=qa.regex,od={className:"meta",begin:"@[A-Za-z]+"},ld={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:/\$\{/,end:/\}/}]},ud={className:"string",variants:[{begin:'"""',end:'"""'},{begin:'"',end:'"',illegal:"\\n",contains:[qa.BACKSLASH_ESCAPE]},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[qa.BACKSLASH_ESCAPE,ld]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[ld],relevance:10}]},dd={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},pd={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},fd={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[dd,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[dd,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]},pd]},md={className:"function",beginKeywords:"def",end:nd.lookahead(/[:={\[(\n;]/),contains:[pd]},vd={begin:[/^\s*/,"extension",/\s+(?=[[(])/],beginScope:{2:"keyword"}},Ad={begin:[/^\s*/,/end/,/\s+/,/(extension\b)?/],beginScope:{2:"keyword",4:"keyword"}},Nd=[{match:/\.inline\b/},{begin:/\binline(?=\s)/,keywords:"inline"}],Od={begin:[/\(\s*/,/using/,/\s+(?!\))/],beginScope:{2:"keyword"}};return{name:"Scala",keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if then forSome for while do throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit export enum given transparent"},contains:[{begin:["//>",/\s+/,/using/,/\s+/,/\S+/],beginScope:{1:"comment",3:"keyword",5:"type"},end:/$/,contains:[{className:"string",begin:/\S+/}]},qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,ud,dd,md,fd,qa.C_NUMBER_MODE,vd,Ad,...Nd,Od,od]}}return scala_1=Ra,scala_1}var scheme_1,hasRequiredScheme;function requireScheme(){if(hasRequiredScheme)return scheme_1;hasRequiredScheme=1;function Ra(qa){const nd="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",od="(-|\\+)?\\d+([./]\\d+)?",ld=od+"[+\\-]"+od+"i",ud={$pattern:nd,built_in:"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci<? char-ci=? char-ci>=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char<? char=? char>=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci<? string-ci=? string-ci>=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string<? string=? string>=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"},dd={className:"literal",begin:"(#t|#f|#\\\\"+nd+"|#\\\\.)"},pd={className:"number",variants:[{begin:od,relevance:0},{begin:ld,relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},fd=qa.QUOTE_STRING_MODE,md=[qa.COMMENT(";","$",{relevance:0}),qa.COMMENT("#\\|","\\|#")],vd={begin:nd,relevance:0},Ad={className:"symbol",begin:"'"+nd},Nd={endsWithParent:!0,relevance:0},Od={variants:[{begin:/'/},{begin:"`"}],contains:[{begin:"\\(",end:"\\)",contains:["self",dd,fd,pd,vd,Ad]}]},kd={className:"name",relevance:0,begin:nd,keywords:ud},Gd={variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[{begin:/lambda/,endsWithParent:!0,returnBegin:!0,contains:[kd,{endsParent:!0,variants:[{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/}],contains:[vd]}]},kd,Nd]};return Nd.contains=[dd,pd,fd,vd,Ad,Od,Gd].concat(md),{name:"Scheme",aliases:["scm"],illegal:/\S/,contains:[qa.SHEBANG(),pd,fd,Ad,Od,Gd].concat(md)}}return scheme_1=Ra,scheme_1}var scilab_1,hasRequiredScilab;function requireScilab(){if(hasRequiredScilab)return scilab_1;hasRequiredScilab=1;function Ra(qa){const nd=[qa.C_NUMBER_MODE,{className:"string",begin:`'|"`,end:`'|"`,contains:[qa.BACKSLASH_ESCAPE,{begin:"''"}]}];return{name:"Scilab",aliases:["sci"],keywords:{$pattern:/%?\w+/,keyword:"abort break case clear catch continue do elseif else endfunction end for function global if pause return resume select try then while",literal:"%f %F %t %T %pi %eps %inf %nan %e %i %z %s",built_in:"abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan type typename warning zeros matrix"},illegal:'("|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[qa.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{begin:"[a-zA-Z_][a-zA-Z_0-9]*[\\.']+",relevance:0},{begin:"\\[",end:"\\][\\.']*",relevance:0,contains:nd},qa.COMMENT("//","$")].concat(nd)}}return scilab_1=Ra,scilab_1}var scss_1,hasRequiredScss;function requireScss(){if(hasRequiredScss)return scss_1;hasRequiredScss=1;const Ra=md=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:md.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[md.APOS_STRING_MODE,md.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:md.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),qa=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],nd=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],od=[...qa,...nd],ld=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),ud=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),dd=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),pd=["accent-color","align-content","align-items","align-self","alignment-baseline","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-end-end-radius","border-end-start-radius","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","cx","cy","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","empty-cells","enable-background","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","flood-color","flood-opacity","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","kerning","justify-content","justify-items","justify-self","left","letter-spacing","lighting-color","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","marker","marker-end","marker-mid","marker-start","mask","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","speak","speak-as","src","tab-size","table-layout","text-anchor","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-offset","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","vector-effect","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index"].sort().reverse();function fd(md){const vd=Ra(md),Ad=dd,Nd=ud,Od="@[a-z-]+",kd="and or not only",Gd={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[md.C_LINE_COMMENT_MODE,md.C_BLOCK_COMMENT_MODE,vd.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},vd.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+od.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+Nd.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+Ad.join("|")+")"},Gd,{begin:/\(/,end:/\)/,contains:[vd.CSS_NUMBER_MODE]},vd.CSS_VARIABLE,{className:"attribute",begin:"\\b("+pd.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[vd.BLOCK_COMMENT,Gd,vd.HEXCOLOR,vd.CSS_NUMBER_MODE,md.QUOTE_STRING_MODE,md.APOS_STRING_MODE,vd.IMPORTANT,vd.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:Od,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:kd,attribute:ld.join(" ")},contains:[{begin:Od,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},Gd,md.QUOTE_STRING_MODE,md.APOS_STRING_MODE,vd.HEXCOLOR,vd.CSS_NUMBER_MODE]},vd.FUNCTION_DISPATCH]}}return scss_1=fd,scss_1}var shell_1,hasRequiredShell;function requireShell(){if(hasRequiredShell)return shell_1;hasRequiredShell=1;function Ra(qa){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}return shell_1=Ra,shell_1}var smali_1,hasRequiredSmali;function requireSmali(){if(hasRequiredSmali)return smali_1;hasRequiredSmali=1;function Ra(qa){const nd=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"],od=["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"],ld=["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"];return{name:"Smali",contains:[{className:"string",begin:'"',end:'"',relevance:0},qa.COMMENT("#","$",{relevance:0}),{className:"keyword",variants:[{begin:"\\s*\\.end\\s[a-zA-Z0-9]*"},{begin:"^[ ]*\\.[a-zA-Z]*",relevance:0},{begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{begin:"\\s("+ld.join("|")+")"}]},{className:"built_in",variants:[{begin:"\\s("+nd.join("|")+")\\s"},{begin:"\\s("+nd.join("|")+")((-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{begin:"\\s("+od.join("|")+")((-|/)[a-zA-Z0-9]+)*\\s",relevance:10}]},{className:"class",begin:`L[^(;:
]*;`,relevance:0},{begin:"[vp][0-9]+"}]}}return smali_1=Ra,smali_1}var smalltalk_1,hasRequiredSmalltalk;function requireSmalltalk(){if(hasRequiredSmalltalk)return smalltalk_1;hasRequiredSmalltalk=1;function Ra(qa){const nd="[a-z][a-zA-Z0-9_]*",od={className:"string",begin:"\\$.{1}"},ld={className:"symbol",begin:"#"+qa.UNDERSCORE_IDENT_RE};return{name:"Smalltalk",aliases:["st"],keywords:["self","super","nil","true","false","thisContext"],contains:[qa.COMMENT('"','"'),qa.APOS_STRING_MODE,{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:nd+":",relevance:0},qa.C_NUMBER_MODE,ld,od,{begin:"\\|[ ]*"+nd+"([ ]+"+nd+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+nd}]},{begin:"#\\(",end:"\\)",contains:[qa.APOS_STRING_MODE,od,qa.C_NUMBER_MODE,ld]}]}}return smalltalk_1=Ra,smalltalk_1}var sml_1,hasRequiredSml;function requireSml(){if(hasRequiredSml)return sml_1;hasRequiredSml=1;function Ra(qa){return{name:"SML (Standard ML)",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"abstype and andalso as case datatype do else end eqtype exception fn fun functor handle if in include infix infixr let local nonfix of op open orelse raise rec sharing sig signature struct structure then type val with withtype where while",built_in:"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:/\[(\|\|)?\]|\(\)/,relevance:0},qa.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*"},qa.inherit(qa.APOS_STRING_MODE,{className:"string",relevance:0}),qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}}return sml_1=Ra,sml_1}var sqf_1,hasRequiredSqf;function requireSqf(){if(hasRequiredSqf)return sqf_1;hasRequiredSqf=1;function Ra(qa){const nd={className:"variable",begin:/\b_+[a-zA-Z]\w*/},od={className:"title",begin:/[a-zA-Z][a-zA-Z_0-9]*_fnc_[a-zA-Z_0-9]+/},ld={className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]},{begin:"'",end:"'",contains:[{begin:"''",relevance:0}]}]},ud=["break","breakWith","breakOut","breakTo","case","catch","continue","continueWith","default","do","else","exit","exitWith","for","forEach","from","if","local","private","switch","step","then","throw","to","try","waitUntil","while","with"],dd=["blufor","civilian","configNull","controlNull","displayNull","diaryRecordNull","east","endl","false","grpNull","independent","lineBreak","locationNull","nil","objNull","opfor","pi","resistance","scriptNull","sideAmbientLife","sideEmpty","sideEnemy","sideFriendly","sideLogic","sideUnknown","taskNull","teamMemberNull","true","west"],pd=["abs","accTime","acos","action","actionIDs","actionKeys","actionKeysEx","actionKeysImages","actionKeysNames","actionKeysNamesArray","actionName","actionParams","activateAddons","activatedAddons","activateKey","activeTitleEffectParams","add3DENConnection","add3DENEventHandler","add3DENLayer","addAction","addBackpack","addBackpackCargo","addBackpackCargoGlobal","addBackpackGlobal","addBinocularItem","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","addonFiles","addOwnedMine","addPlayerScores","addPrimaryWeaponItem","addPublicVariableEventHandler","addRating","addResources","addScore","addScoreSide","addSecondaryWeaponItem","addSwitchableUnit","addTeamMember","addToRemainsCollector","addTorque","addUniform","addUserActionEventHandler","addVehicle","addVest","addWaypoint","addWeapon","addWeaponCargo","addWeaponCargoGlobal","addWeaponGlobal","addWeaponItem","addWeaponPool","addWeaponTurret","addWeaponWithAttachmentsCargo","addWeaponWithAttachmentsCargoGlobal","admin","agent","agents","AGLToASL","aimedAtTarget","aimPos","airDensityCurveRTD","airDensityRTD","airplaneThrottle","airportSide","AISFinishHeal","alive","all3DENEntities","allActiveTitleEffects","allAddonsInfo","allAirports","allControls","allCurators","allCutLayers","allDead","allDeadMen","allDiaryRecords","allDiarySubjects","allDisplays","allEnv3DSoundSources","allGroups","allLODs","allMapMarkers","allMines","allMissionObjects","allObjects","allow3DMode","allowCrewInImmobile","allowCuratorLogicIgnoreAreas","allowDamage","allowDammage","allowedService","allowFileOperations","allowFleeing","allowGetIn","allowService","allowSprint","allPlayers","allSimpleObjects","allSites","allTurrets","allUnits","allUnitsUAV","allUsers","allVariables","ambientTemperature","ammo","ammoOnPylon","and","animate","animateBay","animateDoor","animatePylon","animateSource","animationNames","animationPhase","animationSourcePhase","animationState","apertureParams","append","apply","armoryPoints","arrayIntersect","asin","ASLToAGL","ASLToATL","assert","assignAsCargo","assignAsCargoIndex","assignAsCommander","assignAsDriver","assignAsGunner","assignAsTurret","assignCurator","assignedCargo","assignedCommander","assignedDriver","assignedGroup","assignedGunner","assignedItems","assignedTarget","assignedTeam","assignedVehicle","assignedVehicleRole","assignedVehicles","assignItem","assignTeam","assignToAirport","atan","atan2","atg","ATLToASL","attachedObject","attachedObjects","attachedTo","attachObject","attachTo","attackEnabled","awake","backpack","backpackCargo","backpackContainer","backpackItems","backpackMagazines","backpackSpaceFor","behaviour","benchmark","bezierInterpolation","binocular","binocularItems","binocularMagazine","boundingBox","boundingBoxReal","boundingCenter","brakesDisabled","briefingName","buildingExit","buildingPos","buldozer_EnableRoadDiag","buldozer_IsEnabledRoadDiag","buldozer_LoadNewRoads","buldozer_reloadOperMap","buttonAction","buttonSetAction","cadetMode","calculatePath","calculatePlayerVisibilityByFriendly","call","callExtension","camCommand","camCommit","camCommitPrepared","camCommitted","camConstuctionSetParams","camCreate","camDestroy","cameraEffect","cameraEffectEnableHUD","cameraInterest","cameraOn","cameraView","campaignConfigFile","camPreload","camPreloaded","camPrepareBank","camPrepareDir","camPrepareDive","camPrepareFocus","camPrepareFov","camPrepareFovRange","camPreparePos","camPrepareRelPos","camPrepareTarget","camSetBank","camSetDir","camSetDive","camSetFocus","camSetFov","camSetFovRange","camSetPos","camSetRelPos","camSetTarget","camTarget","camUseNVG","canAdd","canAddItemToBackpack","canAddItemToUniform","canAddItemToVest","cancelSimpleTaskDestination","canDeployWeapon","canFire","canMove","canSlingLoad","canStand","canSuspend","canTriggerDynamicSimulation","canUnloadInCombat","canVehicleCargo","captive","captiveNum","cbChecked","cbSetChecked","ceil","channelEnabled","cheatsEnabled","checkAIFeature","checkVisibility","className","clear3DENAttribute","clear3DENInventory","clearAllItemsFromBackpack","clearBackpackCargo","clearBackpackCargoGlobal","clearForcesRTD","clearGroupIcons","clearItemCargo","clearItemCargoGlobal","clearItemPool","clearMagazineCargo","clearMagazineCargoGlobal","clearMagazinePool","clearOverlay","clearRadio","clearWeaponCargo","clearWeaponCargoGlobal","clearWeaponPool","clientOwner","closeDialog","closeDisplay","closeOverlay","collapseObjectTree","collect3DENHistory","collectiveRTD","collisionDisabledWith","combatBehaviour","combatMode","commandArtilleryFire","commandChat","commander","commandFire","commandFollow","commandFSM","commandGetOut","commandingMenu","commandMove","commandRadio","commandStop","commandSuppressiveFire","commandTarget","commandWatch","comment","commitOverlay","compatibleItems","compatibleMagazines","compile","compileFinal","compileScript","completedFSM","composeText","configClasses","configFile","configHierarchy","configName","configOf","configProperties","configSourceAddonList","configSourceMod","configSourceModList","confirmSensorTarget","connectTerminalToUAV","connectToServer","controlsGroupCtrl","conversationDisabled","copyFromClipboard","copyToClipboard","copyWaypoints","cos","count","countEnemy","countFriendly","countSide","countType","countUnknown","create3DENComposition","create3DENEntity","createAgent","createCenter","createDialog","createDiaryLink","createDiaryRecord","createDiarySubject","createDisplay","createGearDialog","createGroup","createGuardedPoint","createHashMap","createHashMapFromArray","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","ctrlAnimateModel","ctrlAnimationPhaseModel","ctrlAt","ctrlAutoScrollDelay","ctrlAutoScrollRewind","ctrlAutoScrollSpeed","ctrlBackgroundColor","ctrlChecked","ctrlClassName","ctrlCommit","ctrlCommitted","ctrlCreate","ctrlDelete","ctrlEnable","ctrlEnabled","ctrlFade","ctrlFontHeight","ctrlForegroundColor","ctrlHTMLLoaded","ctrlIDC","ctrlIDD","ctrlMapAnimAdd","ctrlMapAnimClear","ctrlMapAnimCommit","ctrlMapAnimDone","ctrlMapCursor","ctrlMapMouseOver","ctrlMapPosition","ctrlMapScale","ctrlMapScreenToWorld","ctrlMapSetPosition","ctrlMapWorldToScreen","ctrlModel","ctrlModelDirAndUp","ctrlModelScale","ctrlMousePosition","ctrlParent","ctrlParentControlsGroup","ctrlPosition","ctrlRemoveAllEventHandlers","ctrlRemoveEventHandler","ctrlScale","ctrlScrollValues","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","ctrlSetMousePosition","ctrlSetPixelPrecision","ctrlSetPosition","ctrlSetPositionH","ctrlSetPositionW","ctrlSetPositionX","ctrlSetPositionY","ctrlSetScale","ctrlSetScrollValues","ctrlSetShadow","ctrlSetStructuredText","ctrlSetText","ctrlSetTextColor","ctrlSetTextColorSecondary","ctrlSetTextSecondary","ctrlSetTextSelection","ctrlSetTooltip","ctrlSetTooltipColorBox","ctrlSetTooltipColorShade","ctrlSetTooltipColorText","ctrlSetTooltipMaxWidth","ctrlSetURL","ctrlSetURLOverlayMode","ctrlShadow","ctrlShow","ctrlShown","ctrlStyle","ctrlText","ctrlTextColor","ctrlTextHeight","ctrlTextSecondary","ctrlTextSelection","ctrlTextWidth","ctrlTooltip","ctrlType","ctrlURL","ctrlURLOverlayMode","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","currentPilot","currentTask","currentTasks","currentThrowable","currentVisionMode","currentWaypoint","currentWeapon","currentWeaponMode","currentWeaponTurret","currentZeroing","cursorObject","cursorTarget","customChat","customRadio","customWaypointPosition","cutFadeOut","cutObj","cutRsc","cutText","damage","date","dateToNumber","dayTime","deActivateKey","debriefingText","debugFSM","debugLog","decayGraphValues","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_allMissionEventHandlers","diag_captureFrame","diag_captureFrameToFile","diag_captureSlowFrame","diag_codePerformance","diag_deltaTime","diag_drawmode","diag_dumpCalltraceToLog","diag_dumpScriptAssembly","diag_dumpTerrainSynth","diag_dynamicSimulationEnd","diag_enable","diag_enabled","diag_exportConfig","diag_exportTerrainSVG","diag_fps","diag_fpsmin","diag_frameno","diag_getTerrainSegmentOffset","diag_lightNewLoad","diag_list","diag_localized","diag_log","diag_logSlowFrame","diag_mergeConfigFile","diag_recordTurretLimits","diag_resetFSM","diag_resetshapes","diag_scope","diag_setLightNew","diag_stacktrace","diag_tickTime","diag_toggle","dialog","diarySubjectExists","didJIP","didJIPOwner","difficulty","difficultyEnabled","difficultyEnabledRTD","difficultyOption","direction","directionStabilizationEnabled","directSay","disableAI","disableBrakes","disableCollisionWith","disableConversation","disableDebriefingStats","disableMapIndicators","disableNVGEquipment","disableRemoteSensors","disableSerialization","disableTIEquipment","disableUAVConnectability","disableUserInput","displayAddEventHandler","displayChild","displayCtrl","displayParent","displayRemoveAllEventHandlers","displayRemoveEventHandler","displaySetEventHandler","displayUniqueName","displayUpdate","dissolveTeam","distance","distance2D","distanceSqr","distributionRegion","do3DENAction","doArtilleryFire","doFire","doFollow","doFSM","doGetOut","doMove","doorPhase","doStop","doSuppressiveFire","doTarget","doWatch","drawArrow","drawEllipse","drawIcon","drawIcon3D","drawLaser","drawLine","drawLine3D","drawLink","drawLocation","drawPolygon","drawRectangle","drawTriangle","driver","drop","dynamicSimulationDistance","dynamicSimulationDistanceCoef","dynamicSimulationEnabled","dynamicSimulationSystemEnabled","echo","edit3DENMissionAttributes","editObject","editorSetEventHandler","effectiveCommander","elevatePeriscope","emptyPositions","enableAI","enableAIFeature","enableAimPrecision","enableAttack","enableAudioFeature","enableAutoStartUpRTD","enableAutoTrimRTD","enableCamShake","enableCaustics","enableChannel","enableCollisionWith","enableCopilot","enableDebriefingStats","enableDiagLegend","enableDirectionStabilization","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","endLoadingScreen","endMission","engineOn","enginesIsOnRTD","enginesPowerRTD","enginesRpmRTD","enginesTorqueRTD","entities","environmentEnabled","environmentVolume","equipmentDisabled","estimatedEndServerTime","estimatedTimeLeft","evalObjectArgument","everyBackpack","everyContainer","exec","execEditorScript","execFSM","execVM","exp","expectedDestination","exportJIPMessages","eyeDirection","eyePos","face","faction","fadeEnvironment","fadeMusic","fadeRadio","fadeSound","fadeSpeech","failMission","fileExists","fillWeaponsFromPool","find","findAny","findCover","findDisplay","findEditorObject","findEmptyPosition","findEmptyPositionReady","findIf","findNearestEnemy","finishMissionInit","finite","fire","fireAtTarget","firstBackpack","flag","flagAnimationPhase","flagOwner","flagSide","flagTexture","flatten","fleeing","floor","flyInHeight","flyInHeightASL","focusedCtrl","fog","fogForecast","fogParams","forceAddUniform","forceAtPositionRTD","forceCadetDifficulty","forcedMap","forceEnd","forceFlagTexture","forceFollowRoad","forceGeneratorRTD","forceMap","forceRespawn","forceSpeed","forceUnicode","forceWalk","forceWeaponFire","forceWeatherChange","forEachMember","forEachMemberAgent","forEachMemberTeam","forgetTarget","format","formation","formationDirection","formationLeader","formationMembers","formationPosition","formationTask","formatText","formLeader","freeExtension","freeLook","fromEditor","fuel","fullCrew","gearIDCAmmoCount","gearSlotAmmoCount","gearSlotData","gestureState","get","get3DENActionState","get3DENAttribute","get3DENCamera","get3DENConnections","get3DENEntity","get3DENEntityID","get3DENGrid","get3DENIconsVisible","get3DENLayerEntities","get3DENLinesVisible","get3DENMissionAttribute","get3DENMouseOver","get3DENSelected","getAimingCoef","getAllEnv3DSoundControllers","getAllEnvSoundControllers","getAllHitPointsDamage","getAllOwnedMines","getAllPylonsInfo","getAllSoundControllers","getAllUnitTraits","getAmmoCargo","getAnimAimPrecision","getAnimSpeedCoef","getArray","getArtilleryAmmo","getArtilleryComputerSettings","getArtilleryETA","getAssetDLCInfo","getAssignedCuratorLogic","getAssignedCuratorUnit","getAttackTarget","getAudioOptionVolumes","getBackpackCargo","getBleedingRemaining","getBurningValue","getCalculatePlayerVisibilityByFriendly","getCameraViewDirection","getCargoIndex","getCenterOfMass","getClientState","getClientStateNumber","getCompatiblePylonMagazines","getConnectedUAV","getConnectedUAVUnit","getContainerMaxLoad","getCorpse","getCruiseControl","getCursorObjectParams","getCustomAimCoef","getCustomSoundController","getCustomSoundControllerCount","getDammage","getDebriefingText","getDescription","getDir","getDirVisual","getDiverState","getDLCAssetsUsage","getDLCAssetsUsageByName","getDLCs","getDLCUsageTime","getEditorCamera","getEditorMode","getEditorObjectScope","getElevationOffset","getEngineTargetRPMRTD","getEnv3DSoundController","getEnvSoundController","getEventHandlerInfo","getFatigue","getFieldManualStartPage","getForcedFlagTexture","getForcedSpeed","getFriend","getFSMVariable","getFuelCargo","getGraphValues","getGroupIcon","getGroupIconParams","getGroupIcons","getHideFrom","getHit","getHitIndex","getHitPointDamage","getItemCargo","getLighting","getLightingAt","getLoadedModsInfo","getMagazineCargo","getMarkerColor","getMarkerPos","getMarkerSize","getMarkerType","getMass","getMissionConfig","getMissionConfigValue","getMissionDLCs","getMissionLayerEntities","getMissionLayers","getMissionPath","getModelInfo","getMousePosition","getMusicPlayedTime","getNumber","getObjectArgument","getObjectChildren","getObjectDLC","getObjectFOV","getObjectID","getObjectMaterials","getObjectProxy","getObjectScale","getObjectTextures","getObjectType","getObjectViewDistance","getOpticsMode","getOrDefault","getOrDefaultCall","getOxygenRemaining","getPersonUsedDLCs","getPilotCameraDirection","getPilotCameraPosition","getPilotCameraRotation","getPilotCameraTarget","getPiPViewDistance","getPlateNumber","getPlayerChannel","getPlayerID","getPlayerScores","getPlayerUID","getPlayerVoNVolume","getPos","getPosASL","getPosASLVisual","getPosASLW","getPosATL","getPosATLVisual","getPosVisual","getPosWorld","getPosWorldVisual","getPylonMagazines","getRelDir","getRelPos","getRemoteSensorsDisabled","getRepairCargo","getResolution","getRoadInfo","getRotorBrakeRTD","getSensorTargets","getSensorThreats","getShadowDistance","getShotParents","getSlingLoad","getSoundController","getSoundControllerResult","getSpeed","getStamina","getStatValue","getSteamFriendsServers","getSubtitleOptions","getSuppression","getTerrainGrid","getTerrainHeight","getTerrainHeightASL","getTerrainInfo","getText","getTextRaw","getTextureInfo","getTextWidth","getTiParameters","getTotalDLCUsageTime","getTrimOffsetRTD","getTurretLimits","getTurretOpticsMode","getUnitFreefallInfo","getUnitLoadout","getUnitTrait","getUnloadInCombat","getUserInfo","getUserMFDText","getUserMFDValue","getVariable","getVehicleCargo","getVehicleTiPars","getWeaponCargo","getWeaponSway","getWingsOrientationRTD","getWingsPositionRTD","getWPPos","glanceAt","globalChat","globalRadio","goggles","goto","group","groupChat","groupFromNetId","groupIconSelectable","groupIconsVisible","groupID","groupOwner","groupRadio","groups","groupSelectedUnits","groupSelectUnit","gunner","gusts","halt","handgunItems","handgunMagazine","handgunWeapon","handsHit","hashValue","hasInterface","hasPilotCamera","hasWeapon","hcAllGroups","hcGroupParams","hcLeader","hcRemoveAllGroups","hcRemoveGroup","hcSelected","hcSelectGroup","hcSetGroup","hcShowBar","hcShownBar","headgear","hideBody","hideObject","hideObjectGlobal","hideSelection","hint","hintC","hintCadet","hintSilent","hmd","hostMission","htmlLoad","HUDMovementLevels","humidity","image","importAllGroups","importance","in","inArea","inAreaArray","incapacitatedState","inflame","inflamed","infoPanel","infoPanelComponentEnabled","infoPanelComponents","infoPanels","inGameUISetEventHandler","inheritsFrom","initAmbientLife","inPolygon","inputAction","inputController","inputMouse","inRangeOfArtillery","insert","insertEditorObject","intersect","is3DEN","is3DENMultiplayer","is3DENPreview","isAbleToBreathe","isActionMenuVisible","isAgent","isAimPrecisionEnabled","isAllowedCrewInImmobile","isArray","isAutoHoverOn","isAutonomous","isAutoStartUpEnabledRTD","isAutotest","isAutoTrimOnRTD","isAwake","isBleeding","isBurning","isClass","isCollisionLightOn","isCopilotEnabled","isDamageAllowed","isDedicated","isDLCAvailable","isEngineOn","isEqualRef","isEqualTo","isEqualType","isEqualTypeAll","isEqualTypeAny","isEqualTypeArray","isEqualTypeParams","isFilePatchingEnabled","isFinal","isFlashlightOn","isFlatEmpty","isForcedWalk","isFormationLeader","isGameFocused","isGamePaused","isGroupDeletedWhenEmpty","isHidden","isInRemainsCollector","isInstructorFigureEnabled","isIRLaserOn","isKeyActive","isKindOf","isLaserOn","isLightOn","isLocalized","isManualFire","isMarkedForCollection","isMissionProfileNamespaceLoaded","isMultiplayer","isMultiplayerSolo","isNil","isNotEqualRef","isNotEqualTo","isNull","isNumber","isObjectHidden","isObjectRTD","isOnRoad","isPiPEnabled","isPlayer","isRealTime","isRemoteExecuted","isRemoteExecutedJIP","isSaving","isSensorTargetConfirmed","isServer","isShowing3DIcons","isSimpleObject","isSprintAllowed","isStaminaEnabled","isSteamMission","isSteamOverlayEnabled","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","keys","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","lbSortBy","lbSortByValue","lbText","lbTextRight","lbTooltip","lbValue","leader","leaderboardDeInit","leaderboardGetRows","leaderboardInit","leaderboardRequestRowsFriends","leaderboardRequestRowsGlobal","leaderboardRequestRowsGlobalAroundUser","leaderboardsRequestUploadScore","leaderboardsRequestUploadScoreKeepBest","leaderboardState","leaveVehicle","libraryCredits","libraryDisclaimers","lifeState","lightAttachObject","lightDetachObject","lightIsOn","lightnings","limitSpeed","linearConversion","lineIntersects","lineIntersectsObjs","lineIntersectsSurfaces","lineIntersectsWith","linkItem","list","listObjects","listRemoteTargets","listVehicleSensors","ln","lnbAddArray","lnbAddColumn","lnbAddRow","lnbClear","lnbColor","lnbColorRight","lnbCurSelRow","lnbData","lnbDeleteColumn","lnbDeleteRow","lnbGetColumnsPosition","lnbPicture","lnbPictureRight","lnbSetColor","lnbSetColorRight","lnbSetColumnsPos","lnbSetCurSelRow","lnbSetData","lnbSetPicture","lnbSetPictureColor","lnbSetPictureColorRight","lnbSetPictureColorSelected","lnbSetPictureColorSelectedRight","lnbSetPictureRight","lnbSetText","lnbSetTextRight","lnbSetTooltip","lnbSetValue","lnbSize","lnbSort","lnbSortBy","lnbSortByValue","lnbText","lnbTextRight","lnbValue","load","loadAbs","loadBackpack","loadConfig","loadFile","loadGame","loadIdentity","loadMagazine","loadOverlay","loadStatus","loadUniform","loadVest","localize","localNamespace","locationPosition","lock","lockCameraTo","lockCargo","lockDriver","locked","lockedCameraTo","lockedCargo","lockedDriver","lockedInventory","lockedTurret","lockIdentity","lockInventory","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","markerChannel","markerColor","markerDir","markerPolyline","markerPos","markerShadow","markerShape","markerSize","markerText","markerType","matrixMultiply","matrixTranspose","max","maxLoad","members","menuAction","menuAdd","menuChecked","menuClear","menuCollapse","menuData","menuDelete","menuEnable","menuEnabled","menuExpand","menuHover","menuPicture","menuSetAction","menuSetCheck","menuSetData","menuSetPicture","menuSetShortcut","menuSetText","menuSetURL","menuSetValue","menuShortcut","menuShortcutText","menuSize","menuSort","menuText","menuURL","menuValue","merge","min","mineActive","mineDetectedBy","missileTarget","missileTargetPos","missionConfigFile","missionDifficulty","missionEnd","missionName","missionNameSource","missionNamespace","missionProfileNamespace","missionStart","missionVersion","mod","modelToWorld","modelToWorldVisual","modelToWorldVisualWorld","modelToWorldWorld","modParams","moonIntensity","moonPhase","morale","move","move3DENCamera","moveInAny","moveInCargo","moveInCommander","moveInDriver","moveInGunner","moveInTurret","moveObjectToEnd","moveOut","moveTime","moveTo","moveToCompleted","moveToFailed","musicVolume","name","namedProperties","nameSound","nearEntities","nearestBuilding","nearestLocation","nearestLocations","nearestLocationWithDubbing","nearestMines","nearestObject","nearestObjects","nearestTerrainObjects","nearObjects","nearObjectsReady","nearRoads","nearSupplies","nearTargets","needReload","needService","netId","netObjNull","newOverlay","nextMenuItemIndex","nextWeatherChange","nMenuItems","not","numberOfEnginesRTD","numberToDate","objectCurators","objectFromNetId","objectParent","objStatus","onBriefingGroup","onBriefingNotes","onBriefingPlan","onBriefingTeamSwitch","onCommandModeChanged","onDoubleClick","onEachFrame","onGroupIconClick","onGroupIconOverEnter","onGroupIconOverLeave","onHCGroupSelectionChanged","onMapSingleClick","onPlayerConnected","onPlayerDisconnected","onPreloadFinished","onPreloadStarted","onShowNewObject","onTeamSwitch","openCuratorInterface","openDLCPage","openGPS","openMap","openSteamApp","openYoutubeVideo","or","orderGetIn","overcast","overcastForecast","owner","param","params","parseNumber","parseSimpleArray","parseText","parsingNamespace","particlesQuality","periscopeElevation","pickWeaponPool","pitch","pixelGrid","pixelGridBase","pixelGridNoUIScale","pixelH","pixelW","playableSlotsNumber","playableUnits","playAction","playActionNow","player","playerRespawnTime","playerSide","playersNumber","playGesture","playMission","playMove","playMoveNow","playMusic","playScriptedMission","playSound","playSound3D","playSoundUI","pose","position","positionCameraToWorld","posScreenToWorld","posWorldToScreen","ppEffectAdjust","ppEffectCommit","ppEffectCommitted","ppEffectCreate","ppEffectDestroy","ppEffectEnable","ppEffectEnabled","ppEffectForceInNVG","precision","preloadCamera","preloadObject","preloadSound","preloadTitleObj","preloadTitleRsc","preprocessFile","preprocessFileLineNumbers","primaryWeapon","primaryWeaponItems","primaryWeaponMagazine","priority","processDiaryLink","productVersion","profileName","profileNamespace","profileNameSteam","progressLoadingScreen","progressPosition","progressSetPosition","publicVariable","publicVariableClient","publicVariableServer","pushBack","pushBackUnique","putWeaponPool","queryItemsPool","queryMagazinePool","queryWeaponPool","rad","radioChannelAdd","radioChannelCreate","radioChannelInfo","radioChannelRemove","radioChannelSetCallSign","radioChannelSetLabel","radioEnabled","radioVolume","rain","rainbow","rainParams","random","rank","rankId","rating","rectangular","regexFind","regexMatch","regexReplace","registeredTasks","registerTask","reload","reloadEnabled","remoteControl","remoteExec","remoteExecCall","remoteExecutedOwner","remove3DENConnection","remove3DENEventHandler","remove3DENLayer","removeAction","removeAll3DENEventHandlers","removeAllActions","removeAllAssignedItems","removeAllBinocularItems","removeAllContainers","removeAllCuratorAddons","removeAllCuratorCameraAreas","removeAllCuratorEditingAreas","removeAllEventHandlers","removeAllHandgunItems","removeAllItems","removeAllItemsWithMagazines","removeAllMissionEventHandlers","removeAllMPEventHandlers","removeAllMusicEventHandlers","removeAllOwnedMines","removeAllPrimaryWeaponItems","removeAllSecondaryWeaponItems","removeAllUserActionEventHandlers","removeAllWeapons","removeBackpack","removeBackpackGlobal","removeBinocularItem","removeCuratorAddons","removeCuratorCameraArea","removeCuratorEditableObjects","removeCuratorEditingArea","removeDiaryRecord","removeDiarySubject","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","removeUserActionEventHandler","removeVest","removeWeapon","removeWeaponAttachmentCargo","removeWeaponCargo","removeWeaponGlobal","removeWeaponTurret","reportRemoteTarget","requiredVersion","resetCamShake","resetSubgroupDirection","resize","resources","respawnVehicle","restartEditorCamera","reveal","revealMine","reverse","reversedMouseY","roadAt","roadsConnectedTo","roleDescription","ropeAttachedObjects","ropeAttachedTo","ropeAttachEnabled","ropeAttachTo","ropeCreate","ropeCut","ropeDestroy","ropeDetach","ropeEndPosition","ropeLength","ropes","ropesAttachedTo","ropeSegments","ropeUnwind","ropeUnwound","rotorsForcesRTD","rotorsRpmRTD","round","runInitScript","safeZoneH","safeZoneW","safeZoneWAbs","safeZoneX","safeZoneXAbs","safeZoneY","save3DENInventory","saveGame","saveIdentity","saveJoysticks","saveMissionProfileNamespace","saveOverlay","saveProfileNamespace","saveStatus","saveVar","savingEnabled","say","say2D","say3D","scopeName","score","scoreSide","screenshot","screenToWorld","scriptDone","scriptName","scudState","secondaryWeapon","secondaryWeaponItems","secondaryWeaponMagazine","select","selectBestPlaces","selectDiarySubject","selectedEditorObjects","selectEditorObject","selectionNames","selectionPosition","selectionVectorDirAndUp","selectLeader","selectMax","selectMin","selectNoPlayer","selectPlayer","selectRandom","selectRandomWeighted","selectWeapon","selectWeaponTurret","sendAUMessage","sendSimpleCommand","sendTask","sendTaskResult","sendUDPMessage","sentencesEnabled","serverCommand","serverCommandAvailable","serverCommandExecutable","serverName","serverNamespace","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","setBehaviourStrong","setBleedingRemaining","setBrakesRTD","setCameraInterest","setCamShakeDefParams","setCamShakeParams","setCamUseTi","setCaptive","setCenterOfMass","setCollisionLight","setCombatBehaviour","setCombatMode","setCompassOscillation","setConvoySeparation","setCruiseControl","setCuratorCameraAreaCeiling","setCuratorCoef","setCuratorEditingAreaType","setCuratorWaypointCost","setCurrentChannel","setCurrentTask","setCurrentWaypoint","setCustomAimCoef","SetCustomMissionData","setCustomSoundController","setCustomWeightRTD","setDamage","setDammage","setDate","setDebriefingText","setDefaultCamera","setDestination","setDetailMapBlendPars","setDiaryRecordText","setDiarySubjectPicture","setDir","setDirection","setDrawIcon","setDriveOnPath","setDropInterval","setDynamicSimulationDistance","setDynamicSimulationDistanceCoef","setEditorMode","setEditorObjectScope","setEffectCondition","setEffectiveCommander","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","setHumidity","setIdentity","setImportance","setInfoPanel","setLeader","setLightAmbient","setLightAttenuation","setLightBrightness","setLightColor","setLightConePars","setLightDayLight","setLightFlareMaxDistance","setLightFlareSize","setLightIntensity","setLightIR","setLightnings","setLightUseFlare","setLightVolumeShape","setLocalWindParams","setMagazineTurretAmmo","setMarkerAlpha","setMarkerAlphaLocal","setMarkerBrush","setMarkerBrushLocal","setMarkerColor","setMarkerColorLocal","setMarkerDir","setMarkerDirLocal","setMarkerPolyline","setMarkerPolylineLocal","setMarkerPos","setMarkerPosLocal","setMarkerShadow","setMarkerShadowLocal","setMarkerShape","setMarkerShapeLocal","setMarkerSize","setMarkerSizeLocal","setMarkerText","setMarkerTextLocal","setMarkerType","setMarkerTypeLocal","setMass","setMaxLoad","setMimic","setMissileTarget","setMissileTargetPos","setMousePosition","setMusicEffect","setMusicEventHandler","setName","setNameSound","setObjectArguments","setObjectMaterial","setObjectMaterialGlobal","setObjectProxy","setObjectScale","setObjectTexture","setObjectTextureGlobal","setObjectViewDistance","setOpticsMode","setOvercast","setOwner","setOxygenRemaining","setParticleCircle","setParticleClass","setParticleFire","setParticleParams","setParticleRandom","setPilotCameraDirection","setPilotCameraRotation","setPilotCameraTarget","setPilotLight","setPiPEffect","setPiPViewDistance","setPitch","setPlateNumber","setPlayable","setPlayerRespawnTime","setPlayerVoNVolume","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","setTerrainHeight","setText","setTimeMultiplier","setTiParameter","setTitleEffect","setTowParent","setTrafficDensity","setTrafficDistance","setTrafficGap","setTrafficSpeed","setTriggerActivation","setTriggerArea","setTriggerInterval","setTriggerStatements","setTriggerText","setTriggerTimeout","setTriggerType","setTurretLimits","setTurretOpticsMode","setType","setUnconscious","setUnitAbility","setUnitCombatMode","setUnitFreefallHeight","setUnitLoadout","setUnitPos","setUnitPosWeak","setUnitRank","setUnitRecoilCoefficient","setUnitTrait","setUnloadInCombat","setUserActionText","setUserMFDText","setUserMFDValue","setVariable","setVectorDir","setVectorDirAndUp","setVectorUp","setVehicleAmmo","setVehicleAmmoDef","setVehicleArmor","setVehicleCargo","setVehicleId","setVehicleLock","setVehiclePosition","setVehicleRadar","setVehicleReceiveRemoteTargets","setVehicleReportOwnPosition","setVehicleReportRemoteTargets","setVehicleTiPars","setVehicleVarName","setVelocity","setVelocityModelSpace","setVelocityTransformation","setViewDistance","setVisibleIfTreeCollapsed","setWantedRPMRTD","setWaves","setWaypointBehaviour","setWaypointCombatMode","setWaypointCompletionRadius","setWaypointDescription","setWaypointForceBehaviour","setWaypointFormation","setWaypointHousePosition","setWaypointLoiterAltitude","setWaypointLoiterRadius","setWaypointLoiterType","setWaypointName","setWaypointPosition","setWaypointScript","setWaypointSpeed","setWaypointStatements","setWaypointTimeout","setWaypointType","setWaypointVisible","setWeaponReloadingTime","setWeaponZeroing","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","shownSubtitles","shownUAVFeed","shownWarrant","shownWatch","showPad","showRadio","showScoretable","showSubtitles","showUAVFeed","showWarrant","showWatch","showWaypoint","showWaypoints","side","sideChat","sideRadio","simpleTasks","simulationEnabled","simulCloudDensity","simulCloudOcclusion","simulInClouds","simulWeatherSync","sin","size","sizeOf","skill","skillFinal","skipTime","sleep","sliderPosition","sliderRange","sliderSetPosition","sliderSetRange","sliderSetSpeed","sliderSpeed","slingLoadAssistantShown","soldierMagazines","someAmmo","sort","soundVolume","spawn","speaker","speechVolume","speed","speedMode","splitString","sqrt","squadParams","stance","startLoadingScreen","stop","stopEngineRTD","stopped","str","sunOrMoon","supportInfo","suppressFor","surfaceIsWater","surfaceNormal","surfaceTexture","surfaceType","swimInDepth","switchableUnits","switchAction","switchCamera","switchGesture","switchLight","switchMove","synchronizedObjects","synchronizedTriggers","synchronizedWaypoints","synchronizeObjectsAdd","synchronizeObjectsRemove","synchronizeTrigger","synchronizeWaypoint","systemChat","systemOfUnits","systemTime","systemTimeUTC","tan","targetKnowledge","targets","targetsAggregate","targetsQuery","taskAlwaysVisible","taskChildren","taskCompleted","taskCustomData","taskDescription","taskDestination","taskHint","taskMarkerOffset","taskName","taskParent","taskResult","taskState","taskType","teamMember","teamName","teams","teamSwitch","teamSwitchEnabled","teamType","terminate","terrainIntersect","terrainIntersectASL","terrainIntersectAtASL","text","textLog","textLogFormat","tg","time","timeMultiplier","titleCut","titleFadeOut","titleObj","titleRsc","titleText","toArray","toFixed","toLower","toLowerANSI","toString","toUpper","toUpperANSI","triggerActivated","triggerActivation","triggerAmmo","triggerArea","triggerAttachedVehicle","triggerAttachObject","triggerAttachVehicle","triggerDynamicSimulation","triggerInterval","triggerStatements","triggerText","triggerTimeout","triggerTimeoutCurrent","triggerType","trim","turretLocal","turretOwner","turretUnit","tvAdd","tvClear","tvCollapse","tvCollapseAll","tvCount","tvCurSel","tvData","tvDelete","tvExpand","tvExpandAll","tvIsSelected","tvPicture","tvPictureRight","tvSelection","tvSetColor","tvSetCurSel","tvSetData","tvSetPicture","tvSetPictureColor","tvSetPictureColorDisabled","tvSetPictureColorSelected","tvSetPictureRight","tvSetPictureRightColor","tvSetPictureRightColorDisabled","tvSetPictureRightColorSelected","tvSetSelectColor","tvSetSelected","tvSetText","tvSetTooltip","tvSetValue","tvSort","tvSortAll","tvSortByValue","tvSortByValueAll","tvText","tvTooltip","tvValue","type","typeName","typeOf","UAVControl","uiNamespace","uiSleep","unassignCurator","unassignItem","unassignTeam","unassignVehicle","underwater","uniform","uniformContainer","uniformItems","uniformMagazines","uniqueUnitItems","unitAddons","unitAimPosition","unitAimPositionVisual","unitBackpack","unitCombatMode","unitIsUAV","unitPos","unitReady","unitRecoilCoefficient","units","unitsBelowHeight","unitTurret","unlinkItem","unlockAchievement","unregisterTask","updateDrawIcon","updateMenuItem","updateObjectTree","useAIOperMapObstructionTest","useAISteeringComponent","useAudioTimeForMoves","userInputDisabled","values","vectorAdd","vectorCos","vectorCrossProduct","vectorDiff","vectorDir","vectorDirVisual","vectorDistance","vectorDistanceSqr","vectorDotProduct","vectorFromTo","vectorLinearConversion","vectorMagnitude","vectorMagnitudeSqr","vectorModelToWorld","vectorModelToWorldVisual","vectorMultiply","vectorNormalized","vectorUp","vectorUpVisual","vectorWorldToModel","vectorWorldToModelVisual","vehicle","vehicleCargoEnabled","vehicleChat","vehicleMoveInfo","vehicleRadio","vehicleReceiveRemoteTargets","vehicleReportOwnPosition","vehicleReportRemoteTargets","vehicles","vehicleVarName","velocity","velocityModelSpace","verifySignature","vest","vestContainer","vestItems","vestMagazines","viewDistance","visibleCompass","visibleGps","visibleMap","visiblePosition","visiblePositionASL","visibleScoretable","visibleWatch","waves","waypointAttachedObject","waypointAttachedVehicle","waypointAttachObject","waypointAttachVehicle","waypointBehaviour","waypointCombatMode","waypointCompletionRadius","waypointDescription","waypointForceBehaviour","waypointFormation","waypointHousePosition","waypointLoiterAltitude","waypointLoiterRadius","waypointLoiterType","waypointName","waypointPosition","waypoints","waypointScript","waypointsEnabledUAV","waypointShow","waypointSpeed","waypointStatements","waypointTimeout","waypointTimeoutCurrent","waypointType","waypointVisible","weaponAccessories","weaponAccessoriesCargo","weaponCargo","weaponDirection","weaponInertia","weaponLowered","weaponReloadingTime","weapons","weaponsInfo","weaponsItems","weaponsItemsCargo","weaponState","weaponsTurret","weightRTD","WFSideText","wind","windDir","windRTD","windStr","wingsForcesRTD","worldName","worldSize","worldToModel","worldToModelVisual","worldToScreen"],fd={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:"define undef ifdef ifndef else endif include if",contains:[{begin:/\\\n/,relevance:0},qa.inherit(ld,{className:"string"}),{begin:/<[^\n>]*>/,end:/$/,illegal:"\\n"},qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]};return{name:"SQF",case_insensitive:!0,keywords:{keyword:ud,built_in:pd,literal:dd},contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.NUMBER_MODE,nd,od,ld,fd],illegal:[/\$[^a-fA-F0-9]/,/\w\$/,/\?/,/@/,/ \| /,/[a-zA-Z_]\./,/\:\=/,/\[\:/]}}return sqf_1=Ra,sqf_1}var sql_1,hasRequiredSql;function requireSql(){if(hasRequiredSql)return sql_1;hasRequiredSql=1;function Ra(qa){const nd=qa.regex,od=qa.COMMENT("--","$"),ld={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},ud={begin:/"/,end:/"/,contains:[{begin:/""/}]},dd=["true","false","unknown"],pd=["double precision","large object","with timezone","without timezone"],fd=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],md=["add","asc","collation","desc","final","first","last","view"],vd=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],Ad=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],Nd=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],Od=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],kd=Ad,Ld=[...vd,...md].filter(qd=>!Ad.includes(qd)),Gd={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},jd={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},Fd={begin:nd.concat(/\b/,nd.either(...kd),/\s*\(/),relevance:0,keywords:{built_in:kd}};function Ud(qd,{exceptions:zd,when:Wd}={}){const Jd=Wd;return zd=zd||[],qd.map(_f=>_f.match(/\|\d+$/)||zd.includes(_f)?_f:Jd(_f)?`${_f}|0`:_f)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:Ud(Ld,{when:qd=>qd.length<3}),literal:dd,type:fd,built_in:Nd},contains:[{begin:nd.either(...Od),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:Ld.concat(Od),literal:dd,type:fd}},{className:"type",begin:nd.either(...pd)},Fd,Gd,ld,ud,qa.C_NUMBER_MODE,qa.C_BLOCK_COMMENT_MODE,od,jd]}}return sql_1=Ra,sql_1}var stan_1,hasRequiredStan;function requireStan(){if(hasRequiredStan)return stan_1;hasRequiredStan=1;function Ra(qa){const nd=qa.regex,od=["functions","model","data","parameters","quantities","transformed","generated"],ld=["for","in","if","else","while","break","continue","return"],ud=["array","tuple","complex","int","real","vector","complex_vector","ordered","positive_ordered","simplex","unit_vector","row_vector","complex_row_vector","matrix","complex_matrix","cholesky_factor_corr|10","cholesky_factor_cov|10","corr_matrix|10","cov_matrix|10","void"],dd=["abs","acos","acosh","add_diag","algebra_solver","algebra_solver_newton","append_array","append_col","append_row","asin","asinh","atan","atan2","atanh","bessel_first_kind","bessel_second_kind","binary_log_loss","block","cbrt","ceil","chol2inv","cholesky_decompose","choose","col","cols","columns_dot_product","columns_dot_self","complex_schur_decompose","complex_schur_decompose_t","complex_schur_decompose_u","conj","cos","cosh","cov_exp_quad","crossprod","csr_extract","csr_extract_u","csr_extract_v","csr_extract_w","csr_matrix_times_vector","csr_to_dense_matrix","cumulative_sum","dae","dae_tol","determinant","diag_matrix","diagonal","diag_post_multiply","diag_pre_multiply","digamma","dims","distance","dot_product","dot_self","eigendecompose","eigendecompose_sym","eigenvalues","eigenvalues_sym","eigenvectors","eigenvectors_sym","erf","erfc","exp","exp2","expm1","falling_factorial","fdim","fft","fft2","floor","fma","fmax","fmin","fmod","gamma_p","gamma_q","generalized_inverse","get_imag","get_real","head","hmm_hidden_state_prob","hmm_marginal","hypot","identity_matrix","inc_beta","integrate_1d","integrate_ode","integrate_ode_adams","integrate_ode_bdf","integrate_ode_rk45","int_step","inv","inv_cloglog","inv_erfc","inverse","inverse_spd","inv_fft","inv_fft2","inv_inc_beta","inv_logit","inv_Phi","inv_sqrt","inv_square","is_inf","is_nan","lambert_w0","lambert_wm1","lbeta","lchoose","ldexp","lgamma","linspaced_array","linspaced_int_array","linspaced_row_vector","linspaced_vector","lmgamma","lmultiply","log","log1m","log1m_exp","log1m_inv_logit","log1p","log1p_exp","log_determinant","log_diff_exp","log_falling_factorial","log_inv_logit","log_inv_logit_diff","logit","log_mix","log_modified_bessel_first_kind","log_rising_factorial","log_softmax","log_sum_exp","machine_precision","map_rect","matrix_exp","matrix_exp_multiply","matrix_power","max","mdivide_left_spd","mdivide_left_tri_low","mdivide_right_spd","mdivide_right_tri_low","mean","min","modified_bessel_first_kind","modified_bessel_second_kind","multiply_lower_tri_self_transpose","negative_infinity","norm","norm1","norm2","not_a_number","num_elements","ode_adams","ode_adams_tol","ode_adjoint_tol_ctl","ode_bdf","ode_bdf_tol","ode_ckrk","ode_ckrk_tol","ode_rk45","ode_rk45_tol","one_hot_array","one_hot_int_array","one_hot_row_vector","one_hot_vector","ones_array","ones_int_array","ones_row_vector","ones_vector","owens_t","Phi","Phi_approx","polar","positive_infinity","pow","print","prod","proj","qr","qr_Q","qr_R","qr_thin","qr_thin_Q","qr_thin_R","quad_form","quad_form_diag","quad_form_sym","quantile","rank","reduce_sum","reject","rep_array","rep_matrix","rep_row_vector","rep_vector","reverse","rising_factorial","round","row","rows","rows_dot_product","rows_dot_self","scale_matrix_exp_multiply","sd","segment","sin","singular_values","sinh","size","softmax","sort_asc","sort_desc","sort_indices_asc","sort_indices_desc","sqrt","square","squared_distance","step","sub_col","sub_row","sum","svd","svd_U","svd_V","symmetrize_from_lower_tri","tail","tan","tanh","target","tcrossprod","tgamma","to_array_1d","to_array_2d","to_complex","to_int","to_matrix","to_row_vector","to_vector","trace","trace_gen_quad_form","trace_quad_form","trigamma","trunc","uniform_simplex","variance","zeros_array","zeros_int_array","zeros_row_vector"],pd=["bernoulli","bernoulli_logit","bernoulli_logit_glm","beta","beta_binomial","beta_proportion","binomial","binomial_logit","categorical","categorical_logit","categorical_logit_glm","cauchy","chi_square","dirichlet","discrete_range","double_exponential","exp_mod_normal","exponential","frechet","gamma","gaussian_dlm_obs","gumbel","hmm_latent","hypergeometric","inv_chi_square","inv_gamma","inv_wishart","inv_wishart_cholesky","lkj_corr","lkj_corr_cholesky","logistic","loglogistic","lognormal","multi_gp","multi_gp_cholesky","multinomial","multinomial_logit","multi_normal","multi_normal_cholesky","multi_normal_prec","multi_student_cholesky_t","multi_student_t","multi_student_t_cholesky","neg_binomial","neg_binomial_2","neg_binomial_2_log","neg_binomial_2_log_glm","normal","normal_id_glm","ordered_logistic","ordered_logistic_glm","ordered_probit","pareto","pareto_type_2","poisson","poisson_log","poisson_log_glm","rayleigh","scaled_inv_chi_square","skew_double_exponential","skew_normal","std_normal","std_normal_log","student_t","uniform","von_mises","weibull","wiener","wishart","wishart_cholesky"],fd=qa.COMMENT(/\/\*/,/\*\//,{relevance:0,contains:[{scope:"doctag",match:/@(return|param)/}]}),md={scope:"meta",begin:/#include\b/,end:/$/,contains:[{match:/[a-z][a-z-._]+/,scope:"string"},qa.C_LINE_COMMENT_MODE]},vd=["lower","upper","offset","multiplier"];return{name:"Stan",aliases:["stanfuncs"],keywords:{$pattern:qa.IDENT_RE,title:od,type:ud,keyword:ld,built_in:dd},contains:[qa.C_LINE_COMMENT_MODE,md,qa.HASH_COMMENT_MODE,fd,{scope:"built_in",match:/\s(pi|e|sqrt2|log2|log10)(?=\()/,relevance:0},{match:nd.concat(/[<,]\s*/,nd.either(...vd),/\s*=/),keywords:vd},{scope:"keyword",match:/\btarget(?=\s*\+=)/},{match:[/~\s*/,nd.either(...pd),/(?:\(\))/,/\s*T(?=\s*\[)/],scope:{2:"built_in",4:"keyword"}},{scope:"built_in",keywords:pd,begin:nd.concat(/\w*/,nd.either(...pd),/(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/)},{begin:[/~/,/\s*/,nd.concat(nd.either(...pd),/(?=\s*[\(.*\)])/)],scope:{3:"built_in"}},{begin:[/~/,/\s*\w+(?=\s*[\(.*\)])/,"(?!.*/\b("+nd.either(...pd)+")\b)"],scope:{2:"title.function"}},{scope:"title.function",begin:/\w*(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/},{scope:"number",match:nd.concat(/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)/,/(?:[eE][+-]?\d+(?:_\d+)*)?i?(?!\w)/),relevance:0},{scope:"string",begin:/"/,end:/"/}]}}return stan_1=Ra,stan_1}var stata_1,hasRequiredStata;function requireStata(){if(hasRequiredStata)return stata_1;hasRequiredStata=1;function Ra(qa){return{name:"Stata",aliases:["do","ado"],case_insensitive:!0,keywords:"if else in foreach for forv forva forval forvalu forvalue forvalues by bys bysort xi quietly qui capture about ac ac_7 acprplot acprplot_7 adjust ado adopath adoupdate alpha ameans an ano anov anova anova_estat anova_terms anovadef aorder ap app appe appen append arch arch_dr arch_estat arch_p archlm areg areg_p args arima arima_dr arima_estat arima_p as asmprobit asmprobit_estat asmprobit_lf asmprobit_mfx__dlg asmprobit_p ass asse asser assert avplot avplot_7 avplots avplots_7 bcskew0 bgodfrey bias binreg bip0_lf biplot bipp_lf bipr_lf bipr_p biprobit bitest bitesti bitowt blogit bmemsize boot bootsamp bootstrap bootstrap_8 boxco_l boxco_p boxcox boxcox_6 boxcox_p bprobit br break brier bro brow brows browse brr brrstat bs bs_7 bsampl_w bsample bsample_7 bsqreg bstat bstat_7 bstat_8 bstrap bstrap_7 bubble bubbleplot ca ca_estat ca_p cabiplot camat canon canon_8 canon_8_p canon_estat canon_p cap caprojection capt captu captur capture cat cc cchart cchart_7 cci cd censobs_table centile cf char chdir checkdlgfiles checkestimationsample checkhlpfiles checksum chelp ci cii cl class classutil clear cli clis clist clo clog clog_lf clog_p clogi clogi_sw clogit clogit_lf clogit_p clogitp clogl_sw cloglog clonevar clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8 clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4 collapse colormult_nb colormult_nw compare compress conf confi confir confirm conren cons const constr constra constrai constrain constraint continue contract copy copyright copysource cor corc corr corr2data corr_anti corr_kmo corr_smc corre correl correla correlat correlate corrgram cou coun count cox cox_p cox_sw coxbase coxhaz coxvar cprplot cprplot_7 crc cret cretu cretur creturn cross cs cscript cscript_log csi ct ct_is ctset ctst_5 ctst_st cttost cumsp cumsp_7 cumul cusum cusum_7 cutil d|0 datasig datasign datasigna datasignat datasignatu datasignatur datasignature datetof db dbeta de dec deco decod decode deff des desc descr descri describ describe destring dfbeta dfgls dfuller di di_g dir dirstats dis discard disp disp_res disp_s displ displa display distinct do doe doed doedi doedit dotplot dotplot_7 dprobit drawnorm drop ds ds_util dstdize duplicates durbina dwstat dydx e|0 ed edi edit egen eivreg emdef en enc enco encod encode eq erase ereg ereg_lf ereg_p ereg_sw ereghet ereghet_glf ereghet_glf_sh ereghet_gp ereghet_ilf ereghet_ilf_sh ereghet_ip eret eretu eretur ereturn err erro error esize est est_cfexist est_cfname est_clickable est_expand est_hold est_table est_unhold est_unholdok estat estat_default estat_summ estat_vce_only esti estimates etodow etof etomdy ex exi exit expand expandcl fac fact facto factor factor_estat factor_p factor_pca_rotated factor_rotate factormat fcast fcast_compute fcast_graph fdades fdadesc fdadescr fdadescri fdadescrib fdadescribe fdasav fdasave fdause fh_st file open file read file close file filefilter fillin find_hlp_file findfile findit findit_7 fit fl fli flis flist for5_0 forest forestplot form forma format fpredict frac_154 frac_adj frac_chk frac_cox frac_ddp frac_dis frac_dv frac_in frac_mun frac_pp frac_pq frac_pv frac_wgt frac_xo fracgen fracplot fracplot_7 fracpoly fracpred fron_ex fron_hn fron_p fron_tn fron_tn2 frontier ftodate ftoe ftomdy ftowdate funnel funnelplot g|0 gamhet_glf gamhet_gp gamhet_ilf gamhet_ip gamma gamma_d2 gamma_p gamma_sw gammahet gdi_hexagon gdi_spokes ge gen gene gener genera generat generate genrank genstd genvmean gettoken gl gladder gladder_7 glim_l01 glim_l02 glim_l03 glim_l04 glim_l05 glim_l06 glim_l07 glim_l08 glim_l09 glim_l10 glim_l11 glim_l12 glim_lf glim_mu glim_nw1 glim_nw2 glim_nw3 glim_p glim_v1 glim_v2 glim_v3 glim_v4 glim_v5 glim_v6 glim_v7 glm glm_6 glm_p glm_sw glmpred glo glob globa global glogit glogit_8 glogit_p gmeans gnbre_lf gnbreg gnbreg_5 gnbreg_p gomp_lf gompe_sw gomper_p gompertz gompertzhet gomphet_glf gomphet_glf_sh gomphet_gp gomphet_ilf gomphet_ilf_sh gomphet_ip gphdot gphpen gphprint gprefs gprobi_p gprobit gprobit_8 gr gr7 gr_copy gr_current gr_db gr_describe gr_dir gr_draw gr_draw_replay gr_drop gr_edit gr_editviewopts gr_example gr_example2 gr_export gr_print gr_qscheme gr_query gr_read gr_rename gr_replay gr_save gr_set gr_setscheme gr_table gr_undo gr_use graph graph7 grebar greigen greigen_7 greigen_8 grmeanby grmeanby_7 gs_fileinfo gs_filetype gs_graphinfo gs_stat gsort gwood h|0 hadimvo hareg hausman haver he heck_d2 heckma_p heckman heckp_lf heckpr_p heckprob hel help hereg hetpr_lf hetpr_p hetprob hettest hexdump hilite hist hist_7 histogram hlogit hlu hmeans hotel hotelling hprobit hreg hsearch icd9 icd9_ff icd9p iis impute imtest inbase include inf infi infil infile infix inp inpu input ins insheet insp inspe inspec inspect integ inten intreg intreg_7 intreg_p intrg2_ll intrg_ll intrg_ll2 ipolate iqreg ir irf irf_create irfm iri is_svy is_svysum isid istdize ivprob_1_lf ivprob_lf ivprobit ivprobit_p ivreg ivreg_footnote ivtob_1_lf ivtob_lf ivtobit ivtobit_p jackknife jacknife jknife jknife_6 jknife_8 jkstat joinby kalarma1 kap kap_3 kapmeier kappa kapwgt kdensity kdensity_7 keep ksm ksmirnov ktau kwallis l|0 la lab labbe labbeplot labe label labelbook ladder levels levelsof leverage lfit lfit_p li lincom line linktest lis list lloghet_glf lloghet_glf_sh lloghet_gp lloghet_ilf lloghet_ilf_sh lloghet_ip llogi_sw llogis_p llogist llogistic llogistichet lnorm_lf lnorm_sw lnorma_p lnormal lnormalhet lnormhet_glf lnormhet_glf_sh lnormhet_gp lnormhet_ilf lnormhet_ilf_sh lnormhet_ip lnskew0 loadingplot loc loca local log logi logis_lf logistic logistic_p logit logit_estat logit_p loglogs logrank loneway lookfor lookup lowess lowess_7 lpredict lrecomp lroc lroc_7 lrtest ls lsens lsens_7 lsens_x lstat ltable ltable_7 ltriang lv lvr2plot lvr2plot_7 m|0 ma mac macr macro makecns man manova manova_estat manova_p manovatest mantel mark markin markout marksample mat mat_capp mat_order mat_put_rr mat_rapp mata mata_clear mata_describe mata_drop mata_matdescribe mata_matsave mata_matuse mata_memory mata_mlib mata_mosave mata_rename mata_which matalabel matcproc matlist matname matr matri matrix matrix_input__dlg matstrik mcc mcci md0_ md1_ md1debug_ md2_ md2debug_ mds mds_estat mds_p mdsconfig mdslong mdsmat mdsshepard mdytoe mdytof me_derd mean means median memory memsize menl meqparse mer merg merge meta mfp mfx mhelp mhodds minbound mixed_ll mixed_ll_reparm mkassert mkdir mkmat mkspline ml ml_5 ml_adjs ml_bhhhs ml_c_d ml_check ml_clear ml_cnt ml_debug ml_defd ml_e0 ml_e0_bfgs ml_e0_cycle ml_e0_dfp ml_e0i ml_e1 ml_e1_bfgs ml_e1_bhhh ml_e1_cycle ml_e1_dfp ml_e2 ml_e2_cycle ml_ebfg0 ml_ebfr0 ml_ebfr1 ml_ebh0q ml_ebhh0 ml_ebhr0 ml_ebr0i ml_ecr0i ml_edfp0 ml_edfr0 ml_edfr1 ml_edr0i ml_eds ml_eer0i ml_egr0i ml_elf ml_elf_bfgs ml_elf_bhhh ml_elf_cycle ml_elf_dfp ml_elfi ml_elfs ml_enr0i ml_enrr0 ml_erdu0 ml_erdu0_bfgs ml_erdu0_bhhh ml_erdu0_bhhhq ml_erdu0_cycle ml_erdu0_dfp ml_erdu0_nrbfgs ml_exde ml_footnote ml_geqnr ml_grad0 ml_graph ml_hbhhh ml_hd0 ml_hold ml_init ml_inv ml_log ml_max ml_mlout ml_mlout_8 ml_model ml_nb0 ml_opt ml_p ml_plot ml_query ml_rdgrd ml_repor ml_s_e ml_score ml_searc ml_technique ml_unhold mleval mlf_ mlmatbysum mlmatsum mlog mlogi mlogit mlogit_footnote mlogit_p mlopts mlsum mlvecsum mnl0_ mor more mov move mprobit mprobit_lf mprobit_p mrdu0_ mrdu1_ mvdecode mvencode mvreg mvreg_estat n|0 nbreg nbreg_al nbreg_lf nbreg_p nbreg_sw nestreg net newey newey_7 newey_p news nl nl_7 nl_9 nl_9_p nl_p nl_p_7 nlcom nlcom_p nlexp2 nlexp2_7 nlexp2a nlexp2a_7 nlexp3 nlexp3_7 nlgom3 nlgom3_7 nlgom4 nlgom4_7 nlinit nllog3 nllog3_7 nllog4 nllog4_7 nlog_rd nlogit nlogit_p nlogitgen nlogittree nlpred no nobreak noi nois noisi noisil noisily note notes notes_dlg nptrend numlabel numlist odbc old_ver olo olog ologi ologi_sw ologit ologit_p ologitp on one onew onewa oneway op_colnm op_comp op_diff op_inv op_str opr opro oprob oprob_sw oprobi oprobi_p oprobit oprobitp opts_exclusive order orthog orthpoly ou out outf outfi outfil outfile outs outsh outshe outshee outsheet ovtest pac pac_7 palette parse parse_dissim pause pca pca_8 pca_display pca_estat pca_p pca_rotate pcamat pchart pchart_7 pchi pchi_7 pcorr pctile pentium pergram pergram_7 permute permute_8 personal peto_st pkcollapse pkcross pkequiv pkexamine pkexamine_7 pkshape pksumm pksumm_7 pl plo plot plugin pnorm pnorm_7 poisgof poiss_lf poiss_sw poisso_p poisson poisson_estat post postclose postfile postutil pperron pr prais prais_e prais_e2 prais_p predict predictnl preserve print pro prob probi probit probit_estat probit_p proc_time procoverlay procrustes procrustes_estat procrustes_p profiler prog progr progra program prop proportion prtest prtesti pwcorr pwd q\\s qby qbys qchi qchi_7 qladder qladder_7 qnorm qnorm_7 qqplot qqplot_7 qreg qreg_c qreg_p qreg_sw qu quadchk quantile quantile_7 que quer query range ranksum ratio rchart rchart_7 rcof recast reclink recode reg reg3 reg3_p regdw regr regre regre_p2 regres regres_p regress regress_estat regriv_p remap ren rena renam rename renpfix repeat replace report reshape restore ret retu retur return rm rmdir robvar roccomp roccomp_7 roccomp_8 rocf_lf rocfit rocfit_8 rocgold rocplot rocplot_7 roctab roctab_7 rolling rologit rologit_p rot rota rotat rotate rotatemat rreg rreg_p ru run runtest rvfplot rvfplot_7 rvpplot rvpplot_7 sa safesum sample sampsi sav save savedresults saveold sc sca scal scala scalar scatter scm_mine sco scob_lf scob_p scobi_sw scobit scor score scoreplot scoreplot_help scree screeplot screeplot_help sdtest sdtesti se search separate seperate serrbar serrbar_7 serset set set_defaults sfrancia sh she shel shell shewhart shewhart_7 signestimationsample signrank signtest simul simul_7 simulate simulate_8 sktest sleep slogit slogit_d2 slogit_p smooth snapspan so sor sort spearman spikeplot spikeplot_7 spikeplt spline_x split sqreg sqreg_p sret sretu sretur sreturn ssc st st_ct st_hc st_hcd st_hcd_sh st_is st_issys st_note st_promo st_set st_show st_smpl st_subid stack statsby statsby_8 stbase stci stci_7 stcox stcox_estat stcox_fr stcox_fr_ll stcox_p stcox_sw stcoxkm stcoxkm_7 stcstat stcurv stcurve stcurve_7 stdes stem stepwise stereg stfill stgen stir stjoin stmc stmh stphplot stphplot_7 stphtest stphtest_7 stptime strate strate_7 streg streg_sw streset sts sts_7 stset stsplit stsum sttocc sttoct stvary stweib su suest suest_8 sum summ summa summar summari summariz summarize sunflower sureg survcurv survsum svar svar_p svmat svy svy_disp svy_dreg svy_est svy_est_7 svy_estat svy_get svy_gnbreg_p svy_head svy_header svy_heckman_p svy_heckprob_p svy_intreg_p svy_ivreg_p svy_logistic_p svy_logit_p svy_mlogit_p svy_nbreg_p svy_ologit_p svy_oprobit_p svy_poisson_p svy_probit_p svy_regress_p svy_sub svy_sub_7 svy_x svy_x_7 svy_x_p svydes svydes_8 svygen svygnbreg svyheckman svyheckprob svyintreg svyintreg_7 svyintrg svyivreg svylc svylog_p svylogit svymarkout svymarkout_8 svymean svymlog svymlogit svynbreg svyolog svyologit svyoprob svyoprobit svyopts svypois svypois_7 svypoisson svyprobit svyprobt svyprop svyprop_7 svyratio svyreg svyreg_p svyregress svyset svyset_7 svyset_8 svytab svytab_7 svytest svytotal sw sw_8 swcnreg swcox swereg swilk swlogis swlogit swologit swoprbt swpois swprobit swqreg swtobit swweib symmetry symmi symplot symplot_7 syntax sysdescribe sysdir sysuse szroeter ta tab tab1 tab2 tab_or tabd tabdi tabdis tabdisp tabi table tabodds tabodds_7 tabstat tabu tabul tabula tabulat tabulate te tempfile tempname tempvar tes test testnl testparm teststd tetrachoric time_it timer tis tob tobi tobit tobit_p tobit_sw token tokeni tokeniz tokenize tostring total translate translator transmap treat_ll treatr_p treatreg trim trimfill trnb_cons trnb_mean trpoiss_d2 trunc_ll truncr_p truncreg tsappend tset tsfill tsline tsline_ex tsreport tsrevar tsrline tsset tssmooth tsunab ttest ttesti tut_chk tut_wait tutorial tw tware_st two twoway twoway__fpfit_serset twoway__function_gen twoway__histogram_gen twoway__ipoint_serset twoway__ipoints_serset twoway__kdensity_gen twoway__lfit_serset twoway__normgen_gen twoway__pci_serset twoway__qfit_serset twoway__scatteri_serset twoway__sunflower_gen twoway_ksm_serset ty typ type typeof u|0 unab unabbrev unabcmd update us use uselabel var var_mkcompanion var_p varbasic varfcast vargranger varirf varirf_add varirf_cgraph varirf_create varirf_ctable varirf_describe varirf_dir varirf_drop varirf_erase varirf_graph varirf_ograph varirf_rename varirf_set varirf_table varlist varlmar varnorm varsoc varstable varstable_w varstable_w2 varwle vce vec vec_fevd vec_mkphi vec_p vec_p_w vecirf_create veclmar veclmar_w vecnorm vecnorm_w vecrank vecstable verinst vers versi versio version view viewsource vif vwls wdatetof webdescribe webseek webuse weib1_lf weib2_lf weib_lf weib_lf0 weibhet_glf weibhet_glf_sh weibhet_glfa weibhet_glfa_sh weibhet_gp weibhet_ilf weibhet_ilf_sh weibhet_ilfa weibhet_ilfa_sh weibhet_ip weibu_sw weibul_p weibull weibull_c weibull_s weibullhet wh whelp whi which whil while wilc_st wilcoxon win wind windo window winexec wntestb wntestb_7 wntestq xchart xchart_7 xcorr xcorr_7 xi xi_6 xmlsav xmlsave xmluse xpose xsh xshe xshel xshell xt_iis xt_tis xtab_p xtabond xtbin_p xtclog xtcloglog xtcloglog_8 xtcloglog_d2 xtcloglog_pa_p xtcloglog_re_p xtcnt_p xtcorr xtdata xtdes xtfront_p xtfrontier xtgee xtgee_elink xtgee_estat xtgee_makeivar xtgee_p xtgee_plink xtgls xtgls_p xthaus xthausman xtht_p xthtaylor xtile xtint_p xtintreg xtintreg_8 xtintreg_d2 xtintreg_p xtivp_1 xtivp_2 xtivreg xtline xtline_ex xtlogit xtlogit_8 xtlogit_d2 xtlogit_fe_p xtlogit_pa_p xtlogit_re_p xtmixed xtmixed_estat xtmixed_p xtnb_fe xtnb_lf xtnbreg xtnbreg_pa_p xtnbreg_refe_p xtpcse xtpcse_p xtpois xtpoisson xtpoisson_d2 xtpoisson_pa_p xtpoisson_refe_p xtpred xtprobit xtprobit_8 xtprobit_d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_dropline_draw yxview_function_draw yxview_iarrow_draw yxview_ilabels_draw yxview_normal_draw yxview_pcarrow_draw yxview_pcbarrow_draw yxview_pccapsym_draw yxview_pcscatter_draw yxview_pcspike_draw yxview_rarea_draw yxview_rbar_draw yxview_rbarm_draw yxview_rcap_draw yxview_rcapsym_draw yxview_rconnected_draw yxview_rline_draw yxview_rscatter_draw yxview_rspike_draw yxview_spike_draw yxview_sunflower_draw zap_s zinb zinb_llf zinb_plf zip zip_llf zip_p zip_plf zt_ct_5 zt_hc_5 zt_hcd_5 zt_is_5 zt_iss_5 zt_sho_5 zt_smp_5 ztbase_5 ztcox_5 ztdes_5 ztereg_5 ztfill_5 ztgen_5 ztir_5 ztjoin_5 ztnb ztnb_p ztp ztp_p zts_5 ztset_5 ztspli_5 ztsum_5 zttoct_5 ztvary_5 ztweib_5",contains:[{className:"symbol",begin:/`[a-zA-Z0-9_]+'/},{className:"variable",begin:/\$\{?[a-zA-Z0-9_]+\}?/,relevance:0},{className:"string",variants:[{begin:`\`"[^\r
]*?"'`},{begin:`"[^\r
"]*"`}]},{className:"built_in",variants:[{begin:"\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\()"}]},qa.COMMENT("^[ ]*\\*.*$",!1),qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]}}return stata_1=Ra,stata_1}var step21_1,hasRequiredStep21;function requireStep21(){if(hasRequiredStep21)return step21_1;hasRequiredStep21=1;function Ra(qa){return{name:"STEP Part 21",aliases:["p21","step","stp"],case_insensitive:!0,keywords:{$pattern:"[A-Z_][A-Z0-9_.]*",keyword:["HEADER","ENDSEC","DATA"]},contains:[{className:"meta",begin:"ISO-10303-21;",relevance:10},{className:"meta",begin:"END-ISO-10303-21;",relevance:10},qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.COMMENT("/\\*\\*!","\\*/"),qa.C_NUMBER_MODE,qa.inherit(qa.APOS_STRING_MODE,{illegal:null}),qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"symbol",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}]}}return step21_1=Ra,step21_1}var stylus_1,hasRequiredStylus;function requireStylus(){if(hasRequiredStylus)return stylus_1;hasRequiredStylus=1;const Ra=md=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:md.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[md.APOS_STRING_MODE,md.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:md.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),qa=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],nd=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],od=[...qa,...nd],ld=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),ud=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),dd=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),pd=["accent-color","align-content","align-items","align-self","alignment-baseline","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-end-end-radius","border-end-start-radius","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","cx","cy","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","empty-cells","enable-background","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","flood-color","flood-opacity","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","kerning","justify-content","justify-items","justify-self","left","letter-spacing","lighting-color","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","marker","marker-end","marker-mid","marker-start","mask","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","speak","speak-as","src","tab-size","table-layout","text-anchor","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-offset","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","vector-effect","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index"].sort().reverse();function fd(md){const vd=Ra(md),Ad="and or not only",Nd={className:"variable",begin:"\\$"+md.IDENT_RE},Od=["charset","css","debug","extend","font-face","for","import","include","keyframes","media","mixin","page","warn","while"],kd="(?=[.\\s\\n[:,(])";return{name:"Stylus",aliases:["styl"],case_insensitive:!1,keywords:"if else for in",illegal:"("+["\\?","(\\bReturn\\b)","(\\bEnd\\b)","(\\bend\\b)","(\\bdef\\b)",";","#\\s","\\*\\s","===\\s","\\|","%"].join("|")+")",contains:[md.QUOTE_STRING_MODE,md.APOS_STRING_MODE,md.C_LINE_COMMENT_MODE,md.C_BLOCK_COMMENT_MODE,vd.HEXCOLOR,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+kd,className:"selector-class"},{begin:"#[a-zA-Z][a-zA-Z0-9_-]*"+kd,className:"selector-id"},{begin:"\\b("+od.join("|")+")"+kd,className:"selector-tag"},{className:"selector-pseudo",begin:"&?:("+ud.join("|")+")"+kd},{className:"selector-pseudo",begin:"&?:(:)?("+dd.join("|")+")"+kd},vd.ATTRIBUTE_SELECTOR_MODE,{className:"keyword",begin:/@media/,starts:{end:/[{;}]/,keywords:{$pattern:/[a-z-]+/,keyword:Ad,attribute:ld.join(" ")},contains:[vd.CSS_NUMBER_MODE]}},{className:"keyword",begin:"@((-(o|moz|ms|webkit)-)?("+Od.join("|")+"))\\b"},Nd,vd.CSS_NUMBER_MODE,{className:"function",begin:"^[a-zA-Z][a-zA-Z0-9_-]*\\(.*\\)",illegal:"[\\n]",returnBegin:!0,contains:[{className:"title",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*"},{className:"params",begin:/\(/,end:/\)/,contains:[vd.HEXCOLOR,Nd,md.APOS_STRING_MODE,vd.CSS_NUMBER_MODE,md.QUOTE_STRING_MODE]}]},vd.CSS_VARIABLE,{className:"attribute",begin:"\\b("+pd.join("|")+")\\b",starts:{end:/;|$/,contains:[vd.HEXCOLOR,Nd,md.APOS_STRING_MODE,md.QUOTE_STRING_MODE,vd.CSS_NUMBER_MODE,md.C_BLOCK_COMMENT_MODE,vd.IMPORTANT,vd.FUNCTION_DISPATCH],illegal:/\./,relevance:0}},vd.FUNCTION_DISPATCH]}}return stylus_1=fd,stylus_1}var subunit_1,hasRequiredSubunit;function requireSubunit(){if(hasRequiredSubunit)return subunit_1;hasRequiredSubunit=1;function Ra(qa){return{name:"SubUnit",case_insensitive:!0,contains:[{className:"string",begin:`\\[
(multipart)?`,end:`\\]
`},{className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}}return subunit_1=Ra,subunit_1}var swift_1,hasRequiredSwift;function requireSwift(){if(hasRequiredSwift)return swift_1;hasRequiredSwift=1;function Ra(_f){return _f?typeof _f=="string"?_f:_f.source:null}function qa(_f){return nd("(?=",_f,")")}function nd(..._f){return _f.map(pf=>Ra(pf)).join("")}function od(_f){const Xd=_f[_f.length-1];return typeof Xd=="object"&&Xd.constructor===Object?(_f.splice(_f.length-1,1),Xd):{}}function ld(..._f){return"("+(od(_f).capture?"":"?:")+_f.map(mf=>Ra(mf)).join("|")+")"}const ud=_f=>nd(/\b/,_f,/\w$/.test(_f)?/\b/:/\B/),dd=["Protocol","Type"].map(ud),pd=["init","self"].map(ud),fd=["Any","Self"],md=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","package","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],vd=["false","nil","true"],Ad=["assignment","associativity","higherThan","left","lowerThan","none","right"],Nd=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],Od=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],kd=ld(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),Ld=ld(kd,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),Gd=nd(kd,Ld,"*"),jd=ld(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),Fd=ld(jd,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),Ud=nd(jd,Fd,"*"),qd=nd(/[A-Z]/,Fd,"*"),zd=["attached","autoclosure",nd(/convention\(/,ld("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",nd(/objc\(/,Ud,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],Wd=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function Jd(_f){const Xd={match:/\s+/,relevance:0},pf=_f.COMMENT("/\\*","\\*/",{contains:["self"]}),mf=[_f.C_LINE_COMMENT_MODE,pf],Sf={match:[/\./,ld(...dd,...pd)],className:{2:"keyword"}},Tf={match:nd(/\./,ld(...md)),relevance:0},Af=md.filter(zm=>typeof zm=="string").concat(["_|0"]),Ef=md.filter(zm=>typeof zm!="string").concat(fd).map(ud),Nf={variants:[{className:"keyword",match:ld(...Ef,...pd)}]},If={$pattern:ld(/\b\w+/,/#\w+/),keyword:Af.concat(Nd),literal:vd},Gf=[Sf,Tf,Nf],Qf={match:nd(/\./,ld(...Od)),relevance:0},Xf={className:"built_in",match:nd(/\b/,ld(...Od),/(?=\()/)},ph=[Qf,Xf],qf={match:/->/,relevance:0},Lf={className:"operator",relevance:0,variants:[{match:Gd},{match:`\\.(\\.|${Ld})+`}]},Wf=[qf,Lf],Jf="([0-9]_*)+",Kf="([0-9a-fA-F]_*)+",Cf={className:"number",relevance:0,variants:[{match:`\\b(${Jf})(\\.(${Jf}))?([eE][+-]?(${Jf}))?\\b`},{match:`\\b0x(${Kf})(\\.(${Kf}))?([pP][+-]?(${Jf}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},xf=(zm="")=>({className:"subst",variants:[{match:nd(/\\/,zm,/[0\\tnr"']/)},{match:nd(/\\/,zm,/u\{[0-9a-fA-F]{1,8}\}/)}]}),Yf=(zm="")=>({className:"subst",match:nd(/\\/,zm,/[\t ]*(?:[\r\n]|\r\n)/)}),dh=(zm="")=>({className:"subst",label:"interpol",begin:nd(/\\/,zm,/\(/),end:/\)/}),Rh=(zm="")=>({begin:nd(zm,/"""/),end:nd(/"""/,zm),contains:[xf(zm),Yf(zm),dh(zm)]}),th=(zm="")=>({begin:nd(zm,/"/),end:nd(/"/,zm),contains:[xf(zm),dh(zm)]}),Bf={className:"string",variants:[Rh(),Rh("#"),Rh("##"),Rh("###"),th(),th("#"),th("##"),th("###")]},Sh=[_f.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[_f.BACKSLASH_ESCAPE]}],Fh={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:Sh},uh=zm=>{const jm=nd(zm,/\//),ig=nd(/\//,zm);return{begin:jm,end:ig,contains:[...Sh,{scope:"comment",begin:`#(?!.*${ig})`,end:/$/}]}},Pf={scope:"regexp",variants:[uh("###"),uh("##"),uh("#"),Fh]},Uf={match:nd(/`/,Ud,/`/)},Zf={className:"variable",match:/\$\d+/},mh={className:"variable",match:`\\$${Fd}+`},Mh=[Uf,Zf,mh],_h={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:Wd,contains:[...Wf,Cf,Bf]}]}},pm={scope:"keyword",match:nd(/@/,ld(...zd),qa(ld(/\(/,/\s+/)))},Jh={scope:"meta",match:nd(/@/,Ud)},Mm=[_h,pm,Jh],Im={match:qa(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:nd(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,Fd,"+")},{className:"type",match:qd,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:nd(/\s+&\s+/,qa(qd)),relevance:0}]},gm={begin:/</,end:/>/,keywords:If,contains:[...mf,...Gf,...Mm,qf,Im]};Im.contains.push(gm);const Lm={match:nd(Ud,/\s*:/),keywords:"_|0",relevance:0},Vm={begin:/\(/,end:/\)/,relevance:0,keywords:If,contains:["self",Lm,...mf,Pf,...Gf,...ph,...Wf,Cf,Bf,...Mh,...Mm,Im]},Th={begin:/</,end:/>/,keywords:"repeat each",contains:[...mf,Im]},Rf={begin:ld(qa(nd(Ud,/\s*:/)),qa(nd(Ud,/\s+/,Ud,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:Ud}]},wf={begin:/\(/,end:/\)/,keywords:If,contains:[Rf,...mf,...Gf,...Wf,Cf,Bf,...Mm,Im,Vm],endsParent:!0,illegal:/["']/},sh={match:[/(func|macro)/,/\s+/,ld(Uf.match,Ud,Gd)],className:{1:"keyword",3:"title.function"},contains:[Th,wf,Xd],illegal:[/\[/,/%/]},xh={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[Th,wf,Xd],illegal:/\[|%/},Wh={match:[/operator/,/\s+/,Gd],className:{1:"keyword",3:"title"}},om={begin:[/precedencegroup/,/\s+/,qd],className:{1:"keyword",3:"title"},contains:[Im],keywords:[...Ad,...vd],end:/}/},Dm={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,Ud,/\s*/],beginScope:{1:"keyword",3:"title.class"},keywords:If,contains:[Th,...Gf,{begin:/:/,end:/\{/,keywords:If,contains:[{scope:"title.class.inherited",match:qd},...Gf],relevance:0}]};for(const zm of Bf.variants){const jm=zm.contains.find(Zm=>Zm.label==="interpol");jm.keywords=If;const ig=[...Gf,...ph,...Wf,Cf,Bf,...Mh];jm.contains=[...ig,{begin:/\(/,end:/\)/,contains:["self",...ig]}]}return{name:"Swift",keywords:If,contains:[...mf,sh,xh,Dm,Wh,om,{beginKeywords:"import",end:/$/,contains:[...mf],relevance:0},Pf,...Gf,...ph,...Wf,Cf,Bf,...Mh,...Mm,Im,Vm]}}return swift_1=Jd,swift_1}var taggerscript_1,hasRequiredTaggerscript;function requireTaggerscript(){if(hasRequiredTaggerscript)return taggerscript_1;hasRequiredTaggerscript=1;function Ra(qa){return{name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\\[()]/},{begin:/\(/,end:/\)/,contains:[{begin:/\\[()]/},"self"]}],relevance:10},{className:"keyword",begin:/\$[_a-zA-Z0-9]+(?=\()/},{className:"variable",begin:/%[_a-zA-Z0-9:]+%/},{className:"symbol",begin:/\\[\\nt$%,()]/},{className:"symbol",begin:/\\u[a-fA-F0-9]{4}/}]}}return taggerscript_1=Ra,taggerscript_1}var yaml_1,hasRequiredYaml;function requireYaml(){if(hasRequiredYaml)return yaml_1;hasRequiredYaml=1;function Ra(qa){const nd="true false yes no null",od="[\\w#;/?:@&=+$,.~*'()[\\]]+",ld={className:"attr",variants:[{begin:/\w[\w :()\./-]*:(?=[ \t]|$)/},{begin:/"\w[\w :()\./-]*":(?=[ \t]|$)/},{begin:/'\w[\w :()\./-]*':(?=[ \t]|$)/}]},ud={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},dd={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[qa.BACKSLASH_ESCAPE,ud]},pd=qa.inherit(dd,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),Nd={className:"number",begin:"\\b"+"[0-9]{4}(-[0-9][0-9]){0,2}"+"([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?"+"(\\.[0-9]*)?"+"([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?"+"\\b"},Od={end:",",endsWithParent:!0,excludeEnd:!0,keywords:nd,relevance:0},kd={begin:/\{/,end:/\}/,contains:[Od],illegal:"\\n",relevance:0},Ld={begin:"\\[",end:"\\]",contains:[Od],illegal:"\\n",relevance:0},Gd=[ld,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+od},{className:"type",begin:"!<"+od+">"},{className:"type",begin:"!"+od},{className:"type",begin:"!!"+od},{className:"meta",begin:"&"+qa.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+qa.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},qa.HASH_COMMENT_MODE,{beginKeywords:nd,keywords:{literal:nd}},Nd,{className:"number",begin:qa.C_NUMBER_RE+"\\b",relevance:0},kd,Ld,dd],jd=[...Gd];return jd.pop(),jd.push(pd),Od.contains=jd,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:Gd}}return yaml_1=Ra,yaml_1}var tap_1,hasRequiredTap;function requireTap(){if(hasRequiredTap)return tap_1;hasRequiredTap=1;function Ra(qa){return{name:"Test Anything Protocol",case_insensitive:!0,contains:[qa.HASH_COMMENT_MODE,{className:"meta",variants:[{begin:"^TAP version (\\d+)$"},{begin:"^1\\.\\.(\\d+)$"}]},{begin:/---$/,end:"\\.\\.\\.$",subLanguage:"yaml",relevance:0},{className:"number",begin:" (\\d+) "},{className:"symbol",variants:[{begin:"^ok"},{begin:"^not ok"}]}]}}return tap_1=Ra,tap_1}var tcl_1,hasRequiredTcl;function requireTcl(){if(hasRequiredTcl)return tcl_1;hasRequiredTcl=1;function Ra(qa){const nd=qa.regex,od=/[a-zA-Z_][a-zA-Z0-9_]*/,ld={className:"number",variants:[qa.BINARY_NUMBER_MODE,qa.C_NUMBER_MODE]};return{name:"Tcl",aliases:["tk"],keywords:["after","append","apply","array","auto_execok","auto_import","auto_load","auto_mkindex","auto_mkindex_old","auto_qualify","auto_reset","bgerror","binary","break","catch","cd","chan","clock","close","concat","continue","dde","dict","encoding","eof","error","eval","exec","exit","expr","fblocked","fconfigure","fcopy","file","fileevent","filename","flush","for","foreach","format","gets","glob","global","history","http","if","incr","info","interp","join","lappend|10","lassign|10","lindex|10","linsert|10","list","llength|10","load","lrange|10","lrepeat|10","lreplace|10","lreverse|10","lsearch|10","lset|10","lsort|10","mathfunc","mathop","memory","msgcat","namespace","open","package","parray","pid","pkg::create","pkg_mkIndex","platform","platform::shell","proc","puts","pwd","read","refchan","regexp","registry","regsub|10","rename","return","safe","scan","seek","set","socket","source","split","string","subst","switch","tcl_endOfWord","tcl_findLibrary","tcl_startOfNextWord","tcl_startOfPreviousWord","tcl_wordBreakAfter","tcl_wordBreakBefore","tcltest","tclvars","tell","time","tm","trace","unknown","unload","unset","update","uplevel","upvar","variable","vwait","while"],contains:[qa.COMMENT(";[ \\t]*#","$"),qa.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",variants:[{begin:nd.concat(/\$/,nd.optional(/::/),od,"(::",od,")*")},{begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[ld]}]},{className:"string",contains:[qa.BACKSLASH_ESCAPE],variants:[qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null})]},ld]}}return tcl_1=Ra,tcl_1}var thrift_1,hasRequiredThrift;function requireThrift(){if(hasRequiredThrift)return thrift_1;hasRequiredThrift=1;function Ra(qa){const nd=["bool","byte","i16","i32","i64","double","string","binary"];return{name:"Thrift",keywords:{keyword:["namespace","const","typedef","struct","enum","service","exception","void","oneway","set","list","map","required","optional"],type:nd,literal:"true false"},contains:[qa.QUOTE_STRING_MODE,qa.NUMBER_MODE,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[qa.inherit(qa.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",keywords:{type:[...nd,"set","list","map"]},end:">",contains:["self"]}]}}return thrift_1=Ra,thrift_1}var tp_1,hasRequiredTp;function requireTp(){if(hasRequiredTp)return tp_1;hasRequiredTp=1;function Ra(qa){const nd={className:"number",begin:"[1-9][0-9]*",relevance:0},od={className:"symbol",begin:":[^\\]]+"},ld={className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",nd,od]},ud={className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",nd,qa.QUOTE_STRING_MODE,od]};return{name:"TP",keywords:{keyword:["ABORT","ACC","ADJUST","AND","AP_LD","BREAK","CALL","CNT","COL","CONDITION","CONFIG","DA","DB","DIV","DETECT","ELSE","END","ENDFOR","ERR_NUM","ERROR_PROG","FINE","FOR","GP","GUARD","INC","IF","JMP","LINEAR_MAX_SPEED","LOCK","MOD","MONITOR","OFFSET","Offset","OR","OVERRIDE","PAUSE","PREG","PTH","RT_LD","RUN","SELECT","SKIP","Skip","TA","TB","TO","TOOL_OFFSET","Tool_Offset","UF","UT","UFRAME_NUM","UTOOL_NUM","UNLOCK","WAIT","X","Y","Z","W","P","R","STRLEN","SUBSTR","FINDSTR","VOFFSET","PROG","ATTR","MN","POS"],literal:["ON","OFF","max_speed","LPOS","JPOS","ENABLE","DISABLE","START","STOP","RESET"]},contains:[ld,ud,{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},qa.COMMENT("//","[;$]"),qa.COMMENT("!","[;$]"),qa.COMMENT("--eg:","$"),qa.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},qa.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}return tp_1=Ra,tp_1}var twig_1,hasRequiredTwig;function requireTwig(){if(hasRequiredTwig)return twig_1;hasRequiredTwig=1;function Ra(qa){const nd=qa.regex,od=["absolute_url","asset|0","asset_version","attribute","block","constant","controller|0","country_timezones","csrf_token","cycle","date","dump","expression","form|0","form_end","form_errors","form_help","form_label","form_rest","form_row","form_start","form_widget","html_classes","include","is_granted","logout_path","logout_url","max","min","parent","path|0","random","range","relative_path","render","render_esi","source","template_from_string","url|0"],ld=["abs","abbr_class","abbr_method","batch","capitalize","column","convert_encoding","country_name","currency_name","currency_symbol","data_uri","date","date_modify","default","escape","file_excerpt","file_link","file_relative","filter","first","format","format_args","format_args_as_text","format_currency","format_date","format_datetime","format_file","format_file_from_text","format_number","format_time","html_to_markdown","humanize","inky_to_html","inline_css","join","json_encode","keys","language_name","last","length","locale_name","lower","map","markdown","markdown_to_html","merge","nl2br","number_format","raw","reduce","replace","reverse","round","slice","slug","sort","spaceless","split","striptags","timezone_name","title","trans","transchoice","trim","u|0","upper","url_encode","yaml_dump","yaml_encode"];let ud=["apply","autoescape","block","cache","deprecated","do","embed","extends","filter","flush","for","form_theme","from","if","import","include","macro","sandbox","set","stopwatch","trans","trans_default_domain","transchoice","use","verbatim","with"];ud=ud.concat(ud.map(Ld=>`end${Ld}`));const dd={scope:"string",variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},pd={scope:"number",match:/\d+/},fd={begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[dd,pd]},md={beginKeywords:od.join(" "),keywords:{name:od},relevance:0,contains:[fd]},vd={match:/\|(?=[A-Za-z_]+:?)/,beginScope:"punctuation",relevance:0,contains:[{match:/[A-Za-z_]+:?/,keywords:ld}]},Ad=(Ld,{relevance:Gd})=>({beginScope:{1:"template-tag",3:"name"},relevance:Gd||2,endScope:"template-tag",begin:[/\{%/,/\s*/,nd.either(...Ld)],end:/%\}/,keywords:"in",contains:[vd,md,dd,pd]}),Nd=/[a-z_]+/,Od=Ad(ud,{relevance:2}),kd=Ad([Nd],{relevance:1});return{name:"Twig",aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[qa.COMMENT(/\{#/,/#\}/),Od,kd,{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:["self",vd,md,dd,pd]}]}}return twig_1=Ra,twig_1}var typescript_1,hasRequiredTypescript;function requireTypescript(){if(hasRequiredTypescript)return typescript_1;hasRequiredTypescript=1;const Ra="[A-Za-z$_][0-9A-Za-z$_]*",qa=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],nd=["true","false","null","undefined","NaN","Infinity"],od=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],ld=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],ud=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],dd=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],pd=[].concat(ud,od,ld);function fd(vd){const Ad=vd.regex,Nd=(xf,{after:Yf})=>{const dh="</"+xf[0].slice(1);return xf.input.indexOf(dh,Yf)!==-1},Od=Ra,kd={begin:"<>",end:"</>"},Ld=/<[A-Za-z0-9\\._:-]+\s*\/>/,Gd={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(xf,Yf)=>{const dh=xf[0].length+xf.index,Rh=xf.input[dh];if(Rh==="<"||Rh===","){Yf.ignoreMatch();return}Rh===">"&&(Nd(xf,{after:dh})||Yf.ignoreMatch());let th;const Bf=xf.input.substring(dh);if(th=Bf.match(/^\s*=/)){Yf.ignoreMatch();return}if((th=Bf.match(/^\s+extends\s+/))&&th.index===0){Yf.ignoreMatch();return}}},jd={$pattern:Ra,keyword:qa,literal:nd,built_in:pd,"variable.language":dd},Fd="[0-9](_?[0-9])*",Ud=`\\.(${Fd})`,qd="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",zd={className:"number",variants:[{begin:`(\\b(${qd})((${Ud})|\\.)?|(${Ud}))[eE][+-]?(${Fd})\\b`},{begin:`\\b(${qd})\\b((${Ud})\\b|\\.)?|(${Ud})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},Wd={className:"subst",begin:"\\$\\{",end:"\\}",keywords:jd,contains:[]},Jd={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[vd.BACKSLASH_ESCAPE,Wd],subLanguage:"xml"}},_f={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[vd.BACKSLASH_ESCAPE,Wd],subLanguage:"css"}},Xd={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[vd.BACKSLASH_ESCAPE,Wd],subLanguage:"graphql"}},pf={className:"string",begin:"`",end:"`",contains:[vd.BACKSLASH_ESCAPE,Wd]},Sf={className:"comment",variants:[vd.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:Od+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),vd.C_BLOCK_COMMENT_MODE,vd.C_LINE_COMMENT_MODE]},Tf=[vd.APOS_STRING_MODE,vd.QUOTE_STRING_MODE,Jd,_f,Xd,pf,{match:/\$\d+/},zd];Wd.contains=Tf.concat({begin:/\{/,end:/\}/,keywords:jd,contains:["self"].concat(Tf)});const Af=[].concat(Sf,Wd.contains),Ef=Af.concat([{begin:/(\s*)\(/,end:/\)/,keywords:jd,contains:["self"].concat(Af)}]),Nf={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:jd,contains:Ef},If={variants:[{match:[/class/,/\s+/,Od,/\s+/,/extends/,/\s+/,Ad.concat(Od,"(",Ad.concat(/\./,Od),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,Od],scope:{1:"keyword",3:"title.class"}}]},Gf={relevance:0,match:Ad.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...od,...ld]}},Qf={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},Xf={variants:[{match:[/function/,/\s+/,Od,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[Nf],illegal:/%/},ph={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function qf(xf){return Ad.concat("(?!",xf.join("|"),")")}const Lf={match:Ad.concat(/\b/,qf([...ud,"super","import"].map(xf=>`${xf}\\s*\\(`)),Od,Ad.lookahead(/\s*\(/)),className:"title.function",relevance:0},Wf={begin:Ad.concat(/\./,Ad.lookahead(Ad.concat(Od,/(?![0-9A-Za-z$_(])/))),end:Od,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Jf={match:[/get|set/,/\s+/,Od,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},Nf]},Kf="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+vd.UNDERSCORE_IDENT_RE+")\\s*=>",Cf={match:[/const|var|let/,/\s+/,Od,/\s*/,/=\s*/,/(async\s*)?/,Ad.lookahead(Kf)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[Nf]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:jd,exports:{PARAMS_CONTAINS:Ef,CLASS_REFERENCE:Gf},illegal:/#(?![$_A-z])/,contains:[vd.SHEBANG({label:"shebang",binary:"node",relevance:5}),Qf,vd.APOS_STRING_MODE,vd.QUOTE_STRING_MODE,Jd,_f,Xd,pf,Sf,{match:/\$\d+/},zd,Gf,{className:"attr",begin:Od+Ad.lookahead(":"),relevance:0},Cf,{begin:"("+vd.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[Sf,vd.REGEXP_MODE,{className:"function",begin:Kf,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:vd.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:jd,contains:Ef}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:kd.begin,end:kd.end},{match:Ld},{begin:Gd.begin,"on:begin":Gd.isTrulyOpeningTag,end:Gd.end}],subLanguage:"xml",contains:[{begin:Gd.begin,end:Gd.end,skip:!0,contains:["self"]}]}]},Xf,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+vd.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[Nf,vd.inherit(vd.TITLE_MODE,{begin:Od,className:"title.function"})]},{match:/\.\.\./,relevance:0},Wf,{match:"\\$"+Od,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[Nf]},Lf,ph,If,Jf,{match:/\$[(.]/}]}}function md(vd){const Ad=fd(vd),Nd=Ra,Od=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],kd={begin:[/namespace/,/\s+/,vd.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},Ld={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:Od},contains:[Ad.exports.CLASS_REFERENCE]},Gd={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},jd=["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"],Fd={$pattern:Ra,keyword:qa.concat(jd),literal:nd,built_in:pd.concat(Od),"variable.language":dd},Ud={className:"meta",begin:"@"+Nd},qd=(Jd,_f,Xd)=>{const pf=Jd.contains.findIndex(mf=>mf.label===_f);if(pf===-1)throw new Error("can not find mode to replace");Jd.contains.splice(pf,1,Xd)};Object.assign(Ad.keywords,Fd),Ad.exports.PARAMS_CONTAINS.push(Ud);const zd=Ad.contains.find(Jd=>Jd.className==="attr");Ad.exports.PARAMS_CONTAINS.push([Ad.exports.CLASS_REFERENCE,zd]),Ad.contains=Ad.contains.concat([Ud,kd,Ld]),qd(Ad,"shebang",vd.SHEBANG()),qd(Ad,"use_strict",Gd);const Wd=Ad.contains.find(Jd=>Jd.label==="func.def");return Wd.relevance=0,Object.assign(Ad,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),Ad}return typescript_1=md,typescript_1}var vala_1,hasRequiredVala;function requireVala(){if(hasRequiredVala)return vala_1;hasRequiredVala=1;function Ra(qa){return{name:"Vala",keywords:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override virtual delegate if while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object Gtk Posix",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface namespace",end:/\{/,excludeEnd:!0,illegal:"[^,:\\n\\s\\.]",contains:[qa.UNDERSCORE_TITLE_MODE]},qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,qa.C_NUMBER_MODE,{className:"meta",begin:"^#",end:"$"}]}}return vala_1=Ra,vala_1}var vbnet_1,hasRequiredVbnet;function requireVbnet(){if(hasRequiredVbnet)return vbnet_1;hasRequiredVbnet=1;function Ra(qa){const nd=qa.regex,od={className:"string",begin:/"(""|[^/n])"C\b/},ld={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},ud=/\d{1,2}\/\d{1,2}\/\d{4}/,dd=/\d{4}-\d{1,2}-\d{1,2}/,pd=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,fd=/\d{1,2}(:\d{1,2}){1,2}/,md={className:"literal",variants:[{begin:nd.concat(/# */,nd.either(dd,ud),/ *#/)},{begin:nd.concat(/# */,fd,/ *#/)},{begin:nd.concat(/# */,pd,/ *#/)},{begin:nd.concat(/# */,nd.either(dd,ud),/ +/,nd.either(pd,fd),/ *#/)}]},vd={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},Ad={className:"label",begin:/^\w+:/},Nd=qa.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),Od=qa.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[od,ld,md,vd,Ad,Nd,Od,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[Od]}]}}return vbnet_1=Ra,vbnet_1}var vbscript_1,hasRequiredVbscript;function requireVbscript(){if(hasRequiredVbscript)return vbscript_1;hasRequiredVbscript=1;function Ra(qa){const nd=qa.regex,od=["lcase","month","vartype","instrrev","ubound","setlocale","getobject","rgb","getref","string","weekdayname","rnd","dateadd","monthname","now","day","minute","isarray","cbool","round","formatcurrency","conversions","csng","timevalue","second","year","space","abs","clng","timeserial","fixs","len","asc","isempty","maths","dateserial","atn","timer","isobject","filter","weekday","datevalue","ccur","isdate","instr","datediff","formatdatetime","replace","isnull","right","sgn","array","snumeric","log","cdbl","hex","chr","lbound","msgbox","ucase","getlocale","cos","cdate","cbyte","rtrim","join","hour","oct","typename","trim","strcomp","int","createobject","loadpicture","tan","formatnumber","mid","split","cint","sin","datepart","ltrim","sqr","time","derived","eval","date","formatpercent","exp","inputbox","left","ascw","chrw","regexp","cstr","err"],ld=["server","response","request","scriptengine","scriptenginebuildversion","scriptengineminorversion","scriptenginemajorversion"],ud={begin:nd.concat(nd.either(...od),"\\s*\\("),relevance:0,keywords:{built_in:od}};return{name:"VBScript",aliases:["vbs"],case_insensitive:!0,keywords:{keyword:["call","class","const","dim","do","loop","erase","execute","executeglobal","exit","for","each","next","function","if","then","else","on","error","option","explicit","new","private","property","let","get","public","randomize","redim","rem","select","case","set","stop","sub","while","wend","with","end","to","elseif","is","or","xor","and","not","class_initialize","class_terminate","default","preserve","in","me","byval","byref","step","resume","goto"],built_in:ld,literal:["true","false","null","nothing","empty"]},illegal:"//",contains:[ud,qa.inherit(qa.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),qa.COMMENT(/'/,/$/,{relevance:0}),qa.C_NUMBER_MODE]}}return vbscript_1=Ra,vbscript_1}var vbscriptHtml_1,hasRequiredVbscriptHtml;function requireVbscriptHtml(){if(hasRequiredVbscriptHtml)return vbscriptHtml_1;hasRequiredVbscriptHtml=1;function Ra(qa){return{name:"VBScript in HTML",subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}}return vbscriptHtml_1=Ra,vbscriptHtml_1}var verilog_1,hasRequiredVerilog;function requireVerilog(){if(hasRequiredVerilog)return verilog_1;hasRequiredVerilog=1;function Ra(qa){const nd=qa.regex,od={$pattern:/\$?[\w]+(\$[\w]+)*/,keyword:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf|0","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate|5","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],literal:["null"],built_in:["$finish","$stop","$exit","$fatal","$error","$warning","$info","$realtime","$time","$printtimescale","$bitstoreal","$bitstoshortreal","$itor","$signed","$cast","$bits","$stime","$timeformat","$realtobits","$shortrealtobits","$rtoi","$unsigned","$asserton","$assertkill","$assertpasson","$assertfailon","$assertnonvacuouson","$assertoff","$assertcontrol","$assertpassoff","$assertfailoff","$assertvacuousoff","$isunbounded","$sampled","$fell","$changed","$past_gclk","$fell_gclk","$changed_gclk","$rising_gclk","$steady_gclk","$coverage_control","$coverage_get","$coverage_save","$set_coverage_db_name","$rose","$stable","$past","$rose_gclk","$stable_gclk","$future_gclk","$falling_gclk","$changing_gclk","$display","$coverage_get_max","$coverage_merge","$get_coverage","$load_coverage_db","$typename","$unpacked_dimensions","$left","$low","$increment","$clog2","$ln","$log10","$exp","$sqrt","$pow","$floor","$ceil","$sin","$cos","$tan","$countbits","$onehot","$isunknown","$fatal","$warning","$dimensions","$right","$high","$size","$asin","$acos","$atan","$atan2","$hypot","$sinh","$cosh","$tanh","$asinh","$acosh","$atanh","$countones","$onehot0","$error","$info","$random","$dist_chi_square","$dist_erlang","$dist_exponential","$dist_normal","$dist_poisson","$dist_t","$dist_uniform","$q_initialize","$q_remove","$q_exam","$async$and$array","$async$nand$array","$async$or$array","$async$nor$array","$sync$and$array","$sync$nand$array","$sync$or$array","$sync$nor$array","$q_add","$q_full","$psprintf","$async$and$plane","$async$nand$plane","$async$or$plane","$async$nor$plane","$sync$and$plane","$sync$nand$plane","$sync$or$plane","$sync$nor$plane","$system","$display","$displayb","$displayh","$displayo","$strobe","$strobeb","$strobeh","$strobeo","$write","$readmemb","$readmemh","$writememh","$value$plusargs","$dumpvars","$dumpon","$dumplimit","$dumpports","$dumpportson","$dumpportslimit","$writeb","$writeh","$writeo","$monitor","$monitorb","$monitorh","$monitoro","$writememb","$dumpfile","$dumpoff","$dumpall","$dumpflush","$dumpportsoff","$dumpportsall","$dumpportsflush","$fclose","$fdisplay","$fdisplayb","$fdisplayh","$fdisplayo","$fstrobe","$fstrobeb","$fstrobeh","$fstrobeo","$swrite","$swriteb","$swriteh","$swriteo","$fscanf","$fread","$fseek","$fflush","$feof","$fopen","$fwrite","$fwriteb","$fwriteh","$fwriteo","$fmonitor","$fmonitorb","$fmonitorh","$fmonitoro","$sformat","$sformatf","$fgetc","$ungetc","$fgets","$sscanf","$rewind","$ftell","$ferror"]},ld=["__FILE__","__LINE__"],ud=["begin_keywords","celldefine","default_nettype","default_decay_time","default_trireg_strength","define","delay_mode_distributed","delay_mode_path","delay_mode_unit","delay_mode_zero","else","elsif","end_keywords","endcelldefine","endif","ifdef","ifndef","include","line","nounconnected_drive","pragma","resetall","timescale","unconnected_drive","undef","undefineall"];return{name:"Verilog",aliases:["v","sv","svh"],case_insensitive:!1,keywords:od,contains:[qa.C_BLOCK_COMMENT_MODE,qa.C_LINE_COMMENT_MODE,qa.QUOTE_STRING_MODE,{scope:"number",contains:[qa.BACKSLASH_ESCAPE],variants:[{begin:/\b((\d+'([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\B(('([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\b[0-9][0-9_]*/,relevance:0}]},{scope:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{scope:"variable.constant",match:nd.concat(/`/,nd.either(...ld))},{scope:"meta",begin:nd.concat(/`/,nd.either(...ud)),end:/$|\/\/|\/\*/,returnEnd:!0,keywords:ud}]}}return verilog_1=Ra,verilog_1}var vhdl_1,hasRequiredVhdl;function requireVhdl(){if(hasRequiredVhdl)return vhdl_1;hasRequiredVhdl=1;function Ra(qa){const nd="\\d(_|\\d)*",od="[eE][-+]?"+nd,ld=nd+"(\\."+nd+")?("+od+")?",ud="\\w+",pd="\\b("+(nd+"#"+ud+"(\\."+ud+")?#("+od+")?")+"|"+ld+")";return{name:"VHDL",case_insensitive:!0,keywords:{keyword:["abs","access","after","alias","all","and","architecture","array","assert","assume","assume_guarantee","attribute","begin","block","body","buffer","bus","case","component","configuration","constant","context","cover","disconnect","downto","default","else","elsif","end","entity","exit","fairness","file","for","force","function","generate","generic","group","guarded","if","impure","in","inertial","inout","is","label","library","linkage","literal","loop","map","mod","nand","new","next","nor","not","null","of","on","open","or","others","out","package","parameter","port","postponed","procedure","process","property","protected","pure","range","record","register","reject","release","rem","report","restrict","restrict_guarantee","return","rol","ror","select","sequence","severity","shared","signal","sla","sll","sra","srl","strong","subtype","then","to","transport","type","unaffected","units","until","use","variable","view","vmode","vprop","vunit","wait","when","while","with","xnor","xor"],built_in:["boolean","bit","character","integer","time","delay_length","natural","positive","string","bit_vector","file_open_kind","file_open_status","std_logic","std_logic_vector","unsigned","signed","boolean_vector","integer_vector","std_ulogic","std_ulogic_vector","unresolved_unsigned","u_unsigned","unresolved_signed","u_signed","real_vector","time_vector"],literal:["false","true","note","warning","error","failure","line","text","side","width"]},illegal:/\{/,contains:[qa.C_BLOCK_COMMENT_MODE,qa.COMMENT("--","$"),qa.QUOTE_STRING_MODE,{className:"number",begin:pd,relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[qa.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[qa.BACKSLASH_ESCAPE]}]}}return vhdl_1=Ra,vhdl_1}var vim_1,hasRequiredVim;function requireVim(){if(hasRequiredVim)return vim_1;hasRequiredVim=1;function Ra(qa){return{name:"Vim Script",keywords:{$pattern:/[!#@\w]+/,keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},illegal:/;/,contains:[qa.NUMBER_MODE,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},qa.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]+/},{begin:[/\b(?:function|function!)/,/\s+/,qa.IDENT_RE],className:{1:"keyword",3:"title"},end:"$",relevance:0,contains:[{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}}return vim_1=Ra,vim_1}var wasm_1,hasRequiredWasm;function requireWasm(){if(hasRequiredWasm)return wasm_1;hasRequiredWasm=1;function Ra(qa){qa.regex;const nd=qa.COMMENT(/\(;/,/;\)/);nd.contains.push("self");const od=qa.COMMENT(/;;/,/$/),ld=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],ud={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},dd={className:"variable",begin:/\$[\w_]+/},pd={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},fd={className:"number",relevance:0,match:/[+-]?\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/},md={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},vd={className:"keyword",match:/\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|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:ld},contains:[od,nd,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},dd,pd,ud,qa.QUOTE_STRING_MODE,md,vd,fd]}}return wasm_1=Ra,wasm_1}var wren_1,hasRequiredWren;function requireWren(){if(hasRequiredWren)return wren_1;hasRequiredWren=1;function Ra(qa){const nd=qa.regex,od=/[a-zA-Z]\w*/,ld=["as","break","class","construct","continue","else","for","foreign","if","import","in","is","return","static","var","while"],ud=["true","false","null"],dd=["this","super"],pd=["Bool","Class","Fiber","Fn","List","Map","Null","Num","Object","Range","Sequence","String","System"],fd=["-","~",/\*/,"%",/\.\.\./,/\.\./,/\+/,"<<",">>",">=","<=","<",">",/\^/,/!=/,/!/,/\bis\b/,"==","&&","&",/\|\|/,/\|/,/\?:/,"="],md={relevance:0,match:nd.concat(/\b(?!(if|while|for|else|super)\b)/,od,/(?=\s*[({])/),className:"title.function"},vd={match:nd.concat(nd.either(nd.concat(/\b(?!(if|while|for|else|super)\b)/,od),nd.either(...fd)),/(?=\s*\([^)]+\)\s*\{)/),className:"title.function",starts:{contains:[{begin:/\(/,end:/\)/,contains:[{relevance:0,scope:"params",match:od}]}]}},Ad={variants:[{match:[/class\s+/,od,/\s+is\s+/,od]},{match:[/class\s+/,od]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:ld},Nd={relevance:0,match:nd.either(...fd),className:"operator"},Od={className:"string",begin:/"""/,end:/"""/},kd={className:"property",begin:nd.concat(/\./,nd.lookahead(od)),end:od,excludeBegin:!0,relevance:0},Ld={relevance:0,match:nd.concat(/\b_/,od),scope:"variable"},Gd={relevance:0,match:/\b[A-Z]+[a-z]+([A-Z]+[a-z]+)*/,scope:"title.class",keywords:{_:pd}},jd=qa.C_NUMBER_MODE,Fd={match:[od,/\s*/,/=/,/\s*/,/\(/,od,/\)\s*\{/],scope:{1:"title.function",3:"operator",6:"params"}},Ud=qa.COMMENT(/\/\*\*/,/\*\//,{contains:[{match:/@[a-z]+/,scope:"doctag"},"self"]}),qd={scope:"subst",begin:/%\(/,end:/\)/,contains:[jd,Gd,md,Ld,Nd]},zd={scope:"string",begin:/"/,end:/"/,contains:[qd,{scope:"char.escape",variants:[{match:/\\\\|\\["0%abefnrtv]/},{match:/\\x[0-9A-F]{2}/},{match:/\\u[0-9A-F]{4}/},{match:/\\U[0-9A-F]{8}/}]}]};qd.contains.push(zd);const Wd=[...ld,...dd,...ud],Jd={relevance:0,match:nd.concat("\\b(?!",Wd.join("|"),"\\b)",/[a-zA-Z_]\w*(?:[?!]|\b)/),className:"variable"};return{name:"Wren",keywords:{keyword:ld,"variable.language":dd,literal:ud},contains:[{scope:"comment",variants:[{begin:[/#!?/,/[A-Za-z_]+(?=\()/],beginScope:{},keywords:{literal:ud},contains:[],end:/\)/},{begin:[/#!?/,/[A-Za-z_]+/],beginScope:{},end:/$/}]},jd,zd,Od,Ud,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,Gd,Ad,Fd,vd,md,Nd,Ld,kd,Jd]}}return wren_1=Ra,wren_1}var x86asm_1,hasRequiredX86asm;function requireX86asm(){if(hasRequiredX86asm)return x86asm_1;hasRequiredX86asm=1;function Ra(qa){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+qa.IDENT_RE,keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm9 zmm10 zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__ __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__ __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[qa.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*(\\.[0-9_]*)?(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},qa.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"subst",begin:"%[0-9]+",relevance:0},{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}}return x86asm_1=Ra,x86asm_1}var xl_1,hasRequiredXl;function requireXl(){if(hasRequiredXl)return xl_1;hasRequiredXl=1;function Ra(qa){const nd=["if","then","else","do","while","until","for","loop","import","with","is","as","where","when","by","data","constant","integer","real","text","name","boolean","symbol","infix","prefix","postfix","block","tree"],od=["in","mod","rem","and","or","xor","not","abs","sign","floor","ceil","sqrt","sin","cos","tan","asin","acos","atan","exp","expm1","log","log2","log10","log1p","pi","at","text_length","text_range","text_find","text_replace","contains","page","slide","basic_slide","title_slide","title","subtitle","fade_in","fade_out","fade_at","clear_color","color","line_color","line_width","texture_wrap","texture_transform","texture","scale_?x","scale_?y","scale_?z?","translate_?x","translate_?y","translate_?z?","rotate_?x","rotate_?y","rotate_?z?","rectangle","circle","ellipse","sphere","path","line_to","move_to","quad_to","curve_to","theme","background","contents","locally","time","mouse_?x","mouse_?y","mouse_buttons"],ld=["ObjectLoader","Animate","MovieCredits","Slides","Filters","Shading","Materials","LensFlare","Mapping","VLCAudioVideo","StereoDecoder","PointCloud","NetworkAccess","RemoteControl","RegExp","ChromaKey","Snowfall","NodeJS","Speech","Charts"],dd={$pattern:/[a-zA-Z][a-zA-Z0-9_?]*/,keyword:nd,literal:["true","false","nil"],built_in:od.concat(ld)},pd={className:"string",begin:'"',end:'"',illegal:"\\n"},fd={className:"string",begin:"'",end:"'",illegal:"\\n"},md={className:"string",begin:"<<",end:">>"},vd={className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},Ad={beginKeywords:"import",end:"$",keywords:dd,contains:[pd]},Nd={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[qa.inherit(qa.TITLE_MODE,{starts:{endsWithParent:!0,keywords:dd}})]};return{name:"XL",aliases:["tao"],keywords:dd,contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,pd,fd,md,Nd,Ad,vd,qa.NUMBER_MODE]}}return xl_1=Ra,xl_1}var xquery_1,hasRequiredXquery;function requireXquery(){if(hasRequiredXquery)return xquery_1;hasRequiredXquery=1;function Ra(qa){return{name:"XQuery",aliases:["xpath","xq","xqm"],case_insensitive:!1,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{$pattern:/[a-zA-Z$][a-zA-Z0-9_:-]*/,keyword:["module","schema","namespace","boundary-space","preserve","no-preserve","strip","default","collation","base-uri","ordering","context","decimal-format","decimal-separator","copy-namespaces","empty-sequence","except","exponent-separator","external","grouping-separator","inherit","no-inherit","lax","minus-sign","per-mille","percent","schema-attribute","schema-element","strict","unordered","zero-digit","declare","import","option","function","validate","variable","for","at","in","let","where","order","group","by","return","if","then","else","tumbling","sliding","window","start","when","only","end","previous","next","stable","ascending","descending","allowing","empty","greatest","least","some","every","satisfies","switch","case","typeswitch","try","catch","and","or","to","union","intersect","instance","of","treat","as","castable","cast","map","array","delete","insert","into","replace","value","rename","copy","modify","update"],type:["item","document-node","node","attribute","document","element","comment","namespace","namespace-node","processing-instruction","text","construction","xs:anyAtomicType","xs:untypedAtomic","xs:duration","xs:time","xs:decimal","xs:float","xs:double","xs:gYearMonth","xs:gYear","xs:gMonthDay","xs:gMonth","xs:gDay","xs:boolean","xs:base64Binary","xs:hexBinary","xs:anyURI","xs:QName","xs:NOTATION","xs:dateTime","xs:dateTimeStamp","xs:date","xs:string","xs:normalizedString","xs:token","xs:language","xs:NMTOKEN","xs:Name","xs:NCName","xs:ID","xs:IDREF","xs:ENTITY","xs:integer","xs:nonPositiveInteger","xs:negativeInteger","xs:long","xs:int","xs:short","xs:byte","xs:nonNegativeInteger","xs:unisignedLong","xs:unsignedInt","xs:unsignedShort","xs:unsignedByte","xs:positiveInteger","xs:yearMonthDuration","xs:dayTimeDuration"],literal:["eq","ne","lt","le","gt","ge","is","self::","child::","descendant::","descendant-or-self::","attribute::","following::","following-sibling::","parent::","ancestor::","ancestor-or-self::","preceding::","preceding-sibling::","NaN"]},contains:[{className:"variable",begin:/[$][\w\-:]+/},{className:"built_in",variants:[{begin:/\barray:/,end:/(?:append|filter|flatten|fold-(?:left|right)|for-each(?:-pair)?|get|head|insert-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap:/,end:/(?:contains|entry|find|for-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop:/,end:/\(/,excludeEnd:!0},{begin:/\bfn:/,end:/\(/,excludeEnd:!0},{begin:/[^</$:'"-]\b(?:abs|accumulator-(?:after|before)|adjust-(?:date(?:Time)?|time)-to-timezone|analyze-string|apply|available-(?:environment-variables|system-properties)|avg|base-uri|boolean|ceiling|codepoints?-(?:equal|to-string)|collation-key|collection|compare|concat|contains(?:-token)?|copy-of|count|current(?:-)?(?:date(?:Time)?|time|group(?:ing-key)?|output-uri|merge-(?:group|key))?data|dateTime|days?-from-(?:date(?:Time)?|duration)|deep-equal|default-(?:collation|language)|distinct-values|document(?:-uri)?|doc(?:-available)?|element-(?:available|with-id)|empty|encode-for-uri|ends-with|environment-variable|error|escape-html-uri|exactly-one|exists|false|filter|floor|fold-(?:left|right)|for-each(?:-pair)?|format-(?:date(?:Time)?|time|integer|number)|function-(?:arity|available|lookup|name)|generate-id|has-children|head|hours-from-(?:dateTime|duration|time)|id(?:ref)?|implicit-timezone|in-scope-prefixes|index-of|innermost|insert-before|iri-to-uri|json-(?:doc|to-xml)|key|lang|last|load-xquery-module|local-name(?:-from-QName)?|(?:lower|upper)-case|matches|max|minutes-from-(?:dateTime|duration|time)|min|months?-from-(?:date(?:Time)?|duration)|name(?:space-uri-?(?:for-prefix|from-QName)?)?|nilled|node-name|normalize-(?:space|unicode)|not|number|one-or-more|outermost|parse-(?:ietf-date|json)|path|position|(?:prefix-from-)?QName|random-number-generator|regex-group|remove|replace|resolve-(?:QName|uri)|reverse|root|round(?:-half-to-even)?|seconds-from-(?:dateTime|duration|time)|snapshot|sort|starts-with|static-base-uri|stream-available|string-?(?:join|length|to-codepoints)?|subsequence|substring-?(?:after|before)?|sum|system-property|tail|timezone-from-(?:date(?:Time)?|time)|tokenize|trace|trans(?:form|late)|true|type-available|unordered|unparsed-(?:entity|text)?-?(?:public-id|uri|available|lines)?|uri-collection|xml-to-json|years?-from-(?:date(?:Time)?|duration)|zero-or-one)\b/},{begin:/\blocal:/,end:/\(/,excludeEnd:!0},{begin:/\bzip:/,end:/(?:zip-file|(?:xml|html|text|binary)-entry| (?:update-)?entries)\b/},{begin:/\b(?:util|db|functx|app|xdmp|xmldb):/,end:/\(/,excludeEnd:!0}]},{className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},{className:"number",begin:/(\b0[0-7_]+)|(\b0x[0-9a-fA-F_]+)|(\b[1-9][0-9_]*(\.[0-9_]+)?)|[0_]\b/,relevance:0},{className:"comment",begin:/\(:/,end:/:\)/,relevance:10,contains:[{className:"doctag",begin:/@\w+/}]},{className:"meta",begin:/%[\w\-:]+/},{className:"title",begin:/\bxquery version "[13]\.[01]"\s?(?:encoding ".+")?/,end:/;/},{beginKeywords:"element attribute comment document processing-instruction",end:/\{/,excludeEnd:!0},{begin:/<([\w._:-]+)(\s+\S*=('|").*('|"))?>/,end:/(\/[\w._:-]+>)/,subLanguage:"xml",contains:[{begin:/\{/,end:/\}/,subLanguage:"xquery"},"self"]}]}}return xquery_1=Ra,xquery_1}var zephir_1,hasRequiredZephir;function requireZephir(){if(hasRequiredZephir)return zephir_1;hasRequiredZephir=1;function Ra(qa){const nd={className:"string",contains:[qa.BACKSLASH_ESCAPE],variants:[qa.inherit(qa.APOS_STRING_MODE,{illegal:null}),qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null})]},od=qa.UNDERSCORE_TITLE_MODE,ld={variants:[qa.BINARY_NUMBER_MODE,qa.C_NUMBER_MODE]},ud="namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:ud,contains:[qa.C_LINE_COMMENT_MODE,qa.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[qa.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[od,{className:"params",begin:/\(/,end:/\)/,keywords:ud,contains:["self",qa.C_BLOCK_COMMENT_MODE,nd,ld]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},od]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[od]},{beginKeywords:"use",end:/;/,contains:[od]},{begin:/=>/},nd,ld]}}return zephir_1=Ra,zephir_1}var hljs=core$2;hljs.registerLanguage("1c",require_1c());hljs.registerLanguage("abnf",requireAbnf());hljs.registerLanguage("accesslog",requireAccesslog());hljs.registerLanguage("actionscript",requireActionscript());hljs.registerLanguage("ada",requireAda());hljs.registerLanguage("angelscript",requireAngelscript());hljs.registerLanguage("apache",requireApache());hljs.registerLanguage("applescript",requireApplescript());hljs.registerLanguage("arcade",requireArcade());hljs.registerLanguage("arduino",requireArduino());hljs.registerLanguage("armasm",requireArmasm());hljs.registerLanguage("xml",requireXml$1());hljs.registerLanguage("asciidoc",requireAsciidoc());hljs.registerLanguage("aspectj",requireAspectj());hljs.registerLanguage("autohotkey",requireAutohotkey());hljs.registerLanguage("autoit",requireAutoit());hljs.registerLanguage("avrasm",requireAvrasm());hljs.registerLanguage("awk",requireAwk());hljs.registerLanguage("axapta",requireAxapta());hljs.registerLanguage("bash",requireBash());hljs.registerLanguage("basic",requireBasic());hljs.registerLanguage("bnf",requireBnf());hljs.registerLanguage("brainfuck",requireBrainfuck());hljs.registerLanguage("c",requireC());hljs.registerLanguage("cal",requireCal());hljs.registerLanguage("capnproto",requireCapnproto());hljs.registerLanguage("ceylon",requireCeylon());hljs.registerLanguage("clean",requireClean());hljs.registerLanguage("clojure",requireClojure());hljs.registerLanguage("clojure-repl",requireClojureRepl());hljs.registerLanguage("cmake",requireCmake());hljs.registerLanguage("coffeescript",requireCoffeescript());hljs.registerLanguage("coq",requireCoq());hljs.registerLanguage("cos",requireCos());hljs.registerLanguage("cpp",requireCpp());hljs.registerLanguage("crmsh",requireCrmsh());hljs.registerLanguage("crystal",requireCrystal());hljs.registerLanguage("csharp",requireCsharp());hljs.registerLanguage("csp",requireCsp());hljs.registerLanguage("css",requireCss());hljs.registerLanguage("d",requireD());hljs.registerLanguage("markdown",requireMarkdown());hljs.registerLanguage("dart",requireDart());hljs.registerLanguage("delphi",requireDelphi());hljs.registerLanguage("diff",requireDiff());hljs.registerLanguage("django",requireDjango());hljs.registerLanguage("dns",requireDns());hljs.registerLanguage("dockerfile",requireDockerfile());hljs.registerLanguage("dos",requireDos());hljs.registerLanguage("dsconfig",requireDsconfig());hljs.registerLanguage("dts",requireDts());hljs.registerLanguage("dust",requireDust());hljs.registerLanguage("ebnf",requireEbnf());hljs.registerLanguage("elixir",requireElixir());hljs.registerLanguage("elm",requireElm());hljs.registerLanguage("ruby",requireRuby());hljs.registerLanguage("erb",requireErb());hljs.registerLanguage("erlang-repl",requireErlangRepl());hljs.registerLanguage("erlang",requireErlang());hljs.registerLanguage("excel",requireExcel());hljs.registerLanguage("fix",requireFix());hljs.registerLanguage("flix",requireFlix());hljs.registerLanguage("fortran",requireFortran());hljs.registerLanguage("fsharp",requireFsharp());hljs.registerLanguage("gams",requireGams());hljs.registerLanguage("gauss",requireGauss());hljs.registerLanguage("gcode",requireGcode());hljs.registerLanguage("gherkin",requireGherkin());hljs.registerLanguage("glsl",requireGlsl());hljs.registerLanguage("gml",requireGml());hljs.registerLanguage("go",requireGo());hljs.registerLanguage("golo",requireGolo());hljs.registerLanguage("gradle",requireGradle());hljs.registerLanguage("graphql",requireGraphql());hljs.registerLanguage("groovy",requireGroovy());hljs.registerLanguage("haml",requireHaml());hljs.registerLanguage("handlebars",requireHandlebars());hljs.registerLanguage("haskell",requireHaskell());hljs.registerLanguage("haxe",requireHaxe());hljs.registerLanguage("hsp",requireHsp());hljs.registerLanguage("http",requireHttp());hljs.registerLanguage("hy",requireHy());hljs.registerLanguage("inform7",requireInform7());hljs.registerLanguage("ini",requireIni());hljs.registerLanguage("irpf90",requireIrpf90());hljs.registerLanguage("isbl",requireIsbl());hljs.registerLanguage("java",requireJava());hljs.registerLanguage("javascript",requireJavascript());hljs.registerLanguage("jboss-cli",requireJbossCli());hljs.registerLanguage("json",requireJson());hljs.registerLanguage("julia",requireJulia());hljs.registerLanguage("julia-repl",requireJuliaRepl());hljs.registerLanguage("kotlin",requireKotlin());hljs.registerLanguage("lasso",requireLasso());hljs.registerLanguage("latex",requireLatex());hljs.registerLanguage("ldif",requireLdif());hljs.registerLanguage("leaf",requireLeaf());hljs.registerLanguage("less",requireLess());hljs.registerLanguage("lisp",requireLisp());hljs.registerLanguage("livecodeserver",requireLivecodeserver());hljs.registerLanguage("livescript",requireLivescript());hljs.registerLanguage("llvm",requireLlvm());hljs.registerLanguage("lsl",requireLsl());hljs.registerLanguage("lua",requireLua());hljs.registerLanguage("makefile",requireMakefile());hljs.registerLanguage("mathematica",requireMathematica());hljs.registerLanguage("matlab",requireMatlab());hljs.registerLanguage("maxima",requireMaxima());hljs.registerLanguage("mel",requireMel());hljs.registerLanguage("mercury",requireMercury());hljs.registerLanguage("mipsasm",requireMipsasm());hljs.registerLanguage("mizar",requireMizar());hljs.registerLanguage("perl",requirePerl());hljs.registerLanguage("mojolicious",requireMojolicious());hljs.registerLanguage("monkey",requireMonkey());hljs.registerLanguage("moonscript",requireMoonscript());hljs.registerLanguage("n1ql",requireN1ql());hljs.registerLanguage("nestedtext",requireNestedtext());hljs.registerLanguage("nginx",requireNginx());hljs.registerLanguage("nim",requireNim());hljs.registerLanguage("nix",requireNix());hljs.registerLanguage("node-repl",requireNodeRepl());hljs.registerLanguage("nsis",requireNsis());hljs.registerLanguage("objectivec",requireObjectivec());hljs.registerLanguage("ocaml",requireOcaml());hljs.registerLanguage("openscad",requireOpenscad());hljs.registerLanguage("oxygene",requireOxygene());hljs.registerLanguage("parser3",requireParser3());hljs.registerLanguage("pf",requirePf());hljs.registerLanguage("pgsql",requirePgsql());hljs.registerLanguage("php",requirePhp());hljs.registerLanguage("php-template",requirePhpTemplate());hljs.registerLanguage("plaintext",requirePlaintext());hljs.registerLanguage("pony",requirePony());hljs.registerLanguage("powershell",requirePowershell());hljs.registerLanguage("processing",requireProcessing());hljs.registerLanguage("profile",requireProfile());hljs.registerLanguage("prolog",requireProlog());hljs.registerLanguage("properties",requireProperties());hljs.registerLanguage("protobuf",requireProtobuf());hljs.registerLanguage("puppet",requirePuppet());hljs.registerLanguage("purebasic",requirePurebasic());hljs.registerLanguage("python",requirePython());hljs.registerLanguage("python-repl",requirePythonRepl());hljs.registerLanguage("q",requireQ());hljs.registerLanguage("qml",requireQml());hljs.registerLanguage("r",requireR());hljs.registerLanguage("reasonml",requireReasonml());hljs.registerLanguage("rib",requireRib());hljs.registerLanguage("roboconf",requireRoboconf());hljs.registerLanguage("routeros",requireRouteros());hljs.registerLanguage("rsl",requireRsl());hljs.registerLanguage("ruleslanguage",requireRuleslanguage());hljs.registerLanguage("rust",requireRust());hljs.registerLanguage("sas",requireSas());hljs.registerLanguage("scala",requireScala());hljs.registerLanguage("scheme",requireScheme());hljs.registerLanguage("scilab",requireScilab());hljs.registerLanguage("scss",requireScss());hljs.registerLanguage("shell",requireShell());hljs.registerLanguage("smali",requireSmali());hljs.registerLanguage("smalltalk",requireSmalltalk());hljs.registerLanguage("sml",requireSml());hljs.registerLanguage("sqf",requireSqf());hljs.registerLanguage("sql",requireSql());hljs.registerLanguage("stan",requireStan());hljs.registerLanguage("stata",requireStata());hljs.registerLanguage("step21",requireStep21());hljs.registerLanguage("stylus",requireStylus());hljs.registerLanguage("subunit",requireSubunit());hljs.registerLanguage("swift",requireSwift());hljs.registerLanguage("taggerscript",requireTaggerscript());hljs.registerLanguage("yaml",requireYaml());hljs.registerLanguage("tap",requireTap());hljs.registerLanguage("tcl",requireTcl());hljs.registerLanguage("thrift",requireThrift());hljs.registerLanguage("tp",requireTp());hljs.registerLanguage("twig",requireTwig());hljs.registerLanguage("typescript",requireTypescript());hljs.registerLanguage("vala",requireVala());hljs.registerLanguage("vbnet",requireVbnet());hljs.registerLanguage("vbscript",requireVbscript());hljs.registerLanguage("vbscript-html",requireVbscriptHtml());hljs.registerLanguage("verilog",requireVerilog());hljs.registerLanguage("vhdl",requireVhdl());hljs.registerLanguage("vim",requireVim());hljs.registerLanguage("wasm",requireWasm());hljs.registerLanguage("wren",requireWren());hljs.registerLanguage("x86asm",requireX86asm());hljs.registerLanguage("xl",requireXl());hljs.registerLanguage("xquery",requireXquery());hljs.registerLanguage("zephir",requireZephir());hljs.HighlightJS=hljs;hljs.default=hljs;var lib$3=hljs;const HighlightJS=getDefaultExportFromCjs(lib$3);function _getDefaults$1(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let _defaults$1=_getDefaults$1();function changeDefaults$1(Ra){_defaults$1=Ra}const noopTest$1={exec:()=>null};function edit$1(Ra,qa=""){let nd=typeof Ra=="string"?Ra:Ra.source;const od={replace:(ld,ud)=>{let dd=typeof ud=="string"?ud:ud.source;return dd=dd.replace(other.caret,"$1"),nd=nd.replace(ld,dd),od},getRegex:()=>new RegExp(nd,qa)};return od}const other={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:Ra=>new RegExp(`^( {0,3}${Ra})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:Ra=>new RegExp(`^ {0,${Math.min(3,Ra-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:Ra=>new RegExp(`^ {0,${Math.min(3,Ra-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:Ra=>new RegExp(`^ {0,${Math.min(3,Ra-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:Ra=>new RegExp(`^ {0,${Math.min(3,Ra-1)}}#`),htmlBeginRegex:Ra=>new RegExp(`^ {0,${Math.min(3,Ra-1)}}<(?:[a-z].*>|!--)`,"i")},newline$1=/^(?:[ \t]*(?:\n|$))+/,blockCode$1=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,fences$1=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr$1=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading$1=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,bullet$1=/(?:[*+-]|\d{1,9}[.)])/,lheading$1=edit$1(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,bullet$1).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),_paragraph$1=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,blockText$1=/^[^\n]+/,_blockLabel$1=/(?!\s*\])(?:\\.|[^\[\]\\])+/,def$1=edit$1(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",_blockLabel$1).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),list$1=edit$1(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,bullet$1).getRegex(),_tag$1="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|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",_comment$1=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,html$3=edit$1("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",_comment$1).replace("tag",_tag$1).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),paragraph$1=edit$1(_paragraph$1).replace("hr",hr$1).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",_tag$1).getRegex(),blockquote$1=edit$1(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",paragraph$1).getRegex(),blockNormal$1={blockquote:blockquote$1,code:blockCode$1,def:def$1,fences:fences$1,heading:heading$1,hr:hr$1,html:html$3,lheading:lheading$1,list:list$1,newline:newline$1,paragraph:paragraph$1,table:noopTest$1,text:blockText$1},gfmTable$1=edit$1("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",hr$1).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",_tag$1).getRegex(),blockGfm$1={...blockNormal$1,table:gfmTable$1,paragraph:edit$1(_paragraph$1).replace("hr",hr$1).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",gfmTable$1).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",_tag$1).getRegex()},blockPedantic$1={...blockNormal$1,html:edit$1(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",_comment$1).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:noopTest$1,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:edit$1(_paragraph$1).replace("hr",hr$1).replace("heading",` *#{1,6} *[^
]`).replace("lheading",lheading$1).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},escape$1$1=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,inlineCode$1=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br$2=/^( {2,}|\\)\n(?!\s*$)/,inlineText$1=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,_punctuation$1=new RegExp("\\p{P}\\p{S}","u"),punctuation$1=edit$1(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,_punctuation$1).getRegex(),blockSkip$1=/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,emStrongLDelim$1=edit$1(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,_punctuation$1).getRegex(),emStrongRDelimAst$1=edit$1("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,_punctuation$1).getRegex(),emStrongRDelimUnd$1=edit$1("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,_punctuation$1).getRegex(),anyPunctuation$1=edit$1(/\\([punct])/,"gu").replace(/punct/g,_punctuation$1).getRegex(),autolink$1=edit$1(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),_inlineComment$1=edit$1(_comment$1).replace("(?:-->|$)","-->").getRegex(),tag$1=edit$1("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",_inlineComment$1).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),_inlineLabel$1=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,link$1=edit$1(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",_inlineLabel$1).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),reflink$1=edit$1(/^!?\[(label)\]\[(ref)\]/).replace("label",_inlineLabel$1).replace("ref",_blockLabel$1).getRegex(),nolink$1=edit$1(/^!?\[(ref)\](?:\[\])?/).replace("ref",_blockLabel$1).getRegex(),reflinkSearch$1=edit$1("reflink|nolink(?!\\()","g").replace("reflink",reflink$1).replace("nolink",nolink$1).getRegex(),inlineNormal$1={_backpedal:noopTest$1,anyPunctuation:anyPunctuation$1,autolink:autolink$1,blockSkip:blockSkip$1,br:br$2,code:inlineCode$1,del:noopTest$1,emStrongLDelim:emStrongLDelim$1,emStrongRDelimAst:emStrongRDelimAst$1,emStrongRDelimUnd:emStrongRDelimUnd$1,escape:escape$1$1,link:link$1,nolink:nolink$1,punctuation:punctuation$1,reflink:reflink$1,reflinkSearch:reflinkSearch$1,tag:tag$1,text:inlineText$1,url:noopTest$1},inlinePedantic$1={...inlineNormal$1,link:edit$1(/^!?\[(label)\]\((.*?)\)/).replace("label",_inlineLabel$1).getRegex(),reflink:edit$1(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",_inlineLabel$1).getRegex()},inlineGfm$1={...inlineNormal$1,escape:edit$1(escape$1$1).replace("])","~|])").getRegex(),url:edit$1(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},inlineBreaks$1={...inlineGfm$1,br:edit$1(br$2).replace("{2,}","*").getRegex(),text:edit$1(inlineGfm$1.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},block$1={normal:blockNormal$1,gfm:blockGfm$1,pedantic:blockPedantic$1},inline$1={normal:inlineNormal$1,gfm:inlineGfm$1,breaks:inlineBreaks$1,pedantic:inlinePedantic$1},escapeReplacements$1={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},getEscapeReplacement$1=Ra=>escapeReplacements$1[Ra];function escape$3(Ra,qa){if(qa){if(other.escapeTest.test(Ra))return Ra.replace(other.escapeReplace,getEscapeReplacement$1)}else if(other.escapeTestNoEncode.test(Ra))return Ra.replace(other.escapeReplaceNoEncode,getEscapeReplacement$1);return Ra}function cleanUrl$1(Ra){try{Ra=encodeURI(Ra).replace(other.percentDecode,"%")}catch{return null}return Ra}function splitCells$1(Ra,qa){var ud;const nd=Ra.replace(other.findPipe,(dd,pd,fd)=>{let md=!1,vd=pd;for(;--vd>=0&&fd[vd]==="\\";)md=!md;return md?"|":" |"}),od=nd.split(other.splitPipe);let ld=0;if(od[0].trim()||od.shift(),od.length>0&&!((ud=od.at(-1))!=null&&ud.trim())&&od.pop(),qa)if(od.length>qa)od.splice(qa);else for(;od.length<qa;)od.push("");for(;ld<od.length;ld++)od[ld]=od[ld].trim().replace(other.slashPipe,"|");return od}function rtrim$1(Ra,qa,nd){const od=Ra.length;if(od===0)return"";let ld=0;for(;ld<od;){const ud=Ra.charAt(od-ld-1);if(ud===qa&&!nd)ld++;else if(ud!==qa&&nd)ld++;else break}return Ra.slice(0,od-ld)}function findClosingBracket$1(Ra,qa){if(Ra.indexOf(qa[1])===-1)return-1;let nd=0;for(let od=0;od<Ra.length;od++)if(Ra[od]==="\\")od++;else if(Ra[od]===qa[0])nd++;else if(Ra[od]===qa[1]&&(nd--,nd<0))return od;return-1}function outputLink$1(Ra,qa,nd,od,ld){const ud=qa.href,dd=qa.title||null,pd=Ra[1].replace(ld.other.outputLinkReplace,"$1");if(Ra[0].charAt(0)!=="!"){od.state.inLink=!0;const fd={type:"link",raw:nd,href:ud,title:dd,text:pd,tokens:od.inlineTokens(pd)};return od.state.inLink=!1,fd}return{type:"image",raw:nd,href:ud,title:dd,text:pd}}function indentCodeCompensation$1(Ra,qa,nd){const od=Ra.match(nd.other.indentCodeCompensation);if(od===null)return qa;const ld=od[1];return qa.split(`
`).map(ud=>{const dd=ud.match(nd.other.beginningSpace);if(dd===null)return ud;const[pd]=dd;return pd.length>=ld.length?ud.slice(ld.length):ud}).join(`
`)}let _Tokenizer$1=class{constructor(qa){kg(this,"options");kg(this,"rules");kg(this,"lexer");this.options=qa||_defaults$1}space(qa){const nd=this.rules.block.newline.exec(qa);if(nd&&nd[0].length>0)return{type:"space",raw:nd[0]}}code(qa){const nd=this.rules.block.code.exec(qa);if(nd){const od=nd[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:nd[0],codeBlockStyle:"indented",text:this.options.pedantic?od:rtrim$1(od,`
`)}}}fences(qa){const nd=this.rules.block.fences.exec(qa);if(nd){const od=nd[0],ld=indentCodeCompensation$1(od,nd[3]||"",this.rules);return{type:"code",raw:od,lang:nd[2]?nd[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):nd[2],text:ld}}}heading(qa){const nd=this.rules.block.heading.exec(qa);if(nd){let od=nd[2].trim();if(this.rules.other.endingHash.test(od)){const ld=rtrim$1(od,"#");(this.options.pedantic||!ld||this.rules.other.endingSpaceChar.test(ld))&&(od=ld.trim())}return{type:"heading",raw:nd[0],depth:nd[1].length,text:od,tokens:this.lexer.inline(od)}}}hr(qa){const nd=this.rules.block.hr.exec(qa);if(nd)return{type:"hr",raw:rtrim$1(nd[0],`
`)}}blockquote(qa){const nd=this.rules.block.blockquote.exec(qa);if(nd){let od=rtrim$1(nd[0],`
`).split(`
`),ld="",ud="";const dd=[];for(;od.length>0;){let pd=!1;const fd=[];let md;for(md=0;md<od.length;md++)if(this.rules.other.blockquoteStart.test(od[md]))fd.push(od[md]),pd=!0;else if(!pd)fd.push(od[md]);else break;od=od.slice(md);const vd=fd.join(`
`),Ad=vd.replace(this.rules.other.blockquoteSetextReplace,`
$1`).replace(this.rules.other.blockquoteSetextReplace2,"");ld=ld?`${ld}
${vd}`:vd,ud=ud?`${ud}
${Ad}`:Ad;const Nd=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(Ad,dd,!0),this.lexer.state.top=Nd,od.length===0)break;const Od=dd.at(-1);if((Od==null?void 0:Od.type)==="code")break;if((Od==null?void 0:Od.type)==="blockquote"){const kd=Od,Ld=kd.raw+`
`+od.join(`
`),Gd=this.blockquote(Ld);dd[dd.length-1]=Gd,ld=ld.substring(0,ld.length-kd.raw.length)+Gd.raw,ud=ud.substring(0,ud.length-kd.text.length)+Gd.text;break}else if((Od==null?void 0:Od.type)==="list"){const kd=Od,Ld=kd.raw+`
`+od.join(`
`),Gd=this.list(Ld);dd[dd.length-1]=Gd,ld=ld.substring(0,ld.length-Od.raw.length)+Gd.raw,ud=ud.substring(0,ud.length-kd.raw.length)+Gd.raw,od=Ld.substring(dd.at(-1).raw.length).split(`
`);continue}}return{type:"blockquote",raw:ld,tokens:dd,text:ud}}}list(qa){let nd=this.rules.block.list.exec(qa);if(nd){let od=nd[1].trim();const ld=od.length>1,ud={type:"list",raw:"",ordered:ld,start:ld?+od.slice(0,-1):"",loose:!1,items:[]};od=ld?`\\d{1,9}\\${od.slice(-1)}`:`\\${od}`,this.options.pedantic&&(od=ld?od:"[*+-]");const dd=this.rules.other.listItemRegex(od);let pd=!1;for(;qa;){let md=!1,vd="",Ad="";if(!(nd=dd.exec(qa))||this.rules.block.hr.test(qa))break;vd=nd[0],qa=qa.substring(vd.length);let Nd=nd[2].split(`
`,1)[0].replace(this.rules.other.listReplaceTabs,Fd=>" ".repeat(3*Fd.length)),Od=qa.split(`
`,1)[0],kd=!Nd.trim(),Ld=0;if(this.options.pedantic?(Ld=2,Ad=Nd.trimStart()):kd?Ld=nd[1].length+1:(Ld=nd[2].search(this.rules.other.nonSpaceChar),Ld=Ld>4?1:Ld,Ad=Nd.slice(Ld),Ld+=nd[1].length),kd&&this.rules.other.blankLine.test(Od)&&(vd+=Od+`
`,qa=qa.substring(Od.length+1),md=!0),!md){const Fd=this.rules.other.nextBulletRegex(Ld),Ud=this.rules.other.hrRegex(Ld),qd=this.rules.other.fencesBeginRegex(Ld),zd=this.rules.other.headingBeginRegex(Ld),Wd=this.rules.other.htmlBeginRegex(Ld);for(;qa;){const Jd=qa.split(`
`,1)[0];let _f;if(Od=Jd,this.options.pedantic?(Od=Od.replace(this.rules.other.listReplaceNesting," "),_f=Od):_f=Od.replace(this.rules.other.tabCharGlobal," "),qd.test(Od)||zd.test(Od)||Wd.test(Od)||Fd.test(Od)||Ud.test(Od))break;if(_f.search(this.rules.other.nonSpaceChar)>=Ld||!Od.trim())Ad+=`
`+_f.slice(Ld);else{if(kd||Nd.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||qd.test(Nd)||zd.test(Nd)||Ud.test(Nd))break;Ad+=`
`+Od}!kd&&!Od.trim()&&(kd=!0),vd+=Jd+`
`,qa=qa.substring(Jd.length+1),Nd=_f.slice(Ld)}}ud.loose||(pd?ud.loose=!0:this.rules.other.doubleBlankLine.test(vd)&&(pd=!0));let Gd=null,jd;this.options.gfm&&(Gd=this.rules.other.listIsTask.exec(Ad),Gd&&(jd=Gd[0]!=="[ ] ",Ad=Ad.replace(this.rules.other.listReplaceTask,""))),ud.items.push({type:"list_item",raw:vd,task:!!Gd,checked:jd,loose:!1,text:Ad,tokens:[]}),ud.raw+=vd}const fd=ud.items.at(-1);fd&&(fd.raw=fd.raw.trimEnd(),fd.text=fd.text.trimEnd()),ud.raw=ud.raw.trimEnd();for(let md=0;md<ud.items.length;md++)if(this.lexer.state.top=!1,ud.items[md].tokens=this.lexer.blockTokens(ud.items[md].text,[]),!ud.loose){const vd=ud.items[md].tokens.filter(Nd=>Nd.type==="space"),Ad=vd.length>0&&vd.some(Nd=>this.rules.other.anyLine.test(Nd.raw));ud.loose=Ad}if(ud.loose)for(let md=0;md<ud.items.length;md++)ud.items[md].loose=!0;return ud}}html(qa){const nd=this.rules.block.html.exec(qa);if(nd)return{type:"html",block:!0,raw:nd[0],pre:nd[1]==="pre"||nd[1]==="script"||nd[1]==="style",text:nd[0]}}def(qa){const nd=this.rules.block.def.exec(qa);if(nd){const od=nd[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),ld=nd[2]?nd[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",ud=nd[3]?nd[3].substring(1,nd[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):nd[3];return{type:"def",tag:od,raw:nd[0],href:ld,title:ud}}}table(qa){var pd;const nd=this.rules.block.table.exec(qa);if(!nd||!this.rules.other.tableDelimiter.test(nd[2]))return;const od=splitCells$1(nd[1]),ld=nd[2].replace(this.rules.other.tableAlignChars,"").split("|"),ud=(pd=nd[3])!=null&&pd.trim()?nd[3].replace(this.rules.other.tableRowBlankLine,"").split(`
`):[],dd={type:"table",raw:nd[0],header:[],align:[],rows:[]};if(od.length===ld.length){for(const fd of ld)this.rules.other.tableAlignRight.test(fd)?dd.align.push("right"):this.rules.other.tableAlignCenter.test(fd)?dd.align.push("center"):this.rules.other.tableAlignLeft.test(fd)?dd.align.push("left"):dd.align.push(null);for(let fd=0;fd<od.length;fd++)dd.header.push({text:od[fd],tokens:this.lexer.inline(od[fd]),header:!0,align:dd.align[fd]});for(const fd of ud)dd.rows.push(splitCells$1(fd,dd.header.length).map((md,vd)=>({text:md,tokens:this.lexer.inline(md),header:!1,align:dd.align[vd]})));return dd}}lheading(qa){const nd=this.rules.block.lheading.exec(qa);if(nd)return{type:"heading",raw:nd[0],depth:nd[2].charAt(0)==="="?1:2,text:nd[1],tokens:this.lexer.inline(nd[1])}}paragraph(qa){const nd=this.rules.block.paragraph.exec(qa);if(nd){const od=nd[1].charAt(nd[1].length-1)===`
`?nd[1].slice(0,-1):nd[1];return{type:"paragraph",raw:nd[0],text:od,tokens:this.lexer.inline(od)}}}text(qa){const nd=this.rules.block.text.exec(qa);if(nd)return{type:"text",raw:nd[0],text:nd[0],tokens:this.lexer.inline(nd[0])}}escape(qa){const nd=this.rules.inline.escape.exec(qa);if(nd)return{type:"escape",raw:nd[0],text:nd[1]}}tag(qa){const nd=this.rules.inline.tag.exec(qa);if(nd)return!this.lexer.state.inLink&&this.rules.other.startATag.test(nd[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(nd[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(nd[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(nd[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:nd[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:nd[0]}}link(qa){const nd=this.rules.inline.link.exec(qa);if(nd){const od=nd[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(od)){if(!this.rules.other.endAngleBracket.test(od))return;const dd=rtrim$1(od.slice(0,-1),"\\");if((od.length-dd.length)%2===0)return}else{const dd=findClosingBracket$1(nd[2],"()");if(dd>-1){const fd=(nd[0].indexOf("!")===0?5:4)+nd[1].length+dd;nd[2]=nd[2].substring(0,dd),nd[0]=nd[0].substring(0,fd).trim(),nd[3]=""}}let ld=nd[2],ud="";if(this.options.pedantic){const dd=this.rules.other.pedanticHrefTitle.exec(ld);dd&&(ld=dd[1],ud=dd[3])}else ud=nd[3]?nd[3].slice(1,-1):"";return ld=ld.trim(),this.rules.other.startAngleBracket.test(ld)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(od)?ld=ld.slice(1):ld=ld.slice(1,-1)),outputLink$1(nd,{href:ld&&ld.replace(this.rules.inline.anyPunctuation,"$1"),title:ud&&ud.replace(this.rules.inline.anyPunctuation,"$1")},nd[0],this.lexer,this.rules)}}reflink(qa,nd){let od;if((od=this.rules.inline.reflink.exec(qa))||(od=this.rules.inline.nolink.exec(qa))){const ld=(od[2]||od[1]).replace(this.rules.other.multipleSpaceGlobal," "),ud=nd[ld.toLowerCase()];if(!ud){const dd=od[0].charAt(0);return{type:"text",raw:dd,text:dd}}return outputLink$1(od,ud,od[0],this.lexer,this.rules)}}emStrong(qa,nd,od=""){let ld=this.rules.inline.emStrongLDelim.exec(qa);if(!ld||ld[3]&&od.match(this.rules.other.unicodeAlphaNumeric))return;if(!(ld[1]||ld[2]||"")||!od||this.rules.inline.punctuation.exec(od)){const dd=[...ld[0]].length-1;let pd,fd,md=dd,vd=0;const Ad=ld[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(Ad.lastIndex=0,nd=nd.slice(-1*qa.length+dd);(ld=Ad.exec(nd))!=null;){if(pd=ld[1]||ld[2]||ld[3]||ld[4]||ld[5]||ld[6],!pd)continue;if(fd=[...pd].length,ld[3]||ld[4]){md+=fd;continue}else if((ld[5]||ld[6])&&dd%3&&!((dd+fd)%3)){vd+=fd;continue}if(md-=fd,md>0)continue;fd=Math.min(fd,fd+md+vd);const Nd=[...ld[0]][0].length,Od=qa.slice(0,dd+ld.index+Nd+fd);if(Math.min(dd,fd)%2){const Ld=Od.slice(1,-1);return{type:"em",raw:Od,text:Ld,tokens:this.lexer.inlineTokens(Ld)}}const kd=Od.slice(2,-2);return{type:"strong",raw:Od,text:kd,tokens:this.lexer.inlineTokens(kd)}}}}codespan(qa){const nd=this.rules.inline.code.exec(qa);if(nd){let od=nd[2].replace(this.rules.other.newLineCharGlobal," ");const ld=this.rules.other.nonSpaceChar.test(od),ud=this.rules.other.startingSpaceChar.test(od)&&this.rules.other.endingSpaceChar.test(od);return ld&&ud&&(od=od.substring(1,od.length-1)),{type:"codespan",raw:nd[0],text:od}}}br(qa){const nd=this.rules.inline.br.exec(qa);if(nd)return{type:"br",raw:nd[0]}}del(qa){const nd=this.rules.inline.del.exec(qa);if(nd)return{type:"del",raw:nd[0],text:nd[2],tokens:this.lexer.inlineTokens(nd[2])}}autolink(qa){const nd=this.rules.inline.autolink.exec(qa);if(nd){let od,ld;return nd[2]==="@"?(od=nd[1],ld="mailto:"+od):(od=nd[1],ld=od),{type:"link",raw:nd[0],text:od,href:ld,tokens:[{type:"text",raw:od,text:od}]}}}url(qa){var od;let nd;if(nd=this.rules.inline.url.exec(qa)){let ld,ud;if(nd[2]==="@")ld=nd[0],ud="mailto:"+ld;else{let dd;do dd=nd[0],nd[0]=((od=this.rules.inline._backpedal.exec(nd[0]))==null?void 0:od[0])??"";while(dd!==nd[0]);ld=nd[0],nd[1]==="www."?ud="http://"+nd[0]:ud=nd[0]}return{type:"link",raw:nd[0],text:ld,href:ud,tokens:[{type:"text",raw:ld,text:ld}]}}}inlineText(qa){const nd=this.rules.inline.text.exec(qa);if(nd){const od=this.lexer.state.inRawBlock;return{type:"text",raw:nd[0],text:nd[0],escaped:od}}}},_Lexer$1=class P1{constructor(qa){kg(this,"tokens");kg(this,"options");kg(this,"state");kg(this,"tokenizer");kg(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=qa||_defaults$1,this.options.tokenizer=this.options.tokenizer||new _Tokenizer$1,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const nd={other,block:block$1.normal,inline:inline$1.normal};this.options.pedantic?(nd.block=block$1.pedantic,nd.inline=inline$1.pedantic):this.options.gfm&&(nd.block=block$1.gfm,this.options.breaks?nd.inline=inline$1.breaks:nd.inline=inline$1.gfm),this.tokenizer.rules=nd}static get rules(){return{block:block$1,inline:inline$1}}static lex(qa,nd){return new P1(nd).lex(qa)}static lexInline(qa,nd){return new P1(nd).inlineTokens(qa)}lex(qa){qa=qa.replace(other.carriageReturn,`
`),this.blockTokens(qa,this.tokens);for(let nd=0;nd<this.inlineQueue.length;nd++){const od=this.inlineQueue[nd];this.inlineTokens(od.src,od.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(qa,nd=[],od=!1){var ld,ud,dd;for(this.options.pedantic&&(qa=qa.replace(other.tabCharGlobal," ").replace(other.spaceLine,""));qa;){let pd;if((ud=(ld=this.options.extensions)==null?void 0:ld.block)!=null&&ud.some(md=>(pd=md.call({lexer:this},qa,nd))?(qa=qa.substring(pd.raw.length),nd.push(pd),!0):!1))continue;if(pd=this.tokenizer.space(qa)){qa=qa.substring(pd.raw.length);const md=nd.at(-1);pd.raw.length===1&&md!==void 0?md.raw+=`
`:nd.push(pd);continue}if(pd=this.tokenizer.code(qa)){qa=qa.substring(pd.raw.length);const md=nd.at(-1);(md==null?void 0:md.type)==="paragraph"||(md==null?void 0:md.type)==="text"?(md.raw+=`
`+pd.raw,md.text+=`
`+pd.text,this.inlineQueue.at(-1).src=md.text):nd.push(pd);continue}if(pd=this.tokenizer.fences(qa)){qa=qa.substring(pd.raw.length),nd.push(pd);continue}if(pd=this.tokenizer.heading(qa)){qa=qa.substring(pd.raw.length),nd.push(pd);continue}if(pd=this.tokenizer.hr(qa)){qa=qa.substring(pd.raw.length),nd.push(pd);continue}if(pd=this.tokenizer.blockquote(qa)){qa=qa.substring(pd.raw.length),nd.push(pd);continue}if(pd=this.tokenizer.list(qa)){qa=qa.substring(pd.raw.length),nd.push(pd);continue}if(pd=this.tokenizer.html(qa)){qa=qa.substring(pd.raw.length),nd.push(pd);continue}if(pd=this.tokenizer.def(qa)){qa=qa.substring(pd.raw.length);const md=nd.at(-1);(md==null?void 0:md.type)==="paragraph"||(md==null?void 0:md.type)==="text"?(md.raw+=`
`+pd.raw,md.text+=`
`+pd.raw,this.inlineQueue.at(-1).src=md.text):this.tokens.links[pd.tag]||(this.tokens.links[pd.tag]={href:pd.href,title:pd.title});continue}if(pd=this.tokenizer.table(qa)){qa=qa.substring(pd.raw.length),nd.push(pd);continue}if(pd=this.tokenizer.lheading(qa)){qa=qa.substring(pd.raw.length),nd.push(pd);continue}let fd=qa;if((dd=this.options.extensions)!=null&&dd.startBlock){let md=1/0;const vd=qa.slice(1);let Ad;this.options.extensions.startBlock.forEach(Nd=>{Ad=Nd.call({lexer:this},vd),typeof Ad=="number"&&Ad>=0&&(md=Math.min(md,Ad))}),md<1/0&&md>=0&&(fd=qa.substring(0,md+1))}if(this.state.top&&(pd=this.tokenizer.paragraph(fd))){const md=nd.at(-1);od&&(md==null?void 0:md.type)==="paragraph"?(md.raw+=`
`+pd.raw,md.text+=`
`+pd.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=md.text):nd.push(pd),od=fd.length!==qa.length,qa=qa.substring(pd.raw.length);continue}if(pd=this.tokenizer.text(qa)){qa=qa.substring(pd.raw.length);const md=nd.at(-1);(md==null?void 0:md.type)==="text"?(md.raw+=`
`+pd.raw,md.text+=`
`+pd.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=md.text):nd.push(pd);continue}if(qa){const md="Infinite loop on byte: "+qa.charCodeAt(0);if(this.options.silent){console.error(md);break}else throw new Error(md)}}return this.state.top=!0,nd}inline(qa,nd=[]){return this.inlineQueue.push({src:qa,tokens:nd}),nd}inlineTokens(qa,nd=[]){var pd,fd,md;let od=qa,ld=null;if(this.tokens.links){const vd=Object.keys(this.tokens.links);if(vd.length>0)for(;(ld=this.tokenizer.rules.inline.reflinkSearch.exec(od))!=null;)vd.includes(ld[0].slice(ld[0].lastIndexOf("[")+1,-1))&&(od=od.slice(0,ld.index)+"["+"a".repeat(ld[0].length-2)+"]"+od.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(ld=this.tokenizer.rules.inline.blockSkip.exec(od))!=null;)od=od.slice(0,ld.index)+"["+"a".repeat(ld[0].length-2)+"]"+od.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(ld=this.tokenizer.rules.inline.anyPunctuation.exec(od))!=null;)od=od.slice(0,ld.index)+"++"+od.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let ud=!1,dd="";for(;qa;){ud||(dd=""),ud=!1;let vd;if((fd=(pd=this.options.extensions)==null?void 0:pd.inline)!=null&&fd.some(Nd=>(vd=Nd.call({lexer:this},qa,nd))?(qa=qa.substring(vd.raw.length),nd.push(vd),!0):!1))continue;if(vd=this.tokenizer.escape(qa)){qa=qa.substring(vd.raw.length),nd.push(vd);continue}if(vd=this.tokenizer.tag(qa)){qa=qa.substring(vd.raw.length),nd.push(vd);continue}if(vd=this.tokenizer.link(qa)){qa=qa.substring(vd.raw.length),nd.push(vd);continue}if(vd=this.tokenizer.reflink(qa,this.tokens.links)){qa=qa.substring(vd.raw.length);const Nd=nd.at(-1);vd.type==="text"&&(Nd==null?void 0:Nd.type)==="text"?(Nd.raw+=vd.raw,Nd.text+=vd.text):nd.push(vd);continue}if(vd=this.tokenizer.emStrong(qa,od,dd)){qa=qa.substring(vd.raw.length),nd.push(vd);continue}if(vd=this.tokenizer.codespan(qa)){qa=qa.substring(vd.raw.length),nd.push(vd);continue}if(vd=this.tokenizer.br(qa)){qa=qa.substring(vd.raw.length),nd.push(vd);continue}if(vd=this.tokenizer.del(qa)){qa=qa.substring(vd.raw.length),nd.push(vd);continue}if(vd=this.tokenizer.autolink(qa)){qa=qa.substring(vd.raw.length),nd.push(vd);continue}if(!this.state.inLink&&(vd=this.tokenizer.url(qa))){qa=qa.substring(vd.raw.length),nd.push(vd);continue}let Ad=qa;if((md=this.options.extensions)!=null&&md.startInline){let Nd=1/0;const Od=qa.slice(1);let kd;this.options.extensions.startInline.forEach(Ld=>{kd=Ld.call({lexer:this},Od),typeof kd=="number"&&kd>=0&&(Nd=Math.min(Nd,kd))}),Nd<1/0&&Nd>=0&&(Ad=qa.substring(0,Nd+1))}if(vd=this.tokenizer.inlineText(Ad)){qa=qa.substring(vd.raw.length),vd.raw.slice(-1)!=="_"&&(dd=vd.raw.slice(-1)),ud=!0;const Nd=nd.at(-1);(Nd==null?void 0:Nd.type)==="text"?(Nd.raw+=vd.raw,Nd.text+=vd.text):nd.push(vd);continue}if(qa){const Nd="Infinite loop on byte: "+qa.charCodeAt(0);if(this.options.silent){console.error(Nd);break}else throw new Error(Nd)}}return nd}},_Renderer$1=class{constructor(qa){kg(this,"options");kg(this,"parser");this.options=qa||_defaults$1}space(qa){return""}code({text:qa,lang:nd,escaped:od}){var dd;const ld=(dd=(nd||"").match(other.notSpaceStart))==null?void 0:dd[0],ud=qa.replace(other.endingNewline,"")+`
`;return ld?'<pre><code class="language-'+escape$3(ld)+'">'+(od?ud:escape$3(ud,!0))+`</code></pre>
`:"<pre><code>"+(od?ud:escape$3(ud,!0))+`</code></pre>
`}blockquote({tokens:qa}){return`<blockquote>
${this.parser.parse(qa)}</blockquote>
`}html({text:qa}){return qa}heading({tokens:qa,depth:nd}){return`<h${nd}>${this.parser.parseInline(qa)}</h${nd}>
`}hr(qa){return`<hr>
`}list(qa){const nd=qa.ordered,od=qa.start;let ld="";for(let pd=0;pd<qa.items.length;pd++){const fd=qa.items[pd];ld+=this.listitem(fd)}const ud=nd?"ol":"ul",dd=nd&&od!==1?' start="'+od+'"':"";return"<"+ud+dd+`>
`+ld+"</"+ud+`>
`}listitem(qa){var od;let nd="";if(qa.task){const ld=this.checkbox({checked:!!qa.checked});qa.loose?((od=qa.tokens[0])==null?void 0:od.type)==="paragraph"?(qa.tokens[0].text=ld+" "+qa.tokens[0].text,qa.tokens[0].tokens&&qa.tokens[0].tokens.length>0&&qa.tokens[0].tokens[0].type==="text"&&(qa.tokens[0].tokens[0].text=ld+" "+escape$3(qa.tokens[0].tokens[0].text),qa.tokens[0].tokens[0].escaped=!0)):qa.tokens.unshift({type:"text",raw:ld+" ",text:ld+" ",escaped:!0}):nd+=ld+" "}return nd+=this.parser.parse(qa.tokens,!!qa.loose),`<li>${nd}</li>
`}checkbox({checked:qa}){return"<input "+(qa?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:qa}){return`<p>${this.parser.parseInline(qa)}</p>
`}table(qa){let nd="",od="";for(let ud=0;ud<qa.header.length;ud++)od+=this.tablecell(qa.header[ud]);nd+=this.tablerow({text:od});let ld="";for(let ud=0;ud<qa.rows.length;ud++){const dd=qa.rows[ud];od="";for(let pd=0;pd<dd.length;pd++)od+=this.tablecell(dd[pd]);ld+=this.tablerow({text:od})}return ld&&(ld=`<tbody>${ld}</tbody>`),`<table>
<thead>
`+nd+`</thead>
`+ld+`</table>
`}tablerow({text:qa}){return`<tr>
${qa}</tr>
`}tablecell(qa){const nd=this.parser.parseInline(qa.tokens),od=qa.header?"th":"td";return(qa.align?`<${od} align="${qa.align}">`:`<${od}>`)+nd+`</${od}>
`}strong({tokens:qa}){return`<strong>${this.parser.parseInline(qa)}</strong>`}em({tokens:qa}){return`<em>${this.parser.parseInline(qa)}</em>`}codespan({text:qa}){return`<code>${escape$3(qa,!0)}</code>`}br(qa){return"<br>"}del({tokens:qa}){return`<del>${this.parser.parseInline(qa)}</del>`}link({href:qa,title:nd,tokens:od}){const ld=this.parser.parseInline(od),ud=cleanUrl$1(qa);if(ud===null)return ld;qa=ud;let dd='<a href="'+qa+'"';return nd&&(dd+=' title="'+escape$3(nd)+'"'),dd+=">"+ld+"</a>",dd}image({href:qa,title:nd,text:od}){const ld=cleanUrl$1(qa);if(ld===null)return escape$3(od);qa=ld;let ud=`<img src="${qa}" alt="${od}"`;return nd&&(ud+=` title="${escape$3(nd)}"`),ud+=">",ud}text(qa){return"tokens"in qa&&qa.tokens?this.parser.parseInline(qa.tokens):"escaped"in qa&&qa.escaped?qa.text:escape$3(qa.text)}},_TextRenderer$1=class{strong({text:qa}){return qa}em({text:qa}){return qa}codespan({text:qa}){return qa}del({text:qa}){return qa}html({text:qa}){return qa}text({text:qa}){return qa}link({text:qa}){return""+qa}image({text:qa}){return""+qa}br(){return""}},_Parser$1=class L1{constructor(qa){kg(this,"options");kg(this,"renderer");kg(this,"textRenderer");this.options=qa||_defaults$1,this.options.renderer=this.options.renderer||new _Renderer$1,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new _TextRenderer$1}static parse(qa,nd){return new L1(nd).parse(qa)}static parseInline(qa,nd){return new L1(nd).parseInline(qa)}parse(qa,nd=!0){var ld,ud;let od="";for(let dd=0;dd<qa.length;dd++){const pd=qa[dd];if((ud=(ld=this.options.extensions)==null?void 0:ld.renderers)!=null&&ud[pd.type]){const md=pd,vd=this.options.extensions.renderers[md.type].call({parser:this},md);if(vd!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(md.type)){od+=vd||"";continue}}const fd=pd;switch(fd.type){case"space":{od+=this.renderer.space(fd);continue}case"hr":{od+=this.renderer.hr(fd);continue}case"heading":{od+=this.renderer.heading(fd);continue}case"code":{od+=this.renderer.code(fd);continue}case"table":{od+=this.renderer.table(fd);continue}case"blockquote":{od+=this.renderer.blockquote(fd);continue}case"list":{od+=this.renderer.list(fd);continue}case"html":{od+=this.renderer.html(fd);continue}case"paragraph":{od+=this.renderer.paragraph(fd);continue}case"text":{let md=fd,vd=this.renderer.text(md);for(;dd+1<qa.length&&qa[dd+1].type==="text";)md=qa[++dd],vd+=`
`+this.renderer.text(md);nd?od+=this.renderer.paragraph({type:"paragraph",raw:vd,text:vd,tokens:[{type:"text",raw:vd,text:vd,escaped:!0}]}):od+=vd;continue}default:{const md='Token with "'+fd.type+'" type was not found.';if(this.options.silent)return console.error(md),"";throw new Error(md)}}}return od}parseInline(qa,nd=this.renderer){var ld,ud;let od="";for(let dd=0;dd<qa.length;dd++){const pd=qa[dd];if((ud=(ld=this.options.extensions)==null?void 0:ld.renderers)!=null&&ud[pd.type]){const md=this.options.extensions.renderers[pd.type].call({parser:this},pd);if(md!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(pd.type)){od+=md||"";continue}}const fd=pd;switch(fd.type){case"escape":{od+=nd.text(fd);break}case"html":{od+=nd.html(fd);break}case"link":{od+=nd.link(fd);break}case"image":{od+=nd.image(fd);break}case"strong":{od+=nd.strong(fd);break}case"em":{od+=nd.em(fd);break}case"codespan":{od+=nd.codespan(fd);break}case"br":{od+=nd.br(fd);break}case"del":{od+=nd.del(fd);break}case"text":{od+=nd.text(fd);break}default:{const md='Token with "'+fd.type+'" type was not found.';if(this.options.silent)return console.error(md),"";throw new Error(md)}}}return od}};var $1;let _Hooks$1=($1=class{constructor(qa){kg(this,"options");kg(this,"block");this.options=qa||_defaults$1}preprocess(qa){return qa}postprocess(qa){return qa}processAllTokens(qa){return qa}provideLexer(){return this.block?_Lexer$1.lex:_Lexer$1.lexInline}provideParser(){return this.block?_Parser$1.parse:_Parser$1.parseInline}},kg($1,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"])),$1),Marked$1=class{constructor(...qa){kg(this,"defaults",_getDefaults$1());kg(this,"options",this.setOptions);kg(this,"parse",this.parseMarkdown(!0));kg(this,"parseInline",this.parseMarkdown(!1));kg(this,"Parser",_Parser$1);kg(this,"Renderer",_Renderer$1);kg(this,"TextRenderer",_TextRenderer$1);kg(this,"Lexer",_Lexer$1);kg(this,"Tokenizer",_Tokenizer$1);kg(this,"Hooks",_Hooks$1);this.use(...qa)}walkTokens(qa,nd){var ld,ud;let od=[];for(const dd of qa)switch(od=od.concat(nd.call(this,dd)),dd.type){case"table":{const pd=dd;for(const fd of pd.header)od=od.concat(this.walkTokens(fd.tokens,nd));for(const fd of pd.rows)for(const md of fd)od=od.concat(this.walkTokens(md.tokens,nd));break}case"list":{const pd=dd;od=od.concat(this.walkTokens(pd.items,nd));break}default:{const pd=dd;(ud=(ld=this.defaults.extensions)==null?void 0:ld.childTokens)!=null&&ud[pd.type]?this.defaults.extensions.childTokens[pd.type].forEach(fd=>{const md=pd[fd].flat(1/0);od=od.concat(this.walkTokens(md,nd))}):pd.tokens&&(od=od.concat(this.walkTokens(pd.tokens,nd)))}}return od}use(...qa){const nd=this.defaults.extensions||{renderers:{},childTokens:{}};return qa.forEach(od=>{const ld={...od};if(ld.async=this.defaults.async||ld.async||!1,od.extensions&&(od.extensions.forEach(ud=>{if(!ud.name)throw new Error("extension name required");if("renderer"in ud){const dd=nd.renderers[ud.name];dd?nd.renderers[ud.name]=function(...pd){let fd=ud.renderer.apply(this,pd);return fd===!1&&(fd=dd.apply(this,pd)),fd}:nd.renderers[ud.name]=ud.renderer}if("tokenizer"in ud){if(!ud.level||ud.level!=="block"&&ud.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const dd=nd[ud.level];dd?dd.unshift(ud.tokenizer):nd[ud.level]=[ud.tokenizer],ud.start&&(ud.level==="block"?nd.startBlock?nd.startBlock.push(ud.start):nd.startBlock=[ud.start]:ud.level==="inline"&&(nd.startInline?nd.startInline.push(ud.start):nd.startInline=[ud.start]))}"childTokens"in ud&&ud.childTokens&&(nd.childTokens[ud.name]=ud.childTokens)}),ld.extensions=nd),od.renderer){const ud=this.defaults.renderer||new _Renderer$1(this.defaults);for(const dd in od.renderer){if(!(dd in ud))throw new Error(`renderer '${dd}' does not exist`);if(["options","parser"].includes(dd))continue;const pd=dd,fd=od.renderer[pd],md=ud[pd];ud[pd]=(...vd)=>{let Ad=fd.apply(ud,vd);return Ad===!1&&(Ad=md.apply(ud,vd)),Ad||""}}ld.renderer=ud}if(od.tokenizer){const ud=this.defaults.tokenizer||new _Tokenizer$1(this.defaults);for(const dd in od.tokenizer){if(!(dd in ud))throw new Error(`tokenizer '${dd}' does not exist`);if(["options","rules","lexer"].includes(dd))continue;const pd=dd,fd=od.tokenizer[pd],md=ud[pd];ud[pd]=(...vd)=>{let Ad=fd.apply(ud,vd);return Ad===!1&&(Ad=md.apply(ud,vd)),Ad}}ld.tokenizer=ud}if(od.hooks){const ud=this.defaults.hooks||new _Hooks$1;for(const dd in od.hooks){if(!(dd in ud))throw new Error(`hook '${dd}' does not exist`);if(["options","block"].includes(dd))continue;const pd=dd,fd=od.hooks[pd],md=ud[pd];_Hooks$1.passThroughHooks.has(dd)?ud[pd]=vd=>{if(this.defaults.async)return Promise.resolve(fd.call(ud,vd)).then(Nd=>md.call(ud,Nd));const Ad=fd.call(ud,vd);return md.call(ud,Ad)}:ud[pd]=(...vd)=>{let Ad=fd.apply(ud,vd);return Ad===!1&&(Ad=md.apply(ud,vd)),Ad}}ld.hooks=ud}if(od.walkTokens){const ud=this.defaults.walkTokens,dd=od.walkTokens;ld.walkTokens=function(pd){let fd=[];return fd.push(dd.call(this,pd)),ud&&(fd=fd.concat(ud.call(this,pd))),fd}}this.defaults={...this.defaults,...ld}}),this}setOptions(qa){return this.defaults={...this.defaults,...qa},this}lexer(qa,nd){return _Lexer$1.lex(qa,nd??this.defaults)}parser(qa,nd){return _Parser$1.parse(qa,nd??this.defaults)}parseMarkdown(qa){return(od,ld)=>{const ud={...ld},dd={...this.defaults,...ud},pd=this.onError(!!dd.silent,!!dd.async);if(this.defaults.async===!0&&ud.async===!1)return pd(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof od>"u"||od===null)return pd(new Error("marked(): input parameter is undefined or null"));if(typeof od!="string")return pd(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(od)+", string expected"));dd.hooks&&(dd.hooks.options=dd,dd.hooks.block=qa);const fd=dd.hooks?dd.hooks.provideLexer():qa?_Lexer$1.lex:_Lexer$1.lexInline,md=dd.hooks?dd.hooks.provideParser():qa?_Parser$1.parse:_Parser$1.parseInline;if(dd.async)return Promise.resolve(dd.hooks?dd.hooks.preprocess(od):od).then(vd=>fd(vd,dd)).then(vd=>dd.hooks?dd.hooks.processAllTokens(vd):vd).then(vd=>dd.walkTokens?Promise.all(this.walkTokens(vd,dd.walkTokens)).then(()=>vd):vd).then(vd=>md(vd,dd)).then(vd=>dd.hooks?dd.hooks.postprocess(vd):vd).catch(pd);try{dd.hooks&&(od=dd.hooks.preprocess(od));let vd=fd(od,dd);dd.hooks&&(vd=dd.hooks.processAllTokens(vd)),dd.walkTokens&&this.walkTokens(vd,dd.walkTokens);let Ad=md(vd,dd);return dd.hooks&&(Ad=dd.hooks.postprocess(Ad)),Ad}catch(vd){return pd(vd)}}}onError(qa,nd){return od=>{if(od.message+=`
Please report this to https://github.com/markedjs/marked.`,qa){const ld="<p>An error occurred:</p><pre>"+escape$3(od.message+"",!0)+"</pre>";return nd?Promise.resolve(ld):ld}if(nd)return Promise.reject(od);throw od}}};const markedInstance$1=new Marked$1;function marked$1(Ra,qa){return markedInstance$1.parse(Ra,qa)}marked$1.options=marked$1.setOptions=function(Ra){return markedInstance$1.setOptions(Ra),marked$1.defaults=markedInstance$1.defaults,changeDefaults$1(marked$1.defaults),marked$1};marked$1.getDefaults=_getDefaults$1;marked$1.defaults=_defaults$1;marked$1.use=function(...Ra){return markedInstance$1.use(...Ra),marked$1.defaults=markedInstance$1.defaults,changeDefaults$1(marked$1.defaults),marked$1};marked$1.walkTokens=function(Ra,qa){return markedInstance$1.walkTokens(Ra,qa)};marked$1.parseInline=markedInstance$1.parseInline;marked$1.Parser=_Parser$1;marked$1.parser=_Parser$1.parse;marked$1.Renderer=_Renderer$1;marked$1.TextRenderer=_TextRenderer$1;marked$1.Lexer=_Lexer$1;marked$1.lexer=_Lexer$1.lex;marked$1.Tokenizer=_Tokenizer$1;marked$1.Hooks=_Hooks$1;marked$1.parse=marked$1;marked$1.options;marked$1.setOptions;marked$1.use;marked$1.walkTokens;marked$1.parseInline;_Parser$1.parse;_Lexer$1.lex;const scriptRel="modulepreload",assetsURL=function(Ra){return"/md/"+Ra},seen={},__vitePreload=function(qa,nd,od){let ld=Promise.resolve();if(nd&&nd.length>0){document.getElementsByTagName("link");const dd=document.querySelector("meta[property=csp-nonce]"),pd=(dd==null?void 0:dd.nonce)||(dd==null?void 0:dd.getAttribute("nonce"));ld=Promise.allSettled(nd.map(fd=>{if(fd=assetsURL(fd),fd in seen)return;seen[fd]=!0;const md=fd.endsWith(".css"),vd=md?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${fd}"]${vd}`))return;const Ad=document.createElement("link");if(Ad.rel=md?"stylesheet":scriptRel,md||(Ad.as="script"),Ad.crossOrigin="",Ad.href=fd,pd&&Ad.setAttribute("nonce",pd),document.head.appendChild(Ad),md)return new Promise((Nd,Od)=>{Ad.addEventListener("load",Nd),Ad.addEventListener("error",()=>Od(new Error(`Unable to preload CSS for ${fd}`)))})}))}function ud(dd){const pd=new Event("vite:preloadError",{cancelable:!0});if(pd.payload=dd,window.dispatchEvent(pd),!pd.defaultPrevented)throw dd}return ld.then(dd=>{for(const pd of dd||[])pd.status==="rejected"&&ud(pd.reason);return qa().catch(ud)})};var dayjs_min={exports:{}};(function(Ra,qa){(function(nd,od){Ra.exports=od()})(commonjsGlobal,function(){var nd=1e3,od=6e4,ld=36e5,ud="millisecond",dd="second",pd="minute",fd="hour",md="day",vd="week",Ad="month",Nd="quarter",Od="year",kd="date",Ld="Invalid Date",Gd=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,jd=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,Fd={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Af){var Ef=["th","st","nd","rd"],Nf=Af%100;return"["+Af+(Ef[(Nf-20)%10]||Ef[Nf]||Ef[0])+"]"}},Ud=function(Af,Ef,Nf){var If=String(Af);return!If||If.length>=Ef?Af:""+Array(Ef+1-If.length).join(Nf)+Af},qd={s:Ud,z:function(Af){var Ef=-Af.utcOffset(),Nf=Math.abs(Ef),If=Math.floor(Nf/60),Gf=Nf%60;return(Ef<=0?"+":"-")+Ud(If,2,"0")+":"+Ud(Gf,2,"0")},m:function Af(Ef,Nf){if(Ef.date()<Nf.date())return-Af(Nf,Ef);var If=12*(Nf.year()-Ef.year())+(Nf.month()-Ef.month()),Gf=Ef.clone().add(If,Ad),Qf=Nf-Gf<0,Xf=Ef.clone().add(If+(Qf?-1:1),Ad);return+(-(If+(Nf-Gf)/(Qf?Gf-Xf:Xf-Gf))||0)},a:function(Af){return Af<0?Math.ceil(Af)||0:Math.floor(Af)},p:function(Af){return{M:Ad,y:Od,w:vd,d:md,D:kd,h:fd,m:pd,s:dd,ms:ud,Q:Nd}[Af]||String(Af||"").toLowerCase().replace(/s$/,"")},u:function(Af){return Af===void 0}},zd="en",Wd={};Wd[zd]=Fd;var Jd="$isDayjsObject",_f=function(Af){return Af instanceof Sf||!(!Af||!Af[Jd])},Xd=function Af(Ef,Nf,If){var Gf;if(!Ef)return zd;if(typeof Ef=="string"){var Qf=Ef.toLowerCase();Wd[Qf]&&(Gf=Qf),Nf&&(Wd[Qf]=Nf,Gf=Qf);var Xf=Ef.split("-");if(!Gf&&Xf.length>1)return Af(Xf[0])}else{var ph=Ef.name;Wd[ph]=Ef,Gf=ph}return!If&&Gf&&(zd=Gf),Gf||!If&&zd},pf=function(Af,Ef){if(_f(Af))return Af.clone();var Nf=typeof Ef=="object"?Ef:{};return Nf.date=Af,Nf.args=arguments,new Sf(Nf)},mf=qd;mf.l=Xd,mf.i=_f,mf.w=function(Af,Ef){return pf(Af,{locale:Ef.$L,utc:Ef.$u,x:Ef.$x,$offset:Ef.$offset})};var Sf=function(){function Af(Nf){this.$L=Xd(Nf.locale,null,!0),this.parse(Nf),this.$x=this.$x||Nf.x||{},this[Jd]=!0}var Ef=Af.prototype;return Ef.parse=function(Nf){this.$d=function(If){var Gf=If.date,Qf=If.utc;if(Gf===null)return new Date(NaN);if(mf.u(Gf))return new Date;if(Gf instanceof Date)return new Date(Gf);if(typeof Gf=="string"&&!/Z$/i.test(Gf)){var Xf=Gf.match(Gd);if(Xf){var ph=Xf[2]-1||0,qf=(Xf[7]||"0").substring(0,3);return Qf?new Date(Date.UTC(Xf[1],ph,Xf[3]||1,Xf[4]||0,Xf[5]||0,Xf[6]||0,qf)):new Date(Xf[1],ph,Xf[3]||1,Xf[4]||0,Xf[5]||0,Xf[6]||0,qf)}}return new Date(Gf)}(Nf),this.init()},Ef.init=function(){var Nf=this.$d;this.$y=Nf.getFullYear(),this.$M=Nf.getMonth(),this.$D=Nf.getDate(),this.$W=Nf.getDay(),this.$H=Nf.getHours(),this.$m=Nf.getMinutes(),this.$s=Nf.getSeconds(),this.$ms=Nf.getMilliseconds()},Ef.$utils=function(){return mf},Ef.isValid=function(){return this.$d.toString()!==Ld},Ef.isSame=function(Nf,If){var Gf=pf(Nf);return this.startOf(If)<=Gf&&Gf<=this.endOf(If)},Ef.isAfter=function(Nf,If){return pf(Nf)<this.startOf(If)},Ef.isBefore=function(Nf,If){return this.endOf(If)<pf(Nf)},Ef.$g=function(Nf,If,Gf){return mf.u(Nf)?this[If]:this.set(Gf,Nf)},Ef.unix=function(){return Math.floor(this.valueOf()/1e3)},Ef.valueOf=function(){return this.$d.getTime()},Ef.startOf=function(Nf,If){var Gf=this,Qf=!!mf.u(If)||If,Xf=mf.p(Nf),ph=function(Yf,dh){var Rh=mf.w(Gf.$u?Date.UTC(Gf.$y,dh,Yf):new Date(Gf.$y,dh,Yf),Gf);return Qf?Rh:Rh.endOf(md)},qf=function(Yf,dh){return mf.w(Gf.toDate()[Yf].apply(Gf.toDate("s"),(Qf?[0,0,0,0]:[23,59,59,999]).slice(dh)),Gf)},Lf=this.$W,Wf=this.$M,Jf=this.$D,Kf="set"+(this.$u?"UTC":"");switch(Xf){case Od:return Qf?ph(1,0):ph(31,11);case Ad:return Qf?ph(1,Wf):ph(0,Wf+1);case vd:var Cf=this.$locale().weekStart||0,xf=(Lf<Cf?Lf+7:Lf)-Cf;return ph(Qf?Jf-xf:Jf+(6-xf),Wf);case md:case kd:return qf(Kf+"Hours",0);case fd:return qf(Kf+"Minutes",1);case pd:return qf(Kf+"Seconds",2);case dd:return qf(Kf+"Milliseconds",3);default:return this.clone()}},Ef.endOf=function(Nf){return this.startOf(Nf,!1)},Ef.$set=function(Nf,If){var Gf,Qf=mf.p(Nf),Xf="set"+(this.$u?"UTC":""),ph=(Gf={},Gf[md]=Xf+"Date",Gf[kd]=Xf+"Date",Gf[Ad]=Xf+"Month",Gf[Od]=Xf+"FullYear",Gf[fd]=Xf+"Hours",Gf[pd]=Xf+"Minutes",Gf[dd]=Xf+"Seconds",Gf[ud]=Xf+"Milliseconds",Gf)[Qf],qf=Qf===md?this.$D+(If-this.$W):If;if(Qf===Ad||Qf===Od){var Lf=this.clone().set(kd,1);Lf.$d[ph](qf),Lf.init(),this.$d=Lf.set(kd,Math.min(this.$D,Lf.daysInMonth())).$d}else ph&&this.$d[ph](qf);return this.init(),this},Ef.set=function(Nf,If){return this.clone().$set(Nf,If)},Ef.get=function(Nf){return this[mf.p(Nf)]()},Ef.add=function(Nf,If){var Gf,Qf=this;Nf=Number(Nf);var Xf=mf.p(If),ph=function(Wf){var Jf=pf(Qf);return mf.w(Jf.date(Jf.date()+Math.round(Wf*Nf)),Qf)};if(Xf===Ad)return this.set(Ad,this.$M+Nf);if(Xf===Od)return this.set(Od,this.$y+Nf);if(Xf===md)return ph(1);if(Xf===vd)return ph(7);var qf=(Gf={},Gf[pd]=od,Gf[fd]=ld,Gf[dd]=nd,Gf)[Xf]||1,Lf=this.$d.getTime()+Nf*qf;return mf.w(Lf,this)},Ef.subtract=function(Nf,If){return this.add(-1*Nf,If)},Ef.format=function(Nf){var If=this,Gf=this.$locale();if(!this.isValid())return Gf.invalidDate||Ld;var Qf=Nf||"YYYY-MM-DDTHH:mm:ssZ",Xf=mf.z(this),ph=this.$H,qf=this.$m,Lf=this.$M,Wf=Gf.weekdays,Jf=Gf.months,Kf=Gf.meridiem,Cf=function(dh,Rh,th,Bf){return dh&&(dh[Rh]||dh(If,Qf))||th[Rh].slice(0,Bf)},xf=function(dh){return mf.s(ph%12||12,dh,"0")},Yf=Kf||function(dh,Rh,th){var Bf=dh<12?"AM":"PM";return th?Bf.toLowerCase():Bf};return Qf.replace(jd,function(dh,Rh){return Rh||function(th){switch(th){case"YY":return String(If.$y).slice(-2);case"YYYY":return mf.s(If.$y,4,"0");case"M":return Lf+1;case"MM":return mf.s(Lf+1,2,"0");case"MMM":return Cf(Gf.monthsShort,Lf,Jf,3);case"MMMM":return Cf(Jf,Lf);case"D":return If.$D;case"DD":return mf.s(If.$D,2,"0");case"d":return String(If.$W);case"dd":return Cf(Gf.weekdaysMin,If.$W,Wf,2);case"ddd":return Cf(Gf.weekdaysShort,If.$W,Wf,3);case"dddd":return Wf[If.$W];case"H":return String(ph);case"HH":return mf.s(ph,2,"0");case"h":return xf(1);case"hh":return xf(2);case"a":return Yf(ph,qf,!0);case"A":return Yf(ph,qf,!1);case"m":return String(qf);case"mm":return mf.s(qf,2,"0");case"s":return String(If.$s);case"ss":return mf.s(If.$s,2,"0");case"SSS":return mf.s(If.$ms,3,"0");case"Z":return Xf}return null}(dh)||Xf.replace(":","")})},Ef.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},Ef.diff=function(Nf,If,Gf){var Qf,Xf=this,ph=mf.p(If),qf=pf(Nf),Lf=(qf.utcOffset()-this.utcOffset())*od,Wf=this-qf,Jf=function(){return mf.m(Xf,qf)};switch(ph){case Od:Qf=Jf()/12;break;case Ad:Qf=Jf();break;case Nd:Qf=Jf()/3;break;case vd:Qf=(Wf-Lf)/6048e5;break;case md:Qf=(Wf-Lf)/864e5;break;case fd:Qf=Wf/ld;break;case pd:Qf=Wf/od;break;case dd:Qf=Wf/nd;break;default:Qf=Wf}return Gf?Qf:mf.a(Qf)},Ef.daysInMonth=function(){return this.endOf(Ad).$D},Ef.$locale=function(){return Wd[this.$L]},Ef.locale=function(Nf,If){if(!Nf)return this.$L;var Gf=this.clone(),Qf=Xd(Nf,If,!0);return Qf&&(Gf.$L=Qf),Gf},Ef.clone=function(){return mf.w(this.$d,this)},Ef.toDate=function(){return new Date(this.valueOf())},Ef.toJSON=function(){return this.isValid()?this.toISOString():null},Ef.toISOString=function(){return this.$d.toISOString()},Ef.toString=function(){return this.$d.toUTCString()},Af}(),Tf=Sf.prototype;return pf.prototype=Tf,[["$ms",ud],["$s",dd],["$m",pd],["$H",fd],["$W",md],["$M",Ad],["$y",Od],["$D",kd]].forEach(function(Af){Tf[Af[1]]=function(Ef){return this.$g(Ef,Af[0],Af[1])}}),pf.extend=function(Af,Ef){return Af.$i||(Af(Ef,Sf,pf),Af.$i=!0),pf},pf.locale=Xd,pf.isDayjs=_f,pf.unix=function(Af){return pf(1e3*Af)},pf.en=Wd[zd],pf.Ls=Wd,pf.p={},pf})})(dayjs_min);var dayjs_minExports=dayjs_min.exports;const dayjs2=getDefaultExportFromCjs(dayjs_minExports),Channel={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:Ra=>Ra>=255?255:Ra<0?0:Ra,g:Ra=>Ra>=255?255:Ra<0?0:Ra,b:Ra=>Ra>=255?255:Ra<0?0:Ra,h:Ra=>Ra%360,s:Ra=>Ra>=100?100:Ra<0?0:Ra,l:Ra=>Ra>=100?100:Ra<0?0:Ra,a:Ra=>Ra>=1?1:Ra<0?0:Ra},toLinear:Ra=>{const qa=Ra/255;return Ra>.03928?Math.pow((qa+.055)/1.055,2.4):qa/12.92},hue2rgb:(Ra,qa,nd)=>(nd<0&&(nd+=1),nd>1&&(nd-=1),nd<1/6?Ra+(qa-Ra)*6*nd:nd<1/2?qa:nd<2/3?Ra+(qa-Ra)*(2/3-nd)*6:Ra),hsl2rgb:({h:Ra,s:qa,l:nd},od)=>{if(!qa)return nd*2.55;Ra/=360,qa/=100,nd/=100;const ld=nd<.5?nd*(1+qa):nd+qa-nd*qa,ud=2*nd-ld;switch(od){case"r":return Channel.hue2rgb(ud,ld,Ra+1/3)*255;case"g":return Channel.hue2rgb(ud,ld,Ra)*255;case"b":return Channel.hue2rgb(ud,ld,Ra-1/3)*255}},rgb2hsl:({r:Ra,g:qa,b:nd},od)=>{Ra/=255,qa/=255,nd/=255;const ld=Math.max(Ra,qa,nd),ud=Math.min(Ra,qa,nd),dd=(ld+ud)/2;if(od==="l")return dd*100;if(ld===ud)return 0;const pd=ld-ud,fd=dd>.5?pd/(2-ld-ud):pd/(ld+ud);if(od==="s")return fd*100;switch(ld){case Ra:return((qa-nd)/pd+(qa<nd?6:0))*60;case qa:return((nd-Ra)/pd+2)*60;case nd:return((Ra-qa)/pd+4)*60;default:return-1}}},Lang={clamp:(Ra,qa,nd)=>qa>nd?Math.min(qa,Math.max(nd,Ra)):Math.min(nd,Math.max(qa,Ra)),round:Ra=>Math.round(Ra*1e10)/1e10},Unit={dec2hex:Ra=>{const qa=Math.round(Ra).toString(16);return qa.length>1?qa:`0${qa}`}},Utils$1={channel:Channel,lang:Lang,unit:Unit},DEC2HEX={};for(let Ra=0;Ra<=255;Ra++)DEC2HEX[Ra]=Utils$1.unit.dec2hex(Ra);const TYPE={ALL:0,RGB:1,HSL:2};class Type{constructor(){this.type=TYPE.ALL}get(){return this.type}set(qa){if(this.type&&this.type!==qa)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=qa}reset(){this.type=TYPE.ALL}is(qa){return this.type===qa}}class Channels{constructor(qa,nd){this.color=nd,this.changed=!1,this.data=qa,this.type=new Type}set(qa,nd){return this.color=nd,this.changed=!1,this.data=qa,this.type.type=TYPE.ALL,this}_ensureHSL(){const qa=this.data,{h:nd,s:od,l:ld}=qa;nd===void 0&&(qa.h=Utils$1.channel.rgb2hsl(qa,"h")),od===void 0&&(qa.s=Utils$1.channel.rgb2hsl(qa,"s")),ld===void 0&&(qa.l=Utils$1.channel.rgb2hsl(qa,"l"))}_ensureRGB(){const qa=this.data,{r:nd,g:od,b:ld}=qa;nd===void 0&&(qa.r=Utils$1.channel.hsl2rgb(qa,"r")),od===void 0&&(qa.g=Utils$1.channel.hsl2rgb(qa,"g")),ld===void 0&&(qa.b=Utils$1.channel.hsl2rgb(qa,"b"))}get r(){const qa=this.data,nd=qa.r;return!this.type.is(TYPE.HSL)&&nd!==void 0?nd:(this._ensureHSL(),Utils$1.channel.hsl2rgb(qa,"r"))}get g(){const qa=this.data,nd=qa.g;return!this.type.is(TYPE.HSL)&&nd!==void 0?nd:(this._ensureHSL(),Utils$1.channel.hsl2rgb(qa,"g"))}get b(){const qa=this.data,nd=qa.b;return!this.type.is(TYPE.HSL)&&nd!==void 0?nd:(this._ensureHSL(),Utils$1.channel.hsl2rgb(qa,"b"))}get h(){const qa=this.data,nd=qa.h;return!this.type.is(TYPE.RGB)&&nd!==void 0?nd:(this._ensureRGB(),Utils$1.channel.rgb2hsl(qa,"h"))}get s(){const qa=this.data,nd=qa.s;return!this.type.is(TYPE.RGB)&&nd!==void 0?nd:(this._ensureRGB(),Utils$1.channel.rgb2hsl(qa,"s"))}get l(){const qa=this.data,nd=qa.l;return!this.type.is(TYPE.RGB)&&nd!==void 0?nd:(this._ensureRGB(),Utils$1.channel.rgb2hsl(qa,"l"))}get a(){return this.data.a}set r(qa){this.type.set(TYPE.RGB),this.changed=!0,this.data.r=qa}set g(qa){this.type.set(TYPE.RGB),this.changed=!0,this.data.g=qa}set b(qa){this.type.set(TYPE.RGB),this.changed=!0,this.data.b=qa}set h(qa){this.type.set(TYPE.HSL),this.changed=!0,this.data.h=qa}set s(qa){this.type.set(TYPE.HSL),this.changed=!0,this.data.s=qa}set l(qa){this.type.set(TYPE.HSL),this.changed=!0,this.data.l=qa}set a(qa){this.changed=!0,this.data.a=qa}}const channels=new Channels({r:0,g:0,b:0,a:0},"transparent"),Hex={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:Ra=>{if(Ra.charCodeAt(0)!==35)return;const qa=Ra.match(Hex.re);if(!qa)return;const nd=qa[1],od=parseInt(nd,16),ld=nd.length,ud=ld%4===0,dd=ld>4,pd=dd?1:17,fd=dd?8:4,md=ud?0:-1,vd=dd?255:15;return channels.set({r:(od>>fd*(md+3)&vd)*pd,g:(od>>fd*(md+2)&vd)*pd,b:(od>>fd*(md+1)&vd)*pd,a:ud?(od&vd)*pd/255:1},Ra)},stringify:Ra=>{const{r:qa,g:nd,b:od,a:ld}=Ra;return ld<1?`#${DEC2HEX[Math.round(qa)]}${DEC2HEX[Math.round(nd)]}${DEC2HEX[Math.round(od)]}${DEC2HEX[Math.round(ld*255)]}`:`#${DEC2HEX[Math.round(qa)]}${DEC2HEX[Math.round(nd)]}${DEC2HEX[Math.round(od)]}`}},HSL={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:Ra=>{const qa=Ra.match(HSL.hueRe);if(qa){const[,nd,od]=qa;switch(od){case"grad":return Utils$1.channel.clamp.h(parseFloat(nd)*.9);case"rad":return Utils$1.channel.clamp.h(parseFloat(nd)*180/Math.PI);case"turn":return Utils$1.channel.clamp.h(parseFloat(nd)*360)}}return Utils$1.channel.clamp.h(parseFloat(Ra))},parse:Ra=>{const qa=Ra.charCodeAt(0);if(qa!==104&&qa!==72)return;const nd=Ra.match(HSL.re);if(!nd)return;const[,od,ld,ud,dd,pd]=nd;return channels.set({h:HSL._hue2deg(od),s:Utils$1.channel.clamp.s(parseFloat(ld)),l:Utils$1.channel.clamp.l(parseFloat(ud)),a:dd?Utils$1.channel.clamp.a(pd?parseFloat(dd)/100:parseFloat(dd)):1},Ra)},stringify:Ra=>{const{h:qa,s:nd,l:od,a:ld}=Ra;return ld<1?`hsla(${Utils$1.lang.round(qa)}, ${Utils$1.lang.round(nd)}%, ${Utils$1.lang.round(od)}%, ${ld})`:`hsl(${Utils$1.lang.round(qa)}, ${Utils$1.lang.round(nd)}%, ${Utils$1.lang.round(od)}%)`}},Keyword={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:Ra=>{Ra=Ra.toLowerCase();const qa=Keyword.colors[Ra];if(qa)return Hex.parse(qa)},stringify:Ra=>{const qa=Hex.stringify(Ra);for(const nd in Keyword.colors)if(Keyword.colors[nd]===qa)return nd}},RGB={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:Ra=>{const qa=Ra.charCodeAt(0);if(qa!==114&&qa!==82)return;const nd=Ra.match(RGB.re);if(!nd)return;const[,od,ld,ud,dd,pd,fd,md,vd]=nd;return channels.set({r:Utils$1.channel.clamp.r(ld?parseFloat(od)*2.55:parseFloat(od)),g:Utils$1.channel.clamp.g(dd?parseFloat(ud)*2.55:parseFloat(ud)),b:Utils$1.channel.clamp.b(fd?parseFloat(pd)*2.55:parseFloat(pd)),a:md?Utils$1.channel.clamp.a(vd?parseFloat(md)/100:parseFloat(md)):1},Ra)},stringify:Ra=>{const{r:qa,g:nd,b:od,a:ld}=Ra;return ld<1?`rgba(${Utils$1.lang.round(qa)}, ${Utils$1.lang.round(nd)}, ${Utils$1.lang.round(od)}, ${Utils$1.lang.round(ld)})`:`rgb(${Utils$1.lang.round(qa)}, ${Utils$1.lang.round(nd)}, ${Utils$1.lang.round(od)})`}},Color$1={format:{keyword:Keyword,hex:Hex,rgb:RGB,rgba:RGB,hsl:HSL,hsla:HSL},parse:Ra=>{if(typeof Ra!="string")return Ra;const qa=Hex.parse(Ra)||RGB.parse(Ra)||HSL.parse(Ra)||Keyword.parse(Ra);if(qa)return qa;throw new Error(`Unsupported color format: "${Ra}"`)},stringify:Ra=>!Ra.changed&&Ra.color?Ra.color:Ra.type.is(TYPE.HSL)||Ra.data.r===void 0?HSL.stringify(Ra):Ra.a<1||!Number.isInteger(Ra.r)||!Number.isInteger(Ra.g)||!Number.isInteger(Ra.b)?RGB.stringify(Ra):Hex.stringify(Ra)},change=(Ra,qa)=>{const nd=Color$1.parse(Ra);for(const od in qa)nd[od]=Utils$1.channel.clamp[od](qa[od]);return Color$1.stringify(nd)},rgba$1=(Ra,qa,nd=0,od=1)=>{if(typeof Ra!="number")return change(Ra,{a:qa});const ld=channels.set({r:Utils$1.channel.clamp.r(Ra),g:Utils$1.channel.clamp.g(qa),b:Utils$1.channel.clamp.b(nd),a:Utils$1.channel.clamp.a(od)});return Color$1.stringify(ld)},luminance=Ra=>{const{r:qa,g:nd,b:od}=Color$1.parse(Ra),ld=.2126*Utils$1.channel.toLinear(qa)+.7152*Utils$1.channel.toLinear(nd)+.0722*Utils$1.channel.toLinear(od);return Utils$1.lang.round(ld)},isLight=Ra=>luminance(Ra)>=.5,isDark=Ra=>!isLight(Ra),adjustChannel=(Ra,qa,nd)=>{const od=Color$1.parse(Ra),ld=od[qa],ud=Utils$1.channel.clamp[qa](ld+nd);return ld!==ud&&(od[qa]=ud),Color$1.stringify(od)},lighten=(Ra,qa)=>adjustChannel(Ra,"l",qa),darken=(Ra,qa)=>adjustChannel(Ra,"l",-qa),adjust=(Ra,qa)=>{const nd=Color$1.parse(Ra),od={};for(const ld in qa)qa[ld]&&(od[ld]=nd[ld]+qa[ld]);return change(Ra,od)},mix=(Ra,qa,nd=50)=>{const{r:od,g:ld,b:ud,a:dd}=Color$1.parse(Ra),{r:pd,g:fd,b:md,a:vd}=Color$1.parse(qa),Ad=nd/100,Nd=Ad*2-1,Od=dd-vd,Ld=((Nd*Od===-1?Nd:(Nd+Od)/(1+Nd*Od))+1)/2,Gd=1-Ld,jd=od*Ld+pd*Gd,Fd=ld*Ld+fd*Gd,Ud=ud*Ld+md*Gd,qd=dd*Ad+vd*(1-Ad);return rgba$1(jd,Fd,Ud,qd)},invert=(Ra,qa=100)=>{const nd=Color$1.parse(Ra);return nd.r=255-nd.r,nd.g=255-nd.g,nd.b=255-nd.b,mix(nd,Ra,qa)};/*! @license DOMPurify 3.2.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.1/LICENSE */const{entries,setPrototypeOf,isFrozen,getPrototypeOf:getPrototypeOf$2,getOwnPropertyDescriptor}=Object;let{freeze,seal,create:create$1}=Object,{apply:apply$2,construct}=typeof Reflect<"u"&&Reflect;freeze||(freeze=function(qa){return qa});seal||(seal=function(qa){return qa});apply$2||(apply$2=function(qa,nd,od){return qa.apply(nd,od)});construct||(construct=function(qa,nd){return new qa(...nd)});const arrayForEach=unapply(Array.prototype.forEach),arrayPop=unapply(Array.prototype.pop),arrayPush=unapply(Array.prototype.push),stringToLowerCase=unapply(String.prototype.toLowerCase),stringToString=unapply(String.prototype.toString),stringMatch=unapply(String.prototype.match),stringReplace=unapply(String.prototype.replace),stringIndexOf=unapply(String.prototype.indexOf),stringTrim=unapply(String.prototype.trim),objectHasOwnProperty=unapply(Object.prototype.hasOwnProperty),regExpTest=unapply(RegExp.prototype.test),typeErrorCreate=unconstruct(TypeError);function unapply(Ra){return function(qa){for(var nd=arguments.length,od=new Array(nd>1?nd-1:0),ld=1;ld<nd;ld++)od[ld-1]=arguments[ld];return apply$2(Ra,qa,od)}}function unconstruct(Ra){return function(){for(var qa=arguments.length,nd=new Array(qa),od=0;od<qa;od++)nd[od]=arguments[od];return construct(Ra,nd)}}function addToSet(Ra,qa){let nd=arguments.length>2&&arguments[2]!==void 0?arguments[2]:stringToLowerCase;setPrototypeOf&&setPrototypeOf(Ra,null);let od=qa.length;for(;od--;){let ld=qa[od];if(typeof ld=="string"){const ud=nd(ld);ud!==ld&&(isFrozen(qa)||(qa[od]=ud),ld=ud)}Ra[ld]=!0}return Ra}function cleanArray(Ra){for(let qa=0;qa<Ra.length;qa++)objectHasOwnProperty(Ra,qa)||(Ra[qa]=null);return Ra}function clone$1(Ra){const qa=create$1(null);for(const[nd,od]of entries(Ra))objectHasOwnProperty(Ra,nd)&&(Array.isArray(od)?qa[nd]=cleanArray(od):od&&typeof od=="object"&&od.constructor===Object?qa[nd]=clone$1(od):qa[nd]=od);return qa}function lookupGetter(Ra,qa){for(;Ra!==null;){const od=getOwnPropertyDescriptor(Ra,qa);if(od){if(od.get)return unapply(od.get);if(typeof od.value=="function")return unapply(od.value)}Ra=getPrototypeOf$2(Ra)}function nd(){return null}return nd}const html$1=freeze(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),svg$1=freeze(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),svgFilters=freeze(["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"]),svgDisallowed=freeze(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),mathMl$1=freeze(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),mathMlDisallowed=freeze(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),text$1=freeze(["#text"]),html$2=freeze(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),svg=freeze(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),mathMl=freeze(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),xml$3=freeze(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),MUSTACHE_EXPR=seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm),ERB_EXPR=seal(/<%[\w\W]*|[\w\W]*%>/gm),TMPLIT_EXPR=seal(/\${[\w\W]*}/gm),DATA_ATTR=seal(/^data-[\-\w.\u00B7-\uFFFF]/),ARIA_ATTR=seal(/^aria-[\-\w]+$/),IS_ALLOWED_URI=seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),IS_SCRIPT_OR_DATA=seal(/^(?:\w+script|data):/i),ATTR_WHITESPACE=seal(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),DOCTYPE_NAME=seal(/^html$/i),CUSTOM_ELEMENT=seal(/^[a-z][.\w]*(-[.\w]+)+$/i);var EXPRESSIONS=Object.freeze({__proto__:null,ARIA_ATTR,ATTR_WHITESPACE,CUSTOM_ELEMENT,DATA_ATTR,DOCTYPE_NAME,ERB_EXPR,IS_ALLOWED_URI,IS_SCRIPT_OR_DATA,MUSTACHE_EXPR,TMPLIT_EXPR});const NODE_TYPE={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},getGlobal=function(){return typeof window>"u"?null:window},_createTrustedTypesPolicy=function(qa,nd){if(typeof qa!="object"||typeof qa.createPolicy!="function")return null;let od=null;const ld="data-tt-policy-suffix";nd&&nd.hasAttribute(ld)&&(od=nd.getAttribute(ld));const ud="dompurify"+(od?"#"+od:"");try{return qa.createPolicy(ud,{createHTML(dd){return dd},createScriptURL(dd){return dd}})}catch{return console.warn("TrustedTypes policy "+ud+" could not be created."),null}};function createDOMPurify(){let Ra=arguments.length>0&&arguments[0]!==void 0?arguments[0]:getGlobal();const qa=_m=>createDOMPurify(_m);if(qa.version="3.2.1",qa.removed=[],!Ra||!Ra.document||Ra.document.nodeType!==NODE_TYPE.document)return qa.isSupported=!1,qa;let{document:nd}=Ra;const od=nd,ld=od.currentScript,{DocumentFragment:ud,HTMLTemplateElement:dd,Node:pd,Element:fd,NodeFilter:md,NamedNodeMap:vd=Ra.NamedNodeMap||Ra.MozNamedAttrMap,HTMLFormElement:Ad,DOMParser:Nd,trustedTypes:Od}=Ra,kd=fd.prototype,Ld=lookupGetter(kd,"cloneNode"),Gd=lookupGetter(kd,"remove"),jd=lookupGetter(kd,"nextSibling"),Fd=lookupGetter(kd,"childNodes"),Ud=lookupGetter(kd,"parentNode");if(typeof dd=="function"){const _m=nd.createElement("template");_m.content&&_m.content.ownerDocument&&(nd=_m.content.ownerDocument)}let qd,zd="";const{implementation:Wd,createNodeIterator:Jd,createDocumentFragment:_f,getElementsByTagName:Xd}=nd,{importNode:pf}=od;let mf={};qa.isSupported=typeof entries=="function"&&typeof Ud=="function"&&Wd&&Wd.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Sf,ERB_EXPR:Tf,TMPLIT_EXPR:Af,DATA_ATTR:Ef,ARIA_ATTR:Nf,IS_SCRIPT_OR_DATA:If,ATTR_WHITESPACE:Gf,CUSTOM_ELEMENT:Qf}=EXPRESSIONS;let{IS_ALLOWED_URI:Xf}=EXPRESSIONS,ph=null;const qf=addToSet({},[...html$1,...svg$1,...svgFilters,...mathMl$1,...text$1]);let Lf=null;const Wf=addToSet({},[...html$2,...svg,...mathMl,...xml$3]);let Jf=Object.seal(create$1(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Kf=null,Cf=null,xf=!0,Yf=!0,dh=!1,Rh=!0,th=!1,Bf=!0,Sh=!1,Fh=!1,uh=!1,Pf=!1,Uf=!1,Zf=!1,mh=!0,Mh=!1;const _h="user-content-";let pm=!0,Jh=!1,Mm={},Im=null;const gm=addToSet({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Lm=null;const Vm=addToSet({},["audio","video","img","source","image","track"]);let Th=null;const Rf=addToSet({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),wf="http://www.w3.org/1998/Math/MathML",sh="http://www.w3.org/2000/svg",xh="http://www.w3.org/1999/xhtml";let Wh=xh,om=!1,Dm=null;const zm=addToSet({},[wf,sh,xh],stringToString);let jm=addToSet({},["mi","mo","mn","ms","mtext"]),ig=addToSet({},["annotation-xml"]);const Zm=addToSet({},["title","style","font","a","script"]);let ug=null;const wg=["application/xhtml+xml","text/html"],Kg="text/html";let Gg=null,n_=null;const Pg=nd.createElement("form"),m_=function(Zh){return Zh instanceof RegExp||Zh instanceof Function},a_=function(){let Zh=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(n_&&n_===Zh)){if((!Zh||typeof Zh!="object")&&(Zh={}),Zh=clone$1(Zh),ug=wg.indexOf(Zh.PARSER_MEDIA_TYPE)===-1?Kg:Zh.PARSER_MEDIA_TYPE,Gg=ug==="application/xhtml+xml"?stringToString:stringToLowerCase,ph=objectHasOwnProperty(Zh,"ALLOWED_TAGS")?addToSet({},Zh.ALLOWED_TAGS,Gg):qf,Lf=objectHasOwnProperty(Zh,"ALLOWED_ATTR")?addToSet({},Zh.ALLOWED_ATTR,Gg):Wf,Dm=objectHasOwnProperty(Zh,"ALLOWED_NAMESPACES")?addToSet({},Zh.ALLOWED_NAMESPACES,stringToString):zm,Th=objectHasOwnProperty(Zh,"ADD_URI_SAFE_ATTR")?addToSet(clone$1(Rf),Zh.ADD_URI_SAFE_ATTR,Gg):Rf,Lm=objectHasOwnProperty(Zh,"ADD_DATA_URI_TAGS")?addToSet(clone$1(Vm),Zh.ADD_DATA_URI_TAGS,Gg):Vm,Im=objectHasOwnProperty(Zh,"FORBID_CONTENTS")?addToSet({},Zh.FORBID_CONTENTS,Gg):gm,Kf=objectHasOwnProperty(Zh,"FORBID_TAGS")?addToSet({},Zh.FORBID_TAGS,Gg):{},Cf=objectHasOwnProperty(Zh,"FORBID_ATTR")?addToSet({},Zh.FORBID_ATTR,Gg):{},Mm=objectHasOwnProperty(Zh,"USE_PROFILES")?Zh.USE_PROFILES:!1,xf=Zh.ALLOW_ARIA_ATTR!==!1,Yf=Zh.ALLOW_DATA_ATTR!==!1,dh=Zh.ALLOW_UNKNOWN_PROTOCOLS||!1,Rh=Zh.ALLOW_SELF_CLOSE_IN_ATTR!==!1,th=Zh.SAFE_FOR_TEMPLATES||!1,Bf=Zh.SAFE_FOR_XML!==!1,Sh=Zh.WHOLE_DOCUMENT||!1,Pf=Zh.RETURN_DOM||!1,Uf=Zh.RETURN_DOM_FRAGMENT||!1,Zf=Zh.RETURN_TRUSTED_TYPE||!1,uh=Zh.FORCE_BODY||!1,mh=Zh.SANITIZE_DOM!==!1,Mh=Zh.SANITIZE_NAMED_PROPS||!1,pm=Zh.KEEP_CONTENT!==!1,Jh=Zh.IN_PLACE||!1,Xf=Zh.ALLOWED_URI_REGEXP||IS_ALLOWED_URI,Wh=Zh.NAMESPACE||xh,jm=Zh.MATHML_TEXT_INTEGRATION_POINTS||jm,ig=Zh.HTML_INTEGRATION_POINTS||ig,Jf=Zh.CUSTOM_ELEMENT_HANDLING||{},Zh.CUSTOM_ELEMENT_HANDLING&&m_(Zh.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Jf.tagNameCheck=Zh.CUSTOM_ELEMENT_HANDLING.tagNameCheck),Zh.CUSTOM_ELEMENT_HANDLING&&m_(Zh.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Jf.attributeNameCheck=Zh.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),Zh.CUSTOM_ELEMENT_HANDLING&&typeof Zh.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(Jf.allowCustomizedBuiltInElements=Zh.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),th&&(Yf=!1),Uf&&(Pf=!0),Mm&&(ph=addToSet({},text$1),Lf=[],Mm.html===!0&&(addToSet(ph,html$1),addToSet(Lf,html$2)),Mm.svg===!0&&(addToSet(ph,svg$1),addToSet(Lf,svg),addToSet(Lf,xml$3)),Mm.svgFilters===!0&&(addToSet(ph,svgFilters),addToSet(Lf,svg),addToSet(Lf,xml$3)),Mm.mathMl===!0&&(addToSet(ph,mathMl$1),addToSet(Lf,mathMl),addToSet(Lf,xml$3))),Zh.ADD_TAGS&&(ph===qf&&(ph=clone$1(ph)),addToSet(ph,Zh.ADD_TAGS,Gg)),Zh.ADD_ATTR&&(Lf===Wf&&(Lf=clone$1(Lf)),addToSet(Lf,Zh.ADD_ATTR,Gg)),Zh.ADD_URI_SAFE_ATTR&&addToSet(Th,Zh.ADD_URI_SAFE_ATTR,Gg),Zh.FORBID_CONTENTS&&(Im===gm&&(Im=clone$1(Im)),addToSet(Im,Zh.FORBID_CONTENTS,Gg)),pm&&(ph["#text"]=!0),Sh&&addToSet(ph,["html","head","body"]),ph.table&&(addToSet(ph,["tbody"]),delete Kf.tbody),Zh.TRUSTED_TYPES_POLICY){if(typeof Zh.TRUSTED_TYPES_POLICY.createHTML!="function")throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof Zh.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');qd=Zh.TRUSTED_TYPES_POLICY,zd=qd.createHTML("")}else qd===void 0&&(qd=_createTrustedTypesPolicy(Od,ld)),qd!==null&&typeof zd=="string"&&(zd=qd.createHTML(""));freeze&&freeze(Zh),n_=Zh}},M_=addToSet({},[...svg$1,...svgFilters,...svgDisallowed]),B_=addToSet({},[...mathMl$1,...mathMlDisallowed]),h_=function(Zh){let Gm=Ud(Zh);(!Gm||!Gm.tagName)&&(Gm={namespaceURI:Wh,tagName:"template"});const Km=stringToLowerCase(Zh.tagName),xg=stringToLowerCase(Gm.tagName);return Dm[Zh.namespaceURI]?Zh.namespaceURI===sh?Gm.namespaceURI===xh?Km==="svg":Gm.namespaceURI===wf?Km==="svg"&&(xg==="annotation-xml"||jm[xg]):!!M_[Km]:Zh.namespaceURI===wf?Gm.namespaceURI===xh?Km==="math":Gm.namespaceURI===sh?Km==="math"&&ig[xg]:!!B_[Km]:Zh.namespaceURI===xh?Gm.namespaceURI===sh&&!ig[xg]||Gm.namespaceURI===wf&&!jm[xg]?!1:!B_[Km]&&(Zm[Km]||!M_[Km]):!!(ug==="application/xhtml+xml"&&Dm[Zh.namespaceURI]):!1},y_=function(Zh){arrayPush(qa.removed,{element:Zh});try{Ud(Zh).removeChild(Zh)}catch{Gd(Zh)}},dg=function(Zh,Gm){try{arrayPush(qa.removed,{attribute:Gm.getAttributeNode(Zh),from:Gm})}catch{arrayPush(qa.removed,{attribute:null,from:Gm})}if(Gm.removeAttribute(Zh),Zh==="is"&&!Lf[Zh])if(Pf||Uf)try{y_(Gm)}catch{}else try{Gm.setAttribute(Zh,"")}catch{}},vb=function(Zh){let Gm=null,Km=null;if(uh)Zh="<remove></remove>"+Zh;else{const Ag=stringMatch(Zh,/^[\r\n\t ]+/);Km=Ag&&Ag[0]}ug==="application/xhtml+xml"&&Wh===xh&&(Zh='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+Zh+"</body></html>");const xg=qd?qd.createHTML(Zh):Zh;if(Wh===xh)try{Gm=new Nd().parseFromString(xg,ug)}catch{}if(!Gm||!Gm.documentElement){Gm=Wd.createDocument(Wh,"template",null);try{Gm.documentElement.innerHTML=om?zd:xg}catch{}}const eg=Gm.body||Gm.documentElement;return Zh&&Km&&eg.insertBefore(nd.createTextNode(Km),eg.childNodes[0]||null),Wh===xh?Xd.call(Gm,Sh?"html":"body")[0]:Sh?Gm.documentElement:eg},kb=function(Zh){return Jd.call(Zh.ownerDocument||Zh,Zh,md.SHOW_ELEMENT|md.SHOW_COMMENT|md.SHOW_TEXT|md.SHOW_PROCESSING_INSTRUCTION|md.SHOW_CDATA_SECTION,null)},Z_=function(Zh){return Zh instanceof Ad&&(typeof Zh.nodeName!="string"||typeof Zh.textContent!="string"||typeof Zh.removeChild!="function"||!(Zh.attributes instanceof vd)||typeof Zh.removeAttribute!="function"||typeof Zh.setAttribute!="function"||typeof Zh.namespaceURI!="string"||typeof Zh.insertBefore!="function"||typeof Zh.hasChildNodes!="function")},jf=function(Zh){return typeof pd=="function"&&Zh instanceof pd};function Uh(_m,Zh,Gm){mf[_m]&&arrayForEach(mf[_m],Km=>{Km.call(qa,Zh,Gm,n_)})}const wh=function(Zh){let Gm=null;if(Uh("beforeSanitizeElements",Zh,null),Z_(Zh))return y_(Zh),!0;const Km=Gg(Zh.nodeName);if(Uh("uponSanitizeElement",Zh,{tagName:Km,allowedTags:ph}),Zh.hasChildNodes()&&!jf(Zh.firstElementChild)&&regExpTest(/<[/\w]/g,Zh.innerHTML)&&regExpTest(/<[/\w]/g,Zh.textContent)||Zh.nodeType===NODE_TYPE.progressingInstruction||Bf&&Zh.nodeType===NODE_TYPE.comment&&regExpTest(/<[/\w]/g,Zh.data))return y_(Zh),!0;if(!ph[Km]||Kf[Km]){if(!Kf[Km]&&fm(Km)&&(Jf.tagNameCheck instanceof RegExp&&regExpTest(Jf.tagNameCheck,Km)||Jf.tagNameCheck instanceof Function&&Jf.tagNameCheck(Km)))return!1;if(pm&&!Im[Km]){const xg=Ud(Zh)||Zh.parentNode,eg=Fd(Zh)||Zh.childNodes;if(eg&&xg){const Ag=eg.length;for(let d_=Ag-1;d_>=0;--d_){const u_=Ld(eg[d_],!0);u_.__removalCount=(Zh.__removalCount||0)+1,xg.insertBefore(u_,jd(Zh))}}}return y_(Zh),!0}return Zh instanceof fd&&!h_(Zh)||(Km==="noscript"||Km==="noembed"||Km==="noframes")&&regExpTest(/<\/no(script|embed|frames)/i,Zh.innerHTML)?(y_(Zh),!0):(th&&Zh.nodeType===NODE_TYPE.text&&(Gm=Zh.textContent,arrayForEach([Sf,Tf,Af],xg=>{Gm=stringReplace(Gm,xg," ")}),Zh.textContent!==Gm&&(arrayPush(qa.removed,{element:Zh.cloneNode()}),Zh.textContent=Gm)),Uh("afterSanitizeElements",Zh,null),!1)},Bh=function(Zh,Gm,Km){if(mh&&(Gm==="id"||Gm==="name")&&(Km in nd||Km in Pg))return!1;if(!(Yf&&!Cf[Gm]&&regExpTest(Ef,Gm))){if(!(xf&&regExpTest(Nf,Gm))){if(!Lf[Gm]||Cf[Gm]){if(!(fm(Zh)&&(Jf.tagNameCheck instanceof RegExp&&regExpTest(Jf.tagNameCheck,Zh)||Jf.tagNameCheck instanceof Function&&Jf.tagNameCheck(Zh))&&(Jf.attributeNameCheck instanceof RegExp&&regExpTest(Jf.attributeNameCheck,Gm)||Jf.attributeNameCheck instanceof Function&&Jf.attributeNameCheck(Gm))||Gm==="is"&&Jf.allowCustomizedBuiltInElements&&(Jf.tagNameCheck instanceof RegExp&&regExpTest(Jf.tagNameCheck,Km)||Jf.tagNameCheck instanceof Function&&Jf.tagNameCheck(Km))))return!1}else if(!Th[Gm]){if(!regExpTest(Xf,stringReplace(Km,Gf,""))){if(!((Gm==="src"||Gm==="xlink:href"||Gm==="href")&&Zh!=="script"&&stringIndexOf(Km,"data:")===0&&Lm[Zh])){if(!(dh&&!regExpTest(If,stringReplace(Km,Gf,"")))){if(Km)return!1}}}}}}return!0},fm=function(Zh){return Zh!=="annotation-xml"&&stringMatch(Zh,Qf)},dm=function(Zh){Uh("beforeSanitizeAttributes",Zh,null);const{attributes:Gm}=Zh;if(!Gm)return;const Km={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Lf,forceKeepAttr:void 0};let xg=Gm.length;for(;xg--;){const eg=Gm[xg],{name:Ag,namespaceURI:d_,value:u_}=eg,Xg=Gg(Ag);let lg=Ag==="value"?u_:stringTrim(u_);if(Km.attrName=Xg,Km.attrValue=lg,Km.keepAttr=!0,Km.forceKeepAttr=void 0,Uh("uponSanitizeAttribute",Zh,Km),lg=Km.attrValue,Mh&&(Xg==="id"||Xg==="name")&&(dg(Ag,Zh),lg=_h+lg),Bf&&regExpTest(/((--!?|])>)|<\/(style|title)/i,lg)){dg(Ag,Zh);continue}if(Km.forceKeepAttr||(dg(Ag,Zh),!Km.keepAttr))continue;if(!Rh&&regExpTest(/\/>/i,lg)){dg(Ag,Zh);continue}th&&arrayForEach([Sf,Tf,Af],Zg=>{lg=stringReplace(lg,Zg," ")});const N_=Gg(Zh.nodeName);if(Bh(N_,Xg,lg)){if(qd&&typeof Od=="object"&&typeof Od.getAttributeType=="function"&&!d_)switch(Od.getAttributeType(N_,Xg)){case"TrustedHTML":{lg=qd.createHTML(lg);break}case"TrustedScriptURL":{lg=qd.createScriptURL(lg);break}}try{d_?Zh.setAttributeNS(d_,Ag,lg):Zh.setAttribute(Ag,lg),Z_(Zh)?y_(Zh):arrayPop(qa.removed)}catch{}}}Uh("afterSanitizeAttributes",Zh,null)},Tm=function _m(Zh){let Gm=null;const Km=kb(Zh);for(Uh("beforeSanitizeShadowDOM",Zh,null);Gm=Km.nextNode();)Uh("uponSanitizeShadowNode",Gm,null),!wh(Gm)&&(Gm.content instanceof ud&&_m(Gm.content),dm(Gm));Uh("afterSanitizeShadowDOM",Zh,null)};return qa.sanitize=function(_m){let Zh=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Gm=null,Km=null,xg=null,eg=null;if(om=!_m,om&&(_m="<!-->"),typeof _m!="string"&&!jf(_m))if(typeof _m.toString=="function"){if(_m=_m.toString(),typeof _m!="string")throw typeErrorCreate("dirty is not a string, aborting")}else throw typeErrorCreate("toString is not a function");if(!qa.isSupported)return _m;if(Fh||a_(Zh),qa.removed=[],typeof _m=="string"&&(Jh=!1),Jh){if(_m.nodeName){const u_=Gg(_m.nodeName);if(!ph[u_]||Kf[u_])throw typeErrorCreate("root node is forbidden and cannot be sanitized in-place")}}else if(_m instanceof pd)Gm=vb("<!---->"),Km=Gm.ownerDocument.importNode(_m,!0),Km.nodeType===NODE_TYPE.element&&Km.nodeName==="BODY"||Km.nodeName==="HTML"?Gm=Km:Gm.appendChild(Km);else{if(!Pf&&!th&&!Sh&&_m.indexOf("<")===-1)return qd&&Zf?qd.createHTML(_m):_m;if(Gm=vb(_m),!Gm)return Pf?null:Zf?zd:""}Gm&&uh&&y_(Gm.firstChild);const Ag=kb(Jh?_m:Gm);for(;xg=Ag.nextNode();)wh(xg)||(xg.content instanceof ud&&Tm(xg.content),dm(xg));if(Jh)return _m;if(Pf){if(Uf)for(eg=_f.call(Gm.ownerDocument);Gm.firstChild;)eg.appendChild(Gm.firstChild);else eg=Gm;return(Lf.shadowroot||Lf.shadowrootmode)&&(eg=pf.call(od,eg,!0)),eg}let d_=Sh?Gm.outerHTML:Gm.innerHTML;return Sh&&ph["!doctype"]&&Gm.ownerDocument&&Gm.ownerDocument.doctype&&Gm.ownerDocument.doctype.name&&regExpTest(DOCTYPE_NAME,Gm.ownerDocument.doctype.name)&&(d_="<!DOCTYPE "+Gm.ownerDocument.doctype.name+`>
`+d_),th&&arrayForEach([Sf,Tf,Af],u_=>{d_=stringReplace(d_,u_," ")}),qd&&Zf?qd.createHTML(d_):d_},qa.setConfig=function(){let _m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};a_(_m),Fh=!0},qa.clearConfig=function(){n_=null,Fh=!1},qa.isValidAttribute=function(_m,Zh,Gm){n_||a_({});const Km=Gg(_m),xg=Gg(Zh);return Bh(Km,xg,Gm)},qa.addHook=function(_m,Zh){typeof Zh=="function"&&(mf[_m]=mf[_m]||[],arrayPush(mf[_m],Zh))},qa.removeHook=function(_m){if(mf[_m])return arrayPop(mf[_m])},qa.removeHooks=function(_m){mf[_m]&&(mf[_m]=[])},qa.removeAllHooks=function(){mf={}},qa}var purify=createDOMPurify(),__defProp=Object.defineProperty,__name=(Ra,qa)=>__defProp(Ra,"name",{value:qa,configurable:!0}),__export=(Ra,qa)=>{for(var nd in qa)__defProp(Ra,nd,{get:qa[nd],enumerable:!0})},LEVELS={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},log$1={trace:__name((...Ra)=>{},"trace"),debug:__name((...Ra)=>{},"debug"),info:__name((...Ra)=>{},"info"),warn:__name((...Ra)=>{},"warn"),error:__name((...Ra)=>{},"error"),fatal:__name((...Ra)=>{},"fatal")},setLogLevel=__name(function(Ra="fatal"){let qa=LEVELS.fatal;typeof Ra=="string"?Ra.toLowerCase()in LEVELS&&(qa=LEVELS[Ra]):typeof Ra=="number"&&(qa=Ra),log$1.trace=()=>{},log$1.debug=()=>{},log$1.info=()=>{},log$1.warn=()=>{},log$1.error=()=>{},log$1.fatal=()=>{},qa<=LEVELS.fatal&&(log$1.fatal=console.error?console.error.bind(console,format$1("FATAL"),"color: orange"):console.log.bind(console,"\x1B[35m",format$1("FATAL"))),qa<=LEVELS.error&&(log$1.error=console.error?console.error.bind(console,format$1("ERROR"),"color: orange"):console.log.bind(console,"\x1B[31m",format$1("ERROR"))),qa<=LEVELS.warn&&(log$1.warn=console.warn?console.warn.bind(console,format$1("WARN"),"color: orange"):console.log.bind(console,"\x1B[33m",format$1("WARN"))),qa<=LEVELS.info&&(log$1.info=console.info?console.info.bind(console,format$1("INFO"),"color: lightblue"):console.log.bind(console,"\x1B[34m",format$1("INFO"))),qa<=LEVELS.debug&&(log$1.debug=console.debug?console.debug.bind(console,format$1("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",format$1("DEBUG"))),qa<=LEVELS.trace&&(log$1.trace=console.debug?console.debug.bind(console,format$1("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",format$1("TRACE")))},"setLogLevel"),format$1=__name(Ra=>`%c${dayjs2().format("ss.SSS")} : ${Ra} : `,"format"),frontMatterRegex=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s,directiveRegex=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,anyCommentRegex=/\s*%%.*\n/gm,HS,UnknownDiagramError=(HS=class extends Error{constructor(qa){super(qa),this.name="UnknownDiagramError"}},__name(HS,"UnknownDiagramError"),HS),detectors={},detectType$1=__name(function(Ra,qa){Ra=Ra.replace(frontMatterRegex,"").replace(directiveRegex,"").replace(anyCommentRegex,`
`);for(const[nd,{detector:od}]of Object.entries(detectors))if(od(Ra,qa))return nd;throw new UnknownDiagramError(`No diagram type detected matching given configuration for text: ${Ra}`)},"detectType"),registerLazyLoadedDiagrams=__name((...Ra)=>{for(const{id:qa,detector:nd,loader:od}of Ra)addDetector(qa,nd,od)},"registerLazyLoadedDiagrams"),addDetector=__name((Ra,qa,nd)=>{detectors[Ra]&&log$1.warn(`Detector with key ${Ra} already exists. Overwriting.`),detectors[Ra]={detector:qa,loader:nd},log$1.debug(`Detector with key ${Ra} added${nd?" with loader":""}`)},"addDetector"),getDiagramLoader=__name(Ra=>detectors[Ra].loader,"getDiagramLoader"),assignWithDepth=__name((Ra,qa,{depth:nd=2,clobber:od=!1}={})=>{const ld={depth:nd,clobber:od};return Array.isArray(qa)&&!Array.isArray(Ra)?(qa.forEach(ud=>assignWithDepth(Ra,ud,ld)),Ra):Array.isArray(qa)&&Array.isArray(Ra)?(qa.forEach(ud=>{Ra.includes(ud)||Ra.push(ud)}),Ra):Ra===void 0||nd<=0?Ra!=null&&typeof Ra=="object"&&typeof qa=="object"?Object.assign(Ra,qa):qa:(qa!==void 0&&typeof Ra=="object"&&typeof qa=="object"&&Object.keys(qa).forEach(ud=>{typeof qa[ud]=="object"&&(Ra[ud]===void 0||typeof Ra[ud]=="object")?(Ra[ud]===void 0&&(Ra[ud]=Array.isArray(qa[ud])?[]:{}),Ra[ud]=assignWithDepth(Ra[ud],qa[ud],{depth:nd-1,clobber:od})):(od||typeof Ra[ud]!="object"&&typeof qa[ud]!="object")&&(Ra[ud]=qa[ud])}),Ra)},"assignWithDepth"),assignWithDepth_default=assignWithDepth,oldAttributeBackgroundColorOdd="#ffffff",oldAttributeBackgroundColorEven="#f2f2f2",mkBorder=__name((Ra,qa)=>qa?adjust(Ra,{s:-40,l:10}):adjust(Ra,{s:-40,l:-10}),"mkBorder"),GS,Theme=(GS=class{constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px"}updateColors(){var nd,od,ld,ud,dd,pd,fd,md,vd,Ad,Nd;if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||adjust(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||adjust(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||mkBorder(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||mkBorder(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||mkBorder(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||mkBorder(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||invert(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||invert(this.tertiaryColor),this.lineColor=this.lineColor||invert(this.background),this.arrowheadColor=this.arrowheadColor||invert(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?darken(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||darken(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||invert(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||lighten(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||adjust(this.primaryColor,{h:30}),this.cScale4=this.cScale4||adjust(this.primaryColor,{h:60}),this.cScale5=this.cScale5||adjust(this.primaryColor,{h:90}),this.cScale6=this.cScale6||adjust(this.primaryColor,{h:120}),this.cScale7=this.cScale7||adjust(this.primaryColor,{h:150}),this.cScale8=this.cScale8||adjust(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||adjust(this.primaryColor,{h:270}),this.cScale10=this.cScale10||adjust(this.primaryColor,{h:300}),this.cScale11=this.cScale11||adjust(this.primaryColor,{h:330}),this.darkMode)for(let Od=0;Od<this.THEME_COLOR_LIMIT;Od++)this["cScale"+Od]=darken(this["cScale"+Od],75);else for(let Od=0;Od<this.THEME_COLOR_LIMIT;Od++)this["cScale"+Od]=darken(this["cScale"+Od],25);for(let Od=0;Od<this.THEME_COLOR_LIMIT;Od++)this["cScaleInv"+Od]=this["cScaleInv"+Od]||invert(this["cScale"+Od]);for(let Od=0;Od<this.THEME_COLOR_LIMIT;Od++)this.darkMode?this["cScalePeer"+Od]=this["cScalePeer"+Od]||lighten(this["cScale"+Od],10):this["cScalePeer"+Od]=this["cScalePeer"+Od]||darken(this["cScale"+Od],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let Od=0;Od<this.THEME_COLOR_LIMIT;Od++)this["cScaleLabel"+Od]=this["cScaleLabel"+Od]||this.scaleLabelColor;const qa=this.darkMode?-4:-1;for(let Od=0;Od<5;Od++)this["surface"+Od]=this["surface"+Od]||adjust(this.mainBkg,{h:180,s:-15,l:qa*(5+Od*3)}),this["surfacePeer"+Od]=this["surfacePeer"+Od]||adjust(this.mainBkg,{h:180,s:-15,l:qa*(8+Od*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||adjust(this.primaryColor,{h:64}),this.fillType3=this.fillType3||adjust(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||adjust(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||adjust(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||adjust(this.primaryColor,{h:128}),this.fillType7=this.fillType7||adjust(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||adjust(this.primaryColor,{l:-10}),this.pie5=this.pie5||adjust(this.secondaryColor,{l:-10}),this.pie6=this.pie6||adjust(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||adjust(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||adjust(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||adjust(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||adjust(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||adjust(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||adjust(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.archEdgeColor=this.archEdgeColor||"#777",this.archEdgeArrowColor=this.archEdgeArrowColor||"#777",this.archEdgeWidth=this.archEdgeWidth||"3",this.archGroupBorderColor=this.archGroupBorderColor||"#000",this.archGroupBorderWidth=this.archGroupBorderWidth||"2px",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||adjust(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||adjust(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||adjust(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||adjust(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||adjust(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||adjust(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||isDark(this.quadrant1Fill)?lighten(this.quadrant1Fill):darken(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((nd=this.xyChart)==null?void 0:nd.backgroundColor)||this.background,titleColor:((od=this.xyChart)==null?void 0:od.titleColor)||this.primaryTextColor,xAxisTitleColor:((ld=this.xyChart)==null?void 0:ld.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((ud=this.xyChart)==null?void 0:ud.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((dd=this.xyChart)==null?void 0:dd.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((pd=this.xyChart)==null?void 0:pd.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((fd=this.xyChart)==null?void 0:fd.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((md=this.xyChart)==null?void 0:md.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((vd=this.xyChart)==null?void 0:vd.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((Ad=this.xyChart)==null?void 0:Ad.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((Nd=this.xyChart)==null?void 0:Nd.plotColorPalette)||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?darken(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||adjust(this.primaryColor,{h:-30}),this.git4=this.git4||adjust(this.primaryColor,{h:-60}),this.git5=this.git5||adjust(this.primaryColor,{h:-90}),this.git6=this.git6||adjust(this.primaryColor,{h:60}),this.git7=this.git7||adjust(this.primaryColor,{h:120}),this.darkMode?(this.git0=lighten(this.git0,25),this.git1=lighten(this.git1,25),this.git2=lighten(this.git2,25),this.git3=lighten(this.git3,25),this.git4=lighten(this.git4,25),this.git5=lighten(this.git5,25),this.git6=lighten(this.git6,25),this.git7=lighten(this.git7,25)):(this.git0=darken(this.git0,25),this.git1=darken(this.git1,25),this.git2=darken(this.git2,25),this.git3=darken(this.git3,25),this.git4=darken(this.git4,25),this.git5=darken(this.git5,25),this.git6=darken(this.git6,25),this.git7=darken(this.git7,25)),this.gitInv0=this.gitInv0||invert(this.git0),this.gitInv1=this.gitInv1||invert(this.git1),this.gitInv2=this.gitInv2||invert(this.git2),this.gitInv3=this.gitInv3||invert(this.git3),this.gitInv4=this.gitInv4||invert(this.git4),this.gitInv5=this.gitInv5||invert(this.git5),this.gitInv6=this.gitInv6||invert(this.git6),this.gitInv7=this.gitInv7||invert(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||oldAttributeBackgroundColorOdd,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||oldAttributeBackgroundColorEven}calculate(qa){if(typeof qa!="object"){this.updateColors();return}const nd=Object.keys(qa);nd.forEach(od=>{this[od]=qa[od]}),this.updateColors(),nd.forEach(od=>{this[od]=qa[od]})}},__name(GS,"Theme"),GS),getThemeVariables=__name(Ra=>{const qa=new Theme;return qa.calculate(Ra),qa},"getThemeVariables"),qS,Theme2=(qS=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=lighten(this.primaryColor,16),this.tertiaryColor=adjust(this.primaryColor,{h:-160}),this.primaryBorderColor=invert(this.background),this.secondaryBorderColor=mkBorder(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=mkBorder(this.tertiaryColor,this.darkMode),this.primaryTextColor=invert(this.primaryColor),this.secondaryTextColor=invert(this.secondaryColor),this.tertiaryTextColor=invert(this.tertiaryColor),this.lineColor=invert(this.background),this.textColor=invert(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=lighten(invert("#323D47"),10),this.lineColor="calculated",this.border1="#ccc",this.border2=rgba$1(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.sectionBkgColor=darken("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=darken(this.sectionBkgColor,10),this.taskBorderColor=rgba$1(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=rgba$1(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){var qa,nd,od,ld,ud,dd,pd,fd,md,vd,Ad;this.secondBkg=lighten(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=lighten(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.actorBorder,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=lighten(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=this.darkTextColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=adjust(this.primaryColor,{h:64}),this.fillType3=adjust(this.secondaryColor,{h:64}),this.fillType4=adjust(this.primaryColor,{h:-64}),this.fillType5=adjust(this.secondaryColor,{h:-64}),this.fillType6=adjust(this.primaryColor,{h:128}),this.fillType7=adjust(this.secondaryColor,{h:128}),this.cScale1=this.cScale1||"#0b0000",this.cScale2=this.cScale2||"#4d1037",this.cScale3=this.cScale3||"#3f5258",this.cScale4=this.cScale4||"#4f2f1b",this.cScale5=this.cScale5||"#6e0a0a",this.cScale6=this.cScale6||"#3b0048",this.cScale7=this.cScale7||"#995a01",this.cScale8=this.cScale8||"#154706",this.cScale9=this.cScale9||"#161722",this.cScale10=this.cScale10||"#00296f",this.cScale11=this.cScale11||"#01629c",this.cScale12=this.cScale12||"#010029",this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||adjust(this.primaryColor,{h:30}),this.cScale4=this.cScale4||adjust(this.primaryColor,{h:60}),this.cScale5=this.cScale5||adjust(this.primaryColor,{h:90}),this.cScale6=this.cScale6||adjust(this.primaryColor,{h:120}),this.cScale7=this.cScale7||adjust(this.primaryColor,{h:150}),this.cScale8=this.cScale8||adjust(this.primaryColor,{h:210}),this.cScale9=this.cScale9||adjust(this.primaryColor,{h:270}),this.cScale10=this.cScale10||adjust(this.primaryColor,{h:300}),this.cScale11=this.cScale11||adjust(this.primaryColor,{h:330});for(let Nd=0;Nd<this.THEME_COLOR_LIMIT;Nd++)this["cScaleInv"+Nd]=this["cScaleInv"+Nd]||invert(this["cScale"+Nd]);for(let Nd=0;Nd<this.THEME_COLOR_LIMIT;Nd++)this["cScalePeer"+Nd]=this["cScalePeer"+Nd]||lighten(this["cScale"+Nd],10);for(let Nd=0;Nd<5;Nd++)this["surface"+Nd]=this["surface"+Nd]||adjust(this.mainBkg,{h:30,s:-30,l:-(-10+Nd*4)}),this["surfacePeer"+Nd]=this["surfacePeer"+Nd]||adjust(this.mainBkg,{h:30,s:-30,l:-(-7+Nd*4)});this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor);for(let Nd=0;Nd<this.THEME_COLOR_LIMIT;Nd++)this["cScaleLabel"+Nd]=this["cScaleLabel"+Nd]||this.scaleLabelColor;for(let Nd=0;Nd<this.THEME_COLOR_LIMIT;Nd++)this["pie"+Nd]=this["cScale"+Nd];this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||adjust(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||adjust(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||adjust(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||adjust(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||adjust(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||adjust(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||isDark(this.quadrant1Fill)?lighten(this.quadrant1Fill):darken(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((qa=this.xyChart)==null?void 0:qa.backgroundColor)||this.background,titleColor:((nd=this.xyChart)==null?void 0:nd.titleColor)||this.primaryTextColor,xAxisTitleColor:((od=this.xyChart)==null?void 0:od.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((ld=this.xyChart)==null?void 0:ld.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((ud=this.xyChart)==null?void 0:ud.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((dd=this.xyChart)==null?void 0:dd.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((pd=this.xyChart)==null?void 0:pd.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((fd=this.xyChart)==null?void 0:fd.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((md=this.xyChart)==null?void 0:md.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((vd=this.xyChart)==null?void 0:vd.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((Ad=this.xyChart)==null?void 0:Ad.plotColorPalette)||"#3498db,#2ecc71,#e74c3c,#f1c40f,#bdc3c7,#ffffff,#34495e,#9b59b6,#1abc9c,#e67e22"},this.packet={startByteColor:this.primaryTextColor,endByteColor:this.primaryTextColor,labelColor:this.primaryTextColor,titleColor:this.primaryTextColor,blockStrokeColor:this.primaryTextColor,blockFillColor:this.background},this.classText=this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?darken(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=lighten(this.secondaryColor,20),this.git1=lighten(this.pie2||this.secondaryColor,20),this.git2=lighten(this.pie3||this.tertiaryColor,20),this.git3=lighten(this.pie4||adjust(this.primaryColor,{h:-30}),20),this.git4=lighten(this.pie5||adjust(this.primaryColor,{h:-60}),20),this.git5=lighten(this.pie6||adjust(this.primaryColor,{h:-90}),10),this.git6=lighten(this.pie7||adjust(this.primaryColor,{h:60}),10),this.git7=lighten(this.pie8||adjust(this.primaryColor,{h:120}),20),this.gitInv0=this.gitInv0||invert(this.git0),this.gitInv1=this.gitInv1||invert(this.git1),this.gitInv2=this.gitInv2||invert(this.git2),this.gitInv3=this.gitInv3||invert(this.git3),this.gitInv4=this.gitInv4||invert(this.git4),this.gitInv5=this.gitInv5||invert(this.git5),this.gitInv6=this.gitInv6||invert(this.git6),this.gitInv7=this.gitInv7||invert(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||invert(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||invert(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||lighten(this.background,12),this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||lighten(this.background,2),this.nodeBorder=this.nodeBorder||"#999"}calculate(qa){if(typeof qa!="object"){this.updateColors();return}const nd=Object.keys(qa);nd.forEach(od=>{this[od]=qa[od]}),this.updateColors(),nd.forEach(od=>{this[od]=qa[od]})}},__name(qS,"Theme"),qS),getThemeVariables2=__name(Ra=>{const qa=new Theme2;return qa.calculate(Ra),qa},"getThemeVariables"),VS,Theme3=(VS=class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=adjust(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=adjust(this.primaryColor,{h:-160}),this.primaryBorderColor=mkBorder(this.primaryColor,this.darkMode),this.secondaryBorderColor=mkBorder(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=mkBorder(this.tertiaryColor,this.darkMode),this.primaryTextColor=invert(this.primaryColor),this.secondaryTextColor=invert(this.secondaryColor),this.tertiaryTextColor=invert(this.tertiaryColor),this.lineColor=invert(this.background),this.textColor=invert(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="rgba(232,232,232, 0.8)",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.sectionBkgColor=rgba$1(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.updateColors()}updateColors(){var qa,nd,od,ld,ud,dd,pd,fd,md,vd,Ad;this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||adjust(this.primaryColor,{h:30}),this.cScale4=this.cScale4||adjust(this.primaryColor,{h:60}),this.cScale5=this.cScale5||adjust(this.primaryColor,{h:90}),this.cScale6=this.cScale6||adjust(this.primaryColor,{h:120}),this.cScale7=this.cScale7||adjust(this.primaryColor,{h:150}),this.cScale8=this.cScale8||adjust(this.primaryColor,{h:210}),this.cScale9=this.cScale9||adjust(this.primaryColor,{h:270}),this.cScale10=this.cScale10||adjust(this.primaryColor,{h:300}),this.cScale11=this.cScale11||adjust(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||darken(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||darken(this.tertiaryColor,40);for(let Nd=0;Nd<this.THEME_COLOR_LIMIT;Nd++)this["cScale"+Nd]=darken(this["cScale"+Nd],10),this["cScalePeer"+Nd]=this["cScalePeer"+Nd]||darken(this["cScale"+Nd],25);for(let Nd=0;Nd<this.THEME_COLOR_LIMIT;Nd++)this["cScaleInv"+Nd]=this["cScaleInv"+Nd]||adjust(this["cScale"+Nd],{h:180});for(let Nd=0;Nd<5;Nd++)this["surface"+Nd]=this["surface"+Nd]||adjust(this.mainBkg,{h:30,l:-(5+Nd*5)}),this["surfacePeer"+Nd]=this["surfacePeer"+Nd]||adjust(this.mainBkg,{h:30,l:-(7+Nd*5)});if(this.scaleLabelColor=this.scaleLabelColor!=="calculated"&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor,this.labelTextColor!=="calculated"){this.cScaleLabel0=this.cScaleLabel0||invert(this.labelTextColor),this.cScaleLabel3=this.cScaleLabel3||invert(this.labelTextColor);for(let Nd=0;Nd<this.THEME_COLOR_LIMIT;Nd++)this["cScaleLabel"+Nd]=this["cScaleLabel"+Nd]||this.labelTextColor}this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.textColor,this.edgeLabelBackground=this.labelBackground,this.actorBorder=lighten(this.border1,23),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.signalColor=this.textColor,this.signalTextColor=this.textColor,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.actorLineColor=this.actorBorder,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=adjust(this.primaryColor,{h:64}),this.fillType3=adjust(this.secondaryColor,{h:64}),this.fillType4=adjust(this.primaryColor,{h:-64}),this.fillType5=adjust(this.secondaryColor,{h:-64}),this.fillType6=adjust(this.primaryColor,{h:128}),this.fillType7=adjust(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||adjust(this.tertiaryColor,{l:-40}),this.pie4=this.pie4||adjust(this.primaryColor,{l:-10}),this.pie5=this.pie5||adjust(this.secondaryColor,{l:-30}),this.pie6=this.pie6||adjust(this.tertiaryColor,{l:-20}),this.pie7=this.pie7||adjust(this.primaryColor,{h:60,l:-20}),this.pie8=this.pie8||adjust(this.primaryColor,{h:-60,l:-40}),this.pie9=this.pie9||adjust(this.primaryColor,{h:120,l:-40}),this.pie10=this.pie10||adjust(this.primaryColor,{h:60,l:-40}),this.pie11=this.pie11||adjust(this.primaryColor,{h:-90,l:-40}),this.pie12=this.pie12||adjust(this.primaryColor,{h:120,l:-30}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||adjust(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||adjust(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||adjust(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||adjust(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||adjust(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||adjust(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||isDark(this.quadrant1Fill)?lighten(this.quadrant1Fill):darken(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((qa=this.xyChart)==null?void 0:qa.backgroundColor)||this.background,titleColor:((nd=this.xyChart)==null?void 0:nd.titleColor)||this.primaryTextColor,xAxisTitleColor:((od=this.xyChart)==null?void 0:od.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((ld=this.xyChart)==null?void 0:ld.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((ud=this.xyChart)==null?void 0:ud.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((dd=this.xyChart)==null?void 0:dd.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((pd=this.xyChart)==null?void 0:pd.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((fd=this.xyChart)==null?void 0:fd.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((md=this.xyChart)==null?void 0:md.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((vd=this.xyChart)==null?void 0:vd.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((Ad=this.xyChart)==null?void 0:Ad.plotColorPalette)||"#ECECFF,#8493A6,#FFC3A0,#DCDDE1,#B8E994,#D1A36F,#C3CDE6,#FFB6C1,#496078,#F8F3E3"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.labelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||adjust(this.primaryColor,{h:-30}),this.git4=this.git4||adjust(this.primaryColor,{h:-60}),this.git5=this.git5||adjust(this.primaryColor,{h:-90}),this.git6=this.git6||adjust(this.primaryColor,{h:60}),this.git7=this.git7||adjust(this.primaryColor,{h:120}),this.darkMode?(this.git0=lighten(this.git0,25),this.git1=lighten(this.git1,25),this.git2=lighten(this.git2,25),this.git3=lighten(this.git3,25),this.git4=lighten(this.git4,25),this.git5=lighten(this.git5,25),this.git6=lighten(this.git6,25),this.git7=lighten(this.git7,25)):(this.git0=darken(this.git0,25),this.git1=darken(this.git1,25),this.git2=darken(this.git2,25),this.git3=darken(this.git3,25),this.git4=darken(this.git4,25),this.git5=darken(this.git5,25),this.git6=darken(this.git6,25),this.git7=darken(this.git7,25)),this.gitInv0=this.gitInv0||darken(invert(this.git0),25),this.gitInv1=this.gitInv1||invert(this.git1),this.gitInv2=this.gitInv2||invert(this.git2),this.gitInv3=this.gitInv3||invert(this.git3),this.gitInv4=this.gitInv4||invert(this.git4),this.gitInv5=this.gitInv5||invert(this.git5),this.gitInv6=this.gitInv6||invert(this.git6),this.gitInv7=this.gitInv7||invert(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||invert(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||invert(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||oldAttributeBackgroundColorOdd,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||oldAttributeBackgroundColorEven}calculate(qa){if(typeof qa!="object"){this.updateColors();return}const nd=Object.keys(qa);nd.forEach(od=>{this[od]=qa[od]}),this.updateColors(),nd.forEach(od=>{this[od]=qa[od]})}},__name(VS,"Theme"),VS),getThemeVariables3=__name(Ra=>{const qa=new Theme3;return qa.calculate(Ra),qa},"getThemeVariables"),zS,Theme4=(zS=class{constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=lighten("#cde498",10),this.primaryBorderColor=mkBorder(this.primaryColor,this.darkMode),this.secondaryBorderColor=mkBorder(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=mkBorder(this.tertiaryColor,this.darkMode),this.primaryTextColor=invert(this.primaryColor),this.secondaryTextColor=invert(this.secondaryColor),this.tertiaryTextColor=invert(this.primaryColor),this.lineColor=invert(this.background),this.textColor=invert(this.background),this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="calculated",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){var qa,nd,od,ld,ud,dd,pd,fd,md,vd,Ad;this.actorBorder=darken(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.actorLineColor=this.actorBorder,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||adjust(this.primaryColor,{h:30}),this.cScale4=this.cScale4||adjust(this.primaryColor,{h:60}),this.cScale5=this.cScale5||adjust(this.primaryColor,{h:90}),this.cScale6=this.cScale6||adjust(this.primaryColor,{h:120}),this.cScale7=this.cScale7||adjust(this.primaryColor,{h:150}),this.cScale8=this.cScale8||adjust(this.primaryColor,{h:210}),this.cScale9=this.cScale9||adjust(this.primaryColor,{h:270}),this.cScale10=this.cScale10||adjust(this.primaryColor,{h:300}),this.cScale11=this.cScale11||adjust(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||darken(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||darken(this.tertiaryColor,40);for(let Nd=0;Nd<this.THEME_COLOR_LIMIT;Nd++)this["cScale"+Nd]=darken(this["cScale"+Nd],10),this["cScalePeer"+Nd]=this["cScalePeer"+Nd]||darken(this["cScale"+Nd],25);for(let Nd=0;Nd<this.THEME_COLOR_LIMIT;Nd++)this["cScaleInv"+Nd]=this["cScaleInv"+Nd]||adjust(this["cScale"+Nd],{h:180});this.scaleLabelColor=this.scaleLabelColor!=="calculated"&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor;for(let Nd=0;Nd<this.THEME_COLOR_LIMIT;Nd++)this["cScaleLabel"+Nd]=this["cScaleLabel"+Nd]||this.scaleLabelColor;for(let Nd=0;Nd<5;Nd++)this["surface"+Nd]=this["surface"+Nd]||adjust(this.mainBkg,{h:30,s:-30,l:-(5+Nd*5)}),this["surfacePeer"+Nd]=this["surfacePeer"+Nd]||adjust(this.mainBkg,{h:30,s:-30,l:-(8+Nd*5)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.taskBorderColor=this.border1,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=adjust(this.primaryColor,{h:64}),this.fillType3=adjust(this.secondaryColor,{h:64}),this.fillType4=adjust(this.primaryColor,{h:-64}),this.fillType5=adjust(this.secondaryColor,{h:-64}),this.fillType6=adjust(this.primaryColor,{h:128}),this.fillType7=adjust(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||adjust(this.primaryColor,{l:-30}),this.pie5=this.pie5||adjust(this.secondaryColor,{l:-30}),this.pie6=this.pie6||adjust(this.tertiaryColor,{h:40,l:-40}),this.pie7=this.pie7||adjust(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||adjust(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||adjust(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||adjust(this.primaryColor,{h:60,l:-50}),this.pie11=this.pie11||adjust(this.primaryColor,{h:-60,l:-50}),this.pie12=this.pie12||adjust(this.primaryColor,{h:120,l:-50}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||adjust(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||adjust(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||adjust(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||adjust(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||adjust(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||adjust(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||isDark(this.quadrant1Fill)?lighten(this.quadrant1Fill):darken(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.packet={startByteColor:this.primaryTextColor,endByteColor:this.primaryTextColor,labelColor:this.primaryTextColor,titleColor:this.primaryTextColor,blockStrokeColor:this.primaryTextColor,blockFillColor:this.mainBkg},this.xyChart={backgroundColor:((qa=this.xyChart)==null?void 0:qa.backgroundColor)||this.background,titleColor:((nd=this.xyChart)==null?void 0:nd.titleColor)||this.primaryTextColor,xAxisTitleColor:((od=this.xyChart)==null?void 0:od.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((ld=this.xyChart)==null?void 0:ld.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((ud=this.xyChart)==null?void 0:ud.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((dd=this.xyChart)==null?void 0:dd.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((pd=this.xyChart)==null?void 0:pd.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((fd=this.xyChart)==null?void 0:fd.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((md=this.xyChart)==null?void 0:md.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((vd=this.xyChart)==null?void 0:vd.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((Ad=this.xyChart)==null?void 0:Ad.plotColorPalette)||"#CDE498,#FF6B6B,#A0D2DB,#D7BDE2,#F0F0F0,#FFC3A0,#7FD8BE,#FF9A8B,#FAF3E0,#FFF176"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||adjust(this.primaryColor,{h:-30}),this.git4=this.git4||adjust(this.primaryColor,{h:-60}),this.git5=this.git5||adjust(this.primaryColor,{h:-90}),this.git6=this.git6||adjust(this.primaryColor,{h:60}),this.git7=this.git7||adjust(this.primaryColor,{h:120}),this.darkMode?(this.git0=lighten(this.git0,25),this.git1=lighten(this.git1,25),this.git2=lighten(this.git2,25),this.git3=lighten(this.git3,25),this.git4=lighten(this.git4,25),this.git5=lighten(this.git5,25),this.git6=lighten(this.git6,25),this.git7=lighten(this.git7,25)):(this.git0=darken(this.git0,25),this.git1=darken(this.git1,25),this.git2=darken(this.git2,25),this.git3=darken(this.git3,25),this.git4=darken(this.git4,25),this.git5=darken(this.git5,25),this.git6=darken(this.git6,25),this.git7=darken(this.git7,25)),this.gitInv0=this.gitInv0||invert(this.git0),this.gitInv1=this.gitInv1||invert(this.git1),this.gitInv2=this.gitInv2||invert(this.git2),this.gitInv3=this.gitInv3||invert(this.git3),this.gitInv4=this.gitInv4||invert(this.git4),this.gitInv5=this.gitInv5||invert(this.git5),this.gitInv6=this.gitInv6||invert(this.git6),this.gitInv7=this.gitInv7||invert(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||invert(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||invert(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||oldAttributeBackgroundColorOdd,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||oldAttributeBackgroundColorEven}calculate(qa){if(typeof qa!="object"){this.updateColors();return}const nd=Object.keys(qa);nd.forEach(od=>{this[od]=qa[od]}),this.updateColors(),nd.forEach(od=>{this[od]=qa[od]})}},__name(zS,"Theme"),zS),getThemeVariables4=__name(Ra=>{const qa=new Theme4;return qa.calculate(Ra),qa},"getThemeVariables"),WS,Theme5=(WS=class{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=lighten(this.contrast,55),this.background="#ffffff",this.tertiaryColor=adjust(this.primaryColor,{h:-160}),this.primaryBorderColor=mkBorder(this.primaryColor,this.darkMode),this.secondaryBorderColor=mkBorder(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=mkBorder(this.tertiaryColor,this.darkMode),this.primaryTextColor=invert(this.primaryColor),this.secondaryTextColor=invert(this.secondaryColor),this.tertiaryTextColor=invert(this.tertiaryColor),this.lineColor=invert(this.background),this.textColor=invert(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor=this.actorBorder,this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){var qa,nd,od,ld,ud,dd,pd,fd,md,vd,Ad;this.secondBkg=lighten(this.contrast,55),this.border2=this.contrast,this.actorBorder=lighten(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.actorBorder,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let Nd=0;Nd<this.THEME_COLOR_LIMIT;Nd++)this["cScaleInv"+Nd]=this["cScaleInv"+Nd]||invert(this["cScale"+Nd]);for(let Nd=0;Nd<this.THEME_COLOR_LIMIT;Nd++)this.darkMode?this["cScalePeer"+Nd]=this["cScalePeer"+Nd]||lighten(this["cScale"+Nd],10):this["cScalePeer"+Nd]=this["cScalePeer"+Nd]||darken(this["cScale"+Nd],10);this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor),this.cScaleLabel0=this.cScaleLabel0||this.cScale1,this.cScaleLabel2=this.cScaleLabel2||this.cScale1;for(let Nd=0;Nd<this.THEME_COLOR_LIMIT;Nd++)this["cScaleLabel"+Nd]=this["cScaleLabel"+Nd]||this.scaleLabelColor;for(let Nd=0;Nd<5;Nd++)this["surface"+Nd]=this["surface"+Nd]||adjust(this.mainBkg,{l:-(5+Nd*5)}),this["surfacePeer"+Nd]=this["surfacePeer"+Nd]||adjust(this.mainBkg,{l:-(8+Nd*5)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.text,this.sectionBkgColor=lighten(this.contrast,30),this.sectionBkgColor2=lighten(this.contrast,30),this.taskBorderColor=darken(this.contrast,10),this.taskBkgColor=this.contrast,this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor=this.text,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.gridColor=lighten(this.border1,30),this.doneTaskBkgColor=this.done,this.doneTaskBorderColor=this.lineColor,this.critBkgColor=this.critical,this.critBorderColor=darken(this.critBkgColor,10),this.todayLineColor=this.critBkgColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.transitionColor=this.transitionColor||"#000",this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f4f4f4",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.stateBorder=this.stateBorder||"#000",this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#222",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=adjust(this.primaryColor,{h:64}),this.fillType3=adjust(this.secondaryColor,{h:64}),this.fillType4=adjust(this.primaryColor,{h:-64}),this.fillType5=adjust(this.secondaryColor,{h:-64}),this.fillType6=adjust(this.primaryColor,{h:128}),this.fillType7=adjust(this.secondaryColor,{h:128});for(let Nd=0;Nd<this.THEME_COLOR_LIMIT;Nd++)this["pie"+Nd]=this["cScale"+Nd];this.pie12=this.pie0,this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||adjust(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||adjust(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||adjust(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||adjust(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||adjust(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||adjust(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||isDark(this.quadrant1Fill)?lighten(this.quadrant1Fill):darken(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((qa=this.xyChart)==null?void 0:qa.backgroundColor)||this.background,titleColor:((nd=this.xyChart)==null?void 0:nd.titleColor)||this.primaryTextColor,xAxisTitleColor:((od=this.xyChart)==null?void 0:od.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((ld=this.xyChart)==null?void 0:ld.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((ud=this.xyChart)==null?void 0:ud.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((dd=this.xyChart)==null?void 0:dd.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((pd=this.xyChart)==null?void 0:pd.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((fd=this.xyChart)==null?void 0:fd.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((md=this.xyChart)==null?void 0:md.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((vd=this.xyChart)==null?void 0:vd.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((Ad=this.xyChart)==null?void 0:Ad.plotColorPalette)||"#EEE,#6BB8E4,#8ACB88,#C7ACD6,#E8DCC2,#FFB2A8,#FFF380,#7E8D91,#FFD8B1,#FAF3E0"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=darken(this.pie1,25)||this.primaryColor,this.git1=this.pie2||this.secondaryColor,this.git2=this.pie3||this.tertiaryColor,this.git3=this.pie4||adjust(this.primaryColor,{h:-30}),this.git4=this.pie5||adjust(this.primaryColor,{h:-60}),this.git5=this.pie6||adjust(this.primaryColor,{h:-90}),this.git6=this.pie7||adjust(this.primaryColor,{h:60}),this.git7=this.pie8||adjust(this.primaryColor,{h:120}),this.gitInv0=this.gitInv0||invert(this.git0),this.gitInv1=this.gitInv1||invert(this.git1),this.gitInv2=this.gitInv2||invert(this.git2),this.gitInv3=this.gitInv3||invert(this.git3),this.gitInv4=this.gitInv4||invert(this.git4),this.gitInv5=this.gitInv5||invert(this.git5),this.gitInv6=this.gitInv6||invert(this.git6),this.gitInv7=this.gitInv7||invert(this.git7),this.branchLabelColor=this.branchLabelColor||this.labelTextColor,this.gitBranchLabel0=this.branchLabelColor,this.gitBranchLabel1="white",this.gitBranchLabel2=this.branchLabelColor,this.gitBranchLabel3="white",this.gitBranchLabel4=this.branchLabelColor,this.gitBranchLabel5=this.branchLabelColor,this.gitBranchLabel6=this.branchLabelColor,this.gitBranchLabel7=this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||oldAttributeBackgroundColorOdd,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||oldAttributeBackgroundColorEven}calculate(qa){if(typeof qa!="object"){this.updateColors();return}const nd=Object.keys(qa);nd.forEach(od=>{this[od]=qa[od]}),this.updateColors(),nd.forEach(od=>{this[od]=qa[od]})}},__name(WS,"Theme"),WS),getThemeVariables5=__name(Ra=>{const qa=new Theme5;return qa.calculate(Ra),qa},"getThemeVariables"),themes_default={base:{getThemeVariables},dark:{getThemeVariables:getThemeVariables2},default:{getThemeVariables:getThemeVariables3},forest:{getThemeVariables:getThemeVariables4},neutral:{getThemeVariables:getThemeVariables5}},config_schema_default={flowchart:{useMaxWidth:!0,titleTopMargin:25,subGraphTitleMargin:{top:0,bottom:0},diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200},sequence:{useMaxWidth:!0,hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20},gantt:{useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:!1,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"]},class:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1,hideEmptyMembersBox:!1},state:{useMaxWidth:!0,titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:!0,textPosition:.75},quadrantChart:{useMaxWidth:!0,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},xyChart:{useMaxWidth:!0,width:700,height:500,titleFontSize:20,titlePadding:10,showTitle:!0,xAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},yAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},chartOrientation:"vertical",plotReservedSpacePercent:50},requirement:{useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},kanban:{useMaxWidth:!0,padding:8,sectionWidth:200,ticketBaseUrl:""},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,parallelCommits:!1,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:!0,prefix:"",suffix:""},block:{useMaxWidth:!0,padding:8},packet:{useMaxWidth:!0,rowHeight:32,bitWidth:32,bitsPerRow:32,showBits:!0,paddingX:5,paddingY:5},architecture:{useMaxWidth:!0,padding:40,iconSize:80,fontSize:16},theme:"default",look:"classic",handDrawnSeed:0,layout:"dagre",maxTextSize:5e4,maxEdges:500,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize","suppressErrorRendering","maxEdges"],legacyMathML:!1,forceLegacyMathML:!1,deterministicIds:!1,fontSize:16,markdownAutoWrap:!0,suppressErrorRendering:!1},config$1={...config_schema_default,deterministicIDSeed:void 0,elk:{mergeEdges:!1,nodePlacementStrategy:"BRANDES_KOEPF"},themeCSS:void 0,themeVariables:themes_default.default.getThemeVariables(),sequence:{...config_schema_default.sequence,messageFont:__name(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont"),noteFont:__name(function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},"noteFont"),actorFont:__name(function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}},"actorFont")},class:{hideEmptyMembersBox:!1},gantt:{...config_schema_default.gantt,tickInterval:void 0,useWidth:void 0},c4:{...config_schema_default.c4,useWidth:void 0,personFont:__name(function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},"personFont"),external_personFont:__name(function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},"external_personFont"),systemFont:__name(function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},"systemFont"),external_systemFont:__name(function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},"external_systemFont"),system_dbFont:__name(function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},"system_dbFont"),external_system_dbFont:__name(function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},"external_system_dbFont"),system_queueFont:__name(function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},"system_queueFont"),external_system_queueFont:__name(function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},"external_system_queueFont"),containerFont:__name(function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},"containerFont"),external_containerFont:__name(function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},"external_containerFont"),container_dbFont:__name(function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},"container_dbFont"),external_container_dbFont:__name(function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},"external_container_dbFont"),container_queueFont:__name(function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},"container_queueFont"),external_container_queueFont:__name(function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},"external_container_queueFont"),componentFont:__name(function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},"componentFont"),external_componentFont:__name(function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},"external_componentFont"),component_dbFont:__name(function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},"component_dbFont"),external_component_dbFont:__name(function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},"external_component_dbFont"),component_queueFont:__name(function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},"component_queueFont"),external_component_queueFont:__name(function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},"external_component_queueFont"),boundaryFont:__name(function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},"boundaryFont"),messageFont:__name(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont")},pie:{...config_schema_default.pie,useWidth:984},xyChart:{...config_schema_default.xyChart,useWidth:void 0},requirement:{...config_schema_default.requirement,useWidth:void 0},packet:{...config_schema_default.packet}},keyify=__name((Ra,qa="")=>Object.keys(Ra).reduce((nd,od)=>Array.isArray(Ra[od])?nd:typeof Ra[od]=="object"&&Ra[od]!==null?[...nd,qa+od,...keyify(Ra[od],"")]:[...nd,qa+od],[]),"keyify"),configKeys=new Set(keyify(config$1,"")),defaultConfig_default=config$1,sanitizeDirective=__name(Ra=>{if(log$1.debug("sanitizeDirective called with",Ra),!(typeof Ra!="object"||Ra==null)){if(Array.isArray(Ra)){Ra.forEach(qa=>sanitizeDirective(qa));return}for(const qa of Object.keys(Ra)){if(log$1.debug("Checking key",qa),qa.startsWith("__")||qa.includes("proto")||qa.includes("constr")||!configKeys.has(qa)||Ra[qa]==null){log$1.debug("sanitize deleting key: ",qa),delete Ra[qa];continue}if(typeof Ra[qa]=="object"){log$1.debug("sanitizing object",qa),sanitizeDirective(Ra[qa]);continue}const nd=["themeCSS","fontFamily","altFontFamily"];for(const od of nd)qa.includes(od)&&(log$1.debug("sanitizing css option",qa),Ra[qa]=sanitizeCss(Ra[qa]))}if(Ra.themeVariables)for(const qa of Object.keys(Ra.themeVariables)){const nd=Ra.themeVariables[qa];nd!=null&&nd.match&&!nd.match(/^[\d "#%(),.;A-Za-z]+$/)&&(Ra.themeVariables[qa]="")}log$1.debug("After sanitization",Ra)}},"sanitizeDirective"),sanitizeCss=__name(Ra=>{let qa=0,nd=0;for(const od of Ra){if(qa<nd)return"{ /* ERROR: Unbalanced CSS */ }";od==="{"?qa++:od==="}"&&nd++}return qa!==nd?"{ /* ERROR: Unbalanced CSS */ }":Ra},"sanitizeCss"),defaultConfig=Object.freeze(defaultConfig_default),siteConfig=assignWithDepth_default({},defaultConfig),configFromInitialize,directives=[],currentConfig$1=assignWithDepth_default({},defaultConfig),updateCurrentConfig=__name((Ra,qa)=>{let nd=assignWithDepth_default({},Ra),od={};for(const ld of qa)sanitize(ld),od=assignWithDepth_default(od,ld);if(nd=assignWithDepth_default(nd,od),od.theme&&od.theme in themes_default){const ld=assignWithDepth_default({},configFromInitialize),ud=assignWithDepth_default(ld.themeVariables||{},od.themeVariables);nd.theme&&nd.theme in themes_default&&(nd.themeVariables=themes_default[nd.theme].getThemeVariables(ud))}return currentConfig$1=nd,checkConfig(currentConfig$1),currentConfig$1},"updateCurrentConfig"),setSiteConfig=__name(Ra=>(siteConfig=assignWithDepth_default({},defaultConfig),siteConfig=assignWithDepth_default(siteConfig,Ra),Ra.theme&&themes_default[Ra.theme]&&(siteConfig.themeVariables=themes_default[Ra.theme].getThemeVariables(Ra.themeVariables)),updateCurrentConfig(siteConfig,directives),siteConfig),"setSiteConfig"),saveConfigFromInitialize=__name(Ra=>{configFromInitialize=assignWithDepth_default({},Ra)},"saveConfigFromInitialize"),updateSiteConfig=__name(Ra=>(siteConfig=assignWithDepth_default(siteConfig,Ra),updateCurrentConfig(siteConfig,directives),siteConfig),"updateSiteConfig"),getSiteConfig=__name(()=>assignWithDepth_default({},siteConfig),"getSiteConfig"),setConfig=__name(Ra=>(checkConfig(Ra),assignWithDepth_default(currentConfig$1,Ra),getConfig$2()),"setConfig"),getConfig$2=__name(()=>assignWithDepth_default({},currentConfig$1),"getConfig"),sanitize=__name(Ra=>{Ra&&(["secure",...siteConfig.secure??[]].forEach(qa=>{Object.hasOwn(Ra,qa)&&(log$1.debug(`Denied attempt to modify a secure key ${qa}`,Ra[qa]),delete Ra[qa])}),Object.keys(Ra).forEach(qa=>{qa.startsWith("__")&&delete Ra[qa]}),Object.keys(Ra).forEach(qa=>{typeof Ra[qa]=="string"&&(Ra[qa].includes("<")||Ra[qa].includes(">")||Ra[qa].includes("url(data:"))&&delete Ra[qa],typeof Ra[qa]=="object"&&sanitize(Ra[qa])}))},"sanitize"),addDirective=__name(Ra=>{var qa;sanitizeDirective(Ra),Ra.fontFamily&&!((qa=Ra.themeVariables)!=null&&qa.fontFamily)&&(Ra.themeVariables={...Ra.themeVariables,fontFamily:Ra.fontFamily}),directives.push(Ra),updateCurrentConfig(siteConfig,directives)},"addDirective"),reset=__name((Ra=siteConfig)=>{directives=[],updateCurrentConfig(Ra,directives)},"reset"),ConfigWarning={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},issuedWarnings={},issueWarning=__name(Ra=>{issuedWarnings[Ra]||(log$1.warn(ConfigWarning[Ra]),issuedWarnings[Ra]=!0)},"issueWarning"),checkConfig=__name(Ra=>{Ra&&(Ra.lazyLoadedDiagrams||Ra.loadExternalDiagramsAtStartup)&&issueWarning("LAZY_LOAD_DEPRECATED")},"checkConfig"),lineBreakRegex=/<br\s*\/?>/gi,getRows=__name(Ra=>Ra?breakToPlaceholder(Ra).replace(/\\n/g,"#br#").split("#br#"):[""],"getRows"),setupDompurifyHooksIfNotSetup=(()=>{let Ra=!1;return()=>{Ra||(setupDompurifyHooks(),Ra=!0)}})();function setupDompurifyHooks(){const Ra="data-temp-href-target";purify.addHook("beforeSanitizeAttributes",qa=>{qa instanceof Element&&qa.tagName==="A"&&qa.hasAttribute("target")&&qa.setAttribute(Ra,qa.getAttribute("target")??"")}),purify.addHook("afterSanitizeAttributes",qa=>{qa instanceof Element&&qa.tagName==="A"&&qa.hasAttribute(Ra)&&(qa.setAttribute("target",qa.getAttribute(Ra)??""),qa.removeAttribute(Ra),qa.getAttribute("target")==="_blank"&&qa.setAttribute("rel","noopener"))})}__name(setupDompurifyHooks,"setupDompurifyHooks");var removeScript=__name(Ra=>(setupDompurifyHooksIfNotSetup(),purify.sanitize(Ra)),"removeScript"),sanitizeMore=__name((Ra,qa)=>{var nd;if(((nd=qa.flowchart)==null?void 0:nd.htmlLabels)!==!1){const od=qa.securityLevel;od==="antiscript"||od==="strict"?Ra=removeScript(Ra):od!=="loose"&&(Ra=breakToPlaceholder(Ra),Ra=Ra.replace(/</g,"&lt;").replace(/>/g,"&gt;"),Ra=Ra.replace(/=/g,"&equals;"),Ra=placeholderToBreak(Ra))}return Ra},"sanitizeMore"),sanitizeText=__name((Ra,qa)=>Ra&&(qa.dompurifyConfig?Ra=purify.sanitize(sanitizeMore(Ra,qa),qa.dompurifyConfig).toString():Ra=purify.sanitize(sanitizeMore(Ra,qa),{FORBID_TAGS:["style"]}).toString(),Ra),"sanitizeText"),sanitizeTextOrArray=__name((Ra,qa)=>typeof Ra=="string"?sanitizeText(Ra,qa):Ra.flat().map(nd=>sanitizeText(nd,qa)),"sanitizeTextOrArray"),hasBreaks=__name(Ra=>lineBreakRegex.test(Ra),"hasBreaks"),splitBreaks=__name(Ra=>Ra.split(lineBreakRegex),"splitBreaks"),placeholderToBreak=__name(Ra=>Ra.replace(/#br#/g,"<br/>"),"placeholderToBreak"),breakToPlaceholder=__name(Ra=>Ra.replace(lineBreakRegex,"#br#"),"breakToPlaceholder"),getUrl=__name(Ra=>{let qa="";return Ra&&(qa=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,qa=qa.replaceAll(/\(/g,"\\("),qa=qa.replaceAll(/\)/g,"\\)")),qa},"getUrl"),evaluate=__name(Ra=>!(Ra===!1||["false","null","0"].includes(String(Ra).trim().toLowerCase())),"evaluate"),getMax=__name(function(...Ra){const qa=Ra.filter(nd=>!isNaN(nd));return Math.max(...qa)},"getMax"),getMin=__name(function(...Ra){const qa=Ra.filter(nd=>!isNaN(nd));return Math.min(...qa)},"getMin"),parseGenericTypes=__name(function(Ra){const qa=Ra.split(/(,)/),nd=[];for(let od=0;od<qa.length;od++){let ld=qa[od];if(ld===","&&od>0&&od+1<qa.length){const ud=qa[od-1],dd=qa[od+1];shouldCombineSets(ud,dd)&&(ld=ud+","+dd,od++,nd.pop())}nd.push(processSet(ld))}return nd.join("")},"parseGenericTypes"),countOccurrence=__name((Ra,qa)=>Math.max(0,Ra.split(qa).length-1),"countOccurrence"),shouldCombineSets=__name((Ra,qa)=>{const nd=countOccurrence(Ra,"~"),od=countOccurrence(qa,"~");return nd===1&&od===1},"shouldCombineSets"),processSet=__name(Ra=>{const qa=countOccurrence(Ra,"~");let nd=!1;if(qa<=1)return Ra;qa%2!==0&&Ra.startsWith("~")&&(Ra=Ra.substring(1),nd=!0);const od=[...Ra];let ld=od.indexOf("~"),ud=od.lastIndexOf("~");for(;ld!==-1&&ud!==-1&&ld!==ud;)od[ld]="<",od[ud]=">",ld=od.indexOf("~"),ud=od.lastIndexOf("~");return nd&&od.unshift("~"),od.join("")},"processSet"),isMathMLSupported=__name(()=>window.MathMLElement!==void 0,"isMathMLSupported"),katexRegex=/\$\$(.*)\$\$/g,hasKatex=__name(Ra=>{var qa;return(((qa=Ra.match(katexRegex))==null?void 0:qa.length)??0)>0},"hasKatex"),calculateMathMLDimensions=__name(async(Ra,qa)=>{Ra=await renderKatex(Ra,qa);const nd=document.createElement("div");nd.innerHTML=Ra,nd.id="katex-temp",nd.style.visibility="hidden",nd.style.position="absolute",nd.style.top="0";const od=document.querySelector("body");od==null||od.insertAdjacentElement("beforeend",nd);const ld={width:nd.clientWidth,height:nd.clientHeight};return nd.remove(),ld},"calculateMathMLDimensions"),renderKatex=__name(async(Ra,qa)=>{if(!hasKatex(Ra))return Ra;if(!(isMathMLSupported()||qa.legacyMathML||qa.forceLegacyMathML))return Ra.replace(katexRegex,"MathML is unsupported in this environment.");const{default:nd}=await __vitePreload(async()=>{const{default:ld}=await import("./md-katex-DAk0vv_m.js");return{default:ld}},[]),od=qa.forceLegacyMathML||!isMathMLSupported()&&qa.legacyMathML?"htmlAndMathml":"mathml";return Ra.split(lineBreakRegex).map(ld=>hasKatex(ld)?`<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${ld}</div>`:`<div>${ld}</div>`).join("").replace(katexRegex,(ld,ud)=>nd.renderToString(ud,{throwOnError:!0,displayMode:!0,output:od}).replace(/\n/g," ").replace(/<annotation.*<\/annotation>/g,""))},"renderKatex"),common_default={getRows,sanitizeText,sanitizeTextOrArray,hasBreaks,splitBreaks,lineBreakRegex,removeScript,getUrl,evaluate,getMax,getMin},d3Attrs=__name(function(Ra,qa){for(let nd of qa)Ra.attr(nd[0],nd[1])},"d3Attrs"),calculateSvgSizeAttrs=__name(function(Ra,qa,nd){let od=new Map;return nd?(od.set("width","100%"),od.set("style",`max-width: ${qa}px;`)):(od.set("height",Ra),od.set("width",qa)),od},"calculateSvgSizeAttrs"),configureSvgSize=__name(function(Ra,qa,nd,od){const ld=calculateSvgSizeAttrs(qa,nd,od);d3Attrs(Ra,ld)},"configureSvgSize"),setupGraphViewbox=__name(function(Ra,qa,nd,od){const ld=qa.node().getBBox(),ud=ld.width,dd=ld.height;log$1.info(`SVG bounds: ${ud}x${dd}`,ld);let pd=0,fd=0;log$1.info(`Graph bounds: ${pd}x${fd}`,Ra),pd=ud+nd*2,fd=dd+nd*2,log$1.info(`Calculated bounds: ${pd}x${fd}`),configureSvgSize(qa,fd,pd,od);const md=`${ld.x-nd} ${ld.y-nd} ${ld.width+2*nd} ${ld.height+2*nd}`;qa.attr("viewBox",md)},"setupGraphViewbox"),themes={},getStyles$1=__name((Ra,qa,nd)=>{let od="";return Ra in themes&&themes[Ra]?od=themes[Ra](nd):log$1.warn(`No theme found for ${Ra}`),` & {
font-family: ${nd.fontFamily};
font-size: ${nd.fontSize};
fill: ${nd.textColor}
}
/* Classes common for multiple diagrams */
& .error-icon {
fill: ${nd.errorBkgColor};
}
& .error-text {
fill: ${nd.errorTextColor};
stroke: ${nd.errorTextColor};
}
& .edge-thickness-normal {
stroke-width: 1px;
}
& .edge-thickness-thick {
stroke-width: 3.5px
}
& .edge-pattern-solid {
stroke-dasharray: 0;
}
& .edge-thickness-invisible {
stroke-width: 0;
fill: none;
}
& .edge-pattern-dashed{
stroke-dasharray: 3;
}
.edge-pattern-dotted {
stroke-dasharray: 2;
}
& .marker {
fill: ${nd.lineColor};
stroke: ${nd.lineColor};
}
& .marker.cross {
stroke: ${nd.lineColor};
}
& svg {
font-family: ${nd.fontFamily};
font-size: ${nd.fontSize};
}
& p {
margin: 0
}
${od}
${qa}
`},"getStyles"),addStylesForDiagram=__name((Ra,qa)=>{qa!==void 0&&(themes[Ra]=qa)},"addStylesForDiagram"),styles_default=getStyles$1,commonDb_exports={};__export(commonDb_exports,{clear:()=>clear$2,getAccDescription:()=>getAccDescription,getAccTitle:()=>getAccTitle,getDiagramTitle:()=>getDiagramTitle,setAccDescription:()=>setAccDescription,setAccTitle:()=>setAccTitle,setDiagramTitle:()=>setDiagramTitle});var accTitle="",diagramTitle="",accDescription="",sanitizeText2=__name(Ra=>sanitizeText(Ra,getConfig$2()),"sanitizeText"),clear$2=__name(()=>{accTitle="",accDescription="",diagramTitle=""},"clear"),setAccTitle=__name(Ra=>{accTitle=sanitizeText2(Ra).replace(/^\s+/g,"")},"setAccTitle"),getAccTitle=__name(()=>accTitle,"getAccTitle"),setAccDescription=__name(Ra=>{accDescription=sanitizeText2(Ra).replace(/\n\s+/g,`
`)},"setAccDescription"),getAccDescription=__name(()=>accDescription,"getAccDescription"),setDiagramTitle=__name(Ra=>{diagramTitle=sanitizeText2(Ra)},"setDiagramTitle"),getDiagramTitle=__name(()=>diagramTitle,"getDiagramTitle"),log2=log$1,setLogLevel2=setLogLevel,getConfig2=getConfig$2,setConfig2=setConfig,defaultConfig2=defaultConfig,sanitizeText3=__name(Ra=>sanitizeText(Ra,getConfig2()),"sanitizeText"),setupGraphViewbox2=setupGraphViewbox,getCommonDb=__name(()=>commonDb_exports,"getCommonDb"),diagrams={},registerDiagram=__name((Ra,qa,nd)=>{var od;diagrams[Ra]&&log2.warn(`Diagram with id ${Ra} already registered. Overwriting.`),diagrams[Ra]=qa,nd&&addDetector(Ra,nd),addStylesForDiagram(Ra,qa.styles),(od=qa.injectUtils)==null||od.call(qa,log2,setLogLevel2,getConfig2,sanitizeText3,setupGraphViewbox2,getCommonDb(),()=>{})},"registerDiagram"),getDiagram=__name(Ra=>{if(Ra in diagrams)return diagrams[Ra];throw new DiagramNotFoundError(Ra)},"getDiagram"),YS,DiagramNotFoundError=(YS=class extends Error{constructor(qa){super(`Diagram ${qa} not found.`)}},__name(YS,"DiagramNotFoundError"),YS);function isNothing(Ra){return typeof Ra>"u"||Ra===null}__name(isNothing,"isNothing");function isObject$6(Ra){return typeof Ra=="object"&&Ra!==null}__name(isObject$6,"isObject");function toArray$3(Ra){return Array.isArray(Ra)?Ra:isNothing(Ra)?[]:[Ra]}__name(toArray$3,"toArray");function extend$2(Ra,qa){var nd,od,ld,ud;if(qa)for(ud=Object.keys(qa),nd=0,od=ud.length;nd<od;nd+=1)ld=ud[nd],Ra[ld]=qa[ld];return Ra}__name(extend$2,"extend");function repeat(Ra,qa){var nd="",od;for(od=0;od<qa;od+=1)nd+=Ra;return nd}__name(repeat,"repeat");function isNegativeZero(Ra){return Ra===0&&Number.NEGATIVE_INFINITY===1/Ra}__name(isNegativeZero,"isNegativeZero");var isNothing_1=isNothing,isObject_1=isObject$6,toArray_1=toArray$3,repeat_1=repeat,isNegativeZero_1=isNegativeZero,extend_1=extend$2,common={isNothing:isNothing_1,isObject:isObject_1,toArray:toArray_1,repeat:repeat_1,isNegativeZero:isNegativeZero_1,extend:extend_1};function formatError(Ra,qa){var nd="",od=Ra.reason||"(unknown reason)";return Ra.mark?(Ra.mark.name&&(nd+='in "'+Ra.mark.name+'" '),nd+="("+(Ra.mark.line+1)+":"+(Ra.mark.column+1)+")",!qa&&Ra.mark.snippet&&(nd+=`
`+Ra.mark.snippet),od+" "+nd):od}__name(formatError,"formatError");function YAMLException$1(Ra,qa){Error.call(this),this.name="YAMLException",this.reason=Ra,this.mark=qa,this.message=formatError(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}__name(YAMLException$1,"YAMLException$1");YAMLException$1.prototype=Object.create(Error.prototype);YAMLException$1.prototype.constructor=YAMLException$1;YAMLException$1.prototype.toString=__name(function(qa){return this.name+": "+formatError(this,qa)},"toString");var exception=YAMLException$1;function getLine(Ra,qa,nd,od,ld){var ud="",dd="",pd=Math.floor(ld/2)-1;return od-qa>pd&&(ud=" ... ",qa=od-pd+ud.length),nd-od>pd&&(dd=" ...",nd=od+pd-dd.length),{str:ud+Ra.slice(qa,nd).replace(/\t/g,"→")+dd,pos:od-qa+ud.length}}__name(getLine,"getLine");function padStart(Ra,qa){return common.repeat(" ",qa-Ra.length)+Ra}__name(padStart,"padStart");function makeSnippet(Ra,qa){if(qa=Object.create(qa||null),!Ra.buffer)return null;qa.maxLength||(qa.maxLength=79),typeof qa.indent!="number"&&(qa.indent=1),typeof qa.linesBefore!="number"&&(qa.linesBefore=3),typeof qa.linesAfter!="number"&&(qa.linesAfter=2);for(var nd=/\r?\n|\r|\0/g,od=[0],ld=[],ud,dd=-1;ud=nd.exec(Ra.buffer);)ld.push(ud.index),od.push(ud.index+ud[0].length),Ra.position<=ud.index&&dd<0&&(dd=od.length-2);dd<0&&(dd=od.length-1);var pd="",fd,md,vd=Math.min(Ra.line+qa.linesAfter,ld.length).toString().length,Ad=qa.maxLength-(qa.indent+vd+3);for(fd=1;fd<=qa.linesBefore&&!(dd-fd<0);fd++)md=getLine(Ra.buffer,od[dd-fd],ld[dd-fd],Ra.position-(od[dd]-od[dd-fd]),Ad),pd=common.repeat(" ",qa.indent)+padStart((Ra.line-fd+1).toString(),vd)+" | "+md.str+`
`+pd;for(md=getLine(Ra.buffer,od[dd],ld[dd],Ra.position,Ad),pd+=common.repeat(" ",qa.indent)+padStart((Ra.line+1).toString(),vd)+" | "+md.str+`
`,pd+=common.repeat("-",qa.indent+vd+3+md.pos)+`^
`,fd=1;fd<=qa.linesAfter&&!(dd+fd>=ld.length);fd++)md=getLine(Ra.buffer,od[dd+fd],ld[dd+fd],Ra.position-(od[dd]-od[dd+fd]),Ad),pd+=common.repeat(" ",qa.indent)+padStart((Ra.line+fd+1).toString(),vd)+" | "+md.str+`
`;return pd.replace(/\n$/,"")}__name(makeSnippet,"makeSnippet");var snippet=makeSnippet,TYPE_CONSTRUCTOR_OPTIONS=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],YAML_NODE_KINDS=["scalar","sequence","mapping"];function compileStyleAliases(Ra){var qa={};return Ra!==null&&Object.keys(Ra).forEach(function(nd){Ra[nd].forEach(function(od){qa[String(od)]=nd})}),qa}__name(compileStyleAliases,"compileStyleAliases");function Type$1(Ra,qa){if(qa=qa||{},Object.keys(qa).forEach(function(nd){if(TYPE_CONSTRUCTOR_OPTIONS.indexOf(nd)===-1)throw new exception('Unknown option "'+nd+'" is met in definition of "'+Ra+'" YAML type.')}),this.options=qa,this.tag=Ra,this.kind=qa.kind||null,this.resolve=qa.resolve||function(){return!0},this.construct=qa.construct||function(nd){return nd},this.instanceOf=qa.instanceOf||null,this.predicate=qa.predicate||null,this.represent=qa.represent||null,this.representName=qa.representName||null,this.defaultStyle=qa.defaultStyle||null,this.multi=qa.multi||!1,this.styleAliases=compileStyleAliases(qa.styleAliases||null),YAML_NODE_KINDS.indexOf(this.kind)===-1)throw new exception('Unknown kind "'+this.kind+'" is specified for "'+Ra+'" YAML type.')}__name(Type$1,"Type$1");var type$1=Type$1;function compileList(Ra,qa){var nd=[];return Ra[qa].forEach(function(od){var ld=nd.length;nd.forEach(function(ud,dd){ud.tag===od.tag&&ud.kind===od.kind&&ud.multi===od.multi&&(ld=dd)}),nd[ld]=od}),nd}__name(compileList,"compileList");function compileMap(){var Ra={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},qa,nd;function od(ld){ld.multi?(Ra.multi[ld.kind].push(ld),Ra.multi.fallback.push(ld)):Ra[ld.kind][ld.tag]=Ra.fallback[ld.tag]=ld}for(__name(od,"collectType"),qa=0,nd=arguments.length;qa<nd;qa+=1)arguments[qa].forEach(od);return Ra}__name(compileMap,"compileMap");function Schema$1(Ra){return this.extend(Ra)}__name(Schema$1,"Schema$1");Schema$1.prototype.extend=__name(function(qa){var nd=[],od=[];if(qa instanceof type$1)od.push(qa);else if(Array.isArray(qa))od=od.concat(qa);else if(qa&&(Array.isArray(qa.implicit)||Array.isArray(qa.explicit)))qa.implicit&&(nd=nd.concat(qa.implicit)),qa.explicit&&(od=od.concat(qa.explicit));else throw new exception("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");nd.forEach(function(ud){if(!(ud instanceof type$1))throw new exception("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(ud.loadKind&&ud.loadKind!=="scalar")throw new exception("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(ud.multi)throw new exception("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),od.forEach(function(ud){if(!(ud instanceof type$1))throw new exception("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var ld=Object.create(Schema$1.prototype);return ld.implicit=(this.implicit||[]).concat(nd),ld.explicit=(this.explicit||[]).concat(od),ld.compiledImplicit=compileList(ld,"implicit"),ld.compiledExplicit=compileList(ld,"explicit"),ld.compiledTypeMap=compileMap(ld.compiledImplicit,ld.compiledExplicit),ld},"extend");var schema=Schema$1,str=new type$1("tag:yaml.org,2002:str",{kind:"scalar",construct:__name(function(Ra){return Ra!==null?Ra:""},"construct")}),seq$1=new type$1("tag:yaml.org,2002:seq",{kind:"sequence",construct:__name(function(Ra){return Ra!==null?Ra:[]},"construct")}),map$3=new type$1("tag:yaml.org,2002:map",{kind:"mapping",construct:__name(function(Ra){return Ra!==null?Ra:{}},"construct")}),failsafe=new schema({explicit:[str,seq$1,map$3]});function resolveYamlNull(Ra){if(Ra===null)return!0;var qa=Ra.length;return qa===1&&Ra==="~"||qa===4&&(Ra==="null"||Ra==="Null"||Ra==="NULL")}__name(resolveYamlNull,"resolveYamlNull");function constructYamlNull(){return null}__name(constructYamlNull,"constructYamlNull");function isNull(Ra){return Ra===null}__name(isNull,"isNull");var _null=new type$1("tag:yaml.org,2002:null",{kind:"scalar",resolve:resolveYamlNull,construct:constructYamlNull,predicate:isNull,represent:{canonical:__name(function(){return"~"},"canonical"),lowercase:__name(function(){return"null"},"lowercase"),uppercase:__name(function(){return"NULL"},"uppercase"),camelcase:__name(function(){return"Null"},"camelcase"),empty:__name(function(){return""},"empty")},defaultStyle:"lowercase"});function resolveYamlBoolean(Ra){if(Ra===null)return!1;var qa=Ra.length;return qa===4&&(Ra==="true"||Ra==="True"||Ra==="TRUE")||qa===5&&(Ra==="false"||Ra==="False"||Ra==="FALSE")}__name(resolveYamlBoolean,"resolveYamlBoolean");function constructYamlBoolean(Ra){return Ra==="true"||Ra==="True"||Ra==="TRUE"}__name(constructYamlBoolean,"constructYamlBoolean");function isBoolean$2(Ra){return Object.prototype.toString.call(Ra)==="[object Boolean]"}__name(isBoolean$2,"isBoolean");var bool=new type$1("tag:yaml.org,2002:bool",{kind:"scalar",resolve:resolveYamlBoolean,construct:constructYamlBoolean,predicate:isBoolean$2,represent:{lowercase:__name(function(Ra){return Ra?"true":"false"},"lowercase"),uppercase:__name(function(Ra){return Ra?"TRUE":"FALSE"},"uppercase"),camelcase:__name(function(Ra){return Ra?"True":"False"},"camelcase")},defaultStyle:"lowercase"});function isHexCode(Ra){return 48<=Ra&&Ra<=57||65<=Ra&&Ra<=70||97<=Ra&&Ra<=102}__name(isHexCode,"isHexCode");function isOctCode(Ra){return 48<=Ra&&Ra<=55}__name(isOctCode,"isOctCode");function isDecCode(Ra){return 48<=Ra&&Ra<=57}__name(isDecCode,"isDecCode");function resolveYamlInteger(Ra){if(Ra===null)return!1;var qa=Ra.length,nd=0,od=!1,ld;if(!qa)return!1;if(ld=Ra[nd],(ld==="-"||ld==="+")&&(ld=Ra[++nd]),ld==="0"){if(nd+1===qa)return!0;if(ld=Ra[++nd],ld==="b"){for(nd++;nd<qa;nd++)if(ld=Ra[nd],ld!=="_"){if(ld!=="0"&&ld!=="1")return!1;od=!0}return od&&ld!=="_"}if(ld==="x"){for(nd++;nd<qa;nd++)if(ld=Ra[nd],ld!=="_"){if(!isHexCode(Ra.charCodeAt(nd)))return!1;od=!0}return od&&ld!=="_"}if(ld==="o"){for(nd++;nd<qa;nd++)if(ld=Ra[nd],ld!=="_"){if(!isOctCode(Ra.charCodeAt(nd)))return!1;od=!0}return od&&ld!=="_"}}if(ld==="_")return!1;for(;nd<qa;nd++)if(ld=Ra[nd],ld!=="_"){if(!isDecCode(Ra.charCodeAt(nd)))return!1;od=!0}return!(!od||ld==="_")}__name(resolveYamlInteger,"resolveYamlInteger");function constructYamlInteger(Ra){var qa=Ra,nd=1,od;if(qa.indexOf("_")!==-1&&(qa=qa.replace(/_/g,"")),od=qa[0],(od==="-"||od==="+")&&(od==="-"&&(nd=-1),qa=qa.slice(1),od=qa[0]),qa==="0")return 0;if(od==="0"){if(qa[1]==="b")return nd*parseInt(qa.slice(2),2);if(qa[1]==="x")return nd*parseInt(qa.slice(2),16);if(qa[1]==="o")return nd*parseInt(qa.slice(2),8)}return nd*parseInt(qa,10)}__name(constructYamlInteger,"constructYamlInteger");function isInteger(Ra){return Object.prototype.toString.call(Ra)==="[object Number]"&&Ra%1===0&&!common.isNegativeZero(Ra)}__name(isInteger,"isInteger");var int=new type$1("tag:yaml.org,2002:int",{kind:"scalar",resolve:resolveYamlInteger,construct:constructYamlInteger,predicate:isInteger,represent:{binary:__name(function(Ra){return Ra>=0?"0b"+Ra.toString(2):"-0b"+Ra.toString(2).slice(1)},"binary"),octal:__name(function(Ra){return Ra>=0?"0o"+Ra.toString(8):"-0o"+Ra.toString(8).slice(1)},"octal"),decimal:__name(function(Ra){return Ra.toString(10)},"decimal"),hexadecimal:__name(function(Ra){return Ra>=0?"0x"+Ra.toString(16).toUpperCase():"-0x"+Ra.toString(16).toUpperCase().slice(1)},"hexadecimal")},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),YAML_FLOAT_PATTERN=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function resolveYamlFloat(Ra){return!(Ra===null||!YAML_FLOAT_PATTERN.test(Ra)||Ra[Ra.length-1]==="_")}__name(resolveYamlFloat,"resolveYamlFloat");function constructYamlFloat(Ra){var qa,nd;return qa=Ra.replace(/_/g,"").toLowerCase(),nd=qa[0]==="-"?-1:1,"+-".indexOf(qa[0])>=0&&(qa=qa.slice(1)),qa===".inf"?nd===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:qa===".nan"?NaN:nd*parseFloat(qa,10)}__name(constructYamlFloat,"constructYamlFloat");var SCIENTIFIC_WITHOUT_DOT=/^[-+]?[0-9]+e/;function representYamlFloat(Ra,qa){var nd;if(isNaN(Ra))switch(qa){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===Ra)switch(qa){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===Ra)switch(qa){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(common.isNegativeZero(Ra))return"-0.0";return nd=Ra.toString(10),SCIENTIFIC_WITHOUT_DOT.test(nd)?nd.replace("e",".e"):nd}__name(representYamlFloat,"representYamlFloat");function isFloat(Ra){return Object.prototype.toString.call(Ra)==="[object Number]"&&(Ra%1!==0||common.isNegativeZero(Ra))}__name(isFloat,"isFloat");var float=new type$1("tag:yaml.org,2002:float",{kind:"scalar",resolve:resolveYamlFloat,construct:constructYamlFloat,predicate:isFloat,represent:representYamlFloat,defaultStyle:"lowercase"}),json=failsafe.extend({implicit:[_null,bool,int,float]}),core$1=json,YAML_DATE_REGEXP=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),YAML_TIMESTAMP_REGEXP=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function resolveYamlTimestamp(Ra){return Ra===null?!1:YAML_DATE_REGEXP.exec(Ra)!==null||YAML_TIMESTAMP_REGEXP.exec(Ra)!==null}__name(resolveYamlTimestamp,"resolveYamlTimestamp");function constructYamlTimestamp(Ra){var qa,nd,od,ld,ud,dd,pd,fd=0,md=null,vd,Ad,Nd;if(qa=YAML_DATE_REGEXP.exec(Ra),qa===null&&(qa=YAML_TIMESTAMP_REGEXP.exec(Ra)),qa===null)throw new Error("Date resolve error");if(nd=+qa[1],od=+qa[2]-1,ld=+qa[3],!qa[4])return new Date(Date.UTC(nd,od,ld));if(ud=+qa[4],dd=+qa[5],pd=+qa[6],qa[7]){for(fd=qa[7].slice(0,3);fd.length<3;)fd+="0";fd=+fd}return qa[9]&&(vd=+qa[10],Ad=+(qa[11]||0),md=(vd*60+Ad)*6e4,qa[9]==="-"&&(md=-md)),Nd=new Date(Date.UTC(nd,od,ld,ud,dd,pd,fd)),md&&Nd.setTime(Nd.getTime()-md),Nd}__name(constructYamlTimestamp,"constructYamlTimestamp");function representYamlTimestamp(Ra){return Ra.toISOString()}__name(representYamlTimestamp,"representYamlTimestamp");var timestamp=new type$1("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:resolveYamlTimestamp,construct:constructYamlTimestamp,instanceOf:Date,represent:representYamlTimestamp});function resolveYamlMerge(Ra){return Ra==="<<"||Ra===null}__name(resolveYamlMerge,"resolveYamlMerge");var merge$4=new type$1("tag:yaml.org,2002:merge",{kind:"scalar",resolve:resolveYamlMerge}),BASE64_MAP=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
\r`;function resolveYamlBinary(Ra){if(Ra===null)return!1;var qa,nd,od=0,ld=Ra.length,ud=BASE64_MAP;for(nd=0;nd<ld;nd++)if(qa=ud.indexOf(Ra.charAt(nd)),!(qa>64)){if(qa<0)return!1;od+=6}return od%8===0}__name(resolveYamlBinary,"resolveYamlBinary");function constructYamlBinary(Ra){var qa,nd,od=Ra.replace(/[\r\n=]/g,""),ld=od.length,ud=BASE64_MAP,dd=0,pd=[];for(qa=0;qa<ld;qa++)qa%4===0&&qa&&(pd.push(dd>>16&255),pd.push(dd>>8&255),pd.push(dd&255)),dd=dd<<6|ud.indexOf(od.charAt(qa));return nd=ld%4*6,nd===0?(pd.push(dd>>16&255),pd.push(dd>>8&255),pd.push(dd&255)):nd===18?(pd.push(dd>>10&255),pd.push(dd>>2&255)):nd===12&&pd.push(dd>>4&255),new Uint8Array(pd)}__name(constructYamlBinary,"constructYamlBinary");function representYamlBinary(Ra){var qa="",nd=0,od,ld,ud=Ra.length,dd=BASE64_MAP;for(od=0;od<ud;od++)od%3===0&&od&&(qa+=dd[nd>>18&63],qa+=dd[nd>>12&63],qa+=dd[nd>>6&63],qa+=dd[nd&63]),nd=(nd<<8)+Ra[od];return ld=ud%3,ld===0?(qa+=dd[nd>>18&63],qa+=dd[nd>>12&63],qa+=dd[nd>>6&63],qa+=dd[nd&63]):ld===2?(qa+=dd[nd>>10&63],qa+=dd[nd>>4&63],qa+=dd[nd<<2&63],qa+=dd[64]):ld===1&&(qa+=dd[nd>>2&63],qa+=dd[nd<<4&63],qa+=dd[64],qa+=dd[64]),qa}__name(representYamlBinary,"representYamlBinary");function isBinary(Ra){return Object.prototype.toString.call(Ra)==="[object Uint8Array]"}__name(isBinary,"isBinary");var binary=new type$1("tag:yaml.org,2002:binary",{kind:"scalar",resolve:resolveYamlBinary,construct:constructYamlBinary,predicate:isBinary,represent:representYamlBinary}),_hasOwnProperty$3=Object.prototype.hasOwnProperty,_toString$2=Object.prototype.toString;function resolveYamlOmap(Ra){if(Ra===null)return!0;var qa=[],nd,od,ld,ud,dd,pd=Ra;for(nd=0,od=pd.length;nd<od;nd+=1){if(ld=pd[nd],dd=!1,_toString$2.call(ld)!=="[object Object]")return!1;for(ud in ld)if(_hasOwnProperty$3.call(ld,ud))if(!dd)dd=!0;else return!1;if(!dd)return!1;if(qa.indexOf(ud)===-1)qa.push(ud);else return!1}return!0}__name(resolveYamlOmap,"resolveYamlOmap");function constructYamlOmap(Ra){return Ra!==null?Ra:[]}__name(constructYamlOmap,"constructYamlOmap");var omap=new type$1("tag:yaml.org,2002:omap",{kind:"sequence",resolve:resolveYamlOmap,construct:constructYamlOmap}),_toString$1=Object.prototype.toString;function resolveYamlPairs(Ra){if(Ra===null)return!0;var qa,nd,od,ld,ud,dd=Ra;for(ud=new Array(dd.length),qa=0,nd=dd.length;qa<nd;qa+=1){if(od=dd[qa],_toString$1.call(od)!=="[object Object]"||(ld=Object.keys(od),ld.length!==1))return!1;ud[qa]=[ld[0],od[ld[0]]]}return!0}__name(resolveYamlPairs,"resolveYamlPairs");function constructYamlPairs(Ra){if(Ra===null)return[];var qa,nd,od,ld,ud,dd=Ra;for(ud=new Array(dd.length),qa=0,nd=dd.length;qa<nd;qa+=1)od=dd[qa],ld=Object.keys(od),ud[qa]=[ld[0],od[ld[0]]];return ud}__name(constructYamlPairs,"constructYamlPairs");var pairs=new type$1("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:resolveYamlPairs,construct:constructYamlPairs}),_hasOwnProperty$2=Object.prototype.hasOwnProperty;function resolveYamlSet(Ra){if(Ra===null)return!0;var qa,nd=Ra;for(qa in nd)if(_hasOwnProperty$2.call(nd,qa)&&nd[qa]!==null)return!1;return!0}__name(resolveYamlSet,"resolveYamlSet");function constructYamlSet(Ra){return Ra!==null?Ra:{}}__name(constructYamlSet,"constructYamlSet");var set$3=new type$1("tag:yaml.org,2002:set",{kind:"mapping",resolve:resolveYamlSet,construct:constructYamlSet}),_default=core$1.extend({implicit:[timestamp,merge$4],explicit:[binary,omap,pairs,set$3]}),_hasOwnProperty$1=Object.prototype.hasOwnProperty,CONTEXT_FLOW_IN=1,CONTEXT_FLOW_OUT=2,CONTEXT_BLOCK_IN=3,CONTEXT_BLOCK_OUT=4,CHOMPING_CLIP=1,CHOMPING_STRIP=2,CHOMPING_KEEP=3,PATTERN_NON_PRINTABLE=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,PATTERN_NON_ASCII_LINE_BREAKS=/[\x85\u2028\u2029]/,PATTERN_FLOW_INDICATORS=/[,\[\]\{\}]/,PATTERN_TAG_HANDLE=/^(?:!|!!|![a-z\-]+!)$/i,PATTERN_TAG_URI=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function _class(Ra){return Object.prototype.toString.call(Ra)}__name(_class,"_class");function is_EOL(Ra){return Ra===10||Ra===13}__name(is_EOL,"is_EOL");function is_WHITE_SPACE(Ra){return Ra===9||Ra===32}__name(is_WHITE_SPACE,"is_WHITE_SPACE");function is_WS_OR_EOL(Ra){return Ra===9||Ra===32||Ra===10||Ra===13}__name(is_WS_OR_EOL,"is_WS_OR_EOL");function is_FLOW_INDICATOR(Ra){return Ra===44||Ra===91||Ra===93||Ra===123||Ra===125}__name(is_FLOW_INDICATOR,"is_FLOW_INDICATOR");function fromHexCode(Ra){var qa;return 48<=Ra&&Ra<=57?Ra-48:(qa=Ra|32,97<=qa&&qa<=102?qa-97+10:-1)}__name(fromHexCode,"fromHexCode");function escapedHexLen(Ra){return Ra===120?2:Ra===117?4:Ra===85?8:0}__name(escapedHexLen,"escapedHexLen");function fromDecimalCode(Ra){return 48<=Ra&&Ra<=57?Ra-48:-1}__name(fromDecimalCode,"fromDecimalCode");function simpleEscapeSequence(Ra){return Ra===48?"\0":Ra===97?"\x07":Ra===98?"\b":Ra===116||Ra===9?" ":Ra===110?`
`:Ra===118?"\v":Ra===102?"\f":Ra===114?"\r":Ra===101?"\x1B":Ra===32?" ":Ra===34?'"':Ra===47?"/":Ra===92?"\\":Ra===78?"…":Ra===95?" ":Ra===76?"\u2028":Ra===80?"\u2029":""}__name(simpleEscapeSequence,"simpleEscapeSequence");function charFromCodepoint(Ra){return Ra<=65535?String.fromCharCode(Ra):String.fromCharCode((Ra-65536>>10)+55296,(Ra-65536&1023)+56320)}__name(charFromCodepoint,"charFromCodepoint");var simpleEscapeCheck=new Array(256),simpleEscapeMap=new Array(256);for(i$2=0;i$2<256;i$2++)simpleEscapeCheck[i$2]=simpleEscapeSequence(i$2)?1:0,simpleEscapeMap[i$2]=simpleEscapeSequence(i$2);var i$2;function State$1(Ra,qa){this.input=Ra,this.filename=qa.filename||null,this.schema=qa.schema||_default,this.onWarning=qa.onWarning||null,this.legacy=qa.legacy||!1,this.json=qa.json||!1,this.listener=qa.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=Ra.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}__name(State$1,"State$1");function generateError(Ra,qa){var nd={name:Ra.filename,buffer:Ra.input.slice(0,-1),position:Ra.position,line:Ra.line,column:Ra.position-Ra.lineStart};return nd.snippet=snippet(nd),new exception(qa,nd)}__name(generateError,"generateError");function throwError(Ra,qa){throw generateError(Ra,qa)}__name(throwError,"throwError");function throwWarning(Ra,qa){Ra.onWarning&&Ra.onWarning.call(null,generateError(Ra,qa))}__name(throwWarning,"throwWarning");var directiveHandlers={YAML:__name(function(qa,nd,od){var ld,ud,dd;qa.version!==null&&throwError(qa,"duplication of %YAML directive"),od.length!==1&&throwError(qa,"YAML directive accepts exactly one argument"),ld=/^([0-9]+)\.([0-9]+)$/.exec(od[0]),ld===null&&throwError(qa,"ill-formed argument of the YAML directive"),ud=parseInt(ld[1],10),dd=parseInt(ld[2],10),ud!==1&&throwError(qa,"unacceptable YAML version of the document"),qa.version=od[0],qa.checkLineBreaks=dd<2,dd!==1&&dd!==2&&throwWarning(qa,"unsupported YAML version of the document")},"handleYamlDirective"),TAG:__name(function(qa,nd,od){var ld,ud;od.length!==2&&throwError(qa,"TAG directive accepts exactly two arguments"),ld=od[0],ud=od[1],PATTERN_TAG_HANDLE.test(ld)||throwError(qa,"ill-formed tag handle (first argument) of the TAG directive"),_hasOwnProperty$1.call(qa.tagMap,ld)&&throwError(qa,'there is a previously declared suffix for "'+ld+'" tag handle'),PATTERN_TAG_URI.test(ud)||throwError(qa,"ill-formed tag prefix (second argument) of the TAG directive");try{ud=decodeURIComponent(ud)}catch{throwError(qa,"tag prefix is malformed: "+ud)}qa.tagMap[ld]=ud},"handleTagDirective")};function captureSegment(Ra,qa,nd,od){var ld,ud,dd,pd;if(qa<nd){if(pd=Ra.input.slice(qa,nd),od)for(ld=0,ud=pd.length;ld<ud;ld+=1)dd=pd.charCodeAt(ld),dd===9||32<=dd&&dd<=1114111||throwError(Ra,"expected valid JSON character");else PATTERN_NON_PRINTABLE.test(pd)&&throwError(Ra,"the stream contains non-printable characters");Ra.result+=pd}}__name(captureSegment,"captureSegment");function mergeMappings(Ra,qa,nd,od){var ld,ud,dd,pd;for(common.isObject(nd)||throwError(Ra,"cannot merge mappings; the provided source object is unacceptable"),ld=Object.keys(nd),dd=0,pd=ld.length;dd<pd;dd+=1)ud=ld[dd],_hasOwnProperty$1.call(qa,ud)||(qa[ud]=nd[ud],od[ud]=!0)}__name(mergeMappings,"mergeMappings");function storeMappingPair(Ra,qa,nd,od,ld,ud,dd,pd,fd){var md,vd;if(Array.isArray(ld))for(ld=Array.prototype.slice.call(ld),md=0,vd=ld.length;md<vd;md+=1)Array.isArray(ld[md])&&throwError(Ra,"nested arrays are not supported inside keys"),typeof ld=="object"&&_class(ld[md])==="[object Object]"&&(ld[md]="[object Object]");if(typeof ld=="object"&&_class(ld)==="[object Object]"&&(ld="[object Object]"),ld=String(ld),qa===null&&(qa={}),od==="tag:yaml.org,2002:merge")if(Array.isArray(ud))for(md=0,vd=ud.length;md<vd;md+=1)mergeMappings(Ra,qa,ud[md],nd);else mergeMappings(Ra,qa,ud,nd);else!Ra.json&&!_hasOwnProperty$1.call(nd,ld)&&_hasOwnProperty$1.call(qa,ld)&&(Ra.line=dd||Ra.line,Ra.lineStart=pd||Ra.lineStart,Ra.position=fd||Ra.position,throwError(Ra,"duplicated mapping key")),ld==="__proto__"?Object.defineProperty(qa,ld,{configurable:!0,enumerable:!0,writable:!0,value:ud}):qa[ld]=ud,delete nd[ld];return qa}__name(storeMappingPair,"storeMappingPair");function readLineBreak(Ra){var qa;qa=Ra.input.charCodeAt(Ra.position),qa===10?Ra.position++:qa===13?(Ra.position++,Ra.input.charCodeAt(Ra.position)===10&&Ra.position++):throwError(Ra,"a line break is expected"),Ra.line+=1,Ra.lineStart=Ra.position,Ra.firstTabInLine=-1}__name(readLineBreak,"readLineBreak");function skipSeparationSpace(Ra,qa,nd){for(var od=0,ld=Ra.input.charCodeAt(Ra.position);ld!==0;){for(;is_WHITE_SPACE(ld);)ld===9&&Ra.firstTabInLine===-1&&(Ra.firstTabInLine=Ra.position),ld=Ra.input.charCodeAt(++Ra.position);if(qa&&ld===35)do ld=Ra.input.charCodeAt(++Ra.position);while(ld!==10&&ld!==13&&ld!==0);if(is_EOL(ld))for(readLineBreak(Ra),ld=Ra.input.charCodeAt(Ra.position),od++,Ra.lineIndent=0;ld===32;)Ra.lineIndent++,ld=Ra.input.charCodeAt(++Ra.position);else break}return nd!==-1&&od!==0&&Ra.lineIndent<nd&&throwWarning(Ra,"deficient indentation"),od}__name(skipSeparationSpace,"skipSeparationSpace");function testDocumentSeparator(Ra){var qa=Ra.position,nd;return nd=Ra.input.charCodeAt(qa),!!((nd===45||nd===46)&&nd===Ra.input.charCodeAt(qa+1)&&nd===Ra.input.charCodeAt(qa+2)&&(qa+=3,nd=Ra.input.charCodeAt(qa),nd===0||is_WS_OR_EOL(nd)))}__name(testDocumentSeparator,"testDocumentSeparator");function writeFoldedLines(Ra,qa){qa===1?Ra.result+=" ":qa>1&&(Ra.result+=common.repeat(`
`,qa-1))}__name(writeFoldedLines,"writeFoldedLines");function readPlainScalar(Ra,qa,nd){var od,ld,ud,dd,pd,fd,md,vd,Ad=Ra.kind,Nd=Ra.result,Od;if(Od=Ra.input.charCodeAt(Ra.position),is_WS_OR_EOL(Od)||is_FLOW_INDICATOR(Od)||Od===35||Od===38||Od===42||Od===33||Od===124||Od===62||Od===39||Od===34||Od===37||Od===64||Od===96||(Od===63||Od===45)&&(ld=Ra.input.charCodeAt(Ra.position+1),is_WS_OR_EOL(ld)||nd&&is_FLOW_INDICATOR(ld)))return!1;for(Ra.kind="scalar",Ra.result="",ud=dd=Ra.position,pd=!1;Od!==0;){if(Od===58){if(ld=Ra.input.charCodeAt(Ra.position+1),is_WS_OR_EOL(ld)||nd&&is_FLOW_INDICATOR(ld))break}else if(Od===35){if(od=Ra.input.charCodeAt(Ra.position-1),is_WS_OR_EOL(od))break}else{if(Ra.position===Ra.lineStart&&testDocumentSeparator(Ra)||nd&&is_FLOW_INDICATOR(Od))break;if(is_EOL(Od))if(fd=Ra.line,md=Ra.lineStart,vd=Ra.lineIndent,skipSeparationSpace(Ra,!1,-1),Ra.lineIndent>=qa){pd=!0,Od=Ra.input.charCodeAt(Ra.position);continue}else{Ra.position=dd,Ra.line=fd,Ra.lineStart=md,Ra.lineIndent=vd;break}}pd&&(captureSegment(Ra,ud,dd,!1),writeFoldedLines(Ra,Ra.line-fd),ud=dd=Ra.position,pd=!1),is_WHITE_SPACE(Od)||(dd=Ra.position+1),Od=Ra.input.charCodeAt(++Ra.position)}return captureSegment(Ra,ud,dd,!1),Ra.result?!0:(Ra.kind=Ad,Ra.result=Nd,!1)}__name(readPlainScalar,"readPlainScalar");function readSingleQuotedScalar(Ra,qa){var nd,od,ld;if(nd=Ra.input.charCodeAt(Ra.position),nd!==39)return!1;for(Ra.kind="scalar",Ra.result="",Ra.position++,od=ld=Ra.position;(nd=Ra.input.charCodeAt(Ra.position))!==0;)if(nd===39)if(captureSegment(Ra,od,Ra.position,!0),nd=Ra.input.charCodeAt(++Ra.position),nd===39)od=Ra.position,Ra.position++,ld=Ra.position;else return!0;else is_EOL(nd)?(captureSegment(Ra,od,ld,!0),writeFoldedLines(Ra,skipSeparationSpace(Ra,!1,qa)),od=ld=Ra.position):Ra.position===Ra.lineStart&&testDocumentSeparator(Ra)?throwError(Ra,"unexpected end of the document within a single quoted scalar"):(Ra.position++,ld=Ra.position);throwError(Ra,"unexpected end of the stream within a single quoted scalar")}__name(readSingleQuotedScalar,"readSingleQuotedScalar");function readDoubleQuotedScalar(Ra,qa){var nd,od,ld,ud,dd,pd;if(pd=Ra.input.charCodeAt(Ra.position),pd!==34)return!1;for(Ra.kind="scalar",Ra.result="",Ra.position++,nd=od=Ra.position;(pd=Ra.input.charCodeAt(Ra.position))!==0;){if(pd===34)return captureSegment(Ra,nd,Ra.position,!0),Ra.position++,!0;if(pd===92){if(captureSegment(Ra,nd,Ra.position,!0),pd=Ra.input.charCodeAt(++Ra.position),is_EOL(pd))skipSeparationSpace(Ra,!1,qa);else if(pd<256&&simpleEscapeCheck[pd])Ra.result+=simpleEscapeMap[pd],Ra.position++;else if((dd=escapedHexLen(pd))>0){for(ld=dd,ud=0;ld>0;ld--)pd=Ra.input.charCodeAt(++Ra.position),(dd=fromHexCode(pd))>=0?ud=(ud<<4)+dd:throwError(Ra,"expected hexadecimal character");Ra.result+=charFromCodepoint(ud),Ra.position++}else throwError(Ra,"unknown escape sequence");nd=od=Ra.position}else is_EOL(pd)?(captureSegment(Ra,nd,od,!0),writeFoldedLines(Ra,skipSeparationSpace(Ra,!1,qa)),nd=od=Ra.position):Ra.position===Ra.lineStart&&testDocumentSeparator(Ra)?throwError(Ra,"unexpected end of the document within a double quoted scalar"):(Ra.position++,od=Ra.position)}throwError(Ra,"unexpected end of the stream within a double quoted scalar")}__name(readDoubleQuotedScalar,"readDoubleQuotedScalar");function readFlowCollection(Ra,qa){var nd=!0,od,ld,ud,dd=Ra.tag,pd,fd=Ra.anchor,md,vd,Ad,Nd,Od,kd=Object.create(null),Ld,Gd,jd,Fd;if(Fd=Ra.input.charCodeAt(Ra.position),Fd===91)vd=93,Od=!1,pd=[];else if(Fd===123)vd=125,Od=!0,pd={};else return!1;for(Ra.anchor!==null&&(Ra.anchorMap[Ra.anchor]=pd),Fd=Ra.input.charCodeAt(++Ra.position);Fd!==0;){if(skipSeparationSpace(Ra,!0,qa),Fd=Ra.input.charCodeAt(Ra.position),Fd===vd)return Ra.position++,Ra.tag=dd,Ra.anchor=fd,Ra.kind=Od?"mapping":"sequence",Ra.result=pd,!0;nd?Fd===44&&throwError(Ra,"expected the node content, but found ','"):throwError(Ra,"missed comma between flow collection entries"),Gd=Ld=jd=null,Ad=Nd=!1,Fd===63&&(md=Ra.input.charCodeAt(Ra.position+1),is_WS_OR_EOL(md)&&(Ad=Nd=!0,Ra.position++,skipSeparationSpace(Ra,!0,qa))),od=Ra.line,ld=Ra.lineStart,ud=Ra.position,composeNode(Ra,qa,CONTEXT_FLOW_IN,!1,!0),Gd=Ra.tag,Ld=Ra.result,skipSeparationSpace(Ra,!0,qa),Fd=Ra.input.charCodeAt(Ra.position),(Nd||Ra.line===od)&&Fd===58&&(Ad=!0,Fd=Ra.input.charCodeAt(++Ra.position),skipSeparationSpace(Ra,!0,qa),composeNode(Ra,qa,CONTEXT_FLOW_IN,!1,!0),jd=Ra.result),Od?storeMappingPair(Ra,pd,kd,Gd,Ld,jd,od,ld,ud):Ad?pd.push(storeMappingPair(Ra,null,kd,Gd,Ld,jd,od,ld,ud)):pd.push(Ld),skipSeparationSpace(Ra,!0,qa),Fd=Ra.input.charCodeAt(Ra.position),Fd===44?(nd=!0,Fd=Ra.input.charCodeAt(++Ra.position)):nd=!1}throwError(Ra,"unexpected end of the stream within a flow collection")}__name(readFlowCollection,"readFlowCollection");function readBlockScalar(Ra,qa){var nd,od,ld=CHOMPING_CLIP,ud=!1,dd=!1,pd=qa,fd=0,md=!1,vd,Ad;if(Ad=Ra.input.charCodeAt(Ra.position),Ad===124)od=!1;else if(Ad===62)od=!0;else return!1;for(Ra.kind="scalar",Ra.result="";Ad!==0;)if(Ad=Ra.input.charCodeAt(++Ra.position),Ad===43||Ad===45)CHOMPING_CLIP===ld?ld=Ad===43?CHOMPING_KEEP:CHOMPING_STRIP:throwError(Ra,"repeat of a chomping mode identifier");else if((vd=fromDecimalCode(Ad))>=0)vd===0?throwError(Ra,"bad explicit indentation width of a block scalar; it cannot be less than one"):dd?throwError(Ra,"repeat of an indentation width identifier"):(pd=qa+vd-1,dd=!0);else break;if(is_WHITE_SPACE(Ad)){do Ad=Ra.input.charCodeAt(++Ra.position);while(is_WHITE_SPACE(Ad));if(Ad===35)do Ad=Ra.input.charCodeAt(++Ra.position);while(!is_EOL(Ad)&&Ad!==0)}for(;Ad!==0;){for(readLineBreak(Ra),Ra.lineIndent=0,Ad=Ra.input.charCodeAt(Ra.position);(!dd||Ra.lineIndent<pd)&&Ad===32;)Ra.lineIndent++,Ad=Ra.input.charCodeAt(++Ra.position);if(!dd&&Ra.lineIndent>pd&&(pd=Ra.lineIndent),is_EOL(Ad)){fd++;continue}if(Ra.lineIndent<pd){ld===CHOMPING_KEEP?Ra.result+=common.repeat(`
`,ud?1+fd:fd):ld===CHOMPING_CLIP&&ud&&(Ra.result+=`
`);break}for(od?is_WHITE_SPACE(Ad)?(md=!0,Ra.result+=common.repeat(`
`,ud?1+fd:fd)):md?(md=!1,Ra.result+=common.repeat(`
`,fd+1)):fd===0?ud&&(Ra.result+=" "):Ra.result+=common.repeat(`
`,fd):Ra.result+=common.repeat(`
`,ud?1+fd:fd),ud=!0,dd=!0,fd=0,nd=Ra.position;!is_EOL(Ad)&&Ad!==0;)Ad=Ra.input.charCodeAt(++Ra.position);captureSegment(Ra,nd,Ra.position,!1)}return!0}__name(readBlockScalar,"readBlockScalar");function readBlockSequence(Ra,qa){var nd,od=Ra.tag,ld=Ra.anchor,ud=[],dd,pd=!1,fd;if(Ra.firstTabInLine!==-1)return!1;for(Ra.anchor!==null&&(Ra.anchorMap[Ra.anchor]=ud),fd=Ra.input.charCodeAt(Ra.position);fd!==0&&(Ra.firstTabInLine!==-1&&(Ra.position=Ra.firstTabInLine,throwError(Ra,"tab characters must not be used in indentation")),!(fd!==45||(dd=Ra.input.charCodeAt(Ra.position+1),!is_WS_OR_EOL(dd))));){if(pd=!0,Ra.position++,skipSeparationSpace(Ra,!0,-1)&&Ra.lineIndent<=qa){ud.push(null),fd=Ra.input.charCodeAt(Ra.position);continue}if(nd=Ra.line,composeNode(Ra,qa,CONTEXT_BLOCK_IN,!1,!0),ud.push(Ra.result),skipSeparationSpace(Ra,!0,-1),fd=Ra.input.charCodeAt(Ra.position),(Ra.line===nd||Ra.lineIndent>qa)&&fd!==0)throwError(Ra,"bad indentation of a sequence entry");else if(Ra.lineIndent<qa)break}return pd?(Ra.tag=od,Ra.anchor=ld,Ra.kind="sequence",Ra.result=ud,!0):!1}__name(readBlockSequence,"readBlockSequence");function readBlockMapping(Ra,qa,nd){var od,ld,ud,dd,pd,fd,md=Ra.tag,vd=Ra.anchor,Ad={},Nd=Object.create(null),Od=null,kd=null,Ld=null,Gd=!1,jd=!1,Fd;if(Ra.firstTabInLine!==-1)return!1;for(Ra.anchor!==null&&(Ra.anchorMap[Ra.anchor]=Ad),Fd=Ra.input.charCodeAt(Ra.position);Fd!==0;){if(!Gd&&Ra.firstTabInLine!==-1&&(Ra.position=Ra.firstTabInLine,throwError(Ra,"tab characters must not be used in indentation")),od=Ra.input.charCodeAt(Ra.position+1),ud=Ra.line,(Fd===63||Fd===58)&&is_WS_OR_EOL(od))Fd===63?(Gd&&(storeMappingPair(Ra,Ad,Nd,Od,kd,null,dd,pd,fd),Od=kd=Ld=null),jd=!0,Gd=!0,ld=!0):Gd?(Gd=!1,ld=!0):throwError(Ra,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),Ra.position+=1,Fd=od;else{if(dd=Ra.line,pd=Ra.lineStart,fd=Ra.position,!composeNode(Ra,nd,CONTEXT_FLOW_OUT,!1,!0))break;if(Ra.line===ud){for(Fd=Ra.input.charCodeAt(Ra.position);is_WHITE_SPACE(Fd);)Fd=Ra.input.charCodeAt(++Ra.position);if(Fd===58)Fd=Ra.input.charCodeAt(++Ra.position),is_WS_OR_EOL(Fd)||throwError(Ra,"a whitespace character is expected after the key-value separator within a block mapping"),Gd&&(storeMappingPair(Ra,Ad,Nd,Od,kd,null,dd,pd,fd),Od=kd=Ld=null),jd=!0,Gd=!1,ld=!1,Od=Ra.tag,kd=Ra.result;else if(jd)throwError(Ra,"can not read an implicit mapping pair; a colon is missed");else return Ra.tag=md,Ra.anchor=vd,!0}else if(jd)throwError(Ra,"can not read a block mapping entry; a multiline key may not be an implicit key");else return Ra.tag=md,Ra.anchor=vd,!0}if((Ra.line===ud||Ra.lineIndent>qa)&&(Gd&&(dd=Ra.line,pd=Ra.lineStart,fd=Ra.position),composeNode(Ra,qa,CONTEXT_BLOCK_OUT,!0,ld)&&(Gd?kd=Ra.result:Ld=Ra.result),Gd||(storeMappingPair(Ra,Ad,Nd,Od,kd,Ld,dd,pd,fd),Od=kd=Ld=null),skipSeparationSpace(Ra,!0,-1),Fd=Ra.input.charCodeAt(Ra.position)),(Ra.line===ud||Ra.lineIndent>qa)&&Fd!==0)throwError(Ra,"bad indentation of a mapping entry");else if(Ra.lineIndent<qa)break}return Gd&&storeMappingPair(Ra,Ad,Nd,Od,kd,null,dd,pd,fd),jd&&(Ra.tag=md,Ra.anchor=vd,Ra.kind="mapping",Ra.result=Ad),jd}__name(readBlockMapping,"readBlockMapping");function readTagProperty(Ra){var qa,nd=!1,od=!1,ld,ud,dd;if(dd=Ra.input.charCodeAt(Ra.position),dd!==33)return!1;if(Ra.tag!==null&&throwError(Ra,"duplication of a tag property"),dd=Ra.input.charCodeAt(++Ra.position),dd===60?(nd=!0,dd=Ra.input.charCodeAt(++Ra.position)):dd===33?(od=!0,ld="!!",dd=Ra.input.charCodeAt(++Ra.position)):ld="!",qa=Ra.position,nd){do dd=Ra.input.charCodeAt(++Ra.position);while(dd!==0&&dd!==62);Ra.position<Ra.length?(ud=Ra.input.slice(qa,Ra.position),dd=Ra.input.charCodeAt(++Ra.position)):throwError(Ra,"unexpected end of the stream within a verbatim tag")}else{for(;dd!==0&&!is_WS_OR_EOL(dd);)dd===33&&(od?throwError(Ra,"tag suffix cannot contain exclamation marks"):(ld=Ra.input.slice(qa-1,Ra.position+1),PATTERN_TAG_HANDLE.test(ld)||throwError(Ra,"named tag handle cannot contain such characters"),od=!0,qa=Ra.position+1)),dd=Ra.input.charCodeAt(++Ra.position);ud=Ra.input.slice(qa,Ra.position),PATTERN_FLOW_INDICATORS.test(ud)&&throwError(Ra,"tag suffix cannot contain flow indicator characters")}ud&&!PATTERN_TAG_URI.test(ud)&&throwError(Ra,"tag name cannot contain such characters: "+ud);try{ud=decodeURIComponent(ud)}catch{throwError(Ra,"tag name is malformed: "+ud)}return nd?Ra.tag=ud:_hasOwnProperty$1.call(Ra.tagMap,ld)?Ra.tag=Ra.tagMap[ld]+ud:ld==="!"?Ra.tag="!"+ud:ld==="!!"?Ra.tag="tag:yaml.org,2002:"+ud:throwError(Ra,'undeclared tag handle "'+ld+'"'),!0}__name(readTagProperty,"readTagProperty");function readAnchorProperty(Ra){var qa,nd;if(nd=Ra.input.charCodeAt(Ra.position),nd!==38)return!1;for(Ra.anchor!==null&&throwError(Ra,"duplication of an anchor property"),nd=Ra.input.charCodeAt(++Ra.position),qa=Ra.position;nd!==0&&!is_WS_OR_EOL(nd)&&!is_FLOW_INDICATOR(nd);)nd=Ra.input.charCodeAt(++Ra.position);return Ra.position===qa&&throwError(Ra,"name of an anchor node must contain at least one character"),Ra.anchor=Ra.input.slice(qa,Ra.position),!0}__name(readAnchorProperty,"readAnchorProperty");function readAlias(Ra){var qa,nd,od;if(od=Ra.input.charCodeAt(Ra.position),od!==42)return!1;for(od=Ra.input.charCodeAt(++Ra.position),qa=Ra.position;od!==0&&!is_WS_OR_EOL(od)&&!is_FLOW_INDICATOR(od);)od=Ra.input.charCodeAt(++Ra.position);return Ra.position===qa&&throwError(Ra,"name of an alias node must contain at least one character"),nd=Ra.input.slice(qa,Ra.position),_hasOwnProperty$1.call(Ra.anchorMap,nd)||throwError(Ra,'unidentified alias "'+nd+'"'),Ra.result=Ra.anchorMap[nd],skipSeparationSpace(Ra,!0,-1),!0}__name(readAlias,"readAlias");function composeNode(Ra,qa,nd,od,ld){var ud,dd,pd,fd=1,md=!1,vd=!1,Ad,Nd,Od,kd,Ld,Gd;if(Ra.listener!==null&&Ra.listener("open",Ra),Ra.tag=null,Ra.anchor=null,Ra.kind=null,Ra.result=null,ud=dd=pd=CONTEXT_BLOCK_OUT===nd||CONTEXT_BLOCK_IN===nd,od&&skipSeparationSpace(Ra,!0,-1)&&(md=!0,Ra.lineIndent>qa?fd=1:Ra.lineIndent===qa?fd=0:Ra.lineIndent<qa&&(fd=-1)),fd===1)for(;readTagProperty(Ra)||readAnchorProperty(Ra);)skipSeparationSpace(Ra,!0,-1)?(md=!0,pd=ud,Ra.lineIndent>qa?fd=1:Ra.lineIndent===qa?fd=0:Ra.lineIndent<qa&&(fd=-1)):pd=!1;if(pd&&(pd=md||ld),(fd===1||CONTEXT_BLOCK_OUT===nd)&&(CONTEXT_FLOW_IN===nd||CONTEXT_FLOW_OUT===nd?Ld=qa:Ld=qa+1,Gd=Ra.position-Ra.lineStart,fd===1?pd&&(readBlockSequence(Ra,Gd)||readBlockMapping(Ra,Gd,Ld))||readFlowCollection(Ra,Ld)?vd=!0:(dd&&readBlockScalar(Ra,Ld)||readSingleQuotedScalar(Ra,Ld)||readDoubleQuotedScalar(Ra,Ld)?vd=!0:readAlias(Ra)?(vd=!0,(Ra.tag!==null||Ra.anchor!==null)&&throwError(Ra,"alias node should not have any properties")):readPlainScalar(Ra,Ld,CONTEXT_FLOW_IN===nd)&&(vd=!0,Ra.tag===null&&(Ra.tag="?")),Ra.anchor!==null&&(Ra.anchorMap[Ra.anchor]=Ra.result)):fd===0&&(vd=pd&&readBlockSequence(Ra,Gd))),Ra.tag===null)Ra.anchor!==null&&(Ra.anchorMap[Ra.anchor]=Ra.result);else if(Ra.tag==="?"){for(Ra.result!==null&&Ra.kind!=="scalar"&&throwError(Ra,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+Ra.kind+'"'),Ad=0,Nd=Ra.implicitTypes.length;Ad<Nd;Ad+=1)if(kd=Ra.implicitTypes[Ad],kd.resolve(Ra.result)){Ra.result=kd.construct(Ra.result),Ra.tag=kd.tag,Ra.anchor!==null&&(Ra.anchorMap[Ra.anchor]=Ra.result);break}}else if(Ra.tag!=="!"){if(_hasOwnProperty$1.call(Ra.typeMap[Ra.kind||"fallback"],Ra.tag))kd=Ra.typeMap[Ra.kind||"fallback"][Ra.tag];else for(kd=null,Od=Ra.typeMap.multi[Ra.kind||"fallback"],Ad=0,Nd=Od.length;Ad<Nd;Ad+=1)if(Ra.tag.slice(0,Od[Ad].tag.length)===Od[Ad].tag){kd=Od[Ad];break}kd||throwError(Ra,"unknown tag !<"+Ra.tag+">"),Ra.result!==null&&kd.kind!==Ra.kind&&throwError(Ra,"unacceptable node kind for !<"+Ra.tag+'> tag; it should be "'+kd.kind+'", not "'+Ra.kind+'"'),kd.resolve(Ra.result,Ra.tag)?(Ra.result=kd.construct(Ra.result,Ra.tag),Ra.anchor!==null&&(Ra.anchorMap[Ra.anchor]=Ra.result)):throwError(Ra,"cannot resolve a node with !<"+Ra.tag+"> explicit tag")}return Ra.listener!==null&&Ra.listener("close",Ra),Ra.tag!==null||Ra.anchor!==null||vd}__name(composeNode,"composeNode");function readDocument(Ra){var qa=Ra.position,nd,od,ld,ud=!1,dd;for(Ra.version=null,Ra.checkLineBreaks=Ra.legacy,Ra.tagMap=Object.create(null),Ra.anchorMap=Object.create(null);(dd=Ra.input.charCodeAt(Ra.position))!==0&&(skipSeparationSpace(Ra,!0,-1),dd=Ra.input.charCodeAt(Ra.position),!(Ra.lineIndent>0||dd!==37));){for(ud=!0,dd=Ra.input.charCodeAt(++Ra.position),nd=Ra.position;dd!==0&&!is_WS_OR_EOL(dd);)dd=Ra.input.charCodeAt(++Ra.position);for(od=Ra.input.slice(nd,Ra.position),ld=[],od.length<1&&throwError(Ra,"directive name must not be less than one character in length");dd!==0;){for(;is_WHITE_SPACE(dd);)dd=Ra.input.charCodeAt(++Ra.position);if(dd===35){do dd=Ra.input.charCodeAt(++Ra.position);while(dd!==0&&!is_EOL(dd));break}if(is_EOL(dd))break;for(nd=Ra.position;dd!==0&&!is_WS_OR_EOL(dd);)dd=Ra.input.charCodeAt(++Ra.position);ld.push(Ra.input.slice(nd,Ra.position))}dd!==0&&readLineBreak(Ra),_hasOwnProperty$1.call(directiveHandlers,od)?directiveHandlers[od](Ra,od,ld):throwWarning(Ra,'unknown document directive "'+od+'"')}if(skipSeparationSpace(Ra,!0,-1),Ra.lineIndent===0&&Ra.input.charCodeAt(Ra.position)===45&&Ra.input.charCodeAt(Ra.position+1)===45&&Ra.input.charCodeAt(Ra.position+2)===45?(Ra.position+=3,skipSeparationSpace(Ra,!0,-1)):ud&&throwError(Ra,"directives end mark is expected"),composeNode(Ra,Ra.lineIndent-1,CONTEXT_BLOCK_OUT,!1,!0),skipSeparationSpace(Ra,!0,-1),Ra.checkLineBreaks&&PATTERN_NON_ASCII_LINE_BREAKS.test(Ra.input.slice(qa,Ra.position))&&throwWarning(Ra,"non-ASCII line breaks are interpreted as content"),Ra.documents.push(Ra.result),Ra.position===Ra.lineStart&&testDocumentSeparator(Ra)){Ra.input.charCodeAt(Ra.position)===46&&(Ra.position+=3,skipSeparationSpace(Ra,!0,-1));return}if(Ra.position<Ra.length-1)throwError(Ra,"end of the stream or a document separator is expected");else return}__name(readDocument,"readDocument");function loadDocuments(Ra,qa){Ra=String(Ra),qa=qa||{},Ra.length!==0&&(Ra.charCodeAt(Ra.length-1)!==10&&Ra.charCodeAt(Ra.length-1)!==13&&(Ra+=`
`),Ra.charCodeAt(0)===65279&&(Ra=Ra.slice(1)));var nd=new State$1(Ra,qa),od=Ra.indexOf("\0");for(od!==-1&&(nd.position=od,throwError(nd,"null byte is not allowed in input")),nd.input+="\0";nd.input.charCodeAt(nd.position)===32;)nd.lineIndent+=1,nd.position+=1;for(;nd.position<nd.length-1;)readDocument(nd);return nd.documents}__name(loadDocuments,"loadDocuments");function loadAll$1(Ra,qa,nd){qa!==null&&typeof qa=="object"&&typeof nd>"u"&&(nd=qa,qa=null);var od=loadDocuments(Ra,nd);if(typeof qa!="function")return od;for(var ld=0,ud=od.length;ld<ud;ld+=1)qa(od[ld])}__name(loadAll$1,"loadAll$1");function load$1(Ra,qa){var nd=loadDocuments(Ra,qa);if(nd.length!==0){if(nd.length===1)return nd[0];throw new exception("expected a single document in the stream, but found more")}}__name(load$1,"load$1");var loadAll_1=loadAll$1,load_1=load$1,loader$1={loadAll:loadAll_1,load:load_1},_toString=Object.prototype.toString,_hasOwnProperty=Object.prototype.hasOwnProperty,CHAR_BOM=65279,CHAR_TAB=9,CHAR_LINE_FEED=10,CHAR_CARRIAGE_RETURN=13,CHAR_SPACE=32,CHAR_EXCLAMATION=33,CHAR_DOUBLE_QUOTE=34,CHAR_SHARP=35,CHAR_PERCENT=37,CHAR_AMPERSAND=38,CHAR_SINGLE_QUOTE=39,CHAR_ASTERISK=42,CHAR_COMMA=44,CHAR_MINUS=45,CHAR_COLON=58,CHAR_EQUALS=61,CHAR_GREATER_THAN=62,CHAR_QUESTION=63,CHAR_COMMERCIAL_AT=64,CHAR_LEFT_SQUARE_BRACKET=91,CHAR_RIGHT_SQUARE_BRACKET=93,CHAR_GRAVE_ACCENT=96,CHAR_LEFT_CURLY_BRACKET=123,CHAR_VERTICAL_LINE=124,CHAR_RIGHT_CURLY_BRACKET=125,ESCAPE_SEQUENCES={};ESCAPE_SEQUENCES[0]="\\0";ESCAPE_SEQUENCES[7]="\\a";ESCAPE_SEQUENCES[8]="\\b";ESCAPE_SEQUENCES[9]="\\t";ESCAPE_SEQUENCES[10]="\\n";ESCAPE_SEQUENCES[11]="\\v";ESCAPE_SEQUENCES[12]="\\f";ESCAPE_SEQUENCES[13]="\\r";ESCAPE_SEQUENCES[27]="\\e";ESCAPE_SEQUENCES[34]='\\"';ESCAPE_SEQUENCES[92]="\\\\";ESCAPE_SEQUENCES[133]="\\N";ESCAPE_SEQUENCES[160]="\\_";ESCAPE_SEQUENCES[8232]="\\L";ESCAPE_SEQUENCES[8233]="\\P";var DEPRECATED_BOOLEANS_SYNTAX=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],DEPRECATED_BASE60_SYNTAX=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function compileStyleMap(Ra,qa){var nd,od,ld,ud,dd,pd,fd;if(qa===null)return{};for(nd={},od=Object.keys(qa),ld=0,ud=od.length;ld<ud;ld+=1)dd=od[ld],pd=String(qa[dd]),dd.slice(0,2)==="!!"&&(dd="tag:yaml.org,2002:"+dd.slice(2)),fd=Ra.compiledTypeMap.fallback[dd],fd&&_hasOwnProperty.call(fd.styleAliases,pd)&&(pd=fd.styleAliases[pd]),nd[dd]=pd;return nd}__name(compileStyleMap,"compileStyleMap");function encodeHex(Ra){var qa,nd,od;if(qa=Ra.toString(16).toUpperCase(),Ra<=255)nd="x",od=2;else if(Ra<=65535)nd="u",od=4;else if(Ra<=4294967295)nd="U",od=8;else throw new exception("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+nd+common.repeat("0",od-qa.length)+qa}__name(encodeHex,"encodeHex");var QUOTING_TYPE_SINGLE=1,QUOTING_TYPE_DOUBLE=2;function State(Ra){this.schema=Ra.schema||_default,this.indent=Math.max(1,Ra.indent||2),this.noArrayIndent=Ra.noArrayIndent||!1,this.skipInvalid=Ra.skipInvalid||!1,this.flowLevel=common.isNothing(Ra.flowLevel)?-1:Ra.flowLevel,this.styleMap=compileStyleMap(this.schema,Ra.styles||null),this.sortKeys=Ra.sortKeys||!1,this.lineWidth=Ra.lineWidth||80,this.noRefs=Ra.noRefs||!1,this.noCompatMode=Ra.noCompatMode||!1,this.condenseFlow=Ra.condenseFlow||!1,this.quotingType=Ra.quotingType==='"'?QUOTING_TYPE_DOUBLE:QUOTING_TYPE_SINGLE,this.forceQuotes=Ra.forceQuotes||!1,this.replacer=typeof Ra.replacer=="function"?Ra.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}__name(State,"State");function indentString(Ra,qa){for(var nd=common.repeat(" ",qa),od=0,ld=-1,ud="",dd,pd=Ra.length;od<pd;)ld=Ra.indexOf(`
`,od),ld===-1?(dd=Ra.slice(od),od=pd):(dd=Ra.slice(od,ld+1),od=ld+1),dd.length&&dd!==`
`&&(ud+=nd),ud+=dd;return ud}__name(indentString,"indentString");function generateNextLine(Ra,qa){return`
`+common.repeat(" ",Ra.indent*qa)}__name(generateNextLine,"generateNextLine");function testImplicitResolving(Ra,qa){var nd,od,ld;for(nd=0,od=Ra.implicitTypes.length;nd<od;nd+=1)if(ld=Ra.implicitTypes[nd],ld.resolve(qa))return!0;return!1}__name(testImplicitResolving,"testImplicitResolving");function isWhitespace(Ra){return Ra===CHAR_SPACE||Ra===CHAR_TAB}__name(isWhitespace,"isWhitespace");function isPrintable(Ra){return 32<=Ra&&Ra<=126||161<=Ra&&Ra<=55295&&Ra!==8232&&Ra!==8233||57344<=Ra&&Ra<=65533&&Ra!==CHAR_BOM||65536<=Ra&&Ra<=1114111}__name(isPrintable,"isPrintable");function isNsCharOrWhitespace(Ra){return isPrintable(Ra)&&Ra!==CHAR_BOM&&Ra!==CHAR_CARRIAGE_RETURN&&Ra!==CHAR_LINE_FEED}__name(isNsCharOrWhitespace,"isNsCharOrWhitespace");function isPlainSafe(Ra,qa,nd){var od=isNsCharOrWhitespace(Ra),ld=od&&!isWhitespace(Ra);return(nd?od:od&&Ra!==CHAR_COMMA&&Ra!==CHAR_LEFT_SQUARE_BRACKET&&Ra!==CHAR_RIGHT_SQUARE_BRACKET&&Ra!==CHAR_LEFT_CURLY_BRACKET&&Ra!==CHAR_RIGHT_CURLY_BRACKET)&&Ra!==CHAR_SHARP&&!(qa===CHAR_COLON&&!ld)||isNsCharOrWhitespace(qa)&&!isWhitespace(qa)&&Ra===CHAR_SHARP||qa===CHAR_COLON&&ld}__name(isPlainSafe,"isPlainSafe");function isPlainSafeFirst(Ra){return isPrintable(Ra)&&Ra!==CHAR_BOM&&!isWhitespace(Ra)&&Ra!==CHAR_MINUS&&Ra!==CHAR_QUESTION&&Ra!==CHAR_COLON&&Ra!==CHAR_COMMA&&Ra!==CHAR_LEFT_SQUARE_BRACKET&&Ra!==CHAR_RIGHT_SQUARE_BRACKET&&Ra!==CHAR_LEFT_CURLY_BRACKET&&Ra!==CHAR_RIGHT_CURLY_BRACKET&&Ra!==CHAR_SHARP&&Ra!==CHAR_AMPERSAND&&Ra!==CHAR_ASTERISK&&Ra!==CHAR_EXCLAMATION&&Ra!==CHAR_VERTICAL_LINE&&Ra!==CHAR_EQUALS&&Ra!==CHAR_GREATER_THAN&&Ra!==CHAR_SINGLE_QUOTE&&Ra!==CHAR_DOUBLE_QUOTE&&Ra!==CHAR_PERCENT&&Ra!==CHAR_COMMERCIAL_AT&&Ra!==CHAR_GRAVE_ACCENT}__name(isPlainSafeFirst,"isPlainSafeFirst");function isPlainSafeLast(Ra){return!isWhitespace(Ra)&&Ra!==CHAR_COLON}__name(isPlainSafeLast,"isPlainSafeLast");function codePointAt(Ra,qa){var nd=Ra.charCodeAt(qa),od;return nd>=55296&&nd<=56319&&qa+1<Ra.length&&(od=Ra.charCodeAt(qa+1),od>=56320&&od<=57343)?(nd-55296)*1024+od-56320+65536:nd}__name(codePointAt,"codePointAt");function needIndentIndicator(Ra){var qa=/^\n* /;return qa.test(Ra)}__name(needIndentIndicator,"needIndentIndicator");var STYLE_PLAIN=1,STYLE_SINGLE=2,STYLE_LITERAL=3,STYLE_FOLDED=4,STYLE_DOUBLE=5;function chooseScalarStyle(Ra,qa,nd,od,ld,ud,dd,pd){var fd,md=0,vd=null,Ad=!1,Nd=!1,Od=od!==-1,kd=-1,Ld=isPlainSafeFirst(codePointAt(Ra,0))&&isPlainSafeLast(codePointAt(Ra,Ra.length-1));if(qa||dd)for(fd=0;fd<Ra.length;md>=65536?fd+=2:fd++){if(md=codePointAt(Ra,fd),!isPrintable(md))return STYLE_DOUBLE;Ld=Ld&&isPlainSafe(md,vd,pd),vd=md}else{for(fd=0;fd<Ra.length;md>=65536?fd+=2:fd++){if(md=codePointAt(Ra,fd),md===CHAR_LINE_FEED)Ad=!0,Od&&(Nd=Nd||fd-kd-1>od&&Ra[kd+1]!==" ",kd=fd);else if(!isPrintable(md))return STYLE_DOUBLE;Ld=Ld&&isPlainSafe(md,vd,pd),vd=md}Nd=Nd||Od&&fd-kd-1>od&&Ra[kd+1]!==" "}return!Ad&&!Nd?Ld&&!dd&&!ld(Ra)?STYLE_PLAIN:ud===QUOTING_TYPE_DOUBLE?STYLE_DOUBLE:STYLE_SINGLE:nd>9&&needIndentIndicator(Ra)?STYLE_DOUBLE:dd?ud===QUOTING_TYPE_DOUBLE?STYLE_DOUBLE:STYLE_SINGLE:Nd?STYLE_FOLDED:STYLE_LITERAL}__name(chooseScalarStyle,"chooseScalarStyle");function writeScalar(Ra,qa,nd,od,ld){Ra.dump=function(){if(qa.length===0)return Ra.quotingType===QUOTING_TYPE_DOUBLE?'""':"''";if(!Ra.noCompatMode&&(DEPRECATED_BOOLEANS_SYNTAX.indexOf(qa)!==-1||DEPRECATED_BASE60_SYNTAX.test(qa)))return Ra.quotingType===QUOTING_TYPE_DOUBLE?'"'+qa+'"':"'"+qa+"'";var ud=Ra.indent*Math.max(1,nd),dd=Ra.lineWidth===-1?-1:Math.max(Math.min(Ra.lineWidth,40),Ra.lineWidth-ud),pd=od||Ra.flowLevel>-1&&nd>=Ra.flowLevel;function fd(md){return testImplicitResolving(Ra,md)}switch(__name(fd,"testAmbiguity"),chooseScalarStyle(qa,pd,Ra.indent,dd,fd,Ra.quotingType,Ra.forceQuotes&&!od,ld)){case STYLE_PLAIN:return qa;case STYLE_SINGLE:return"'"+qa.replace(/'/g,"''")+"'";case STYLE_LITERAL:return"|"+blockHeader(qa,Ra.indent)+dropEndingNewline(indentString(qa,ud));case STYLE_FOLDED:return">"+blockHeader(qa,Ra.indent)+dropEndingNewline(indentString(foldString(qa,dd),ud));case STYLE_DOUBLE:return'"'+escapeString(qa)+'"';default:throw new exception("impossible error: invalid scalar style")}}()}__name(writeScalar,"writeScalar");function blockHeader(Ra,qa){var nd=needIndentIndicator(Ra)?String(qa):"",od=Ra[Ra.length-1]===`
`,ld=od&&(Ra[Ra.length-2]===`
`||Ra===`
`),ud=ld?"+":od?"":"-";return nd+ud+`
`}__name(blockHeader,"blockHeader");function dropEndingNewline(Ra){return Ra[Ra.length-1]===`
`?Ra.slice(0,-1):Ra}__name(dropEndingNewline,"dropEndingNewline");function foldString(Ra,qa){for(var nd=/(\n+)([^\n]*)/g,od=function(){var md=Ra.indexOf(`
`);return md=md!==-1?md:Ra.length,nd.lastIndex=md,foldLine(Ra.slice(0,md),qa)}(),ld=Ra[0]===`
`||Ra[0]===" ",ud,dd;dd=nd.exec(Ra);){var pd=dd[1],fd=dd[2];ud=fd[0]===" ",od+=pd+(!ld&&!ud&&fd!==""?`
`:"")+foldLine(fd,qa),ld=ud}return od}__name(foldString,"foldString");function foldLine(Ra,qa){if(Ra===""||Ra[0]===" ")return Ra;for(var nd=/ [^ ]/g,od,ld=0,ud,dd=0,pd=0,fd="";od=nd.exec(Ra);)pd=od.index,pd-ld>qa&&(ud=dd>ld?dd:pd,fd+=`
`+Ra.slice(ld,ud),ld=ud+1),dd=pd;return fd+=`
`,Ra.length-ld>qa&&dd>ld?fd+=Ra.slice(ld,dd)+`
`+Ra.slice(dd+1):fd+=Ra.slice(ld),fd.slice(1)}__name(foldLine,"foldLine");function escapeString(Ra){for(var qa="",nd=0,od,ld=0;ld<Ra.length;nd>=65536?ld+=2:ld++)nd=codePointAt(Ra,ld),od=ESCAPE_SEQUENCES[nd],!od&&isPrintable(nd)?(qa+=Ra[ld],nd>=65536&&(qa+=Ra[ld+1])):qa+=od||encodeHex(nd);return qa}__name(escapeString,"escapeString");function writeFlowSequence(Ra,qa,nd){var od="",ld=Ra.tag,ud,dd,pd;for(ud=0,dd=nd.length;ud<dd;ud+=1)pd=nd[ud],Ra.replacer&&(pd=Ra.replacer.call(nd,String(ud),pd)),(writeNode(Ra,qa,pd,!1,!1)||typeof pd>"u"&&writeNode(Ra,qa,null,!1,!1))&&(od!==""&&(od+=","+(Ra.condenseFlow?"":" ")),od+=Ra.dump);Ra.tag=ld,Ra.dump="["+od+"]"}__name(writeFlowSequence,"writeFlowSequence");function writeBlockSequence(Ra,qa,nd,od){var ld="",ud=Ra.tag,dd,pd,fd;for(dd=0,pd=nd.length;dd<pd;dd+=1)fd=nd[dd],Ra.replacer&&(fd=Ra.replacer.call(nd,String(dd),fd)),(writeNode(Ra,qa+1,fd,!0,!0,!1,!0)||typeof fd>"u"&&writeNode(Ra,qa+1,null,!0,!0,!1,!0))&&((!od||ld!=="")&&(ld+=generateNextLine(Ra,qa)),Ra.dump&&CHAR_LINE_FEED===Ra.dump.charCodeAt(0)?ld+="-":ld+="- ",ld+=Ra.dump);Ra.tag=ud,Ra.dump=ld||"[]"}__name(writeBlockSequence,"writeBlockSequence");function writeFlowMapping(Ra,qa,nd){var od="",ld=Ra.tag,ud=Object.keys(nd),dd,pd,fd,md,vd;for(dd=0,pd=ud.length;dd<pd;dd+=1)vd="",od!==""&&(vd+=", "),Ra.condenseFlow&&(vd+='"'),fd=ud[dd],md=nd[fd],Ra.replacer&&(md=Ra.replacer.call(nd,fd,md)),writeNode(Ra,qa,fd,!1,!1)&&(Ra.dump.length>1024&&(vd+="? "),vd+=Ra.dump+(Ra.condenseFlow?'"':"")+":"+(Ra.condenseFlow?"":" "),writeNode(Ra,qa,md,!1,!1)&&(vd+=Ra.dump,od+=vd));Ra.tag=ld,Ra.dump="{"+od+"}"}__name(writeFlowMapping,"writeFlowMapping");function writeBlockMapping(Ra,qa,nd,od){var ld="",ud=Ra.tag,dd=Object.keys(nd),pd,fd,md,vd,Ad,Nd;if(Ra.sortKeys===!0)dd.sort();else if(typeof Ra.sortKeys=="function")dd.sort(Ra.sortKeys);else if(Ra.sortKeys)throw new exception("sortKeys must be a boolean or a function");for(pd=0,fd=dd.length;pd<fd;pd+=1)Nd="",(!od||ld!=="")&&(Nd+=generateNextLine(Ra,qa)),md=dd[pd],vd=nd[md],Ra.replacer&&(vd=Ra.replacer.call(nd,md,vd)),writeNode(Ra,qa+1,md,!0,!0,!0)&&(Ad=Ra.tag!==null&&Ra.tag!=="?"||Ra.dump&&Ra.dump.length>1024,Ad&&(Ra.dump&&CHAR_LINE_FEED===Ra.dump.charCodeAt(0)?Nd+="?":Nd+="? "),Nd+=Ra.dump,Ad&&(Nd+=generateNextLine(Ra,qa)),writeNode(Ra,qa+1,vd,!0,Ad)&&(Ra.dump&&CHAR_LINE_FEED===Ra.dump.charCodeAt(0)?Nd+=":":Nd+=": ",Nd+=Ra.dump,ld+=Nd));Ra.tag=ud,Ra.dump=ld||"{}"}__name(writeBlockMapping,"writeBlockMapping");function detectType(Ra,qa,nd){var od,ld,ud,dd,pd,fd;for(ld=nd?Ra.explicitTypes:Ra.implicitTypes,ud=0,dd=ld.length;ud<dd;ud+=1)if(pd=ld[ud],(pd.instanceOf||pd.predicate)&&(!pd.instanceOf||typeof qa=="object"&&qa instanceof pd.instanceOf)&&(!pd.predicate||pd.predicate(qa))){if(nd?pd.multi&&pd.representName?Ra.tag=pd.representName(qa):Ra.tag=pd.tag:Ra.tag="?",pd.represent){if(fd=Ra.styleMap[pd.tag]||pd.defaultStyle,_toString.call(pd.represent)==="[object Function]")od=pd.represent(qa,fd);else if(_hasOwnProperty.call(pd.represent,fd))od=pd.represent[fd](qa,fd);else throw new exception("!<"+pd.tag+'> tag resolver accepts not "'+fd+'" style');Ra.dump=od}return!0}return!1}__name(detectType,"detectType");function writeNode(Ra,qa,nd,od,ld,ud,dd){Ra.tag=null,Ra.dump=nd,detectType(Ra,nd,!1)||detectType(Ra,nd,!0);var pd=_toString.call(Ra.dump),fd=od,md;od&&(od=Ra.flowLevel<0||Ra.flowLevel>qa);var vd=pd==="[object Object]"||pd==="[object Array]",Ad,Nd;if(vd&&(Ad=Ra.duplicates.indexOf(nd),Nd=Ad!==-1),(Ra.tag!==null&&Ra.tag!=="?"||Nd||Ra.indent!==2&&qa>0)&&(ld=!1),Nd&&Ra.usedDuplicates[Ad])Ra.dump="*ref_"+Ad;else{if(vd&&Nd&&!Ra.usedDuplicates[Ad]&&(Ra.usedDuplicates[Ad]=!0),pd==="[object Object]")od&&Object.keys(Ra.dump).length!==0?(writeBlockMapping(Ra,qa,Ra.dump,ld),Nd&&(Ra.dump="&ref_"+Ad+Ra.dump)):(writeFlowMapping(Ra,qa,Ra.dump),Nd&&(Ra.dump="&ref_"+Ad+" "+Ra.dump));else if(pd==="[object Array]")od&&Ra.dump.length!==0?(Ra.noArrayIndent&&!dd&&qa>0?writeBlockSequence(Ra,qa-1,Ra.dump,ld):writeBlockSequence(Ra,qa,Ra.dump,ld),Nd&&(Ra.dump="&ref_"+Ad+Ra.dump)):(writeFlowSequence(Ra,qa,Ra.dump),Nd&&(Ra.dump="&ref_"+Ad+" "+Ra.dump));else if(pd==="[object String]")Ra.tag!=="?"&&writeScalar(Ra,Ra.dump,qa,ud,fd);else{if(pd==="[object Undefined]")return!1;if(Ra.skipInvalid)return!1;throw new exception("unacceptable kind of an object to dump "+pd)}Ra.tag!==null&&Ra.tag!=="?"&&(md=encodeURI(Ra.tag[0]==="!"?Ra.tag.slice(1):Ra.tag).replace(/!/g,"%21"),Ra.tag[0]==="!"?md="!"+md:md.slice(0,18)==="tag:yaml.org,2002:"?md="!!"+md.slice(18):md="!<"+md+">",Ra.dump=md+" "+Ra.dump)}return!0}__name(writeNode,"writeNode");function getDuplicateReferences(Ra,qa){var nd=[],od=[],ld,ud;for(inspectNode(Ra,nd,od),ld=0,ud=od.length;ld<ud;ld+=1)qa.duplicates.push(nd[od[ld]]);qa.usedDuplicates=new Array(ud)}__name(getDuplicateReferences,"getDuplicateReferences");function inspectNode(Ra,qa,nd){var od,ld,ud;if(Ra!==null&&typeof Ra=="object")if(ld=qa.indexOf(Ra),ld!==-1)nd.indexOf(ld)===-1&&nd.push(ld);else if(qa.push(Ra),Array.isArray(Ra))for(ld=0,ud=Ra.length;ld<ud;ld+=1)inspectNode(Ra[ld],qa,nd);else for(od=Object.keys(Ra),ld=0,ud=od.length;ld<ud;ld+=1)inspectNode(Ra[od[ld]],qa,nd)}__name(inspectNode,"inspectNode");function dump$1(Ra,qa){qa=qa||{};var nd=new State(qa);nd.noRefs||getDuplicateReferences(Ra,nd);var od=Ra;return nd.replacer&&(od=nd.replacer.call({"":od},"",od)),writeNode(nd,0,od,!0,!0)?nd.dump+`
`:""}__name(dump$1,"dump$1");function renamed(Ra,qa){return function(){throw new Error("Function yaml."+Ra+" is removed in js-yaml 4. Use yaml."+qa+" instead, which is now safe by default.")}}__name(renamed,"renamed");var JSON_SCHEMA=json,load=loader$1.load;/*! Bundled license information:
js-yaml/dist/js-yaml.mjs:
(*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT *)
*/const defaultIconDimensions=Object.freeze({left:0,top:0,width:16,height:16}),defaultIconTransformations=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),defaultIconProps=Object.freeze({...defaultIconDimensions,...defaultIconTransformations}),defaultExtendedIconProps=Object.freeze({...defaultIconProps,body:"",hidden:!1}),defaultIconSizeCustomisations=Object.freeze({width:null,height:null}),defaultIconCustomisations=Object.freeze({...defaultIconSizeCustomisations,...defaultIconTransformations}),matchIconName=/^[a-z0-9]+(-[a-z0-9]+)*$/,stringToIcon=(Ra,qa,nd,od="")=>{const ld=Ra.split(":");if(Ra.slice(0,1)==="@"){if(ld.length<2||ld.length>3)return null;od=ld.shift().slice(1)}if(ld.length>3||!ld.length)return null;if(ld.length>1){const pd=ld.pop(),fd=ld.pop(),md={provider:ld.length>0?ld[0]:od,prefix:fd,name:pd};return validateIconName(md)?md:null}const ud=ld[0],dd=ud.split("-");if(dd.length>1){const pd={provider:od,prefix:dd.shift(),name:dd.join("-")};return validateIconName(pd)?pd:null}if(nd&&od===""){const pd={provider:od,prefix:"",name:ud};return validateIconName(pd,nd)?pd:null}return null},validateIconName=(Ra,qa)=>Ra?!!((Ra.provider===""||Ra.provider.match(matchIconName))&&(qa&&Ra.prefix===""||Ra.prefix.match(matchIconName))&&Ra.name.match(matchIconName)):!1;function mergeIconTransformations(Ra,qa){const nd={};!Ra.hFlip!=!qa.hFlip&&(nd.hFlip=!0),!Ra.vFlip!=!qa.vFlip&&(nd.vFlip=!0);const od=((Ra.rotate||0)+(qa.rotate||0))%4;return od&&(nd.rotate=od),nd}function mergeIconData(Ra,qa){const nd=mergeIconTransformations(Ra,qa);for(const od in defaultExtendedIconProps)od in defaultIconTransformations?od in Ra&&!(od in nd)&&(nd[od]=defaultIconTransformations[od]):od in qa?nd[od]=qa[od]:od in Ra&&(nd[od]=Ra[od]);return nd}function getIconsTree(Ra,qa){const nd=Ra.icons,od=Ra.aliases||Object.create(null),ld=Object.create(null);function ud(dd){if(nd[dd])return ld[dd]=[];if(!(dd in ld)){ld[dd]=null;const pd=od[dd]&&od[dd].parent,fd=pd&&ud(pd);fd&&(ld[dd]=[pd].concat(fd))}return ld[dd]}return(qa||Object.keys(nd).concat(Object.keys(od))).forEach(ud),ld}function internalGetIconData(Ra,qa,nd){const od=Ra.icons,ld=Ra.aliases||Object.create(null);let ud={};function dd(pd){ud=mergeIconData(od[pd]||ld[pd],ud)}return dd(qa),nd.forEach(dd),mergeIconData(Ra,ud)}function getIconData(Ra,qa){if(Ra.icons[qa])return internalGetIconData(Ra,qa,[]);const nd=getIconsTree(Ra,[qa])[qa];return nd?internalGetIconData(Ra,qa,nd):null}const unitsSplit=/(-?[0-9.]*[0-9]+[0-9.]*)/g,unitsTest=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function calculateSize(Ra,qa,nd){if(qa===1)return Ra;if(nd=nd||100,typeof Ra=="number")return Math.ceil(Ra*qa*nd)/nd;if(typeof Ra!="string")return Ra;const od=Ra.split(unitsSplit);if(od===null||!od.length)return Ra;const ld=[];let ud=od.shift(),dd=unitsTest.test(ud);for(;;){if(dd){const pd=parseFloat(ud);isNaN(pd)?ld.push(ud):ld.push(Math.ceil(pd*qa*nd)/nd)}else ld.push(ud);if(ud=od.shift(),ud===void 0)return ld.join("");dd=!dd}}function splitSVGDefs(Ra,qa="defs"){let nd="";const od=Ra.indexOf("<"+qa);for(;od>=0;){const ld=Ra.indexOf(">",od),ud=Ra.indexOf("</"+qa);if(ld===-1||ud===-1)break;const dd=Ra.indexOf(">",ud);if(dd===-1)break;nd+=Ra.slice(ld+1,ud).trim(),Ra=Ra.slice(0,od).trim()+Ra.slice(dd+1)}return{defs:nd,content:Ra}}function mergeDefsAndContent(Ra,qa){return Ra?"<defs>"+Ra+"</defs>"+qa:qa}function wrapSVGContent(Ra,qa,nd){const od=splitSVGDefs(Ra);return mergeDefsAndContent(od.defs,qa+od.content+nd)}const isUnsetKeyword=Ra=>Ra==="unset"||Ra==="undefined"||Ra==="none";function iconToSVG(Ra,qa){const nd={...defaultIconProps,...Ra},od={...defaultIconCustomisations,...qa},ld={left:nd.left,top:nd.top,width:nd.width,height:nd.height};let ud=nd.body;[nd,od].forEach(Ld=>{const Gd=[],jd=Ld.hFlip,Fd=Ld.vFlip;let Ud=Ld.rotate;jd?Fd?Ud+=2:(Gd.push("translate("+(ld.width+ld.left).toString()+" "+(0-ld.top).toString()+")"),Gd.push("scale(-1 1)"),ld.top=ld.left=0):Fd&&(Gd.push("translate("+(0-ld.left).toString()+" "+(ld.height+ld.top).toString()+")"),Gd.push("scale(1 -1)"),ld.top=ld.left=0);let qd;switch(Ud<0&&(Ud-=Math.floor(Ud/4)*4),Ud=Ud%4,Ud){case 1:qd=ld.height/2+ld.top,Gd.unshift("rotate(90 "+qd.toString()+" "+qd.toString()+")");break;case 2:Gd.unshift("rotate(180 "+(ld.width/2+ld.left).toString()+" "+(ld.height/2+ld.top).toString()+")");break;case 3:qd=ld.width/2+ld.left,Gd.unshift("rotate(-90 "+qd.toString()+" "+qd.toString()+")");break}Ud%2===1&&(ld.left!==ld.top&&(qd=ld.left,ld.left=ld.top,ld.top=qd),ld.width!==ld.height&&(qd=ld.width,ld.width=ld.height,ld.height=qd)),Gd.length&&(ud=wrapSVGContent(ud,'<g transform="'+Gd.join(" ")+'">',"</g>"))});const dd=od.width,pd=od.height,fd=ld.width,md=ld.height;let vd,Ad;dd===null?(Ad=pd===null?"1em":pd==="auto"?md:pd,vd=calculateSize(Ad,fd/md)):(vd=dd==="auto"?fd:dd,Ad=pd===null?calculateSize(vd,md/fd):pd==="auto"?md:pd);const Nd={},Od=(Ld,Gd)=>{isUnsetKeyword(Gd)||(Nd[Ld]=Gd.toString())};Od("width",vd),Od("height",Ad);const kd=[ld.left,ld.top,fd,md];return Nd.viewBox=kd.join(" "),{attributes:Nd,viewBox:kd,body:ud}}const regex=/\sid="(\S+)"/g,randomPrefix="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let counter=0;function replaceIDs(Ra,qa=randomPrefix){const nd=[];let od;for(;od=regex.exec(Ra);)nd.push(od[1]);if(!nd.length)return Ra;const ld="suffix"+(Math.random()*16777216|Date.now()).toString(16);return nd.forEach(ud=>{const dd=typeof qa=="function"?qa(ud):qa+(counter++).toString(),pd=ud.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");Ra=Ra.replace(new RegExp('([#;"])('+pd+')([")]|\\.[a-z])',"g"),"$1"+dd+ld+"$3")}),Ra=Ra.replace(new RegExp(ld,"g"),""),Ra}function iconToHTML(Ra,qa){let nd=Ra.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const od in qa)nd+=" "+od+'="'+qa[od]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+nd+">"+Ra+"</svg>"}var unknownIcon={body:'<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/><text transform="translate(21.16 64.67)" style="fill: #fff; font-family: ArialMT, Arial; font-size: 67.75px;"><tspan x="0" y="0">?</tspan></text></g>',height:80,width:80},iconsStore=new Map,loaderStore=new Map,registerIconPacks=__name(Ra=>{for(const qa of Ra){if(!qa.name)throw new Error('Invalid icon loader. Must have a "name" property with non-empty string value.');if(log$1.debug("Registering icon pack:",qa.name),"loader"in qa)loaderStore.set(qa.name,qa.loader);else if("icons"in qa)iconsStore.set(qa.name,qa.icons);else throw log$1.error("Invalid icon loader:",qa),new Error('Invalid icon loader. Must have either "icons" or "loader" property.')}},"registerIconPacks"),getRegisteredIconData=__name(async(Ra,qa)=>{const nd=stringToIcon(Ra,!0,qa!==void 0);if(!nd)throw new Error(`Invalid icon name: ${Ra}`);const od=nd.prefix||qa;if(!od)throw new Error(`Icon name must contain a prefix: ${Ra}`);let ld=iconsStore.get(od);if(!ld){const dd=loaderStore.get(od);if(!dd)throw new Error(`Icon set not found: ${nd.prefix}`);try{ld={...await dd(),prefix:od},iconsStore.set(od,ld)}catch(pd){throw log$1.error(pd),new Error(`Failed to load icon set: ${nd.prefix}`)}}const ud=getIconData(ld,nd.name);if(!ud)throw new Error(`Icon not found: ${Ra}`);return ud},"getRegisteredIconData"),getIconSVG=__name(async(Ra,qa)=>{let nd;try{nd=await getRegisteredIconData(Ra,qa==null?void 0:qa.fallbackPrefix)}catch(ud){log$1.error(ud),nd=unknownIcon}const od=iconToSVG(nd,qa);return iconToHTML(replaceIDs(od.body),od.attributes)},"getIconSVG"),getSubGraphTitleMargins=__name(({flowchart:Ra})=>{var ld,ud;const qa=((ld=Ra==null?void 0:Ra.subGraphTitleMargin)==null?void 0:ld.top)??0,nd=((ud=Ra==null?void 0:Ra.subGraphTitleMargin)==null?void 0:ud.bottom)??0,od=qa+nd;return{subGraphTitleTopMargin:qa,subGraphTitleBottomMargin:nd,subGraphTitleTotalMargin:od}},"getSubGraphTitleMargins"),dist={},constants={};Object.defineProperty(constants,"__esModule",{value:!0});constants.BLANK_URL=constants.relativeFirstCharacters=constants.whitespaceEscapeCharsRegex=constants.urlSchemeRegex=constants.ctrlCharactersRegex=constants.htmlCtrlEntityRegex=constants.htmlEntitiesRegex=constants.invalidProtocolRegex=void 0;constants.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im;constants.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g;constants.htmlCtrlEntityRegex=/&(newline|tab);/gi;constants.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim;constants.urlSchemeRegex=/^.+(:|&colon;)/gim;constants.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g;constants.relativeFirstCharacters=[".","/"];constants.BLANK_URL="about:blank";Object.defineProperty(dist,"__esModule",{value:!0});var sanitizeUrl_1=dist.sanitizeUrl=void 0,constants_1=constants;function isRelativeUrlWithoutProtocol(Ra){return constants_1.relativeFirstCharacters.indexOf(Ra[0])>-1}function decodeHtmlCharacters(Ra){var qa=Ra.replace(constants_1.ctrlCharactersRegex,"");return qa.replace(constants_1.htmlEntitiesRegex,function(nd,od){return String.fromCharCode(od)})}function isValidUrl(Ra){return URL.canParse(Ra)}function decodeURI$1(Ra){try{return decodeURIComponent(Ra)}catch{return Ra}}function sanitizeUrl(Ra){if(!Ra)return constants_1.BLANK_URL;var qa,nd=decodeURI$1(Ra.trim());do nd=decodeHtmlCharacters(nd).replace(constants_1.htmlCtrlEntityRegex,"").replace(constants_1.ctrlCharactersRegex,"").replace(constants_1.whitespaceEscapeCharsRegex,"").trim(),nd=decodeURI$1(nd),qa=nd.match(constants_1.ctrlCharactersRegex)||nd.match(constants_1.htmlEntitiesRegex)||nd.match(constants_1.htmlCtrlEntityRegex)||nd.match(constants_1.whitespaceEscapeCharsRegex);while(qa&&qa.length>0);var od=nd;if(!od)return constants_1.BLANK_URL;if(isRelativeUrlWithoutProtocol(od))return od;var ld=od.trimStart(),ud=ld.match(constants_1.urlSchemeRegex);if(!ud)return od;var dd=ud[0].toLowerCase().trim();if(constants_1.invalidProtocolRegex.test(dd))return constants_1.BLANK_URL;var pd=ld.replace(/\\/g,"/");if(dd==="mailto:"||dd.includes("://"))return pd;if(dd==="http:"||dd==="https:"){if(!isValidUrl(pd))return constants_1.BLANK_URL;var fd=new URL(pd);return fd.protocol=fd.protocol.toLowerCase(),fd.hostname=fd.hostname.toLowerCase(),fd.toString()}return pd}sanitizeUrl_1=dist.sanitizeUrl=sanitizeUrl;var noop$4={value:()=>{}};function dispatch(){for(var Ra=0,qa=arguments.length,nd={},od;Ra<qa;++Ra){if(!(od=arguments[Ra]+"")||od in nd||/[\s.]/.test(od))throw new Error("illegal type: "+od);nd[od]=[]}return new Dispatch(nd)}function Dispatch(Ra){this._=Ra}function parseTypenames$1(Ra,qa){return Ra.trim().split(/^|\s+/).map(function(nd){var od="",ld=nd.indexOf(".");if(ld>=0&&(od=nd.slice(ld+1),nd=nd.slice(0,ld)),nd&&!qa.hasOwnProperty(nd))throw new Error("unknown type: "+nd);return{type:nd,name:od}})}Dispatch.prototype=dispatch.prototype={constructor:Dispatch,on:function(Ra,qa){var nd=this._,od=parseTypenames$1(Ra+"",nd),ld,ud=-1,dd=od.length;if(arguments.length<2){for(;++ud<dd;)if((ld=(Ra=od[ud]).type)&&(ld=get$1(nd[ld],Ra.name)))return ld;return}if(qa!=null&&typeof qa!="function")throw new Error("invalid callback: "+qa);for(;++ud<dd;)if(ld=(Ra=od[ud]).type)nd[ld]=set$2(nd[ld],Ra.name,qa);else if(qa==null)for(ld in nd)nd[ld]=set$2(nd[ld],Ra.name,null);return this},copy:function(){var Ra={},qa=this._;for(var nd in qa)Ra[nd]=qa[nd].slice();return new Dispatch(Ra)},call:function(Ra,qa){if((ld=arguments.length-2)>0)for(var nd=new Array(ld),od=0,ld,ud;od<ld;++od)nd[od]=arguments[od+2];if(!this._.hasOwnProperty(Ra))throw new Error("unknown type: "+Ra);for(ud=this._[Ra],od=0,ld=ud.length;od<ld;++od)ud[od].value.apply(qa,nd)},apply:function(Ra,qa,nd){if(!this._.hasOwnProperty(Ra))throw new Error("unknown type: "+Ra);for(var od=this._[Ra],ld=0,ud=od.length;ld<ud;++ld)od[ld].value.apply(qa,nd)}};function get$1(Ra,qa){for(var nd=0,od=Ra.length,ld;nd<od;++nd)if((ld=Ra[nd]).name===qa)return ld.value}function set$2(Ra,qa,nd){for(var od=0,ld=Ra.length;od<ld;++od)if(Ra[od].name===qa){Ra[od]=noop$4,Ra=Ra.slice(0,od).concat(Ra.slice(od+1));break}return nd!=null&&Ra.push({name:qa,value:nd}),Ra}var xhtml="http://www.w3.org/1999/xhtml";const namespaces={svg:"http://www.w3.org/2000/svg",xhtml,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function namespace(Ra){var qa=Ra+="",nd=qa.indexOf(":");return nd>=0&&(qa=Ra.slice(0,nd))!=="xmlns"&&(Ra=Ra.slice(nd+1)),namespaces.hasOwnProperty(qa)?{space:namespaces[qa],local:Ra}:Ra}function creatorInherit(Ra){return function(){var qa=this.ownerDocument,nd=this.namespaceURI;return nd===xhtml&&qa.documentElement.namespaceURI===xhtml?qa.createElement(Ra):qa.createElementNS(nd,Ra)}}function creatorFixed(Ra){return function(){return this.ownerDocument.createElementNS(Ra.space,Ra.local)}}function creator(Ra){var qa=namespace(Ra);return(qa.local?creatorFixed:creatorInherit)(qa)}function none(){}function selector(Ra){return Ra==null?none:function(){return this.querySelector(Ra)}}function selection_select(Ra){typeof Ra!="function"&&(Ra=selector(Ra));for(var qa=this._groups,nd=qa.length,od=new Array(nd),ld=0;ld<nd;++ld)for(var ud=qa[ld],dd=ud.length,pd=od[ld]=new Array(dd),fd,md,vd=0;vd<dd;++vd)(fd=ud[vd])&&(md=Ra.call(fd,fd.__data__,vd,ud))&&("__data__"in fd&&(md.__data__=fd.__data__),pd[vd]=md);return new Selection$1(od,this._parents)}function array$2(Ra){return Ra==null?[]:Array.isArray(Ra)?Ra:Array.from(Ra)}function empty(){return[]}function selectorAll(Ra){return Ra==null?empty:function(){return this.querySelectorAll(Ra)}}function arrayAll(Ra){return function(){return array$2(Ra.apply(this,arguments))}}function selection_selectAll(Ra){typeof Ra=="function"?Ra=arrayAll(Ra):Ra=selectorAll(Ra);for(var qa=this._groups,nd=qa.length,od=[],ld=[],ud=0;ud<nd;++ud)for(var dd=qa[ud],pd=dd.length,fd,md=0;md<pd;++md)(fd=dd[md])&&(od.push(Ra.call(fd,fd.__data__,md,dd)),ld.push(fd));return new Selection$1(od,ld)}function matcher(Ra){return function(){return this.matches(Ra)}}function childMatcher(Ra){return function(qa){return qa.matches(Ra)}}var find=Array.prototype.find;function childFind(Ra){return function(){return find.call(this.children,Ra)}}function childFirst(){return this.firstElementChild}function selection_selectChild(Ra){return this.select(Ra==null?childFirst:childFind(typeof Ra=="function"?Ra:childMatcher(Ra)))}var filter$2=Array.prototype.filter;function children$1(){return Array.from(this.children)}function childrenFilter(Ra){return function(){return filter$2.call(this.children,Ra)}}function selection_selectChildren(Ra){return this.selectAll(Ra==null?children$1:childrenFilter(typeof Ra=="function"?Ra:childMatcher(Ra)))}function selection_filter(Ra){typeof Ra!="function"&&(Ra=matcher(Ra));for(var qa=this._groups,nd=qa.length,od=new Array(nd),ld=0;ld<nd;++ld)for(var ud=qa[ld],dd=ud.length,pd=od[ld]=[],fd,md=0;md<dd;++md)(fd=ud[md])&&Ra.call(fd,fd.__data__,md,ud)&&pd.push(fd);return new Selection$1(od,this._parents)}function sparse(Ra){return new Array(Ra.length)}function selection_enter(){return new Selection$1(this._enter||this._groups.map(sparse),this._parents)}function EnterNode(Ra,qa){this.ownerDocument=Ra.ownerDocument,this.namespaceURI=Ra.namespaceURI,this._next=null,this._parent=Ra,this.__data__=qa}EnterNode.prototype={constructor:EnterNode,appendChild:function(Ra){return this._parent.insertBefore(Ra,this._next)},insertBefore:function(Ra,qa){return this._parent.insertBefore(Ra,qa)},querySelector:function(Ra){return this._parent.querySelector(Ra)},querySelectorAll:function(Ra){return this._parent.querySelectorAll(Ra)}};function constant$5(Ra){return function(){return Ra}}function bindIndex(Ra,qa,nd,od,ld,ud){for(var dd=0,pd,fd=qa.length,md=ud.length;dd<md;++dd)(pd=qa[dd])?(pd.__data__=ud[dd],od[dd]=pd):nd[dd]=new EnterNode(Ra,ud[dd]);for(;dd<fd;++dd)(pd=qa[dd])&&(ld[dd]=pd)}function bindKey(Ra,qa,nd,od,ld,ud,dd){var pd,fd,md=new Map,vd=qa.length,Ad=ud.length,Nd=new Array(vd),Od;for(pd=0;pd<vd;++pd)(fd=qa[pd])&&(Nd[pd]=Od=dd.call(fd,fd.__data__,pd,qa)+"",md.has(Od)?ld[pd]=fd:md.set(Od,fd));for(pd=0;pd<Ad;++pd)Od=dd.call(Ra,ud[pd],pd,ud)+"",(fd=md.get(Od))?(od[pd]=fd,fd.__data__=ud[pd],md.delete(Od)):nd[pd]=new EnterNode(Ra,ud[pd]);for(pd=0;pd<vd;++pd)(fd=qa[pd])&&md.get(Nd[pd])===fd&&(ld[pd]=fd)}function datum(Ra){return Ra.__data__}function selection_data(Ra,qa){if(!arguments.length)return Array.from(this,datum);var nd=qa?bindKey:bindIndex,od=this._parents,ld=this._groups;typeof Ra!="function"&&(Ra=constant$5(Ra));for(var ud=ld.length,dd=new Array(ud),pd=new Array(ud),fd=new Array(ud),md=0;md<ud;++md){var vd=od[md],Ad=ld[md],Nd=Ad.length,Od=arraylike(Ra.call(vd,vd&&vd.__data__,md,od)),kd=Od.length,Ld=pd[md]=new Array(kd),Gd=dd[md]=new Array(kd),jd=fd[md]=new Array(Nd);nd(vd,Ad,Ld,Gd,jd,Od,qa);for(var Fd=0,Ud=0,qd,zd;Fd<kd;++Fd)if(qd=Ld[Fd]){for(Fd>=Ud&&(Ud=Fd+1);!(zd=Gd[Ud])&&++Ud<kd;);qd._next=zd||null}}return dd=new Selection$1(dd,od),dd._enter=pd,dd._exit=fd,dd}function arraylike(Ra){return typeof Ra=="object"&&"length"in Ra?Ra:Array.from(Ra)}function selection_exit(){return new Selection$1(this._exit||this._groups.map(sparse),this._parents)}function selection_join(Ra,qa,nd){var od=this.enter(),ld=this,ud=this.exit();return typeof Ra=="function"?(od=Ra(od),od&&(od=od.selection())):od=od.append(Ra+""),qa!=null&&(ld=qa(ld),ld&&(ld=ld.selection())),nd==null?ud.remove():nd(ud),od&&ld?od.merge(ld).order():ld}function selection_merge(Ra){for(var qa=Ra.selection?Ra.selection():Ra,nd=this._groups,od=qa._groups,ld=nd.length,ud=od.length,dd=Math.min(ld,ud),pd=new Array(ld),fd=0;fd<dd;++fd)for(var md=nd[fd],vd=od[fd],Ad=md.length,Nd=pd[fd]=new Array(Ad),Od,kd=0;kd<Ad;++kd)(Od=md[kd]||vd[kd])&&(Nd[kd]=Od);for(;fd<ld;++fd)pd[fd]=nd[fd];return new Selection$1(pd,this._parents)}function selection_order(){for(var Ra=this._groups,qa=-1,nd=Ra.length;++qa<nd;)for(var od=Ra[qa],ld=od.length-1,ud=od[ld],dd;--ld>=0;)(dd=od[ld])&&(ud&&dd.compareDocumentPosition(ud)^4&&ud.parentNode.insertBefore(dd,ud),ud=dd);return this}function selection_sort(Ra){Ra||(Ra=ascending);function qa(Ad,Nd){return Ad&&Nd?Ra(Ad.__data__,Nd.__data__):!Ad-!Nd}for(var nd=this._groups,od=nd.length,ld=new Array(od),ud=0;ud<od;++ud){for(var dd=nd[ud],pd=dd.length,fd=ld[ud]=new Array(pd),md,vd=0;vd<pd;++vd)(md=dd[vd])&&(fd[vd]=md);fd.sort(qa)}return new Selection$1(ld,this._parents).order()}function ascending(Ra,qa){return Ra<qa?-1:Ra>qa?1:Ra>=qa?0:NaN}function selection_call(){var Ra=arguments[0];return arguments[0]=this,Ra.apply(null,arguments),this}function selection_nodes(){return Array.from(this)}function selection_node(){for(var Ra=this._groups,qa=0,nd=Ra.length;qa<nd;++qa)for(var od=Ra[qa],ld=0,ud=od.length;ld<ud;++ld){var dd=od[ld];if(dd)return dd}return null}function selection_size(){let Ra=0;for(const qa of this)++Ra;return Ra}function selection_empty(){return!this.node()}function selection_each(Ra){for(var qa=this._groups,nd=0,od=qa.length;nd<od;++nd)for(var ld=qa[nd],ud=0,dd=ld.length,pd;ud<dd;++ud)(pd=ld[ud])&&Ra.call(pd,pd.__data__,ud,ld);return this}function attrRemove$1(Ra){return function(){this.removeAttribute(Ra)}}function attrRemoveNS$1(Ra){return function(){this.removeAttributeNS(Ra.space,Ra.local)}}function attrConstant$1(Ra,qa){return function(){this.setAttribute(Ra,qa)}}function attrConstantNS$1(Ra,qa){return function(){this.setAttributeNS(Ra.space,Ra.local,qa)}}function attrFunction$1(Ra,qa){return function(){var nd=qa.apply(this,arguments);nd==null?this.removeAttribute(Ra):this.setAttribute(Ra,nd)}}function attrFunctionNS$1(Ra,qa){return function(){var nd=qa.apply(this,arguments);nd==null?this.removeAttributeNS(Ra.space,Ra.local):this.setAttributeNS(Ra.space,Ra.local,nd)}}function selection_attr(Ra,qa){var nd=namespace(Ra);if(arguments.length<2){var od=this.node();return nd.local?od.getAttributeNS(nd.space,nd.local):od.getAttribute(nd)}return this.each((qa==null?nd.local?attrRemoveNS$1:attrRemove$1:typeof qa=="function"?nd.local?attrFunctionNS$1:attrFunction$1:nd.local?attrConstantNS$1:attrConstant$1)(nd,qa))}function defaultView(Ra){return Ra.ownerDocument&&Ra.ownerDocument.defaultView||Ra.document&&Ra||Ra.defaultView}function styleRemove$1(Ra){return function(){this.style.removeProperty(Ra)}}function styleConstant$1(Ra,qa,nd){return function(){this.style.setProperty(Ra,qa,nd)}}function styleFunction$1(Ra,qa,nd){return function(){var od=qa.apply(this,arguments);od==null?this.style.removeProperty(Ra):this.style.setProperty(Ra,od,nd)}}function selection_style(Ra,qa,nd){return arguments.length>1?this.each((qa==null?styleRemove$1:typeof qa=="function"?styleFunction$1:styleConstant$1)(Ra,qa,nd??"")):styleValue(this.node(),Ra)}function styleValue(Ra,qa){return Ra.style.getPropertyValue(qa)||defaultView(Ra).getComputedStyle(Ra,null).getPropertyValue(qa)}function propertyRemove(Ra){return function(){delete this[Ra]}}function propertyConstant(Ra,qa){return function(){this[Ra]=qa}}function propertyFunction(Ra,qa){return function(){var nd=qa.apply(this,arguments);nd==null?delete this[Ra]:this[Ra]=nd}}function selection_property(Ra,qa){return arguments.length>1?this.each((qa==null?propertyRemove:typeof qa=="function"?propertyFunction:propertyConstant)(Ra,qa)):this.node()[Ra]}function classArray(Ra){return Ra.trim().split(/^|\s+/)}function classList(Ra){return Ra.classList||new ClassList(Ra)}function ClassList(Ra){this._node=Ra,this._names=classArray(Ra.getAttribute("class")||"")}ClassList.prototype={add:function(Ra){var qa=this._names.indexOf(Ra);qa<0&&(this._names.push(Ra),this._node.setAttribute("class",this._names.join(" ")))},remove:function(Ra){var qa=this._names.indexOf(Ra);qa>=0&&(this._names.splice(qa,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(Ra){return this._names.indexOf(Ra)>=0}};function classedAdd(Ra,qa){for(var nd=classList(Ra),od=-1,ld=qa.length;++od<ld;)nd.add(qa[od])}function classedRemove(Ra,qa){for(var nd=classList(Ra),od=-1,ld=qa.length;++od<ld;)nd.remove(qa[od])}function classedTrue(Ra){return function(){classedAdd(this,Ra)}}function classedFalse(Ra){return function(){classedRemove(this,Ra)}}function classedFunction(Ra,qa){return function(){(qa.apply(this,arguments)?classedAdd:classedRemove)(this,Ra)}}function selection_classed(Ra,qa){var nd=classArray(Ra+"");if(arguments.length<2){for(var od=classList(this.node()),ld=-1,ud=nd.length;++ld<ud;)if(!od.contains(nd[ld]))return!1;return!0}return this.each((typeof qa=="function"?classedFunction:qa?classedTrue:classedFalse)(nd,qa))}function textRemove(){this.textContent=""}function textConstant$1(Ra){return function(){this.textContent=Ra}}function textFunction$1(Ra){return function(){var qa=Ra.apply(this,arguments);this.textContent=qa??""}}function selection_text(Ra){return arguments.length?this.each(Ra==null?textRemove:(typeof Ra=="function"?textFunction$1:textConstant$1)(Ra)):this.node().textContent}function htmlRemove(){this.innerHTML=""}function htmlConstant(Ra){return function(){this.innerHTML=Ra}}function htmlFunction(Ra){return function(){var qa=Ra.apply(this,arguments);this.innerHTML=qa??""}}function selection_html(Ra){return arguments.length?this.each(Ra==null?htmlRemove:(typeof Ra=="function"?htmlFunction:htmlConstant)(Ra)):this.node().innerHTML}function raise(){this.nextSibling&&this.parentNode.appendChild(this)}function selection_raise(){return this.each(raise)}function lower(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function selection_lower(){return this.each(lower)}function selection_append(Ra){var qa=typeof Ra=="function"?Ra:creator(Ra);return this.select(function(){return this.appendChild(qa.apply(this,arguments))})}function constantNull(){return null}function selection_insert(Ra,qa){var nd=typeof Ra=="function"?Ra:creator(Ra),od=qa==null?constantNull:typeof qa=="function"?qa:selector(qa);return this.select(function(){return this.insertBefore(nd.apply(this,arguments),od.apply(this,arguments)||null)})}function remove(){var Ra=this.parentNode;Ra&&Ra.removeChild(this)}function selection_remove(){return this.each(remove)}function selection_cloneShallow(){var Ra=this.cloneNode(!1),qa=this.parentNode;return qa?qa.insertBefore(Ra,this.nextSibling):Ra}function selection_cloneDeep(){var Ra=this.cloneNode(!0),qa=this.parentNode;return qa?qa.insertBefore(Ra,this.nextSibling):Ra}function selection_clone(Ra){return this.select(Ra?selection_cloneDeep:selection_cloneShallow)}function selection_datum(Ra){return arguments.length?this.property("__data__",Ra):this.node().__data__}function contextListener(Ra){return function(qa){Ra.call(this,qa,this.__data__)}}function parseTypenames(Ra){return Ra.trim().split(/^|\s+/).map(function(qa){var nd="",od=qa.indexOf(".");return od>=0&&(nd=qa.slice(od+1),qa=qa.slice(0,od)),{type:qa,name:nd}})}function onRemove(Ra){return function(){var qa=this.__on;if(qa){for(var nd=0,od=-1,ld=qa.length,ud;nd<ld;++nd)ud=qa[nd],(!Ra.type||ud.type===Ra.type)&&ud.name===Ra.name?this.removeEventListener(ud.type,ud.listener,ud.options):qa[++od]=ud;++od?qa.length=od:delete this.__on}}}function onAdd(Ra,qa,nd){return function(){var od=this.__on,ld,ud=contextListener(qa);if(od){for(var dd=0,pd=od.length;dd<pd;++dd)if((ld=od[dd]).type===Ra.type&&ld.name===Ra.name){this.removeEventListener(ld.type,ld.listener,ld.options),this.addEventListener(ld.type,ld.listener=ud,ld.options=nd),ld.value=qa;return}}this.addEventListener(Ra.type,ud,nd),ld={type:Ra.type,name:Ra.name,value:qa,listener:ud,options:nd},od?od.push(ld):this.__on=[ld]}}function selection_on(Ra,qa,nd){var od=parseTypenames(Ra+""),ld,ud=od.length,dd;if(arguments.length<2){var pd=this.node().__on;if(pd){for(var fd=0,md=pd.length,vd;fd<md;++fd)for(ld=0,vd=pd[fd];ld<ud;++ld)if((dd=od[ld]).type===vd.type&&dd.name===vd.name)return vd.value}return}for(pd=qa?onAdd:onRemove,ld=0;ld<ud;++ld)this.each(pd(od[ld],qa,nd));return this}function dispatchEvent(Ra,qa,nd){var od=defaultView(Ra),ld=od.CustomEvent;typeof ld=="function"?ld=new ld(qa,nd):(ld=od.document.createEvent("Event"),nd?(ld.initEvent(qa,nd.bubbles,nd.cancelable),ld.detail=nd.detail):ld.initEvent(qa,!1,!1)),Ra.dispatchEvent(ld)}function dispatchConstant(Ra,qa){return function(){return dispatchEvent(this,Ra,qa)}}function dispatchFunction(Ra,qa){return function(){return dispatchEvent(this,Ra,qa.apply(this,arguments))}}function selection_dispatch(Ra,qa){return this.each((typeof qa=="function"?dispatchFunction:dispatchConstant)(Ra,qa))}function*selection_iterator(){for(var Ra=this._groups,qa=0,nd=Ra.length;qa<nd;++qa)for(var od=Ra[qa],ld=0,ud=od.length,dd;ld<ud;++ld)(dd=od[ld])&&(yield dd)}var root$1=[null];function Selection$1(Ra,qa){this._groups=Ra,this._parents=qa}function selection(){return new Selection$1([[document.documentElement]],root$1)}function selection_selection(){return this}Selection$1.prototype=selection.prototype={constructor:Selection$1,select:selection_select,selectAll:selection_selectAll,selectChild:selection_selectChild,selectChildren:selection_selectChildren,filter:selection_filter,data:selection_data,enter:selection_enter,exit:selection_exit,join:selection_join,merge:selection_merge,selection:selection_selection,order:selection_order,sort:selection_sort,call:selection_call,nodes:selection_nodes,node:selection_node,size:selection_size,empty:selection_empty,each:selection_each,attr:selection_attr,style:selection_style,property:selection_property,classed:selection_classed,text:selection_text,html:selection_html,raise:selection_raise,lower:selection_lower,append:selection_append,insert:selection_insert,remove:selection_remove,clone:selection_clone,datum:selection_datum,on:selection_on,dispatch:selection_dispatch,[Symbol.iterator]:selection_iterator};function select(Ra){return typeof Ra=="string"?new Selection$1([[document.querySelector(Ra)]],[document.documentElement]):new Selection$1([[Ra]],root$1)}function define$1(Ra,qa,nd){Ra.prototype=qa.prototype=nd,nd.constructor=Ra}function extend$1(Ra,qa){var nd=Object.create(Ra.prototype);for(var od in qa)nd[od]=qa[od];return nd}function Color(){}var darker=.7,brighter=1/darker,reI="\\s*([+-]?\\d+)\\s*",reN="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",reP="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",reHex=/^#([0-9a-f]{3,8})$/,reRgbInteger=new RegExp(`^rgb\\(${reI},${reI},${reI}\\)$`),reRgbPercent=new RegExp(`^rgb\\(${reP},${reP},${reP}\\)$`),reRgbaInteger=new RegExp(`^rgba\\(${reI},${reI},${reI},${reN}\\)$`),reRgbaPercent=new RegExp(`^rgba\\(${reP},${reP},${reP},${reN}\\)$`),reHslPercent=new RegExp(`^hsl\\(${reN},${reP},${reP}\\)$`),reHslaPercent=new RegExp(`^hsla\\(${reN},${reP},${reP},${reN}\\)$`),named={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};define$1(Color,color,{copy(Ra){return Object.assign(new this.constructor,this,Ra)},displayable(){return this.rgb().displayable()},hex:color_formatHex,formatHex:color_formatHex,formatHex8:color_formatHex8,formatHsl:color_formatHsl,formatRgb:color_formatRgb,toString:color_formatRgb});function color_formatHex(){return this.rgb().formatHex()}function color_formatHex8(){return this.rgb().formatHex8()}function color_formatHsl(){return hslConvert(this).formatHsl()}function color_formatRgb(){return this.rgb().formatRgb()}function color(Ra){var qa,nd;return Ra=(Ra+"").trim().toLowerCase(),(qa=reHex.exec(Ra))?(nd=qa[1].length,qa=parseInt(qa[1],16),nd===6?rgbn(qa):nd===3?new Rgb(qa>>8&15|qa>>4&240,qa>>4&15|qa&240,(qa&15)<<4|qa&15,1):nd===8?rgba(qa>>24&255,qa>>16&255,qa>>8&255,(qa&255)/255):nd===4?rgba(qa>>12&15|qa>>8&240,qa>>8&15|qa>>4&240,qa>>4&15|qa&240,((qa&15)<<4|qa&15)/255):null):(qa=reRgbInteger.exec(Ra))?new Rgb(qa[1],qa[2],qa[3],1):(qa=reRgbPercent.exec(Ra))?new Rgb(qa[1]*255/100,qa[2]*255/100,qa[3]*255/100,1):(qa=reRgbaInteger.exec(Ra))?rgba(qa[1],qa[2],qa[3],qa[4]):(qa=reRgbaPercent.exec(Ra))?rgba(qa[1]*255/100,qa[2]*255/100,qa[3]*255/100,qa[4]):(qa=reHslPercent.exec(Ra))?hsla(qa[1],qa[2]/100,qa[3]/100,1):(qa=reHslaPercent.exec(Ra))?hsla(qa[1],qa[2]/100,qa[3]/100,qa[4]):named.hasOwnProperty(Ra)?rgbn(named[Ra]):Ra==="transparent"?new Rgb(NaN,NaN,NaN,0):null}function rgbn(Ra){return new Rgb(Ra>>16&255,Ra>>8&255,Ra&255,1)}function rgba(Ra,qa,nd,od){return od<=0&&(Ra=qa=nd=NaN),new Rgb(Ra,qa,nd,od)}function rgbConvert(Ra){return Ra instanceof Color||(Ra=color(Ra)),Ra?(Ra=Ra.rgb(),new Rgb(Ra.r,Ra.g,Ra.b,Ra.opacity)):new Rgb}function rgb(Ra,qa,nd,od){return arguments.length===1?rgbConvert(Ra):new Rgb(Ra,qa,nd,od??1)}function Rgb(Ra,qa,nd,od){this.r=+Ra,this.g=+qa,this.b=+nd,this.opacity=+od}define$1(Rgb,rgb,extend$1(Color,{brighter(Ra){return Ra=Ra==null?brighter:Math.pow(brighter,Ra),new Rgb(this.r*Ra,this.g*Ra,this.b*Ra,this.opacity)},darker(Ra){return Ra=Ra==null?darker:Math.pow(darker,Ra),new Rgb(this.r*Ra,this.g*Ra,this.b*Ra,this.opacity)},rgb(){return this},clamp(){return new Rgb(clampi(this.r),clampi(this.g),clampi(this.b),clampa(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:rgb_formatHex,formatHex:rgb_formatHex,formatHex8:rgb_formatHex8,formatRgb:rgb_formatRgb,toString:rgb_formatRgb}));function rgb_formatHex(){return`#${hex(this.r)}${hex(this.g)}${hex(this.b)}`}function rgb_formatHex8(){return`#${hex(this.r)}${hex(this.g)}${hex(this.b)}${hex((isNaN(this.opacity)?1:this.opacity)*255)}`}function rgb_formatRgb(){const Ra=clampa(this.opacity);return`${Ra===1?"rgb(":"rgba("}${clampi(this.r)}, ${clampi(this.g)}, ${clampi(this.b)}${Ra===1?")":`, ${Ra})`}`}function clampa(Ra){return isNaN(Ra)?1:Math.max(0,Math.min(1,Ra))}function clampi(Ra){return Math.max(0,Math.min(255,Math.round(Ra)||0))}function hex(Ra){return Ra=clampi(Ra),(Ra<16?"0":"")+Ra.toString(16)}function hsla(Ra,qa,nd,od){return od<=0?Ra=qa=nd=NaN:nd<=0||nd>=1?Ra=qa=NaN:qa<=0&&(Ra=NaN),new Hsl(Ra,qa,nd,od)}function hslConvert(Ra){if(Ra instanceof Hsl)return new Hsl(Ra.h,Ra.s,Ra.l,Ra.opacity);if(Ra instanceof Color||(Ra=color(Ra)),!Ra)return new Hsl;if(Ra instanceof Hsl)return Ra;Ra=Ra.rgb();var qa=Ra.r/255,nd=Ra.g/255,od=Ra.b/255,ld=Math.min(qa,nd,od),ud=Math.max(qa,nd,od),dd=NaN,pd=ud-ld,fd=(ud+ld)/2;return pd?(qa===ud?dd=(nd-od)/pd+(nd<od)*6:nd===ud?dd=(od-qa)/pd+2:dd=(qa-nd)/pd+4,pd/=fd<.5?ud+ld:2-ud-ld,dd*=60):pd=fd>0&&fd<1?0:dd,new Hsl(dd,pd,fd,Ra.opacity)}function hsl(Ra,qa,nd,od){return arguments.length===1?hslConvert(Ra):new Hsl(Ra,qa,nd,od??1)}function Hsl(Ra,qa,nd,od){this.h=+Ra,this.s=+qa,this.l=+nd,this.opacity=+od}define$1(Hsl,hsl,extend$1(Color,{brighter(Ra){return Ra=Ra==null?brighter:Math.pow(brighter,Ra),new Hsl(this.h,this.s,this.l*Ra,this.opacity)},darker(Ra){return Ra=Ra==null?darker:Math.pow(darker,Ra),new Hsl(this.h,this.s,this.l*Ra,this.opacity)},rgb(){var Ra=this.h%360+(this.h<0)*360,qa=isNaN(Ra)||isNaN(this.s)?0:this.s,nd=this.l,od=nd+(nd<.5?nd:1-nd)*qa,ld=2*nd-od;return new Rgb(hsl2rgb(Ra>=240?Ra-240:Ra+120,ld,od),hsl2rgb(Ra,ld,od),hsl2rgb(Ra<120?Ra+240:Ra-120,ld,od),this.opacity)},clamp(){return new Hsl(clamph(this.h),clampt(this.s),clampt(this.l),clampa(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const Ra=clampa(this.opacity);return`${Ra===1?"hsl(":"hsla("}${clamph(this.h)}, ${clampt(this.s)*100}%, ${clampt(this.l)*100}%${Ra===1?")":`, ${Ra})`}`}}));function clamph(Ra){return Ra=(Ra||0)%360,Ra<0?Ra+360:Ra}function clampt(Ra){return Math.max(0,Math.min(1,Ra||0))}function hsl2rgb(Ra,qa,nd){return(Ra<60?qa+(nd-qa)*Ra/60:Ra<180?nd:Ra<240?qa+(nd-qa)*(240-Ra)/60:qa)*255}const constant$4=Ra=>()=>Ra;function linear(Ra,qa){return function(nd){return Ra+nd*qa}}function exponential(Ra,qa,nd){return Ra=Math.pow(Ra,nd),qa=Math.pow(qa,nd)-Ra,nd=1/nd,function(od){return Math.pow(Ra+od*qa,nd)}}function hue(Ra,qa){var nd=qa-Ra;return nd?linear(Ra,nd>180||nd<-180?nd-360*Math.round(nd/360):nd):constant$4(isNaN(Ra)?qa:Ra)}function gamma(Ra){return(Ra=+Ra)==1?nogamma:function(qa,nd){return nd-qa?exponential(qa,nd,Ra):constant$4(isNaN(qa)?nd:qa)}}function nogamma(Ra,qa){var nd=qa-Ra;return nd?linear(Ra,nd):constant$4(isNaN(Ra)?qa:Ra)}const interpolateRgb=function Ra(qa){var nd=gamma(qa);function od(ld,ud){var dd=nd((ld=rgb(ld)).r,(ud=rgb(ud)).r),pd=nd(ld.g,ud.g),fd=nd(ld.b,ud.b),md=nogamma(ld.opacity,ud.opacity);return function(vd){return ld.r=dd(vd),ld.g=pd(vd),ld.b=fd(vd),ld.opacity=md(vd),ld+""}}return od.gamma=Ra,od}(1);function interpolateNumber(Ra,qa){return Ra=+Ra,qa=+qa,function(nd){return Ra*(1-nd)+qa*nd}}var reA=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,reB=new RegExp(reA.source,"g");function zero(Ra){return function(){return Ra}}function one(Ra){return function(qa){return Ra(qa)+""}}function interpolateString(Ra,qa){var nd=reA.lastIndex=reB.lastIndex=0,od,ld,ud,dd=-1,pd=[],fd=[];for(Ra=Ra+"",qa=qa+"";(od=reA.exec(Ra))&&(ld=reB.exec(qa));)(ud=ld.index)>nd&&(ud=qa.slice(nd,ud),pd[dd]?pd[dd]+=ud:pd[++dd]=ud),(od=od[0])===(ld=ld[0])?pd[dd]?pd[dd]+=ld:pd[++dd]=ld:(pd[++dd]=null,fd.push({i:dd,x:interpolateNumber(od,ld)})),nd=reB.lastIndex;return nd<qa.length&&(ud=qa.slice(nd),pd[dd]?pd[dd]+=ud:pd[++dd]=ud),pd.length<2?fd[0]?one(fd[0].x):zero(qa):(qa=fd.length,function(md){for(var vd=0,Ad;vd<qa;++vd)pd[(Ad=fd[vd]).i]=Ad.x(md);return pd.join("")})}var degrees=180/Math.PI,identity$1={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function decompose(Ra,qa,nd,od,ld,ud){var dd,pd,fd;return(dd=Math.sqrt(Ra*Ra+qa*qa))&&(Ra/=dd,qa/=dd),(fd=Ra*nd+qa*od)&&(nd-=Ra*fd,od-=qa*fd),(pd=Math.sqrt(nd*nd+od*od))&&(nd/=pd,od/=pd,fd/=pd),Ra*od<qa*nd&&(Ra=-Ra,qa=-qa,fd=-fd,dd=-dd),{translateX:ld,translateY:ud,rotate:Math.atan2(qa,Ra)*degrees,skewX:Math.atan(fd)*degrees,scaleX:dd,scaleY:pd}}var svgNode;function parseCss(Ra){const qa=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(Ra+"");return qa.isIdentity?identity$1:decompose(qa.a,qa.b,qa.c,qa.d,qa.e,qa.f)}function parseSvg(Ra){return Ra==null||(svgNode||(svgNode=document.createElementNS("http://www.w3.org/2000/svg","g")),svgNode.setAttribute("transform",Ra),!(Ra=svgNode.transform.baseVal.consolidate()))?identity$1:(Ra=Ra.matrix,decompose(Ra.a,Ra.b,Ra.c,Ra.d,Ra.e,Ra.f))}function interpolateTransform(Ra,qa,nd,od){function ld(md){return md.length?md.pop()+" ":""}function ud(md,vd,Ad,Nd,Od,kd){if(md!==Ad||vd!==Nd){var Ld=Od.push("translate(",null,qa,null,nd);kd.push({i:Ld-4,x:interpolateNumber(md,Ad)},{i:Ld-2,x:interpolateNumber(vd,Nd)})}else(Ad||Nd)&&Od.push("translate("+Ad+qa+Nd+nd)}function dd(md,vd,Ad,Nd){md!==vd?(md-vd>180?vd+=360:vd-md>180&&(md+=360),Nd.push({i:Ad.push(ld(Ad)+"rotate(",null,od)-2,x:interpolateNumber(md,vd)})):vd&&Ad.push(ld(Ad)+"rotate("+vd+od)}function pd(md,vd,Ad,Nd){md!==vd?Nd.push({i:Ad.push(ld(Ad)+"skewX(",null,od)-2,x:interpolateNumber(md,vd)}):vd&&Ad.push(ld(Ad)+"skewX("+vd+od)}function fd(md,vd,Ad,Nd,Od,kd){if(md!==Ad||vd!==Nd){var Ld=Od.push(ld(Od)+"scale(",null,",",null,")");kd.push({i:Ld-4,x:interpolateNumber(md,Ad)},{i:Ld-2,x:interpolateNumber(vd,Nd)})}else(Ad!==1||Nd!==1)&&Od.push(ld(Od)+"scale("+Ad+","+Nd+")")}return function(md,vd){var Ad=[],Nd=[];return md=Ra(md),vd=Ra(vd),ud(md.translateX,md.translateY,vd.translateX,vd.translateY,Ad,Nd),dd(md.rotate,vd.rotate,Ad,Nd),pd(md.skewX,vd.skewX,Ad,Nd),fd(md.scaleX,md.scaleY,vd.scaleX,vd.scaleY,Ad,Nd),md=vd=null,function(Od){for(var kd=-1,Ld=Nd.length,Gd;++kd<Ld;)Ad[(Gd=Nd[kd]).i]=Gd.x(Od);return Ad.join("")}}}var interpolateTransformCss=interpolateTransform(parseCss,"px, ","px)","deg)"),interpolateTransformSvg=interpolateTransform(parseSvg,", ",")",")"),frame=0,timeout$2=0,interval=0,pokeDelay=1e3,taskHead,taskTail,clockLast=0,clockNow=0,clockSkew=0,clock=typeof performance=="object"&&performance.now?performance:Date,setFrame=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(Ra){setTimeout(Ra,17)};function now(){return clockNow||(setFrame(clearNow),clockNow=clock.now()+clockSkew)}function clearNow(){clockNow=0}function Timer(){this._call=this._time=this._next=null}Timer.prototype=timer.prototype={constructor:Timer,restart:function(Ra,qa,nd){if(typeof Ra!="function")throw new TypeError("callback is not a function");nd=(nd==null?now():+nd)+(qa==null?0:+qa),!this._next&&taskTail!==this&&(taskTail?taskTail._next=this:taskHead=this,taskTail=this),this._call=Ra,this._time=nd,sleep()},stop:function(){this._call&&(this._call=null,this._time=1/0,sleep())}};function timer(Ra,qa,nd){var od=new Timer;return od.restart(Ra,qa,nd),od}function timerFlush(){now(),++frame;for(var Ra=taskHead,qa;Ra;)(qa=clockNow-Ra._time)>=0&&Ra._call.call(void 0,qa),Ra=Ra._next;--frame}function wake(){clockNow=(clockLast=clock.now())+clockSkew,frame=timeout$2=0;try{timerFlush()}finally{frame=0,nap(),clockNow=0}}function poke(){var Ra=clock.now(),qa=Ra-clockLast;qa>pokeDelay&&(clockSkew-=qa,clockLast=Ra)}function nap(){for(var Ra,qa=taskHead,nd,od=1/0;qa;)qa._call?(od>qa._time&&(od=qa._time),Ra=qa,qa=qa._next):(nd=qa._next,qa._next=null,qa=Ra?Ra._next=nd:taskHead=nd);taskTail=Ra,sleep(od)}function sleep(Ra){if(!frame){timeout$2&&(timeout$2=clearTimeout(timeout$2));var qa=Ra-clockNow;qa>24?(Ra<1/0&&(timeout$2=setTimeout(wake,Ra-clock.now()-clockSkew)),interval&&(interval=clearInterval(interval))):(interval||(clockLast=clock.now(),interval=setInterval(poke,pokeDelay)),frame=1,setFrame(wake))}}function timeout$1(Ra,qa,nd){var od=new Timer;return qa=qa==null?0:+qa,od.restart(ld=>{od.stop(),Ra(ld+qa)},qa,nd),od}var emptyOn=dispatch("start","end","cancel","interrupt"),emptyTween=[],CREATED=0,SCHEDULED=1,STARTING=2,STARTED=3,RUNNING=4,ENDING=5,ENDED=6;function schedule(Ra,qa,nd,od,ld,ud){var dd=Ra.__transition;if(!dd)Ra.__transition={};else if(nd in dd)return;create(Ra,nd,{name:qa,index:od,group:ld,on:emptyOn,tween:emptyTween,time:ud.time,delay:ud.delay,duration:ud.duration,ease:ud.ease,timer:null,state:CREATED})}function init$1(Ra,qa){var nd=get(Ra,qa);if(nd.state>CREATED)throw new Error("too late; already scheduled");return nd}function set$1(Ra,qa){var nd=get(Ra,qa);if(nd.state>STARTED)throw new Error("too late; already running");return nd}function get(Ra,qa){var nd=Ra.__transition;if(!nd||!(nd=nd[qa]))throw new Error("transition not found");return nd}function create(Ra,qa,nd){var od=Ra.__transition,ld;od[qa]=nd,nd.timer=timer(ud,0,nd.time);function ud(md){nd.state=SCHEDULED,nd.timer.restart(dd,nd.delay,nd.time),nd.delay<=md&&dd(md-nd.delay)}function dd(md){var vd,Ad,Nd,Od;if(nd.state!==SCHEDULED)return fd();for(vd in od)if(Od=od[vd],Od.name===nd.name){if(Od.state===STARTED)return timeout$1(dd);Od.state===RUNNING?(Od.state=ENDED,Od.timer.stop(),Od.on.call("interrupt",Ra,Ra.__data__,Od.index,Od.group),delete od[vd]):+vd<qa&&(Od.state=ENDED,Od.timer.stop(),Od.on.call("cancel",Ra,Ra.__data__,Od.index,Od.group),delete od[vd])}if(timeout$1(function(){nd.state===STARTED&&(nd.state=RUNNING,nd.timer.restart(pd,nd.delay,nd.time),pd(md))}),nd.state=STARTING,nd.on.call("start",Ra,Ra.__data__,nd.index,nd.group),nd.state===STARTING){for(nd.state=STARTED,ld=new Array(Nd=nd.tween.length),vd=0,Ad=-1;vd<Nd;++vd)(Od=nd.tween[vd].value.call(Ra,Ra.__data__,nd.index,nd.group))&&(ld[++Ad]=Od);ld.length=Ad+1}}function pd(md){for(var vd=md<nd.duration?nd.ease.call(null,md/nd.duration):(nd.timer.restart(fd),nd.state=ENDING,1),Ad=-1,Nd=ld.length;++Ad<Nd;)ld[Ad].call(Ra,vd);nd.state===ENDING&&(nd.on.call("end",Ra,Ra.__data__,nd.index,nd.group),fd())}function fd(){nd.state=ENDED,nd.timer.stop(),delete od[qa];for(var md in od)return;delete Ra.__transition}}function interrupt(Ra,qa){var nd=Ra.__transition,od,ld,ud=!0,dd;if(nd){qa=qa==null?null:qa+"";for(dd in nd){if((od=nd[dd]).name!==qa){ud=!1;continue}ld=od.state>STARTING&&od.state<ENDING,od.state=ENDED,od.timer.stop(),od.on.call(ld?"interrupt":"cancel",Ra,Ra.__data__,od.index,od.group),delete nd[dd]}ud&&delete Ra.__transition}}function selection_interrupt(Ra){return this.each(function(){interrupt(this,Ra)})}function tweenRemove(Ra,qa){var nd,od;return function(){var ld=set$1(this,Ra),ud=ld.tween;if(ud!==nd){od=nd=ud;for(var dd=0,pd=od.length;dd<pd;++dd)if(od[dd].name===qa){od=od.slice(),od.splice(dd,1);break}}ld.tween=od}}function tweenFunction(Ra,qa,nd){var od,ld;if(typeof nd!="function")throw new Error;return function(){var ud=set$1(this,Ra),dd=ud.tween;if(dd!==od){ld=(od=dd).slice();for(var pd={name:qa,value:nd},fd=0,md=ld.length;fd<md;++fd)if(ld[fd].name===qa){ld[fd]=pd;break}fd===md&&ld.push(pd)}ud.tween=ld}}function transition_tween(Ra,qa){var nd=this._id;if(Ra+="",arguments.length<2){for(var od=get(this.node(),nd).tween,ld=0,ud=od.length,dd;ld<ud;++ld)if((dd=od[ld]).name===Ra)return dd.value;return null}return this.each((qa==null?tweenRemove:tweenFunction)(nd,Ra,qa))}function tweenValue(Ra,qa,nd){var od=Ra._id;return Ra.each(function(){var ld=set$1(this,od);(ld.value||(ld.value={}))[qa]=nd.apply(this,arguments)}),function(ld){return get(ld,od).value[qa]}}function interpolate(Ra,qa){var nd;return(typeof qa=="number"?interpolateNumber:qa instanceof color?interpolateRgb:(nd=color(qa))?(qa=nd,interpolateRgb):interpolateString)(Ra,qa)}function attrRemove(Ra){return function(){this.removeAttribute(Ra)}}function attrRemoveNS(Ra){return function(){this.removeAttributeNS(Ra.space,Ra.local)}}function attrConstant(Ra,qa,nd){var od,ld=nd+"",ud;return function(){var dd=this.getAttribute(Ra);return dd===ld?null:dd===od?ud:ud=qa(od=dd,nd)}}function attrConstantNS(Ra,qa,nd){var od,ld=nd+"",ud;return function(){var dd=this.getAttributeNS(Ra.space,Ra.local);return dd===ld?null:dd===od?ud:ud=qa(od=dd,nd)}}function attrFunction(Ra,qa,nd){var od,ld,ud;return function(){var dd,pd=nd(this),fd;return pd==null?void this.removeAttribute(Ra):(dd=this.getAttribute(Ra),fd=pd+"",dd===fd?null:dd===od&&fd===ld?ud:(ld=fd,ud=qa(od=dd,pd)))}}function attrFunctionNS(Ra,qa,nd){var od,ld,ud;return function(){var dd,pd=nd(this),fd;return pd==null?void this.removeAttributeNS(Ra.space,Ra.local):(dd=this.getAttributeNS(Ra.space,Ra.local),fd=pd+"",dd===fd?null:dd===od&&fd===ld?ud:(ld=fd,ud=qa(od=dd,pd)))}}function transition_attr(Ra,qa){var nd=namespace(Ra),od=nd==="transform"?interpolateTransformSvg:interpolate;return this.attrTween(Ra,typeof qa=="function"?(nd.local?attrFunctionNS:attrFunction)(nd,od,tweenValue(this,"attr."+Ra,qa)):qa==null?(nd.local?attrRemoveNS:attrRemove)(nd):(nd.local?attrConstantNS:attrConstant)(nd,od,qa))}function attrInterpolate(Ra,qa){return function(nd){this.setAttribute(Ra,qa.call(this,nd))}}function attrInterpolateNS(Ra,qa){return function(nd){this.setAttributeNS(Ra.space,Ra.local,qa.call(this,nd))}}function attrTweenNS(Ra,qa){var nd,od;function ld(){var ud=qa.apply(this,arguments);return ud!==od&&(nd=(od=ud)&&attrInterpolateNS(Ra,ud)),nd}return ld._value=qa,ld}function attrTween(Ra,qa){var nd,od;function ld(){var ud=qa.apply(this,arguments);return ud!==od&&(nd=(od=ud)&&attrInterpolate(Ra,ud)),nd}return ld._value=qa,ld}function transition_attrTween(Ra,qa){var nd="attr."+Ra;if(arguments.length<2)return(nd=this.tween(nd))&&nd._value;if(qa==null)return this.tween(nd,null);if(typeof qa!="function")throw new Error;var od=namespace(Ra);return this.tween(nd,(od.local?attrTweenNS:attrTween)(od,qa))}function delayFunction(Ra,qa){return function(){init$1(this,Ra).delay=+qa.apply(this,arguments)}}function delayConstant(Ra,qa){return qa=+qa,function(){init$1(this,Ra).delay=qa}}function transition_delay(Ra){var qa=this._id;return arguments.length?this.each((typeof Ra=="function"?delayFunction:delayConstant)(qa,Ra)):get(this.node(),qa).delay}function durationFunction(Ra,qa){return function(){set$1(this,Ra).duration=+qa.apply(this,arguments)}}function durationConstant(Ra,qa){return qa=+qa,function(){set$1(this,Ra).duration=qa}}function transition_duration(Ra){var qa=this._id;return arguments.length?this.each((typeof Ra=="function"?durationFunction:durationConstant)(qa,Ra)):get(this.node(),qa).duration}function easeConstant(Ra,qa){if(typeof qa!="function")throw new Error;return function(){set$1(this,Ra).ease=qa}}function transition_ease(Ra){var qa=this._id;return arguments.length?this.each(easeConstant(qa,Ra)):get(this.node(),qa).ease}function easeVarying(Ra,qa){return function(){var nd=qa.apply(this,arguments);if(typeof nd!="function")throw new Error;set$1(this,Ra).ease=nd}}function transition_easeVarying(Ra){if(typeof Ra!="function")throw new Error;return this.each(easeVarying(this._id,Ra))}function transition_filter(Ra){typeof Ra!="function"&&(Ra=matcher(Ra));for(var qa=this._groups,nd=qa.length,od=new Array(nd),ld=0;ld<nd;++ld)for(var ud=qa[ld],dd=ud.length,pd=od[ld]=[],fd,md=0;md<dd;++md)(fd=ud[md])&&Ra.call(fd,fd.__data__,md,ud)&&pd.push(fd);return new Transition(od,this._parents,this._name,this._id)}function transition_merge(Ra){if(Ra._id!==this._id)throw new Error;for(var qa=this._groups,nd=Ra._groups,od=qa.length,ld=nd.length,ud=Math.min(od,ld),dd=new Array(od),pd=0;pd<ud;++pd)for(var fd=qa[pd],md=nd[pd],vd=fd.length,Ad=dd[pd]=new Array(vd),Nd,Od=0;Od<vd;++Od)(Nd=fd[Od]||md[Od])&&(Ad[Od]=Nd);for(;pd<od;++pd)dd[pd]=qa[pd];return new Transition(dd,this._parents,this._name,this._id)}function start(Ra){return(Ra+"").trim().split(/^|\s+/).every(function(qa){var nd=qa.indexOf(".");return nd>=0&&(qa=qa.slice(0,nd)),!qa||qa==="start"})}function onFunction(Ra,qa,nd){var od,ld,ud=start(qa)?init$1:set$1;return function(){var dd=ud(this,Ra),pd=dd.on;pd!==od&&(ld=(od=pd).copy()).on(qa,nd),dd.on=ld}}function transition_on(Ra,qa){var nd=this._id;return arguments.length<2?get(this.node(),nd).on.on(Ra):this.each(onFunction(nd,Ra,qa))}function removeFunction(Ra){return function(){var qa=this.parentNode;for(var nd in this.__transition)if(+nd!==Ra)return;qa&&qa.removeChild(this)}}function transition_remove(){return this.on("end.remove",removeFunction(this._id))}function transition_select(Ra){var qa=this._name,nd=this._id;typeof Ra!="function"&&(Ra=selector(Ra));for(var od=this._groups,ld=od.length,ud=new Array(ld),dd=0;dd<ld;++dd)for(var pd=od[dd],fd=pd.length,md=ud[dd]=new Array(fd),vd,Ad,Nd=0;Nd<fd;++Nd)(vd=pd[Nd])&&(Ad=Ra.call(vd,vd.__data__,Nd,pd))&&("__data__"in vd&&(Ad.__data__=vd.__data__),md[Nd]=Ad,schedule(md[Nd],qa,nd,Nd,md,get(vd,nd)));return new Transition(ud,this._parents,qa,nd)}function transition_selectAll(Ra){var qa=this._name,nd=this._id;typeof Ra!="function"&&(Ra=selectorAll(Ra));for(var od=this._groups,ld=od.length,ud=[],dd=[],pd=0;pd<ld;++pd)for(var fd=od[pd],md=fd.length,vd,Ad=0;Ad<md;++Ad)if(vd=fd[Ad]){for(var Nd=Ra.call(vd,vd.__data__,Ad,fd),Od,kd=get(vd,nd),Ld=0,Gd=Nd.length;Ld<Gd;++Ld)(Od=Nd[Ld])&&schedule(Od,qa,nd,Ld,Nd,kd);ud.push(Nd),dd.push(vd)}return new Transition(ud,dd,qa,nd)}var Selection=selection.prototype.constructor;function transition_selection(){return new Selection(this._groups,this._parents)}function styleNull(Ra,qa){var nd,od,ld;return function(){var ud=styleValue(this,Ra),dd=(this.style.removeProperty(Ra),styleValue(this,Ra));return ud===dd?null:ud===nd&&dd===od?ld:ld=qa(nd=ud,od=dd)}}function styleRemove(Ra){return function(){this.style.removeProperty(Ra)}}function styleConstant(Ra,qa,nd){var od,ld=nd+"",ud;return function(){var dd=styleValue(this,Ra);return dd===ld?null:dd===od?ud:ud=qa(od=dd,nd)}}function styleFunction(Ra,qa,nd){var od,ld,ud;return function(){var dd=styleValue(this,Ra),pd=nd(this),fd=pd+"";return pd==null&&(fd=pd=(this.style.removeProperty(Ra),styleValue(this,Ra))),dd===fd?null:dd===od&&fd===ld?ud:(ld=fd,ud=qa(od=dd,pd))}}function styleMaybeRemove(Ra,qa){var nd,od,ld,ud="style."+qa,dd="end."+ud,pd;return function(){var fd=set$1(this,Ra),md=fd.on,vd=fd.value[ud]==null?pd||(pd=styleRemove(qa)):void 0;(md!==nd||ld!==vd)&&(od=(nd=md).copy()).on(dd,ld=vd),fd.on=od}}function transition_style(Ra,qa,nd){var od=(Ra+="")=="transform"?interpolateTransformCss:interpolate;return qa==null?this.styleTween(Ra,styleNull(Ra,od)).on("end.style."+Ra,styleRemove(Ra)):typeof qa=="function"?this.styleTween(Ra,styleFunction(Ra,od,tweenValue(this,"style."+Ra,qa))).each(styleMaybeRemove(this._id,Ra)):this.styleTween(Ra,styleConstant(Ra,od,qa),nd).on("end.style."+Ra,null)}function styleInterpolate(Ra,qa,nd){return function(od){this.style.setProperty(Ra,qa.call(this,od),nd)}}function styleTween(Ra,qa,nd){var od,ld;function ud(){var dd=qa.apply(this,arguments);return dd!==ld&&(od=(ld=dd)&&styleInterpolate(Ra,dd,nd)),od}return ud._value=qa,ud}function transition_styleTween(Ra,qa,nd){var od="style."+(Ra+="");if(arguments.length<2)return(od=this.tween(od))&&od._value;if(qa==null)return this.tween(od,null);if(typeof qa!="function")throw new Error;return this.tween(od,styleTween(Ra,qa,nd??""))}function textConstant(Ra){return function(){this.textContent=Ra}}function textFunction(Ra){return function(){var qa=Ra(this);this.textContent=qa??""}}function transition_text(Ra){return this.tween("text",typeof Ra=="function"?textFunction(tweenValue(this,"text",Ra)):textConstant(Ra==null?"":Ra+""))}function textInterpolate(Ra){return function(qa){this.textContent=Ra.call(this,qa)}}function textTween(Ra){var qa,nd;function od(){var ld=Ra.apply(this,arguments);return ld!==nd&&(qa=(nd=ld)&&textInterpolate(ld)),qa}return od._value=Ra,od}function transition_textTween(Ra){var qa="text";if(arguments.length<1)return(qa=this.tween(qa))&&qa._value;if(Ra==null)return this.tween(qa,null);if(typeof Ra!="function")throw new Error;return this.tween(qa,textTween(Ra))}function transition_transition(){for(var Ra=this._name,qa=this._id,nd=newId(),od=this._groups,ld=od.length,ud=0;ud<ld;++ud)for(var dd=od[ud],pd=dd.length,fd,md=0;md<pd;++md)if(fd=dd[md]){var vd=get(fd,qa);schedule(fd,Ra,nd,md,dd,{time:vd.time+vd.delay+vd.duration,delay:0,duration:vd.duration,ease:vd.ease})}return new Transition(od,this._parents,Ra,nd)}function transition_end(){var Ra,qa,nd=this,od=nd._id,ld=nd.size();return new Promise(function(ud,dd){var pd={value:dd},fd={value:function(){--ld===0&&ud()}};nd.each(function(){var md=set$1(this,od),vd=md.on;vd!==Ra&&(qa=(Ra=vd).copy(),qa._.cancel.push(pd),qa._.interrupt.push(pd),qa._.end.push(fd)),md.on=qa}),ld===0&&ud()})}var id$1=0;function Transition(Ra,qa,nd,od){this._groups=Ra,this._parents=qa,this._name=nd,this._id=od}function newId(){return++id$1}var selection_prototype=selection.prototype;Transition.prototype={constructor:Transition,select:transition_select,selectAll:transition_selectAll,selectChild:selection_prototype.selectChild,selectChildren:selection_prototype.selectChildren,filter:transition_filter,merge:transition_merge,selection:transition_selection,transition:transition_transition,call:selection_prototype.call,nodes:selection_prototype.nodes,node:selection_prototype.node,size:selection_prototype.size,empty:selection_prototype.empty,each:selection_prototype.each,on:transition_on,attr:transition_attr,attrTween:transition_attrTween,style:transition_style,styleTween:transition_styleTween,text:transition_text,textTween:transition_textTween,remove:transition_remove,tween:transition_tween,delay:transition_delay,duration:transition_duration,ease:transition_ease,easeVarying:transition_easeVarying,end:transition_end,[Symbol.iterator]:selection_prototype[Symbol.iterator]};function cubicInOut(Ra){return((Ra*=2)<=1?Ra*Ra*Ra:(Ra-=2)*Ra*Ra+2)/2}var defaultTiming={time:null,delay:0,duration:250,ease:cubicInOut};function inherit(Ra,qa){for(var nd;!(nd=Ra.__transition)||!(nd=nd[qa]);)if(!(Ra=Ra.parentNode))throw new Error(`transition ${qa} not found`);return nd}function selection_transition(Ra){var qa,nd;Ra instanceof Transition?(qa=Ra._id,Ra=Ra._name):(qa=newId(),(nd=defaultTiming).time=now(),Ra=Ra==null?null:Ra+"");for(var od=this._groups,ld=od.length,ud=0;ud<ld;++ud)for(var dd=od[ud],pd=dd.length,fd,md=0;md<pd;++md)(fd=dd[md])&&schedule(fd,Ra,qa,md,dd,nd||inherit(fd,qa));return new Transition(od,this._parents,Ra,qa)}selection.prototype.interrupt=selection_interrupt;selection.prototype.transition=selection_transition;const pi$1=Math.PI,tau$1=2*pi$1,epsilon$1=1e-6,tauEpsilon=tau$1-epsilon$1;function append$1(Ra){this._+=Ra[0];for(let qa=1,nd=Ra.length;qa<nd;++qa)this._+=arguments[qa]+Ra[qa]}function appendRound(Ra){let qa=Math.floor(Ra);if(!(qa>=0))throw new Error(`invalid digits: ${Ra}`);if(qa>15)return append$1;const nd=10**qa;return function(od){this._+=od[0];for(let ld=1,ud=od.length;ld<ud;++ld)this._+=Math.round(arguments[ld]*nd)/nd+od[ld]}}class Path{constructor(qa){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=qa==null?append$1:appendRound(qa)}moveTo(qa,nd){this._append`M${this._x0=this._x1=+qa},${this._y0=this._y1=+nd}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(qa,nd){this._append`L${this._x1=+qa},${this._y1=+nd}`}quadraticCurveTo(qa,nd,od,ld){this._append`Q${+qa},${+nd},${this._x1=+od},${this._y1=+ld}`}bezierCurveTo(qa,nd,od,ld,ud,dd){this._append`C${+qa},${+nd},${+od},${+ld},${this._x1=+ud},${this._y1=+dd}`}arcTo(qa,nd,od,ld,ud){if(qa=+qa,nd=+nd,od=+od,ld=+ld,ud=+ud,ud<0)throw new Error(`negative radius: ${ud}`);let dd=this._x1,pd=this._y1,fd=od-qa,md=ld-nd,vd=dd-qa,Ad=pd-nd,Nd=vd*vd+Ad*Ad;if(this._x1===null)this._append`M${this._x1=qa},${this._y1=nd}`;else if(Nd>epsilon$1)if(!(Math.abs(Ad*fd-md*vd)>epsilon$1)||!ud)this._append`L${this._x1=qa},${this._y1=nd}`;else{let Od=od-dd,kd=ld-pd,Ld=fd*fd+md*md,Gd=Od*Od+kd*kd,jd=Math.sqrt(Ld),Fd=Math.sqrt(Nd),Ud=ud*Math.tan((pi$1-Math.acos((Ld+Nd-Gd)/(2*jd*Fd)))/2),qd=Ud/Fd,zd=Ud/jd;Math.abs(qd-1)>epsilon$1&&this._append`L${qa+qd*vd},${nd+qd*Ad}`,this._append`A${ud},${ud},0,0,${+(Ad*Od>vd*kd)},${this._x1=qa+zd*fd},${this._y1=nd+zd*md}`}}arc(qa,nd,od,ld,ud,dd){if(qa=+qa,nd=+nd,od=+od,dd=!!dd,od<0)throw new Error(`negative radius: ${od}`);let pd=od*Math.cos(ld),fd=od*Math.sin(ld),md=qa+pd,vd=nd+fd,Ad=1^dd,Nd=dd?ld-ud:ud-ld;this._x1===null?this._append`M${md},${vd}`:(Math.abs(this._x1-md)>epsilon$1||Math.abs(this._y1-vd)>epsilon$1)&&this._append`L${md},${vd}`,od&&(Nd<0&&(Nd=Nd%tau$1+tau$1),Nd>tauEpsilon?this._append`A${od},${od},0,1,${Ad},${qa-pd},${nd-fd}A${od},${od},0,1,${Ad},${this._x1=md},${this._y1=vd}`:Nd>epsilon$1&&this._append`A${od},${od},0,${+(Nd>=pi$1)},${Ad},${this._x1=qa+od*Math.cos(ud)},${this._y1=nd+od*Math.sin(ud)}`)}rect(qa,nd,od,ld){this._append`M${this._x0=this._x1=+qa},${this._y0=this._y1=+nd}h${od=+od}v${+ld}h${-od}Z`}toString(){return this._}}function constant$3(Ra){return function(){return Ra}}const abs$1=Math.abs,atan2=Math.atan2,cos=Math.cos,max$1=Math.max,min=Math.min,sin=Math.sin,sqrt=Math.sqrt,epsilon=1e-12,pi=Math.PI,halfPi=pi/2,tau=2*pi;function acos(Ra){return Ra>1?0:Ra<-1?pi:Math.acos(Ra)}function asin(Ra){return Ra>=1?halfPi:Ra<=-1?-halfPi:Math.asin(Ra)}function withPath(Ra){let qa=3;return Ra.digits=function(nd){if(!arguments.length)return qa;if(nd==null)qa=null;else{const od=Math.floor(nd);if(!(od>=0))throw new RangeError(`invalid digits: ${nd}`);qa=od}return Ra},()=>new Path(qa)}function array$1(Ra){return typeof Ra=="object"&&"length"in Ra?Ra:Array.from(Ra)}function Linear(Ra){this._context=Ra}Linear.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(Ra,qa){switch(Ra=+Ra,qa=+qa,this._point){case 0:this._point=1,this._line?this._context.lineTo(Ra,qa):this._context.moveTo(Ra,qa);break;case 1:this._point=2;default:this._context.lineTo(Ra,qa);break}}};function curveLinear(Ra){return new Linear(Ra)}function x$3(Ra){return Ra[0]}function y$2(Ra){return Ra[1]}function line$1(Ra,qa){var nd=constant$3(!0),od=null,ld=curveLinear,ud=null,dd=withPath(pd);Ra=typeof Ra=="function"?Ra:Ra===void 0?x$3:constant$3(Ra),qa=typeof qa=="function"?qa:qa===void 0?y$2:constant$3(qa);function pd(fd){var md,vd=(fd=array$1(fd)).length,Ad,Nd=!1,Od;for(od==null&&(ud=ld(Od=dd())),md=0;md<=vd;++md)!(md<vd&&nd(Ad=fd[md],md,fd))===Nd&&((Nd=!Nd)?ud.lineStart():ud.lineEnd()),Nd&&ud.point(+Ra(Ad,md,fd),+qa(Ad,md,fd));if(Od)return ud=null,Od+""||null}return pd.x=function(fd){return arguments.length?(Ra=typeof fd=="function"?fd:constant$3(+fd),pd):Ra},pd.y=function(fd){return arguments.length?(qa=typeof fd=="function"?fd:constant$3(+fd),pd):qa},pd.defined=function(fd){return arguments.length?(nd=typeof fd=="function"?fd:constant$3(!!fd),pd):nd},pd.curve=function(fd){return arguments.length?(ld=fd,od!=null&&(ud=ld(od)),pd):ld},pd.context=function(fd){return arguments.length?(fd==null?od=ud=null:ud=ld(od=fd),pd):od},pd}class Bump{constructor(qa,nd){this._context=qa,this._x=nd}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(qa,nd){switch(qa=+qa,nd=+nd,this._point){case 0:{this._point=1,this._line?this._context.lineTo(qa,nd):this._context.moveTo(qa,nd);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+qa)/2,this._y0,this._x0,nd,qa,nd):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+nd)/2,qa,this._y0,qa,nd);break}}this._x0=qa,this._y0=nd}}function bumpX(Ra){return new Bump(Ra,!0)}function bumpY(Ra){return new Bump(Ra,!1)}function noop$3(){}function point$4(Ra,qa,nd){Ra._context.bezierCurveTo((2*Ra._x0+Ra._x1)/3,(2*Ra._y0+Ra._y1)/3,(Ra._x0+2*Ra._x1)/3,(Ra._y0+2*Ra._y1)/3,(Ra._x0+4*Ra._x1+qa)/6,(Ra._y0+4*Ra._y1+nd)/6)}function Basis(Ra){this._context=Ra}Basis.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:point$4(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(Ra,qa){switch(Ra=+Ra,qa=+qa,this._point){case 0:this._point=1,this._line?this._context.lineTo(Ra,qa):this._context.moveTo(Ra,qa);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:point$4(this,Ra,qa);break}this._x0=this._x1,this._x1=Ra,this._y0=this._y1,this._y1=qa}};function curveBasis(Ra){return new Basis(Ra)}function BasisClosed(Ra){this._context=Ra}BasisClosed.prototype={areaStart:noop$3,areaEnd:noop$3,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(Ra,qa){switch(Ra=+Ra,qa=+qa,this._point){case 0:this._point=1,this._x2=Ra,this._y2=qa;break;case 1:this._point=2,this._x3=Ra,this._y3=qa;break;case 2:this._point=3,this._x4=Ra,this._y4=qa,this._context.moveTo((this._x0+4*this._x1+Ra)/6,(this._y0+4*this._y1+qa)/6);break;default:point$4(this,Ra,qa);break}this._x0=this._x1,this._x1=Ra,this._y0=this._y1,this._y1=qa}};function curveBasisClosed(Ra){return new BasisClosed(Ra)}function BasisOpen(Ra){this._context=Ra}BasisOpen.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(Ra,qa){switch(Ra=+Ra,qa=+qa,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var nd=(this._x0+4*this._x1+Ra)/6,od=(this._y0+4*this._y1+qa)/6;this._line?this._context.lineTo(nd,od):this._context.moveTo(nd,od);break;case 3:this._point=4;default:point$4(this,Ra,qa);break}this._x0=this._x1,this._x1=Ra,this._y0=this._y1,this._y1=qa}};function curveBasisOpen(Ra){return new BasisOpen(Ra)}function Bundle(Ra,qa){this._basis=new Basis(Ra),this._beta=qa}Bundle.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var Ra=this._x,qa=this._y,nd=Ra.length-1;if(nd>0)for(var od=Ra[0],ld=qa[0],ud=Ra[nd]-od,dd=qa[nd]-ld,pd=-1,fd;++pd<=nd;)fd=pd/nd,this._basis.point(this._beta*Ra[pd]+(1-this._beta)*(od+fd*ud),this._beta*qa[pd]+(1-this._beta)*(ld+fd*dd));this._x=this._y=null,this._basis.lineEnd()},point:function(Ra,qa){this._x.push(+Ra),this._y.push(+qa)}};const curveBundle=function Ra(qa){function nd(od){return qa===1?new Basis(od):new Bundle(od,qa)}return nd.beta=function(od){return Ra(+od)},nd}(.85);function point$3(Ra,qa,nd){Ra._context.bezierCurveTo(Ra._x1+Ra._k*(Ra._x2-Ra._x0),Ra._y1+Ra._k*(Ra._y2-Ra._y0),Ra._x2+Ra._k*(Ra._x1-qa),Ra._y2+Ra._k*(Ra._y1-nd),Ra._x2,Ra._y2)}function Cardinal(Ra,qa){this._context=Ra,this._k=(1-qa)/6}Cardinal.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:point$3(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(Ra,qa){switch(Ra=+Ra,qa=+qa,this._point){case 0:this._point=1,this._line?this._context.lineTo(Ra,qa):this._context.moveTo(Ra,qa);break;case 1:this._point=2,this._x1=Ra,this._y1=qa;break;case 2:this._point=3;default:point$3(this,Ra,qa);break}this._x0=this._x1,this._x1=this._x2,this._x2=Ra,this._y0=this._y1,this._y1=this._y2,this._y2=qa}};const curveCardinal=function Ra(qa){function nd(od){return new Cardinal(od,qa)}return nd.tension=function(od){return Ra(+od)},nd}(0);function CardinalClosed(Ra,qa){this._context=Ra,this._k=(1-qa)/6}CardinalClosed.prototype={areaStart:noop$3,areaEnd:noop$3,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(Ra,qa){switch(Ra=+Ra,qa=+qa,this._point){case 0:this._point=1,this._x3=Ra,this._y3=qa;break;case 1:this._point=2,this._context.moveTo(this._x4=Ra,this._y4=qa);break;case 2:this._point=3,this._x5=Ra,this._y5=qa;break;default:point$3(this,Ra,qa);break}this._x0=this._x1,this._x1=this._x2,this._x2=Ra,this._y0=this._y1,this._y1=this._y2,this._y2=qa}};const curveCardinalClosed=function Ra(qa){function nd(od){return new CardinalClosed(od,qa)}return nd.tension=function(od){return Ra(+od)},nd}(0);function CardinalOpen(Ra,qa){this._context=Ra,this._k=(1-qa)/6}CardinalOpen.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(Ra,qa){switch(Ra=+Ra,qa=+qa,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:point$3(this,Ra,qa);break}this._x0=this._x1,this._x1=this._x2,this._x2=Ra,this._y0=this._y1,this._y1=this._y2,this._y2=qa}};const curveCardinalOpen=function Ra(qa){function nd(od){return new CardinalOpen(od,qa)}return nd.tension=function(od){return Ra(+od)},nd}(0);function point$2(Ra,qa,nd){var od=Ra._x1,ld=Ra._y1,ud=Ra._x2,dd=Ra._y2;if(Ra._l01_a>epsilon){var pd=2*Ra._l01_2a+3*Ra._l01_a*Ra._l12_a+Ra._l12_2a,fd=3*Ra._l01_a*(Ra._l01_a+Ra._l12_a);od=(od*pd-Ra._x0*Ra._l12_2a+Ra._x2*Ra._l01_2a)/fd,ld=(ld*pd-Ra._y0*Ra._l12_2a+Ra._y2*Ra._l01_2a)/fd}if(Ra._l23_a>epsilon){var md=2*Ra._l23_2a+3*Ra._l23_a*Ra._l12_a+Ra._l12_2a,vd=3*Ra._l23_a*(Ra._l23_a+Ra._l12_a);ud=(ud*md+Ra._x1*Ra._l23_2a-qa*Ra._l12_2a)/vd,dd=(dd*md+Ra._y1*Ra._l23_2a-nd*Ra._l12_2a)/vd}Ra._context.bezierCurveTo(od,ld,ud,dd,Ra._x2,Ra._y2)}function CatmullRom(Ra,qa){this._context=Ra,this._alpha=qa}CatmullRom.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(Ra,qa){if(Ra=+Ra,qa=+qa,this._point){var nd=this._x2-Ra,od=this._y2-qa;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(nd*nd+od*od,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(Ra,qa):this._context.moveTo(Ra,qa);break;case 1:this._point=2;break;case 2:this._point=3;default:point$2(this,Ra,qa);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=Ra,this._y0=this._y1,this._y1=this._y2,this._y2=qa}};const curveCatmullRom=function Ra(qa){function nd(od){return qa?new CatmullRom(od,qa):new Cardinal(od,0)}return nd.alpha=function(od){return Ra(+od)},nd}(.5);function CatmullRomClosed(Ra,qa){this._context=Ra,this._alpha=qa}CatmullRomClosed.prototype={areaStart:noop$3,areaEnd:noop$3,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(Ra,qa){if(Ra=+Ra,qa=+qa,this._point){var nd=this._x2-Ra,od=this._y2-qa;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(nd*nd+od*od,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=Ra,this._y3=qa;break;case 1:this._point=2,this._context.moveTo(this._x4=Ra,this._y4=qa);break;case 2:this._point=3,this._x5=Ra,this._y5=qa;break;default:point$2(this,Ra,qa);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=Ra,this._y0=this._y1,this._y1=this._y2,this._y2=qa}};const curveCatmullRomClosed=function Ra(qa){function nd(od){return qa?new CatmullRomClosed(od,qa):new CardinalClosed(od,0)}return nd.alpha=function(od){return Ra(+od)},nd}(.5);function CatmullRomOpen(Ra,qa){this._context=Ra,this._alpha=qa}CatmullRomOpen.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(Ra,qa){if(Ra=+Ra,qa=+qa,this._point){var nd=this._x2-Ra,od=this._y2-qa;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(nd*nd+od*od,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:point$2(this,Ra,qa);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=Ra,this._y0=this._y1,this._y1=this._y2,this._y2=qa}};const curveCatmullRomOpen=function Ra(qa){function nd(od){return qa?new CatmullRomOpen(od,qa):new CardinalOpen(od,0)}return nd.alpha=function(od){return Ra(+od)},nd}(.5);function LinearClosed(Ra){this._context=Ra}LinearClosed.prototype={areaStart:noop$3,areaEnd:noop$3,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(Ra,qa){Ra=+Ra,qa=+qa,this._point?this._context.lineTo(Ra,qa):(this._point=1,this._context.moveTo(Ra,qa))}};function curveLinearClosed(Ra){return new LinearClosed(Ra)}function sign(Ra){return Ra<0?-1:1}function slope3(Ra,qa,nd){var od=Ra._x1-Ra._x0,ld=qa-Ra._x1,ud=(Ra._y1-Ra._y0)/(od||ld<0&&-0),dd=(nd-Ra._y1)/(ld||od<0&&-0),pd=(ud*ld+dd*od)/(od+ld);return(sign(ud)+sign(dd))*Math.min(Math.abs(ud),Math.abs(dd),.5*Math.abs(pd))||0}function slope2(Ra,qa){var nd=Ra._x1-Ra._x0;return nd?(3*(Ra._y1-Ra._y0)/nd-qa)/2:qa}function point$1(Ra,qa,nd){var od=Ra._x0,ld=Ra._y0,ud=Ra._x1,dd=Ra._y1,pd=(ud-od)/3;Ra._context.bezierCurveTo(od+pd,ld+pd*qa,ud-pd,dd-pd*nd,ud,dd)}function MonotoneX(Ra){this._context=Ra}MonotoneX.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:point$1(this,this._t0,slope2(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(Ra,qa){var nd=NaN;if(Ra=+Ra,qa=+qa,!(Ra===this._x1&&qa===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(Ra,qa):this._context.moveTo(Ra,qa);break;case 1:this._point=2;break;case 2:this._point=3,point$1(this,slope2(this,nd=slope3(this,Ra,qa)),nd);break;default:point$1(this,this._t0,nd=slope3(this,Ra,qa));break}this._x0=this._x1,this._x1=Ra,this._y0=this._y1,this._y1=qa,this._t0=nd}}};function MonotoneY(Ra){this._context=new ReflectContext(Ra)}(MonotoneY.prototype=Object.create(MonotoneX.prototype)).point=function(Ra,qa){MonotoneX.prototype.point.call(this,qa,Ra)};function ReflectContext(Ra){this._context=Ra}ReflectContext.prototype={moveTo:function(Ra,qa){this._context.moveTo(qa,Ra)},closePath:function(){this._context.closePath()},lineTo:function(Ra,qa){this._context.lineTo(qa,Ra)},bezierCurveTo:function(Ra,qa,nd,od,ld,ud){this._context.bezierCurveTo(qa,Ra,od,nd,ud,ld)}};function monotoneX(Ra){return new MonotoneX(Ra)}function monotoneY(Ra){return new MonotoneY(Ra)}function Natural(Ra){this._context=Ra}Natural.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var Ra=this._x,qa=this._y,nd=Ra.length;if(nd)if(this._line?this._context.lineTo(Ra[0],qa[0]):this._context.moveTo(Ra[0],qa[0]),nd===2)this._context.lineTo(Ra[1],qa[1]);else for(var od=controlPoints(Ra),ld=controlPoints(qa),ud=0,dd=1;dd<nd;++ud,++dd)this._context.bezierCurveTo(od[0][ud],ld[0][ud],od[1][ud],ld[1][ud],Ra[dd],qa[dd]);(this._line||this._line!==0&&nd===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(Ra,qa){this._x.push(+Ra),this._y.push(+qa)}};function controlPoints(Ra){var qa,nd=Ra.length-1,od,ld=new Array(nd),ud=new Array(nd),dd=new Array(nd);for(ld[0]=0,ud[0]=2,dd[0]=Ra[0]+2*Ra[1],qa=1;qa<nd-1;++qa)ld[qa]=1,ud[qa]=4,dd[qa]=4*Ra[qa]+2*Ra[qa+1];for(ld[nd-1]=2,ud[nd-1]=7,dd[nd-1]=8*Ra[nd-1]+Ra[nd],qa=1;qa<nd;++qa)od=ld[qa]/ud[qa-1],ud[qa]-=od,dd[qa]-=od*dd[qa-1];for(ld[nd-1]=dd[nd-1]/ud[nd-1],qa=nd-2;qa>=0;--qa)ld[qa]=(dd[qa]-ld[qa+1])/ud[qa];for(ud[nd-1]=(Ra[nd]+ld[nd-1])/2,qa=0;qa<nd-1;++qa)ud[qa]=2*Ra[qa+1]-ld[qa+1];return[ld,ud]}function curveNatural(Ra){return new Natural(Ra)}function Step(Ra,qa){this._context=Ra,this._t=qa}Step.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(Ra,qa){switch(Ra=+Ra,qa=+qa,this._point){case 0:this._point=1,this._line?this._context.lineTo(Ra,qa):this._context.moveTo(Ra,qa);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,qa),this._context.lineTo(Ra,qa);else{var nd=this._x*(1-this._t)+Ra*this._t;this._context.lineTo(nd,this._y),this._context.lineTo(nd,qa)}break}}this._x=Ra,this._y=qa}};function curveStep(Ra){return new Step(Ra,.5)}function stepBefore(Ra){return new Step(Ra,0)}function stepAfter(Ra){return new Step(Ra,1)}function Transform$5(Ra,qa,nd){this.k=Ra,this.x=qa,this.y=nd}Transform$5.prototype={constructor:Transform$5,scale:function(Ra){return Ra===1?this:new Transform$5(this.k*Ra,this.x,this.y)},translate:function(Ra,qa){return Ra===0&qa===0?this:new Transform$5(this.k,this.x+this.k*Ra,this.y+this.k*qa)},apply:function(Ra){return[Ra[0]*this.k+this.x,Ra[1]*this.k+this.y]},applyX:function(Ra){return Ra*this.k+this.x},applyY:function(Ra){return Ra*this.k+this.y},invert:function(Ra){return[(Ra[0]-this.x)/this.k,(Ra[1]-this.y)/this.k]},invertX:function(Ra){return(Ra-this.x)/this.k},invertY:function(Ra){return(Ra-this.y)/this.k},rescaleX:function(Ra){return Ra.copy().domain(Ra.range().map(this.invertX,this).map(Ra.invert,Ra))},rescaleY:function(Ra){return Ra.copy().domain(Ra.range().map(this.invertY,this).map(Ra.invert,Ra))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};Transform$5.prototype;var freeGlobal=typeof global$1=="object"&&global$1&&global$1.Object===Object&&global$1,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")(),Symbol$1=root.Symbol,objectProto$c=Object.prototype,hasOwnProperty$d=objectProto$c.hasOwnProperty,nativeObjectToString$1=objectProto$c.toString,symToStringTag$1=Symbol$1?Symbol$1.toStringTag:void 0;function getRawTag(Ra){var qa=hasOwnProperty$d.call(Ra,symToStringTag$1),nd=Ra[symToStringTag$1];try{Ra[symToStringTag$1]=void 0;var od=!0}catch{}var ld=nativeObjectToString$1.call(Ra);return od&&(qa?Ra[symToStringTag$1]=nd:delete Ra[symToStringTag$1]),ld}var objectProto$b=Object.prototype,nativeObjectToString=objectProto$b.toString;function objectToString(Ra){return nativeObjectToString.call(Ra)}var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$1?Symbol$1.toStringTag:void 0;function baseGetTag(Ra){return Ra==null?Ra===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(Ra)?getRawTag(Ra):objectToString(Ra)}function isObject$5(Ra){var qa=typeof Ra;return Ra!=null&&(qa=="object"||qa=="function")}var asyncTag="[object AsyncFunction]",funcTag$1="[object Function]",genTag="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction$2(Ra){if(!isObject$5(Ra))return!1;var qa=baseGetTag(Ra);return qa==funcTag$1||qa==genTag||qa==asyncTag||qa==proxyTag}var coreJsData=root["__core-js_shared__"],maskSrcKey=function(){var Ra=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||"");return Ra?"Symbol(src)_1."+Ra:""}();function isMasked(Ra){return!!maskSrcKey&&maskSrcKey in Ra}var funcProto$2=Function.prototype,funcToString$2=funcProto$2.toString;function toSource(Ra){if(Ra!=null){try{return funcToString$2.call(Ra)}catch{}try{return Ra+""}catch{}}return""}var reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto$1=Function.prototype,objectProto$a=Object.prototype,funcToString$1=funcProto$1.toString,hasOwnProperty$c=objectProto$a.hasOwnProperty,reIsNative=RegExp("^"+funcToString$1.call(hasOwnProperty$c).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(Ra){if(!isObject$5(Ra)||isMasked(Ra))return!1;var qa=isFunction$2(Ra)?reIsNative:reIsHostCtor;return qa.test(toSource(Ra))}function getValue(Ra,qa){return Ra==null?void 0:Ra[qa]}function getNative(Ra,qa){var nd=getValue(Ra,qa);return baseIsNative(nd)?nd:void 0}var nativeCreate=getNative(Object,"create");function hashClear(){this.__data__=nativeCreate?nativeCreate(null):{},this.size=0}function hashDelete(Ra){var qa=this.has(Ra)&&delete this.__data__[Ra];return this.size-=qa?1:0,qa}var HASH_UNDEFINED$1="__lodash_hash_undefined__",objectProto$9=Object.prototype,hasOwnProperty$b=objectProto$9.hasOwnProperty;function hashGet(Ra){var qa=this.__data__;if(nativeCreate){var nd=qa[Ra];return nd===HASH_UNDEFINED$1?void 0:nd}return hasOwnProperty$b.call(qa,Ra)?qa[Ra]:void 0}var objectProto$8=Object.prototype,hasOwnProperty$a=objectProto$8.hasOwnProperty;function hashHas(Ra){var qa=this.__data__;return nativeCreate?qa[Ra]!==void 0:hasOwnProperty$a.call(qa,Ra)}var HASH_UNDEFINED="__lodash_hash_undefined__";function hashSet(Ra,qa){var nd=this.__data__;return this.size+=this.has(Ra)?0:1,nd[Ra]=nativeCreate&&qa===void 0?HASH_UNDEFINED:qa,this}function Hash(Ra){var qa=-1,nd=Ra==null?0:Ra.length;for(this.clear();++qa<nd;){var od=Ra[qa];this.set(od[0],od[1])}}Hash.prototype.clear=hashClear;Hash.prototype.delete=hashDelete;Hash.prototype.get=hashGet;Hash.prototype.has=hashHas;Hash.prototype.set=hashSet;function listCacheClear(){this.__data__=[],this.size=0}function eq(Ra,qa){return Ra===qa||Ra!==Ra&&qa!==qa}function assocIndexOf(Ra,qa){for(var nd=Ra.length;nd--;)if(eq(Ra[nd][0],qa))return nd;return-1}var arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete(Ra){var qa=this.__data__,nd=assocIndexOf(qa,Ra);if(nd<0)return!1;var od=qa.length-1;return nd==od?qa.pop():splice.call(qa,nd,1),--this.size,!0}function listCacheGet(Ra){var qa=this.__data__,nd=assocIndexOf(qa,Ra);return nd<0?void 0:qa[nd][1]}function listCacheHas(Ra){return assocIndexOf(this.__data__,Ra)>-1}function listCacheSet(Ra,qa){var nd=this.__data__,od=assocIndexOf(nd,Ra);return od<0?(++this.size,nd.push([Ra,qa])):nd[od][1]=qa,this}function ListCache(Ra){var qa=-1,nd=Ra==null?0:Ra.length;for(this.clear();++qa<nd;){var od=Ra[qa];this.set(od[0],od[1])}}ListCache.prototype.clear=listCacheClear;ListCache.prototype.delete=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;var Map$1=getNative(root,"Map");function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(Map$1||ListCache),string:new Hash}}function isKeyable(Ra){var qa=typeof Ra;return qa=="string"||qa=="number"||qa=="symbol"||qa=="boolean"?Ra!=="__proto__":Ra===null}function getMapData(Ra,qa){var nd=Ra.__data__;return isKeyable(qa)?nd[typeof qa=="string"?"string":"hash"]:nd.map}function mapCacheDelete(Ra){var qa=getMapData(this,Ra).delete(Ra);return this.size-=qa?1:0,qa}function mapCacheGet(Ra){return getMapData(this,Ra).get(Ra)}function mapCacheHas(Ra){return getMapData(this,Ra).has(Ra)}function mapCacheSet(Ra,qa){var nd=getMapData(this,Ra),od=nd.size;return nd.set(Ra,qa),this.size+=nd.size==od?0:1,this}function MapCache(Ra){var qa=-1,nd=Ra==null?0:Ra.length;for(this.clear();++qa<nd;){var od=Ra[qa];this.set(od[0],od[1])}}MapCache.prototype.clear=mapCacheClear;MapCache.prototype.delete=mapCacheDelete;MapCache.prototype.get=mapCacheGet;MapCache.prototype.has=mapCacheHas;MapCache.prototype.set=mapCacheSet;var FUNC_ERROR_TEXT="Expected a function";function memoize$2(Ra,qa){if(typeof Ra!="function"||qa!=null&&typeof qa!="function")throw new TypeError(FUNC_ERROR_TEXT);var nd=function(){var od=arguments,ld=qa?qa.apply(this,od):od[0],ud=nd.cache;if(ud.has(ld))return ud.get(ld);var dd=Ra.apply(this,od);return nd.cache=ud.set(ld,dd)||ud,dd};return nd.cache=new(memoize$2.Cache||MapCache),nd}memoize$2.Cache=MapCache;function stackClear(){this.__data__=new ListCache,this.size=0}function stackDelete(Ra){var qa=this.__data__,nd=qa.delete(Ra);return this.size=qa.size,nd}function stackGet(Ra){return this.__data__.get(Ra)}function stackHas(Ra){return this.__data__.has(Ra)}var LARGE_ARRAY_SIZE=200;function stackSet(Ra,qa){var nd=this.__data__;if(nd instanceof ListCache){var od=nd.__data__;if(!Map$1||od.length<LARGE_ARRAY_SIZE-1)return od.push([Ra,qa]),this.size=++nd.size,this;nd=this.__data__=new MapCache(od)}return nd.set(Ra,qa),this.size=nd.size,this}function Stack(Ra){var qa=this.__data__=new ListCache(Ra);this.size=qa.size}Stack.prototype.clear=stackClear;Stack.prototype.delete=stackDelete;Stack.prototype.get=stackGet;Stack.prototype.has=stackHas;Stack.prototype.set=stackSet;var defineProperty=function(){try{var Ra=getNative(Object,"defineProperty");return Ra({},"",{}),Ra}catch{}}();function baseAssignValue(Ra,qa,nd){qa=="__proto__"&&defineProperty?defineProperty(Ra,qa,{configurable:!0,enumerable:!0,value:nd,writable:!0}):Ra[qa]=nd}function assignMergeValue(Ra,qa,nd){(nd!==void 0&&!eq(Ra[qa],nd)||nd===void 0&&!(qa in Ra))&&baseAssignValue(Ra,qa,nd)}function createBaseFor(Ra){return function(qa,nd,od){for(var ld=-1,ud=Object(qa),dd=od(qa),pd=dd.length;pd--;){var fd=dd[++ld];if(nd(ud[fd],fd,ud)===!1)break}return qa}}var baseFor=createBaseFor(),freeExports$2=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule$2=freeExports$2&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports$2=freeModule$2&&freeModule$2.exports===freeExports$2,Buffer$3=moduleExports$2?root.Buffer:void 0,allocUnsafe=Buffer$3?Buffer$3.allocUnsafe:void 0;function cloneBuffer(Ra,qa){if(qa)return Ra.slice();var nd=Ra.length,od=allocUnsafe?allocUnsafe(nd):new Ra.constructor(nd);return Ra.copy(od),od}var Uint8Array$1=root.Uint8Array;function cloneArrayBuffer(Ra){var qa=new Ra.constructor(Ra.byteLength);return new Uint8Array$1(qa).set(new Uint8Array$1(Ra)),qa}function cloneTypedArray(Ra,qa){var nd=qa?cloneArrayBuffer(Ra.buffer):Ra.buffer;return new Ra.constructor(nd,Ra.byteOffset,Ra.length)}function copyArray(Ra,qa){var nd=-1,od=Ra.length;for(qa||(qa=Array(od));++nd<od;)qa[nd]=Ra[nd];return qa}var objectCreate=Object.create,baseCreate=function(){function Ra(){}return function(qa){if(!isObject$5(qa))return{};if(objectCreate)return objectCreate(qa);Ra.prototype=qa;var nd=new Ra;return Ra.prototype=void 0,nd}}();function overArg(Ra,qa){return function(nd){return Ra(qa(nd))}}var getPrototype=overArg(Object.getPrototypeOf,Object),objectProto$7=Object.prototype;function isPrototype(Ra){var qa=Ra&&Ra.constructor,nd=typeof qa=="function"&&qa.prototype||objectProto$7;return Ra===nd}function initCloneObject(Ra){return typeof Ra.constructor=="function"&&!isPrototype(Ra)?baseCreate(getPrototype(Ra)):{}}function isObjectLike$2(Ra){return Ra!=null&&typeof Ra=="object"}var argsTag$1="[object Arguments]";function baseIsArguments(Ra){return isObjectLike$2(Ra)&&baseGetTag(Ra)==argsTag$1}var objectProto$6=Object.prototype,hasOwnProperty$9=objectProto$6.hasOwnProperty,propertyIsEnumerable=objectProto$6.propertyIsEnumerable,isArguments$1=baseIsArguments(function(){return arguments}())?baseIsArguments:function(Ra){return isObjectLike$2(Ra)&&hasOwnProperty$9.call(Ra,"callee")&&!propertyIsEnumerable.call(Ra,"callee")},isArray$1=Array.isArray,MAX_SAFE_INTEGER$1=9007199254740991;function isLength(Ra){return typeof Ra=="number"&&Ra>-1&&Ra%1==0&&Ra<=MAX_SAFE_INTEGER$1}function isArrayLike$1(Ra){return Ra!=null&&isLength(Ra.length)&&!isFunction$2(Ra)}function isArrayLikeObject(Ra){return isObjectLike$2(Ra)&&isArrayLike$1(Ra)}function stubFalse(){return!1}var freeExports$1=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule$1=freeExports$1&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports$1=freeModule$1&&freeModule$1.exports===freeExports$1,Buffer$2=moduleExports$1?root.Buffer:void 0,nativeIsBuffer=Buffer$2?Buffer$2.isBuffer:void 0,isBuffer$1=nativeIsBuffer||stubFalse,objectTag$2="[object Object]",funcProto=Function.prototype,objectProto$5=Object.prototype,funcToString=funcProto.toString,hasOwnProperty$8=objectProto$5.hasOwnProperty,objectCtorString=funcToString.call(Object);function isPlainObject$3(Ra){if(!isObjectLike$2(Ra)||baseGetTag(Ra)!=objectTag$2)return!1;var qa=getPrototype(Ra);if(qa===null)return!0;var nd=hasOwnProperty$8.call(qa,"constructor")&&qa.constructor;return typeof nd=="function"&&nd instanceof nd&&funcToString.call(nd)==objectCtorString}var argsTag="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag="[object Function]",mapTag$2="[object Map]",numberTag="[object Number]",objectTag$1="[object Object]",regexpTag="[object RegExp]",setTag$2="[object Set]",stringTag="[object String]",weakMapTag$1="[object WeakMap]",arrayBufferTag="[object ArrayBuffer]",dataViewTag$1="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=!0;typedArrayTags[argsTag]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dataViewTag$1]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag]=typedArrayTags[mapTag$2]=typedArrayTags[numberTag]=typedArrayTags[objectTag$1]=typedArrayTags[regexpTag]=typedArrayTags[setTag$2]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag$1]=!1;function baseIsTypedArray(Ra){return isObjectLike$2(Ra)&&isLength(Ra.length)&&!!typedArrayTags[baseGetTag(Ra)]}function baseUnary(Ra){return function(qa){return Ra(qa)}}var freeExports=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,freeProcess=moduleExports&&freeGlobal.process,nodeUtil=function(){try{var Ra=freeModule&&freeModule.require&&freeModule.require("util").types;return Ra||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch{}}(),nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray,isTypedArray$2=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray;function safeGet(Ra,qa){if(!(qa==="constructor"&&typeof Ra[qa]=="function")&&qa!="__proto__")return Ra[qa]}var objectProto$4=Object.prototype,hasOwnProperty$7=objectProto$4.hasOwnProperty;function assignValue(Ra,qa,nd){var od=Ra[qa];(!(hasOwnProperty$7.call(Ra,qa)&&eq(od,nd))||nd===void 0&&!(qa in Ra))&&baseAssignValue(Ra,qa,nd)}function copyObject(Ra,qa,nd,od){var ld=!nd;nd||(nd={});for(var ud=-1,dd=qa.length;++ud<dd;){var pd=qa[ud],fd=void 0;fd===void 0&&(fd=Ra[pd]),ld?baseAssignValue(nd,pd,fd):assignValue(nd,pd,fd)}return nd}function baseTimes(Ra,qa){for(var nd=-1,od=Array(Ra);++nd<Ra;)od[nd]=qa(nd);return od}var MAX_SAFE_INTEGER=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex$2(Ra,qa){var nd=typeof Ra;return qa=qa??MAX_SAFE_INTEGER,!!qa&&(nd=="number"||nd!="symbol"&&reIsUint.test(Ra))&&Ra>-1&&Ra%1==0&&Ra<qa}var objectProto$3=Object.prototype,hasOwnProperty$6=objectProto$3.hasOwnProperty;function arrayLikeKeys(Ra,qa){var nd=isArray$1(Ra),od=!nd&&isArguments$1(Ra),ld=!nd&&!od&&isBuffer$1(Ra),ud=!nd&&!od&&!ld&&isTypedArray$2(Ra),dd=nd||od||ld||ud,pd=dd?baseTimes(Ra.length,String):[],fd=pd.length;for(var md in Ra)(qa||hasOwnProperty$6.call(Ra,md))&&!(dd&&(md=="length"||ld&&(md=="offset"||md=="parent")||ud&&(md=="buffer"||md=="byteLength"||md=="byteOffset")||isIndex$2(md,fd)))&&pd.push(md);return pd}function nativeKeysIn(Ra){var qa=[];if(Ra!=null)for(var nd in Object(Ra))qa.push(nd);return qa}var objectProto$2=Object.prototype,hasOwnProperty$5=objectProto$2.hasOwnProperty;function baseKeysIn(Ra){if(!isObject$5(Ra))return nativeKeysIn(Ra);var qa=isPrototype(Ra),nd=[];for(var od in Ra)od=="constructor"&&(qa||!hasOwnProperty$5.call(Ra,od))||nd.push(od);return nd}function keysIn(Ra){return isArrayLike$1(Ra)?arrayLikeKeys(Ra,!0):baseKeysIn(Ra)}function toPlainObject(Ra){return copyObject(Ra,keysIn(Ra))}function baseMergeDeep(Ra,qa,nd,od,ld,ud,dd){var pd=safeGet(Ra,nd),fd=safeGet(qa,nd),md=dd.get(fd);if(md){assignMergeValue(Ra,nd,md);return}var vd=ud?ud(pd,fd,nd+"",Ra,qa,dd):void 0,Ad=vd===void 0;if(Ad){var Nd=isArray$1(fd),Od=!Nd&&isBuffer$1(fd),kd=!Nd&&!Od&&isTypedArray$2(fd);vd=fd,Nd||Od||kd?isArray$1(pd)?vd=pd:isArrayLikeObject(pd)?vd=copyArray(pd):Od?(Ad=!1,vd=cloneBuffer(fd,!0)):kd?(Ad=!1,vd=cloneTypedArray(fd,!0)):vd=[]:isPlainObject$3(fd)||isArguments$1(fd)?(vd=pd,isArguments$1(pd)?vd=toPlainObject(pd):(!isObject$5(pd)||isFunction$2(pd))&&(vd=initCloneObject(fd))):Ad=!1}Ad&&(dd.set(fd,vd),ld(vd,fd,od,ud,dd),dd.delete(fd)),assignMergeValue(Ra,nd,vd)}function baseMerge(Ra,qa,nd,od,ld){Ra!==qa&&baseFor(qa,function(ud,dd){if(ld||(ld=new Stack),isObject$5(ud))baseMergeDeep(Ra,qa,dd,nd,baseMerge,od,ld);else{var pd=od?od(safeGet(Ra,dd),ud,dd+"",Ra,qa,ld):void 0;pd===void 0&&(pd=ud),assignMergeValue(Ra,dd,pd)}},keysIn)}function identity(Ra){return Ra}function apply$1(Ra,qa,nd){switch(nd.length){case 0:return Ra.call(qa);case 1:return Ra.call(qa,nd[0]);case 2:return Ra.call(qa,nd[0],nd[1]);case 3:return Ra.call(qa,nd[0],nd[1],nd[2])}return Ra.apply(qa,nd)}var nativeMax=Math.max;function overRest(Ra,qa,nd){return qa=nativeMax(qa===void 0?Ra.length-1:qa,0),function(){for(var od=arguments,ld=-1,ud=nativeMax(od.length-qa,0),dd=Array(ud);++ld<ud;)dd[ld]=od[qa+ld];ld=-1;for(var pd=Array(qa+1);++ld<qa;)pd[ld]=od[ld];return pd[qa]=nd(dd),apply$1(Ra,this,pd)}}function constant$2(Ra){return function(){return Ra}}var baseSetToString=defineProperty?function(Ra,qa){return defineProperty(Ra,"toString",{configurable:!0,enumerable:!1,value:constant$2(qa),writable:!0})}:identity,HOT_COUNT=800,HOT_SPAN=16,nativeNow=Date.now;function shortOut(Ra){var qa=0,nd=0;return function(){var od=nativeNow(),ld=HOT_SPAN-(od-nd);if(nd=od,ld>0){if(++qa>=HOT_COUNT)return arguments[0]}else qa=0;return Ra.apply(void 0,arguments)}}var setToString=shortOut(baseSetToString);function baseRest(Ra,qa){return setToString(overRest(Ra,qa,identity),Ra+"")}function isIterateeCall(Ra,qa,nd){if(!isObject$5(nd))return!1;var od=typeof qa;return(od=="number"?isArrayLike$1(nd)&&isIndex$2(qa,nd.length):od=="string"&&qa in nd)?eq(nd[qa],Ra):!1}function createAssigner(Ra){return baseRest(function(qa,nd){var od=-1,ld=nd.length,ud=ld>1?nd[ld-1]:void 0,dd=ld>2?nd[2]:void 0;for(ud=Ra.length>3&&typeof ud=="function"?(ld--,ud):void 0,dd&&isIterateeCall(nd[0],nd[1],dd)&&(ud=ld<3?void 0:ud,ld=1),qa=Object(qa);++od<ld;){var pd=nd[od];pd&&Ra(qa,pd,od,ud)}return qa})}var merge$3=createAssigner(function(Ra,qa,nd){baseMerge(Ra,qa,nd)}),ZERO_WIDTH_SPACE="",d3CurveTypes={curveBasis,curveBasisClosed,curveBasisOpen,curveBumpX:bumpX,curveBumpY:bumpY,curveBundle,curveCardinalClosed,curveCardinalOpen,curveCardinal,curveCatmullRomClosed,curveCatmullRomOpen,curveCatmullRom,curveLinear,curveLinearClosed,curveMonotoneX:monotoneX,curveMonotoneY:monotoneY,curveNatural,curveStep,curveStepAfter:stepAfter,curveStepBefore:stepBefore},directiveWithoutOpen=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,detectInit=__name(function(Ra,qa){const nd=detectDirective(Ra,/(?:init\b)|(?:initialize\b)/);let od={};if(Array.isArray(nd)){const dd=nd.map(pd=>pd.args);sanitizeDirective(dd),od=assignWithDepth_default(od,[...dd])}else od=nd.args;if(!od)return;let ld=detectType$1(Ra,qa);const ud="config";return od[ud]!==void 0&&(ld==="flowchart-v2"&&(ld="flowchart"),od[ld]=od[ud],delete od[ud]),od},"detectInit"),detectDirective=__name(function(Ra,qa=null){var nd,od;try{const ld=new RegExp(`[%]{2}(?![{]${directiveWithoutOpen.source})(?=[}][%]{2}).*
`,"ig");Ra=Ra.trim().replace(ld,"").replace(/'/gm,'"'),log$1.debug(`Detecting diagram directive${qa!==null?" type:"+qa:""} based on the text:${Ra}`);let ud;const dd=[];for(;(ud=directiveRegex.exec(Ra))!==null;)if(ud.index===directiveRegex.lastIndex&&directiveRegex.lastIndex++,ud&&!qa||qa&&((nd=ud[1])!=null&&nd.match(qa))||qa&&((od=ud[2])!=null&&od.match(qa))){const pd=ud[1]?ud[1]:ud[2],fd=ud[3]?ud[3].trim():ud[4]?JSON.parse(ud[4].trim()):null;dd.push({type:pd,args:fd})}return dd.length===0?{type:Ra,args:null}:dd.length===1?dd[0]:dd}catch(ld){return log$1.error(`ERROR: ${ld.message} - Unable to parse directive type: '${qa}' based on the text: '${Ra}'`),{type:void 0,args:null}}},"detectDirective"),removeDirectives=__name(function(Ra){return Ra.replace(directiveRegex,"")},"removeDirectives"),isSubstringInArray=__name(function(Ra,qa){for(const[nd,od]of qa.entries())if(od.match(Ra))return nd;return-1},"isSubstringInArray");function interpolateToCurve(Ra,qa){if(!Ra)return qa;const nd=`curve${Ra.charAt(0).toUpperCase()+Ra.slice(1)}`;return d3CurveTypes[nd]??qa}__name(interpolateToCurve,"interpolateToCurve");function formatUrl(Ra,qa){const nd=Ra.trim();if(nd)return qa.securityLevel!=="loose"?sanitizeUrl_1(nd):nd}__name(formatUrl,"formatUrl");var runFunc=__name((Ra,...qa)=>{const nd=Ra.split("."),od=nd.length-1,ld=nd[od];let ud=window;for(let dd=0;dd<od;dd++)if(ud=ud[nd[dd]],!ud){log$1.error(`Function name: ${Ra} not found in window`);return}ud[ld](...qa)},"runFunc");function distance(Ra,qa){return!Ra||!qa?0:Math.sqrt(Math.pow(qa.x-Ra.x,2)+Math.pow(qa.y-Ra.y,2))}__name(distance,"distance");function traverseEdge(Ra){let qa,nd=0;Ra.forEach(ld=>{nd+=distance(ld,qa),qa=ld});const od=nd/2;return calculatePoint(Ra,od)}__name(traverseEdge,"traverseEdge");function calcLabelPosition(Ra){return Ra.length===1?Ra[0]:traverseEdge(Ra)}__name(calcLabelPosition,"calcLabelPosition");var roundNumber=__name((Ra,qa=2)=>{const nd=Math.pow(10,qa);return Math.round(Ra*nd)/nd},"roundNumber"),calculatePoint=__name((Ra,qa)=>{let nd,od=qa;for(const ld of Ra){if(nd){const ud=distance(ld,nd);if(ud<od)od-=ud;else{const dd=od/ud;if(dd<=0)return nd;if(dd>=1)return{x:ld.x,y:ld.y};if(dd>0&&dd<1)return{x:roundNumber((1-dd)*nd.x+dd*ld.x,5),y:roundNumber((1-dd)*nd.y+dd*ld.y,5)}}}nd=ld}throw new Error("Could not find a suitable point for the given distance")},"calculatePoint"),calcCardinalityPosition=__name((Ra,qa,nd)=>{log$1.info(`our points ${JSON.stringify(qa)}`),qa[0]!==nd&&(qa=qa.reverse());const ld=calculatePoint(qa,25),ud=Ra?10:5,dd=Math.atan2(qa[0].y-ld.y,qa[0].x-ld.x),pd={x:0,y:0};return pd.x=Math.sin(dd)*ud+(qa[0].x+ld.x)/2,pd.y=-Math.cos(dd)*ud+(qa[0].y+ld.y)/2,pd},"calcCardinalityPosition");function calcTerminalLabelPosition(Ra,qa,nd){const od=structuredClone(nd);log$1.info("our points",od),qa!=="start_left"&&qa!=="start_right"&&od.reverse();const ld=25+Ra,ud=calculatePoint(od,ld),dd=10+Ra*.5,pd=Math.atan2(od[0].y-ud.y,od[0].x-ud.x),fd={x:0,y:0};return qa==="start_left"?(fd.x=Math.sin(pd+Math.PI)*dd+(od[0].x+ud.x)/2,fd.y=-Math.cos(pd+Math.PI)*dd+(od[0].y+ud.y)/2):qa==="end_right"?(fd.x=Math.sin(pd-Math.PI)*dd+(od[0].x+ud.x)/2-5,fd.y=-Math.cos(pd-Math.PI)*dd+(od[0].y+ud.y)/2-5):qa==="end_left"?(fd.x=Math.sin(pd)*dd+(od[0].x+ud.x)/2-5,fd.y=-Math.cos(pd)*dd+(od[0].y+ud.y)/2-5):(fd.x=Math.sin(pd)*dd+(od[0].x+ud.x)/2,fd.y=-Math.cos(pd)*dd+(od[0].y+ud.y)/2),fd}__name(calcTerminalLabelPosition,"calcTerminalLabelPosition");function getStylesFromArray(Ra){let qa="",nd="";for(const od of Ra)od!==void 0&&(od.startsWith("color:")||od.startsWith("text-align:")?nd=nd+od+";":qa=qa+od+";");return{style:qa,labelStyle:nd}}__name(getStylesFromArray,"getStylesFromArray");var cnt=0,generateId=__name(()=>(cnt++,"id-"+Math.random().toString(36).substr(2,12)+"-"+cnt),"generateId");function makeRandomHex(Ra){let qa="";const nd="0123456789abcdef",od=nd.length;for(let ld=0;ld<Ra;ld++)qa+=nd.charAt(Math.floor(Math.random()*od));return qa}__name(makeRandomHex,"makeRandomHex");var random=__name(Ra=>makeRandomHex(Ra.length),"random"),getTextObj=__name(function(){return{x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""}},"getTextObj"),drawSimpleText=__name(function(Ra,qa){const nd=qa.text.replace(common_default.lineBreakRegex," "),[,od]=parseFontSize(qa.fontSize),ld=Ra.append("text");ld.attr("x",qa.x),ld.attr("y",qa.y),ld.style("text-anchor",qa.anchor),ld.style("font-family",qa.fontFamily),ld.style("font-size",od),ld.style("font-weight",qa.fontWeight),ld.attr("fill",qa.fill),qa.class!==void 0&&ld.attr("class",qa.class);const ud=ld.append("tspan");return ud.attr("x",qa.x+qa.textMargin*2),ud.attr("fill",qa.fill),ud.text(nd),ld},"drawSimpleText"),wrapLabel=memoize$2((Ra,qa,nd)=>{if(!Ra||(nd=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},nd),common_default.lineBreakRegex.test(Ra)))return Ra;const od=Ra.split(" ").filter(Boolean),ld=[];let ud="";return od.forEach((dd,pd)=>{const fd=calculateTextWidth(`${dd} `,nd),md=calculateTextWidth(ud,nd);if(fd>qa){const{hyphenatedStrings:Nd,remainingWord:Od}=breakString(dd,qa,"-",nd);ld.push(ud,...Nd),ud=Od}else md+fd>=qa?(ld.push(ud),ud=dd):ud=[ud,dd].filter(Boolean).join(" ");pd+1===od.length&&ld.push(ud)}),ld.filter(dd=>dd!=="").join(nd.joinWith)},(Ra,qa,nd)=>`${Ra}${qa}${nd.fontSize}${nd.fontWeight}${nd.fontFamily}${nd.joinWith}`),breakString=memoize$2((Ra,qa,nd="-",od)=>{od=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},od);const ld=[...Ra],ud=[];let dd="";return ld.forEach((pd,fd)=>{const md=`${dd}${pd}`;if(calculateTextWidth(md,od)>=qa){const Ad=fd+1,Nd=ld.length===Ad,Od=`${md}${nd}`;ud.push(Nd?md:Od),dd=""}else dd=md}),{hyphenatedStrings:ud,remainingWord:dd}},(Ra,qa,nd="-",od)=>`${Ra}${qa}${nd}${od.fontSize}${od.fontWeight}${od.fontFamily}`);function calculateTextHeight(Ra,qa){return calculateTextDimensions(Ra,qa).height}__name(calculateTextHeight,"calculateTextHeight");function calculateTextWidth(Ra,qa){return calculateTextDimensions(Ra,qa).width}__name(calculateTextWidth,"calculateTextWidth");var calculateTextDimensions=memoize$2((Ra,qa)=>{const{fontSize:nd=12,fontFamily:od="Arial",fontWeight:ld=400}=qa;if(!Ra)return{width:0,height:0};const[,ud]=parseFontSize(nd),dd=["sans-serif",od],pd=Ra.split(common_default.lineBreakRegex),fd=[],md=select("body");if(!md.remove)return{width:0,height:0,lineHeight:0};const vd=md.append("svg");for(const Nd of dd){let Od=0;const kd={width:0,height:0,lineHeight:0};for(const Ld of pd){const Gd=getTextObj();Gd.text=Ld||ZERO_WIDTH_SPACE;const jd=drawSimpleText(vd,Gd).style("font-size",ud).style("font-weight",ld).style("font-family",Nd),Fd=(jd._groups||jd)[0][0].getBBox();if(Fd.width===0&&Fd.height===0)throw new Error("svg element not in render tree");kd.width=Math.round(Math.max(kd.width,Fd.width)),Od=Math.round(Fd.height),kd.height+=Od,kd.lineHeight=Math.round(Math.max(kd.lineHeight,Od))}fd.push(kd)}vd.remove();const Ad=isNaN(fd[1].height)||isNaN(fd[1].width)||isNaN(fd[1].lineHeight)||fd[0].height>fd[1].height&&fd[0].width>fd[1].width&&fd[0].lineHeight>fd[1].lineHeight?0:1;return fd[Ad]},(Ra,qa)=>`${Ra}${qa.fontSize}${qa.fontWeight}${qa.fontFamily}`),KS,InitIDGenerator=(KS=class{constructor(qa=!1,nd){this.count=0,this.count=nd?nd.length:0,this.next=qa?()=>this.count++:()=>Date.now()}},__name(KS,"InitIDGenerator"),KS),decoder,entityDecode=__name(function(Ra){return decoder=decoder||document.createElement("div"),Ra=escape(Ra).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),decoder.innerHTML=Ra,unescape(decoder.textContent)},"entityDecode");function isDetailedError(Ra){return"str"in Ra}__name(isDetailedError,"isDetailedError");var insertTitle=__name((Ra,qa,nd,od)=>{var ud;if(!od)return;const ld=(ud=Ra.node())==null?void 0:ud.getBBox();ld&&Ra.append("text").text(od).attr("text-anchor","middle").attr("x",ld.x+ld.width/2).attr("y",-nd).attr("class",qa)},"insertTitle"),parseFontSize=__name(Ra=>{if(typeof Ra=="number")return[Ra,Ra+"px"];const qa=parseInt(Ra??"",10);return Number.isNaN(qa)?[void 0,void 0]:Ra===String(qa)?[qa,Ra+"px"]:[qa,Ra]},"parseFontSize");function cleanAndMerge(Ra,qa){return merge$3({},Ra,qa)}__name(cleanAndMerge,"cleanAndMerge");var utils_default={assignWithDepth:assignWithDepth_default,wrapLabel,calculateTextHeight,calculateTextWidth,calculateTextDimensions,cleanAndMerge,detectInit,detectDirective,isSubstringInArray,interpolateToCurve,calcLabelPosition,calcCardinalityPosition,calcTerminalLabelPosition,formatUrl,getStylesFromArray,generateId,random,runFunc,entityDecode,insertTitle,parseFontSize,InitIDGenerator},encodeEntities=__name(function(Ra){let qa=Ra;return qa=qa.replace(/style.*:\S*#.*;/g,function(nd){return nd.substring(0,nd.length-1)}),qa=qa.replace(/classDef.*:\S*#.*;/g,function(nd){return nd.substring(0,nd.length-1)}),qa=qa.replace(/#\w+;/g,function(nd){const od=nd.substring(1,nd.length-1);return/^\+?\d+$/.test(od)?"fl°°"+od+"¶ß":"fl°"+od+"¶ß"}),qa},"encodeEntities"),decodeEntities=__name(function(Ra){return Ra.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},"decodeEntities"),getEdgeId=__name((Ra,qa,{counter:nd=0,prefix:od,suffix:ld})=>`${od?`${od}_`:""}${Ra}_${qa}_${nd}${ld?`_${ld}`:""}`,"getEdgeId");function handleUndefinedAttr(Ra){return Ra??null}__name(handleUndefinedAttr,"handleUndefinedAttr");function _getDefaults(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let _defaults=_getDefaults();function changeDefaults(Ra){_defaults=Ra}const escapeTest=/[&<>"']/,escapeReplace=new RegExp(escapeTest.source,"g"),escapeTestNoEncode=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode=new RegExp(escapeTestNoEncode.source,"g"),escapeReplacements={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},getEscapeReplacement=Ra=>escapeReplacements[Ra];function escape$1(Ra,qa){if(qa){if(escapeTest.test(Ra))return Ra.replace(escapeReplace,getEscapeReplacement)}else if(escapeTestNoEncode.test(Ra))return Ra.replace(escapeReplaceNoEncode,getEscapeReplacement);return Ra}const unescapeTest=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function unescape$1(Ra){return Ra.replace(unescapeTest,(qa,nd)=>(nd=nd.toLowerCase(),nd==="colon"?":":nd.charAt(0)==="#"?nd.charAt(1)==="x"?String.fromCharCode(parseInt(nd.substring(2),16)):String.fromCharCode(+nd.substring(1)):""))}const caret$1=/(^|[^\[])\^/g;function edit(Ra,qa){let nd=typeof Ra=="string"?Ra:Ra.source;qa=qa||"";const od={replace:(ld,ud)=>{let dd=typeof ud=="string"?ud:ud.source;return dd=dd.replace(caret$1,"$1"),nd=nd.replace(ld,dd),od},getRegex:()=>new RegExp(nd,qa)};return od}function cleanUrl(Ra){try{Ra=encodeURI(Ra).replace(/%25/g,"%")}catch{return null}return Ra}const noopTest={exec:()=>null};function splitCells(Ra,qa){const nd=Ra.replace(/\|/g,(ud,dd,pd)=>{let fd=!1,md=dd;for(;--md>=0&&pd[md]==="\\";)fd=!fd;return fd?"|":" |"}),od=nd.split(/ \|/);let ld=0;if(od[0].trim()||od.shift(),od.length>0&&!od[od.length-1].trim()&&od.pop(),qa)if(od.length>qa)od.splice(qa);else for(;od.length<qa;)od.push("");for(;ld<od.length;ld++)od[ld]=od[ld].trim().replace(/\\\|/g,"|");return od}function rtrim(Ra,qa,nd){const od=Ra.length;if(od===0)return"";let ld=0;for(;ld<od;){const ud=Ra.charAt(od-ld-1);if(ud===qa&&!nd)ld++;else if(ud!==qa&&nd)ld++;else break}return Ra.slice(0,od-ld)}function findClosingBracket(Ra,qa){if(Ra.indexOf(qa[1])===-1)return-1;let nd=0;for(let od=0;od<Ra.length;od++)if(Ra[od]==="\\")od++;else if(Ra[od]===qa[0])nd++;else if(Ra[od]===qa[1]&&(nd--,nd<0))return od;return-1}function outputLink(Ra,qa,nd,od){const ld=qa.href,ud=qa.title?escape$1(qa.title):null,dd=Ra[1].replace(/\\([\[\]])/g,"$1");if(Ra[0].charAt(0)!=="!"){od.state.inLink=!0;const pd={type:"link",raw:nd,href:ld,title:ud,text:dd,tokens:od.inlineTokens(dd)};return od.state.inLink=!1,pd}return{type:"image",raw:nd,href:ld,title:ud,text:escape$1(dd)}}function indentCodeCompensation(Ra,qa){const nd=Ra.match(/^(\s+)(?:```)/);if(nd===null)return qa;const od=nd[1];return qa.split(`
`).map(ld=>{const ud=ld.match(/^\s+/);if(ud===null)return ld;const[dd]=ud;return dd.length>=od.length?ld.slice(od.length):ld}).join(`
`)}class _Tokenizer{constructor(qa){kg(this,"options");kg(this,"rules");kg(this,"lexer");this.options=qa||_defaults}space(qa){const nd=this.rules.block.newline.exec(qa);if(nd&&nd[0].length>0)return{type:"space",raw:nd[0]}}code(qa){const nd=this.rules.block.code.exec(qa);if(nd){const od=nd[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:nd[0],codeBlockStyle:"indented",text:this.options.pedantic?od:rtrim(od,`
`)}}}fences(qa){const nd=this.rules.block.fences.exec(qa);if(nd){const od=nd[0],ld=indentCodeCompensation(od,nd[3]||"");return{type:"code",raw:od,lang:nd[2]?nd[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):nd[2],text:ld}}}heading(qa){const nd=this.rules.block.heading.exec(qa);if(nd){let od=nd[2].trim();if(/#$/.test(od)){const ld=rtrim(od,"#");(this.options.pedantic||!ld||/ $/.test(ld))&&(od=ld.trim())}return{type:"heading",raw:nd[0],depth:nd[1].length,text:od,tokens:this.lexer.inline(od)}}}hr(qa){const nd=this.rules.block.hr.exec(qa);if(nd)return{type:"hr",raw:rtrim(nd[0],`
`)}}blockquote(qa){const nd=this.rules.block.blockquote.exec(qa);if(nd){let od=rtrim(nd[0],`
`).split(`
`),ld="",ud="";const dd=[];for(;od.length>0;){let pd=!1;const fd=[];let md;for(md=0;md<od.length;md++)if(/^ {0,3}>/.test(od[md]))fd.push(od[md]),pd=!0;else if(!pd)fd.push(od[md]);else break;od=od.slice(md);const vd=fd.join(`
`),Ad=vd.replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,`
$1`).replace(/^ {0,3}>[ \t]?/gm,"");ld=ld?`${ld}
${vd}`:vd,ud=ud?`${ud}
${Ad}`:Ad;const Nd=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(Ad,dd,!0),this.lexer.state.top=Nd,od.length===0)break;const Od=dd[dd.length-1];if((Od==null?void 0:Od.type)==="code")break;if((Od==null?void 0:Od.type)==="blockquote"){const kd=Od,Ld=kd.raw+`
`+od.join(`
`),Gd=this.blockquote(Ld);dd[dd.length-1]=Gd,ld=ld.substring(0,ld.length-kd.raw.length)+Gd.raw,ud=ud.substring(0,ud.length-kd.text.length)+Gd.text;break}else if((Od==null?void 0:Od.type)==="list"){const kd=Od,Ld=kd.raw+`
`+od.join(`
`),Gd=this.list(Ld);dd[dd.length-1]=Gd,ld=ld.substring(0,ld.length-Od.raw.length)+Gd.raw,ud=ud.substring(0,ud.length-kd.raw.length)+Gd.raw,od=Ld.substring(dd[dd.length-1].raw.length).split(`
`);continue}}return{type:"blockquote",raw:ld,tokens:dd,text:ud}}}list(qa){let nd=this.rules.block.list.exec(qa);if(nd){let od=nd[1].trim();const ld=od.length>1,ud={type:"list",raw:"",ordered:ld,start:ld?+od.slice(0,-1):"",loose:!1,items:[]};od=ld?`\\d{1,9}\\${od.slice(-1)}`:`\\${od}`,this.options.pedantic&&(od=ld?od:"[*+-]");const dd=new RegExp(`^( {0,3}${od})((?:[ ][^\\n]*)?(?:\\n|$))`);let pd=!1;for(;qa;){let fd=!1,md="",vd="";if(!(nd=dd.exec(qa))||this.rules.block.hr.test(qa))break;md=nd[0],qa=qa.substring(md.length);let Ad=nd[2].split(`
`,1)[0].replace(/^\t+/,jd=>" ".repeat(3*jd.length)),Nd=qa.split(`
`,1)[0],Od=!Ad.trim(),kd=0;if(this.options.pedantic?(kd=2,vd=Ad.trimStart()):Od?kd=nd[1].length+1:(kd=nd[2].search(/[^ ]/),kd=kd>4?1:kd,vd=Ad.slice(kd),kd+=nd[1].length),Od&&/^ *$/.test(Nd)&&(md+=Nd+`
`,qa=qa.substring(Nd.length+1),fd=!0),!fd){const jd=new RegExp(`^ {0,${Math.min(3,kd-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),Fd=new RegExp(`^ {0,${Math.min(3,kd-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),Ud=new RegExp(`^ {0,${Math.min(3,kd-1)}}(?:\`\`\`|~~~)`),qd=new RegExp(`^ {0,${Math.min(3,kd-1)}}#`);for(;qa;){const zd=qa.split(`
`,1)[0];if(Nd=zd,this.options.pedantic&&(Nd=Nd.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),Ud.test(Nd)||qd.test(Nd)||jd.test(Nd)||Fd.test(qa))break;if(Nd.search(/[^ ]/)>=kd||!Nd.trim())vd+=`
`+Nd.slice(kd);else{if(Od||Ad.search(/[^ ]/)>=4||Ud.test(Ad)||qd.test(Ad)||Fd.test(Ad))break;vd+=`
`+Nd}!Od&&!Nd.trim()&&(Od=!0),md+=zd+`
`,qa=qa.substring(zd.length+1),Ad=Nd.slice(kd)}}ud.loose||(pd?ud.loose=!0:/\n *\n *$/.test(md)&&(pd=!0));let Ld=null,Gd;this.options.gfm&&(Ld=/^\[[ xX]\] /.exec(vd),Ld&&(Gd=Ld[0]!=="[ ] ",vd=vd.replace(/^\[[ xX]\] +/,""))),ud.items.push({type:"list_item",raw:md,task:!!Ld,checked:Gd,loose:!1,text:vd,tokens:[]}),ud.raw+=md}ud.items[ud.items.length-1].raw=ud.items[ud.items.length-1].raw.trimEnd(),ud.items[ud.items.length-1].text=ud.items[ud.items.length-1].text.trimEnd(),ud.raw=ud.raw.trimEnd();for(let fd=0;fd<ud.items.length;fd++)if(this.lexer.state.top=!1,ud.items[fd].tokens=this.lexer.blockTokens(ud.items[fd].text,[]),!ud.loose){const md=ud.items[fd].tokens.filter(Ad=>Ad.type==="space"),vd=md.length>0&&md.some(Ad=>/\n.*\n/.test(Ad.raw));ud.loose=vd}if(ud.loose)for(let fd=0;fd<ud.items.length;fd++)ud.items[fd].loose=!0;return ud}}html(qa){const nd=this.rules.block.html.exec(qa);if(nd)return{type:"html",block:!0,raw:nd[0],pre:nd[1]==="pre"||nd[1]==="script"||nd[1]==="style",text:nd[0]}}def(qa){const nd=this.rules.block.def.exec(qa);if(nd){const od=nd[1].toLowerCase().replace(/\s+/g," "),ld=nd[2]?nd[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",ud=nd[3]?nd[3].substring(1,nd[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):nd[3];return{type:"def",tag:od,raw:nd[0],href:ld,title:ud}}}table(qa){const nd=this.rules.block.table.exec(qa);if(!nd||!/[:|]/.test(nd[2]))return;const od=splitCells(nd[1]),ld=nd[2].replace(/^\||\| *$/g,"").split("|"),ud=nd[3]&&nd[3].trim()?nd[3].replace(/\n[ \t]*$/,"").split(`
`):[],dd={type:"table",raw:nd[0],header:[],align:[],rows:[]};if(od.length===ld.length){for(const pd of ld)/^ *-+: *$/.test(pd)?dd.align.push("right"):/^ *:-+: *$/.test(pd)?dd.align.push("center"):/^ *:-+ *$/.test(pd)?dd.align.push("left"):dd.align.push(null);for(let pd=0;pd<od.length;pd++)dd.header.push({text:od[pd],tokens:this.lexer.inline(od[pd]),header:!0,align:dd.align[pd]});for(const pd of ud)dd.rows.push(splitCells(pd,dd.header.length).map((fd,md)=>({text:fd,tokens:this.lexer.inline(fd),header:!1,align:dd.align[md]})));return dd}}lheading(qa){const nd=this.rules.block.lheading.exec(qa);if(nd)return{type:"heading",raw:nd[0],depth:nd[2].charAt(0)==="="?1:2,text:nd[1],tokens:this.lexer.inline(nd[1])}}paragraph(qa){const nd=this.rules.block.paragraph.exec(qa);if(nd){const od=nd[1].charAt(nd[1].length-1)===`
`?nd[1].slice(0,-1):nd[1];return{type:"paragraph",raw:nd[0],text:od,tokens:this.lexer.inline(od)}}}text(qa){const nd=this.rules.block.text.exec(qa);if(nd)return{type:"text",raw:nd[0],text:nd[0],tokens:this.lexer.inline(nd[0])}}escape(qa){const nd=this.rules.inline.escape.exec(qa);if(nd)return{type:"escape",raw:nd[0],text:escape$1(nd[1])}}tag(qa){const nd=this.rules.inline.tag.exec(qa);if(nd)return!this.lexer.state.inLink&&/^<a /i.test(nd[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(nd[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(nd[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(nd[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:nd[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:nd[0]}}link(qa){const nd=this.rules.inline.link.exec(qa);if(nd){const od=nd[2].trim();if(!this.options.pedantic&&/^</.test(od)){if(!/>$/.test(od))return;const dd=rtrim(od.slice(0,-1),"\\");if((od.length-dd.length)%2===0)return}else{const dd=findClosingBracket(nd[2],"()");if(dd>-1){const fd=(nd[0].indexOf("!")===0?5:4)+nd[1].length+dd;nd[2]=nd[2].substring(0,dd),nd[0]=nd[0].substring(0,fd).trim(),nd[3]=""}}let ld=nd[2],ud="";if(this.options.pedantic){const dd=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(ld);dd&&(ld=dd[1],ud=dd[3])}else ud=nd[3]?nd[3].slice(1,-1):"";return ld=ld.trim(),/^</.test(ld)&&(this.options.pedantic&&!/>$/.test(od)?ld=ld.slice(1):ld=ld.slice(1,-1)),outputLink(nd,{href:ld&&ld.replace(this.rules.inline.anyPunctuation,"$1"),title:ud&&ud.replace(this.rules.inline.anyPunctuation,"$1")},nd[0],this.lexer)}}reflink(qa,nd){let od;if((od=this.rules.inline.reflink.exec(qa))||(od=this.rules.inline.nolink.exec(qa))){const ld=(od[2]||od[1]).replace(/\s+/g," "),ud=nd[ld.toLowerCase()];if(!ud){const dd=od[0].charAt(0);return{type:"text",raw:dd,text:dd}}return outputLink(od,ud,od[0],this.lexer)}}emStrong(qa,nd,od=""){let ld=this.rules.inline.emStrongLDelim.exec(qa);if(!ld||ld[3]&&od.match(/[\p{L}\p{N}]/u))return;if(!(ld[1]||ld[2]||"")||!od||this.rules.inline.punctuation.exec(od)){const dd=[...ld[0]].length-1;let pd,fd,md=dd,vd=0;const Ad=ld[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(Ad.lastIndex=0,nd=nd.slice(-1*qa.length+dd);(ld=Ad.exec(nd))!=null;){if(pd=ld[1]||ld[2]||ld[3]||ld[4]||ld[5]||ld[6],!pd)continue;if(fd=[...pd].length,ld[3]||ld[4]){md+=fd;continue}else if((ld[5]||ld[6])&&dd%3&&!((dd+fd)%3)){vd+=fd;continue}if(md-=fd,md>0)continue;fd=Math.min(fd,fd+md+vd);const Nd=[...ld[0]][0].length,Od=qa.slice(0,dd+ld.index+Nd+fd);if(Math.min(dd,fd)%2){const Ld=Od.slice(1,-1);return{type:"em",raw:Od,text:Ld,tokens:this.lexer.inlineTokens(Ld)}}const kd=Od.slice(2,-2);return{type:"strong",raw:Od,text:kd,tokens:this.lexer.inlineTokens(kd)}}}}codespan(qa){const nd=this.rules.inline.code.exec(qa);if(nd){let od=nd[2].replace(/\n/g," ");const ld=/[^ ]/.test(od),ud=/^ /.test(od)&&/ $/.test(od);return ld&&ud&&(od=od.substring(1,od.length-1)),od=escape$1(od,!0),{type:"codespan",raw:nd[0],text:od}}}br(qa){const nd=this.rules.inline.br.exec(qa);if(nd)return{type:"br",raw:nd[0]}}del(qa){const nd=this.rules.inline.del.exec(qa);if(nd)return{type:"del",raw:nd[0],text:nd[2],tokens:this.lexer.inlineTokens(nd[2])}}autolink(qa){const nd=this.rules.inline.autolink.exec(qa);if(nd){let od,ld;return nd[2]==="@"?(od=escape$1(nd[1]),ld="mailto:"+od):(od=escape$1(nd[1]),ld=od),{type:"link",raw:nd[0],text:od,href:ld,tokens:[{type:"text",raw:od,text:od}]}}}url(qa){var od;let nd;if(nd=this.rules.inline.url.exec(qa)){let ld,ud;if(nd[2]==="@")ld=escape$1(nd[0]),ud="mailto:"+ld;else{let dd;do dd=nd[0],nd[0]=((od=this.rules.inline._backpedal.exec(nd[0]))==null?void 0:od[0])??"";while(dd!==nd[0]);ld=escape$1(nd[0]),nd[1]==="www."?ud="http://"+nd[0]:ud=nd[0]}return{type:"link",raw:nd[0],text:ld,href:ud,tokens:[{type:"text",raw:ld,text:ld}]}}}inlineText(qa){const nd=this.rules.inline.text.exec(qa);if(nd){let od;return this.lexer.state.inRawBlock?od=nd[0]:od=escape$1(nd[0]),{type:"text",raw:nd[0],text:od}}}}const newline=/^(?: *(?:\n|$))+/,blockCode=/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,bullet=/(?:[*+-]|\d{1,9}[.)])/,lheading=edit(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,bullet).replace(/blockCode/g,/ {4}/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),_paragraph=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,blockText=/^[^\n]+/,_blockLabel=/(?!\s*\])(?:\\.|[^\[\]\\])+/,def=edit(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",_blockLabel).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),list=edit(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,bullet).getRegex(),_tag="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|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",_comment=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,html=edit("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",_comment).replace("tag",_tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),paragraph=edit(_paragraph).replace("hr",hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",_tag).getRegex(),blockquote=edit(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",paragraph).getRegex(),blockNormal={blockquote,code:blockCode,def,fences,heading,hr,html,lheading,list,newline,paragraph,table:noopTest,text:blockText},gfmTable=edit("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",_tag).getRegex(),blockGfm={...blockNormal,table:gfmTable,paragraph:edit(_paragraph).replace("hr",hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",gfmTable).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",_tag).getRegex()},blockPedantic={...blockNormal,html:edit(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",_comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:noopTest,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:edit(_paragraph).replace("hr",hr).replace("heading",` *#{1,6} *[^
]`).replace("lheading",lheading).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},escape$2=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,inlineCode=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br$1=/^( {2,}|\\)\n(?!\s*$)/,inlineText=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,_punctuation="\\p{P}\\p{S}",punctuation=edit(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,_punctuation).getRegex(),blockSkip=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,emStrongLDelim=edit(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,_punctuation).getRegex(),emStrongRDelimAst=edit("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,_punctuation).getRegex(),emStrongRDelimUnd=edit("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,_punctuation).getRegex(),anyPunctuation=edit(/\\([punct])/,"gu").replace(/punct/g,_punctuation).getRegex(),autolink=edit(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),_inlineComment=edit(_comment).replace("(?:-->|$)","-->").getRegex(),tag=edit("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",_inlineComment).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),_inlineLabel=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,link=edit(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",_inlineLabel).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),reflink=edit(/^!?\[(label)\]\[(ref)\]/).replace("label",_inlineLabel).replace("ref",_blockLabel).getRegex(),nolink=edit(/^!?\[(ref)\](?:\[\])?/).replace("ref",_blockLabel).getRegex(),reflinkSearch=edit("reflink|nolink(?!\\()","g").replace("reflink",reflink).replace("nolink",nolink).getRegex(),inlineNormal={_backpedal:noopTest,anyPunctuation,autolink,blockSkip,br:br$1,code:inlineCode,del:noopTest,emStrongLDelim,emStrongRDelimAst,emStrongRDelimUnd,escape:escape$2,link,nolink,punctuation,reflink,reflinkSearch,tag,text:inlineText,url:noopTest},inlinePedantic={...inlineNormal,link:edit(/^!?\[(label)\]\((.*?)\)/).replace("label",_inlineLabel).getRegex(),reflink:edit(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",_inlineLabel).getRegex()},inlineGfm={...inlineNormal,escape:edit(escape$2).replace("])","~|])").getRegex(),url:edit(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},inlineBreaks={...inlineGfm,br:edit(br$1).replace("{2,}","*").getRegex(),text:edit(inlineGfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},block={normal:blockNormal,gfm:blockGfm,pedantic:blockPedantic},inline={normal:inlineNormal,gfm:inlineGfm,breaks:inlineBreaks,pedantic:inlinePedantic};class _Lexer{constructor(qa){kg(this,"tokens");kg(this,"options");kg(this,"state");kg(this,"tokenizer");kg(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=qa||_defaults,this.options.tokenizer=this.options.tokenizer||new _Tokenizer,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const nd={block:block.normal,inline:inline.normal};this.options.pedantic?(nd.block=block.pedantic,nd.inline=inline.pedantic):this.options.gfm&&(nd.block=block.gfm,this.options.breaks?nd.inline=inline.breaks:nd.inline=inline.gfm),this.tokenizer.rules=nd}static get rules(){return{block,inline}}static lex(qa,nd){return new _Lexer(nd).lex(qa)}static lexInline(qa,nd){return new _Lexer(nd).inlineTokens(qa)}lex(qa){qa=qa.replace(/\r\n|\r/g,`
`),this.blockTokens(qa,this.tokens);for(let nd=0;nd<this.inlineQueue.length;nd++){const od=this.inlineQueue[nd];this.inlineTokens(od.src,od.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(qa,nd=[],od=!1){this.options.pedantic?qa=qa.replace(/\t/g," ").replace(/^ +$/gm,""):qa=qa.replace(/^( *)(\t+)/gm,(pd,fd,md)=>fd+" ".repeat(md.length));let ld,ud,dd;for(;qa;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(pd=>(ld=pd.call({lexer:this},qa,nd))?(qa=qa.substring(ld.raw.length),nd.push(ld),!0):!1))){if(ld=this.tokenizer.space(qa)){qa=qa.substring(ld.raw.length),ld.raw.length===1&&nd.length>0?nd[nd.length-1].raw+=`
`:nd.push(ld);continue}if(ld=this.tokenizer.code(qa)){qa=qa.substring(ld.raw.length),ud=nd[nd.length-1],ud&&(ud.type==="paragraph"||ud.type==="text")?(ud.raw+=`
`+ld.raw,ud.text+=`
`+ld.text,this.inlineQueue[this.inlineQueue.length-1].src=ud.text):nd.push(ld);continue}if(ld=this.tokenizer.fences(qa)){qa=qa.substring(ld.raw.length),nd.push(ld);continue}if(ld=this.tokenizer.heading(qa)){qa=qa.substring(ld.raw.length),nd.push(ld);continue}if(ld=this.tokenizer.hr(qa)){qa=qa.substring(ld.raw.length),nd.push(ld);continue}if(ld=this.tokenizer.blockquote(qa)){qa=qa.substring(ld.raw.length),nd.push(ld);continue}if(ld=this.tokenizer.list(qa)){qa=qa.substring(ld.raw.length),nd.push(ld);continue}if(ld=this.tokenizer.html(qa)){qa=qa.substring(ld.raw.length),nd.push(ld);continue}if(ld=this.tokenizer.def(qa)){qa=qa.substring(ld.raw.length),ud=nd[nd.length-1],ud&&(ud.type==="paragraph"||ud.type==="text")?(ud.raw+=`
`+ld.raw,ud.text+=`
`+ld.raw,this.inlineQueue[this.inlineQueue.length-1].src=ud.text):this.tokens.links[ld.tag]||(this.tokens.links[ld.tag]={href:ld.href,title:ld.title});continue}if(ld=this.tokenizer.table(qa)){qa=qa.substring(ld.raw.length),nd.push(ld);continue}if(ld=this.tokenizer.lheading(qa)){qa=qa.substring(ld.raw.length),nd.push(ld);continue}if(dd=qa,this.options.extensions&&this.options.extensions.startBlock){let pd=1/0;const fd=qa.slice(1);let md;this.options.extensions.startBlock.forEach(vd=>{md=vd.call({lexer:this},fd),typeof md=="number"&&md>=0&&(pd=Math.min(pd,md))}),pd<1/0&&pd>=0&&(dd=qa.substring(0,pd+1))}if(this.state.top&&(ld=this.tokenizer.paragraph(dd))){ud=nd[nd.length-1],od&&(ud==null?void 0:ud.type)==="paragraph"?(ud.raw+=`
`+ld.raw,ud.text+=`
`+ld.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=ud.text):nd.push(ld),od=dd.length!==qa.length,qa=qa.substring(ld.raw.length);continue}if(ld=this.tokenizer.text(qa)){qa=qa.substring(ld.raw.length),ud=nd[nd.length-1],ud&&ud.type==="text"?(ud.raw+=`
`+ld.raw,ud.text+=`
`+ld.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=ud.text):nd.push(ld);continue}if(qa){const pd="Infinite loop on byte: "+qa.charCodeAt(0);if(this.options.silent){console.error(pd);break}else throw new Error(pd)}}return this.state.top=!0,nd}inline(qa,nd=[]){return this.inlineQueue.push({src:qa,tokens:nd}),nd}inlineTokens(qa,nd=[]){let od,ld,ud,dd=qa,pd,fd,md;if(this.tokens.links){const vd=Object.keys(this.tokens.links);if(vd.length>0)for(;(pd=this.tokenizer.rules.inline.reflinkSearch.exec(dd))!=null;)vd.includes(pd[0].slice(pd[0].lastIndexOf("[")+1,-1))&&(dd=dd.slice(0,pd.index)+"["+"a".repeat(pd[0].length-2)+"]"+dd.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(pd=this.tokenizer.rules.inline.blockSkip.exec(dd))!=null;)dd=dd.slice(0,pd.index)+"["+"a".repeat(pd[0].length-2)+"]"+dd.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(pd=this.tokenizer.rules.inline.anyPunctuation.exec(dd))!=null;)dd=dd.slice(0,pd.index)+"++"+dd.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;qa;)if(fd||(md=""),fd=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(vd=>(od=vd.call({lexer:this},qa,nd))?(qa=qa.substring(od.raw.length),nd.push(od),!0):!1))){if(od=this.tokenizer.escape(qa)){qa=qa.substring(od.raw.length),nd.push(od);continue}if(od=this.tokenizer.tag(qa)){qa=qa.substring(od.raw.length),ld=nd[nd.length-1],ld&&od.type==="text"&&ld.type==="text"?(ld.raw+=od.raw,ld.text+=od.text):nd.push(od);continue}if(od=this.tokenizer.link(qa)){qa=qa.substring(od.raw.length),nd.push(od);continue}if(od=this.tokenizer.reflink(qa,this.tokens.links)){qa=qa.substring(od.raw.length),ld=nd[nd.length-1],ld&&od.type==="text"&&ld.type==="text"?(ld.raw+=od.raw,ld.text+=od.text):nd.push(od);continue}if(od=this.tokenizer.emStrong(qa,dd,md)){qa=qa.substring(od.raw.length),nd.push(od);continue}if(od=this.tokenizer.codespan(qa)){qa=qa.substring(od.raw.length),nd.push(od);continue}if(od=this.tokenizer.br(qa)){qa=qa.substring(od.raw.length),nd.push(od);continue}if(od=this.tokenizer.del(qa)){qa=qa.substring(od.raw.length),nd.push(od);continue}if(od=this.tokenizer.autolink(qa)){qa=qa.substring(od.raw.length),nd.push(od);continue}if(!this.state.inLink&&(od=this.tokenizer.url(qa))){qa=qa.substring(od.raw.length),nd.push(od);continue}if(ud=qa,this.options.extensions&&this.options.extensions.startInline){let vd=1/0;const Ad=qa.slice(1);let Nd;this.options.extensions.startInline.forEach(Od=>{Nd=Od.call({lexer:this},Ad),typeof Nd=="number"&&Nd>=0&&(vd=Math.min(vd,Nd))}),vd<1/0&&vd>=0&&(ud=qa.substring(0,vd+1))}if(od=this.tokenizer.inlineText(ud)){qa=qa.substring(od.raw.length),od.raw.slice(-1)!=="_"&&(md=od.raw.slice(-1)),fd=!0,ld=nd[nd.length-1],ld&&ld.type==="text"?(ld.raw+=od.raw,ld.text+=od.text):nd.push(od);continue}if(qa){const vd="Infinite loop on byte: "+qa.charCodeAt(0);if(this.options.silent){console.error(vd);break}else throw new Error(vd)}}return nd}}class _Renderer{constructor(qa){kg(this,"options");kg(this,"parser");this.options=qa||_defaults}space(qa){return""}code({text:qa,lang:nd,escaped:od}){var dd;const ld=(dd=(nd||"").match(/^\S*/))==null?void 0:dd[0],ud=qa.replace(/\n$/,"")+`
`;return ld?'<pre><code class="language-'+escape$1(ld)+'">'+(od?ud:escape$1(ud,!0))+`</code></pre>
`:"<pre><code>"+(od?ud:escape$1(ud,!0))+`</code></pre>
`}blockquote({tokens:qa}){return`<blockquote>
${this.parser.parse(qa)}</blockquote>
`}html({text:qa}){return qa}heading({tokens:qa,depth:nd}){return`<h${nd}>${this.parser.parseInline(qa)}</h${nd}>
`}hr(qa){return`<hr>
`}list(qa){const nd=qa.ordered,od=qa.start;let ld="";for(let pd=0;pd<qa.items.length;pd++){const fd=qa.items[pd];ld+=this.listitem(fd)}const ud=nd?"ol":"ul",dd=nd&&od!==1?' start="'+od+'"':"";return"<"+ud+dd+`>
`+ld+"</"+ud+`>
`}listitem(qa){let nd="";if(qa.task){const od=this.checkbox({checked:!!qa.checked});qa.loose?qa.tokens.length>0&&qa.tokens[0].type==="paragraph"?(qa.tokens[0].text=od+" "+qa.tokens[0].text,qa.tokens[0].tokens&&qa.tokens[0].tokens.length>0&&qa.tokens[0].tokens[0].type==="text"&&(qa.tokens[0].tokens[0].text=od+" "+qa.tokens[0].tokens[0].text)):qa.tokens.unshift({type:"text",raw:od+" ",text:od+" "}):nd+=od+" "}return nd+=this.parser.parse(qa.tokens,!!qa.loose),`<li>${nd}</li>
`}checkbox({checked:qa}){return"<input "+(qa?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:qa}){return`<p>${this.parser.parseInline(qa)}</p>
`}table(qa){let nd="",od="";for(let ud=0;ud<qa.header.length;ud++)od+=this.tablecell(qa.header[ud]);nd+=this.tablerow({text:od});let ld="";for(let ud=0;ud<qa.rows.length;ud++){const dd=qa.rows[ud];od="";for(let pd=0;pd<dd.length;pd++)od+=this.tablecell(dd[pd]);ld+=this.tablerow({text:od})}return ld&&(ld=`<tbody>${ld}</tbody>`),`<table>
<thead>
`+nd+`</thead>
`+ld+`</table>
`}tablerow({text:qa}){return`<tr>
${qa}</tr>
`}tablecell(qa){const nd=this.parser.parseInline(qa.tokens),od=qa.header?"th":"td";return(qa.align?`<${od} align="${qa.align}">`:`<${od}>`)+nd+`</${od}>
`}strong({tokens:qa}){return`<strong>${this.parser.parseInline(qa)}</strong>`}em({tokens:qa}){return`<em>${this.parser.parseInline(qa)}</em>`}codespan({text:qa}){return`<code>${qa}</code>`}br(qa){return"<br>"}del({tokens:qa}){return`<del>${this.parser.parseInline(qa)}</del>`}link({href:qa,title:nd,tokens:od}){const ld=this.parser.parseInline(od),ud=cleanUrl(qa);if(ud===null)return ld;qa=ud;let dd='<a href="'+qa+'"';return nd&&(dd+=' title="'+nd+'"'),dd+=">"+ld+"</a>",dd}image({href:qa,title:nd,text:od}){const ld=cleanUrl(qa);if(ld===null)return od;qa=ld;let ud=`<img src="${qa}" alt="${od}"`;return nd&&(ud+=` title="${nd}"`),ud+=">",ud}text(qa){return"tokens"in qa&&qa.tokens?this.parser.parseInline(qa.tokens):qa.text}}class _TextRenderer{strong({text:qa}){return qa}em({text:qa}){return qa}codespan({text:qa}){return qa}del({text:qa}){return qa}html({text:qa}){return qa}text({text:qa}){return qa}link({text:qa}){return""+qa}image({text:qa}){return""+qa}br(){return""}}class _Parser{constructor(qa){kg(this,"options");kg(this,"renderer");kg(this,"textRenderer");this.options=qa||_defaults,this.options.renderer=this.options.renderer||new _Renderer,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new _TextRenderer}static parse(qa,nd){return new _Parser(nd).parse(qa)}static parseInline(qa,nd){return new _Parser(nd).parseInline(qa)}parse(qa,nd=!0){let od="";for(let ld=0;ld<qa.length;ld++){const ud=qa[ld];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[ud.type]){const pd=ud,fd=this.options.extensions.renderers[pd.type].call({parser:this},pd);if(fd!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(pd.type)){od+=fd||"";continue}}const dd=ud;switch(dd.type){case"space":{od+=this.renderer.space(dd);continue}case"hr":{od+=this.renderer.hr(dd);continue}case"heading":{od+=this.renderer.heading(dd);continue}case"code":{od+=this.renderer.code(dd);continue}case"table":{od+=this.renderer.table(dd);continue}case"blockquote":{od+=this.renderer.blockquote(dd);continue}case"list":{od+=this.renderer.list(dd);continue}case"html":{od+=this.renderer.html(dd);continue}case"paragraph":{od+=this.renderer.paragraph(dd);continue}case"text":{let pd=dd,fd=this.renderer.text(pd);for(;ld+1<qa.length&&qa[ld+1].type==="text";)pd=qa[++ld],fd+=`
`+this.renderer.text(pd);nd?od+=this.renderer.paragraph({type:"paragraph",raw:fd,text:fd,tokens:[{type:"text",raw:fd,text:fd}]}):od+=fd;continue}default:{const pd='Token with "'+dd.type+'" type was not found.';if(this.options.silent)return console.error(pd),"";throw new Error(pd)}}}return od}parseInline(qa,nd){nd=nd||this.renderer;let od="";for(let ld=0;ld<qa.length;ld++){const ud=qa[ld];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[ud.type]){const pd=this.options.extensions.renderers[ud.type].call({parser:this},ud);if(pd!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(ud.type)){od+=pd||"";continue}}const dd=ud;switch(dd.type){case"escape":{od+=nd.text(dd);break}case"html":{od+=nd.html(dd);break}case"link":{od+=nd.link(dd);break}case"image":{od+=nd.image(dd);break}case"strong":{od+=nd.strong(dd);break}case"em":{od+=nd.em(dd);break}case"codespan":{od+=nd.codespan(dd);break}case"br":{od+=nd.br(dd);break}case"del":{od+=nd.del(dd);break}case"text":{od+=nd.text(dd);break}default:{const pd='Token with "'+dd.type+'" type was not found.';if(this.options.silent)return console.error(pd),"";throw new Error(pd)}}}return od}}class _Hooks{constructor(qa){kg(this,"options");this.options=qa||_defaults}preprocess(qa){return qa}postprocess(qa){return qa}processAllTokens(qa){return qa}}kg(_Hooks,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"]));var Cv,AC,B1,wC;class Marked{constructor(...qa){EC(this,Cv);kg(this,"defaults",_getDefaults());kg(this,"options",this.setOptions);kg(this,"parse",BT(this,Cv,B1).call(this,_Lexer.lex,_Parser.parse));kg(this,"parseInline",BT(this,Cv,B1).call(this,_Lexer.lexInline,_Parser.parseInline));kg(this,"Parser",_Parser);kg(this,"Renderer",_Renderer);kg(this,"TextRenderer",_TextRenderer);kg(this,"Lexer",_Lexer);kg(this,"Tokenizer",_Tokenizer);kg(this,"Hooks",_Hooks);this.use(...qa)}walkTokens(qa,nd){var ld,ud;let od=[];for(const dd of qa)switch(od=od.concat(nd.call(this,dd)),dd.type){case"table":{const pd=dd;for(const fd of pd.header)od=od.concat(this.walkTokens(fd.tokens,nd));for(const fd of pd.rows)for(const md of fd)od=od.concat(this.walkTokens(md.tokens,nd));break}case"list":{const pd=dd;od=od.concat(this.walkTokens(pd.items,nd));break}default:{const pd=dd;(ud=(ld=this.defaults.extensions)==null?void 0:ld.childTokens)!=null&&ud[pd.type]?this.defaults.extensions.childTokens[pd.type].forEach(fd=>{const md=pd[fd].flat(1/0);od=od.concat(this.walkTokens(md,nd))}):pd.tokens&&(od=od.concat(this.walkTokens(pd.tokens,nd)))}}return od}use(...qa){const nd=this.defaults.extensions||{renderers:{},childTokens:{}};return qa.forEach(od=>{const ld={...od};if(ld.async=this.defaults.async||ld.async||!1,od.extensions&&(od.extensions.forEach(ud=>{if(!ud.name)throw new Error("extension name required");if("renderer"in ud){const dd=nd.renderers[ud.name];dd?nd.renderers[ud.name]=function(...pd){let fd=ud.renderer.apply(this,pd);return fd===!1&&(fd=dd.apply(this,pd)),fd}:nd.renderers[ud.name]=ud.renderer}if("tokenizer"in ud){if(!ud.level||ud.level!=="block"&&ud.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const dd=nd[ud.level];dd?dd.unshift(ud.tokenizer):nd[ud.level]=[ud.tokenizer],ud.start&&(ud.level==="block"?nd.startBlock?nd.startBlock.push(ud.start):nd.startBlock=[ud.start]:ud.level==="inline"&&(nd.startInline?nd.startInline.push(ud.start):nd.startInline=[ud.start]))}"childTokens"in ud&&ud.childTokens&&(nd.childTokens[ud.name]=ud.childTokens)}),ld.extensions=nd),od.renderer){const ud=this.defaults.renderer||new _Renderer(this.defaults);for(const dd in od.renderer){if(!(dd in ud))throw new Error(`renderer '${dd}' does not exist`);if(["options","parser"].includes(dd))continue;const pd=dd;let fd=od.renderer[pd];od.useNewRenderer||(fd=BT(this,Cv,AC).call(this,fd,pd,ud));const md=ud[pd];ud[pd]=(...vd)=>{let Ad=fd.apply(ud,vd);return Ad===!1&&(Ad=md.apply(ud,vd)),Ad||""}}ld.renderer=ud}if(od.tokenizer){const ud=this.defaults.tokenizer||new _Tokenizer(this.defaults);for(const dd in od.tokenizer){if(!(dd in ud))throw new Error(`tokenizer '${dd}' does not exist`);if(["options","rules","lexer"].includes(dd))continue;const pd=dd,fd=od.tokenizer[pd],md=ud[pd];ud[pd]=(...vd)=>{let Ad=fd.apply(ud,vd);return Ad===!1&&(Ad=md.apply(ud,vd)),Ad}}ld.tokenizer=ud}if(od.hooks){const ud=this.defaults.hooks||new _Hooks;for(const dd in od.hooks){if(!(dd in ud))throw new Error(`hook '${dd}' does not exist`);if(dd==="options")continue;const pd=dd,fd=od.hooks[pd],md=ud[pd];_Hooks.passThroughHooks.has(dd)?ud[pd]=vd=>{if(this.defaults.async)return Promise.resolve(fd.call(ud,vd)).then(Nd=>md.call(ud,Nd));const Ad=fd.call(ud,vd);return md.call(ud,Ad)}:ud[pd]=(...vd)=>{let Ad=fd.apply(ud,vd);return Ad===!1&&(Ad=md.apply(ud,vd)),Ad}}ld.hooks=ud}if(od.walkTokens){const ud=this.defaults.walkTokens,dd=od.walkTokens;ld.walkTokens=function(pd){let fd=[];return fd.push(dd.call(this,pd)),ud&&(fd=fd.concat(ud.call(this,pd))),fd}}this.defaults={...this.defaults,...ld}}),this}setOptions(qa){return this.defaults={...this.defaults,...qa},this}lexer(qa,nd){return _Lexer.lex(qa,nd??this.defaults)}parser(qa,nd){return _Parser.parse(qa,nd??this.defaults)}}Cv=new WeakSet,AC=function(qa,nd,od){switch(nd){case"heading":return function(ld){return!ld.type||ld.type!==nd?qa.apply(this,arguments):qa.call(this,od.parser.parseInline(ld.tokens),ld.depth,unescape$1(od.parser.parseInline(ld.tokens,od.parser.textRenderer)))};case"code":return function(ld){return!ld.type||ld.type!==nd?qa.apply(this,arguments):qa.call(this,ld.text,ld.lang,!!ld.escaped)};case"table":return function(ld){if(!ld.type||ld.type!==nd)return qa.apply(this,arguments);let ud="",dd="";for(let fd=0;fd<ld.header.length;fd++)dd+=this.tablecell({text:ld.header[fd].text,tokens:ld.header[fd].tokens,header:!0,align:ld.align[fd]});ud+=this.tablerow({text:dd});let pd="";for(let fd=0;fd<ld.rows.length;fd++){const md=ld.rows[fd];dd="";for(let vd=0;vd<md.length;vd++)dd+=this.tablecell({text:md[vd].text,tokens:md[vd].tokens,header:!1,align:ld.align[vd]});pd+=this.tablerow({text:dd})}return qa.call(this,ud,pd)};case"blockquote":return function(ld){if(!ld.type||ld.type!==nd)return qa.apply(this,arguments);const ud=this.parser.parse(ld.tokens);return qa.call(this,ud)};case"list":return function(ld){if(!ld.type||ld.type!==nd)return qa.apply(this,arguments);const ud=ld.ordered,dd=ld.start,pd=ld.loose;let fd="";for(let md=0;md<ld.items.length;md++){const vd=ld.items[md],Ad=vd.checked,Nd=vd.task;let Od="";if(vd.task){const kd=this.checkbox({checked:!!Ad});pd?vd.tokens.length>0&&vd.tokens[0].type==="paragraph"?(vd.tokens[0].text=kd+" "+vd.tokens[0].text,vd.tokens[0].tokens&&vd.tokens[0].tokens.length>0&&vd.tokens[0].tokens[0].type==="text"&&(vd.tokens[0].tokens[0].text=kd+" "+vd.tokens[0].tokens[0].text)):vd.tokens.unshift({type:"text",text:kd+" "}):Od+=kd+" "}Od+=this.parser.parse(vd.tokens,pd),fd+=this.listitem({type:"list_item",raw:Od,text:Od,task:Nd,checked:!!Ad,loose:pd,tokens:vd.tokens})}return qa.call(this,fd,ud,dd)};case"html":return function(ld){return!ld.type||ld.type!==nd?qa.apply(this,arguments):qa.call(this,ld.text,ld.block)};case"paragraph":return function(ld){return!ld.type||ld.type!==nd?qa.apply(this,arguments):qa.call(this,this.parser.parseInline(ld.tokens))};case"escape":return function(ld){return!ld.type||ld.type!==nd?qa.apply(this,arguments):qa.call(this,ld.text)};case"link":return function(ld){return!ld.type||ld.type!==nd?qa.apply(this,arguments):qa.call(this,ld.href,ld.title,this.parser.parseInline(ld.tokens))};case"image":return function(ld){return!ld.type||ld.type!==nd?qa.apply(this,arguments):qa.call(this,ld.href,ld.title,ld.text)};case"strong":return function(ld){return!ld.type||ld.type!==nd?qa.apply(this,arguments):qa.call(this,this.parser.parseInline(ld.tokens))};case"em":return function(ld){return!ld.type||ld.type!==nd?qa.apply(this,arguments):qa.call(this,this.parser.parseInline(ld.tokens))};case"codespan":return function(ld){return!ld.type||ld.type!==nd?qa.apply(this,arguments):qa.call(this,ld.text)};case"del":return function(ld){return!ld.type||ld.type!==nd?qa.apply(this,arguments):qa.call(this,this.parser.parseInline(ld.tokens))};case"text":return function(ld){return!ld.type||ld.type!==nd?qa.apply(this,arguments):qa.call(this,ld.text)}}return qa},B1=function(qa,nd){return(od,ld)=>{const ud={...ld},dd={...this.defaults,...ud};this.defaults.async===!0&&ud.async===!1&&(dd.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),dd.async=!0);const pd=BT(this,Cv,wC).call(this,!!dd.silent,!!dd.async);if(typeof od>"u"||od===null)return pd(new Error("marked(): input parameter is undefined or null"));if(typeof od!="string")return pd(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(od)+", string expected"));if(dd.hooks&&(dd.hooks.options=dd),dd.async)return Promise.resolve(dd.hooks?dd.hooks.preprocess(od):od).then(fd=>qa(fd,dd)).then(fd=>dd.hooks?dd.hooks.processAllTokens(fd):fd).then(fd=>dd.walkTokens?Promise.all(this.walkTokens(fd,dd.walkTokens)).then(()=>fd):fd).then(fd=>nd(fd,dd)).then(fd=>dd.hooks?dd.hooks.postprocess(fd):fd).catch(pd);try{dd.hooks&&(od=dd.hooks.preprocess(od));let fd=qa(od,dd);dd.hooks&&(fd=dd.hooks.processAllTokens(fd)),dd.walkTokens&&this.walkTokens(fd,dd.walkTokens);let md=nd(fd,dd);return dd.hooks&&(md=dd.hooks.postprocess(md)),md}catch(fd){return pd(fd)}}},wC=function(qa,nd){return od=>{if(od.message+=`
Please report this to https://github.com/markedjs/marked.`,qa){const ld="<p>An error occurred:</p><pre>"+escape$1(od.message+"",!0)+"</pre>";return nd?Promise.resolve(ld):ld}if(nd)return Promise.reject(od);throw od}};const markedInstance=new Marked;function marked(Ra,qa){return markedInstance.parse(Ra,qa)}marked.options=marked.setOptions=function(Ra){return markedInstance.setOptions(Ra),marked.defaults=markedInstance.defaults,changeDefaults(marked.defaults),marked};marked.getDefaults=_getDefaults;marked.defaults=_defaults;marked.use=function(...Ra){return markedInstance.use(...Ra),marked.defaults=markedInstance.defaults,changeDefaults(marked.defaults),marked};marked.walkTokens=function(Ra,qa){return markedInstance.walkTokens(Ra,qa)};marked.parseInline=markedInstance.parseInline;marked.Parser=_Parser;marked.parser=_Parser.parse;marked.Renderer=_Renderer;marked.TextRenderer=_TextRenderer;marked.Lexer=_Lexer;marked.lexer=_Lexer.lex;marked.Tokenizer=_Tokenizer;marked.Hooks=_Hooks;marked.parse=marked;marked.options;marked.setOptions;marked.use;marked.walkTokens;marked.parseInline;_Parser.parse;_Lexer.lex;function dedent(Ra){for(var qa=[],nd=1;nd<arguments.length;nd++)qa[nd-1]=arguments[nd];var od=Array.from(typeof Ra=="string"?[Ra]:Ra);od[od.length-1]=od[od.length-1].replace(/\r?\n([\t ]*)$/,"");var ld=od.reduce(function(pd,fd){var md=fd.match(/\n([\t ]+|(?!\s).)/g);return md?pd.concat(md.map(function(vd){var Ad,Nd;return(Nd=(Ad=vd.match(/[\t ]/g))===null||Ad===void 0?void 0:Ad.length)!==null&&Nd!==void 0?Nd:0})):pd},[]);if(ld.length){var ud=new RegExp(`
[ ]{`+Math.min.apply(Math,ld)+"}","g");od=od.map(function(pd){return pd.replace(ud,`
`)})}od[0]=od[0].replace(/^\r?\n/,"");var dd=od[0];return qa.forEach(function(pd,fd){var md=dd.match(/(?:^|\n)( *)$/),vd=md?md[1]:"",Ad=pd;typeof pd=="string"&&pd.includes(`
`)&&(Ad=String(pd).split(`
`).map(function(Nd,Od){return Od===0?Nd:""+vd+Nd}).join(`
`)),dd+=Ad+od[fd+1]}),dd}function preprocessMarkdown(Ra,{markdownAutoWrap:qa}){const od=Ra.replace(/<br\/>/g,`
`).replace(/\n{2,}/g,`
`),ld=dedent(od);return qa===!1?ld.replace(/ /g,"&nbsp;"):ld}__name(preprocessMarkdown,"preprocessMarkdown");function markdownToLines(Ra,qa={}){const nd=preprocessMarkdown(Ra,qa),od=marked.lexer(nd),ld=[[]];let ud=0;function dd(pd,fd="normal"){pd.type==="text"?pd.text.split(`
`).forEach((vd,Ad)=>{Ad!==0&&(ud++,ld.push([])),vd.split(" ").forEach(Nd=>{Nd=Nd.replace(/&#39;/g,"'"),Nd&&ld[ud].push({content:Nd,type:fd})})}):pd.type==="strong"||pd.type==="em"?pd.tokens.forEach(md=>{dd(md,pd.type)}):pd.type==="html"&&ld[ud].push({content:pd.text,type:"normal"})}return __name(dd,"processNode"),od.forEach(pd=>{var fd;pd.type==="paragraph"?(fd=pd.tokens)==null||fd.forEach(md=>{dd(md)}):pd.type==="html"&&ld[ud].push({content:pd.text,type:"normal"})}),ld}__name(markdownToLines,"markdownToLines");function markdownToHTML(Ra,{markdownAutoWrap:qa}={}){const nd=marked.lexer(Ra);function od(ld){var ud,dd,pd;return ld.type==="text"?qa===!1?ld.text.replace(/\n */g,"<br/>").replace(/ /g,"&nbsp;"):ld.text.replace(/\n */g,"<br/>"):ld.type==="strong"?`<strong>${(ud=ld.tokens)==null?void 0:ud.map(od).join("")}</strong>`:ld.type==="em"?`<em>${(dd=ld.tokens)==null?void 0:dd.map(od).join("")}</em>`:ld.type==="paragraph"?`<p>${(pd=ld.tokens)==null?void 0:pd.map(od).join("")}</p>`:ld.type==="space"?"":ld.type==="html"?`${ld.text}`:ld.type==="escape"?ld.text:`Unsupported markdown: ${ld.type}`}return __name(od,"output"),nd.map(od).join("")}__name(markdownToHTML,"markdownToHTML");function splitTextToChars(Ra){return Intl.Segmenter?[...new Intl.Segmenter().segment(Ra)].map(qa=>qa.segment):[...Ra]}__name(splitTextToChars,"splitTextToChars");function splitWordToFitWidth(Ra,qa){const nd=splitTextToChars(qa.content);return splitWordToFitWidthRecursion(Ra,[],nd,qa.type)}__name(splitWordToFitWidth,"splitWordToFitWidth");function splitWordToFitWidthRecursion(Ra,qa,nd,od){if(nd.length===0)return[{content:qa.join(""),type:od},{content:"",type:od}];const[ld,...ud]=nd,dd=[...qa,ld];return Ra([{content:dd.join(""),type:od}])?splitWordToFitWidthRecursion(Ra,dd,ud,od):(qa.length===0&&ld&&(qa.push(ld),nd.shift()),[{content:qa.join(""),type:od},{content:nd.join(""),type:od}])}__name(splitWordToFitWidthRecursion,"splitWordToFitWidthRecursion");function splitLineToFitWidth(Ra,qa){if(Ra.some(({content:nd})=>nd.includes(`
`)))throw new Error("splitLineToFitWidth does not support newlines in the line");return splitLineToFitWidthRecursion(Ra,qa)}__name(splitLineToFitWidth,"splitLineToFitWidth");function splitLineToFitWidthRecursion(Ra,qa,nd=[],od=[]){if(Ra.length===0)return od.length>0&&nd.push(od),nd.length>0?nd:[];let ld="";Ra[0].content===" "&&(ld=" ",Ra.shift());const ud=Ra.shift()??{content:" ",type:"normal"},dd=[...od];if(ld!==""&&dd.push({content:ld,type:"normal"}),dd.push(ud),qa(dd))return splitLineToFitWidthRecursion(Ra,qa,nd,dd);if(od.length>0)nd.push(od),Ra.unshift(ud);else if(ud.content){const[pd,fd]=splitWordToFitWidth(qa,ud);nd.push([pd]),fd.content&&Ra.unshift(fd)}return splitLineToFitWidthRecursion(Ra,qa,nd)}__name(splitLineToFitWidthRecursion,"splitLineToFitWidthRecursion");function applyStyle$1(Ra,qa){qa&&Ra.attr("style",qa)}__name(applyStyle$1,"applyStyle");async function addHtmlSpan(Ra,qa,nd,od,ld=!1){const ud=Ra.append("foreignObject");ud.attr("width",`${10*nd}px`),ud.attr("height",`${10*nd}px`);const dd=ud.append("xhtml:div");let pd=qa.label;qa.label&&hasKatex(qa.label)&&(pd=await renderKatex(qa.label.replace(common_default.lineBreakRegex,`
`),getConfig2()));const fd=qa.isNode?"nodeLabel":"edgeLabel",md=dd.append("span");md.html(pd),applyStyle$1(md,qa.labelStyle),md.attr("class",`${fd} ${od}`),applyStyle$1(dd,qa.labelStyle),dd.style("display","table-cell"),dd.style("white-space","nowrap"),dd.style("line-height","1.5"),dd.style("max-width",nd+"px"),dd.style("text-align","center"),dd.attr("xmlns","http://www.w3.org/1999/xhtml"),ld&&dd.attr("class","labelBkg");let vd=dd.node().getBoundingClientRect();return vd.width===nd&&(dd.style("display","table"),dd.style("white-space","break-spaces"),dd.style("width",nd+"px"),vd=dd.node().getBoundingClientRect()),ud.node()}__name(addHtmlSpan,"addHtmlSpan");function createTspan(Ra,qa,nd){return Ra.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",qa*nd-.1+"em").attr("dy",nd+"em")}__name(createTspan,"createTspan");function computeWidthOfText(Ra,qa,nd){const od=Ra.append("text"),ld=createTspan(od,1,qa);updateTextContentAndStyles(ld,nd);const ud=ld.node().getComputedTextLength();return od.remove(),ud}__name(computeWidthOfText,"computeWidthOfText");function computeDimensionOfText(Ra,qa,nd){var dd;const od=Ra.append("text"),ld=createTspan(od,1,qa);updateTextContentAndStyles(ld,[{content:nd,type:"normal"}]);const ud=(dd=ld.node())==null?void 0:dd.getBoundingClientRect();return ud&&od.remove(),ud}__name(computeDimensionOfText,"computeDimensionOfText");function createFormattedText(Ra,qa,nd,od=!1){const ud=qa.append("g"),dd=ud.insert("rect").attr("class","background").attr("style","stroke: none"),pd=ud.append("text").attr("y","-10.1");let fd=0;for(const md of nd){const vd=__name(Nd=>computeWidthOfText(ud,1.1,Nd)<=Ra,"checkWidth"),Ad=vd(md)?[md]:splitLineToFitWidth(md,vd);for(const Nd of Ad){const Od=createTspan(pd,fd,1.1);updateTextContentAndStyles(Od,Nd),fd++}}if(od){const md=pd.node().getBBox(),vd=2;return dd.attr("x",md.x-vd).attr("y",md.y-vd).attr("width",md.width+2*vd).attr("height",md.height+2*vd),ud.node()}else return pd.node()}__name(createFormattedText,"createFormattedText");function updateTextContentAndStyles(Ra,qa){Ra.text(""),qa.forEach((nd,od)=>{const ld=Ra.append("tspan").attr("font-style",nd.type==="em"?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight",nd.type==="strong"?"bold":"normal");od===0?ld.text(nd.content):ld.text(" "+nd.content)})}__name(updateTextContentAndStyles,"updateTextContentAndStyles");function replaceIconSubstring(Ra){return Ra.replace(/fa[bklrs]?:fa-[\w-]+/g,qa=>`<i class='${qa.replace(":"," ")}'></i>`)}__name(replaceIconSubstring,"replaceIconSubstring");var createText=__name(async(Ra,qa="",{style:nd="",isTitle:od=!1,classes:ld="",useHtmlLabels:ud=!0,isNode:dd=!0,width:pd=200,addSvgBackground:fd=!1}={},md)=>{if(log$1.debug("XYZ createText",qa,nd,od,ld,ud,dd,"addSvgBackground: ",fd),ud){const vd=markdownToHTML(qa,md),Ad=replaceIconSubstring(decodeEntities(vd)),Nd=qa.replace(/\\\\/g,"\\"),Od={isNode:dd,label:hasKatex(qa)?Nd:Ad,labelStyle:nd.replace("fill:","color:")};return await addHtmlSpan(Ra,Od,pd,ld,fd)}else{const vd=qa.replace(/<br\s*\/?>/g,"<br/>"),Ad=markdownToLines(vd.replace("<br>","<br/>"),md),Nd=createFormattedText(pd,Ra,Ad,qa?fd:!1);if(dd){/stroke:/.exec(nd)&&(nd=nd.replace("stroke:","lineColor:"));const Od=nd.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");select(Nd).attr("style",Od)}else{const Od=nd.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/background:/g,"fill:");select(Nd).select("rect").attr("style",Od.replace(/background:/g,"fill:"));const kd=nd.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");select(Nd).select("text").attr("style",kd)}return Nd}},"createText");function t$1(Ra,qa,nd){if(Ra&&Ra.length){const[od,ld]=qa,ud=Math.PI/180*nd,dd=Math.cos(ud),pd=Math.sin(ud);for(const fd of Ra){const[md,vd]=fd;fd[0]=(md-od)*dd-(vd-ld)*pd+od,fd[1]=(md-od)*pd+(vd-ld)*dd+ld}}}function e$1(Ra,qa){return Ra[0]===qa[0]&&Ra[1]===qa[1]}function s$1(Ra,qa,nd,od=1){const ld=nd,ud=Math.max(qa,.1),dd=Ra[0]&&Ra[0][0]&&typeof Ra[0][0]=="number"?[Ra]:Ra,pd=[0,0];if(ld)for(const md of dd)t$1(md,pd,ld);const fd=function(md,vd,Ad){const Nd=[];for(const Fd of md){const Ud=[...Fd];e$1(Ud[0],Ud[Ud.length-1])||Ud.push([Ud[0][0],Ud[0][1]]),Ud.length>2&&Nd.push(Ud)}const Od=[];vd=Math.max(vd,.1);const kd=[];for(const Fd of Nd)for(let Ud=0;Ud<Fd.length-1;Ud++){const qd=Fd[Ud],zd=Fd[Ud+1];if(qd[1]!==zd[1]){const Wd=Math.min(qd[1],zd[1]);kd.push({ymin:Wd,ymax:Math.max(qd[1],zd[1]),x:Wd===qd[1]?qd[0]:zd[0],islope:(zd[0]-qd[0])/(zd[1]-qd[1])})}}if(kd.sort((Fd,Ud)=>Fd.ymin<Ud.ymin?-1:Fd.ymin>Ud.ymin?1:Fd.x<Ud.x?-1:Fd.x>Ud.x?1:Fd.ymax===Ud.ymax?0:(Fd.ymax-Ud.ymax)/Math.abs(Fd.ymax-Ud.ymax)),!kd.length)return Od;let Ld=[],Gd=kd[0].ymin,jd=0;for(;Ld.length||kd.length;){if(kd.length){let Fd=-1;for(let Ud=0;Ud<kd.length&&!(kd[Ud].ymin>Gd);Ud++)Fd=Ud;kd.splice(0,Fd+1).forEach(Ud=>{Ld.push({s:Gd,edge:Ud})})}if(Ld=Ld.filter(Fd=>!(Fd.edge.ymax<=Gd)),Ld.sort((Fd,Ud)=>Fd.edge.x===Ud.edge.x?0:(Fd.edge.x-Ud.edge.x)/Math.abs(Fd.edge.x-Ud.edge.x)),(Ad!==1||jd%vd==0)&&Ld.length>1)for(let Fd=0;Fd<Ld.length;Fd+=2){const Ud=Fd+1;if(Ud>=Ld.length)break;const qd=Ld[Fd].edge,zd=Ld[Ud].edge;Od.push([[Math.round(qd.x),Gd],[Math.round(zd.x),Gd]])}Gd+=Ad,Ld.forEach(Fd=>{Fd.edge.x=Fd.edge.x+Ad*Fd.edge.islope}),jd++}return Od}(dd,ud,od);if(ld){for(const md of dd)t$1(md,pd,-ld);(function(md,vd,Ad){const Nd=[];md.forEach(Od=>Nd.push(...Od)),t$1(Nd,vd,Ad)})(fd,pd,-ld)}return fd}function n$1(Ra,qa){var nd;const od=qa.hachureAngle+90;let ld=qa.hachureGap;ld<0&&(ld=4*qa.strokeWidth),ld=Math.round(Math.max(ld,.1));let ud=1;return qa.roughness>=1&&(((nd=qa.randomizer)===null||nd===void 0?void 0:nd.next())||Math.random())>.7&&(ud=ld),s$1(Ra,ld,od,ud||1)}let o$1=class{constructor(qa){this.helper=qa}fillPolygons(qa,nd){return this._fillPolygons(qa,nd)}_fillPolygons(qa,nd){const od=n$1(qa,nd);return{type:"fillSketch",ops:this.renderLines(od,nd)}}renderLines(qa,nd){const od=[];for(const ld of qa)od.push(...this.helper.doubleLineOps(ld[0][0],ld[0][1],ld[1][0],ld[1][1],nd));return od}};function a$1(Ra){const qa=Ra[0],nd=Ra[1];return Math.sqrt(Math.pow(qa[0]-nd[0],2)+Math.pow(qa[1]-nd[1],2))}let h$1=class extends o$1{fillPolygons(qa,nd){let od=nd.hachureGap;od<0&&(od=4*nd.strokeWidth),od=Math.max(od,.1);const ld=n$1(qa,Object.assign({},nd,{hachureGap:od})),ud=Math.PI/180*nd.hachureAngle,dd=[],pd=.5*od*Math.cos(ud),fd=.5*od*Math.sin(ud);for(const[md,vd]of ld)a$1([md,vd])&&dd.push([[md[0]-pd,md[1]+fd],[...vd]],[[md[0]+pd,md[1]-fd],[...vd]]);return{type:"fillSketch",ops:this.renderLines(dd,nd)}}},r$1=class extends o$1{fillPolygons(qa,nd){const od=this._fillPolygons(qa,nd),ld=Object.assign({},nd,{hachureAngle:nd.hachureAngle+90}),ud=this._fillPolygons(qa,ld);return od.ops=od.ops.concat(ud.ops),od}},i$1=class{constructor(qa){this.helper=qa}fillPolygons(qa,nd){const od=n$1(qa,nd=Object.assign({},nd,{hachureAngle:0}));return this.dotsOnLines(od,nd)}dotsOnLines(qa,nd){const od=[];let ld=nd.hachureGap;ld<0&&(ld=4*nd.strokeWidth),ld=Math.max(ld,.1);let ud=nd.fillWeight;ud<0&&(ud=nd.strokeWidth/2);const dd=ld/4;for(const pd of qa){const fd=a$1(pd),md=fd/ld,vd=Math.ceil(md)-1,Ad=fd-vd*ld,Nd=(pd[0][0]+pd[1][0])/2-ld/4,Od=Math.min(pd[0][1],pd[1][1]);for(let kd=0;kd<vd;kd++){const Ld=Od+Ad+kd*ld,Gd=Nd-dd+2*Math.random()*dd,jd=Ld-dd+2*Math.random()*dd,Fd=this.helper.ellipse(Gd,jd,ud,ud,nd);od.push(...Fd.ops)}}return{type:"fillSketch",ops:od}}},c$1=class{constructor(qa){this.helper=qa}fillPolygons(qa,nd){const od=n$1(qa,nd);return{type:"fillSketch",ops:this.dashedLine(od,nd)}}dashedLine(qa,nd){const od=nd.dashOffset<0?nd.hachureGap<0?4*nd.strokeWidth:nd.hachureGap:nd.dashOffset,ld=nd.dashGap<0?nd.hachureGap<0?4*nd.strokeWidth:nd.hachureGap:nd.dashGap,ud=[];return qa.forEach(dd=>{const pd=a$1(dd),fd=Math.floor(pd/(od+ld)),md=(pd+ld-fd*(od+ld))/2;let vd=dd[0],Ad=dd[1];vd[0]>Ad[0]&&(vd=dd[1],Ad=dd[0]);const Nd=Math.atan((Ad[1]-vd[1])/(Ad[0]-vd[0]));for(let Od=0;Od<fd;Od++){const kd=Od*(od+ld),Ld=kd+od,Gd=[vd[0]+kd*Math.cos(Nd)+md*Math.cos(Nd),vd[1]+kd*Math.sin(Nd)+md*Math.sin(Nd)],jd=[vd[0]+Ld*Math.cos(Nd)+md*Math.cos(Nd),vd[1]+Ld*Math.sin(Nd)+md*Math.sin(Nd)];ud.push(...this.helper.doubleLineOps(Gd[0],Gd[1],jd[0],jd[1],nd))}}),ud}},l$1=class{constructor(qa){this.helper=qa}fillPolygons(qa,nd){const od=nd.hachureGap<0?4*nd.strokeWidth:nd.hachureGap,ld=nd.zigzagOffset<0?od:nd.zigzagOffset,ud=n$1(qa,nd=Object.assign({},nd,{hachureGap:od+ld}));return{type:"fillSketch",ops:this.zigzagLines(ud,ld,nd)}}zigzagLines(qa,nd,od){const ld=[];return qa.forEach(ud=>{const dd=a$1(ud),pd=Math.round(dd/(2*nd));let fd=ud[0],md=ud[1];fd[0]>md[0]&&(fd=ud[1],md=ud[0]);const vd=Math.atan((md[1]-fd[1])/(md[0]-fd[0]));for(let Ad=0;Ad<pd;Ad++){const Nd=2*Ad*nd,Od=2*(Ad+1)*nd,kd=Math.sqrt(2*Math.pow(nd,2)),Ld=[fd[0]+Nd*Math.cos(vd),fd[1]+Nd*Math.sin(vd)],Gd=[fd[0]+Od*Math.cos(vd),fd[1]+Od*Math.sin(vd)],jd=[Ld[0]+kd*Math.cos(vd+Math.PI/4),Ld[1]+kd*Math.sin(vd+Math.PI/4)];ld.push(...this.helper.doubleLineOps(Ld[0],Ld[1],jd[0],jd[1],od),...this.helper.doubleLineOps(jd[0],jd[1],Gd[0],Gd[1],od))}}),ld}};const u$1={};let p$1=class{constructor(qa){this.seed=qa}next(){return this.seed?(2**31-1&(this.seed=Math.imul(48271,this.seed)))/2**31:Math.random()}};const f$1=0,d$1=1,g$3=2,M$2={A:7,a:7,C:6,c:6,H:1,h:1,L:2,l:2,M:2,m:2,Q:4,q:4,S:4,s:4,T:2,t:2,V:1,v:1,Z:0,z:0};function k$1(Ra,qa){return Ra.type===qa}function b$1(Ra){const qa=[],nd=function(dd){const pd=new Array;for(;dd!=="";)if(dd.match(/^([ \t\r\n,]+)/))dd=dd.substr(RegExp.$1.length);else if(dd.match(/^([aAcChHlLmMqQsStTvVzZ])/))pd[pd.length]={type:f$1,text:RegExp.$1},dd=dd.substr(RegExp.$1.length);else{if(!dd.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/))return[];pd[pd.length]={type:d$1,text:`${parseFloat(RegExp.$1)}`},dd=dd.substr(RegExp.$1.length)}return pd[pd.length]={type:g$3,text:""},pd}(Ra);let od="BOD",ld=0,ud=nd[ld];for(;!k$1(ud,g$3);){let dd=0;const pd=[];if(od==="BOD"){if(ud.text!=="M"&&ud.text!=="m")return b$1("M0,0"+Ra);ld++,dd=M$2[ud.text],od=ud.text}else k$1(ud,d$1)?dd=M$2[od]:(ld++,dd=M$2[ud.text],od=ud.text);if(!(ld+dd<nd.length))throw new Error("Path data ended short");for(let fd=ld;fd<ld+dd;fd++){const md=nd[fd];if(!k$1(md,d$1))throw new Error("Param not a number: "+od+","+md.text);pd[pd.length]=+md.text}if(typeof M$2[od]!="number")throw new Error("Bad segment: "+od);{const fd={key:od,data:pd};qa.push(fd),ld+=dd,ud=nd[ld],od==="M"&&(od="L"),od==="m"&&(od="l")}}return qa}function y$1(Ra){let qa=0,nd=0,od=0,ld=0;const ud=[];for(const{key:dd,data:pd}of Ra)switch(dd){case"M":ud.push({key:"M",data:[...pd]}),[qa,nd]=pd,[od,ld]=pd;break;case"m":qa+=pd[0],nd+=pd[1],ud.push({key:"M",data:[qa,nd]}),od=qa,ld=nd;break;case"L":ud.push({key:"L",data:[...pd]}),[qa,nd]=pd;break;case"l":qa+=pd[0],nd+=pd[1],ud.push({key:"L",data:[qa,nd]});break;case"C":ud.push({key:"C",data:[...pd]}),qa=pd[4],nd=pd[5];break;case"c":{const fd=pd.map((md,vd)=>vd%2?md+nd:md+qa);ud.push({key:"C",data:fd}),qa=fd[4],nd=fd[5];break}case"Q":ud.push({key:"Q",data:[...pd]}),qa=pd[2],nd=pd[3];break;case"q":{const fd=pd.map((md,vd)=>vd%2?md+nd:md+qa);ud.push({key:"Q",data:fd}),qa=fd[2],nd=fd[3];break}case"A":ud.push({key:"A",data:[...pd]}),qa=pd[5],nd=pd[6];break;case"a":qa+=pd[5],nd+=pd[6],ud.push({key:"A",data:[pd[0],pd[1],pd[2],pd[3],pd[4],qa,nd]});break;case"H":ud.push({key:"H",data:[...pd]}),qa=pd[0];break;case"h":qa+=pd[0],ud.push({key:"H",data:[qa]});break;case"V":ud.push({key:"V",data:[...pd]}),nd=pd[0];break;case"v":nd+=pd[0],ud.push({key:"V",data:[nd]});break;case"S":ud.push({key:"S",data:[...pd]}),qa=pd[2],nd=pd[3];break;case"s":{const fd=pd.map((md,vd)=>vd%2?md+nd:md+qa);ud.push({key:"S",data:fd}),qa=fd[2],nd=fd[3];break}case"T":ud.push({key:"T",data:[...pd]}),qa=pd[0],nd=pd[1];break;case"t":qa+=pd[0],nd+=pd[1],ud.push({key:"T",data:[qa,nd]});break;case"Z":case"z":ud.push({key:"Z",data:[]}),qa=od,nd=ld}return ud}function m$1(Ra){const qa=[];let nd="",od=0,ld=0,ud=0,dd=0,pd=0,fd=0;for(const{key:md,data:vd}of Ra){switch(md){case"M":qa.push({key:"M",data:[...vd]}),[od,ld]=vd,[ud,dd]=vd;break;case"C":qa.push({key:"C",data:[...vd]}),od=vd[4],ld=vd[5],pd=vd[2],fd=vd[3];break;case"L":qa.push({key:"L",data:[...vd]}),[od,ld]=vd;break;case"H":od=vd[0],qa.push({key:"L",data:[od,ld]});break;case"V":ld=vd[0],qa.push({key:"L",data:[od,ld]});break;case"S":{let Ad=0,Nd=0;nd==="C"||nd==="S"?(Ad=od+(od-pd),Nd=ld+(ld-fd)):(Ad=od,Nd=ld),qa.push({key:"C",data:[Ad,Nd,...vd]}),pd=vd[0],fd=vd[1],od=vd[2],ld=vd[3];break}case"T":{const[Ad,Nd]=vd;let Od=0,kd=0;nd==="Q"||nd==="T"?(Od=od+(od-pd),kd=ld+(ld-fd)):(Od=od,kd=ld);const Ld=od+2*(Od-od)/3,Gd=ld+2*(kd-ld)/3,jd=Ad+2*(Od-Ad)/3,Fd=Nd+2*(kd-Nd)/3;qa.push({key:"C",data:[Ld,Gd,jd,Fd,Ad,Nd]}),pd=Od,fd=kd,od=Ad,ld=Nd;break}case"Q":{const[Ad,Nd,Od,kd]=vd,Ld=od+2*(Ad-od)/3,Gd=ld+2*(Nd-ld)/3,jd=Od+2*(Ad-Od)/3,Fd=kd+2*(Nd-kd)/3;qa.push({key:"C",data:[Ld,Gd,jd,Fd,Od,kd]}),pd=Ad,fd=Nd,od=Od,ld=kd;break}case"A":{const Ad=Math.abs(vd[0]),Nd=Math.abs(vd[1]),Od=vd[2],kd=vd[3],Ld=vd[4],Gd=vd[5],jd=vd[6];Ad===0||Nd===0?(qa.push({key:"C",data:[od,ld,Gd,jd,Gd,jd]}),od=Gd,ld=jd):(od!==Gd||ld!==jd)&&(x$2(od,ld,Gd,jd,Ad,Nd,Od,kd,Ld).forEach(function(Fd){qa.push({key:"C",data:Fd})}),od=Gd,ld=jd);break}case"Z":qa.push({key:"Z",data:[]}),od=ud,ld=dd}nd=md}return qa}function w$1(Ra,qa,nd){return[Ra*Math.cos(nd)-qa*Math.sin(nd),Ra*Math.sin(nd)+qa*Math.cos(nd)]}function x$2(Ra,qa,nd,od,ld,ud,dd,pd,fd,md){const vd=(Ad=dd,Math.PI*Ad/180);var Ad;let Nd=[],Od=0,kd=0,Ld=0,Gd=0;if(md)[Od,kd,Ld,Gd]=md;else{[Ra,qa]=w$1(Ra,qa,-vd),[nd,od]=w$1(nd,od,-vd);const Tf=(Ra-nd)/2,Af=(qa-od)/2;let Ef=Tf*Tf/(ld*ld)+Af*Af/(ud*ud);Ef>1&&(Ef=Math.sqrt(Ef),ld*=Ef,ud*=Ef);const Nf=ld*ld,If=ud*ud,Gf=Nf*If-Nf*Af*Af-If*Tf*Tf,Qf=Nf*Af*Af+If*Tf*Tf,Xf=(pd===fd?-1:1)*Math.sqrt(Math.abs(Gf/Qf));Ld=Xf*ld*Af/ud+(Ra+nd)/2,Gd=Xf*-ud*Tf/ld+(qa+od)/2,Od=Math.asin(parseFloat(((qa-Gd)/ud).toFixed(9))),kd=Math.asin(parseFloat(((od-Gd)/ud).toFixed(9))),Ra<Ld&&(Od=Math.PI-Od),nd<Ld&&(kd=Math.PI-kd),Od<0&&(Od=2*Math.PI+Od),kd<0&&(kd=2*Math.PI+kd),fd&&Od>kd&&(Od-=2*Math.PI),!fd&&kd>Od&&(kd-=2*Math.PI)}let jd=kd-Od;if(Math.abs(jd)>120*Math.PI/180){const Tf=kd,Af=nd,Ef=od;kd=fd&&kd>Od?Od+120*Math.PI/180*1:Od+120*Math.PI/180*-1,Nd=x$2(nd=Ld+ld*Math.cos(kd),od=Gd+ud*Math.sin(kd),Af,Ef,ld,ud,dd,0,fd,[kd,Tf,Ld,Gd])}jd=kd-Od;const Fd=Math.cos(Od),Ud=Math.sin(Od),qd=Math.cos(kd),zd=Math.sin(kd),Wd=Math.tan(jd/4),Jd=4/3*ld*Wd,_f=4/3*ud*Wd,Xd=[Ra,qa],pf=[Ra+Jd*Ud,qa-_f*Fd],mf=[nd+Jd*zd,od-_f*qd],Sf=[nd,od];if(pf[0]=2*Xd[0]-pf[0],pf[1]=2*Xd[1]-pf[1],md)return[pf,mf,Sf].concat(Nd);{Nd=[pf,mf,Sf].concat(Nd);const Tf=[];for(let Af=0;Af<Nd.length;Af+=3){const Ef=w$1(Nd[Af][0],Nd[Af][1],vd),Nf=w$1(Nd[Af+1][0],Nd[Af+1][1],vd),If=w$1(Nd[Af+2][0],Nd[Af+2][1],vd);Tf.push([Ef[0],Ef[1],Nf[0],Nf[1],If[0],If[1]])}return Tf}}const P$3={randOffset:function(Ra,qa){return G$3(Ra,qa)},randOffsetWithRange:function(Ra,qa,nd){return E$3(Ra,qa,nd)},ellipse:function(Ra,qa,nd,od,ld){const ud=T$2(nd,od,ld);return D$2(Ra,qa,ld,ud).opset},doubleLineOps:function(Ra,qa,nd,od,ld){return $$1(Ra,qa,nd,od,ld,!0)}};function v$1(Ra,qa,nd,od,ld){return{type:"path",ops:$$1(Ra,qa,nd,od,ld)}}function S$1(Ra,qa,nd){const od=(Ra||[]).length;if(od>2){const ld=[];for(let ud=0;ud<od-1;ud++)ld.push(...$$1(Ra[ud][0],Ra[ud][1],Ra[ud+1][0],Ra[ud+1][1],nd));return qa&&ld.push(...$$1(Ra[od-1][0],Ra[od-1][1],Ra[0][0],Ra[0][1],nd)),{type:"path",ops:ld}}return od===2?v$1(Ra[0][0],Ra[0][1],Ra[1][0],Ra[1][1],nd):{type:"path",ops:[]}}function O$1(Ra,qa,nd,od,ld){return function(ud,dd){return S$1(ud,!0,dd)}([[Ra,qa],[Ra+nd,qa],[Ra+nd,qa+od],[Ra,qa+od]],ld)}function L$2(Ra,qa){if(Ra.length){const nd=typeof Ra[0][0]=="number"?[Ra]:Ra,od=j$2(nd[0],1*(1+.2*qa.roughness),qa),ld=qa.disableMultiStroke?[]:j$2(nd[0],1.5*(1+.22*qa.roughness),z$2(qa));for(let ud=1;ud<nd.length;ud++){const dd=nd[ud];if(dd.length){const pd=j$2(dd,1*(1+.2*qa.roughness),qa),fd=qa.disableMultiStroke?[]:j$2(dd,1.5*(1+.22*qa.roughness),z$2(qa));for(const md of pd)md.op!=="move"&&od.push(md);for(const md of fd)md.op!=="move"&&ld.push(md)}}return{type:"path",ops:od.concat(ld)}}return{type:"path",ops:[]}}function T$2(Ra,qa,nd){const od=Math.sqrt(2*Math.PI*Math.sqrt((Math.pow(Ra/2,2)+Math.pow(qa/2,2))/2)),ld=Math.ceil(Math.max(nd.curveStepCount,nd.curveStepCount/Math.sqrt(200)*od)),ud=2*Math.PI/ld;let dd=Math.abs(Ra/2),pd=Math.abs(qa/2);const fd=1-nd.curveFitting;return dd+=G$3(dd*fd,nd),pd+=G$3(pd*fd,nd),{increment:ud,rx:dd,ry:pd}}function D$2(Ra,qa,nd,od){const[ld,ud]=F$2(od.increment,Ra,qa,od.rx,od.ry,1,od.increment*E$3(.1,E$3(.4,1,nd),nd),nd);let dd=q$3(ld,null,nd);if(!nd.disableMultiStroke&&nd.roughness!==0){const[pd]=F$2(od.increment,Ra,qa,od.rx,od.ry,1.5,0,nd),fd=q$3(pd,null,nd);dd=dd.concat(fd)}return{estimatedPoints:ud,opset:{type:"path",ops:dd}}}function A$1(Ra,qa,nd,od,ld,ud,dd,pd,fd){const md=Ra,vd=qa;let Ad=Math.abs(nd/2),Nd=Math.abs(od/2);Ad+=G$3(.01*Ad,fd),Nd+=G$3(.01*Nd,fd);let Od=ld,kd=ud;for(;Od<0;)Od+=2*Math.PI,kd+=2*Math.PI;kd-Od>2*Math.PI&&(Od=0,kd=2*Math.PI);const Ld=2*Math.PI/fd.curveStepCount,Gd=Math.min(Ld/2,(kd-Od)/2),jd=V$2(Gd,md,vd,Ad,Nd,Od,kd,1,fd);if(!fd.disableMultiStroke){const Fd=V$2(Gd,md,vd,Ad,Nd,Od,kd,1.5,fd);jd.push(...Fd)}return dd&&(pd?jd.push(...$$1(md,vd,md+Ad*Math.cos(Od),vd+Nd*Math.sin(Od),fd),...$$1(md,vd,md+Ad*Math.cos(kd),vd+Nd*Math.sin(kd),fd)):jd.push({op:"lineTo",data:[md,vd]},{op:"lineTo",data:[md+Ad*Math.cos(Od),vd+Nd*Math.sin(Od)]})),{type:"path",ops:jd}}function _$2(Ra,qa){const nd=m$1(y$1(b$1(Ra))),od=[];let ld=[0,0],ud=[0,0];for(const{key:dd,data:pd}of nd)switch(dd){case"M":ud=[pd[0],pd[1]],ld=[pd[0],pd[1]];break;case"L":od.push(...$$1(ud[0],ud[1],pd[0],pd[1],qa)),ud=[pd[0],pd[1]];break;case"C":{const[fd,md,vd,Ad,Nd,Od]=pd;od.push(...Z$3(fd,md,vd,Ad,Nd,Od,ud,qa)),ud=[Nd,Od];break}case"Z":od.push(...$$1(ud[0],ud[1],ld[0],ld[1],qa)),ud=[ld[0],ld[1]]}return{type:"path",ops:od}}function I$3(Ra,qa){const nd=[];for(const od of Ra)if(od.length){const ld=qa.maxRandomnessOffset||0,ud=od.length;if(ud>2){nd.push({op:"move",data:[od[0][0]+G$3(ld,qa),od[0][1]+G$3(ld,qa)]});for(let dd=1;dd<ud;dd++)nd.push({op:"lineTo",data:[od[dd][0]+G$3(ld,qa),od[dd][1]+G$3(ld,qa)]})}}return{type:"fillPath",ops:nd}}function C$2(Ra,qa){return function(nd,od){let ld=nd.fillStyle||"hachure";if(!u$1[ld])switch(ld){case"zigzag":u$1[ld]||(u$1[ld]=new h$1(od));break;case"cross-hatch":u$1[ld]||(u$1[ld]=new r$1(od));break;case"dots":u$1[ld]||(u$1[ld]=new i$1(od));break;case"dashed":u$1[ld]||(u$1[ld]=new c$1(od));break;case"zigzag-line":u$1[ld]||(u$1[ld]=new l$1(od));break;default:ld="hachure",u$1[ld]||(u$1[ld]=new o$1(od))}return u$1[ld]}(qa,P$3).fillPolygons(Ra,qa)}function z$2(Ra){const qa=Object.assign({},Ra);return qa.randomizer=void 0,Ra.seed&&(qa.seed=Ra.seed+1),qa}function W$3(Ra){return Ra.randomizer||(Ra.randomizer=new p$1(Ra.seed||0)),Ra.randomizer.next()}function E$3(Ra,qa,nd,od=1){return nd.roughness*od*(W$3(nd)*(qa-Ra)+Ra)}function G$3(Ra,qa,nd=1){return E$3(-Ra,Ra,qa,nd)}function $$1(Ra,qa,nd,od,ld,ud=!1){const dd=ud?ld.disableMultiStrokeFill:ld.disableMultiStroke,pd=R$4(Ra,qa,nd,od,ld,!0,!1);if(dd)return pd;const fd=R$4(Ra,qa,nd,od,ld,!0,!0);return pd.concat(fd)}function R$4(Ra,qa,nd,od,ld,ud,dd){const pd=Math.pow(Ra-nd,2)+Math.pow(qa-od,2),fd=Math.sqrt(pd);let md=1;md=fd<200?1:fd>500?.4:-.0016668*fd+1.233334;let vd=ld.maxRandomnessOffset||0;vd*vd*100>pd&&(vd=fd/10);const Ad=vd/2,Nd=.2+.2*W$3(ld);let Od=ld.bowing*ld.maxRandomnessOffset*(od-qa)/200,kd=ld.bowing*ld.maxRandomnessOffset*(Ra-nd)/200;Od=G$3(Od,ld,md),kd=G$3(kd,ld,md);const Ld=[],Gd=()=>G$3(Ad,ld,md),jd=()=>G$3(vd,ld,md),Fd=ld.preserveVertices;return dd?Ld.push({op:"move",data:[Ra+(Fd?0:Gd()),qa+(Fd?0:Gd())]}):Ld.push({op:"move",data:[Ra+(Fd?0:G$3(vd,ld,md)),qa+(Fd?0:G$3(vd,ld,md))]}),dd?Ld.push({op:"bcurveTo",data:[Od+Ra+(nd-Ra)*Nd+Gd(),kd+qa+(od-qa)*Nd+Gd(),Od+Ra+2*(nd-Ra)*Nd+Gd(),kd+qa+2*(od-qa)*Nd+Gd(),nd+(Fd?0:Gd()),od+(Fd?0:Gd())]}):Ld.push({op:"bcurveTo",data:[Od+Ra+(nd-Ra)*Nd+jd(),kd+qa+(od-qa)*Nd+jd(),Od+Ra+2*(nd-Ra)*Nd+jd(),kd+qa+2*(od-qa)*Nd+jd(),nd+(Fd?0:jd()),od+(Fd?0:jd())]}),Ld}function j$2(Ra,qa,nd){if(!Ra.length)return[];const od=[];od.push([Ra[0][0]+G$3(qa,nd),Ra[0][1]+G$3(qa,nd)]),od.push([Ra[0][0]+G$3(qa,nd),Ra[0][1]+G$3(qa,nd)]);for(let ld=1;ld<Ra.length;ld++)od.push([Ra[ld][0]+G$3(qa,nd),Ra[ld][1]+G$3(qa,nd)]),ld===Ra.length-1&&od.push([Ra[ld][0]+G$3(qa,nd),Ra[ld][1]+G$3(qa,nd)]);return q$3(od,null,nd)}function q$3(Ra,qa,nd){const od=Ra.length,ld=[];if(od>3){const ud=[],dd=1-nd.curveTightness;ld.push({op:"move",data:[Ra[1][0],Ra[1][1]]});for(let pd=1;pd+2<od;pd++){const fd=Ra[pd];ud[0]=[fd[0],fd[1]],ud[1]=[fd[0]+(dd*Ra[pd+1][0]-dd*Ra[pd-1][0])/6,fd[1]+(dd*Ra[pd+1][1]-dd*Ra[pd-1][1])/6],ud[2]=[Ra[pd+1][0]+(dd*Ra[pd][0]-dd*Ra[pd+2][0])/6,Ra[pd+1][1]+(dd*Ra[pd][1]-dd*Ra[pd+2][1])/6],ud[3]=[Ra[pd+1][0],Ra[pd+1][1]],ld.push({op:"bcurveTo",data:[ud[1][0],ud[1][1],ud[2][0],ud[2][1],ud[3][0],ud[3][1]]})}}else od===3?(ld.push({op:"move",data:[Ra[1][0],Ra[1][1]]}),ld.push({op:"bcurveTo",data:[Ra[1][0],Ra[1][1],Ra[2][0],Ra[2][1],Ra[2][0],Ra[2][1]]})):od===2&&ld.push(...R$4(Ra[0][0],Ra[0][1],Ra[1][0],Ra[1][1],nd,!0,!0));return ld}function F$2(Ra,qa,nd,od,ld,ud,dd,pd){const fd=[],md=[];if(pd.roughness===0){Ra/=4,md.push([qa+od*Math.cos(-Ra),nd+ld*Math.sin(-Ra)]);for(let vd=0;vd<=2*Math.PI;vd+=Ra){const Ad=[qa+od*Math.cos(vd),nd+ld*Math.sin(vd)];fd.push(Ad),md.push(Ad)}md.push([qa+od*Math.cos(0),nd+ld*Math.sin(0)]),md.push([qa+od*Math.cos(Ra),nd+ld*Math.sin(Ra)])}else{const vd=G$3(.5,pd)-Math.PI/2;md.push([G$3(ud,pd)+qa+.9*od*Math.cos(vd-Ra),G$3(ud,pd)+nd+.9*ld*Math.sin(vd-Ra)]);const Ad=2*Math.PI+vd-.01;for(let Nd=vd;Nd<Ad;Nd+=Ra){const Od=[G$3(ud,pd)+qa+od*Math.cos(Nd),G$3(ud,pd)+nd+ld*Math.sin(Nd)];fd.push(Od),md.push(Od)}md.push([G$3(ud,pd)+qa+od*Math.cos(vd+2*Math.PI+.5*dd),G$3(ud,pd)+nd+ld*Math.sin(vd+2*Math.PI+.5*dd)]),md.push([G$3(ud,pd)+qa+.98*od*Math.cos(vd+dd),G$3(ud,pd)+nd+.98*ld*Math.sin(vd+dd)]),md.push([G$3(ud,pd)+qa+.9*od*Math.cos(vd+.5*dd),G$3(ud,pd)+nd+.9*ld*Math.sin(vd+.5*dd)])}return[md,fd]}function V$2(Ra,qa,nd,od,ld,ud,dd,pd,fd){const md=ud+G$3(.1,fd),vd=[];vd.push([G$3(pd,fd)+qa+.9*od*Math.cos(md-Ra),G$3(pd,fd)+nd+.9*ld*Math.sin(md-Ra)]);for(let Ad=md;Ad<=dd;Ad+=Ra)vd.push([G$3(pd,fd)+qa+od*Math.cos(Ad),G$3(pd,fd)+nd+ld*Math.sin(Ad)]);return vd.push([qa+od*Math.cos(dd),nd+ld*Math.sin(dd)]),vd.push([qa+od*Math.cos(dd),nd+ld*Math.sin(dd)]),q$3(vd,null,fd)}function Z$3(Ra,qa,nd,od,ld,ud,dd,pd){const fd=[],md=[pd.maxRandomnessOffset||1,(pd.maxRandomnessOffset||1)+.3];let vd=[0,0];const Ad=pd.disableMultiStroke?1:2,Nd=pd.preserveVertices;for(let Od=0;Od<Ad;Od++)Od===0?fd.push({op:"move",data:[dd[0],dd[1]]}):fd.push({op:"move",data:[dd[0]+(Nd?0:G$3(md[0],pd)),dd[1]+(Nd?0:G$3(md[0],pd))]}),vd=Nd?[ld,ud]:[ld+G$3(md[Od],pd),ud+G$3(md[Od],pd)],fd.push({op:"bcurveTo",data:[Ra+G$3(md[Od],pd),qa+G$3(md[Od],pd),nd+G$3(md[Od],pd),od+G$3(md[Od],pd),vd[0],vd[1]]});return fd}function Q$3(Ra){return[...Ra]}function H$3(Ra,qa=0){const nd=Ra.length;if(nd<3)throw new Error("A curve must have at least three points.");const od=[];if(nd===3)od.push(Q$3(Ra[0]),Q$3(Ra[1]),Q$3(Ra[2]),Q$3(Ra[2]));else{const ld=[];ld.push(Ra[0],Ra[0]);for(let pd=1;pd<Ra.length;pd++)ld.push(Ra[pd]),pd===Ra.length-1&&ld.push(Ra[pd]);const ud=[],dd=1-qa;od.push(Q$3(ld[0]));for(let pd=1;pd+2<ld.length;pd++){const fd=ld[pd];ud[0]=[fd[0],fd[1]],ud[1]=[fd[0]+(dd*ld[pd+1][0]-dd*ld[pd-1][0])/6,fd[1]+(dd*ld[pd+1][1]-dd*ld[pd-1][1])/6],ud[2]=[ld[pd+1][0]+(dd*ld[pd][0]-dd*ld[pd+2][0])/6,ld[pd+1][1]+(dd*ld[pd][1]-dd*ld[pd+2][1])/6],ud[3]=[ld[pd+1][0],ld[pd+1][1]],od.push(ud[1],ud[2],ud[3])}}return od}function N$2(Ra,qa){return Math.pow(Ra[0]-qa[0],2)+Math.pow(Ra[1]-qa[1],2)}function B$3(Ra,qa,nd){const od=N$2(qa,nd);if(od===0)return N$2(Ra,qa);let ld=((Ra[0]-qa[0])*(nd[0]-qa[0])+(Ra[1]-qa[1])*(nd[1]-qa[1]))/od;return ld=Math.max(0,Math.min(1,ld)),N$2(Ra,J$3(qa,nd,ld))}function J$3(Ra,qa,nd){return[Ra[0]+(qa[0]-Ra[0])*nd,Ra[1]+(qa[1]-Ra[1])*nd]}function K$3(Ra,qa,nd,od){const ld=od||[];if(function(pd,fd){const md=pd[fd+0],vd=pd[fd+1],Ad=pd[fd+2],Nd=pd[fd+3];let Od=3*vd[0]-2*md[0]-Nd[0];Od*=Od;let kd=3*vd[1]-2*md[1]-Nd[1];kd*=kd;let Ld=3*Ad[0]-2*Nd[0]-md[0];Ld*=Ld;let Gd=3*Ad[1]-2*Nd[1]-md[1];return Gd*=Gd,Od<Ld&&(Od=Ld),kd<Gd&&(kd=Gd),Od+kd}(Ra,qa)<nd){const pd=Ra[qa+0];ld.length?(ud=ld[ld.length-1],dd=pd,Math.sqrt(N$2(ud,dd))>1&&ld.push(pd)):ld.push(pd),ld.push(Ra[qa+3])}else{const fd=Ra[qa+0],md=Ra[qa+1],vd=Ra[qa+2],Ad=Ra[qa+3],Nd=J$3(fd,md,.5),Od=J$3(md,vd,.5),kd=J$3(vd,Ad,.5),Ld=J$3(Nd,Od,.5),Gd=J$3(Od,kd,.5),jd=J$3(Ld,Gd,.5);K$3([fd,Nd,Ld,jd],0,nd,ld),K$3([jd,Gd,kd,Ad],0,nd,ld)}var ud,dd;return ld}function U$3(Ra,qa){return X$3(Ra,0,Ra.length,qa)}function X$3(Ra,qa,nd,od,ld){const ud=ld||[],dd=Ra[qa],pd=Ra[nd-1];let fd=0,md=1;for(let vd=qa+1;vd<nd-1;++vd){const Ad=B$3(Ra[vd],dd,pd);Ad>fd&&(fd=Ad,md=vd)}return Math.sqrt(fd)>od?(X$3(Ra,qa,md+1,od,ud),X$3(Ra,md,nd,od,ud)):(ud.length||ud.push(dd),ud.push(pd)),ud}function Y$2(Ra,qa=.15,nd){const od=[],ld=(Ra.length-1)/3;for(let ud=0;ud<ld;ud++)K$3(Ra,3*ud,qa,od);return nd&&nd>0?X$3(od,0,od.length,nd):od}const tt$1="none";let et$1=class{constructor(qa){this.defaultOptions={maxRandomnessOffset:2,roughness:1,bowing:1,stroke:"#000",strokeWidth:1,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,seed:0,disableMultiStroke:!1,disableMultiStrokeFill:!1,preserveVertices:!1,fillShapeRoughnessGain:.8},this.config=qa||{},this.config.options&&(this.defaultOptions=this._o(this.config.options))}static newSeed(){return Math.floor(Math.random()*2**31)}_o(qa){return qa?Object.assign({},this.defaultOptions,qa):this.defaultOptions}_d(qa,nd,od){return{shape:qa,sets:nd||[],options:od||this.defaultOptions}}line(qa,nd,od,ld,ud){const dd=this._o(ud);return this._d("line",[v$1(qa,nd,od,ld,dd)],dd)}rectangle(qa,nd,od,ld,ud){const dd=this._o(ud),pd=[],fd=O$1(qa,nd,od,ld,dd);if(dd.fill){const md=[[qa,nd],[qa+od,nd],[qa+od,nd+ld],[qa,nd+ld]];dd.fillStyle==="solid"?pd.push(I$3([md],dd)):pd.push(C$2([md],dd))}return dd.stroke!==tt$1&&pd.push(fd),this._d("rectangle",pd,dd)}ellipse(qa,nd,od,ld,ud){const dd=this._o(ud),pd=[],fd=T$2(od,ld,dd),md=D$2(qa,nd,dd,fd);if(dd.fill)if(dd.fillStyle==="solid"){const vd=D$2(qa,nd,dd,fd).opset;vd.type="fillPath",pd.push(vd)}else pd.push(C$2([md.estimatedPoints],dd));return dd.stroke!==tt$1&&pd.push(md.opset),this._d("ellipse",pd,dd)}circle(qa,nd,od,ld){const ud=this.ellipse(qa,nd,od,od,ld);return ud.shape="circle",ud}linearPath(qa,nd){const od=this._o(nd);return this._d("linearPath",[S$1(qa,!1,od)],od)}arc(qa,nd,od,ld,ud,dd,pd=!1,fd){const md=this._o(fd),vd=[],Ad=A$1(qa,nd,od,ld,ud,dd,pd,!0,md);if(pd&&md.fill)if(md.fillStyle==="solid"){const Nd=Object.assign({},md);Nd.disableMultiStroke=!0;const Od=A$1(qa,nd,od,ld,ud,dd,!0,!1,Nd);Od.type="fillPath",vd.push(Od)}else vd.push(function(Nd,Od,kd,Ld,Gd,jd,Fd){const Ud=Nd,qd=Od;let zd=Math.abs(kd/2),Wd=Math.abs(Ld/2);zd+=G$3(.01*zd,Fd),Wd+=G$3(.01*Wd,Fd);let Jd=Gd,_f=jd;for(;Jd<0;)Jd+=2*Math.PI,_f+=2*Math.PI;_f-Jd>2*Math.PI&&(Jd=0,_f=2*Math.PI);const Xd=(_f-Jd)/Fd.curveStepCount,pf=[];for(let mf=Jd;mf<=_f;mf+=Xd)pf.push([Ud+zd*Math.cos(mf),qd+Wd*Math.sin(mf)]);return pf.push([Ud+zd*Math.cos(_f),qd+Wd*Math.sin(_f)]),pf.push([Ud,qd]),C$2([pf],Fd)}(qa,nd,od,ld,ud,dd,md));return md.stroke!==tt$1&&vd.push(Ad),this._d("arc",vd,md)}curve(qa,nd){const od=this._o(nd),ld=[],ud=L$2(qa,od);if(od.fill&&od.fill!==tt$1)if(od.fillStyle==="solid"){const dd=L$2(qa,Object.assign(Object.assign({},od),{disableMultiStroke:!0,roughness:od.roughness?od.roughness+od.fillShapeRoughnessGain:0}));ld.push({type:"fillPath",ops:this._mergedShape(dd.ops)})}else{const dd=[],pd=qa;if(pd.length){const fd=typeof pd[0][0]=="number"?[pd]:pd;for(const md of fd)md.length<3?dd.push(...md):md.length===3?dd.push(...Y$2(H$3([md[0],md[0],md[1],md[2]]),10,(1+od.roughness)/2)):dd.push(...Y$2(H$3(md),10,(1+od.roughness)/2))}dd.length&&ld.push(C$2([dd],od))}return od.stroke!==tt$1&&ld.push(ud),this._d("curve",ld,od)}polygon(qa,nd){const od=this._o(nd),ld=[],ud=S$1(qa,!0,od);return od.fill&&(od.fillStyle==="solid"?ld.push(I$3([qa],od)):ld.push(C$2([qa],od))),od.stroke!==tt$1&&ld.push(ud),this._d("polygon",ld,od)}path(qa,nd){const od=this._o(nd),ld=[];if(!qa)return this._d("path",ld,od);qa=(qa||"").replace(/\n/g," ").replace(/(-\s)/g,"-").replace("/(ss)/g"," ");const ud=od.fill&&od.fill!=="transparent"&&od.fill!==tt$1,dd=od.stroke!==tt$1,pd=!!(od.simplification&&od.simplification<1),fd=function(vd,Ad,Nd){const Od=m$1(y$1(b$1(vd))),kd=[];let Ld=[],Gd=[0,0],jd=[];const Fd=()=>{jd.length>=4&&Ld.push(...Y$2(jd,Ad)),jd=[]},Ud=()=>{Fd(),Ld.length&&(kd.push(Ld),Ld=[])};for(const{key:zd,data:Wd}of Od)switch(zd){case"M":Ud(),Gd=[Wd[0],Wd[1]],Ld.push(Gd);break;case"L":Fd(),Ld.push([Wd[0],Wd[1]]);break;case"C":if(!jd.length){const Jd=Ld.length?Ld[Ld.length-1]:Gd;jd.push([Jd[0],Jd[1]])}jd.push([Wd[0],Wd[1]]),jd.push([Wd[2],Wd[3]]),jd.push([Wd[4],Wd[5]]);break;case"Z":Fd(),Ld.push([Gd[0],Gd[1]])}if(Ud(),!Nd)return kd;const qd=[];for(const zd of kd){const Wd=U$3(zd,Nd);Wd.length&&qd.push(Wd)}return qd}(qa,1,pd?4-4*(od.simplification||1):(1+od.roughness)/2),md=_$2(qa,od);if(ud)if(od.fillStyle==="solid")if(fd.length===1){const vd=_$2(qa,Object.assign(Object.assign({},od),{disableMultiStroke:!0,roughness:od.roughness?od.roughness+od.fillShapeRoughnessGain:0}));ld.push({type:"fillPath",ops:this._mergedShape(vd.ops)})}else ld.push(I$3(fd,od));else ld.push(C$2(fd,od));return dd&&(pd?fd.forEach(vd=>{ld.push(S$1(vd,!1,od))}):ld.push(md)),this._d("path",ld,od)}opsToPath(qa,nd){let od="";for(const ld of qa.ops){const ud=typeof nd=="number"&&nd>=0?ld.data.map(dd=>+dd.toFixed(nd)):ld.data;switch(ld.op){case"move":od+=`M${ud[0]} ${ud[1]} `;break;case"bcurveTo":od+=`C${ud[0]} ${ud[1]}, ${ud[2]} ${ud[3]}, ${ud[4]} ${ud[5]} `;break;case"lineTo":od+=`L${ud[0]} ${ud[1]} `}}return od.trim()}toPaths(qa){const nd=qa.sets||[],od=qa.options||this.defaultOptions,ld=[];for(const ud of nd){let dd=null;switch(ud.type){case"path":dd={d:this.opsToPath(ud),stroke:od.stroke,strokeWidth:od.strokeWidth,fill:tt$1};break;case"fillPath":dd={d:this.opsToPath(ud),stroke:tt$1,strokeWidth:0,fill:od.fill||tt$1};break;case"fillSketch":dd=this.fillSketch(ud,od)}dd&&ld.push(dd)}return ld}fillSketch(qa,nd){let od=nd.fillWeight;return od<0&&(od=nd.strokeWidth/2),{d:this.opsToPath(qa),stroke:nd.fill||tt$1,strokeWidth:od,fill:tt$1}}_mergedShape(qa){return qa.filter((nd,od)=>od===0||nd.op!=="move")}},st$1=class{constructor(qa,nd){this.canvas=qa,this.ctx=this.canvas.getContext("2d"),this.gen=new et$1(nd)}draw(qa){const nd=qa.sets||[],od=qa.options||this.getDefaultOptions(),ld=this.ctx,ud=qa.options.fixedDecimalPlaceDigits;for(const dd of nd)switch(dd.type){case"path":ld.save(),ld.strokeStyle=od.stroke==="none"?"transparent":od.stroke,ld.lineWidth=od.strokeWidth,od.strokeLineDash&&ld.setLineDash(od.strokeLineDash),od.strokeLineDashOffset&&(ld.lineDashOffset=od.strokeLineDashOffset),this._drawToContext(ld,dd,ud),ld.restore();break;case"fillPath":{ld.save(),ld.fillStyle=od.fill||"";const pd=qa.shape==="curve"||qa.shape==="polygon"||qa.shape==="path"?"evenodd":"nonzero";this._drawToContext(ld,dd,ud,pd),ld.restore();break}case"fillSketch":this.fillSketch(ld,dd,od)}}fillSketch(qa,nd,od){let ld=od.fillWeight;ld<0&&(ld=od.strokeWidth/2),qa.save(),od.fillLineDash&&qa.setLineDash(od.fillLineDash),od.fillLineDashOffset&&(qa.lineDashOffset=od.fillLineDashOffset),qa.strokeStyle=od.fill||"",qa.lineWidth=ld,this._drawToContext(qa,nd,od.fixedDecimalPlaceDigits),qa.restore()}_drawToContext(qa,nd,od,ld="nonzero"){qa.beginPath();for(const ud of nd.ops){const dd=typeof od=="number"&&od>=0?ud.data.map(pd=>+pd.toFixed(od)):ud.data;switch(ud.op){case"move":qa.moveTo(dd[0],dd[1]);break;case"bcurveTo":qa.bezierCurveTo(dd[0],dd[1],dd[2],dd[3],dd[4],dd[5]);break;case"lineTo":qa.lineTo(dd[0],dd[1])}}nd.type==="fillPath"?qa.fill(ld):qa.stroke()}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}line(qa,nd,od,ld,ud){const dd=this.gen.line(qa,nd,od,ld,ud);return this.draw(dd),dd}rectangle(qa,nd,od,ld,ud){const dd=this.gen.rectangle(qa,nd,od,ld,ud);return this.draw(dd),dd}ellipse(qa,nd,od,ld,ud){const dd=this.gen.ellipse(qa,nd,od,ld,ud);return this.draw(dd),dd}circle(qa,nd,od,ld){const ud=this.gen.circle(qa,nd,od,ld);return this.draw(ud),ud}linearPath(qa,nd){const od=this.gen.linearPath(qa,nd);return this.draw(od),od}polygon(qa,nd){const od=this.gen.polygon(qa,nd);return this.draw(od),od}arc(qa,nd,od,ld,ud,dd,pd=!1,fd){const md=this.gen.arc(qa,nd,od,ld,ud,dd,pd,fd);return this.draw(md),md}curve(qa,nd){const od=this.gen.curve(qa,nd);return this.draw(od),od}path(qa,nd){const od=this.gen.path(qa,nd);return this.draw(od),od}};const nt$1="http://www.w3.org/2000/svg";let ot$1=class{constructor(qa,nd){this.svg=qa,this.gen=new et$1(nd)}draw(qa){const nd=qa.sets||[],od=qa.options||this.getDefaultOptions(),ld=this.svg.ownerDocument||window.document,ud=ld.createElementNS(nt$1,"g"),dd=qa.options.fixedDecimalPlaceDigits;for(const pd of nd){let fd=null;switch(pd.type){case"path":fd=ld.createElementNS(nt$1,"path"),fd.setAttribute("d",this.opsToPath(pd,dd)),fd.setAttribute("stroke",od.stroke),fd.setAttribute("stroke-width",od.strokeWidth+""),fd.setAttribute("fill","none"),od.strokeLineDash&&fd.setAttribute("stroke-dasharray",od.strokeLineDash.join(" ").trim()),od.strokeLineDashOffset&&fd.setAttribute("stroke-dashoffset",`${od.strokeLineDashOffset}`);break;case"fillPath":fd=ld.createElementNS(nt$1,"path"),fd.setAttribute("d",this.opsToPath(pd,dd)),fd.setAttribute("stroke","none"),fd.setAttribute("stroke-width","0"),fd.setAttribute("fill",od.fill||""),qa.shape!=="curve"&&qa.shape!=="polygon"||fd.setAttribute("fill-rule","evenodd");break;case"fillSketch":fd=this.fillSketch(ld,pd,od)}fd&&ud.appendChild(fd)}return ud}fillSketch(qa,nd,od){let ld=od.fillWeight;ld<0&&(ld=od.strokeWidth/2);const ud=qa.createElementNS(nt$1,"path");return ud.setAttribute("d",this.opsToPath(nd,od.fixedDecimalPlaceDigits)),ud.setAttribute("stroke",od.fill||""),ud.setAttribute("stroke-width",ld+""),ud.setAttribute("fill","none"),od.fillLineDash&&ud.setAttribute("stroke-dasharray",od.fillLineDash.join(" ").trim()),od.fillLineDashOffset&&ud.setAttribute("stroke-dashoffset",`${od.fillLineDashOffset}`),ud}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}opsToPath(qa,nd){return this.gen.opsToPath(qa,nd)}line(qa,nd,od,ld,ud){const dd=this.gen.line(qa,nd,od,ld,ud);return this.draw(dd)}rectangle(qa,nd,od,ld,ud){const dd=this.gen.rectangle(qa,nd,od,ld,ud);return this.draw(dd)}ellipse(qa,nd,od,ld,ud){const dd=this.gen.ellipse(qa,nd,od,ld,ud);return this.draw(dd)}circle(qa,nd,od,ld){const ud=this.gen.circle(qa,nd,od,ld);return this.draw(ud)}linearPath(qa,nd){const od=this.gen.linearPath(qa,nd);return this.draw(od)}polygon(qa,nd){const od=this.gen.polygon(qa,nd);return this.draw(od)}arc(qa,nd,od,ld,ud,dd,pd=!1,fd){const md=this.gen.arc(qa,nd,od,ld,ud,dd,pd,fd);return this.draw(md)}curve(qa,nd){const od=this.gen.curve(qa,nd);return this.draw(od)}path(qa,nd){const od=this.gen.path(qa,nd);return this.draw(od)}};var at$3={canvas:(Ra,qa)=>new st$1(Ra,qa),svg:(Ra,qa)=>new ot$1(Ra,qa),generator:Ra=>new et$1(Ra),newSeed:()=>et$1.newSeed()},labelHelper=__name(async(Ra,qa,nd)=>{var Ad,Nd;let od;const ld=qa.useHtmlLabels||evaluate((Ad=getConfig2())==null?void 0:Ad.htmlLabels);nd?od=nd:od="node default";const ud=Ra.insert("g").attr("class",od).attr("id",qa.domId||qa.id),dd=ud.insert("g").attr("class","label").attr("style",handleUndefinedAttr(qa.labelStyle));let pd;qa.label===void 0?pd="":pd=typeof qa.label=="string"?qa.label:qa.label[0];const fd=await createText(dd,sanitizeText(decodeEntities(pd),getConfig2()),{useHtmlLabels:ld,width:qa.width||((Nd=getConfig2().flowchart)==null?void 0:Nd.wrappingWidth),cssClasses:"markdown-node-label",style:qa.labelStyle,addSvgBackground:!!qa.icon||!!qa.img});let md=fd.getBBox();const vd=((qa==null?void 0:qa.padding)??0)/2;if(ld){const Od=fd.children[0],kd=select(fd),Ld=Od.getElementsByTagName("img");if(Ld){const Gd=pd.replace(/<img[^>]*>/g,"").trim()==="";await Promise.all([...Ld].map(jd=>new Promise(Fd=>{function Ud(){if(jd.style.display="flex",jd.style.flexDirection="column",Gd){const qd=getConfig2().fontSize?getConfig2().fontSize:window.getComputedStyle(document.body).fontSize,zd=5,[Wd=defaultConfig_default.fontSize]=parseFontSize(qd),Jd=Wd*zd+"px";jd.style.minWidth=Jd,jd.style.maxWidth=Jd}else jd.style.width="100%";Fd(jd)}__name(Ud,"setupImage"),setTimeout(()=>{jd.complete&&Ud()}),jd.addEventListener("error",Ud),jd.addEventListener("load",Ud)})))}md=Od.getBoundingClientRect(),kd.attr("width",md.width),kd.attr("height",md.height)}return ld?dd.attr("transform","translate("+-md.width/2+", "+-md.height/2+")"):dd.attr("transform","translate(0, "+-md.height/2+")"),qa.centerLabel&&dd.attr("transform","translate("+-md.width/2+", "+-md.height/2+")"),dd.insert("rect",":first-child"),{shapeSvg:ud,bbox:md,halfPadding:vd,label:dd}},"labelHelper"),insertLabel=__name(async(Ra,qa,nd)=>{var fd,md,vd,Ad,Nd,Od;const od=nd.useHtmlLabels||evaluate((md=(fd=getConfig2())==null?void 0:fd.flowchart)==null?void 0:md.htmlLabels),ld=Ra.insert("g").attr("class","label").attr("style",nd.labelStyle||""),ud=await createText(ld,sanitizeText(decodeEntities(qa),getConfig2()),{useHtmlLabels:od,width:nd.width||((Ad=(vd=getConfig2())==null?void 0:vd.flowchart)==null?void 0:Ad.wrappingWidth),style:nd.labelStyle,addSvgBackground:!!nd.icon||!!nd.img});let dd=ud.getBBox();const pd=nd.padding/2;if(evaluate((Od=(Nd=getConfig2())==null?void 0:Nd.flowchart)==null?void 0:Od.htmlLabels)){const kd=ud.children[0],Ld=select(ud);dd=kd.getBoundingClientRect(),Ld.attr("width",dd.width),Ld.attr("height",dd.height)}return od?ld.attr("transform","translate("+-dd.width/2+", "+-dd.height/2+")"):ld.attr("transform","translate(0, "+-dd.height/2+")"),nd.centerLabel&&ld.attr("transform","translate("+-dd.width/2+", "+-dd.height/2+")"),ld.insert("rect",":first-child"),{shapeSvg:Ra,bbox:dd,halfPadding:pd,label:ld}},"insertLabel"),updateNodeBounds=__name((Ra,qa)=>{const nd=qa.node().getBBox();Ra.width=nd.width,Ra.height=nd.height},"updateNodeBounds"),getNodeClasses=__name((Ra,qa)=>(Ra.look==="handDrawn"?"rough-node":"node")+" "+Ra.cssClasses+" "+(qa||""),"getNodeClasses");function createPathFromPoints(Ra){const qa=Ra.map((nd,od)=>`${od===0?"M":"L"}${nd.x},${nd.y}`);return qa.push("Z"),qa.join(" ")}__name(createPathFromPoints,"createPathFromPoints");function generateFullSineWavePoints(Ra,qa,nd,od,ld,ud){const dd=[],fd=nd-Ra,md=od-qa,vd=fd/ud,Ad=2*Math.PI/vd,Nd=qa+md/2;for(let Od=0;Od<=50;Od++){const kd=Od/50,Ld=Ra+kd*fd,Gd=Nd+ld*Math.sin(Ad*(Ld-Ra));dd.push({x:Ld,y:Gd})}return dd}__name(generateFullSineWavePoints,"generateFullSineWavePoints");function generateCirclePoints(Ra,qa,nd,od,ld,ud){const dd=[],pd=ld*Math.PI/180,vd=(ud*Math.PI/180-pd)/(od-1);for(let Ad=0;Ad<od;Ad++){const Nd=pd+Ad*vd,Od=Ra+nd*Math.cos(Nd),kd=qa+nd*Math.sin(Nd);dd.push({x:-Od,y:-kd})}return dd}__name(generateCirclePoints,"generateCirclePoints");var intersectRect=__name((Ra,qa)=>{var nd=Ra.x,od=Ra.y,ld=qa.x-nd,ud=qa.y-od,dd=Ra.width/2,pd=Ra.height/2,fd,md;return Math.abs(ud)*dd>Math.abs(ld)*pd?(ud<0&&(pd=-pd),fd=ud===0?0:pd*ld/ud,md=pd):(ld<0&&(dd=-dd),fd=dd,md=ld===0?0:dd*ud/ld),{x:nd+fd,y:od+md}},"intersectRect"),intersect_rect_default=intersectRect;function applyStyle(Ra,qa){qa&&Ra.attr("style",qa)}__name(applyStyle,"applyStyle");async function addHtmlLabel(Ra){const qa=select(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),nd=qa.append("xhtml:div");let od=Ra.label;Ra.label&&hasKatex(Ra.label)&&(od=await renderKatex(Ra.label.replace(common_default.lineBreakRegex,`
`),getConfig2()));const ld=Ra.isNode?"nodeLabel":"edgeLabel";return nd.html('<span class="'+ld+'" '+(Ra.labelStyle?'style="'+Ra.labelStyle+'"':"")+">"+od+"</span>"),applyStyle(nd,Ra.labelStyle),nd.style("display","inline-block"),nd.style("padding-right","1px"),nd.style("white-space","nowrap"),nd.attr("xmlns","http://www.w3.org/1999/xhtml"),qa.node()}__name(addHtmlLabel,"addHtmlLabel");var createLabel=__name(async(Ra,qa,nd,od)=>{let ld=Ra||"";if(typeof ld=="object"&&(ld=ld[0]),evaluate(getConfig2().flowchart.htmlLabels)){ld=ld.replace(/\\n|\n/g,"<br />"),log$1.info("vertexText"+ld);const ud={isNode:od,label:decodeEntities(ld).replace(/fa[blrs]?:fa-[\w-]+/g,pd=>`<i class='${pd.replace(":"," ")}'></i>`),labelStyle:qa&&qa.replace("fill:","color:")};return await addHtmlLabel(ud)}else{const ud=document.createElementNS("http://www.w3.org/2000/svg","text");ud.setAttribute("style",qa.replace("color:","fill:"));let dd=[];typeof ld=="string"?dd=ld.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(ld)?dd=ld:dd=[];for(const pd of dd){const fd=document.createElementNS("http://www.w3.org/2000/svg","tspan");fd.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),fd.setAttribute("dy","1em"),fd.setAttribute("x","0"),nd?fd.setAttribute("class","title-row"):fd.setAttribute("class","row"),fd.textContent=pd.trim(),ud.appendChild(fd)}return ud}},"createLabel"),createLabel_default=createLabel,createRoundedRectPathD=__name((Ra,qa,nd,od,ld)=>["M",Ra+ld,qa,"H",Ra+nd-ld,"A",ld,ld,0,0,1,Ra+nd,qa+ld,"V",qa+od-ld,"A",ld,ld,0,0,1,Ra+nd-ld,qa+od,"H",Ra+ld,"A",ld,ld,0,0,1,Ra,qa+od-ld,"V",qa+ld,"A",ld,ld,0,0,1,Ra+ld,qa,"Z"].join(" "),"createRoundedRectPathD"),solidStateFill=__name(Ra=>{const{handDrawnSeed:qa}=getConfig2();return{fill:Ra,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:Ra,seed:qa}},"solidStateFill"),compileStyles=__name(Ra=>{const qa=styles2Map([...Ra.cssCompiledStyles||[],...Ra.cssStyles||[]]);return{stylesMap:qa,stylesArray:[...qa]}},"compileStyles"),styles2Map=__name(Ra=>{const qa=new Map;return Ra.forEach(nd=>{const[od,ld]=nd.split(":");qa.set(od.trim(),ld==null?void 0:ld.trim())}),qa},"styles2Map"),styles2String=__name(Ra=>{const{stylesArray:qa}=compileStyles(Ra),nd=[],od=[],ld=[],ud=[];return qa.forEach(dd=>{const pd=dd[0];pd==="color"||pd==="font-size"||pd==="font-family"||pd==="font-weight"||pd==="font-style"||pd==="text-decoration"||pd==="text-align"||pd==="text-transform"||pd==="line-height"||pd==="letter-spacing"||pd==="word-spacing"||pd==="text-shadow"||pd==="text-overflow"||pd==="white-space"||pd==="word-wrap"||pd==="word-break"||pd==="overflow-wrap"||pd==="hyphens"?nd.push(dd.join(":")+" !important"):(od.push(dd.join(":")+" !important"),pd.includes("stroke")&&ld.push(dd.join(":")+" !important"),pd==="fill"&&ud.push(dd.join(":")+" !important"))}),{labelStyles:nd.join(";"),nodeStyles:od.join(";"),stylesArray:qa,borderStyles:ld,backgroundStyles:ud}},"styles2String"),userNodeOverrides=__name((Ra,qa)=>{var fd;const{themeVariables:nd,handDrawnSeed:od}=getConfig2(),{nodeBorder:ld,mainBkg:ud}=nd,{stylesMap:dd}=compileStyles(Ra);return Object.assign({roughness:.7,fill:dd.get("fill")||ud,fillStyle:"hachure",fillWeight:4,hachureGap:5.2,stroke:dd.get("stroke")||ld,seed:od,strokeWidth:((fd=dd.get("stroke-width"))==null?void 0:fd.replace("px",""))||1.3,fillLineDash:[0,0]},qa)},"userNodeOverrides"),rect=__name(async(Ra,qa)=>{log$1.info("Creating subgraph rect for ",qa.id,qa);const nd=getConfig2(),{themeVariables:od,handDrawnSeed:ld}=nd,{clusterBkg:ud,clusterBorder:dd}=od,{labelStyles:pd,nodeStyles:fd,borderStyles:md,backgroundStyles:vd}=styles2String(qa),Ad=Ra.insert("g").attr("class","cluster "+qa.cssClasses).attr("id",qa.id).attr("data-look",qa.look),Nd=evaluate(nd.flowchart.htmlLabels),Od=Ad.insert("g").attr("class","cluster-label "),kd=await createText(Od,qa.label,{style:qa.labelStyle,useHtmlLabels:Nd,isNode:!0});let Ld=kd.getBBox();if(evaluate(nd.flowchart.htmlLabels)){const Jd=kd.children[0],_f=select(kd);Ld=Jd.getBoundingClientRect(),_f.attr("width",Ld.width),_f.attr("height",Ld.height)}const Gd=qa.width<=Ld.width+qa.padding?Ld.width+qa.padding:qa.width;qa.width<=Ld.width+qa.padding?qa.diff=(Gd-qa.width)/2-qa.padding:qa.diff=-qa.padding;const jd=qa.height,Fd=qa.x-Gd/2,Ud=qa.y-jd/2;log$1.trace("Data ",qa,JSON.stringify(qa));let qd;if(qa.look==="handDrawn"){const Jd=at$3.svg(Ad),_f=userNodeOverrides(qa,{roughness:.7,fill:ud,stroke:dd,fillWeight:3,seed:ld}),Xd=Jd.path(createRoundedRectPathD(Fd,Ud,Gd,jd,0),_f);qd=Ad.insert(()=>(log$1.debug("Rough node insert CXC",Xd),Xd),":first-child"),qd.select("path:nth-child(2)").attr("style",md.join(";")),qd.select("path").attr("style",vd.join(";").replace("fill","stroke"))}else qd=Ad.insert("rect",":first-child"),qd.attr("style",fd).attr("rx",qa.rx).attr("ry",qa.ry).attr("x",Fd).attr("y",Ud).attr("width",Gd).attr("height",jd);const{subGraphTitleTopMargin:zd}=getSubGraphTitleMargins(nd);if(Od.attr("transform",`translate(${qa.x-Ld.width/2}, ${qa.y-qa.height/2+zd})`),pd){const Jd=Od.select("span");Jd&&Jd.attr("style",pd)}const Wd=qd.node().getBBox();return qa.offsetX=0,qa.width=Wd.width,qa.height=Wd.height,qa.offsetY=Ld.height-qa.padding/2,qa.intersect=function(Jd){return intersect_rect_default(qa,Jd)},{cluster:Ad,labelBBox:Ld}},"rect"),noteGroup=__name((Ra,qa)=>{const nd=Ra.insert("g").attr("class","note-cluster").attr("id",qa.id),od=nd.insert("rect",":first-child"),ld=0*qa.padding,ud=ld/2;od.attr("rx",qa.rx).attr("ry",qa.ry).attr("x",qa.x-qa.width/2-ud).attr("y",qa.y-qa.height/2-ud).attr("width",qa.width+ld).attr("height",qa.height+ld).attr("fill","none");const dd=od.node().getBBox();return qa.width=dd.width,qa.height=dd.height,qa.intersect=function(pd){return intersect_rect_default(qa,pd)},{cluster:nd,labelBBox:{width:0,height:0}}},"noteGroup"),roundedWithTitle=__name(async(Ra,qa)=>{const nd=getConfig2(),{themeVariables:od,handDrawnSeed:ld}=nd,{altBackground:ud,compositeBackground:dd,compositeTitleBackground:pd,nodeBorder:fd}=od,md=Ra.insert("g").attr("class",qa.cssClasses).attr("id",qa.id).attr("data-id",qa.id).attr("data-look",qa.look),vd=md.insert("g",":first-child"),Ad=md.insert("g").attr("class","cluster-label");let Nd=md.append("rect");const Od=Ad.node().appendChild(await createLabel_default(qa.label,qa.labelStyle,void 0,!0));let kd=Od.getBBox();if(evaluate(nd.flowchart.htmlLabels)){const Xd=Od.children[0],pf=select(Od);kd=Xd.getBoundingClientRect(),pf.attr("width",kd.width),pf.attr("height",kd.height)}const Ld=0*qa.padding,Gd=Ld/2,jd=(qa.width<=kd.width+qa.padding?kd.width+qa.padding:qa.width)+Ld;qa.width<=kd.width+qa.padding?qa.diff=(jd-qa.width)/2-qa.padding:qa.diff=-qa.padding;const Fd=qa.height+Ld,Ud=qa.height+Ld-kd.height-6,qd=qa.x-jd/2,zd=qa.y-Fd/2;qa.width=jd;const Wd=qa.y-qa.height/2-Gd+kd.height+2;let Jd;if(qa.look==="handDrawn"){const Xd=qa.cssClasses.includes("statediagram-cluster-alt"),pf=at$3.svg(md),mf=qa.rx||qa.ry?pf.path(createRoundedRectPathD(qd,zd,jd,Fd,10),{roughness:.7,fill:pd,fillStyle:"solid",stroke:fd,seed:ld}):pf.rectangle(qd,zd,jd,Fd,{seed:ld});Jd=md.insert(()=>mf,":first-child");const Sf=pf.rectangle(qd,Wd,jd,Ud,{fill:Xd?ud:dd,fillStyle:Xd?"hachure":"solid",stroke:fd,seed:ld});Jd=md.insert(()=>mf,":first-child"),Nd=md.insert(()=>Sf)}else Jd=vd.insert("rect",":first-child"),Jd.attr("class","outer").attr("x",qd).attr("y",zd).attr("width",jd).attr("height",Fd).attr("data-look",qa.look),Nd.attr("class","inner").attr("x",qd).attr("y",Wd).attr("width",jd).attr("height",Ud);Ad.attr("transform",`translate(${qa.x-kd.width/2}, ${zd+1-(evaluate(nd.flowchart.htmlLabels)?0:3)})`);const _f=Jd.node().getBBox();return qa.height=_f.height,qa.offsetX=0,qa.offsetY=kd.height-qa.padding/2,qa.labelBBox=kd,qa.intersect=function(Xd){return intersect_rect_default(qa,Xd)},{cluster:md,labelBBox:kd}},"roundedWithTitle"),kanbanSection=__name(async(Ra,qa)=>{log$1.info("Creating subgraph rect for ",qa.id,qa);const nd=getConfig2(),{themeVariables:od,handDrawnSeed:ld}=nd,{clusterBkg:ud,clusterBorder:dd}=od,{labelStyles:pd,nodeStyles:fd,borderStyles:md,backgroundStyles:vd}=styles2String(qa),Ad=Ra.insert("g").attr("class","cluster "+qa.cssClasses).attr("id",qa.id).attr("data-look",qa.look),Nd=evaluate(nd.flowchart.htmlLabels),Od=Ad.insert("g").attr("class","cluster-label "),kd=await createText(Od,qa.label,{style:qa.labelStyle,useHtmlLabels:Nd,isNode:!0,width:qa.width});let Ld=kd.getBBox();if(evaluate(nd.flowchart.htmlLabels)){const Jd=kd.children[0],_f=select(kd);Ld=Jd.getBoundingClientRect(),_f.attr("width",Ld.width),_f.attr("height",Ld.height)}const Gd=qa.width<=Ld.width+qa.padding?Ld.width+qa.padding:qa.width;qa.width<=Ld.width+qa.padding?qa.diff=(Gd-qa.width)/2-qa.padding:qa.diff=-qa.padding;const jd=qa.height,Fd=qa.x-Gd/2,Ud=qa.y-jd/2;log$1.trace("Data ",qa,JSON.stringify(qa));let qd;if(qa.look==="handDrawn"){const Jd=at$3.svg(Ad),_f=userNodeOverrides(qa,{roughness:.7,fill:ud,stroke:dd,fillWeight:4,seed:ld}),Xd=Jd.path(createRoundedRectPathD(Fd,Ud,Gd,jd,qa.rx),_f);qd=Ad.insert(()=>(log$1.debug("Rough node insert CXC",Xd),Xd),":first-child"),qd.select("path:nth-child(2)").attr("style",md.join(";")),qd.select("path").attr("style",vd.join(";").replace("fill","stroke"))}else qd=Ad.insert("rect",":first-child"),qd.attr("style",fd).attr("rx",qa.rx).attr("ry",qa.ry).attr("x",Fd).attr("y",Ud).attr("width",Gd).attr("height",jd);const{subGraphTitleTopMargin:zd}=getSubGraphTitleMargins(nd);if(Od.attr("transform",`translate(${qa.x-Ld.width/2}, ${qa.y-qa.height/2+zd})`),pd){const Jd=Od.select("span");Jd&&Jd.attr("style",pd)}const Wd=qd.node().getBBox();return qa.offsetX=0,qa.width=Wd.width,qa.height=Wd.height,qa.offsetY=Ld.height-qa.padding/2,qa.intersect=function(Jd){return intersect_rect_default(qa,Jd)},{cluster:Ad,labelBBox:Ld}},"kanbanSection"),divider=__name((Ra,qa)=>{const nd=getConfig2(),{themeVariables:od,handDrawnSeed:ld}=nd,{nodeBorder:ud}=od,dd=Ra.insert("g").attr("class",qa.cssClasses).attr("id",qa.id).attr("data-look",qa.look),pd=dd.insert("g",":first-child"),fd=0*qa.padding,md=qa.width+fd;qa.diff=-qa.padding;const vd=qa.height+fd,Ad=qa.x-md/2,Nd=qa.y-vd/2;qa.width=md;let Od;if(qa.look==="handDrawn"){const Gd=at$3.svg(dd).rectangle(Ad,Nd,md,vd,{fill:"lightgrey",roughness:.5,strokeLineDash:[5],stroke:ud,seed:ld});Od=dd.insert(()=>Gd,":first-child")}else Od=pd.insert("rect",":first-child"),Od.attr("class","divider").attr("x",Ad).attr("y",Nd).attr("width",md).attr("height",vd).attr("data-look",qa.look);const kd=Od.node().getBBox();return qa.height=kd.height,qa.offsetX=0,qa.offsetY=0,qa.intersect=function(Ld){return intersect_rect_default(qa,Ld)},{cluster:dd,labelBBox:{}}},"divider"),squareRect=rect,shapes={rect,squareRect,roundedWithTitle,noteGroup,divider,kanbanSection},clusterElems=new Map,insertCluster=__name(async(Ra,qa)=>{const nd=qa.shape||"rect",od=await shapes[nd](Ra,qa);return clusterElems.set(qa.id,od),od},"insertCluster"),clear$1=__name(()=>{clusterElems=new Map},"clear");function intersectNode(Ra,qa){return Ra.intersect(qa)}__name(intersectNode,"intersectNode");var intersect_node_default=intersectNode;function intersectEllipse(Ra,qa,nd,od){var ld=Ra.x,ud=Ra.y,dd=ld-od.x,pd=ud-od.y,fd=Math.sqrt(qa*qa*pd*pd+nd*nd*dd*dd),md=Math.abs(qa*nd*dd/fd);od.x<ld&&(md=-md);var vd=Math.abs(qa*nd*pd/fd);return od.y<ud&&(vd=-vd),{x:ld+md,y:ud+vd}}__name(intersectEllipse,"intersectEllipse");var intersect_ellipse_default=intersectEllipse;function intersectCircle(Ra,qa,nd){return intersect_ellipse_default(Ra,qa,qa,nd)}__name(intersectCircle,"intersectCircle");var intersect_circle_default=intersectCircle;function intersectLine(Ra,qa,nd,od){var ld,ud,dd,pd,fd,md,vd,Ad,Nd,Od,kd,Ld,Gd,jd,Fd;if(ld=qa.y-Ra.y,dd=Ra.x-qa.x,fd=qa.x*Ra.y-Ra.x*qa.y,Nd=ld*nd.x+dd*nd.y+fd,Od=ld*od.x+dd*od.y+fd,!(Nd!==0&&Od!==0&&sameSign(Nd,Od))&&(ud=od.y-nd.y,pd=nd.x-od.x,md=od.x*nd.y-nd.x*od.y,vd=ud*Ra.x+pd*Ra.y+md,Ad=ud*qa.x+pd*qa.y+md,!(vd!==0&&Ad!==0&&sameSign(vd,Ad))&&(kd=ld*pd-ud*dd,kd!==0)))return Ld=Math.abs(kd/2),Gd=dd*md-pd*fd,jd=Gd<0?(Gd-Ld)/kd:(Gd+Ld)/kd,Gd=ud*fd-ld*md,Fd=Gd<0?(Gd-Ld)/kd:(Gd+Ld)/kd,{x:jd,y:Fd}}__name(intersectLine,"intersectLine");function sameSign(Ra,qa){return Ra*qa>0}__name(sameSign,"sameSign");var intersect_line_default=intersectLine;function intersectPolygon(Ra,qa,nd){let od=Ra.x,ld=Ra.y,ud=[],dd=Number.POSITIVE_INFINITY,pd=Number.POSITIVE_INFINITY;typeof qa.forEach=="function"?qa.forEach(function(vd){dd=Math.min(dd,vd.x),pd=Math.min(pd,vd.y)}):(dd=Math.min(dd,qa.x),pd=Math.min(pd,qa.y));let fd=od-Ra.width/2-dd,md=ld-Ra.height/2-pd;for(let vd=0;vd<qa.length;vd++){let Ad=qa[vd],Nd=qa[vd<qa.length-1?vd+1:0],Od=intersect_line_default(Ra,nd,{x:fd+Ad.x,y:md+Ad.y},{x:fd+Nd.x,y:md+Nd.y});Od&&ud.push(Od)}return ud.length?(ud.length>1&&ud.sort(function(vd,Ad){let Nd=vd.x-nd.x,Od=vd.y-nd.y,kd=Math.sqrt(Nd*Nd+Od*Od),Ld=Ad.x-nd.x,Gd=Ad.y-nd.y,jd=Math.sqrt(Ld*Ld+Gd*Gd);return kd<jd?-1:kd===jd?0:1}),ud[0]):Ra}__name(intersectPolygon,"intersectPolygon");var intersect_polygon_default=intersectPolygon,intersect_default={node:intersect_node_default,circle:intersect_circle_default,ellipse:intersect_ellipse_default,polygon:intersect_polygon_default,rect:intersect_rect_default};function anchor(Ra,qa){const{labelStyles:nd}=styles2String(qa);qa.labelStyle=nd;const od=getNodeClasses(qa);let ld=od;od||(ld="anchor");const ud=Ra.insert("g").attr("class",ld).attr("id",qa.domId||qa.id),dd=1,{cssStyles:pd}=qa,fd=at$3.svg(ud),md=userNodeOverrides(qa,{fill:"black",stroke:"none",fillStyle:"solid"});qa.look!=="handDrawn"&&(md.roughness=0);const vd=fd.circle(0,0,dd*2,md),Ad=ud.insert(()=>vd,":first-child");return Ad.attr("class","anchor").attr("style",handleUndefinedAttr(pd)),updateNodeBounds(qa,Ad),qa.intersect=function(Nd){return log$1.info("Circle intersect",qa,dd,Nd),intersect_default.circle(qa,dd,Nd)},ud}__name(anchor,"anchor");function generateArcPoints(Ra,qa,nd,od,ld,ud,dd){const fd=(Ra+nd)/2,md=(qa+od)/2,vd=Math.atan2(od-qa,nd-Ra),Ad=(nd-Ra)/2,Nd=(od-qa)/2,Od=Ad/ld,kd=Nd/ud,Ld=Math.sqrt(Od**2+kd**2);if(Ld>1)throw new Error("The given radii are too small to create an arc between the points.");const Gd=Math.sqrt(1-Ld**2),jd=fd+Gd*ud*Math.sin(vd)*(dd?-1:1),Fd=md-Gd*ld*Math.cos(vd)*(dd?-1:1),Ud=Math.atan2((qa-Fd)/ud,(Ra-jd)/ld);let zd=Math.atan2((od-Fd)/ud,(nd-jd)/ld)-Ud;dd&&zd<0&&(zd+=2*Math.PI),!dd&&zd>0&&(zd-=2*Math.PI);const Wd=[];for(let Jd=0;Jd<20;Jd++){const _f=Jd/19,Xd=Ud+_f*zd,pf=jd+ld*Math.cos(Xd),mf=Fd+ud*Math.sin(Xd);Wd.push({x:pf,y:mf})}return Wd}__name(generateArcPoints,"generateArcPoints");async function bowTieRect(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=ud.width+qa.padding+20,pd=ud.height+qa.padding,fd=pd/2,md=fd/(2.5+pd/50),{cssStyles:vd}=qa,Ad=[{x:dd/2,y:-pd/2},{x:-dd/2,y:-pd/2},...generateArcPoints(-dd/2,-pd/2,-dd/2,pd/2,md,fd,!1),{x:dd/2,y:pd/2},...generateArcPoints(dd/2,pd/2,dd/2,-pd/2,md,fd,!0)],Nd=at$3.svg(ld),Od=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Od.roughness=0,Od.fillStyle="solid");const kd=createPathFromPoints(Ad),Ld=Nd.path(kd,Od),Gd=ld.insert(()=>Ld,":first-child");return Gd.attr("class","basic label-container"),vd&&qa.look!=="handDrawn"&&Gd.selectAll("path").attr("style",vd),od&&qa.look!=="handDrawn"&&Gd.selectAll("path").attr("style",od),Gd.attr("transform",`translate(${md/2}, 0)`),updateNodeBounds(qa,Gd),qa.intersect=function(jd){return intersect_default.polygon(qa,Ad,jd)},ld}__name(bowTieRect,"bowTieRect");function insertPolygonShape(Ra,qa,nd,od){return Ra.insert("polygon",":first-child").attr("points",od.map(function(ld){return ld.x+","+ld.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-qa/2+","+nd/2+")")}__name(insertPolygonShape,"insertPolygonShape");async function card(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=ud.height+qa.padding,pd=12,fd=ud.width+qa.padding+pd,md=0,vd=fd,Ad=-dd,Nd=0,Od=[{x:md+pd,y:Ad},{x:vd,y:Ad},{x:vd,y:Nd},{x:md,y:Nd},{x:md,y:Ad+pd},{x:md+pd,y:Ad}];let kd;const{cssStyles:Ld}=qa;if(qa.look==="handDrawn"){const Gd=at$3.svg(ld),jd=userNodeOverrides(qa,{}),Fd=createPathFromPoints(Od),Ud=Gd.path(Fd,jd);kd=ld.insert(()=>Ud,":first-child").attr("transform",`translate(${-fd/2}, ${dd/2})`),Ld&&kd.attr("style",Ld)}else kd=insertPolygonShape(ld,fd,dd,Od);return od&&kd.attr("style",od),updateNodeBounds(qa,kd),qa.intersect=function(Gd){return intersect_default.polygon(qa,Od,Gd)},ld}__name(card,"card");function choice(Ra,qa){const{nodeStyles:nd}=styles2String(qa);qa.label="";const od=Ra.insert("g").attr("class",getNodeClasses(qa)).attr("id",qa.domId??qa.id),{cssStyles:ld}=qa,ud=Math.max(28,qa.width??0),dd=[{x:0,y:ud/2},{x:ud/2,y:0},{x:0,y:-ud/2},{x:-ud/2,y:0}],pd=at$3.svg(od),fd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(fd.roughness=0,fd.fillStyle="solid");const md=createPathFromPoints(dd),vd=pd.path(md,fd),Ad=od.insert(()=>vd,":first-child");return ld&&qa.look!=="handDrawn"&&Ad.selectAll("path").attr("style",ld),nd&&qa.look!=="handDrawn"&&Ad.selectAll("path").attr("style",nd),qa.width=28,qa.height=28,qa.intersect=function(Nd){return intersect_default.polygon(qa,dd,Nd)},od}__name(choice,"choice");async function circle$1(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,halfPadding:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=ud.width/2+dd;let fd;const{cssStyles:md}=qa;if(qa.look==="handDrawn"){const vd=at$3.svg(ld),Ad=userNodeOverrides(qa,{}),Nd=vd.circle(0,0,pd*2,Ad);fd=ld.insert(()=>Nd,":first-child"),fd.attr("class","basic label-container").attr("style",handleUndefinedAttr(md))}else fd=ld.insert("circle",":first-child").attr("class","basic label-container").attr("style",od).attr("r",pd).attr("cx",0).attr("cy",0);return updateNodeBounds(qa,fd),qa.intersect=function(vd){return log$1.info("Circle intersect",qa,pd,vd),intersect_default.circle(qa,pd,vd)},ld}__name(circle$1,"circle");function createLine(Ra){const qa=Math.cos(Math.PI/4),nd=Math.sin(Math.PI/4),od=Ra*2,ld={x:od/2*qa,y:od/2*nd},ud={x:-(od/2)*qa,y:od/2*nd},dd={x:-(od/2)*qa,y:-(od/2)*nd},pd={x:od/2*qa,y:-(od/2)*nd};return`M ${ud.x},${ud.y} L ${pd.x},${pd.y}
M ${ld.x},${ld.y} L ${dd.x},${dd.y}`}__name(createLine,"createLine");function crossedCircle(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd,qa.label="";const ld=Ra.insert("g").attr("class",getNodeClasses(qa)).attr("id",qa.domId??qa.id),ud=Math.max(30,(qa==null?void 0:qa.width)??0),{cssStyles:dd}=qa,pd=at$3.svg(ld),fd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(fd.roughness=0,fd.fillStyle="solid");const md=pd.circle(0,0,ud*2,fd),vd=createLine(ud),Ad=pd.path(vd,fd),Nd=ld.insert(()=>md,":first-child");return Nd.insert(()=>Ad),dd&&qa.look!=="handDrawn"&&Nd.selectAll("path").attr("style",dd),od&&qa.look!=="handDrawn"&&Nd.selectAll("path").attr("style",od),updateNodeBounds(qa,Nd),qa.intersect=function(Od){return log$1.info("crossedCircle intersect",qa,{radius:ud,point:Od}),intersect_default.circle(qa,ud,Od)},ld}__name(crossedCircle,"crossedCircle");function generateCirclePoints2(Ra,qa,nd,od=100,ld=0,ud=180){const dd=[],pd=ld*Math.PI/180,vd=(ud*Math.PI/180-pd)/(od-1);for(let Ad=0;Ad<od;Ad++){const Nd=pd+Ad*vd,Od=Ra+nd*Math.cos(Nd),kd=qa+nd*Math.sin(Nd);dd.push({x:-Od,y:-kd})}return dd}__name(generateCirclePoints2,"generateCirclePoints");async function curlyBraceLeft(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=ud.width+(qa.padding??0),fd=ud.height+(qa.padding??0),md=Math.max(5,fd*.1),{cssStyles:vd}=qa,Ad=[...generateCirclePoints2(pd/2,-fd/2,md,30,-90,0),{x:-pd/2-md,y:md},...generateCirclePoints2(pd/2+md*2,-md,md,20,-180,-270),...generateCirclePoints2(pd/2+md*2,md,md,20,-90,-180),{x:-pd/2-md,y:-fd/2},...generateCirclePoints2(pd/2,fd/2,md,20,0,90)],Nd=[{x:pd/2,y:-fd/2-md},{x:-pd/2,y:-fd/2-md},...generateCirclePoints2(pd/2,-fd/2,md,20,-90,0),{x:-pd/2-md,y:-md},...generateCirclePoints2(pd/2+pd*.1,-md,md,20,-180,-270),...generateCirclePoints2(pd/2+pd*.1,md,md,20,-90,-180),{x:-pd/2-md,y:fd/2},...generateCirclePoints2(pd/2,fd/2,md,20,0,90),{x:-pd/2,y:fd/2+md},{x:pd/2,y:fd/2+md}],Od=at$3.svg(ld),kd=userNodeOverrides(qa,{fill:"none"});qa.look!=="handDrawn"&&(kd.roughness=0,kd.fillStyle="solid");const Gd=createPathFromPoints(Ad).replace("Z",""),jd=Od.path(Gd,kd),Fd=createPathFromPoints(Nd),Ud=Od.path(Fd,{...kd}),qd=ld.insert("g",":first-child");return qd.insert(()=>Ud,":first-child").attr("stroke-opacity",0),qd.insert(()=>jd,":first-child"),qd.attr("class","text"),vd&&qa.look!=="handDrawn"&&qd.selectAll("path").attr("style",vd),od&&qa.look!=="handDrawn"&&qd.selectAll("path").attr("style",od),qd.attr("transform",`translate(${md}, 0)`),dd.attr("transform",`translate(${-pd/2+md-(ud.x-(ud.left??0))},${-fd/2+(qa.padding??0)/2-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,qd),qa.intersect=function(zd){return intersect_default.polygon(qa,Nd,zd)},ld}__name(curlyBraceLeft,"curlyBraceLeft");function generateCirclePoints3(Ra,qa,nd,od=100,ld=0,ud=180){const dd=[],pd=ld*Math.PI/180,vd=(ud*Math.PI/180-pd)/(od-1);for(let Ad=0;Ad<od;Ad++){const Nd=pd+Ad*vd,Od=Ra+nd*Math.cos(Nd),kd=qa+nd*Math.sin(Nd);dd.push({x:Od,y:kd})}return dd}__name(generateCirclePoints3,"generateCirclePoints");async function curlyBraceRight(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=ud.width+(qa.padding??0),fd=ud.height+(qa.padding??0),md=Math.max(5,fd*.1),{cssStyles:vd}=qa,Ad=[...generateCirclePoints3(pd/2,-fd/2,md,20,-90,0),{x:pd/2+md,y:-md},...generateCirclePoints3(pd/2+md*2,-md,md,20,-180,-270),...generateCirclePoints3(pd/2+md*2,md,md,20,-90,-180),{x:pd/2+md,y:fd/2},...generateCirclePoints3(pd/2,fd/2,md,20,0,90)],Nd=[{x:-pd/2,y:-fd/2-md},{x:pd/2,y:-fd/2-md},...generateCirclePoints3(pd/2,-fd/2,md,20,-90,0),{x:pd/2+md,y:-md},...generateCirclePoints3(pd/2+md*2,-md,md,20,-180,-270),...generateCirclePoints3(pd/2+md*2,md,md,20,-90,-180),{x:pd/2+md,y:fd/2},...generateCirclePoints3(pd/2,fd/2,md,20,0,90),{x:pd/2,y:fd/2+md},{x:-pd/2,y:fd/2+md}],Od=at$3.svg(ld),kd=userNodeOverrides(qa,{fill:"none"});qa.look!=="handDrawn"&&(kd.roughness=0,kd.fillStyle="solid");const Gd=createPathFromPoints(Ad).replace("Z",""),jd=Od.path(Gd,kd),Fd=createPathFromPoints(Nd),Ud=Od.path(Fd,{...kd}),qd=ld.insert("g",":first-child");return qd.insert(()=>Ud,":first-child").attr("stroke-opacity",0),qd.insert(()=>jd,":first-child"),qd.attr("class","text"),vd&&qa.look!=="handDrawn"&&qd.selectAll("path").attr("style",vd),od&&qa.look!=="handDrawn"&&qd.selectAll("path").attr("style",od),qd.attr("transform",`translate(${-md}, 0)`),dd.attr("transform",`translate(${-pd/2+(qa.padding??0)/2-(ud.x-(ud.left??0))},${-fd/2+(qa.padding??0)/2-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,qd),qa.intersect=function(zd){return intersect_default.polygon(qa,Nd,zd)},ld}__name(curlyBraceRight,"curlyBraceRight");function generateCirclePoints4(Ra,qa,nd,od=100,ld=0,ud=180){const dd=[],pd=ld*Math.PI/180,vd=(ud*Math.PI/180-pd)/(od-1);for(let Ad=0;Ad<od;Ad++){const Nd=pd+Ad*vd,Od=Ra+nd*Math.cos(Nd),kd=qa+nd*Math.sin(Nd);dd.push({x:-Od,y:-kd})}return dd}__name(generateCirclePoints4,"generateCirclePoints");async function curlyBraces(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=ud.width+(qa.padding??0),fd=ud.height+(qa.padding??0),md=Math.max(5,fd*.1),{cssStyles:vd}=qa,Ad=[...generateCirclePoints4(pd/2,-fd/2,md,30,-90,0),{x:-pd/2-md,y:md},...generateCirclePoints4(pd/2+md*2,-md,md,20,-180,-270),...generateCirclePoints4(pd/2+md*2,md,md,20,-90,-180),{x:-pd/2-md,y:-fd/2},...generateCirclePoints4(pd/2,fd/2,md,20,0,90)],Nd=[...generateCirclePoints4(-pd/2+md+md/2,-fd/2,md,20,-90,-180),{x:pd/2-md/2,y:md},...generateCirclePoints4(-pd/2-md/2,-md,md,20,0,90),...generateCirclePoints4(-pd/2-md/2,md,md,20,-90,0),{x:pd/2-md/2,y:-md},...generateCirclePoints4(-pd/2+md+md/2,fd/2,md,30,-180,-270)],Od=[{x:pd/2,y:-fd/2-md},{x:-pd/2,y:-fd/2-md},...generateCirclePoints4(pd/2,-fd/2,md,20,-90,0),{x:-pd/2-md,y:-md},...generateCirclePoints4(pd/2+md*2,-md,md,20,-180,-270),...generateCirclePoints4(pd/2+md*2,md,md,20,-90,-180),{x:-pd/2-md,y:fd/2},...generateCirclePoints4(pd/2,fd/2,md,20,0,90),{x:-pd/2,y:fd/2+md},{x:pd/2-md-md/2,y:fd/2+md},...generateCirclePoints4(-pd/2+md+md/2,-fd/2,md,20,-90,-180),{x:pd/2-md/2,y:md},...generateCirclePoints4(-pd/2-md/2,-md,md,20,0,90),...generateCirclePoints4(-pd/2-md/2,md,md,20,-90,0),{x:pd/2-md/2,y:-md},...generateCirclePoints4(-pd/2+md+md/2,fd/2,md,30,-180,-270)],kd=at$3.svg(ld),Ld=userNodeOverrides(qa,{fill:"none"});qa.look!=="handDrawn"&&(Ld.roughness=0,Ld.fillStyle="solid");const jd=createPathFromPoints(Ad).replace("Z",""),Fd=kd.path(jd,Ld),qd=createPathFromPoints(Nd).replace("Z",""),zd=kd.path(qd,Ld),Wd=createPathFromPoints(Od),Jd=kd.path(Wd,{...Ld}),_f=ld.insert("g",":first-child");return _f.insert(()=>Jd,":first-child").attr("stroke-opacity",0),_f.insert(()=>Fd,":first-child"),_f.insert(()=>zd,":first-child"),_f.attr("class","text"),vd&&qa.look!=="handDrawn"&&_f.selectAll("path").attr("style",vd),od&&qa.look!=="handDrawn"&&_f.selectAll("path").attr("style",od),_f.attr("transform",`translate(${md-md/4}, 0)`),dd.attr("transform",`translate(${-pd/2+(qa.padding??0)/2-(ud.x-(ud.left??0))},${-fd/2+(qa.padding??0)/2-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,_f),qa.intersect=function(Xd){return intersect_default.polygon(qa,Od,Xd)},ld}__name(curlyBraces,"curlyBraces");async function curvedTrapezoid(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=80,pd=20,fd=Math.max(dd,(ud.width+(qa.padding??0)*2)*1.25,(qa==null?void 0:qa.width)??0),md=Math.max(pd,ud.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),vd=md/2,{cssStyles:Ad}=qa,Nd=at$3.svg(ld),Od=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Od.roughness=0,Od.fillStyle="solid");const kd=fd,Ld=md,Gd=kd-vd,jd=Ld/4,Fd=[{x:Gd,y:0},{x:jd,y:0},{x:0,y:Ld/2},{x:jd,y:Ld},{x:Gd,y:Ld},...generateCirclePoints(-Gd,-Ld/2,vd,50,270,90)],Ud=createPathFromPoints(Fd),qd=Nd.path(Ud,Od),zd=ld.insert(()=>qd,":first-child");return zd.attr("class","basic label-container"),Ad&&qa.look!=="handDrawn"&&zd.selectChildren("path").attr("style",Ad),od&&qa.look!=="handDrawn"&&zd.selectChildren("path").attr("style",od),zd.attr("transform",`translate(${-fd/2}, ${-md/2})`),updateNodeBounds(qa,zd),qa.intersect=function(Wd){return intersect_default.polygon(qa,Fd,Wd)},ld}__name(curvedTrapezoid,"curvedTrapezoid");var createCylinderPathD=__name((Ra,qa,nd,od,ld,ud)=>[`M${Ra},${qa+ud}`,`a${ld},${ud} 0,0,0 ${nd},0`,`a${ld},${ud} 0,0,0 ${-nd},0`,`l0,${od}`,`a${ld},${ud} 0,0,0 ${nd},0`,`l0,${-od}`].join(" "),"createCylinderPathD"),createOuterCylinderPathD=__name((Ra,qa,nd,od,ld,ud)=>[`M${Ra},${qa+ud}`,`M${Ra+nd},${qa+ud}`,`a${ld},${ud} 0,0,0 ${-nd},0`,`l0,${od}`,`a${ld},${ud} 0,0,0 ${nd},0`,`l0,${-od}`].join(" "),"createOuterCylinderPathD"),createInnerCylinderPathD=__name((Ra,qa,nd,od,ld,ud)=>[`M${Ra-nd/2},${-od/2}`,`a${ld},${ud} 0,0,0 ${nd},0`].join(" "),"createInnerCylinderPathD");async function cylinder(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=Math.max(ud.width+qa.padding,qa.width??0),fd=pd/2,md=fd/(2.5+pd/50),vd=Math.max(ud.height+md+qa.padding,qa.height??0);let Ad;const{cssStyles:Nd}=qa;if(qa.look==="handDrawn"){const Od=at$3.svg(ld),kd=createOuterCylinderPathD(0,0,pd,vd,fd,md),Ld=createInnerCylinderPathD(0,md,pd,vd,fd,md),Gd=Od.path(kd,userNodeOverrides(qa,{})),jd=Od.path(Ld,userNodeOverrides(qa,{fill:"none"}));Ad=ld.insert(()=>jd,":first-child"),Ad=ld.insert(()=>Gd,":first-child"),Ad.attr("class","basic label-container"),Nd&&Ad.attr("style",Nd)}else{const Od=createCylinderPathD(0,0,pd,vd,fd,md);Ad=ld.insert("path",":first-child").attr("d",Od).attr("class","basic label-container").attr("style",handleUndefinedAttr(Nd)).attr("style",od)}return Ad.attr("label-offset-y",md),Ad.attr("transform",`translate(${-pd/2}, ${-(vd/2+md)})`),updateNodeBounds(qa,Ad),dd.attr("transform",`translate(${-(ud.width/2)-(ud.x-(ud.left??0))}, ${-(ud.height/2)+(qa.padding??0)/1.5-(ud.y-(ud.top??0))})`),qa.intersect=function(Od){const kd=intersect_default.rect(qa,Od),Ld=kd.x-(qa.x??0);if(fd!=0&&(Math.abs(Ld)<(qa.width??0)/2||Math.abs(Ld)==(qa.width??0)/2&&Math.abs(kd.y-(qa.y??0))>(qa.height??0)/2-md)){let Gd=md*md*(1-Ld*Ld/(fd*fd));Gd>0&&(Gd=Math.sqrt(Gd)),Gd=md-Gd,Od.y-(qa.y??0)>0&&(Gd=-Gd),kd.y+=Gd}return kd},ld}__name(cylinder,"cylinder");async function dividedRectangle(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=ud.width+qa.padding,fd=ud.height+qa.padding,md=fd*.2,vd=-pd/2,Ad=-fd/2-md/2,{cssStyles:Nd}=qa,Od=at$3.svg(ld),kd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(kd.roughness=0,kd.fillStyle="solid");const Ld=[{x:vd,y:Ad+md},{x:-vd,y:Ad+md},{x:-vd,y:-Ad},{x:vd,y:-Ad},{x:vd,y:Ad},{x:-vd,y:Ad},{x:-vd,y:Ad+md}],Gd=Od.polygon(Ld.map(Fd=>[Fd.x,Fd.y]),kd),jd=ld.insert(()=>Gd,":first-child");return jd.attr("class","basic label-container"),Nd&&qa.look!=="handDrawn"&&jd.selectAll("path").attr("style",Nd),od&&qa.look!=="handDrawn"&&jd.selectAll("path").attr("style",od),dd.attr("transform",`translate(${vd+(qa.padding??0)/2-(ud.x-(ud.left??0))}, ${Ad+md+(qa.padding??0)/2-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,jd),qa.intersect=function(Fd){return intersect_default.rect(qa,Fd)},ld}__name(dividedRectangle,"dividedRectangle");async function doublecircle(Ra,qa){var Nd,Od;const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,halfPadding:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),fd=ud.width/2+dd+5,md=ud.width/2+dd;let vd;const{cssStyles:Ad}=qa;if(qa.look==="handDrawn"){const kd=at$3.svg(ld),Ld=userNodeOverrides(qa,{roughness:.2,strokeWidth:2.5}),Gd=userNodeOverrides(qa,{roughness:.2,strokeWidth:1.5}),jd=kd.circle(0,0,fd*2,Ld),Fd=kd.circle(0,0,md*2,Gd);vd=ld.insert("g",":first-child"),vd.attr("class",handleUndefinedAttr(qa.cssClasses)).attr("style",handleUndefinedAttr(Ad)),(Nd=vd.node())==null||Nd.appendChild(jd),(Od=vd.node())==null||Od.appendChild(Fd)}else{vd=ld.insert("g",":first-child");const kd=vd.insert("circle",":first-child"),Ld=vd.insert("circle");vd.attr("class","basic label-container").attr("style",od),kd.attr("class","outer-circle").attr("style",od).attr("r",fd).attr("cx",0).attr("cy",0),Ld.attr("class","inner-circle").attr("style",od).attr("r",md).attr("cx",0).attr("cy",0)}return updateNodeBounds(qa,vd),qa.intersect=function(kd){return log$1.info("DoubleCircle intersect",qa,fd,kd),intersect_default.circle(qa,fd,kd)},ld}__name(doublecircle,"doublecircle");function filledCircle(Ra,qa,{config:{themeVariables:nd}}){const{labelStyles:od,nodeStyles:ld}=styles2String(qa);qa.label="",qa.labelStyle=od;const ud=Ra.insert("g").attr("class",getNodeClasses(qa)).attr("id",qa.domId??qa.id),dd=7,{cssStyles:pd}=qa,fd=at$3.svg(ud),{nodeBorder:md}=nd,vd=userNodeOverrides(qa,{fillStyle:"solid"});qa.look!=="handDrawn"&&(vd.roughness=0);const Ad=fd.circle(0,0,dd*2,vd),Nd=ud.insert(()=>Ad,":first-child");return Nd.selectAll("path").attr("style",`fill: ${md} !important;`),pd&&pd.length>0&&qa.look!=="handDrawn"&&Nd.selectAll("path").attr("style",pd),ld&&qa.look!=="handDrawn"&&Nd.selectAll("path").attr("style",ld),updateNodeBounds(qa,Nd),qa.intersect=function(Od){return log$1.info("filledCircle intersect",qa,{radius:dd,point:Od}),intersect_default.circle(qa,dd,Od)},ud}__name(filledCircle,"filledCircle");async function flippedTriangle(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=ud.width+(qa.padding??0),fd=pd+ud.height,md=pd+ud.height,vd=[{x:0,y:-fd},{x:md,y:-fd},{x:md/2,y:0}],{cssStyles:Ad}=qa,Nd=at$3.svg(ld),Od=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Od.roughness=0,Od.fillStyle="solid");const kd=createPathFromPoints(vd),Ld=Nd.path(kd,Od),Gd=ld.insert(()=>Ld,":first-child").attr("transform",`translate(${-fd/2}, ${fd/2})`);return Ad&&qa.look!=="handDrawn"&&Gd.selectChildren("path").attr("style",Ad),od&&qa.look!=="handDrawn"&&Gd.selectChildren("path").attr("style",od),qa.width=pd,qa.height=fd,updateNodeBounds(qa,Gd),dd.attr("transform",`translate(${-ud.width/2-(ud.x-(ud.left??0))}, ${-fd/2+(qa.padding??0)/2+(ud.y-(ud.top??0))})`),qa.intersect=function(jd){return log$1.info("Triangle intersect",qa,vd,jd),intersect_default.polygon(qa,vd,jd)},ld}__name(flippedTriangle,"flippedTriangle");function forkJoin(Ra,qa,{dir:nd,config:{state:od,themeVariables:ld}}){const{nodeStyles:ud}=styles2String(qa);qa.label="";const dd=Ra.insert("g").attr("class",getNodeClasses(qa)).attr("id",qa.domId??qa.id),{cssStyles:pd}=qa;let fd=Math.max(70,(qa==null?void 0:qa.width)??0),md=Math.max(10,(qa==null?void 0:qa.height)??0);nd==="LR"&&(fd=Math.max(10,(qa==null?void 0:qa.width)??0),md=Math.max(70,(qa==null?void 0:qa.height)??0));const vd=-1*fd/2,Ad=-1*md/2,Nd=at$3.svg(dd),Od=userNodeOverrides(qa,{stroke:ld.lineColor,fill:ld.lineColor});qa.look!=="handDrawn"&&(Od.roughness=0,Od.fillStyle="solid");const kd=Nd.rectangle(vd,Ad,fd,md,Od),Ld=dd.insert(()=>kd,":first-child");pd&&qa.look!=="handDrawn"&&Ld.selectAll("path").attr("style",pd),ud&&qa.look!=="handDrawn"&&Ld.selectAll("path").attr("style",ud),updateNodeBounds(qa,Ld);const Gd=(od==null?void 0:od.padding)??0;return qa.width&&qa.height&&(qa.width+=Gd/2||0,qa.height+=Gd/2||0),qa.intersect=function(jd){return intersect_default.rect(qa,jd)},dd}__name(forkJoin,"forkJoin");async function halfRoundedRectangle(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const ld=80,ud=50,{shapeSvg:dd,bbox:pd}=await labelHelper(Ra,qa,getNodeClasses(qa)),fd=Math.max(ld,pd.width+(qa.padding??0)*2,(qa==null?void 0:qa.width)??0),md=Math.max(ud,pd.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),vd=md/2,{cssStyles:Ad}=qa,Nd=at$3.svg(dd),Od=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Od.roughness=0,Od.fillStyle="solid");const kd=[{x:-fd/2,y:-md/2},{x:fd/2-vd,y:-md/2},...generateCirclePoints(-fd/2+vd,0,vd,50,90,270),{x:fd/2-vd,y:md/2},{x:-fd/2,y:md/2}],Ld=createPathFromPoints(kd),Gd=Nd.path(Ld,Od),jd=dd.insert(()=>Gd,":first-child");return jd.attr("class","basic label-container"),Ad&&qa.look!=="handDrawn"&&jd.selectChildren("path").attr("style",Ad),od&&qa.look!=="handDrawn"&&jd.selectChildren("path").attr("style",od),updateNodeBounds(qa,jd),qa.intersect=function(Fd){return log$1.info("Pill intersect",qa,{radius:vd,point:Fd}),intersect_default.polygon(qa,kd,Fd)},dd}__name(halfRoundedRectangle,"halfRoundedRectangle");var createHexagonPathD=__name((Ra,qa,nd,od,ld)=>[`M${Ra+ld},${qa}`,`L${Ra+nd-ld},${qa}`,`L${Ra+nd},${qa-od/2}`,`L${Ra+nd-ld},${qa-od}`,`L${Ra+ld},${qa-od}`,`L${Ra},${qa-od/2}`,"Z"].join(" "),"createHexagonPathD");async function hexagon(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=4,pd=ud.height+qa.padding,fd=pd/dd,md=ud.width+2*fd+qa.padding,vd=[{x:fd,y:0},{x:md-fd,y:0},{x:md,y:-pd/2},{x:md-fd,y:-pd},{x:fd,y:-pd},{x:0,y:-pd/2}];let Ad;const{cssStyles:Nd}=qa;if(qa.look==="handDrawn"){const Od=at$3.svg(ld),kd=userNodeOverrides(qa,{}),Ld=createHexagonPathD(0,0,md,pd,fd),Gd=Od.path(Ld,kd);Ad=ld.insert(()=>Gd,":first-child").attr("transform",`translate(${-md/2}, ${pd/2})`),Nd&&Ad.attr("style",Nd)}else Ad=insertPolygonShape(ld,md,pd,vd);return od&&Ad.attr("style",od),qa.width=md,qa.height=pd,updateNodeBounds(qa,Ad),qa.intersect=function(Od){return intersect_default.polygon(qa,vd,Od)},ld}__name(hexagon,"hexagon");async function hourglass(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.label="",qa.labelStyle=nd;const{shapeSvg:ld}=await labelHelper(Ra,qa,getNodeClasses(qa)),ud=Math.max(30,(qa==null?void 0:qa.width)??0),dd=Math.max(30,(qa==null?void 0:qa.height)??0),{cssStyles:pd}=qa,fd=at$3.svg(ld),md=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(md.roughness=0,md.fillStyle="solid");const vd=[{x:0,y:0},{x:ud,y:0},{x:0,y:dd},{x:ud,y:dd}],Ad=createPathFromPoints(vd),Nd=fd.path(Ad,md),Od=ld.insert(()=>Nd,":first-child");return Od.attr("class","basic label-container"),pd&&qa.look!=="handDrawn"&&Od.selectChildren("path").attr("style",pd),od&&qa.look!=="handDrawn"&&Od.selectChildren("path").attr("style",od),Od.attr("transform",`translate(${-ud/2}, ${-dd/2})`),updateNodeBounds(qa,Od),qa.intersect=function(kd){return log$1.info("Pill intersect",qa,{points:vd}),intersect_default.polygon(qa,vd,kd)},ld}__name(hourglass,"hourglass");async function icon(Ra,qa,{config:{themeVariables:nd,flowchart:od}}){const{labelStyles:ld}=styles2String(qa);qa.labelStyle=ld;const ud=qa.assetHeight??48,dd=qa.assetWidth??48,pd=Math.max(ud,dd),fd=od==null?void 0:od.wrappingWidth;qa.width=Math.max(pd,fd??0);const{shapeSvg:md,bbox:vd,label:Ad}=await labelHelper(Ra,qa,"icon-shape default"),Nd=qa.pos==="t",Od=pd,kd=pd,{nodeBorder:Ld}=nd,{stylesMap:Gd}=compileStyles(qa),jd=-kd/2,Fd=-Od/2,Ud=qa.label?8:0,qd=at$3.svg(md),zd=userNodeOverrides(qa,{stroke:"none",fill:"none"});qa.look!=="handDrawn"&&(zd.roughness=0,zd.fillStyle="solid");const Wd=qd.rectangle(jd,Fd,kd,Od,zd),Jd=Math.max(kd,vd.width),_f=Od+vd.height+Ud,Xd=qd.rectangle(-Jd/2,-_f/2,Jd,_f,{...zd,fill:"transparent",stroke:"none"}),pf=md.insert(()=>Wd,":first-child"),mf=md.insert(()=>Xd);if(qa.icon){const Sf=md.append("g");Sf.html(`<g>${await getIconSVG(qa.icon,{height:pd,width:pd,fallbackPrefix:""})}</g>`);const Tf=Sf.node().getBBox(),Af=Tf.width,Ef=Tf.height,Nf=Tf.x,If=Tf.y;Sf.attr("transform",`translate(${-Af/2-Nf},${Nd?vd.height/2+Ud/2-Ef/2-If:-vd.height/2-Ud/2-Ef/2-If})`),Sf.attr("style",`color: ${Gd.get("stroke")??Ld};`)}return Ad.attr("transform",`translate(${-vd.width/2-(vd.x-(vd.left??0))},${Nd?-_f/2:_f/2-vd.height})`),pf.attr("transform",`translate(0,${Nd?vd.height/2+Ud/2:-vd.height/2-Ud/2})`),updateNodeBounds(qa,mf),qa.intersect=function(Sf){if(log$1.info("iconSquare intersect",qa,Sf),!qa.label)return intersect_default.rect(qa,Sf);const Tf=qa.x??0,Af=qa.y??0,Ef=qa.height??0;let Nf=[];return Nd?Nf=[{x:Tf-vd.width/2,y:Af-Ef/2},{x:Tf+vd.width/2,y:Af-Ef/2},{x:Tf+vd.width/2,y:Af-Ef/2+vd.height+Ud},{x:Tf+kd/2,y:Af-Ef/2+vd.height+Ud},{x:Tf+kd/2,y:Af+Ef/2},{x:Tf-kd/2,y:Af+Ef/2},{x:Tf-kd/2,y:Af-Ef/2+vd.height+Ud},{x:Tf-vd.width/2,y:Af-Ef/2+vd.height+Ud}]:Nf=[{x:Tf-kd/2,y:Af-Ef/2},{x:Tf+kd/2,y:Af-Ef/2},{x:Tf+kd/2,y:Af-Ef/2+Od},{x:Tf+vd.width/2,y:Af-Ef/2+Od},{x:Tf+vd.width/2/2,y:Af+Ef/2},{x:Tf-vd.width/2,y:Af+Ef/2},{x:Tf-vd.width/2,y:Af-Ef/2+Od},{x:Tf-kd/2,y:Af-Ef/2+Od}],intersect_default.polygon(qa,Nf,Sf)},md}__name(icon,"icon");async function iconCircle(Ra,qa,{config:{themeVariables:nd,flowchart:od}}){const{labelStyles:ld}=styles2String(qa);qa.labelStyle=ld;const ud=qa.assetHeight??48,dd=qa.assetWidth??48,pd=Math.max(ud,dd),fd=od==null?void 0:od.wrappingWidth;qa.width=Math.max(pd,fd??0);const{shapeSvg:md,bbox:vd,label:Ad}=await labelHelper(Ra,qa,"icon-shape default"),Nd=20,Od=qa.label?8:0,kd=qa.pos==="t",{nodeBorder:Ld,mainBkg:Gd}=nd,{stylesMap:jd}=compileStyles(qa),Fd=at$3.svg(md),Ud=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Ud.roughness=0,Ud.fillStyle="solid");const qd=jd.get("fill");Ud.stroke=qd??Gd;const zd=md.append("g");qa.icon&&zd.html(`<g>${await getIconSVG(qa.icon,{height:pd,width:pd,fallbackPrefix:""})}</g>`);const Wd=zd.node().getBBox(),Jd=Wd.width,_f=Wd.height,Xd=Wd.x,pf=Wd.y,mf=Math.max(Jd,_f)*Math.SQRT2+Nd*2,Sf=Fd.circle(0,0,mf,Ud),Tf=Math.max(mf,vd.width),Af=mf+vd.height+Od,Ef=Fd.rectangle(-Tf/2,-Af/2,Tf,Af,{...Ud,fill:"transparent",stroke:"none"}),Nf=md.insert(()=>Sf,":first-child"),If=md.insert(()=>Ef);return zd.attr("transform",`translate(${-Jd/2-Xd},${kd?vd.height/2+Od/2-_f/2-pf:-vd.height/2-Od/2-_f/2-pf})`),zd.attr("style",`color: ${jd.get("stroke")??Ld};`),Ad.attr("transform",`translate(${-vd.width/2-(vd.x-(vd.left??0))},${kd?-Af/2:Af/2-vd.height})`),Nf.attr("transform",`translate(0,${kd?vd.height/2+Od/2:-vd.height/2-Od/2})`),updateNodeBounds(qa,If),qa.intersect=function(Gf){return log$1.info("iconSquare intersect",qa,Gf),intersect_default.rect(qa,Gf)},md}__name(iconCircle,"iconCircle");async function iconRounded(Ra,qa,{config:{themeVariables:nd,flowchart:od}}){const{labelStyles:ld}=styles2String(qa);qa.labelStyle=ld;const ud=qa.assetHeight??48,dd=qa.assetWidth??48,pd=Math.max(ud,dd),fd=od==null?void 0:od.wrappingWidth;qa.width=Math.max(pd,fd??0);const{shapeSvg:md,bbox:vd,halfPadding:Ad,label:Nd}=await labelHelper(Ra,qa,"icon-shape default"),Od=qa.pos==="t",kd=pd+Ad*2,Ld=pd+Ad*2,{nodeBorder:Gd,mainBkg:jd}=nd,{stylesMap:Fd}=compileStyles(qa),Ud=-Ld/2,qd=-kd/2,zd=qa.label?8:0,Wd=at$3.svg(md),Jd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Jd.roughness=0,Jd.fillStyle="solid");const _f=Fd.get("fill");Jd.stroke=_f??jd;const Xd=Wd.path(createRoundedRectPathD(Ud,qd,Ld,kd,5),Jd),pf=Math.max(Ld,vd.width),mf=kd+vd.height+zd,Sf=Wd.rectangle(-pf/2,-mf/2,pf,mf,{...Jd,fill:"transparent",stroke:"none"}),Tf=md.insert(()=>Xd,":first-child").attr("class","icon-shape2"),Af=md.insert(()=>Sf);if(qa.icon){const Ef=md.append("g");Ef.html(`<g>${await getIconSVG(qa.icon,{height:pd,width:pd,fallbackPrefix:""})}</g>`);const Nf=Ef.node().getBBox(),If=Nf.width,Gf=Nf.height,Qf=Nf.x,Xf=Nf.y;Ef.attr("transform",`translate(${-If/2-Qf},${Od?vd.height/2+zd/2-Gf/2-Xf:-vd.height/2-zd/2-Gf/2-Xf})`),Ef.attr("style",`color: ${Fd.get("stroke")??Gd};`)}return Nd.attr("transform",`translate(${-vd.width/2-(vd.x-(vd.left??0))},${Od?-mf/2:mf/2-vd.height})`),Tf.attr("transform",`translate(0,${Od?vd.height/2+zd/2:-vd.height/2-zd/2})`),updateNodeBounds(qa,Af),qa.intersect=function(Ef){if(log$1.info("iconSquare intersect",qa,Ef),!qa.label)return intersect_default.rect(qa,Ef);const Nf=qa.x??0,If=qa.y??0,Gf=qa.height??0;let Qf=[];return Od?Qf=[{x:Nf-vd.width/2,y:If-Gf/2},{x:Nf+vd.width/2,y:If-Gf/2},{x:Nf+vd.width/2,y:If-Gf/2+vd.height+zd},{x:Nf+Ld/2,y:If-Gf/2+vd.height+zd},{x:Nf+Ld/2,y:If+Gf/2},{x:Nf-Ld/2,y:If+Gf/2},{x:Nf-Ld/2,y:If-Gf/2+vd.height+zd},{x:Nf-vd.width/2,y:If-Gf/2+vd.height+zd}]:Qf=[{x:Nf-Ld/2,y:If-Gf/2},{x:Nf+Ld/2,y:If-Gf/2},{x:Nf+Ld/2,y:If-Gf/2+kd},{x:Nf+vd.width/2,y:If-Gf/2+kd},{x:Nf+vd.width/2/2,y:If+Gf/2},{x:Nf-vd.width/2,y:If+Gf/2},{x:Nf-vd.width/2,y:If-Gf/2+kd},{x:Nf-Ld/2,y:If-Gf/2+kd}],intersect_default.polygon(qa,Qf,Ef)},md}__name(iconRounded,"iconRounded");async function iconSquare(Ra,qa,{config:{themeVariables:nd,flowchart:od}}){const{labelStyles:ld}=styles2String(qa);qa.labelStyle=ld;const ud=qa.assetHeight??48,dd=qa.assetWidth??48,pd=Math.max(ud,dd),fd=od==null?void 0:od.wrappingWidth;qa.width=Math.max(pd,fd??0);const{shapeSvg:md,bbox:vd,halfPadding:Ad,label:Nd}=await labelHelper(Ra,qa,"icon-shape default"),Od=qa.pos==="t",kd=pd+Ad*2,Ld=pd+Ad*2,{nodeBorder:Gd,mainBkg:jd}=nd,{stylesMap:Fd}=compileStyles(qa),Ud=-Ld/2,qd=-kd/2,zd=qa.label?8:0,Wd=at$3.svg(md),Jd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Jd.roughness=0,Jd.fillStyle="solid");const _f=Fd.get("fill");Jd.stroke=_f??jd;const Xd=Wd.path(createRoundedRectPathD(Ud,qd,Ld,kd,.1),Jd),pf=Math.max(Ld,vd.width),mf=kd+vd.height+zd,Sf=Wd.rectangle(-pf/2,-mf/2,pf,mf,{...Jd,fill:"transparent",stroke:"none"}),Tf=md.insert(()=>Xd,":first-child"),Af=md.insert(()=>Sf);if(qa.icon){const Ef=md.append("g");Ef.html(`<g>${await getIconSVG(qa.icon,{height:pd,width:pd,fallbackPrefix:""})}</g>`);const Nf=Ef.node().getBBox(),If=Nf.width,Gf=Nf.height,Qf=Nf.x,Xf=Nf.y;Ef.attr("transform",`translate(${-If/2-Qf},${Od?vd.height/2+zd/2-Gf/2-Xf:-vd.height/2-zd/2-Gf/2-Xf})`),Ef.attr("style",`color: ${Fd.get("stroke")??Gd};`)}return Nd.attr("transform",`translate(${-vd.width/2-(vd.x-(vd.left??0))},${Od?-mf/2:mf/2-vd.height})`),Tf.attr("transform",`translate(0,${Od?vd.height/2+zd/2:-vd.height/2-zd/2})`),updateNodeBounds(qa,Af),qa.intersect=function(Ef){if(log$1.info("iconSquare intersect",qa,Ef),!qa.label)return intersect_default.rect(qa,Ef);const Nf=qa.x??0,If=qa.y??0,Gf=qa.height??0;let Qf=[];return Od?Qf=[{x:Nf-vd.width/2,y:If-Gf/2},{x:Nf+vd.width/2,y:If-Gf/2},{x:Nf+vd.width/2,y:If-Gf/2+vd.height+zd},{x:Nf+Ld/2,y:If-Gf/2+vd.height+zd},{x:Nf+Ld/2,y:If+Gf/2},{x:Nf-Ld/2,y:If+Gf/2},{x:Nf-Ld/2,y:If-Gf/2+vd.height+zd},{x:Nf-vd.width/2,y:If-Gf/2+vd.height+zd}]:Qf=[{x:Nf-Ld/2,y:If-Gf/2},{x:Nf+Ld/2,y:If-Gf/2},{x:Nf+Ld/2,y:If-Gf/2+kd},{x:Nf+vd.width/2,y:If-Gf/2+kd},{x:Nf+vd.width/2/2,y:If+Gf/2},{x:Nf-vd.width/2,y:If+Gf/2},{x:Nf-vd.width/2,y:If-Gf/2+kd},{x:Nf-Ld/2,y:If-Gf/2+kd}],intersect_default.polygon(qa,Qf,Ef)},md}__name(iconSquare,"iconSquare");async function imageSquare(Ra,qa,{config:{flowchart:nd}}){const od=new Image;od.src=(qa==null?void 0:qa.img)??"",await od.decode();const ld=Number(od.naturalWidth.toString().replace("px","")),ud=Number(od.naturalHeight.toString().replace("px",""));qa.imageAspectRatio=ld/ud;const{labelStyles:dd}=styles2String(qa);qa.labelStyle=dd;const pd=nd==null?void 0:nd.wrappingWidth;qa.defaultWidth=nd==null?void 0:nd.wrappingWidth;const fd=Math.max(qa.label?pd??0:0,(qa==null?void 0:qa.assetWidth)??ld),md=qa.constraint==="on"&&qa!=null&&qa.assetHeight?qa.assetHeight*qa.imageAspectRatio:fd,vd=qa.constraint==="on"?md/qa.imageAspectRatio:(qa==null?void 0:qa.assetHeight)??ud;qa.width=Math.max(md,pd??0);const{shapeSvg:Ad,bbox:Nd,label:Od}=await labelHelper(Ra,qa,"image-shape default"),kd=qa.pos==="t",Ld=-md/2,Gd=-vd/2,jd=qa.label?8:0,Fd=at$3.svg(Ad),Ud=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Ud.roughness=0,Ud.fillStyle="solid");const qd=Fd.rectangle(Ld,Gd,md,vd,Ud),zd=Math.max(md,Nd.width),Wd=vd+Nd.height+jd,Jd=Fd.rectangle(-zd/2,-Wd/2,zd,Wd,{...Ud,fill:"none",stroke:"none"}),_f=Ad.insert(()=>qd,":first-child"),Xd=Ad.insert(()=>Jd);if(qa.img){const pf=Ad.append("image");pf.attr("href",qa.img),pf.attr("width",md),pf.attr("height",vd),pf.attr("preserveAspectRatio","none"),pf.attr("transform",`translate(${-md/2},${kd?Wd/2-vd:-Wd/2})`)}return Od.attr("transform",`translate(${-Nd.width/2-(Nd.x-(Nd.left??0))},${kd?-vd/2-Nd.height/2-jd/2:vd/2-Nd.height/2+jd/2})`),_f.attr("transform",`translate(0,${kd?Nd.height/2+jd/2:-Nd.height/2-jd/2})`),updateNodeBounds(qa,Xd),qa.intersect=function(pf){if(log$1.info("iconSquare intersect",qa,pf),!qa.label)return intersect_default.rect(qa,pf);const mf=qa.x??0,Sf=qa.y??0,Tf=qa.height??0;let Af=[];return kd?Af=[{x:mf-Nd.width/2,y:Sf-Tf/2},{x:mf+Nd.width/2,y:Sf-Tf/2},{x:mf+Nd.width/2,y:Sf-Tf/2+Nd.height+jd},{x:mf+md/2,y:Sf-Tf/2+Nd.height+jd},{x:mf+md/2,y:Sf+Tf/2},{x:mf-md/2,y:Sf+Tf/2},{x:mf-md/2,y:Sf-Tf/2+Nd.height+jd},{x:mf-Nd.width/2,y:Sf-Tf/2+Nd.height+jd}]:Af=[{x:mf-md/2,y:Sf-Tf/2},{x:mf+md/2,y:Sf-Tf/2},{x:mf+md/2,y:Sf-Tf/2+vd},{x:mf+Nd.width/2,y:Sf-Tf/2+vd},{x:mf+Nd.width/2/2,y:Sf+Tf/2},{x:mf-Nd.width/2,y:Sf+Tf/2},{x:mf-Nd.width/2,y:Sf-Tf/2+vd},{x:mf-md/2,y:Sf-Tf/2+vd}],intersect_default.polygon(qa,Af,pf)},Ad}__name(imageSquare,"imageSquare");async function inv_trapezoid(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=Math.max(ud.width+(qa.padding??0)*2,(qa==null?void 0:qa.width)??0),pd=Math.max(ud.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),fd=[{x:0,y:0},{x:dd,y:0},{x:dd+3*pd/6,y:-pd},{x:-3*pd/6,y:-pd}];let md;const{cssStyles:vd}=qa;if(qa.look==="handDrawn"){const Ad=at$3.svg(ld),Nd=userNodeOverrides(qa,{}),Od=createPathFromPoints(fd),kd=Ad.path(Od,Nd);md=ld.insert(()=>kd,":first-child").attr("transform",`translate(${-dd/2}, ${pd/2})`),vd&&md.attr("style",vd)}else md=insertPolygonShape(ld,dd,pd,fd);return od&&md.attr("style",od),qa.width=dd,qa.height=pd,updateNodeBounds(qa,md),qa.intersect=function(Ad){return intersect_default.polygon(qa,fd,Ad)},ld}__name(inv_trapezoid,"inv_trapezoid");async function drawRect(Ra,qa,nd){const{labelStyles:od,nodeStyles:ld}=styles2String(qa);qa.labelStyle=od;const{shapeSvg:ud,bbox:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=Math.max(dd.width+nd.labelPaddingX*2,(qa==null?void 0:qa.width)||0),fd=Math.max(dd.height+nd.labelPaddingY*2,(qa==null?void 0:qa.height)||0),md=-pd/2,vd=-fd/2;let Ad,{rx:Nd,ry:Od}=qa;const{cssStyles:kd}=qa;if(nd!=null&&nd.rx&&nd.ry&&(Nd=nd.rx,Od=nd.ry),qa.look==="handDrawn"){const Ld=at$3.svg(ud),Gd=userNodeOverrides(qa,{}),jd=Nd||Od?Ld.path(createRoundedRectPathD(md,vd,pd,fd,Nd||0),Gd):Ld.rectangle(md,vd,pd,fd,Gd);Ad=ud.insert(()=>jd,":first-child"),Ad.attr("class","basic label-container").attr("style",handleUndefinedAttr(kd))}else Ad=ud.insert("rect",":first-child"),Ad.attr("class","basic label-container").attr("style",ld).attr("rx",handleUndefinedAttr(Nd)).attr("ry",handleUndefinedAttr(Od)).attr("x",md).attr("y",vd).attr("width",pd).attr("height",fd);return updateNodeBounds(qa,Ad),qa.intersect=function(Ld){return intersect_default.rect(qa,Ld)},ud}__name(drawRect,"drawRect");async function labelRect(Ra,qa){const{shapeSvg:nd,bbox:od,label:ld}=await labelHelper(Ra,qa,"label"),ud=nd.insert("rect",":first-child");return ud.attr("width",.1).attr("height",.1),nd.attr("class","label edgeLabel"),ld.attr("transform",`translate(${-(od.width/2)-(od.x-(od.left??0))}, ${-(od.height/2)-(od.y-(od.top??0))})`),updateNodeBounds(qa,ud),qa.intersect=function(fd){return intersect_default.rect(qa,fd)},nd}__name(labelRect,"labelRect");async function lean_left(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=Math.max(ud.width+(qa.padding??0),(qa==null?void 0:qa.width)??0),pd=Math.max(ud.height+(qa.padding??0),(qa==null?void 0:qa.height)??0),fd=[{x:0,y:0},{x:dd+3*pd/6,y:0},{x:dd,y:-pd},{x:-(3*pd)/6,y:-pd}];let md;const{cssStyles:vd}=qa;if(qa.look==="handDrawn"){const Ad=at$3.svg(ld),Nd=userNodeOverrides(qa,{}),Od=createPathFromPoints(fd),kd=Ad.path(Od,Nd);md=ld.insert(()=>kd,":first-child").attr("transform",`translate(${-dd/2}, ${pd/2})`),vd&&md.attr("style",vd)}else md=insertPolygonShape(ld,dd,pd,fd);return od&&md.attr("style",od),qa.width=dd,qa.height=pd,updateNodeBounds(qa,md),qa.intersect=function(Ad){return intersect_default.polygon(qa,fd,Ad)},ld}__name(lean_left,"lean_left");async function lean_right(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=Math.max(ud.width+(qa.padding??0),(qa==null?void 0:qa.width)??0),pd=Math.max(ud.height+(qa.padding??0),(qa==null?void 0:qa.height)??0),fd=[{x:-3*pd/6,y:0},{x:dd,y:0},{x:dd+3*pd/6,y:-pd},{x:0,y:-pd}];let md;const{cssStyles:vd}=qa;if(qa.look==="handDrawn"){const Ad=at$3.svg(ld),Nd=userNodeOverrides(qa,{}),Od=createPathFromPoints(fd),kd=Ad.path(Od,Nd);md=ld.insert(()=>kd,":first-child").attr("transform",`translate(${-dd/2}, ${pd/2})`),vd&&md.attr("style",vd)}else md=insertPolygonShape(ld,dd,pd,fd);return od&&md.attr("style",od),qa.width=dd,qa.height=pd,updateNodeBounds(qa,md),qa.intersect=function(Ad){return intersect_default.polygon(qa,fd,Ad)},ld}__name(lean_right,"lean_right");function lightningBolt(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.label="",qa.labelStyle=nd;const ld=Ra.insert("g").attr("class",getNodeClasses(qa)).attr("id",qa.domId??qa.id),{cssStyles:ud}=qa,dd=Math.max(35,(qa==null?void 0:qa.width)??0),pd=Math.max(35,(qa==null?void 0:qa.height)??0),fd=7,md=[{x:dd,y:0},{x:0,y:pd+fd/2},{x:dd-2*fd,y:pd+fd/2},{x:0,y:2*pd},{x:dd,y:pd-fd/2},{x:2*fd,y:pd-fd/2}],vd=at$3.svg(ld),Ad=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Ad.roughness=0,Ad.fillStyle="solid");const Nd=createPathFromPoints(md),Od=vd.path(Nd,Ad),kd=ld.insert(()=>Od,":first-child");return ud&&qa.look!=="handDrawn"&&kd.selectAll("path").attr("style",ud),od&&qa.look!=="handDrawn"&&kd.selectAll("path").attr("style",od),kd.attr("transform",`translate(-${dd/2},${-pd})`),updateNodeBounds(qa,kd),qa.intersect=function(Ld){return log$1.info("lightningBolt intersect",qa,Ld),intersect_default.polygon(qa,md,Ld)},ld}__name(lightningBolt,"lightningBolt");var createCylinderPathD2=__name((Ra,qa,nd,od,ld,ud,dd)=>[`M${Ra},${qa+ud}`,`a${ld},${ud} 0,0,0 ${nd},0`,`a${ld},${ud} 0,0,0 ${-nd},0`,`l0,${od}`,`a${ld},${ud} 0,0,0 ${nd},0`,`l0,${-od}`,`M${Ra},${qa+ud+dd}`,`a${ld},${ud} 0,0,0 ${nd},0`].join(" "),"createCylinderPathD"),createOuterCylinderPathD2=__name((Ra,qa,nd,od,ld,ud,dd)=>[`M${Ra},${qa+ud}`,`M${Ra+nd},${qa+ud}`,`a${ld},${ud} 0,0,0 ${-nd},0`,`l0,${od}`,`a${ld},${ud} 0,0,0 ${nd},0`,`l0,${-od}`,`M${Ra},${qa+ud+dd}`,`a${ld},${ud} 0,0,0 ${nd},0`].join(" "),"createOuterCylinderPathD"),createInnerCylinderPathD2=__name((Ra,qa,nd,od,ld,ud)=>[`M${Ra-nd/2},${-od/2}`,`a${ld},${ud} 0,0,0 ${nd},0`].join(" "),"createInnerCylinderPathD");async function linedCylinder(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=Math.max(ud.width+(qa.padding??0),qa.width??0),fd=pd/2,md=fd/(2.5+pd/50),vd=Math.max(ud.height+md+(qa.padding??0),qa.height??0),Ad=vd*.1;let Nd;const{cssStyles:Od}=qa;if(qa.look==="handDrawn"){const kd=at$3.svg(ld),Ld=createOuterCylinderPathD2(0,0,pd,vd,fd,md,Ad),Gd=createInnerCylinderPathD2(0,md,pd,vd,fd,md),jd=userNodeOverrides(qa,{}),Fd=kd.path(Ld,jd),Ud=kd.path(Gd,jd);ld.insert(()=>Ud,":first-child").attr("class","line"),Nd=ld.insert(()=>Fd,":first-child"),Nd.attr("class","basic label-container"),Od&&Nd.attr("style",Od)}else{const kd=createCylinderPathD2(0,0,pd,vd,fd,md,Ad);Nd=ld.insert("path",":first-child").attr("d",kd).attr("class","basic label-container").attr("style",handleUndefinedAttr(Od)).attr("style",od)}return Nd.attr("label-offset-y",md),Nd.attr("transform",`translate(${-pd/2}, ${-(vd/2+md)})`),updateNodeBounds(qa,Nd),dd.attr("transform",`translate(${-(ud.width/2)-(ud.x-(ud.left??0))}, ${-(ud.height/2)+md-(ud.y-(ud.top??0))})`),qa.intersect=function(kd){const Ld=intersect_default.rect(qa,kd),Gd=Ld.x-(qa.x??0);if(fd!=0&&(Math.abs(Gd)<(qa.width??0)/2||Math.abs(Gd)==(qa.width??0)/2&&Math.abs(Ld.y-(qa.y??0))>(qa.height??0)/2-md)){let jd=md*md*(1-Gd*Gd/(fd*fd));jd>0&&(jd=Math.sqrt(jd)),jd=md-jd,kd.y-(qa.y??0)>0&&(jd=-jd),Ld.y+=jd}return Ld},ld}__name(linedCylinder,"linedCylinder");async function linedWaveEdgedRect(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=Math.max(ud.width+(qa.padding??0)*2,(qa==null?void 0:qa.width)??0),fd=Math.max(ud.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),md=fd/4,vd=fd+md,{cssStyles:Ad}=qa,Nd=at$3.svg(ld),Od=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Od.roughness=0,Od.fillStyle="solid");const kd=[{x:-pd/2-pd/2*.1,y:-vd/2},{x:-pd/2-pd/2*.1,y:vd/2},...generateFullSineWavePoints(-pd/2-pd/2*.1,vd/2,pd/2+pd/2*.1,vd/2,md,.8),{x:pd/2+pd/2*.1,y:-vd/2},{x:-pd/2-pd/2*.1,y:-vd/2},{x:-pd/2,y:-vd/2},{x:-pd/2,y:vd/2*1.1},{x:-pd/2,y:-vd/2}],Ld=Nd.polygon(kd.map(jd=>[jd.x,jd.y]),Od),Gd=ld.insert(()=>Ld,":first-child");return Gd.attr("class","basic label-container"),Ad&&qa.look!=="handDrawn"&&Gd.selectAll("path").attr("style",Ad),od&&qa.look!=="handDrawn"&&Gd.selectAll("path").attr("style",od),Gd.attr("transform",`translate(0,${-md/2})`),dd.attr("transform",`translate(${-pd/2+(qa.padding??0)+pd/2*.1/2-(ud.x-(ud.left??0))},${-fd/2+(qa.padding??0)-md/2-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,Gd),qa.intersect=function(jd){return intersect_default.polygon(qa,kd,jd)},ld}__name(linedWaveEdgedRect,"linedWaveEdgedRect");async function multiRect(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=Math.max(ud.width+(qa.padding??0)*2,(qa==null?void 0:qa.width)??0),fd=Math.max(ud.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),md=5,vd=-pd/2,Ad=-fd/2,{cssStyles:Nd}=qa,Od=at$3.svg(ld),kd=userNodeOverrides(qa,{}),Ld=[{x:vd-md,y:Ad+md},{x:vd-md,y:Ad+fd+md},{x:vd+pd-md,y:Ad+fd+md},{x:vd+pd-md,y:Ad+fd},{x:vd+pd,y:Ad+fd},{x:vd+pd,y:Ad+fd-md},{x:vd+pd+md,y:Ad+fd-md},{x:vd+pd+md,y:Ad-md},{x:vd+md,y:Ad-md},{x:vd+md,y:Ad},{x:vd,y:Ad},{x:vd,y:Ad+md}],Gd=[{x:vd,y:Ad+md},{x:vd+pd-md,y:Ad+md},{x:vd+pd-md,y:Ad+fd},{x:vd+pd,y:Ad+fd},{x:vd+pd,y:Ad},{x:vd,y:Ad}];qa.look!=="handDrawn"&&(kd.roughness=0,kd.fillStyle="solid");const jd=createPathFromPoints(Ld),Fd=Od.path(jd,kd),Ud=createPathFromPoints(Gd),qd=Od.path(Ud,{...kd,fill:"none"}),zd=ld.insert(()=>qd,":first-child");return zd.insert(()=>Fd,":first-child"),zd.attr("class","basic label-container"),Nd&&qa.look!=="handDrawn"&&zd.selectAll("path").attr("style",Nd),od&&qa.look!=="handDrawn"&&zd.selectAll("path").attr("style",od),dd.attr("transform",`translate(${-(ud.width/2)-md-(ud.x-(ud.left??0))}, ${-(ud.height/2)+md-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,zd),qa.intersect=function(Wd){return intersect_default.polygon(qa,Ld,Wd)},ld}__name(multiRect,"multiRect");async function multiWaveEdgedRectangle(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=Math.max(ud.width+(qa.padding??0)*2,(qa==null?void 0:qa.width)??0),fd=Math.max(ud.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),md=fd/4,vd=fd+md,Ad=-pd/2,Nd=-vd/2,Od=5,{cssStyles:kd}=qa,Ld=generateFullSineWavePoints(Ad-Od,Nd+vd+Od,Ad+pd-Od,Nd+vd+Od,md,.8),Gd=Ld==null?void 0:Ld[Ld.length-1],jd=[{x:Ad-Od,y:Nd+Od},{x:Ad-Od,y:Nd+vd+Od},...Ld,{x:Ad+pd-Od,y:Gd.y-Od},{x:Ad+pd,y:Gd.y-Od},{x:Ad+pd,y:Gd.y-2*Od},{x:Ad+pd+Od,y:Gd.y-2*Od},{x:Ad+pd+Od,y:Nd-Od},{x:Ad+Od,y:Nd-Od},{x:Ad+Od,y:Nd},{x:Ad,y:Nd},{x:Ad,y:Nd+Od}],Fd=[{x:Ad,y:Nd+Od},{x:Ad+pd-Od,y:Nd+Od},{x:Ad+pd-Od,y:Gd.y-Od},{x:Ad+pd,y:Gd.y-Od},{x:Ad+pd,y:Nd},{x:Ad,y:Nd}],Ud=at$3.svg(ld),qd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(qd.roughness=0,qd.fillStyle="solid");const zd=createPathFromPoints(jd),Wd=Ud.path(zd,qd),Jd=createPathFromPoints(Fd),_f=Ud.path(Jd,qd),Xd=ld.insert(()=>Wd,":first-child");return Xd.insert(()=>_f),Xd.attr("class","basic label-container"),kd&&qa.look!=="handDrawn"&&Xd.selectAll("path").attr("style",kd),od&&qa.look!=="handDrawn"&&Xd.selectAll("path").attr("style",od),Xd.attr("transform",`translate(0,${-md/2})`),dd.attr("transform",`translate(${-(ud.width/2)-Od-(ud.x-(ud.left??0))}, ${-(ud.height/2)+Od-md/2-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,Xd),qa.intersect=function(pf){return intersect_default.polygon(qa,jd,pf)},ld}__name(multiWaveEdgedRectangle,"multiWaveEdgedRectangle");async function note(Ra,qa,{config:{themeVariables:nd}}){var jd;const{labelStyles:od,nodeStyles:ld}=styles2String(qa);qa.labelStyle=od,qa.useHtmlLabels||((jd=getConfig$2().flowchart)==null?void 0:jd.htmlLabels)!==!1||(qa.centerLabel=!0);const{shapeSvg:dd,bbox:pd}=await labelHelper(Ra,qa,getNodeClasses(qa)),fd=Math.max(pd.width+(qa.padding??0)*2,(qa==null?void 0:qa.width)??0),md=Math.max(pd.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),vd=-fd/2,Ad=-md/2,{cssStyles:Nd}=qa,Od=at$3.svg(dd),kd=userNodeOverrides(qa,{fill:nd.noteBkgColor,stroke:nd.noteBorderColor});qa.look!=="handDrawn"&&(kd.roughness=0,kd.fillStyle="solid");const Ld=Od.rectangle(vd,Ad,fd,md,kd),Gd=dd.insert(()=>Ld,":first-child");return Gd.attr("class","basic label-container"),Nd&&qa.look!=="handDrawn"&&Gd.selectAll("path").attr("style",Nd),ld&&qa.look!=="handDrawn"&&Gd.selectAll("path").attr("style",ld),updateNodeBounds(qa,Gd),qa.intersect=function(Fd){return intersect_default.rect(qa,Fd)},dd}__name(note,"note");var createDecisionBoxPathD=__name((Ra,qa,nd)=>[`M${Ra+nd/2},${qa}`,`L${Ra+nd},${qa-nd/2}`,`L${Ra+nd/2},${qa-nd}`,`L${Ra},${qa-nd/2}`,"Z"].join(" "),"createDecisionBoxPathD");async function question(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=ud.width+qa.padding,pd=ud.height+qa.padding,fd=dd+pd,md=[{x:fd/2,y:0},{x:fd,y:-fd/2},{x:fd/2,y:-fd},{x:0,y:-fd/2}];let vd;const{cssStyles:Ad}=qa;if(qa.look==="handDrawn"){const Nd=at$3.svg(ld),Od=userNodeOverrides(qa,{}),kd=createDecisionBoxPathD(0,0,fd),Ld=Nd.path(kd,Od);vd=ld.insert(()=>Ld,":first-child").attr("transform",`translate(${-fd/2}, ${fd/2})`),Ad&&vd.attr("style",Ad)}else vd=insertPolygonShape(ld,fd,fd,md);return od&&vd.attr("style",od),updateNodeBounds(qa,vd),qa.intersect=function(Nd){return log$1.debug(`APA12 Intersect called SPLIT
point:`,Nd,`
node:
`,qa,`
res:`,intersect_default.polygon(qa,md,Nd)),intersect_default.polygon(qa,md,Nd)},ld}__name(question,"question");async function rect_left_inv_arrow(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=Math.max(ud.width+(qa.padding??0),(qa==null?void 0:qa.width)??0),fd=Math.max(ud.height+(qa.padding??0),(qa==null?void 0:qa.height)??0),md=-pd/2,vd=-fd/2,Ad=vd/2,Nd=[{x:md+Ad,y:vd},{x:md,y:0},{x:md+Ad,y:-vd},{x:-md,y:-vd},{x:-md,y:vd}],{cssStyles:Od}=qa,kd=at$3.svg(ld),Ld=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Ld.roughness=0,Ld.fillStyle="solid");const Gd=createPathFromPoints(Nd),jd=kd.path(Gd,Ld),Fd=ld.insert(()=>jd,":first-child");return Fd.attr("class","basic label-container"),Od&&qa.look!=="handDrawn"&&Fd.selectAll("path").attr("style",Od),od&&qa.look!=="handDrawn"&&Fd.selectAll("path").attr("style",od),Fd.attr("transform",`translate(${-Ad/2},0)`),dd.attr("transform",`translate(${-Ad/2-ud.width/2-(ud.x-(ud.left??0))}, ${-(ud.height/2)-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,Fd),qa.intersect=function(Ud){return intersect_default.polygon(qa,Nd,Ud)},ld}__name(rect_left_inv_arrow,"rect_left_inv_arrow");async function rectWithTitle(Ra,qa){var _f,Xd;const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;let ld;qa.cssClasses?ld="node "+qa.cssClasses:ld="node default";const ud=Ra.insert("g").attr("class",ld).attr("id",qa.domId||qa.id),dd=ud.insert("g"),pd=ud.insert("g").attr("class","label").attr("style",od),fd=qa.description,md=qa.label,vd=pd.node().appendChild(await createLabel_default(md,qa.labelStyle,!0,!0));let Ad={width:0,height:0};if(evaluate((Xd=(_f=getConfig2())==null?void 0:_f.flowchart)==null?void 0:Xd.htmlLabels)){const pf=vd.children[0],mf=select(vd);Ad=pf.getBoundingClientRect(),mf.attr("width",Ad.width),mf.attr("height",Ad.height)}log$1.info("Text 2",fd);const Nd=fd||[],Od=vd.getBBox(),kd=pd.node().appendChild(await createLabel_default(Nd.join?Nd.join("<br/>"):Nd,qa.labelStyle,!0,!0)),Ld=kd.children[0],Gd=select(kd);Ad=Ld.getBoundingClientRect(),Gd.attr("width",Ad.width),Gd.attr("height",Ad.height);const jd=(qa.padding||0)/2;select(kd).attr("transform","translate( "+(Ad.width>Od.width?0:(Od.width-Ad.width)/2)+", "+(Od.height+jd+5)+")"),select(vd).attr("transform","translate( "+(Ad.width<Od.width?0:-(Od.width-Ad.width)/2)+", 0)"),Ad=pd.node().getBBox(),pd.attr("transform","translate("+-Ad.width/2+", "+(-Ad.height/2-jd+3)+")");const Fd=Ad.width+(qa.padding||0),Ud=Ad.height+(qa.padding||0),qd=-Ad.width/2-jd,zd=-Ad.height/2-jd;let Wd,Jd;if(qa.look==="handDrawn"){const pf=at$3.svg(ud),mf=userNodeOverrides(qa,{}),Sf=pf.path(createRoundedRectPathD(qd,zd,Fd,Ud,qa.rx||0),mf),Tf=pf.line(-Ad.width/2-jd,-Ad.height/2-jd+Od.height+jd,Ad.width/2+jd,-Ad.height/2-jd+Od.height+jd,mf);Jd=ud.insert(()=>(log$1.debug("Rough node insert CXC",Sf),Tf),":first-child"),Wd=ud.insert(()=>(log$1.debug("Rough node insert CXC",Sf),Sf),":first-child")}else Wd=dd.insert("rect",":first-child"),Jd=dd.insert("line"),Wd.attr("class","outer title-state").attr("style",od).attr("x",-Ad.width/2-jd).attr("y",-Ad.height/2-jd).attr("width",Ad.width+(qa.padding||0)).attr("height",Ad.height+(qa.padding||0)),Jd.attr("class","divider").attr("x1",-Ad.width/2-jd).attr("x2",Ad.width/2+jd).attr("y1",-Ad.height/2-jd+Od.height+jd).attr("y2",-Ad.height/2-jd+Od.height+jd);return updateNodeBounds(qa,Wd),qa.intersect=function(pf){return intersect_default.rect(qa,pf)},ud}__name(rectWithTitle,"rectWithTitle");async function roundedRect(Ra,qa){const nd={rx:5,ry:5,classes:"",labelPaddingX:((qa==null?void 0:qa.padding)||0)*1,labelPaddingY:((qa==null?void 0:qa.padding)||0)*1};return drawRect(Ra,qa,nd)}__name(roundedRect,"roundedRect");async function shadedProcess(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=(qa==null?void 0:qa.padding)??0,fd=Math.max(ud.width+(qa.padding??0)*2,(qa==null?void 0:qa.width)??0),md=Math.max(ud.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),vd=-ud.width/2-pd,Ad=-ud.height/2-pd,{cssStyles:Nd}=qa,Od=at$3.svg(ld),kd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(kd.roughness=0,kd.fillStyle="solid");const Ld=[{x:vd,y:Ad},{x:vd+fd+8,y:Ad},{x:vd+fd+8,y:Ad+md},{x:vd-8,y:Ad+md},{x:vd-8,y:Ad},{x:vd,y:Ad},{x:vd,y:Ad+md}],Gd=Od.polygon(Ld.map(Fd=>[Fd.x,Fd.y]),kd),jd=ld.insert(()=>Gd,":first-child");return jd.attr("class","basic label-container").attr("style",handleUndefinedAttr(Nd)),od&&qa.look!=="handDrawn"&&jd.selectAll("path").attr("style",od),Nd&&qa.look!=="handDrawn"&&jd.selectAll("path").attr("style",od),dd.attr("transform",`translate(${-fd/2+4+(qa.padding??0)-(ud.x-(ud.left??0))},${-md/2+(qa.padding??0)-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,jd),qa.intersect=function(Fd){return intersect_default.rect(qa,Fd)},ld}__name(shadedProcess,"shadedProcess");async function slopedRect(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=Math.max(ud.width+(qa.padding??0)*2,(qa==null?void 0:qa.width)??0),fd=Math.max(ud.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),md=-pd/2,vd=-fd/2,{cssStyles:Ad}=qa,Nd=at$3.svg(ld),Od=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Od.roughness=0,Od.fillStyle="solid");const kd=[{x:md,y:vd},{x:md,y:vd+fd},{x:md+pd,y:vd+fd},{x:md+pd,y:vd-fd/2}],Ld=createPathFromPoints(kd),Gd=Nd.path(Ld,Od),jd=ld.insert(()=>Gd,":first-child");return jd.attr("class","basic label-container"),Ad&&qa.look!=="handDrawn"&&jd.selectChildren("path").attr("style",Ad),od&&qa.look!=="handDrawn"&&jd.selectChildren("path").attr("style",od),jd.attr("transform",`translate(0, ${fd/4})`),dd.attr("transform",`translate(${-pd/2+(qa.padding??0)-(ud.x-(ud.left??0))}, ${-fd/4+(qa.padding??0)-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,jd),qa.intersect=function(Fd){return intersect_default.polygon(qa,kd,Fd)},ld}__name(slopedRect,"slopedRect");async function squareRect2(Ra,qa){const nd={rx:0,ry:0,classes:"",labelPaddingX:((qa==null?void 0:qa.padding)||0)*2,labelPaddingY:((qa==null?void 0:qa.padding)||0)*1};return drawRect(Ra,qa,nd)}__name(squareRect2,"squareRect");async function stadium(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=ud.height+qa.padding,pd=ud.width+dd/4+qa.padding;let fd;const{cssStyles:md}=qa;if(qa.look==="handDrawn"){const vd=at$3.svg(ld),Ad=userNodeOverrides(qa,{}),Nd=createRoundedRectPathD(-pd/2,-dd/2,pd,dd,dd/2),Od=vd.path(Nd,Ad);fd=ld.insert(()=>Od,":first-child"),fd.attr("class","basic label-container").attr("style",handleUndefinedAttr(md))}else fd=ld.insert("rect",":first-child"),fd.attr("class","basic label-container").attr("style",od).attr("rx",dd/2).attr("ry",dd/2).attr("x",-pd/2).attr("y",-dd/2).attr("width",pd).attr("height",dd);return updateNodeBounds(qa,fd),qa.intersect=function(vd){return intersect_default.rect(qa,vd)},ld}__name(stadium,"stadium");async function state$1(Ra,qa){return drawRect(Ra,qa,{rx:5,ry:5,classes:"flowchart-node"})}__name(state$1,"state");function stateEnd(Ra,qa,{config:{themeVariables:nd}}){const{labelStyles:od,nodeStyles:ld}=styles2String(qa);qa.labelStyle=od;const{cssStyles:ud}=qa,{lineColor:dd,stateBorder:pd,nodeBorder:fd}=nd,md=Ra.insert("g").attr("class","node default").attr("id",qa.domId||qa.id),vd=at$3.svg(md),Ad=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Ad.roughness=0,Ad.fillStyle="solid");const Nd=vd.circle(0,0,14,{...Ad,stroke:dd,strokeWidth:2}),Od=pd??fd,kd=vd.circle(0,0,5,{...Ad,fill:Od,stroke:Od,strokeWidth:2,fillStyle:"solid"}),Ld=md.insert(()=>Nd,":first-child");return Ld.insert(()=>kd),ud&&Ld.selectAll("path").attr("style",ud),ld&&Ld.selectAll("path").attr("style",ld),updateNodeBounds(qa,Ld),qa.intersect=function(Gd){return intersect_default.circle(qa,7,Gd)},md}__name(stateEnd,"stateEnd");function stateStart(Ra,qa,{config:{themeVariables:nd}}){const{lineColor:od}=nd,ld=Ra.insert("g").attr("class","node default").attr("id",qa.domId||qa.id);let ud;if(qa.look==="handDrawn"){const pd=at$3.svg(ld).circle(0,0,14,solidStateFill(od));ud=ld.insert(()=>pd),ud.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14)}else ud=ld.insert("circle",":first-child"),ud.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14);return updateNodeBounds(qa,ud),qa.intersect=function(dd){return intersect_default.circle(qa,7,dd)},ld}__name(stateStart,"stateStart");async function subroutine(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=((qa==null?void 0:qa.padding)||0)/2,pd=ud.width+qa.padding,fd=ud.height+qa.padding,md=-ud.width/2-dd,vd=-ud.height/2-dd,Ad=[{x:0,y:0},{x:pd,y:0},{x:pd,y:-fd},{x:0,y:-fd},{x:0,y:0},{x:-8,y:0},{x:pd+8,y:0},{x:pd+8,y:-fd},{x:-8,y:-fd},{x:-8,y:0}];if(qa.look==="handDrawn"){const Nd=at$3.svg(ld),Od=userNodeOverrides(qa,{}),kd=Nd.rectangle(md-8,vd,pd+16,fd,Od),Ld=Nd.line(md,vd,md,vd+fd,Od),Gd=Nd.line(md+pd,vd,md+pd,vd+fd,Od);ld.insert(()=>Ld,":first-child"),ld.insert(()=>Gd,":first-child");const jd=ld.insert(()=>kd,":first-child"),{cssStyles:Fd}=qa;jd.attr("class","basic label-container").attr("style",handleUndefinedAttr(Fd)),updateNodeBounds(qa,jd)}else{const Nd=insertPolygonShape(ld,pd,fd,Ad);od&&Nd.attr("style",od),updateNodeBounds(qa,Nd)}return qa.intersect=function(Nd){return intersect_default.polygon(qa,Ad,Nd)},ld}__name(subroutine,"subroutine");async function taggedRect(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=Math.max(ud.width+(qa.padding??0)*2,(qa==null?void 0:qa.width)??0),pd=Math.max(ud.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),fd=-dd/2,md=-pd/2,vd=.2*pd,Ad=.2*pd,{cssStyles:Nd}=qa,Od=at$3.svg(ld),kd=userNodeOverrides(qa,{}),Ld=[{x:fd-vd/2,y:md},{x:fd+dd+vd/2,y:md},{x:fd+dd+vd/2,y:md+pd},{x:fd-vd/2,y:md+pd}],Gd=[{x:fd+dd-vd/2,y:md+pd},{x:fd+dd+vd/2,y:md+pd},{x:fd+dd+vd/2,y:md+pd-Ad}];qa.look!=="handDrawn"&&(kd.roughness=0,kd.fillStyle="solid");const jd=createPathFromPoints(Ld),Fd=Od.path(jd,kd),Ud=createPathFromPoints(Gd),qd=Od.path(Ud,{...kd,fillStyle:"solid"}),zd=ld.insert(()=>qd,":first-child");return zd.insert(()=>Fd,":first-child"),zd.attr("class","basic label-container"),Nd&&qa.look!=="handDrawn"&&zd.selectAll("path").attr("style",Nd),od&&qa.look!=="handDrawn"&&zd.selectAll("path").attr("style",od),updateNodeBounds(qa,zd),qa.intersect=function(Wd){return intersect_default.polygon(qa,Ld,Wd)},ld}__name(taggedRect,"taggedRect");async function taggedWaveEdgedRectangle(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=Math.max(ud.width+(qa.padding??0)*2,(qa==null?void 0:qa.width)??0),fd=Math.max(ud.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),md=fd/4,vd=.2*pd,Ad=.2*fd,Nd=fd+md,{cssStyles:Od}=qa,kd=at$3.svg(ld),Ld=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Ld.roughness=0,Ld.fillStyle="solid");const Gd=[{x:-pd/2-pd/2*.1,y:Nd/2},...generateFullSineWavePoints(-pd/2-pd/2*.1,Nd/2,pd/2+pd/2*.1,Nd/2,md,.8),{x:pd/2+pd/2*.1,y:-Nd/2},{x:-pd/2-pd/2*.1,y:-Nd/2}],jd=-pd/2+pd/2*.1,Fd=-Nd/2-Ad*.4,Ud=[{x:jd+pd-vd,y:(Fd+fd)*1.4},{x:jd+pd,y:Fd+fd-Ad},{x:jd+pd,y:(Fd+fd)*.9},...generateFullSineWavePoints(jd+pd,(Fd+fd)*1.3,jd+pd-vd,(Fd+fd)*1.5,-fd*.03,.5)],qd=createPathFromPoints(Gd),zd=kd.path(qd,Ld),Wd=createPathFromPoints(Ud),Jd=kd.path(Wd,{...Ld,fillStyle:"solid"}),_f=ld.insert(()=>Jd,":first-child");return _f.insert(()=>zd,":first-child"),_f.attr("class","basic label-container"),Od&&qa.look!=="handDrawn"&&_f.selectAll("path").attr("style",Od),od&&qa.look!=="handDrawn"&&_f.selectAll("path").attr("style",od),_f.attr("transform",`translate(0,${-md/2})`),dd.attr("transform",`translate(${-pd/2+(qa.padding??0)-(ud.x-(ud.left??0))},${-fd/2+(qa.padding??0)-md/2-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,_f),qa.intersect=function(Xd){return intersect_default.polygon(qa,Gd,Xd)},ld}__name(taggedWaveEdgedRectangle,"taggedWaveEdgedRectangle");async function text(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=Math.max(ud.width+qa.padding,(qa==null?void 0:qa.width)||0),pd=Math.max(ud.height+qa.padding,(qa==null?void 0:qa.height)||0),fd=-dd/2,md=-pd/2,vd=ld.insert("rect",":first-child");return vd.attr("class","text").attr("style",od).attr("rx",0).attr("ry",0).attr("x",fd).attr("y",md).attr("width",dd).attr("height",pd),updateNodeBounds(qa,vd),qa.intersect=function(Ad){return intersect_default.rect(qa,Ad)},ld}__name(text,"text");var createCylinderPathD3=__name((Ra,qa,nd,od,ld,ud)=>`M${Ra},${qa}
a${ld},${ud} 0,0,1 0,${-od}
l${nd},0
a${ld},${ud} 0,0,1 0,${od}
M${nd},${-od}
a${ld},${ud} 0,0,0 0,${od}
l${-nd},0`,"createCylinderPathD"),createOuterCylinderPathD3=__name((Ra,qa,nd,od,ld,ud)=>[`M${Ra},${qa}`,`M${Ra+nd},${qa}`,`a${ld},${ud} 0,0,0 0,${-od}`,`l${-nd},0`,`a${ld},${ud} 0,0,0 0,${od}`,`l${nd},0`].join(" "),"createOuterCylinderPathD"),createInnerCylinderPathD3=__name((Ra,qa,nd,od,ld,ud)=>[`M${Ra+nd/2},${-od/2}`,`a${ld},${ud} 0,0,0 0,${od}`].join(" "),"createInnerCylinderPathD");async function tiltedCylinder(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd,halfPadding:pd}=await labelHelper(Ra,qa,getNodeClasses(qa)),fd=qa.look==="neo"?pd*2:pd,md=ud.height+fd,vd=md/2,Ad=vd/(2.5+md/50),Nd=ud.width+Ad+fd,{cssStyles:Od}=qa;let kd;if(qa.look==="handDrawn"){const Ld=at$3.svg(ld),Gd=createOuterCylinderPathD3(0,0,Nd,md,Ad,vd),jd=createInnerCylinderPathD3(0,0,Nd,md,Ad,vd),Fd=Ld.path(Gd,userNodeOverrides(qa,{})),Ud=Ld.path(jd,userNodeOverrides(qa,{fill:"none"}));kd=ld.insert(()=>Ud,":first-child"),kd=ld.insert(()=>Fd,":first-child"),kd.attr("class","basic label-container"),Od&&kd.attr("style",Od)}else{const Ld=createCylinderPathD3(0,0,Nd,md,Ad,vd);kd=ld.insert("path",":first-child").attr("d",Ld).attr("class","basic label-container").attr("style",handleUndefinedAttr(Od)).attr("style",od),kd.attr("class","basic label-container"),Od&&kd.selectAll("path").attr("style",Od),od&&kd.selectAll("path").attr("style",od)}return kd.attr("label-offset-x",Ad),kd.attr("transform",`translate(${-Nd/2}, ${md/2} )`),dd.attr("transform",`translate(${-(ud.width/2)-Ad-(ud.x-(ud.left??0))}, ${-(ud.height/2)-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,kd),qa.intersect=function(Ld){const Gd=intersect_default.rect(qa,Ld),jd=Gd.y-(qa.y??0);if(vd!=0&&(Math.abs(jd)<(qa.height??0)/2||Math.abs(jd)==(qa.height??0)/2&&Math.abs(Gd.x-(qa.x??0))>(qa.width??0)/2-Ad)){let Fd=Ad*Ad*(1-jd*jd/(vd*vd));Fd!=0&&(Fd=Math.sqrt(Math.abs(Fd))),Fd=Ad-Fd,Ld.x-(qa.x??0)>0&&(Fd=-Fd),Gd.x+=Fd}return Gd},ld}__name(tiltedCylinder,"tiltedCylinder");async function trapezoid(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=ud.width+qa.padding,pd=ud.height+qa.padding,fd=[{x:-3*pd/6,y:0},{x:dd+3*pd/6,y:0},{x:dd,y:-pd},{x:0,y:-pd}];let md;const{cssStyles:vd}=qa;if(qa.look==="handDrawn"){const Ad=at$3.svg(ld),Nd=userNodeOverrides(qa,{}),Od=createPathFromPoints(fd),kd=Ad.path(Od,Nd);md=ld.insert(()=>kd,":first-child").attr("transform",`translate(${-dd/2}, ${pd/2})`),vd&&md.attr("style",vd)}else md=insertPolygonShape(ld,dd,pd,fd);return od&&md.attr("style",od),qa.width=dd,qa.height=pd,updateNodeBounds(qa,md),qa.intersect=function(Ad){return intersect_default.polygon(qa,fd,Ad)},ld}__name(trapezoid,"trapezoid");async function trapezoidalPentagon(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=60,pd=20,fd=Math.max(dd,ud.width+(qa.padding??0)*2,(qa==null?void 0:qa.width)??0),md=Math.max(pd,ud.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),{cssStyles:vd}=qa,Ad=at$3.svg(ld),Nd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Nd.roughness=0,Nd.fillStyle="solid");const Od=[{x:-fd/2*.8,y:-md/2},{x:fd/2*.8,y:-md/2},{x:fd/2,y:-md/2*.6},{x:fd/2,y:md/2},{x:-fd/2,y:md/2},{x:-fd/2,y:-md/2*.6}],kd=createPathFromPoints(Od),Ld=Ad.path(kd,Nd),Gd=ld.insert(()=>Ld,":first-child");return Gd.attr("class","basic label-container"),vd&&qa.look!=="handDrawn"&&Gd.selectChildren("path").attr("style",vd),od&&qa.look!=="handDrawn"&&Gd.selectChildren("path").attr("style",od),updateNodeBounds(qa,Gd),qa.intersect=function(jd){return intersect_default.polygon(qa,Od,jd)},ld}__name(trapezoidalPentagon,"trapezoidalPentagon");async function triangle(Ra,qa){var Fd;const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=evaluate((Fd=getConfig2().flowchart)==null?void 0:Fd.htmlLabels),fd=ud.width+(qa.padding??0),md=fd+ud.height,vd=fd+ud.height,Ad=[{x:0,y:0},{x:vd,y:0},{x:vd/2,y:-md}],{cssStyles:Nd}=qa,Od=at$3.svg(ld),kd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(kd.roughness=0,kd.fillStyle="solid");const Ld=createPathFromPoints(Ad),Gd=Od.path(Ld,kd),jd=ld.insert(()=>Gd,":first-child").attr("transform",`translate(${-md/2}, ${md/2})`);return Nd&&qa.look!=="handDrawn"&&jd.selectChildren("path").attr("style",Nd),od&&qa.look!=="handDrawn"&&jd.selectChildren("path").attr("style",od),qa.width=fd,qa.height=md,updateNodeBounds(qa,jd),dd.attr("transform",`translate(${-ud.width/2-(ud.x-(ud.left??0))}, ${md/2-(ud.height+(qa.padding??0)/(pd?2:1)-(ud.y-(ud.top??0)))})`),qa.intersect=function(Ud){return log$1.info("Triangle intersect",qa,Ad,Ud),intersect_default.polygon(qa,Ad,Ud)},ld}__name(triangle,"triangle");async function waveEdgedRectangle(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=Math.max(ud.width+(qa.padding??0)*2,(qa==null?void 0:qa.width)??0),fd=Math.max(ud.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),md=fd/8,vd=fd+md,{cssStyles:Ad}=qa,Od=70-pd,kd=Od>0?Od/2:0,Ld=at$3.svg(ld),Gd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Gd.roughness=0,Gd.fillStyle="solid");const jd=[{x:-pd/2-kd,y:vd/2},...generateFullSineWavePoints(-pd/2-kd,vd/2,pd/2+kd,vd/2,md,.8),{x:pd/2+kd,y:-vd/2},{x:-pd/2-kd,y:-vd/2}],Fd=createPathFromPoints(jd),Ud=Ld.path(Fd,Gd),qd=ld.insert(()=>Ud,":first-child");return qd.attr("class","basic label-container"),Ad&&qa.look!=="handDrawn"&&qd.selectAll("path").attr("style",Ad),od&&qa.look!=="handDrawn"&&qd.selectAll("path").attr("style",od),qd.attr("transform",`translate(0,${-md/2})`),dd.attr("transform",`translate(${-pd/2+(qa.padding??0)-(ud.x-(ud.left??0))},${-fd/2+(qa.padding??0)-md-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,qd),qa.intersect=function(zd){return intersect_default.polygon(qa,jd,zd)},ld}__name(waveEdgedRectangle,"waveEdgedRectangle");async function waveRectangle(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=100,pd=50,fd=Math.max(ud.width+(qa.padding??0)*2,(qa==null?void 0:qa.width)??0),md=Math.max(ud.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),vd=fd/md;let Ad=fd,Nd=md;Ad>Nd*vd?Nd=Ad/vd:Ad=Nd*vd,Ad=Math.max(Ad,dd),Nd=Math.max(Nd,pd);const Od=Math.min(Nd*.2,Nd/4),kd=Nd+Od*2,{cssStyles:Ld}=qa,Gd=at$3.svg(ld),jd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(jd.roughness=0,jd.fillStyle="solid");const Fd=[{x:-Ad/2,y:kd/2},...generateFullSineWavePoints(-Ad/2,kd/2,Ad/2,kd/2,Od,1),{x:Ad/2,y:-kd/2},...generateFullSineWavePoints(Ad/2,-kd/2,-Ad/2,-kd/2,Od,-1)],Ud=createPathFromPoints(Fd),qd=Gd.path(Ud,jd),zd=ld.insert(()=>qd,":first-child");return zd.attr("class","basic label-container"),Ld&&qa.look!=="handDrawn"&&zd.selectAll("path").attr("style",Ld),od&&qa.look!=="handDrawn"&&zd.selectAll("path").attr("style",od),updateNodeBounds(qa,zd),qa.intersect=function(Wd){return intersect_default.polygon(qa,Fd,Wd)},ld}__name(waveRectangle,"waveRectangle");async function windowPane(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=Math.max(ud.width+(qa.padding??0)*2,(qa==null?void 0:qa.width)??0),fd=Math.max(ud.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),md=5,vd=-pd/2,Ad=-fd/2,{cssStyles:Nd}=qa,Od=at$3.svg(ld),kd=userNodeOverrides(qa,{}),Ld=[{x:vd-md,y:Ad-md},{x:vd-md,y:Ad+fd},{x:vd+pd,y:Ad+fd},{x:vd+pd,y:Ad-md}],Gd=`M${vd-md},${Ad-md} L${vd+pd},${Ad-md} L${vd+pd},${Ad+fd} L${vd-md},${Ad+fd} L${vd-md},${Ad-md}
M${vd-md},${Ad} L${vd+pd},${Ad}
M${vd},${Ad-md} L${vd},${Ad+fd}`;qa.look!=="handDrawn"&&(kd.roughness=0,kd.fillStyle="solid");const jd=Od.path(Gd,kd),Fd=ld.insert(()=>jd,":first-child");return Fd.attr("transform",`translate(${md/2}, ${md/2})`),Fd.attr("class","basic label-container"),Nd&&qa.look!=="handDrawn"&&Fd.selectAll("path").attr("style",Nd),od&&qa.look!=="handDrawn"&&Fd.selectAll("path").attr("style",od),dd.attr("transform",`translate(${-(ud.width/2)+md/2-(ud.x-(ud.left??0))}, ${-(ud.height/2)+md/2-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,Fd),qa.intersect=function(Ud){return intersect_default.polygon(qa,Ld,Ud)},ld}__name(windowPane,"windowPane");async function textHelper(Ra,qa,nd,od,ld=nd.class.padding??12){const ud=od?0:3,dd=Ra.insert("g").attr("class",getNodeClasses(qa)).attr("id",qa.domId||qa.id);let pd=null,fd=null,md=null,vd=null,Ad=0,Nd=0,Od=0;if(pd=dd.insert("g").attr("class","annotation-group text"),qa.annotations.length>0){const Fd=qa.annotations[0];await addText(pd,{text:`«${Fd}»`},0),Ad=pd.node().getBBox().height}fd=dd.insert("g").attr("class","label-group text"),await addText(fd,qa,0,["font-weight: bolder"]);const kd=fd.node().getBBox();Nd=kd.height,md=dd.insert("g").attr("class","members-group text");let Ld=0;for(const Fd of qa.members){const Ud=await addText(md,Fd,Ld,[Fd.parseClassifier()]);Ld+=Ud+ud}Od=md.node().getBBox().height,Od<=0&&(Od=ld/2),vd=dd.insert("g").attr("class","methods-group text");let Gd=0;for(const Fd of qa.methods){const Ud=await addText(vd,Fd,Gd,[Fd.parseClassifier()]);Gd+=Ud+ud}let jd=dd.node().getBBox();if(pd!==null){const Fd=pd.node().getBBox();pd.attr("transform",`translate(${-Fd.width/2})`)}return fd.attr("transform",`translate(${-kd.width/2}, ${Ad})`),jd=dd.node().getBBox(),md.attr("transform",`translate(0, ${Ad+Nd+ld*2})`),jd=dd.node().getBBox(),vd.attr("transform",`translate(0, ${Ad+Nd+(Od?Od+ld*4:ld*2)})`),jd=dd.node().getBBox(),{shapeSvg:dd,bbox:jd}}__name(textHelper,"textHelper");async function addText(Ra,qa,nd,od=[]){const ld=Ra.insert("g").attr("class","label").attr("style",od.join("; ")),ud=getConfig$2();let dd="useHtmlLabels"in qa?qa.useHtmlLabels:evaluate(ud.htmlLabels)??!0,pd="";"text"in qa?pd=qa.text:pd=qa.label,!dd&&pd.startsWith("\\")&&(pd=pd.substring(1)),hasKatex(pd)&&(dd=!0);const fd=await createText(ld,sanitizeText3(decodeEntities(pd)),{width:calculateTextWidth(pd,ud)+50,classes:"markdown-node-label",useHtmlLabels:dd},ud);let md,vd=1;if(dd){const Ad=fd.children[0],Nd=select(fd);vd=Ad.innerHTML.split("<br>").length,Ad.innerHTML.includes("</math>")&&(vd+=Ad.innerHTML.split("<mrow>").length-1);const Od=Ad.getElementsByTagName("img");if(Od){const kd=pd.replace(/<img[^>]*>/g,"").trim()==="";await Promise.all([...Od].map(Ld=>new Promise(Gd=>{function jd(){var Fd;if(Ld.style.display="flex",Ld.style.flexDirection="column",kd){const Ud=((Fd=ud.fontSize)==null?void 0:Fd.toString())??window.getComputedStyle(document.body).fontSize,zd=parseInt(Ud,10)*5+"px";Ld.style.minWidth=zd,Ld.style.maxWidth=zd}else Ld.style.width="100%";Gd(Ld)}__name(jd,"setupImage"),setTimeout(()=>{Ld.complete&&jd()}),Ld.addEventListener("error",jd),Ld.addEventListener("load",jd)})))}md=Ad.getBoundingClientRect(),Nd.attr("width",md.width),Nd.attr("height",md.height)}else{od.includes("font-weight: bolder")&&select(fd).selectAll("tspan").attr("font-weight",""),vd=fd.children.length;const Ad=fd.children[0];(fd.textContent===""||fd.textContent.includes("&gt"))&&(Ad.textContent=pd[0]+pd.substring(1).replaceAll("&gt;",">").replaceAll("&lt;","<").trim(),pd[1]===" "&&(Ad.textContent=Ad.textContent[0]+" "+Ad.textContent.substring(1))),Ad.textContent==="undefined"&&(Ad.textContent=""),md=fd.getBBox()}return ld.attr("transform","translate(0,"+(-md.height/(2*vd)+nd)+")"),md.height}__name(addText,"addText");async function classBox(Ra,qa){var Xd,pf;const nd=getConfig2(),od=nd.class.padding??12,ld=od,ud=qa.useHtmlLabels??evaluate(nd.htmlLabels)??!0,dd=qa;dd.annotations=dd.annotations??[],dd.members=dd.members??[],dd.methods=dd.methods??[];const{shapeSvg:pd,bbox:fd}=await textHelper(Ra,qa,nd,ud,ld),{labelStyles:md,nodeStyles:vd}=styles2String(qa);qa.labelStyle=md,qa.cssStyles=dd.styles||"";const Ad=((Xd=dd.styles)==null?void 0:Xd.join(";"))||vd||"";qa.cssStyles||(qa.cssStyles=Ad.replaceAll("!important","").split(";"));const Nd=dd.members.length===0&&dd.methods.length===0&&!((pf=nd.class)!=null&&pf.hideEmptyMembersBox),Od=at$3.svg(pd),kd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(kd.roughness=0,kd.fillStyle="solid");const Ld=fd.width;let Gd=fd.height;dd.members.length===0&&dd.methods.length===0?Gd+=ld:dd.members.length>0&&dd.methods.length===0&&(Gd+=ld*2);const jd=-Ld/2,Fd=-Gd/2,Ud=Od.rectangle(jd-od,Fd-od-(Nd?od:dd.members.length===0&&dd.methods.length===0?-od/2:0),Ld+2*od,Gd+2*od+(Nd?od*2:dd.members.length===0&&dd.methods.length===0?-od:0),kd),qd=pd.insert(()=>Ud,":first-child");qd.attr("class","basic label-container");const zd=qd.node().getBBox();pd.selectAll(".text").each((mf,Sf,Tf)=>{var Qf;const Af=select(Tf[Sf]),Ef=Af.attr("transform");let Nf=0;if(Ef){const ph=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(Ef);ph&&(Nf=parseFloat(ph[2]))}let If=Nf+Fd+od-(Nd?od:dd.members.length===0&&dd.methods.length===0?-od/2:0);ud||(If-=4);let Gf=jd;(Af.attr("class").includes("label-group")||Af.attr("class").includes("annotation-group"))&&(Gf=-((Qf=Af.node())==null?void 0:Qf.getBBox().width)/2||0,pd.selectAll("text").each(function(Xf,ph,qf){window.getComputedStyle(qf[ph]).textAnchor==="middle"&&(Gf=0)})),Af.attr("transform",`translate(${Gf}, ${If})`)});const Wd=pd.select(".annotation-group").node().getBBox().height-(Nd?od/2:0)||0,Jd=pd.select(".label-group").node().getBBox().height-(Nd?od/2:0)||0,_f=pd.select(".members-group").node().getBBox().height-(Nd?od/2:0)||0;if(dd.members.length>0||dd.methods.length>0||Nd){const mf=Od.line(zd.x,Wd+Jd+Fd+od,zd.x+zd.width,Wd+Jd+Fd+od,kd);pd.insert(()=>mf).attr("class","divider").attr("style",Ad)}if(Nd||dd.members.length>0||dd.methods.length>0){const mf=Od.line(zd.x,Wd+Jd+_f+Fd+ld*2+od,zd.x+zd.width,Wd+Jd+_f+Fd+od+ld*2,kd);pd.insert(()=>mf).attr("class","divider").attr("style",Ad)}if(dd.look!=="handDrawn"&&pd.selectAll("path").attr("style",Ad),qd.select(":nth-child(2)").attr("style",Ad),pd.selectAll(".divider").select("path").attr("style",Ad),qa.labelStyle?pd.selectAll("span").attr("style",qa.labelStyle):pd.selectAll("span").attr("style",Ad),!ud){const mf=RegExp(/color\s*:\s*([^;]*)/),Sf=mf.exec(Ad);if(Sf){const Tf=Sf[0].replace("color","fill");pd.selectAll("tspan").attr("style",Tf)}else if(md){const Tf=mf.exec(md);if(Tf){const Af=Tf[0].replace("color","fill");pd.selectAll("tspan").attr("style",Af)}}}return updateNodeBounds(qa,qd),qa.intersect=function(mf){return intersect_default.rect(qa,mf)},pd}__name(classBox,"classBox");var colorFromPriority=__name(Ra=>{switch(Ra){case"Very High":return"red";case"High":return"orange";case"Medium":return null;case"Low":return"blue";case"Very Low":return"lightblue"}},"colorFromPriority");async function kanbanItem(Ra,qa,{config:nd}){var Sf,Tf;const{labelStyles:od,nodeStyles:ld}=styles2String(qa);qa.labelStyle=od||"";const ud=10,dd=qa.width;qa.width=(qa.width??200)-10;const{shapeSvg:pd,bbox:fd,label:md}=await labelHelper(Ra,qa,getNodeClasses(qa)),vd=qa.padding||10;let Ad="",Nd;"ticket"in qa&&qa.ticket&&((Sf=nd==null?void 0:nd.kanban)!=null&&Sf.ticketBaseUrl)&&(Ad=(Tf=nd==null?void 0:nd.kanban)==null?void 0:Tf.ticketBaseUrl.replace("#TICKET#",qa.ticket),Nd=pd.insert("svg:a",":first-child").attr("class","kanban-ticket-link").attr("xlink:href",Ad).attr("target","_blank"));const Od={useHtmlLabels:qa.useHtmlLabels,labelStyle:qa.labelStyle||"",width:qa.width,img:qa.img,padding:qa.padding||8,centerLabel:!1};let kd,Ld;Nd?{label:kd,bbox:Ld}=await insertLabel(Nd,"ticket"in qa&&qa.ticket||"",Od):{label:kd,bbox:Ld}=await insertLabel(pd,"ticket"in qa&&qa.ticket||"",Od);const{label:Gd,bbox:jd}=await insertLabel(pd,"assigned"in qa&&qa.assigned||"",Od);qa.width=dd;const Fd=10,Ud=(qa==null?void 0:qa.width)||0,qd=Math.max(Ld.height,jd.height)/2,zd=Math.max(fd.height+Fd*2,(qa==null?void 0:qa.height)||0)+qd,Wd=-Ud/2,Jd=-zd/2;md.attr("transform","translate("+(vd-Ud/2)+", "+(-qd-fd.height/2)+")"),kd.attr("transform","translate("+(vd-Ud/2)+", "+(-qd+fd.height/2)+")"),Gd.attr("transform","translate("+(vd+Ud/2-jd.width-2*ud)+", "+(-qd+fd.height/2)+")");let _f;const{rx:Xd,ry:pf}=qa,{cssStyles:mf}=qa;if(qa.look==="handDrawn"){const Af=at$3.svg(pd),Ef=userNodeOverrides(qa,{}),Nf=Xd||pf?Af.path(createRoundedRectPathD(Wd,Jd,Ud,zd,Xd||0),Ef):Af.rectangle(Wd,Jd,Ud,zd,Ef);_f=pd.insert(()=>Nf,":first-child"),_f.attr("class","basic label-container").attr("style",mf||null)}else{_f=pd.insert("rect",":first-child"),_f.attr("class","basic label-container __APA__").attr("style",ld).attr("rx",Xd??5).attr("ry",pf??5).attr("x",Wd).attr("y",Jd).attr("width",Ud).attr("height",zd);const Af="priority"in qa&&qa.priority;if(Af){const Ef=pd.append("line"),Nf=Wd+2,If=Jd+Math.floor((Xd??0)/2),Gf=Jd+zd-Math.floor((Xd??0)/2);Ef.attr("x1",Nf).attr("y1",If).attr("x2",Nf).attr("y2",Gf).attr("stroke-width","4").attr("stroke",colorFromPriority(Af))}}return updateNodeBounds(qa,_f),qa.height=zd,qa.intersect=function(Af){return intersect_default.rect(qa,Af)},pd}__name(kanbanItem,"kanbanItem");var shapesDefs=[{semanticName:"Process",name:"Rectangle",shortName:"rect",description:"Standard process shape",aliases:["proc","process","rectangle"],internalAliases:["squareRect"],handler:squareRect2},{semanticName:"Event",name:"Rounded Rectangle",shortName:"rounded",description:"Represents an event",aliases:["event"],internalAliases:["roundedRect"],handler:roundedRect},{semanticName:"Terminal Point",name:"Stadium",shortName:"stadium",description:"Terminal point",aliases:["terminal","pill"],handler:stadium},{semanticName:"Subprocess",name:"Framed Rectangle",shortName:"fr-rect",description:"Subprocess",aliases:["subprocess","subproc","framed-rectangle","subroutine"],handler:subroutine},{semanticName:"Database",name:"Cylinder",shortName:"cyl",description:"Database storage",aliases:["db","database","cylinder"],handler:cylinder},{semanticName:"Start",name:"Circle",shortName:"circle",description:"Starting point",aliases:["circ"],handler:circle$1},{semanticName:"Decision",name:"Diamond",shortName:"diam",description:"Decision-making step",aliases:["decision","diamond","question"],handler:question},{semanticName:"Prepare Conditional",name:"Hexagon",shortName:"hex",description:"Preparation or condition step",aliases:["hexagon","prepare"],handler:hexagon},{semanticName:"Data Input/Output",name:"Lean Right",shortName:"lean-r",description:"Represents input or output",aliases:["lean-right","in-out"],internalAliases:["lean_right"],handler:lean_right},{semanticName:"Data Input/Output",name:"Lean Left",shortName:"lean-l",description:"Represents output or input",aliases:["lean-left","out-in"],internalAliases:["lean_left"],handler:lean_left},{semanticName:"Priority Action",name:"Trapezoid Base Bottom",shortName:"trap-b",description:"Priority action",aliases:["priority","trapezoid-bottom","trapezoid"],handler:trapezoid},{semanticName:"Manual Operation",name:"Trapezoid Base Top",shortName:"trap-t",description:"Represents a manual task",aliases:["manual","trapezoid-top","inv-trapezoid"],internalAliases:["inv_trapezoid"],handler:inv_trapezoid},{semanticName:"Stop",name:"Double Circle",shortName:"dbl-circ",description:"Represents a stop point",aliases:["double-circle"],internalAliases:["doublecircle"],handler:doublecircle},{semanticName:"Text Block",name:"Text Block",shortName:"text",description:"Text block",handler:text},{semanticName:"Card",name:"Notched Rectangle",shortName:"notch-rect",description:"Represents a card",aliases:["card","notched-rectangle"],handler:card},{semanticName:"Lined/Shaded Process",name:"Lined Rectangle",shortName:"lin-rect",description:"Lined process shape",aliases:["lined-rectangle","lined-process","lin-proc","shaded-process"],handler:shadedProcess},{semanticName:"Start",name:"Small Circle",shortName:"sm-circ",description:"Small starting point",aliases:["start","small-circle"],internalAliases:["stateStart"],handler:stateStart},{semanticName:"Stop",name:"Framed Circle",shortName:"fr-circ",description:"Stop point",aliases:["stop","framed-circle"],internalAliases:["stateEnd"],handler:stateEnd},{semanticName:"Fork/Join",name:"Filled Rectangle",shortName:"fork",description:"Fork or join in process flow",aliases:["join"],internalAliases:["forkJoin"],handler:forkJoin},{semanticName:"Collate",name:"Hourglass",shortName:"hourglass",description:"Represents a collate operation",aliases:["hourglass","collate"],handler:hourglass},{semanticName:"Comment",name:"Curly Brace",shortName:"brace",description:"Adds a comment",aliases:["comment","brace-l"],handler:curlyBraceLeft},{semanticName:"Comment Right",name:"Curly Brace",shortName:"brace-r",description:"Adds a comment",handler:curlyBraceRight},{semanticName:"Comment with braces on both sides",name:"Curly Braces",shortName:"braces",description:"Adds a comment",handler:curlyBraces},{semanticName:"Com Link",name:"Lightning Bolt",shortName:"bolt",description:"Communication link",aliases:["com-link","lightning-bolt"],handler:lightningBolt},{semanticName:"Document",name:"Document",shortName:"doc",description:"Represents a document",aliases:["doc","document"],handler:waveEdgedRectangle},{semanticName:"Delay",name:"Half-Rounded Rectangle",shortName:"delay",description:"Represents a delay",aliases:["half-rounded-rectangle"],handler:halfRoundedRectangle},{semanticName:"Direct Access Storage",name:"Horizontal Cylinder",shortName:"h-cyl",description:"Direct access storage",aliases:["das","horizontal-cylinder"],handler:tiltedCylinder},{semanticName:"Disk Storage",name:"Lined Cylinder",shortName:"lin-cyl",description:"Disk storage",aliases:["disk","lined-cylinder"],handler:linedCylinder},{semanticName:"Display",name:"Curved Trapezoid",shortName:"curv-trap",description:"Represents a display",aliases:["curved-trapezoid","display"],handler:curvedTrapezoid},{semanticName:"Divided Process",name:"Divided Rectangle",shortName:"div-rect",description:"Divided process shape",aliases:["div-proc","divided-rectangle","divided-process"],handler:dividedRectangle},{semanticName:"Extract",name:"Triangle",shortName:"tri",description:"Extraction process",aliases:["extract","triangle"],handler:triangle},{semanticName:"Internal Storage",name:"Window Pane",shortName:"win-pane",description:"Internal storage",aliases:["internal-storage","window-pane"],handler:windowPane},{semanticName:"Junction",name:"Filled Circle",shortName:"f-circ",description:"Junction point",aliases:["junction","filled-circle"],handler:filledCircle},{semanticName:"Loop Limit",name:"Trapezoidal Pentagon",shortName:"notch-pent",description:"Loop limit step",aliases:["loop-limit","notched-pentagon"],handler:trapezoidalPentagon},{semanticName:"Manual File",name:"Flipped Triangle",shortName:"flip-tri",description:"Manual file operation",aliases:["manual-file","flipped-triangle"],handler:flippedTriangle},{semanticName:"Manual Input",name:"Sloped Rectangle",shortName:"sl-rect",description:"Manual input step",aliases:["manual-input","sloped-rectangle"],handler:slopedRect},{semanticName:"Multi-Document",name:"Stacked Document",shortName:"docs",description:"Multiple documents",aliases:["documents","st-doc","stacked-document"],handler:multiWaveEdgedRectangle},{semanticName:"Multi-Process",name:"Stacked Rectangle",shortName:"st-rect",description:"Multiple processes",aliases:["procs","processes","stacked-rectangle"],handler:multiRect},{semanticName:"Stored Data",name:"Bow Tie Rectangle",shortName:"bow-rect",description:"Stored data",aliases:["stored-data","bow-tie-rectangle"],handler:bowTieRect},{semanticName:"Summary",name:"Crossed Circle",shortName:"cross-circ",description:"Summary",aliases:["summary","crossed-circle"],handler:crossedCircle},{semanticName:"Tagged Document",name:"Tagged Document",shortName:"tag-doc",description:"Tagged document",aliases:["tag-doc","tagged-document"],handler:taggedWaveEdgedRectangle},{semanticName:"Tagged Process",name:"Tagged Rectangle",shortName:"tag-rect",description:"Tagged process",aliases:["tagged-rectangle","tag-proc","tagged-process"],handler:taggedRect},{semanticName:"Paper Tape",name:"Flag",shortName:"flag",description:"Paper tape",aliases:["paper-tape"],handler:waveRectangle},{semanticName:"Odd",name:"Odd",shortName:"odd",description:"Odd shape",internalAliases:["rect_left_inv_arrow"],handler:rect_left_inv_arrow},{semanticName:"Lined Document",name:"Lined Document",shortName:"lin-doc",description:"Lined document",aliases:["lined-document"],handler:linedWaveEdgedRect}],generateShapeMap=__name(()=>{const qa=[...Object.entries({state:state$1,choice,note,rectWithTitle,labelRect,iconSquare,iconCircle,icon,iconRounded,imageSquare,anchor,kanbanItem,classBox}),...shapesDefs.flatMap(nd=>[nd.shortName,..."aliases"in nd?nd.aliases:[],..."internalAliases"in nd?nd.internalAliases:[]].map(ld=>[ld,nd.handler]))];return Object.fromEntries(qa)},"generateShapeMap"),shapes2=generateShapeMap();function isValidShape(Ra){return Ra in shapes2}__name(isValidShape,"isValidShape");var nodeElems=new Map;async function insertNode(Ra,qa,nd){let od,ld;qa.shape==="rect"&&(qa.rx&&qa.ry?qa.shape="roundedRect":qa.shape="squareRect");const ud=qa.shape?shapes2[qa.shape]:void 0;if(!ud)throw new Error(`No such shape: ${qa.shape}. Please check your syntax.`);if(qa.link){let dd;nd.config.securityLevel==="sandbox"?dd="_top":qa.linkTarget&&(dd=qa.linkTarget||"_blank"),od=Ra.insert("svg:a").attr("xlink:href",qa.link).attr("target",dd??null),ld=await ud(od,qa,nd)}else ld=await ud(Ra,qa,nd),od=ld;return qa.tooltip&&ld.attr("title",qa.tooltip),nodeElems.set(qa.id,od),qa.haveCallback&&od.attr("class",od.attr("class")+" clickable"),od}__name(insertNode,"insertNode");var setNodeElem=__name((Ra,qa)=>{nodeElems.set(qa.id,Ra)},"setNodeElem"),clear2=__name(()=>{nodeElems.clear()},"clear"),positionNode=__name(Ra=>{const qa=nodeElems.get(Ra.id);log$1.trace("Transforming node",Ra.diff,Ra,"translate("+(Ra.x-Ra.width/2-5)+", "+Ra.width/2+")");const nd=8,od=Ra.diff||0;return Ra.clusterNode?qa.attr("transform","translate("+(Ra.x+od-Ra.width/2)+", "+(Ra.y-Ra.height/2-nd)+")"):qa.attr("transform","translate("+Ra.x+", "+Ra.y+")"),od},"positionNode"),markerOffsets={aggregation:18,extension:18,composition:18,dependency:6,lollipop:13.5,arrow_point:4};function calculateDeltaAndAngle(Ra,qa){if(Ra===void 0||qa===void 0)return{angle:0,deltaX:0,deltaY:0};Ra=pointTransformer(Ra),qa=pointTransformer(qa);const[nd,od]=[Ra.x,Ra.y],[ld,ud]=[qa.x,qa.y],dd=ld-nd,pd=ud-od;return{angle:Math.atan(pd/dd),deltaX:dd,deltaY:pd}}__name(calculateDeltaAndAngle,"calculateDeltaAndAngle");var pointTransformer=__name(Ra=>Array.isArray(Ra)?{x:Ra[0],y:Ra[1]}:Ra,"pointTransformer"),getLineFunctionsWithOffset=__name(Ra=>({x:__name(function(qa,nd,od){let ld=0;const ud=pointTransformer(od[0]).x<pointTransformer(od[od.length-1]).x?"left":"right";if(nd===0&&Object.hasOwn(markerOffsets,Ra.arrowTypeStart)){const{angle:Od,deltaX:kd}=calculateDeltaAndAngle(od[0],od[1]);ld=markerOffsets[Ra.arrowTypeStart]*Math.cos(Od)*(kd>=0?1:-1)}else if(nd===od.length-1&&Object.hasOwn(markerOffsets,Ra.arrowTypeEnd)){const{angle:Od,deltaX:kd}=calculateDeltaAndAngle(od[od.length-1],od[od.length-2]);ld=markerOffsets[Ra.arrowTypeEnd]*Math.cos(Od)*(kd>=0?1:-1)}const dd=Math.abs(pointTransformer(qa).x-pointTransformer(od[od.length-1]).x),pd=Math.abs(pointTransformer(qa).y-pointTransformer(od[od.length-1]).y),fd=Math.abs(pointTransformer(qa).x-pointTransformer(od[0]).x),md=Math.abs(pointTransformer(qa).y-pointTransformer(od[0]).y),vd=markerOffsets[Ra.arrowTypeStart],Ad=markerOffsets[Ra.arrowTypeEnd],Nd=1;if(dd<Ad&&dd>0&&pd<Ad){let Od=Ad+Nd-dd;Od*=ud==="right"?-1:1,ld-=Od}if(fd<vd&&fd>0&&md<vd){let Od=vd+Nd-fd;Od*=ud==="right"?-1:1,ld+=Od}return pointTransformer(qa).x+ld},"x"),y:__name(function(qa,nd,od){let ld=0;const ud=pointTransformer(od[0]).y<pointTransformer(od[od.length-1]).y?"down":"up";if(nd===0&&Object.hasOwn(markerOffsets,Ra.arrowTypeStart)){const{angle:Od,deltaY:kd}=calculateDeltaAndAngle(od[0],od[1]);ld=markerOffsets[Ra.arrowTypeStart]*Math.abs(Math.sin(Od))*(kd>=0?1:-1)}else if(nd===od.length-1&&Object.hasOwn(markerOffsets,Ra.arrowTypeEnd)){const{angle:Od,deltaY:kd}=calculateDeltaAndAngle(od[od.length-1],od[od.length-2]);ld=markerOffsets[Ra.arrowTypeEnd]*Math.abs(Math.sin(Od))*(kd>=0?1:-1)}const dd=Math.abs(pointTransformer(qa).y-pointTransformer(od[od.length-1]).y),pd=Math.abs(pointTransformer(qa).x-pointTransformer(od[od.length-1]).x),fd=Math.abs(pointTransformer(qa).y-pointTransformer(od[0]).y),md=Math.abs(pointTransformer(qa).x-pointTransformer(od[0]).x),vd=markerOffsets[Ra.arrowTypeStart],Ad=markerOffsets[Ra.arrowTypeEnd],Nd=1;if(dd<Ad&&dd>0&&pd<Ad){let Od=Ad+Nd-dd;Od*=ud==="up"?-1:1,ld-=Od}if(fd<vd&&fd>0&&md<vd){let Od=vd+Nd-fd;Od*=ud==="up"?-1:1,ld+=Od}return pointTransformer(qa).y+ld},"y")}),"getLineFunctionsWithOffset"),addEdgeMarkers=__name((Ra,qa,nd,od,ld)=>{qa.arrowTypeStart&&addEdgeMarker(Ra,"start",qa.arrowTypeStart,nd,od,ld),qa.arrowTypeEnd&&addEdgeMarker(Ra,"end",qa.arrowTypeEnd,nd,od,ld)},"addEdgeMarkers"),arrowTypesMap={arrow_cross:"cross",arrow_point:"point",arrow_barb:"barb",arrow_circle:"circle",aggregation:"aggregation",extension:"extension",composition:"composition",dependency:"dependency",lollipop:"lollipop"},addEdgeMarker=__name((Ra,qa,nd,od,ld,ud)=>{const dd=arrowTypesMap[nd];if(!dd){log$1.warn(`Unknown arrow type: ${nd}`);return}const pd=qa==="start"?"Start":"End";Ra.attr(`marker-${qa}`,`url(${od}#${ld}_${ud}-${dd}${pd})`)},"addEdgeMarker"),edgeLabels=new Map,terminalLabels=new Map,clear=__name(()=>{edgeLabels.clear(),terminalLabels.clear()},"clear"),getLabelStyles=__name(Ra=>Ra?Ra.reduce((nd,od)=>nd+";"+od,""):"","getLabelStyles"),insertEdgeLabel=__name(async(Ra,qa)=>{let nd=evaluate(getConfig2().flowchart.htmlLabels);const od=await createText(Ra,qa.label,{style:getLabelStyles(qa.labelStyle),useHtmlLabels:nd,addSvgBackground:!0,isNode:!1});log$1.info("abc82",qa,qa.labelType);const ld=Ra.insert("g").attr("class","edgeLabel"),ud=ld.insert("g").attr("class","label");ud.node().appendChild(od);let dd=od.getBBox();if(nd){const fd=od.children[0],md=select(od);dd=fd.getBoundingClientRect(),md.attr("width",dd.width),md.attr("height",dd.height)}ud.attr("transform","translate("+-dd.width/2+", "+-dd.height/2+")"),edgeLabels.set(qa.id,ld),qa.width=dd.width,qa.height=dd.height;let pd;if(qa.startLabelLeft){const fd=await createLabel_default(qa.startLabelLeft,getLabelStyles(qa.labelStyle)),md=Ra.insert("g").attr("class","edgeTerminals"),vd=md.insert("g").attr("class","inner");pd=vd.node().appendChild(fd);const Ad=fd.getBBox();vd.attr("transform","translate("+-Ad.width/2+", "+-Ad.height/2+")"),terminalLabels.get(qa.id)||terminalLabels.set(qa.id,{}),terminalLabels.get(qa.id).startLeft=md,setTerminalWidth(pd,qa.startLabelLeft)}if(qa.startLabelRight){const fd=await createLabel_default(qa.startLabelRight,getLabelStyles(qa.labelStyle)),md=Ra.insert("g").attr("class","edgeTerminals"),vd=md.insert("g").attr("class","inner");pd=md.node().appendChild(fd),vd.node().appendChild(fd);const Ad=fd.getBBox();vd.attr("transform","translate("+-Ad.width/2+", "+-Ad.height/2+")"),terminalLabels.get(qa.id)||terminalLabels.set(qa.id,{}),terminalLabels.get(qa.id).startRight=md,setTerminalWidth(pd,qa.startLabelRight)}if(qa.endLabelLeft){const fd=await createLabel_default(qa.endLabelLeft,getLabelStyles(qa.labelStyle)),md=Ra.insert("g").attr("class","edgeTerminals"),vd=md.insert("g").attr("class","inner");pd=vd.node().appendChild(fd);const Ad=fd.getBBox();vd.attr("transform","translate("+-Ad.width/2+", "+-Ad.height/2+")"),md.node().appendChild(fd),terminalLabels.get(qa.id)||terminalLabels.set(qa.id,{}),terminalLabels.get(qa.id).endLeft=md,setTerminalWidth(pd,qa.endLabelLeft)}if(qa.endLabelRight){const fd=await createLabel_default(qa.endLabelRight,getLabelStyles(qa.labelStyle)),md=Ra.insert("g").attr("class","edgeTerminals"),vd=md.insert("g").attr("class","inner");pd=vd.node().appendChild(fd);const Ad=fd.getBBox();vd.attr("transform","translate("+-Ad.width/2+", "+-Ad.height/2+")"),md.node().appendChild(fd),terminalLabels.get(qa.id)||terminalLabels.set(qa.id,{}),terminalLabels.get(qa.id).endRight=md,setTerminalWidth(pd,qa.endLabelRight)}return od},"insertEdgeLabel");function setTerminalWidth(Ra,qa){getConfig2().flowchart.htmlLabels&&Ra&&(Ra.style.width=qa.length*9+"px",Ra.style.height="12px")}__name(setTerminalWidth,"setTerminalWidth");var positionEdgeLabel=__name((Ra,qa)=>{log$1.debug("Moving label abc88 ",Ra.id,Ra.label,edgeLabels.get(Ra.id),qa);let nd=qa.updatedPath?qa.updatedPath:qa.originalPath;const od=getConfig2(),{subGraphTitleTotalMargin:ld}=getSubGraphTitleMargins(od);if(Ra.label){const ud=edgeLabels.get(Ra.id);let dd=Ra.x,pd=Ra.y;if(nd){const fd=utils_default.calcLabelPosition(nd);log$1.debug("Moving label "+Ra.label+" from (",dd,",",pd,") to (",fd.x,",",fd.y,") abc88"),qa.updatedPath&&(dd=fd.x,pd=fd.y)}ud.attr("transform",`translate(${dd}, ${pd+ld/2})`)}if(Ra.startLabelLeft){const ud=terminalLabels.get(Ra.id).startLeft;let dd=Ra.x,pd=Ra.y;if(nd){const fd=utils_default.calcTerminalLabelPosition(Ra.arrowTypeStart?10:0,"start_left",nd);dd=fd.x,pd=fd.y}ud.attr("transform",`translate(${dd}, ${pd})`)}if(Ra.startLabelRight){const ud=terminalLabels.get(Ra.id).startRight;let dd=Ra.x,pd=Ra.y;if(nd){const fd=utils_default.calcTerminalLabelPosition(Ra.arrowTypeStart?10:0,"start_right",nd);dd=fd.x,pd=fd.y}ud.attr("transform",`translate(${dd}, ${pd})`)}if(Ra.endLabelLeft){const ud=terminalLabels.get(Ra.id).endLeft;let dd=Ra.x,pd=Ra.y;if(nd){const fd=utils_default.calcTerminalLabelPosition(Ra.arrowTypeEnd?10:0,"end_left",nd);dd=fd.x,pd=fd.y}ud.attr("transform",`translate(${dd}, ${pd})`)}if(Ra.endLabelRight){const ud=terminalLabels.get(Ra.id).endRight;let dd=Ra.x,pd=Ra.y;if(nd){const fd=utils_default.calcTerminalLabelPosition(Ra.arrowTypeEnd?10:0,"end_right",nd);dd=fd.x,pd=fd.y}ud.attr("transform",`translate(${dd}, ${pd})`)}},"positionEdgeLabel"),outsideNode=__name((Ra,qa)=>{const nd=Ra.x,od=Ra.y,ld=Math.abs(qa.x-nd),ud=Math.abs(qa.y-od),dd=Ra.width/2,pd=Ra.height/2;return ld>=dd||ud>=pd},"outsideNode"),intersection=__name((Ra,qa,nd)=>{log$1.debug(`intersection calc abc89:
outsidePoint: ${JSON.stringify(qa)}
insidePoint : ${JSON.stringify(nd)}
node : x:${Ra.x} y:${Ra.y} w:${Ra.width} h:${Ra.height}`);const od=Ra.x,ld=Ra.y,ud=Math.abs(od-nd.x),dd=Ra.width/2;let pd=nd.x<qa.x?dd-ud:dd+ud;const fd=Ra.height/2,md=Math.abs(qa.y-nd.y),vd=Math.abs(qa.x-nd.x);if(Math.abs(ld-qa.y)*dd>Math.abs(od-qa.x)*fd){let Ad=nd.y<qa.y?qa.y-fd-ld:ld-fd-qa.y;pd=vd*Ad/md;const Nd={x:nd.x<qa.x?nd.x+pd:nd.x-vd+pd,y:nd.y<qa.y?nd.y+md-Ad:nd.y-md+Ad};return pd===0&&(Nd.x=qa.x,Nd.y=qa.y),vd===0&&(Nd.x=qa.x),md===0&&(Nd.y=qa.y),log$1.debug(`abc89 top/bottom calc, Q ${md}, q ${Ad}, R ${vd}, r ${pd}`,Nd),Nd}else{nd.x<qa.x?pd=qa.x-dd-od:pd=od-dd-qa.x;let Ad=md*pd/vd,Nd=nd.x<qa.x?nd.x+vd-pd:nd.x-vd+pd,Od=nd.y<qa.y?nd.y+Ad:nd.y-Ad;return log$1.debug(`sides calc abc89, Q ${md}, q ${Ad}, R ${vd}, r ${pd}`,{_x:Nd,_y:Od}),pd===0&&(Nd=qa.x,Od=qa.y),vd===0&&(Nd=qa.x),md===0&&(Od=qa.y),{x:Nd,y:Od}}},"intersection"),cutPathAtIntersect=__name((Ra,qa)=>{log$1.warn("abc88 cutPathAtIntersect",Ra,qa);let nd=[],od=Ra[0],ld=!1;return Ra.forEach(ud=>{if(log$1.info("abc88 checking point",ud,qa),!outsideNode(qa,ud)&&!ld){const dd=intersection(qa,od,ud);log$1.debug("abc88 inside",ud,od,dd),log$1.debug("abc88 intersection",dd,qa);let pd=!1;nd.forEach(fd=>{pd=pd||fd.x===dd.x&&fd.y===dd.y}),nd.some(fd=>fd.x===dd.x&&fd.y===dd.y)?log$1.warn("abc88 no intersect",dd,nd):nd.push(dd),ld=!0}else log$1.warn("abc88 outside",ud,od),od=ud,ld||nd.push(ud)}),log$1.debug("returning points",nd),nd},"cutPathAtIntersect");function extractCornerPoints(Ra){const qa=[],nd=[];for(let od=1;od<Ra.length-1;od++){const ld=Ra[od-1],ud=Ra[od],dd=Ra[od+1];(ld.x===ud.x&&ud.y===dd.y&&Math.abs(ud.x-dd.x)>5&&Math.abs(ud.y-ld.y)>5||ld.y===ud.y&&ud.x===dd.x&&Math.abs(ud.x-ld.x)>5&&Math.abs(ud.y-dd.y)>5)&&(qa.push(ud),nd.push(od))}return{cornerPoints:qa,cornerPointPositions:nd}}__name(extractCornerPoints,"extractCornerPoints");var findAdjacentPoint=__name(function(Ra,qa,nd){const od=qa.x-Ra.x,ld=qa.y-Ra.y,ud=Math.sqrt(od*od+ld*ld),dd=nd/ud;return{x:qa.x-dd*od,y:qa.y-dd*ld}},"findAdjacentPoint"),fixCorners=__name(function(Ra){const{cornerPointPositions:qa}=extractCornerPoints(Ra),nd=[];for(let od=0;od<Ra.length;od++)if(qa.includes(od)){const ld=Ra[od-1],ud=Ra[od+1],dd=Ra[od],pd=findAdjacentPoint(ld,dd,5),fd=findAdjacentPoint(ud,dd,5),md=fd.x-pd.x,vd=fd.y-pd.y;nd.push(pd);const Ad=Math.sqrt(2)*2;let Nd={x:dd.x,y:dd.y};if(Math.abs(ud.x-ld.x)>10&&Math.abs(ud.y-ld.y)>=10){log$1.debug("Corner point fixing",Math.abs(ud.x-ld.x),Math.abs(ud.y-ld.y));const Od=5;dd.x===pd.x?Nd={x:md<0?pd.x-Od+Ad:pd.x+Od-Ad,y:vd<0?pd.y-Ad:pd.y+Ad}:Nd={x:md<0?pd.x-Ad:pd.x+Ad,y:vd<0?pd.y-Od+Ad:pd.y+Od-Ad}}else log$1.debug("Corner point skipping fixing",Math.abs(ud.x-ld.x),Math.abs(ud.y-ld.y));nd.push(Nd,fd)}else nd.push(Ra[od]);return nd},"fixCorners"),insertEdge=__name(function(Ra,qa,nd,od,ld,ud,dd){const{handDrawnSeed:pd}=getConfig2();let fd=qa.points,md=!1;const vd=ld;var Ad=ud;Ad.intersect&&vd.intersect&&(fd=fd.slice(1,qa.points.length-1),fd.unshift(vd.intersect(fd[0])),log$1.debug("Last point APA12",qa.start,"-->",qa.end,fd[fd.length-1],Ad,Ad.intersect(fd[fd.length-1])),fd.push(Ad.intersect(fd[fd.length-1]))),qa.toCluster&&(log$1.info("to cluster abc88",nd.get(qa.toCluster)),fd=cutPathAtIntersect(qa.points,nd.get(qa.toCluster).node),md=!0),qa.fromCluster&&(log$1.debug("from cluster abc88",nd.get(qa.fromCluster),JSON.stringify(fd,null,2)),fd=cutPathAtIntersect(fd.reverse(),nd.get(qa.fromCluster).node).reverse(),md=!0);let Nd=fd.filter(Jd=>!Number.isNaN(Jd.y));Nd=fixCorners(Nd);let Od=curveBasis;qa.curve&&(Od=qa.curve);const{x:kd,y:Ld}=getLineFunctionsWithOffset(qa),Gd=line$1().x(kd).y(Ld).curve(Od);let jd;switch(qa.thickness){case"normal":jd="edge-thickness-normal";break;case"thick":jd="edge-thickness-thick";break;case"invisible":jd="edge-thickness-invisible";break;default:jd="edge-thickness-normal"}switch(qa.pattern){case"solid":jd+=" edge-pattern-solid";break;case"dotted":jd+=" edge-pattern-dotted";break;case"dashed":jd+=" edge-pattern-dashed";break;default:jd+=" edge-pattern-solid"}let Fd,Ud=Gd(Nd);const qd=Array.isArray(qa.style)?qa.style:[qa.style];if(qa.look==="handDrawn"){const Jd=at$3.svg(Ra);Object.assign([],Nd);const _f=Jd.path(Ud,{roughness:.3,seed:pd});jd+=" transition",Fd=select(_f).select("path").attr("id",qa.id).attr("class"," "+jd+(qa.classes?" "+qa.classes:"")).attr("style",qd?qd.reduce((pf,mf)=>pf+";"+mf,""):"");let Xd=Fd.attr("d");Fd.attr("d",Xd),Ra.node().appendChild(Fd.node())}else Fd=Ra.append("path").attr("d",Ud).attr("id",qa.id).attr("class"," "+jd+(qa.classes?" "+qa.classes:"")).attr("style",qd?qd.reduce((Jd,_f)=>Jd+";"+_f,""):"");let zd="";(getConfig2().flowchart.arrowMarkerAbsolute||getConfig2().state.arrowMarkerAbsolute)&&(zd=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,zd=zd.replace(/\(/g,"\\(").replace(/\)/g,"\\)")),log$1.info("arrowTypeStart",qa.arrowTypeStart),log$1.info("arrowTypeEnd",qa.arrowTypeEnd),addEdgeMarkers(Fd,qa,zd,dd,od);let Wd={};return md&&(Wd.updatedPath=fd),Wd.originalPath=qa.points,Wd},"insertEdge"),insertMarkers=__name((Ra,qa,nd,od)=>{qa.forEach(ld=>{markers[ld](Ra,nd,od)})},"insertMarkers"),extension=__name((Ra,qa,nd)=>{log$1.trace("Making markers for ",nd),Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-extensionStart").attr("class","marker extension "+qa).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-extensionEnd").attr("class","marker extension "+qa).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},"extension"),composition=__name((Ra,qa,nd)=>{Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-compositionStart").attr("class","marker composition "+qa).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-compositionEnd").attr("class","marker composition "+qa).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"composition"),aggregation=__name((Ra,qa,nd)=>{Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-aggregationStart").attr("class","marker aggregation "+qa).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-aggregationEnd").attr("class","marker aggregation "+qa).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"aggregation"),dependency=__name((Ra,qa,nd)=>{Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-dependencyStart").attr("class","marker dependency "+qa).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-dependencyEnd").attr("class","marker dependency "+qa).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"dependency"),lollipop=__name((Ra,qa,nd)=>{Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-lollipopStart").attr("class","marker lollipop "+qa).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-lollipopEnd").attr("class","marker lollipop "+qa).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},"lollipop"),point=__name((Ra,qa,nd)=>{Ra.append("marker").attr("id",nd+"_"+qa+"-pointEnd").attr("class","marker "+qa).attr("viewBox","0 0 10 10").attr("refX",5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),Ra.append("marker").attr("id",nd+"_"+qa+"-pointStart").attr("class","marker "+qa).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"point"),circle=__name((Ra,qa,nd)=>{Ra.append("marker").attr("id",nd+"_"+qa+"-circleEnd").attr("class","marker "+qa).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),Ra.append("marker").attr("id",nd+"_"+qa+"-circleStart").attr("class","marker "+qa).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"circle"),cross=__name((Ra,qa,nd)=>{Ra.append("marker").attr("id",nd+"_"+qa+"-crossEnd").attr("class","marker cross "+qa).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),Ra.append("marker").attr("id",nd+"_"+qa+"-crossStart").attr("class","marker cross "+qa).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},"cross"),barb=__name((Ra,qa,nd)=>{Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb"),markers={extension,composition,aggregation,dependency,lollipop,point,circle,cross,barb},markers_default=insertMarkers,internalHelpers={common:common_default,getConfig:getConfig$2,insertCluster,insertEdge,insertEdgeLabel,insertMarkers:markers_default,insertNode,interpolateToCurve,labelHelper,log:log$1,positionEdgeLabel},layoutAlgorithms={},registerLayoutLoaders=__name(Ra=>{for(const qa of Ra)layoutAlgorithms[qa.name]=qa},"registerLayoutLoaders"),registerDefaultLayoutLoaders=__name(()=>{registerLayoutLoaders([{name:"dagre",loader:__name(async()=>await __vitePreload(()=>import("./md-dagre-4EVJKHTY-CrtTNbcm.js"),__vite__mapDeps([0,1,2,3,4,5])),"loader")}])},"registerDefaultLayoutLoaders");registerDefaultLayoutLoaders();var render$1=__name(async(Ra,qa)=>{if(!(Ra.layoutAlgorithm in layoutAlgorithms))throw new Error(`Unknown layout algorithm: ${Ra.layoutAlgorithm}`);const nd=layoutAlgorithms[Ra.layoutAlgorithm];return(await nd.loader()).render(Ra,qa,internalHelpers,{algorithm:nd.algorithm})},"render"),getRegisteredLayoutAlgorithm=__name((Ra="",{fallback:qa="dagre"}={})=>{if(Ra in layoutAlgorithms)return Ra;if(qa in layoutAlgorithms)return log$1.warn(`Layout algorithm ${Ra} is not registered. Using ${qa} as fallback.`),qa;throw new Error(`Both layout algorithms ${Ra} and ${qa} are not registered.`)},"getRegisteredLayoutAlgorithm"),version$2="11.4.1",selectSvgElement=__name(Ra=>{var ld;const{securityLevel:qa}=getConfig2();let nd=select("body");if(qa==="sandbox"){const dd=((ld=select(`#i${Ra}`).node())==null?void 0:ld.contentDocument)??document;nd=select(dd.body)}return nd.select(`#${Ra}`)},"selectSvgElement"),COMMENT="comm",RULESET="rule",DECLARATION="decl",IMPORT="@import",KEYFRAMES="@keyframes",LAYER="@layer",abs=Math.abs,from=String.fromCharCode;function trim$1(Ra){return Ra.trim()}function replace(Ra,qa,nd){return Ra.replace(qa,nd)}function indexof(Ra,qa,nd){return Ra.indexOf(qa,nd)}function charat(Ra,qa){return Ra.charCodeAt(qa)|0}function substr(Ra,qa,nd){return Ra.slice(qa,nd)}function strlen(Ra){return Ra.length}function sizeof(Ra){return Ra.length}function append(Ra,qa){return qa.push(Ra),Ra}var line=1,column=1,length=0,position=0,character=0,characters="";function node(Ra,qa,nd,od,ld,ud,dd,pd){return{value:Ra,root:qa,parent:nd,type:od,props:ld,children:ud,line,column,length:dd,return:"",siblings:pd}}function char(){return character}function prev(){return character=position>0?charat(characters,--position):0,column--,character===10&&(column=1,line--),character}function next(){return character=position<length?charat(characters,position++):0,column++,character===10&&(column=1,line++),character}function peek(){return charat(characters,position)}function caret(){return position}function slice(Ra,qa){return substr(characters,Ra,qa)}function token$1(Ra){switch(Ra){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function alloc(Ra){return line=column=1,length=strlen(characters=Ra),position=0,[]}function dealloc(Ra){return characters="",Ra}function delimit(Ra){return trim$1(slice(position-1,delimiter(Ra===91?Ra+2:Ra===40?Ra+1:Ra)))}function whitespace(Ra){for(;(character=peek())&&character<33;)next();return token$1(Ra)>2||token$1(character)>3?"":" "}function escaping(Ra,qa){for(;--qa&&next()&&!(character<48||character>102||character>57&&character<65||character>70&&character<97););return slice(Ra,caret()+(qa<6&&peek()==32&&next()==32))}function delimiter(Ra){for(;next();)switch(character){case Ra:return position;case 34:case 39:Ra!==34&&Ra!==39&&delimiter(character);break;case 40:Ra===41&&delimiter(Ra);break;case 92:next();break}return position}function commenter(Ra,qa){for(;next()&&Ra+character!==57;)if(Ra+character===84&&peek()===47)break;return"/*"+slice(qa,position-1)+"*"+from(Ra===47?Ra:next())}function identifier(Ra){for(;!token$1(peek());)next();return slice(Ra,position)}function compile(Ra){return dealloc(parse$1("",null,null,null,[""],Ra=alloc(Ra),0,[0],Ra))}function parse$1(Ra,qa,nd,od,ld,ud,dd,pd,fd){for(var md=0,vd=0,Ad=dd,Nd=0,Od=0,kd=0,Ld=1,Gd=1,jd=1,Fd=0,Ud="",qd=ld,zd=ud,Wd=od,Jd=Ud;Gd;)switch(kd=Fd,Fd=next()){case 40:if(kd!=108&&charat(Jd,Ad-1)==58){indexof(Jd+=replace(delimit(Fd),"&","&\f"),"&\f",abs(md?pd[md-1]:0))!=-1&&(jd=-1);break}case 34:case 39:case 91:Jd+=delimit(Fd);break;case 9:case 10:case 13:case 32:Jd+=whitespace(kd);break;case 92:Jd+=escaping(caret()-1,7);continue;case 47:switch(peek()){case 42:case 47:append(comment(commenter(next(),caret()),qa,nd,fd),fd),(token$1(kd||1)==5||token$1(peek()||1)==5)&&strlen(Jd)&&substr(Jd,-1,void 0)!==" "&&(Jd+=" ");break;default:Jd+="/"}break;case 123*Ld:pd[md++]=strlen(Jd)*jd;case 125*Ld:case 59:case 0:switch(Fd){case 0:case 125:Gd=0;case 59+vd:jd==-1&&(Jd=replace(Jd,/\f/g,"")),Od>0&&(strlen(Jd)-Ad||Ld===0&&kd===47)&&append(Od>32?declaration(Jd+";",od,nd,Ad-1,fd):declaration(replace(Jd," ","")+";",od,nd,Ad-2,fd),fd);break;case 59:Jd+=";";default:if(append(Wd=ruleset(Jd,qa,nd,md,vd,ld,pd,Ud,qd=[],zd=[],Ad,ud),ud),Fd===123)if(vd===0)parse$1(Jd,qa,Wd,Wd,qd,ud,Ad,pd,zd);else switch(Nd===99&&charat(Jd,3)===110?100:Nd){case 100:case 108:case 109:case 115:parse$1(Ra,Wd,Wd,od&&append(ruleset(Ra,Wd,Wd,0,0,ld,pd,Ud,ld,qd=[],Ad,zd),zd),ld,zd,Ad,pd,od?qd:zd);break;default:parse$1(Jd,Wd,Wd,Wd,[""],zd,0,pd,zd)}}md=vd=Od=0,Ld=jd=1,Ud=Jd="",Ad=dd;break;case 58:Ad=1+strlen(Jd),Od=kd;default:if(Ld<1){if(Fd==123)--Ld;else if(Fd==125&&Ld++==0&&prev()==125)continue}switch(Jd+=from(Fd),Fd*Ld){case 38:jd=vd>0?1:(Jd+="\f",-1);break;case 44:pd[md++]=(strlen(Jd)-1)*jd,jd=1;break;case 64:peek()===45&&(Jd+=delimit(next())),Nd=peek(),vd=Ad=strlen(Ud=Jd+=identifier(caret())),Fd++;break;case 45:kd===45&&strlen(Jd)==2&&(Ld=0)}}return ud}function ruleset(Ra,qa,nd,od,ld,ud,dd,pd,fd,md,vd,Ad){for(var Nd=ld-1,Od=ld===0?ud:[""],kd=sizeof(Od),Ld=0,Gd=0,jd=0;Ld<od;++Ld)for(var Fd=0,Ud=substr(Ra,Nd+1,Nd=abs(Gd=dd[Ld])),qd=Ra;Fd<kd;++Fd)(qd=trim$1(Gd>0?Od[Fd]+" "+Ud:replace(Ud,/&\f/g,Od[Fd])))&&(fd[jd++]=qd);return node(Ra,qa,nd,ld===0?RULESET:pd,fd,md,vd,Ad)}function comment(Ra,qa,nd,od){return node(Ra,qa,nd,COMMENT,from(char()),substr(Ra,2,-2),0,od)}function declaration(Ra,qa,nd,od,ld){return node(Ra,qa,nd,DECLARATION,substr(Ra,0,od),substr(Ra,od+1,-1),od,ld)}function serialize(Ra,qa){for(var nd="",od=0;od<Ra.length;od++)nd+=qa(Ra[od],od,Ra,qa)||"";return nd}function stringify$1(Ra,qa,nd,od){switch(Ra.type){case LAYER:if(Ra.children.length)break;case IMPORT:case DECLARATION:return Ra.return=Ra.return||Ra.value;case COMMENT:return"";case KEYFRAMES:return Ra.return=Ra.value+"{"+serialize(Ra.children,od)+"}";case RULESET:if(!strlen(Ra.value=Ra.props.join(",")))return""}return strlen(nd=serialize(Ra.children,od))?Ra.return=Ra.value+"{"+nd+"}":""}var nativeKeys=overArg(Object.keys,Object),objectProto$1=Object.prototype,hasOwnProperty$4=objectProto$1.hasOwnProperty;function baseKeys(Ra){if(!isPrototype(Ra))return nativeKeys(Ra);var qa=[];for(var nd in Object(Ra))hasOwnProperty$4.call(Ra,nd)&&nd!="constructor"&&qa.push(nd);return qa}var DataView$1=getNative(root,"DataView"),Promise$1=getNative(root,"Promise"),Set$1=getNative(root,"Set"),WeakMap$1=getNative(root,"WeakMap"),mapTag$1="[object Map]",objectTag="[object Object]",promiseTag="[object Promise]",setTag$1="[object Set]",weakMapTag="[object WeakMap]",dataViewTag="[object DataView]",dataViewCtorString=toSource(DataView$1),mapCtorString=toSource(Map$1),promiseCtorString=toSource(Promise$1),setCtorString=toSource(Set$1),weakMapCtorString=toSource(WeakMap$1),getTag$2=baseGetTag;(DataView$1&&getTag$2(new DataView$1(new ArrayBuffer(1)))!=dataViewTag||Map$1&&getTag$2(new Map$1)!=mapTag$1||Promise$1&&getTag$2(Promise$1.resolve())!=promiseTag||Set$1&&getTag$2(new Set$1)!=setTag$1||WeakMap$1&&getTag$2(new WeakMap$1)!=weakMapTag)&&(getTag$2=function(Ra){var qa=baseGetTag(Ra),nd=qa==objectTag?Ra.constructor:void 0,od=nd?toSource(nd):"";if(od)switch(od){case dataViewCtorString:return dataViewTag;case mapCtorString:return mapTag$1;case promiseCtorString:return promiseTag;case setCtorString:return setTag$1;case weakMapCtorString:return weakMapTag}return qa});var mapTag="[object Map]",setTag="[object Set]",objectProto=Object.prototype,hasOwnProperty$3=objectProto.hasOwnProperty;function isEmpty$1(Ra){if(Ra==null)return!0;if(isArrayLike$1(Ra)&&(isArray$1(Ra)||typeof Ra=="string"||typeof Ra.splice=="function"||isBuffer$1(Ra)||isTypedArray$2(Ra)||isArguments$1(Ra)))return!Ra.length;var qa=getTag$2(Ra);if(qa==mapTag||qa==setTag)return!Ra.size;if(isPrototype(Ra))return!baseKeys(Ra).length;for(var nd in Ra)if(hasOwnProperty$3.call(Ra,nd))return!1;return!0}var id="c4",detector=__name(Ra=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(Ra),"detector"),loader=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-c4Diagram-6F5ED5ID-RoaEE6D3.js");return{diagram:qa}},__vite__mapDeps([6,7]));return{id,diagram:Ra}},"loader"),plugin={id,detector,loader},c4Detector_default=plugin,id2="flowchart",detector2=__name((Ra,qa)=>{var nd,od;return((nd=qa==null?void 0:qa.flowchart)==null?void 0:nd.defaultRenderer)==="dagre-wrapper"||((od=qa==null?void 0:qa.flowchart)==null?void 0:od.defaultRenderer)==="elk"?!1:/^\s*graph/.test(Ra)},"detector"),loader2=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-flowDiagram-7ASYPVHJ-D2L0sNan.js");return{diagram:qa}},__vite__mapDeps([8,9,10]));return{id:id2,diagram:Ra}},"loader"),plugin2={id:id2,detector:detector2,loader:loader2},flowDetector_default=plugin2,id3="flowchart-v2",detector3=__name((Ra,qa)=>{var nd,od,ld;return((nd=qa==null?void 0:qa.flowchart)==null?void 0:nd.defaultRenderer)==="dagre-d3"?!1:(((od=qa==null?void 0:qa.flowchart)==null?void 0:od.defaultRenderer)==="elk"&&(qa.layout="elk"),/^\s*graph/.test(Ra)&&((ld=qa==null?void 0:qa.flowchart)==null?void 0:ld.defaultRenderer)==="dagre-wrapper"?!0:/^\s*flowchart/.test(Ra))},"detector"),loader3=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-flowDiagram-7ASYPVHJ-D2L0sNan.js");return{diagram:qa}},__vite__mapDeps([8,9,10]));return{id:id3,diagram:Ra}},"loader"),plugin3={id:id3,detector:detector3,loader:loader3},flowDetector_v2_default=plugin3,id4="er",detector4=__name(Ra=>/^\s*erDiagram/.test(Ra),"detector"),loader4=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-erDiagram-6RL3IURR-DWaCdaRm.js");return{diagram:qa}},__vite__mapDeps([11,1,2,3,4]));return{id:id4,diagram:Ra}},"loader"),plugin4={id:id4,detector:detector4,loader:loader4},erDetector_default=plugin4,id5="gitGraph",detector5=__name(Ra=>/^\s*gitGraph/.test(Ra),"detector"),loader5=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-gitGraphDiagram-NRZ2UAAF-DeLJDz1i.js");return{diagram:qa}},__vite__mapDeps([12,13,14,15,2,4,5]));return{id:id5,diagram:Ra}},"loader"),plugin5={id:id5,detector:detector5,loader:loader5},gitGraphDetector_default=plugin5,id6="gantt",detector6=__name(Ra=>/^\s*gantt/.test(Ra),"detector"),loader6=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-ganttDiagram-NTVNEXSI-CL-9Lky_.js");return{diagram:qa}},__vite__mapDeps([16,17,18]));return{id:id6,diagram:Ra}},"loader"),plugin6={id:id6,detector:detector6,loader:loader6},ganttDetector_default=plugin6,id7="info",detector7=__name(Ra=>/^\s*info/.test(Ra),"detector"),loader7=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-infoDiagram-A4XQUW5V-Bs4tWgYe.js");return{diagram:qa}},__vite__mapDeps([19,15,2,4,5]));return{id:id7,diagram:Ra}},"loader"),info={id:id7,detector:detector7,loader:loader7},id8="pie",detector8=__name(Ra=>/^\s*pie/.test(Ra),"detector"),loader8=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-pieDiagram-YF2LJOPJ-Dtr2pYGZ.js");return{diagram:qa}},__vite__mapDeps([20,13,15,2,4,5,21,22,18]));return{id:id8,diagram:Ra}},"loader"),pie={id:id8,detector:detector8,loader:loader8},id9="quadrantChart",detector9=__name(Ra=>/^\s*quadrantChart/.test(Ra),"detector"),loader9=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-quadrantDiagram-OS5C2QUG-CRTWPMC3.js");return{diagram:qa}},__vite__mapDeps([23,17,18]));return{id:id9,diagram:Ra}},"loader"),plugin7={id:id9,detector:detector9,loader:loader9},quadrantDetector_default=plugin7,id10="xychart",detector10=__name(Ra=>/^\s*xychart-beta/.test(Ra),"detector"),loader10=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-xychartDiagram-6QU3TZC5-DPptWv27.js");return{diagram:qa}},__vite__mapDeps([24,18,22,17]));return{id:id10,diagram:Ra}},"loader"),plugin8={id:id10,detector:detector10,loader:loader10},xychartDetector_default=plugin8,id11="requirement",detector11=__name(Ra=>/^\s*requirement(Diagram)?/.test(Ra),"detector"),loader11=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-requirementDiagram-MIRIMTAZ-Deu54LsJ.js");return{diagram:qa}},__vite__mapDeps([25,1,2,3,4]));return{id:id11,diagram:Ra}},"loader"),plugin9={id:id11,detector:detector11,loader:loader11},requirementDetector_default=plugin9,id12="sequence",detector12=__name(Ra=>/^\s*sequenceDiagram/.test(Ra),"detector"),loader12=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-sequenceDiagram-G6AWOVSC-BYz1U_V7.js");return{diagram:qa}},__vite__mapDeps([26,7,14]));return{id:id12,diagram:Ra}},"loader"),plugin10={id:id12,detector:detector12,loader:loader12},sequenceDetector_default=plugin10,id13="class",detector13=__name((Ra,qa)=>{var nd;return((nd=qa==null?void 0:qa.class)==null?void 0:nd.defaultRenderer)==="dagre-wrapper"?!1:/^\s*classDiagram/.test(Ra)},"detector"),loader13=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-classDiagram-LNE6IOMH-CTBubuXI.js");return{diagram:qa}},__vite__mapDeps([27,28,9]));return{id:id13,diagram:Ra}},"loader"),plugin11={id:id13,detector:detector13,loader:loader13},classDetector_default=plugin11,id14="classDiagram",detector14=__name((Ra,qa)=>{var nd;return/^\s*classDiagram/.test(Ra)&&((nd=qa==null?void 0:qa.class)==null?void 0:nd.defaultRenderer)==="dagre-wrapper"?!0:/^\s*classDiagram-v2/.test(Ra)},"detector"),loader14=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-classDiagram-v2-MQ7JQ4JX-CTBubuXI.js");return{diagram:qa}},__vite__mapDeps([29,28,9]));return{id:id14,diagram:Ra}},"loader"),plugin12={id:id14,detector:detector14,loader:loader14},classDetector_V2_default=plugin12,id15="state",detector15=__name((Ra,qa)=>{var nd;return((nd=qa==null?void 0:qa.state)==null?void 0:nd.defaultRenderer)==="dagre-wrapper"?!1:/^\s*stateDiagram/.test(Ra)},"detector"),loader15=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-stateDiagram-MAYHULR4-DweyYq4M.js");return{diagram:qa}},__vite__mapDeps([30,31,9,1,2,3,4]));return{id:id15,diagram:Ra}},"loader"),plugin13={id:id15,detector:detector15,loader:loader15},stateDetector_default=plugin13,id16="stateDiagram",detector16=__name((Ra,qa)=>{var nd;return!!(/^\s*stateDiagram-v2/.test(Ra)||/^\s*stateDiagram/.test(Ra)&&((nd=qa==null?void 0:qa.state)==null?void 0:nd.defaultRenderer)==="dagre-wrapper")},"detector"),loader16=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-stateDiagram-v2-4JROLMXI-DiIlcWZx.js");return{diagram:qa}},__vite__mapDeps([32,31,9]));return{id:id16,diagram:Ra}},"loader"),plugin14={id:id16,detector:detector16,loader:loader16},stateDetector_V2_default=plugin14,id17="journey",detector17=__name(Ra=>/^\s*journey/.test(Ra),"detector"),loader17=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-journeyDiagram-G5WM74LC-FvtN3AEU.js");return{diagram:qa}},__vite__mapDeps([33,7,21]));return{id:id17,diagram:Ra}},"loader"),plugin15={id:id17,detector:detector17,loader:loader17},journeyDetector_default=plugin15,draw=__name((Ra,qa,nd)=>{log$1.debug(`rendering svg for syntax error
`);const od=selectSvgElement(qa),ld=od.append("g");od.attr("viewBox","0 0 2412 512"),configureSvgSize(od,100,512,!0),ld.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),ld.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),ld.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),ld.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),ld.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),ld.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),ld.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),ld.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${nd}`)},"draw"),renderer={draw},errorRenderer_default=renderer,diagram={db:{},renderer,parser:{parse:__name(()=>{},"parse")}},errorDiagram_default=diagram,id18="flowchart-elk",detector18=__name((Ra,qa={})=>{var nd;return/^\s*flowchart-elk/.test(Ra)||/^\s*flowchart|graph/.test(Ra)&&((nd=qa==null?void 0:qa.flowchart)==null?void 0:nd.defaultRenderer)==="elk"?(qa.layout="elk",!0):!1},"detector"),loader18=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-flowDiagram-7ASYPVHJ-D2L0sNan.js");return{diagram:qa}},__vite__mapDeps([8,9,10]));return{id:id18,diagram:Ra}},"loader"),plugin16={id:id18,detector:detector18,loader:loader18},detector_default=plugin16,id19="timeline",detector19=__name(Ra=>/^\s*timeline/.test(Ra),"detector"),loader19=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-timeline-definition-U7ZMHBDA-BNdRx5Eq.js");return{diagram:qa}},__vite__mapDeps([34,21]));return{id:id19,diagram:Ra}},"loader"),plugin17={id:id19,detector:detector19,loader:loader19},detector_default2=plugin17,id20="mindmap",detector20=__name(Ra=>/^\s*mindmap/.test(Ra),"detector"),loader20=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-mindmap-definition-GWI6TPTV-ClGGF_jF.js");return{diagram:qa}},__vite__mapDeps([35,36]));return{id:id20,diagram:Ra}},"loader"),plugin18={id:id20,detector:detector20,loader:loader20},detector_default3=plugin18,id21="kanban",detector21=__name(Ra=>/^\s*kanban/.test(Ra),"detector"),loader21=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-kanban-definition-QRCXZQQD-BS7gU4kH.js");return{diagram:qa}},[]);return{id:id21,diagram:Ra}},"loader"),plugin19={id:id21,detector:detector21,loader:loader21},detector_default4=plugin19,id22="sankey",detector22=__name(Ra=>/^\s*sankey-beta/.test(Ra),"detector"),loader22=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-sankeyDiagram-Y46BX6SQ-Di3XGLpk.js");return{diagram:qa}},__vite__mapDeps([37,22,18]));return{id:id22,diagram:Ra}},"loader"),plugin20={id:id22,detector:detector22,loader:loader22},sankeyDetector_default=plugin20,id23="packet",detector23=__name(Ra=>/^\s*packet-beta/.test(Ra),"detector"),loader23=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-diagram-QW4FP2JN-BhleLOjZ.js");return{diagram:qa}},__vite__mapDeps([38,13,15,2,4,5]));return{id:id23,diagram:Ra}},"loader"),packet={id:id23,detector:detector23,loader:loader23},id24="block",detector24=__name(Ra=>/^\s*block-beta/.test(Ra),"detector"),loader24=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-blockDiagram-ZHA2E4KO-BBH-2Yzm.js");return{diagram:qa}},__vite__mapDeps([39,5,2,1,10]));return{id:id24,diagram:Ra}},"loader"),plugin21={id:id24,detector:detector24,loader:loader24},blockDetector_default=plugin21,id25="architecture",detector25=__name(Ra=>/^\s*architecture/.test(Ra),"detector"),loader25=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-architectureDiagram-UYN6MBPD-IhHiqPvZ.js");return{diagram:qa}},__vite__mapDeps([40,13,14,15,2,4,5,36]));return{id:id25,diagram:Ra}},"loader"),architecture={id:id25,detector:detector25,loader:loader25},architectureDetector_default=architecture,hasLoadedDiagrams=!1,addDiagrams=__name(()=>{hasLoadedDiagrams||(hasLoadedDiagrams=!0,registerDiagram("error",errorDiagram_default,Ra=>Ra.toLowerCase().trim()==="error"),registerDiagram("---",{db:{clear:__name(()=>{},"clear")},styles:{},renderer:{draw:__name(()=>{},"draw")},parser:{parse:__name(()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:__name(()=>null,"init")},Ra=>Ra.toLowerCase().trimStart().startsWith("---")),registerLazyLoadedDiagrams(c4Detector_default,detector_default4,classDetector_V2_default,classDetector_default,erDetector_default,ganttDetector_default,info,pie,requirementDetector_default,sequenceDetector_default,detector_default,flowDetector_v2_default,flowDetector_default,detector_default3,detector_default2,gitGraphDetector_default,stateDetector_V2_default,stateDetector_default,journeyDetector_default,quadrantDetector_default,sankeyDetector_default,packet,xychartDetector_default,blockDetector_default,architectureDetector_default))},"addDiagrams"),loadRegisteredDiagrams=__name(async()=>{log$1.debug("Loading registered diagrams");const qa=(await Promise.allSettled(Object.entries(detectors).map(async([nd,{detector:od,loader:ld}])=>{if(ld)try{getDiagram(nd)}catch{try{const{diagram:ud,id:dd}=await ld();registerDiagram(dd,ud,od)}catch(ud){throw log$1.error(`Failed to load external diagram with key ${nd}. Removing from detectors.`),delete detectors[nd],ud}}}))).filter(nd=>nd.status==="rejected");if(qa.length>0){log$1.error(`Failed to load ${qa.length} external diagrams`);for(const nd of qa)log$1.error(nd);throw new Error(`Failed to load ${qa.length} external diagrams`)}},"loadRegisteredDiagrams"),SVG_ROLE="graphics-document document";function setA11yDiagramInfo(Ra,qa){Ra.attr("role",SVG_ROLE),qa!==""&&Ra.attr("aria-roledescription",qa)}__name(setA11yDiagramInfo,"setA11yDiagramInfo");function addSVGa11yTitleDescription(Ra,qa,nd,od){if(Ra.insert!==void 0){if(nd){const ld=`chart-desc-${od}`;Ra.attr("aria-describedby",ld),Ra.insert("desc",":first-child").attr("id",ld).text(nd)}if(qa){const ld=`chart-title-${od}`;Ra.attr("aria-labelledby",ld),Ra.insert("title",":first-child").attr("id",ld).text(qa)}}}__name(addSVGa11yTitleDescription,"addSVGa11yTitleDescription");var QE,Diagram=(QE=class{constructor(qa,nd,od,ld,ud){this.type=qa,this.text=nd,this.db=od,this.parser=ld,this.renderer=ud}static async fromText(qa,nd={}){var md,vd;const od=getConfig$2(),ld=detectType$1(qa,od);qa=encodeEntities(qa)+`
`;try{getDiagram(ld)}catch{const Ad=getDiagramLoader(ld);if(!Ad)throw new UnknownDiagramError(`Diagram ${ld} not found.`);const{id:Nd,diagram:Od}=await Ad();registerDiagram(Nd,Od)}const{db:ud,parser:dd,renderer:pd,init:fd}=getDiagram(ld);return dd.parser&&(dd.parser.yy=ud),(md=ud.clear)==null||md.call(ud),fd==null||fd(od),nd.title&&((vd=ud.setDiagramTitle)==null||vd.call(ud,nd.title)),await dd.parse(qa),new QE(ld,qa,ud,dd,pd)}async render(qa,nd){await this.renderer.draw(this.text,qa,nd,this)}getParser(){return this.parser}getType(){return this.type}},__name(QE,"Diagram"),QE),interactionFunctions=[],attachFunctions=__name(()=>{interactionFunctions.forEach(Ra=>{Ra()}),interactionFunctions=[]},"attachFunctions"),cleanupComments=__name(Ra=>Ra.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function extractFrontMatter(Ra){const qa=Ra.match(frontMatterRegex);if(!qa)return{text:Ra,metadata:{}};let nd=load(qa[1],{schema:JSON_SCHEMA})??{};nd=typeof nd=="object"&&!Array.isArray(nd)?nd:{};const od={};return nd.displayMode&&(od.displayMode=nd.displayMode.toString()),nd.title&&(od.title=nd.title.toString()),nd.config&&(od.config=nd.config),{text:Ra.slice(qa[0].length),metadata:od}}__name(extractFrontMatter,"extractFrontMatter");var cleanupText=__name(Ra=>Ra.replace(/\r\n?/g,`
`).replace(/<(\w+)([^>]*)>/g,(qa,nd,od)=>"<"+nd+od.replace(/="([^"]*)"/g,"='$1'")+">"),"cleanupText"),processFrontmatter=__name(Ra=>{const{text:qa,metadata:nd}=extractFrontMatter(Ra),{displayMode:od,title:ld,config:ud={}}=nd;return od&&(ud.gantt||(ud.gantt={}),ud.gantt.displayMode=od),{title:ld,config:ud,text:qa}},"processFrontmatter"),processDirectives=__name(Ra=>{const qa=utils_default.detectInit(Ra)??{},nd=utils_default.detectDirective(Ra,"wrap");return Array.isArray(nd)?qa.wrap=nd.some(({type:od})=>od==="wrap"):(nd==null?void 0:nd.type)==="wrap"&&(qa.wrap=!0),{text:removeDirectives(Ra),directive:qa}},"processDirectives");function preprocessDiagram(Ra){const qa=cleanupText(Ra),nd=processFrontmatter(qa),od=processDirectives(nd.text),ld=cleanAndMerge(nd.config,od.directive);return Ra=cleanupComments(od.text),{code:Ra,title:nd.title,config:ld}}__name(preprocessDiagram,"preprocessDiagram");function toBase64$1(Ra){const qa=new TextEncoder().encode(Ra),nd=Array.from(qa,od=>String.fromCodePoint(od)).join("");return btoa(nd)}__name(toBase64$1,"toBase64");var MAX_TEXTLENGTH=5e4,MAX_TEXTLENGTH_EXCEEDED_MSG="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa",SECURITY_LVL_SANDBOX="sandbox",SECURITY_LVL_LOOSE="loose",XMLNS_SVG_STD="http://www.w3.org/2000/svg",XMLNS_XLINK_STD="http://www.w3.org/1999/xlink",XMLNS_XHTML_STD="http://www.w3.org/1999/xhtml",IFRAME_WIDTH="100%",IFRAME_HEIGHT="100%",IFRAME_STYLES="border:0;margin:0;",IFRAME_BODY_STYLE="margin:0",IFRAME_SANDBOX_OPTS="allow-top-navigation-by-user-activation allow-popups",IFRAME_NOT_SUPPORTED_MSG='The "iframe" tag is not supported by your browser.',DOMPURIFY_TAGS=["foreignobject"],DOMPURIFY_ATTR=["dominant-baseline"];function processAndSetConfigs(Ra){const qa=preprocessDiagram(Ra);return reset(),addDirective(qa.config??{}),qa}__name(processAndSetConfigs,"processAndSetConfigs");async function parse(Ra,qa){addDiagrams();try{const{code:nd,config:od}=processAndSetConfigs(Ra);return{diagramType:(await getDiagramFromText(nd)).type,config:od}}catch(nd){if(qa!=null&&qa.suppressErrors)return!1;throw nd}}__name(parse,"parse");var cssImportantStyles=__name((Ra,qa,nd=[])=>`
.${Ra} ${qa} { ${nd.join(" !important; ")} !important; }`,"cssImportantStyles"),createCssStyles=__name((Ra,qa=new Map)=>{var od;let nd="";if(Ra.themeCSS!==void 0&&(nd+=`
${Ra.themeCSS}`),Ra.fontFamily!==void 0&&(nd+=`
:root { --mermaid-font-family: ${Ra.fontFamily}}`),Ra.altFontFamily!==void 0&&(nd+=`
:root { --mermaid-alt-font-family: ${Ra.altFontFamily}}`),qa instanceof Map){const pd=Ra.htmlLabels??((od=Ra.flowchart)==null?void 0:od.htmlLabels)?["> *","span"]:["rect","polygon","ellipse","circle","path"];qa.forEach(fd=>{isEmpty$1(fd.styles)||pd.forEach(md=>{nd+=cssImportantStyles(fd.id,md,fd.styles)}),isEmpty$1(fd.textStyles)||(nd+=cssImportantStyles(fd.id,"tspan",((fd==null?void 0:fd.textStyles)||[]).map(md=>md.replace("color","fill"))))})}return nd},"createCssStyles"),createUserStyles=__name((Ra,qa,nd,od)=>{const ld=createCssStyles(Ra,nd),ud=styles_default(qa,ld,Ra.themeVariables);return serialize(compile(`${od}{${ud}}`),stringify$1)},"createUserStyles"),cleanUpSvgCode=__name((Ra="",qa,nd)=>{let od=Ra;return!nd&&!qa&&(od=od.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),od=decodeEntities(od),od=od.replace(/<br>/g,"<br/>"),od},"cleanUpSvgCode"),putIntoIFrame=__name((Ra="",qa)=>{var ld,ud;const nd=(ud=(ld=qa==null?void 0:qa.viewBox)==null?void 0:ld.baseVal)!=null&&ud.height?qa.viewBox.baseVal.height+"px":IFRAME_HEIGHT,od=toBase64$1(`<body style="${IFRAME_BODY_STYLE}">${Ra}</body>`);return`<iframe style="width:${IFRAME_WIDTH};height:${nd};${IFRAME_STYLES}" src="data:text/html;charset=UTF-8;base64,${od}" sandbox="${IFRAME_SANDBOX_OPTS}">
${IFRAME_NOT_SUPPORTED_MSG}
</iframe>`},"putIntoIFrame"),appendDivSvgG=__name((Ra,qa,nd,od,ld)=>{const ud=Ra.append("div");ud.attr("id",nd),od&&ud.attr("style",od);const dd=ud.append("svg").attr("id",qa).attr("width","100%").attr("xmlns",XMLNS_SVG_STD);return ld&&dd.attr("xmlns:xlink",ld),dd.append("g"),Ra},"appendDivSvgG");function sandboxedIframe(Ra,qa){return Ra.append("iframe").attr("id",qa).attr("style","width: 100%; height: 100%;").attr("sandbox","")}__name(sandboxedIframe,"sandboxedIframe");var removeExistingElements=__name((Ra,qa,nd,od)=>{var ld,ud,dd;(ld=Ra.getElementById(qa))==null||ld.remove(),(ud=Ra.getElementById(nd))==null||ud.remove(),(dd=Ra.getElementById(od))==null||dd.remove()},"removeExistingElements"),render=__name(async function(Ra,qa,nd){var Sf,Tf,Af,Ef,Nf,If;addDiagrams();const od=processAndSetConfigs(qa);qa=od.code;const ld=getConfig$2();log$1.debug(ld),qa.length>((ld==null?void 0:ld.maxTextSize)??MAX_TEXTLENGTH)&&(qa=MAX_TEXTLENGTH_EXCEEDED_MSG);const ud="#"+Ra,dd="i"+Ra,pd="#"+dd,fd="d"+Ra,md="#"+fd,vd=__name(()=>{const Qf=select(Nd?pd:md).node();Qf&&"remove"in Qf&&Qf.remove()},"removeTempElements");let Ad=select("body");const Nd=ld.securityLevel===SECURITY_LVL_SANDBOX,Od=ld.securityLevel===SECURITY_LVL_LOOSE,kd=ld.fontFamily;if(nd!==void 0){if(nd&&(nd.innerHTML=""),Nd){const Gf=sandboxedIframe(select(nd),dd);Ad=select(Gf.nodes()[0].contentDocument.body),Ad.node().style.margin=0}else Ad=select(nd);appendDivSvgG(Ad,Ra,fd,`font-family: ${kd}`,XMLNS_XLINK_STD)}else{if(removeExistingElements(document,Ra,fd,dd),Nd){const Gf=sandboxedIframe(select("body"),dd);Ad=select(Gf.nodes()[0].contentDocument.body),Ad.node().style.margin=0}else Ad=select("body");appendDivSvgG(Ad,Ra,fd)}let Ld,Gd;try{Ld=await Diagram.fromText(qa,{title:od.title})}catch(Gf){if(ld.suppressErrorRendering)throw vd(),Gf;Ld=await Diagram.fromText("error"),Gd=Gf}const jd=Ad.select(md).node(),Fd=Ld.type,Ud=jd.firstChild,qd=Ud.firstChild,zd=(Tf=(Sf=Ld.renderer).getClasses)==null?void 0:Tf.call(Sf,qa,Ld),Wd=createUserStyles(ld,Fd,zd,ud),Jd=document.createElement("style");Jd.innerHTML=Wd,Ud.insertBefore(Jd,qd);try{await Ld.renderer.draw(qa,Ra,version$2,Ld)}catch(Gf){throw ld.suppressErrorRendering?vd():errorRenderer_default.draw(qa,Ra,version$2),Gf}const _f=Ad.select(`${md} svg`),Xd=(Ef=(Af=Ld.db).getAccTitle)==null?void 0:Ef.call(Af),pf=(If=(Nf=Ld.db).getAccDescription)==null?void 0:If.call(Nf);addA11yInfo(Fd,_f,Xd,pf),Ad.select(`[id="${Ra}"]`).selectAll("foreignobject > *").attr("xmlns",XMLNS_XHTML_STD);let mf=Ad.select(md).node().innerHTML;if(log$1.debug("config.arrowMarkerAbsolute",ld.arrowMarkerAbsolute),mf=cleanUpSvgCode(mf,Nd,evaluate(ld.arrowMarkerAbsolute)),Nd){const Gf=Ad.select(md+" svg").node();mf=putIntoIFrame(mf,Gf)}else Od||(mf=purify.sanitize(mf,{ADD_TAGS:DOMPURIFY_TAGS,ADD_ATTR:DOMPURIFY_ATTR,HTML_INTEGRATION_POINTS:{foreignobject:!0}}));if(attachFunctions(),Gd)throw Gd;return vd(),{diagramType:Fd,svg:mf,bindFunctions:Ld.db.bindFunctions}},"render");function initialize(Ra={}){var od;const qa=assignWithDepth_default({},Ra);qa!=null&&qa.fontFamily&&!((od=qa.themeVariables)!=null&&od.fontFamily)&&(qa.themeVariables||(qa.themeVariables={}),qa.themeVariables.fontFamily=qa.fontFamily),saveConfigFromInitialize(qa),qa!=null&&qa.theme&&qa.theme in themes_default?qa.themeVariables=themes_default[qa.theme].getThemeVariables(qa.themeVariables):qa&&(qa.themeVariables=themes_default.default.getThemeVariables(qa.themeVariables));const nd=typeof qa=="object"?setSiteConfig(qa):getSiteConfig();setLogLevel(nd.logLevel),addDiagrams()}__name(initialize,"initialize");var getDiagramFromText=__name((Ra,qa={})=>{const{code:nd}=preprocessDiagram(Ra);return Diagram.fromText(nd,qa)},"getDiagramFromText");function addA11yInfo(Ra,qa,nd,od){setA11yDiagramInfo(qa,Ra),addSVGa11yTitleDescription(qa,nd,od,qa.attr("id"))}__name(addA11yInfo,"addA11yInfo");var mermaidAPI=Object.freeze({render,parse,getDiagramFromText,initialize,getConfig:getConfig$2,setConfig,getSiteConfig,updateSiteConfig,reset:__name(()=>{reset()},"reset"),globalReset:__name(()=>{reset(defaultConfig)},"globalReset"),defaultConfig});setLogLevel(getConfig$2().logLevel);reset(getConfig$2());var handleError=__name((Ra,qa,nd)=>{log$1.warn(Ra),isDetailedError(Ra)?(nd&&nd(Ra.str,Ra.hash),qa.push({...Ra,message:Ra.str,error:Ra})):(nd&&nd(Ra),Ra instanceof Error&&qa.push({str:Ra.message,message:Ra.message,hash:Ra.name,error:Ra}))},"handleError"),run=__name(async function(Ra={querySelector:".mermaid"}){try{await runThrowsErrors(Ra)}catch(qa){if(isDetailedError(qa)&&log$1.error(qa.str),mermaid.parseError&&mermaid.parseError(qa),!Ra.suppressErrors)throw log$1.error("Use the suppressErrors option to suppress these errors"),qa}},"run"),runThrowsErrors=__name(async function({postRenderCallback:Ra,querySelector:qa,nodes:nd}={querySelector:".mermaid"}){const od=mermaidAPI.getConfig();log$1.debug(`${Ra?"":"No "}Callback function found`);let ld;if(nd)ld=nd;else if(qa)ld=document.querySelectorAll(qa);else throw new Error("Nodes and querySelector are both undefined");log$1.debug(`Found ${ld.length} diagrams`),(od==null?void 0:od.startOnLoad)!==void 0&&(log$1.debug("Start On Load: "+(od==null?void 0:od.startOnLoad)),mermaidAPI.updateSiteConfig({startOnLoad:od==null?void 0:od.startOnLoad}));const ud=new utils_default.InitIDGenerator(od.deterministicIds,od.deterministicIDSeed);let dd;const pd=[];for(const fd of Array.from(ld)){if(log$1.info("Rendering diagram: "+fd.id),fd.getAttribute("data-processed"))continue;fd.setAttribute("data-processed","true");const md=`mermaid-${ud.next()}`;dd=fd.innerHTML,dd=dedent(utils_default.entityDecode(dd)).trim().replace(/<br\s*\/?>/gi,"<br/>");const vd=utils_default.detectInit(dd);vd&&log$1.debug("Detected early reinit: ",vd);try{const{svg:Ad,bindFunctions:Nd}=await render2(md,dd,fd);fd.innerHTML=Ad,Ra&&await Ra(md),Nd&&Nd(fd)}catch(Ad){handleError(Ad,pd,mermaid.parseError)}}if(pd.length>0)throw pd[0]},"runThrowsErrors"),initialize2=__name(function(Ra){mermaidAPI.initialize(Ra)},"initialize"),init=__name(async function(Ra,qa,nd){log$1.warn("mermaid.init is deprecated. Please use run instead."),Ra&&initialize2(Ra);const od={postRenderCallback:nd,querySelector:".mermaid"};typeof qa=="string"?od.querySelector=qa:qa&&(qa instanceof HTMLElement?od.nodes=[qa]:od.nodes=qa),await run(od)},"init"),registerExternalDiagrams=__name(async(Ra,{lazyLoad:qa=!0}={})=>{addDiagrams(),registerLazyLoadedDiagrams(...Ra),qa===!1&&await loadRegisteredDiagrams()},"registerExternalDiagrams"),contentLoaded=__name(function(){if(mermaid.startOnLoad){const{startOnLoad:Ra}=mermaidAPI.getConfig();Ra&&mermaid.run().catch(qa=>log$1.error("Mermaid failed to initialize",qa))}},"contentLoaded");typeof document<"u"&&window.addEventListener("load",contentLoaded,!1);var setParseErrorHandler=__name(function(Ra){mermaid.parseError=Ra},"setParseErrorHandler"),executionQueue=[],executionQueueRunning=!1,executeQueue=__name(async()=>{if(!executionQueueRunning){for(executionQueueRunning=!0;executionQueue.length>0;){const Ra=executionQueue.shift();if(Ra)try{await Ra()}catch(qa){log$1.error("Error executing queue",qa)}}executionQueueRunning=!1}},"executeQueue"),parse2=__name(async(Ra,qa)=>new Promise((nd,od)=>{const ld=__name(()=>new Promise((ud,dd)=>{mermaidAPI.parse(Ra,qa).then(pd=>{ud(pd),nd(pd)},pd=>{var fd;log$1.error("Error parsing",pd),(fd=mermaid.parseError)==null||fd.call(mermaid,pd),dd(pd),od(pd)})}),"performCall");executionQueue.push(ld),executeQueue().catch(od)}),"parse"),render2=__name((Ra,qa,nd)=>new Promise((od,ld)=>{const ud=__name(()=>new Promise((dd,pd)=>{mermaidAPI.render(Ra,qa,nd).then(fd=>{dd(fd),od(fd)},fd=>{var md;log$1.error("Error parsing",fd),(md=mermaid.parseError)==null||md.call(mermaid,fd),pd(fd),ld(fd)})}),"performCall");executionQueue.push(ud),executeQueue().catch(ld)}),"render"),mermaid={startOnLoad:!0,mermaidAPI,parse:parse2,render:render2,init,run,registerExternalDiagrams,registerLayoutLoaders,initialize:initialize2,parseError:void 0,contentLoaded,setParseErrorHandler,detectType:detectType$1,registerIconPacks},mermaid_default=mermaid;/*! Check if previously processed *//*!
* Wait for document loaded before starting the execution
*/var readingTime$3={exports:{}};/*!
* reading-time
* Copyright (c) Nicolas Gryman <ngryman@gmail.com>
* MIT Licensed
*/function codeIsInRanges(Ra,qa){return qa.some(([nd,od])=>nd<=Ra&&Ra<=od)}function isCJK(Ra){if(typeof Ra!="string")return!1;const qa=Ra.charCodeAt(0);return codeIsInRanges(qa,[[12352,12447],[19968,40959],[44032,55203],[131072,191456]])}function isAnsiWordBound(Ra){return`
\r `.includes(Ra)}function isPunctuation(Ra){if(typeof Ra!="string")return!1;const qa=Ra.charCodeAt(0);return codeIsInRanges(qa,[[33,47],[58,64],[91,96],[123,126],[12288,12351],[65280,65519]])}function readingTime$2(Ra,qa={}){let nd=0,od=0,ld=Ra.length-1;const ud=qa.wordsPerMinute||200,dd=qa.wordBound||isAnsiWordBound;for(;dd(Ra[od]);)od++;for(;dd(Ra[ld]);)ld--;const pd=`${Ra}
`;for(let Ad=od;Ad<=ld;Ad++)if((isCJK(pd[Ad])||!dd(pd[Ad])&&(dd(pd[Ad+1])||isCJK(pd[Ad+1])))&&nd++,isCJK(pd[Ad]))for(;Ad<=ld&&(isPunctuation(pd[Ad+1])||dd(pd[Ad+1]));)Ad++;const fd=nd/ud,md=Math.round(fd*60*1e3);return{text:Math.ceil(fd.toFixed(2))+" min read",minutes:fd,time:md,words:nd}}var readingTime_1=readingTime$2,events={exports:{}},R$3=typeof Reflect=="object"?Reflect:null,ReflectApply=R$3&&typeof R$3.apply=="function"?R$3.apply:function(qa,nd,od){return Function.prototype.apply.call(qa,nd,od)},ReflectOwnKeys;R$3&&typeof R$3.ownKeys=="function"?ReflectOwnKeys=R$3.ownKeys:Object.getOwnPropertySymbols?ReflectOwnKeys=function(qa){return Object.getOwnPropertyNames(qa).concat(Object.getOwnPropertySymbols(qa))}:ReflectOwnKeys=function(qa){return Object.getOwnPropertyNames(qa)};function ProcessEmitWarning(Ra){console&&console.warn&&console.warn(Ra)}var NumberIsNaN=Number.isNaN||function(qa){return qa!==qa};function EventEmitter(){EventEmitter.init.call(this)}events.exports=EventEmitter;events.exports.once=once$3;EventEmitter.EventEmitter=EventEmitter;EventEmitter.prototype._events=void 0;EventEmitter.prototype._eventsCount=0;EventEmitter.prototype._maxListeners=void 0;var defaultMaxListeners=10;function checkListener(Ra){if(typeof Ra!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof Ra)}Object.defineProperty(EventEmitter,"defaultMaxListeners",{enumerable:!0,get:function(){return defaultMaxListeners},set:function(Ra){if(typeof Ra!="number"||Ra<0||NumberIsNaN(Ra))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+Ra+".");defaultMaxListeners=Ra}});EventEmitter.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};EventEmitter.prototype.setMaxListeners=function(qa){if(typeof qa!="number"||qa<0||NumberIsNaN(qa))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+qa+".");return this._maxListeners=qa,this};function _getMaxListeners(Ra){return Ra._maxListeners===void 0?EventEmitter.defaultMaxListeners:Ra._maxListeners}EventEmitter.prototype.getMaxListeners=function(){return _getMaxListeners(this)};EventEmitter.prototype.emit=function(qa){for(var nd=[],od=1;od<arguments.length;od++)nd.push(arguments[od]);var ld=qa==="error",ud=this._events;if(ud!==void 0)ld=ld&&ud.error===void 0;else if(!ld)return!1;if(ld){var dd;if(nd.length>0&&(dd=nd[0]),dd instanceof Error)throw dd;var pd=new Error("Unhandled error."+(dd?" ("+dd.message+")":""));throw pd.context=dd,pd}var fd=ud[qa];if(fd===void 0)return!1;if(typeof fd=="function")ReflectApply(fd,this,nd);else for(var md=fd.length,vd=arrayClone(fd,md),od=0;od<md;++od)ReflectApply(vd[od],this,nd);return!0};function _addListener(Ra,qa,nd,od){var ld,ud,dd;if(checkListener(nd),ud=Ra._events,ud===void 0?(ud=Ra._events=Object.create(null),Ra._eventsCount=0):(ud.newListener!==void 0&&(Ra.emit("newListener",qa,nd.listener?nd.listener:nd),ud=Ra._events),dd=ud[qa]),dd===void 0)dd=ud[qa]=nd,++Ra._eventsCount;else if(typeof dd=="function"?dd=ud[qa]=od?[nd,dd]:[dd,nd]:od?dd.unshift(nd):dd.push(nd),ld=_getMaxListeners(Ra),ld>0&&dd.length>ld&&!dd.warned){dd.warned=!0;var pd=new Error("Possible EventEmitter memory leak detected. "+dd.length+" "+String(qa)+" listeners added. Use emitter.setMaxListeners() to increase limit");pd.name="MaxListenersExceededWarning",pd.emitter=Ra,pd.type=qa,pd.count=dd.length,ProcessEmitWarning(pd)}return Ra}EventEmitter.prototype.addListener=function(qa,nd){return _addListener(this,qa,nd,!1)};EventEmitter.prototype.on=EventEmitter.prototype.addListener;EventEmitter.prototype.prependListener=function(qa,nd){return _addListener(this,qa,nd,!0)};function onceWrapper(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function _onceWrap(Ra,qa,nd){var od={fired:!1,wrapFn:void 0,target:Ra,type:qa,listener:nd},ld=onceWrapper.bind(od);return ld.listener=nd,od.wrapFn=ld,ld}EventEmitter.prototype.once=function(qa,nd){return checkListener(nd),this.on(qa,_onceWrap(this,qa,nd)),this};EventEmitter.prototype.prependOnceListener=function(qa,nd){return checkListener(nd),this.prependListener(qa,_onceWrap(this,qa,nd)),this};EventEmitter.prototype.removeListener=function(qa,nd){var od,ld,ud,dd,pd;if(checkListener(nd),ld=this._events,ld===void 0)return this;if(od=ld[qa],od===void 0)return this;if(od===nd||od.listener===nd)--this._eventsCount===0?this._events=Object.create(null):(delete ld[qa],ld.removeListener&&this.emit("removeListener",qa,od.listener||nd));else if(typeof od!="function"){for(ud=-1,dd=od.length-1;dd>=0;dd--)if(od[dd]===nd||od[dd].listener===nd){pd=od[dd].listener,ud=dd;break}if(ud<0)return this;ud===0?od.shift():spliceOne(od,ud),od.length===1&&(ld[qa]=od[0]),ld.removeListener!==void 0&&this.emit("removeListener",qa,pd||nd)}return this};EventEmitter.prototype.off=EventEmitter.prototype.removeListener;EventEmitter.prototype.removeAllListeners=function(qa){var nd,od,ld;if(od=this._events,od===void 0)return this;if(od.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):od[qa]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete od[qa]),this;if(arguments.length===0){var ud=Object.keys(od),dd;for(ld=0;ld<ud.length;++ld)dd=ud[ld],dd!=="removeListener"&&this.removeAllListeners(dd);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(nd=od[qa],typeof nd=="function")this.removeListener(qa,nd);else if(nd!==void 0)for(ld=nd.length-1;ld>=0;ld--)this.removeListener(qa,nd[ld]);return this};function _listeners(Ra,qa,nd){var od=Ra._events;if(od===void 0)return[];var ld=od[qa];return ld===void 0?[]:typeof ld=="function"?nd?[ld.listener||ld]:[ld]:nd?unwrapListeners(ld):arrayClone(ld,ld.length)}EventEmitter.prototype.listeners=function(qa){return _listeners(this,qa,!0)};EventEmitter.prototype.rawListeners=function(qa){return _listeners(this,qa,!1)};EventEmitter.listenerCount=function(Ra,qa){return typeof Ra.listenerCount=="function"?Ra.listenerCount(qa):listenerCount.call(Ra,qa)};EventEmitter.prototype.listenerCount=listenerCount;function listenerCount(Ra){var qa=this._events;if(qa!==void 0){var nd=qa[Ra];if(typeof nd=="function")return 1;if(nd!==void 0)return nd.length}return 0}EventEmitter.prototype.eventNames=function(){return this._eventsCount>0?ReflectOwnKeys(this._events):[]};function arrayClone(Ra,qa){for(var nd=new Array(qa),od=0;od<qa;++od)nd[od]=Ra[od];return nd}function spliceOne(Ra,qa){for(;qa+1<Ra.length;qa++)Ra[qa]=Ra[qa+1];Ra.pop()}function unwrapListeners(Ra){for(var qa=new Array(Ra.length),nd=0;nd<qa.length;++nd)qa[nd]=Ra[nd].listener||Ra[nd];return qa}function once$3(Ra,qa){return new Promise(function(nd,od){function ld(dd){Ra.removeListener(qa,ud),od(dd)}function ud(){typeof Ra.removeListener=="function"&&Ra.removeListener("error",ld),nd([].slice.call(arguments))}eventTargetAgnosticAddListener(Ra,qa,ud,{once:!0}),qa!=="error"&&addErrorHandlerIfEventEmitter(Ra,ld,{once:!0})})}function addErrorHandlerIfEventEmitter(Ra,qa,nd){typeof Ra.on=="function"&&eventTargetAgnosticAddListener(Ra,"error",qa,nd)}function eventTargetAgnosticAddListener(Ra,qa,nd,od){if(typeof Ra.on=="function")od.once?Ra.once(qa,nd):Ra.on(qa,nd);else if(typeof Ra.addEventListener=="function")Ra.addEventListener(qa,function ld(ud){od.once&&Ra.removeEventListener(qa,ld),nd(ud)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof Ra)}var eventsExports=events.exports,inherits_browser={exports:{}};typeof Object.create=="function"?inherits_browser.exports=function(qa,nd){nd&&(qa.super_=nd,qa.prototype=Object.create(nd.prototype,{constructor:{value:qa,enumerable:!1,writable:!0,configurable:!0}}))}:inherits_browser.exports=function(qa,nd){if(nd){qa.super_=nd;var od=function(){};od.prototype=nd.prototype,qa.prototype=new od,qa.prototype.constructor=qa}};var inherits_browserExports=inherits_browser.exports,streamBrowser=eventsExports.EventEmitter,buffer={},base64Js={},hasRequiredBase64Js;function requireBase64Js(){if(hasRequiredBase64Js)return base64Js;hasRequiredBase64Js=1,base64Js.byteLength=pd,base64Js.toByteArray=md,base64Js.fromByteArray=Nd;for(var Ra=[],qa=[],nd=typeof Uint8Array<"u"?Uint8Array:Array,od="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ld=0,ud=od.length;ld<ud;++ld)Ra[ld]=od[ld],qa[od.charCodeAt(ld)]=ld;qa[45]=62,qa[95]=63;function dd(Od){var kd=Od.length;if(kd%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var Ld=Od.indexOf("=");Ld===-1&&(Ld=kd);var Gd=Ld===kd?0:4-Ld%4;return[Ld,Gd]}function pd(Od){var kd=dd(Od),Ld=kd[0],Gd=kd[1];return(Ld+Gd)*3/4-Gd}function fd(Od,kd,Ld){return(kd+Ld)*3/4-Ld}function md(Od){var kd,Ld=dd(Od),Gd=Ld[0],jd=Ld[1],Fd=new nd(fd(Od,Gd,jd)),Ud=0,qd=jd>0?Gd-4:Gd,zd;for(zd=0;zd<qd;zd+=4)kd=qa[Od.charCodeAt(zd)]<<18|qa[Od.charCodeAt(zd+1)]<<12|qa[Od.charCodeAt(zd+2)]<<6|qa[Od.charCodeAt(zd+3)],Fd[Ud++]=kd>>16&255,Fd[Ud++]=kd>>8&255,Fd[Ud++]=kd&255;return jd===2&&(kd=qa[Od.charCodeAt(zd)]<<2|qa[Od.charCodeAt(zd+1)]>>4,Fd[Ud++]=kd&255),jd===1&&(kd=qa[Od.charCodeAt(zd)]<<10|qa[Od.charCodeAt(zd+1)]<<4|qa[Od.charCodeAt(zd+2)]>>2,Fd[Ud++]=kd>>8&255,Fd[Ud++]=kd&255),Fd}function vd(Od){return Ra[Od>>18&63]+Ra[Od>>12&63]+Ra[Od>>6&63]+Ra[Od&63]}function Ad(Od,kd,Ld){for(var Gd,jd=[],Fd=kd;Fd<Ld;Fd+=3)Gd=(Od[Fd]<<16&16711680)+(Od[Fd+1]<<8&65280)+(Od[Fd+2]&255),jd.push(vd(Gd));return jd.join("")}function Nd(Od){for(var kd,Ld=Od.length,Gd=Ld%3,jd=[],Fd=16383,Ud=0,qd=Ld-Gd;Ud<qd;Ud+=Fd)jd.push(Ad(Od,Ud,Ud+Fd>qd?qd:Ud+Fd));return Gd===1?(kd=Od[Ld-1],jd.push(Ra[kd>>2]+Ra[kd<<4&63]+"==")):Gd===2&&(kd=(Od[Ld-2]<<8)+Od[Ld-1],jd.push(Ra[kd>>10]+Ra[kd>>4&63]+Ra[kd<<2&63]+"=")),jd.join("")}return base64Js}var ieee754={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ieee754.read=function(Ra,qa,nd,od,ld){var ud,dd,pd=ld*8-od-1,fd=(1<<pd)-1,md=fd>>1,vd=-7,Ad=nd?ld-1:0,Nd=nd?-1:1,Od=Ra[qa+Ad];for(Ad+=Nd,ud=Od&(1<<-vd)-1,Od>>=-vd,vd+=pd;vd>0;ud=ud*256+Ra[qa+Ad],Ad+=Nd,vd-=8);for(dd=ud&(1<<-vd)-1,ud>>=-vd,vd+=od;vd>0;dd=dd*256+Ra[qa+Ad],Ad+=Nd,vd-=8);if(ud===0)ud=1-md;else{if(ud===fd)return dd?NaN:(Od?-1:1)*(1/0);dd=dd+Math.pow(2,od),ud=ud-md}return(Od?-1:1)*dd*Math.pow(2,ud-od)};ieee754.write=function(Ra,qa,nd,od,ld,ud){var dd,pd,fd,md=ud*8-ld-1,vd=(1<<md)-1,Ad=vd>>1,Nd=ld===23?Math.pow(2,-24)-Math.pow(2,-77):0,Od=od?0:ud-1,kd=od?1:-1,Ld=qa<0||qa===0&&1/qa<0?1:0;for(qa=Math.abs(qa),isNaN(qa)||qa===1/0?(pd=isNaN(qa)?1:0,dd=vd):(dd=Math.floor(Math.log(qa)/Math.LN2),qa*(fd=Math.pow(2,-dd))<1&&(dd--,fd*=2),dd+Ad>=1?qa+=Nd/fd:qa+=Nd*Math.pow(2,1-Ad),qa*fd>=2&&(dd++,fd/=2),dd+Ad>=vd?(pd=0,dd=vd):dd+Ad>=1?(pd=(qa*fd-1)*Math.pow(2,ld),dd=dd+Ad):(pd=qa*Math.pow(2,Ad-1)*Math.pow(2,ld),dd=0));ld>=8;Ra[nd+Od]=pd&255,Od+=kd,pd/=256,ld-=8);for(dd=dd<<ld|pd,md+=ld;md>0;Ra[nd+Od]=dd&255,Od+=kd,dd/=256,md-=8);Ra[nd+Od-kd]|=Ld*128};/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/(function(Ra){var qa=requireBase64Js(),nd=ieee754,od=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Ra.Buffer=pd,Ra.SlowBuffer=Fd,Ra.INSPECT_MAX_BYTES=50;var ld=2147483647;Ra.kMaxLength=ld,pd.TYPED_ARRAY_SUPPORT=ud(),!pd.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ud(){try{var uh=new Uint8Array(1),Pf={foo:function(){return 42}};return Object.setPrototypeOf(Pf,Uint8Array.prototype),Object.setPrototypeOf(uh,Pf),uh.foo()===42}catch{return!1}}Object.defineProperty(pd.prototype,"parent",{enumerable:!0,get:function(){if(pd.isBuffer(this))return this.buffer}}),Object.defineProperty(pd.prototype,"offset",{enumerable:!0,get:function(){if(pd.isBuffer(this))return this.byteOffset}});function dd(uh){if(uh>ld)throw new RangeError('The value "'+uh+'" is invalid for option "size"');var Pf=new Uint8Array(uh);return Object.setPrototypeOf(Pf,pd.prototype),Pf}function pd(uh,Pf,Uf){if(typeof uh=="number"){if(typeof Pf=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Ad(uh)}return fd(uh,Pf,Uf)}pd.poolSize=8192;function fd(uh,Pf,Uf){if(typeof uh=="string")return Nd(uh,Pf);if(ArrayBuffer.isView(uh))return kd(uh);if(uh==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof uh);if(Bf(uh,ArrayBuffer)||uh&&Bf(uh.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Bf(uh,SharedArrayBuffer)||uh&&Bf(uh.buffer,SharedArrayBuffer)))return Ld(uh,Pf,Uf);if(typeof uh=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Zf=uh.valueOf&&uh.valueOf();if(Zf!=null&&Zf!==uh)return pd.from(Zf,Pf,Uf);var mh=Gd(uh);if(mh)return mh;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof uh[Symbol.toPrimitive]=="function")return pd.from(uh[Symbol.toPrimitive]("string"),Pf,Uf);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof uh)}pd.from=function(uh,Pf,Uf){return fd(uh,Pf,Uf)},Object.setPrototypeOf(pd.prototype,Uint8Array.prototype),Object.setPrototypeOf(pd,Uint8Array);function md(uh){if(typeof uh!="number")throw new TypeError('"size" argument must be of type number');if(uh<0)throw new RangeError('The value "'+uh+'" is invalid for option "size"')}function vd(uh,Pf,Uf){return md(uh),uh<=0?dd(uh):Pf!==void 0?typeof Uf=="string"?dd(uh).fill(Pf,Uf):dd(uh).fill(Pf):dd(uh)}pd.alloc=function(uh,Pf,Uf){return vd(uh,Pf,Uf)};function Ad(uh){return md(uh),dd(uh<0?0:jd(uh)|0)}pd.allocUnsafe=function(uh){return Ad(uh)},pd.allocUnsafeSlow=function(uh){return Ad(uh)};function Nd(uh,Pf){if((typeof Pf!="string"||Pf==="")&&(Pf="utf8"),!pd.isEncoding(Pf))throw new TypeError("Unknown encoding: "+Pf);var Uf=Ud(uh,Pf)|0,Zf=dd(Uf),mh=Zf.write(uh,Pf);return mh!==Uf&&(Zf=Zf.slice(0,mh)),Zf}function Od(uh){for(var Pf=uh.length<0?0:jd(uh.length)|0,Uf=dd(Pf),Zf=0;Zf<Pf;Zf+=1)Uf[Zf]=uh[Zf]&255;return Uf}function kd(uh){if(Bf(uh,Uint8Array)){var Pf=new Uint8Array(uh);return Ld(Pf.buffer,Pf.byteOffset,Pf.byteLength)}return Od(uh)}function Ld(uh,Pf,Uf){if(Pf<0||uh.byteLength<Pf)throw new RangeError('"offset" is outside of buffer bounds');if(uh.byteLength<Pf+(Uf||0))throw new RangeError('"length" is outside of buffer bounds');var Zf;return Pf===void 0&&Uf===void 0?Zf=new Uint8Array(uh):Uf===void 0?Zf=new Uint8Array(uh,Pf):Zf=new Uint8Array(uh,Pf,Uf),Object.setPrototypeOf(Zf,pd.prototype),Zf}function Gd(uh){if(pd.isBuffer(uh)){var Pf=jd(uh.length)|0,Uf=dd(Pf);return Uf.length===0||uh.copy(Uf,0,0,Pf),Uf}if(uh.length!==void 0)return typeof uh.length!="number"||Sh(uh.length)?dd(0):Od(uh);if(uh.type==="Buffer"&&Array.isArray(uh.data))return Od(uh.data)}function jd(uh){if(uh>=ld)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ld.toString(16)+" bytes");return uh|0}function Fd(uh){return+uh!=uh&&(uh=0),pd.alloc(+uh)}pd.isBuffer=function(Pf){return Pf!=null&&Pf._isBuffer===!0&&Pf!==pd.prototype},pd.compare=function(Pf,Uf){if(Bf(Pf,Uint8Array)&&(Pf=pd.from(Pf,Pf.offset,Pf.byteLength)),Bf(Uf,Uint8Array)&&(Uf=pd.from(Uf,Uf.offset,Uf.byteLength)),!pd.isBuffer(Pf)||!pd.isBuffer(Uf))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Pf===Uf)return 0;for(var Zf=Pf.length,mh=Uf.length,Mh=0,_h=Math.min(Zf,mh);Mh<_h;++Mh)if(Pf[Mh]!==Uf[Mh]){Zf=Pf[Mh],mh=Uf[Mh];break}return Zf<mh?-1:mh<Zf?1:0},pd.isEncoding=function(Pf){switch(String(Pf).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},pd.concat=function(Pf,Uf){if(!Array.isArray(Pf))throw new TypeError('"list" argument must be an Array of Buffers');if(Pf.length===0)return pd.alloc(0);var Zf;if(Uf===void 0)for(Uf=0,Zf=0;Zf<Pf.length;++Zf)Uf+=Pf[Zf].length;var mh=pd.allocUnsafe(Uf),Mh=0;for(Zf=0;Zf<Pf.length;++Zf){var _h=Pf[Zf];if(Bf(_h,Uint8Array))Mh+_h.length>mh.length?pd.from(_h).copy(mh,Mh):Uint8Array.prototype.set.call(mh,_h,Mh);else if(pd.isBuffer(_h))_h.copy(mh,Mh);else throw new TypeError('"list" argument must be an Array of Buffers');Mh+=_h.length}return mh};function Ud(uh,Pf){if(pd.isBuffer(uh))return uh.length;if(ArrayBuffer.isView(uh)||Bf(uh,ArrayBuffer))return uh.byteLength;if(typeof uh!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof uh);var Uf=uh.length,Zf=arguments.length>2&&arguments[2]===!0;if(!Zf&&Uf===0)return 0;for(var mh=!1;;)switch(Pf){case"ascii":case"latin1":case"binary":return Uf;case"utf8":case"utf-8":return xf(uh).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Uf*2;case"hex":return Uf>>>1;case"base64":return Rh(uh).length;default:if(mh)return Zf?-1:xf(uh).length;Pf=(""+Pf).toLowerCase(),mh=!0}}pd.byteLength=Ud;function qd(uh,Pf,Uf){var Zf=!1;if((Pf===void 0||Pf<0)&&(Pf=0),Pf>this.length||((Uf===void 0||Uf>this.length)&&(Uf=this.length),Uf<=0)||(Uf>>>=0,Pf>>>=0,Uf<=Pf))return"";for(uh||(uh="utf8");;)switch(uh){case"hex":return Qf(this,Pf,Uf);case"utf8":case"utf-8":return Af(this,Pf,Uf);case"ascii":return If(this,Pf,Uf);case"latin1":case"binary":return Gf(this,Pf,Uf);case"base64":return Tf(this,Pf,Uf);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Xf(this,Pf,Uf);default:if(Zf)throw new TypeError("Unknown encoding: "+uh);uh=(uh+"").toLowerCase(),Zf=!0}}pd.prototype._isBuffer=!0;function zd(uh,Pf,Uf){var Zf=uh[Pf];uh[Pf]=uh[Uf],uh[Uf]=Zf}pd.prototype.swap16=function(){var Pf=this.length;if(Pf%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Uf=0;Uf<Pf;Uf+=2)zd(this,Uf,Uf+1);return this},pd.prototype.swap32=function(){var Pf=this.length;if(Pf%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var Uf=0;Uf<Pf;Uf+=4)zd(this,Uf,Uf+3),zd(this,Uf+1,Uf+2);return this},pd.prototype.swap64=function(){var Pf=this.length;if(Pf%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var Uf=0;Uf<Pf;Uf+=8)zd(this,Uf,Uf+7),zd(this,Uf+1,Uf+6),zd(this,Uf+2,Uf+5),zd(this,Uf+3,Uf+4);return this},pd.prototype.toString=function(){var Pf=this.length;return Pf===0?"":arguments.length===0?Af(this,0,Pf):qd.apply(this,arguments)},pd.prototype.toLocaleString=pd.prototype.toString,pd.prototype.equals=function(Pf){if(!pd.isBuffer(Pf))throw new TypeError("Argument must be a Buffer");return this===Pf?!0:pd.compare(this,Pf)===0},pd.prototype.inspect=function(){var Pf="",Uf=Ra.INSPECT_MAX_BYTES;return Pf=this.toString("hex",0,Uf).replace(/(.{2})/g,"$1 ").trim(),this.length>Uf&&(Pf+=" ... "),"<Buffer "+Pf+">"},od&&(pd.prototype[od]=pd.prototype.inspect),pd.prototype.compare=function(Pf,Uf,Zf,mh,Mh){if(Bf(Pf,Uint8Array)&&(Pf=pd.from(Pf,Pf.offset,Pf.byteLength)),!pd.isBuffer(Pf))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Pf);if(Uf===void 0&&(Uf=0),Zf===void 0&&(Zf=Pf?Pf.length:0),mh===void 0&&(mh=0),Mh===void 0&&(Mh=this.length),Uf<0||Zf>Pf.length||mh<0||Mh>this.length)throw new RangeError("out of range index");if(mh>=Mh&&Uf>=Zf)return 0;if(mh>=Mh)return-1;if(Uf>=Zf)return 1;if(Uf>>>=0,Zf>>>=0,mh>>>=0,Mh>>>=0,this===Pf)return 0;for(var _h=Mh-mh,pm=Zf-Uf,Jh=Math.min(_h,pm),Mm=this.slice(mh,Mh),Im=Pf.slice(Uf,Zf),gm=0;gm<Jh;++gm)if(Mm[gm]!==Im[gm]){_h=Mm[gm],pm=Im[gm];break}return _h<pm?-1:pm<_h?1:0};function Wd(uh,Pf,Uf,Zf,mh){if(uh.length===0)return-1;if(typeof Uf=="string"?(Zf=Uf,Uf=0):Uf>2147483647?Uf=2147483647:Uf<-2147483648&&(Uf=-2147483648),Uf=+Uf,Sh(Uf)&&(Uf=mh?0:uh.length-1),Uf<0&&(Uf=uh.length+Uf),Uf>=uh.length){if(mh)return-1;Uf=uh.length-1}else if(Uf<0)if(mh)Uf=0;else return-1;if(typeof Pf=="string"&&(Pf=pd.from(Pf,Zf)),pd.isBuffer(Pf))return Pf.length===0?-1:Jd(uh,Pf,Uf,Zf,mh);if(typeof Pf=="number")return Pf=Pf&255,typeof Uint8Array.prototype.indexOf=="function"?mh?Uint8Array.prototype.indexOf.call(uh,Pf,Uf):Uint8Array.prototype.lastIndexOf.call(uh,Pf,Uf):Jd(uh,[Pf],Uf,Zf,mh);throw new TypeError("val must be string, number or Buffer")}function Jd(uh,Pf,Uf,Zf,mh){var Mh=1,_h=uh.length,pm=Pf.length;if(Zf!==void 0&&(Zf=String(Zf).toLowerCase(),Zf==="ucs2"||Zf==="ucs-2"||Zf==="utf16le"||Zf==="utf-16le")){if(uh.length<2||Pf.length<2)return-1;Mh=2,_h/=2,pm/=2,Uf/=2}function Jh(Vm,Th){return Mh===1?Vm[Th]:Vm.readUInt16BE(Th*Mh)}var Mm;if(mh){var Im=-1;for(Mm=Uf;Mm<_h;Mm++)if(Jh(uh,Mm)===Jh(Pf,Im===-1?0:Mm-Im)){if(Im===-1&&(Im=Mm),Mm-Im+1===pm)return Im*Mh}else Im!==-1&&(Mm-=Mm-Im),Im=-1}else for(Uf+pm>_h&&(Uf=_h-pm),Mm=Uf;Mm>=0;Mm--){for(var gm=!0,Lm=0;Lm<pm;Lm++)if(Jh(uh,Mm+Lm)!==Jh(Pf,Lm)){gm=!1;break}if(gm)return Mm}return-1}pd.prototype.includes=function(Pf,Uf,Zf){return this.indexOf(Pf,Uf,Zf)!==-1},pd.prototype.indexOf=function(Pf,Uf,Zf){return Wd(this,Pf,Uf,Zf,!0)},pd.prototype.lastIndexOf=function(Pf,Uf,Zf){return Wd(this,Pf,Uf,Zf,!1)};function _f(uh,Pf,Uf,Zf){Uf=Number(Uf)||0;var mh=uh.length-Uf;Zf?(Zf=Number(Zf),Zf>mh&&(Zf=mh)):Zf=mh;var Mh=Pf.length;Zf>Mh/2&&(Zf=Mh/2);for(var _h=0;_h<Zf;++_h){var pm=parseInt(Pf.substr(_h*2,2),16);if(Sh(pm))return _h;uh[Uf+_h]=pm}return _h}function Xd(uh,Pf,Uf,Zf){return th(xf(Pf,uh.length-Uf),uh,Uf,Zf)}function pf(uh,Pf,Uf,Zf){return th(Yf(Pf),uh,Uf,Zf)}function mf(uh,Pf,Uf,Zf){return th(Rh(Pf),uh,Uf,Zf)}function Sf(uh,Pf,Uf,Zf){return th(dh(Pf,uh.length-Uf),uh,Uf,Zf)}pd.prototype.write=function(Pf,Uf,Zf,mh){if(Uf===void 0)mh="utf8",Zf=this.length,Uf=0;else if(Zf===void 0&&typeof Uf=="string")mh=Uf,Zf=this.length,Uf=0;else if(isFinite(Uf))Uf=Uf>>>0,isFinite(Zf)?(Zf=Zf>>>0,mh===void 0&&(mh="utf8")):(mh=Zf,Zf=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Mh=this.length-Uf;if((Zf===void 0||Zf>Mh)&&(Zf=Mh),Pf.length>0&&(Zf<0||Uf<0)||Uf>this.length)throw new RangeError("Attempt to write outside buffer bounds");mh||(mh="utf8");for(var _h=!1;;)switch(mh){case"hex":return _f(this,Pf,Uf,Zf);case"utf8":case"utf-8":return Xd(this,Pf,Uf,Zf);case"ascii":case"latin1":case"binary":return pf(this,Pf,Uf,Zf);case"base64":return mf(this,Pf,Uf,Zf);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Sf(this,Pf,Uf,Zf);default:if(_h)throw new TypeError("Unknown encoding: "+mh);mh=(""+mh).toLowerCase(),_h=!0}},pd.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Tf(uh,Pf,Uf){return Pf===0&&Uf===uh.length?qa.fromByteArray(uh):qa.fromByteArray(uh.slice(Pf,Uf))}function Af(uh,Pf,Uf){Uf=Math.min(uh.length,Uf);for(var Zf=[],mh=Pf;mh<Uf;){var Mh=uh[mh],_h=null,pm=Mh>239?4:Mh>223?3:Mh>191?2:1;if(mh+pm<=Uf){var Jh,Mm,Im,gm;switch(pm){case 1:Mh<128&&(_h=Mh);break;case 2:Jh=uh[mh+1],(Jh&192)===128&&(gm=(Mh&31)<<6|Jh&63,gm>127&&(_h=gm));break;case 3:Jh=uh[mh+1],Mm=uh[mh+2],(Jh&192)===128&&(Mm&192)===128&&(gm=(Mh&15)<<12|(Jh&63)<<6|Mm&63,gm>2047&&(gm<55296||gm>57343)&&(_h=gm));break;case 4:Jh=uh[mh+1],Mm=uh[mh+2],Im=uh[mh+3],(Jh&192)===128&&(Mm&192)===128&&(Im&192)===128&&(gm=(Mh&15)<<18|(Jh&63)<<12|(Mm&63)<<6|Im&63,gm>65535&&gm<1114112&&(_h=gm))}}_h===null?(_h=65533,pm=1):_h>65535&&(_h-=65536,Zf.push(_h>>>10&1023|55296),_h=56320|_h&1023),Zf.push(_h),mh+=pm}return Nf(Zf)}var Ef=4096;function Nf(uh){var Pf=uh.length;if(Pf<=Ef)return String.fromCharCode.apply(String,uh);for(var Uf="",Zf=0;Zf<Pf;)Uf+=String.fromCharCode.apply(String,uh.slice(Zf,Zf+=Ef));return Uf}function If(uh,Pf,Uf){var Zf="";Uf=Math.min(uh.length,Uf);for(var mh=Pf;mh<Uf;++mh)Zf+=String.fromCharCode(uh[mh]&127);return Zf}function Gf(uh,Pf,Uf){var Zf="";Uf=Math.min(uh.length,Uf);for(var mh=Pf;mh<Uf;++mh)Zf+=String.fromCharCode(uh[mh]);return Zf}function Qf(uh,Pf,Uf){var Zf=uh.length;(!Pf||Pf<0)&&(Pf=0),(!Uf||Uf<0||Uf>Zf)&&(Uf=Zf);for(var mh="",Mh=Pf;Mh<Uf;++Mh)mh+=Fh[uh[Mh]];return mh}function Xf(uh,Pf,Uf){for(var Zf=uh.slice(Pf,Uf),mh="",Mh=0;Mh<Zf.length-1;Mh+=2)mh+=String.fromCharCode(Zf[Mh]+Zf[Mh+1]*256);return mh}pd.prototype.slice=function(Pf,Uf){var Zf=this.length;Pf=~~Pf,Uf=Uf===void 0?Zf:~~Uf,Pf<0?(Pf+=Zf,Pf<0&&(Pf=0)):Pf>Zf&&(Pf=Zf),Uf<0?(Uf+=Zf,Uf<0&&(Uf=0)):Uf>Zf&&(Uf=Zf),Uf<Pf&&(Uf=Pf);var mh=this.subarray(Pf,Uf);return Object.setPrototypeOf(mh,pd.prototype),mh};function ph(uh,Pf,Uf){if(uh%1!==0||uh<0)throw new RangeError("offset is not uint");if(uh+Pf>Uf)throw new RangeError("Trying to access beyond buffer length")}pd.prototype.readUintLE=pd.prototype.readUIntLE=function(Pf,Uf,Zf){Pf=Pf>>>0,Uf=Uf>>>0,Zf||ph(Pf,Uf,this.length);for(var mh=this[Pf],Mh=1,_h=0;++_h<Uf&&(Mh*=256);)mh+=this[Pf+_h]*Mh;return mh},pd.prototype.readUintBE=pd.prototype.readUIntBE=function(Pf,Uf,Zf){Pf=Pf>>>0,Uf=Uf>>>0,Zf||ph(Pf,Uf,this.length);for(var mh=this[Pf+--Uf],Mh=1;Uf>0&&(Mh*=256);)mh+=this[Pf+--Uf]*Mh;return mh},pd.prototype.readUint8=pd.prototype.readUInt8=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,1,this.length),this[Pf]},pd.prototype.readUint16LE=pd.prototype.readUInt16LE=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,2,this.length),this[Pf]|this[Pf+1]<<8},pd.prototype.readUint16BE=pd.prototype.readUInt16BE=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,2,this.length),this[Pf]<<8|this[Pf+1]},pd.prototype.readUint32LE=pd.prototype.readUInt32LE=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,4,this.length),(this[Pf]|this[Pf+1]<<8|this[Pf+2]<<16)+this[Pf+3]*16777216},pd.prototype.readUint32BE=pd.prototype.readUInt32BE=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,4,this.length),this[Pf]*16777216+(this[Pf+1]<<16|this[Pf+2]<<8|this[Pf+3])},pd.prototype.readIntLE=function(Pf,Uf,Zf){Pf=Pf>>>0,Uf=Uf>>>0,Zf||ph(Pf,Uf,this.length);for(var mh=this[Pf],Mh=1,_h=0;++_h<Uf&&(Mh*=256);)mh+=this[Pf+_h]*Mh;return Mh*=128,mh>=Mh&&(mh-=Math.pow(2,8*Uf)),mh},pd.prototype.readIntBE=function(Pf,Uf,Zf){Pf=Pf>>>0,Uf=Uf>>>0,Zf||ph(Pf,Uf,this.length);for(var mh=Uf,Mh=1,_h=this[Pf+--mh];mh>0&&(Mh*=256);)_h+=this[Pf+--mh]*Mh;return Mh*=128,_h>=Mh&&(_h-=Math.pow(2,8*Uf)),_h},pd.prototype.readInt8=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,1,this.length),this[Pf]&128?(255-this[Pf]+1)*-1:this[Pf]},pd.prototype.readInt16LE=function(Pf,Uf){Pf=Pf>>>0,Uf||ph(Pf,2,this.length);var Zf=this[Pf]|this[Pf+1]<<8;return Zf&32768?Zf|4294901760:Zf},pd.prototype.readInt16BE=function(Pf,Uf){Pf=Pf>>>0,Uf||ph(Pf,2,this.length);var Zf=this[Pf+1]|this[Pf]<<8;return Zf&32768?Zf|4294901760:Zf},pd.prototype.readInt32LE=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,4,this.length),this[Pf]|this[Pf+1]<<8|this[Pf+2]<<16|this[Pf+3]<<24},pd.prototype.readInt32BE=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,4,this.length),this[Pf]<<24|this[Pf+1]<<16|this[Pf+2]<<8|this[Pf+3]},pd.prototype.readFloatLE=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,4,this.length),nd.read(this,Pf,!0,23,4)},pd.prototype.readFloatBE=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,4,this.length),nd.read(this,Pf,!1,23,4)},pd.prototype.readDoubleLE=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,8,this.length),nd.read(this,Pf,!0,52,8)},pd.prototype.readDoubleBE=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,8,this.length),nd.read(this,Pf,!1,52,8)};function qf(uh,Pf,Uf,Zf,mh,Mh){if(!pd.isBuffer(uh))throw new TypeError('"buffer" argument must be a Buffer instance');if(Pf>mh||Pf<Mh)throw new RangeError('"value" argument is out of bounds');if(Uf+Zf>uh.length)throw new RangeError("Index out of range")}pd.prototype.writeUintLE=pd.prototype.writeUIntLE=function(Pf,Uf,Zf,mh){if(Pf=+Pf,Uf=Uf>>>0,Zf=Zf>>>0,!mh){var Mh=Math.pow(2,8*Zf)-1;qf(this,Pf,Uf,Zf,Mh,0)}var _h=1,pm=0;for(this[Uf]=Pf&255;++pm<Zf&&(_h*=256);)this[Uf+pm]=Pf/_h&255;return Uf+Zf},pd.prototype.writeUintBE=pd.prototype.writeUIntBE=function(Pf,Uf,Zf,mh){if(Pf=+Pf,Uf=Uf>>>0,Zf=Zf>>>0,!mh){var Mh=Math.pow(2,8*Zf)-1;qf(this,Pf,Uf,Zf,Mh,0)}var _h=Zf-1,pm=1;for(this[Uf+_h]=Pf&255;--_h>=0&&(pm*=256);)this[Uf+_h]=Pf/pm&255;return Uf+Zf},pd.prototype.writeUint8=pd.prototype.writeUInt8=function(Pf,Uf,Zf){return Pf=+Pf,Uf=Uf>>>0,Zf||qf(this,Pf,Uf,1,255,0),this[Uf]=Pf&255,Uf+1},pd.prototype.writeUint16LE=pd.prototype.writeUInt16LE=function(Pf,Uf,Zf){return Pf=+Pf,Uf=Uf>>>0,Zf||qf(this,Pf,Uf,2,65535,0),this[Uf]=Pf&255,this[Uf+1]=Pf>>>8,Uf+2},pd.prototype.writeUint16BE=pd.prototype.writeUInt16BE=function(Pf,Uf,Zf){return Pf=+Pf,Uf=Uf>>>0,Zf||qf(this,Pf,Uf,2,65535,0),this[Uf]=Pf>>>8,this[Uf+1]=Pf&255,Uf+2},pd.prototype.writeUint32LE=pd.prototype.writeUInt32LE=function(Pf,Uf,Zf){return Pf=+Pf,Uf=Uf>>>0,Zf||qf(this,Pf,Uf,4,4294967295,0),this[Uf+3]=Pf>>>24,this[Uf+2]=Pf>>>16,this[Uf+1]=Pf>>>8,this[Uf]=Pf&255,Uf+4},pd.prototype.writeUint32BE=pd.prototype.writeUInt32BE=function(Pf,Uf,Zf){return Pf=+Pf,Uf=Uf>>>0,Zf||qf(this,Pf,Uf,4,4294967295,0),this[Uf]=Pf>>>24,this[Uf+1]=Pf>>>16,this[Uf+2]=Pf>>>8,this[Uf+3]=Pf&255,Uf+4},pd.prototype.writeIntLE=function(Pf,Uf,Zf,mh){if(Pf=+Pf,Uf=Uf>>>0,!mh){var Mh=Math.pow(2,8*Zf-1);qf(this,Pf,Uf,Zf,Mh-1,-Mh)}var _h=0,pm=1,Jh=0;for(this[Uf]=Pf&255;++_h<Zf&&(pm*=256);)Pf<0&&Jh===0&&this[Uf+_h-1]!==0&&(Jh=1),this[Uf+_h]=(Pf/pm>>0)-Jh&255;return Uf+Zf},pd.prototype.writeIntBE=function(Pf,Uf,Zf,mh){if(Pf=+Pf,Uf=Uf>>>0,!mh){var Mh=Math.pow(2,8*Zf-1);qf(this,Pf,Uf,Zf,Mh-1,-Mh)}var _h=Zf-1,pm=1,Jh=0;for(this[Uf+_h]=Pf&255;--_h>=0&&(pm*=256);)Pf<0&&Jh===0&&this[Uf+_h+1]!==0&&(Jh=1),this[Uf+_h]=(Pf/pm>>0)-Jh&255;return Uf+Zf},pd.prototype.writeInt8=function(Pf,Uf,Zf){return Pf=+Pf,Uf=Uf>>>0,Zf||qf(this,Pf,Uf,1,127,-128),Pf<0&&(Pf=255+Pf+1),this[Uf]=Pf&255,Uf+1},pd.prototype.writeInt16LE=function(Pf,Uf,Zf){return Pf=+Pf,Uf=Uf>>>0,Zf||qf(this,Pf,Uf,2,32767,-32768),this[Uf]=Pf&255,this[Uf+1]=Pf>>>8,Uf+2},pd.prototype.writeInt16BE=function(Pf,Uf,Zf){return Pf=+Pf,Uf=Uf>>>0,Zf||qf(this,Pf,Uf,2,32767,-32768),this[Uf]=Pf>>>8,this[Uf+1]=Pf&255,Uf+2},pd.prototype.writeInt32LE=function(Pf,Uf,Zf){return Pf=+Pf,Uf=Uf>>>0,Zf||qf(this,Pf,Uf,4,2147483647,-2147483648),this[Uf]=Pf&255,this[Uf+1]=Pf>>>8,this[Uf+2]=Pf>>>16,this[Uf+3]=Pf>>>24,Uf+4},pd.prototype.writeInt32BE=function(Pf,Uf,Zf){return Pf=+Pf,Uf=Uf>>>0,Zf||qf(this,Pf,Uf,4,2147483647,-2147483648),Pf<0&&(Pf=4294967295+Pf+1),this[Uf]=Pf>>>24,this[Uf+1]=Pf>>>16,this[Uf+2]=Pf>>>8,this[Uf+3]=Pf&255,Uf+4};function Lf(uh,Pf,Uf,Zf,mh,Mh){if(Uf+Zf>uh.length)throw new RangeError("Index out of range");if(Uf<0)throw new RangeError("Index out of range")}function Wf(uh,Pf,Uf,Zf,mh){return Pf=+Pf,Uf=Uf>>>0,mh||Lf(uh,Pf,Uf,4),nd.write(uh,Pf,Uf,Zf,23,4),Uf+4}pd.prototype.writeFloatLE=function(Pf,Uf,Zf){return Wf(this,Pf,Uf,!0,Zf)},pd.prototype.writeFloatBE=function(Pf,Uf,Zf){return Wf(this,Pf,Uf,!1,Zf)};function Jf(uh,Pf,Uf,Zf,mh){return Pf=+Pf,Uf=Uf>>>0,mh||Lf(uh,Pf,Uf,8),nd.write(uh,Pf,Uf,Zf,52,8),Uf+8}pd.prototype.writeDoubleLE=function(Pf,Uf,Zf){return Jf(this,Pf,Uf,!0,Zf)},pd.prototype.writeDoubleBE=function(Pf,Uf,Zf){return Jf(this,Pf,Uf,!1,Zf)},pd.prototype.copy=function(Pf,Uf,Zf,mh){if(!pd.isBuffer(Pf))throw new TypeError("argument should be a Buffer");if(Zf||(Zf=0),!mh&&mh!==0&&(mh=this.length),Uf>=Pf.length&&(Uf=Pf.length),Uf||(Uf=0),mh>0&&mh<Zf&&(mh=Zf),mh===Zf||Pf.length===0||this.length===0)return 0;if(Uf<0)throw new RangeError("targetStart out of bounds");if(Zf<0||Zf>=this.length)throw new RangeError("Index out of range");if(mh<0)throw new RangeError("sourceEnd out of bounds");mh>this.length&&(mh=this.length),Pf.length-Uf<mh-Zf&&(mh=Pf.length-Uf+Zf);var Mh=mh-Zf;return this===Pf&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(Uf,Zf,mh):Uint8Array.prototype.set.call(Pf,this.subarray(Zf,mh),Uf),Mh},pd.prototype.fill=function(Pf,Uf,Zf,mh){if(typeof Pf=="string"){if(typeof Uf=="string"?(mh=Uf,Uf=0,Zf=this.length):typeof Zf=="string"&&(mh=Zf,Zf=this.length),mh!==void 0&&typeof mh!="string")throw new TypeError("encoding must be a string");if(typeof mh=="string"&&!pd.isEncoding(mh))throw new TypeError("Unknown encoding: "+mh);if(Pf.length===1){var Mh=Pf.charCodeAt(0);(mh==="utf8"&&Mh<128||mh==="latin1")&&(Pf=Mh)}}else typeof Pf=="number"?Pf=Pf&255:typeof Pf=="boolean"&&(Pf=Number(Pf));if(Uf<0||this.length<Uf||this.length<Zf)throw new RangeError("Out of range index");if(Zf<=Uf)return this;Uf=Uf>>>0,Zf=Zf===void 0?this.length:Zf>>>0,Pf||(Pf=0);var _h;if(typeof Pf=="number")for(_h=Uf;_h<Zf;++_h)this[_h]=Pf;else{var pm=pd.isBuffer(Pf)?Pf:pd.from(Pf,mh),Jh=pm.length;if(Jh===0)throw new TypeError('The value "'+Pf+'" is invalid for argument "value"');for(_h=0;_h<Zf-Uf;++_h)this[_h+Uf]=pm[_h%Jh]}return this};var Kf=/[^+/0-9A-Za-z-_]/g;function Cf(uh){if(uh=uh.split("=")[0],uh=uh.trim().replace(Kf,""),uh.length<2)return"";for(;uh.length%4!==0;)uh=uh+"=";return uh}function xf(uh,Pf){Pf=Pf||1/0;for(var Uf,Zf=uh.length,mh=null,Mh=[],_h=0;_h<Zf;++_h){if(Uf=uh.charCodeAt(_h),Uf>55295&&Uf<57344){if(!mh){if(Uf>56319){(Pf-=3)>-1&&Mh.push(239,191,189);continue}else if(_h+1===Zf){(Pf-=3)>-1&&Mh.push(239,191,189);continue}mh=Uf;continue}if(Uf<56320){(Pf-=3)>-1&&Mh.push(239,191,189),mh=Uf;continue}Uf=(mh-55296<<10|Uf-56320)+65536}else mh&&(Pf-=3)>-1&&Mh.push(239,191,189);if(mh=null,Uf<128){if((Pf-=1)<0)break;Mh.push(Uf)}else if(Uf<2048){if((Pf-=2)<0)break;Mh.push(Uf>>6|192,Uf&63|128)}else if(Uf<65536){if((Pf-=3)<0)break;Mh.push(Uf>>12|224,Uf>>6&63|128,Uf&63|128)}else if(Uf<1114112){if((Pf-=4)<0)break;Mh.push(Uf>>18|240,Uf>>12&63|128,Uf>>6&63|128,Uf&63|128)}else throw new Error("Invalid code point")}return Mh}function Yf(uh){for(var Pf=[],Uf=0;Uf<uh.length;++Uf)Pf.push(uh.charCodeAt(Uf)&255);return Pf}function dh(uh,Pf){for(var Uf,Zf,mh,Mh=[],_h=0;_h<uh.length&&!((Pf-=2)<0);++_h)Uf=uh.charCodeAt(_h),Zf=Uf>>8,mh=Uf%256,Mh.push(mh),Mh.push(Zf);return Mh}function Rh(uh){return qa.toByteArray(Cf(uh))}function th(uh,Pf,Uf,Zf){for(var mh=0;mh<Zf&&!(mh+Uf>=Pf.length||mh>=uh.length);++mh)Pf[mh+Uf]=uh[mh];return mh}function Bf(uh,Pf){return uh instanceof Pf||uh!=null&&uh.constructor!=null&&uh.constructor.name!=null&&uh.constructor.name===Pf.name}function Sh(uh){return uh!==uh}var Fh=function(){for(var uh="0123456789abcdef",Pf=new Array(256),Uf=0;Uf<16;++Uf)for(var Zf=Uf*16,mh=0;mh<16;++mh)Pf[Zf+mh]=uh[Uf]+uh[mh];return Pf}()})(buffer);var util$a={},types$1={},shams$1=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var qa={},nd=Symbol("test"),od=Object(nd);if(typeof nd=="string"||Object.prototype.toString.call(nd)!=="[object Symbol]"||Object.prototype.toString.call(od)!=="[object Symbol]")return!1;var ld=42;qa[nd]=ld;for(nd in qa)return!1;if(typeof Object.keys=="function"&&Object.keys(qa).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(qa).length!==0)return!1;var ud=Object.getOwnPropertySymbols(qa);if(ud.length!==1||ud[0]!==nd||!Object.prototype.propertyIsEnumerable.call(qa,nd))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var dd=Object.getOwnPropertyDescriptor(qa,nd);if(dd.value!==ld||dd.enumerable!==!0)return!1}return!0},hasSymbols$2=shams$1,shams=function(){return hasSymbols$2()&&!!Symbol.toStringTag},esErrors=Error,_eval=EvalError,range$1=RangeError,ref=ReferenceError,syntax=SyntaxError,type=TypeError,uri=URIError,origSymbol=typeof Symbol<"u"&&Symbol,hasSymbolSham=shams$1,hasSymbols$1=function(){return typeof origSymbol!="function"||typeof Symbol!="function"||typeof origSymbol("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:hasSymbolSham()},test$1={__proto__:null,foo:{}},$Object=Object,hasProto$1=function(){return{__proto__:test$1}.foo===test$1.foo&&!(test$1 instanceof $Object)},ERROR_MESSAGE="Function.prototype.bind called on incompatible ",toStr$3=Object.prototype.toString,max=Math.max,funcType="[object Function]",concatty=function(qa,nd){for(var od=[],ld=0;ld<qa.length;ld+=1)od[ld]=qa[ld];for(var ud=0;ud<nd.length;ud+=1)od[ud+qa.length]=nd[ud];return od},slicy=function(qa,nd){for(var od=[],ld=nd,ud=0;ld<qa.length;ld+=1,ud+=1)od[ud]=qa[ld];return od},joiny=function(Ra,qa){for(var nd="",od=0;od<Ra.length;od+=1)nd+=Ra[od],od+1<Ra.length&&(nd+=qa);return nd},implementation$1=function(qa){var nd=this;if(typeof nd!="function"||toStr$3.apply(nd)!==funcType)throw new TypeError(ERROR_MESSAGE+nd);for(var od=slicy(arguments,1),ld,ud=function(){if(this instanceof ld){var vd=nd.apply(this,concatty(od,arguments));return Object(vd)===vd?vd:this}return nd.apply(qa,concatty(od,arguments))},dd=max(0,nd.length-od.length),pd=[],fd=0;fd<dd;fd++)pd[fd]="$"+fd;if(ld=Function("binder","return function ("+joiny(pd,",")+"){ return binder.apply(this,arguments); }")(ud),nd.prototype){var md=function(){};md.prototype=nd.prototype,ld.prototype=new md,md.prototype=null}return ld},implementation=implementation$1,functionBind=Function.prototype.bind||implementation,call$1=Function.prototype.call,$hasOwn=Object.prototype.hasOwnProperty,bind$2=functionBind,hasown=bind$2.call(call$1,$hasOwn),undefined$1,$Error=esErrors,$EvalError=_eval,$RangeError=range$1,$ReferenceError=ref,$SyntaxError$1=syntax,$TypeError$2=type,$URIError=uri,$Function=Function,getEvalledConstructor=function(Ra){try{return $Function('"use strict"; return ('+Ra+").constructor;")()}catch{}},$gOPD$1=Object.getOwnPropertyDescriptor;if($gOPD$1)try{$gOPD$1({},"")}catch{$gOPD$1=null}var throwTypeError=function(){throw new $TypeError$2},ThrowTypeError=$gOPD$1?function(){try{return arguments.callee,throwTypeError}catch{try{return $gOPD$1(arguments,"callee").get}catch{return throwTypeError}}}():throwTypeError,hasSymbols=hasSymbols$1(),hasProto=hasProto$1(),getProto$1=Object.getPrototypeOf||(hasProto?function(Ra){return Ra.__proto__}:null),needsEval={},TypedArray=typeof Uint8Array>"u"||!getProto$1?undefined$1:getProto$1(Uint8Array),INTRINSICS={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?undefined$1:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?undefined$1:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols&&getProto$1?getProto$1([][Symbol.iterator]()):undefined$1,"%AsyncFromSyncIteratorPrototype%":undefined$1,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":typeof Atomics>"u"?undefined$1:Atomics,"%BigInt%":typeof BigInt>"u"?undefined$1:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?undefined$1:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?undefined$1:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?undefined$1:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":$Error,"%eval%":eval,"%EvalError%":$EvalError,"%Float32Array%":typeof Float32Array>"u"?undefined$1:Float32Array,"%Float64Array%":typeof Float64Array>"u"?undefined$1:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?undefined$1:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":typeof Int8Array>"u"?undefined$1:Int8Array,"%Int16Array%":typeof Int16Array>"u"?undefined$1:Int16Array,"%Int32Array%":typeof Int32Array>"u"?undefined$1:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols&&getProto$1?getProto$1(getProto$1([][Symbol.iterator]())):undefined$1,"%JSON%":typeof JSON=="object"?JSON:undefined$1,"%Map%":typeof Map>"u"?undefined$1:Map,"%MapIteratorPrototype%":typeof Map>"u"||!hasSymbols||!getProto$1?undefined$1:getProto$1(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?undefined$1:Promise,"%Proxy%":typeof Proxy>"u"?undefined$1:Proxy,"%RangeError%":$RangeError,"%ReferenceError%":$ReferenceError,"%Reflect%":typeof Reflect>"u"?undefined$1:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?undefined$1:Set,"%SetIteratorPrototype%":typeof Set>"u"||!hasSymbols||!getProto$1?undefined$1:getProto$1(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?undefined$1:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols&&getProto$1?getProto$1(""[Symbol.iterator]()):undefined$1,"%Symbol%":hasSymbols?Symbol:undefined$1,"%SyntaxError%":$SyntaxError$1,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError$2,"%Uint8Array%":typeof Uint8Array>"u"?undefined$1:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?undefined$1:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?undefined$1:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?undefined$1:Uint32Array,"%URIError%":$URIError,"%WeakMap%":typeof WeakMap>"u"?undefined$1:WeakMap,"%WeakRef%":typeof WeakRef>"u"?undefined$1:WeakRef,"%WeakSet%":typeof WeakSet>"u"?undefined$1:WeakSet};if(getProto$1)try{null.error}catch(Ra){var errorProto=getProto$1(getProto$1(Ra));INTRINSICS["%Error.prototype%"]=errorProto}var doEval=function Ra(qa){var nd;if(qa==="%AsyncFunction%")nd=getEvalledConstructor("async function () {}");else if(qa==="%GeneratorFunction%")nd=getEvalledConstructor("function* () {}");else if(qa==="%AsyncGeneratorFunction%")nd=getEvalledConstructor("async function* () {}");else if(qa==="%AsyncGenerator%"){var od=Ra("%AsyncGeneratorFunction%");od&&(nd=od.prototype)}else if(qa==="%AsyncIteratorPrototype%"){var ld=Ra("%AsyncGenerator%");ld&&getProto$1&&(nd=getProto$1(ld.prototype))}return INTRINSICS[qa]=nd,nd},LEGACY_ALIASES={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},bind$1=functionBind,hasOwn=hasown,$concat=bind$1.call(Function.call,Array.prototype.concat),$spliceApply=bind$1.call(Function.apply,Array.prototype.splice),$replace=bind$1.call(Function.call,String.prototype.replace),$strSlice=bind$1.call(Function.call,String.prototype.slice),$exec=bind$1.call(Function.call,RegExp.prototype.exec),rePropName=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=function(qa){var nd=$strSlice(qa,0,1),od=$strSlice(qa,-1);if(nd==="%"&&od!=="%")throw new $SyntaxError$1("invalid intrinsic syntax, expected closing `%`");if(od==="%"&&nd!=="%")throw new $SyntaxError$1("invalid intrinsic syntax, expected opening `%`");var ld=[];return $replace(qa,rePropName,function(ud,dd,pd,fd){ld[ld.length]=pd?$replace(fd,reEscapeChar,"$1"):dd||ud}),ld},getBaseIntrinsic=function(qa,nd){var od=qa,ld;if(hasOwn(LEGACY_ALIASES,od)&&(ld=LEGACY_ALIASES[od],od="%"+ld[0]+"%"),hasOwn(INTRINSICS,od)){var ud=INTRINSICS[od];if(ud===needsEval&&(ud=doEval(od)),typeof ud>"u"&&!nd)throw new $TypeError$2("intrinsic "+qa+" exists, but is not available. Please file an issue!");return{alias:ld,name:od,value:ud}}throw new $SyntaxError$1("intrinsic "+qa+" does not exist!")},getIntrinsic=function(qa,nd){if(typeof qa!="string"||qa.length===0)throw new $TypeError$2("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof nd!="boolean")throw new $TypeError$2('"allowMissing" argument must be a boolean');if($exec(/^%?[^%]*%?$/,qa)===null)throw new $SyntaxError$1("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var od=stringToPath(qa),ld=od.length>0?od[0]:"",ud=getBaseIntrinsic("%"+ld+"%",nd),dd=ud.name,pd=ud.value,fd=!1,md=ud.alias;md&&(ld=md[0],$spliceApply(od,$concat([0,1],md)));for(var vd=1,Ad=!0;vd<od.length;vd+=1){var Nd=od[vd],Od=$strSlice(Nd,0,1),kd=$strSlice(Nd,-1);if((Od==='"'||Od==="'"||Od==="`"||kd==='"'||kd==="'"||kd==="`")&&Od!==kd)throw new $SyntaxError$1("property names with quotes must have matching quotes");if((Nd==="constructor"||!Ad)&&(fd=!0),ld+="."+Nd,dd="%"+ld+"%",hasOwn(INTRINSICS,dd))pd=INTRINSICS[dd];else if(pd!=null){if(!(Nd in pd)){if(!nd)throw new $TypeError$2("base intrinsic for "+qa+" exists, but the property is not available.");return}if($gOPD$1&&vd+1>=od.length){var Ld=$gOPD$1(pd,Nd);Ad=!!Ld,Ad&&"get"in Ld&&!("originalValue"in Ld.get)?pd=Ld.get:pd=pd[Nd]}else Ad=hasOwn(pd,Nd),pd=pd[Nd];Ad&&!fd&&(INTRINSICS[dd]=pd)}}return pd},callBind$2={exports:{}},esDefineProperty,hasRequiredEsDefineProperty;function requireEsDefineProperty(){if(hasRequiredEsDefineProperty)return esDefineProperty;hasRequiredEsDefineProperty=1;var Ra=getIntrinsic,qa=Ra("%Object.defineProperty%",!0)||!1;if(qa)try{qa({},"a",{value:1})}catch{qa=!1}return esDefineProperty=qa,esDefineProperty}var GetIntrinsic$2=getIntrinsic,$gOPD=GetIntrinsic$2("%Object.getOwnPropertyDescriptor%",!0);if($gOPD)try{$gOPD([],"length")}catch{$gOPD=null}var gopd$1=$gOPD,$defineProperty$1=requireEsDefineProperty(),$SyntaxError=syntax,$TypeError$1=type,gopd=gopd$1,defineDataProperty=function(qa,nd,od){if(!qa||typeof qa!="object"&&typeof qa!="function")throw new $TypeError$1("`obj` must be an object or a function`");if(typeof nd!="string"&&typeof nd!="symbol")throw new $TypeError$1("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new $TypeError$1("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new $TypeError$1("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new $TypeError$1("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new $TypeError$1("`loose`, if provided, must be a boolean");var ld=arguments.length>3?arguments[3]:null,ud=arguments.length>4?arguments[4]:null,dd=arguments.length>5?arguments[5]:null,pd=arguments.length>6?arguments[6]:!1,fd=!!gopd&&gopd(qa,nd);if($defineProperty$1)$defineProperty$1(qa,nd,{configurable:dd===null&&fd?fd.configurable:!dd,enumerable:ld===null&&fd?fd.enumerable:!ld,value:od,writable:ud===null&&fd?fd.writable:!ud});else if(pd||!ld&&!ud&&!dd)qa[nd]=od;else throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},$defineProperty=requireEsDefineProperty(),hasPropertyDescriptors=function(){return!!$defineProperty};hasPropertyDescriptors.hasArrayLengthDefineBug=function(){if(!$defineProperty)return null;try{return $defineProperty([],"length",{value:1}).length!==1}catch{return!0}};var hasPropertyDescriptors_1=hasPropertyDescriptors,GetIntrinsic$1=getIntrinsic,define=defineDataProperty,hasDescriptors=hasPropertyDescriptors_1(),gOPD$1=gopd$1,$TypeError=type,$floor=GetIntrinsic$1("%Math.floor%"),setFunctionLength=function(qa,nd){if(typeof qa!="function")throw new $TypeError("`fn` is not a function");if(typeof nd!="number"||nd<0||nd>4294967295||$floor(nd)!==nd)throw new $TypeError("`length` must be a positive 32-bit integer");var od=arguments.length>2&&!!arguments[2],ld=!0,ud=!0;if("length"in qa&&gOPD$1){var dd=gOPD$1(qa,"length");dd&&!dd.configurable&&(ld=!1),dd&&!dd.writable&&(ud=!1)}return(ld||ud||!od)&&(hasDescriptors?define(qa,"length",nd,!0,!0):define(qa,"length",nd)),qa};(function(Ra){var qa=functionBind,nd=getIntrinsic,od=setFunctionLength,ld=type,ud=nd("%Function.prototype.apply%"),dd=nd("%Function.prototype.call%"),pd=nd("%Reflect.apply%",!0)||qa.call(dd,ud),fd=requireEsDefineProperty(),md=nd("%Math.max%");Ra.exports=function(Nd){if(typeof Nd!="function")throw new ld("a function is required");var Od=pd(qa,dd,arguments);return od(Od,1+md(0,Nd.length-(arguments.length-1)),!0)};var vd=function(){return pd(qa,ud,arguments)};fd?fd(Ra.exports,"apply",{value:vd}):Ra.exports.apply=vd})(callBind$2);var callBindExports=callBind$2.exports,GetIntrinsic=getIntrinsic,callBind$1=callBindExports,$indexOf$1=callBind$1(GetIntrinsic("String.prototype.indexOf")),callBound$2=function(qa,nd){var od=GetIntrinsic(qa,!!nd);return typeof od=="function"&&$indexOf$1(qa,".prototype.")>-1?callBind$1(od):od},hasToStringTag$3=shams(),callBound$1=callBound$2,$toString$1=callBound$1("Object.prototype.toString"),isStandardArguments=function(qa){return hasToStringTag$3&&qa&&typeof qa=="object"&&Symbol.toStringTag in qa?!1:$toString$1(qa)==="[object Arguments]"},isLegacyArguments=function(qa){return isStandardArguments(qa)?!0:qa!==null&&typeof qa=="object"&&typeof qa.length=="number"&&qa.length>=0&&$toString$1(qa)!=="[object Array]"&&$toString$1(qa.callee)==="[object Function]"},supportsStandardArguments=function(){return isStandardArguments(arguments)}();isStandardArguments.isLegacyArguments=isLegacyArguments;var isArguments=supportsStandardArguments?isStandardArguments:isLegacyArguments,toStr$2=Object.prototype.toString,fnToStr$1=Function.prototype.toString,isFnRegex=/^\s*(?:function)?\*/,hasToStringTag$2=shams(),getProto=Object.getPrototypeOf,getGeneratorFunc=function(){if(!hasToStringTag$2)return!1;try{return Function("return function*() {}")()}catch{}},GeneratorFunction,isGeneratorFunction=function(qa){if(typeof qa!="function")return!1;if(isFnRegex.test(fnToStr$1.call(qa)))return!0;if(!hasToStringTag$2){var nd=toStr$2.call(qa);return nd==="[object GeneratorFunction]"}if(!getProto)return!1;if(typeof GeneratorFunction>"u"){var od=getGeneratorFunc();GeneratorFunction=od?getProto(od):!1}return getProto(qa)===GeneratorFunction},fnToStr=Function.prototype.toString,reflectApply=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,badArrayLike,isCallableMarker;if(typeof reflectApply=="function"&&typeof Object.defineProperty=="function")try{badArrayLike=Object.defineProperty({},"length",{get:function(){throw isCallableMarker}}),isCallableMarker={},reflectApply(function(){throw 42},null,badArrayLike)}catch(Ra){Ra!==isCallableMarker&&(reflectApply=null)}else reflectApply=null;var constructorRegex=/^\s*class\b/,isES6ClassFn=function(qa){try{var nd=fnToStr.call(qa);return constructorRegex.test(nd)}catch{return!1}},tryFunctionObject=function(qa){try{return isES6ClassFn(qa)?!1:(fnToStr.call(qa),!0)}catch{return!1}},toStr$1=Object.prototype.toString,objectClass="[object Object]",fnClass="[object Function]",genClass="[object GeneratorFunction]",ddaClass="[object HTMLAllCollection]",ddaClass2="[object HTML document.all class]",ddaClass3="[object HTMLCollection]",hasToStringTag$1=typeof Symbol=="function"&&!!Symbol.toStringTag,isIE68=!(0 in[,]),isDDA=function(){return!1};if(typeof document=="object"){var all=document.all;toStr$1.call(all)===toStr$1.call(document.all)&&(isDDA=function(qa){if((isIE68||!qa)&&(typeof qa>"u"||typeof qa=="object"))try{var nd=toStr$1.call(qa);return(nd===ddaClass||nd===ddaClass2||nd===ddaClass3||nd===objectClass)&&qa("")==null}catch{}return!1})}var isCallable$2=reflectApply?function(qa){if(isDDA(qa))return!0;if(!qa||typeof qa!="function"&&typeof qa!="object")return!1;try{reflectApply(qa,null,badArrayLike)}catch(nd){if(nd!==isCallableMarker)return!1}return!isES6ClassFn(qa)&&tryFunctionObject(qa)}:function(qa){if(isDDA(qa))return!0;if(!qa||typeof qa!="function"&&typeof qa!="object")return!1;if(hasToStringTag$1)return tryFunctionObject(qa);if(isES6ClassFn(qa))return!1;var nd=toStr$1.call(qa);return nd!==fnClass&&nd!==genClass&&!/^\[object HTML/.test(nd)?!1:tryFunctionObject(qa)},isCallable$1=isCallable$2,toStr=Object.prototype.toString,hasOwnProperty$2=Object.prototype.hasOwnProperty,forEachArray=function(qa,nd,od){for(var ld=0,ud=qa.length;ld<ud;ld++)hasOwnProperty$2.call(qa,ld)&&(od==null?nd(qa[ld],ld,qa):nd.call(od,qa[ld],ld,qa))},forEachString=function(qa,nd,od){for(var ld=0,ud=qa.length;ld<ud;ld++)od==null?nd(qa.charAt(ld),ld,qa):nd.call(od,qa.charAt(ld),ld,qa)},forEachObject=function(qa,nd,od){for(var ld in qa)hasOwnProperty$2.call(qa,ld)&&(od==null?nd(qa[ld],ld,qa):nd.call(od,qa[ld],ld,qa))},forEach$3=function(qa,nd,od){if(!isCallable$1(nd))throw new TypeError("iterator must be a function");var ld;arguments.length>=3&&(ld=od),toStr.call(qa)==="[object Array]"?forEachArray(qa,nd,ld):typeof qa=="string"?forEachString(qa,nd,ld):forEachObject(qa,nd,ld)},forEach_1=forEach$3,possibleTypedArrayNames=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"],possibleNames=possibleTypedArrayNames,g$2=typeof globalThis>"u"?commonjsGlobal:globalThis,availableTypedArrays$1=function(){for(var qa=[],nd=0;nd<possibleNames.length;nd++)typeof g$2[possibleNames[nd]]=="function"&&(qa[qa.length]=possibleNames[nd]);return qa},forEach$2=forEach_1,availableTypedArrays=availableTypedArrays$1,callBind=callBindExports,callBound=callBound$2,gOPD=gopd$1,$toString=callBound("Object.prototype.toString"),hasToStringTag=shams(),g$1=typeof globalThis>"u"?commonjsGlobal:globalThis,typedArrays=availableTypedArrays(),$slice=callBound("String.prototype.slice"),getPrototypeOf$1=Object.getPrototypeOf,$indexOf=callBound("Array.prototype.indexOf",!0)||function(qa,nd){for(var od=0;od<qa.length;od+=1)if(qa[od]===nd)return od;return-1},cache$1={__proto__:null};hasToStringTag&&gOPD&&getPrototypeOf$1?forEach$2(typedArrays,function(Ra){var qa=new g$1[Ra];if(Symbol.toStringTag in qa){var nd=getPrototypeOf$1(qa),od=gOPD(nd,Symbol.toStringTag);if(!od){var ld=getPrototypeOf$1(nd);od=gOPD(ld,Symbol.toStringTag)}cache$1["$"+Ra]=callBind(od.get)}}):forEach$2(typedArrays,function(Ra){var qa=new g$1[Ra],nd=qa.slice||qa.set;nd&&(cache$1["$"+Ra]=callBind(nd))});var tryTypedArrays=function(qa){var nd=!1;return forEach$2(cache$1,function(od,ld){if(!nd)try{"$"+od(qa)===ld&&(nd=$slice(ld,1))}catch{}}),nd},trySlices=function(qa){var nd=!1;return forEach$2(cache$1,function(od,ld){if(!nd)try{od(qa),nd=$slice(ld,1)}catch{}}),nd},whichTypedArray$1=function(qa){if(!qa||typeof qa!="object")return!1;if(!hasToStringTag){var nd=$slice($toString(qa),8,-1);return $indexOf(typedArrays,nd)>-1?nd:nd!=="Object"?!1:trySlices(qa)}return gOPD?tryTypedArrays(qa):null},whichTypedArray=whichTypedArray$1,isTypedArray$1=function(qa){return!!whichTypedArray(qa)};(function(Ra){var qa=isArguments,nd=isGeneratorFunction,od=whichTypedArray$1,ld=isTypedArray$1;function ud(Zf){return Zf.call.bind(Zf)}var dd=typeof BigInt<"u",pd=typeof Symbol<"u",fd=ud(Object.prototype.toString),md=ud(Number.prototype.valueOf),vd=ud(String.prototype.valueOf),Ad=ud(Boolean.prototype.valueOf);if(dd)var Nd=ud(BigInt.prototype.valueOf);if(pd)var Od=ud(Symbol.prototype.valueOf);function kd(Zf,mh){if(typeof Zf!="object")return!1;try{return mh(Zf),!0}catch{return!1}}Ra.isArgumentsObject=qa,Ra.isGeneratorFunction=nd,Ra.isTypedArray=ld;function Ld(Zf){return typeof Promise<"u"&&Zf instanceof Promise||Zf!==null&&typeof Zf=="object"&&typeof Zf.then=="function"&&typeof Zf.catch=="function"}Ra.isPromise=Ld;function Gd(Zf){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(Zf):ld(Zf)||Lf(Zf)}Ra.isArrayBufferView=Gd;function jd(Zf){return od(Zf)==="Uint8Array"}Ra.isUint8Array=jd;function Fd(Zf){return od(Zf)==="Uint8ClampedArray"}Ra.isUint8ClampedArray=Fd;function Ud(Zf){return od(Zf)==="Uint16Array"}Ra.isUint16Array=Ud;function qd(Zf){return od(Zf)==="Uint32Array"}Ra.isUint32Array=qd;function zd(Zf){return od(Zf)==="Int8Array"}Ra.isInt8Array=zd;function Wd(Zf){return od(Zf)==="Int16Array"}Ra.isInt16Array=Wd;function Jd(Zf){return od(Zf)==="Int32Array"}Ra.isInt32Array=Jd;function _f(Zf){return od(Zf)==="Float32Array"}Ra.isFloat32Array=_f;function Xd(Zf){return od(Zf)==="Float64Array"}Ra.isFloat64Array=Xd;function pf(Zf){return od(Zf)==="BigInt64Array"}Ra.isBigInt64Array=pf;function mf(Zf){return od(Zf)==="BigUint64Array"}Ra.isBigUint64Array=mf;function Sf(Zf){return fd(Zf)==="[object Map]"}Sf.working=typeof Map<"u"&&Sf(new Map);function Tf(Zf){return typeof Map>"u"?!1:Sf.working?Sf(Zf):Zf instanceof Map}Ra.isMap=Tf;function Af(Zf){return fd(Zf)==="[object Set]"}Af.working=typeof Set<"u"&&Af(new Set);function Ef(Zf){return typeof Set>"u"?!1:Af.working?Af(Zf):Zf instanceof Set}Ra.isSet=Ef;function Nf(Zf){return fd(Zf)==="[object WeakMap]"}Nf.working=typeof WeakMap<"u"&&Nf(new WeakMap);function If(Zf){return typeof WeakMap>"u"?!1:Nf.working?Nf(Zf):Zf instanceof WeakMap}Ra.isWeakMap=If;function Gf(Zf){return fd(Zf)==="[object WeakSet]"}Gf.working=typeof WeakSet<"u"&&Gf(new WeakSet);function Qf(Zf){return Gf(Zf)}Ra.isWeakSet=Qf;function Xf(Zf){return fd(Zf)==="[object ArrayBuffer]"}Xf.working=typeof ArrayBuffer<"u"&&Xf(new ArrayBuffer);function ph(Zf){return typeof ArrayBuffer>"u"?!1:Xf.working?Xf(Zf):Zf instanceof ArrayBuffer}Ra.isArrayBuffer=ph;function qf(Zf){return fd(Zf)==="[object DataView]"}qf.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&qf(new DataView(new ArrayBuffer(1),0,1));function Lf(Zf){return typeof DataView>"u"?!1:qf.working?qf(Zf):Zf instanceof DataView}Ra.isDataView=Lf;var Wf=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function Jf(Zf){return fd(Zf)==="[object SharedArrayBuffer]"}function Kf(Zf){return typeof Wf>"u"?!1:(typeof Jf.working>"u"&&(Jf.working=Jf(new Wf)),Jf.working?Jf(Zf):Zf instanceof Wf)}Ra.isSharedArrayBuffer=Kf;function Cf(Zf){return fd(Zf)==="[object AsyncFunction]"}Ra.isAsyncFunction=Cf;function xf(Zf){return fd(Zf)==="[object Map Iterator]"}Ra.isMapIterator=xf;function Yf(Zf){return fd(Zf)==="[object Set Iterator]"}Ra.isSetIterator=Yf;function dh(Zf){return fd(Zf)==="[object Generator]"}Ra.isGeneratorObject=dh;function Rh(Zf){return fd(Zf)==="[object WebAssembly.Module]"}Ra.isWebAssemblyCompiledModule=Rh;function th(Zf){return kd(Zf,md)}Ra.isNumberObject=th;function Bf(Zf){return kd(Zf,vd)}Ra.isStringObject=Bf;function Sh(Zf){return kd(Zf,Ad)}Ra.isBooleanObject=Sh;function Fh(Zf){return dd&&kd(Zf,Nd)}Ra.isBigIntObject=Fh;function uh(Zf){return pd&&kd(Zf,Od)}Ra.isSymbolObject=uh;function Pf(Zf){return th(Zf)||Bf(Zf)||Sh(Zf)||Fh(Zf)||uh(Zf)}Ra.isBoxedPrimitive=Pf;function Uf(Zf){return typeof Uint8Array<"u"&&(ph(Zf)||Kf(Zf))}Ra.isAnyArrayBuffer=Uf,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(Zf){Object.defineProperty(Ra,Zf,{enumerable:!1,value:function(){throw new Error(Zf+" is not supported in userland")}})})})(types$1);var isBufferBrowser=function(qa){return qa&&typeof qa=="object"&&typeof qa.copy=="function"&&typeof qa.fill=="function"&&typeof qa.readUInt8=="function"};(function(Ra){var qa={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_1164a745-b3dc-4b9f-a9be-9609c1b3622a",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_1164a745-b3dc-4b9f-a9be-9609c1b3622a",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250105.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7633",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12854182433",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_eb6908e4-3cff-452d-a339-25146be9740f",INVOCATION_ID:"049b7125072941398f5d27a5cb59ad7a",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"493",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 18",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_1164a745-b3dc-4b9f-a9be-9609c1b3622a",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_1164a745-b3dc-4b9f-a9be-9609c1b3622a",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_1164a745-b3dc-4b9f-a9be-9609c1b3622a",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2166,ppid:2165,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}},nd={},od=Object.getOwnPropertyDescriptors||function(Jf){for(var Kf=Object.keys(Jf),Cf={},xf=0;xf<Kf.length;xf++)Cf[Kf[xf]]=Object.getOwnPropertyDescriptor(Jf,Kf[xf]);return Cf},ld=/%[sdj%]/g;Ra.format=function(Wf){if(!Jd(Wf)){for(var Jf=[],Kf=0;Kf<arguments.length;Kf++)Jf.push(fd(arguments[Kf]));return Jf.join(" ")}for(var Kf=1,Cf=arguments,xf=Cf.length,Yf=String(Wf).replace(ld,function(Rh){if(Rh==="%%")return"%";if(Kf>=xf)return Rh;switch(Rh){case"%s":return String(Cf[Kf++]);case"%d":return Number(Cf[Kf++]);case"%j":try{return JSON.stringify(Cf[Kf++])}catch{return"[Circular]"}default:return Rh}}),dh=Cf[Kf];Kf<xf;dh=Cf[++Kf])qd(dh)||!mf(dh)?Yf+=" "+dh:Yf+=" "+fd(dh);return Yf},Ra.deprecate=function(Wf,Jf){if(typeof qa<"u"&&qa.noDeprecation===!0)return Wf;if(typeof qa>"u")return function(){return Ra.deprecate(Wf,Jf).apply(this,arguments)};var Kf=!1;function Cf(){if(!Kf){if(qa.throwDeprecation)throw new Error(Jf);qa.traceDeprecation?console.trace(Jf):console.error(Jf),Kf=!0}return Wf.apply(this,arguments)}return Cf};var ud={},dd=/^$/;if(nd.NODE_DEBUG){var pd=nd.NODE_DEBUG;pd=pd.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),dd=new RegExp("^"+pd+"$","i")}Ra.debuglog=function(Wf){if(Wf=Wf.toUpperCase(),!ud[Wf])if(dd.test(Wf)){var Jf=qa.pid;ud[Wf]=function(){var Kf=Ra.format.apply(Ra,arguments);console.error("%s %d: %s",Wf,Jf,Kf)}}else ud[Wf]=function(){};return ud[Wf]};function fd(Wf,Jf){var Kf={seen:[],stylize:vd};return arguments.length>=3&&(Kf.depth=arguments[2]),arguments.length>=4&&(Kf.colors=arguments[3]),Ud(Jf)?Kf.showHidden=Jf:Jf&&Ra._extend(Kf,Jf),Xd(Kf.showHidden)&&(Kf.showHidden=!1),Xd(Kf.depth)&&(Kf.depth=2),Xd(Kf.colors)&&(Kf.colors=!1),Xd(Kf.customInspect)&&(Kf.customInspect=!0),Kf.colors&&(Kf.stylize=md),Nd(Kf,Wf,Kf.depth)}Ra.inspect=fd,fd.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},fd.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function md(Wf,Jf){var Kf=fd.styles[Jf];return Kf?"\x1B["+fd.colors[Kf][0]+"m"+Wf+"\x1B["+fd.colors[Kf][1]+"m":Wf}function vd(Wf,Jf){return Wf}function Ad(Wf){var Jf={};return Wf.forEach(function(Kf,Cf){Jf[Kf]=!0}),Jf}function Nd(Wf,Jf,Kf){if(Wf.customInspect&&Jf&&Af(Jf.inspect)&&Jf.inspect!==Ra.inspect&&!(Jf.constructor&&Jf.constructor.prototype===Jf)){var Cf=Jf.inspect(Kf,Wf);return Jd(Cf)||(Cf=Nd(Wf,Cf,Kf)),Cf}var xf=Od(Wf,Jf);if(xf)return xf;var Yf=Object.keys(Jf),dh=Ad(Yf);if(Wf.showHidden&&(Yf=Object.getOwnPropertyNames(Jf)),Tf(Jf)&&(Yf.indexOf("message")>=0||Yf.indexOf("description")>=0))return kd(Jf);if(Yf.length===0){if(Af(Jf)){var Rh=Jf.name?": "+Jf.name:"";return Wf.stylize("[Function"+Rh+"]","special")}if(pf(Jf))return Wf.stylize(RegExp.prototype.toString.call(Jf),"regexp");if(Sf(Jf))return Wf.stylize(Date.prototype.toString.call(Jf),"date");if(Tf(Jf))return kd(Jf)}var th="",Bf=!1,Sh=["{","}"];if(Fd(Jf)&&(Bf=!0,Sh=["[","]"]),Af(Jf)){var Fh=Jf.name?": "+Jf.name:"";th=" [Function"+Fh+"]"}if(pf(Jf)&&(th=" "+RegExp.prototype.toString.call(Jf)),Sf(Jf)&&(th=" "+Date.prototype.toUTCString.call(Jf)),Tf(Jf)&&(th=" "+kd(Jf)),Yf.length===0&&(!Bf||Jf.length==0))return Sh[0]+th+Sh[1];if(Kf<0)return pf(Jf)?Wf.stylize(RegExp.prototype.toString.call(Jf),"regexp"):Wf.stylize("[Object]","special");Wf.seen.push(Jf);var uh;return Bf?uh=Ld(Wf,Jf,Kf,dh,Yf):uh=Yf.map(function(Pf){return Gd(Wf,Jf,Kf,dh,Pf,Bf)}),Wf.seen.pop(),jd(uh,th,Sh)}function Od(Wf,Jf){if(Xd(Jf))return Wf.stylize("undefined","undefined");if(Jd(Jf)){var Kf="'"+JSON.stringify(Jf).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Wf.stylize(Kf,"string")}if(Wd(Jf))return Wf.stylize(""+Jf,"number");if(Ud(Jf))return Wf.stylize(""+Jf,"boolean");if(qd(Jf))return Wf.stylize("null","null")}function kd(Wf){return"["+Error.prototype.toString.call(Wf)+"]"}function Ld(Wf,Jf,Kf,Cf,xf){for(var Yf=[],dh=0,Rh=Jf.length;dh<Rh;++dh)Xf(Jf,String(dh))?Yf.push(Gd(Wf,Jf,Kf,Cf,String(dh),!0)):Yf.push("");return xf.forEach(function(th){th.match(/^\d+$/)||Yf.push(Gd(Wf,Jf,Kf,Cf,th,!0))}),Yf}function Gd(Wf,Jf,Kf,Cf,xf,Yf){var dh,Rh,th;if(th=Object.getOwnPropertyDescriptor(Jf,xf)||{value:Jf[xf]},th.get?th.set?Rh=Wf.stylize("[Getter/Setter]","special"):Rh=Wf.stylize("[Getter]","special"):th.set&&(Rh=Wf.stylize("[Setter]","special")),Xf(Cf,xf)||(dh="["+xf+"]"),Rh||(Wf.seen.indexOf(th.value)<0?(qd(Kf)?Rh=Nd(Wf,th.value,null):Rh=Nd(Wf,th.value,Kf-1),Rh.indexOf(`
`)>-1&&(Yf?Rh=Rh.split(`
`).map(function(Bf){return" "+Bf}).join(`
`).slice(2):Rh=`
`+Rh.split(`
`).map(function(Bf){return" "+Bf}).join(`
`))):Rh=Wf.stylize("[Circular]","special")),Xd(dh)){if(Yf&&xf.match(/^\d+$/))return Rh;dh=JSON.stringify(""+xf),dh.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(dh=dh.slice(1,-1),dh=Wf.stylize(dh,"name")):(dh=dh.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),dh=Wf.stylize(dh,"string"))}return dh+": "+Rh}function jd(Wf,Jf,Kf){var Cf=Wf.reduce(function(xf,Yf){return Yf.indexOf(`
`)>=0,xf+Yf.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Cf>60?Kf[0]+(Jf===""?"":Jf+`
`)+" "+Wf.join(`,
`)+" "+Kf[1]:Kf[0]+Jf+" "+Wf.join(", ")+" "+Kf[1]}Ra.types=types$1;function Fd(Wf){return Array.isArray(Wf)}Ra.isArray=Fd;function Ud(Wf){return typeof Wf=="boolean"}Ra.isBoolean=Ud;function qd(Wf){return Wf===null}Ra.isNull=qd;function zd(Wf){return Wf==null}Ra.isNullOrUndefined=zd;function Wd(Wf){return typeof Wf=="number"}Ra.isNumber=Wd;function Jd(Wf){return typeof Wf=="string"}Ra.isString=Jd;function _f(Wf){return typeof Wf=="symbol"}Ra.isSymbol=_f;function Xd(Wf){return Wf===void 0}Ra.isUndefined=Xd;function pf(Wf){return mf(Wf)&&Nf(Wf)==="[object RegExp]"}Ra.isRegExp=pf,Ra.types.isRegExp=pf;function mf(Wf){return typeof Wf=="object"&&Wf!==null}Ra.isObject=mf;function Sf(Wf){return mf(Wf)&&Nf(Wf)==="[object Date]"}Ra.isDate=Sf,Ra.types.isDate=Sf;function Tf(Wf){return mf(Wf)&&(Nf(Wf)==="[object Error]"||Wf instanceof Error)}Ra.isError=Tf,Ra.types.isNativeError=Tf;function Af(Wf){return typeof Wf=="function"}Ra.isFunction=Af;function Ef(Wf){return Wf===null||typeof Wf=="boolean"||typeof Wf=="number"||typeof Wf=="string"||typeof Wf=="symbol"||typeof Wf>"u"}Ra.isPrimitive=Ef,Ra.isBuffer=isBufferBrowser;function Nf(Wf){return Object.prototype.toString.call(Wf)}function If(Wf){return Wf<10?"0"+Wf.toString(10):Wf.toString(10)}var Gf=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Qf(){var Wf=new Date,Jf=[If(Wf.getHours()),If(Wf.getMinutes()),If(Wf.getSeconds())].join(":");return[Wf.getDate(),Gf[Wf.getMonth()],Jf].join(" ")}Ra.log=function(){console.log("%s - %s",Qf(),Ra.format.apply(Ra,arguments))},Ra.inherits=inherits_browserExports,Ra._extend=function(Wf,Jf){if(!Jf||!mf(Jf))return Wf;for(var Kf=Object.keys(Jf),Cf=Kf.length;Cf--;)Wf[Kf[Cf]]=Jf[Kf[Cf]];return Wf};function Xf(Wf,Jf){return Object.prototype.hasOwnProperty.call(Wf,Jf)}var ph=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;Ra.promisify=function(Jf){if(typeof Jf!="function")throw new TypeError('The "original" argument must be of type Function');if(ph&&Jf[ph]){var Kf=Jf[ph];if(typeof Kf!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Kf,ph,{value:Kf,enumerable:!1,writable:!1,configurable:!0}),Kf}function Kf(){for(var Cf,xf,Yf=new Promise(function(th,Bf){Cf=th,xf=Bf}),dh=[],Rh=0;Rh<arguments.length;Rh++)dh.push(arguments[Rh]);dh.push(function(th,Bf){th?xf(th):Cf(Bf)});try{Jf.apply(this,dh)}catch(th){xf(th)}return Yf}return Object.setPrototypeOf(Kf,Object.getPrototypeOf(Jf)),ph&&Object.defineProperty(Kf,ph,{value:Kf,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(Kf,od(Jf))},Ra.promisify.custom=ph;function qf(Wf,Jf){if(!Wf){var Kf=new Error("Promise was rejected with a falsy value");Kf.reason=Wf,Wf=Kf}return Jf(Wf)}function Lf(Wf){if(typeof Wf!="function")throw new TypeError('The "original" argument must be of type Function');function Jf(){for(var Kf=[],Cf=0;Cf<arguments.length;Cf++)Kf.push(arguments[Cf]);var xf=Kf.pop();if(typeof xf!="function")throw new TypeError("The last argument must be of type Function");var Yf=this,dh=function(){return xf.apply(Yf,arguments)};Wf.apply(this,Kf).then(function(Rh){qa.nextTick(dh.bind(null,null,Rh))},function(Rh){qa.nextTick(qf.bind(null,Rh,dh))})}return Object.setPrototypeOf(Jf,Object.getPrototypeOf(Wf)),Object.defineProperties(Jf,od(Wf)),Jf}Ra.callbackify=Lf})(util$a);var buffer_list,hasRequiredBuffer_list;function requireBuffer_list(){if(hasRequiredBuffer_list)return buffer_list;hasRequiredBuffer_list=1;function Ra(kd,Ld){var Gd=Object.keys(kd);if(Object.getOwnPropertySymbols){var jd=Object.getOwnPropertySymbols(kd);Ld&&(jd=jd.filter(function(Fd){return Object.getOwnPropertyDescriptor(kd,Fd).enumerable})),Gd.push.apply(Gd,jd)}return Gd}function qa(kd){for(var Ld=1;Ld<arguments.length;Ld++){var Gd=arguments[Ld]!=null?arguments[Ld]:{};Ld%2?Ra(Object(Gd),!0).forEach(function(jd){nd(kd,jd,Gd[jd])}):Object.getOwnPropertyDescriptors?Object.defineProperties(kd,Object.getOwnPropertyDescriptors(Gd)):Ra(Object(Gd)).forEach(function(jd){Object.defineProperty(kd,jd,Object.getOwnPropertyDescriptor(Gd,jd))})}return kd}function nd(kd,Ld,Gd){return Ld=dd(Ld),Ld in kd?Object.defineProperty(kd,Ld,{value:Gd,enumerable:!0,configurable:!0,writable:!0}):kd[Ld]=Gd,kd}function od(kd,Ld){if(!(kd instanceof Ld))throw new TypeError("Cannot call a class as a function")}function ld(kd,Ld){for(var Gd=0;Gd<Ld.length;Gd++){var jd=Ld[Gd];jd.enumerable=jd.enumerable||!1,jd.configurable=!0,"value"in jd&&(jd.writable=!0),Object.defineProperty(kd,dd(jd.key),jd)}}function ud(kd,Ld,Gd){return Ld&&ld(kd.prototype,Ld),Object.defineProperty(kd,"prototype",{writable:!1}),kd}function dd(kd){var Ld=pd(kd,"string");return typeof Ld=="symbol"?Ld:String(Ld)}function pd(kd,Ld){if(typeof kd!="object"||kd===null)return kd;var Gd=kd[Symbol.toPrimitive];if(Gd!==void 0){var jd=Gd.call(kd,Ld||"default");if(typeof jd!="object")return jd;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Ld==="string"?String:Number)(kd)}var fd=buffer,md=fd.Buffer,vd=util$a,Ad=vd.inspect,Nd=Ad&&Ad.custom||"inspect";function Od(kd,Ld,Gd){md.prototype.copy.call(kd,Ld,Gd)}return buffer_list=function(){function kd(){od(this,kd),this.head=null,this.tail=null,this.length=0}return ud(kd,[{key:"push",value:function(Gd){var jd={data:Gd,next:null};this.length>0?this.tail.next=jd:this.head=jd,this.tail=jd,++this.length}},{key:"unshift",value:function(Gd){var jd={data:Gd,next:this.head};this.length===0&&(this.tail=jd),this.head=jd,++this.length}},{key:"shift",value:function(){if(this.length!==0){var Gd=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,Gd}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(Gd){if(this.length===0)return"";for(var jd=this.head,Fd=""+jd.data;jd=jd.next;)Fd+=Gd+jd.data;return Fd}},{key:"concat",value:function(Gd){if(this.length===0)return md.alloc(0);for(var jd=md.allocUnsafe(Gd>>>0),Fd=this.head,Ud=0;Fd;)Od(Fd.data,jd,Ud),Ud+=Fd.data.length,Fd=Fd.next;return jd}},{key:"consume",value:function(Gd,jd){var Fd;return Gd<this.head.data.length?(Fd=this.head.data.slice(0,Gd),this.head.data=this.head.data.slice(Gd)):Gd===this.head.data.length?Fd=this.shift():Fd=jd?this._getString(Gd):this._getBuffer(Gd),Fd}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(Gd){var jd=this.head,Fd=1,Ud=jd.data;for(Gd-=Ud.length;jd=jd.next;){var qd=jd.data,zd=Gd>qd.length?qd.length:Gd;if(zd===qd.length?Ud+=qd:Ud+=qd.slice(0,Gd),Gd-=zd,Gd===0){zd===qd.length?(++Fd,jd.next?this.head=jd.next:this.head=this.tail=null):(this.head=jd,jd.data=qd.slice(zd));break}++Fd}return this.length-=Fd,Ud}},{key:"_getBuffer",value:function(Gd){var jd=md.allocUnsafe(Gd),Fd=this.head,Ud=1;for(Fd.data.copy(jd),Gd-=Fd.data.length;Fd=Fd.next;){var qd=Fd.data,zd=Gd>qd.length?qd.length:Gd;if(qd.copy(jd,jd.length-Gd,0,zd),Gd-=zd,Gd===0){zd===qd.length?(++Ud,Fd.next?this.head=Fd.next:this.head=this.tail=null):(this.head=Fd,Fd.data=qd.slice(zd));break}++Ud}return this.length-=Ud,jd}},{key:Nd,value:function(Gd,jd){return Ad(this,qa(qa({},jd),{},{depth:0,customInspect:!1}))}}]),kd}(),buffer_list}var define_process_default$8={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_1164a745-b3dc-4b9f-a9be-9609c1b3622a",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_1164a745-b3dc-4b9f-a9be-9609c1b3622a",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250105.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7633",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12854182433",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_eb6908e4-3cff-452d-a339-25146be9740f",INVOCATION_ID:"049b7125072941398f5d27a5cb59ad7a",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"493",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 18",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_1164a745-b3dc-4b9f-a9be-9609c1b3622a",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_1164a745-b3dc-4b9f-a9be-9609c1b3622a",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_1164a745-b3dc-4b9f-a9be-9609c1b3622a",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2166,ppid:2165,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};function destroy(Ra,qa){var nd=this,od=this._readableState&&this._readableState.destroyed,ld=this._writableState&&this._writableState.destroyed;return od||ld?(qa?qa(Ra):Ra&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,define_process_default$8.nextTick(emitErrorNT,this,Ra)):define_process_default$8.nextTick(emitErrorNT,this,Ra)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(Ra||null,function(ud){!qa&&ud?nd._writableState?nd._writableState.errorEmitted?define_process_default$8.nextTick(emitCloseNT,nd):(nd._writableState.errorEmitted=!0,define_process_default$8.nextTick(emitErrorAndCloseNT,nd,ud)):define_process_default$8.nextTick(emitErrorAndCloseNT,nd,ud):qa?(define_process_default$8.nextTick(emitCloseNT,nd),qa(ud)):define_process_default$8.nextTick(emitCloseNT,nd)}),this)}function emitErrorAndCloseNT(Ra,qa){emitErrorNT(Ra,qa),emitCloseNT(Ra)}function emitCloseNT(Ra){Ra._writableState&&!Ra._writableState.emitClose||Ra._readableState&&!Ra._readableState.emitClose||Ra.emit("close")}function undestroy(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function emitErrorNT(Ra,qa){Ra.emit("error",qa)}function errorOrDestroy(Ra,qa){var nd=Ra._readableState,od=Ra._writableState;nd&&nd.autoDestroy||od&&od.autoDestroy?Ra.destroy(qa):Ra.emit("error",qa)}var destroy_1={destroy,undestroy,errorOrDestroy},errorsBrowser={};function _inheritsLoose(Ra,qa){Ra.prototype=Object.create(qa.prototype),Ra.prototype.constructor=Ra,Ra.__proto__=qa}var codes={};function createErrorType(Ra,qa,nd){nd||(nd=Error);function od(ud,dd,pd){return typeof qa=="string"?qa:qa(ud,dd,pd)}var ld=function(ud){_inheritsLoose(dd,ud);function dd(pd,fd,md){return ud.call(this,od(pd,fd,md))||this}return dd}(nd);ld.prototype.name=nd.name,ld.prototype.code=Ra,codes[Ra]=ld}function oneOf(Ra,qa){if(Array.isArray(Ra)){var nd=Ra.length;return Ra=Ra.map(function(od){return String(od)}),nd>2?"one of ".concat(qa," ").concat(Ra.slice(0,nd-1).join(", "),", or ")+Ra[nd-1]:nd===2?"one of ".concat(qa," ").concat(Ra[0]," or ").concat(Ra[1]):"of ".concat(qa," ").concat(Ra[0])}else return"of ".concat(qa," ").concat(String(Ra))}function startsWith(Ra,qa,nd){return Ra.substr(0,qa.length)===qa}function endsWith$1(Ra,qa,nd){return(nd===void 0||nd>Ra.length)&&(nd=Ra.length),Ra.substring(nd-qa.length,nd)===qa}function includes(Ra,qa,nd){return typeof nd!="number"&&(nd=0),nd+qa.length>Ra.length?!1:Ra.indexOf(qa,nd)!==-1}createErrorType("ERR_INVALID_OPT_VALUE",function(Ra,qa){return'The value "'+qa+'" is invalid for option "'+Ra+'"'},TypeError);createErrorType("ERR_INVALID_ARG_TYPE",function(Ra,qa,nd){var od;typeof qa=="string"&&startsWith(qa,"not ")?(od="must not be",qa=qa.replace(/^not /,"")):od="must be";var ld;if(endsWith$1(Ra," argument"))ld="The ".concat(Ra," ").concat(od," ").concat(oneOf(qa,"type"));else{var ud=includes(Ra,".")?"property":"argument";ld='The "'.concat(Ra,'" ').concat(ud," ").concat(od," ").concat(oneOf(qa,"type"))}return ld+=". Received type ".concat(typeof nd),ld},TypeError);createErrorType("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");createErrorType("ERR_METHOD_NOT_IMPLEMENTED",function(Ra){return"The "+Ra+" method is not implemented"});createErrorType("ERR_STREAM_PREMATURE_CLOSE","Premature close");createErrorType("ERR_STREAM_DESTROYED",function(Ra){return"Cannot call "+Ra+" after a stream was destroyed"});createErrorType("ERR_MULTIPLE_CALLBACK","Callback called multiple times");createErrorType("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");createErrorType("ERR_STREAM_WRITE_AFTER_END","write after end");createErrorType("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);createErrorType("ERR_UNKNOWN_ENCODING",function(Ra){return"Unknown encoding: "+Ra},TypeError);createErrorType("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");errorsBrowser.codes=codes;var ERR_INVALID_OPT_VALUE=errorsBrowser.codes.ERR_INVALID_OPT_VALUE;function highWaterMarkFrom(Ra,qa,nd){return Ra.highWaterMark!=null?Ra.highWaterMark:qa?Ra[nd]:null}function getHighWaterMark(Ra,qa,nd,od){var ld=highWaterMarkFrom(qa,od,nd);if(ld!=null){if(!(isFinite(ld)&&Math.floor(ld)===ld)||ld<0){var ud=od?nd:"highWaterMark";throw new ERR_INVALID_OPT_VALUE(ud,ld)}return Math.floor(ld)}return Ra.objectMode?16:16*1024}var state={getHighWaterMark},browser$1=deprecate;function deprecate(Ra,qa){if(config("noDeprecation"))return Ra;var nd=!1;function od(){if(!nd){if(config("throwDeprecation"))throw new Error(qa);config("traceDeprecation")?console.trace(qa):console.warn(qa),nd=!0}return Ra.apply(this,arguments)}return od}function config(Ra){try{if(!commonjsGlobal.localStorage)return!1}catch{return!1}var qa=commonjsGlobal.localStorage[Ra];return qa==null?!1:String(qa).toLowerCase()==="true"}var _stream_writable,hasRequired_stream_writable;function require_stream_writable(){if(hasRequired_stream_writable)return _stream_writable;hasRequired_stream_writable=1;var Ra={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_1164a745-b3dc-4b9f-a9be-9609c1b3622a",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_1164a745-b3dc-4b9f-a9be-9609c1b3622a",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250105.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7633",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12854182433",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_eb6908e4-3cff-452d-a339-25146be9740f",INVOCATION_ID:"049b7125072941398f5d27a5cb59ad7a",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"493",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 18",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_1164a745-b3dc-4b9f-a9be-9609c1b3622a",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_1164a745-b3dc-4b9f-a9be-9609c1b3622a",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_1164a745-b3dc-4b9f-a9be-9609c1b3622a",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2166,ppid:2165,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};_stream_writable=Xd;function qa(Cf){var xf=this;this.next=null,this.entry=null,this.finish=function(){Kf(xf,Cf)}}var nd;Xd.WritableState=Jd;var od={deprecate:browser$1},ld=streamBrowser,ud=buffer.Buffer,dd=(typeof commonjsGlobal<"u"?commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function pd(Cf){return ud.from(Cf)}function fd(Cf){return ud.isBuffer(Cf)||Cf instanceof dd}var md=destroy_1,vd=state,Ad=vd.getHighWaterMark,Nd=errorsBrowser.codes,Od=Nd.ERR_INVALID_ARG_TYPE,kd=Nd.ERR_METHOD_NOT_IMPLEMENTED,Ld=Nd.ERR_MULTIPLE_CALLBACK,Gd=Nd.ERR_STREAM_CANNOT_PIPE,jd=Nd.ERR_STREAM_DESTROYED,Fd=Nd.ERR_STREAM_NULL_VALUES,Ud=Nd.ERR_STREAM_WRITE_AFTER_END,qd=Nd.ERR_UNKNOWN_ENCODING,zd=md.errorOrDestroy;inherits_browserExports(Xd,ld);function Wd(){}function Jd(Cf,xf,Yf){nd=nd||require_stream_duplex(),Cf=Cf||{},typeof Yf!="boolean"&&(Yf=xf instanceof nd),this.objectMode=!!Cf.objectMode,Yf&&(this.objectMode=this.objectMode||!!Cf.writableObjectMode),this.highWaterMark=Ad(this,Cf,"writableHighWaterMark",Yf),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var dh=Cf.decodeStrings===!1;this.decodeStrings=!dh,this.defaultEncoding=Cf.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Rh){If(xf,Rh)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=Cf.emitClose!==!1,this.autoDestroy=!!Cf.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new qa(this)}Jd.prototype.getBuffer=function(){for(var xf=this.bufferedRequest,Yf=[];xf;)Yf.push(xf),xf=xf.next;return Yf},function(){try{Object.defineProperty(Jd.prototype,"buffer",{get:od.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var _f;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(_f=Function.prototype[Symbol.hasInstance],Object.defineProperty(Xd,Symbol.hasInstance,{value:function(xf){return _f.call(this,xf)?!0:this!==Xd?!1:xf&&xf._writableState instanceof Jd}})):_f=function(xf){return xf instanceof this};function Xd(Cf){nd=nd||require_stream_duplex();var xf=this instanceof nd;if(!xf&&!_f.call(Xd,this))return new Xd(Cf);this._writableState=new Jd(Cf,this,xf),this.writable=!0,Cf&&(typeof Cf.write=="function"&&(this._write=Cf.write),typeof Cf.writev=="function"&&(this._writev=Cf.writev),typeof Cf.destroy=="function"&&(this._destroy=Cf.destroy),typeof Cf.final=="function"&&(this._final=Cf.final)),ld.call(this)}Xd.prototype.pipe=function(){zd(this,new Gd)};function pf(Cf,xf){var Yf=new Ud;zd(Cf,Yf),Ra.nextTick(xf,Yf)}function mf(Cf,xf,Yf,dh){var Rh;return Yf===null?Rh=new Fd:typeof Yf!="string"&&!xf.objectMode&&(Rh=new Od("chunk",["string","Buffer"],Yf)),Rh?(zd(Cf,Rh),Ra.nextTick(dh,Rh),!1):!0}Xd.prototype.write=function(Cf,xf,Yf){var dh=this._writableState,Rh=!1,th=!dh.objectMode&&fd(Cf);return th&&!ud.isBuffer(Cf)&&(Cf=pd(Cf)),typeof xf=="function"&&(Yf=xf,xf=null),th?xf="buffer":xf||(xf=dh.defaultEncoding),typeof Yf!="function"&&(Yf=Wd),dh.ending?pf(this,Yf):(th||mf(this,dh,Cf,Yf))&&(dh.pendingcb++,Rh=Tf(this,dh,th,Cf,xf,Yf)),Rh},Xd.prototype.cork=function(){this._writableState.corked++},Xd.prototype.uncork=function(){var Cf=this._writableState;Cf.corked&&(Cf.corked--,!Cf.writing&&!Cf.corked&&!Cf.bufferProcessing&&Cf.bufferedRequest&&Xf(this,Cf))},Xd.prototype.setDefaultEncoding=function(xf){if(typeof xf=="string"&&(xf=xf.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((xf+"").toLowerCase())>-1))throw new qd(xf);return this._writableState.defaultEncoding=xf,this},Object.defineProperty(Xd.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Sf(Cf,xf,Yf){return!Cf.objectMode&&Cf.decodeStrings!==!1&&typeof xf=="string"&&(xf=ud.from(xf,Yf)),xf}Object.defineProperty(Xd.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Tf(Cf,xf,Yf,dh,Rh,th){if(!Yf){var Bf=Sf(xf,dh,Rh);dh!==Bf&&(Yf=!0,Rh="buffer",dh=Bf)}var Sh=xf.objectMode?1:dh.length;xf.length+=Sh;var Fh=xf.length<xf.highWaterMark;if(Fh||(xf.needDrain=!0),xf.writing||xf.corked){var uh=xf.lastBufferedRequest;xf.lastBufferedRequest={chunk:dh,encoding:Rh,isBuf:Yf,callback:th,next:null},uh?uh.next=xf.lastBufferedRequest:xf.bufferedRequest=xf.lastBufferedRequest,xf.bufferedRequestCount+=1}else Af(Cf,xf,!1,Sh,dh,Rh,th);return Fh}function Af(Cf,xf,Yf,dh,Rh,th,Bf){xf.writelen=dh,xf.writecb=Bf,xf.writing=!0,xf.sync=!0,xf.destroyed?xf.onwrite(new jd("write")):Yf?Cf._writev(Rh,xf.onwrite):Cf._write(Rh,th,xf.onwrite),xf.sync=!1}function Ef(Cf,xf,Yf,dh,Rh){--xf.pendingcb,Yf?(Ra.nextTick(Rh,dh),Ra.nextTick(Wf,Cf,xf),Cf._writableState.errorEmitted=!0,zd(Cf,dh)):(Rh(dh),Cf._writableState.errorEmitted=!0,zd(Cf,dh),Wf(Cf,xf))}function Nf(Cf){Cf.writing=!1,Cf.writecb=null,Cf.length-=Cf.writelen,Cf.writelen=0}function If(Cf,xf){var Yf=Cf._writableState,dh=Yf.sync,Rh=Yf.writecb;if(typeof Rh!="function")throw new Ld;if(Nf(Yf),xf)Ef(Cf,Yf,dh,xf,Rh);else{var th=ph(Yf)||Cf.destroyed;!th&&!Yf.corked&&!Yf.bufferProcessing&&Yf.bufferedRequest&&Xf(Cf,Yf),dh?Ra.nextTick(Gf,Cf,Yf,th,Rh):Gf(Cf,Yf,th,Rh)}}function Gf(Cf,xf,Yf,dh){Yf||Qf(Cf,xf),xf.pendingcb--,dh(),Wf(Cf,xf)}function Qf(Cf,xf){xf.length===0&&xf.needDrain&&(xf.needDrain=!1,Cf.emit("drain"))}function Xf(Cf,xf){xf.bufferProcessing=!0;var Yf=xf.bufferedRequest;if(Cf._writev&&Yf&&Yf.next){var dh=xf.bufferedRequestCount,Rh=new Array(dh),th=xf.corkedRequestsFree;th.entry=Yf;for(var Bf=0,Sh=!0;Yf;)Rh[Bf]=Yf,Yf.isBuf||(Sh=!1),Yf=Yf.next,Bf+=1;Rh.allBuffers=Sh,Af(Cf,xf,!0,xf.length,Rh,"",th.finish),xf.pendingcb++,xf.lastBufferedRequest=null,th.next?(xf.corkedRequestsFree=th.next,th.next=null):xf.corkedRequestsFree=new qa(xf),xf.bufferedRequestCount=0}else{for(;Yf;){var Fh=Yf.chunk,uh=Yf.encoding,Pf=Yf.callback,Uf=xf.objectMode?1:Fh.length;if(Af(Cf,xf,!1,Uf,Fh,uh,Pf),Yf=Yf.next,xf.bufferedRequestCount--,xf.writing)break}Yf===null&&(xf.lastBufferedRequest=null)}xf.bufferedRequest=Yf,xf.bufferProcessing=!1}Xd.prototype._write=function(Cf,xf,Yf){Yf(new kd("_write()"))},Xd.prototype._writev=null,Xd.prototype.end=function(Cf,xf,Yf){var dh=this._writableState;return typeof Cf=="function"?(Yf=Cf,Cf=null,xf=null):typeof xf=="function"&&(Yf=xf,xf=null),Cf!=null&&this.write(Cf,xf),dh.corked&&(dh.corked=1,this.uncork()),dh.ending||Jf(this,dh,Yf),this},Object.defineProperty(Xd.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function ph(Cf){return Cf.ending&&Cf.length===0&&Cf.bufferedRequest===null&&!Cf.finished&&!Cf.writing}function qf(Cf,xf){Cf._final(function(Yf){xf.pendingcb--,Yf&&zd(Cf,Yf),xf.prefinished=!0,Cf.emit("prefinish"),Wf(Cf,xf)})}function Lf(Cf,xf){!xf.prefinished&&!xf.finalCalled&&(typeof Cf._final=="function"&&!xf.destroyed?(xf.pendingcb++,xf.finalCalled=!0,Ra.nextTick(qf,Cf,xf)):(xf.prefinished=!0,Cf.emit("prefinish")))}function Wf(Cf,xf){var Yf=ph(xf);if(Yf&&(Lf(Cf,xf),xf.pendingcb===0&&(xf.finished=!0,Cf.emit("finish"),xf.autoDestroy))){var dh=Cf._readableState;(!dh||dh.autoDestroy&&dh.endEmitted)&&Cf.destroy()}return Yf}function Jf(Cf,xf,Yf){xf.ending=!0,Wf(Cf,xf),Yf&&(xf.finished?Ra.nextTick(Yf):Cf.once("finish",Yf)),xf.ended=!0,Cf.writable=!1}function Kf(Cf,xf,Yf){var dh=Cf.entry;for(Cf.entry=null;dh;){var Rh=dh.callback;xf.pendingcb--,Rh(Yf),dh=dh.next}xf.corkedRequestsFree.next=Cf}return Object.defineProperty(Xd.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(xf){this._writableState&&(this._writableState.destroyed=xf)}}),Xd.prototype.destroy=md.destroy,Xd.prototype._undestroy=md.undestroy,Xd.prototype._destroy=function(Cf,xf){xf(Cf)},_stream_writable}var _stream_duplex,hasRequired_stream_duplex;function require_stream_duplex(){if(hasRequired_stream_duplex)return _stream_duplex;hasRequired_stream_duplex=1;var Ra={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_1164a745-b3dc-4b9f-a9be-9609c1b3622a",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_1164a745-b3dc-4b9f-a9be-9609c1b3622a",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250105.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7633",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12854182433",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_eb6908e4-3cff-452d-a339-25146be9740f",INVOCATION_ID:"049b7125072941398f5d27a5cb59ad7a",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"493",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 18",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_1164a745-b3dc-4b9f-a9be-9609c1b3622a",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_1164a745-b3dc-4b9f-a9be-9609c1b3622a",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_1164a745-b3dc-4b9f-a9be-9609c1b3622a",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2166,ppid:2165,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}},qa=Object.keys||function(vd){var Ad=[];for(var Nd in vd)Ad.push(Nd);return Ad};_stream_duplex=pd;var nd=require_stream_readable(),od=require_stream_writable();inherits_browserExports(pd,nd);for(var ld=qa(od.prototype),ud=0;ud<ld.length;ud++){var dd=ld[ud];pd.prototype[dd]||(pd.prototype[dd]=od.prototype[dd])}function pd(vd){if(!(this instanceof pd))return new pd(vd);nd.call(this,vd),od.call(this,vd),this.allowHalfOpen=!0,vd&&(vd.readable===!1&&(this.readable=!1),vd.writable===!1&&(this.writable=!1),vd.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",fd)))}Object.defineProperty(pd.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(pd.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(pd.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function fd(){this._writableState.ended||Ra.nextTick(md,this)}function md(vd){vd.end()}return Object.defineProperty(pd.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(Ad){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=Ad,this._writableState.destroyed=Ad)}}),_stream_duplex}var string_decoder={},safeBuffer={exports:{}};/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var hasRequiredSafeBuffer;function requireSafeBuffer(){return hasRequiredSafeBuffer||(hasRequiredSafeBuffer=1,function(Ra,qa){var nd=buffer,od=nd.Buffer;function ld(dd,pd){for(var fd in dd)pd[fd]=dd[fd]}od.from&&od.alloc&&od.allocUnsafe&&od.allocUnsafeSlow?Ra.exports=nd:(ld(nd,qa),qa.Buffer=ud);function ud(dd,pd,fd){return od(dd,pd,fd)}ud.prototype=Object.create(od.prototype),ld(od,ud),ud.from=function(dd,pd,fd){if(typeof dd=="number")throw new TypeError("Argument must not be a number");return od(dd,pd,fd)},ud.alloc=function(dd,pd,fd){if(typeof dd!="number")throw new TypeError("Argument must be a number");var md=od(dd);return pd!==void 0?typeof fd=="string"?md.fill(pd,fd):md.fill(pd):md.fill(0),md},ud.allocUnsafe=function(dd){if(typeof dd!="number")throw new TypeError("Argument must be a number");return od(dd)},ud.allocUnsafeSlow=function(dd){if(typeof dd!="number")throw new TypeError("Argument must be a number");return nd.SlowBuffer(dd)}}(safeBuffer,safeBuffer.exports)),safeBuffer.exports}var hasRequiredString_decoder;function requireString_decoder(){if(hasRequiredString_decoder)return string_decoder;hasRequiredString_decoder=1;var Ra=requireSafeBuffer().Buffer,qa=Ra.isEncoding||function(jd){switch(jd=""+jd,jd&&jd.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function nd(jd){if(!jd)return"utf8";for(var Fd;;)switch(jd){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return jd;default:if(Fd)return;jd=(""+jd).toLowerCase(),Fd=!0}}function od(jd){var Fd=nd(jd);if(typeof Fd!="string"&&(Ra.isEncoding===qa||!qa(jd)))throw new Error("Unknown encoding: "+jd);return Fd||jd}string_decoder.StringDecoder=ld;function ld(jd){this.encoding=od(jd);var Fd;switch(this.encoding){case"utf16le":this.text=Ad,this.end=Nd,Fd=4;break;case"utf8":this.fillLast=fd,Fd=4;break;case"base64":this.text=Od,this.end=kd,Fd=3;break;default:this.write=Ld,this.end=Gd;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Ra.allocUnsafe(Fd)}ld.prototype.write=function(jd){if(jd.length===0)return"";var Fd,Ud;if(this.lastNeed){if(Fd=this.fillLast(jd),Fd===void 0)return"";Ud=this.lastNeed,this.lastNeed=0}else Ud=0;return Ud<jd.length?Fd?Fd+this.text(jd,Ud):this.text(jd,Ud):Fd||""},ld.prototype.end=vd,ld.prototype.text=md,ld.prototype.fillLast=function(jd){if(this.lastNeed<=jd.length)return jd.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);jd.copy(this.lastChar,this.lastTotal-this.lastNeed,0,jd.length),this.lastNeed-=jd.length};function ud(jd){return jd<=127?0:jd>>5===6?2:jd>>4===14?3:jd>>3===30?4:jd>>6===2?-1:-2}function dd(jd,Fd,Ud){var qd=Fd.length-1;if(qd<Ud)return 0;var zd=ud(Fd[qd]);return zd>=0?(zd>0&&(jd.lastNeed=zd-1),zd):--qd<Ud||zd===-2?0:(zd=ud(Fd[qd]),zd>=0?(zd>0&&(jd.lastNeed=zd-2),zd):--qd<Ud||zd===-2?0:(zd=ud(Fd[qd]),zd>=0?(zd>0&&(zd===2?zd=0:jd.lastNeed=zd-3),zd):0))}function pd(jd,Fd,Ud){if((Fd[0]&192)!==128)return jd.lastNeed=0,"<22>";if(jd.lastNeed>1&&Fd.length>1){if((Fd[1]&192)!==128)return jd.lastNeed=1,"<22>";if(jd.lastNeed>2&&Fd.length>2&&(Fd[2]&192)!==128)return jd.lastNeed=2,"<22>"}}function fd(jd){var Fd=this.lastTotal-this.lastNeed,Ud=pd(this,jd);if(Ud!==void 0)return Ud;if(this.lastNeed<=jd.length)return jd.copy(this.lastChar,Fd,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);jd.copy(this.lastChar,Fd,0,jd.length),this.lastNeed-=jd.length}function md(jd,Fd){var Ud=dd(this,jd,Fd);if(!this.lastNeed)return jd.toString("utf8",Fd);this.lastTotal=Ud;var qd=jd.length-(Ud-this.lastNeed);return jd.copy(this.lastChar,0,qd),jd.toString("utf8",Fd,qd)}function vd(jd){var Fd=jd&&jd.length?this.write(jd):"";return this.lastNeed?Fd+"<22>":Fd}function Ad(jd,Fd){if((jd.length-Fd)%2===0){var Ud=jd.toString("utf16le",Fd);if(Ud){var qd=Ud.charCodeAt(Ud.length-1);if(qd>=55296&&qd<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=jd[jd.length-2],this.lastChar[1]=jd[jd.length-1],Ud.slice(0,-1)}return Ud}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=jd[jd.length-1],jd.toString("utf16le",Fd,jd.length-1)}function Nd(jd){var Fd=jd&&jd.length?this.write(jd):"";if(this.lastNeed){var Ud=this.lastTotal-this.lastNeed;return Fd+this.lastChar.toString("utf16le",0,Ud)}return Fd}function Od(jd,Fd){var Ud=(jd.length-Fd)%3;return Ud===0?jd.toString("base64",Fd):(this.lastNeed=3-Ud,this.lastTotal=3,Ud===1?this.lastChar[0]=jd[jd.length-1]:(this.lastChar[0]=jd[jd.length-2],this.lastChar[1]=jd[jd.length-1]),jd.toString("base64",Fd,jd.length-Ud))}function kd(jd){var Fd=jd&&jd.length?this.write(jd):"";return this.lastNeed?Fd+this.lastChar.toString("base64",0,3-this.lastNeed):Fd}function Ld(jd){return jd.toString(this.encoding)}function Gd(jd){return jd&&jd.length?this.write(jd):""}return string_decoder}var ERR_STREAM_PREMATURE_CLOSE=errorsBrowser.codes.ERR_STREAM_PREMATURE_CLOSE;function once$2(Ra){var qa=!1;return function(){if(!qa){qa=!0;for(var nd=arguments.length,od=new Array(nd),ld=0;ld<nd;ld++)od[ld]=arguments[ld];Ra.apply(this,od)}}}function noop$2(){}function isRequest$2(Ra){return Ra.setHeader&&typeof Ra.abort=="function"}function eos$1(Ra,qa,nd){if(typeof qa=="function")return eos$1(Ra,null,qa);qa||(qa={}),nd=once$2(nd||noop$2);var od=qa.readable||qa.readable!==!1&&Ra.readable,ld=qa.writable||qa.writable!==!1&&Ra.writable,ud=function(){Ra.writable||pd()},dd=Ra._writableState&&Ra._writableState.finished,pd=function(){ld=!1,dd=!0,od||nd.call(Ra)},fd=Ra._readableState&&Ra._readableState.endEmitted,md=function(){od=!1,fd=!0,ld||nd.call(Ra)},vd=function(kd){nd.call(Ra,kd)},Ad=function(){var kd;if(od&&!fd)return(!Ra._readableState||!Ra._readableState.ended)&&(kd=new ERR_STREAM_PREMATURE_CLOSE),nd.call(Ra,kd);if(ld&&!dd)return(!Ra._writableState||!Ra._writableState.ended)&&(kd=new ERR_STREAM_PREMATURE_CLOSE),nd.call(Ra,kd)},Nd=function(){Ra.req.on("finish",pd)};return isRequest$2(Ra)?(Ra.on("complete",pd),Ra.on("abort",Ad),Ra.req?Nd():Ra.on("request",Nd)):ld&&!Ra._writableState&&(Ra.on("end",ud),Ra.on("close",ud)),Ra.on("end",md),Ra.on("finish",pd),qa.error!==!1&&Ra.on("error",vd),Ra.on("close",Ad),function(){Ra.removeListener("complete",pd),Ra.removeListener("abort",Ad),Ra.removeListener("request",Nd),Ra.req&&Ra.req.removeListener("finish",pd),Ra.removeListener("end",ud),Ra.removeListener("close",ud),Ra.removeListener("finish",pd),Ra.removeListener("end",md),Ra.removeListener("error",vd),Ra.removeListener("close",Ad)}}var endOfStream=eos$1,async_iterator,hasRequiredAsync_iterator;function requireAsync_iterator(){if(hasRequiredAsync_iterator)return async_iterator;hasRequiredAsync_iterator=1;var Ra={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_1164a745-b3dc-4b9f-a9be-9609c1b3622a",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_1164a745-b3dc-4b9f-a9be-9609c1b3622a",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250105.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7633",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12854182433",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_eb6908e4-3cff-452d-a339-25146be9740f",INVOCATION_ID:"049b7125072941398f5d27a5cb59ad7a",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"493",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 18",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_1164a745-b3dc-4b9f-a9be-9609c1b3622a",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_1164a745-b3dc-4b9f-a9be-9609c1b3622a",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_1164a745-b3dc-4b9f-a9be-9609c1b3622a",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2166,ppid:2165,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}},qa;function nd(qd,zd,Wd){return zd=od(zd),zd in qd?Object.defineProperty(qd,zd,{value:Wd,enumerable:!0,configurable:!0,writable:!0}):qd[zd]=Wd,qd}function od(qd){var zd=ld(qd,"string");return typeof zd=="symbol"?zd:String(zd)}function ld(qd,zd){if(typeof qd!="object"||qd===null)return qd;var Wd=qd[Symbol.toPrimitive];if(Wd!==void 0){var Jd=Wd.call(qd,zd||"default");if(typeof Jd!="object")return Jd;throw new TypeError("@@toPrimitive must return a primitive value.")}return(zd==="string"?String:Number)(qd)}var ud=endOfStream,dd=Symbol("lastResolve"),pd=Symbol("lastReject"),fd=Symbol("error"),md=Symbol("ended"),vd=Symbol("lastPromise"),Ad=Symbol("handlePromise"),Nd=Symbol("stream");function Od(qd,zd){return{value:qd,done:zd}}function kd(qd){var zd=qd[dd];if(zd!==null){var Wd=qd[Nd].read();Wd!==null&&(qd[vd]=null,qd[dd]=null,qd[pd]=null,zd(Od(Wd,!1)))}}function Ld(qd){Ra.nextTick(kd,qd)}function Gd(qd,zd){return function(Wd,Jd){qd.then(function(){if(zd[md]){Wd(Od(void 0,!0));return}zd[Ad](Wd,Jd)},Jd)}}var jd=Object.getPrototypeOf(function(){}),Fd=Object.setPrototypeOf((qa={get stream(){return this[Nd]},next:function(){var zd=this,Wd=this[fd];if(Wd!==null)return Promise.reject(Wd);if(this[md])return Promise.resolve(Od(void 0,!0));if(this[Nd].destroyed)return new Promise(function(pf,mf){Ra.nextTick(function(){zd[fd]?mf(zd[fd]):pf(Od(void 0,!0))})});var Jd=this[vd],_f;if(Jd)_f=new Promise(Gd(Jd,this));else{var Xd=this[Nd].read();if(Xd!==null)return Promise.resolve(Od(Xd,!1));_f=new Promise(this[Ad])}return this[vd]=_f,_f}},nd(qa,Symbol.asyncIterator,function(){return this}),nd(qa,"return",function(){var zd=this;return new Promise(function(Wd,Jd){zd[Nd].destroy(null,function(_f){if(_f){Jd(_f);return}Wd(Od(void 0,!0))})})}),qa),jd),Ud=function(zd){var Wd,Jd=Object.create(Fd,(Wd={},nd(Wd,Nd,{value:zd,writable:!0}),nd(Wd,dd,{value:null,writable:!0}),nd(Wd,pd,{value:null,writable:!0}),nd(Wd,fd,{value:null,writable:!0}),nd(Wd,md,{value:zd._readableState.endEmitted,writable:!0}),nd(Wd,Ad,{value:function(Xd,pf){var mf=Jd[Nd].read();mf?(Jd[vd]=null,Jd[dd]=null,Jd[pd]=null,Xd(Od(mf,!1))):(Jd[dd]=Xd,Jd[pd]=pf)},writable:!0}),Wd));return Jd[vd]=null,ud(zd,function(_f){if(_f&&_f.code!=="ERR_STREAM_PREMATURE_CLOSE"){var Xd=Jd[pd];Xd!==null&&(Jd[vd]=null,Jd[dd]=null,Jd[pd]=null,Xd(_f)),Jd[fd]=_f;return}var pf=Jd[dd];pf!==null&&(Jd[vd]=null,Jd[dd]=null,Jd[pd]=null,pf(Od(void 0,!0))),Jd[md]=!0}),zd.on("readable",Ld.bind(null,Jd)),Jd};return async_iterator=Ud,async_iterator}var fromBrowser,hasRequiredFromBrowser;function requireFromBrowser(){return hasRequiredFromBrowser||(hasRequiredFromBrowser=1,fromBrowser=function(){throw new Error("Readable.from is not available in the browser")}),fromBrowser}var _stream_readable,hasRequired_stream_readable;function require_stream_readable(){if(hasRequired_stream_readable)return _stream_readable;hasRequired_stream_readable=1;var Ra={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_1164a745-b3dc-4b9f-a9be-9609c1b3622a",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_1164a745-b3dc-4b9f-a9be-9609c1b3622a",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250105.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7633",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12854182433",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_eb6908e4-3cff-452d-a339-25146be9740f",INVOCATION_ID:"049b7125072941398f5d27a5cb59ad7a",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"493",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 18",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_1164a745-b3dc-4b9f-a9be-9609c1b3622a",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_1164a745-b3dc-4b9f-a9be-9609c1b3622a",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_1164a745-b3dc-4b9f-a9be-9609c1b3622a",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2166,ppid:2165,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};_stream_readable=pf;var qa;pf.ReadableState=Xd,eventsExports.EventEmitter;var nd=function(Bf,Sh){return Bf.listeners(Sh).length},od=streamBrowser,ld=buffer.Buffer,ud=(typeof commonjsGlobal<"u"?commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function dd(th){return ld.from(th)}function pd(th){return ld.isBuffer(th)||th instanceof ud}var fd=util$a,md;fd&&fd.debuglog?md=fd.debuglog("stream"):md=function(){};var vd=requireBuffer_list(),Ad=destroy_1,Nd=state,Od=Nd.getHighWaterMark,kd=errorsBrowser.codes,Ld=kd.ERR_INVALID_ARG_TYPE,Gd=kd.ERR_STREAM_PUSH_AFTER_EOF,jd=kd.ERR_METHOD_NOT_IMPLEMENTED,Fd=kd.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,Ud,qd,zd;inherits_browserExports(pf,od);var Wd=Ad.errorOrDestroy,Jd=["error","close","destroy","pause","resume"];function _f(th,Bf,Sh){if(typeof th.prependListener=="function")return th.prependListener(Bf,Sh);!th._events||!th._events[Bf]?th.on(Bf,Sh):Array.isArray(th._events[Bf])?th._events[Bf].unshift(Sh):th._events[Bf]=[Sh,th._events[Bf]]}function Xd(th,Bf,Sh){qa=qa||require_stream_duplex(),th=th||{},typeof Sh!="boolean"&&(Sh=Bf instanceof qa),this.objectMode=!!th.objectMode,Sh&&(this.objectMode=this.objectMode||!!th.readableObjectMode),this.highWaterMark=Od(this,th,"readableHighWaterMark",Sh),this.buffer=new vd,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=th.emitClose!==!1,this.autoDestroy=!!th.autoDestroy,this.destroyed=!1,this.defaultEncoding=th.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,th.encoding&&(Ud||(Ud=requireString_decoder().StringDecoder),this.decoder=new Ud(th.encoding),this.encoding=th.encoding)}function pf(th){if(qa=qa||require_stream_duplex(),!(this instanceof pf))return new pf(th);var Bf=this instanceof qa;this._readableState=new Xd(th,this,Bf),this.readable=!0,th&&(typeof th.read=="function"&&(this._read=th.read),typeof th.destroy=="function"&&(this._destroy=th.destroy)),od.call(this)}Object.defineProperty(pf.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(Bf){this._readableState&&(this._readableState.destroyed=Bf)}}),pf.prototype.destroy=Ad.destroy,pf.prototype._undestroy=Ad.undestroy,pf.prototype._destroy=function(th,Bf){Bf(th)},pf.prototype.push=function(th,Bf){var Sh=this._readableState,Fh;return Sh.objectMode?Fh=!0:typeof th=="string"&&(Bf=Bf||Sh.defaultEncoding,Bf!==Sh.encoding&&(th=ld.from(th,Bf),Bf=""),Fh=!0),mf(this,th,Bf,!1,Fh)},pf.prototype.unshift=function(th){return mf(this,th,null,!0,!1)};function mf(th,Bf,Sh,Fh,uh){md("readableAddChunk",Bf);var Pf=th._readableState;if(Bf===null)Pf.reading=!1,If(th,Pf);else{var Uf;if(uh||(Uf=Tf(Pf,Bf)),Uf)Wd(th,Uf);else if(Pf.objectMode||Bf&&Bf.length>0)if(typeof Bf!="string"&&!Pf.objectMode&&Object.getPrototypeOf(Bf)!==ld.prototype&&(Bf=dd(Bf)),Fh)Pf.endEmitted?Wd(th,new Fd):Sf(th,Pf,Bf,!0);else if(Pf.ended)Wd(th,new Gd);else{if(Pf.destroyed)return!1;Pf.reading=!1,Pf.decoder&&!Sh?(Bf=Pf.decoder.write(Bf),Pf.objectMode||Bf.length!==0?Sf(th,Pf,Bf,!1):Xf(th,Pf)):Sf(th,Pf,Bf,!1)}else Fh||(Pf.reading=!1,Xf(th,Pf))}return!Pf.ended&&(Pf.length<Pf.highWaterMark||Pf.length===0)}function Sf(th,Bf,Sh,Fh){Bf.flowing&&Bf.length===0&&!Bf.sync?(Bf.awaitDrain=0,th.emit("data",Sh)):(Bf.length+=Bf.objectMode?1:Sh.length,Fh?Bf.buffer.unshift(Sh):Bf.buffer.push(Sh),Bf.needReadable&&Gf(th)),Xf(th,Bf)}function Tf(th,Bf){var Sh;return!pd(Bf)&&typeof Bf!="string"&&Bf!==void 0&&!th.objectMode&&(Sh=new Ld("chunk",["string","Buffer","Uint8Array"],Bf)),Sh}pf.prototype.isPaused=function(){return this._readableState.flowing===!1},pf.prototype.setEncoding=function(th){Ud||(Ud=requireString_decoder().StringDecoder);var Bf=new Ud(th);this._readableState.decoder=Bf,this._readableState.encoding=this._readableState.decoder.encoding;for(var Sh=this._readableState.buffer.head,Fh="";Sh!==null;)Fh+=Bf.write(Sh.data),Sh=Sh.next;return this._readableState.buffer.clear(),Fh!==""&&this._readableState.buffer.push(Fh),this._readableState.length=Fh.length,this};var Af=1073741824;function Ef(th){return th>=Af?th=Af:(th--,th|=th>>>1,th|=th>>>2,th|=th>>>4,th|=th>>>8,th|=th>>>16,th++),th}function Nf(th,Bf){return th<=0||Bf.length===0&&Bf.ended?0:Bf.objectMode?1:th!==th?Bf.flowing&&Bf.length?Bf.buffer.head.data.length:Bf.length:(th>Bf.highWaterMark&&(Bf.highWaterMark=Ef(th)),th<=Bf.length?th:Bf.ended?Bf.length:(Bf.needReadable=!0,0))}pf.prototype.read=function(th){md("read",th),th=parseInt(th,10);var Bf=this._readableState,Sh=th;if(th!==0&&(Bf.emittedReadable=!1),th===0&&Bf.needReadable&&((Bf.highWaterMark!==0?Bf.length>=Bf.highWaterMark:Bf.length>0)||Bf.ended))return md("read: emitReadable",Bf.length,Bf.ended),Bf.length===0&&Bf.ended?Yf(this):Gf(this),null;if(th=Nf(th,Bf),th===0&&Bf.ended)return Bf.length===0&&Yf(this),null;var Fh=Bf.needReadable;md("need readable",Fh),(Bf.length===0||Bf.length-th<Bf.highWaterMark)&&(Fh=!0,md("length less than watermark",Fh)),Bf.ended||Bf.reading?(Fh=!1,md("reading or ended",Fh)):Fh&&(md("do read"),Bf.reading=!0,Bf.sync=!0,Bf.length===0&&(Bf.needReadable=!0),this._read(Bf.highWaterMark),Bf.sync=!1,Bf.reading||(th=Nf(Sh,Bf)));var uh;return th>0?uh=xf(th,Bf):uh=null,uh===null?(Bf.needReadable=Bf.length<=Bf.highWaterMark,th=0):(Bf.length-=th,Bf.awaitDrain=0),Bf.length===0&&(Bf.ended||(Bf.needReadable=!0),Sh!==th&&Bf.ended&&Yf(this)),uh!==null&&this.emit("data",uh),uh};function If(th,Bf){if(md("onEofChunk"),!Bf.ended){if(Bf.decoder){var Sh=Bf.decoder.end();Sh&&Sh.length&&(Bf.buffer.push(Sh),Bf.length+=Bf.objectMode?1:Sh.length)}Bf.ended=!0,Bf.sync?Gf(th):(Bf.needReadable=!1,Bf.emittedReadable||(Bf.emittedReadable=!0,Qf(th)))}}function Gf(th){var Bf=th._readableState;md("emitReadable",Bf.needReadable,Bf.emittedReadable),Bf.needReadable=!1,Bf.emittedReadable||(md("emitReadable",Bf.flowing),Bf.emittedReadable=!0,Ra.nextTick(Qf,th))}function Qf(th){var Bf=th._readableState;md("emitReadable_",Bf.destroyed,Bf.length,Bf.ended),!Bf.destroyed&&(Bf.length||Bf.ended)&&(th.emit("readable"),Bf.emittedReadable=!1),Bf.needReadable=!Bf.flowing&&!Bf.ended&&Bf.length<=Bf.highWaterMark,Cf(th)}function Xf(th,Bf){Bf.readingMore||(Bf.readingMore=!0,Ra.nextTick(ph,th,Bf))}function ph(th,Bf){for(;!Bf.reading&&!Bf.ended&&(Bf.length<Bf.highWaterMark||Bf.flowing&&Bf.length===0);){var Sh=Bf.length;if(md("maybeReadMore read 0"),th.read(0),Sh===Bf.length)break}Bf.readingMore=!1}pf.prototype._read=function(th){Wd(this,new jd("_read()"))},pf.prototype.pipe=function(th,Bf){var Sh=this,Fh=this._readableState;switch(Fh.pipesCount){case 0:Fh.pipes=th;break;case 1:Fh.pipes=[Fh.pipes,th];break;default:Fh.pipes.push(th);break}Fh.pipesCount+=1,md("pipe count=%d opts=%j",Fh.pipesCount,Bf);var uh=(!Bf||Bf.end!==!1)&&th!==Ra.stdout&&th!==Ra.stderr,Pf=uh?Zf:gm;Fh.endEmitted?Ra.nextTick(Pf):Sh.once("end",Pf),th.on("unpipe",Uf);function Uf(Lm,Vm){md("onunpipe"),Lm===Sh&&Vm&&Vm.hasUnpiped===!1&&(Vm.hasUnpiped=!0,_h())}function Zf(){md("onend"),th.end()}var mh=qf(Sh);th.on("drain",mh);var Mh=!1;function _h(){md("cleanup"),th.removeListener("close",Mm),th.removeListener("finish",Im),th.removeListener("drain",mh),th.removeListener("error",Jh),th.removeListener("unpipe",Uf),Sh.removeListener("end",Zf),Sh.removeListener("end",gm),Sh.removeListener("data",pm),Mh=!0,Fh.awaitDrain&&(!th._writableState||th._writableState.needDrain)&&mh()}Sh.on("data",pm);function pm(Lm){md("ondata");var Vm=th.write(Lm);md("dest.write",Vm),Vm===!1&&((Fh.pipesCount===1&&Fh.pipes===th||Fh.pipesCount>1&&Rh(Fh.pipes,th)!==-1)&&!Mh&&(md("false write response, pause",Fh.awaitDrain),Fh.awaitDrain++),Sh.pause())}function Jh(Lm){md("onerror",Lm),gm(),th.removeListener("error",Jh),nd(th,"error")===0&&Wd(th,Lm)}_f(th,"error",Jh);function Mm(){th.removeListener("finish",Im),gm()}th.once("close",Mm);function Im(){md("onfinish"),th.removeListener("close",Mm),gm()}th.once("finish",Im);function gm(){md("unpipe"),Sh.unpipe(th)}return th.emit("pipe",Sh),Fh.flowing||(md("pipe resume"),Sh.resume()),th};function qf(th){return function(){var Sh=th._readableState;md("pipeOnDrain",Sh.awaitDrain),Sh.awaitDrain&&Sh.awaitDrain--,Sh.awaitDrain===0&&nd(th,"data")&&(Sh.flowing=!0,Cf(th))}}pf.prototype.unpipe=function(th){var Bf=this._readableState,Sh={hasUnpiped:!1};if(Bf.pipesCount===0)return this;if(Bf.pipesCount===1)return th&&th!==Bf.pipes?this:(th||(th=Bf.pipes),Bf.pipes=null,Bf.pipesCount=0,Bf.flowing=!1,th&&th.emit("unpipe",this,Sh),this);if(!th){var Fh=Bf.pipes,uh=Bf.pipesCount;Bf.pipes=null,Bf.pipesCount=0,Bf.flowing=!1;for(var Pf=0;Pf<uh;Pf++)Fh[Pf].emit("unpipe",this,{hasUnpiped:!1});return this}var Uf=Rh(Bf.pipes,th);return Uf===-1?this:(Bf.pipes.splice(Uf,1),Bf.pipesCount-=1,Bf.pipesCount===1&&(Bf.pipes=Bf.pipes[0]),th.emit("unpipe",this,Sh),this)},pf.prototype.on=function(th,Bf){var Sh=od.prototype.on.call(this,th,Bf),Fh=this._readableState;return th==="data"?(Fh.readableListening=this.listenerCount("readable")>0,Fh.flowing!==!1&&this.resume()):th==="readable"&&!Fh.endEmitted&&!Fh.readableListening&&(Fh.readableListening=Fh.needReadable=!0,Fh.flowing=!1,Fh.emittedReadable=!1,md("on readable",Fh.length,Fh.reading),Fh.length?Gf(this):Fh.reading||Ra.nextTick(Wf,this)),Sh},pf.prototype.addListener=pf.prototype.on,pf.prototype.removeListener=function(th,Bf){var Sh=od.prototype.removeListener.call(this,th,Bf);return th==="readable"&&Ra.nextTick(Lf,this),Sh},pf.prototype.removeAllListeners=function(th){var Bf=od.prototype.removeAllListeners.apply(this,arguments);return(th==="readable"||th===void 0)&&Ra.nextTick(Lf,this),Bf};function Lf(th){var Bf=th._readableState;Bf.readableListening=th.listenerCount("readable")>0,Bf.resumeScheduled&&!Bf.paused?Bf.flowing=!0:th.listenerCount("data")>0&&th.resume()}function Wf(th){md("readable nexttick read 0"),th.read(0)}pf.prototype.resume=function(){var th=this._readableState;return th.flowing||(md("resume"),th.flowing=!th.readableListening,Jf(this,th)),th.paused=!1,this};function Jf(th,Bf){Bf.resumeScheduled||(Bf.resumeScheduled=!0,Ra.nextTick(Kf,th,Bf))}function Kf(th,Bf){md("resume",Bf.reading),Bf.reading||th.read(0),Bf.resumeScheduled=!1,th.emit("resume"),Cf(th),Bf.flowing&&!Bf.reading&&th.read(0)}pf.prototype.pause=function(){return md("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(md("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function Cf(th){var Bf=th._readableState;for(md("flow",Bf.flowing);Bf.flowing&&th.read()!==null;);}pf.prototype.wrap=function(th){var Bf=this,Sh=this._readableState,Fh=!1;th.on("end",function(){if(md("wrapped end"),Sh.decoder&&!Sh.ended){var Uf=Sh.decoder.end();Uf&&Uf.length&&Bf.push(Uf)}Bf.push(null)}),th.on("data",function(Uf){if(md("wrapped data"),Sh.decoder&&(Uf=Sh.decoder.write(Uf)),!(Sh.objectMode&&Uf==null)&&!(!Sh.objectMode&&(!Uf||!Uf.length))){var Zf=Bf.push(Uf);Zf||(Fh=!0,th.pause())}});for(var uh in th)this[uh]===void 0&&typeof th[uh]=="function"&&(this[uh]=function(Zf){return function(){return th[Zf].apply(th,arguments)}}(uh));for(var Pf=0;Pf<Jd.length;Pf++)th.on(Jd[Pf],this.emit.bind(this,Jd[Pf]));return this._read=function(Uf){md("wrapped _read",Uf),Fh&&(Fh=!1,th.resume())},this},typeof Symbol=="function"&&(pf.prototype[Symbol.asyncIterator]=function(){return qd===void 0&&(qd=requireAsync_iterator()),qd(this)}),Object.defineProperty(pf.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(pf.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(pf.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(Bf){this._readableState&&(this._readableState.flowing=Bf)}}),pf._fromList=xf,Object.defineProperty(pf.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function xf(th,Bf){if(Bf.length===0)return null;var Sh;return Bf.objectMode?Sh=Bf.buffer.shift():!th||th>=Bf.length?(Bf.decoder?Sh=Bf.buffer.join(""):Bf.buffer.length===1?Sh=Bf.buffer.first():Sh=Bf.buffer.concat(Bf.length),Bf.buffer.clear()):Sh=Bf.buffer.consume(th,Bf.decoder),Sh}function Yf(th){var Bf=th._readableState;md("endReadable",Bf.endEmitted),Bf.endEmitted||(Bf.ended=!0,Ra.nextTick(dh,Bf,th))}function dh(th,Bf){if(md("endReadableNT",th.endEmitted,th.length),!th.endEmitted&&th.length===0&&(th.endEmitted=!0,Bf.readable=!1,Bf.emit("end"),th.autoDestroy)){var Sh=Bf._writableState;(!Sh||Sh.autoDestroy&&Sh.finished)&&Bf.destroy()}}typeof Symbol=="function"&&(pf.from=function(th,Bf){return zd===void 0&&(zd=requireFromBrowser()),zd(pf,th,Bf)});function Rh(th,Bf){for(var Sh=0,Fh=th.length;Sh<Fh;Sh++)if(th[Sh]===Bf)return Sh;return-1}return _stream_readable}var _stream_transform=Transform$4,_require$codes$1=errorsBrowser.codes,ERR_METHOD_NOT_IMPLEMENTED=_require$codes$1.ERR_METHOD_NOT_IMPLEMENTED,ERR_MULTIPLE_CALLBACK=_require$codes$1.ERR_MULTIPLE_CALLBACK,ERR_TRANSFORM_ALREADY_TRANSFORMING=_require$codes$1.ERR_TRANSFORM_ALREADY_TRANSFORMING,ERR_TRANSFORM_WITH_LENGTH_0=_require$codes$1.ERR_TRANSFORM_WITH_LENGTH_0,Duplex=require_stream_duplex();inherits_browserExports(Transform$4,Duplex);function afterTransform(Ra,qa){var nd=this._transformState;nd.transforming=!1;var od=nd.writecb;if(od===null)return this.emit("error",new ERR_MULTIPLE_CALLBACK);nd.writechunk=null,nd.writecb=null,qa!=null&&this.push(qa),od(Ra);var ld=this._readableState;ld.reading=!1,(ld.needReadable||ld.length<ld.highWaterMark)&&this._read(ld.highWaterMark)}function Transform$4(Ra){if(!(this instanceof Transform$4))return new Transform$4(Ra);Duplex.call(this,Ra),this._transformState={afterTransform:afterTransform.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,Ra&&(typeof Ra.transform=="function"&&(this._transform=Ra.transform),typeof Ra.flush=="function"&&(this._flush=Ra.flush)),this.on("prefinish",prefinish)}function prefinish(){var Ra=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(qa,nd){done(Ra,qa,nd)}):done(this,null,null)}Transform$4.prototype.push=function(Ra,qa){return this._transformState.needTransform=!1,Duplex.prototype.push.call(this,Ra,qa)};Transform$4.prototype._transform=function(Ra,qa,nd){nd(new ERR_METHOD_NOT_IMPLEMENTED("_transform()"))};Transform$4.prototype._write=function(Ra,qa,nd){var od=this._transformState;if(od.writecb=nd,od.writechunk=Ra,od.writeencoding=qa,!od.transforming){var ld=this._readableState;(od.needTransform||ld.needReadable||ld.length<ld.highWaterMark)&&this._read(ld.highWaterMark)}};Transform$4.prototype._read=function(Ra){var qa=this._transformState;qa.writechunk!==null&&!qa.transforming?(qa.transforming=!0,this._transform(qa.writechunk,qa.writeencoding,qa.afterTransform)):qa.needTransform=!0};Transform$4.prototype._destroy=function(Ra,qa){Duplex.prototype._destroy.call(this,Ra,function(nd){qa(nd)})};function done(Ra,qa,nd){if(qa)return Ra.emit("error",qa);if(nd!=null&&Ra.push(nd),Ra._writableState.length)throw new ERR_TRANSFORM_WITH_LENGTH_0;if(Ra._transformState.transforming)throw new ERR_TRANSFORM_ALREADY_TRANSFORMING;return Ra.push(null)}var _stream_passthrough=PassThrough,Transform$3=_stream_transform;inherits_browserExports(PassThrough,Transform$3);function PassThrough(Ra){if(!(this instanceof PassThrough))return new PassThrough(Ra);Transform$3.call(this,Ra)}PassThrough.prototype._transform=function(Ra,qa,nd){nd(null,Ra)};var eos;function once$1(Ra){var qa=!1;return function(){qa||(qa=!0,Ra.apply(void 0,arguments))}}var _require$codes=errorsBrowser.codes,ERR_MISSING_ARGS=_require$codes.ERR_MISSING_ARGS,ERR_STREAM_DESTROYED=_require$codes.ERR_STREAM_DESTROYED;function noop$1(Ra){if(Ra)throw Ra}function isRequest$1(Ra){return Ra.setHeader&&typeof Ra.abort=="function"}function destroyer(Ra,qa,nd,od){od=once$1(od);var ld=!1;Ra.on("close",function(){ld=!0}),eos===void 0&&(eos=endOfStream),eos(Ra,{readable:qa,writable:nd},function(dd){if(dd)return od(dd);ld=!0,od()});var ud=!1;return function(dd){if(!ld&&!ud){if(ud=!0,isRequest$1(Ra))return Ra.abort();if(typeof Ra.destroy=="function")return Ra.destroy();od(dd||new ERR_STREAM_DESTROYED("pipe"))}}}function call(Ra){Ra()}function pipe(Ra,qa){return Ra.pipe(qa)}function popCallback(Ra){return!Ra.length||typeof Ra[Ra.length-1]!="function"?noop$1:Ra.pop()}function pipeline$1(){for(var Ra=arguments.length,qa=new Array(Ra),nd=0;nd<Ra;nd++)qa[nd]=arguments[nd];var od=popCallback(qa);if(Array.isArray(qa[0])&&(qa=qa[0]),qa.length<2)throw new ERR_MISSING_ARGS("streams");var ld,ud=qa.map(function(dd,pd){var fd=pd<qa.length-1,md=pd>0;return destroyer(dd,fd,md,function(vd){ld||(ld=vd),vd&&ud.forEach(call),!fd&&(ud.forEach(call),od(ld))})});return qa.reduce(pipe)}var pipeline_1=pipeline$1,streamBrowserify=Stream$1,EE=eventsExports.EventEmitter,inherits$2=inherits_browserExports;inherits$2(Stream$1,EE);Stream$1.Readable=require_stream_readable();Stream$1.Writable=require_stream_writable();Stream$1.Duplex=require_stream_duplex();Stream$1.Transform=_stream_transform;Stream$1.PassThrough=_stream_passthrough;Stream$1.finished=endOfStream;Stream$1.pipeline=pipeline_1;Stream$1.Stream=Stream$1;function Stream$1(){EE.call(this)}Stream$1.prototype.pipe=function(Ra,qa){var nd=this;function od(vd){Ra.writable&&Ra.write(vd)===!1&&nd.pause&&nd.pause()}nd.on("data",od);function ld(){nd.readable&&nd.resume&&nd.resume()}Ra.on("drain",ld),!Ra._isStdio&&(!qa||qa.end!==!1)&&(nd.on("end",dd),nd.on("close",pd));var ud=!1;function dd(){ud||(ud=!0,Ra.end())}function pd(){ud||(ud=!0,typeof Ra.destroy=="function"&&Ra.destroy())}function fd(vd){if(md(),EE.listenerCount(this,"error")===0)throw vd}nd.on("error",fd),Ra.on("error",fd);function md(){nd.removeListener("data",od),Ra.removeListener("drain",ld),nd.removeListener("end",dd),nd.removeListener("close",pd),nd.removeListener("error",fd),Ra.removeListener("error",fd),nd.removeListener("end",md),nd.removeListener("close",md),Ra.removeListener("close",md)}return nd.on("end",md),nd.on("close",md),Ra.on("close",md),Ra.emit("pipe",nd),Ra};/*!
* reading-time
* Copyright (c) Nicolas Gryman <ngryman@gmail.com>
* MIT Licensed
*/const readingTime$1=readingTime_1,Transform$2=streamBrowserify.Transform,util$9=util$a;function ReadingTimeStream(Ra){if(!(this instanceof ReadingTimeStream))return new ReadingTimeStream(Ra);Transform$2.call(this,{objectMode:!0}),this.options=Ra||{},this.stats={minutes:0,time:0,words:0}}util$9.inherits(ReadingTimeStream,Transform$2);ReadingTimeStream.prototype._transform=function(Ra,qa,nd){const od=readingTime$1(Ra.toString(qa),this.options);this.stats.minutes+=od.minutes,this.stats.time+=od.time,this.stats.words+=od.words,nd()};ReadingTimeStream.prototype._flush=function(Ra){this.stats.text=Math.ceil(this.stats.minutes.toFixed(2))+" min read",this.push(this.stats),Ra()};var stream=ReadingTimeStream;readingTime$3.exports.default=readingTime$3.exports=readingTime_1;readingTime$3.exports.readingTimeStream=stream;var readingTimeExports=readingTime$3.exports;const readingTime=getDefaultExportFromCjs(readingTimeExports);function markedAlert(Ra={}){const{className:qa="markdown-alert",variants:nd=[]}=Ra,od=resolveVariants(nd);return{walkTokens(ld){var dd,pd,fd,md;if(ld.type!=="blockquote")return;const ud=od.find(({type:vd})=>new RegExp(createSyntaxPattern(vd),"i").test(ld.text));if(ud){const{type:vd,icon:Ad,title:Nd=ucfirst(vd),titleClassName:Od=`${qa}-title`}=ud,kd=new RegExp(createSyntaxPattern(vd),"i"),{styles:Ld}=Ra;Object.assign(ld,{type:"alert",meta:{className:qa,variant:vd,icon:Ad,title:Nd,titleClassName:Od,wrapperStyle:{...Ld==null?void 0:Ld.blockquote,...Ld==null?void 0:Ld[`blockquote_${vd}`]},titleStyle:{...Ld==null?void 0:Ld.blockquote_title,...Ld==null?void 0:Ld[`blockquote_title_${vd}`]},contentStyle:{...Ld==null?void 0:Ld.blockquote_p,...Ld==null?void 0:Ld[`blockquote_p_${vd}`]}}});const Gd=(dd=ld.tokens)==null?void 0:dd[0];if((pd=Gd.raw)==null?void 0:pd.replace(kd,"").trim()){const Fd=Gd.tokens[0];Object.assign(Fd,{raw:Fd.raw.replace(kd,""),text:Fd.text.replace(kd,"")}),((fd=Gd.tokens[1])==null?void 0:fd.type)==="br"&&Gd.tokens.splice(1,1)}else(md=ld.tokens)==null||md.shift()}},extensions:[{name:"alert",level:"block",renderer({meta:ld,tokens:ud=[]}){var fd;let dd=this.parser.parse(ud);dd=dd.replace(/<p .*?>/g,`<p style="${getStyleString(ld.contentStyle)}">`);let pd=`<blockquote class="${ld.className} ${ld.className}-${ld.variant}" style="${getStyleString(ld.wrapperStyle)}">
`;return pd+=`<p class="${ld.titleClassName}" style="${getStyleString(ld.titleStyle)}">`,pd+=ld.icon.replace("<svg",`<svg style="fill: ${((fd=ld.titleStyle)==null?void 0:fd.color)??"inherit"}"`),pd+=ld.title,pd+=`</p>
`,pd+=dd,pd+=`</blockquote>
`,pd}}]}}const defaultAlertVariant=[{type:"note",icon:'<svg class="octicon octicon-info" style="margin-right: 0.25em;" viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.5 7.75A.75.75 0 0 1 7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75ZM8 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"></path></svg>'},{type:"tip",icon:'<svg class="octicon octicon-light-bulb" style="margin-right: 0.25em;" viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="M8 1.5c-2.363 0-4 1.69-4 3.75 0 .984.424 1.625.984 2.304l.214.253c.223.264.47.556.673.848.284.411.537.896.621 1.49a.75.75 0 0 1-1.484.211c-.04-.282-.163-.547-.37-.847a8.456 8.456 0 0 0-.542-.68c-.084-.1-.173-.205-.268-.32C3.201 7.75 2.5 6.766 2.5 5.25 2.5 2.31 4.863 0 8 0s5.5 2.31 5.5 5.25c0 1.516-.701 2.5-1.328 3.259-.095.115-.184.22-.268.319-.207.245-.383.453-.541.681-.208.3-.33.565-.37.847a.751.751 0 0 1-1.485-.212c.084-.593.337-1.078.621-1.489.203-.292.45-.584.673-.848.075-.088.147-.173.213-.253.561-.679.985-1.32.985-2.304 0-2.06-1.637-3.75-4-3.75ZM5.75 12h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5ZM6 15.25a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 0 1.5h-2.5a.75.75 0 0 1-.75-.75Z"></path></svg>'},{type:"important",icon:'<svg class="octicon octicon-report" style="margin-right: 0.25em;" viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v9.5A1.75 1.75 0 0 1 14.25 13H8.06l-2.573 2.573A1.458 1.458 0 0 1 3 14.543V13H1.75A1.75 1.75 0 0 1 0 11.25Zm1.75-.25a.25.25 0 0 0-.25.25v9.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h6.5a.25.25 0 0 0 .25-.25v-9.5a.25.25 0 0 0-.25-.25Zm7 2.25v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path></svg>'},{type:"warning",icon:'<svg class="octicon octicon-alert" style="margin-right: 0.25em;" viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path></svg>'},{type:"caution",icon:'<svg class="octicon octicon-stop" style="margin-right: 0.25em;" viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="M4.47.22A.749.749 0 0 1 5 0h6c.199 0 .389.079.53.22l4.25 4.25c.141.14.22.331.22.53v6a.749.749 0 0 1-.22.53l-4.25 4.25A.749.749 0 0 1 11 16H5a.749.749 0 0 1-.53-.22L.22 11.53A.749.749 0 0 1 0 11V5c0-.199.079-.389.22-.53Zm.84 1.28L1.5 5.31v5.38l3.81 3.81h5.38l3.81-3.81V5.31L10.69 1.5ZM8 4a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-1.5 0v-3.5A.75.75 0 0 1 8 4Zm0 8a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"></path></svg>'}];function resolveVariants(Ra){return Ra.length?Object.values([...defaultAlertVariant,...Ra].reduce((qa,nd)=>(qa[nd.type]=nd,qa),{})):defaultAlertVariant}function createSyntaxPattern(Ra){return`^(?:\\[!${Ra}])\\s*?
*`}function ucfirst(Ra){return Ra.slice(0,1).toUpperCase()+Ra.slice(1).toLowerCase()}const inlineRule=/^(\${1,2})(?!\$)((?:\\.|[^\\\n])*?(?:\\.|[^\\\n$]))\1(?=[\s?!.,:?!。,:]|$)/,inlineRuleNonStandard=/^(\${1,2})(?!\$)((?:\\.|[^\\\n])*?(?:\\.|[^\\\n$]))\1/,blockRule=/^(\${1,2})\n((?:\\[\s\S]|[^\\])+?)\n\1(?:\n|$)/;function createRenderer(Ra){return qa=>{window.MathJax.texReset();const od=window.MathJax.tex2svg(qa.text,{display:Ra}).firstChild,ld=od.style["min-width"]||od.getAttribute("width");return od.removeAttribute("width"),od.style="max-width: 300vw !important;",od.style.width=ld,od.style.display="initial",Ra?`<section style="text-align: center; overflow: auto;">${od.outerHTML}</section>`:`<span style="vertical-align: middle; line-height: 1;">${od.outerHTML}</span>`}}function inlineKatex(Ra,qa){const nd=Ra&&Ra.nonStandard,od=nd?inlineRuleNonStandard:inlineRule;return{name:"inlineKatex",level:"inline",start(ld){let ud,dd=ld;for(;dd;){if(ud=dd.indexOf("$"),ud===-1)return;if((nd?ud>-1:ud===0||dd.charAt(ud-1)===" ")&&dd.substring(ud).match(od))return ud;dd=dd.substring(ud+1).replace(/^\$+/,"")}},tokenizer(ld){const ud=ld.match(od);if(ud)return{type:"inlineKatex",raw:ud[0],text:ud[2].trim(),displayMode:ud[1].length===2}},renderer:qa}}function blockKatex(Ra,qa){return{name:"blockKatex",level:"block",tokenizer(nd){const od=nd.match(blockRule);if(od)return{type:"blockKatex",raw:od[0],text:od[2].trim(),displayMode:od[1].length===2}},renderer:qa}}function MDKatex(Ra={}){return{extensions:[inlineKatex(Ra,createRenderer(!1)),blockKatex(Ra,createRenderer(!0))]}}marked$1.setOptions({breaks:!0});marked$1.use(MDKatex({nonStandard:!0}));function buildTheme({theme:Ra,fonts:qa,size:nd,isUseIndent:od}){const ld=cloneDeep(Ra),ud=toMerged(ld.base,{"font-family":qa,"font-size":nd});od&&(ld.block.p={"text-indent":"2em",...ld.block.p});const dd=pd=>Object.fromEntries(Object.entries(pd).map(([fd,md])=>[fd,toMerged(ud,md)]));return{...dd(ld.inline),...dd(ld.block)}}function escapeHtml(Ra){return Ra.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/`/g,"&#96;")}function buildAddition(){return`
<style>
.preview-wrapper pre::before {
position: absolute;
top: 0;
right: 0;
color: #ccc;
text-align: center;
font-size: 0.8em;
padding: 5px 10px 0;
line-height: 15px;
height: 15px;
font-weight: 600;
}
</style>
`}function getStyles(Ra,qa,nd=""){const od=Ra[qa];return od?`style="${getStyleString(od)}${nd}"`:""}function buildFootnoteArray(Ra){return Ra.map(([qa,nd,od])=>od===nd?`<code style="font-size: 90%; opacity: 0.6;">[${qa}]</code>: <i style="word-break: break-all">${nd}</i><br/>`:`<code style="font-size: 90%; opacity: 0.6;">[${qa}]</code> ${nd}: <i style="word-break: break-all">${od}</i><br/>`).join(`
`)}function transform$1(Ra,qa,nd){const od=Ra.split("-");for(const ld of od){if(ld==="alt"&&qa)return qa;if(ld==="title"&&nd)return nd}return""}const macCodeSvg=`
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130">
<ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)" />
<ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)" />
<ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)" />
</svg>
`.trim();function parseFrontMatterAndContent(Ra){try{const qa=frontMatter(Ra),nd=qa.attributes,od=qa.body,ld=readingTime(od);return{yamlData:nd,markdownContent:od,readingTime:ld}}catch(qa){return console.error("Error parsing front-matter:",qa),{yamlData:{},markdownContent:Ra,readingTime:readingTime(Ra)}}}function initRenderer(Ra){const qa=[];let nd=0,od=buildTheme(Ra),ld=0,ud=0,dd=!1;function pd(Ld,Gd=""){return getStyles(od,Ld,Gd)}function fd(Ld,Gd,jd){const Fd=jd??Ld;return`<${Fd} ${pd(Ld)}>${Gd}</${Fd}>`}function md(Ld,Gd){return qa.push([++nd,Ld,Gd]),nd}function vd(Ld){qa.length=0,nd=0,Ad(Ld)}function Ad(Ld){Ra={...Ra,...Ld},od=buildTheme(Ra),marked$1.use(markedAlert({styles:od}))}function Nd(Ld){return!Ra.countStatus||!Ld.words?"":`
<blockquote ${pd("blockquote")}>
<p ${pd("blockquote_p")}>字数 ${Ld==null?void 0:Ld.words},阅读大约需 ${Math.ceil(Ld==null?void 0:Ld.minutes)} 分钟</p>
</blockquote>
`}const Od=()=>qa.length?fd("h4","引用链接")+fd("footnotes",buildFootnoteArray(qa),"p"):"",kd={heading({tokens:Ld,depth:Gd}){const jd=this.parser.parseInline(Ld),Fd=`h${Gd}`;return fd(Fd,jd)},paragraph({tokens:Ld}){const Gd=this.parser.parseInline(Ld),jd=Gd.includes("<figure")&&Gd.includes("<img"),Fd=Gd.trim()==="";return jd||Fd?Gd:fd("p",Gd)},blockquote({tokens:Ld}){let Gd=this.parser.parse(Ld);return Gd=Gd.replace(/<p .*?>/g,`<p ${pd("blockquote_p")}>`),fd("blockquote",Gd)},code({text:Ld,lang:Gd=""}){if(Gd.startsWith("mermaid"))return clearTimeout(ld),ld=setTimeout(()=>{mermaid_default.run()},0),`<pre class="mermaid">${Ld}</pre>`;const jd=Gd.split(" ")[0],Fd=HighlightJS.getLanguage(jd)?jd:"plaintext";let Ud=HighlightJS.highlight(Ld,{language:Fd}).value;Ud=Ud.replace(/\t/g," "),Ud=Ud.replace(/\r\n/g,"<br/>").replace(/\n/g,"<br/>").replace(/(>[^<]+)|(^[^<]+)/g,Wd=>Wd.replace(/\s/g,"&nbsp;"));const qd=`<span class="mac-sign" style="padding: 10px 14px 0;" hidden>${macCodeSvg}</span>`,zd=`<code class="language-${Gd}" ${pd("code")}>${Ud}</code>`;return`<pre class="hljs code__pre" ${pd("code_pre")}>${qd}${zd}</pre>`},codespan({text:Ld}){const Gd=escapeHtml(Ld);return fd("codespan",Gd,"code")},listitem(Ld){const Gd=dd?`${ud+1}. `:"• ",jd=Ld.tokens.map(Fd=>this[Fd.type](Fd)).join("");return fd("listitem",`${Gd}${jd}`,"li")},list({ordered:Ld,items:Gd,start:jd=1}){const Fd=[];for(let qd=0;qd<Gd.length;qd++){dd=Ld,ud=Number(jd)+qd-1;const zd=Gd[qd];Fd.push(this.listitem(zd))}return fd(Ld?"ol":"ul",Fd.join(""))},image({href:Ld,title:Gd,text:jd}){const Fd=fd("figcaption",transform$1(Ra.legend,jd,Gd)),Ud=pd("figure"),qd=pd("image");return`<figure ${Ud}><img ${qd} src="${Ld}" title="${Gd}" alt="${jd}"/>${Fd}</figure>`},link({href:Ld,title:Gd,text:jd,tokens:Fd}){const Ud=this.parser.parseInline(Fd);if(Ld.startsWith("https://mp.weixin.qq.com"))return`<a href="${Ld}" title="${Gd||jd}" ${pd("wx_link")}>${Ud}</a>`;if(Ld===jd)return Ud;if(Ra.citeStatus){const qd=md(Gd||jd,Ld);return`<span ${pd("link")}>${Ud}<sup>[${qd}]</sup></span>`}return fd("link",Ud,"span")},strong({tokens:Ld}){return fd("strong",this.parser.parseInline(Ld))},em({tokens:Ld}){return fd("em",this.parser.parseInline(Ld),"span")},table({header:Ld,rows:Gd}){const jd=Ld.map(Ud=>this.tablecell(Ud)).join(""),Fd=Gd.map(Ud=>{const qd=Ud.map(zd=>this.tablecell(zd)).join("");return fd("tr",qd)}).join("");return`
<section style="padding:0 8px; max-width: 100%; overflow: auto">
<table class="preview-table">
<thead ${pd("thead")}>${jd}</thead>
<tbody>${Fd}</tbody>
</table>
</section>
`},tablecell(Ld){const Gd=this.parser.parseInline(Ld.tokens);return fd("td",Gd)},hr(Ld){return fd("hr","")}};return marked$1.use({renderer:kd}),{buildAddition,buildFootnotes:Od,setOptions:Ad,reset:vd,parseFrontMatterAndContent,buildReadingTime:Nd,createContainer(Ld){return fd("container",Ld,"section")}}}var codemirror={exports:{}},hasRequiredCodemirror;function requireCodemirror(){return hasRequiredCodemirror||(hasRequiredCodemirror=1,function(Ra,qa){(function(nd,od){Ra.exports=od()})(commonjsGlobal,function(){var nd=navigator.userAgent,od=navigator.platform,ld=/gecko\/\d/i.test(nd),ud=/MSIE \d/.test(nd),dd=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(nd),pd=/Edge\/(\d+)/.exec(nd),fd=ud||dd||pd,md=fd&&(ud?document.documentMode||6:+(pd||dd)[1]),vd=!pd&&/WebKit\//.test(nd),Ad=vd&&/Qt\/\d+\.\d+/.test(nd),Nd=!pd&&/Chrome\/(\d+)/.exec(nd),Od=Nd&&+Nd[1],kd=/Opera\//.test(nd),Ld=/Apple Computer/.test(navigator.vendor),Gd=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(nd),jd=/PhantomJS/.test(nd),Fd=Ld&&(/Mobile\/\w+/.test(nd)||navigator.maxTouchPoints>2),Ud=/Android/.test(nd),qd=Fd||Ud||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(nd),zd=Fd||/Mac/.test(od),Wd=/\bCrOS\b/.test(nd),Jd=/win/i.test(od),_f=kd&&nd.match(/Version\/(\d*\.\d*)/);_f&&(_f=Number(_f[1])),_f&&_f>=15&&(kd=!1,vd=!0);var Xd=zd&&(Ad||kd&&(_f==null||_f<12.11)),pf=ld||fd&&md>=9;function mf(Md){return new RegExp("(^|\\s)"+Md+"(?:$|\\s)\\s*")}var Sf=function(Md,Vd){var df=Md.className,Zd=mf(Vd).exec(df);if(Zd){var yf=df.slice(Zd.index+Zd[0].length);Md.className=df.slice(0,Zd.index)+(yf?Zd[1]+yf:"")}};function Tf(Md){for(var Vd=Md.childNodes.length;Vd>0;--Vd)Md.removeChild(Md.firstChild);return Md}function Af(Md,Vd){return Tf(Md).appendChild(Vd)}function Ef(Md,Vd,df,Zd){var yf=document.createElement(Md);if(df&&(yf.className=df),Zd&&(yf.style.cssText=Zd),typeof Vd=="string")yf.appendChild(document.createTextNode(Vd));else if(Vd)for(var Of=0;Of<Vd.length;++Of)yf.appendChild(Vd[Of]);return yf}function Nf(Md,Vd,df,Zd){var yf=Ef(Md,Vd,df,Zd);return yf.setAttribute("role","presentation"),yf}var If;document.createRange?If=function(Md,Vd,df,Zd){var yf=document.createRange();return yf.setEnd(Zd||Md,df),yf.setStart(Md,Vd),yf}:If=function(Md,Vd,df){var Zd=document.body.createTextRange();try{Zd.moveToElementText(Md.parentNode)}catch{return Zd}return Zd.collapse(!0),Zd.moveEnd("character",df),Zd.moveStart("character",Vd),Zd};function Gf(Md,Vd){if(Vd.nodeType==3&&(Vd=Vd.parentNode),Md.contains)return Md.contains(Vd);do if(Vd.nodeType==11&&(Vd=Vd.host),Vd==Md)return!0;while(Vd=Vd.parentNode)}function Qf(Md){var Vd=Md.ownerDocument||Md,df;try{df=Md.activeElement}catch{df=Vd.body||null}for(;df&&df.shadowRoot&&df.shadowRoot.activeElement;)df=df.shadowRoot.activeElement;return df}function Xf(Md,Vd){var df=Md.className;mf(Vd).test(df)||(Md.className+=(df?" ":"")+Vd)}function ph(Md,Vd){for(var df=Md.split(" "),Zd=0;Zd<df.length;Zd++)df[Zd]&&!mf(df[Zd]).test(Vd)&&(Vd+=" "+df[Zd]);return Vd}var qf=function(Md){Md.select()};Fd?qf=function(Md){Md.selectionStart=0,Md.selectionEnd=Md.value.length}:fd&&(qf=function(Md){try{Md.select()}catch{}});function Lf(Md){return Md.display.wrapper.ownerDocument}function Wf(Md){return Jf(Md.display.wrapper)}function Jf(Md){return Md.getRootNode?Md.getRootNode():Md.ownerDocument}function Kf(Md){return Lf(Md).defaultView}function Cf(Md){var Vd=Array.prototype.slice.call(arguments,1);return function(){return Md.apply(null,Vd)}}function xf(Md,Vd,df){Vd||(Vd={});for(var Zd in Md)Md.hasOwnProperty(Zd)&&(df!==!1||!Vd.hasOwnProperty(Zd))&&(Vd[Zd]=Md[Zd]);return Vd}function Yf(Md,Vd,df,Zd,yf){Vd==null&&(Vd=Md.search(/[^\s\u00a0]/),Vd==-1&&(Vd=Md.length));for(var Of=Zd||0,zf=yf||0;;){var ih=Md.indexOf(" ",Of);if(ih<0||ih>=Vd)return zf+(Vd-Of);zf+=ih-Of,zf+=df-zf%df,Of=ih+1}}var dh=function(){this.id=null,this.f=null,this.time=0,this.handler=Cf(this.onTimeout,this)};dh.prototype.onTimeout=function(Md){Md.id=0,Md.time<=+new Date?Md.f():setTimeout(Md.handler,Md.time-+new Date)},dh.prototype.set=function(Md,Vd){this.f=Vd;var df=+new Date+Md;(!this.id||df<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,Md),this.time=df)};function Rh(Md,Vd){for(var df=0;df<Md.length;++df)if(Md[df]==Vd)return df;return-1}var th=50,Bf={toString:function(){return"CodeMirror.Pass"}},Sh={scroll:!1},Fh={origin:"*mouse"},uh={origin:"+move"};function Pf(Md,Vd,df){for(var Zd=0,yf=0;;){var Of=Md.indexOf(" ",Zd);Of==-1&&(Of=Md.length);var zf=Of-Zd;if(Of==Md.length||yf+zf>=Vd)return Zd+Math.min(zf,Vd-yf);if(yf+=Of-Zd,yf+=df-yf%df,Zd=Of+1,yf>=Vd)return Zd}}var Uf=[""];function Zf(Md){for(;Uf.length<=Md;)Uf.push(mh(Uf)+" ");return Uf[Md]}function mh(Md){return Md[Md.length-1]}function Mh(Md,Vd){for(var df=[],Zd=0;Zd<Md.length;Zd++)df[Zd]=Vd(Md[Zd],Zd);return df}function _h(Md,Vd,df){for(var Zd=0,yf=df(Vd);Zd<Md.length&&df(Md[Zd])<=yf;)Zd++;Md.splice(Zd,0,Vd)}function pm(){}function Jh(Md,Vd){var df;return Object.create?df=Object.create(Md):(pm.prototype=Md,df=new pm),Vd&&xf(Vd,df),df}var Mm=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function Im(Md){return/\w/.test(Md)||Md>"€"&&(Md.toUpperCase()!=Md.toLowerCase()||Mm.test(Md))}function gm(Md,Vd){return Vd?Vd.source.indexOf("\\w")>-1&&Im(Md)?!0:Vd.test(Md):Im(Md)}function Lm(Md){for(var Vd in Md)if(Md.hasOwnProperty(Vd)&&Md[Vd])return!1;return!0}var Vm=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Th(Md){return Md.charCodeAt(0)>=768&&Vm.test(Md)}function Rf(Md,Vd,df){for(;(df<0?Vd>0:Vd<Md.length)&&Th(Md.charAt(Vd));)Vd+=df;return Vd}function wf(Md,Vd,df){for(var Zd=Vd>df?-1:1;;){if(Vd==df)return Vd;var yf=(Vd+df)/2,Of=Zd<0?Math.ceil(yf):Math.floor(yf);if(Of==Vd)return Md(Of)?Vd:df;Md(Of)?df=Of:Vd=Of+Zd}}function sh(Md,Vd,df,Zd){if(!Md)return Zd(Vd,df,"ltr",0);for(var yf=!1,Of=0;Of<Md.length;++Of){var zf=Md[Of];(zf.from<df&&zf.to>Vd||Vd==df&&zf.to==Vd)&&(Zd(Math.max(zf.from,Vd),Math.min(zf.to,df),zf.level==1?"rtl":"ltr",Of),yf=!0)}yf||Zd(Vd,df,"ltr")}var xh=null;function Wh(Md,Vd,df){var Zd;xh=null;for(var yf=0;yf<Md.length;++yf){var Of=Md[yf];if(Of.from<Vd&&Of.to>Vd)return yf;Of.to==Vd&&(Of.from!=Of.to&&df=="before"?Zd=yf:xh=yf),Of.from==Vd&&(Of.from!=Of.to&&df!="before"?Zd=yf:xh=yf)}return Zd??xh}var om=function(){var Md="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",Vd="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function df(Ah){return Ah<=247?Md.charAt(Ah):1424<=Ah&&Ah<=1524?"R":1536<=Ah&&Ah<=1785?Vd.charAt(Ah-1536):1774<=Ah&&Ah<=2220?"r":8192<=Ah&&Ah<=8203?"w":Ah==8204?"b":"L"}var Zd=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,yf=/[stwN]/,Of=/[LRr]/,zf=/[Lb1n]/,ih=/[1n]/;function yh(Ah,sm,mm){this.level=Ah,this.from=sm,this.to=mm}return function(Ah,sm){var mm=sm=="ltr"?"L":"R";if(Ah.length==0||sm=="ltr"&&!Zd.test(Ah))return!1;for(var $m=Ah.length,Om=[],Wm=0;Wm<$m;++Wm)Om.push(df(Ah.charCodeAt(Wm)));for(var Jm=0,og=mm;Jm<$m;++Jm){var Tg=Om[Jm];Tg=="m"?Om[Jm]=og:og=Tg}for(var Cg=0,Sg=mm;Cg<$m;++Cg){var Ig=Om[Cg];Ig=="1"&&Sg=="r"?Om[Cg]="n":Of.test(Ig)&&(Sg=Ig,Ig=="r"&&(Om[Cg]="R"))}for(var jg=1,Lg=Om[0];jg<$m-1;++jg){var i_=Om[jg];i_=="+"&&Lg=="1"&&Om[jg+1]=="1"?Om[jg]="1":i_==","&&Lg==Om[jg+1]&&(Lg=="1"||Lg=="n")&&(Om[jg]=Lg),Lg=i_}for(var w_=0;w_<$m;++w_){var z_=Om[w_];if(z_==",")Om[w_]="N";else if(z_=="%"){var P_=void 0;for(P_=w_+1;P_<$m&&Om[P_]=="%";++P_);for(var U_=w_&&Om[w_-1]=="!"||P_<$m&&Om[P_]=="1"?"1":"N",K_=w_;K_<P_;++K_)Om[K_]=U_;w_=P_-1}}for(var X_=0,Ab=mm;X_<$m;++X_){var yb=Om[X_];Ab=="L"&&yb=="1"?Om[X_]="L":Of.test(yb)&&(Ab=yb)}for(var rb=0;rb<$m;++rb)if(yf.test(Om[rb])){var Q_=void 0;for(Q_=rb+1;Q_<$m&&yf.test(Om[Q_]);++Q_);for(var H_=(rb?Om[rb-1]:mm)=="L",Rb=(Q_<$m?Om[Q_]:mm)=="L",pE=H_==Rb?H_?"L":"R":mm,Ay=rb;Ay<Q_;++Ay)Om[Ay]=pE;rb=Q_-1}for(var Sb=[],N0,fb=0;fb<$m;)if(zf.test(Om[fb])){var $T=fb;for(++fb;fb<$m&&zf.test(Om[fb]);++fb);Sb.push(new yh(0,$T,fb))}else{var D0=fb,Ny=Sb.length,Dy=sm=="rtl"?1:0;for(++fb;fb<$m&&Om[fb]!="L";++fb);for(var wb=D0;wb<fb;)if(ih.test(Om[wb])){D0<wb&&(Sb.splice(Ny,0,new yh(1,D0,wb)),Ny+=Dy);var fE=wb;for(++wb;wb<fb&&ih.test(Om[wb]);++wb);Sb.splice(Ny,0,new yh(2,fE,wb)),Ny+=Dy,D0=wb}else++wb;D0<fb&&Sb.splice(Ny,0,new yh(1,D0,fb))}return sm=="ltr"&&(Sb[0].level==1&&(N0=Ah.match(/^\s+/))&&(Sb[0].from=N0[0].length,Sb.unshift(new yh(0,0,N0[0].length))),mh(Sb).level==1&&(N0=Ah.match(/\s+$/))&&(mh(Sb).to-=N0[0].length,Sb.push(new yh(0,$m-N0[0].length,$m)))),sm=="rtl"?Sb.reverse():Sb}}();function Dm(Md,Vd){var df=Md.order;return df==null&&(df=Md.order=om(Md.text,Vd)),df}var zm=[],jm=function(Md,Vd,df){if(Md.addEventListener)Md.addEventListener(Vd,df,!1);else if(Md.attachEvent)Md.attachEvent("on"+Vd,df);else{var Zd=Md._handlers||(Md._handlers={});Zd[Vd]=(Zd[Vd]||zm).concat(df)}};function ig(Md,Vd){return Md._handlers&&Md._handlers[Vd]||zm}function Zm(Md,Vd,df){if(Md.removeEventListener)Md.removeEventListener(Vd,df,!1);else if(Md.detachEvent)Md.detachEvent("on"+Vd,df);else{var Zd=Md._handlers,yf=Zd&&Zd[Vd];if(yf){var Of=Rh(yf,df);Of>-1&&(Zd[Vd]=yf.slice(0,Of).concat(yf.slice(Of+1)))}}}function ug(Md,Vd){var df=ig(Md,Vd);if(df.length)for(var Zd=Array.prototype.slice.call(arguments,2),yf=0;yf<df.length;++yf)df[yf].apply(null,Zd)}function wg(Md,Vd,df){return typeof Vd=="string"&&(Vd={type:Vd,preventDefault:function(){this.defaultPrevented=!0}}),ug(Md,df||Vd.type,Md,Vd),a_(Vd)||Vd.codemirrorIgnore}function Kg(Md){var Vd=Md._handlers&&Md._handlers.cursorActivity;if(Vd)for(var df=Md.curOp.cursorActivityHandlers||(Md.curOp.cursorActivityHandlers=[]),Zd=0;Zd<Vd.length;++Zd)Rh(df,Vd[Zd])==-1&&df.push(Vd[Zd])}function Gg(Md,Vd){return ig(Md,Vd).length>0}function n_(Md){Md.prototype.on=function(Vd,df){jm(this,Vd,df)},Md.prototype.off=function(Vd,df){Zm(this,Vd,df)}}function Pg(Md){Md.preventDefault?Md.preventDefault():Md.returnValue=!1}function m_(Md){Md.stopPropagation?Md.stopPropagation():Md.cancelBubble=!0}function a_(Md){return Md.defaultPrevented!=null?Md.defaultPrevented:Md.returnValue==!1}function M_(Md){Pg(Md),m_(Md)}function B_(Md){return Md.target||Md.srcElement}function h_(Md){var Vd=Md.which;return Vd==null&&(Md.button&1?Vd=1:Md.button&2?Vd=3:Md.button&4&&(Vd=2)),zd&&Md.ctrlKey&&Vd==1&&(Vd=3),Vd}var y_=function(){if(fd&&md<9)return!1;var Md=Ef("div");return"draggable"in Md||"dragDrop"in Md}(),dg;function vb(Md){if(dg==null){var Vd=Ef("span","");Af(Md,Ef("span",[Vd,document.createTextNode("x")])),Md.firstChild.offsetHeight!=0&&(dg=Vd.offsetWidth<=1&&Vd.offsetHeight>2&&!(fd&&md<8))}var df=dg?Ef("span",""):Ef("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return df.setAttribute("cm-text",""),df}var kb;function Z_(Md){if(kb!=null)return kb;var Vd=Af(Md,document.createTextNode("AخA")),df=If(Vd,0,1).getBoundingClientRect(),Zd=If(Vd,1,2).getBoundingClientRect();return Tf(Md),!df||df.left==df.right?!1:kb=Zd.right-df.right<3}var jf=`
b`.split(/\n/).length!=3?function(Md){for(var Vd=0,df=[],Zd=Md.length;Vd<=Zd;){var yf=Md.indexOf(`
`,Vd);yf==-1&&(yf=Md.length);var Of=Md.slice(Vd,Md.charAt(yf-1)=="\r"?yf-1:yf),zf=Of.indexOf("\r");zf!=-1?(df.push(Of.slice(0,zf)),Vd+=zf+1):(df.push(Of),Vd=yf+1)}return df}:function(Md){return Md.split(/\r\n?|\n/)},Uh=window.getSelection?function(Md){try{return Md.selectionStart!=Md.selectionEnd}catch{return!1}}:function(Md){var Vd;try{Vd=Md.ownerDocument.selection.createRange()}catch{}return!Vd||Vd.parentElement()!=Md?!1:Vd.compareEndPoints("StartToEnd",Vd)!=0},wh=function(){var Md=Ef("div");return"oncopy"in Md?!0:(Md.setAttribute("oncopy","return;"),typeof Md.oncopy=="function")}(),Bh=null;function fm(Md){if(Bh!=null)return Bh;var Vd=Af(Md,Ef("span","x")),df=Vd.getBoundingClientRect(),Zd=If(Vd,0,1).getBoundingClientRect();return Bh=Math.abs(df.left-Zd.left)>1}var dm={},Tm={};function _m(Md,Vd){arguments.length>2&&(Vd.dependencies=Array.prototype.slice.call(arguments,2)),dm[Md]=Vd}function Zh(Md,Vd){Tm[Md]=Vd}function Gm(Md){if(typeof Md=="string"&&Tm.hasOwnProperty(Md))Md=Tm[Md];else if(Md&&typeof Md.name=="string"&&Tm.hasOwnProperty(Md.name)){var Vd=Tm[Md.name];typeof Vd=="string"&&(Vd={name:Vd}),Md=Jh(Vd,Md),Md.name=Vd.name}else{if(typeof Md=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(Md))return Gm("application/xml");if(typeof Md=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(Md))return Gm("application/json")}return typeof Md=="string"?{name:Md}:Md||{name:"null"}}function Km(Md,Vd){Vd=Gm(Vd);var df=dm[Vd.name];if(!df)return Km(Md,"text/plain");var Zd=df(Md,Vd);if(xg.hasOwnProperty(Vd.name)){var yf=xg[Vd.name];for(var Of in yf)yf.hasOwnProperty(Of)&&(Zd.hasOwnProperty(Of)&&(Zd["_"+Of]=Zd[Of]),Zd[Of]=yf[Of])}if(Zd.name=Vd.name,Vd.helperType&&(Zd.helperType=Vd.helperType),Vd.modeProps)for(var zf in Vd.modeProps)Zd[zf]=Vd.modeProps[zf];return Zd}var xg={};function eg(Md,Vd){var df=xg.hasOwnProperty(Md)?xg[Md]:xg[Md]={};xf(Vd,df)}function Ag(Md,Vd){if(Vd===!0)return Vd;if(Md.copyState)return Md.copyState(Vd);var df={};for(var Zd in Vd){var yf=Vd[Zd];yf instanceof Array&&(yf=yf.concat([])),df[Zd]=yf}return df}function d_(Md,Vd){for(var df;Md.innerMode&&(df=Md.innerMode(Vd),!(!df||df.mode==Md));)Vd=df.state,Md=df.mode;return df||{mode:Md,state:Vd}}function u_(Md,Vd,df){return Md.startState?Md.startState(Vd,df):!0}var Xg=function(Md,Vd,df){this.pos=this.start=0,this.string=Md,this.tabSize=Vd||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=df};Xg.prototype.eol=function(){return this.pos>=this.string.length},Xg.prototype.sol=function(){return this.pos==this.lineStart},Xg.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Xg.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Xg.prototype.eat=function(Md){var Vd=this.string.charAt(this.pos),df;if(typeof Md=="string"?df=Vd==Md:df=Vd&&(Md.test?Md.test(Vd):Md(Vd)),df)return++this.pos,Vd},Xg.prototype.eatWhile=function(Md){for(var Vd=this.pos;this.eat(Md););return this.pos>Vd},Xg.prototype.eatSpace=function(){for(var Md=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>Md},Xg.prototype.skipToEnd=function(){this.pos=this.string.length},Xg.prototype.skipTo=function(Md){var Vd=this.string.indexOf(Md,this.pos);if(Vd>-1)return this.pos=Vd,!0},Xg.prototype.backUp=function(Md){this.pos-=Md},Xg.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Yf(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Yf(this.string,this.lineStart,this.tabSize):0)},Xg.prototype.indentation=function(){return Yf(this.string,null,this.tabSize)-(this.lineStart?Yf(this.string,this.lineStart,this.tabSize):0)},Xg.prototype.match=function(Md,Vd,df){if(typeof Md=="string"){var Zd=function(zf){return df?zf.toLowerCase():zf},yf=this.string.substr(this.pos,Md.length);if(Zd(yf)==Zd(Md))return Vd!==!1&&(this.pos+=Md.length),!0}else{var Of=this.string.slice(this.pos).match(Md);return Of&&Of.index>0?null:(Of&&Vd!==!1&&(this.pos+=Of[0].length),Of)}},Xg.prototype.current=function(){return this.string.slice(this.start,this.pos)},Xg.prototype.hideFirstChars=function(Md,Vd){this.lineStart+=Md;try{return Vd()}finally{this.lineStart-=Md}},Xg.prototype.lookAhead=function(Md){var Vd=this.lineOracle;return Vd&&Vd.lookAhead(Md)},Xg.prototype.baseToken=function(){var Md=this.lineOracle;return Md&&Md.baseToken(this.pos)};function lg(Md,Vd){if(Vd-=Md.first,Vd<0||Vd>=Md.size)throw new Error("There is no line "+(Vd+Md.first)+" in the document.");for(var df=Md;!df.lines;)for(var Zd=0;;++Zd){var yf=df.children[Zd],Of=yf.chunkSize();if(Vd<Of){df=yf;break}Vd-=Of}return df.lines[Vd]}function N_(Md,Vd,df){var Zd=[],yf=Vd.line;return Md.iter(Vd.line,df.line+1,function(Of){var zf=Of.text;yf==df.line&&(zf=zf.slice(0,df.ch)),yf==Vd.line&&(zf=zf.slice(Vd.ch)),Zd.push(zf),++yf}),Zd}function Zg(Md,Vd,df){var Zd=[];return Md.iter(Vd,df,function(yf){Zd.push(yf.text)}),Zd}function Ug(Md,Vd){var df=Vd-Md.height;if(df)for(var Zd=Md;Zd;Zd=Zd.parent)Zd.height+=df}function Ch(Md){if(Md.parent==null)return null;for(var Vd=Md.parent,df=Rh(Vd.lines,Md),Zd=Vd.parent;Zd;Vd=Zd,Zd=Zd.parent)for(var yf=0;Zd.children[yf]!=Vd;++yf)df+=Zd.children[yf].chunkSize();return df+Vd.first}function um(Md,Vd){var df=Md.first;e:do{for(var Zd=0;Zd<Md.children.length;++Zd){var yf=Md.children[Zd],Of=yf.height;if(Vd<Of){Md=yf;continue e}Vd-=Of,df+=yf.chunkSize()}return df}while(!Md.lines);for(var zf=0;zf<Md.lines.length;++zf){var ih=Md.lines[zf],yh=ih.height;if(Vd<yh)break;Vd-=yh}return df+zf}function Ym(Md,Vd){return Vd>=Md.first&&Vd<Md.first+Md.size}function ng(Md,Vd){return String(Md.lineNumberFormatter(Vd+Md.firstLineNumber))}function Um(Md,Vd,df){if(df===void 0&&(df=null),!(this instanceof Um))return new Um(Md,Vd,df);this.line=Md,this.ch=Vd,this.sticky=df}function Eg(Md,Vd){return Md.line-Vd.line||Md.ch-Vd.ch}function r_(Md,Vd){return Md.sticky==Vd.sticky&&Eg(Md,Vd)==0}function R_(Md){return Um(Md.line,Md.ch)}function G_(Md,Vd){return Eg(Md,Vd)<0?Vd:Md}function Tb(Md,Vd){return Eg(Md,Vd)<0?Md:Vd}function Gb(Md,Vd){return Math.max(Md.first,Math.min(Vd,Md.first+Md.size-1))}function qg(Md,Vd){if(Vd.line<Md.first)return Um(Md.first,0);var df=Md.first+Md.size-1;return Vd.line>df?Um(df,lg(Md,df).text.length):xb(Vd,lg(Md,Vd.line).text.length)}function xb(Md,Vd){var df=Md.ch;return df==null||df>Vd?Um(Md.line,Vd):df<0?Um(Md.line,0):Md}function O_(Md,Vd){for(var df=[],Zd=0;Zd<Vd.length;Zd++)df[Zd]=qg(Md,Vd[Zd]);return df}var ib=function(Md,Vd){this.state=Md,this.lookAhead=Vd},W_=function(Md,Vd,df,Zd){this.state=Vd,this.doc=Md,this.line=df,this.maxLookAhead=Zd||0,this.baseTokens=null,this.baseTokenPos=1};W_.prototype.lookAhead=function(Md){var Vd=this.doc.getLine(this.line+Md);return Vd!=null&&Md>this.maxLookAhead&&(this.maxLookAhead=Md),Vd},W_.prototype.baseToken=function(Md){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=Md;)this.baseTokenPos+=2;var Vd=this.baseTokens[this.baseTokenPos+1];return{type:Vd&&Vd.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-Md}},W_.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},W_.fromSaved=function(Md,Vd,df){return Vd instanceof ib?new W_(Md,Ag(Md.mode,Vd.state),df,Vd.lookAhead):new W_(Md,Ag(Md.mode,Vd),df)},W_.prototype.save=function(Md){var Vd=Md!==!1?Ag(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ib(Vd,this.maxLookAhead):Vd};function qb(Md,Vd,df,Zd){var yf=[Md.state.modeGen],Of={};Ry(Md,Vd.text,Md.doc.mode,df,function(Ah,sm){return yf.push(Ah,sm)},Of,Zd);for(var zf=df.state,ih=function(Ah){df.baseTokens=yf;var sm=Md.state.overlays[Ah],mm=1,$m=0;df.state=!0,Ry(Md,Vd.text,sm.mode,df,function(Om,Wm){for(var Jm=mm;$m<Om;){var og=yf[mm];og>Om&&yf.splice(mm,1,Om,yf[mm+1],og),mm+=2,$m=Math.min(Om,og)}if(Wm)if(sm.opaque)yf.splice(Jm,mm-Jm,Om,"overlay "+Wm),mm=Jm+2;else for(;Jm<mm;Jm+=2){var Tg=yf[Jm+1];yf[Jm+1]=(Tg?Tg+" ":"")+"overlay "+Wm}},Of),df.state=zf,df.baseTokens=null,df.baseTokenPos=1},yh=0;yh<Md.state.overlays.length;++yh)ih(yh);return{styles:yf,classes:Of.bgClass||Of.textClass?Of:null}}function y0(Md,Vd,df){if(!Vd.styles||Vd.styles[0]!=Md.state.modeGen){var Zd=sb(Md,Ch(Vd)),yf=Vd.text.length>Md.options.maxHighlightLength&&Ag(Md.doc.mode,Zd.state),Of=qb(Md,Vd,Zd);yf&&(Zd.state=yf),Vd.stateAfter=Zd.save(!yf),Vd.styles=Of.styles,Of.classes?Vd.styleClasses=Of.classes:Vd.styleClasses&&(Vd.styleClasses=null),df===Md.doc.highlightFrontier&&(Md.doc.modeFrontier=Math.max(Md.doc.modeFrontier,++Md.doc.highlightFrontier))}return Vd.styles}function sb(Md,Vd,df){var Zd=Md.doc,yf=Md.display;if(!Zd.mode.startState)return new W_(Zd,!0,Vd);var Of=Av(Md,Vd,df),zf=Of>Zd.first&&lg(Zd,Of-1).stateAfter,ih=zf?W_.fromSaved(Zd,zf,Of):new W_(Zd,u_(Zd.mode),Of);return Zd.iter(Of,Vd,function(yh){Vb(Md,yh.text,ih);var Ah=ih.line;yh.stateAfter=Ah==Vd-1||Ah%5==0||Ah>=yf.viewFrom&&Ah<yf.viewTo?ih.save():null,ih.nextLine()}),df&&(Zd.modeFrontier=ih.line),ih}function Vb(Md,Vd,df,Zd){var yf=Md.doc.mode,Of=new Xg(Vd,Md.options.tabSize,df);for(Of.start=Of.pos=Zd||0,Vd==""&&Iy(yf,df.state);!Of.eol();)V0(yf,Of,df.state),Of.start=Of.pos}function Iy(Md,Vd){if(Md.blankLine)return Md.blankLine(Vd);if(Md.innerMode){var df=d_(Md,Vd);if(df.mode.blankLine)return df.mode.blankLine(df.state)}}function V0(Md,Vd,df,Zd){for(var yf=0;yf<10;yf++){Zd&&(Zd[0]=d_(Md,df).mode);var Of=Md.token(Vd,df);if(Vd.pos>Vd.start)return Of}throw new Error("Mode "+Md.name+" failed to advance stream.")}var Bg=function(Md,Vd,df){this.start=Md.start,this.end=Md.pos,this.string=Md.current(),this.type=Vd||null,this.state=df};function z0(Md,Vd,df,Zd){var yf=Md.doc,Of=yf.mode,zf;Vd=qg(yf,Vd);var ih=lg(yf,Vd.line),yh=sb(Md,Vd.line,df),Ah=new Xg(ih.text,Md.options.tabSize,yh),sm;for(Zd&&(sm=[]);(Zd||Ah.pos<Vd.ch)&&!Ah.eol();)Ah.start=Ah.pos,zf=V0(Of,Ah,yh.state),Zd&&sm.push(new Bg(Ah,zf,Ag(yf.mode,yh.state)));return Zd?sm:new Bg(Ah,zf,yh.state)}function O0(Md,Vd){if(Md)for(;;){var df=Md.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!df)break;Md=Md.slice(0,df.index)+Md.slice(df.index+df[0].length);var Zd=df[1]?"bgClass":"textClass";Vd[Zd]==null?Vd[Zd]=df[2]:new RegExp("(?:^|\\s)"+df[2]+"(?:$|\\s)").test(Vd[Zd])||(Vd[Zd]+=" "+df[2])}return Md}function Ry(Md,Vd,df,Zd,yf,Of,zf){var ih=df.flattenSpans;ih==null&&(ih=Md.options.flattenSpans);var yh=0,Ah=null,sm=new Xg(Vd,Md.options.tabSize,Zd),mm,$m=Md.options.addModeClass&&[null];for(Vd==""&&O0(Iy(df,Zd.state),Of);!sm.eol();){if(sm.pos>Md.options.maxHighlightLength?(ih=!1,zf&&Vb(Md,Vd,Zd,sm.pos),sm.pos=Vd.length,mm=null):mm=O0(V0(df,sm,Zd.state,$m),Of),$m){var Om=$m[0].name;Om&&(mm="m-"+(mm?Om+" "+mm:Om))}if(!ih||Ah!=mm){for(;yh<sm.start;)yh=Math.min(sm.start,yh+5e3),yf(yh,Ah);Ah=mm}sm.start=sm.pos}for(;yh<sm.pos;){var Wm=Math.min(sm.pos,yh+5e3);yf(Wm,Ah),yh=Wm}}function Av(Md,Vd,df){for(var Zd,yf,Of=Md.doc,zf=df?-1:Vd-(Md.doc.mode.innerMode?1e3:100),ih=Vd;ih>zf;--ih){if(ih<=Of.first)return Of.first;var yh=lg(Of,ih-1),Ah=yh.stateAfter;if(Ah&&(!df||ih+(Ah instanceof ib?Ah.lookAhead:0)<=Of.modeFrontier))return ih;var sm=Yf(yh.text,null,Md.options.tabSize);(yf==null||Zd>sm)&&(yf=ih-1,Zd=sm)}return yf}function wv(Md,Vd){if(Md.modeFrontier=Math.min(Md.modeFrontier,Vd),!(Md.highlightFrontier<Vd-10)){for(var df=Md.first,Zd=Vd-1;Zd>df;Zd--){var yf=lg(Md,Zd).stateAfter;if(yf&&(!(yf instanceof ib)||Zd+yf.lookAhead<Vd)){df=Zd+1;break}}Md.highlightFrontier=Math.min(Md.highlightFrontier,df)}}var k0=!1,Y_=!1;function Mb(){k0=!0}function r0(){Y_=!0}function M0(Md,Vd,df){this.marker=Md,this.from=Vd,this.to=df}function W0(Md,Vd){if(Md)for(var df=0;df<Md.length;++df){var Zd=Md[df];if(Zd.marker==Vd)return Zd}}function JE(Md,Vd){for(var df,Zd=0;Zd<Md.length;++Zd)Md[Zd]!=Vd&&(df||(df=[])).push(Md[Zd]);return df}function mE(Md,Vd,df){var Zd=df&&window.WeakSet&&(df.markedSpans||(df.markedSpans=new WeakSet));Zd&&Md.markedSpans&&Zd.has(Md.markedSpans)?Md.markedSpans.push(Vd):(Md.markedSpans=Md.markedSpans?Md.markedSpans.concat([Vd]):[Vd],Zd&&Zd.add(Md.markedSpans)),Vd.marker.attachLine(Md)}function ZE(Md,Vd,df){var Zd;if(Md)for(var yf=0;yf<Md.length;++yf){var Of=Md[yf],zf=Of.marker,ih=Of.from==null||(zf.inclusiveLeft?Of.from<=Vd:Of.from<Vd);if(ih||Of.from==Vd&&zf.type=="bookmark"&&(!df||!Of.marker.insertLeft)){var yh=Of.to==null||(zf.inclusiveRight?Of.to>=Vd:Of.to>Vd);(Zd||(Zd=[])).push(new M0(zf,Of.from,yh?null:Of.to))}}return Zd}function XS(Md,Vd,df){var Zd;if(Md)for(var yf=0;yf<Md.length;++yf){var Of=Md[yf],zf=Of.marker,ih=Of.to==null||(zf.inclusiveRight?Of.to>=Vd:Of.to>Vd);if(ih||Of.from==Vd&&zf.type=="bookmark"&&(!df||Of.marker.insertLeft)){var yh=Of.from==null||(zf.inclusiveLeft?Of.from<=Vd:Of.from<Vd);(Zd||(Zd=[])).push(new M0(zf,yh?null:Of.from-Vd,Of.to==null?null:Of.to-Vd))}}return Zd}function gE(Md,Vd){if(Vd.full)return null;var df=Ym(Md,Vd.from.line)&&lg(Md,Vd.from.line).markedSpans,Zd=Ym(Md,Vd.to.line)&&lg(Md,Vd.to.line).markedSpans;if(!df&&!Zd)return null;var yf=Vd.from.ch,Of=Vd.to.ch,zf=Eg(Vd.from,Vd.to)==0,ih=ZE(df,yf,zf),yh=XS(Zd,Of,zf),Ah=Vd.text.length==1,sm=mh(Vd.text).length+(Ah?yf:0);if(ih)for(var mm=0;mm<ih.length;++mm){var $m=ih[mm];if($m.to==null){var Om=W0(yh,$m.marker);Om?Ah&&($m.to=Om.to==null?null:Om.to+sm):$m.to=yf}}if(yh)for(var Wm=0;Wm<yh.length;++Wm){var Jm=yh[Wm];if(Jm.to!=null&&(Jm.to+=sm),Jm.from==null){var og=W0(ih,Jm.marker);og||(Jm.from=sm,Ah&&(ih||(ih=[])).push(Jm))}else Jm.from+=sm,Ah&&(ih||(ih=[])).push(Jm)}ih&&(ih=eS(ih)),yh&&yh!=ih&&(yh=eS(yh));var Tg=[ih];if(!Ah){var Cg=Vd.text.length-2,Sg;if(Cg>0&&ih)for(var Ig=0;Ig<ih.length;++Ig)ih[Ig].to==null&&(Sg||(Sg=[])).push(new M0(ih[Ig].marker,null,null));for(var jg=0;jg<Cg;++jg)Tg.push(Sg);Tg.push(yh)}return Tg}function eS(Md){for(var Vd=0;Vd<Md.length;++Vd){var df=Md[Vd];df.from!=null&&df.from==df.to&&df.marker.clearWhenEmpty!==!1&&Md.splice(Vd--,1)}return Md.length?Md:null}function tS(Md,Vd,df){var Zd=null;if(Md.iter(Vd.line,df.line+1,function(Om){if(Om.markedSpans)for(var Wm=0;Wm<Om.markedSpans.length;++Wm){var Jm=Om.markedSpans[Wm].marker;Jm.readOnly&&(!Zd||Rh(Zd,Jm)==-1)&&(Zd||(Zd=[])).push(Jm)}}),!Zd)return null;for(var yf=[{from:Vd,to:df}],Of=0;Of<Zd.length;++Of)for(var zf=Zd[Of],ih=zf.find(0),yh=0;yh<yf.length;++yh){var Ah=yf[yh];if(!(Eg(Ah.to,ih.from)<0||Eg(Ah.from,ih.to)>0)){var sm=[yh,1],mm=Eg(Ah.from,ih.from),$m=Eg(Ah.to,ih.to);(mm<0||!zf.inclusiveLeft&&!mm)&&sm.push({from:Ah.from,to:ih.from}),($m>0||!zf.inclusiveRight&&!$m)&&sm.push({from:ih.to,to:Ah.to}),yf.splice.apply(yf,sm),yh+=sm.length-3}}return yf}function _g(Md){var Vd=Md.markedSpans;if(Vd){for(var df=0;df<Vd.length;++df)Vd[df].marker.detachLine(Md);Md.markedSpans=null}}function A_(Md,Vd){if(Vd){for(var df=0;df<Vd.length;++df)Vd[df].marker.attachLine(Md);Md.markedSpans=Vd}}function Oy(Md){return Md.inclusiveLeft?-1:0}function Nv(Md){return Md.inclusiveRight?1:0}function yE(Md,Vd){var df=Md.lines.length-Vd.lines.length;if(df!=0)return df;var Zd=Md.find(),yf=Vd.find(),Of=Eg(Zd.from,yf.from)||Oy(Md)-Oy(Vd);if(Of)return-Of;var zf=Eg(Zd.to,yf.to)||Nv(Md)-Nv(Vd);return zf||Vd.id-Md.id}function rS(Md,Vd){var df=Y_&&Md.markedSpans,Zd;if(df)for(var yf=void 0,Of=0;Of<df.length;++Of)yf=df[Of],yf.marker.collapsed&&(Vd?yf.from:yf.to)==null&&(!Zd||yE(Zd,yf.marker)<0)&&(Zd=yf.marker);return Zd}function nS(Md){return rS(Md,!0)}function $y(Md){return rS(Md,!1)}function iS(Md,Vd){var df=Y_&&Md.markedSpans,Zd;if(df)for(var yf=0;yf<df.length;++yf){var Of=df[yf];Of.marker.collapsed&&(Of.from==null||Of.from<Vd)&&(Of.to==null||Of.to>Vd)&&(!Zd||yE(Zd,Of.marker)<0)&&(Zd=Of.marker)}return Zd}function vE(Md,Vd,df,Zd,yf){var Of=lg(Md,Vd),zf=Y_&&Of.markedSpans;if(zf)for(var ih=0;ih<zf.length;++ih){var yh=zf[ih];if(yh.marker.collapsed){var Ah=yh.marker.find(0),sm=Eg(Ah.from,df)||Oy(yh.marker)-Oy(yf),mm=Eg(Ah.to,Zd)||Nv(yh.marker)-Nv(yf);if(!(sm>=0&&mm<=0||sm<=0&&mm>=0)&&(sm<=0&&(yh.marker.inclusiveRight&&yf.inclusiveLeft?Eg(Ah.to,df)>=0:Eg(Ah.to,df)>0)||sm>=0&&(yh.marker.inclusiveRight&&yf.inclusiveLeft?Eg(Ah.from,Zd)<=0:Eg(Ah.from,Zd)<0)))return!0}}}function x_(Md){for(var Vd;Vd=nS(Md);)Md=Vd.find(-1,!0).line;return Md}function SE(Md){for(var Vd;Vd=$y(Md);)Md=Vd.find(1,!0).line;return Md}function $0(Md){for(var Vd,df;Vd=$y(Md);)Md=Vd.find(1,!0).line,(df||(df=[])).push(Md);return df}function $_(Md,Vd){var df=lg(Md,Vd),Zd=x_(df);return df==Zd?Vd:Ch(Zd)}function zb(Md,Vd){if(Vd>Md.lastLine())return Vd;var df=lg(Md,Vd),Zd;if(!q_(Md,df))return Vd;for(;Zd=$y(df);)df=Zd.find(1,!0).line;return Ch(df)+1}function q_(Md,Vd){var df=Y_&&Vd.markedSpans;if(df){for(var Zd=void 0,yf=0;yf<df.length;++yf)if(Zd=df[yf],!!Zd.marker.collapsed){if(Zd.from==null)return!0;if(!Zd.marker.widgetNode&&Zd.from==0&&Zd.marker.inclusiveLeft&&Py(Md,Vd,Zd))return!0}}}function Py(Md,Vd,df){if(df.to==null){var Zd=df.marker.find(1,!0);return Py(Md,Zd.line,W0(Zd.line.markedSpans,df.marker))}if(df.marker.inclusiveRight&&df.to==Vd.text.length)return!0;for(var yf=void 0,Of=0;Of<Vd.markedSpans.length;++Of)if(yf=Vd.markedSpans[Of],yf.marker.collapsed&&!yf.marker.widgetNode&&yf.from==df.to&&(yf.to==null||yf.to!=df.from)&&(yf.marker.inclusiveLeft||df.marker.inclusiveRight)&&Py(Md,Vd,yf))return!0}function Wb(Md){Md=x_(Md);for(var Vd=0,df=Md.parent,Zd=0;Zd<df.lines.length;++Zd){var yf=df.lines[Zd];if(yf==Md)break;Vd+=yf.height}for(var Of=df.parent;Of;df=Of,Of=df.parent)for(var zf=0;zf<Of.children.length;++zf){var ih=Of.children[zf];if(ih==df)break;Vd+=ih.height}return Vd}function Y0(Md){if(Md.height==0)return 0;for(var Vd=Md.text.length,df,Zd=Md;df=nS(Zd);){var yf=df.find(0,!0);Zd=yf.from.line,Vd+=yf.from.ch-yf.to.ch}for(Zd=Md;df=$y(Zd);){var Of=df.find(0,!0);Vd-=Zd.text.length-Of.from.ch,Zd=Of.to.line,Vd+=Zd.text.length-Of.to.ch}return Vd}function Ov(Md){var Vd=Md.display,df=Md.doc;Vd.maxLine=lg(df,df.first),Vd.maxLineLength=Y0(Vd.maxLine),Vd.maxLineChanged=!0,df.iter(function(Zd){var yf=Y0(Zd);yf>Vd.maxLineLength&&(Vd.maxLineLength=yf,Vd.maxLine=Zd)})}var n0=function(Md,Vd,df){this.text=Md,A_(this,Vd),this.height=df?df(this):1};n0.prototype.lineNo=function(){return Ch(this)},n_(n0);function sS(Md,Vd,df,Zd){Md.text=Vd,Md.stateAfter&&(Md.stateAfter=null),Md.styles&&(Md.styles=null),Md.order!=null&&(Md.order=null),_g(Md),A_(Md,df);var yf=Zd?Zd(Md):1;yf!=Md.height&&Ug(Md,yf)}function Db(Md){Md.parent=null,_g(Md)}var TE={},$b={};function oS(Md,Vd){if(!Md||/^\s*$/.test(Md))return null;var df=Vd.addModeClass?$b:TE;return df[Md]||(df[Md]=Md.replace(/\S+/g,"cm-$&"))}function Ly(Md,Vd){var df=Nf("span",null,null,vd?"padding-right: .1px":null),Zd={pre:Nf("pre",[df],"CodeMirror-line"),content:df,col:0,pos:0,cm:Md,trailingSpace:!1,splitSpaces:Md.getOption("lineWrapping")};Vd.measure={};for(var yf=0;yf<=(Vd.rest?Vd.rest.length:0);yf++){var Of=yf?Vd.rest[yf-1]:Vd.line,zf=void 0;Zd.pos=0,Zd.addToken=kv,Z_(Md.display.measure)&&(zf=Dm(Of,Md.doc.direction))&&(Zd.addToken=k_(Zd.addToken,zf)),Zd.map=[];var ih=Vd!=Md.display.externalMeasured&&Ch(Of);xE(Of,Zd,y0(Md,Of,ih)),Of.styleClasses&&(Of.styleClasses.bgClass&&(Zd.bgClass=ph(Of.styleClasses.bgClass,Zd.bgClass||"")),Of.styleClasses.textClass&&(Zd.textClass=ph(Of.styleClasses.textClass,Zd.textClass||""))),Zd.map.length==0&&Zd.map.push(0,0,Zd.content.appendChild(vb(Md.display.measure))),yf==0?(Vd.measure.map=Zd.map,Vd.measure.cache={}):((Vd.measure.maps||(Vd.measure.maps=[])).push(Zd.map),(Vd.measure.caches||(Vd.measure.caches=[])).push({}))}if(vd){var yh=Zd.content.lastChild;(/\bcm-tab\b/.test(yh.className)||yh.querySelector&&yh.querySelector(".cm-tab"))&&(Zd.content.className="cm-tab-wrap-hack")}return ug(Md,"renderLine",Md,Vd.line,Zd.pre),Zd.pre.className&&(Zd.textClass=ph(Zd.pre.className,Zd.textClass||"")),Zd}function v0(Md){var Vd=Ef("span","•","cm-invalidchar");return Vd.title="\\u"+Md.charCodeAt(0).toString(16),Vd.setAttribute("aria-label",Vd.title),Vd}function kv(Md,Vd,df,Zd,yf,Of,zf){if(Vd){var ih=Md.splitSpaces?Mv(Vd,Md.trailingSpace):Vd,yh=Md.cm.state.specialChars,Ah=!1,sm;if(!yh.test(Vd))Md.col+=Vd.length,sm=document.createTextNode(ih),Md.map.push(Md.pos,Md.pos+Vd.length,sm),fd&&md<9&&(Ah=!0),Md.pos+=Vd.length;else{sm=document.createDocumentFragment();for(var mm=0;;){yh.lastIndex=mm;var $m=yh.exec(Vd),Om=$m?$m.index-mm:Vd.length-mm;if(Om){var Wm=document.createTextNode(ih.slice(mm,mm+Om));fd&&md<9?sm.appendChild(Ef("span",[Wm])):sm.appendChild(Wm),Md.map.push(Md.pos,Md.pos+Om,Wm),Md.col+=Om,Md.pos+=Om}if(!$m)break;mm+=Om+1;var Jm=void 0;if($m[0]==" "){var og=Md.cm.options.tabSize,Tg=og-Md.col%og;Jm=sm.appendChild(Ef("span",Zf(Tg),"cm-tab")),Jm.setAttribute("role","presentation"),Jm.setAttribute("cm-text"," "),Md.col+=Tg}else $m[0]=="\r"||$m[0]==`
`?(Jm=sm.appendChild(Ef("span",$m[0]=="\r"?"␍":"␤","cm-invalidchar")),Jm.setAttribute("cm-text",$m[0]),Md.col+=1):(Jm=Md.cm.options.specialCharPlaceholder($m[0]),Jm.setAttribute("cm-text",$m[0]),fd&&md<9?sm.appendChild(Ef("span",[Jm])):sm.appendChild(Jm),Md.col+=1);Md.map.push(Md.pos,Md.pos+1,Jm),Md.pos++}}if(Md.trailingSpace=ih.charCodeAt(Vd.length-1)==32,df||Zd||yf||Ah||Of||zf){var Cg=df||"";Zd&&(Cg+=Zd),yf&&(Cg+=yf);var Sg=Ef("span",[sm],Cg,Of);if(zf)for(var Ig in zf)zf.hasOwnProperty(Ig)&&Ig!="style"&&Ig!="class"&&Sg.setAttribute(Ig,zf[Ig]);return Md.content.appendChild(Sg)}Md.content.appendChild(sm)}}function Mv(Md,Vd){if(Md.length>1&&!/ /.test(Md))return Md;for(var df=Vd,Zd="",yf=0;yf<Md.length;yf++){var Of=Md.charAt(yf);Of==" "&&df&&(yf==Md.length-1||Md.charCodeAt(yf+1)==32)&&(Of=" "),Zd+=Of,df=Of==" "}return Zd}function k_(Md,Vd){return function(df,Zd,yf,Of,zf,ih,yh){yf=yf?yf+" cm-force-border":"cm-force-border";for(var Ah=df.pos,sm=Ah+Zd.length;;){for(var mm=void 0,$m=0;$m<Vd.length&&(mm=Vd[$m],!(mm.to>Ah&&mm.from<=Ah));$m++);if(mm.to>=sm)return Md(df,Zd,yf,Of,zf,ih,yh);Md(df,Zd.slice(0,mm.to-Ah),yf,Of,null,ih,yh),Of=null,Zd=Zd.slice(mm.to-Ah),Ah=mm.to}}}function i0(Md,Vd,df,Zd){var yf=!Zd&&df.widgetNode;yf&&Md.map.push(Md.pos,Md.pos+Vd,yf),!Zd&&Md.cm.display.input.needsContentAttribute&&(yf||(yf=Md.content.appendChild(document.createElement("span"))),yf.setAttribute("cm-marker",df.id)),yf&&(Md.cm.display.input.setUneditable(yf),Md.content.appendChild(yf)),Md.pos+=Vd,Md.trailingSpace=!1}function xE(Md,Vd,df){var Zd=Md.markedSpans,yf=Md.text,Of=0;if(!Zd){for(var zf=1;zf<df.length;zf+=2)Vd.addToken(Vd,yf.slice(Of,Of=df[zf]),oS(df[zf+1],Vd.cm.options));return}for(var ih=yf.length,yh=0,Ah=1,sm="",mm,$m,Om=0,Wm,Jm,og,Tg,Cg;;){if(Om==yh){Wm=Jm=og=$m="",Cg=null,Tg=null,Om=1/0;for(var Sg=[],Ig=void 0,jg=0;jg<Zd.length;++jg){var Lg=Zd[jg],i_=Lg.marker;if(i_.type=="bookmark"&&Lg.from==yh&&i_.widgetNode)Sg.push(i_);else if(Lg.from<=yh&&(Lg.to==null||Lg.to>yh||i_.collapsed&&Lg.to==yh&&Lg.from==yh)){if(Lg.to!=null&&Lg.to!=yh&&Om>Lg.to&&(Om=Lg.to,Jm=""),i_.className&&(Wm+=" "+i_.className),i_.css&&($m=($m?$m+";":"")+i_.css),i_.startStyle&&Lg.from==yh&&(og+=" "+i_.startStyle),i_.endStyle&&Lg.to==Om&&(Ig||(Ig=[])).push(i_.endStyle,Lg.to),i_.title&&((Cg||(Cg={})).title=i_.title),i_.attributes)for(var w_ in i_.attributes)(Cg||(Cg={}))[w_]=i_.attributes[w_];i_.collapsed&&(!Tg||yE(Tg.marker,i_)<0)&&(Tg=Lg)}else Lg.from>yh&&Om>Lg.from&&(Om=Lg.from)}if(Ig)for(var z_=0;z_<Ig.length;z_+=2)Ig[z_+1]==Om&&(Jm+=" "+Ig[z_]);if(!Tg||Tg.from==yh)for(var P_=0;P_<Sg.length;++P_)i0(Vd,0,Sg[P_]);if(Tg&&(Tg.from||0)==yh){if(i0(Vd,(Tg.to==null?ih+1:Tg.to)-yh,Tg.marker,Tg.from==null),Tg.to==null)return;Tg.to==yh&&(Tg=!1)}}if(yh>=ih)break;for(var U_=Math.min(ih,Om);;){if(sm){var K_=yh+sm.length;if(!Tg){var X_=K_>U_?sm.slice(0,U_-yh):sm;Vd.addToken(Vd,X_,mm?mm+Wm:Wm,og,yh+X_.length==Om?Jm:"",$m,Cg)}if(K_>=U_){sm=sm.slice(U_-yh),yh=U_;break}yh=K_,og=""}sm=yf.slice(Of,Of=df[Ah++]),mm=oS(df[Ah++],Vd.cm.options)}}}function lS(Md,Vd,df){this.line=Vd,this.rest=$0(Vd),this.size=this.rest?Ch(mh(this.rest))-df+1:1,this.node=this.text=null,this.hidden=q_(Md,Vd)}function K0(Md,Vd,df){for(var Zd=[],yf,Of=Vd;Of<df;Of=yf){var zf=new lS(Md.doc,lg(Md.doc,Of),Of);yf=Of+zf.size,Zd.push(zf)}return Zd}var Yb=null;function uS(Md){Yb?Yb.ops.push(Md):Md.ownsGroup=Yb={ops:[Md],delayedCallbacks:[]}}function QS(Md){var Vd=Md.delayedCallbacks,df=0;do{for(;df<Vd.length;df++)Vd[df].call(null);for(var Zd=0;Zd<Md.ops.length;Zd++){var yf=Md.ops[Zd];if(yf.cursorActivityHandlers)for(;yf.cursorActivityCalled<yf.cursorActivityHandlers.length;)yf.cursorActivityHandlers[yf.cursorActivityCalled++].call(null,yf.cm)}}while(df<Vd.length)}function Kd(Md,Vd){var df=Md.ownsGroup;if(df)try{QS(df)}finally{Yb=null,Vd(df)}}var Hd=null;function Qd(Md,Vd){var df=ig(Md,Vd);if(df.length){var Zd=Array.prototype.slice.call(arguments,2),yf;Yb?yf=Yb.delayedCallbacks:Hd?yf=Hd:(yf=Hd=[],setTimeout(vf,0));for(var Of=function(ih){yf.push(function(){return df[ih].apply(null,Zd)})},zf=0;zf<df.length;++zf)Of(zf)}}function vf(){var Md=Hd;Hd=null;for(var Vd=0;Vd<Md.length;++Vd)Md[Vd]()}function $f(Md,Vd,df,Zd){for(var yf=0;yf<Vd.changes.length;yf++){var Of=Vd.changes[yf];Of=="text"?Sm(Md,Vd):Of=="gutter"?Qm(Md,Vd,df,Zd):Of=="class"?hm(Md,Vd):Of=="widget"&&yg(Md,Vd,Zd)}Vd.changes=null}function gh(Md){return Md.node==Md.text&&(Md.node=Ef("div",null,null,"position: relative"),Md.text.parentNode&&Md.text.parentNode.replaceChild(Md.node,Md.text),Md.node.appendChild(Md.text),fd&&md<8&&(Md.node.style.zIndex=2)),Md.node}function kh(Md,Vd){var df=Vd.bgClass?Vd.bgClass+" "+(Vd.line.bgClass||""):Vd.line.bgClass;if(df&&(df+=" CodeMirror-linebackground"),Vd.background)df?Vd.background.className=df:(Vd.background.parentNode.removeChild(Vd.background),Vd.background=null);else if(df){var Zd=gh(Vd);Vd.background=Zd.insertBefore(Ef("div",null,df),Zd.firstChild),Md.display.input.setUneditable(Vd.background)}}function im(Md,Vd){var df=Md.display.externalMeasured;return df&&df.line==Vd.line?(Md.display.externalMeasured=null,Vd.measure=df.measure,df.built):Ly(Md,Vd)}function Sm(Md,Vd){var df=Vd.text.className,Zd=im(Md,Vd);Vd.text==Vd.node&&(Vd.node=Zd.pre),Vd.text.parentNode.replaceChild(Zd.pre,Vd.text),Vd.text=Zd.pre,Zd.bgClass!=Vd.bgClass||Zd.textClass!=Vd.textClass?(Vd.bgClass=Zd.bgClass,Vd.textClass=Zd.textClass,hm(Md,Vd)):df&&(Vd.text.className=df)}function hm(Md,Vd){kh(Md,Vd),Vd.line.wrapClass?gh(Vd).className=Vd.line.wrapClass:Vd.node!=Vd.text&&(Vd.node.className="");var df=Vd.textClass?Vd.textClass+" "+(Vd.line.textClass||""):Vd.line.textClass;Vd.text.className=df||""}function Qm(Md,Vd,df,Zd){if(Vd.gutter&&(Vd.node.removeChild(Vd.gutter),Vd.gutter=null),Vd.gutterBackground&&(Vd.node.removeChild(Vd.gutterBackground),Vd.gutterBackground=null),Vd.line.gutterClass){var yf=gh(Vd);Vd.gutterBackground=Ef("div",null,"CodeMirror-gutter-background "+Vd.line.gutterClass,"left: "+(Md.options.fixedGutter?Zd.fixedPos:-Zd.gutterTotalWidth)+"px; width: "+Zd.gutterTotalWidth+"px"),Md.display.input.setUneditable(Vd.gutterBackground),yf.insertBefore(Vd.gutterBackground,Vd.text)}var Of=Vd.line.gutterMarkers;if(Md.options.lineNumbers||Of){var zf=gh(Vd),ih=Vd.gutter=Ef("div",null,"CodeMirror-gutter-wrapper","left: "+(Md.options.fixedGutter?Zd.fixedPos:-Zd.gutterTotalWidth)+"px");if(ih.setAttribute("aria-hidden","true"),Md.display.input.setUneditable(ih),zf.insertBefore(ih,Vd.text),Vd.line.gutterClass&&(ih.className+=" "+Vd.line.gutterClass),Md.options.lineNumbers&&(!Of||!Of["CodeMirror-linenumbers"])&&(Vd.lineNumber=ih.appendChild(Ef("div",ng(Md.options,df),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+Zd.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+Md.display.lineNumInnerWidth+"px"))),Of)for(var yh=0;yh<Md.display.gutterSpecs.length;++yh){var Ah=Md.display.gutterSpecs[yh].className,sm=Of.hasOwnProperty(Ah)&&Of[Ah];sm&&ih.appendChild(Ef("div",[sm],"CodeMirror-gutter-elt","left: "+Zd.gutterLeft[Ah]+"px; width: "+Zd.gutterWidth[Ah]+"px"))}}}function yg(Md,Vd,df){Vd.alignable&&(Vd.alignable=null);for(var Zd=mf("CodeMirror-linewidget"),yf=Vd.node.firstChild,Of=void 0;yf;yf=Of)Of=yf.nextSibling,Zd.test(yf.className)&&Vd.node.removeChild(yf);Og(Md,Vd,df)}function Dg(Md,Vd,df,Zd){var yf=im(Md,Vd);return Vd.text=Vd.node=yf.pre,yf.bgClass&&(Vd.bgClass=yf.bgClass),yf.textClass&&(Vd.textClass=yf.textClass),hm(Md,Vd),Qm(Md,Vd,df,Zd),Og(Md,Vd,Zd),Vd.node}function Og(Md,Vd,df){if(e_(Md,Vd.line,Vd,df,!0),Vd.rest)for(var Zd=0;Zd<Vd.rest.length;Zd++)e_(Md,Vd.rest[Zd],Vd,df,!1)}function e_(Md,Vd,df,Zd,yf){if(Vd.widgets)for(var Of=gh(df),zf=0,ih=Vd.widgets;zf<ih.length;++zf){var yh=ih[zf],Ah=Ef("div",[yh.node],"CodeMirror-linewidget"+(yh.className?" "+yh.className:""));yh.handleMouseEvents||Ah.setAttribute("cm-ignore-events","true"),F_(yh,Ah,df,Zd),Md.display.input.setUneditable(Ah),yf&&yh.above?Of.insertBefore(Ah,df.gutter||df.text):Of.appendChild(Ah),Qd(yh,"redraw")}}function F_(Md,Vd,df,Zd){if(Md.noHScroll){(df.alignable||(df.alignable=[])).push(Vd);var yf=Zd.wrapperWidth;Vd.style.left=Zd.fixedPos+"px",Md.coverGutter||(yf-=Zd.gutterTotalWidth,Vd.style.paddingLeft=Zd.gutterTotalWidth+"px"),Vd.style.width=yf+"px"}Md.coverGutter&&(Vd.style.zIndex=5,Vd.style.position="relative",Md.noHScroll||(Vd.style.marginLeft=-Zd.gutterTotalWidth+"px"))}function p_(Md){if(Md.height!=null)return Md.height;var Vd=Md.doc.cm;if(!Vd)return 0;if(!Gf(document.body,Md.node)){var df="position: relative;";Md.coverGutter&&(df+="margin-left: -"+Vd.display.gutters.offsetWidth+"px;"),Md.noHScroll&&(df+="width: "+Vd.display.wrapper.clientWidth+"px;"),Af(Vd.display.measure,Ef("div",[Md.node],null,df))}return Md.height=Md.node.parentNode.offsetHeight}function v_(Md,Vd){for(var df=B_(Vd);df!=Md.wrapper;df=df.parentNode)if(!df||df.nodeType==1&&df.getAttribute("cm-ignore-events")=="true"||df.parentNode==Md.sizer&&df!=Md.mover)return!0}function ob(Md){return Md.lineSpace.offsetTop}function By(Md){return Md.mover.offsetHeight-Md.lineSpace.offsetHeight}function Lv(Md){if(Md.cachedPaddingH)return Md.cachedPaddingH;var Vd=Af(Md.measure,Ef("pre","x","CodeMirror-line-like")),df=window.getComputedStyle?window.getComputedStyle(Vd):Vd.currentStyle,Zd={left:parseInt(df.paddingLeft),right:parseInt(df.paddingRight)};return!isNaN(Zd.left)&&!isNaN(Zd.right)&&(Md.cachedPaddingH=Zd),Zd}function E0(Md){return th-Md.display.nativeBarWidth}function Hy(Md){return Md.display.scroller.clientWidth-E0(Md)-Md.display.barWidth}function JS(Md){return Md.display.scroller.clientHeight-E0(Md)-Md.display.barHeight}function jv(Md,Vd,df){var Zd=Md.options.lineWrapping,yf=Zd&&Hy(Md);if(!Vd.measure.heights||Zd&&Vd.measure.width!=yf){var Of=Vd.measure.heights=[];if(Zd){Vd.measure.width=yf;for(var zf=Vd.text.firstChild.getClientRects(),ih=0;ih<zf.length-1;ih++){var yh=zf[ih],Ah=zf[ih+1];Math.abs(yh.bottom-Ah.bottom)>2&&Of.push((yh.bottom+Ah.top)/2-df.top)}}Of.push(df.bottom-df.top)}}function FT(Md,Vd,df){if(Md.line==Vd)return{map:Md.measure.map,cache:Md.measure.cache};if(Md.rest){for(var Zd=0;Zd<Md.rest.length;Zd++)if(Md.rest[Zd]==Vd)return{map:Md.measure.maps[Zd],cache:Md.measure.caches[Zd]};for(var yf=0;yf<Md.rest.length;yf++)if(Ch(Md.rest[yf])>df)return{map:Md.measure.maps[yf],cache:Md.measure.caches[yf],before:!0}}}function qx(Md,Vd){Vd=x_(Vd);var df=Ch(Vd),Zd=Md.display.externalMeasured=new lS(Md.doc,Vd,df);Zd.lineN=df;var yf=Zd.built=Ly(Md,Zd);return Zd.text=yf.pre,Af(Md.display.lineMeasure,yf.pre),Zd}function cS(Md,Vd,df,Zd){return Bb(Md,Lb(Md,Vd),df,Zd)}function dS(Md,Vd){if(Vd>=Md.display.viewFrom&&Vd<Md.display.viewTo)return Md.display.view[Qy(Md,Vd)];var df=Md.display.externalMeasured;if(df&&Vd>=df.lineN&&Vd<df.lineN+df.size)return df}function Lb(Md,Vd){var df=Ch(Vd),Zd=dS(Md,df);Zd&&!Zd.text?Zd=null:Zd&&Zd.changes&&($f(Md,Zd,df,Hv(Md)),Md.curOp.forceUpdate=!0),Zd||(Zd=qx(Md,Vd));var yf=FT(Zd,Vd,df);return{line:Vd,view:Zd,rect:null,map:yf.map,cache:yf.cache,before:yf.before,hasHeights:!1}}function Bb(Md,Vd,df,Zd,yf){Vd.before&&(df=-1);var Of=df+(Zd||""),zf;return Vd.cache.hasOwnProperty(Of)?zf=Vd.cache[Of]:(Vd.rect||(Vd.rect=Vd.view.text.getBoundingClientRect()),Vd.hasHeights||(jv(Md,Vd.view,Vd.rect),Vd.hasHeights=!0),zf=Uv(Md,Vd,df,Zd),zf.bogus||(Vd.cache[Of]=zf)),{left:zf.left,right:zf.right,top:yf?zf.rtop:zf.top,bottom:yf?zf.rbottom:zf.bottom}}var jT={left:0,right:0,top:0,bottom:0};function UT(Md,Vd,df){for(var Zd,yf,Of,zf,ih,yh,Ah=0;Ah<Md.length;Ah+=3)if(ih=Md[Ah],yh=Md[Ah+1],Vd<ih?(yf=0,Of=1,zf="left"):Vd<yh?(yf=Vd-ih,Of=yf+1):(Ah==Md.length-3||Vd==yh&&Md[Ah+3]>Vd)&&(Of=yh-ih,yf=Of-1,Vd>=yh&&(zf="right")),yf!=null){if(Zd=Md[Ah+2],ih==yh&&df==(Zd.insertLeft?"left":"right")&&(zf=df),df=="left"&&yf==0)for(;Ah&&Md[Ah-2]==Md[Ah-3]&&Md[Ah-1].insertLeft;)Zd=Md[(Ah-=3)+2],zf="left";if(df=="right"&&yf==yh-ih)for(;Ah<Md.length-3&&Md[Ah+3]==Md[Ah+4]&&!Md[Ah+5].insertLeft;)Zd=Md[(Ah+=3)+2],zf="right";break}return{node:Zd,start:yf,end:Of,collapse:zf,coverStart:ih,coverEnd:yh}}function Vx(Md,Vd){var df=jT;if(Vd=="left")for(var Zd=0;Zd<Md.length&&(df=Md[Zd]).left==df.right;Zd++);else for(var yf=Md.length-1;yf>=0&&(df=Md[yf]).left==df.right;yf--);return df}function Uv(Md,Vd,df,Zd){var yf=UT(Vd.map,df,Zd),Of=yf.node,zf=yf.start,ih=yf.end,yh=yf.collapse,Ah;if(Of.nodeType==3){for(var sm=0;sm<4;sm++){for(;zf&&Th(Vd.line.text.charAt(yf.coverStart+zf));)--zf;for(;yf.coverStart+ih<yf.coverEnd&&Th(Vd.line.text.charAt(yf.coverStart+ih));)++ih;if(fd&&md<9&&zf==0&&ih==yf.coverEnd-yf.coverStart?Ah=Of.parentNode.getBoundingClientRect():Ah=Vx(If(Of,zf,ih).getClientRects(),Zd),Ah.left||Ah.right||zf==0)break;ih=zf,zf=zf-1,yh="right"}fd&&md<11&&(Ah=a0(Md.display.measure,Ah))}else{zf>0&&(yh=Zd="right");var mm;Md.options.lineWrapping&&(mm=Of.getClientRects()).length>1?Ah=mm[Zd=="right"?mm.length-1:0]:Ah=Of.getBoundingClientRect()}if(fd&&md<9&&!zf&&(!Ah||!Ah.left&&!Ah.right)){var $m=Of.parentNode.getClientRects()[0];$m?Ah={left:$m.left,right:$m.left+L0(Md.display),top:$m.top,bottom:$m.bottom}:Ah=jT}for(var Om=Ah.top-Vd.rect.top,Wm=Ah.bottom-Vd.rect.top,Jm=(Om+Wm)/2,og=Vd.view.measure.heights,Tg=0;Tg<og.length-1&&!(Jm<og[Tg]);Tg++);var Cg=Tg?og[Tg-1]:0,Sg=og[Tg],Ig={left:(yh=="right"?Ah.right:Ah.left)-Vd.rect.left,right:(yh=="left"?Ah.left:Ah.right)-Vd.rect.left,top:Cg,bottom:Sg};return!Ah.left&&!Ah.right&&(Ig.bogus=!0),Md.options.singleCursorHeightPerLine||(Ig.rtop=Om,Ig.rbottom=Wm),Ig}function a0(Md,Vd){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!fm(Md))return Vd;var df=screen.logicalXDPI/screen.deviceXDPI,Zd=screen.logicalYDPI/screen.deviceYDPI;return{left:Vd.left*df,right:Vd.right*df,top:Vd.top*Zd,bottom:Vd.bottom*Zd}}function ZS(Md){if(Md.measure&&(Md.measure.cache={},Md.measure.heights=null,Md.rest))for(var Vd=0;Vd<Md.rest.length;Vd++)Md.measure.caches[Vd]={}}function HT(Md){Md.display.externalMeasure=null,Tf(Md.display.lineMeasure);for(var Vd=0;Vd<Md.display.view.length;Vd++)ZS(Md.display.view[Vd])}function CE(Md){HT(Md),Md.display.cachedCharWidth=Md.display.cachedTextHeight=Md.display.cachedPaddingH=null,Md.options.lineWrapping||(Md.display.maxLineChanged=!0),Md.display.lineNumChars=null}function GT(Md){return Nd&&Ud?-(Md.body.getBoundingClientRect().left-parseInt(getComputedStyle(Md.body).marginLeft)):Md.defaultView.pageXOffset||(Md.documentElement||Md.body).scrollLeft}function qT(Md){return Nd&&Ud?-(Md.body.getBoundingClientRect().top-parseInt(getComputedStyle(Md.body).marginTop)):Md.defaultView.pageYOffset||(Md.documentElement||Md.body).scrollTop}function eT(Md){var Vd=x_(Md),df=Vd.widgets,Zd=0;if(df)for(var yf=0;yf<df.length;++yf)df[yf].above&&(Zd+=p_(df[yf]));return Zd}function P0(Md,Vd,df,Zd,yf){if(!yf){var Of=eT(Vd);df.top+=Of,df.bottom+=Of}if(Zd=="line")return df;Zd||(Zd="local");var zf=Wb(Vd);if(Zd=="local"?zf+=ob(Md.display):zf-=Md.display.viewOffset,Zd=="page"||Zd=="window"){var ih=Md.display.lineSpace.getBoundingClientRect();zf+=ih.top+(Zd=="window"?0:qT(Lf(Md)));var yh=ih.left+(Zd=="window"?0:GT(Lf(Md)));df.left+=yh,df.right+=yh}return df.top+=zf,df.bottom+=zf,df}function Pm(Md,Vd,df){if(df=="div")return Vd;var Zd=Vd.left,yf=Vd.top;if(df=="page")Zd-=GT(Lf(Md)),yf-=qT(Lf(Md));else if(df=="local"||!df){var Of=Md.display.sizer.getBoundingClientRect();Zd+=Of.left,yf+=Of.top}var zf=Md.display.lineSpace.getBoundingClientRect();return{left:Zd-zf.left,top:yf-zf.top}}function Xm(Md,Vd,df,Zd,yf){return Zd||(Zd=lg(Md.doc,Vd.line)),P0(Md,Zd,cS(Md,Zd,Vd.ch,yf),df)}function Hm(Md,Vd,df,Zd,yf,Of){Zd=Zd||lg(Md.doc,Vd.line),yf||(yf=Lb(Md,Zd));function zf(Wm,Jm){var og=Bb(Md,yf,Wm,Jm?"right":"left",Of);return Jm?og.left=og.right:og.right=og.left,P0(Md,Zd,og,df)}var ih=Dm(Zd,Md.doc.direction),yh=Vd.ch,Ah=Vd.sticky;if(yh>=Zd.text.length?(yh=Zd.text.length,Ah="before"):yh<=0&&(yh=0,Ah="after"),!ih)return zf(Ah=="before"?yh-1:yh,Ah=="before");function sm(Wm,Jm,og){var Tg=ih[Jm],Cg=Tg.level==1;return zf(og?Wm-1:Wm,Cg!=og)}var mm=Wh(ih,yh,Ah),$m=xh,Om=sm(yh,mm,Ah=="before");return $m!=null&&(Om.other=sm(yh,$m,Ah!="before")),Om}function $g(Md,Vd){var df=0;Vd=qg(Md.doc,Vd),Md.options.lineWrapping||(df=L0(Md.display)*Vd.ch);var Zd=lg(Md.doc,Vd.line),yf=Wb(Zd)+ob(Md.display);return{left:df,right:df,top:yf,bottom:yf+Zd.height}}function t_(Md,Vd,df,Zd,yf){var Of=Um(Md,Vd,df);return Of.xRel=yf,Zd&&(Of.outside=Zd),Of}function g_(Md,Vd,df){var Zd=Md.doc;if(df+=Md.display.viewOffset,df<0)return t_(Zd.first,0,null,-1,-1);var yf=um(Zd,df),Of=Zd.first+Zd.size-1;if(yf>Of)return t_(Zd.first+Zd.size-1,lg(Zd,Of).text.length,null,1,1);Vd<0&&(Vd=0);for(var zf=lg(Zd,yf);;){var ih=zx(Md,zf,yf,Vd,df),yh=iS(zf,ih.ch+(ih.xRel>0||ih.outside>0?1:0));if(!yh)return ih;var Ah=yh.find(1);if(Ah.line==yf)return Ah;zf=lg(Zd,yf=Ah.line)}}function eb(Md,Vd,df,Zd){Zd-=eT(Vd);var yf=Vd.text.length,Of=wf(function(zf){return Bb(Md,df,zf-1).bottom<=Zd},yf,0);return yf=wf(function(zf){return Bb(Md,df,zf).top>Zd},Of,yf),{begin:Of,end:yf}}function D_(Md,Vd,df,Zd){df||(df=Lb(Md,Vd));var yf=P0(Md,Vd,Bb(Md,df,Zd),"line").top;return eb(Md,Vd,df,yf)}function AE(Md,Vd,df,Zd){return Md.bottom<=df?!1:Md.top>df?!0:(Zd?Md.left:Md.right)>Vd}function zx(Md,Vd,df,Zd,yf){yf-=Wb(Vd);var Of=Lb(Md,Vd),zf=eT(Vd),ih=0,yh=Vd.text.length,Ah=!0,sm=Dm(Vd,Md.doc.direction);if(sm){var mm=(Md.options.lineWrapping?pS:Kb)(Md,Vd,df,Of,sm,Zd,yf);Ah=mm.level!=1,ih=Ah?mm.from:mm.to-1,yh=Ah?mm.to:mm.from-1}var $m=null,Om=null,Wm=wf(function(jg){var Lg=Bb(Md,Of,jg);return Lg.top+=zf,Lg.bottom+=zf,AE(Lg,Zd,yf,!1)?(Lg.top<=yf&&Lg.left<=Zd&&($m=jg,Om=Lg),!0):!1},ih,yh),Jm,og,Tg=!1;if(Om){var Cg=Zd-Om.left<Om.right-Zd,Sg=Cg==Ah;Wm=$m+(Sg?0:1),og=Sg?"after":"before",Jm=Cg?Om.left:Om.right}else{!Ah&&(Wm==yh||Wm==ih)&&Wm++,og=Wm==0?"after":Wm==Vd.text.length?"before":Bb(Md,Of,Wm-(Ah?1:0)).bottom+zf<=yf==Ah?"after":"before";var Ig=Hm(Md,Um(df,Wm,og),"line",Vd,Of);Jm=Ig.left,Tg=yf<Ig.top?-1:yf>=Ig.bottom?1:0}return Wm=Rf(Vd.text,Wm,1),t_(df,Wm,og,Tg,Zd-Jm)}function Kb(Md,Vd,df,Zd,yf,Of,zf){var ih=wf(function(mm){var $m=yf[mm],Om=$m.level!=1;return AE(Hm(Md,Um(df,Om?$m.to:$m.from,Om?"before":"after"),"line",Vd,Zd),Of,zf,!0)},0,yf.length-1),yh=yf[ih];if(ih>0){var Ah=yh.level!=1,sm=Hm(Md,Um(df,Ah?yh.from:yh.to,Ah?"after":"before"),"line",Vd,Zd);AE(sm,Of,zf,!0)&&sm.top>zf&&(yh=yf[ih-1])}return yh}function pS(Md,Vd,df,Zd,yf,Of,zf){var ih=eb(Md,Vd,Zd,zf),yh=ih.begin,Ah=ih.end;/\s/.test(Vd.text.charAt(Ah-1))&&Ah--;for(var sm=null,mm=null,$m=0;$m<yf.length;$m++){var Om=yf[$m];if(!(Om.from>=Ah||Om.to<=yh)){var Wm=Om.level!=1,Jm=Bb(Md,Zd,Wm?Math.min(Ah,Om.to)-1:Math.max(yh,Om.from)).right,og=Jm<Of?Of-Jm+1e9:Jm-Of;(!sm||mm>og)&&(sm=Om,mm=og)}}return sm||(sm=yf[yf.length-1]),sm.from<yh&&(sm={from:yh,to:sm.to,level:sm.level}),sm.to>Ah&&(sm={from:sm.from,to:Ah,level:sm.level}),sm}var Wy;function s0(Md){if(Md.cachedTextHeight!=null)return Md.cachedTextHeight;if(Wy==null){Wy=Ef("pre",null,"CodeMirror-line-like");for(var Vd=0;Vd<49;++Vd)Wy.appendChild(document.createTextNode("x")),Wy.appendChild(Ef("br"));Wy.appendChild(document.createTextNode("x"))}Af(Md.measure,Wy);var df=Wy.offsetHeight/50;return df>3&&(Md.cachedTextHeight=df),Tf(Md.measure),df||1}function L0(Md){if(Md.cachedCharWidth!=null)return Md.cachedCharWidth;var Vd=Ef("span","xxxxxxxxxx"),df=Ef("pre",[Vd],"CodeMirror-line-like");Af(Md.measure,df);var Zd=Vd.getBoundingClientRect(),yf=(Zd.right-Zd.left)/10;return yf>2&&(Md.cachedCharWidth=yf),yf||10}function Hv(Md){for(var Vd=Md.display,df={},Zd={},yf=Vd.gutters.clientLeft,Of=Vd.gutters.firstChild,zf=0;Of;Of=Of.nextSibling,++zf){var ih=Md.display.gutterSpecs[zf].className;df[ih]=Of.offsetLeft+Of.clientLeft+yf,Zd[ih]=Of.clientWidth}return{fixedPos:T_(Vd),gutterTotalWidth:Vd.gutters.offsetWidth,gutterLeft:df,gutterWidth:Zd,wrapperWidth:Vd.wrapper.clientWidth}}function T_(Md){return Md.scroller.getBoundingClientRect().left-Md.sizer.getBoundingClientRect().left}function VT(Md){var Vd=s0(Md.display),df=Md.options.lineWrapping,Zd=df&&Math.max(5,Md.display.scroller.clientWidth/L0(Md.display)-3);return function(yf){if(q_(Md.doc,yf))return 0;var Of=0;if(yf.widgets)for(var zf=0;zf<yf.widgets.length;zf++)yf.widgets[zf].height&&(Of+=yf.widgets[zf].height);return df?Of+(Math.ceil(yf.text.length/Zd)||1)*Vd:Of+Vd}}function fS(Md){var Vd=Md.doc,df=VT(Md);Vd.iter(function(Zd){var yf=df(Zd);yf!=Zd.height&&Ug(Zd,yf)})}function S0(Md,Vd,df,Zd){var yf=Md.display;if(!df&&B_(Vd).getAttribute("cm-not-content")=="true")return null;var Of,zf,ih=yf.lineSpace.getBoundingClientRect();try{Of=Vd.clientX-ih.left,zf=Vd.clientY-ih.top}catch{return null}var yh=g_(Md,Of,zf),Ah;if(Zd&&yh.xRel>0&&(Ah=lg(Md.doc,yh.line).text).length==yh.ch){var sm=Yf(Ah,Ah.length,Md.options.tabSize)-Ah.length;yh=Um(yh.line,Math.max(0,Math.round((Of-Lv(Md.display).left)/L0(Md.display))-sm))}return yh}function Qy(Md,Vd){if(Vd>=Md.display.viewTo||(Vd-=Md.display.viewFrom,Vd<0))return null;for(var df=Md.display.view,Zd=0;Zd<df.length;Zd++)if(Vd-=df[Zd].size,Vd<0)return Zd}function Ib(Md,Vd,df,Zd){Vd==null&&(Vd=Md.doc.first),df==null&&(df=Md.doc.first+Md.doc.size),Zd||(Zd=0);var yf=Md.display;if(Zd&&df<yf.viewTo&&(yf.updateLineNumbers==null||yf.updateLineNumbers>Vd)&&(yf.updateLineNumbers=Vd),Md.curOp.viewChanged=!0,Vd>=yf.viewTo)Y_&&$_(Md.doc,Vd)<yf.viewTo&&o0(Md);else if(df<=yf.viewFrom)Y_&&zb(Md.doc,df+Zd)>yf.viewFrom?o0(Md):(yf.viewFrom+=Zd,yf.viewTo+=Zd);else if(Vd<=yf.viewFrom&&df>=yf.viewTo)o0(Md);else if(Vd<=yf.viewFrom){var Of=l0(Md,df,df+Zd,1);Of?(yf.view=yf.view.slice(Of.index),yf.viewFrom=Of.lineN,yf.viewTo+=Zd):o0(Md)}else if(df>=yf.viewTo){var zf=l0(Md,Vd,Vd,-1);zf?(yf.view=yf.view.slice(0,zf.index),yf.viewTo=zf.lineN):o0(Md)}else{var ih=l0(Md,Vd,Vd,-1),yh=l0(Md,df,df+Zd,1);ih&&yh?(yf.view=yf.view.slice(0,ih.index).concat(K0(Md,ih.lineN,yh.lineN)).concat(yf.view.slice(yh.index)),yf.viewTo+=Zd):o0(Md)}var Ah=yf.externalMeasured;Ah&&(df<Ah.lineN?Ah.lineN+=Zd:Vd<Ah.lineN+Ah.size&&(yf.externalMeasured=null))}function X0(Md,Vd,df){Md.curOp.viewChanged=!0;var Zd=Md.display,yf=Md.display.externalMeasured;if(yf&&Vd>=yf.lineN&&Vd<yf.lineN+yf.size&&(Zd.externalMeasured=null),!(Vd<Zd.viewFrom||Vd>=Zd.viewTo)){var Of=Zd.view[Qy(Md,Vd)];if(Of.node!=null){var zf=Of.changes||(Of.changes=[]);Rh(zf,df)==-1&&zf.push(df)}}}function o0(Md){Md.display.viewFrom=Md.display.viewTo=Md.doc.first,Md.display.view=[],Md.display.viewOffset=0}function l0(Md,Vd,df,Zd){var yf=Qy(Md,Vd),Of,zf=Md.display.view;if(!Y_||df==Md.doc.first+Md.doc.size)return{index:yf,lineN:df};for(var ih=Md.display.viewFrom,yh=0;yh<yf;yh++)ih+=zf[yh].size;if(ih!=Vd){if(Zd>0){if(yf==zf.length-1)return null;Of=ih+zf[yf].size-Vd,yf++}else Of=ih-Vd;Vd+=Of,df+=Of}for(;$_(Md.doc,df)!=df;){if(yf==(Zd<0?0:zf.length-1))return null;df+=Zd*zf[yf-(Zd<0?1:0)].size,yf+=Zd}return{index:yf,lineN:df}}function hS(Md,Vd,df){var Zd=Md.display,yf=Zd.view;yf.length==0||Vd>=Zd.viewTo||df<=Zd.viewFrom?(Zd.view=K0(Md,Vd,df),Zd.viewFrom=Vd):(Zd.viewFrom>Vd?Zd.view=K0(Md,Vd,Zd.viewFrom).concat(Zd.view):Zd.viewFrom<Vd&&(Zd.view=Zd.view.slice(Qy(Md,Vd))),Zd.viewFrom=Vd,Zd.viewTo<df?Zd.view=Zd.view.concat(K0(Md,Zd.viewTo,df)):Zd.viewTo>df&&(Zd.view=Zd.view.slice(0,Qy(Md,df)))),Zd.viewTo=df}function tT(Md){for(var Vd=Md.display.view,df=0,Zd=0;Zd<Vd.length;Zd++){var yf=Vd[Zd];!yf.hidden&&(!yf.node||yf.changes)&&++df}return df}function Q0(Md){Md.display.input.showSelection(Md.display.input.prepareSelection())}function rT(Md,Vd){Vd===void 0&&(Vd=!0);var df=Md.doc,Zd={},yf=Zd.cursors=document.createDocumentFragment(),Of=Zd.selection=document.createDocumentFragment(),zf=Md.options.$customCursor;zf&&(Vd=!0);for(var ih=0;ih<df.sel.ranges.length;ih++)if(!(!Vd&&ih==df.sel.primIndex)){var yh=df.sel.ranges[ih];if(!(yh.from().line>=Md.display.viewTo||yh.to().line<Md.display.viewFrom)){var Ah=yh.empty();if(zf){var sm=zf(Md,yh);sm&&mS(Md,sm,yf)}else(Ah||Md.options.showCursorWhenSelecting)&&mS(Md,yh.head,yf);Ah||zT(Md,yh,Of)}}return Zd}function mS(Md,Vd,df){var Zd=Hm(Md,Vd,"div",null,null,!Md.options.singleCursorHeightPerLine),yf=df.appendChild(Ef("div"," ","CodeMirror-cursor"));if(yf.style.left=Zd.left+"px",yf.style.top=Zd.top+"px",yf.style.height=Math.max(0,Zd.bottom-Zd.top)*Md.options.cursorHeight+"px",/\bcm-fat-cursor\b/.test(Md.getWrapperElement().className)){var Of=Xm(Md,Vd,"div",null,null),zf=Of.right-Of.left;yf.style.width=(zf>0?zf:Md.defaultCharWidth())+"px"}if(Zd.other){var ih=df.appendChild(Ef("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));ih.style.display="",ih.style.left=Zd.other.left+"px",ih.style.top=Zd.other.top+"px",ih.style.height=(Zd.other.bottom-Zd.other.top)*.85+"px"}}function Jy(Md,Vd){return Md.top-Vd.top||Md.left-Vd.left}function zT(Md,Vd,df){var Zd=Md.display,yf=Md.doc,Of=document.createDocumentFragment(),zf=Lv(Md.display),ih=zf.left,yh=Math.max(Zd.sizerWidth,Hy(Md)-Zd.sizer.offsetLeft)-zf.right,Ah=yf.direction=="ltr";function sm(Sg,Ig,jg,Lg){Ig<0&&(Ig=0),Ig=Math.round(Ig),Lg=Math.round(Lg),Of.appendChild(Ef("div",null,"CodeMirror-selected","position: absolute; left: "+Sg+`px;
top: `+Ig+"px; width: "+(jg??yh-Sg)+`px;
height: `+(Lg-Ig)+"px"))}function mm(Sg,Ig,jg){var Lg=lg(yf,Sg),i_=Lg.text.length,w_,z_;function P_(X_,Ab){return Xm(Md,Um(Sg,X_),"div",Lg,Ab)}function U_(X_,Ab,yb){var rb=D_(Md,Lg,null,X_),Q_=Ab=="ltr"==(yb=="after")?"left":"right",H_=yb=="after"?rb.begin:rb.end-(/\s/.test(Lg.text.charAt(rb.end-1))?2:1);return P_(H_,Q_)[Q_]}var K_=Dm(Lg,yf.direction);return sh(K_,Ig||0,jg??i_,function(X_,Ab,yb,rb){var Q_=yb=="ltr",H_=P_(X_,Q_?"left":"right"),Rb=P_(Ab-1,Q_?"right":"left"),pE=Ig==null&&X_==0,Ay=jg==null&&Ab==i_,Sb=rb==0,N0=!K_||rb==K_.length-1;if(Rb.top-H_.top<=3){var fb=(Ah?pE:Ay)&&Sb,$T=(Ah?Ay:pE)&&N0,D0=fb?ih:(Q_?H_:Rb).left,Ny=$T?yh:(Q_?Rb:H_).right;sm(D0,H_.top,Ny-D0,H_.bottom)}else{var Dy,wb,fE,PT;Q_?(Dy=Ah&&pE&&Sb?ih:H_.left,wb=Ah?yh:U_(X_,yb,"before"),fE=Ah?ih:U_(Ab,yb,"after"),PT=Ah&&Ay&&N0?yh:Rb.right):(Dy=Ah?U_(X_,yb,"before"):ih,wb=!Ah&&pE&&Sb?yh:H_.right,fE=!Ah&&Ay&&N0?ih:Rb.left,PT=Ah?U_(Ab,yb,"after"):yh),sm(Dy,H_.top,wb-Dy,H_.bottom),H_.bottom<Rb.top&&sm(ih,H_.bottom,null,Rb.top),sm(fE,Rb.top,PT-fE,Rb.bottom)}(!w_||Jy(H_,w_)<0)&&(w_=H_),Jy(Rb,w_)<0&&(w_=Rb),(!z_||Jy(H_,z_)<0)&&(z_=H_),Jy(Rb,z_)<0&&(z_=Rb)}),{start:w_,end:z_}}var $m=Vd.from(),Om=Vd.to();if($m.line==Om.line)mm($m.line,$m.ch,Om.ch);else{var Wm=lg(yf,$m.line),Jm=lg(yf,Om.line),og=x_(Wm)==x_(Jm),Tg=mm($m.line,$m.ch,og?Wm.text.length+1:null).end,Cg=mm(Om.line,og?0:null,Om.ch).start;og&&(Tg.top<Cg.top-2?(sm(Tg.right,Tg.top,null,Tg.bottom),sm(ih,Cg.top,Cg.left,Cg.bottom)):sm(Tg.right,Tg.top,Cg.left-Tg.right,Tg.bottom)),Tg.bottom<Cg.top&&sm(ih,Tg.bottom,null,Cg.top)}df.appendChild(Of)}function Zy(Md){if(Md.state.focused){var Vd=Md.display;clearInterval(Vd.blinker);var df=!0;Vd.cursorDiv.style.visibility="",Md.options.cursorBlinkRate>0?Vd.blinker=setInterval(function(){Md.hasFocus()||qv(Md),Vd.cursorDiv.style.visibility=(df=!df)?"":"hidden"},Md.options.cursorBlinkRate):Md.options.cursorBlinkRate<0&&(Vd.cursorDiv.style.visibility="hidden")}}function J0(Md){Md.hasFocus()||(Md.display.input.focus(),Md.state.focused||nT(Md))}function Gv(Md){Md.state.delayingBlurEvent=!0,setTimeout(function(){Md.state.delayingBlurEvent&&(Md.state.delayingBlurEvent=!1,Md.state.focused&&qv(Md))},100)}function nT(Md,Vd){Md.state.delayingBlurEvent&&!Md.state.draggingText&&(Md.state.delayingBlurEvent=!1),Md.options.readOnly!="nocursor"&&(Md.state.focused||(ug(Md,"focus",Md,Vd),Md.state.focused=!0,Xf(Md.display.wrapper,"CodeMirror-focused"),!Md.curOp&&Md.display.selForContextMenu!=Md.doc.sel&&(Md.display.input.reset(),vd&&setTimeout(function(){return Md.display.input.reset(!0)},20)),Md.display.input.receivedFocus()),Zy(Md))}function qv(Md,Vd){Md.state.delayingBlurEvent||(Md.state.focused&&(ug(Md,"blur",Md,Vd),Md.state.focused=!1,Sf(Md.display.wrapper,"CodeMirror-focused")),clearInterval(Md.display.blinker),setTimeout(function(){Md.state.focused||(Md.display.shift=!1)},150))}function gS(Md){for(var Vd=Md.display,df=Vd.lineDiv.offsetTop,Zd=Math.max(0,Vd.scroller.getBoundingClientRect().top),yf=Vd.lineDiv.getBoundingClientRect().top,Of=0,zf=0;zf<Vd.view.length;zf++){var ih=Vd.view[zf],yh=Md.options.lineWrapping,Ah=void 0,sm=0;if(!ih.hidden){if(yf+=ih.line.height,fd&&md<8){var mm=ih.node.offsetTop+ih.node.offsetHeight;Ah=mm-df,df=mm}else{var $m=ih.node.getBoundingClientRect();Ah=$m.bottom-$m.top,!yh&&ih.text.firstChild&&(sm=ih.text.firstChild.getBoundingClientRect().right-$m.left-1)}var Om=ih.line.height-Ah;if((Om>.005||Om<-.005)&&(yf<Zd&&(Of-=Om),Ug(ih.line,Ah),wE(ih.line),ih.rest))for(var Wm=0;Wm<ih.rest.length;Wm++)wE(ih.rest[Wm]);if(sm>Md.display.sizerWidth){var Jm=Math.ceil(sm/L0(Md.display));Jm>Md.display.maxLineLength&&(Md.display.maxLineLength=Jm,Md.display.maxLine=ih.line,Md.display.maxLineChanged=!0)}}}Math.abs(Of)>2&&(Vd.scroller.scrollTop+=Of)}function wE(Md){if(Md.widgets)for(var Vd=0;Vd<Md.widgets.length;++Vd){var df=Md.widgets[Vd],Zd=df.node.parentNode;Zd&&(df.height=Zd.offsetHeight)}}function ev(Md,Vd,df){var Zd=df&&df.top!=null?Math.max(0,df.top):Md.scroller.scrollTop;Zd=Math.floor(Zd-ob(Md));var yf=df&&df.bottom!=null?df.bottom:Zd+Md.wrapper.clientHeight,Of=um(Vd,Zd),zf=um(Vd,yf);if(df&&df.ensure){var ih=df.ensure.from.line,yh=df.ensure.to.line;ih<Of?(Of=ih,zf=um(Vd,Wb(lg(Vd,ih))+Md.wrapper.clientHeight)):Math.min(yh,Vd.lastLine())>=zf&&(Of=um(Vd,Wb(lg(Vd,yh))-Md.wrapper.clientHeight),zf=yh)}return{from:Of,to:Math.max(zf,Of+1)}}function iT(Md,Vd){if(!wg(Md,"scrollCursorIntoView")){var df=Md.display,Zd=df.sizer.getBoundingClientRect(),yf=null,Of=df.wrapper.ownerDocument;if(Vd.top+Zd.top<0?yf=!0:Vd.bottom+Zd.top>(Of.defaultView.innerHeight||Of.documentElement.clientHeight)&&(yf=!1),yf!=null&&!jd){var zf=Ef("div","",null,`position: absolute;
top: `+(Vd.top-df.viewOffset-ob(Md.display))+`px;
height: `+(Vd.bottom-Vd.top+E0(Md)+df.barHeight)+`px;
left: `+Vd.left+"px; width: "+Math.max(2,Vd.right-Vd.left)+"px;");Md.display.lineSpace.appendChild(zf),zf.scrollIntoView(yf),Md.display.lineSpace.removeChild(zf)}}}function Wx(Md,Vd,df,Zd){Zd==null&&(Zd=0);var yf;!Md.options.lineWrapping&&Vd==df&&(df=Vd.sticky=="before"?Um(Vd.line,Vd.ch+1,"before"):Vd,Vd=Vd.ch?Um(Vd.line,Vd.sticky=="before"?Vd.ch-1:Vd.ch,"after"):Vd);for(var Of=0;Of<5;Of++){var zf=!1,ih=Hm(Md,Vd),yh=!df||df==Vd?ih:Hm(Md,df);yf={left:Math.min(ih.left,yh.left),top:Math.min(ih.top,yh.top)-Zd,right:Math.max(ih.left,yh.left),bottom:Math.max(ih.bottom,yh.bottom)+Zd};var Ah=sT(Md,yf),sm=Md.doc.scrollTop,mm=Md.doc.scrollLeft;if(Ah.scrollTop!=null&&(NE(Md,Ah.scrollTop),Math.abs(Md.doc.scrollTop-sm)>1&&(zf=!0)),Ah.scrollLeft!=null&&(u0(Md,Ah.scrollLeft),Math.abs(Md.doc.scrollLeft-mm)>1&&(zf=!0)),!zf)break}return yf}function WT(Md,Vd){var df=sT(Md,Vd);df.scrollTop!=null&&NE(Md,df.scrollTop),df.scrollLeft!=null&&u0(Md,df.scrollLeft)}function sT(Md,Vd){var df=Md.display,Zd=s0(Md.display);Vd.top<0&&(Vd.top=0);var yf=Md.curOp&&Md.curOp.scrollTop!=null?Md.curOp.scrollTop:df.scroller.scrollTop,Of=JS(Md),zf={};Vd.bottom-Vd.top>Of&&(Vd.bottom=Vd.top+Of);var ih=Md.doc.height+By(df),yh=Vd.top<Zd,Ah=Vd.bottom>ih-Zd;if(Vd.top<yf)zf.scrollTop=yh?0:Vd.top;else if(Vd.bottom>yf+Of){var sm=Math.min(Vd.top,(Ah?ih:Vd.bottom)-Of);sm!=yf&&(zf.scrollTop=sm)}var mm=Md.options.fixedGutter?0:df.gutters.offsetWidth,$m=Md.curOp&&Md.curOp.scrollLeft!=null?Md.curOp.scrollLeft:df.scroller.scrollLeft-mm,Om=Hy(Md)-df.gutters.offsetWidth,Wm=Vd.right-Vd.left>Om;return Wm&&(Vd.right=Vd.left+Om),Vd.left<10?zf.scrollLeft=0:Vd.left<$m?zf.scrollLeft=Math.max(0,Vd.left+mm-(Wm?0:10)):Vd.right>Om+$m-3&&(zf.scrollLeft=Vd.right+(Wm?0:10)-Om),zf}function oT(Md,Vd){Vd!=null&&(_S(Md),Md.curOp.scrollTop=(Md.curOp.scrollTop==null?Md.doc.scrollTop:Md.curOp.scrollTop)+Vd)}function L_(Md){_S(Md);var Vd=Md.getCursor();Md.curOp.scrollToPos={from:Vd,to:Vd,margin:Md.options.cursorScrollMargin}}function tb(Md,Vd,df){(Vd!=null||df!=null)&&_S(Md),Vd!=null&&(Md.curOp.scrollLeft=Vd),df!=null&&(Md.curOp.scrollTop=df)}function Yx(Md,Vd){_S(Md),Md.curOp.scrollToPos=Vd}function _S(Md){var Vd=Md.curOp.scrollToPos;if(Vd){Md.curOp.scrollToPos=null;var df=$g(Md,Vd.from),Zd=$g(Md,Vd.to);lT(Md,df,Zd,Vd.margin)}}function lT(Md,Vd,df,Zd){var yf=sT(Md,{left:Math.min(Vd.left,df.left),top:Math.min(Vd.top,df.top)-Zd,right:Math.max(Vd.right,df.right),bottom:Math.max(Vd.bottom,df.bottom)+Zd});tb(Md,yf.scrollLeft,yf.scrollTop)}function NE(Md,Vd){Math.abs(Md.doc.scrollTop-Vd)<2||(ld||c0(Md,{top:Vd}),yS(Md,Vd,!0),ld&&c0(Md),RE(Md,100))}function yS(Md,Vd,df){Vd=Math.max(0,Math.min(Md.display.scroller.scrollHeight-Md.display.scroller.clientHeight,Vd)),!(Md.display.scroller.scrollTop==Vd&&!df)&&(Md.doc.scrollTop=Vd,Md.display.scrollbars.setScrollTop(Vd),Md.display.scroller.scrollTop!=Vd&&(Md.display.scroller.scrollTop=Vd))}function u0(Md,Vd,df,Zd){Vd=Math.max(0,Math.min(Vd,Md.display.scroller.scrollWidth-Md.display.scroller.clientWidth)),!((df?Vd==Md.doc.scrollLeft:Math.abs(Md.doc.scrollLeft-Vd)<2)&&!Zd)&&(Md.doc.scrollLeft=Vd,QT(Md),Md.display.scroller.scrollLeft!=Vd&&(Md.display.scroller.scrollLeft=Vd),Md.display.scrollbars.setScrollLeft(Vd))}function tv(Md){var Vd=Md.display,df=Vd.gutters.offsetWidth,Zd=Math.round(Md.doc.height+By(Md.display));return{clientHeight:Vd.scroller.clientHeight,viewHeight:Vd.wrapper.clientHeight,scrollWidth:Vd.scroller.scrollWidth,clientWidth:Vd.scroller.clientWidth,viewWidth:Vd.wrapper.clientWidth,barLeft:Md.options.fixedGutter?df:0,docHeight:Zd,scrollHeight:Zd+E0(Md)+Vd.barHeight,nativeBarWidth:Vd.nativeBarWidth,gutterWidth:df}}var Xb=function(Md,Vd,df){this.cm=df;var Zd=this.vert=Ef("div",[Ef("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),yf=this.horiz=Ef("div",[Ef("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");Zd.tabIndex=yf.tabIndex=-1,Md(Zd),Md(yf),jm(Zd,"scroll",function(){Zd.clientHeight&&Vd(Zd.scrollTop,"vertical")}),jm(yf,"scroll",function(){yf.clientWidth&&Vd(yf.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,fd&&md<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Xb.prototype.update=function(Md){var Vd=Md.scrollWidth>Md.clientWidth+1,df=Md.scrollHeight>Md.clientHeight+1,Zd=Md.nativeBarWidth;if(df){this.vert.style.display="block",this.vert.style.bottom=Vd?Zd+"px":"0";var yf=Md.viewHeight-(Vd?Zd:0);this.vert.firstChild.style.height=Math.max(0,Md.scrollHeight-Md.clientHeight+yf)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(Vd){this.horiz.style.display="block",this.horiz.style.right=df?Zd+"px":"0",this.horiz.style.left=Md.barLeft+"px";var Of=Md.viewWidth-Md.barLeft-(df?Zd:0);this.horiz.firstChild.style.width=Math.max(0,Md.scrollWidth-Md.clientWidth+Of)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&Md.clientHeight>0&&(Zd==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:df?Zd:0,bottom:Vd?Zd:0}},Xb.prototype.setScrollLeft=function(Md){this.horiz.scrollLeft!=Md&&(this.horiz.scrollLeft=Md),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Xb.prototype.setScrollTop=function(Md){this.vert.scrollTop!=Md&&(this.vert.scrollTop=Md),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Xb.prototype.zeroWidthHack=function(){var Md=zd&&!Gd?"12px":"18px";this.horiz.style.height=this.vert.style.width=Md,this.horiz.style.visibility=this.vert.style.visibility="hidden",this.disableHoriz=new dh,this.disableVert=new dh},Xb.prototype.enableZeroWidthBar=function(Md,Vd,df){Md.style.visibility="";function Zd(){var yf=Md.getBoundingClientRect(),Of=df=="vert"?document.elementFromPoint(yf.right-1,(yf.top+yf.bottom)/2):document.elementFromPoint((yf.right+yf.left)/2,yf.bottom-1);Of!=Md?Md.style.visibility="hidden":Vd.set(1e3,Zd)}Vd.set(1e3,Zd)},Xb.prototype.clear=function(){var Md=this.horiz.parentNode;Md.removeChild(this.horiz),Md.removeChild(this.vert)};var B0=function(){};B0.prototype.update=function(){return{bottom:0,right:0}},B0.prototype.setScrollLeft=function(){},B0.prototype.setScrollTop=function(){},B0.prototype.clear=function(){};function T0(Md,Vd){Vd||(Vd=tv(Md));var df=Md.display.barWidth,Zd=Md.display.barHeight;DE(Md,Vd);for(var yf=0;yf<4&&df!=Md.display.barWidth||Zd!=Md.display.barHeight;yf++)df!=Md.display.barWidth&&Md.options.lineWrapping&&gS(Md),DE(Md,tv(Md)),df=Md.display.barWidth,Zd=Md.display.barHeight}function DE(Md,Vd){var df=Md.display,Zd=df.scrollbars.update(Vd);df.sizer.style.paddingRight=(df.barWidth=Zd.right)+"px",df.sizer.style.paddingBottom=(df.barHeight=Zd.bottom)+"px",df.heightForcer.style.borderBottom=Zd.bottom+"px solid transparent",Zd.right&&Zd.bottom?(df.scrollbarFiller.style.display="block",df.scrollbarFiller.style.height=Zd.bottom+"px",df.scrollbarFiller.style.width=Zd.right+"px"):df.scrollbarFiller.style.display="",Zd.bottom&&Md.options.coverGutterNextToScrollbar&&Md.options.fixedGutter?(df.gutterFiller.style.display="block",df.gutterFiller.style.height=Zd.bottom+"px",df.gutterFiller.style.width=Vd.gutterWidth+"px"):df.gutterFiller.style.display=""}var nv={native:Xb,null:B0};function YT(Md){Md.display.scrollbars&&(Md.display.scrollbars.clear(),Md.display.scrollbars.addClass&&Sf(Md.display.wrapper,Md.display.scrollbars.addClass)),Md.display.scrollbars=new nv[Md.options.scrollbarStyle](function(Vd){Md.display.wrapper.insertBefore(Vd,Md.display.scrollbarFiller),jm(Vd,"mousedown",function(){Md.state.focused&&setTimeout(function(){return Md.display.input.focus()},0)}),Vd.setAttribute("cm-not-content","true")},function(Vd,df){df=="horizontal"?u0(Md,Vd):NE(Md,Vd)},Md),Md.display.scrollbars.addClass&&Xf(Md.display.wrapper,Md.display.scrollbars.addClass)}var Kx=0;function iv(Md){Md.curOp={cm:Md,viewChanged:!1,startHeight:Md.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Kx,markArrays:null},uS(Md.curOp)}function ov(Md){var Vd=Md.curOp;Vd&&Kd(Vd,function(df){for(var Zd=0;Zd<df.ops.length;Zd++)df.ops[Zd].cm.curOp=null;Xx(df)})}function Xx(Md){for(var Vd=Md.ops,df=0;df<Vd.length;df++)vS(Vd[df]);for(var Zd=0;Zd<Vd.length;Zd++)IE(Vd[Zd]);for(var yf=0;yf<Vd.length;yf++)KT(Vd[yf]);for(var Of=0;Of<Vd.length;Of++)Vh(Vd[Of]);for(var zf=0;zf<Vd.length;zf++)zv(Vd[zf])}function vS(Md){var Vd=Md.cm,df=Vd.display;Jx(Vd),Md.updateMaxLine&&Ov(Vd),Md.mustUpdate=Md.viewChanged||Md.forceUpdate||Md.scrollTop!=null||Md.scrollToPos&&(Md.scrollToPos.from.line<df.viewFrom||Md.scrollToPos.to.line>=df.viewTo)||df.maxLineChanged&&Vd.options.lineWrapping,Md.update=Md.mustUpdate&&new x0(Vd,Md.mustUpdate&&{top:Md.scrollTop,ensure:Md.scrollToPos},Md.forceUpdate)}function IE(Md){Md.updatedDisplay=Md.mustUpdate&&uT(Md.cm,Md.update)}function KT(Md){var Vd=Md.cm,df=Vd.display;Md.updatedDisplay&&gS(Vd),Md.barMeasure=tv(Vd),df.maxLineChanged&&!Vd.options.lineWrapping&&(Md.adjustWidthTo=cS(Vd,df.maxLine,df.maxLine.text.length).left+3,Vd.display.sizerWidth=Md.adjustWidthTo,Md.barMeasure.scrollWidth=Math.max(df.scroller.clientWidth,df.sizer.offsetLeft+Md.adjustWidthTo+E0(Vd)+Vd.display.barWidth),Md.maxScrollLeft=Math.max(0,df.sizer.offsetLeft+Md.adjustWidthTo-Hy(Vd))),(Md.updatedDisplay||Md.selectionChanged)&&(Md.preparedSelection=df.input.prepareSelection())}function Vh(Md){var Vd=Md.cm;Md.adjustWidthTo!=null&&(Vd.display.sizer.style.minWidth=Md.adjustWidthTo+"px",Md.maxScrollLeft<Vd.doc.scrollLeft&&u0(Vd,Math.min(Vd.display.scroller.scrollLeft,Md.maxScrollLeft),!0),Vd.display.maxLineChanged=!1);var df=Md.focus&&Md.focus==Qf(Wf(Vd));Md.preparedSelection&&Vd.display.input.showSelection(Md.preparedSelection,df),(Md.updatedDisplay||Md.startHeight!=Vd.doc.height)&&T0(Vd,Md.barMeasure),Md.updatedDisplay&&dT(Vd,Md.barMeasure),Md.selectionChanged&&Zy(Vd),Vd.state.focused&&Md.updateInput&&Vd.display.input.reset(Md.typing),df&&J0(Md.cm)}function zv(Md){var Vd=Md.cm,df=Vd.display,Zd=Vd.doc;if(Md.updatedDisplay&&XT(Vd,Md.update),df.wheelStartX!=null&&(Md.scrollTop!=null||Md.scrollLeft!=null||Md.scrollToPos)&&(df.wheelStartX=df.wheelStartY=null),Md.scrollTop!=null&&yS(Vd,Md.scrollTop,Md.forceScroll),Md.scrollLeft!=null&&u0(Vd,Md.scrollLeft,!0,!0),Md.scrollToPos){var yf=Wx(Vd,qg(Zd,Md.scrollToPos.from),qg(Zd,Md.scrollToPos.to),Md.scrollToPos.margin);iT(Vd,yf)}var Of=Md.maybeHiddenMarkers,zf=Md.maybeUnhiddenMarkers;if(Of)for(var ih=0;ih<Of.length;++ih)Of[ih].lines.length||ug(Of[ih],"hide");if(zf)for(var yh=0;yh<zf.length;++yh)zf[yh].lines.length&&ug(zf[yh],"unhide");df.wrapper.offsetHeight&&(Zd.scrollTop=Vd.display.scroller.scrollTop),Md.changeObjs&&ug(Vd,"changes",Vd,Md.changeObjs),Md.update&&Md.update.finish()}function Eb(Md,Vd){if(Md.curOp)return Vd();iv(Md);try{return Vd()}finally{ov(Md)}}function C_(Md,Vd){return function(){if(Md.curOp)return Vd.apply(Md,arguments);iv(Md);try{return Vd.apply(Md,arguments)}finally{ov(Md)}}}function Yg(Md){return function(){if(this.curOp)return Md.apply(this,arguments);iv(this);try{return Md.apply(this,arguments)}finally{ov(this)}}}function lb(Md){return function(){var Vd=this.cm;if(!Vd||Vd.curOp)return Md.apply(this,arguments);iv(Vd);try{return Md.apply(this,arguments)}finally{ov(Vd)}}}function RE(Md,Vd){Md.doc.highlightFrontier<Md.display.viewTo&&Md.state.highlight.set(Vd,Cf(Qx,Md))}function Qx(Md){var Vd=Md.doc;if(!(Vd.highlightFrontier>=Md.display.viewTo)){var df=+new Date+Md.options.workTime,Zd=sb(Md,Vd.highlightFrontier),yf=[];Vd.iter(Zd.line,Math.min(Vd.first+Vd.size,Md.display.viewTo+500),function(Of){if(Zd.line>=Md.display.viewFrom){var zf=Of.styles,ih=Of.text.length>Md.options.maxHighlightLength?Ag(Vd.mode,Zd.state):null,yh=qb(Md,Of,Zd,!0);ih&&(Zd.state=ih),Of.styles=yh.styles;var Ah=Of.styleClasses,sm=yh.classes;sm?Of.styleClasses=sm:Ah&&(Of.styleClasses=null);for(var mm=!zf||zf.length!=Of.styles.length||Ah!=sm&&(!Ah||!sm||Ah.bgClass!=sm.bgClass||Ah.textClass!=sm.textClass),$m=0;!mm&&$m<zf.length;++$m)mm=zf[$m]!=Of.styles[$m];mm&&yf.push(Zd.line),Of.stateAfter=Zd.save(),Zd.nextLine()}else Of.text.length<=Md.options.maxHighlightLength&&Vb(Md,Of.text,Zd),Of.stateAfter=Zd.line%5==0?Zd.save():null,Zd.nextLine();if(+new Date>df)return RE(Md,Md.options.workDelay),!0}),Vd.highlightFrontier=Zd.line,Vd.modeFrontier=Math.max(Vd.modeFrontier,Zd.line),yf.length&&Eb(Md,function(){for(var Of=0;Of<yf.length;Of++)X0(Md,yf[Of],"text")})}}var x0=function(Md,Vd,df){var Zd=Md.display;this.viewport=Vd,this.visible=ev(Zd,Md.doc,Vd),this.editorIsHidden=!Zd.wrapper.offsetWidth,this.wrapperHeight=Zd.wrapper.clientHeight,this.wrapperWidth=Zd.wrapper.clientWidth,this.oldDisplayWidth=Hy(Md),this.force=df,this.dims=Hv(Md),this.events=[]};x0.prototype.signal=function(Md,Vd){Gg(Md,Vd)&&this.events.push(arguments)},x0.prototype.finish=function(){for(var Md=0;Md<this.events.length;Md++)ug.apply(null,this.events[Md])};function Jx(Md){var Vd=Md.display;!Vd.scrollbarsClipped&&Vd.scroller.offsetWidth&&(Vd.nativeBarWidth=Vd.scroller.offsetWidth-Vd.scroller.clientWidth,Vd.heightForcer.style.height=E0(Md)+"px",Vd.sizer.style.marginBottom=-Vd.nativeBarWidth+"px",Vd.sizer.style.borderRightWidth=E0(Md)+"px",Vd.scrollbarsClipped=!0)}function Zx(Md){if(Md.hasFocus())return null;var Vd=Qf(Wf(Md));if(!Vd||!Gf(Md.display.lineDiv,Vd))return null;var df={activeElt:Vd};if(window.getSelection){var Zd=Kf(Md).getSelection();Zd.anchorNode&&Zd.extend&&Gf(Md.display.lineDiv,Zd.anchorNode)&&(df.anchorNode=Zd.anchorNode,df.anchorOffset=Zd.anchorOffset,df.focusNode=Zd.focusNode,df.focusOffset=Zd.focusOffset)}return df}function e1(Md){if(!(!Md||!Md.activeElt||Md.activeElt==Qf(Jf(Md.activeElt)))&&(Md.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(Md.activeElt.nodeName)&&Md.anchorNode&&Gf(document.body,Md.anchorNode)&&Gf(document.body,Md.focusNode))){var Vd=Md.activeElt.ownerDocument,df=Vd.defaultView.getSelection(),Zd=Vd.createRange();Zd.setEnd(Md.anchorNode,Md.anchorOffset),Zd.collapse(!1),df.removeAllRanges(),df.addRange(Zd),df.extend(Md.focusNode,Md.focusOffset)}}function uT(Md,Vd){var df=Md.display,Zd=Md.doc;if(Vd.editorIsHidden)return o0(Md),!1;if(!Vd.force&&Vd.visible.from>=df.viewFrom&&Vd.visible.to<=df.viewTo&&(df.updateLineNumbers==null||df.updateLineNumbers>=df.viewTo)&&df.renderedView==df.view&&tT(Md)==0)return!1;JT(Md)&&(o0(Md),Vd.dims=Hv(Md));var yf=Zd.first+Zd.size,Of=Math.max(Vd.visible.from-Md.options.viewportMargin,Zd.first),zf=Math.min(yf,Vd.visible.to+Md.options.viewportMargin);df.viewFrom<Of&&Of-df.viewFrom<20&&(Of=Math.max(Zd.first,df.viewFrom)),df.viewTo>zf&&df.viewTo-zf<20&&(zf=Math.min(yf,df.viewTo)),Y_&&(Of=$_(Md.doc,Of),zf=zb(Md.doc,zf));var ih=Of!=df.viewFrom||zf!=df.viewTo||df.lastWrapHeight!=Vd.wrapperHeight||df.lastWrapWidth!=Vd.wrapperWidth;hS(Md,Of,zf),df.viewOffset=Wb(lg(Md.doc,df.viewFrom)),Md.display.mover.style.top=df.viewOffset+"px";var yh=tT(Md);if(!ih&&yh==0&&!Vd.force&&df.renderedView==df.view&&(df.updateLineNumbers==null||df.updateLineNumbers>=df.viewTo))return!1;var Ah=Zx(Md);return yh>4&&(df.lineDiv.style.display="none"),t1(Md,df.updateLineNumbers,Vd.dims),yh>4&&(df.lineDiv.style.display=""),df.renderedView=df.view,e1(Ah),Tf(df.cursorDiv),Tf(df.selectionDiv),df.gutters.style.height=df.sizer.style.minHeight=0,ih&&(df.lastWrapHeight=Vd.wrapperHeight,df.lastWrapWidth=Vd.wrapperWidth,RE(Md,400)),df.updateLineNumbers=null,!0}function XT(Md,Vd){for(var df=Vd.viewport,Zd=!0;;Zd=!1){if(!Zd||!Md.options.lineWrapping||Vd.oldDisplayWidth==Hy(Md)){if(df&&df.top!=null&&(df={top:Math.min(Md.doc.height+By(Md.display)-JS(Md),df.top)}),Vd.visible=ev(Md.display,Md.doc,df),Vd.visible.from>=Md.display.viewFrom&&Vd.visible.to<=Md.display.viewTo)break}else Zd&&(Vd.visible=ev(Md.display,Md.doc,df));if(!uT(Md,Vd))break;gS(Md);var yf=tv(Md);Q0(Md),T0(Md,yf),dT(Md,yf),Vd.force=!1}Vd.signal(Md,"update",Md),(Md.display.viewFrom!=Md.display.reportedViewFrom||Md.display.viewTo!=Md.display.reportedViewTo)&&(Vd.signal(Md,"viewportChange",Md,Md.display.viewFrom,Md.display.viewTo),Md.display.reportedViewFrom=Md.display.viewFrom,Md.display.reportedViewTo=Md.display.viewTo)}function c0(Md,Vd){var df=new x0(Md,Vd);if(uT(Md,df)){gS(Md),XT(Md,df);var Zd=tv(Md);Q0(Md),T0(Md,Zd),dT(Md,Zd),df.finish()}}function t1(Md,Vd,df){var Zd=Md.display,yf=Md.options.lineNumbers,Of=Zd.lineDiv,zf=Of.firstChild;function ih(Wm){var Jm=Wm.nextSibling;return vd&&zd&&Md.display.currentWheelTarget==Wm?Wm.style.display="none":Wm.parentNode.removeChild(Wm),Jm}for(var yh=Zd.view,Ah=Zd.viewFrom,sm=0;sm<yh.length;sm++){var mm=yh[sm];if(!mm.hidden)if(!mm.node||mm.node.parentNode!=Of){var $m=Dg(Md,mm,Ah,df);Of.insertBefore($m,zf)}else{for(;zf!=mm.node;)zf=ih(zf);var Om=yf&&Vd!=null&&Vd<=Ah&&mm.lineNumber;mm.changes&&(Rh(mm.changes,"gutter")>-1&&(Om=!1),$f(Md,mm,Ah,df)),Om&&(Tf(mm.lineNumber),mm.lineNumber.appendChild(document.createTextNode(ng(Md.options,Ah)))),zf=mm.node.nextSibling}Ah+=mm.size}for(;zf;)zf=ih(zf)}function cT(Md){var Vd=Md.gutters.offsetWidth;Md.sizer.style.marginLeft=Vd+"px",Qd(Md,"gutterChanged",Md)}function dT(Md,Vd){Md.display.sizer.style.minHeight=Vd.docHeight+"px",Md.display.heightForcer.style.top=Vd.docHeight+"px",Md.display.gutters.style.height=Vd.docHeight+Md.display.barHeight+E0(Md)+"px"}function QT(Md){var Vd=Md.display,df=Vd.view;if(!(!Vd.alignWidgets&&(!Vd.gutters.firstChild||!Md.options.fixedGutter))){for(var Zd=T_(Vd)-Vd.scroller.scrollLeft+Md.doc.scrollLeft,yf=Vd.gutters.offsetWidth,Of=Zd+"px",zf=0;zf<df.length;zf++)if(!df[zf].hidden){Md.options.fixedGutter&&(df[zf].gutter&&(df[zf].gutter.style.left=Of),df[zf].gutterBackground&&(df[zf].gutterBackground.style.left=Of));var ih=df[zf].alignable;if(ih)for(var yh=0;yh<ih.length;yh++)ih[yh].style.left=Of}Md.options.fixedGutter&&(Vd.gutters.style.left=Zd+yf+"px")}}function JT(Md){if(!Md.options.lineNumbers)return!1;var Vd=Md.doc,df=ng(Md.options,Vd.first+Vd.size-1),Zd=Md.display;if(df.length!=Zd.lineNumChars){var yf=Zd.measure.appendChild(Ef("div",[Ef("div",df)],"CodeMirror-linenumber CodeMirror-gutter-elt")),Of=yf.firstChild.offsetWidth,zf=yf.offsetWidth-Of;return Zd.lineGutter.style.width="",Zd.lineNumInnerWidth=Math.max(Of,Zd.lineGutter.offsetWidth-zf)+1,Zd.lineNumWidth=Zd.lineNumInnerWidth+zf,Zd.lineNumChars=Zd.lineNumInnerWidth?df.length:-1,Zd.lineGutter.style.width=Zd.lineNumWidth+"px",cT(Md.display),!0}return!1}function d0(Md,Vd){for(var df=[],Zd=!1,yf=0;yf<Md.length;yf++){var Of=Md[yf],zf=null;if(typeof Of!="string"&&(zf=Of.style,Of=Of.className),Of=="CodeMirror-linenumbers")if(Vd)Zd=!0;else continue;df.push({className:Of,style:zf})}return Vd&&!Zd&&df.push({className:"CodeMirror-linenumbers",style:null}),df}function ZT(Md){var Vd=Md.gutters,df=Md.gutterSpecs;Tf(Vd),Md.lineGutter=null;for(var Zd=0;Zd<df.length;++Zd){var yf=df[Zd],Of=yf.className,zf=yf.style,ih=Vd.appendChild(Ef("div",null,"CodeMirror-gutter "+Of));zf&&(ih.style.cssText=zf),Of=="CodeMirror-linenumbers"&&(Md.lineGutter=ih,ih.style.width=(Md.lineNumWidth||1)+"px")}Vd.style.display=df.length?"":"none",cT(Md)}function OE(Md){ZT(Md.display),Ib(Md),QT(Md)}function r1(Md,Vd,df,Zd){var yf=this;this.input=df,yf.scrollbarFiller=Ef("div",null,"CodeMirror-scrollbar-filler"),yf.scrollbarFiller.setAttribute("cm-not-content","true"),yf.gutterFiller=Ef("div",null,"CodeMirror-gutter-filler"),yf.gutterFiller.setAttribute("cm-not-content","true"),yf.lineDiv=Nf("div",null,"CodeMirror-code"),yf.selectionDiv=Ef("div",null,null,"position: relative; z-index: 1"),yf.cursorDiv=Ef("div",null,"CodeMirror-cursors"),yf.measure=Ef("div",null,"CodeMirror-measure"),yf.lineMeasure=Ef("div",null,"CodeMirror-measure"),yf.lineSpace=Nf("div",[yf.measure,yf.lineMeasure,yf.selectionDiv,yf.cursorDiv,yf.lineDiv],null,"position: relative; outline: none");var Of=Nf("div",[yf.lineSpace],"CodeMirror-lines");yf.mover=Ef("div",[Of],null,"position: relative"),yf.sizer=Ef("div",[yf.mover],"CodeMirror-sizer"),yf.sizerWidth=null,yf.heightForcer=Ef("div",null,null,"position: absolute; height: "+th+"px; width: 1px;"),yf.gutters=Ef("div",null,"CodeMirror-gutters"),yf.lineGutter=null,yf.scroller=Ef("div",[yf.sizer,yf.heightForcer,yf.gutters],"CodeMirror-scroll"),yf.scroller.setAttribute("tabIndex","-1"),yf.wrapper=Ef("div",[yf.scrollbarFiller,yf.gutterFiller,yf.scroller],"CodeMirror"),Nd&&Od>=105&&(yf.wrapper.style.clipPath="inset(0px)"),yf.wrapper.setAttribute("translate","no"),fd&&md<8&&(yf.gutters.style.zIndex=-1,yf.scroller.style.paddingRight=0),!vd&&!(ld&&qd)&&(yf.scroller.draggable=!0),Md&&(Md.appendChild?Md.appendChild(yf.wrapper):Md(yf.wrapper)),yf.viewFrom=yf.viewTo=Vd.first,yf.reportedViewFrom=yf.reportedViewTo=Vd.first,yf.view=[],yf.renderedView=null,yf.externalMeasured=null,yf.viewOffset=0,yf.lastWrapHeight=yf.lastWrapWidth=0,yf.updateLineNumbers=null,yf.nativeBarWidth=yf.barHeight=yf.barWidth=0,yf.scrollbarsClipped=!1,yf.lineNumWidth=yf.lineNumInnerWidth=yf.lineNumChars=null,yf.alignWidgets=!1,yf.cachedCharWidth=yf.cachedTextHeight=yf.cachedPaddingH=null,yf.maxLine=null,yf.maxLineLength=0,yf.maxLineChanged=!1,yf.wheelDX=yf.wheelDY=yf.wheelStartX=yf.wheelStartY=null,yf.shift=!1,yf.selForContextMenu=null,yf.activeTouch=null,yf.gutterSpecs=d0(Zd.gutters,Zd.lineNumbers),ZT(yf),df.init(yf)}var ES=0,F0=null;fd?F0=-.53:ld?F0=15:Nd?F0=-.7:Ld&&(F0=-1/3);function Z0(Md){var Vd=Md.wheelDeltaX,df=Md.wheelDeltaY;return Vd==null&&Md.detail&&Md.axis==Md.HORIZONTAL_AXIS&&(Vd=Md.detail),df==null&&Md.detail&&Md.axis==Md.VERTICAL_AXIS?df=Md.detail:df==null&&(df=Md.wheelDelta),{x:Vd,y:df}}function n1(Md){var Vd=Z0(Md);return Vd.x*=F0,Vd.y*=F0,Vd}function ex(Md,Vd){Nd&&Od==102&&(Md.display.chromeScrollHack==null?Md.display.sizer.style.pointerEvents="none":clearTimeout(Md.display.chromeScrollHack),Md.display.chromeScrollHack=setTimeout(function(){Md.display.chromeScrollHack=null,Md.display.sizer.style.pointerEvents=""},100));var df=Z0(Vd),Zd=df.x,yf=df.y,Of=F0;Vd.deltaMode===0&&(Zd=Vd.deltaX,yf=Vd.deltaY,Of=1);var zf=Md.display,ih=zf.scroller,yh=ih.scrollWidth>ih.clientWidth,Ah=ih.scrollHeight>ih.clientHeight;if(Zd&&yh||yf&&Ah){if(yf&&zd&&vd){e:for(var sm=Vd.target,mm=zf.view;sm!=ih;sm=sm.parentNode)for(var $m=0;$m<mm.length;$m++)if(mm[$m].node==sm){Md.display.currentWheelTarget=sm;break e}}if(Zd&&!ld&&!kd&&Of!=null){yf&&Ah&&NE(Md,Math.max(0,ih.scrollTop+yf*Of)),u0(Md,Math.max(0,ih.scrollLeft+Zd*Of)),(!yf||yf&&Ah)&&Pg(Vd),zf.wheelStartX=null;return}if(yf&&Of!=null){var Om=yf*Of,Wm=Md.doc.scrollTop,Jm=Wm+zf.wrapper.clientHeight;Om<0?Wm=Math.max(0,Wm+Om-50):Jm=Math.min(Md.doc.height,Jm+Om+50),c0(Md,{top:Wm,bottom:Jm})}ES<20&&Vd.deltaMode!==0&&(zf.wheelStartX==null?(zf.wheelStartX=ih.scrollLeft,zf.wheelStartY=ih.scrollTop,zf.wheelDX=Zd,zf.wheelDY=yf,setTimeout(function(){if(zf.wheelStartX!=null){var og=ih.scrollLeft-zf.wheelStartX,Tg=ih.scrollTop-zf.wheelStartY,Cg=Tg&&zf.wheelDY&&Tg/zf.wheelDY||og&&zf.wheelDX&&og/zf.wheelDX;zf.wheelStartX=zf.wheelStartY=null,Cg&&(F0=(F0*ES+Cg)/(ES+1),++ES)}},200)):(zf.wheelDX+=Zd,zf.wheelDY+=yf))}}var j_=function(Md,Vd){this.ranges=Md,this.primIndex=Vd};j_.prototype.primary=function(){return this.ranges[this.primIndex]},j_.prototype.equals=function(Md){if(Md==this)return!0;if(Md.primIndex!=this.primIndex||Md.ranges.length!=this.ranges.length)return!1;for(var Vd=0;Vd<this.ranges.length;Vd++){var df=this.ranges[Vd],Zd=Md.ranges[Vd];if(!r_(df.anchor,Zd.anchor)||!r_(df.head,Zd.head))return!1}return!0},j_.prototype.deepCopy=function(){for(var Md=[],Vd=0;Vd<this.ranges.length;Vd++)Md[Vd]=new E_(R_(this.ranges[Vd].anchor),R_(this.ranges[Vd].head));return new j_(Md,this.primIndex)},j_.prototype.somethingSelected=function(){for(var Md=0;Md<this.ranges.length;Md++)if(!this.ranges[Md].empty())return!0;return!1},j_.prototype.contains=function(Md,Vd){Vd||(Vd=Md);for(var df=0;df<this.ranges.length;df++){var Zd=this.ranges[df];if(Eg(Vd,Zd.from())>=0&&Eg(Md,Zd.to())<=0)return df}return-1};var E_=function(Md,Vd){this.anchor=Md,this.head=Vd};E_.prototype.from=function(){return Tb(this.anchor,this.head)},E_.prototype.to=function(){return G_(this.anchor,this.head)},E_.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function p0(Md,Vd,df){var Zd=Md&&Md.options.selectionsMayTouch,yf=Vd[df];Vd.sort(function($m,Om){return Eg($m.from(),Om.from())}),df=Rh(Vd,yf);for(var Of=1;Of<Vd.length;Of++){var zf=Vd[Of],ih=Vd[Of-1],yh=Eg(ih.to(),zf.from());if(Zd&&!zf.empty()?yh>0:yh>=0){var Ah=Tb(ih.from(),zf.from()),sm=G_(ih.to(),zf.to()),mm=ih.empty()?zf.from()==zf.head:ih.from()==ih.head;Of<=df&&--df,Vd.splice(--Of,2,new E_(mm?sm:Ah,mm?Ah:sm))}}return new j_(Vd,df)}function ry(Md,Vd){return new j_([new E_(Md,Vd||Md)],0)}function ny(Md){return Md.text?Um(Md.from.line+Md.text.length-1,mh(Md.text).length+(Md.text.length==1?Md.from.ch:0)):Md.to}function tx(Md,Vd){if(Eg(Md,Vd.from)<0)return Md;if(Eg(Md,Vd.to)<=0)return ny(Vd);var df=Md.line+Vd.text.length-(Vd.to.line-Vd.from.line)-1,Zd=Md.ch;return Md.line==Vd.to.line&&(Zd+=ny(Vd).ch-Vd.to.ch),Um(df,Zd)}function SS(Md,Vd){for(var df=[],Zd=0;Zd<Md.sel.ranges.length;Zd++){var yf=Md.sel.ranges[Zd];df.push(new E_(tx(yf.anchor,Vd),tx(yf.head,Vd)))}return p0(Md.cm,df,Md.sel.primIndex)}function pT(Md,Vd,df){return Md.line==Vd.line?Um(df.line,Md.ch-Vd.ch+df.ch):Um(df.line+(Md.line-Vd.line),Md.ch)}function i1(Md,Vd,df){for(var Zd=[],yf=Um(Md.first,0),Of=yf,zf=0;zf<Vd.length;zf++){var ih=Vd[zf],yh=pT(ih.from,yf,Of),Ah=pT(ny(ih),yf,Of);if(yf=ih.to,Of=Ah,df=="around"){var sm=Md.sel.ranges[zf],mm=Eg(sm.head,sm.anchor)<0;Zd[zf]=new E_(mm?Ah:yh,mm?yh:Ah)}else Zd[zf]=new E_(yh,yh)}return new j_(Zd,Md.sel.primIndex)}function fT(Md){Md.doc.mode=Km(Md.options,Md.doc.modeOption),uv(Md)}function uv(Md){Md.doc.iter(function(Vd){Vd.stateAfter&&(Vd.stateAfter=null),Vd.styles&&(Vd.styles=null)}),Md.doc.modeFrontier=Md.doc.highlightFrontier=Md.doc.first,RE(Md,100),Md.state.modeGen++,Md.curOp&&Ib(Md)}function Wv(Md,Vd){return Vd.from.ch==0&&Vd.to.ch==0&&mh(Vd.text)==""&&(!Md.cm||Md.cm.options.wholeLineUpdateBefore)}function Yv(Md,Vd,df,Zd){function yf(Cg){return df?df[Cg]:null}function Of(Cg,Sg,Ig){sS(Cg,Sg,Ig,Zd),Qd(Cg,"change",Cg,Vd)}function zf(Cg,Sg){for(var Ig=[],jg=Cg;jg<Sg;++jg)Ig.push(new n0(Ah[jg],yf(jg),Zd));return Ig}var ih=Vd.from,yh=Vd.to,Ah=Vd.text,sm=lg(Md,ih.line),mm=lg(Md,yh.line),$m=mh(Ah),Om=yf(Ah.length-1),Wm=yh.line-ih.line;if(Vd.full)Md.insert(0,zf(0,Ah.length)),Md.remove(Ah.length,Md.size-Ah.length);else if(Wv(Md,Vd)){var Jm=zf(0,Ah.length-1);Of(mm,mm.text,Om),Wm&&Md.remove(ih.line,Wm),Jm.length&&Md.insert(ih.line,Jm)}else if(sm==mm)if(Ah.length==1)Of(sm,sm.text.slice(0,ih.ch)+$m+sm.text.slice(yh.ch),Om);else{var og=zf(1,Ah.length-1);og.push(new n0($m+sm.text.slice(yh.ch),Om,Zd)),Of(sm,sm.text.slice(0,ih.ch)+Ah[0],yf(0)),Md.insert(ih.line+1,og)}else if(Ah.length==1)Of(sm,sm.text.slice(0,ih.ch)+Ah[0]+mm.text.slice(yh.ch),yf(0)),Md.remove(ih.line+1,Wm);else{Of(sm,sm.text.slice(0,ih.ch)+Ah[0],yf(0)),Of(mm,$m+mm.text.slice(yh.ch),Om);var Tg=zf(1,Ah.length-1);Wm>1&&Md.remove(ih.line+1,Wm-1),Md.insert(ih.line+1,Tg)}Qd(Md,"change",Md,Vd)}function iy(Md,Vd,df){function Zd(yf,Of,zf){if(yf.linked)for(var ih=0;ih<yf.linked.length;++ih){var yh=yf.linked[ih];if(yh.doc!=Of){var Ah=zf&&yh.sharedHist;df&&!Ah||(Vd(yh.doc,Ah),Zd(yh.doc,yf,Ah))}}}Zd(Md,null,!0)}function hT(Md,Vd){if(Vd.cm)throw new Error("This document is already in use.");Md.doc=Vd,Vd.cm=Md,fS(Md),fT(Md),rx(Md),Md.options.direction=Vd.direction,Md.options.lineWrapping||Ov(Md),Md.options.mode=Vd.modeOption,Ib(Md)}function rx(Md){(Md.doc.direction=="rtl"?Xf:Sf)(Md.display.lineDiv,"CodeMirror-rtl")}function j0(Md){Eb(Md,function(){rx(Md),Ib(Md)})}function Kv(Md){this.done=[],this.undone=[],this.undoDepth=Md?Md.undoDepth:1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=Md?Md.maxGeneration:1}function U0(Md,Vd){var df={from:R_(Vd.from),to:ny(Vd),text:N_(Md,Vd.from,Vd.to)};return gT(Md,df,Vd.from.line,Vd.to.line+1),iy(Md,function(Zd){return gT(Zd,df,Vd.from.line,Vd.to.line+1)},!0),df}function Fb(Md){for(;Md.length;){var Vd=mh(Md);if(Vd.ranges)Md.pop();else break}}function a1(Md,Vd){if(Vd)return Fb(Md.done),mh(Md.done);if(Md.done.length&&!mh(Md.done).ranges)return mh(Md.done);if(Md.done.length>1&&!Md.done[Md.done.length-2].ranges)return Md.done.pop(),mh(Md.done)}function mT(Md,Vd,df,Zd){var yf=Md.history;yf.undone.length=0;var Of=+new Date,zf,ih;if((yf.lastOp==Zd||yf.lastOrigin==Vd.origin&&Vd.origin&&(Vd.origin.charAt(0)=="+"&&yf.lastModTime>Of-(Md.cm?Md.cm.options.historyEventDelay:500)||Vd.origin.charAt(0)=="*"))&&(zf=a1(yf,yf.lastOp==Zd)))ih=mh(zf.changes),Eg(Vd.from,Vd.to)==0&&Eg(Vd.from,ih.to)==0?ih.to=ny(Vd):zf.changes.push(U0(Md,Vd));else{var yh=mh(yf.done);for((!yh||!yh.ranges)&&f0(Md.sel,yf.done),zf={changes:[U0(Md,Vd)],generation:yf.generation},yf.done.push(zf);yf.done.length>yf.undoDepth;)yf.done.shift(),yf.done[0].ranges||yf.done.shift()}yf.done.push(df),yf.generation=++yf.maxGeneration,yf.lastModTime=yf.lastSelTime=Of,yf.lastOp=yf.lastSelOp=Zd,yf.lastOrigin=yf.lastSelOrigin=Vd.origin,ih||ug(Md,"historyAdded")}function nx(Md,Vd,df,Zd){var yf=Vd.charAt(0);return yf=="*"||yf=="+"&&df.ranges.length==Zd.ranges.length&&df.somethingSelected()==Zd.somethingSelected()&&new Date-Md.history.lastSelTime<=(Md.cm?Md.cm.options.historyEventDelay:500)}function kE(Md,Vd,df,Zd){var yf=Md.history,Of=Zd&&Zd.origin;df==yf.lastSelOp||Of&&yf.lastSelOrigin==Of&&(yf.lastModTime==yf.lastSelTime&&yf.lastOrigin==Of||nx(Md,Of,mh(yf.done),Vd))?yf.done[yf.done.length-1]=Vd:f0(Vd,yf.done),yf.lastSelTime=+new Date,yf.lastSelOrigin=Of,yf.lastSelOp=df,Zd&&Zd.clearRedo!==!1&&Fb(yf.undone)}function f0(Md,Vd){var df=mh(Vd);df&&df.ranges&&df.equals(Md)||Vd.push(Md)}function gT(Md,Vd,df,Zd){var yf=Vd["spans_"+Md.id],Of=0;Md.iter(Math.max(Md.first,df),Math.min(Md.first+Md.size,Zd),function(zf){zf.markedSpans&&((yf||(yf=Vd["spans_"+Md.id]={}))[Of]=zf.markedSpans),++Of})}function s1(Md){if(!Md)return null;for(var Vd,df=0;df<Md.length;++df)Md[df].marker.explicitlyCleared?Vd||(Vd=Md.slice(0,df)):Vd&&Vd.push(Md[df]);return Vd?Vd.length?Vd:null:Md}function TS(Md,Vd){var df=Vd["spans_"+Md.id];if(!df)return null;for(var Zd=[],yf=0;yf<Vd.text.length;++yf)Zd.push(s1(df[yf]));return Zd}function ix(Md,Vd){var df=TS(Md,Vd),Zd=gE(Md,Vd);if(!df)return Zd;if(!Zd)return df;for(var yf=0;yf<df.length;++yf){var Of=df[yf],zf=Zd[yf];if(Of&&zf)e:for(var ih=0;ih<zf.length;++ih){for(var yh=zf[ih],Ah=0;Ah<Of.length;++Ah)if(Of[Ah].marker==yh.marker)continue e;Of.push(yh)}else zf&&(df[yf]=zf)}return df}function dv(Md,Vd,df){for(var Zd=[],yf=0;yf<Md.length;++yf){var Of=Md[yf];if(Of.ranges){Zd.push(df?j_.prototype.deepCopy.call(Of):Of);continue}var zf=Of.changes,ih=[];Zd.push({changes:ih});for(var yh=0;yh<zf.length;++yh){var Ah=zf[yh],sm=void 0;if(ih.push({from:Ah.from,to:Ah.to,text:Ah.text}),Vd)for(var mm in Ah)(sm=mm.match(/^spans_(\d+)$/))&&Rh(Vd,Number(sm[1]))>-1&&(mh(ih)[mm]=Ah[mm],delete Ah[mm])}}return Zd}function ub(Md,Vd,df,Zd){if(Zd){var yf=Md.anchor;if(df){var Of=Eg(Vd,yf)<0;Of!=Eg(df,yf)<0?(yf=Vd,Vd=df):Of!=Eg(Vd,df)<0&&(Vd=df)}return new E_(yf,Vd)}else return new E_(df||Vd,Vd)}function Xv(Md,Vd,df,Zd,yf){yf==null&&(yf=Md.cm&&(Md.cm.display.shift||Md.extend)),gb(Md,new j_([ub(Md.sel.primary(),Vd,df,yf)],0),Zd)}function yT(Md,Vd,df){for(var Zd=[],yf=Md.cm&&(Md.cm.display.shift||Md.extend),Of=0;Of<Md.sel.ranges.length;Of++)Zd[Of]=ub(Md.sel.ranges[Of],Vd[Of],null,yf);var zf=p0(Md.cm,Zd,Md.sel.primIndex);gb(Md,zf,df)}function Qb(Md,Vd,df,Zd){var yf=Md.sel.ranges.slice(0);yf[Vd]=df,gb(Md,p0(Md.cm,yf,Md.sel.primIndex),Zd)}function xS(Md,Vd,df,Zd){gb(Md,ry(Vd,df),Zd)}function CS(Md,Vd,df){var Zd={ranges:Vd.ranges,update:function(yf){this.ranges=[];for(var Of=0;Of<yf.length;Of++)this.ranges[Of]=new E_(qg(Md,yf[Of].anchor),qg(Md,yf[Of].head))},origin:df&&df.origin};return ug(Md,"beforeSelectionChange",Md,Zd),Md.cm&&ug(Md.cm,"beforeSelectionChange",Md.cm,Zd),Zd.ranges!=Vd.ranges?p0(Md.cm,Zd.ranges,Zd.ranges.length-1):Vd}function sy(Md,Vd,df){var Zd=Md.history.done,yf=mh(Zd);yf&&yf.ranges?(Zd[Zd.length-1]=Vd,_b(Md,Vd,df)):gb(Md,Vd,df)}function gb(Md,Vd,df){_b(Md,Vd,df),kE(Md,Md.sel,Md.cm?Md.cm.curOp.id:NaN,df)}function _b(Md,Vd,df){(Gg(Md,"beforeSelectionChange")||Md.cm&&Gg(Md.cm,"beforeSelectionChange"))&&(Vd=CS(Md,Vd,df));var Zd=df&&df.bias||(Eg(Vd.primary().head,Md.sel.primary().head)<0?-1:1);AS(Md,ox(Md,Vd,Zd,!0)),!(df&&df.scroll===!1)&&Md.cm&&Md.cm.getOption("readOnly")!="nocursor"&&L_(Md.cm)}function AS(Md,Vd){Vd.equals(Md.sel)||(Md.sel=Vd,Md.cm&&(Md.cm.curOp.updateInput=1,Md.cm.curOp.selectionChanged=!0,Kg(Md.cm)),Qd(Md,"cursorActivity",Md))}function sx(Md){AS(Md,ox(Md,Md.sel,null,!1))}function ox(Md,Vd,df,Zd){for(var yf,Of=0;Of<Vd.ranges.length;Of++){var zf=Vd.ranges[Of],ih=Vd.ranges.length==Md.sel.ranges.length&&Md.sel.ranges[Of],yh=Jv(Md,zf.anchor,ih&&ih.anchor,df,Zd),Ah=zf.head==zf.anchor?yh:Jv(Md,zf.head,ih&&ih.head,df,Zd);(yf||yh!=zf.anchor||Ah!=zf.head)&&(yf||(yf=Vd.ranges.slice(0,Of)),yf[Of]=new E_(yh,Ah))}return yf?p0(Md.cm,yf,Vd.primIndex):Vd}function Qv(Md,Vd,df,Zd,yf){var Of=lg(Md,Vd.line);if(Of.markedSpans)for(var zf=0;zf<Of.markedSpans.length;++zf){var ih=Of.markedSpans[zf],yh=ih.marker,Ah="selectLeft"in yh?!yh.selectLeft:yh.inclusiveLeft,sm="selectRight"in yh?!yh.selectRight:yh.inclusiveRight;if((ih.from==null||(Ah?ih.from<=Vd.ch:ih.from<Vd.ch))&&(ih.to==null||(sm?ih.to>=Vd.ch:ih.to>Vd.ch))){if(yf&&(ug(yh,"beforeCursorEnter"),yh.explicitlyCleared))if(Of.markedSpans){--zf;continue}else break;if(!yh.atomic)continue;if(df){var mm=yh.find(Zd<0?1:-1),$m=void 0;if((Zd<0?sm:Ah)&&(mm=lx(Md,mm,-Zd,mm&&mm.line==Vd.line?Of:null)),mm&&mm.line==Vd.line&&($m=Eg(mm,df))&&(Zd<0?$m<0:$m>0))return Qv(Md,mm,Vd,Zd,yf)}var Om=yh.find(Zd<0?-1:1);return(Zd<0?Ah:sm)&&(Om=lx(Md,Om,Zd,Om.line==Vd.line?Of:null)),Om?Qv(Md,Om,Vd,Zd,yf):null}}return Vd}function Jv(Md,Vd,df,Zd,yf){var Of=Zd||1,zf=Qv(Md,Vd,df,Of,yf)||!yf&&Qv(Md,Vd,df,Of,!0)||Qv(Md,Vd,df,-Of,yf)||!yf&&Qv(Md,Vd,df,-Of,!0);return zf||(Md.cantEdit=!0,Um(Md.first,0))}function lx(Md,Vd,df,Zd){return df<0&&Vd.ch==0?Vd.line>Md.first?qg(Md,Um(Vd.line-1)):null:df>0&&Vd.ch==(Zd||lg(Md,Vd.line)).text.length?Vd.line<Md.first+Md.size-1?Um(Vd.line+1,0):null:new Um(Vd.line,Vd.ch+df)}function Zv(Md){Md.setSelection(Um(Md.firstLine(),0),Um(Md.lastLine()),Sh)}function vT(Md,Vd,df){var Zd={canceled:!1,from:Vd.from,to:Vd.to,text:Vd.text,origin:Vd.origin,cancel:function(){return Zd.canceled=!0}};return df&&(Zd.update=function(yf,Of,zf,ih){yf&&(Zd.from=qg(Md,yf)),Of&&(Zd.to=qg(Md,Of)),zf&&(Zd.text=zf),ih!==void 0&&(Zd.origin=ih)}),ug(Md,"beforeChange",Md,Zd),Md.cm&&ug(Md.cm,"beforeChange",Md.cm,Zd),Zd.canceled?(Md.cm&&(Md.cm.curOp.updateInput=2),null):{from:Zd.from,to:Zd.to,text:Zd.text,origin:Zd.origin}}function eE(Md,Vd,df){if(Md.cm){if(!Md.cm.curOp)return C_(Md.cm,eE)(Md,Vd,df);if(Md.cm.state.suppressEdits)return}if(!((Gg(Md,"beforeChange")||Md.cm&&Gg(Md.cm,"beforeChange"))&&(Vd=vT(Md,Vd,!0),!Vd))){var Zd=k0&&!df&&tS(Md,Vd.from,Vd.to);if(Zd)for(var yf=Zd.length-1;yf>=0;--yf)ux(Md,{from:Zd[yf].from,to:Zd[yf].to,text:yf?[""]:Vd.text,origin:Vd.origin});else ux(Md,Vd)}}function ux(Md,Vd){if(!(Vd.text.length==1&&Vd.text[0]==""&&Eg(Vd.from,Vd.to)==0)){var df=SS(Md,Vd);mT(Md,Vd,df,Md.cm?Md.cm.curOp.id:NaN),ME(Md,Vd,df,gE(Md,Vd));var Zd=[];iy(Md,function(yf,Of){!Of&&Rh(Zd,yf.history)==-1&&(hx(yf.history,Vd),Zd.push(yf.history)),ME(yf,Vd,null,gE(yf,Vd))})}}function oy(Md,Vd,df){var Zd=Md.cm&&Md.cm.state.suppressEdits;if(!(Zd&&!df)){for(var yf=Md.history,Of,zf=Md.sel,ih=Vd=="undo"?yf.done:yf.undone,yh=Vd=="undo"?yf.undone:yf.done,Ah=0;Ah<ih.length&&(Of=ih[Ah],!(df?Of.ranges&&!Of.equals(Md.sel):!Of.ranges));Ah++);if(Ah!=ih.length){for(yf.lastOrigin=yf.lastSelOrigin=null;;)if(Of=ih.pop(),Of.ranges){if(f0(Of,yh),df&&!Of.equals(Md.sel)){gb(Md,Of,{clearRedo:!1});return}zf=Of}else if(Zd){ih.push(Of);return}else break;var sm=[];f0(zf,yh),yh.push({changes:sm,generation:yf.generation}),yf.generation=Of.generation||++yf.maxGeneration;for(var mm=Gg(Md,"beforeChange")||Md.cm&&Gg(Md.cm,"beforeChange"),$m=function(Jm){var og=Of.changes[Jm];if(og.origin=Vd,mm&&!vT(Md,og,!1))return ih.length=0,{};sm.push(U0(Md,og));var Tg=Jm?SS(Md,og):mh(ih);ME(Md,og,Tg,ix(Md,og)),!Jm&&Md.cm&&Md.cm.scrollIntoView({from:og.from,to:ny(og)});var Cg=[];iy(Md,function(Sg,Ig){!Ig&&Rh(Cg,Sg.history)==-1&&(hx(Sg.history,og),Cg.push(Sg.history)),ME(Sg,og,null,ix(Sg,og))})},Om=Of.changes.length-1;Om>=0;--Om){var Wm=$m(Om);if(Wm)return Wm.v}}}}function dx(Md,Vd){if(Vd!=0&&(Md.first+=Vd,Md.sel=new j_(Mh(Md.sel.ranges,function(yf){return new E_(Um(yf.anchor.line+Vd,yf.anchor.ch),Um(yf.head.line+Vd,yf.head.ch))}),Md.sel.primIndex),Md.cm)){Ib(Md.cm,Md.first,Md.first-Vd,Vd);for(var df=Md.cm.display,Zd=df.viewFrom;Zd<df.viewTo;Zd++)X0(Md.cm,Zd,"gutter")}}function ME(Md,Vd,df,Zd){if(Md.cm&&!Md.cm.curOp)return C_(Md.cm,ME)(Md,Vd,df,Zd);if(Vd.to.line<Md.first){dx(Md,Vd.text.length-1-(Vd.to.line-Vd.from.line));return}if(!(Vd.from.line>Md.lastLine())){if(Vd.from.line<Md.first){var yf=Vd.text.length-1-(Md.first-Vd.from.line);dx(Md,yf),Vd={from:Um(Md.first,0),to:Um(Vd.to.line+yf,Vd.to.ch),text:[mh(Vd.text)],origin:Vd.origin}}var Of=Md.lastLine();Vd.to.line>Of&&(Vd={from:Vd.from,to:Um(Of,lg(Md,Of).text.length),text:[Vd.text[0]],origin:Vd.origin}),Vd.removed=N_(Md,Vd.from,Vd.to),df||(df=SS(Md,Vd)),Md.cm?ET(Md.cm,Vd,Zd):Yv(Md,Vd,Zd),_b(Md,df,Sh),Md.cantEdit&&Jv(Md,Um(Md.firstLine(),0))&&(Md.cantEdit=!1)}}function ET(Md,Vd,df){var Zd=Md.doc,yf=Md.display,Of=Vd.from,zf=Vd.to,ih=!1,yh=Of.line;Md.options.lineWrapping||(yh=Ch(x_(lg(Zd,Of.line))),Zd.iter(yh,zf.line+1,function(Om){if(Om==yf.maxLine)return ih=!0,!0})),Zd.sel.contains(Vd.from,Vd.to)>-1&&Kg(Md),Yv(Zd,Vd,df,VT(Md)),Md.options.lineWrapping||(Zd.iter(yh,Of.line+Vd.text.length,function(Om){var Wm=Y0(Om);Wm>yf.maxLineLength&&(yf.maxLine=Om,yf.maxLineLength=Wm,yf.maxLineChanged=!0,ih=!1)}),ih&&(Md.curOp.updateMaxLine=!0)),wv(Zd,Of.line),RE(Md,400);var Ah=Vd.text.length-(zf.line-Of.line)-1;Vd.full?Ib(Md):Of.line==zf.line&&Vd.text.length==1&&!Wv(Md.doc,Vd)?X0(Md,Of.line,"text"):Ib(Md,Of.line,zf.line+1,Ah);var sm=Gg(Md,"changes"),mm=Gg(Md,"change");if(mm||sm){var $m={from:Of,to:zf,text:Vd.text,removed:Vd.removed,origin:Vd.origin};mm&&Qd(Md,"change",Md,$m),sm&&(Md.curOp.changeObjs||(Md.curOp.changeObjs=[])).push($m)}Md.display.selForContextMenu=null}function pv(Md,Vd,df,Zd,yf){var Of;Zd||(Zd=df),Eg(Zd,df)<0&&(Of=[Zd,df],df=Of[0],Zd=Of[1]),typeof Vd=="string"&&(Vd=Md.splitLines(Vd)),eE(Md,{from:df,to:Zd,text:Vd,origin:yf})}function px(Md,Vd,df,Zd){df<Md.line?Md.line+=Zd:Vd<Md.line&&(Md.line=Vd,Md.ch=0)}function fx(Md,Vd,df,Zd){for(var yf=0;yf<Md.length;++yf){var Of=Md[yf],zf=!0;if(Of.ranges){Of.copied||(Of=Md[yf]=Of.deepCopy(),Of.copied=!0);for(var ih=0;ih<Of.ranges.length;ih++)px(Of.ranges[ih].anchor,Vd,df,Zd),px(Of.ranges[ih].head,Vd,df,Zd);continue}for(var yh=0;yh<Of.changes.length;++yh){var Ah=Of.changes[yh];if(df<Ah.from.line)Ah.from=Um(Ah.from.line+Zd,Ah.from.ch),Ah.to=Um(Ah.to.line+Zd,Ah.to.ch);else if(Vd<=Ah.to.line){zf=!1;break}}zf||(Md.splice(0,yf+1),yf=0)}}function hx(Md,Vd){var df=Vd.from.line,Zd=Vd.to.line,yf=Vd.text.length-(Zd-df)-1;fx(Md.done,df,Zd,yf),fx(Md.undone,df,Zd,yf)}function tE(Md,Vd,df,Zd){var yf=Vd,Of=Vd;return typeof Vd=="number"?Of=lg(Md,Gb(Md,Vd)):yf=Ch(Vd),yf==null?null:(Zd(Of,yf)&&Md.cm&&X0(Md.cm,yf,df),Of)}function fv(Md){this.lines=Md,this.parent=null;for(var Vd=0,df=0;df<Md.length;++df)Md[df].parent=this,Vd+=Md[df].height;this.height=Vd}fv.prototype={chunkSize:function(){return this.lines.length},removeInner:function(Md,Vd){for(var df=Md,Zd=Md+Vd;df<Zd;++df){var yf=this.lines[df];this.height-=yf.height,Db(yf),Qd(yf,"delete")}this.lines.splice(Md,Vd)},collapse:function(Md){Md.push.apply(Md,this.lines)},insertInner:function(Md,Vd,df){this.height+=df,this.lines=this.lines.slice(0,Md).concat(Vd).concat(this.lines.slice(Md));for(var Zd=0;Zd<Vd.length;++Zd)Vd[Zd].parent=this},iterN:function(Md,Vd,df){for(var Zd=Md+Vd;Md<Zd;++Md)if(df(this.lines[Md]))return!0}};function $E(Md){this.children=Md;for(var Vd=0,df=0,Zd=0;Zd<Md.length;++Zd){var yf=Md[Zd];Vd+=yf.chunkSize(),df+=yf.height,yf.parent=this}this.size=Vd,this.height=df,this.parent=null}$E.prototype={chunkSize:function(){return this.size},removeInner:function(Md,Vd){this.size-=Vd;for(var df=0;df<this.children.length;++df){var Zd=this.children[df],yf=Zd.chunkSize();if(Md<yf){var Of=Math.min(Vd,yf-Md),zf=Zd.height;if(Zd.removeInner(Md,Of),this.height-=zf-Zd.height,yf==Of&&(this.children.splice(df--,1),Zd.parent=null),(Vd-=Of)==0)break;Md=0}else Md-=yf}if(this.size-Vd<25&&(this.children.length>1||!(this.children[0]instanceof fv))){var ih=[];this.collapse(ih),this.children=[new fv(ih)],this.children[0].parent=this}},collapse:function(Md){for(var Vd=0;Vd<this.children.length;++Vd)this.children[Vd].collapse(Md)},insertInner:function(Md,Vd,df){this.size+=Vd.length,this.height+=df;for(var Zd=0;Zd<this.children.length;++Zd){var yf=this.children[Zd],Of=yf.chunkSize();if(Md<=Of){if(yf.insertInner(Md,Vd,df),yf.lines&&yf.lines.length>50){for(var zf=yf.lines.length%25+25,ih=zf;ih<yf.lines.length;){var yh=new fv(yf.lines.slice(ih,ih+=25));yf.height-=yh.height,this.children.splice(++Zd,0,yh),yh.parent=this}yf.lines=yf.lines.slice(0,zf),this.maybeSpill()}break}Md-=Of}},maybeSpill:function(){if(!(this.children.length<=10)){var Md=this;do{var Vd=Md.children.splice(Md.children.length-5,5),df=new $E(Vd);if(Md.parent){Md.size-=df.size,Md.height-=df.height;var yf=Rh(Md.parent.children,Md);Md.parent.children.splice(yf+1,0,df)}else{var Zd=new $E(Md.children);Zd.parent=Md,Md.children=[Zd,df],Md=Zd}df.parent=Md.parent}while(Md.children.length>10);Md.parent.maybeSpill()}},iterN:function(Md,Vd,df){for(var Zd=0;Zd<this.children.length;++Zd){var yf=this.children[Zd],Of=yf.chunkSize();if(Md<Of){var zf=Math.min(Vd,Of-Md);if(yf.iterN(Md,zf,df))return!0;if((Vd-=zf)==0)break;Md=0}else Md-=Of}}};var hv=function(Md,Vd,df){if(df)for(var Zd in df)df.hasOwnProperty(Zd)&&(this[Zd]=df[Zd]);this.doc=Md,this.node=Vd};hv.prototype.clear=function(){var Md=this.doc.cm,Vd=this.line.widgets,df=this.line,Zd=Ch(df);if(!(Zd==null||!Vd)){for(var yf=0;yf<Vd.length;++yf)Vd[yf]==this&&Vd.splice(yf--,1);Vd.length||(df.widgets=null);var Of=p_(this);Ug(df,Math.max(0,df.height-Of)),Md&&(Eb(Md,function(){ST(Md,df,-Of),X0(Md,Zd,"widget")}),Qd(Md,"lineWidgetCleared",Md,this,Zd))}},hv.prototype.changed=function(){var Md=this,Vd=this.height,df=this.doc.cm,Zd=this.line;this.height=null;var yf=p_(this)-Vd;yf&&(q_(this.doc,Zd)||Ug(Zd,Zd.height+yf),df&&Eb(df,function(){df.curOp.forceUpdate=!0,ST(df,Zd,yf),Qd(df,"lineWidgetChanged",df,Md,Ch(Zd))}))},n_(hv);function ST(Md,Vd,df){Wb(Vd)<(Md.curOp&&Md.curOp.scrollTop||Md.doc.scrollTop)&&oT(Md,df)}function mx(Md,Vd,df,Zd){var yf=new hv(Md,df,Zd),Of=Md.cm;return Of&&yf.noHScroll&&(Of.display.alignWidgets=!0),tE(Md,Vd,"widget",function(zf){var ih=zf.widgets||(zf.widgets=[]);if(yf.insertAt==null?ih.push(yf):ih.splice(Math.min(ih.length,Math.max(0,yf.insertAt)),0,yf),yf.line=zf,Of&&!q_(Md,zf)){var yh=Wb(zf)<Md.scrollTop;Ug(zf,zf.height+p_(yf)),yh&&oT(Of,yf.height),Of.curOp.forceUpdate=!0}return!0}),Of&&Qd(Of,"lineWidgetAdded",Of,yf,typeof Vd=="number"?Vd:Ch(Vd)),yf}var TT=0,h0=function(Md,Vd){this.lines=[],this.type=Vd,this.doc=Md,this.id=++TT};h0.prototype.clear=function(){if(!this.explicitlyCleared){var Md=this.doc.cm,Vd=Md&&!Md.curOp;if(Vd&&iv(Md),Gg(this,"clear")){var df=this.find();df&&Qd(this,"clear",df.from,df.to)}for(var Zd=null,yf=null,Of=0;Of<this.lines.length;++Of){var zf=this.lines[Of],ih=W0(zf.markedSpans,this);Md&&!this.collapsed?X0(Md,Ch(zf),"text"):Md&&(ih.to!=null&&(yf=Ch(zf)),ih.from!=null&&(Zd=Ch(zf))),zf.markedSpans=JE(zf.markedSpans,ih),ih.from==null&&this.collapsed&&!q_(this.doc,zf)&&Md&&Ug(zf,s0(Md.display))}if(Md&&this.collapsed&&!Md.options.lineWrapping)for(var yh=0;yh<this.lines.length;++yh){var Ah=x_(this.lines[yh]),sm=Y0(Ah);sm>Md.display.maxLineLength&&(Md.display.maxLine=Ah,Md.display.maxLineLength=sm,Md.display.maxLineChanged=!0)}Zd!=null&&Md&&this.collapsed&&Ib(Md,Zd,yf+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,Md&&sx(Md.doc)),Md&&Qd(Md,"markerCleared",Md,this,Zd,yf),Vd&&ov(Md),this.parent&&this.parent.clear()}},h0.prototype.find=function(Md,Vd){Md==null&&this.type=="bookmark"&&(Md=1);for(var df,Zd,yf=0;yf<this.lines.length;++yf){var Of=this.lines[yf],zf=W0(Of.markedSpans,this);if(zf.from!=null&&(df=Um(Vd?Of:Ch(Of),zf.from),Md==-1))return df;if(zf.to!=null&&(Zd=Um(Vd?Of:Ch(Of),zf.to),Md==1))return Zd}return df&&{from:df,to:Zd}},h0.prototype.changed=function(){var Md=this,Vd=this.find(-1,!0),df=this,Zd=this.doc.cm;!Vd||!Zd||Eb(Zd,function(){var yf=Vd.line,Of=Ch(Vd.line),zf=dS(Zd,Of);if(zf&&(ZS(zf),Zd.curOp.selectionChanged=Zd.curOp.forceUpdate=!0),Zd.curOp.updateMaxLine=!0,!q_(df.doc,yf)&&df.height!=null){var ih=df.height;df.height=null;var yh=p_(df)-ih;yh&&Ug(yf,yf.height+yh)}Qd(Zd,"markerChanged",Zd,Md)})},h0.prototype.attachLine=function(Md){if(!this.lines.length&&this.doc.cm){var Vd=this.doc.cm.curOp;(!Vd.maybeHiddenMarkers||Rh(Vd.maybeHiddenMarkers,this)==-1)&&(Vd.maybeUnhiddenMarkers||(Vd.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(Md)},h0.prototype.detachLine=function(Md){if(this.lines.splice(Rh(this.lines,Md),1),!this.lines.length&&this.doc.cm){var Vd=this.doc.cm.curOp;(Vd.maybeHiddenMarkers||(Vd.maybeHiddenMarkers=[])).push(this)}},n_(h0);function rE(Md,Vd,df,Zd,yf){if(Zd&&Zd.shared)return gx(Md,Vd,df,Zd,yf);if(Md.cm&&!Md.cm.curOp)return C_(Md.cm,rE)(Md,Vd,df,Zd,yf);var Of=new h0(Md,yf),zf=Eg(Vd,df);if(Zd&&xf(Zd,Of,!1),zf>0||zf==0&&Of.clearWhenEmpty!==!1)return Of;if(Of.replacedWith&&(Of.collapsed=!0,Of.widgetNode=Nf("span",[Of.replacedWith],"CodeMirror-widget"),Zd.handleMouseEvents||Of.widgetNode.setAttribute("cm-ignore-events","true"),Zd.insertLeft&&(Of.widgetNode.insertLeft=!0)),Of.collapsed){if(vE(Md,Vd.line,Vd,df,Of)||Vd.line!=df.line&&vE(Md,df.line,Vd,df,Of))throw new Error("Inserting collapsed marker partially overlapping an existing one");r0()}Of.addToHistory&&mT(Md,{from:Vd,to:df,origin:"markText"},Md.sel,NaN);var ih=Vd.line,yh=Md.cm,Ah;if(Md.iter(ih,df.line+1,function(mm){yh&&Of.collapsed&&!yh.options.lineWrapping&&x_(mm)==yh.display.maxLine&&(Ah=!0),Of.collapsed&&ih!=Vd.line&&Ug(mm,0),mE(mm,new M0(Of,ih==Vd.line?Vd.ch:null,ih==df.line?df.ch:null),Md.cm&&Md.cm.curOp),++ih}),Of.collapsed&&Md.iter(Vd.line,df.line+1,function(mm){q_(Md,mm)&&Ug(mm,0)}),Of.clearOnEnter&&jm(Of,"beforeCursorEnter",function(){return Of.clear()}),Of.readOnly&&(Mb(),(Md.history.done.length||Md.history.undone.length)&&Md.clearHistory()),Of.collapsed&&(Of.id=++TT,Of.atomic=!0),yh){if(Ah&&(yh.curOp.updateMaxLine=!0),Of.collapsed)Ib(yh,Vd.line,df.line+1);else if(Of.className||Of.startStyle||Of.endStyle||Of.css||Of.attributes||Of.title)for(var sm=Vd.line;sm<=df.line;sm++)X0(yh,sm,"text");Of.atomic&&sx(yh.doc),Qd(yh,"markerAdded",yh,Of)}return Of}var nE=function(Md,Vd){this.markers=Md,this.primary=Vd;for(var df=0;df<Md.length;++df)Md[df].parent=this};nE.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var Md=0;Md<this.markers.length;++Md)this.markers[Md].clear();Qd(this,"clear")}},nE.prototype.find=function(Md,Vd){return this.primary.find(Md,Vd)},n_(nE);function gx(Md,Vd,df,Zd,yf){Zd=xf(Zd),Zd.shared=!1;var Of=[rE(Md,Vd,df,Zd,yf)],zf=Of[0],ih=Zd.widgetNode;return iy(Md,function(yh){ih&&(Zd.widgetNode=ih.cloneNode(!0)),Of.push(rE(yh,qg(yh,Vd),qg(yh,df),Zd,yf));for(var Ah=0;Ah<yh.linked.length;++Ah)if(yh.linked[Ah].isParent)return;zf=mh(Of)}),new nE(Of,zf)}function _x(Md){return Md.findMarks(Um(Md.first,0),Md.clipPos(Um(Md.lastLine())),function(Vd){return Vd.parent})}function yx(Md,Vd){for(var df=0;df<Vd.length;df++){var Zd=Vd[df],yf=Zd.find(),Of=Md.clipPos(yf.from),zf=Md.clipPos(yf.to);if(Eg(Of,zf)){var ih=rE(Md,Of,zf,Zd.primary,Zd.primary.type);Zd.markers.push(ih),ih.parent=Zd}}}function o1(Md){for(var Vd=function(Zd){var yf=Md[Zd],Of=[yf.primary.doc];iy(yf.primary.doc,function(yh){return Of.push(yh)});for(var zf=0;zf<yf.markers.length;zf++){var ih=yf.markers[zf];Rh(Of,ih.doc)==-1&&(ih.parent=null,yf.markers.splice(zf--,1))}},df=0;df<Md.length;df++)Vd(df)}var xT=0,Cb=function(Md,Vd,df,Zd,yf){if(!(this instanceof Cb))return new Cb(Md,Vd,df,Zd,yf);df==null&&(df=0),$E.call(this,[new fv([new n0("",null)])]),this.first=df,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=df;var Of=Um(df,0);this.sel=ry(Of),this.history=new Kv(null),this.id=++xT,this.modeOption=Vd,this.lineSep=Zd,this.direction=yf=="rtl"?"rtl":"ltr",this.extend=!1,typeof Md=="string"&&(Md=this.splitLines(Md)),Yv(this,{from:Of,to:Of,text:Md}),gb(this,ry(Of),Sh)};Cb.prototype=Jh($E.prototype,{constructor:Cb,iter:function(Md,Vd,df){df?this.iterN(Md-this.first,Vd-Md,df):this.iterN(this.first,this.first+this.size,Md)},insert:function(Md,Vd){for(var df=0,Zd=0;Zd<Vd.length;++Zd)df+=Vd[Zd].height;this.insertInner(Md-this.first,Vd,df)},remove:function(Md,Vd){this.removeInner(Md-this.first,Vd)},getValue:function(Md){var Vd=Zg(this,this.first,this.first+this.size);return Md===!1?Vd:Vd.join(Md||this.lineSeparator())},setValue:lb(function(Md){var Vd=Um(this.first,0),df=this.first+this.size-1;eE(this,{from:Vd,to:Um(df,lg(this,df).text.length),text:this.splitLines(Md),origin:"setValue",full:!0},!0),this.cm&&tb(this.cm,0,0),gb(this,ry(Vd),Sh)}),replaceRange:function(Md,Vd,df,Zd){Vd=qg(this,Vd),df=df?qg(this,df):Vd,pv(this,Md,Vd,df,Zd)},getRange:function(Md,Vd,df){var Zd=N_(this,qg(this,Md),qg(this,Vd));return df===!1?Zd:df===""?Zd.join(""):Zd.join(df||this.lineSeparator())},getLine:function(Md){var Vd=this.getLineHandle(Md);return Vd&&Vd.text},getLineHandle:function(Md){if(Ym(this,Md))return lg(this,Md)},getLineNumber:function(Md){return Ch(Md)},getLineHandleVisualStart:function(Md){return typeof Md=="number"&&(Md=lg(this,Md)),x_(Md)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(Md){return qg(this,Md)},getCursor:function(Md){var Vd=this.sel.primary(),df;return Md==null||Md=="head"?df=Vd.head:Md=="anchor"?df=Vd.anchor:Md=="end"||Md=="to"||Md===!1?df=Vd.to():df=Vd.from(),df},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:lb(function(Md,Vd,df){xS(this,qg(this,typeof Md=="number"?Um(Md,Vd||0):Md),null,df)}),setSelection:lb(function(Md,Vd,df){xS(this,qg(this,Md),qg(this,Vd||Md),df)}),extendSelection:lb(function(Md,Vd,df){Xv(this,qg(this,Md),Vd&&qg(this,Vd),df)}),extendSelections:lb(function(Md,Vd){yT(this,O_(this,Md),Vd)}),extendSelectionsBy:lb(function(Md,Vd){var df=Mh(this.sel.ranges,Md);yT(this,O_(this,df),Vd)}),setSelections:lb(function(Md,Vd,df){if(Md.length){for(var Zd=[],yf=0;yf<Md.length;yf++)Zd[yf]=new E_(qg(this,Md[yf].anchor),qg(this,Md[yf].head||Md[yf].anchor));Vd==null&&(Vd=Math.min(Md.length-1,this.sel.primIndex)),gb(this,p0(this.cm,Zd,Vd),df)}}),addSelection:lb(function(Md,Vd,df){var Zd=this.sel.ranges.slice(0);Zd.push(new E_(qg(this,Md),qg(this,Vd||Md))),gb(this,p0(this.cm,Zd,Zd.length-1),df)}),getSelection:function(Md){for(var Vd=this.sel.ranges,df,Zd=0;Zd<Vd.length;Zd++){var yf=N_(this,Vd[Zd].from(),Vd[Zd].to());df=df?df.concat(yf):yf}return Md===!1?df:df.join(Md||this.lineSeparator())},getSelections:function(Md){for(var Vd=[],df=this.sel.ranges,Zd=0;Zd<df.length;Zd++){var yf=N_(this,df[Zd].from(),df[Zd].to());Md!==!1&&(yf=yf.join(Md||this.lineSeparator())),Vd[Zd]=yf}return Vd},replaceSelection:function(Md,Vd,df){for(var Zd=[],yf=0;yf<this.sel.ranges.length;yf++)Zd[yf]=Md;this.replaceSelections(Zd,Vd,df||"+input")},replaceSelections:lb(function(Md,Vd,df){for(var Zd=[],yf=this.sel,Of=0;Of<yf.ranges.length;Of++){var zf=yf.ranges[Of];Zd[Of]={from:zf.from(),to:zf.to(),text:this.splitLines(Md[Of]),origin:df}}for(var ih=Vd&&Vd!="end"&&i1(this,Zd,Vd),yh=Zd.length-1;yh>=0;yh--)eE(this,Zd[yh]);ih?sy(this,ih):this.cm&&L_(this.cm)}),undo:lb(function(){oy(this,"undo")}),redo:lb(function(){oy(this,"redo")}),undoSelection:lb(function(){oy(this,"undo",!0)}),redoSelection:lb(function(){oy(this,"redo",!0)}),setExtending:function(Md){this.extend=Md},getExtending:function(){return this.extend},historySize:function(){for(var Md=this.history,Vd=0,df=0,Zd=0;Zd<Md.done.length;Zd++)Md.done[Zd].ranges||++Vd;for(var yf=0;yf<Md.undone.length;yf++)Md.undone[yf].ranges||++df;return{undo:Vd,redo:df}},clearHistory:function(){var Md=this;this.history=new Kv(this.history),iy(this,function(Vd){return Vd.history=Md.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(Md){return Md&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(Md){return this.history.generation==(Md||this.cleanGeneration)},getHistory:function(){return{done:dv(this.history.done),undone:dv(this.history.undone)}},setHistory:function(Md){var Vd=this.history=new Kv(this.history);Vd.done=dv(Md.done.slice(0),null,!0),Vd.undone=dv(Md.undone.slice(0),null,!0)},setGutterMarker:lb(function(Md,Vd,df){return tE(this,Md,"gutter",function(Zd){var yf=Zd.gutterMarkers||(Zd.gutterMarkers={});return yf[Vd]=df,!df&&Lm(yf)&&(Zd.gutterMarkers=null),!0})}),clearGutter:lb(function(Md){var Vd=this;this.iter(function(df){df.gutterMarkers&&df.gutterMarkers[Md]&&tE(Vd,df,"gutter",function(){return df.gutterMarkers[Md]=null,Lm(df.gutterMarkers)&&(df.gutterMarkers=null),!0})})}),lineInfo:function(Md){var Vd;if(typeof Md=="number"){if(!Ym(this,Md)||(Vd=Md,Md=lg(this,Md),!Md))return null}else if(Vd=Ch(Md),Vd==null)return null;return{line:Vd,handle:Md,text:Md.text,gutterMarkers:Md.gutterMarkers,textClass:Md.textClass,bgClass:Md.bgClass,wrapClass:Md.wrapClass,widgets:Md.widgets}},addLineClass:lb(function(Md,Vd,df){return tE(this,Md,Vd=="gutter"?"gutter":"class",function(Zd){var yf=Vd=="text"?"textClass":Vd=="background"?"bgClass":Vd=="gutter"?"gutterClass":"wrapClass";if(!Zd[yf])Zd[yf]=df;else{if(mf(df).test(Zd[yf]))return!1;Zd[yf]+=" "+df}return!0})}),removeLineClass:lb(function(Md,Vd,df){return tE(this,Md,Vd=="gutter"?"gutter":"class",function(Zd){var yf=Vd=="text"?"textClass":Vd=="background"?"bgClass":Vd=="gutter"?"gutterClass":"wrapClass",Of=Zd[yf];if(Of)if(df==null)Zd[yf]=null;else{var zf=Of.match(mf(df));if(!zf)return!1;var ih=zf.index+zf[0].length;Zd[yf]=Of.slice(0,zf.index)+(!zf.index||ih==Of.length?"":" ")+Of.slice(ih)||null}else return!1;return!0})}),addLineWidget:lb(function(Md,Vd,df){return mx(this,Md,Vd,df)}),removeLineWidget:function(Md){Md.clear()},markText:function(Md,Vd,df){return rE(this,qg(this,Md),qg(this,Vd),df,df&&df.type||"range")},setBookmark:function(Md,Vd){var df={replacedWith:Vd&&(Vd.nodeType==null?Vd.widget:Vd),insertLeft:Vd&&Vd.insertLeft,clearWhenEmpty:!1,shared:Vd&&Vd.shared,handleMouseEvents:Vd&&Vd.handleMouseEvents};return Md=qg(this,Md),rE(this,Md,Md,df,"bookmark")},findMarksAt:function(Md){Md=qg(this,Md);var Vd=[],df=lg(this,Md.line).markedSpans;if(df)for(var Zd=0;Zd<df.length;++Zd){var yf=df[Zd];(yf.from==null||yf.from<=Md.ch)&&(yf.to==null||yf.to>=Md.ch)&&Vd.push(yf.marker.parent||yf.marker)}return Vd},findMarks:function(Md,Vd,df){Md=qg(this,Md),Vd=qg(this,Vd);var Zd=[],yf=Md.line;return this.iter(Md.line,Vd.line+1,function(Of){var zf=Of.markedSpans;if(zf)for(var ih=0;ih<zf.length;ih++){var yh=zf[ih];!(yh.to!=null&&yf==Md.line&&Md.ch>=yh.to||yh.from==null&&yf!=Md.line||yh.from!=null&&yf==Vd.line&&yh.from>=Vd.ch)&&(!df||df(yh.marker))&&Zd.push(yh.marker.parent||yh.marker)}++yf}),Zd},getAllMarks:function(){var Md=[];return this.iter(function(Vd){var df=Vd.markedSpans;if(df)for(var Zd=0;Zd<df.length;++Zd)df[Zd].from!=null&&Md.push(df[Zd].marker)}),Md},posFromIndex:function(Md){var Vd,df=this.first,Zd=this.lineSeparator().length;return this.iter(function(yf){var Of=yf.text.length+Zd;if(Of>Md)return Vd=Md,!0;Md-=Of,++df}),qg(this,Um(df,Vd))},indexFromPos:function(Md){Md=qg(this,Md);var Vd=Md.ch;if(Md.line<this.first||Md.ch<0)return 0;var df=this.lineSeparator().length;return this.iter(this.first,Md.line,function(Zd){Vd+=Zd.text.length+df}),Vd},copy:function(Md){var Vd=new Cb(Zg(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return Vd.scrollTop=this.scrollTop,Vd.scrollLeft=this.scrollLeft,Vd.sel=this.sel,Vd.extend=!1,Md&&(Vd.history.undoDepth=this.history.undoDepth,Vd.setHistory(this.getHistory())),Vd},linkedDoc:function(Md){Md||(Md={});var Vd=this.first,df=this.first+this.size;Md.from!=null&&Md.from>Vd&&(Vd=Md.from),Md.to!=null&&Md.to<df&&(df=Md.to);var Zd=new Cb(Zg(this,Vd,df),Md.mode||this.modeOption,Vd,this.lineSep,this.direction);return Md.sharedHist&&(Zd.history=this.history),(this.linked||(this.linked=[])).push({doc:Zd,sharedHist:Md.sharedHist}),Zd.linked=[{doc:this,isParent:!0,sharedHist:Md.sharedHist}],yx(Zd,_x(this)),Zd},unlinkDoc:function(Md){if(Md instanceof __&&(Md=Md.doc),this.linked)for(var Vd=0;Vd<this.linked.length;++Vd){var df=this.linked[Vd];if(df.doc==Md){this.linked.splice(Vd,1),Md.unlinkDoc(this),o1(_x(this));break}}if(Md.history==this.history){var Zd=[Md.id];iy(Md,function(yf){return Zd.push(yf.id)},!0),Md.history=new Kv(null),Md.history.done=dv(this.history.done,Zd),Md.history.undone=dv(this.history.undone,Zd)}},iterLinkedDocs:function(Md){iy(this,Md)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(Md){return this.lineSep?Md.split(this.lineSep):jf(Md)},lineSeparator:function(){return this.lineSep||`
`},setDirection:lb(function(Md){Md!="rtl"&&(Md="ltr"),Md!=this.direction&&(this.direction=Md,this.iter(function(Vd){return Vd.order=null}),this.cm&&j0(this.cm))})}),Cb.prototype.eachLine=Cb.prototype.iter;var wS=0;function l1(Md){var Vd=this;if(vx(Vd),!(wg(Vd,Md)||v_(Vd.display,Md))){Pg(Md),fd&&(wS=+new Date);var df=S0(Vd,Md,!0),Zd=Md.dataTransfer.files;if(!(!df||Vd.isReadOnly()))if(Zd&&Zd.length&&window.FileReader&&window.File)for(var yf=Zd.length,Of=Array(yf),zf=0,ih=function(){++zf==yf&&C_(Vd,function(){df=qg(Vd.doc,df);var Om={from:df,to:df,text:Vd.doc.splitLines(Of.filter(function(Wm){return Wm!=null}).join(Vd.doc.lineSeparator())),origin:"paste"};eE(Vd.doc,Om),sy(Vd.doc,ry(qg(Vd.doc,df),qg(Vd.doc,ny(Om))))})()},yh=function(Om,Wm){if(Vd.options.allowDropFileTypes&&Rh(Vd.options.allowDropFileTypes,Om.type)==-1){ih();return}var Jm=new FileReader;Jm.onerror=function(){return ih()},Jm.onload=function(){var og=Jm.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(og)){ih();return}Of[Wm]=og,ih()},Jm.readAsText(Om)},Ah=0;Ah<Zd.length;Ah++)yh(Zd[Ah],Ah);else{if(Vd.state.draggingText&&Vd.doc.sel.contains(df)>-1){Vd.state.draggingText(Md),setTimeout(function(){return Vd.display.input.focus()},20);return}try{var sm=Md.dataTransfer.getData("Text");if(sm){var mm;if(Vd.state.draggingText&&!Vd.state.draggingText.copy&&(mm=Vd.listSelections()),_b(Vd.doc,ry(df,df)),mm)for(var $m=0;$m<mm.length;++$m)pv(Vd.doc,"",mm[$m].anchor,mm[$m].head,"drag");Vd.replaceSelection(sm,"around","paste"),Vd.display.input.focus()}}catch{}}}}function CT(Md,Vd){if(fd&&(!Md.state.draggingText||+new Date-wS<100)){M_(Vd);return}if(!(wg(Md,Vd)||v_(Md.display,Vd))&&(Vd.dataTransfer.setData("Text",Md.getSelection()),Vd.dataTransfer.effectAllowed="copyMove",Vd.dataTransfer.setDragImage&&!Ld)){var df=Ef("img",null,null,"position: fixed; left: 0; top: 0;");df.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",kd&&(df.width=df.height=1,Md.display.wrapper.appendChild(df),df._top=df.offsetTop),Vd.dataTransfer.setDragImage(df,0,0),kd&&df.parentNode.removeChild(df)}}function o_(Md,Vd){var df=S0(Md,Vd);if(df){var Zd=document.createDocumentFragment();mS(Md,df,Zd),Md.display.dragCursor||(Md.display.dragCursor=Ef("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),Md.display.lineSpace.insertBefore(Md.display.dragCursor,Md.display.cursorDiv)),Af(Md.display.dragCursor,Zd)}}function vx(Md){Md.display.dragCursor&&(Md.display.lineSpace.removeChild(Md.display.dragCursor),Md.display.dragCursor=null)}function Ex(Md){if(document.getElementsByClassName){for(var Vd=document.getElementsByClassName("CodeMirror"),df=[],Zd=0;Zd<Vd.length;Zd++){var yf=Vd[Zd].CodeMirror;yf&&df.push(yf)}df.length&&df[0].operation(function(){for(var Of=0;Of<df.length;Of++)Md(df[Of])})}}var iE=!1;function Sx(){iE||(u1(),iE=!0)}function u1(){var Md;jm(window,"resize",function(){Md==null&&(Md=setTimeout(function(){Md=null,Ex(c1)},100))}),jm(window,"blur",function(){return Ex(qv)})}function c1(Md){var Vd=Md.display;Vd.cachedCharWidth=Vd.cachedTextHeight=Vd.cachedPaddingH=null,Vd.scrollbarsClipped=!1,Md.setSize()}for(var db={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},PE=0;PE<10;PE++)db[PE+48]=db[PE+96]=String(PE);for(var mv=65;mv<=90;mv++)db[mv]=String.fromCharCode(mv);for(var gv=1;gv<=12;gv++)db[gv+111]=db[gv+63235]="F"+gv;var C0={};C0.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},C0.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},C0.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},C0.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},C0.default=zd?C0.macDefault:C0.pcDefault;function Tx(Md){var Vd=Md.split(/-(?!$)/);Md=Vd[Vd.length-1];for(var df,Zd,yf,Of,zf=0;zf<Vd.length-1;zf++){var ih=Vd[zf];if(/^(cmd|meta|m)$/i.test(ih))Of=!0;else if(/^a(lt)?$/i.test(ih))df=!0;else if(/^(c|ctrl|control)$/i.test(ih))Zd=!0;else if(/^s(hift)?$/i.test(ih))yf=!0;else throw new Error("Unrecognized modifier name: "+ih)}return df&&(Md="Alt-"+Md),Zd&&(Md="Ctrl-"+Md),Of&&(Md="Cmd-"+Md),yf&&(Md="Shift-"+Md),Md}function jb(Md){var Vd={};for(var df in Md)if(Md.hasOwnProperty(df)){var Zd=Md[df];if(/^(name|fallthrough|(de|at)tach)$/.test(df))continue;if(Zd=="..."){delete Md[df];continue}for(var yf=Mh(df.split(" "),Tx),Of=0;Of<yf.length;Of++){var zf=void 0,ih=void 0;Of==yf.length-1?(ih=yf.join(" "),zf=Zd):(ih=yf.slice(0,Of+1).join(" "),zf="...");var yh=Vd[ih];if(!yh)Vd[ih]=zf;else if(yh!=zf)throw new Error("Inconsistent bindings for "+ih)}delete Md[df]}for(var Ah in Vd)Md[Ah]=Vd[Ah];return Md}function Ub(Md,Vd,df,Zd){Vd=BE(Vd);var yf=Vd.call?Vd.call(Md,Zd):Vd[Md];if(yf===!1)return"nothing";if(yf==="...")return"multi";if(yf!=null&&df(yf))return"handled";if(Vd.fallthrough){if(Object.prototype.toString.call(Vd.fallthrough)!="[object Array]")return Ub(Md,Vd.fallthrough,df,Zd);for(var Of=0;Of<Vd.fallthrough.length;Of++){var zf=Ub(Md,Vd.fallthrough[Of],df,Zd);if(zf)return zf}}}function DS(Md){var Vd=typeof Md=="string"?Md:db[Md.keyCode];return Vd=="Ctrl"||Vd=="Alt"||Vd=="Shift"||Vd=="Mod"}function AT(Md,Vd,df){var Zd=Md;return Vd.altKey&&Zd!="Alt"&&(Md="Alt-"+Md),(Xd?Vd.metaKey:Vd.ctrlKey)&&Zd!="Ctrl"&&(Md="Ctrl-"+Md),(Xd?Vd.ctrlKey:Vd.metaKey)&&Zd!="Mod"&&(Md="Cmd-"+Md),!df&&Vd.shiftKey&&Zd!="Shift"&&(Md="Shift-"+Md),Md}function LE(Md,Vd){if(kd&&Md.keyCode==34&&Md.char)return!1;var df=db[Md.keyCode];return df==null||Md.altGraphKey?!1:(Md.keyCode==3&&Md.code&&(df=Md.code),AT(df,Md,Vd))}function BE(Md){return typeof Md=="string"?C0[Md]:Md}function uy(Md,Vd){for(var df=Md.doc.sel.ranges,Zd=[],yf=0;yf<df.length;yf++){for(var Of=Vd(df[yf]);Zd.length&&Eg(Of.from,mh(Zd).to)<=0;){var zf=Zd.pop();if(Eg(zf.from,Of.from)<0){Of.from=zf.from;break}}Zd.push(Of)}Eb(Md,function(){for(var ih=Zd.length-1;ih>=0;ih--)pv(Md.doc,"",Zd[ih].from,Zd[ih].to,"+delete");L_(Md)})}function IS(Md,Vd,df){var Zd=Rf(Md.text,Vd+df,df);return Zd<0||Zd>Md.text.length?null:Zd}function FE(Md,Vd,df){var Zd=IS(Md,Vd.ch,df);return Zd==null?null:new Um(Vd.line,Zd,df<0?"after":"before")}function jE(Md,Vd,df,Zd,yf){if(Md){Vd.doc.direction=="rtl"&&(yf=-yf);var Of=Dm(df,Vd.doc.direction);if(Of){var zf=yf<0?mh(Of):Of[0],ih=yf<0==(zf.level==1),yh=ih?"after":"before",Ah;if(zf.level>0||Vd.doc.direction=="rtl"){var sm=Lb(Vd,df);Ah=yf<0?df.text.length-1:0;var mm=Bb(Vd,sm,Ah).top;Ah=wf(function($m){return Bb(Vd,sm,$m).top==mm},yf<0==(zf.level==1)?zf.from:zf.to-1,Ah),yh=="before"&&(Ah=IS(df,Ah,1))}else Ah=yf<0?zf.to:zf.from;return new Um(Zd,Ah,yh)}}return new Um(Zd,yf<0?df.text.length:0,yf<0?"before":"after")}function Sy(Md,Vd,df,Zd){var yf=Dm(Vd,Md.doc.direction);if(!yf)return FE(Vd,df,Zd);df.ch>=Vd.text.length?(df.ch=Vd.text.length,df.sticky="before"):df.ch<=0&&(df.ch=0,df.sticky="after");var Of=Wh(yf,df.ch,df.sticky),zf=yf[Of];if(Md.doc.direction=="ltr"&&zf.level%2==0&&(Zd>0?zf.to>df.ch:zf.from<df.ch))return FE(Vd,df,Zd);var ih=function(Tg,Cg){return IS(Vd,Tg instanceof Um?Tg.ch:Tg,Cg)},yh,Ah=function(Tg){return Md.options.lineWrapping?(yh=yh||Lb(Md,Vd),D_(Md,Vd,yh,Tg)):{begin:0,end:Vd.text.length}},sm=Ah(df.sticky=="before"?ih(df,-1):df.ch);if(Md.doc.direction=="rtl"||zf.level==1){var mm=zf.level==1==Zd<0,$m=ih(df,mm?1:-1);if($m!=null&&(mm?$m<=zf.to&&$m<=sm.end:$m>=zf.from&&$m>=sm.begin)){var Om=mm?"before":"after";return new Um(df.line,$m,Om)}}var Wm=function(Tg,Cg,Sg){for(var Ig=function(w_,z_){return z_?new Um(df.line,ih(w_,1),"before"):new Um(df.line,w_,"after")};Tg>=0&&Tg<yf.length;Tg+=Cg){var jg=yf[Tg],Lg=Cg>0==(jg.level!=1),i_=Lg?Sg.begin:ih(Sg.end,-1);if(jg.from<=i_&&i_<jg.to||(i_=Lg?jg.from:ih(jg.to,-1),Sg.begin<=i_&&i_<Sg.end))return Ig(i_,Lg)}},Jm=Wm(Of+Zd,Zd,sm);if(Jm)return Jm;var og=Zd>0?sm.end:ih(sm.begin,-1);return og!=null&&!(Zd>0&&og==Vd.text.length)&&(Jm=Wm(Zd>0?0:yf.length-1,Zd,Ah(og)),Jm)?Jm:null}var UE={selectAll:Zv,singleSelection:function(Md){return Md.setSelection(Md.getCursor("anchor"),Md.getCursor("head"),Sh)},killLine:function(Md){return uy(Md,function(Vd){if(Vd.empty()){var df=lg(Md.doc,Vd.head.line).text.length;return Vd.head.ch==df&&Vd.head.line<Md.lastLine()?{from:Vd.head,to:Um(Vd.head.line+1,0)}:{from:Vd.head,to:Um(Vd.head.line,df)}}else return{from:Vd.from(),to:Vd.to()}})},deleteLine:function(Md){return uy(Md,function(Vd){return{from:Um(Vd.from().line,0),to:qg(Md.doc,Um(Vd.to().line+1,0))}})},delLineLeft:function(Md){return uy(Md,function(Vd){return{from:Um(Vd.from().line,0),to:Vd.from()}})},delWrappedLineLeft:function(Md){return uy(Md,function(Vd){var df=Md.charCoords(Vd.head,"div").top+5,Zd=Md.coordsChar({left:0,top:df},"div");return{from:Zd,to:Vd.from()}})},delWrappedLineRight:function(Md){return uy(Md,function(Vd){var df=Md.charCoords(Vd.head,"div").top+5,Zd=Md.coordsChar({left:Md.display.lineDiv.offsetWidth+100,top:df},"div");return{from:Vd.from(),to:Zd}})},undo:function(Md){return Md.undo()},redo:function(Md){return Md.redo()},undoSelection:function(Md){return Md.undoSelection()},redoSelection:function(Md){return Md.redoSelection()},goDocStart:function(Md){return Md.extendSelection(Um(Md.firstLine(),0))},goDocEnd:function(Md){return Md.extendSelection(Um(Md.lastLine()))},goLineStart:function(Md){return Md.extendSelectionsBy(function(Vd){return H0(Md,Vd.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(Md){return Md.extendSelectionsBy(function(Vd){return wT(Md,Vd.head)},{origin:"+move",bias:1})},goLineEnd:function(Md){return Md.extendSelectionsBy(function(Vd){return xx(Md,Vd.head.line)},{origin:"+move",bias:-1})},goLineRight:function(Md){return Md.extendSelectionsBy(function(Vd){var df=Md.cursorCoords(Vd.head,"div").top+5;return Md.coordsChar({left:Md.display.lineDiv.offsetWidth+100,top:df},"div")},uh)},goLineLeft:function(Md){return Md.extendSelectionsBy(function(Vd){var df=Md.cursorCoords(Vd.head,"div").top+5;return Md.coordsChar({left:0,top:df},"div")},uh)},goLineLeftSmart:function(Md){return Md.extendSelectionsBy(function(Vd){var df=Md.cursorCoords(Vd.head,"div").top+5,Zd=Md.coordsChar({left:0,top:df},"div");return Zd.ch<Md.getLine(Zd.line).search(/\S/)?wT(Md,Vd.head):Zd},uh)},goLineUp:function(Md){return Md.moveV(-1,"line")},goLineDown:function(Md){return Md.moveV(1,"line")},goPageUp:function(Md){return Md.moveV(-1,"page")},goPageDown:function(Md){return Md.moveV(1,"page")},goCharLeft:function(Md){return Md.moveH(-1,"char")},goCharRight:function(Md){return Md.moveH(1,"char")},goColumnLeft:function(Md){return Md.moveH(-1,"column")},goColumnRight:function(Md){return Md.moveH(1,"column")},goWordLeft:function(Md){return Md.moveH(-1,"word")},goGroupRight:function(Md){return Md.moveH(1,"group")},goGroupLeft:function(Md){return Md.moveH(-1,"group")},goWordRight:function(Md){return Md.moveH(1,"word")},delCharBefore:function(Md){return Md.deleteH(-1,"codepoint")},delCharAfter:function(Md){return Md.deleteH(1,"char")},delWordBefore:function(Md){return Md.deleteH(-1,"word")},delWordAfter:function(Md){return Md.deleteH(1,"word")},delGroupBefore:function(Md){return Md.deleteH(-1,"group")},delGroupAfter:function(Md){return Md.deleteH(1,"group")},indentAuto:function(Md){return Md.indentSelection("smart")},indentMore:function(Md){return Md.indentSelection("add")},indentLess:function(Md){return Md.indentSelection("subtract")},insertTab:function(Md){return Md.replaceSelection(" ")},insertSoftTab:function(Md){for(var Vd=[],df=Md.listSelections(),Zd=Md.options.tabSize,yf=0;yf<df.length;yf++){var Of=df[yf].from(),zf=Yf(Md.getLine(Of.line),Of.ch,Zd);Vd.push(Zf(Zd-zf%Zd))}Md.replaceSelections(Vd)},defaultTab:function(Md){Md.somethingSelected()?Md.indentSelection("add"):Md.execCommand("insertTab")},transposeChars:function(Md){return Eb(Md,function(){for(var Vd=Md.listSelections(),df=[],Zd=0;Zd<Vd.length;Zd++)if(Vd[Zd].empty()){var yf=Vd[Zd].head,Of=lg(Md.doc,yf.line).text;if(Of){if(yf.ch==Of.length&&(yf=new Um(yf.line,yf.ch-1)),yf.ch>0)yf=new Um(yf.line,yf.ch+1),Md.replaceRange(Of.charAt(yf.ch-1)+Of.charAt(yf.ch-2),Um(yf.line,yf.ch-2),yf,"+transpose");else if(yf.line>Md.doc.first){var zf=lg(Md.doc,yf.line-1).text;zf&&(yf=new Um(yf.line,1),Md.replaceRange(Of.charAt(0)+Md.doc.lineSeparator()+zf.charAt(zf.length-1),Um(yf.line-1,zf.length-1),yf,"+transpose"))}}df.push(new E_(yf,yf))}Md.setSelections(df)})},newlineAndIndent:function(Md){return Eb(Md,function(){for(var Vd=Md.listSelections(),df=Vd.length-1;df>=0;df--)Md.replaceRange(Md.doc.lineSeparator(),Vd[df].anchor,Vd[df].head,"+input");Vd=Md.listSelections();for(var Zd=0;Zd<Vd.length;Zd++)Md.indentLine(Vd[Zd].from().line,null,!0);L_(Md)})},openLine:function(Md){return Md.replaceSelection(`
`,"start")},toggleOverwrite:function(Md){return Md.toggleOverwrite()}};function H0(Md,Vd){var df=lg(Md.doc,Vd),Zd=x_(df);return Zd!=df&&(Vd=Ch(Zd)),jE(!0,Md,Zd,Vd,1)}function xx(Md,Vd){var df=lg(Md.doc,Vd),Zd=SE(df);return Zd!=df&&(Vd=Ch(Zd)),jE(!0,Md,df,Vd,-1)}function wT(Md,Vd){var df=H0(Md,Vd.line),Zd=lg(Md.doc,df.line),yf=Dm(Zd,Md.doc.direction);if(!yf||yf[0].level==0){var Of=Math.max(df.ch,Zd.text.search(/\S/)),zf=Vd.line==df.line&&Vd.ch<=Of&&Vd.ch;return Um(df.line,zf?0:Of,df.sticky)}return df}function sE(Md,Vd,df){if(typeof Vd=="string"&&(Vd=UE[Vd],!Vd))return!1;Md.display.input.ensurePolled();var Zd=Md.display.shift,yf=!1;try{Md.isReadOnly()&&(Md.state.suppressEdits=!0),df&&(Md.display.shift=!1),yf=Vd(Md)!=Bf}finally{Md.display.shift=Zd,Md.state.suppressEdits=!1}return yf}function d1(Md,Vd,df){for(var Zd=0;Zd<Md.state.keyMaps.length;Zd++){var yf=Ub(Vd,Md.state.keyMaps[Zd],df,Md);if(yf)return yf}return Md.options.extraKeys&&Ub(Vd,Md.options.extraKeys,df,Md)||Ub(Vd,Md.options.keyMap,df,Md)}var p1=new dh;function HE(Md,Vd,df,Zd){var yf=Md.state.keySeq;if(yf){if(DS(Vd))return"handled";if(/\'$/.test(Vd)?Md.state.keySeq=null:p1.set(50,function(){Md.state.keySeq==yf&&(Md.state.keySeq=null,Md.display.input.reset())}),NT(Md,yf+" "+Vd,df,Zd))return!0}return NT(Md,Vd,df,Zd)}function NT(Md,Vd,df,Zd){var yf=d1(Md,Vd,Zd);return yf=="multi"&&(Md.state.keySeq=Vd),yf=="handled"&&Qd(Md,"keyHandled",Md,Vd,df),(yf=="handled"||yf=="multi")&&(Pg(df),Zy(Md)),!!yf}function DT(Md,Vd){var df=LE(Vd,!0);return df?Vd.shiftKey&&!Md.state.keySeq?HE(Md,"Shift-"+df,Vd,function(Zd){return sE(Md,Zd,!0)})||HE(Md,df,Vd,function(Zd){if(typeof Zd=="string"?/^go[A-Z]/.test(Zd):Zd.motion)return sE(Md,Zd)}):HE(Md,df,Vd,function(Zd){return sE(Md,Zd)}):!1}function f1(Md,Vd,df){return HE(Md,"'"+df+"'",Vd,function(Zd){return sE(Md,Zd,!0)})}var RS=null;function IT(Md){var Vd=this;if(!(Md.target&&Md.target!=Vd.display.input.getField())&&(Vd.curOp.focus=Qf(Wf(Vd)),!wg(Vd,Md))){fd&&md<11&&Md.keyCode==27&&(Md.returnValue=!1);var df=Md.keyCode;Vd.display.shift=df==16||Md.shiftKey;var Zd=DT(Vd,Md);kd&&(RS=Zd?df:null,!Zd&&df==88&&!wh&&(zd?Md.metaKey:Md.ctrlKey)&&Vd.replaceSelection("",null,"cut")),ld&&!zd&&!Zd&&df==46&&Md.shiftKey&&!Md.ctrlKey&&document.execCommand&&document.execCommand("cut"),df==18&&!/\bCodeMirror-crosshair\b/.test(Vd.display.lineDiv.className)&&Pb(Vd)}}function Pb(Md){var Vd=Md.display.lineDiv;Xf(Vd,"CodeMirror-crosshair");function df(Zd){(Zd.keyCode==18||!Zd.altKey)&&(Sf(Vd,"CodeMirror-crosshair"),Zm(document,"keyup",df),Zm(document,"mouseover",df))}jm(document,"keyup",df),jm(document,"mouseover",df)}function m0(Md){Md.keyCode==16&&(this.doc.sel.shift=!1),wg(this,Md)}function Cx(Md){var Vd=this;if(!(Md.target&&Md.target!=Vd.display.input.getField())&&!(v_(Vd.display,Md)||wg(Vd,Md)||Md.ctrlKey&&!Md.altKey||zd&&Md.metaKey)){var df=Md.keyCode,Zd=Md.charCode;if(kd&&df==RS){RS=null,Pg(Md);return}if(!(kd&&(!Md.which||Md.which<10)&&DT(Vd,Md))){var yf=String.fromCharCode(Zd??df);yf!="\b"&&(f1(Vd,Md,yf)||Vd.display.input.onKeyPress(Md))}}}var h1=400,oE=function(Md,Vd,df){this.time=Md,this.pos=Vd,this.button=df};oE.prototype.compare=function(Md,Vd,df){return this.time+h1>Md&&Eg(Vd,this.pos)==0&&df==this.button};var A0,lE;function Ax(Md,Vd){var df=+new Date;return lE&&lE.compare(df,Md,Vd)?(A0=lE=null,"triple"):A0&&A0.compare(df,Md,Vd)?(lE=new oE(df,Md,Vd),A0=null,"double"):(A0=new oE(df,Md,Vd),lE=null,"single")}function wx(Md){var Vd=this,df=Vd.display;if(!(wg(Vd,Md)||df.activeTouch&&df.input.supportsTouch())){if(df.input.ensurePolled(),df.shift=Md.shiftKey,v_(df,Md)){vd||(df.scroller.draggable=!1,setTimeout(function(){return df.scroller.draggable=!0},100));return}if(!cE(Vd,Md)){var Zd=S0(Vd,Md),yf=h_(Md),Of=Zd?Ax(Zd,yf):"single";Kf(Vd).focus(),yf==1&&Vd.state.selectingText&&Vd.state.selectingText(Md),!(Zd&&Nx(Vd,yf,Zd,Of,Md))&&(yf==1?Zd?GE(Vd,Zd,Of,Md):B_(Md)==df.scroller&&Pg(Md):yf==2?(Zd&&Xv(Vd.doc,Zd),setTimeout(function(){return df.input.focus()},20)):yf==3&&(pf?Vd.display.input.onContextMenu(Md):Gv(Vd)))}}}function Nx(Md,Vd,df,Zd,yf){var Of="Click";return Zd=="double"?Of="Double"+Of:Zd=="triple"&&(Of="Triple"+Of),Of=(Vd==1?"Left":Vd==2?"Middle":"Right")+Of,HE(Md,AT(Of,yf),yf,function(zf){if(typeof zf=="string"&&(zf=UE[zf]),!zf)return!1;var ih=!1;try{Md.isReadOnly()&&(Md.state.suppressEdits=!0),ih=zf(Md,df)!=Bf}finally{Md.state.suppressEdits=!1}return ih})}function uE(Md,Vd,df){var Zd=Md.getOption("configureMouse"),yf=Zd?Zd(Md,Vd,df):{};if(yf.unit==null){var Of=Wd?df.shiftKey&&df.metaKey:df.altKey;yf.unit=Of?"rectangle":Vd=="single"?"char":Vd=="double"?"word":"line"}return(yf.extend==null||Md.doc.extend)&&(yf.extend=Md.doc.extend||df.shiftKey),yf.addNew==null&&(yf.addNew=zd?df.metaKey:df.ctrlKey),yf.moveOnDrag==null&&(yf.moveOnDrag=!(zd?df.altKey:df.ctrlKey)),yf}function GE(Md,Vd,df,Zd){fd?setTimeout(Cf(J0,Md),0):Md.curOp.focus=Qf(Wf(Md));var yf=uE(Md,df,Zd),Of=Md.doc.sel,zf;Md.options.dragDrop&&y_&&!Md.isReadOnly()&&df=="single"&&(zf=Of.contains(Vd))>-1&&(Eg((zf=Of.ranges[zf]).from(),Vd)<0||Vd.xRel>0)&&(Eg(zf.to(),Vd)>0||Vd.xRel<0)?m1(Md,Zd,Vd,yf):Dx(Md,Zd,Vd,yf)}function m1(Md,Vd,df,Zd){var yf=Md.display,Of=!1,zf=C_(Md,function(Ah){vd&&(yf.scroller.draggable=!1),Md.state.draggingText=!1,Md.state.delayingBlurEvent&&(Md.hasFocus()?Md.state.delayingBlurEvent=!1:Gv(Md)),Zm(yf.wrapper.ownerDocument,"mouseup",zf),Zm(yf.wrapper.ownerDocument,"mousemove",ih),Zm(yf.scroller,"dragstart",yh),Zm(yf.scroller,"drop",zf),Of||(Pg(Ah),Zd.addNew||Xv(Md.doc,df,null,null,Zd.extend),vd&&!Ld||fd&&md==9?setTimeout(function(){yf.wrapper.ownerDocument.body.focus({preventScroll:!0}),yf.input.focus()},20):yf.input.focus())}),ih=function(Ah){Of=Of||Math.abs(Vd.clientX-Ah.clientX)+Math.abs(Vd.clientY-Ah.clientY)>=10},yh=function(){return Of=!0};vd&&(yf.scroller.draggable=!0),Md.state.draggingText=zf,zf.copy=!Zd.moveOnDrag,jm(yf.wrapper.ownerDocument,"mouseup",zf),jm(yf.wrapper.ownerDocument,"mousemove",ih),jm(yf.scroller,"dragstart",yh),jm(yf.scroller,"drop",zf),Md.state.delayingBlurEvent=!0,setTimeout(function(){return yf.input.focus()},20),yf.scroller.dragDrop&&yf.scroller.dragDrop()}function RT(Md,Vd,df){if(df=="char")return new E_(Vd,Vd);if(df=="word")return Md.findWordAt(Vd);if(df=="line")return new E_(Um(Vd.line,0),qg(Md.doc,Um(Vd.line+1,0)));var Zd=df(Md,Vd);return new E_(Zd.from,Zd.to)}function Dx(Md,Vd,df,Zd){fd&&Gv(Md);var yf=Md.display,Of=Md.doc;Pg(Vd);var zf,ih,yh=Of.sel,Ah=yh.ranges;if(Zd.addNew&&!Zd.extend?(ih=Of.sel.contains(df),ih>-1?zf=Ah[ih]:zf=new E_(df,df)):(zf=Of.sel.primary(),ih=Of.sel.primIndex),Zd.unit=="rectangle")Zd.addNew||(zf=new E_(df,df)),df=S0(Md,Vd,!0,!0),ih=-1;else{var sm=RT(Md,df,Zd.unit);Zd.extend?zf=ub(zf,sm.anchor,sm.head,Zd.extend):zf=sm}Zd.addNew?ih==-1?(ih=Ah.length,gb(Of,p0(Md,Ah.concat([zf]),ih),{scroll:!1,origin:"*mouse"})):Ah.length>1&&Ah[ih].empty()&&Zd.unit=="char"&&!Zd.extend?(gb(Of,p0(Md,Ah.slice(0,ih).concat(Ah.slice(ih+1)),0),{scroll:!1,origin:"*mouse"}),yh=Of.sel):Qb(Of,ih,zf,Fh):(ih=0,gb(Of,new j_([zf],0),Fh),yh=Of.sel);var mm=df;function $m(Sg){if(Eg(mm,Sg)!=0)if(mm=Sg,Zd.unit=="rectangle"){for(var Ig=[],jg=Md.options.tabSize,Lg=Yf(lg(Of,df.line).text,df.ch,jg),i_=Yf(lg(Of,Sg.line).text,Sg.ch,jg),w_=Math.min(Lg,i_),z_=Math.max(Lg,i_),P_=Math.min(df.line,Sg.line),U_=Math.min(Md.lastLine(),Math.max(df.line,Sg.line));P_<=U_;P_++){var K_=lg(Of,P_).text,X_=Pf(K_,w_,jg);w_==z_?Ig.push(new E_(Um(P_,X_),Um(P_,X_))):K_.length>X_&&Ig.push(new E_(Um(P_,X_),Um(P_,Pf(K_,z_,jg))))}Ig.length||Ig.push(new E_(df,df)),gb(Of,p0(Md,yh.ranges.slice(0,ih).concat(Ig),ih),{origin:"*mouse",scroll:!1}),Md.scrollIntoView(Sg)}else{var Ab=zf,yb=RT(Md,Sg,Zd.unit),rb=Ab.anchor,Q_;Eg(yb.anchor,rb)>0?(Q_=yb.head,rb=Tb(Ab.from(),yb.anchor)):(Q_=yb.anchor,rb=G_(Ab.to(),yb.head));var H_=yh.ranges.slice(0);H_[ih]=OS(Md,new E_(qg(Of,rb),Q_)),gb(Of,p0(Md,H_,ih),Fh)}}var Om=yf.wrapper.getBoundingClientRect(),Wm=0;function Jm(Sg){var Ig=++Wm,jg=S0(Md,Sg,!0,Zd.unit=="rectangle");if(jg)if(Eg(jg,mm)!=0){Md.curOp.focus=Qf(Wf(Md)),$m(jg);var Lg=ev(yf,Of);(jg.line>=Lg.to||jg.line<Lg.from)&&setTimeout(C_(Md,function(){Wm==Ig&&Jm(Sg)}),150)}else{var i_=Sg.clientY<Om.top?-20:Sg.clientY>Om.bottom?20:0;i_&&setTimeout(C_(Md,function(){Wm==Ig&&(yf.scroller.scrollTop+=i_,Jm(Sg))}),50)}}function og(Sg){Md.state.selectingText=!1,Wm=1/0,Sg&&(Pg(Sg),yf.input.focus()),Zm(yf.wrapper.ownerDocument,"mousemove",Tg),Zm(yf.wrapper.ownerDocument,"mouseup",Cg),Of.history.lastSelOrigin=null}var Tg=C_(Md,function(Sg){Sg.buttons===0||!h_(Sg)?og(Sg):Jm(Sg)}),Cg=C_(Md,og);Md.state.selectingText=Cg,jm(yf.wrapper.ownerDocument,"mousemove",Tg),jm(yf.wrapper.ownerDocument,"mouseup",Cg)}function OS(Md,Vd){var df=Vd.anchor,Zd=Vd.head,yf=lg(Md.doc,df.line);if(Eg(df,Zd)==0&&df.sticky==Zd.sticky)return Vd;var Of=Dm(yf);if(!Of)return Vd;var zf=Wh(Of,df.ch,df.sticky),ih=Of[zf];if(ih.from!=df.ch&&ih.to!=df.ch)return Vd;var yh=zf+(ih.from==df.ch==(ih.level!=1)?0:1);if(yh==0||yh==Of.length)return Vd;var Ah;if(Zd.line!=df.line)Ah=(Zd.line-df.line)*(Md.doc.direction=="ltr"?1:-1)>0;else{var sm=Wh(Of,Zd.ch,Zd.sticky),mm=sm-zf||(Zd.ch-df.ch)*(ih.level==1?-1:1);sm==yh-1||sm==yh?Ah=mm<0:Ah=mm>0}var $m=Of[yh+(Ah?-1:0)],Om=Ah==($m.level==1),Wm=Om?$m.from:$m.to,Jm=Om?"after":"before";return df.ch==Wm&&df.sticky==Jm?Vd:new E_(new Um(df.line,Wm,Jm),Zd)}function OT(Md,Vd,df,Zd){var yf,Of;if(Vd.touches)yf=Vd.touches[0].clientX,Of=Vd.touches[0].clientY;else try{yf=Vd.clientX,Of=Vd.clientY}catch{return!1}if(yf>=Math.floor(Md.display.gutters.getBoundingClientRect().right))return!1;Zd&&Pg(Vd);var zf=Md.display,ih=zf.lineDiv.getBoundingClientRect();if(Of>ih.bottom||!Gg(Md,df))return a_(Vd);Of-=ih.top-zf.viewOffset;for(var yh=0;yh<Md.display.gutterSpecs.length;++yh){var Ah=zf.gutters.childNodes[yh];if(Ah&&Ah.getBoundingClientRect().right>=yf){var sm=um(Md.doc,Of),mm=Md.display.gutterSpecs[yh];return ug(Md,df,Md,sm,mm.className,Vd),a_(Vd)}}}function cE(Md,Vd){return OT(Md,Vd,"gutterClick",!0)}function kS(Md,Vd){v_(Md.display,Vd)||MS(Md,Vd)||wg(Md,Vd,"contextmenu")||pf||Md.display.input.onContextMenu(Vd)}function MS(Md,Vd){return Gg(Md,"gutterContextMenu")?OT(Md,Vd,"gutterContextMenu",!1):!1}function Ix(Md){Md.display.wrapper.className=Md.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+Md.options.theme.replace(/(^|\s)\s*/g," cm-s-"),CE(Md)}var _v={toString:function(){return"CodeMirror.Init"}},qE={},VE={};function kT(Md){var Vd=Md.optionHandlers;function df(Zd,yf,Of,zf){Md.defaults[Zd]=yf,Of&&(Vd[Zd]=zf?function(ih,yh,Ah){Ah!=_v&&Of(ih,yh,Ah)}:Of)}Md.defineOption=df,Md.Init=_v,df("value","",function(Zd,yf){return Zd.setValue(yf)},!0),df("mode",null,function(Zd,yf){Zd.doc.modeOption=yf,fT(Zd)},!0),df("indentUnit",2,fT,!0),df("indentWithTabs",!1),df("smartIndent",!0),df("tabSize",4,function(Zd){uv(Zd),CE(Zd),Ib(Zd)},!0),df("lineSeparator",null,function(Zd,yf){if(Zd.doc.lineSep=yf,!!yf){var Of=[],zf=Zd.doc.first;Zd.doc.iter(function(yh){for(var Ah=0;;){var sm=yh.text.indexOf(yf,Ah);if(sm==-1)break;Ah=sm+yf.length,Of.push(Um(zf,sm))}zf++});for(var ih=Of.length-1;ih>=0;ih--)pv(Zd.doc,yf,Of[ih],Um(Of[ih].line,Of[ih].ch+yf.length))}}),df("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]/g,function(Zd,yf,Of){Zd.state.specialChars=new RegExp(yf.source+(yf.test(" ")?"":"| "),"g"),Of!=_v&&Zd.refresh()}),df("specialCharPlaceholder",v0,function(Zd){return Zd.refresh()},!0),df("electricChars",!0),df("inputStyle",qd?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),df("spellcheck",!1,function(Zd,yf){return Zd.getInputField().spellcheck=yf},!0),df("autocorrect",!1,function(Zd,yf){return Zd.getInputField().autocorrect=yf},!0),df("autocapitalize",!1,function(Zd,yf){return Zd.getInputField().autocapitalize=yf},!0),df("rtlMoveVisually",!Jd),df("wholeLineUpdateBefore",!0),df("theme","default",function(Zd){Ix(Zd),OE(Zd)},!0),df("keyMap","default",function(Zd,yf,Of){var zf=BE(yf),ih=Of!=_v&&BE(Of);ih&&ih.detach&&ih.detach(Zd,zf),zf.attach&&zf.attach(Zd,ih||null)}),df("extraKeys",null),df("configureMouse",null),df("lineWrapping",!1,Rx,!0),df("gutters",[],function(Zd,yf){Zd.display.gutterSpecs=d0(yf,Zd.options.lineNumbers),OE(Zd)},!0),df("fixedGutter",!0,function(Zd,yf){Zd.display.gutters.style.left=yf?T_(Zd.display)+"px":"0",Zd.refresh()},!0),df("coverGutterNextToScrollbar",!1,function(Zd){return T0(Zd)},!0),df("scrollbarStyle","native",function(Zd){YT(Zd),T0(Zd),Zd.display.scrollbars.setScrollTop(Zd.doc.scrollTop),Zd.display.scrollbars.setScrollLeft(Zd.doc.scrollLeft)},!0),df("lineNumbers",!1,function(Zd,yf){Zd.display.gutterSpecs=d0(Zd.options.gutters,yf),OE(Zd)},!0),df("firstLineNumber",1,OE,!0),df("lineNumberFormatter",function(Zd){return Zd},OE,!0),df("showCursorWhenSelecting",!1,Q0,!0),df("resetSelectionOnContextMenu",!0),df("lineWiseCopyCut",!0),df("pasteLinesPerSelection",!0),df("selectionsMayTouch",!1),df("readOnly",!1,function(Zd,yf){yf=="nocursor"&&(qv(Zd),Zd.display.input.blur()),Zd.display.input.readOnlyChanged(yf)}),df("screenReaderLabel",null,function(Zd,yf){yf=yf===""?null:yf,Zd.display.input.screenReaderLabelChanged(yf)}),df("disableInput",!1,function(Zd,yf){yf||Zd.display.input.reset()},!0),df("dragDrop",!0,g1),df("allowDropFileTypes",null),df("cursorBlinkRate",530),df("cursorScrollMargin",0),df("cursorHeight",1,Q0,!0),df("singleCursorHeightPerLine",!0,Q0,!0),df("workTime",100),df("workDelay",100),df("flattenSpans",!0,uv,!0),df("addModeClass",!1,uv,!0),df("pollInterval",100),df("undoDepth",200,function(Zd,yf){return Zd.doc.history.undoDepth=yf}),df("historyEventDelay",1250),df("viewportMargin",10,function(Zd){return Zd.refresh()},!0),df("maxHighlightLength",1e4,uv,!0),df("moveInputWithCursor",!0,function(Zd,yf){yf||Zd.display.input.resetPosition()}),df("tabindex",null,function(Zd,yf){return Zd.display.input.getField().tabIndex=yf||""}),df("autofocus",null),df("direction","ltr",function(Zd,yf){return Zd.doc.setDirection(yf)},!0),df("phrases",null)}function g1(Md,Vd,df){var Zd=df&&df!=_v;if(!Vd!=!Zd){var yf=Md.display.dragFunctions,Of=Vd?jm:Zm;Of(Md.display.scroller,"dragstart",yf.start),Of(Md.display.scroller,"dragenter",yf.enter),Of(Md.display.scroller,"dragover",yf.over),Of(Md.display.scroller,"dragleave",yf.leave),Of(Md.display.scroller,"drop",yf.drop)}}function Rx(Md){Md.options.lineWrapping?(Xf(Md.display.wrapper,"CodeMirror-wrap"),Md.display.sizer.style.minWidth="",Md.display.sizerWidth=null):(Sf(Md.display.wrapper,"CodeMirror-wrap"),Ov(Md)),fS(Md),Ib(Md),CE(Md),setTimeout(function(){return T0(Md)},100)}function __(Md,Vd){var df=this;if(!(this instanceof __))return new __(Md,Vd);this.options=Vd=Vd?xf(Vd):{},xf(qE,Vd,!1);var Zd=Vd.value;typeof Zd=="string"?Zd=new Cb(Zd,Vd.mode,null,Vd.lineSeparator,Vd.direction):Vd.mode&&(Zd.modeOption=Vd.mode),this.doc=Zd;var yf=new __.inputStyles[Vd.inputStyle](this),Of=this.display=new r1(Md,Zd,yf,Vd);Of.wrapper.CodeMirror=this,Ix(this),Vd.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),YT(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new dh,keySeq:null,specialChars:null},Vd.autofocus&&!qd&&Of.input.focus(),fd&&md<11&&setTimeout(function(){return df.display.input.reset(!0)},20),Ox(this),Sx(),iv(this),this.curOp.forceUpdate=!0,hT(this,Zd),Vd.autofocus&&!qd||this.hasFocus()?setTimeout(function(){df.hasFocus()&&!df.state.focused&&nT(df)},20):qv(this);for(var zf in VE)VE.hasOwnProperty(zf)&&VE[zf](this,Vd[zf],_v);JT(this),Vd.finishInit&&Vd.finishInit(this);for(var ih=0;ih<$S.length;++ih)$S[ih](this);ov(this),vd&&Vd.lineWrapping&&getComputedStyle(Of.lineDiv).textRendering=="optimizelegibility"&&(Of.lineDiv.style.textRendering="auto")}__.defaults=qE,__.optionHandlers=VE;function Ox(Md){var Vd=Md.display;jm(Vd.scroller,"mousedown",C_(Md,wx)),fd&&md<11?jm(Vd.scroller,"dblclick",C_(Md,function(yh){if(!wg(Md,yh)){var Ah=S0(Md,yh);if(!(!Ah||cE(Md,yh)||v_(Md.display,yh))){Pg(yh);var sm=Md.findWordAt(Ah);Xv(Md.doc,sm.anchor,sm.head)}}})):jm(Vd.scroller,"dblclick",function(yh){return wg(Md,yh)||Pg(yh)}),jm(Vd.scroller,"contextmenu",function(yh){return kS(Md,yh)}),jm(Vd.input.getField(),"contextmenu",function(yh){Vd.scroller.contains(yh.target)||kS(Md,yh)});var df,Zd={end:0};function yf(){Vd.activeTouch&&(df=setTimeout(function(){return Vd.activeTouch=null},1e3),Zd=Vd.activeTouch,Zd.end=+new Date)}function Of(yh){if(yh.touches.length!=1)return!1;var Ah=yh.touches[0];return Ah.radiusX<=1&&Ah.radiusY<=1}function zf(yh,Ah){if(Ah.left==null)return!0;var sm=Ah.left-yh.left,mm=Ah.top-yh.top;return sm*sm+mm*mm>20*20}jm(Vd.scroller,"touchstart",function(yh){if(!wg(Md,yh)&&!Of(yh)&&!cE(Md,yh)){Vd.input.ensurePolled(),clearTimeout(df);var Ah=+new Date;Vd.activeTouch={start:Ah,moved:!1,prev:Ah-Zd.end<=300?Zd:null},yh.touches.length==1&&(Vd.activeTouch.left=yh.touches[0].pageX,Vd.activeTouch.top=yh.touches[0].pageY)}}),jm(Vd.scroller,"touchmove",function(){Vd.activeTouch&&(Vd.activeTouch.moved=!0)}),jm(Vd.scroller,"touchend",function(yh){var Ah=Vd.activeTouch;if(Ah&&!v_(Vd,yh)&&Ah.left!=null&&!Ah.moved&&new Date-Ah.start<300){var sm=Md.coordsChar(Vd.activeTouch,"page"),mm;!Ah.prev||zf(Ah,Ah.prev)?mm=new E_(sm,sm):!Ah.prev.prev||zf(Ah,Ah.prev.prev)?mm=Md.findWordAt(sm):mm=new E_(Um(sm.line,0),qg(Md.doc,Um(sm.line+1,0))),Md.setSelection(mm.anchor,mm.head),Md.focus(),Pg(yh)}yf()}),jm(Vd.scroller,"touchcancel",yf),jm(Vd.scroller,"scroll",function(){Vd.scroller.clientHeight&&(NE(Md,Vd.scroller.scrollTop),u0(Md,Vd.scroller.scrollLeft,!0),ug(Md,"scroll",Md))}),jm(Vd.scroller,"mousewheel",function(yh){return ex(Md,yh)}),jm(Vd.scroller,"DOMMouseScroll",function(yh){return ex(Md,yh)}),jm(Vd.wrapper,"scroll",function(){return Vd.wrapper.scrollTop=Vd.wrapper.scrollLeft=0}),Vd.dragFunctions={enter:function(yh){wg(Md,yh)||M_(yh)},over:function(yh){wg(Md,yh)||(o_(Md,yh),M_(yh))},start:function(yh){return CT(Md,yh)},drop:C_(Md,l1),leave:function(yh){wg(Md,yh)||vx(Md)}};var ih=Vd.input.getField();jm(ih,"keyup",function(yh){return m0.call(Md,yh)}),jm(ih,"keydown",C_(Md,IT)),jm(ih,"keypress",C_(Md,Cx)),jm(ih,"focus",function(yh){return nT(Md,yh)}),jm(ih,"blur",function(yh){return qv(Md,yh)})}var $S=[];__.defineInitHook=function(Md){return $S.push(Md)};function zE(Md,Vd,df,Zd){var yf=Md.doc,Of;df==null&&(df="add"),df=="smart"&&(yf.mode.indent?Of=sb(Md,Vd).state:df="prev");var zf=Md.options.tabSize,ih=lg(yf,Vd),yh=Yf(ih.text,null,zf);ih.stateAfter&&(ih.stateAfter=null);var Ah=ih.text.match(/^\s*/)[0],sm;if(!Zd&&!/\S/.test(ih.text))sm=0,df="not";else if(df=="smart"&&(sm=yf.mode.indent(Of,ih.text.slice(Ah.length),ih.text),sm==Bf||sm>150)){if(!Zd)return;df="prev"}df=="prev"?Vd>yf.first?sm=Yf(lg(yf,Vd-1).text,null,zf):sm=0:df=="add"?sm=yh+Md.options.indentUnit:df=="subtract"?sm=yh-Md.options.indentUnit:typeof df=="number"&&(sm=yh+df),sm=Math.max(0,sm);var mm="",$m=0;if(Md.options.indentWithTabs)for(var Om=Math.floor(sm/zf);Om;--Om)$m+=zf,mm+=" ";if($m<sm&&(mm+=Zf(sm-$m)),mm!=Ah)return pv(yf,mm,Um(Vd,0),Um(Vd,Ah.length),"+input"),ih.stateAfter=null,!0;for(var Wm=0;Wm<yf.sel.ranges.length;Wm++){var Jm=yf.sel.ranges[Wm];if(Jm.head.line==Vd&&Jm.head.ch<Ah.length){var og=Um(Vd,Ah.length);Qb(yf,Wm,new E_(og,og));break}}}var Jb=null;function PS(Md){Jb=Md}function MT(Md,Vd,df,Zd,yf){var Of=Md.doc;Md.display.shift=!1,Zd||(Zd=Of.sel);var zf=+new Date-200,ih=yf=="paste"||Md.state.pasteIncoming>zf,yh=jf(Vd),Ah=null;if(ih&&Zd.ranges.length>1)if(Jb&&Jb.text.join(`
`)==Vd){if(Zd.ranges.length%Jb.text.length==0){Ah=[];for(var sm=0;sm<Jb.text.length;sm++)Ah.push(Of.splitLines(Jb.text[sm]))}}else yh.length==Zd.ranges.length&&Md.options.pasteLinesPerSelection&&(Ah=Mh(yh,function(Tg){return[Tg]}));for(var mm=Md.curOp.updateInput,$m=Zd.ranges.length-1;$m>=0;$m--){var Om=Zd.ranges[$m],Wm=Om.from(),Jm=Om.to();Om.empty()&&(df&&df>0?Wm=Um(Wm.line,Wm.ch-df):Md.state.overwrite&&!ih?Jm=Um(Jm.line,Math.min(lg(Of,Jm.line).text.length,Jm.ch+mh(yh).length)):ih&&Jb&&Jb.lineWise&&Jb.text.join(`
`)==yh.join(`
`)&&(Wm=Jm=Um(Wm.line,0)));var og={from:Wm,to:Jm,text:Ah?Ah[$m%Ah.length]:yh,origin:yf||(ih?"paste":Md.state.cutIncoming>zf?"cut":"+input")};eE(Md.doc,og),Qd(Md,"inputRead",Md,og)}Vd&&!ih&&LS(Md,Vd),L_(Md),Md.curOp.updateInput<2&&(Md.curOp.updateInput=mm),Md.curOp.typing=!0,Md.state.pasteIncoming=Md.state.cutIncoming=-1}function w0(Md,Vd){var df=Md.clipboardData&&Md.clipboardData.getData("Text");if(df)return Md.preventDefault(),!Vd.isReadOnly()&&!Vd.options.disableInput&&Vd.hasFocus()&&Eb(Vd,function(){return MT(Vd,df,0,null,"paste")}),!0}function LS(Md,Vd){if(!(!Md.options.electricChars||!Md.options.smartIndent))for(var df=Md.doc.sel,Zd=df.ranges.length-1;Zd>=0;Zd--){var yf=df.ranges[Zd];if(!(yf.head.ch>100||Zd&&df.ranges[Zd-1].head.line==yf.head.line)){var Of=Md.getModeAt(yf.head),zf=!1;if(Of.electricChars){for(var ih=0;ih<Of.electricChars.length;ih++)if(Vd.indexOf(Of.electricChars.charAt(ih))>-1){zf=zE(Md,yf.head.line,"smart");break}}else Of.electricInput&&Of.electricInput.test(lg(Md.doc,yf.head.line).text.slice(0,yf.head.ch))&&(zf=zE(Md,yf.head.line,"smart"));zf&&Qd(Md,"electricInput",Md,yf.head.line)}}}function BS(Md){for(var Vd=[],df=[],Zd=0;Zd<Md.doc.sel.ranges.length;Zd++){var yf=Md.doc.sel.ranges[Zd].head.line,Of={anchor:Um(yf,0),head:Um(yf+1,0)};df.push(Of),Vd.push(Md.getRange(Of.anchor,Of.head))}return{text:Vd,ranges:df}}function WE(Md,Vd,df,Zd){Md.setAttribute("autocorrect",df?"on":"off"),Md.setAttribute("autocapitalize",Zd?"on":"off"),Md.setAttribute("spellcheck",!!Vd)}function YE(){var Md=Ef("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),Vd=Ef("div",[Md],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return vd?Md.style.width="1000px":Md.setAttribute("wrap","off"),Fd&&(Md.style.border="1px solid black"),Vd}function dE(Md){var Vd=Md.optionHandlers,df=Md.helpers={};Md.prototype={constructor:Md,focus:function(){Kf(this).focus(),this.display.input.focus()},setOption:function(Zd,yf){var Of=this.options,zf=Of[Zd];Of[Zd]==yf&&Zd!="mode"||(Of[Zd]=yf,Vd.hasOwnProperty(Zd)&&C_(this,Vd[Zd])(this,yf,zf),ug(this,"optionChange",this,Zd))},getOption:function(Zd){return this.options[Zd]},getDoc:function(){return this.doc},addKeyMap:function(Zd,yf){this.state.keyMaps[yf?"push":"unshift"](BE(Zd))},removeKeyMap:function(Zd){for(var yf=this.state.keyMaps,Of=0;Of<yf.length;++Of)if(yf[Of]==Zd||yf[Of].name==Zd)return yf.splice(Of,1),!0},addOverlay:Yg(function(Zd,yf){var Of=Zd.token?Zd:Md.getMode(this.options,Zd);if(Of.startState)throw new Error("Overlays may not be stateful.");_h(this.state.overlays,{mode:Of,modeSpec:Zd,opaque:yf&&yf.opaque,priority:yf&&yf.priority||0},function(zf){return zf.priority}),this.state.modeGen++,Ib(this)}),removeOverlay:Yg(function(Zd){for(var yf=this.state.overlays,Of=0;Of<yf.length;++Of){var zf=yf[Of].modeSpec;if(zf==Zd||typeof Zd=="string"&&zf.name==Zd){yf.splice(Of,1),this.state.modeGen++,Ib(this);return}}}),indentLine:Yg(function(Zd,yf,Of){typeof yf!="string"&&typeof yf!="number"&&(yf==null?yf=this.options.smartIndent?"smart":"prev":yf=yf?"add":"subtract"),Ym(this.doc,Zd)&&zE(this,Zd,yf,Of)}),indentSelection:Yg(function(Zd){for(var yf=this.doc.sel.ranges,Of=-1,zf=0;zf<yf.length;zf++){var ih=yf[zf];if(ih.empty())ih.head.line>Of&&(zE(this,ih.head.line,Zd,!0),Of=ih.head.line,zf==this.doc.sel.primIndex&&L_(this));else{var yh=ih.from(),Ah=ih.to(),sm=Math.max(Of,yh.line);Of=Math.min(this.lastLine(),Ah.line-(Ah.ch?0:1))+1;for(var mm=sm;mm<Of;++mm)zE(this,mm,Zd);var $m=this.doc.sel.ranges;yh.ch==0&&yf.length==$m.length&&$m[zf].from().ch>0&&Qb(this.doc,zf,new E_(yh,$m[zf].to()),Sh)}}}),getTokenAt:function(Zd,yf){return z0(this,Zd,yf)},getLineTokens:function(Zd,yf){return z0(this,Um(Zd),yf,!0)},getTokenTypeAt:function(Zd){Zd=qg(this.doc,Zd);var yf=y0(this,lg(this.doc,Zd.line)),Of=0,zf=(yf.length-1)/2,ih=Zd.ch,yh;if(ih==0)yh=yf[2];else for(;;){var Ah=Of+zf>>1;if((Ah?yf[Ah*2-1]:0)>=ih)zf=Ah;else if(yf[Ah*2+1]<ih)Of=Ah+1;else{yh=yf[Ah*2+2];break}}var sm=yh?yh.indexOf("overlay "):-1;return sm<0?yh:sm==0?null:yh.slice(0,sm-1)},getModeAt:function(Zd){var yf=this.doc.mode;return yf.innerMode?Md.innerMode(yf,this.getTokenAt(Zd).state).mode:yf},getHelper:function(Zd,yf){return this.getHelpers(Zd,yf)[0]},getHelpers:function(Zd,yf){var Of=[];if(!df.hasOwnProperty(yf))return Of;var zf=df[yf],ih=this.getModeAt(Zd);if(typeof ih[yf]=="string")zf[ih[yf]]&&Of.push(zf[ih[yf]]);else if(ih[yf])for(var yh=0;yh<ih[yf].length;yh++){var Ah=zf[ih[yf][yh]];Ah&&Of.push(Ah)}else ih.helperType&&zf[ih.helperType]?Of.push(zf[ih.helperType]):zf[ih.name]&&Of.push(zf[ih.name]);for(var sm=0;sm<zf._global.length;sm++){var mm=zf._global[sm];mm.pred(ih,this)&&Rh(Of,mm.val)==-1&&Of.push(mm.val)}return Of},getStateAfter:function(Zd,yf){var Of=this.doc;return Zd=Gb(Of,Zd??Of.first+Of.size-1),sb(this,Zd+1,yf).state},cursorCoords:function(Zd,yf){var Of,zf=this.doc.sel.primary();return Zd==null?Of=zf.head:typeof Zd=="object"?Of=qg(this.doc,Zd):Of=Zd?zf.from():zf.to(),Hm(this,Of,yf||"page")},charCoords:function(Zd,yf){return Xm(this,qg(this.doc,Zd),yf||"page")},coordsChar:function(Zd,yf){return Zd=Pm(this,Zd,yf||"page"),g_(this,Zd.left,Zd.top)},lineAtHeight:function(Zd,yf){return Zd=Pm(this,{top:Zd,left:0},yf||"page").top,um(this.doc,Zd+this.display.viewOffset)},heightAtLine:function(Zd,yf,Of){var zf=!1,ih;if(typeof Zd=="number"){var yh=this.doc.first+this.doc.size-1;Zd<this.doc.first?Zd=this.doc.first:Zd>yh&&(Zd=yh,zf=!0),ih=lg(this.doc,Zd)}else ih=Zd;return P0(this,ih,{top:0,left:0},yf||"page",Of||zf).top+(zf?this.doc.height-Wb(ih):0)},defaultTextHeight:function(){return s0(this.display)},defaultCharWidth:function(){return L0(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(Zd,yf,Of,zf,ih){var yh=this.display;Zd=Hm(this,qg(this.doc,Zd));var Ah=Zd.bottom,sm=Zd.left;if(yf.style.position="absolute",yf.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(yf),yh.sizer.appendChild(yf),zf=="over")Ah=Zd.top;else if(zf=="above"||zf=="near"){var mm=Math.max(yh.wrapper.clientHeight,this.doc.height),$m=Math.max(yh.sizer.clientWidth,yh.lineSpace.clientWidth);(zf=="above"||Zd.bottom+yf.offsetHeight>mm)&&Zd.top>yf.offsetHeight?Ah=Zd.top-yf.offsetHeight:Zd.bottom+yf.offsetHeight<=mm&&(Ah=Zd.bottom),sm+yf.offsetWidth>$m&&(sm=$m-yf.offsetWidth)}yf.style.top=Ah+"px",yf.style.left=yf.style.right="",ih=="right"?(sm=yh.sizer.clientWidth-yf.offsetWidth,yf.style.right="0px"):(ih=="left"?sm=0:ih=="middle"&&(sm=(yh.sizer.clientWidth-yf.offsetWidth)/2),yf.style.left=sm+"px"),Of&&WT(this,{left:sm,top:Ah,right:sm+yf.offsetWidth,bottom:Ah+yf.offsetHeight})},triggerOnKeyDown:Yg(IT),triggerOnKeyPress:Yg(Cx),triggerOnKeyUp:m0,triggerOnMouseDown:Yg(wx),execCommand:function(Zd){if(UE.hasOwnProperty(Zd))return UE[Zd].call(null,this)},triggerElectric:Yg(function(Zd){LS(this,Zd)}),findPosH:function(Zd,yf,Of,zf){var ih=1;yf<0&&(ih=-1,yf=-yf);for(var yh=qg(this.doc,Zd),Ah=0;Ah<yf&&(yh=Wg(this.doc,yh,ih,Of,zf),!yh.hitSide);++Ah);return yh},moveH:Yg(function(Zd,yf){var Of=this;this.extendSelectionsBy(function(zf){return Of.display.shift||Of.doc.extend||zf.empty()?Wg(Of.doc,zf.head,Zd,yf,Of.options.rtlMoveVisually):Zd<0?zf.from():zf.to()},uh)}),deleteH:Yg(function(Zd,yf){var Of=this.doc.sel,zf=this.doc;Of.somethingSelected()?zf.replaceSelection("",null,"+delete"):uy(this,function(ih){var yh=Wg(zf,ih.head,Zd,yf,!1);return Zd<0?{from:yh,to:ih.head}:{from:ih.head,to:yh}})}),findPosV:function(Zd,yf,Of,zf){var ih=1,yh=zf;yf<0&&(ih=-1,yf=-yf);for(var Ah=qg(this.doc,Zd),sm=0;sm<yf;++sm){var mm=Hm(this,Ah,"div");if(yh==null?yh=mm.left:mm.left=yh,Ah=KE(this,mm,ih,Of),Ah.hitSide)break}return Ah},moveV:Yg(function(Zd,yf){var Of=this,zf=this.doc,ih=[],yh=!this.display.shift&&!zf.extend&&zf.sel.somethingSelected();if(zf.extendSelectionsBy(function(sm){if(yh)return Zd<0?sm.from():sm.to();var mm=Hm(Of,sm.head,"div");sm.goalColumn!=null&&(mm.left=sm.goalColumn),ih.push(mm.left);var $m=KE(Of,mm,Zd,yf);return yf=="page"&&sm==zf.sel.primary()&&oT(Of,Xm(Of,$m,"div").top-mm.top),$m},uh),ih.length)for(var Ah=0;Ah<zf.sel.ranges.length;Ah++)zf.sel.ranges[Ah].goalColumn=ih[Ah]}),findWordAt:function(Zd){var yf=this.doc,Of=lg(yf,Zd.line).text,zf=Zd.ch,ih=Zd.ch;if(Of){var yh=this.getHelper(Zd,"wordChars");(Zd.sticky=="before"||ih==Of.length)&&zf?--zf:++ih;for(var Ah=Of.charAt(zf),sm=gm(Ah,yh)?function(mm){return gm(mm,yh)}:/\s/.test(Ah)?function(mm){return/\s/.test(mm)}:function(mm){return!/\s/.test(mm)&&!gm(mm)};zf>0&&sm(Of.charAt(zf-1));)--zf;for(;ih<Of.length&&sm(Of.charAt(ih));)++ih}return new E_(Um(Zd.line,zf),Um(Zd.line,ih))},toggleOverwrite:function(Zd){Zd!=null&&Zd==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?Xf(this.display.cursorDiv,"CodeMirror-overwrite"):Sf(this.display.cursorDiv,"CodeMirror-overwrite"),ug(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==Qf(Wf(this))},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Yg(function(Zd,yf){tb(this,Zd,yf)}),getScrollInfo:function(){var Zd=this.display.scroller;return{left:Zd.scrollLeft,top:Zd.scrollTop,height:Zd.scrollHeight-E0(this)-this.display.barHeight,width:Zd.scrollWidth-E0(this)-this.display.barWidth,clientHeight:JS(this),clientWidth:Hy(this)}},scrollIntoView:Yg(function(Zd,yf){Zd==null?(Zd={from:this.doc.sel.primary().head,to:null},yf==null&&(yf=this.options.cursorScrollMargin)):typeof Zd=="number"?Zd={from:Um(Zd,0),to:null}:Zd.from==null&&(Zd={from:Zd,to:null}),Zd.to||(Zd.to=Zd.from),Zd.margin=yf||0,Zd.from.line!=null?Yx(this,Zd):lT(this,Zd.from,Zd.to,Zd.margin)}),setSize:Yg(function(Zd,yf){var Of=this,zf=function(yh){return typeof yh=="number"||/^\d+$/.test(String(yh))?yh+"px":yh};Zd!=null&&(this.display.wrapper.style.width=zf(Zd)),yf!=null&&(this.display.wrapper.style.height=zf(yf)),this.options.lineWrapping&&HT(this);var ih=this.display.viewFrom;this.doc.iter(ih,this.display.viewTo,function(yh){if(yh.widgets){for(var Ah=0;Ah<yh.widgets.length;Ah++)if(yh.widgets[Ah].noHScroll){X0(Of,ih,"widget");break}}++ih}),this.curOp.forceUpdate=!0,ug(this,"refresh",this)}),operation:function(Zd){return Eb(this,Zd)},startOperation:function(){return iv(this)},endOperation:function(){return ov(this)},refresh:Yg(function(){var Zd=this.display.cachedTextHeight;Ib(this),this.curOp.forceUpdate=!0,CE(this),tb(this,this.doc.scrollLeft,this.doc.scrollTop),cT(this.display),(Zd==null||Math.abs(Zd-s0(this.display))>.5||this.options.lineWrapping)&&fS(this),ug(this,"refresh",this)}),swapDoc:Yg(function(Zd){var yf=this.doc;return yf.cm=null,this.state.selectingText&&this.state.selectingText(),hT(this,Zd),CE(this),this.display.input.reset(),tb(this,Zd.scrollLeft,Zd.scrollTop),this.curOp.forceScroll=!0,Qd(this,"swapDoc",this,yf),yf}),phrase:function(Zd){var yf=this.options.phrases;return yf&&Object.prototype.hasOwnProperty.call(yf,Zd)?yf[Zd]:Zd},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},n_(Md),Md.registerHelper=function(Zd,yf,Of){df.hasOwnProperty(Zd)||(df[Zd]=Md[Zd]={_global:[]}),df[Zd][yf]=Of},Md.registerGlobalHelper=function(Zd,yf,Of,zf){Md.registerHelper(Zd,yf,zf),df[Zd]._global.push({pred:Of,val:zf})}}function Wg(Md,Vd,df,Zd,yf){var Of=Vd,zf=df,ih=lg(Md,Vd.line),yh=yf&&Md.direction=="rtl"?-df:df;function Ah(){var Cg=Vd.line+yh;return Cg<Md.first||Cg>=Md.first+Md.size?!1:(Vd=new Um(Cg,Vd.ch,Vd.sticky),ih=lg(Md,Cg))}function sm(Cg){var Sg;if(Zd=="codepoint"){var Ig=ih.text.charCodeAt(Vd.ch+(df>0?0:-1));if(isNaN(Ig))Sg=null;else{var jg=df>0?Ig>=55296&&Ig<56320:Ig>=56320&&Ig<57343;Sg=new Um(Vd.line,Math.max(0,Math.min(ih.text.length,Vd.ch+df*(jg?2:1))),-df)}}else yf?Sg=Sy(Md.cm,ih,Vd,df):Sg=FE(ih,Vd,df);if(Sg==null)if(!Cg&&Ah())Vd=jE(yf,Md.cm,ih,Vd.line,yh);else return!1;else Vd=Sg;return!0}if(Zd=="char"||Zd=="codepoint")sm();else if(Zd=="column")sm(!0);else if(Zd=="word"||Zd=="group")for(var mm=null,$m=Zd=="group",Om=Md.cm&&Md.cm.getHelper(Vd,"wordChars"),Wm=!0;!(df<0&&!sm(!Wm));Wm=!1){var Jm=ih.text.charAt(Vd.ch)||`
`,og=gm(Jm,Om)?"w":$m&&Jm==`
`?"n":!$m||/\s/.test(Jm)?null:"p";if($m&&!Wm&&!og&&(og="s"),mm&&mm!=og){df<0&&(df=1,sm(),Vd.sticky="after");break}if(og&&(mm=og),df>0&&!sm(!Wm))break}var Tg=Jv(Md,Vd,Of,zf,!0);return r_(Of,Tg)&&(Tg.hitSide=!0),Tg}function KE(Md,Vd,df,Zd){var yf=Md.doc,Of=Vd.left,zf;if(Zd=="page"){var ih=Math.min(Md.display.wrapper.clientHeight,Kf(Md).innerHeight||yf(Md).documentElement.clientHeight),yh=Math.max(ih-.5*s0(Md.display),3);zf=(df>0?Vd.bottom:Vd.top)+df*yh}else Zd=="line"&&(zf=df>0?Vd.bottom+3:Vd.top-3);for(var Ah;Ah=g_(Md,Of,zf),!!Ah.outside;){if(df<0?zf<=0:zf>=yf.height){Ah.hitSide=!0;break}zf+=df*5}return Ah}var S_=function(Md){this.cm=Md,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new dh,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};S_.prototype.init=function(Md){var Vd=this,df=this,Zd=df.cm,yf=df.div=Md.lineDiv;yf.contentEditable=!0,WE(yf,Zd.options.spellcheck,Zd.options.autocorrect,Zd.options.autocapitalize);function Of(ih){for(var yh=ih.target;yh;yh=yh.parentNode){if(yh==yf)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(yh.className))break}return!1}jm(yf,"paste",function(ih){!Of(ih)||wg(Zd,ih)||w0(ih,Zd)||md<=11&&setTimeout(C_(Zd,function(){return Vd.updateFromDOM()}),20)}),jm(yf,"compositionstart",function(ih){Vd.composing={data:ih.data,done:!1}}),jm(yf,"compositionupdate",function(ih){Vd.composing||(Vd.composing={data:ih.data,done:!1})}),jm(yf,"compositionend",function(ih){Vd.composing&&(ih.data!=Vd.composing.data&&Vd.readFromDOMSoon(),Vd.composing.done=!0)}),jm(yf,"touchstart",function(){return df.forceCompositionEnd()}),jm(yf,"input",function(){Vd.composing||Vd.readFromDOMSoon()});function zf(ih){if(!(!Of(ih)||wg(Zd,ih))){if(Zd.somethingSelected())PS({lineWise:!1,text:Zd.getSelections()}),ih.type=="cut"&&Zd.replaceSelection("",null,"cut");else if(Zd.options.lineWiseCopyCut){var yh=BS(Zd);PS({lineWise:!0,text:yh.text}),ih.type=="cut"&&Zd.operation(function(){Zd.setSelections(yh.ranges,0,Sh),Zd.replaceSelection("",null,"cut")})}else return;if(ih.clipboardData){ih.clipboardData.clearData();var Ah=Jb.text.join(`
`);if(ih.clipboardData.setData("Text",Ah),ih.clipboardData.getData("Text")==Ah){ih.preventDefault();return}}var sm=YE(),mm=sm.firstChild;WE(mm),Zd.display.lineSpace.insertBefore(sm,Zd.display.lineSpace.firstChild),mm.value=Jb.text.join(`
`);var $m=Qf(Jf(yf));qf(mm),setTimeout(function(){Zd.display.lineSpace.removeChild(sm),$m.focus(),$m==yf&&df.showPrimarySelection()},50)}}jm(yf,"copy",zf),jm(yf,"cut",zf)},S_.prototype.screenReaderLabelChanged=function(Md){Md?this.div.setAttribute("aria-label",Md):this.div.removeAttribute("aria-label")},S_.prototype.prepareSelection=function(){var Md=rT(this.cm,!1);return Md.focus=Qf(Jf(this.div))==this.div,Md},S_.prototype.showSelection=function(Md,Vd){!Md||!this.cm.display.view.length||((Md.focus||Vd)&&this.showPrimarySelection(),this.showMultipleSelections(Md))},S_.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},S_.prototype.showPrimarySelection=function(){var Md=this.getSelection(),Vd=this.cm,df=Vd.doc.sel.primary(),Zd=df.from(),yf=df.to();if(Vd.display.viewTo==Vd.display.viewFrom||Zd.line>=Vd.display.viewTo||yf.line<Vd.display.viewFrom){Md.removeAllRanges();return}var Of=pb(Vd,Md.anchorNode,Md.anchorOffset),zf=pb(Vd,Md.focusNode,Md.focusOffset);if(!(Of&&!Of.bad&&zf&&!zf.bad&&Eg(Tb(Of,zf),Zd)==0&&Eg(G_(Of,zf),yf)==0)){var ih=Vd.display.view,yh=Zd.line>=Vd.display.viewFrom&&Ty(Vd,Zd)||{node:ih[0].measure.map[2],offset:0},Ah=yf.line<Vd.display.viewTo&&Ty(Vd,yf);if(!Ah){var sm=ih[ih.length-1].measure,mm=sm.maps?sm.maps[sm.maps.length-1]:sm.map;Ah={node:mm[mm.length-1],offset:mm[mm.length-2]-mm[mm.length-3]}}if(!yh||!Ah){Md.removeAllRanges();return}var $m=Md.rangeCount&&Md.getRangeAt(0),Om;try{Om=If(yh.node,yh.offset,Ah.offset,Ah.node)}catch{}Om&&(!ld&&Vd.state.focused?(Md.collapse(yh.node,yh.offset),Om.collapsed||(Md.removeAllRanges(),Md.addRange(Om))):(Md.removeAllRanges(),Md.addRange(Om)),$m&&Md.anchorNode==null?Md.addRange($m):ld&&this.startGracePeriod()),this.rememberSelection()}},S_.prototype.startGracePeriod=function(){var Md=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){Md.gracePeriod=!1,Md.selectionChanged()&&Md.cm.operation(function(){return Md.cm.curOp.selectionChanged=!0})},20)},S_.prototype.showMultipleSelections=function(Md){Af(this.cm.display.cursorDiv,Md.cursors),Af(this.cm.display.selectionDiv,Md.selection)},S_.prototype.rememberSelection=function(){var Md=this.getSelection();this.lastAnchorNode=Md.anchorNode,this.lastAnchorOffset=Md.anchorOffset,this.lastFocusNode=Md.focusNode,this.lastFocusOffset=Md.focusOffset},S_.prototype.selectionInEditor=function(){var Md=this.getSelection();if(!Md.rangeCount)return!1;var Vd=Md.getRangeAt(0).commonAncestorContainer;return Gf(this.div,Vd)},S_.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||Qf(Jf(this.div))!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},S_.prototype.blur=function(){this.div.blur()},S_.prototype.getField=function(){return this.div},S_.prototype.supportsTouch=function(){return!0},S_.prototype.receivedFocus=function(){var Md=this,Vd=this;this.selectionInEditor()?setTimeout(function(){return Md.pollSelection()},20):Eb(this.cm,function(){return Vd.cm.curOp.selectionChanged=!0});function df(){Vd.cm.state.focused&&(Vd.pollSelection(),Vd.polling.set(Vd.cm.options.pollInterval,df))}this.polling.set(this.cm.options.pollInterval,df)},S_.prototype.selectionChanged=function(){var Md=this.getSelection();return Md.anchorNode!=this.lastAnchorNode||Md.anchorOffset!=this.lastAnchorOffset||Md.focusNode!=this.lastFocusNode||Md.focusOffset!=this.lastFocusOffset},S_.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var Md=this.getSelection(),Vd=this.cm;if(Ud&&Nd&&this.cm.display.gutterSpecs.length&&_1(Md.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var df=pb(Vd,Md.anchorNode,Md.anchorOffset),Zd=pb(Vd,Md.focusNode,Md.focusOffset);df&&Zd&&Eb(Vd,function(){gb(Vd.doc,ry(df,Zd),Sh),(df.bad||Zd.bad)&&(Vd.curOp.selectionChanged=!0)})}}},S_.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var Md=this.cm,Vd=Md.display,df=Md.doc.sel.primary(),Zd=df.from(),yf=df.to();if(Zd.ch==0&&Zd.line>Md.firstLine()&&(Zd=Um(Zd.line-1,lg(Md.doc,Zd.line-1).length)),yf.ch==lg(Md.doc,yf.line).text.length&&yf.line<Md.lastLine()&&(yf=Um(yf.line+1,0)),Zd.line<Vd.viewFrom||yf.line>Vd.viewTo-1)return!1;var Of,zf,ih;Zd.line==Vd.viewFrom||(Of=Qy(Md,Zd.line))==0?(zf=Ch(Vd.view[0].line),ih=Vd.view[0].node):(zf=Ch(Vd.view[Of].line),ih=Vd.view[Of-1].node.nextSibling);var yh=Qy(Md,yf.line),Ah,sm;if(yh==Vd.view.length-1?(Ah=Vd.viewTo-1,sm=Vd.lineDiv.lastChild):(Ah=Ch(Vd.view[yh+1].line)-1,sm=Vd.view[yh+1].node.previousSibling),!ih)return!1;for(var mm=Md.doc.splitLines(kx(Md,ih,sm,zf,Ah)),$m=N_(Md.doc,Um(zf,0),Um(Ah,lg(Md.doc,Ah).text.length));mm.length>1&&$m.length>1;)if(mh(mm)==mh($m))mm.pop(),$m.pop(),Ah--;else if(mm[0]==$m[0])mm.shift(),$m.shift(),zf++;else break;for(var Om=0,Wm=0,Jm=mm[0],og=$m[0],Tg=Math.min(Jm.length,og.length);Om<Tg&&Jm.charCodeAt(Om)==og.charCodeAt(Om);)++Om;for(var Cg=mh(mm),Sg=mh($m),Ig=Math.min(Cg.length-(mm.length==1?Om:0),Sg.length-($m.length==1?Om:0));Wm<Ig&&Cg.charCodeAt(Cg.length-Wm-1)==Sg.charCodeAt(Sg.length-Wm-1);)++Wm;if(mm.length==1&&$m.length==1&&zf==Zd.line)for(;Om&&Om>Zd.ch&&Cg.charCodeAt(Cg.length-Wm-1)==Sg.charCodeAt(Sg.length-Wm-1);)Om--,Wm++;mm[mm.length-1]=Cg.slice(0,Cg.length-Wm).replace(/^\u200b+/,""),mm[0]=mm[0].slice(Om).replace(/\u200b+$/,"");var jg=Um(zf,Om),Lg=Um(Ah,$m.length?mh($m).length-Wm:0);if(mm.length>1||mm[0]||Eg(jg,Lg))return pv(Md.doc,mm,jg,Lg,"+input"),!0},S_.prototype.ensurePolled=function(){this.forceCompositionEnd()},S_.prototype.reset=function(){this.forceCompositionEnd()},S_.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},S_.prototype.readFromDOMSoon=function(){var Md=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(Md.readDOMTimeout=null,Md.composing)if(Md.composing.done)Md.composing=null;else return;Md.updateFromDOM()},80))},S_.prototype.updateFromDOM=function(){var Md=this;(this.cm.isReadOnly()||!this.pollContent())&&Eb(this.cm,function(){return Ib(Md.cm)})},S_.prototype.setUneditable=function(Md){Md.contentEditable="false"},S_.prototype.onKeyPress=function(Md){Md.charCode==0||this.composing||(Md.preventDefault(),this.cm.isReadOnly()||C_(this.cm,MT)(this.cm,String.fromCharCode(Md.charCode==null?Md.keyCode:Md.charCode),0))},S_.prototype.readOnlyChanged=function(Md){this.div.contentEditable=String(Md!="nocursor")},S_.prototype.onContextMenu=function(){},S_.prototype.resetPosition=function(){},S_.prototype.needsContentAttribute=!0;function Ty(Md,Vd){var df=dS(Md,Vd.line);if(!df||df.hidden)return null;var Zd=lg(Md.doc,Vd.line),yf=FT(df,Zd,Vd.line),Of=Dm(Zd,Md.doc.direction),zf="left";if(Of){var ih=Wh(Of,Vd.ch);zf=ih%2?"right":"left"}var yh=UT(yf.map,Vd.ch,zf);return yh.offset=yh.collapse=="right"?yh.end:yh.start,yh}function _1(Md){for(var Vd=Md;Vd;Vd=Vd.parentNode)if(/CodeMirror-gutter-wrapper/.test(Vd.className))return!0;return!1}function Cy(Md,Vd){return Vd&&(Md.bad=!0),Md}function kx(Md,Vd,df,Zd,yf){var Of="",zf=!1,ih=Md.doc.lineSeparator(),yh=!1;function Ah(Om){return function(Wm){return Wm.id==Om}}function sm(){zf&&(Of+=ih,yh&&(Of+=ih),zf=yh=!1)}function mm(Om){Om&&(sm(),Of+=Om)}function $m(Om){if(Om.nodeType==1){var Wm=Om.getAttribute("cm-text");if(Wm){mm(Wm);return}var Jm=Om.getAttribute("cm-marker"),og;if(Jm){var Tg=Md.findMarks(Um(Zd,0),Um(yf+1,0),Ah(+Jm));Tg.length&&(og=Tg[0].find(0))&&mm(N_(Md.doc,og.from,og.to).join(ih));return}if(Om.getAttribute("contenteditable")=="false")return;var Cg=/^(pre|div|p|li|table|br)$/i.test(Om.nodeName);if(!/^br$/i.test(Om.nodeName)&&Om.textContent.length==0)return;Cg&&sm();for(var Sg=0;Sg<Om.childNodes.length;Sg++)$m(Om.childNodes[Sg]);/^(pre|p)$/i.test(Om.nodeName)&&(yh=!0),Cg&&(zf=!0)}else Om.nodeType==3&&mm(Om.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;$m(Vd),Vd!=df;)Vd=Vd.nextSibling,yh=!1;return Of}function pb(Md,Vd,df){var Zd;if(Vd==Md.display.lineDiv){if(Zd=Md.display.lineDiv.childNodes[df],!Zd)return Cy(Md.clipPos(Um(Md.display.viewTo-1)),!0);Vd=null,df=0}else for(Zd=Vd;;Zd=Zd.parentNode){if(!Zd||Zd==Md.display.lineDiv)return null;if(Zd.parentNode&&Zd.parentNode==Md.display.lineDiv)break}for(var yf=0;yf<Md.display.view.length;yf++){var Of=Md.display.view[yf];if(Of.node==Zd)return b1(Of,Vd,df)}}function b1(Md,Vd,df){var Zd=Md.text.firstChild,yf=!1;if(!Vd||!Gf(Zd,Vd))return Cy(Um(Ch(Md.line),0),!0);if(Vd==Zd&&(yf=!0,Vd=Zd.childNodes[df],df=0,!Vd)){var Of=Md.rest?mh(Md.rest):Md.line;return Cy(Um(Ch(Of),Of.text.length),yf)}var zf=Vd.nodeType==3?Vd:null,ih=Vd;for(!zf&&Vd.childNodes.length==1&&Vd.firstChild.nodeType==3&&(zf=Vd.firstChild,df&&(df=zf.nodeValue.length));ih.parentNode!=Zd;)ih=ih.parentNode;var yh=Md.measure,Ah=yh.maps;function sm(og,Tg,Cg){for(var Sg=-1;Sg<(Ah?Ah.length:0);Sg++)for(var Ig=Sg<0?yh.map:Ah[Sg],jg=0;jg<Ig.length;jg+=3){var Lg=Ig[jg+2];if(Lg==og||Lg==Tg){var i_=Ch(Sg<0?Md.line:Md.rest[Sg]),w_=Ig[jg]+Cg;return(Cg<0||Lg!=og)&&(w_=Ig[jg+(Cg?1:0)]),Um(i_,w_)}}}var mm=sm(zf,ih,df);if(mm)return Cy(mm,yf);for(var $m=ih.nextSibling,Om=zf?zf.nodeValue.length-df:0;$m;$m=$m.nextSibling){if(mm=sm($m,$m.firstChild,0),mm)return Cy(Um(mm.line,mm.ch-Om),yf);Om+=$m.textContent.length}for(var Wm=ih.previousSibling,Jm=df;Wm;Wm=Wm.previousSibling){if(mm=sm(Wm,Wm.firstChild,-1),mm)return Cy(Um(mm.line,mm.ch+Jm),yf);Jm+=Wm.textContent.length}}var V_=function(Md){this.cm=Md,this.prevInput="",this.pollingFast=!1,this.polling=new dh,this.hasSelection=!1,this.composing=null,this.resetting=!1};V_.prototype.init=function(Md){var Vd=this,df=this,Zd=this.cm;this.createField(Md);var yf=this.textarea;Md.wrapper.insertBefore(this.wrapper,Md.wrapper.firstChild),Fd&&(yf.style.width="0px"),jm(yf,"input",function(){fd&&md>=9&&Vd.hasSelection&&(Vd.hasSelection=null),df.poll()}),jm(yf,"paste",function(zf){wg(Zd,zf)||w0(zf,Zd)||(Zd.state.pasteIncoming=+new Date,df.fastPoll())});function Of(zf){if(!wg(Zd,zf)){if(Zd.somethingSelected())PS({lineWise:!1,text:Zd.getSelections()});else if(Zd.options.lineWiseCopyCut){var ih=BS(Zd);PS({lineWise:!0,text:ih.text}),zf.type=="cut"?Zd.setSelections(ih.ranges,null,Sh):(df.prevInput="",yf.value=ih.text.join(`
`),qf(yf))}else return;zf.type=="cut"&&(Zd.state.cutIncoming=+new Date)}}jm(yf,"cut",Of),jm(yf,"copy",Of),jm(Md.scroller,"paste",function(zf){if(!(v_(Md,zf)||wg(Zd,zf))){if(!yf.dispatchEvent){Zd.state.pasteIncoming=+new Date,df.focus();return}var ih=new Event("paste");ih.clipboardData=zf.clipboardData,yf.dispatchEvent(ih)}}),jm(Md.lineSpace,"selectstart",function(zf){v_(Md,zf)||Pg(zf)}),jm(yf,"compositionstart",function(){var zf=Zd.getCursor("from");df.composing&&df.composing.range.clear(),df.composing={start:zf,range:Zd.markText(zf,Zd.getCursor("to"),{className:"CodeMirror-composing"})}}),jm(yf,"compositionend",function(){df.composing&&(df.poll(),df.composing.range.clear(),df.composing=null)})},V_.prototype.createField=function(Md){this.wrapper=YE(),this.textarea=this.wrapper.firstChild;var Vd=this.cm.options;WE(this.textarea,Vd.spellcheck,Vd.autocorrect,Vd.autocapitalize)},V_.prototype.screenReaderLabelChanged=function(Md){Md?this.textarea.setAttribute("aria-label",Md):this.textarea.removeAttribute("aria-label")},V_.prototype.prepareSelection=function(){var Md=this.cm,Vd=Md.display,df=Md.doc,Zd=rT(Md);if(Md.options.moveInputWithCursor){var yf=Hm(Md,df.sel.primary().head,"div"),Of=Vd.wrapper.getBoundingClientRect(),zf=Vd.lineDiv.getBoundingClientRect();Zd.teTop=Math.max(0,Math.min(Vd.wrapper.clientHeight-10,yf.top+zf.top-Of.top)),Zd.teLeft=Math.max(0,Math.min(Vd.wrapper.clientWidth-10,yf.left+zf.left-Of.left))}return Zd},V_.prototype.showSelection=function(Md){var Vd=this.cm,df=Vd.display;Af(df.cursorDiv,Md.cursors),Af(df.selectionDiv,Md.selection),Md.teTop!=null&&(this.wrapper.style.top=Md.teTop+"px",this.wrapper.style.left=Md.teLeft+"px")},V_.prototype.reset=function(Md){if(!(this.contextMenuPending||this.composing&&Md)){var Vd=this.cm;if(this.resetting=!0,Vd.somethingSelected()){this.prevInput="";var df=Vd.getSelection();this.textarea.value=df,Vd.state.focused&&qf(this.textarea),fd&&md>=9&&(this.hasSelection=df)}else Md||(this.prevInput=this.textarea.value="",fd&&md>=9&&(this.hasSelection=null));this.resetting=!1}},V_.prototype.getField=function(){return this.textarea},V_.prototype.supportsTouch=function(){return!1},V_.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!qd||Qf(Jf(this.textarea))!=this.textarea))try{this.textarea.focus()}catch{}},V_.prototype.blur=function(){this.textarea.blur()},V_.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},V_.prototype.receivedFocus=function(){this.slowPoll()},V_.prototype.slowPoll=function(){var Md=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){Md.poll(),Md.cm.state.focused&&Md.slowPoll()})},V_.prototype.fastPoll=function(){var Md=!1,Vd=this;Vd.pollingFast=!0;function df(){var Zd=Vd.poll();!Zd&&!Md?(Md=!0,Vd.polling.set(60,df)):(Vd.pollingFast=!1,Vd.slowPoll())}Vd.polling.set(20,df)},V_.prototype.poll=function(){var Md=this,Vd=this.cm,df=this.textarea,Zd=this.prevInput;if(this.contextMenuPending||this.resetting||!Vd.state.focused||Uh(df)&&!Zd&&!this.composing||Vd.isReadOnly()||Vd.options.disableInput||Vd.state.keySeq)return!1;var yf=df.value;if(yf==Zd&&!Vd.somethingSelected())return!1;if(fd&&md>=9&&this.hasSelection===yf||zd&&/[\uf700-\uf7ff]/.test(yf))return Vd.display.input.reset(),!1;if(Vd.doc.sel==Vd.display.selForContextMenu){var Of=yf.charCodeAt(0);if(Of==8203&&!Zd&&(Zd=""),Of==8666)return this.reset(),this.cm.execCommand("undo")}for(var zf=0,ih=Math.min(Zd.length,yf.length);zf<ih&&Zd.charCodeAt(zf)==yf.charCodeAt(zf);)++zf;return Eb(Vd,function(){MT(Vd,yf.slice(zf),Zd.length-zf,null,Md.composing?"*compose":null),yf.length>1e3||yf.indexOf(`
`)>-1?df.value=Md.prevInput="":Md.prevInput=yf,Md.composing&&(Md.composing.range.clear(),Md.composing.range=Vd.markText(Md.composing.start,Vd.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},V_.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},V_.prototype.onKeyPress=function(){fd&&md>=9&&(this.hasSelection=null),this.fastPoll()},V_.prototype.onContextMenu=function(Md){var Vd=this,df=Vd.cm,Zd=df.display,yf=Vd.textarea;Vd.contextMenuPending&&Vd.contextMenuPending();var Of=S0(df,Md),zf=Zd.scroller.scrollTop;if(!Of||kd)return;var ih=df.options.resetSelectionOnContextMenu;ih&&df.doc.sel.contains(Of)==-1&&C_(df,gb)(df.doc,ry(Of),Sh);var yh=yf.style.cssText,Ah=Vd.wrapper.style.cssText,sm=Vd.wrapper.offsetParent.getBoundingClientRect();Vd.wrapper.style.cssText="position: static",yf.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(Md.clientY-sm.top-5)+"px; left: "+(Md.clientX-sm.left-5)+`px;
z-index: 1000; background: `+(fd?"rgba(255, 255, 255, .05)":"transparent")+`;
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var mm;vd&&(mm=yf.ownerDocument.defaultView.scrollY),Zd.input.focus(),vd&&yf.ownerDocument.defaultView.scrollTo(null,mm),Zd.input.reset(),df.somethingSelected()||(yf.value=Vd.prevInput=" "),Vd.contextMenuPending=Om,Zd.selForContextMenu=df.doc.sel,clearTimeout(Zd.detectingSelectAll);function $m(){if(yf.selectionStart!=null){var Jm=df.somethingSelected(),og=""+(Jm?yf.value:"");yf.value="⇚",yf.value=og,Vd.prevInput=Jm?"":"",yf.selectionStart=1,yf.selectionEnd=og.length,Zd.selForContextMenu=df.doc.sel}}function Om(){if(Vd.contextMenuPending==Om&&(Vd.contextMenuPending=!1,Vd.wrapper.style.cssText=Ah,yf.style.cssText=yh,fd&&md<9&&Zd.scrollbars.setScrollTop(Zd.scroller.scrollTop=zf),yf.selectionStart!=null)){(!fd||fd&&md<9)&&$m();var Jm=0,og=function(){Zd.selForContextMenu==df.doc.sel&&yf.selectionStart==0&&yf.selectionEnd>0&&Vd.prevInput==""?C_(df,Zv)(df):Jm++<10?Zd.detectingSelectAll=setTimeout(og,500):(Zd.selForContextMenu=null,Zd.input.reset())};Zd.detectingSelectAll=setTimeout(og,200)}}if(fd&&md>=9&&$m(),pf){M_(Md);var Wm=function(){Zm(window,"mouseup",Wm),setTimeout(Om,20)};jm(window,"mouseup",Wm)}else setTimeout(Om,50)},V_.prototype.readOnlyChanged=function(Md){Md||this.reset(),this.textarea.disabled=Md=="nocursor",this.textarea.readOnly=!!Md},V_.prototype.setUneditable=function(){},V_.prototype.needsContentAttribute=!1;function Mx(Md,Vd){if(Vd=Vd?xf(Vd):{},Vd.value=Md.value,!Vd.tabindex&&Md.tabIndex&&(Vd.tabindex=Md.tabIndex),!Vd.placeholder&&Md.placeholder&&(Vd.placeholder=Md.placeholder),Vd.autofocus==null){var df=Qf(Jf(Md));Vd.autofocus=df==Md||Md.getAttribute("autofocus")!=null&&df==document.body}function Zd(){Md.value=ih.getValue()}var yf;if(Md.form&&(jm(Md.form,"submit",Zd),!Vd.leaveSubmitMethodAlone)){var Of=Md.form;yf=Of.submit;try{var zf=Of.submit=function(){Zd(),Of.submit=yf,Of.submit(),Of.submit=zf}}catch{}}Vd.finishInit=function(yh){yh.save=Zd,yh.getTextArea=function(){return Md},yh.toTextArea=function(){yh.toTextArea=isNaN,Zd(),Md.parentNode.removeChild(yh.getWrapperElement()),Md.style.display="",Md.form&&(Zm(Md.form,"submit",Zd),!Vd.leaveSubmitMethodAlone&&typeof Md.form.submit=="function"&&(Md.form.submit=yf))}},Md.style.display="none";var ih=__(function(yh){return Md.parentNode.insertBefore(yh,Md.nextSibling)},Vd);return ih}function y1(Md){Md.off=Zm,Md.on=jm,Md.wheelEventPixels=n1,Md.Doc=Cb,Md.splitLines=jf,Md.countColumn=Yf,Md.findColumn=Pf,Md.isWordChar=Im,Md.Pass=Bf,Md.signal=ug,Md.Line=n0,Md.changeEnd=ny,Md.scrollbarModel=nv,Md.Pos=Um,Md.cmpPos=Eg,Md.modes=dm,Md.mimeModes=Tm,Md.resolveMode=Gm,Md.getMode=Km,Md.modeExtensions=xg,Md.extendMode=eg,Md.copyState=Ag,Md.startState=u_,Md.innerMode=d_,Md.commands=UE,Md.keyMap=C0,Md.keyName=LE,Md.isModifierKey=DS,Md.lookupKey=Ub,Md.normalizeKeyMap=jb,Md.StringStream=Xg,Md.SharedTextMarker=nE,Md.TextMarker=h0,Md.LineWidget=hv,Md.e_preventDefault=Pg,Md.e_stopPropagation=m_,Md.e_stop=M_,Md.addClass=Xf,Md.contains=Gf,Md.rmClass=Sf,Md.keyNames=db}kT(__),dE(__);var $x="iter insert remove copy getEditor constructor".split(" ");for(var FS in Cb.prototype)Cb.prototype.hasOwnProperty(FS)&&Rh($x,FS)<0&&(__.prototype[FS]=function(Md){return function(){return Md.apply(this.doc,arguments)}}(Cb.prototype[FS]));return n_(Cb),__.inputStyles={textarea:V_,contenteditable:S_},__.defineMode=function(Md){!__.defaults.mode&&Md!="null"&&(__.defaults.mode=Md),_m.apply(this,arguments)},__.defineMIME=Zh,__.defineMode("null",function(){return{token:function(Md){return Md.skipToEnd()}}}),__.defineMIME("text/plain","null"),__.defineExtension=function(Md,Vd){__.prototype[Md]=Vd},__.defineDocExtension=function(Md,Vd){Cb.prototype[Md]=Vd},__.fromTextArea=Mx,y1(__),__.version="5.65.18",__})}(codemirror)),codemirror.exports}var codemirrorExports=requireCodemirror();const CodeMirror=getDefaultExportFromCjs(codemirrorExports);var qt$1=Object.defineProperty,Jt$1=(Ra,qa,nd)=>qa in Ra?qt$1(Ra,qa,{enumerable:!0,configurable:!0,writable:!0,value:nd}):Ra[qa]=nd,x$1=(Ra,qa,nd)=>Jt$1(Ra,typeof qa!="symbol"?qa+"":qa,nd);function Zt$1(Ra){if(typeof document>"u")return;let qa=document.head||document.getElementsByTagName("head")[0],nd=document.createElement("style");nd.type="text/css",qa.appendChild(nd),nd.styleSheet?nd.styleSheet.cssText=Ra:nd.appendChild(document.createTextNode(Ra))}Zt$1(":where([data-sonner-toaster][dir=ltr]),:where(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%)}:where([data-sonner-toaster][dir=rtl]),:where(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%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted=true]){transform:translateY(-10px)}@media (hover:none) and (pointer:coarse){:where([data-sonner-toaster][data-lifted=true]){transform:none}}:where([data-sonner-toaster][data-x-position=right]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position=left]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position=center]){left:50%;transform:translateX(-50%)}:where([data-sonner-toaster][data-y-position=top]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position=bottom]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([data-sonner-toast]){--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled=true]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}:where([data-sonner-toast][data-y-position=top]){top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position=bottom]){bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise=true]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme=dark]) :where([data-cancel]){background:rgba(255,255,255,.3)}[data-sonner-toast] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}:where([data-sonner-toast]) :where([data-disabled=true]){cursor:not-allowed}[data-sonner-toast]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping=true])::before{content:'';position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position=top][data-swiping=true])::before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position=bottom][data-swiping=true])::before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping=false][data-removed=true])::before{content:'';position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast])::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted=true]){--y:translateY(0);opacity:1}:where([data-sonner-toast][data-expanded=false][data-front=false]){--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded=false][data-front=false][data-styled=true])>*{opacity:0}:where([data-sonner-toast][data-visible=false]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted=true][data-expanded=true]){--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]){--y:translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]){--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]){--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed=true][data-front=false])::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount,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:swipe-out .2s ease-out forwards}@keyframes swipe-out{from{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;--mobile-offset:16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 91%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 91%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 91%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 100%, 12%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 12%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-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%)}");let vt$1=0,ae$2=class{constructor(){x$1(this,"subscribers"),x$1(this,"toasts"),x$1(this,"subscribe",qa=>(this.subscribers.push(qa),()=>{const nd=this.subscribers.indexOf(qa);this.subscribers.splice(nd,1)})),x$1(this,"publish",qa=>{this.subscribers.forEach(nd=>nd(qa))}),x$1(this,"addToast",qa=>{this.publish(qa),this.toasts=[...this.toasts,qa]}),x$1(this,"create",qa=>{var nd;const{message:od,...ld}=qa,ud=typeof qa.id=="number"||qa.id&&((nd=qa.id)==null?void 0:nd.length)>0?qa.id:vt$1++,dd=this.toasts.find(fd=>fd.id===ud),pd=qa.dismissible===void 0?!0:qa.dismissible;return dd?this.toasts=this.toasts.map(fd=>fd.id===ud?(this.publish({...fd,...qa,id:ud,title:od}),{...fd,...qa,id:ud,dismissible:pd,title:od}):fd):this.addToast({title:od,...ld,dismissible:pd,id:ud}),ud}),x$1(this,"dismiss",qa=>(qa||this.toasts.forEach(nd=>{this.subscribers.forEach(od=>od({id:nd.id,dismiss:!0}))}),this.subscribers.forEach(nd=>nd({id:qa,dismiss:!0})),qa)),x$1(this,"message",(qa,nd)=>this.create({...nd,message:qa,type:"default"})),x$1(this,"error",(qa,nd)=>this.create({...nd,type:"error",message:qa})),x$1(this,"success",(qa,nd)=>this.create({...nd,type:"success",message:qa})),x$1(this,"info",(qa,nd)=>this.create({...nd,type:"info",message:qa})),x$1(this,"warning",(qa,nd)=>this.create({...nd,type:"warning",message:qa})),x$1(this,"loading",(qa,nd)=>this.create({...nd,type:"loading",message:qa})),x$1(this,"promise",(qa,nd)=>{if(!nd)return;let od;nd.loading!==void 0&&(od=this.create({...nd,promise:qa,type:"loading",message:nd.loading,description:typeof nd.description!="function"?nd.description:void 0}));const ld=qa instanceof Promise?qa:qa();let ud=od!==void 0,dd;const pd=ld.then(async md=>{if(dd=["resolve",md],se$2(md)&&!md.ok){ud=!1;const vd=typeof nd.error=="function"?await nd.error(`HTTP error! status: ${md.status}`):nd.error,Ad=typeof nd.description=="function"?await nd.description(`HTTP error! status: ${md.status}`):nd.description;this.create({id:od,type:"error",message:vd,description:Ad})}else if(nd.success!==void 0){ud=!1;const vd=typeof nd.success=="function"?await nd.success(md):nd.success,Ad=typeof nd.description=="function"?await nd.description(md):nd.description;this.create({id:od,type:"success",message:vd,description:Ad})}}).catch(async md=>{if(dd=["reject",md],nd.error!==void 0){ud=!1;const vd=typeof nd.error=="function"?await nd.error(md):nd.error,Ad=typeof nd.description=="function"?await nd.description(md):nd.description;this.create({id:od,type:"error",message:vd,description:Ad})}}).finally(()=>{var md;ud&&(this.dismiss(od),od=void 0),(md=nd.finally)==null||md.call(nd)}),fd=()=>new Promise((md,vd)=>pd.then(()=>dd[0]==="reject"?vd(dd[1]):md(dd[1])).catch(vd));return typeof od!="string"&&typeof od!="number"?{unwrap:fd}:Object.assign(od,{unwrap:fd})}),x$1(this,"custom",(qa,nd)=>{const od=(nd==null?void 0:nd.id)||vt$1++;return this.publish({component:qa,id:od,...nd}),od}),this.subscribers=[],this.toasts=[]}};const I$2=new ae$2;function oe$1(Ra,qa){const nd=(qa==null?void 0:qa.id)||vt$1++;return I$2.create({message:Ra,id:nd,type:"default",...qa}),nd}const se$2=Ra=>Ra&&typeof Ra=="object"&&"ok"in Ra&&typeof Ra.ok=="boolean"&&"status"in Ra&&typeof Ra.status=="number",ne$2=oe$1,re$1=()=>I$2.toasts,Ke$1=Object.assign(ne$2,{success:I$2.success,info:I$2.info,warning:I$2.warning,error:I$2.error,custom:I$2.custom,message:I$2.message,promise:I$2.promise,dismiss:I$2.dismiss,loading:I$2.loading},{getHistory:re$1});function ut$1(Ra){return Ra.label!==void 0}function ie$1(){const Ra=ref$1(!1);return watchEffect(()=>{const qa=()=>{Ra.value=document.hidden};return document.addEventListener("visibilitychange",qa),()=>window.removeEventListener("visibilitychange",qa)}),{isDocumentHidden:Ra}}const le$1=["aria-live","data-rich-colors","data-styled","data-mounted","data-promise","data-removed","data-visible","data-y-position","data-x-position","data-index","data-front","data-swiping","data-dismissible","data-type","data-invert","data-swipe-out","data-expanded"],de$1=["aria-label","data-disabled"],Wt$1=4e3,ue$1=20,ce$3=200,fe$2=defineComponent({__name:"Toast",props:{toast:{},toasts:{},index:{},expanded:{type:Boolean},invert:{type:Boolean},heights:{},gap:{},position:{},visibleToasts:{},expandByDefault:{type:Boolean},closeButton:{type:Boolean},interacting:{type:Boolean},style:{},cancelButtonStyle:{},actionButtonStyle:{},duration:{},class:{},unstyled:{type:Boolean},descriptionClass:{},loadingIcon:{},classes:{},icons:{},closeButtonAriaLabel:{},pauseWhenPageIsHidden:{type:Boolean},cn:{type:Function},defaultRichColors:{type:Boolean}},emits:["update:heights","removeToast"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=ref$1(!1),ud=ref$1(!1),dd=ref$1(!1),pd=ref$1(!1),fd=ref$1(!1),md=ref$1(0),vd=ref$1(0),Ad=ref$1(nd.toast.duration||nd.duration||Wt$1),Nd=ref$1(null),Od=ref$1(null),kd=computed(()=>nd.index===0),Ld=computed(()=>nd.index+1<=nd.visibleToasts),Gd=computed(()=>nd.toast.type),jd=computed(()=>nd.toast.dismissible!==!1),Fd=computed(()=>nd.toast.class||""),Ud=computed(()=>nd.descriptionClass||""),qd=nd.toast.style||{},zd=computed(()=>nd.heights.findIndex(Jf=>Jf.toastId===nd.toast.id)||0),Wd=computed(()=>nd.toast.closeButton??nd.closeButton);computed(()=>nd.toast.duration||nd.duration||Wt$1);const Jd=ref$1(0),_f=ref$1(0),Xd=ref$1(null),pf=computed(()=>nd.position.split("-")),mf=computed(()=>pf.value[0]),Sf=computed(()=>pf.value[1]),Tf=computed(()=>typeof nd.toast.title!="string"),Af=computed(()=>typeof nd.toast.description!="string"),Ef=computed(()=>nd.heights.reduce((Jf,Kf,Cf)=>Cf>=zd.value?Jf:Jf+Kf.height,0)),Nf=ie$1(),If=computed(()=>nd.toast.invert||nd.invert),Gf=computed(()=>Gd.value==="loading"),Qf=computed(()=>zd.value*nd.gap+Ef.value||0);onMounted(()=>{if(!ld.value)return;const Jf=Od.value,Kf=Jf==null?void 0:Jf.style.height;Jf.style.height="auto";const Cf=Jf.getBoundingClientRect().height;Jf.style.height=Kf,vd.value=Cf;let xf;nd.heights.find(Yf=>Yf.toastId===nd.toast.id)?xf=nd.heights.map(Yf=>Yf.toastId===nd.toast.id?{...Yf,height:Cf}:Yf):xf=[{toastId:nd.toast.id,height:Cf,position:nd.toast.position},...nd.heights],od("update:heights",xf)});function Xf(){ud.value=!0,md.value=Qf.value;const Jf=nd.heights.filter(Kf=>Kf.toastId!==nd.toast.id);od("update:heights",Jf),setTimeout(()=>{od("removeToast",nd.toast)},ce$3)}function ph(){var Jf,Kf;if(Gf.value||!jd.value)return{};Xf(),(Kf=(Jf=nd.toast).onDismiss)==null||Kf.call(Jf,nd.toast)}function qf(Jf){Gf.value||!jd.value||(Nd.value=new Date,md.value=Qf.value,Jf.target.setPointerCapture(Jf.pointerId),Jf.target.tagName!=="BUTTON"&&(dd.value=!0,Xd.value={x:Jf.clientX,y:Jf.clientY}))}function Lf(){var Jf,Kf,Cf,xf,Yf;if(pd.value||!jd)return;Xd.value=null;const dh=Number(((Jf=Od.value)==null?void 0:Jf.style.getPropertyValue("--swipe-amount").replace("px",""))||0),Rh=new Date().getTime()-((Kf=Nd.value)==null?void 0:Kf.getTime()),th=Math.abs(dh)/Rh;if(Math.abs(dh)>=ue$1||th>.11){md.value=Qf.value,(xf=(Cf=nd.toast).onDismiss)==null||xf.call(Cf,nd.toast),Xf(),pd.value=!0,fd.value=!1;return}(Yf=Od.value)==null||Yf.style.setProperty("--swipe-amount","0px"),dd.value=!1}function Wf(Jf){var Kf,Cf;if(!Xd.value||!jd.value)return;const xf=Jf.clientY-Xd.value.y,Yf=((Kf=window.getSelection())==null?void 0:Kf.toString().length)>0,dh=mf.value==="top"?Math.min(0,xf):Math.max(0,xf);Math.abs(dh)>0&&(fd.value=!0),!Yf&&((Cf=Od.value)==null||Cf.style.setProperty("--swipe-amount",`${dh}px`))}return watchEffect(Jf=>{if(nd.toast.promise&&Gd.value==="loading"||nd.toast.duration===1/0||nd.toast.type==="loading")return;let Kf;const Cf=()=>{if(_f.value<Jd.value){const Yf=new Date().getTime()-Jd.value;Ad.value=Ad.value-Yf}_f.value=new Date().getTime()},xf=()=>{Ad.value!==1/0&&(Jd.value=new Date().getTime(),Kf=setTimeout(()=>{var Yf,dh;(dh=(Yf=nd.toast).onAutoClose)==null||dh.call(Yf,nd.toast),Xf()},Ad.value))};nd.expanded||nd.interacting||nd.pauseWhenPageIsHidden&&Nf?Cf():xf(),Jf(()=>{clearTimeout(Kf)})}),watch(()=>nd.toast.delete,()=>{nd.toast.delete&&Xf()},{deep:!0}),onMounted(()=>{if(ld.value=!0,Od.value){const Jf=Od.value.getBoundingClientRect().height;vd.value=Jf;const Kf=[{toastId:nd.toast.id,height:Jf,position:nd.toast.position},...nd.heights];od("update:heights",Kf)}}),onBeforeUnmount(()=>{if(Od.value){const Jf=nd.heights.filter(Kf=>Kf.toastId!==nd.toast.id);od("update:heights",Jf)}}),(Jf,Kf)=>{var Cf,xf,Yf,dh,Rh,th,Bf,Sh,Fh,uh,Pf,Uf,Zf,mh,Mh,_h,pm,Jh,Mm,Im,gm,Lm,Vm,Th,Rf,wf,sh;return openBlock(),createElementBlock("li",{ref_key:"toastRef",ref:Od,"aria-live":Jf.toast.important?"assertive":"polite","aria-atomic":"true",role:"status",tabindex:"0","data-sonner-toast":"true",class:normalizeClass(Jf.cn(nd.class,Fd.value,(Cf=Jf.classes)==null?void 0:Cf.toast,(xf=Jf.toast.classes)==null?void 0:xf.toast,(Yf=Jf.classes)==null?void 0:Yf[Gd.value],(Rh=(dh=Jf.toast)==null?void 0:dh.classes)==null?void 0:Rh[Gd.value])),"data-rich-colors":Jf.toast.richColors??Jf.defaultRichColors,"data-styled":!(Jf.toast.component||(th=Jf.toast)!=null&&th.unstyled||Jf.unstyled),"data-mounted":ld.value,"data-promise":!!Jf.toast.promise,"data-removed":ud.value,"data-visible":Ld.value,"data-y-position":mf.value,"data-x-position":Sf.value,"data-index":Jf.index,"data-front":kd.value,"data-swiping":dd.value,"data-dismissible":jd.value,"data-type":Gd.value,"data-invert":If.value,"data-swipe-out":pd.value,"data-expanded":!!(Jf.expanded||Jf.expandByDefault&&ld.value),style:normalizeStyle({"--index":Jf.index,"--toasts-before":Jf.index,"--z-index":Jf.toasts.length-Jf.index,"--offset":`${ud.value?md.value:Qf.value}px`,"--initial-height":Jf.expandByDefault?"auto":`${vd.value}px`,...Jf.style,...unref(qd)}),onPointerdown:qf,onPointerup:Lf,onPointermove:Wf},[Wd.value&&!Jf.toast.component?(openBlock(),createElementBlock("button",{key:0,"aria-label":Jf.closeButtonAriaLabel||"Close toast","data-disabled":Gf.value,"data-close-button":"true",class:normalizeClass(Jf.cn((Bf=Jf.classes)==null?void 0:Bf.closeButton,(Fh=(Sh=Jf.toast)==null?void 0:Sh.classes)==null?void 0:Fh.closeButton)),onClick:ph},[(uh=Jf.icons)!=null&&uh.close?(openBlock(),createBlock(resolveDynamicComponent((Pf=Jf.icons)==null?void 0:Pf.close),{key:0})):renderSlot(Jf.$slots,"close-icon",{key:1})],10,de$1)):createCommentVNode("",!0),Jf.toast.component?(openBlock(),createBlock(resolveDynamicComponent(Jf.toast.component),mergeProps({key:1},Jf.toast.componentProps,{onCloseToast:ph}),null,16)):(openBlock(),createElementBlock(Fragment,{key:2},[Gd.value!=="default"||Jf.toast.icon||Jf.toast.promise?(openBlock(),createElementBlock("div",{key:0,"data-icon":"",class:normalizeClass(Jf.cn((Uf=Jf.classes)==null?void 0:Uf.icon,(mh=(Zf=Jf.toast)==null?void 0:Zf.classes)==null?void 0:mh.icon))},[(Jf.toast.promise||Gd.value==="loading")&&!Jf.toast.icon?renderSlot(Jf.$slots,"loading-icon",{key:0}):createCommentVNode("",!0),Jf.toast.icon?(openBlock(),createBlock(resolveDynamicComponent(Jf.toast.icon),{key:1})):(openBlock(),createElementBlock(Fragment,{key:2},[Gd.value==="success"?renderSlot(Jf.$slots,"success-icon",{key:0}):Gd.value==="error"?renderSlot(Jf.$slots,"error-icon",{key:1}):Gd.value==="warning"?renderSlot(Jf.$slots,"warning-icon",{key:2}):Gd.value==="info"?renderSlot(Jf.$slots,"info-icon",{key:3}):createCommentVNode("",!0)],64))],2)):createCommentVNode("",!0),createBaseVNode("div",{"data-content":"",class:normalizeClass(Jf.cn((Mh=Jf.classes)==null?void 0:Mh.content,(pm=(_h=Jf.toast)==null?void 0:_h.classes)==null?void 0:pm.content))},[createBaseVNode("div",{"data-title":"",class:normalizeClass(Jf.cn((Jh=Jf.classes)==null?void 0:Jh.title,(Mm=Jf.toast.classes)==null?void 0:Mm.title))},[Tf.value?(openBlock(),createBlock(resolveDynamicComponent(Jf.toast.title),normalizeProps(mergeProps({key:0},Jf.toast.componentProps)),null,16)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(Jf.toast.title),1)],64))],2),Jf.toast.description?(openBlock(),createElementBlock("div",{key:0,"data-description":"",class:normalizeClass(Jf.cn(Jf.descriptionClass,Ud.value,(Im=Jf.classes)==null?void 0:Im.description,(gm=Jf.toast.classes)==null?void 0:gm.description))},[Af.value?(openBlock(),createBlock(resolveDynamicComponent(Jf.toast.description),normalizeProps(mergeProps({key:0},Jf.toast.componentProps)),null,16)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(Jf.toast.description),1)],64))],2)):createCommentVNode("",!0)],2),Jf.toast.cancel?(openBlock(),createElementBlock("button",{key:1,style:normalizeStyle(Jf.toast.cancelButtonStyle||Jf.cancelButtonStyle),class:normalizeClass(Jf.cn((Lm=Jf.classes)==null?void 0:Lm.cancelButton,(Vm=Jf.toast.classes)==null?void 0:Vm.cancelButton)),"data-button":"","data-cancel":"",onClick:Kf[0]||(Kf[0]=xh=>{var Wh,om;unref(ut$1)(Jf.toast.cancel)&&jd.value&&((om=(Wh=Jf.toast.cancel).onClick)==null||om.call(Wh,xh),Xf())})},toDisplayString(unref(ut$1)(Jf.toast.cancel)?(Th=Jf.toast.cancel)==null?void 0:Th.label:Jf.toast.cancel),7)):createCommentVNode("",!0),Jf.toast.action?(openBlock(),createElementBlock("button",{key:2,style:normalizeStyle(Jf.toast.actionButtonStyle||Jf.actionButtonStyle),class:normalizeClass(Jf.cn((Rf=Jf.classes)==null?void 0:Rf.actionButton,(wf=Jf.toast.classes)==null?void 0:wf.actionButton)),"data-button":"","data-action":"",onClick:Kf[1]||(Kf[1]=xh=>{var Wh,om;unref(ut$1)(Jf.toast.action)&&(xh.defaultPrevented||((om=(Wh=Jf.toast.action).onClick)==null||om.call(Wh,xh),!xh.defaultPrevented&&Xf()))})},toDisplayString(unref(ut$1)(Jf.toast.action)?(sh=Jf.toast.action)==null?void 0:sh.label:Jf.toast.action),7)):createCommentVNode("",!0)],64))],46,le$1)}}}),at$2=(Ra,qa)=>{const nd=Ra.__vccOpts||Ra;for(const[od,ld]of qa)nd[od]=ld;return nd},pe$1={},he$1={xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stoke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"};function ge$2(Ra,qa){return openBlock(),createElementBlock("svg",he$1,qa[0]||(qa[0]=[createBaseVNode("line",{x1:"18",y1:"6",x2:"6",y2:"18"},null,-1),createBaseVNode("line",{x1:"6",y1:"6",x2:"18",y2:"18"},null,-1)]))}const me$2=at$2(pe$1,[["render",ge$2]]),ve$2=["data-visible"],ye$2={class:"sonner-spinner"},be$3=defineComponent({__name:"Loader",props:{visible:{type:Boolean}},setup(Ra){const qa=Array(12).fill(0);return(nd,od)=>(openBlock(),createElementBlock("div",{class:"sonner-loading-wrapper","data-visible":nd.visible},[createBaseVNode("div",ye$2,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(qa),ld=>(openBlock(),createElementBlock("div",{key:`spinner-bar-${ld}`,class:"sonner-loading-bar"}))),128))])],8,ve$2))}}),we$2={},ke$2={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};function xe$1(Ra,qa){return openBlock(),createElementBlock("svg",ke$2,qa[0]||(qa[0]=[createBaseVNode("path",{"fill-rule":"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","clip-rule":"evenodd"},null,-1)]))}const Te$1=at$2(we$2,[["render",xe$1]]),Be$2={},Se$2={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};function Ce$1(Ra,qa){return openBlock(),createElementBlock("svg",Se$2,qa[0]||(qa[0]=[createBaseVNode("path",{"fill-rule":"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","clip-rule":"evenodd"},null,-1)]))}const $e=at$2(Be$2,[["render",Ce$1]]),Ie$1={},Ee$2={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"};function Pe$2(Ra,qa){return openBlock(),createElementBlock("svg",Ee$2,qa[0]||(qa[0]=[createBaseVNode("path",{"fill-rule":"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","clip-rule":"evenodd"},null,-1)]))}const De$1=at$2(Ie$1,[["render",Pe$2]]),He$1={},ze$1={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};function Me$1(Ra,qa){return openBlock(),createElementBlock("svg",ze$1,qa[0]||(qa[0]=[createBaseVNode("path",{"fill-rule":"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","clip-rule":"evenodd"},null,-1)]))}const Oe$1=at$2(He$1,[["render",Me$1]]),Ae$2=["aria-label"],Le$2=["dir","data-theme","data-rich-colors","data-y-position","data-x-position","data-lifted"],Ye$1=3,Ut$1="32px",Ne$1=356,Re$2=14,Fe$1=typeof window<"u"&&typeof document<"u";function je$2(...Ra){return Ra.filter(Boolean).join(" ")}const Ve=defineComponent({name:"Toaster",inheritAttrs:!1,__name:"Toaster",props:{invert:{type:Boolean,default:!1},theme:{default:"light"},position:{default:"bottom-right"},hotkey:{default:()=>["altKey","KeyT"]},richColors:{type:Boolean,default:!1},expand:{type:Boolean,default:!1},duration:{},gap:{default:Re$2},visibleToasts:{default:Ye$1},closeButton:{type:Boolean,default:!1},toastOptions:{default:()=>({})},class:{default:""},style:{default:()=>({})},offset:{default:Ut$1},dir:{default:"auto"},icons:{},containerAriaLabel:{default:"Notifications"},pauseWhenPageIsHidden:{type:Boolean,default:!1},cn:{type:Function,default:je$2}},setup(Ra){const qa=Ra;function nd(){if(typeof window>"u"||typeof document>"u")return"ltr";const Ud=document.documentElement.getAttribute("dir");return Ud==="auto"||!Ud?window.getComputedStyle(document.documentElement).direction:Ud}const od=useAttrs(),ld=ref$1([]),ud=computed(()=>(Ud,qd)=>ld.value.filter(zd=>!zd.position&&qd===0||zd.position===Ud)),dd=computed(()=>{const Ud=ld.value.filter(qd=>qd.position).map(qd=>qd.position);return Ud.length>0?Array.from(new Set([qa.position].concat(Ud))):[qa.position]}),pd=ref$1([]),fd=ref$1(!1),md=ref$1(!1),vd=ref$1(qa.theme!=="system"?qa.theme:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),Ad=ref$1(null),Nd=ref$1(null),Od=ref$1(!1),kd=qa.hotkey.join("+").replace(/Key/g,"").replace(/Digit/g,"");function Ld(Ud){var qd;(qd=ld.value.find(zd=>zd.id===Ud.id))!=null&&qd.delete||I$2.dismiss(Ud.id),ld.value=ld.value.filter(({id:zd})=>zd!==Ud.id)}function Gd(Ud){var qd,zd;Od.value&&!((zd=(qd=Ud.currentTarget)==null?void 0:qd.contains)!=null&&zd.call(qd,Ud.relatedTarget))&&(Od.value=!1,Nd.value&&(Nd.value.focus({preventScroll:!0}),Nd.value=null))}function jd(Ud){Ud.target instanceof HTMLElement&&Ud.target.dataset.dismissible==="false"||Od.value||(Od.value=!0,Nd.value=Ud.relatedTarget)}function Fd(Ud){Ud.target&&Ud.target instanceof HTMLElement&&Ud.target.dataset.dismissible==="false"||(md.value=!0)}return watchEffect(Ud=>{const qd=I$2.subscribe(zd=>{if(zd.dismiss){ld.value=ld.value.map(Wd=>Wd.id===zd.id?{...Wd,delete:!0}:Wd);return}nextTick$1(()=>{const Wd=ld.value.findIndex(Jd=>Jd.id===zd.id);Wd!==-1?ld.value=[...ld.value.slice(0,Wd),{...ld.value[Wd],...zd},...ld.value.slice(Wd+1)]:ld.value=[zd,...ld.value]})});Ud(qd)}),watch(()=>qa.theme,Ud=>{if(Ud!=="system"){vd.value=Ud;return}if(Ud==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?vd.value="dark":vd.value="light"),typeof window>"u")return;const qd=window.matchMedia("(prefers-color-scheme: dark)");try{qd.addEventListener("change",({matches:zd})=>{zd?vd.value="dark":vd.value="light"})}catch{qd.addListener(({matches:zd})=>{try{zd?vd.value="dark":vd.value="light"}catch(Wd){console.error(Wd)}})}}),watchEffect(()=>{Ad.value&&Nd.value&&(Nd.value.focus({preventScroll:!0}),Nd.value=null,Od.value=!1)}),watchEffect(()=>{ld.value.length<=1&&(fd.value=!1)}),watchEffect(Ud=>{function qd(zd){const Wd=qa.hotkey.every(Xd=>zd[Xd]||zd.code===Xd),Jd=Array.isArray(Ad.value)?Ad.value[0]:Ad.value;Wd&&(fd.value=!0,Jd==null||Jd.focus());const _f=document.activeElement===Ad.value||(Jd==null?void 0:Jd.contains(document.activeElement));zd.code==="Escape"&&_f&&(fd.value=!1)}Fe$1&&(document.addEventListener("keydown",qd),Ud(()=>{document.removeEventListener("keydown",qd)}))}),(Ud,qd)=>(openBlock(),createElementBlock("section",{"aria-label":`${Ud.containerAriaLabel} ${unref(kd)}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false"},[(openBlock(!0),createElementBlock(Fragment,null,renderList(dd.value,(zd,Wd)=>{var Jd;return openBlock(),createElementBlock("ol",mergeProps({key:zd,ref_for:!0,ref_key:"listRef",ref:Ad,"data-sonner-toaster":"",class:qa.class,dir:Ud.dir==="auto"?nd():Ud.dir,tabIndex:-1,"data-theme":Ud.theme,"data-rich-colors":Ud.richColors,"data-y-position":zd.split("-")[0],"data-x-position":zd.split("-")[1],"data-lifted":fd.value&&ld.value.length>1&&!Ud.expand,style:{"--front-toast-height":`${(Jd=pd.value[0])==null?void 0:Jd.height}px`,"--offset":typeof Ud.offset=="number"?`${Ud.offset}px`:Ud.offset||Ut$1,"--width":`${Ne$1}px`,"--gap":`${Ud.gap}px`,...Ud.style,...unref(od).style}},Ud.$attrs,{onBlur:Gd,onFocus:jd,onMouseenter:qd[1]||(qd[1]=()=>fd.value=!0),onMousemove:qd[2]||(qd[2]=()=>fd.value=!0),onMouseleave:qd[3]||(qd[3]=()=>{md.value||(fd.value=!1)}),onPointerdown:Fd,onPointerup:qd[4]||(qd[4]=()=>md.value=!1)}),[(openBlock(!0),createElementBlock(Fragment,null,renderList(ud.value(zd,Wd),(_f,Xd)=>{var pf,mf,Sf,Tf,Af,Ef,Nf,If,Gf;return openBlock(),createBlock(fe$2,{key:_f.id,heights:pd.value.filter(Qf=>Qf.position===_f.position),icons:Ud.icons,index:Xd,toast:_f,defaultRichColors:Ud.richColors,duration:((pf=Ud.toastOptions)==null?void 0:pf.duration)??Ud.duration,class:normalizeClass(((mf=Ud.toastOptions)==null?void 0:mf.class)??""),descriptionClass:(Sf=Ud.toastOptions)==null?void 0:Sf.descriptionClass,invert:Ud.invert,visibleToasts:Ud.visibleToasts,closeButton:((Tf=Ud.toastOptions)==null?void 0:Tf.closeButton)??Ud.closeButton,interacting:md.value,position:zd,style:normalizeStyle((Af=Ud.toastOptions)==null?void 0:Af.style),unstyled:(Ef=Ud.toastOptions)==null?void 0:Ef.unstyled,classes:(Nf=Ud.toastOptions)==null?void 0:Nf.classes,cancelButtonStyle:(If=Ud.toastOptions)==null?void 0:If.cancelButtonStyle,actionButtonStyle:(Gf=Ud.toastOptions)==null?void 0:Gf.actionButtonStyle,toasts:ld.value.filter(Qf=>Qf.position===_f.position),expandByDefault:Ud.expand,gap:Ud.gap,expanded:fd.value,pauseWhenPageIsHidden:Ud.pauseWhenPageIsHidden,cn:Ud.cn,"onUpdate:heights":qd[0]||(qd[0]=Qf=>{pd.value=Qf}),onRemoveToast:Ld},{"close-icon":withCtx(()=>[renderSlot(Ud.$slots,"close-icon",{},()=>[createVNode(me$2)])]),"loading-icon":withCtx(()=>[renderSlot(Ud.$slots,"loading-icon",{},()=>[createVNode(be$3,{visible:_f.type==="loading"},null,8,["visible"])])]),"success-icon":withCtx(()=>[renderSlot(Ud.$slots,"success-icon",{},()=>[createVNode(Te$1)])]),"error-icon":withCtx(()=>[renderSlot(Ud.$slots,"error-icon",{},()=>[createVNode(Oe$1)])]),"warning-icon":withCtx(()=>[renderSlot(Ud.$slots,"warning-icon",{},()=>[createVNode(De$1)])]),"info-icon":withCtx(()=>[renderSlot(Ud.$slots,"info-icon",{},()=>[createVNode($e)])]),_:2},1032,["heights","icons","index","toast","defaultRichColors","duration","class","descriptionClass","invert","visibleToasts","closeButton","interacting","position","style","unstyled","classes","cancelButtonStyle","actionButtonStyle","toasts","expandByDefault","gap","expanded","pauseWhenPageIsHidden","cn"])}),128))],16,Le$2)}),128))],8,Ae$2))}}),useStore=defineStore("store",()=>{const Ra=useDark(),qa=useToggle(Ra),nd=useStorage("isMacCodeBlock",!0),od=useToggle(nd),ld=useStorage("isEditOnLeft",!0),ud=useToggle(ld),dd=useStorage("isCiteStatus",!1),pd=useToggle(dd),fd=useStorage("isCountStatus",!1),md=useToggle(fd),vd=useStorage(addPrefix("use_indent"),!1),Ad=useToggle(vd),Nd=ref$1(""),Od=useStorage(addPrefix("theme"),themeOptions[0].value),kd=useStorage("fonts",fontFamilyOptions[0].value),Ld=useStorage("size",fontSizeOptions[2].value),Gd=useStorage("color",colorOptions[0].value),jd=useStorage("codeBlockTheme",codeBlockThemeOptions[23].value),Fd=useStorage("legend",legendOptions[3].value),Ud=computed(()=>Number(Ld.value.replace("px",""))),qd=ref$1(null),zd=useStorage("__editor_content",DEFAULT_CONTENT),Wd=useStorage(addPrefix("is_open_right_slider"),!1),Jd=useStorage(addPrefix("is_open_post_slider"),!1),_f=useStorage(addPrefix("posts"),[{title:"内容1",content:DEFAULT_CONTENT}]),Xd=useStorage(addPrefix("current_post_index"),0),pf=Im=>{Xd.value=_f.value.push({title:Im,content:`# ${Im}`})-1},mf=(Im,gm)=>{_f.value[Im].title=gm},Sf=Im=>{_f.value.splice(Im,1),Xd.value=Math.min(Im,_f.value.length-1)};watch(Xd,()=>{toRaw(qd.value).setValue(_f.value[Xd.value].content)}),onMounted(()=>{zd.value!==DEFAULT_CONTENT&&(_f.value[Xd.value].content=zd.value,zd.value=DEFAULT_CONTENT)});const Tf=()=>{formatDoc(qd.value.getValue()).then(Im=>{_f.value[Xd.value].content=Im,toRaw(qd.value).setValue(Im)})},Af=()=>{const Im=jd.value,gm=document.querySelector("#hljs");if(gm)gm.setAttribute("href",Im);else{const Lm=document.createElement("link");Lm.setAttribute("type","text/css"),Lm.setAttribute("rel","stylesheet"),Lm.setAttribute("href",Im),Lm.setAttribute("id","hljs"),document.head.appendChild(Lm)}},Ef=ref$1(null),Nf=Im=>{Ef.value.setValue(Im)},If=useStorage("__css_content",DEFAULT_CSS_CONTENT),Gf=useStorage(addPrefix("css_content_config"),{active:"方案1",tabs:[{title:"方案1",name:"方案1",content:If.value||DEFAULT_CSS_CONTENT}]});onMounted(()=>{If.value=""});const Qf=()=>Gf.value.tabs.find(Im=>Im.name===Gf.value.active),Xf=Im=>{Gf.value.active=Im;const gm=Gf.value.tabs.find(Lm=>Lm.name===Im).content;Nf(gm)},ph=Im=>{const gm=Qf();gm.title=Im,gm.name=Im,Gf.value.active=Im},qf=Im=>{Gf.value.tabs.push({name:Im,title:Im,content:DEFAULT_CSS_CONTENT}),Gf.value.active=Im,Nf(DEFAULT_CSS_CONTENT)},Lf=Im=>Gf.value.tabs.every(({name:gm})=>gm!==Im),Wf=initRenderer({theme:customCssWithTemplate(css2json(Qf().content),Gd.value,customizeTheme(themeMap[Od.value],{fontSize:Ud.value,color:Gd.value})),fonts:kd.value,size:Ld.value,isUseIndent:vd.value}),Jf=ref$1(null),Kf=()=>{Af(),Wf.reset({citeStatus:dd.value,legend:Fd.value,isUseIndent:vd.value,countStatus:fd.value});const{markdownContent:Im,readingTime:gm}=Wf.parseFrontMatterAndContent(qd.value.getValue());Jf.value=gm;let Lm=marked$1.parse(Im);Lm=Wf.buildReadingTime(gm)+Lm,Lm=Lm.replace(/(style=".*?)"/,'$1;margin-top: 0"'),Lm+=Wf.buildFootnotes(),Lm+=Wf.buildAddition(),nd.value&&(Lm+=`
<style>
.hljs.code__pre > .mac-sign {
display: flex;
}
</style>
`),Lm+=`
<style>
.code__pre {
padding: 0 !important;
}
.hljs.code__pre code {
display: -webkit-box;
padding: 0.5em 1em 1em;
overflow-x: auto;
text-indent: 0;
}
</style>
`,Nd.value=Wf.createContainer(Lm)},Cf=()=>{const Im=css2json(Ef.value.getValue()),gm=customCssWithTemplate(Im,Gd.value,customizeTheme(themeMap[Od.value],{fontSize:Ud.value,color:Gd.value}));Wf.setOptions({theme:gm}),Kf()};onMounted(()=>{const Im=document.querySelector("#cssEditor");Im.value=Qf().content;const gm=Ra.value?"darcula":"xq-light";Ef.value=markRaw(CodeMirror.fromTextArea(Im,{mode:"css",theme:gm,lineNumbers:!1,lineWrapping:!0,styleActiveLine:!0,matchBrackets:!0,autofocus:!0,extraKeys:{[`${shiftKey}-${altKey}-F`]:function(Vm){formatDoc(Vm.getValue(),"css").then(Th=>{Qf().content=Th,Vm.setValue(Th)})}}})),Ef.value.on("keyup",(Lm,Vm)=>{(Vm.keyCode>=65&&Vm.keyCode<=90||Vm.keyCode===189)&&Lm.showHint(Vm)}),Ef.value.on("update",()=>{Cf(),Qf().content=Ef.value.getValue()})}),watch(Ra,()=>{var gm,Lm;const Im=Ra.value?"darcula":"xq-light";(Lm=(gm=toRaw(Ef.value))==null?void 0:gm.setOption)==null||Lm.call(gm,"theme",Im)});const xf=()=>{dd.value=!1,nd.value=!0,fd.value=!1,Od.value=themeOptions[0].value,kd.value=fontFamilyOptions[0].value,kd.value=fontFamilyOptions[0].value,Ld.value=fontSizeOptions[2].value,Gd.value=colorOptions[0].value,jd.value=codeBlockThemeOptions[23].value,Fd.value=legendOptions[3].value,Gf.value={active:"方案 1",tabs:[{title:"方案 1",name:"方案 1",content:If.value||DEFAULT_CSS_CONTENT}]},Ef.value.setValue(DEFAULT_CSS_CONTENT),Cf(),Kf(),Ke$1.success("样式重置成功~")},Yf=Im=>(...gm)=>{Im(...gm),Kf()},dh=(Im,gm)=>{const Lm=themeMap[Od.value],Vm=Number(Im.replace("px",""));return customCssWithTemplate(css2json(Qf().content),gm,customizeTheme(Lm,{fontSize:Vm,color:gm}))},Rh=Yf(Im=>{Wf.setOptions({theme:customCssWithTemplate(css2json(Qf().content),Gd.value,customizeTheme(themeMap[Im],{fontSize:Ud.value}))}),Od.value=Im}),th=Yf(Im=>{Wf.setOptions({fonts:Im}),kd.value=Im}),Bf=Yf(Im=>{const gm=dh(Im,Gd.value);Wf.setOptions({size:Im,theme:gm}),Ld.value=Im}),Sh=Yf(Im=>{const gm=dh(Ld.value,Im);Wf.setOptions({theme:gm}),Gd.value=Im}),Fh=Yf(Im=>{jd.value=Im}),uh=Yf(Im=>{Fd.value=Im}),Pf=Yf(()=>{od()}),Uf=Yf(()=>{pd()}),Zf=Yf(()=>{md()}),mh=Yf(()=>{Ad()}),Mh=()=>{exportHTML(Gd.value),document.querySelector("#output").innerHTML=Nd.value},_h=()=>{downloadMD(qd.value.getValue())},pm=()=>{const Im=document.body,gm=document.createElement("input");gm.type="file",gm.name="filename",gm.accept=".md",gm.onchange=()=>{const Lm=gm.files[0];if(!Lm)return;const Vm=new FileReader;Vm.readAsText(Lm),Vm.onload=Th=>{qd.value.setValue(Th.target.result),Ke$1.success("文档导入成功")}},Im.appendChild(gm),gm.click(),Im.removeChild(gm)},Jh=ref$1(!1);return{isDark:Ra,toggleDark:qa,isEditOnLeft:ld,toggleEditOnLeft:ud,isMacCodeBlock:nd,isCiteStatus:dd,citeStatusChanged:Uf,isUseIndent:vd,useIndentChanged:mh,isCountStatus:fd,countStatusChanged:Zf,output:Nd,editor:qd,cssEditor:Ef,theme:Od,fontFamily:kd,fontSize:Ld,primaryColor:Gd,codeBlockTheme:jd,legend:Fd,readingTime:Jf,editorRefresh:Kf,themeChanged:Rh,fontChanged:th,sizeChanged:Bf,colorChanged:Sh,codeBlockThemeChanged:Fh,legendChanged:uh,macCodeBlockChanged:Pf,formatContent:Tf,exportEditorContent2HTML:Mh,exportEditorContent2MD:_h,importMarkdownContent:pm,isOpenConfirmDialog:Jh,resetStyleConfirm:()=>{Jh.value=!0},resetStyle:xf,cssContentConfig:Gf,addCssContentTab:qf,validatorTabName:Lf,setCssEditorValue:Nf,tabChanged:Xf,renameTab:ph,posts:_f,currentPostIndex:Xd,addPost:pf,renamePost:mf,delPost:Sf,isOpenPostSlider:Jd,isOpenRightSlider:Wd}}),useDisplayStore=defineStore("display",()=>{const Ra=ref$1(!1),qa=useToggle(Ra),nd=ref$1(!1),od=useToggle(nd),ld=ref$1(!1),ud=useToggle(ld);return{isShowCssEditor:Ra,toggleShowCssEditor:qa,isShowInsertFormDialog:nd,toggleShowInsertFormDialog:od,isShowUploadImgDialog:ld,toggleShowUploadImgDialog:ud}}),_hoisted_1$e={class:"space-x-2 flex justify-between"},_hoisted_2$9={class:"space-y-2 border-1 rounded p-2"},_sfc_main$15=defineComponent({__name:"InsertFormDialog",setup(Ra){const qa=useStore(),nd=useDisplayStore(),{toggleShowInsertFormDialog:od}=nd,ld=ref$1(3),ud=ref$1(3),dd=ref$1({});function pd(){ld.value=3,ud.value=3,dd.value={}}function fd(){const vd=createTable({rows:ld.value,cols:ud.value,data:dd.value});toRaw(qa.editor).replaceSelection(`
${vd}
`,"end"),pd(),od()}function md(vd){vd||od(!1)}return(vd,Ad)=>{const Nd=_sfc_main$16,Od=_sfc_main$17,kd=_sfc_main$18,Ld=_sfc_main$19,Gd=_sfc_main$1a,jd=_sfc_main$1b,Fd=_sfc_main$1c,Ud=_sfc_main$1d,qd=_sfc_main$1e,zd=_sfc_main$1o,Wd=_sfc_main$1f,Jd=_sfc_main$1g,_f=_sfc_main$1h;return openBlock(),createBlock(_f,{open:unref(nd).isShowInsertFormDialog,"onUpdate:open":md},{default:withCtx(()=>[createVNode(Jd,null,{default:withCtx(()=>[createVNode(Od,null,{default:withCtx(()=>[createVNode(Nd,null,{default:withCtx(()=>Ad[3]||(Ad[3]=[createTextVNode("插入表格")])),_:1})]),_:1}),createBaseVNode("div",_hoisted_1$e,[createVNode(Ud,{modelValue:unref(ld),"onUpdate:modelValue":Ad[0]||(Ad[0]=Xd=>isRef(ld)?ld.value=Xd:null),min:1,max:100},{default:withCtx(()=>[createVNode(kd,null,{default:withCtx(()=>Ad[4]||(Ad[4]=[createTextVNode("行数")])),_:1}),createVNode(Fd,null,{default:withCtx(()=>[createVNode(Ld),createVNode(Gd),createVNode(jd)]),_:1})]),_:1},8,["modelValue"]),createVNode(Ud,{modelValue:unref(ud),"onUpdate:modelValue":Ad[1]||(Ad[1]=Xd=>isRef(ud)?ud.value=Xd:null),min:1,max:100},{default:withCtx(()=>[createVNode(kd,null,{default:withCtx(()=>Ad[5]||(Ad[5]=[createTextVNode("列数")])),_:1}),createVNode(Fd,null,{default:withCtx(()=>[createVNode(Ld),createVNode(Gd),createVNode(jd)]),_:1})]),_:1},8,["modelValue"])]),createBaseVNode("div",_hoisted_2$9,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(ld)+1,Xd=>(openBlock(),createElementBlock("div",{key:Xd,class:normalizeClass([{"head-style":Xd===1},"space-x-2 flex"])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(ud),pf=>(openBlock(),createBlock(qd,{key:pf,modelValue:unref(dd)[`k_${Xd-1}_${pf-1}`],"onUpdate:modelValue":mf=>unref(dd)[`k_${Xd-1}_${pf-1}`]=mf,class:normalizeClass({"bg-gray-100 dark:bg-gray-900":Xd===1}),placeholder:Xd===1?"表头":""},null,8,["modelValue","onUpdate:modelValue","class","placeholder"]))),128))],2))),128))]),createVNode(Wd,null,{default:withCtx(()=>[createVNode(zd,{variant:"outline",onClick:Ad[2]||(Ad[2]=Xd=>unref(od)(!1))},{default:withCtx(()=>Ad[6]||(Ad[6]=[createTextVNode(" 取 消 ")])),_:1}),createVNode(zd,{onClick:fd},{default:withCtx(()=>Ad[7]||(Ad[7]=[createTextVNode(" 确 定 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"])}}}),_sfc_main$14=defineComponent({__name:"Tabs",props:{defaultValue:{},orientation:{},dir:{},activationMode:{},modelValue:{},asChild:{type:Boolean},as:{}},emits:["update:modelValue"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,dd)=>(openBlock(),createBlock(unref(fg),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_hoisted_1$d={class:"space-y-4"},_hoisted_2$8={class:"h-60 border"},_sfc_main$13=defineComponent({__name:"CustomUploadForm",setup(Ra){const qa=useStore(),nd=useLocalStorage("formCustomConfig",removeLeft(`
const {file, util, okCb, errCb} = CUSTOM_ARG
const param = new FormData()
param.append('file', file)
util.axios.post('${window.location.origin}/upload', param, {
headers: { 'Content-Type': 'multipart/form-data' }
}).then(res => {
okCb(res.url)
}).catch(err => {
errCb(err)
})
`).trim()),od=useTemplateRef("formCustomTextarea"),ld=ref$1(null);onMounted(()=>{ld.value=markRaw(CodeMirror.fromTextArea(od.value,{mode:"javascript",theme:qa.isDark?"darcula":"xq-light",lineNumbers:!0})),nextTick$1(()=>{nextTick$1(()=>{var dd;(dd=ld.value)==null||dd.setValue(nd.value)})})});function ud(){const dd=ld.value.getValue();localStorage.setItem("formCustomConfig",dd),Ke$1.success("保存成功")}return(dd,pd)=>{const fd=_sfc_main$1o;return openBlock(),createElementBlock("div",_hoisted_1$d,[createBaseVNode("div",_hoisted_2$8,[createBaseVNode("textarea",{ref_key:"formCustomTextarea",ref:od,placeholder:"Your custom code here."},null,512)]),createVNode(fd,{variant:"link",class:"p-0",href:"https://github.com/doocs/md#自定义上传逻辑",target:"_blank"},{default:withCtx(()=>pd[0]||(pd[0]=[createTextVNode(" 参数详情 ")])),_:1}),createVNode(fd,{class:"block",onClick:ud},{default:withCtx(()=>pd[1]||(pd[1]=[createTextVNode(" 保存配置 ")])),_:1})])}}}),_sfc_main$12=defineComponent({__name:"Switch",props:{defaultChecked:{type:Boolean},checked:{type:Boolean},disabled:{type:Boolean},required:{type:Boolean},name:{},id:{},value:{},asChild:{type:Boolean},as:{},class:{}},emits:["update:checked"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(cg$1),mergeProps(unref(ud),{class:unref(cn$5)("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",nd.class)}),{default:withCtx(()=>[createVNode(unref(pg),{class:normalizeClass(unref(cn$5)("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5"))},{default:withCtx(()=>[renderSlot(dd.$slots,"thumb")]),_:3},8,["class"])]),_:3},16,["class"]))}}),_hoisted_1$c={class:"min-h-[64px]"},_hoisted_2$7={class:"flex flex-1 flex-col justify-between"},_hoisted_3$5={class:"min-h-[40px] flex items-center"},_hoisted_4$5={key:0,class:"min-h-[24px] flex items-center text-[12px] text-red-500"},_hoisted_5$4={key:1,class:"mb-[-24px]"},_sfc_main$11=defineComponent({__name:"FormItem",props:{label:{},required:{type:Boolean},error:{}},setup(Ra){const qa=Ra;return(nd,od)=>{const ld=_sfc_main$18;return openBlock(),createElementBlock("div",_hoisted_1$c,[createVNode(ld,{class:"mb-[24px] flex items-center"},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(["mr-4 min-h-[40px] min-h-4 w-[150px] flex flex-shrink-0 items-center justify-end font-bold",{required:qa.required}])},toDisplayString(qa.label),3),createBaseVNode("div",_hoisted_2$7,[createBaseVNode("div",_hoisted_3$5,[renderSlot(nd.$slots,"default",{},void 0,!0)]),nd.error?(openBlock(),createElementBlock("p",_hoisted_4$5,toDisplayString(nd.error),1)):createCommentVNode("",!0),nd.error?(openBlock(),createElementBlock("div",_hoisted_5$4)):createCommentVNode("",!0)])]),_:3})])}}}),__unplugin_components_12=_export_sfc(_sfc_main$11,[["__scopeId","data-v-0d03152f"]]),_sfc_main$10=defineComponent({__name:"TabsContent",props:{value:{},forceMount:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(mg),mergeProps({class:unref(cn$5)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",qa.class)},nd.value),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$$=defineComponent({__name:"Select",props:{open:{type:Boolean},defaultOpen:{type:Boolean},defaultValue:{},modelValue:{},dir:{},name:{},autocomplete:{},disabled:{type:Boolean},required:{type:Boolean}},emits:["update:modelValue","update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,dd)=>(openBlock(),createBlock(unref(ky$1),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_hoisted_1$b={class:"absolute left-2 h-3.5 w-3.5 flex items-center justify-center"},_sfc_main$_=defineComponent({__name:"SelectItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(zy),mergeProps(unref(od),{class:unref(cn$5)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",qa.class)}),{default:withCtx(()=>[createBaseVNode("span",_hoisted_1$b,[createVNode(unref(Ky),null,{default:withCtx(()=>[createVNode(unref(Check),{class:"h-4 w-4"})]),_:1})]),createVNode(unref(jy),null,{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3})]),_:3},16,["class"]))}}),_sfc_main$Z=defineComponent({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(qy),mergeProps(unref(od),{class:unref(cn$5)("flex cursor-default items-center justify-center py-1",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default",{},()=>[createVNode(unref(ChevronDown),{class:"h-4 w-4"})])]),_:3},16,["class"]))}}),_sfc_main$Y=defineComponent({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(Gy),mergeProps(unref(od),{class:unref(cn$5)("flex cursor-default items-center justify-center py-1",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default",{},()=>[createVNode(unref(ChevronUp),{class:"h-4 w-4"})])]),_:3},16,["class"]))}}),_sfc_main$X=defineComponent({__name:"SelectTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(My),mergeProps(unref(od),{class:unref(cn$5)("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:truncate text-start",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default"),createVNode(unref(Xy),{"as-child":""},{default:withCtx(()=>[createVNode(unref(ChevronDown),{class:"h-4 w-4 shrink-0 opacity-50"})]),_:1})]),_:3},16,["class"]))}}),_sfc_main$W=defineComponent({__name:"SelectValue",props:{placeholder:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Yy),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),_sfc_main$V=defineComponent({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean},position:{default:"popper"},bodyLock:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(Vy),null,{default:withCtx(()=>[createVNode(unref(Fy),mergeProps({...unref(ud),...dd.$attrs},{class:unref(cn$5)("relative z-50 max-h-96 min-w-32 overflow-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]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",dd.position==="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",nd.class)}),{default:withCtx(()=>[createVNode(unref(_sfc_main$Y)),createVNode(unref(Uy),{class:normalizeClass(unref(cn$5)("p-1",dd.position==="popper"&&"h-[--radix-select-trigger-height] w-full min-w-[--radix-select-trigger-width]"))},{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},8,["class"]),createVNode(unref(_sfc_main$Z))]),_:3},16,["class"])]),_:3}))}}),_sfc_main$U=defineComponent({__name:"TabsList",props:{loop:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(vg),mergeProps(nd.value,{class:unref(cn$5)("inline-flex items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",qa.class)}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["class"]))}}),_hoisted_1$a={class:"truncate"},_sfc_main$T=defineComponent({__name:"TabsTrigger",props:{value:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(hg),mergeProps(unref(od),{class:unref(cn$5)("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 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-sm",qa.class)}),{default:withCtx(()=>[createBaseVNode("span",_hoisted_1$a,[renderSlot(ld.$slots,"default")])]),_:3},16,["class"]))}});/**
* vee-validate v4.15.0
* (c) 2024 Abdelrahman Awad
* @license MIT
*/function isCallable(Ra){return typeof Ra=="function"}function isNullOrUndefined(Ra){return Ra==null}const isObject$4=Ra=>Ra!==null&&!!Ra&&typeof Ra=="object"&&!Array.isArray(Ra);function isIndex$1(Ra){return Number(Ra)>=0}function toNumber$4(Ra){const qa=parseFloat(Ra);return isNaN(qa)?Ra:qa}function isObjectLike$1(Ra){return typeof Ra=="object"&&Ra!==null}function getTag$1(Ra){return Ra==null?Ra===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(Ra)}function isPlainObject$2(Ra){if(!isObjectLike$1(Ra)||getTag$1(Ra)!=="[object Object]")return!1;if(Object.getPrototypeOf(Ra)===null)return!0;let qa=Ra;for(;Object.getPrototypeOf(qa)!==null;)qa=Object.getPrototypeOf(qa);return Object.getPrototypeOf(Ra)===qa}function merge$2(Ra,qa){return Object.keys(qa).forEach(nd=>{if(isPlainObject$2(qa[nd])&&isPlainObject$2(Ra[nd])){Ra[nd]||(Ra[nd]={}),merge$2(Ra[nd],qa[nd]);return}Ra[nd]=qa[nd]}),Ra}function normalizeFormPath(Ra){const qa=Ra.split(".");if(!qa.length)return"";let nd=String(qa[0]);for(let od=1;od<qa.length;od++){if(isIndex$1(qa[od])){nd+=`[${qa[od]}]`;continue}nd+=`.${qa[od]}`}return nd}const RULES={};function resolveRule(Ra){return RULES[Ra]}function set(Ra,qa,nd){typeof nd.value=="object"&&(nd.value=klona(nd.value)),!nd.enumerable||nd.get||nd.set||!nd.configurable||!nd.writable||qa==="__proto__"?Object.defineProperty(Ra,qa,nd):Ra[qa]=nd.value}function klona(Ra){if(typeof Ra!="object")return Ra;var qa=0,nd,od,ld,ud=Object.prototype.toString.call(Ra);if(ud==="[object Object]"?ld=Object.create(Ra.__proto__||null):ud==="[object Array]"?ld=Array(Ra.length):ud==="[object Set]"?(ld=new Set,Ra.forEach(function(dd){ld.add(klona(dd))})):ud==="[object Map]"?(ld=new Map,Ra.forEach(function(dd,pd){ld.set(klona(pd),klona(dd))})):ud==="[object Date]"?ld=new Date(+Ra):ud==="[object RegExp]"?ld=new RegExp(Ra.source,Ra.flags):ud==="[object DataView]"?ld=new Ra.constructor(klona(Ra.buffer)):ud==="[object ArrayBuffer]"?ld=Ra.slice(0):ud.slice(-6)==="Array]"&&(ld=new Ra.constructor(Ra)),ld){for(od=Object.getOwnPropertySymbols(Ra);qa<od.length;qa++)set(ld,od[qa],Object.getOwnPropertyDescriptor(Ra,od[qa]));for(qa=0,od=Object.getOwnPropertyNames(Ra);qa<od.length;qa++)Object.hasOwnProperty.call(ld,nd=od[qa])&&ld[nd]===Ra[nd]||set(ld,nd,Object.getOwnPropertyDescriptor(Ra,nd))}return ld||Ra}const FormContextKey=Symbol("vee-validate-form"),PublicFormContextKey=Symbol("vee-validate-form-context"),FieldContextKey=Symbol("vee-validate-field-instance"),IS_ABSENT=Symbol("Default empty value"),isClient=typeof window<"u";function isLocator(Ra){return isCallable(Ra)&&!!Ra.__locatorRef}function isTypedSchema(Ra){return!!Ra&&isCallable(Ra.parse)&&Ra.__type==="VVTypedSchema"}function isYupValidator(Ra){return!!Ra&&isCallable(Ra.validate)}function hasCheckedAttr(Ra){return Ra==="checkbox"||Ra==="radio"}function isContainerValue(Ra){return isObject$4(Ra)||Array.isArray(Ra)}function isEmptyContainer(Ra){return Array.isArray(Ra)?Ra.length===0:isObject$4(Ra)&&Object.keys(Ra).length===0}function isNotNestedPath(Ra){return/^\[.+\]$/i.test(Ra)}function isNativeMultiSelect(Ra){return isNativeSelect(Ra)&&Ra.multiple}function isNativeSelect(Ra){return Ra.tagName==="SELECT"}function isNativeMultiSelectNode(Ra,qa){const nd=![!1,null,void 0,0].includes(qa.multiple)&&!Number.isNaN(qa.multiple);return Ra==="select"&&"multiple"in qa&&nd}function shouldHaveValueBinding(Ra,qa){return!isNativeMultiSelectNode(Ra,qa)&&qa.type!=="file"&&!hasCheckedAttr(qa.type)}function isFormSubmitEvent(Ra){return isEvent(Ra)&&Ra.target&&"submit"in Ra.target}function isEvent(Ra){return Ra?!!(typeof Event<"u"&&isCallable(Event)&&Ra instanceof Event||Ra&&Ra.srcElement):!1}function isPropPresent(Ra,qa){return qa in Ra&&Ra[qa]!==IS_ABSENT}function isEqual(Ra,qa){if(Ra===qa)return!0;if(Ra&&qa&&typeof Ra=="object"&&typeof qa=="object"){if(Ra.constructor!==qa.constructor)return!1;var nd,od,ld;if(Array.isArray(Ra)){if(nd=Ra.length,nd!=qa.length)return!1;for(od=nd;od--!==0;)if(!isEqual(Ra[od],qa[od]))return!1;return!0}if(Ra instanceof Map&&qa instanceof Map){if(Ra.size!==qa.size)return!1;for(od of Ra.entries())if(!qa.has(od[0]))return!1;for(od of Ra.entries())if(!isEqual(od[1],qa.get(od[0])))return!1;return!0}if(isFile$1(Ra)&&isFile$1(qa))return!(Ra.size!==qa.size||Ra.name!==qa.name||Ra.lastModified!==qa.lastModified||Ra.type!==qa.type);if(Ra instanceof Set&&qa instanceof Set){if(Ra.size!==qa.size)return!1;for(od of Ra.entries())if(!qa.has(od[0]))return!1;return!0}if(ArrayBuffer.isView(Ra)&&ArrayBuffer.isView(qa)){if(nd=Ra.length,nd!=qa.length)return!1;for(od=nd;od--!==0;)if(Ra[od]!==qa[od])return!1;return!0}if(Ra.constructor===RegExp)return Ra.source===qa.source&&Ra.flags===qa.flags;if(Ra.valueOf!==Object.prototype.valueOf)return Ra.valueOf()===qa.valueOf();if(Ra.toString!==Object.prototype.toString)return Ra.toString()===qa.toString();if(ld=Object.keys(Ra),nd=ld.length-countUndefinedValues(Ra,ld),nd!==Object.keys(qa).length-countUndefinedValues(qa,Object.keys(qa)))return!1;for(od=nd;od--!==0;)if(!Object.prototype.hasOwnProperty.call(qa,ld[od]))return!1;for(od=nd;od--!==0;){var ud=ld[od];if(!isEqual(Ra[ud],qa[ud]))return!1}return!0}return Ra!==Ra&&qa!==qa}function countUndefinedValues(Ra,qa){let nd=0;for(let ld=qa.length;ld--!==0;){var od=qa[ld];Ra[od]===void 0&&nd++}return nd}function isFile$1(Ra){return isClient?Ra instanceof File:!1}function cleanupNonNestedPath(Ra){return isNotNestedPath(Ra)?Ra.replace(/\[|\]/gi,""):Ra}function getFromPath(Ra,qa,nd){return Ra?isNotNestedPath(qa)?Ra[cleanupNonNestedPath(qa)]:(qa||"").split(/\.|\[(\d+)\]/).filter(Boolean).reduce((ld,ud)=>isContainerValue(ld)&&ud in ld?ld[ud]:nd,Ra):nd}function setInPath(Ra,qa,nd){if(isNotNestedPath(qa)){Ra[cleanupNonNestedPath(qa)]=nd;return}const od=qa.split(/\.|\[(\d+)\]/).filter(Boolean);let ld=Ra;for(let ud=0;ud<od.length;ud++){if(ud===od.length-1){ld[od[ud]]=nd;return}(!(od[ud]in ld)||isNullOrUndefined(ld[od[ud]]))&&(ld[od[ud]]=isIndex$1(od[ud+1])?[]:{}),ld=ld[od[ud]]}}function unset(Ra,qa){if(Array.isArray(Ra)&&isIndex$1(qa)){Ra.splice(Number(qa),1);return}isObject$4(Ra)&&delete Ra[qa]}function unsetPath(Ra,qa){if(isNotNestedPath(qa)){delete Ra[cleanupNonNestedPath(qa)];return}const nd=qa.split(/\.|\[(\d+)\]/).filter(Boolean);let od=Ra;for(let ud=0;ud<nd.length;ud++){if(ud===nd.length-1){unset(od,nd[ud]);break}if(!(nd[ud]in od)||isNullOrUndefined(od[nd[ud]]))break;od=od[nd[ud]]}const ld=nd.map((ud,dd)=>getFromPath(Ra,nd.slice(0,dd).join(".")));for(let ud=ld.length-1;ud>=0;ud--)if(isEmptyContainer(ld[ud])){if(ud===0){unset(Ra,nd[0]);continue}unset(ld[ud-1],nd[ud-1])}}function keysOf(Ra){return Object.keys(Ra)}function injectWithSelf(Ra,qa=void 0){const nd=getCurrentInstance();return(nd==null?void 0:nd.provides[Ra])||inject(Ra,qa)}function resolveNextCheckboxValue(Ra,qa,nd){if(Array.isArray(Ra)){const od=[...Ra],ld=od.findIndex(ud=>isEqual(ud,qa));return ld>=0?od.splice(ld,1):od.push(qa),od}return isEqual(Ra,qa)?nd:qa}function debounceAsync(Ra,qa=0){let nd=null,od=[];return function(...ld){return nd&&clearTimeout(nd),nd=setTimeout(()=>{const ud=Ra(...ld);od.forEach(dd=>dd(ud)),od=[]},qa),new Promise(ud=>od.push(ud))}}function applyModelModifiers(Ra,qa){return isObject$4(qa)&&qa.number?toNumber$4(Ra):Ra}function withLatest(Ra,qa){let nd;return async function(...ld){const ud=Ra(...ld);nd=ud;const dd=await ud;return ud!==nd?dd:(nd=void 0,qa(dd,ld))}}function normalizeErrorItem(Ra){return Array.isArray(Ra)?Ra:Ra?[Ra]:[]}function omit(Ra,qa){const nd={};for(const od in Ra)qa.includes(od)||(nd[od]=Ra[od]);return nd}function debounceNextTick(Ra){let qa=null,nd=[];return function(...od){const ld=nextTick$1(()=>{if(qa!==ld)return;const ud=Ra(...od);nd.forEach(dd=>dd(ud)),nd=[],qa=null});return qa=ld,new Promise(ud=>nd.push(ud))}}function normalizeChildren(Ra,qa,nd){return qa.slots.default?typeof Ra=="string"||!Ra?qa.slots.default(nd()):{default:()=>{var od,ld;return(ld=(od=qa.slots).default)===null||ld===void 0?void 0:ld.call(od,nd())}}:qa.slots.default}function getBoundValue(Ra){if(hasValueBinding(Ra))return Ra._value}function hasValueBinding(Ra){return"_value"in Ra}function parseInputValue(Ra){return Ra.type==="number"||Ra.type==="range"?Number.isNaN(Ra.valueAsNumber)?Ra.value:Ra.valueAsNumber:Ra.value}function normalizeEventValue(Ra){if(!isEvent(Ra))return Ra;const qa=Ra.target;if(hasCheckedAttr(qa.type)&&hasValueBinding(qa))return getBoundValue(qa);if(qa.type==="file"&&qa.files){const nd=Array.from(qa.files);return qa.multiple?nd:nd[0]}if(isNativeMultiSelect(qa))return Array.from(qa.options).filter(nd=>nd.selected&&!nd.disabled).map(getBoundValue);if(isNativeSelect(qa)){const nd=Array.from(qa.options).find(od=>od.selected);return nd?getBoundValue(nd):qa.value}return parseInputValue(qa)}function normalizeRules(Ra){const qa={};return Object.defineProperty(qa,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),Ra?isObject$4(Ra)&&Ra._$$isNormalized?Ra:isObject$4(Ra)?Object.keys(Ra).reduce((nd,od)=>{const ld=normalizeParams(Ra[od]);return Ra[od]!==!1&&(nd[od]=buildParams(ld)),nd},qa):typeof Ra!="string"?qa:Ra.split("|").reduce((nd,od)=>{const ld=parseRule(od);return ld.name&&(nd[ld.name]=buildParams(ld.params)),nd},qa):qa}function normalizeParams(Ra){return Ra===!0?[]:Array.isArray(Ra)||isObject$4(Ra)?Ra:[Ra]}function buildParams(Ra){const qa=nd=>typeof nd=="string"&&nd[0]==="@"?createLocator(nd.slice(1)):nd;return Array.isArray(Ra)?Ra.map(qa):Ra instanceof RegExp?[Ra]:Object.keys(Ra).reduce((nd,od)=>(nd[od]=qa(Ra[od]),nd),{})}const parseRule=Ra=>{let qa=[];const nd=Ra.split(":")[0];return Ra.includes(":")&&(qa=Ra.split(":").slice(1).join(":").split(",")),{name:nd,params:qa}};function createLocator(Ra){const qa=nd=>{var od;return(od=getFromPath(nd,Ra))!==null&&od!==void 0?od:nd[Ra]};return qa.__locatorRef=Ra,qa}function extractLocators(Ra){return Array.isArray(Ra)?Ra.filter(isLocator):keysOf(Ra).filter(qa=>isLocator(Ra[qa])).map(qa=>Ra[qa])}const DEFAULT_CONFIG={generateMessage:({field:Ra})=>`${Ra} is not valid.`,bails:!0,validateOnBlur:!0,validateOnChange:!0,validateOnInput:!1,validateOnModelUpdate:!0};let currentConfig=Object.assign({},DEFAULT_CONFIG);const getConfig$1=()=>currentConfig;async function validate$1(Ra,qa,nd={}){const od=nd==null?void 0:nd.bails,ld={name:(nd==null?void 0:nd.name)||"{field}",rules:qa,label:nd==null?void 0:nd.label,bails:od??!0,formData:(nd==null?void 0:nd.values)||{}},ud=await _validate(ld,Ra);return Object.assign(Object.assign({},ud),{valid:!ud.errors.length})}async function _validate(Ra,qa){const nd=Ra.rules;if(isTypedSchema(nd)||isYupValidator(nd))return validateFieldWithTypedSchema(qa,Object.assign(Object.assign({},Ra),{rules:nd}));if(isCallable(nd)||Array.isArray(nd)){const pd={field:Ra.label||Ra.name,name:Ra.name,label:Ra.label,form:Ra.formData,value:qa},fd=Array.isArray(nd)?nd:[nd],md=fd.length,vd=[];for(let Ad=0;Ad<md;Ad++){const Nd=fd[Ad],Od=await Nd(qa,pd);if(!(typeof Od!="string"&&!Array.isArray(Od)&&Od)){if(Array.isArray(Od))vd.push(...Od);else{const Ld=typeof Od=="string"?Od:_generateFieldError(pd);vd.push(Ld)}if(Ra.bails)return{errors:vd}}}return{errors:vd}}const od=Object.assign(Object.assign({},Ra),{rules:normalizeRules(nd)}),ld=[],ud=Object.keys(od.rules),dd=ud.length;for(let pd=0;pd<dd;pd++){const fd=ud[pd],md=await _test(od,qa,{name:fd,params:od.rules[fd]});if(md.error&&(ld.push(md.error),Ra.bails))return{errors:ld}}return{errors:ld}}function isYupError(Ra){return!!Ra&&Ra.name==="ValidationError"}function yupToTypedSchema(Ra){return{__type:"VVTypedSchema",async parse(nd,od){var ld;try{return{output:await Ra.validate(nd,{abortEarly:!1,context:(od==null?void 0:od.formData)||{}}),errors:[]}}catch(ud){if(!isYupError(ud))throw ud;if(!(!((ld=ud.inner)===null||ld===void 0)&&ld.length)&&ud.errors.length)return{errors:[{path:ud.path,errors:ud.errors}]};const dd=ud.inner.reduce((pd,fd)=>{const md=fd.path||"";return pd[md]||(pd[md]={errors:[],path:md}),pd[md].errors.push(...fd.errors),pd},{});return{errors:Object.values(dd)}}}}}async function validateFieldWithTypedSchema(Ra,qa){const od=await(isTypedSchema(qa.rules)?qa.rules:yupToTypedSchema(qa.rules)).parse(Ra,{formData:qa.formData}),ld=[];for(const ud of od.errors)ud.errors.length&&ld.push(...ud.errors);return{value:od.value,errors:ld}}async function _test(Ra,qa,nd){const od=resolveRule(nd.name);if(!od)throw new Error(`No such validator '${nd.name}' exists.`);const ld=fillTargetValues(nd.params,Ra.formData),ud={field:Ra.label||Ra.name,name:Ra.name,label:Ra.label,value:qa,form:Ra.formData,rule:Object.assign(Object.assign({},nd),{params:ld})},dd=await od(qa,ld,ud);return typeof dd=="string"?{error:dd}:{error:dd?void 0:_generateFieldError(ud)}}function _generateFieldError(Ra){const qa=getConfig$1().generateMessage;return qa?qa(Ra):"Field is invalid"}function fillTargetValues(Ra,qa){const nd=od=>isLocator(od)?od(qa):od;return Array.isArray(Ra)?Ra.map(nd):Object.keys(Ra).reduce((od,ld)=>(od[ld]=nd(Ra[ld]),od),{})}async function validateTypedSchema(Ra,qa){const od=await(isTypedSchema(Ra)?Ra:yupToTypedSchema(Ra)).parse(klona(qa),{formData:klona(qa)}),ld={},ud={};for(const dd of od.errors){const pd=dd.errors,fd=(dd.path||"").replace(/\["(\d+)"\]/g,(md,vd)=>`[${vd}]`);ld[fd]={valid:!pd.length,errors:pd},pd.length&&(ud[fd]=pd[0])}return{valid:!od.errors.length,results:ld,errors:ud,values:od.value,source:"schema"}}async function validateObjectSchema(Ra,qa,nd){const ld=keysOf(Ra).map(async md=>{var vd,Ad,Nd;const Od=(vd=nd==null?void 0:nd.names)===null||vd===void 0?void 0:vd[md],kd=await validate$1(getFromPath(qa,md),Ra[md],{name:(Od==null?void 0:Od.name)||md,label:Od==null?void 0:Od.label,values:qa,bails:(Nd=(Ad=nd==null?void 0:nd.bailsMap)===null||Ad===void 0?void 0:Ad[md])!==null&&Nd!==void 0?Nd:!0});return Object.assign(Object.assign({},kd),{path:md})});let ud=!0;const dd=await Promise.all(ld),pd={},fd={};for(const md of dd)pd[md.path]={valid:md.valid,errors:md.errors},md.valid||(ud=!1,fd[md.path]=md.errors[0]);return{valid:ud,results:pd,errors:fd,source:"schema"}}let ID_COUNTER=0;function useFieldState(Ra,qa){const{value:nd,initialValue:od,setInitialValue:ld}=_useFieldValue(Ra,qa.modelValue,qa.form);if(!qa.form){let fd=function(Od){var kd;"value"in Od&&(nd.value=Od.value),"errors"in Od&&vd(Od.errors),"touched"in Od&&(Nd.touched=(kd=Od.touched)!==null&&kd!==void 0?kd:Nd.touched),"initialValue"in Od&&ld(Od.initialValue)};const{errors:md,setErrors:vd}=createFieldErrors(),Ad=ID_COUNTER>=Number.MAX_SAFE_INTEGER?0:++ID_COUNTER,Nd=createFieldMeta(nd,od,md,qa.schema);return{id:Ad,path:Ra,value:nd,initialValue:od,meta:Nd,flags:{pendingUnmount:{[Ad]:!1},pendingReset:!1},errors:md,setState:fd}}const ud=qa.form.createPathState(Ra,{bails:qa.bails,label:qa.label,type:qa.type,validate:qa.validate,schema:qa.schema}),dd=computed(()=>ud.errors);function pd(fd){var md,vd,Ad;"value"in fd&&(nd.value=fd.value),"errors"in fd&&((md=qa.form)===null||md===void 0||md.setFieldError(unref(Ra),fd.errors)),"touched"in fd&&((vd=qa.form)===null||vd===void 0||vd.setFieldTouched(unref(Ra),(Ad=fd.touched)!==null&&Ad!==void 0?Ad:!1)),"initialValue"in fd&&ld(fd.initialValue)}return{id:Array.isArray(ud.id)?ud.id[ud.id.length-1]:ud.id,path:Ra,value:nd,errors:dd,meta:ud,initialValue:od,flags:ud.__flags,setState:pd}}function _useFieldValue(Ra,qa,nd){const od=ref$1(unref(qa));function ld(){return nd?getFromPath(nd.initialValues.value,unref(Ra),unref(od)):unref(od)}function ud(md){if(!nd){od.value=md;return}nd.setFieldInitialValue(unref(Ra),md,!0)}const dd=computed(ld);if(!nd)return{value:ref$1(ld()),initialValue:dd,setInitialValue:ud};const pd=resolveModelValue(qa,nd,dd,Ra);return nd.stageInitialValue(unref(Ra),pd,!0),{value:computed({get(){return getFromPath(nd.values,unref(Ra))},set(md){nd.setFieldValue(unref(Ra),md,!1)}}),initialValue:dd,setInitialValue:ud}}function resolveModelValue(Ra,qa,nd,od){return isRef(Ra)?unref(Ra):Ra!==void 0?Ra:getFromPath(qa.values,unref(od),unref(nd))}function createFieldMeta(Ra,qa,nd,od){const ld=computed(()=>{var dd,pd,fd;return(fd=(pd=(dd=toValue$3(od))===null||dd===void 0?void 0:dd.describe)===null||pd===void 0?void 0:pd.call(dd).required)!==null&&fd!==void 0?fd:!1}),ud=reactive({touched:!1,pending:!1,valid:!0,required:ld,validated:!!unref(nd).length,initialValue:computed(()=>unref(qa)),dirty:computed(()=>!isEqual(unref(Ra),unref(qa)))});return watch(nd,dd=>{ud.valid=!dd.length},{immediate:!0,flush:"sync"}),ud}function createFieldErrors(){const Ra=ref$1([]);return{errors:Ra,setErrors:qa=>{Ra.value=normalizeErrorItem(qa)}}}function useField(Ra,qa,nd){return hasCheckedAttr(nd==null?void 0:nd.type)?useFieldWithChecked(Ra,qa,nd):_useField(Ra,qa,nd)}function _useField(Ra,qa,nd){const{initialValue:od,validateOnMount:ld,bails:ud,type:dd,checkedValue:pd,label:fd,validateOnValueUpdate:md,uncheckedValue:vd,controlled:Ad,keepValueOnUnmount:Nd,syncVModel:Od,form:kd}=normalizeOptions(nd),Ld=Ad?injectWithSelf(FormContextKey):void 0,Gd=kd||Ld,jd=computed(()=>normalizeFormPath(toValue$3(Ra))),Fd=computed(()=>{if(toValue$3(Gd==null?void 0:Gd.schema))return;const Cf=unref(qa);return isYupValidator(Cf)||isTypedSchema(Cf)||isCallable(Cf)||Array.isArray(Cf)?Cf:normalizeRules(Cf)}),Ud=!isCallable(Fd.value)&&isTypedSchema(toValue$3(qa)),{id:qd,value:zd,initialValue:Wd,meta:Jd,setState:_f,errors:Xd,flags:pf}=useFieldState(jd,{modelValue:od,form:Gd,bails:ud,label:fd,type:dd,validate:Fd.value?Nf:void 0,schema:Ud?qa:void 0}),mf=computed(()=>Xd.value[0]);Od&&useVModel({value:zd,prop:Od,handleChange:If,shouldValidate:()=>md&&!pf.pendingReset});const Sf=(Kf,Cf=!1)=>{Jd.touched=!0,Cf&&Af()};async function Tf(Kf){var Cf,xf;if(Gd!=null&&Gd.validateSchema){const{results:Yf}=await Gd.validateSchema(Kf);return(Cf=Yf[toValue$3(jd)])!==null&&Cf!==void 0?Cf:{valid:!0,errors:[]}}return Fd.value?validate$1(zd.value,Fd.value,{name:toValue$3(jd),label:toValue$3(fd),values:(xf=Gd==null?void 0:Gd.values)!==null&&xf!==void 0?xf:{},bails:ud}):{valid:!0,errors:[]}}const Af=withLatest(async()=>(Jd.pending=!0,Jd.validated=!0,Tf("validated-only")),Kf=>(pf.pendingUnmount[Wf.id]||(_f({errors:Kf.errors}),Jd.pending=!1,Jd.valid=Kf.valid),Kf)),Ef=withLatest(async()=>Tf("silent"),Kf=>(Jd.valid=Kf.valid,Kf));function Nf(Kf){return(Kf==null?void 0:Kf.mode)==="silent"?Ef():Af()}function If(Kf,Cf=!0){const xf=normalizeEventValue(Kf);ph(xf,Cf)}onMounted(()=>{if(ld)return Af();(!Gd||!Gd.validateSchema)&&Ef()});function Gf(Kf){Jd.touched=Kf}function Qf(Kf){var Cf;const xf=Kf&&"value"in Kf?Kf.value:Wd.value;_f({value:klona(xf),initialValue:klona(xf),touched:(Cf=Kf==null?void 0:Kf.touched)!==null&&Cf!==void 0?Cf:!1,errors:(Kf==null?void 0:Kf.errors)||[]}),Jd.pending=!1,Jd.validated=!1,Ef()}const Xf=getCurrentInstance();function ph(Kf,Cf=!0){zd.value=Xf&&Od?applyModelModifiers(Kf,Xf.props.modelModifiers):Kf,(Cf?Af:Ef)()}function qf(Kf){_f({errors:Array.isArray(Kf)?Kf:[Kf]})}const Lf=computed({get(){return zd.value},set(Kf){ph(Kf,md)}}),Wf={id:qd,name:jd,label:fd,value:Lf,meta:Jd,errors:Xd,errorMessage:mf,type:dd,checkedValue:pd,uncheckedValue:vd,bails:ud,keepValueOnUnmount:Nd,resetField:Qf,handleReset:()=>Qf(),validate:Nf,handleChange:If,handleBlur:Sf,setState:_f,setTouched:Gf,setErrors:qf,setValue:ph};if(provide(FieldContextKey,Wf),isRef(qa)&&typeof unref(qa)!="function"&&watch(qa,(Kf,Cf)=>{isEqual(Kf,Cf)||(Jd.validated?Af():Ef())},{deep:!0}),!Gd)return Wf;const Jf=computed(()=>{const Kf=Fd.value;return!Kf||isCallable(Kf)||isYupValidator(Kf)||isTypedSchema(Kf)||Array.isArray(Kf)?{}:Object.keys(Kf).reduce((Cf,xf)=>{const Yf=extractLocators(Kf[xf]).map(dh=>dh.__locatorRef).reduce((dh,Rh)=>{const th=getFromPath(Gd.values,Rh)||Gd.values[Rh];return th!==void 0&&(dh[Rh]=th),dh},{});return Object.assign(Cf,Yf),Cf},{})});return watch(Jf,(Kf,Cf)=>{if(!Object.keys(Kf).length)return;!isEqual(Kf,Cf)&&(Jd.validated?Af():Ef())}),onBeforeUnmount(()=>{var Kf;const Cf=(Kf=toValue$3(Wf.keepValueOnUnmount))!==null&&Kf!==void 0?Kf:toValue$3(Gd.keepValuesOnUnmount),xf=toValue$3(jd);if(Cf||!Gd||pf.pendingUnmount[Wf.id]){Gd==null||Gd.removePathState(xf,qd);return}pf.pendingUnmount[Wf.id]=!0;const Yf=Gd.getPathState(xf);if(Array.isArray(Yf==null?void 0:Yf.id)&&(Yf!=null&&Yf.multiple)?Yf!=null&&Yf.id.includes(Wf.id):(Yf==null?void 0:Yf.id)===Wf.id){if(Yf!=null&&Yf.multiple&&Array.isArray(Yf.value)){const Rh=Yf.value.findIndex(th=>isEqual(th,toValue$3(Wf.checkedValue)));if(Rh>-1){const th=[...Yf.value];th.splice(Rh,1),Gd.setFieldValue(xf,th)}Array.isArray(Yf.id)&&Yf.id.splice(Yf.id.indexOf(Wf.id),1)}else Gd.unsetPathValue(toValue$3(jd));Gd.removePathState(xf,qd)}}),Wf}function normalizeOptions(Ra){const qa=()=>({initialValue:void 0,validateOnMount:!1,bails:!0,label:void 0,validateOnValueUpdate:!0,keepValueOnUnmount:void 0,syncVModel:!1,controlled:!0}),nd=!!(Ra!=null&&Ra.syncVModel),od=typeof(Ra==null?void 0:Ra.syncVModel)=="string"?Ra.syncVModel:(Ra==null?void 0:Ra.modelPropName)||"modelValue",ld=nd&&!("initialValue"in(Ra||{}))?getCurrentModelValue(getCurrentInstance(),od):Ra==null?void 0:Ra.initialValue;if(!Ra)return Object.assign(Object.assign({},qa()),{initialValue:ld});const ud="valueProp"in Ra?Ra.valueProp:Ra.checkedValue,dd="standalone"in Ra?!Ra.standalone:Ra.controlled,pd=(Ra==null?void 0:Ra.modelPropName)||(Ra==null?void 0:Ra.syncVModel)||!1;return Object.assign(Object.assign(Object.assign({},qa()),Ra||{}),{initialValue:ld,controlled:dd??!0,checkedValue:ud,syncVModel:pd})}function useFieldWithChecked(Ra,qa,nd){const od=nd!=null&&nd.standalone?void 0:injectWithSelf(FormContextKey),ld=nd==null?void 0:nd.checkedValue,ud=nd==null?void 0:nd.uncheckedValue;function dd(pd){const fd=pd.handleChange,md=computed(()=>{const Ad=toValue$3(pd.value),Nd=toValue$3(ld);return Array.isArray(Ad)?Ad.findIndex(Od=>isEqual(Od,Nd))>=0:isEqual(Nd,Ad)});function vd(Ad,Nd=!0){var Od,kd;if(md.value===((Od=Ad==null?void 0:Ad.target)===null||Od===void 0?void 0:Od.checked)){Nd&&pd.validate();return}const Ld=toValue$3(Ra),Gd=od==null?void 0:od.getPathState(Ld),jd=normalizeEventValue(Ad);let Fd=(kd=toValue$3(ld))!==null&&kd!==void 0?kd:jd;od&&(Gd!=null&&Gd.multiple)&&Gd.type==="checkbox"?Fd=resolveNextCheckboxValue(getFromPath(od.values,Ld)||[],Fd,void 0):(nd==null?void 0:nd.type)==="checkbox"&&(Fd=resolveNextCheckboxValue(toValue$3(pd.value),Fd,toValue$3(ud))),fd(Fd,Nd)}return Object.assign(Object.assign({},pd),{checked:md,checkedValue:ld,uncheckedValue:ud,handleChange:vd})}return dd(_useField(Ra,qa,nd))}function useVModel({prop:Ra,value:qa,handleChange:nd,shouldValidate:od}){const ld=getCurrentInstance();if(!ld||!Ra)return;const ud=typeof Ra=="string"?Ra:"modelValue",dd=`update:${ud}`;ud in ld.props&&(watch(qa,pd=>{isEqual(pd,getCurrentModelValue(ld,ud))||ld.emit(dd,pd)}),watch(()=>getCurrentModelValue(ld,ud),pd=>{if(pd===IS_ABSENT&&qa.value===void 0)return;const fd=pd===IS_ABSENT?void 0:pd;isEqual(fd,qa.value)||nd(fd,od())}))}function getCurrentModelValue(Ra,qa){if(Ra)return Ra.props[qa]}const FieldImpl=defineComponent({name:"Field",inheritAttrs:!1,props:{as:{type:[String,Object],default:void 0},name:{type:String,required:!0},rules:{type:[Object,String,Function],default:void 0},validateOnMount:{type:Boolean,default:!1},validateOnBlur:{type:Boolean,default:void 0},validateOnChange:{type:Boolean,default:void 0},validateOnInput:{type:Boolean,default:void 0},validateOnModelUpdate:{type:Boolean,default:void 0},bails:{type:Boolean,default:()=>getConfig$1().bails},label:{type:String,default:void 0},uncheckedValue:{type:null,default:void 0},modelValue:{type:null,default:IS_ABSENT},modelModifiers:{type:null,default:()=>({})},"onUpdate:modelValue":{type:null,default:void 0},standalone:{type:Boolean,default:!1},keepValue:{type:Boolean,default:void 0}},setup(Ra,qa){const nd=toRef$1(Ra,"rules"),od=toRef$1(Ra,"name"),ld=toRef$1(Ra,"label"),ud=toRef$1(Ra,"uncheckedValue"),dd=toRef$1(Ra,"keepValue"),{errors:pd,value:fd,errorMessage:md,validate:vd,handleChange:Ad,handleBlur:Nd,setTouched:Od,resetField:kd,handleReset:Ld,meta:Gd,checked:jd,setErrors:Fd,setValue:Ud}=useField(od,nd,{validateOnMount:Ra.validateOnMount,bails:Ra.bails,standalone:Ra.standalone,type:qa.attrs.type,initialValue:resolveInitialValue(Ra,qa),checkedValue:qa.attrs.value,uncheckedValue:ud,label:ld,validateOnValueUpdate:Ra.validateOnModelUpdate,keepValueOnUnmount:dd,syncVModel:!0}),qd=function(pf,mf=!0){Ad(pf,mf)},zd=computed(()=>{const{validateOnInput:Xd,validateOnChange:pf,validateOnBlur:mf,validateOnModelUpdate:Sf}=resolveValidationTriggers(Ra);function Tf(If){Nd(If,mf),isCallable(qa.attrs.onBlur)&&qa.attrs.onBlur(If)}function Af(If){qd(If,Xd),isCallable(qa.attrs.onInput)&&qa.attrs.onInput(If)}function Ef(If){qd(If,pf),isCallable(qa.attrs.onChange)&&qa.attrs.onChange(If)}const Nf={name:Ra.name,onBlur:Tf,onInput:Af,onChange:Ef};return Nf["onUpdate:modelValue"]=If=>qd(If,Sf),Nf}),Wd=computed(()=>{const Xd=Object.assign({},zd.value);hasCheckedAttr(qa.attrs.type)&&jd&&(Xd.checked=jd.value);const pf=resolveTag(Ra,qa);return shouldHaveValueBinding(pf,qa.attrs)&&(Xd.value=fd.value),Xd}),Jd=computed(()=>Object.assign(Object.assign({},zd.value),{modelValue:fd.value}));function _f(){return{field:Wd.value,componentField:Jd.value,value:fd.value,meta:Gd,errors:pd.value,errorMessage:md.value,validate:vd,resetField:kd,handleChange:qd,handleInput:Xd=>qd(Xd,!1),handleReset:Ld,handleBlur:zd.value.onBlur,setTouched:Od,setErrors:Fd,setValue:Ud}}return qa.expose({value:fd,meta:Gd,errors:pd,errorMessage:md,setErrors:Fd,setTouched:Od,setValue:Ud,reset:kd,validate:vd,handleChange:Ad}),()=>{const Xd=resolveDynamicComponent(resolveTag(Ra,qa)),pf=normalizeChildren(Xd,qa,_f);return Xd?h$2(Xd,Object.assign(Object.assign({},qa.attrs),Wd.value),pf):pf}}});function resolveTag(Ra,qa){let nd=Ra.as||"";return!Ra.as&&!qa.slots.default&&(nd="input"),nd}function resolveValidationTriggers(Ra){var qa,nd,od,ld;const{validateOnInput:ud,validateOnChange:dd,validateOnBlur:pd,validateOnModelUpdate:fd}=getConfig$1();return{validateOnInput:(qa=Ra.validateOnInput)!==null&&qa!==void 0?qa:ud,validateOnChange:(nd=Ra.validateOnChange)!==null&&nd!==void 0?nd:dd,validateOnBlur:(od=Ra.validateOnBlur)!==null&&od!==void 0?od:pd,validateOnModelUpdate:(ld=Ra.validateOnModelUpdate)!==null&&ld!==void 0?ld:fd}}function resolveInitialValue(Ra,qa){return hasCheckedAttr(qa.attrs.type)?isPropPresent(Ra,"modelValue")?Ra.modelValue:void 0:isPropPresent(Ra,"modelValue")?Ra.modelValue:qa.attrs.value}const Field=FieldImpl;let FORM_COUNTER=0;const PRIVATE_PATH_STATE_KEYS=["bails","fieldsCount","id","multiple","type","validate"];function resolveInitialValues(Ra){const qa=(Ra==null?void 0:Ra.initialValues)||{},nd=Object.assign({},toValue$3(qa)),od=unref(Ra==null?void 0:Ra.validationSchema);return od&&isTypedSchema(od)&&isCallable(od.cast)?klona(od.cast(nd)||{}):klona(nd)}function useForm(Ra){var qa;const nd=FORM_COUNTER++,od=(Ra==null?void 0:Ra.name)||"Form";let ld=0;const ud=ref$1(!1),dd=ref$1(!1),pd=ref$1(0),fd=[],md=reactive(resolveInitialValues(Ra)),vd=ref$1([]),Ad=ref$1({}),Nd=ref$1({}),Od=debounceNextTick(()=>{Nd.value=vd.value.reduce((Rf,wf)=>(Rf[normalizeFormPath(toValue$3(wf.path))]=wf,Rf),{})});function kd(Rf,wf){const sh=If(Rf);if(!sh){typeof Rf=="string"&&(Ad.value[normalizeFormPath(Rf)]=normalizeErrorItem(wf));return}if(typeof Rf=="string"){const xh=normalizeFormPath(Rf);Ad.value[xh]&&delete Ad.value[xh]}sh.errors=normalizeErrorItem(wf),sh.valid=!sh.errors.length}function Ld(Rf){keysOf(Rf).forEach(wf=>{kd(wf,Rf[wf])})}Ra!=null&&Ra.initialErrors&&Ld(Ra.initialErrors);const Gd=computed(()=>{const Rf=vd.value.reduce((wf,sh)=>(sh.errors.length&&(wf[toValue$3(sh.path)]=sh.errors),wf),{});return Object.assign(Object.assign({},Ad.value),Rf)}),jd=computed(()=>keysOf(Gd.value).reduce((Rf,wf)=>{const sh=Gd.value[wf];return sh!=null&&sh.length&&(Rf[wf]=sh[0]),Rf},{})),Fd=computed(()=>vd.value.reduce((Rf,wf)=>(Rf[toValue$3(wf.path)]={name:toValue$3(wf.path)||"",label:wf.label||""},Rf),{})),Ud=computed(()=>vd.value.reduce((Rf,wf)=>{var sh;return Rf[toValue$3(wf.path)]=(sh=wf.bails)!==null&&sh!==void 0?sh:!0,Rf},{})),qd=Object.assign({},(Ra==null?void 0:Ra.initialErrors)||{}),zd=(qa=Ra==null?void 0:Ra.keepValuesOnUnmount)!==null&&qa!==void 0?qa:!1,{initialValues:Wd,originalInitialValues:Jd,setInitialValues:_f}=useFormInitialValues(vd,md,Ra),Xd=useFormMeta(vd,md,Jd,jd),pf=computed(()=>vd.value.reduce((Rf,wf)=>{const sh=getFromPath(md,toValue$3(wf.path));return setInPath(Rf,toValue$3(wf.path),sh),Rf},{})),mf=Ra==null?void 0:Ra.validationSchema;function Sf(Rf,wf){var sh,xh;const Wh=computed(()=>getFromPath(Wd.value,toValue$3(Rf))),om=Nd.value[toValue$3(Rf)],Dm=(wf==null?void 0:wf.type)==="checkbox"||(wf==null?void 0:wf.type)==="radio";if(om&&Dm){om.multiple=!0;const Kg=ld++;return Array.isArray(om.id)?om.id.push(Kg):om.id=[om.id,Kg],om.fieldsCount++,om.__flags.pendingUnmount[Kg]=!1,om}const zm=computed(()=>getFromPath(md,toValue$3(Rf))),jm=toValue$3(Rf),ig=Qf.findIndex(Kg=>Kg===jm);ig!==-1&&Qf.splice(ig,1);const Zm=computed(()=>{var Kg,Gg,n_,Pg;const m_=toValue$3(mf);if(isTypedSchema(m_))return(Gg=(Kg=m_.describe)===null||Kg===void 0?void 0:Kg.call(m_,toValue$3(Rf)).required)!==null&&Gg!==void 0?Gg:!1;const a_=toValue$3(wf==null?void 0:wf.schema);return isTypedSchema(a_)&&(Pg=(n_=a_.describe)===null||n_===void 0?void 0:n_.call(a_).required)!==null&&Pg!==void 0?Pg:!1}),ug=ld++,wg=reactive({id:ug,path:Rf,touched:!1,pending:!1,valid:!0,validated:!!(!((sh=qd[jm])===null||sh===void 0)&&sh.length),required:Zm,initialValue:Wh,errors:shallowRef([]),bails:(xh=wf==null?void 0:wf.bails)!==null&&xh!==void 0?xh:!1,label:wf==null?void 0:wf.label,type:(wf==null?void 0:wf.type)||"default",value:zm,multiple:!1,__flags:{pendingUnmount:{[ug]:!1},pendingReset:!1},fieldsCount:1,validate:wf==null?void 0:wf.validate,dirty:computed(()=>!isEqual(unref(zm),unref(Wh)))});return vd.value.push(wg),Nd.value[jm]=wg,Od(),jd.value[jm]&&!qd[jm]&&nextTick$1(()=>{mh(jm,{mode:"silent"})}),isRef(Rf)&&watch(Rf,Kg=>{Od();const Gg=klona(zm.value);Nd.value[Kg]=wg,nextTick$1(()=>{setInPath(md,Kg,Gg)})}),wg}const Tf=debounceAsync(Jh,5),Af=debounceAsync(Jh,5),Ef=withLatest(async Rf=>await(Rf==="silent"?Tf():Af()),(Rf,[wf])=>{const sh=keysOf(Cf.errorBag.value),Wh=[...new Set([...keysOf(Rf.results),...vd.value.map(om=>om.path),...sh])].sort().reduce((om,Dm)=>{var zm;const jm=Dm,ig=If(jm)||Gf(jm),Zm=((zm=Rf.results[jm])===null||zm===void 0?void 0:zm.errors)||[],ug=toValue$3(ig==null?void 0:ig.path)||jm,wg=mergeValidationResults({errors:Zm,valid:!Zm.length},om.results[ug]);return om.results[ug]=wg,wg.valid||(om.errors[ug]=wg.errors[0]),ig&&Ad.value[ug]&&delete Ad.value[ug],ig?(ig.valid=wg.valid,wf==="silent"||wf==="validated-only"&&!ig.validated||kd(ig,wg.errors),om):(kd(ug,Zm),om)},{valid:Rf.valid,results:{},errors:{},source:Rf.source});return Rf.values&&(Wh.values=Rf.values,Wh.source=Rf.source),keysOf(Wh.results).forEach(om=>{var Dm;const zm=If(om);zm&&wf!=="silent"&&(wf==="validated-only"&&!zm.validated||kd(zm,(Dm=Wh.results[om])===null||Dm===void 0?void 0:Dm.errors))}),Wh});function Nf(Rf){vd.value.forEach(Rf)}function If(Rf){const wf=typeof Rf=="string"?normalizeFormPath(Rf):Rf;return typeof wf=="string"?Nd.value[wf]:wf}function Gf(Rf){return vd.value.filter(sh=>Rf.startsWith(toValue$3(sh.path))).reduce((sh,xh)=>sh?xh.path.length>sh.path.length?xh:sh:xh,void 0)}let Qf=[],Xf;function ph(Rf){return Qf.push(Rf),Xf||(Xf=nextTick$1(()=>{[...Qf].sort().reverse().forEach(sh=>{unsetPath(md,sh)}),Qf=[],Xf=null})),Xf}function qf(Rf){return function(sh,xh){return function(om){return om instanceof Event&&(om.preventDefault(),om.stopPropagation()),Nf(Dm=>Dm.touched=!0),ud.value=!0,pd.value++,Zf().then(Dm=>{const zm=klona(md);if(Dm.valid&&typeof sh=="function"){const jm=klona(pf.value);let ig=Rf?jm:zm;return Dm.values&&(ig=Dm.source==="schema"?Dm.values:Object.assign({},ig,Dm.values)),sh(ig,{evt:om,controlledValues:jm,setErrors:Ld,setFieldError:kd,setTouched:uh,setFieldTouched:th,setValues:dh,setFieldValue:xf,resetForm:Uf,resetField:Pf})}!Dm.valid&&typeof xh=="function"&&xh({values:zm,evt:om,errors:Dm.errors,results:Dm.results})}).then(Dm=>(ud.value=!1,Dm),Dm=>{throw ud.value=!1,Dm})}}}const Wf=qf(!1);Wf.withControlled=qf(!0);function Jf(Rf,wf){const sh=vd.value.findIndex(Wh=>Wh.path===Rf&&(Array.isArray(Wh.id)?Wh.id.includes(wf):Wh.id===wf)),xh=vd.value[sh];if(!(sh===-1||!xh)){if(nextTick$1(()=>{mh(Rf,{mode:"silent",warn:!1})}),xh.multiple&&xh.fieldsCount&&xh.fieldsCount--,Array.isArray(xh.id)){const Wh=xh.id.indexOf(wf);Wh>=0&&xh.id.splice(Wh,1),delete xh.__flags.pendingUnmount[wf]}(!xh.multiple||xh.fieldsCount<=0)&&(vd.value.splice(sh,1),Mh(Rf),Od(),delete Nd.value[Rf])}}function Kf(Rf){keysOf(Nd.value).forEach(wf=>{wf.startsWith(Rf)&&delete Nd.value[wf]}),vd.value=vd.value.filter(wf=>!wf.path.startsWith(Rf)),nextTick$1(()=>{Od()})}const Cf={name:od,formId:nd,values:md,controlledValues:pf,errorBag:Gd,errors:jd,schema:mf,submitCount:pd,meta:Xd,isSubmitting:ud,isValidating:dd,fieldArrays:fd,keepValuesOnUnmount:zd,validateSchema:unref(mf)?Ef:void 0,validate:Zf,setFieldError:kd,validateField:mh,setFieldValue:xf,setValues:dh,setErrors:Ld,setFieldTouched:th,setTouched:uh,resetForm:Uf,resetField:Pf,handleSubmit:Wf,useFieldModel:gm,defineInputBinds:Lm,defineComponentBinds:Vm,defineField:Im,stageInitialValue:_h,unsetInitialValue:Mh,setFieldInitialValue:pm,createPathState:Sf,getPathState:If,unsetPathValue:ph,removePathState:Jf,initialValues:Wd,getAllPathStates:()=>vd.value,destroyPath:Kf,isFieldTouched:Bf,isFieldDirty:Sh,isFieldValid:Fh};function xf(Rf,wf,sh=!0){const xh=klona(wf),Wh=typeof Rf=="string"?Rf:Rf.path;If(Wh)||Sf(Wh),setInPath(md,Wh,xh),sh&&mh(Wh)}function Yf(Rf,wf=!0){keysOf(md).forEach(sh=>{delete md[sh]}),keysOf(Rf).forEach(sh=>{xf(sh,Rf[sh],!1)}),wf&&Zf()}function dh(Rf,wf=!0){merge$2(md,Rf),fd.forEach(sh=>sh&&sh.reset()),wf&&Zf()}function Rh(Rf,wf){const sh=If(toValue$3(Rf))||Sf(Rf);return computed({get(){return sh.value},set(xh){var Wh;const om=toValue$3(Rf);xf(om,xh,(Wh=toValue$3(wf))!==null&&Wh!==void 0?Wh:!1)}})}function th(Rf,wf){const sh=If(Rf);sh&&(sh.touched=wf)}function Bf(Rf){const wf=If(Rf);return wf?wf.touched:vd.value.filter(sh=>sh.path.startsWith(Rf)).some(sh=>sh.touched)}function Sh(Rf){const wf=If(Rf);return wf?wf.dirty:vd.value.filter(sh=>sh.path.startsWith(Rf)).some(sh=>sh.dirty)}function Fh(Rf){const wf=If(Rf);return wf?wf.valid:vd.value.filter(sh=>sh.path.startsWith(Rf)).every(sh=>sh.valid)}function uh(Rf){if(typeof Rf=="boolean"){Nf(wf=>{wf.touched=Rf});return}keysOf(Rf).forEach(wf=>{th(wf,!!Rf[wf])})}function Pf(Rf,wf){var sh;const xh=wf&&"value"in wf?wf.value:getFromPath(Wd.value,Rf),Wh=If(Rf);Wh&&(Wh.__flags.pendingReset=!0),pm(Rf,klona(xh),!0),xf(Rf,xh,!1),th(Rf,(sh=wf==null?void 0:wf.touched)!==null&&sh!==void 0?sh:!1),kd(Rf,(wf==null?void 0:wf.errors)||[]),nextTick$1(()=>{Wh&&(Wh.__flags.pendingReset=!1)})}function Uf(Rf,wf){let sh=klona(Rf!=null&&Rf.values?Rf.values:Jd.value);sh=wf!=null&&wf.force?sh:merge$2(Jd.value,sh),sh=isTypedSchema(mf)&&isCallable(mf.cast)?mf.cast(sh):sh,_f(sh,{force:wf==null?void 0:wf.force}),Nf(xh=>{var Wh;xh.__flags.pendingReset=!0,xh.validated=!1,xh.touched=((Wh=Rf==null?void 0:Rf.touched)===null||Wh===void 0?void 0:Wh[toValue$3(xh.path)])||!1,xf(toValue$3(xh.path),getFromPath(sh,toValue$3(xh.path)),!1),kd(toValue$3(xh.path),void 0)}),wf!=null&&wf.force?Yf(sh,!1):dh(sh,!1),Ld((Rf==null?void 0:Rf.errors)||{}),pd.value=(Rf==null?void 0:Rf.submitCount)||0,nextTick$1(()=>{Zf({mode:"silent"}),Nf(xh=>{xh.__flags.pendingReset=!1})})}async function Zf(Rf){const wf=(Rf==null?void 0:Rf.mode)||"force";if(wf==="force"&&Nf(Dm=>Dm.validated=!0),Cf.validateSchema)return Cf.validateSchema(wf);dd.value=!0;const sh=await Promise.all(vd.value.map(Dm=>Dm.validate?Dm.validate(Rf).then(zm=>({key:toValue$3(Dm.path),valid:zm.valid,errors:zm.errors,value:zm.value})):Promise.resolve({key:toValue$3(Dm.path),valid:!0,errors:[],value:void 0})));dd.value=!1;const xh={},Wh={},om={};for(const Dm of sh)xh[Dm.key]={valid:Dm.valid,errors:Dm.errors},Dm.value&&setInPath(om,Dm.key,Dm.value),Dm.errors.length&&(Wh[Dm.key]=Dm.errors[0]);return{valid:sh.every(Dm=>Dm.valid),results:xh,errors:Wh,values:om,source:"fields"}}async function mh(Rf,wf){var sh;const xh=If(Rf);if(xh&&(wf==null?void 0:wf.mode)!=="silent"&&(xh.validated=!0),mf){const{results:Wh}=await Ef((wf==null?void 0:wf.mode)||"validated-only");return Wh[Rf]||{errors:[],valid:!0}}return xh!=null&&xh.validate?xh.validate(wf):(!xh&&(sh=wf==null?void 0:wf.warn),Promise.resolve({errors:[],valid:!0}))}function Mh(Rf){unsetPath(Wd.value,Rf)}function _h(Rf,wf,sh=!1){pm(Rf,wf),setInPath(md,Rf,wf),sh&&!(Ra!=null&&Ra.initialValues)&&setInPath(Jd.value,Rf,klona(wf))}function pm(Rf,wf,sh=!1){setInPath(Wd.value,Rf,klona(wf)),sh&&setInPath(Jd.value,Rf,klona(wf))}async function Jh(){const Rf=unref(mf);if(!Rf)return{valid:!0,results:{},errors:{},source:"none"};dd.value=!0;const wf=isYupValidator(Rf)||isTypedSchema(Rf)?await validateTypedSchema(Rf,md):await validateObjectSchema(Rf,md,{names:Fd.value,bailsMap:Ud.value});return dd.value=!1,wf}const Mm=Wf((Rf,{evt:wf})=>{isFormSubmitEvent(wf)&&wf.target.submit()});onMounted(()=>{if(Ra!=null&&Ra.initialErrors&&Ld(Ra.initialErrors),Ra!=null&&Ra.initialTouched&&uh(Ra.initialTouched),Ra!=null&&Ra.validateOnMount){Zf();return}Cf.validateSchema&&Cf.validateSchema("silent")}),isRef(mf)&&watch(mf,()=>{var Rf;(Rf=Cf.validateSchema)===null||Rf===void 0||Rf.call(Cf,"validated-only")}),provide(FormContextKey,Cf);function Im(Rf,wf){const sh=isCallable(wf)||wf==null?void 0:wf.label,xh=If(toValue$3(Rf))||Sf(Rf,{label:sh}),Wh=()=>isCallable(wf)?wf(omit(xh,PRIVATE_PATH_STATE_KEYS)):wf||{};function om(){var Zm;xh.touched=!0,((Zm=Wh().validateOnBlur)!==null&&Zm!==void 0?Zm:getConfig$1().validateOnBlur)&&mh(toValue$3(xh.path))}function Dm(){var Zm;((Zm=Wh().validateOnInput)!==null&&Zm!==void 0?Zm:getConfig$1().validateOnInput)&&nextTick$1(()=>{mh(toValue$3(xh.path))})}function zm(){var Zm;((Zm=Wh().validateOnChange)!==null&&Zm!==void 0?Zm:getConfig$1().validateOnChange)&&nextTick$1(()=>{mh(toValue$3(xh.path))})}const jm=computed(()=>{const Zm={onChange:zm,onInput:Dm,onBlur:om};return isCallable(wf)?Object.assign(Object.assign({},Zm),wf(omit(xh,PRIVATE_PATH_STATE_KEYS)).props||{}):wf!=null&&wf.props?Object.assign(Object.assign({},Zm),wf.props(omit(xh,PRIVATE_PATH_STATE_KEYS))):Zm});return[Rh(Rf,()=>{var Zm,ug,wg;return(wg=(Zm=Wh().validateOnModelUpdate)!==null&&Zm!==void 0?Zm:(ug=getConfig$1())===null||ug===void 0?void 0:ug.validateOnModelUpdate)!==null&&wg!==void 0?wg:!0}),jm]}function gm(Rf){return Array.isArray(Rf)?Rf.map(wf=>Rh(wf,!0)):Rh(Rf)}function Lm(Rf,wf){const[sh,xh]=Im(Rf,wf);function Wh(){xh.value.onBlur()}function om(zm){const jm=normalizeEventValue(zm);xf(toValue$3(Rf),jm,!1),xh.value.onInput()}function Dm(zm){const jm=normalizeEventValue(zm);xf(toValue$3(Rf),jm,!1),xh.value.onChange()}return computed(()=>Object.assign(Object.assign({},xh.value),{onBlur:Wh,onInput:om,onChange:Dm,value:sh.value}))}function Vm(Rf,wf){const[sh,xh]=Im(Rf,wf),Wh=If(toValue$3(Rf));function om(Dm){sh.value=Dm}return computed(()=>{const Dm=isCallable(wf)?wf(omit(Wh,PRIVATE_PATH_STATE_KEYS)):wf||{};return Object.assign({[Dm.model||"modelValue"]:sh.value,[`onUpdate:${Dm.model||"modelValue"}`]:om},xh.value)})}const Th=Object.assign(Object.assign({},Cf),{values:readonly(md),handleReset:()=>Uf(),submitForm:Mm});return provide(PublicFormContextKey,Th),Th}function useFormMeta(Ra,qa,nd,od){const ld={touched:"some",pending:"some",valid:"every"},ud=computed(()=>!isEqual(qa,unref(nd)));function dd(){const fd=Ra.value;return keysOf(ld).reduce((md,vd)=>{const Ad=ld[vd];return md[vd]=fd[Ad](Nd=>Nd[vd]),md},{})}const pd=reactive(dd());return watchEffect(()=>{const fd=dd();pd.touched=fd.touched,pd.valid=fd.valid,pd.pending=fd.pending}),computed(()=>Object.assign(Object.assign({initialValues:unref(nd)},pd),{valid:pd.valid&&!keysOf(od.value).length,dirty:ud.value}))}function useFormInitialValues(Ra,qa,nd){const od=resolveInitialValues(nd),ld=ref$1(od),ud=ref$1(klona(od));function dd(pd,fd){fd!=null&&fd.force?(ld.value=klona(pd),ud.value=klona(pd)):(ld.value=merge$2(klona(ld.value)||{},klona(pd)),ud.value=merge$2(klona(ud.value)||{},klona(pd))),fd!=null&&fd.updateFields&&Ra.value.forEach(md=>{if(md.touched)return;const Ad=getFromPath(ld.value,toValue$3(md.path));setInPath(qa,toValue$3(md.path),klona(Ad))})}return{initialValues:ld,originalInitialValues:ud,setInitialValues:dd}}function mergeValidationResults(Ra,qa){return qa?{valid:Ra.valid&&qa.valid,errors:[...Ra.errors,...qa.errors]}:Ra}const FormImpl=defineComponent({name:"Form",inheritAttrs:!1,props:{as:{type:null,default:"form"},validationSchema:{type:Object,default:void 0},initialValues:{type:Object,default:void 0},initialErrors:{type:Object,default:void 0},initialTouched:{type:Object,default:void 0},validateOnMount:{type:Boolean,default:!1},onSubmit:{type:Function,default:void 0},onInvalidSubmit:{type:Function,default:void 0},keepValues:{type:Boolean,default:!1},name:{type:String,default:"Form"}},setup(Ra,qa){const nd=toRef$1(Ra,"validationSchema"),od=toRef$1(Ra,"keepValues"),{errors:ld,errorBag:ud,values:dd,meta:pd,isSubmitting:fd,isValidating:md,submitCount:vd,controlledValues:Ad,validate:Nd,validateField:Od,handleReset:kd,resetForm:Ld,handleSubmit:Gd,setErrors:jd,setFieldError:Fd,setFieldValue:Ud,setValues:qd,setFieldTouched:zd,setTouched:Wd,resetField:Jd}=useForm({validationSchema:nd.value?nd:void 0,initialValues:Ra.initialValues,initialErrors:Ra.initialErrors,initialTouched:Ra.initialTouched,validateOnMount:Ra.validateOnMount,keepValuesOnUnmount:od,name:Ra.name}),_f=Gd((Nf,{evt:If})=>{isFormSubmitEvent(If)&&If.target.submit()},Ra.onInvalidSubmit),Xd=Ra.onSubmit?Gd(Ra.onSubmit,Ra.onInvalidSubmit):_f;function pf(Nf){isEvent(Nf)&&Nf.preventDefault(),kd(),typeof qa.attrs.onReset=="function"&&qa.attrs.onReset()}function mf(Nf,If){return Gd(typeof Nf=="function"&&!If?Nf:If,Ra.onInvalidSubmit)(Nf)}function Sf(){return klona(dd)}function Tf(){return klona(pd.value)}function Af(){return klona(ld.value)}function Ef(){return{meta:pd.value,errors:ld.value,errorBag:ud.value,values:dd,isSubmitting:fd.value,isValidating:md.value,submitCount:vd.value,controlledValues:Ad.value,validate:Nd,validateField:Od,handleSubmit:mf,handleReset:kd,submitForm:_f,setErrors:jd,setFieldError:Fd,setFieldValue:Ud,setValues:qd,setFieldTouched:zd,setTouched:Wd,resetForm:Ld,resetField:Jd,getValues:Sf,getMeta:Tf,getErrors:Af}}return qa.expose({setFieldError:Fd,setErrors:jd,setFieldValue:Ud,setValues:qd,setFieldTouched:zd,setTouched:Wd,resetForm:Ld,validate:Nd,validateField:Od,resetField:Jd,getValues:Sf,getMeta:Tf,getErrors:Af,values:dd,meta:pd,errors:ld}),function(){const If=Ra.as==="form"?Ra.as:Ra.as?resolveDynamicComponent(Ra.as):null,Gf=normalizeChildren(If,qa,Ef);return If?h$2(If,Object.assign(Object.assign(Object.assign({},If==="form"?{novalidate:!0}:{}),qa.attrs),{onSubmit:Xd,onReset:pf}),Gf):Gf}}}),Form=FormImpl;/**
* vee-validate v4.15.0
* (c) 2024 Abdelrahman Awad
* @license MIT
*/const isObject$3=Ra=>Ra!==null&&!!Ra&&typeof Ra=="object"&&!Array.isArray(Ra);function isIndex(Ra){return Number(Ra)>=0}function isObjectLike(Ra){return typeof Ra=="object"&&Ra!==null}function getTag(Ra){return Ra==null?Ra===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(Ra)}function isPlainObject$1(Ra){if(!isObjectLike(Ra)||getTag(Ra)!=="[object Object]")return!1;if(Object.getPrototypeOf(Ra)===null)return!0;let qa=Ra;for(;Object.getPrototypeOf(qa)!==null;)qa=Object.getPrototypeOf(qa);return Object.getPrototypeOf(Ra)===qa}function merge$1(Ra,qa){return Object.keys(qa).forEach(nd=>{if(isPlainObject$1(qa[nd])&&isPlainObject$1(Ra[nd])){Ra[nd]||(Ra[nd]={}),merge$1(Ra[nd],qa[nd]);return}Ra[nd]=qa[nd]}),Ra}function toTypedSchema(Ra,qa={abortEarly:!1}){return{__type:"VVTypedSchema",async parse(od){var ld;try{return{value:await Ra.validate(od,Object.assign({},qa)),errors:[]}}catch(ud){const dd=ud;if(dd.name!=="ValidationError")throw ud;if(!(!((ld=dd.inner)===null||ld===void 0)&&ld.length)&&dd.errors.length)return{errors:[{path:dd.path,errors:dd.errors}]};const pd=dd.inner.reduce((fd,md)=>{const vd=md.path||"";return fd[vd]||(fd[vd]={errors:[],path:vd}),fd[vd].errors.push(...md.errors),fd},{});return{errors:Object.values(pd)}}},cast(od){try{return Ra.cast(od)}catch{const ud=Ra.getDefault();return isObject$3(ud)&&isObject$3(od)?merge$1(ud,od):od}},describe(od){try{if(!od)return getDescriptionFromYupSpec(Ra.spec);const ld=getSpecForPath(od,Ra);return ld?getDescriptionFromYupSpec(ld):{required:!1,exists:!1}}catch{return{required:!1,exists:!1}}}}}function getDescriptionFromYupSpec(Ra){return{required:!Ra.optional,exists:!0}}function getSpecForPath(Ra,qa){if(!isObjectSchema(qa))return null;if(isNotNestedPath(Ra)){const ld=qa.fields[cleanupNonNestedPath(Ra)];return(ld==null?void 0:ld.spec)||null}const nd=(Ra||"").split(/\.|\[(\d+)\]/).filter(Boolean);let od=qa;for(let ld=0;ld<nd.length;ld++){const ud=nd[ld];if(isObjectSchema(od)&&ud in od.fields?od=od.fields[ud]:isTupleSchema(od)&&isIndex(ud)?od=od.spec.types[Number(ud)]:isIndex(ud)&&isArraySchema(od)&&(od=od.innerType),ld===nd.length-1)return od.spec}return null}function isTupleSchema(Ra){return isObject$3(Ra)&&Ra.type==="tuple"}function isObjectSchema(Ra){return isObject$3(Ra)&&Ra.type==="object"}function isArraySchema(Ra){return isObject$3(Ra)&&Ra.type==="array"}function Cache(Ra){this._maxSize=Ra,this.clear()}Cache.prototype.clear=function(){this._size=0,this._values=Object.create(null)};Cache.prototype.get=function(Ra){return this._values[Ra]};Cache.prototype.set=function(Ra,qa){return this._size>=this._maxSize&&this.clear(),Ra in this._values||this._size++,this._values[Ra]=qa};var SPLIT_REGEX=/[^.^\]^[]+|(?=\[\]|\.\.)/g,DIGIT_REGEX=/^\d+$/,LEAD_DIGIT_REGEX=/^\d/,SPEC_CHAR_REGEX=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,CLEAN_QUOTES_REGEX=/^\s*(['"]?)(.*?)(\1)\s*$/,MAX_CACHE_SIZE$1=512,pathCache=new Cache(MAX_CACHE_SIZE$1),setCache=new Cache(MAX_CACHE_SIZE$1),getCache=new Cache(MAX_CACHE_SIZE$1),propertyExpr={Cache,split,normalizePath,setter:function(Ra){var qa=normalizePath(Ra);return setCache.get(Ra)||setCache.set(Ra,function(od,ld){for(var ud=0,dd=qa.length,pd=od;ud<dd-1;){var fd=qa[ud];if(fd==="__proto__"||fd==="constructor"||fd==="prototype")return od;pd=pd[qa[ud++]]}pd[qa[ud]]=ld})},getter:function(Ra,qa){var nd=normalizePath(Ra);return getCache.get(Ra)||getCache.set(Ra,function(ld){for(var ud=0,dd=nd.length;ud<dd;)if(ld!=null||!qa)ld=ld[nd[ud++]];else return;return ld})},join:function(Ra){return Ra.reduce(function(qa,nd){return qa+(isQuoted(nd)||DIGIT_REGEX.test(nd)?"["+nd+"]":(qa?".":"")+nd)},"")},forEach:function(Ra,qa,nd){forEach$1(Array.isArray(Ra)?Ra:split(Ra),qa,nd)}};function normalizePath(Ra){return pathCache.get(Ra)||pathCache.set(Ra,split(Ra).map(function(qa){return qa.replace(CLEAN_QUOTES_REGEX,"$2")}))}function split(Ra){return Ra.match(SPLIT_REGEX)||[""]}function forEach$1(Ra,qa,nd){var od=Ra.length,ld,ud,dd,pd;for(ud=0;ud<od;ud++)ld=Ra[ud],ld&&(shouldBeQuoted(ld)&&(ld='"'+ld+'"'),pd=isQuoted(ld),dd=!pd&&/^\d+$/.test(ld),qa.call(nd,ld,pd,dd,ud,Ra))}function isQuoted(Ra){return typeof Ra=="string"&&Ra&&["'",'"'].indexOf(Ra.charAt(0))!==-1}function hasLeadingNumber(Ra){return Ra.match(LEAD_DIGIT_REGEX)&&!Ra.match(DIGIT_REGEX)}function hasSpecialChars(Ra){return SPEC_CHAR_REGEX.test(Ra)}function shouldBeQuoted(Ra){return!isQuoted(Ra)&&(hasLeadingNumber(Ra)||hasSpecialChars(Ra))}const reWords=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,words=Ra=>Ra.match(reWords)||[],upperFirst=Ra=>Ra[0].toUpperCase()+Ra.slice(1),join=(Ra,qa)=>words(Ra).join(qa).toLowerCase(),camelCase=Ra=>words(Ra).reduce((qa,nd)=>`${qa}${qa?nd[0].toUpperCase()+nd.slice(1).toLowerCase():nd.toLowerCase()}`,""),pascalCase=Ra=>upperFirst(camelCase(Ra)),snakeCase=Ra=>join(Ra,"_"),kebabCase=Ra=>join(Ra,"-"),sentenceCase=Ra=>upperFirst(join(Ra," ")),titleCase=Ra=>words(Ra).map(upperFirst).join(" ");var tinyCase={words,upperFirst,camelCase,pascalCase,snakeCase,kebabCase,sentenceCase,titleCase},toposort$2={exports:{}};toposort$2.exports=function(Ra){return toposort(uniqueNodes(Ra),Ra)};toposort$2.exports.array=toposort;function toposort(Ra,qa){var nd=Ra.length,od=new Array(nd),ld={},ud=nd,dd=makeOutgoingEdges(qa),pd=makeNodesHash(Ra);for(qa.forEach(function(md){if(!pd.has(md[0])||!pd.has(md[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});ud--;)ld[ud]||fd(Ra[ud],ud,new Set);return od;function fd(md,vd,Ad){if(Ad.has(md)){var Nd;try{Nd=", node was:"+JSON.stringify(md)}catch{Nd=""}throw new Error("Cyclic dependency"+Nd)}if(!pd.has(md))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(md));if(!ld[vd]){ld[vd]=!0;var Od=dd.get(md)||new Set;if(Od=Array.from(Od),vd=Od.length){Ad.add(md);do{var kd=Od[--vd];fd(kd,pd.get(kd),Ad)}while(vd);Ad.delete(md)}od[--nd]=md}}}function uniqueNodes(Ra){for(var qa=new Set,nd=0,od=Ra.length;nd<od;nd++){var ld=Ra[nd];qa.add(ld[0]),qa.add(ld[1])}return Array.from(qa)}function makeOutgoingEdges(Ra){for(var qa=new Map,nd=0,od=Ra.length;nd<od;nd++){var ld=Ra[nd];qa.has(ld[0])||qa.set(ld[0],new Set),qa.has(ld[1])||qa.set(ld[1],new Set),qa.get(ld[0]).add(ld[1])}return qa}function makeNodesHash(Ra){for(var qa=new Map,nd=0,od=Ra.length;nd<od;nd++)qa.set(Ra[nd],nd);return qa}var toposortExports=toposort$2.exports;const toposort$1=getDefaultExportFromCjs(toposortExports),toString$2=Object.prototype.toString,errorToString=Error.prototype.toString,regExpToString=RegExp.prototype.toString,symbolToString=typeof Symbol<"u"?Symbol.prototype.toString:()=>"",SYMBOL_REGEXP=/^Symbol\((.*)\)(.*)$/;function printNumber(Ra){return Ra!=+Ra?"NaN":Ra===0&&1/Ra<0?"-0":""+Ra}function printSimpleValue(Ra,qa=!1){if(Ra==null||Ra===!0||Ra===!1)return""+Ra;const nd=typeof Ra;if(nd==="number")return printNumber(Ra);if(nd==="string")return qa?`"${Ra}"`:Ra;if(nd==="function")return"[Function "+(Ra.name||"anonymous")+"]";if(nd==="symbol")return symbolToString.call(Ra).replace(SYMBOL_REGEXP,"Symbol($1)");const od=toString$2.call(Ra).slice(8,-1);return od==="Date"?isNaN(Ra.getTime())?""+Ra:Ra.toISOString(Ra):od==="Error"||Ra instanceof Error?"["+errorToString.call(Ra)+"]":od==="RegExp"?regExpToString.call(Ra):null}function printValue(Ra,qa){let nd=printSimpleValue(Ra,qa);return nd!==null?nd:JSON.stringify(Ra,function(od,ld){let ud=printSimpleValue(this[od],qa);return ud!==null?ud:ld},2)}function toArray$2(Ra){return Ra==null?[]:[].concat(Ra)}let _Symbol$toStringTag,_Symbol$hasInstance,_Symbol$toStringTag2,strReg=/\$\{\s*(\w+)\s*\}/g;_Symbol$toStringTag=Symbol.toStringTag;class ValidationErrorNoStack{constructor(qa,nd,od,ld){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[_Symbol$toStringTag]="Error",this.name="ValidationError",this.value=nd,this.path=od,this.type=ld,this.errors=[],this.inner=[],toArray$2(qa).forEach(ud=>{if(ValidationError.isError(ud)){this.errors.push(...ud.errors);const dd=ud.inner.length?ud.inner:[ud];this.inner.push(...dd)}else this.errors.push(ud)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0]}}_Symbol$hasInstance=Symbol.hasInstance;_Symbol$toStringTag2=Symbol.toStringTag;class ValidationError extends Error{static formatError(qa,nd){const od=nd.label||nd.path||"this";return nd=Object.assign({},nd,{path:od,originalPath:nd.path}),typeof qa=="string"?qa.replace(strReg,(ld,ud)=>printValue(nd[ud])):typeof qa=="function"?qa(nd):qa}static isError(qa){return qa&&qa.name==="ValidationError"}constructor(qa,nd,od,ld,ud){const dd=new ValidationErrorNoStack(qa,nd,od,ld);if(ud)return dd;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[_Symbol$toStringTag2]="Error",this.name=dd.name,this.message=dd.message,this.type=dd.type,this.value=dd.value,this.path=dd.path,this.errors=dd.errors,this.inner=dd.inner,Error.captureStackTrace&&Error.captureStackTrace(this,ValidationError)}static[_Symbol$hasInstance](qa){return ValidationErrorNoStack[Symbol.hasInstance](qa)||super[Symbol.hasInstance](qa)}}let mixed={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:Ra,type:qa,value:nd,originalValue:od})=>{const ld=od!=null&&od!==nd?` (cast from the value \`${printValue(od,!0)}\`).`:".";return qa!=="mixed"?`${Ra} must be a \`${qa}\` type, but the final value was: \`${printValue(nd,!0)}\``+ld:`${Ra} must match the configured type. The validated value was: \`${printValue(nd,!0)}\``+ld}},string={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},number={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},date={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},boolean={isValue:"${path} field must be ${value}"},object={noUnknown:"${path} field has unspecified keys: ${unknown}",exact:"${path} object contains unknown properties: ${properties}"},array={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},tuple={notType:Ra=>{const{path:qa,value:nd,spec:od}=Ra,ld=od.types.length;if(Array.isArray(nd)){if(nd.length<ld)return`${qa} tuple value has too few items, expected a length of ${ld} but got ${nd.length} for value: \`${printValue(nd,!0)}\``;if(nd.length>ld)return`${qa} tuple value has too many items, expected a length of ${ld} but got ${nd.length} for value: \`${printValue(nd,!0)}\``}return ValidationError.formatError(mixed.notType,Ra)}};Object.assign(Object.create(null),{mixed,string,number,date,object,array,boolean,tuple});const isSchema=Ra=>Ra&&Ra.__isYupSchema__;class Condition{static fromOptions(qa,nd){if(!nd.then&&!nd.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:od,then:ld,otherwise:ud}=nd,dd=typeof od=="function"?od:(...pd)=>pd.every(fd=>fd===od);return new Condition(qa,(pd,fd)=>{var md;let vd=dd(...pd)?ld:ud;return(md=vd==null?void 0:vd(fd))!=null?md:fd})}constructor(qa,nd){this.fn=void 0,this.refs=qa,this.refs=qa,this.fn=nd}resolve(qa,nd){let od=this.refs.map(ud=>ud.getValue(nd==null?void 0:nd.value,nd==null?void 0:nd.parent,nd==null?void 0:nd.context)),ld=this.fn(od,qa,nd);if(ld===void 0||ld===qa)return qa;if(!isSchema(ld))throw new TypeError("conditions must return a schema object");return ld.resolve(nd)}}const prefixes={context:"$",value:"."};class Reference{constructor(qa,nd={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,typeof qa!="string")throw new TypeError("ref must be a string, got: "+qa);if(this.key=qa.trim(),qa==="")throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===prefixes.context,this.isValue=this.key[0]===prefixes.value,this.isSibling=!this.isContext&&!this.isValue;let od=this.isContext?prefixes.context:this.isValue?prefixes.value:"";this.path=this.key.slice(od.length),this.getter=this.path&&propertyExpr.getter(this.path,!0),this.map=nd.map}getValue(qa,nd,od){let ld=this.isContext?od:this.isValue?qa:nd;return this.getter&&(ld=this.getter(ld||{})),this.map&&(ld=this.map(ld)),ld}cast(qa,nd){return this.getValue(qa,nd==null?void 0:nd.parent,nd==null?void 0:nd.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(qa){return qa&&qa.__isYupRef}}Reference.prototype.__isYupRef=!0;const isAbsent=Ra=>Ra==null;function createValidation(Ra){function qa({value:nd,path:od="",options:ld,originalValue:ud,schema:dd},pd,fd){const{name:md,test:vd,params:Ad,message:Nd,skipAbsent:Od}=Ra;let{parent:kd,context:Ld,abortEarly:Gd=dd.spec.abortEarly,disableStackTrace:jd=dd.spec.disableStackTrace}=ld;function Fd(mf){return Reference.isRef(mf)?mf.getValue(nd,kd,Ld):mf}function Ud(mf={}){const Sf=Object.assign({value:nd,originalValue:ud,label:dd.spec.label,path:mf.path||od,spec:dd.spec,disableStackTrace:mf.disableStackTrace||jd},Ad,mf.params);for(const Af of Object.keys(Sf))Sf[Af]=Fd(Sf[Af]);const Tf=new ValidationError(ValidationError.formatError(mf.message||Nd,Sf),nd,Sf.path,mf.type||md,Sf.disableStackTrace);return Tf.params=Sf,Tf}const qd=Gd?pd:fd;let zd={path:od,parent:kd,type:md,from:ld.from,createError:Ud,resolve:Fd,options:ld,originalValue:ud,schema:dd};const Wd=mf=>{ValidationError.isError(mf)?qd(mf):mf?fd(null):qd(Ud())},Jd=mf=>{ValidationError.isError(mf)?qd(mf):pd(mf)};if(Od&&isAbsent(nd))return Wd(!0);let Xd;try{var pf;if(Xd=vd.call(zd,nd,zd),typeof((pf=Xd)==null?void 0:pf.then)=="function"){if(ld.sync)throw new Error(`Validation test of type: "${zd.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(Xd).then(Wd,Jd)}}catch(mf){Jd(mf);return}Wd(Xd)}return qa.OPTIONS=Ra,qa}function getIn(Ra,qa,nd,od=nd){let ld,ud,dd;return qa?(propertyExpr.forEach(qa,(pd,fd,md)=>{let vd=fd?pd.slice(1,pd.length-1):pd;Ra=Ra.resolve({context:od,parent:ld,value:nd});let Ad=Ra.type==="tuple",Nd=md?parseInt(vd,10):0;if(Ra.innerType||Ad){if(Ad&&!md)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${dd}" must contain an index to the tuple element, e.g. "${dd}[0]"`);if(nd&&Nd>=nd.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${pd}, in the path: ${qa}. because there is no value at that index. `);ld=nd,nd=nd&&nd[Nd],Ra=Ad?Ra.spec.types[Nd]:Ra.innerType}if(!md){if(!Ra.fields||!Ra.fields[vd])throw new Error(`The schema does not contain the path: ${qa}. (failed at: ${dd} which is a type: "${Ra.type}")`);ld=nd,nd=nd&&nd[vd],Ra=Ra.fields[vd]}ud=vd,dd=fd?"["+pd+"]":"."+pd}),{schema:Ra,parent:ld,parentPath:ud}):{parent:ld,parentPath:qa,schema:Ra}}class ReferenceSet extends Set{describe(){const qa=[];for(const nd of this.values())qa.push(Reference.isRef(nd)?nd.describe():nd);return qa}resolveAll(qa){let nd=[];for(const od of this.values())nd.push(qa(od));return nd}clone(){return new ReferenceSet(this.values())}merge(qa,nd){const od=this.clone();return qa.forEach(ld=>od.add(ld)),nd.forEach(ld=>od.delete(ld)),od}}function clone(Ra,qa=new Map){if(isSchema(Ra)||!Ra||typeof Ra!="object")return Ra;if(qa.has(Ra))return qa.get(Ra);let nd;if(Ra instanceof Date)nd=new Date(Ra.getTime()),qa.set(Ra,nd);else if(Ra instanceof RegExp)nd=new RegExp(Ra),qa.set(Ra,nd);else if(Array.isArray(Ra)){nd=new Array(Ra.length),qa.set(Ra,nd);for(let od=0;od<Ra.length;od++)nd[od]=clone(Ra[od],qa)}else if(Ra instanceof Map){nd=new Map,qa.set(Ra,nd);for(const[od,ld]of Ra.entries())nd.set(od,clone(ld,qa))}else if(Ra instanceof Set){nd=new Set,qa.set(Ra,nd);for(const od of Ra)nd.add(clone(od,qa))}else if(Ra instanceof Object){nd={},qa.set(Ra,nd);for(const[od,ld]of Object.entries(Ra))nd[od]=clone(ld,qa)}else throw Error(`Unable to clone ${Ra}`);return nd}class Schema{constructor(qa){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new ReferenceSet,this._blacklist=new ReferenceSet,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(mixed.notType)}),this.type=qa.type,this._typeCheck=qa.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},qa==null?void 0:qa.spec),this.withMutation(nd=>{nd.nonNullable()})}get _type(){return this.type}clone(qa){if(this._mutate)return qa&&Object.assign(this.spec,qa),this;const nd=Object.create(Object.getPrototypeOf(this));return nd.type=this.type,nd._typeCheck=this._typeCheck,nd._whitelist=this._whitelist.clone(),nd._blacklist=this._blacklist.clone(),nd.internalTests=Object.assign({},this.internalTests),nd.exclusiveTests=Object.assign({},this.exclusiveTests),nd.deps=[...this.deps],nd.conditions=[...this.conditions],nd.tests=[...this.tests],nd.transforms=[...this.transforms],nd.spec=clone(Object.assign({},this.spec,qa)),nd}label(qa){let nd=this.clone();return nd.spec.label=qa,nd}meta(...qa){if(qa.length===0)return this.spec.meta;let nd=this.clone();return nd.spec.meta=Object.assign(nd.spec.meta||{},qa[0]),nd}withMutation(qa){let nd=this._mutate;this._mutate=!0;let od=qa(this);return this._mutate=nd,od}concat(qa){if(!qa||qa===this)return this;if(qa.type!==this.type&&this.type!=="mixed")throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${qa.type}`);let nd=this,od=qa.clone();const ld=Object.assign({},nd.spec,od.spec);return od.spec=ld,od.internalTests=Object.assign({},nd.internalTests,od.internalTests),od._whitelist=nd._whitelist.merge(qa._whitelist,qa._blacklist),od._blacklist=nd._blacklist.merge(qa._blacklist,qa._whitelist),od.tests=nd.tests,od.exclusiveTests=nd.exclusiveTests,od.withMutation(ud=>{qa.tests.forEach(dd=>{ud.test(dd.OPTIONS)})}),od.transforms=[...nd.transforms,...od.transforms],od}isType(qa){return qa==null?!!(this.spec.nullable&&qa===null||this.spec.optional&&qa===void 0):this._typeCheck(qa)}resolve(qa){let nd=this;if(nd.conditions.length){let od=nd.conditions;nd=nd.clone(),nd.conditions=[],nd=od.reduce((ld,ud)=>ud.resolve(ld,qa),nd),nd=nd.resolve(qa)}return nd}resolveOptions(qa){var nd,od,ld,ud;return Object.assign({},qa,{from:qa.from||[],strict:(nd=qa.strict)!=null?nd:this.spec.strict,abortEarly:(od=qa.abortEarly)!=null?od:this.spec.abortEarly,recursive:(ld=qa.recursive)!=null?ld:this.spec.recursive,disableStackTrace:(ud=qa.disableStackTrace)!=null?ud:this.spec.disableStackTrace})}cast(qa,nd={}){let od=this.resolve(Object.assign({value:qa},nd)),ld=nd.assert==="ignore-optionality",ud=od._cast(qa,nd);if(nd.assert!==!1&&!od.isType(ud)){if(ld&&isAbsent(ud))return ud;let dd=printValue(qa),pd=printValue(ud);throw new TypeError(`The value of ${nd.path||"field"} could not be cast to a value that satisfies the schema type: "${od.type}".
attempted value: ${dd}
`+(pd!==dd?`result of cast: ${pd}`:""))}return ud}_cast(qa,nd){let od=qa===void 0?qa:this.transforms.reduce((ld,ud)=>ud.call(this,ld,qa,this),qa);return od===void 0&&(od=this.getDefault(nd)),od}_validate(qa,nd={},od,ld){let{path:ud,originalValue:dd=qa,strict:pd=this.spec.strict}=nd,fd=qa;pd||(fd=this._cast(fd,Object.assign({assert:!1},nd)));let md=[];for(let vd of Object.values(this.internalTests))vd&&md.push(vd);this.runTests({path:ud,value:fd,originalValue:dd,options:nd,tests:md},od,vd=>{if(vd.length)return ld(vd,fd);this.runTests({path:ud,value:fd,originalValue:dd,options:nd,tests:this.tests},od,ld)})}runTests(qa,nd,od){let ld=!1,{tests:ud,value:dd,originalValue:pd,path:fd,options:md}=qa,vd=Ld=>{ld||(ld=!0,nd(Ld,dd))},Ad=Ld=>{ld||(ld=!0,od(Ld,dd))},Nd=ud.length,Od=[];if(!Nd)return Ad([]);let kd={value:dd,originalValue:pd,path:fd,options:md,schema:this};for(let Ld=0;Ld<ud.length;Ld++){const Gd=ud[Ld];Gd(kd,vd,function(Fd){Fd&&(Array.isArray(Fd)?Od.push(...Fd):Od.push(Fd)),--Nd<=0&&Ad(Od)})}}asNestedTest({key:qa,index:nd,parent:od,parentPath:ld,originalParent:ud,options:dd}){const pd=qa??nd;if(pd==null)throw TypeError("Must include `key` or `index` for nested validations");const fd=typeof pd=="number";let md=od[pd];const vd=Object.assign({},dd,{strict:!0,parent:od,value:md,originalValue:ud[pd],key:void 0,[fd?"index":"key"]:pd,path:fd||pd.includes(".")?`${ld||""}[${fd?pd:`"${pd}"`}]`:(ld?`${ld}.`:"")+qa});return(Ad,Nd,Od)=>this.resolve(vd)._validate(md,vd,Nd,Od)}validate(qa,nd){var od;let ld=this.resolve(Object.assign({},nd,{value:qa})),ud=(od=nd==null?void 0:nd.disableStackTrace)!=null?od:ld.spec.disableStackTrace;return new Promise((dd,pd)=>ld._validate(qa,nd,(fd,md)=>{ValidationError.isError(fd)&&(fd.value=md),pd(fd)},(fd,md)=>{fd.length?pd(new ValidationError(fd,md,void 0,void 0,ud)):dd(md)}))}validateSync(qa,nd){var od;let ld=this.resolve(Object.assign({},nd,{value:qa})),ud,dd=(od=nd==null?void 0:nd.disableStackTrace)!=null?od:ld.spec.disableStackTrace;return ld._validate(qa,Object.assign({},nd,{sync:!0}),(pd,fd)=>{throw ValidationError.isError(pd)&&(pd.value=fd),pd},(pd,fd)=>{if(pd.length)throw new ValidationError(pd,qa,void 0,void 0,dd);ud=fd}),ud}isValid(qa,nd){return this.validate(qa,nd).then(()=>!0,od=>{if(ValidationError.isError(od))return!1;throw od})}isValidSync(qa,nd){try{return this.validateSync(qa,nd),!0}catch(od){if(ValidationError.isError(od))return!1;throw od}}_getDefault(qa){let nd=this.spec.default;return nd==null?nd:typeof nd=="function"?nd.call(this,qa):clone(nd)}getDefault(qa){return this.resolve(qa||{})._getDefault(qa)}default(qa){return arguments.length===0?this._getDefault():this.clone({default:qa})}strict(qa=!0){return this.clone({strict:qa})}nullability(qa,nd){const od=this.clone({nullable:qa});return od.internalTests.nullable=createValidation({message:nd,name:"nullable",test(ld){return ld===null?this.schema.spec.nullable:!0}}),od}optionality(qa,nd){const od=this.clone({optional:qa});return od.internalTests.optionality=createValidation({message:nd,name:"optionality",test(ld){return ld===void 0?this.schema.spec.optional:!0}}),od}optional(){return this.optionality(!0)}defined(qa=mixed.defined){return this.optionality(!1,qa)}nullable(){return this.nullability(!0)}nonNullable(qa=mixed.notNull){return this.nullability(!1,qa)}required(qa=mixed.required){return this.clone().withMutation(nd=>nd.nonNullable(qa).defined(qa))}notRequired(){return this.clone().withMutation(qa=>qa.nullable().optional())}transform(qa){let nd=this.clone();return nd.transforms.push(qa),nd}test(...qa){let nd;if(qa.length===1?typeof qa[0]=="function"?nd={test:qa[0]}:nd=qa[0]:qa.length===2?nd={name:qa[0],test:qa[1]}:nd={name:qa[0],message:qa[1],test:qa[2]},nd.message===void 0&&(nd.message=mixed.default),typeof nd.test!="function")throw new TypeError("`test` is a required parameters");let od=this.clone(),ld=createValidation(nd),ud=nd.exclusive||nd.name&&od.exclusiveTests[nd.name]===!0;if(nd.exclusive&&!nd.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return nd.name&&(od.exclusiveTests[nd.name]=!!nd.exclusive),od.tests=od.tests.filter(dd=>!(dd.OPTIONS.name===nd.name&&(ud||dd.OPTIONS.test===ld.OPTIONS.test))),od.tests.push(ld),od}when(qa,nd){!Array.isArray(qa)&&typeof qa!="string"&&(nd=qa,qa=".");let od=this.clone(),ld=toArray$2(qa).map(ud=>new Reference(ud));return ld.forEach(ud=>{ud.isSibling&&od.deps.push(ud.key)}),od.conditions.push(typeof nd=="function"?new Condition(ld,nd):Condition.fromOptions(ld,nd)),od}typeError(qa){let nd=this.clone();return nd.internalTests.typeError=createValidation({message:qa,name:"typeError",skipAbsent:!0,test(od){return this.schema._typeCheck(od)?!0:this.createError({params:{type:this.schema.type}})}}),nd}oneOf(qa,nd=mixed.oneOf){let od=this.clone();return qa.forEach(ld=>{od._whitelist.add(ld),od._blacklist.delete(ld)}),od.internalTests.whiteList=createValidation({message:nd,name:"oneOf",skipAbsent:!0,test(ld){let ud=this.schema._whitelist,dd=ud.resolveAll(this.resolve);return dd.includes(ld)?!0:this.createError({params:{values:Array.from(ud).join(", "),resolved:dd}})}}),od}notOneOf(qa,nd=mixed.notOneOf){let od=this.clone();return qa.forEach(ld=>{od._blacklist.add(ld),od._whitelist.delete(ld)}),od.internalTests.blacklist=createValidation({message:nd,name:"notOneOf",test(ld){let ud=this.schema._blacklist,dd=ud.resolveAll(this.resolve);return dd.includes(ld)?this.createError({params:{values:Array.from(ud).join(", "),resolved:dd}}):!0}}),od}strip(qa=!0){let nd=this.clone();return nd.spec.strip=qa,nd}describe(qa){const nd=(qa?this.resolve(qa):this).clone(),{label:od,meta:ld,optional:ud,nullable:dd}=nd.spec;return{meta:ld,label:od,optional:ud,nullable:dd,default:nd.getDefault(qa),type:nd.type,oneOf:nd._whitelist.describe(),notOneOf:nd._blacklist.describe(),tests:nd.tests.map(fd=>({name:fd.OPTIONS.name,params:fd.OPTIONS.params})).filter((fd,md,vd)=>vd.findIndex(Ad=>Ad.name===fd.name)===md)}}}Schema.prototype.__isYupSchema__=!0;for(const Ra of["validate","validateSync"])Schema.prototype[`${Ra}At`]=function(qa,nd,od={}){const{parent:ld,parentPath:ud,schema:dd}=getIn(this,qa,nd,od.context);return dd[Ra](ld&&ld[ud],Object.assign({},od,{parent:ld,path:qa}))};for(const Ra of["equals","is"])Schema.prototype[Ra]=Schema.prototype.oneOf;for(const Ra of["not","nope"])Schema.prototype[Ra]=Schema.prototype.notOneOf;function create$7(){return new BooleanSchema}class BooleanSchema extends Schema{constructor(){super({type:"boolean",check(qa){return qa instanceof Boolean&&(qa=qa.valueOf()),typeof qa=="boolean"}}),this.withMutation(()=>{this.transform((qa,nd,od)=>{if(od.spec.coerce&&!od.isType(qa)){if(/^(true|1)$/i.test(String(qa)))return!0;if(/^(false|0)$/i.test(String(qa)))return!1}return qa})})}isTrue(qa=boolean.isValue){return this.test({message:qa,name:"is-value",exclusive:!0,params:{value:"true"},test(nd){return isAbsent(nd)||nd===!0}})}isFalse(qa=boolean.isValue){return this.test({message:qa,name:"is-value",exclusive:!0,params:{value:"false"},test(nd){return isAbsent(nd)||nd===!1}})}default(qa){return super.default(qa)}defined(qa){return super.defined(qa)}optional(){return super.optional()}required(qa){return super.required(qa)}notRequired(){return super.notRequired()}nullable(){return super.nullable()}nonNullable(qa){return super.nonNullable(qa)}strip(qa){return super.strip(qa)}}create$7.prototype=BooleanSchema.prototype;const isoReg=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function parseIsoDate(Ra){const qa=parseDateStruct(Ra);if(!qa)return Date.parse?Date.parse(Ra):Number.NaN;if(qa.z===void 0&&qa.plusMinus===void 0)return new Date(qa.year,qa.month,qa.day,qa.hour,qa.minute,qa.second,qa.millisecond).valueOf();let nd=0;return qa.z!=="Z"&&qa.plusMinus!==void 0&&(nd=qa.hourOffset*60+qa.minuteOffset,qa.plusMinus==="+"&&(nd=0-nd)),Date.UTC(qa.year,qa.month,qa.day,qa.hour,qa.minute+nd,qa.second,qa.millisecond)}function parseDateStruct(Ra){var qa,nd;const od=isoReg.exec(Ra);return od?{year:toNumber$3(od[1]),month:toNumber$3(od[2],1)-1,day:toNumber$3(od[3],1),hour:toNumber$3(od[4]),minute:toNumber$3(od[5]),second:toNumber$3(od[6]),millisecond:od[7]?toNumber$3(od[7].substring(0,3)):0,precision:(qa=(nd=od[7])==null?void 0:nd.length)!=null?qa:void 0,z:od[8]||void 0,plusMinus:od[9]||void 0,hourOffset:toNumber$3(od[10]),minuteOffset:toNumber$3(od[11])}:null}function toNumber$3(Ra,qa=0){return Number(Ra)||qa}let rEmail=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,rUrl=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,rUUID=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,yearMonthDay="^\\d{4}-\\d{2}-\\d{2}",hourMinuteSecond="\\d{2}:\\d{2}:\\d{2}",zOrOffset="(([+-]\\d{2}(:?\\d{2})?)|Z)",rIsoDateTime=new RegExp(`${yearMonthDay}T${hourMinuteSecond}(\\.\\d+)?${zOrOffset}$`),isTrimmed=Ra=>isAbsent(Ra)||Ra===Ra.trim(),objStringTag={}.toString();function create$6(){return new StringSchema}class StringSchema extends Schema{constructor(){super({type:"string",check(qa){return qa instanceof String&&(qa=qa.valueOf()),typeof qa=="string"}}),this.withMutation(()=>{this.transform((qa,nd,od)=>{if(!od.spec.coerce||od.isType(qa)||Array.isArray(qa))return qa;const ld=qa!=null&&qa.toString?qa.toString():qa;return ld===objStringTag?qa:ld})})}required(qa){return super.required(qa).withMutation(nd=>nd.test({message:qa||mixed.required,name:"required",skipAbsent:!0,test:od=>!!od.length}))}notRequired(){return super.notRequired().withMutation(qa=>(qa.tests=qa.tests.filter(nd=>nd.OPTIONS.name!=="required"),qa))}length(qa,nd=string.length){return this.test({message:nd,name:"length",exclusive:!0,params:{length:qa},skipAbsent:!0,test(od){return od.length===this.resolve(qa)}})}min(qa,nd=string.min){return this.test({message:nd,name:"min",exclusive:!0,params:{min:qa},skipAbsent:!0,test(od){return od.length>=this.resolve(qa)}})}max(qa,nd=string.max){return this.test({name:"max",exclusive:!0,message:nd,params:{max:qa},skipAbsent:!0,test(od){return od.length<=this.resolve(qa)}})}matches(qa,nd){let od=!1,ld,ud;return nd&&(typeof nd=="object"?{excludeEmptyString:od=!1,message:ld,name:ud}=nd:ld=nd),this.test({name:ud||"matches",message:ld||string.matches,params:{regex:qa},skipAbsent:!0,test:dd=>dd===""&&od||dd.search(qa)!==-1})}email(qa=string.email){return this.matches(rEmail,{name:"email",message:qa,excludeEmptyString:!0})}url(qa=string.url){return this.matches(rUrl,{name:"url",message:qa,excludeEmptyString:!0})}uuid(qa=string.uuid){return this.matches(rUUID,{name:"uuid",message:qa,excludeEmptyString:!1})}datetime(qa){let nd="",od,ld;return qa&&(typeof qa=="object"?{message:nd="",allowOffset:od=!1,precision:ld=void 0}=qa:nd=qa),this.matches(rIsoDateTime,{name:"datetime",message:nd||string.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:nd||string.datetime_offset,params:{allowOffset:od},skipAbsent:!0,test:ud=>{if(!ud||od)return!0;const dd=parseDateStruct(ud);return dd?!!dd.z:!1}}).test({name:"datetime_precision",message:nd||string.datetime_precision,params:{precision:ld},skipAbsent:!0,test:ud=>{if(!ud||ld==null)return!0;const dd=parseDateStruct(ud);return dd?dd.precision===ld:!1}})}ensure(){return this.default("").transform(qa=>qa===null?"":qa)}trim(qa=string.trim){return this.transform(nd=>nd!=null?nd.trim():nd).test({message:qa,name:"trim",test:isTrimmed})}lowercase(qa=string.lowercase){return this.transform(nd=>isAbsent(nd)?nd:nd.toLowerCase()).test({message:qa,name:"string_case",exclusive:!0,skipAbsent:!0,test:nd=>isAbsent(nd)||nd===nd.toLowerCase()})}uppercase(qa=string.uppercase){return this.transform(nd=>isAbsent(nd)?nd:nd.toUpperCase()).test({message:qa,name:"string_case",exclusive:!0,skipAbsent:!0,test:nd=>isAbsent(nd)||nd===nd.toUpperCase()})}}create$6.prototype=StringSchema.prototype;let invalidDate=new Date(""),isDate$1=Ra=>Object.prototype.toString.call(Ra)==="[object Date]";class DateSchema extends Schema{constructor(){super({type:"date",check(qa){return isDate$1(qa)&&!isNaN(qa.getTime())}}),this.withMutation(()=>{this.transform((qa,nd,od)=>!od.spec.coerce||od.isType(qa)||qa===null?qa:(qa=parseIsoDate(qa),isNaN(qa)?DateSchema.INVALID_DATE:new Date(qa)))})}prepareParam(qa,nd){let od;if(Reference.isRef(qa))od=qa;else{let ld=this.cast(qa);if(!this._typeCheck(ld))throw new TypeError(`\`${nd}\` must be a Date or a value that can be \`cast()\` to a Date`);od=ld}return od}min(qa,nd=date.min){let od=this.prepareParam(qa,"min");return this.test({message:nd,name:"min",exclusive:!0,params:{min:qa},skipAbsent:!0,test(ld){return ld>=this.resolve(od)}})}max(qa,nd=date.max){let od=this.prepareParam(qa,"max");return this.test({message:nd,name:"max",exclusive:!0,params:{max:qa},skipAbsent:!0,test(ld){return ld<=this.resolve(od)}})}}DateSchema.INVALID_DATE=invalidDate;DateSchema.prototype;function sortFields(Ra,qa=[]){let nd=[],od=new Set,ld=new Set(qa.map(([dd,pd])=>`${dd}-${pd}`));function ud(dd,pd){let fd=propertyExpr.split(dd)[0];od.add(fd),ld.has(`${pd}-${fd}`)||nd.push([pd,fd])}for(const dd of Object.keys(Ra)){let pd=Ra[dd];od.add(dd),Reference.isRef(pd)&&pd.isSibling?ud(pd.path,dd):isSchema(pd)&&"deps"in pd&&pd.deps.forEach(fd=>ud(fd,dd))}return toposort$1.array(Array.from(od),nd).reverse()}function findIndex(Ra,qa){let nd=1/0;return Ra.some((od,ld)=>{var ud;if((ud=qa.path)!=null&&ud.includes(od))return nd=ld,!0}),nd}function sortByKeyOrder(Ra){return(qa,nd)=>findIndex(Ra,qa)-findIndex(Ra,nd)}const parseJson=(Ra,qa,nd)=>{if(typeof Ra!="string")return Ra;let od=Ra;try{od=JSON.parse(Ra)}catch{}return nd.isType(od)?od:Ra};function deepPartial(Ra){if("fields"in Ra){const qa={};for(const[nd,od]of Object.entries(Ra.fields))qa[nd]=deepPartial(od);return Ra.setFields(qa)}if(Ra.type==="array"){const qa=Ra.optional();return qa.innerType&&(qa.innerType=deepPartial(qa.innerType)),qa}return Ra.type==="tuple"?Ra.optional().clone({types:Ra.spec.types.map(deepPartial)}):"optional"in Ra?Ra.optional():Ra}const deepHas=(Ra,qa)=>{const nd=[...propertyExpr.normalizePath(qa)];if(nd.length===1)return nd[0]in Ra;let od=nd.pop(),ld=propertyExpr.getter(propertyExpr.join(nd),!0)(Ra);return!!(ld&&od in ld)};let isObject$2=Ra=>Object.prototype.toString.call(Ra)==="[object Object]";function unknown(Ra,qa){let nd=Object.keys(Ra.fields);return Object.keys(qa).filter(od=>nd.indexOf(od)===-1)}const defaultSort=sortByKeyOrder([]);function create$3(Ra){return new ObjectSchema(Ra)}class ObjectSchema extends Schema{constructor(qa){super({type:"object",check(nd){return isObject$2(nd)||typeof nd=="function"}}),this.fields=Object.create(null),this._sortErrors=defaultSort,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{qa&&this.shape(qa)})}_cast(qa,nd={}){var od;let ld=super._cast(qa,nd);if(ld===void 0)return this.getDefault(nd);if(!this._typeCheck(ld))return ld;let ud=this.fields,dd=(od=nd.stripUnknown)!=null?od:this.spec.noUnknown,pd=[].concat(this._nodes,Object.keys(ld).filter(Ad=>!this._nodes.includes(Ad))),fd={},md=Object.assign({},nd,{parent:fd,__validating:nd.__validating||!1}),vd=!1;for(const Ad of pd){let Nd=ud[Ad],Od=Ad in ld;if(Nd){let kd,Ld=ld[Ad];md.path=(nd.path?`${nd.path}.`:"")+Ad,Nd=Nd.resolve({value:Ld,context:nd.context,parent:fd});let Gd=Nd instanceof Schema?Nd.spec:void 0,jd=Gd==null?void 0:Gd.strict;if(Gd!=null&&Gd.strip){vd=vd||Ad in ld;continue}kd=!nd.__validating||!jd?Nd.cast(ld[Ad],md):ld[Ad],kd!==void 0&&(fd[Ad]=kd)}else Od&&!dd&&(fd[Ad]=ld[Ad]);(Od!==Ad in fd||fd[Ad]!==ld[Ad])&&(vd=!0)}return vd?fd:ld}_validate(qa,nd={},od,ld){let{from:ud=[],originalValue:dd=qa,recursive:pd=this.spec.recursive}=nd;nd.from=[{schema:this,value:dd},...ud],nd.__validating=!0,nd.originalValue=dd,super._validate(qa,nd,od,(fd,md)=>{if(!pd||!isObject$2(md)){ld(fd,md);return}dd=dd||md;let vd=[];for(let Ad of this._nodes){let Nd=this.fields[Ad];!Nd||Reference.isRef(Nd)||vd.push(Nd.asNestedTest({options:nd,key:Ad,parent:md,parentPath:nd.path,originalParent:dd}))}this.runTests({tests:vd,value:md,originalValue:dd,options:nd},od,Ad=>{ld(Ad.sort(this._sortErrors).concat(fd),md)})})}clone(qa){const nd=super.clone(qa);return nd.fields=Object.assign({},this.fields),nd._nodes=this._nodes,nd._excludedEdges=this._excludedEdges,nd._sortErrors=this._sortErrors,nd}concat(qa){let nd=super.concat(qa),od=nd.fields;for(let[ld,ud]of Object.entries(this.fields)){const dd=od[ld];od[ld]=dd===void 0?ud:dd}return nd.withMutation(ld=>ld.setFields(od,[...this._excludedEdges,...qa._excludedEdges]))}_getDefault(qa){if("default"in this.spec)return super._getDefault(qa);if(!this._nodes.length)return;let nd={};return this._nodes.forEach(od=>{var ld;const ud=this.fields[od];let dd=qa;(ld=dd)!=null&&ld.value&&(dd=Object.assign({},dd,{parent:dd.value,value:dd.value[od]})),nd[od]=ud&&"getDefault"in ud?ud.getDefault(dd):void 0}),nd}setFields(qa,nd){let od=this.clone();return od.fields=qa,od._nodes=sortFields(qa,nd),od._sortErrors=sortByKeyOrder(Object.keys(qa)),nd&&(od._excludedEdges=nd),od}shape(qa,nd=[]){return this.clone().withMutation(od=>{let ld=od._excludedEdges;return nd.length&&(Array.isArray(nd[0])||(nd=[nd]),ld=[...od._excludedEdges,...nd]),od.setFields(Object.assign(od.fields,qa),ld)})}partial(){const qa={};for(const[nd,od]of Object.entries(this.fields))qa[nd]="optional"in od&&od.optional instanceof Function?od.optional():od;return this.setFields(qa)}deepPartial(){return deepPartial(this)}pick(qa){const nd={};for(const od of qa)this.fields[od]&&(nd[od]=this.fields[od]);return this.setFields(nd,this._excludedEdges.filter(([od,ld])=>qa.includes(od)&&qa.includes(ld)))}omit(qa){const nd=[];for(const od of Object.keys(this.fields))qa.includes(od)||nd.push(od);return this.pick(nd)}from(qa,nd,od){let ld=propertyExpr.getter(qa,!0);return this.transform(ud=>{if(!ud)return ud;let dd=ud;return deepHas(ud,qa)&&(dd=Object.assign({},ud),od||delete dd[qa],dd[nd]=ld(ud)),dd})}json(){return this.transform(parseJson)}exact(qa){return this.test({name:"exact",exclusive:!0,message:qa||object.exact,test(nd){if(nd==null)return!0;const od=unknown(this.schema,nd);return od.length===0||this.createError({params:{properties:od.join(", ")}})}})}stripUnknown(){return this.clone({noUnknown:!0})}noUnknown(qa=!0,nd=object.noUnknown){typeof qa!="boolean"&&(nd=qa,qa=!0);let od=this.test({name:"noUnknown",exclusive:!0,message:nd,test(ld){if(ld==null)return!0;const ud=unknown(this.schema,ld);return!qa||ud.length===0||this.createError({params:{unknown:ud.join(", ")}})}});return od.spec.noUnknown=qa,od}unknown(qa=!0,nd=object.noUnknown){return this.noUnknown(!qa,nd)}transformKeys(qa){return this.transform(nd=>{if(!nd)return nd;const od={};for(const ld of Object.keys(nd))od[qa(ld)]=nd[ld];return od})}camelCase(){return this.transformKeys(tinyCase.camelCase)}snakeCase(){return this.transformKeys(tinyCase.snakeCase)}constantCase(){return this.transformKeys(qa=>tinyCase.snakeCase(qa).toUpperCase())}describe(qa){const nd=(qa?this.resolve(qa):this).clone(),od=super.describe(qa);od.fields={};for(const[ud,dd]of Object.entries(nd.fields)){var ld;let pd=qa;(ld=pd)!=null&&ld.value&&(pd=Object.assign({},pd,{parent:pd.value,value:pd.value[ud]})),od.fields[ud]=dd.describe(pd)}return od}}create$3.prototype=ObjectSchema.prototype;const _hoisted_1$9={class:"flex flex-col items-start"},_hoisted_2$6={class:"flex flex-col items-start"},_sfc_main$S=defineComponent({__name:"UploadImgDialog",emits:["uploadImage"],setup(Ra,{emit:qa}){const nd=qa,od=useDisplayStore(),ld=toTypedSchema(create$3({repo:create$6().required("GitHub 仓库不能为空"),branch:create$6().optional(),accessToken:create$6().required("GitHub Token 不能为空")})),ud=ref$1(localStorage.getItem("githubConfig")?JSON.parse(localStorage.getItem("githubConfig")):{repo:"",branch:"",accessToken:""});function dd(Qf){localStorage.setItem("githubConfig",JSON.stringify(Qf)),ud.value=Qf,Ke$1.success("保存成功")}const pd=toTypedSchema(create$3({accessKeyId:create$6().required("AccessKey ID 不能为空"),accessKeySecret:create$6().required("AccessKey Secret 不能为空"),bucket:create$6().required("Bucket 不能为空"),region:create$6().required("Region 不能为空"),useSSL:create$7().required(),cdnHost:create$6().optional(),path:create$6().optional()})),fd=ref$1(localStorage.getItem("aliOSSConfig")?JSON.parse(localStorage.getItem("aliOSSConfig")):{accessKeyId:"",accessKeySecret:"",bucket:"",region:"",useSSL:!0,cdnHost:"",path:""});function md(Qf){localStorage.setItem("aliOSSConfig",JSON.stringify(Qf)),fd.value=Qf,Ke$1.success("保存成功")}const vd=toTypedSchema(create$3({secretId:create$6().required("Secret ID 不能为空"),secretKey:create$6().required("Secret Key 不能为空"),bucket:create$6().required("Bucket 不能为空"),region:create$6().required("Region 不能为空"),cdnHost:create$6().optional(),path:create$6().optional()})),Ad=ref$1(localStorage.getItem("txCOSConfig")?JSON.parse(localStorage.getItem("txCOSConfig")):{secretId:"",secretKey:"",bucket:"",region:"",cdnHost:"",path:""});function Nd(Qf){localStorage.setItem("txCOSConfig",JSON.stringify(Qf)),Ad.value=Qf,Ke$1.success("保存成功")}const Od=toTypedSchema(create$3({accessKey:create$6().required("AccessKey 不能为空"),secretKey:create$6().required("SecretKey 不能为空"),bucket:create$6().required("Bucket 不能为空"),domain:create$6().required("Bucket 对应域名不能为空"),region:create$6().optional(),path:create$6().optional()})),kd=ref$1(localStorage.getItem("qiniuConfig")?JSON.parse(localStorage.getItem("qiniuConfig")):{accessKey:"",secretKey:"",bucket:"",domain:"",region:"",path:""});function Ld(Qf){localStorage.setItem("qiniuConfig",JSON.stringify(Qf)),kd.value=Qf,Ke$1.success("保存成功")}const Gd=toTypedSchema(create$3({endpoint:create$6().required("Endpoint 不能为空"),port:create$6().optional(),useSSL:create$7().required(),bucket:create$6().required("Bucket 不能为空"),accessKey:create$6().required("AccessKey 不能为空"),secretKey:create$6().required("SecretKey 不能为空")})),jd=ref$1(localStorage.getItem("minioConfig")?JSON.parse(localStorage.getItem("minioConfig")):{endpoint:"",port:"",useSSL:!0,bucket:"",accessKey:"",secretKey:""});function Fd(Qf){localStorage.setItem("minioConfig",JSON.stringify(Qf)),jd.value=Qf,Ke$1.success("保存成功")}const Ud=ref$1(window.location.href.startsWith("http")),qd=toTypedSchema(create$3({proxyOrigin:Ud.value?create$6().required("代理域名不能为空"):create$6().optional(),appID:create$6().required("AppID 不能为空"),appsecret:create$6().required("AppSecret 不能为空")})),zd=ref$1(localStorage.getItem("mpConfig")?JSON.parse(localStorage.getItem("mpConfig")):{proxyOrigin:"",appID:"",appsecret:""});function Wd(Qf){localStorage.setItem("mpConfig",JSON.stringify(Qf)),zd.value=Qf,Ke$1.success("保存成功")}const Jd=toTypedSchema(create$3({accountId:create$6().required("Account ID 不能为空"),accessKey:create$6().required("AccessKey 不能为空"),secretKey:create$6().required("SecretKey 不能为空"),bucket:create$6().required("Bucket 不能为空"),domain:create$6().required("Bucket 对应域名不能为空"),path:create$6().optional()})),_f=ref$1(localStorage.getItem("r2Config")?JSON.parse(localStorage.getItem("r2Config")):{accountId:"",accessKey:"",secretKey:"",bucket:"",domain:"",path:""});function Xd(Qf){localStorage.setItem("r2Config",JSON.stringify(Qf)),_f.value=Qf,Ke$1.success("保存成功")}const pf=[{value:"default",label:"默认"},{value:"github",label:"GitHub"},{value:"aliOSS",label:"阿里云"},{value:"txCOS",label:"腾讯云"},{value:"qiniu",label:"七牛云"},{value:"minio",label:"MinIO"},{value:"mp",label:"公众号图床"},{value:"r2",label:"Cloudflare R2"},{value:"formCustom",label:"自定义代码"}],mf=ref$1("default"),Sf=ref$1("upload");onBeforeMount(()=>{localStorage.getItem("imgHost")&&(mf.value=localStorage.getItem("imgHost"))});function Tf(){localStorage.setItem("imgHost",mf.value),Ke$1.success("已成功切换图床")}function Af(Qf){const Xf=checkImage(Qf);if(!Xf.ok)return Ke$1.error(Xf.msg||""),!1;let ph=localStorage.getItem("imgHost");ph=ph||"default",localStorage.setItem("imgHost",ph);const qf=localStorage.getItem(`${ph}Config`);return ph==="default"||qf?!0:(Ke$1.error(`请先配置 ${ph} 图床参数`),!1)}const Ef=ref$1(!1),{open:Nf,onChange:If}=useFileDialog({accept:"image/*"});If(Qf=>{if(Qf==null)return;const Xf=Qf[0];Af(Xf)&&nd("uploadImage",Xf)});function Gf(Qf){Ef.value=!1,Qf.stopPropagation();const Xf=Array.from(Qf.dataTransfer.files)[0];Af(Xf)&&nd("uploadImage",Xf)}return(Qf,Xf)=>{const ph=_sfc_main$16,qf=_sfc_main$17,Lf=_sfc_main$T,Wf=_sfc_main$U,Jf=_sfc_main$W,Kf=_sfc_main$X,Cf=_sfc_main$_,xf=_sfc_main$V,Yf=_sfc_main$$,dh=_sfc_main$18,Rh=_sfc_main$10,th=_sfc_main$1e,Bf=__unplugin_components_12,Sh=_sfc_main$1o,Fh=_sfc_main$12,uh=_sfc_main$13,Pf=_sfc_main$14,Uf=_sfc_main$1g,Zf=_sfc_main$1h;return openBlock(),createBlock(Zf,{open:unref(od).isShowUploadImgDialog,"onUpdate:open":Xf[6]||(Xf[6]=mh=>unref(od).isShowUploadImgDialog=mh)},{default:withCtx(()=>[createVNode(Uf,{class:"max-w-max",onPointerDownOutside:Xf[5]||(Xf[5]=mh=>mh.preventDefault())},{default:withCtx(()=>[createVNode(qf,null,{default:withCtx(()=>[createVNode(ph,null,{default:withCtx(()=>Xf[7]||(Xf[7]=[createTextVNode("本地上传")])),_:1})]),_:1}),createVNode(Pf,{modelValue:unref(Sf),"onUpdate:modelValue":Xf[4]||(Xf[4]=mh=>isRef(Sf)?Sf.value=mh:null),class:"w-max"},{default:withCtx(()=>[createVNode(Wf,null,{default:withCtx(()=>[createVNode(Lf,{value:"upload"},{default:withCtx(()=>Xf[8]||(Xf[8]=[createTextVNode(" 选择上传 ")])),_:1}),(openBlock(!0),createElementBlock(Fragment,null,renderList(pf.filter(mh=>mh.value!=="default"),mh=>(openBlock(),createBlock(Lf,{key:mh.value,value:mh.value},{default:withCtx(()=>[createTextVNode(toDisplayString(mh.label),1)]),_:2},1032,["value"]))),128))]),_:1}),createVNode(Rh,{value:"upload"},{default:withCtx(()=>[createVNode(dh,null,{default:withCtx(()=>[Xf[9]||(Xf[9]=createBaseVNode("span",{class:"my-4 block"}," 图床 ",-1)),createVNode(Yf,{modelValue:unref(mf),"onUpdate:modelValue":[Xf[0]||(Xf[0]=mh=>isRef(mf)?mf.value=mh:null),Tf]},{default:withCtx(()=>[createVNode(Kf,null,{default:withCtx(()=>[createVNode(Jf,{placeholder:"请选择"})]),_:1}),createVNode(xf,null,{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(pf,mh=>createVNode(Cf,{key:mh.value,label:mh.label,value:mh.value},{default:withCtx(()=>[createTextVNode(toDisplayString(mh.label),1)]),_:2},1032,["label","value"])),64))]),_:1})]),_:1},8,["modelValue"])]),_:1}),createBaseVNode("div",{class:normalizeClass(["bg-clip-padding mt-4 h-50 flex flex-col cursor-pointer items-center justify-evenly border-2 rounded border-dashed transition-colors hover:border-gray-700 hover:bg-gray-400/50 dark:hover:border-gray-200 dark:hover:bg-gray-500/50",{"border-gray-700 bg-gray-400/50 dark:border-gray-200 dark:bg-gray-500/50":unref(Ef)}]),onClick:Xf[1]||(Xf[1]=mh=>unref(Nf)()),onDrop:withModifiers(Gf,["prevent"]),onDragover:Xf[2]||(Xf[2]=withModifiers(mh=>Ef.value=!0,["prevent"])),onDragleave:Xf[3]||(Xf[3]=withModifiers(mh=>Ef.value=!1,["prevent"]))},[createVNode(unref(CloudUpload),{class:"size-20"}),Xf[10]||(Xf[10]=createBaseVNode("p",null,[createTextVNode(" 将图片拖到此处,或 "),createBaseVNode("strong",null,"点击上传")],-1))],34)]),_:1}),createVNode(Rh,{value:"github"},{default:withCtx(()=>[createVNode(unref(Form),{"validation-schema":unref(ld),"initial-values":unref(ud),onSubmit:dd},{default:withCtx(()=>[createVNode(unref(Field),{name:"repo"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"GitHub 仓库",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如github.com/yanglbme/resource"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"branch"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"分支",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如release可不填默认 master"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"accessToken"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"Token",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,type:"password",placeholder:"如cc1d0c1426d0fd0902bd2d7184b14da61b8abc46"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(Bf,null,{default:withCtx(()=>[createVNode(Sh,{variant:"link",class:"p-0",as:"a",href:"https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token",target:"_blank"},{default:withCtx(()=>Xf[11]||(Xf[11]=[createTextVNode(" 如何获取 GitHub Token ")])),_:1})]),_:1}),createVNode(Bf,null,{default:withCtx(()=>[createVNode(Sh,{type:"submit"},{default:withCtx(()=>Xf[12]||(Xf[12]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})]),_:1},8,["validation-schema","initial-values"])]),_:1}),createVNode(Rh,{value:"aliOSS"},{default:withCtx(()=>[createVNode(unref(Form),{"validation-schema":unref(pd),"initial-values":unref(fd),onSubmit:md},{default:withCtx(()=>[createVNode(unref(Field),{name:"accessKeyId"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"AccessKey ID",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如LTAI4GdoocsmdoxUf13ylbaNHk"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"accessKeySecret"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"AccessKey Secret",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,type:"password",placeholder:"如cc1d0c142doocs0902bd2d7md4b14da6ylbabc46"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"bucket"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"Bucket",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如doocs"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"region"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"Bucket 所在区域",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如oss-cn-shenzhen"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"useSSL",type:"boolean"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"UseSSL",required:"",error:Mh},{default:withCtx(()=>[createVNode(Fh,{checked:mh.value,name:mh.name,"onUpdate:checked":mh.onChange,onBlur:mh.onBlur},null,8,["checked","name","onUpdate:checked","onBlur"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"cdnHost"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"自定义 CDN 域名",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如https://imagecdn.alidaodao.com可不填"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"path"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"存储路径",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如img可不填默认为根目录"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(Bf,null,{default:withCtx(()=>[createVNode(Sh,{variant:"link",class:"p-0",as:"a",href:"https://help.aliyun.com/document_detail/31883.html",target:"_blank"},{default:withCtx(()=>Xf[13]||(Xf[13]=[createTextVNode(" 如何使用阿里云 OSS ")])),_:1})]),_:1}),createVNode(Bf,null,{default:withCtx(()=>[createVNode(Sh,{type:"submit"},{default:withCtx(()=>Xf[14]||(Xf[14]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})]),_:1},8,["validation-schema","initial-values"])]),_:1}),createVNode(Rh,{value:"txCOS"},{default:withCtx(()=>[createVNode(unref(Form),{"validation-schema":unref(vd),"initial-values":unref(Ad),onSubmit:Nd},{default:withCtx(()=>[createVNode(unref(Field),{name:"secretId"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"SecretId",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如AKIDnQp1w3DOOCSs8F5MDp9tdoocsmdUPonW3"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"secretKey"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"SecretKey",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,type:"password",placeholder:"如ukLmdtEJ9271f3DOocsMDsCXdS3YlbW0"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"bucket"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"Bucket",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如doocs-3212520134"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"region"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"Bucket 所在区域",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如ap-guangzhou"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"cdnHost"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"自定义 CDN 域名",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如https://imagecdn.alidaodao.com可不填"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"path"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"存储路径",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如img可不填默认根目录"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(Bf,null,{default:withCtx(()=>[createVNode(Sh,{variant:"link",class:"p-0",as:"a",href:"https://cloud.tencent.com/document/product/436/38484",target:"_blank"},{default:withCtx(()=>Xf[15]||(Xf[15]=[createTextVNode(" 如何使用腾讯云 COS ")])),_:1})]),_:1}),createVNode(Bf,null,{default:withCtx(()=>[createVNode(Sh,{type:"submit"},{default:withCtx(()=>Xf[16]||(Xf[16]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})]),_:1},8,["validation-schema","initial-values"])]),_:1}),createVNode(Rh,{value:"qiniu"},{default:withCtx(()=>[createVNode(unref(Form),{"validation-schema":unref(Od),"initial-values":unref(kd),onSubmit:Ld},{default:withCtx(()=>[createVNode(unref(Field),{name:"accessKey"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"AccessKey",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如6DD3VaLJ_SQgOdoocsyTV_YWaDmdnL2n8EGx7kG"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"secretKey"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"SecretKey",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,type:"password",placeholder:"如qgZa5qrvDOOcsmdKStD1oCjZ9nB7MDvJUs_34SIm"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"bucket"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"Bucket",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如md"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"domain"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"Bucket 对应域名",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如https://images.123ylb.cn"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"region"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"存储区域",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如z2可不填"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"path"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"存储路径",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如img可不填默认为根目录"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(Bf,null,{default:withCtx(()=>[createVNode(Sh,{variant:"link",class:"p-0",as:"a",href:"https://developer.qiniu.com/kodo",target:"_blank"},{default:withCtx(()=>Xf[17]||(Xf[17]=[createTextVNode(" 如何使用七牛云 Kodo ")])),_:1})]),_:1}),createVNode(Bf,null,{default:withCtx(()=>[createVNode(Sh,{type:"submit"},{default:withCtx(()=>Xf[18]||(Xf[18]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})]),_:1},8,["validation-schema","initial-values"])]),_:1}),createVNode(Rh,{value:"minio"},{default:withCtx(()=>[createVNode(unref(Form),{"validation-schema":unref(Gd),"initial-values":unref(jd),onSubmit:Fd},{default:withCtx(()=>[createVNode(unref(Field),{name:"endpoint"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"Endpoint",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如play.min.io"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"port"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"Port",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,type:"number",placeholder:"如9000可不填http 默认为 80https 默认为 443"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"useSSL",type:"boolean"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"UseSSL",required:"",error:Mh},{default:withCtx(()=>[createVNode(Fh,{checked:mh.value,name:mh.name,"onUpdate:checked":mh.onChange,onBlur:mh.onBlur},null,8,["checked","name","onUpdate:checked","onBlur"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"bucket"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"Bucket",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如doocs"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"accessKey"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"AccessKey",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如zhangsan"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"secretKey"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"SecretKey",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如asdasdasd"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(Bf,null,{default:withCtx(()=>[createVNode(Sh,{variant:"link",class:"p-0",as:"a",href:"http://docs.minio.org.cn/docs/master/minio-client-complete-guide",target:"_blank"},{default:withCtx(()=>Xf[19]||(Xf[19]=[createTextVNode(" 如何使用 MinIO ")])),_:1})]),_:1}),createVNode(Bf,null,{default:withCtx(()=>[createVNode(Sh,{type:"submit"},{default:withCtx(()=>Xf[20]||(Xf[20]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})]),_:1},8,["validation-schema","initial-values"])]),_:1}),createVNode(Rh,{value:"mp"},{default:withCtx(()=>[createVNode(unref(Form),{"validation-schema":unref(qd),"initial-values":unref(zd),onSubmit:Wd},{default:withCtx(()=>[createVNode(unref(Field),{name:"proxyOrigin"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"代理域名",required:unref(Ud),error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如http://proxy.example.com使用插件时可不填"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["required","error"])]),_:1}),createVNode(unref(Field),{name:"appID"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"appID",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如wx6e1234567890efa3"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"appsecret"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"appsecret",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如d9f1abcdef01234567890abcdef82397"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(Bf,null,{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$9,[createVNode(Sh,{variant:"link",class:"p-0",as:"a",href:"https://developers.weixin.qq.com/doc/offiaccount/Getting_Started/Getting_Started_Guide.html",target:"_blank"},{default:withCtx(()=>Xf[21]||(Xf[21]=[createTextVNode(" 如何开启公众号开发者模式并获取应用账号密钥? ")])),_:1}),createVNode(Sh,{variant:"link",class:"p-0",as:"a",href:"https://mpmd.pages.dev/tutorial/",target:"_blank"},{default:withCtx(()=>Xf[22]||(Xf[22]=[createTextVNode(" 如何在浏览器插件中使用公众号图床? ")])),_:1})])]),_:1}),createVNode(Bf,null,{default:withCtx(()=>[createVNode(Sh,{type:"submit"},{default:withCtx(()=>Xf[23]||(Xf[23]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})]),_:1},8,["validation-schema","initial-values"])]),_:1}),createVNode(Rh,{value:"r2"},{default:withCtx(()=>[createVNode(unref(Form),{"validation-schema":unref(Jd),"initial-values":unref(_f),onSubmit:Xd},{default:withCtx(()=>[createVNode(unref(Field),{name:"accountId"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"AccountId",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如: 0030f123e55a57546f4c281c564e560",class:"min-w-[350px]"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"accessKey"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"AccessKey",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如: 358090b3a12824a6b0787gae7ad0fc72"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"secretKey"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"SecretKey",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,type:"password",placeholder:"如: c1c4dbcb0b6b785ac6633422a06dff3dac055fe74fe40xj1b5c5fcf1bf128010"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"bucket"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"Bucket",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如md"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"domain"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"域名",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如https://oss.example.com"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"path"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"存储路径",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如img可不填默认为根目录"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(Bf,null,{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$6,[createVNode(Sh,{variant:"link",class:"p-0",as:"a",href:"https://developers.cloudflare.com/r2/api/s3/api/",target:"_blank"},{default:withCtx(()=>Xf[24]||(Xf[24]=[createTextVNode(" 如何使用 S3 API 操作 Cloudflare R2 ")])),_:1}),createVNode(Sh,{variant:"link",class:"p-0",as:"a",href:"https://developers.cloudflare.com/r2/buckets/cors/",target:"_blank"},{default:withCtx(()=>Xf[25]||(Xf[25]=[createTextVNode(" 如何设置跨域(CORS) ")])),_:1})])]),_:1}),createVNode(Bf,null,{default:withCtx(()=>[createVNode(Sh,{type:"submit"},{default:withCtx(()=>Xf[26]||(Xf[26]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})]),_:1},8,["validation-schema","initial-values"])]),_:1}),createVNode(Rh,{value:"formCustom"},{default:withCtx(()=>[createVNode(uh)]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["open"])}}});var E$2="top",R$2="bottom",W$2="right",P$2="left",me$1="auto",G$2=[E$2,R$2,W$2,P$2],U$2="start",J$2="end",Xe="clippingParents",je$1="viewport",K$2="popper",Ye="reference",De=G$2.reduce(function(Ra,qa){return Ra.concat([qa+"-"+U$2,qa+"-"+J$2])},[]),Ee$1=[].concat(G$2,[me$1]).reduce(function(Ra,qa){return Ra.concat([qa,qa+"-"+U$2,qa+"-"+J$2])},[]),Ge="beforeRead",Je="read",Ke="afterRead",Qe="beforeMain",Ze="main",et="afterMain",tt="beforeWrite",nt="write",rt="afterWrite",ot=[Ge,Je,Ke,Qe,Ze,et,tt,nt,rt];function C$1(Ra){return Ra?(Ra.nodeName||"").toLowerCase():null}function H$2(Ra){if(Ra==null)return window;if(Ra.toString()!=="[object Window]"){var qa=Ra.ownerDocument;return qa&&qa.defaultView||window}return Ra}function Q$2(Ra){var qa=H$2(Ra).Element;return Ra instanceof qa||Ra instanceof Element}function B$2(Ra){var qa=H$2(Ra).HTMLElement;return Ra instanceof qa||Ra instanceof HTMLElement}function Pe$1(Ra){if(typeof ShadowRoot>"u")return!1;var qa=H$2(Ra).ShadowRoot;return Ra instanceof qa||Ra instanceof ShadowRoot}function Mt(Ra){var qa=Ra.state;Object.keys(qa.elements).forEach(function(nd){var od=qa.styles[nd]||{},ld=qa.attributes[nd]||{},ud=qa.elements[nd];!B$2(ud)||!C$1(ud)||(Object.assign(ud.style,od),Object.keys(ld).forEach(function(dd){var pd=ld[dd];pd===!1?ud.removeAttribute(dd):ud.setAttribute(dd,pd===!0?"":pd)}))})}function Rt(Ra){var qa=Ra.state,nd={popper:{position:qa.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(qa.elements.popper.style,nd.popper),qa.styles=nd,qa.elements.arrow&&Object.assign(qa.elements.arrow.style,nd.arrow),function(){Object.keys(qa.elements).forEach(function(od){var ld=qa.elements[od],ud=qa.attributes[od]||{},dd=Object.keys(qa.styles.hasOwnProperty(od)?qa.styles[od]:nd[od]),pd=dd.reduce(function(fd,md){return fd[md]="",fd},{});!B$2(ld)||!C$1(ld)||(Object.assign(ld.style,pd),Object.keys(ud).forEach(function(fd){ld.removeAttribute(fd)}))})}}var Ae$1={name:"applyStyles",enabled:!0,phase:"write",fn:Mt,effect:Rt,requires:["computeStyles"]};function q$2(Ra){return Ra.split("-")[0]}var X$2=Math.max,ve$1=Math.min,Z$2=Math.round;function ee$1(Ra,qa){qa===void 0&&(qa=!1);var nd=Ra.getBoundingClientRect(),od=1,ld=1;if(B$2(Ra)&&qa){var ud=Ra.offsetHeight,dd=Ra.offsetWidth;dd>0&&(od=Z$2(nd.width)/dd||1),ud>0&&(ld=Z$2(nd.height)/ud||1)}return{width:nd.width/od,height:nd.height/ld,top:nd.top/ld,right:nd.right/od,bottom:nd.bottom/ld,left:nd.left/od,x:nd.left/od,y:nd.top/ld}}function ke$1(Ra){var qa=ee$1(Ra),nd=Ra.offsetWidth,od=Ra.offsetHeight;return Math.abs(qa.width-nd)<=1&&(nd=qa.width),Math.abs(qa.height-od)<=1&&(od=qa.height),{x:Ra.offsetLeft,y:Ra.offsetTop,width:nd,height:od}}function it(Ra,qa){var nd=qa.getRootNode&&qa.getRootNode();if(Ra.contains(qa))return!0;if(nd&&Pe$1(nd)){var od=qa;do{if(od&&Ra.isSameNode(od))return!0;od=od.parentNode||od.host}while(od)}return!1}function N$1(Ra){return H$2(Ra).getComputedStyle(Ra)}function Wt(Ra){return["table","td","th"].indexOf(C$1(Ra))>=0}function I$1(Ra){return((Q$2(Ra)?Ra.ownerDocument:Ra.document)||window.document).documentElement}function ge$1(Ra){return C$1(Ra)==="html"?Ra:Ra.assignedSlot||Ra.parentNode||(Pe$1(Ra)?Ra.host:null)||I$1(Ra)}function at$1(Ra){return!B$2(Ra)||N$1(Ra).position==="fixed"?null:Ra.offsetParent}function Bt(Ra){var qa=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,nd=navigator.userAgent.indexOf("Trident")!==-1;if(nd&&B$2(Ra)){var od=N$1(Ra);if(od.position==="fixed")return null}var ld=ge$1(Ra);for(Pe$1(ld)&&(ld=ld.host);B$2(ld)&&["html","body"].indexOf(C$1(ld))<0;){var ud=N$1(ld);if(ud.transform!=="none"||ud.perspective!=="none"||ud.contain==="paint"||["transform","perspective"].indexOf(ud.willChange)!==-1||qa&&ud.willChange==="filter"||qa&&ud.filter&&ud.filter!=="none")return ld;ld=ld.parentNode}return null}function se$1(Ra){for(var qa=H$2(Ra),nd=at$1(Ra);nd&&Wt(nd)&&N$1(nd).position==="static";)nd=at$1(nd);return nd&&(C$1(nd)==="html"||C$1(nd)==="body"&&N$1(nd).position==="static")?qa:nd||Bt(Ra)||qa}function Le$1(Ra){return["top","bottom"].indexOf(Ra)>=0?"x":"y"}function fe$1(Ra,qa,nd){return X$2(Ra,ve$1(qa,nd))}function St(Ra,qa,nd){var od=fe$1(Ra,qa,nd);return od>nd?nd:od}function st(){return{top:0,right:0,bottom:0,left:0}}function ft(Ra){return Object.assign({},st(),Ra)}function ct$1(Ra,qa){return qa.reduce(function(nd,od){return nd[od]=Ra,nd},{})}var Tt=function(Ra,qa){return Ra=typeof Ra=="function"?Ra(Object.assign({},qa.rects,{placement:qa.placement})):Ra,ft(typeof Ra!="number"?Ra:ct$1(Ra,G$2))};function Ht(Ra){var qa,nd=Ra.state,od=Ra.name,ld=Ra.options,ud=nd.elements.arrow,dd=nd.modifiersData.popperOffsets,pd=q$2(nd.placement),fd=Le$1(pd),md=[P$2,W$2].indexOf(pd)>=0,vd=md?"height":"width";if(!(!ud||!dd)){var Ad=Tt(ld.padding,nd),Nd=ke$1(ud),Od=fd==="y"?E$2:P$2,kd=fd==="y"?R$2:W$2,Ld=nd.rects.reference[vd]+nd.rects.reference[fd]-dd[fd]-nd.rects.popper[vd],Gd=dd[fd]-nd.rects.reference[fd],jd=se$1(ud),Fd=jd?fd==="y"?jd.clientHeight||0:jd.clientWidth||0:0,Ud=Ld/2-Gd/2,qd=Ad[Od],zd=Fd-Nd[vd]-Ad[kd],Wd=Fd/2-Nd[vd]/2+Ud,Jd=fe$1(qd,Wd,zd),_f=fd;nd.modifiersData[od]=(qa={},qa[_f]=Jd,qa.centerOffset=Jd-Wd,qa)}}function Ct(Ra){var qa=Ra.state,nd=Ra.options,od=nd.element,ld=od===void 0?"[data-popper-arrow]":od;ld!=null&&(typeof ld=="string"&&(ld=qa.elements.popper.querySelector(ld),!ld)||!it(qa.elements.popper,ld)||(qa.elements.arrow=ld))}var pt={name:"arrow",enabled:!0,phase:"main",fn:Ht,effect:Ct,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function te$1(Ra){return Ra.split("-")[1]}var qt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Vt(Ra){var qa=Ra.x,nd=Ra.y,od=window,ld=od.devicePixelRatio||1;return{x:Z$2(qa*ld)/ld||0,y:Z$2(nd*ld)/ld||0}}function ut(Ra){var qa,nd=Ra.popper,od=Ra.popperRect,ld=Ra.placement,ud=Ra.variation,dd=Ra.offsets,pd=Ra.position,fd=Ra.gpuAcceleration,md=Ra.adaptive,vd=Ra.roundOffsets,Ad=Ra.isFixed,Nd=dd.x,Od=Nd===void 0?0:Nd,kd=dd.y,Ld=kd===void 0?0:kd,Gd=typeof vd=="function"?vd({x:Od,y:Ld}):{x:Od,y:Ld};Od=Gd.x,Ld=Gd.y;var jd=dd.hasOwnProperty("x"),Fd=dd.hasOwnProperty("y"),Ud=P$2,qd=E$2,zd=window;if(md){var Wd=se$1(nd),Jd="clientHeight",_f="clientWidth";if(Wd===H$2(nd)&&(Wd=I$1(nd),N$1(Wd).position!=="static"&&pd==="absolute"&&(Jd="scrollHeight",_f="scrollWidth")),Wd=Wd,ld===E$2||(ld===P$2||ld===W$2)&&ud===J$2){qd=R$2;var Xd=Ad&&Wd===zd&&zd.visualViewport?zd.visualViewport.height:Wd[Jd];Ld-=Xd-od.height,Ld*=fd?1:-1}if(ld===P$2||(ld===E$2||ld===R$2)&&ud===J$2){Ud=W$2;var pf=Ad&&Wd===zd&&zd.visualViewport?zd.visualViewport.width:Wd[_f];Od-=pf-od.width,Od*=fd?1:-1}}var mf=Object.assign({position:pd},md&&qt),Sf=vd===!0?Vt({x:Od,y:Ld}):{x:Od,y:Ld};if(Od=Sf.x,Ld=Sf.y,fd){var Tf;return Object.assign({},mf,(Tf={},Tf[qd]=Fd?"0":"",Tf[Ud]=jd?"0":"",Tf.transform=(zd.devicePixelRatio||1)<=1?"translate("+Od+"px, "+Ld+"px)":"translate3d("+Od+"px, "+Ld+"px, 0)",Tf))}return Object.assign({},mf,(qa={},qa[qd]=Fd?Ld+"px":"",qa[Ud]=jd?Od+"px":"",qa.transform="",qa))}function Nt(Ra){var qa=Ra.state,nd=Ra.options,od=nd.gpuAcceleration,ld=od===void 0?!0:od,ud=nd.adaptive,dd=ud===void 0?!0:ud,pd=nd.roundOffsets,fd=pd===void 0?!0:pd,md={placement:q$2(qa.placement),variation:te$1(qa.placement),popper:qa.elements.popper,popperRect:qa.rects.popper,gpuAcceleration:ld,isFixed:qa.options.strategy==="fixed"};qa.modifiersData.popperOffsets!=null&&(qa.styles.popper=Object.assign({},qa.styles.popper,ut(Object.assign({},md,{offsets:qa.modifiersData.popperOffsets,position:qa.options.strategy,adaptive:dd,roundOffsets:fd})))),qa.modifiersData.arrow!=null&&(qa.styles.arrow=Object.assign({},qa.styles.arrow,ut(Object.assign({},md,{offsets:qa.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:fd})))),qa.attributes.popper=Object.assign({},qa.attributes.popper,{"data-popper-placement":qa.placement})}var Me={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Nt,data:{}},ye$1={passive:!0};function It(Ra){var qa=Ra.state,nd=Ra.instance,od=Ra.options,ld=od.scroll,ud=ld===void 0?!0:ld,dd=od.resize,pd=dd===void 0?!0:dd,fd=H$2(qa.elements.popper),md=[].concat(qa.scrollParents.reference,qa.scrollParents.popper);return ud&&md.forEach(function(vd){vd.addEventListener("scroll",nd.update,ye$1)}),pd&&fd.addEventListener("resize",nd.update,ye$1),function(){ud&&md.forEach(function(vd){vd.removeEventListener("scroll",nd.update,ye$1)}),pd&&fd.removeEventListener("resize",nd.update,ye$1)}}var Re$1={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:It,data:{}},_t={left:"right",right:"left",bottom:"top",top:"bottom"};function be$2(Ra){return Ra.replace(/left|right|bottom|top/g,function(qa){return _t[qa]})}var zt={start:"end",end:"start"};function lt(Ra){return Ra.replace(/start|end/g,function(qa){return zt[qa]})}function We(Ra){var qa=H$2(Ra),nd=qa.pageXOffset,od=qa.pageYOffset;return{scrollLeft:nd,scrollTop:od}}function Be$1(Ra){return ee$1(I$1(Ra)).left+We(Ra).scrollLeft}function Ft(Ra){var qa=H$2(Ra),nd=I$1(Ra),od=qa.visualViewport,ld=nd.clientWidth,ud=nd.clientHeight,dd=0,pd=0;return od&&(ld=od.width,ud=od.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(dd=od.offsetLeft,pd=od.offsetTop)),{width:ld,height:ud,x:dd+Be$1(Ra),y:pd}}function Ut(Ra){var qa,nd=I$1(Ra),od=We(Ra),ld=(qa=Ra.ownerDocument)==null?void 0:qa.body,ud=X$2(nd.scrollWidth,nd.clientWidth,ld?ld.scrollWidth:0,ld?ld.clientWidth:0),dd=X$2(nd.scrollHeight,nd.clientHeight,ld?ld.scrollHeight:0,ld?ld.clientHeight:0),pd=-od.scrollLeft+Be$1(Ra),fd=-od.scrollTop;return N$1(ld||nd).direction==="rtl"&&(pd+=X$2(nd.clientWidth,ld?ld.clientWidth:0)-ud),{width:ud,height:dd,x:pd,y:fd}}function Se$1(Ra){var qa=N$1(Ra),nd=qa.overflow,od=qa.overflowX,ld=qa.overflowY;return/auto|scroll|overlay|hidden/.test(nd+ld+od)}function dt(Ra){return["html","body","#document"].indexOf(C$1(Ra))>=0?Ra.ownerDocument.body:B$2(Ra)&&Se$1(Ra)?Ra:dt(ge$1(Ra))}function ce$2(Ra,qa){var nd;qa===void 0&&(qa=[]);var od=dt(Ra),ld=od===((nd=Ra.ownerDocument)==null?void 0:nd.body),ud=H$2(od),dd=ld?[ud].concat(ud.visualViewport||[],Se$1(od)?od:[]):od,pd=qa.concat(dd);return ld?pd:pd.concat(ce$2(ge$1(dd)))}function Te(Ra){return Object.assign({},Ra,{left:Ra.x,top:Ra.y,right:Ra.x+Ra.width,bottom:Ra.y+Ra.height})}function Xt(Ra){var qa=ee$1(Ra);return qa.top=qa.top+Ra.clientTop,qa.left=qa.left+Ra.clientLeft,qa.bottom=qa.top+Ra.clientHeight,qa.right=qa.left+Ra.clientWidth,qa.width=Ra.clientWidth,qa.height=Ra.clientHeight,qa.x=qa.left,qa.y=qa.top,qa}function ht(Ra,qa){return qa===je$1?Te(Ft(Ra)):Q$2(qa)?Xt(qa):Te(Ut(I$1(Ra)))}function Yt(Ra){var qa=ce$2(ge$1(Ra)),nd=["absolute","fixed"].indexOf(N$1(Ra).position)>=0,od=nd&&B$2(Ra)?se$1(Ra):Ra;return Q$2(od)?qa.filter(function(ld){return Q$2(ld)&&it(ld,od)&&C$1(ld)!=="body"}):[]}function Gt(Ra,qa,nd){var od=qa==="clippingParents"?Yt(Ra):[].concat(qa),ld=[].concat(od,[nd]),ud=ld[0],dd=ld.reduce(function(pd,fd){var md=ht(Ra,fd);return pd.top=X$2(md.top,pd.top),pd.right=ve$1(md.right,pd.right),pd.bottom=ve$1(md.bottom,pd.bottom),pd.left=X$2(md.left,pd.left),pd},ht(Ra,ud));return dd.width=dd.right-dd.left,dd.height=dd.bottom-dd.top,dd.x=dd.left,dd.y=dd.top,dd}function mt(Ra){var qa=Ra.reference,nd=Ra.element,od=Ra.placement,ld=od?q$2(od):null,ud=od?te$1(od):null,dd=qa.x+qa.width/2-nd.width/2,pd=qa.y+qa.height/2-nd.height/2,fd;switch(ld){case E$2:fd={x:dd,y:qa.y-nd.height};break;case R$2:fd={x:dd,y:qa.y+qa.height};break;case W$2:fd={x:qa.x+qa.width,y:pd};break;case P$2:fd={x:qa.x-nd.width,y:pd};break;default:fd={x:qa.x,y:qa.y}}var md=ld?Le$1(ld):null;if(md!=null){var vd=md==="y"?"height":"width";switch(ud){case U$2:fd[md]=fd[md]-(qa[vd]/2-nd[vd]/2);break;case J$2:fd[md]=fd[md]+(qa[vd]/2-nd[vd]/2);break}}return fd}function ne$1(Ra,qa){qa===void 0&&(qa={});var nd=qa,od=nd.placement,ld=od===void 0?Ra.placement:od,ud=nd.boundary,dd=ud===void 0?Xe:ud,pd=nd.rootBoundary,fd=pd===void 0?je$1:pd,md=nd.elementContext,vd=md===void 0?K$2:md,Ad=nd.altBoundary,Nd=Ad===void 0?!1:Ad,Od=nd.padding,kd=Od===void 0?0:Od,Ld=ft(typeof kd!="number"?kd:ct$1(kd,G$2)),Gd=vd===K$2?Ye:K$2,jd=Ra.rects.popper,Fd=Ra.elements[Nd?Gd:vd],Ud=Gt(Q$2(Fd)?Fd:Fd.contextElement||I$1(Ra.elements.popper),dd,fd),qd=ee$1(Ra.elements.reference),zd=mt({reference:qd,element:jd,strategy:"absolute",placement:ld}),Wd=Te(Object.assign({},jd,zd)),Jd=vd===K$2?Wd:qd,_f={top:Ud.top-Jd.top+Ld.top,bottom:Jd.bottom-Ud.bottom+Ld.bottom,left:Ud.left-Jd.left+Ld.left,right:Jd.right-Ud.right+Ld.right},Xd=Ra.modifiersData.offset;if(vd===K$2&&Xd){var pf=Xd[ld];Object.keys(_f).forEach(function(mf){var Sf=[W$2,R$2].indexOf(mf)>=0?1:-1,Tf=[E$2,R$2].indexOf(mf)>=0?"y":"x";_f[mf]+=pf[Tf]*Sf})}return _f}function Jt(Ra,qa){qa===void 0&&(qa={});var nd=qa,od=nd.placement,ld=nd.boundary,ud=nd.rootBoundary,dd=nd.padding,pd=nd.flipVariations,fd=nd.allowedAutoPlacements,md=fd===void 0?Ee$1:fd,vd=te$1(od),Ad=vd?pd?De:De.filter(function(kd){return te$1(kd)===vd}):G$2,Nd=Ad.filter(function(kd){return md.indexOf(kd)>=0});Nd.length===0&&(Nd=Ad);var Od=Nd.reduce(function(kd,Ld){return kd[Ld]=ne$1(Ra,{placement:Ld,boundary:ld,rootBoundary:ud,padding:dd})[q$2(Ld)],kd},{});return Object.keys(Od).sort(function(kd,Ld){return Od[kd]-Od[Ld]})}function Kt(Ra){if(q$2(Ra)===me$1)return[];var qa=be$2(Ra);return[lt(Ra),qa,lt(qa)]}function Qt(Ra){var qa=Ra.state,nd=Ra.options,od=Ra.name;if(!qa.modifiersData[od]._skip){for(var ld=nd.mainAxis,ud=ld===void 0?!0:ld,dd=nd.altAxis,pd=dd===void 0?!0:dd,fd=nd.fallbackPlacements,md=nd.padding,vd=nd.boundary,Ad=nd.rootBoundary,Nd=nd.altBoundary,Od=nd.flipVariations,kd=Od===void 0?!0:Od,Ld=nd.allowedAutoPlacements,Gd=qa.options.placement,jd=q$2(Gd),Fd=jd===Gd,Ud=fd||(Fd||!kd?[be$2(Gd)]:Kt(Gd)),qd=[Gd].concat(Ud).reduce(function(Wf,Jf){return Wf.concat(q$2(Jf)===me$1?Jt(qa,{placement:Jf,boundary:vd,rootBoundary:Ad,padding:md,flipVariations:kd,allowedAutoPlacements:Ld}):Jf)},[]),zd=qa.rects.reference,Wd=qa.rects.popper,Jd=new Map,_f=!0,Xd=qd[0],pf=0;pf<qd.length;pf++){var mf=qd[pf],Sf=q$2(mf),Tf=te$1(mf)===U$2,Af=[E$2,R$2].indexOf(Sf)>=0,Ef=Af?"width":"height",Nf=ne$1(qa,{placement:mf,boundary:vd,rootBoundary:Ad,altBoundary:Nd,padding:md}),If=Af?Tf?W$2:P$2:Tf?R$2:E$2;zd[Ef]>Wd[Ef]&&(If=be$2(If));var Gf=be$2(If),Qf=[];if(ud&&Qf.push(Nf[Sf]<=0),pd&&Qf.push(Nf[If]<=0,Nf[Gf]<=0),Qf.every(function(Wf){return Wf})){Xd=mf,_f=!1;break}Jd.set(mf,Qf)}if(_f)for(var Xf=kd?3:1,ph=function(Wf){var Jf=qd.find(function(Kf){var Cf=Jd.get(Kf);if(Cf)return Cf.slice(0,Wf).every(function(xf){return xf})});if(Jf)return Xd=Jf,"break"},qf=Xf;qf>0;qf--){var Lf=ph(qf);if(Lf==="break")break}qa.placement!==Xd&&(qa.modifiersData[od]._skip=!0,qa.placement=Xd,qa.reset=!0)}}var vt={name:"flip",enabled:!0,phase:"main",fn:Qt,requiresIfExists:["offset"],data:{_skip:!1}};function gt(Ra,qa,nd){return nd===void 0&&(nd={x:0,y:0}),{top:Ra.top-qa.height-nd.y,right:Ra.right-qa.width+nd.x,bottom:Ra.bottom-qa.height+nd.y,left:Ra.left-qa.width-nd.x}}function yt(Ra){return[E$2,W$2,R$2,P$2].some(function(qa){return Ra[qa]>=0})}function Zt(Ra){var qa=Ra.state,nd=Ra.name,od=qa.rects.reference,ld=qa.rects.popper,ud=qa.modifiersData.preventOverflow,dd=ne$1(qa,{elementContext:"reference"}),pd=ne$1(qa,{altBoundary:!0}),fd=gt(dd,od),md=gt(pd,ld,ud),vd=yt(fd),Ad=yt(md);qa.modifiersData[nd]={referenceClippingOffsets:fd,popperEscapeOffsets:md,isReferenceHidden:vd,hasPopperEscaped:Ad},qa.attributes.popper=Object.assign({},qa.attributes.popper,{"data-popper-reference-hidden":vd,"data-popper-escaped":Ad})}var bt$1={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Zt};function en(Ra,qa,nd){var od=q$2(Ra),ld=[P$2,E$2].indexOf(od)>=0?-1:1,ud=typeof nd=="function"?nd(Object.assign({},qa,{placement:Ra})):nd,dd=ud[0],pd=ud[1];return dd=dd||0,pd=(pd||0)*ld,[P$2,W$2].indexOf(od)>=0?{x:pd,y:dd}:{x:dd,y:pd}}function tn(Ra){var qa=Ra.state,nd=Ra.options,od=Ra.name,ld=nd.offset,ud=ld===void 0?[0,0]:ld,dd=Ee$1.reduce(function(vd,Ad){return vd[Ad]=en(Ad,qa.rects,ud),vd},{}),pd=dd[qa.placement],fd=pd.x,md=pd.y;qa.modifiersData.popperOffsets!=null&&(qa.modifiersData.popperOffsets.x+=fd,qa.modifiersData.popperOffsets.y+=md),qa.modifiersData[od]=dd}var wt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:tn};function nn(Ra){var qa=Ra.state,nd=Ra.name;qa.modifiersData[nd]=mt({reference:qa.rects.reference,element:qa.rects.popper,strategy:"absolute",placement:qa.placement})}var He={name:"popperOffsets",enabled:!0,phase:"read",fn:nn,data:{}};function rn(Ra){return Ra==="x"?"y":"x"}function on(Ra){var qa=Ra.state,nd=Ra.options,od=Ra.name,ld=nd.mainAxis,ud=ld===void 0?!0:ld,dd=nd.altAxis,pd=dd===void 0?!1:dd,fd=nd.boundary,md=nd.rootBoundary,vd=nd.altBoundary,Ad=nd.padding,Nd=nd.tether,Od=Nd===void 0?!0:Nd,kd=nd.tetherOffset,Ld=kd===void 0?0:kd,Gd=ne$1(qa,{boundary:fd,rootBoundary:md,padding:Ad,altBoundary:vd}),jd=q$2(qa.placement),Fd=te$1(qa.placement),Ud=!Fd,qd=Le$1(jd),zd=rn(qd),Wd=qa.modifiersData.popperOffsets,Jd=qa.rects.reference,_f=qa.rects.popper,Xd=typeof Ld=="function"?Ld(Object.assign({},qa.rects,{placement:qa.placement})):Ld,pf=typeof Xd=="number"?{mainAxis:Xd,altAxis:Xd}:Object.assign({mainAxis:0,altAxis:0},Xd),mf=qa.modifiersData.offset?qa.modifiersData.offset[qa.placement]:null,Sf={x:0,y:0};if(Wd){if(ud){var Tf,Af=qd==="y"?E$2:P$2,Ef=qd==="y"?R$2:W$2,Nf=qd==="y"?"height":"width",If=Wd[qd],Gf=If+Gd[Af],Qf=If-Gd[Ef],Xf=Od?-_f[Nf]/2:0,ph=Fd===U$2?Jd[Nf]:_f[Nf],qf=Fd===U$2?-_f[Nf]:-Jd[Nf],Lf=qa.elements.arrow,Wf=Od&&Lf?ke$1(Lf):{width:0,height:0},Jf=qa.modifiersData["arrow#persistent"]?qa.modifiersData["arrow#persistent"].padding:st(),Kf=Jf[Af],Cf=Jf[Ef],xf=fe$1(0,Jd[Nf],Wf[Nf]),Yf=Ud?Jd[Nf]/2-Xf-xf-Kf-pf.mainAxis:ph-xf-Kf-pf.mainAxis,dh=Ud?-Jd[Nf]/2+Xf+xf+Cf+pf.mainAxis:qf+xf+Cf+pf.mainAxis,Rh=qa.elements.arrow&&se$1(qa.elements.arrow),th=Rh?qd==="y"?Rh.clientTop||0:Rh.clientLeft||0:0,Bf=(Tf=mf==null?void 0:mf[qd])!=null?Tf:0,Sh=If+Yf-Bf-th,Fh=If+dh-Bf,uh=fe$1(Od?ve$1(Gf,Sh):Gf,If,Od?X$2(Qf,Fh):Qf);Wd[qd]=uh,Sf[qd]=uh-If}if(pd){var Pf,Uf=qd==="x"?E$2:P$2,Zf=qd==="x"?R$2:W$2,mh=Wd[zd],Mh=zd==="y"?"height":"width",_h=mh+Gd[Uf],pm=mh-Gd[Zf],Jh=[E$2,P$2].indexOf(jd)!==-1,Mm=(Pf=mf==null?void 0:mf[zd])!=null?Pf:0,Im=Jh?_h:mh-Jd[Mh]-_f[Mh]-Mm+pf.altAxis,gm=Jh?mh+Jd[Mh]+_f[Mh]-Mm-pf.altAxis:pm,Lm=Od&&Jh?St(Im,mh,gm):fe$1(Od?Im:_h,mh,Od?gm:pm);Wd[zd]=Lm,Sf[zd]=Lm-mh}qa.modifiersData[od]=Sf}}var xt={name:"preventOverflow",enabled:!0,phase:"main",fn:on,requiresIfExists:["offset"]};function an$1(Ra){return{scrollLeft:Ra.scrollLeft,scrollTop:Ra.scrollTop}}function sn(Ra){return Ra===H$2(Ra)||!B$2(Ra)?We(Ra):an$1(Ra)}function fn(Ra){var qa=Ra.getBoundingClientRect(),nd=Z$2(qa.width)/Ra.offsetWidth||1,od=Z$2(qa.height)/Ra.offsetHeight||1;return nd!==1||od!==1}function cn$1(Ra,qa,nd){nd===void 0&&(nd=!1);var od=B$2(qa),ld=B$2(qa)&&fn(qa),ud=I$1(qa),dd=ee$1(Ra,ld),pd={scrollLeft:0,scrollTop:0},fd={x:0,y:0};return(od||!od&&!nd)&&((C$1(qa)!=="body"||Se$1(ud))&&(pd=sn(qa)),B$2(qa)?(fd=ee$1(qa,!0),fd.x+=qa.clientLeft,fd.y+=qa.clientTop):ud&&(fd.x=Be$1(ud))),{x:dd.left+pd.scrollLeft-fd.x,y:dd.top+pd.scrollTop-fd.y,width:dd.width,height:dd.height}}function pn(Ra){var qa=new Map,nd=new Set,od=[];Ra.forEach(function(ud){qa.set(ud.name,ud)});function ld(ud){nd.add(ud.name);var dd=[].concat(ud.requires||[],ud.requiresIfExists||[]);dd.forEach(function(pd){if(!nd.has(pd)){var fd=qa.get(pd);fd&&ld(fd)}}),od.push(ud)}return Ra.forEach(function(ud){nd.has(ud.name)||ld(ud)}),od}function un(Ra){var qa=pn(Ra);return ot.reduce(function(nd,od){return nd.concat(qa.filter(function(ld){return ld.phase===od}))},[])}function ln(Ra){var qa;return function(){return qa||(qa=new Promise(function(nd){Promise.resolve().then(function(){qa=void 0,nd(Ra())})})),qa}}function dn(Ra){var qa=Ra.reduce(function(nd,od){var ld=nd[od.name];return nd[od.name]=ld?Object.assign({},ld,od,{options:Object.assign({},ld.options,od.options),data:Object.assign({},ld.data,od.data)}):od,nd},{});return Object.keys(qa).map(function(nd){return qa[nd]})}var Ot={placement:"bottom",modifiers:[],strategy:"absolute"};function $t(){for(var Ra=arguments.length,qa=new Array(Ra),nd=0;nd<Ra;nd++)qa[nd]=arguments[nd];return!qa.some(function(od){return!(od&&typeof od.getBoundingClientRect=="function")})}function we$1(Ra){Ra===void 0&&(Ra={});var qa=Ra,nd=qa.defaultModifiers,od=nd===void 0?[]:nd,ld=qa.defaultOptions,ud=ld===void 0?Ot:ld;return function(dd,pd,fd){fd===void 0&&(fd=ud);var md={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ot,ud),modifiersData:{},elements:{reference:dd,popper:pd},attributes:{},styles:{}},vd=[],Ad=!1,Nd={state:md,setOptions:function(Ld){var Gd=typeof Ld=="function"?Ld(md.options):Ld;kd(),md.options=Object.assign({},ud,md.options,Gd),md.scrollParents={reference:Q$2(dd)?ce$2(dd):dd.contextElement?ce$2(dd.contextElement):[],popper:ce$2(pd)};var jd=un(dn([].concat(od,md.options.modifiers)));return md.orderedModifiers=jd.filter(function(Fd){return Fd.enabled}),Od(),Nd.update()},forceUpdate:function(){if(!Ad){var Ld=md.elements,Gd=Ld.reference,jd=Ld.popper;if($t(Gd,jd)){md.rects={reference:cn$1(Gd,se$1(jd),md.options.strategy==="fixed"),popper:ke$1(jd)},md.reset=!1,md.placement=md.options.placement,md.orderedModifiers.forEach(function(_f){return md.modifiersData[_f.name]=Object.assign({},_f.data)});for(var Fd=0;Fd<md.orderedModifiers.length;Fd++){if(md.reset===!0){md.reset=!1,Fd=-1;continue}var Ud=md.orderedModifiers[Fd],qd=Ud.fn,zd=Ud.options,Wd=zd===void 0?{}:zd,Jd=Ud.name;typeof qd=="function"&&(md=qd({state:md,options:Wd,name:Jd,instance:Nd})||md)}}}},update:ln(function(){return new Promise(function(Ld){Nd.forceUpdate(),Ld(md)})}),destroy:function(){kd(),Ad=!0}};if(!$t(dd,pd))return Nd;Nd.setOptions(fd).then(function(Ld){!Ad&&fd.onFirstUpdate&&fd.onFirstUpdate(Ld)});function Od(){md.orderedModifiers.forEach(function(Ld){var Gd=Ld.name,jd=Ld.options,Fd=jd===void 0?{}:jd,Ud=Ld.effect;if(typeof Ud=="function"){var qd=Ud({state:md,name:Gd,instance:Nd,options:Fd}),zd=function(){};vd.push(qd||zd)}})}function kd(){vd.forEach(function(Ld){return Ld()}),vd=[]}return Nd}}we$1();var mn=[Re$1,He,Me,Ae$1];we$1({defaultModifiers:mn});var gn=[Re$1,He,Me,Ae$1,wt,vt,xt,pt,bt$1],yn=we$1({defaultModifiers:gn});function F$1(Ra,qa){(qa==null||qa>Ra.length)&&(qa=Ra.length);for(var nd=0,od=Array(qa);nd<qa;nd++)od[nd]=Ra[nd];return od}function _$1(Ra,qa){if(Ra){if(typeof Ra=="string")return F$1(Ra,qa);var nd={}.toString.call(Ra).slice(8,-1);return nd==="Object"&&Ra.constructor&&(nd=Ra.constructor.name),nd==="Map"||nd==="Set"?Array.from(Ra):nd==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(nd)?F$1(Ra,qa):void 0}}function E$1(Ra){return function(qa){if(Array.isArray(qa))return F$1(qa)}(Ra)||function(qa){if(typeof Symbol<"u"&&qa[Symbol.iterator]!=null||qa["@@iterator"]!=null)return Array.from(qa)}(Ra)||_$1(Ra)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function P$1(Ra){return P$1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(qa){return typeof qa}:function(qa){return qa&&typeof Symbol=="function"&&qa.constructor===Symbol&&qa!==Symbol.prototype?"symbol":typeof qa},P$1(Ra)}function j$1(Ra,qa,nd,od,ld,ud,dd){try{var pd=Ra[ud](dd),fd=pd.value}catch(md){return void nd(md)}pd.done?qa(fd):Promise.resolve(fd).then(od,ld)}function L$1(Ra){return function(){var qa=this,nd=arguments;return new Promise(function(od,ld){var ud=Ra.apply(qa,nd);function dd(fd){j$1(ud,od,ld,dd,pd,"next",fd)}function pd(fd){j$1(ud,od,ld,dd,pd,"throw",fd)}dd(void 0)})}}var B$1={exports:{}},R$1={exports:{}};(function(Ra){function qa(nd){return Ra.exports=qa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(od){return typeof od}:function(od){return od&&typeof Symbol=="function"&&od.constructor===Symbol&&od!==Symbol.prototype?"symbol":typeof od},Ra.exports.__esModule=!0,Ra.exports.default=Ra.exports,qa(nd)}Ra.exports=qa,Ra.exports.__esModule=!0,Ra.exports.default=Ra.exports})(R$1),function(Ra){var qa=R$1.exports.default;function nd(){Ra.exports=nd=function(){return ld},Ra.exports.__esModule=!0,Ra.exports.default=Ra.exports;var od,ld={},ud=Object.prototype,dd=ud.hasOwnProperty,pd=Object.defineProperty||function(Qf,Xf,ph){Qf[Xf]=ph.value},fd=typeof Symbol=="function"?Symbol:{},md=fd.iterator||"@@iterator",vd=fd.asyncIterator||"@@asyncIterator",Ad=fd.toStringTag||"@@toStringTag";function Nd(Qf,Xf,ph){return Object.defineProperty(Qf,Xf,{value:ph,enumerable:!0,configurable:!0,writable:!0}),Qf[Xf]}try{Nd({},"")}catch{Nd=function(Xf,ph,qf){return Xf[ph]=qf}}function Od(Qf,Xf,ph,qf){var Lf=Xf&&Xf.prototype instanceof qd?Xf:qd,Wf=Object.create(Lf.prototype),Jf=new If(qf||[]);return pd(Wf,"_invoke",{value:Tf(Qf,ph,Jf)}),Wf}function kd(Qf,Xf,ph){try{return{type:"normal",arg:Qf.call(Xf,ph)}}catch(qf){return{type:"throw",arg:qf}}}ld.wrap=Od;var Ld="suspendedStart",Gd="suspendedYield",jd="executing",Fd="completed",Ud={};function qd(){}function zd(){}function Wd(){}var Jd={};Nd(Jd,md,function(){return this});var _f=Object.getPrototypeOf,Xd=_f&&_f(_f(Gf([])));Xd&&Xd!==ud&&dd.call(Xd,md)&&(Jd=Xd);var pf=Wd.prototype=qd.prototype=Object.create(Jd);function mf(Qf){["next","throw","return"].forEach(function(Xf){Nd(Qf,Xf,function(ph){return this._invoke(Xf,ph)})})}function Sf(Qf,Xf){function ph(Lf,Wf,Jf,Kf){var Cf=kd(Qf[Lf],Qf,Wf);if(Cf.type!=="throw"){var xf=Cf.arg,Yf=xf.value;return Yf&&qa(Yf)=="object"&&dd.call(Yf,"__await")?Xf.resolve(Yf.__await).then(function(dh){ph("next",dh,Jf,Kf)},function(dh){ph("throw",dh,Jf,Kf)}):Xf.resolve(Yf).then(function(dh){xf.value=dh,Jf(xf)},function(dh){return ph("throw",dh,Jf,Kf)})}Kf(Cf.arg)}var qf;pd(this,"_invoke",{value:function(Lf,Wf){function Jf(){return new Xf(function(Kf,Cf){ph(Lf,Wf,Kf,Cf)})}return qf=qf?qf.then(Jf,Jf):Jf()}})}function Tf(Qf,Xf,ph){var qf=Ld;return function(Lf,Wf){if(qf===jd)throw Error("Generator is already running");if(qf===Fd){if(Lf==="throw")throw Wf;return{value:od,done:!0}}for(ph.method=Lf,ph.arg=Wf;;){var Jf=ph.delegate;if(Jf){var Kf=Af(Jf,ph);if(Kf){if(Kf===Ud)continue;return Kf}}if(ph.method==="next")ph.sent=ph._sent=ph.arg;else if(ph.method==="throw"){if(qf===Ld)throw qf=Fd,ph.arg;ph.dispatchException(ph.arg)}else ph.method==="return"&&ph.abrupt("return",ph.arg);qf=jd;var Cf=kd(Qf,Xf,ph);if(Cf.type==="normal"){if(qf=ph.done?Fd:Gd,Cf.arg===Ud)continue;return{value:Cf.arg,done:ph.done}}Cf.type==="throw"&&(qf=Fd,ph.method="throw",ph.arg=Cf.arg)}}}function Af(Qf,Xf){var ph=Xf.method,qf=Qf.iterator[ph];if(qf===od)return Xf.delegate=null,ph==="throw"&&Qf.iterator.return&&(Xf.method="return",Xf.arg=od,Af(Qf,Xf),Xf.method==="throw")||ph!=="return"&&(Xf.method="throw",Xf.arg=new TypeError("The iterator does not provide a '"+ph+"' method")),Ud;var Lf=kd(qf,Qf.iterator,Xf.arg);if(Lf.type==="throw")return Xf.method="throw",Xf.arg=Lf.arg,Xf.delegate=null,Ud;var Wf=Lf.arg;return Wf?Wf.done?(Xf[Qf.resultName]=Wf.value,Xf.next=Qf.nextLoc,Xf.method!=="return"&&(Xf.method="next",Xf.arg=od),Xf.delegate=null,Ud):Wf:(Xf.method="throw",Xf.arg=new TypeError("iterator result is not an object"),Xf.delegate=null,Ud)}function Ef(Qf){var Xf={tryLoc:Qf[0]};1 in Qf&&(Xf.catchLoc=Qf[1]),2 in Qf&&(Xf.finallyLoc=Qf[2],Xf.afterLoc=Qf[3]),this.tryEntries.push(Xf)}function Nf(Qf){var Xf=Qf.completion||{};Xf.type="normal",delete Xf.arg,Qf.completion=Xf}function If(Qf){this.tryEntries=[{tryLoc:"root"}],Qf.forEach(Ef,this),this.reset(!0)}function Gf(Qf){if(Qf||Qf===""){var Xf=Qf[md];if(Xf)return Xf.call(Qf);if(typeof Qf.next=="function")return Qf;if(!isNaN(Qf.length)){var ph=-1,qf=function Lf(){for(;++ph<Qf.length;)if(dd.call(Qf,ph))return Lf.value=Qf[ph],Lf.done=!1,Lf;return Lf.value=od,Lf.done=!0,Lf};return qf.next=qf}}throw new TypeError(qa(Qf)+" is not iterable")}return zd.prototype=Wd,pd(pf,"constructor",{value:Wd,configurable:!0}),pd(Wd,"constructor",{value:zd,configurable:!0}),zd.displayName=Nd(Wd,Ad,"GeneratorFunction"),ld.isGeneratorFunction=function(Qf){var Xf=typeof Qf=="function"&&Qf.constructor;return!!Xf&&(Xf===zd||(Xf.displayName||Xf.name)==="GeneratorFunction")},ld.mark=function(Qf){return Object.setPrototypeOf?Object.setPrototypeOf(Qf,Wd):(Qf.__proto__=Wd,Nd(Qf,Ad,"GeneratorFunction")),Qf.prototype=Object.create(pf),Qf},ld.awrap=function(Qf){return{__await:Qf}},mf(Sf.prototype),Nd(Sf.prototype,vd,function(){return this}),ld.AsyncIterator=Sf,ld.async=function(Qf,Xf,ph,qf,Lf){Lf===void 0&&(Lf=Promise);var Wf=new Sf(Od(Qf,Xf,ph,qf),Lf);return ld.isGeneratorFunction(Xf)?Wf:Wf.next().then(function(Jf){return Jf.done?Jf.value:Wf.next()})},mf(pf),Nd(pf,Ad,"Generator"),Nd(pf,md,function(){return this}),Nd(pf,"toString",function(){return"[object Generator]"}),ld.keys=function(Qf){var Xf=Object(Qf),ph=[];for(var qf in Xf)ph.push(qf);return ph.reverse(),function Lf(){for(;ph.length;){var Wf=ph.pop();if(Wf in Xf)return Lf.value=Wf,Lf.done=!1,Lf}return Lf.done=!0,Lf}},ld.values=Gf,If.prototype={constructor:If,reset:function(Qf){if(this.prev=0,this.next=0,this.sent=this._sent=od,this.done=!1,this.delegate=null,this.method="next",this.arg=od,this.tryEntries.forEach(Nf),!Qf)for(var Xf in this)Xf.charAt(0)==="t"&&dd.call(this,Xf)&&!isNaN(+Xf.slice(1))&&(this[Xf]=od)},stop:function(){this.done=!0;var Qf=this.tryEntries[0].completion;if(Qf.type==="throw")throw Qf.arg;return this.rval},dispatchException:function(Qf){if(this.done)throw Qf;var Xf=this;function ph(Cf,xf){return Wf.type="throw",Wf.arg=Qf,Xf.next=Cf,xf&&(Xf.method="next",Xf.arg=od),!!xf}for(var qf=this.tryEntries.length-1;qf>=0;--qf){var Lf=this.tryEntries[qf],Wf=Lf.completion;if(Lf.tryLoc==="root")return ph("end");if(Lf.tryLoc<=this.prev){var Jf=dd.call(Lf,"catchLoc"),Kf=dd.call(Lf,"finallyLoc");if(Jf&&Kf){if(this.prev<Lf.catchLoc)return ph(Lf.catchLoc,!0);if(this.prev<Lf.finallyLoc)return ph(Lf.finallyLoc)}else if(Jf){if(this.prev<Lf.catchLoc)return ph(Lf.catchLoc,!0)}else{if(!Kf)throw Error("try statement without catch or finally");if(this.prev<Lf.finallyLoc)return ph(Lf.finallyLoc)}}}},abrupt:function(Qf,Xf){for(var ph=this.tryEntries.length-1;ph>=0;--ph){var qf=this.tryEntries[ph];if(qf.tryLoc<=this.prev&&dd.call(qf,"finallyLoc")&&this.prev<qf.finallyLoc){var Lf=qf;break}}Lf&&(Qf==="break"||Qf==="continue")&&Lf.tryLoc<=Xf&&Xf<=Lf.finallyLoc&&(Lf=null);var Wf=Lf?Lf.completion:{};return Wf.type=Qf,Wf.arg=Xf,Lf?(this.method="next",this.next=Lf.finallyLoc,Ud):this.complete(Wf)},complete:function(Qf,Xf){if(Qf.type==="throw")throw Qf.arg;return Qf.type==="break"||Qf.type==="continue"?this.next=Qf.arg:Qf.type==="return"?(this.rval=this.arg=Qf.arg,this.method="return",this.next="end"):Qf.type==="normal"&&Xf&&(this.next=Xf),Ud},finish:function(Qf){for(var Xf=this.tryEntries.length-1;Xf>=0;--Xf){var ph=this.tryEntries[Xf];if(ph.finallyLoc===Qf)return this.complete(ph.completion,ph.afterLoc),Nf(ph),Ud}},catch:function(Qf){for(var Xf=this.tryEntries.length-1;Xf>=0;--Xf){var ph=this.tryEntries[Xf];if(ph.tryLoc===Qf){var qf=ph.completion;if(qf.type==="throw"){var Lf=qf.arg;Nf(ph)}return Lf}}throw Error("illegal catch attempt")},delegateYield:function(Qf,Xf,ph){return this.delegate={iterator:Gf(Qf),resultName:Xf,nextLoc:ph},this.method==="next"&&(this.arg=od),Ud}},ld}Ra.exports=nd,Ra.exports.__esModule=!0,Ra.exports.default=Ra.exports}(B$1);var z$1=B$1.exports(),M$1=z$1;try{regeneratorRuntime=z$1}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=z$1:Function("r","regeneratorRuntime = r")(z$1)}function D$1(Ra,qa){return function(nd){if(Array.isArray(nd))return nd}(Ra)||function(nd,od){var ld=nd==null?null:typeof Symbol<"u"&&nd[Symbol.iterator]||nd["@@iterator"];if(ld!=null){var ud,dd,pd,fd,md=[],vd=!0,Ad=!1;try{if(pd=(ld=ld.call(nd)).next,od===0){if(Object(ld)!==ld)return;vd=!1}else for(;!(vd=(ud=pd.call(ld)).done)&&(md.push(ud.value),md.length!==od);vd=!0);}catch(Nd){Ad=!0,dd=Nd}finally{try{if(!vd&&ld.return!=null&&(fd=ld.return(),Object(fd)!==fd))return}finally{if(Ad)throw dd}}return md}}(Ra,qa)||_$1(Ra,qa)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function T$1(Ra){var qa=function(nd,od){if(P$1(nd)!="object"||!nd)return nd;var ld=nd[Symbol.toPrimitive];if(ld!==void 0){var ud=ld.call(nd,od||"default");if(P$1(ud)!="object")return ud;throw new TypeError("@@toPrimitive must return a primitive value.")}return(od==="string"?String:Number)(nd)}(Ra,"string");return P$1(qa)=="symbol"?qa:qa+""}function H$1(Ra,qa,nd){return(qa=T$1(qa))in Ra?Object.defineProperty(Ra,qa,{value:nd,enumerable:!0,configurable:!0,writable:!0}):Ra[qa]=nd,Ra}var G$1=defineComponent({name:"Saturation",props:{size:{type:Number,default:160},hue:{type:Number,default:0},saturation:{type:Number,default:0},value:{type:Number,default:0}},emits:["change"],setup:function(Ra,qa){var nd=qa.emit,od=computed(function(){return{width:"".concat(Ra.size,"px"),height:"".concat(Ra.size,"px"),background:"hsl(".concat(Ra.hue,", 100%, 50%)")}});return{saturationStyle:od,sliderStyle:computed(function(){return{top:"".concat((100-Ra.value)/100*Ra.size-5,"px"),left:"".concat(Ra.saturation*Ra.size/100-5,"px"),width:"".concat(10,"px"),height:"".concat(10,"px")}}),onSelect:function(ld){var ud=ld.target.getBoundingClientRect(),dd=ud.left,pd=ud.top,fd=function(vd){var Ad=vd.clientX,Nd=vd.clientY,Od=Ad-dd,kd=Nd-pd;Od<0&&(Od=0),kd<0&&(kd=0),Od>Ra.size&&(Od=Ra.size),kd>Ra.size&&(kd=Ra.size);var Ld=Od/Ra.size*100,Gd=100-kd/Ra.size*100;nd("change",Ld,Gd)},md=function(){document.removeEventListener("mousemove",fd),document.removeEventListener("mouseup",md)};fd(ld),document.addEventListener("mousemove",fd),document.addEventListener("mouseup",md)}}}});function V$1(Ra,qa){qa===void 0&&(qa={});var nd=qa.insertAt;if(Ra&&typeof document<"u"){var od=document.head||document.getElementsByTagName("head")[0],ld=document.createElement("style");ld.type="text/css",nd==="top"&&od.firstChild?od.insertBefore(ld,od.firstChild):od.appendChild(ld),ld.styleSheet?ld.styleSheet.cssText=Ra:ld.appendChild(document.createTextNode(Ra))}}V$1(".saturation[data-v-24517fec]{position:relative}.saturation-black[data-v-24517fec],.saturation-white[data-v-24517fec]{cursor:pointer;height:100%;left:0;position:absolute;top:0;width:100%}.saturation-white[data-v-24517fec]{background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.saturation-black[data-v-24517fec]{background:linear-gradient(0deg,#000,transparent)}.slider[data-v-24517fec]{border:1px solid #fff;border-radius:50%;box-shadow:0 0 1px 1px rgba(0,0,0,.3);left:0;pointer-events:none;position:absolute;top:0;z-index:1}"),G$1.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("div",{class:"saturation",style:normalizeStyle(Ra.saturationStyle),onMousedown:qa[0]||(qa[0]=withModifiers(function(){return Ra.onSelect&&Ra.onSelect.apply(Ra,arguments)},["prevent","stop"]))},[qa[1]||(qa[1]=createBaseVNode("div",{class:"saturation-white"},null,-1)),qa[2]||(qa[2]=createBaseVNode("div",{class:"saturation-black"},null,-1)),createBaseVNode("div",{class:"slider",style:normalizeStyle(Ra.sliderStyle)},null,4)],36)},G$1.__scopeId="data-v-24517fec",G$1.__file="src/picker/Saturation.vue";var Y$1=defineComponent({name:"Hue",props:{width:{type:Number,default:15},height:{type:Number,default:160},hue:{type:Number,default:0}},emits:["change"],setup:function(Ra,qa){var nd=qa.emit,od=computed(function(){return{top:"".concat((1-Ra.hue/360)*Ra.height-2,"px"),height:"".concat(4,"px")}}),ld=ref$1();return onMounted(function(){(function(){ld.value.width=Ra.width,ld.value.height=Ra.height;var ud=ld.value.getContext("2d"),dd=ud.createLinearGradient(0,0,0,Ra.height);dd.addColorStop(0,"#FF0000"),dd.addColorStop(.17,"#FF00FF"),dd.addColorStop(.34,"#0000FF"),dd.addColorStop(.51,"#00FFFF"),dd.addColorStop(.68,"#00FF00"),dd.addColorStop(.17*5,"#FFFF00"),dd.addColorStop(1,"#FF0000"),ud.fillStyle=dd,ud.fillRect(0,0,Ra.width,Ra.height)})()}),{canvas:ld,sliderStyle:od,onSelect:function(ud){var dd=ud.target.getBoundingClientRect().top,pd=function(md){var vd=md.clientY-dd;vd<0&&(vd=0),vd>Ra.height&&(vd=Ra.height);var Ad=-100*vd/Ra.height+100;nd("change",360*Ad/100)},fd=function(){document.removeEventListener("mousemove",pd),document.removeEventListener("mouseup",fd)};pd(ud),document.addEventListener("mousemove",pd),document.addEventListener("mouseup",fd)}}}}),$={ref:"canvas"};V$1(".hue[data-v-78b9f4f0]{position:relative}.slider[data-v-78b9f4f0]{background:#fff;box-shadow:0 0 1px 0 rgba(0,0,0,.3);left:0;pointer-events:none;position:absolute;width:100%;z-index:1}"),Y$1.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("div",{class:"hue",onMousedown:qa[0]||(qa[0]=withModifiers(function(){return Ra.onSelect&&Ra.onSelect.apply(Ra,arguments)},["prevent","stop"]))},[createBaseVNode("canvas",$,null,512),createBaseVNode("div",{class:"slider",style:normalizeStyle(Ra.sliderStyle)},null,4)],32)},Y$1.__scopeId="data-v-78b9f4f0",Y$1.__file="src/picker/Hue.vue";var J$1=defineComponent({name:"Alpha",props:{width:{type:Number,default:15},height:{type:Number,default:160},color:{type:String,default:"#000000"},alpha:{type:Number,default:1}},setup:function(Ra,qa){var nd=qa.emit,od=computed(function(){return{top:"".concat(Ra.alpha*Ra.height-2,"px"),height:"".concat(4,"px")}}),ld=ref$1(),ud=function(){var dd=ld.value.getContext("2d");ld.value.width=Ra.width,ld.value.height=Ra.height;var pd=function(md){var vd=document.createElement("canvas"),Ad=vd.getContext("2d"),Nd=2*md;return vd.width=Nd,vd.height=Nd,Ad.fillStyle="#ffffff",Ad.fillRect(0,0,Nd,Nd),Ad.fillStyle="#ccd5db",Ad.fillRect(0,0,md,md),Ad.fillRect(md,md,md,md),vd}(5);dd.fillStyle=dd.createPattern(pd,"repeat"),dd.fillRect(0,0,Ra.width,Ra.height);var fd=dd.createLinearGradient(0,0,0,Ra.height);fd.addColorStop(.01,"rgba(255,255,255,0)"),fd.addColorStop(.99,Ra.color),dd.fillStyle=fd,dd.fillRect(0,0,Ra.width,Ra.height)};return watch(function(){return Ra.color},function(){ud()}),onMounted(function(){ud()}),{canvas:ld,sliderStyle:od,onSelect:function(dd){var pd=dd.target.getBoundingClientRect().top,fd=function(vd){var Ad=vd.clientY-pd;Ad<0&&(Ad=0),Ad>Ra.height&&(Ad=Ra.height);var Nd=parseFloat((Ad/Ra.height).toFixed(2));nd("change",Nd)},md=function(){document.removeEventListener("mousemove",fd),document.removeEventListener("mouseup",md)};fd(dd),document.addEventListener("mousemove",fd),document.addEventListener("mouseup",md)}}}}),X$1={ref:"canvas"};V$1(".alpha[data-v-24dc9656]{position:relative}.slider[data-v-24dc9656]{background:#fff;box-shadow:0 0 1px 0 rgba(0,0,0,.3);left:0;pointer-events:none;position:absolute;width:100%;z-index:1}"),J$1.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("div",{class:"alpha",onMousedown:qa[0]||(qa[0]=withModifiers(function(){return Ra.onSelect&&Ra.onSelect.apply(Ra,arguments)},["prevent","stop"]))},[createBaseVNode("canvas",X$1,null,512),createBaseVNode("div",{class:"slider",style:normalizeStyle(Ra.sliderStyle)},null,4)],32)},J$1.__scopeId="data-v-24dc9656",J$1.__file="src/picker/Alpha.vue";var q$1={rgb:"RGBA",hex:"HEX",hsl:"HSLA",hsv:"HSVA"},U$1={rgb:"RGB",hex:"HEX",hsl:"HSL",hsv:"HSV"},W$1={RGB:"rgb",RGBA:"rgb",HEX:"hex",HSL:"hsl",HSLA:"hsl",HSV:"hsv",HSVA:"hsv"};function K$1(Ra,qa){var nd=Object.keys(Ra);if(Object.getOwnPropertySymbols){var od=Object.getOwnPropertySymbols(Ra);qa&&(od=od.filter(function(ld){return Object.getOwnPropertyDescriptor(Ra,ld).enumerable})),nd.push.apply(nd,od)}return nd}function Q$1(Ra){for(var qa=1;qa<arguments.length;qa++){var nd=arguments[qa]!=null?arguments[qa]:{};qa%2?K$1(Object(nd),!0).forEach(function(od){H$1(Ra,od,nd[od])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ra,Object.getOwnPropertyDescriptors(nd)):K$1(Object(nd)).forEach(function(od){Object.defineProperty(Ra,od,Object.getOwnPropertyDescriptor(nd,od))})}return Ra}var Z$1=null,ee=function(Ra,qa,nd){var od=ref$1({}),ld=nd||{},ud=ld.placement,dd=ld.defaultStyle,pd={strategy:ld.strategy||"absolute",placement:ud||"auto",onFirstUpdate:function(){Z$1.update()},modifiers:[{name:"offset",options:{offset:[0,5]}},{name:"computeStyles",options:{gpuAcceleration:!1,adaptive:!0}},{name:"flip",options:{allowedAutoPlacements:["top","bottom"]}},{name:"applyStyles",enabled:!1},{name:"updateState",enabled:!0,phase:"write",requires:["computeStyles"],fn:function(fd){var md=fd.state,vd=md.styles,Ad=md.placement,Nd=vd.popper;od.value=Q$1(Q$1(Q$1({},Nd),dd),{},{transformOrigin:Ad==="top"?"center bottom":"center top"})}}]};return watch(function(){return[unref(Ra),unref(qa)]},function(fd,md){var vd,Ad=D$1(fd,2),Nd=Ad[0],Od=Ad[1],kd=D$1(md,2),Ld=kd[0],Gd=kd[1];if(Nd&&Od&&(Ld!==Nd||Gd!==Ld)){(vd=Z$1)===null||vd===void 0||vd.destroy();var jd=Nd.$el||Nd,Fd=Od.$el||Od;nextTick$1(function(){Z$1=yn(jd,Fd,pd)})}}),onBeforeUnmount(function(){var fd;Z$1&&((fd=Z$1)===null||fd===void 0||fd.destroy(),Z$1=null)}),{instance:Z$1,style:od}},te=defineComponent({props:{value:{type:String,default:"RGBA"},showAlpha:{type:Boolean},options:{type:[Boolean,Array]}},emits:["change"],setup:function(Ra,qa){var nd=qa.emit,od=ref$1(null),ld=ref$1(null),ud=ref$1(!1),dd=ee(od,ld,{strategy:"fixed",defaultStyle:{zIndex:2}}).style,pd=computed(function(){return Array.isArray(Ra.options)&&Ra.options.length>1}),fd=computed(function(){var vd=Ra.options,Ad=Ra.showAlpha,Nd=Ra.value;return Array.isArray(vd)?Ad?vd.map(function(Od){return q$1[Od]}).filter(function(Od){return!Od.includes(Nd)}):vd.map(function(Od){return U$1[Od]}).filter(function(Od){return!Od.includes(Nd)}):[]}),md=function(vd){var Ad,Nd,Od=vd.target;!((Ad=unref(od))!==null&&Ad!==void 0&&Ad.isEqualNode(Od))&&(!((Nd=unref(od))===null||Nd===void 0)&&Nd.contains(Od))||(ud.value=!1)};return onMounted(function(){document.addEventListener("mouseup",md,!1)}),onUnmounted(function(){document.removeEventListener("mouseup",md,!1)}),{targetRef:od,selectorRef:ld,selectorStyle:dd,isShowSelector:ud,isNeedSelect:pd,formatOptions:fd,onShow:function(){pd.value&&(ud.value=!0)},onFormatChange:function(vd){nd("change",W$1[vd])}}}}),re={class:"format"},ne={key:0,class:"arrow"},oe=["onClick"];V$1(".format[data-v-5f6e8f5e]{position:relative}.label[data-v-5f6e8f5e]{align-items:center;background:#e7e8e9;color:#999;display:flex;float:left;font-weight:500;height:30px;justify-content:center;position:relative;width:60px}[pick-colors-theme=dark] .label[data-v-5f6e8f5e]{background:#252930;color:#999}.arrow[data-v-5f6e8f5e]{height:6px;margin-bottom:4px;margin-left:5px;transform:rotate(135deg);width:6px}.arrow[data-v-5f6e8f5e],[pick-colors-theme=dark] .arrow[data-v-5f6e8f5e]{border-right:1px solid #999;border-top:1px solid #999}.selector[data-v-5f6e8f5e]{align-items:center;background:#f7f8f9;border-radius:5px;box-shadow:0 0 16px 0 rgba(0,0,0,.16);cursor:pointer;display:flex;flex-direction:column;font-weight:400;justify-content:center;padding:4px}[pick-colors-theme=dark] .selector[data-v-5f6e8f5e]{background:#252930;color:#999}.selector-item[data-v-5f6e8f5e]{align-items:center;display:flex;height:30px;justify-content:center;width:60px}.selector-item[data-v-5f6e8f5e]:hover{background:#e1f2fe}[pick-colors-theme=dark] .selector-item[data-v-5f6e8f5e]{color:#fff}[pick-colors-theme=dark] .selector-item[data-v-5f6e8f5e]:hover{background:#0087fa}.active-selector-item[data-v-5f6e8f5e]{background:#e1f2fe}[pick-colors-theme=dark] .active-selector-item[data-v-5f6e8f5e]{background:#0087fa}.v-enter-active[data-v-5f6e8f5e],.v-leave-active[data-v-5f6e8f5e]{opacity:1;transform:scaleY(1);transform-origin:center top;transition:opacity .2s ease-in-out,transform .2s ease-in-out}.v-enter-from[data-v-5f6e8f5e],.v-leave-to[data-v-5f6e8f5e]{opacity:0;transform:scaleY(0)}"),te.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("div",re,[createBaseVNode("div",{class:"label",ref:"targetRef",onClick:qa[0]||(qa[0]=function(){return Ra.onShow&&Ra.onShow.apply(Ra,arguments)})},[createBaseVNode("span",null,toDisplayString(Ra.value),1),Ra.isNeedSelect?(openBlock(),createElementBlock("div",ne)):createCommentVNode("v-if",!0)],512),createVNode(Transition$1,null,{default:withCtx(function(){return[Ra.isShowSelector?(openBlock(),createElementBlock("div",{key:0,class:"selector",ref:"selectorRef",style:normalizeStyle(Ra.selectorStyle)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ra.formatOptions,function(dd){return openBlock(),createElementBlock("div",{class:"selector-item",key:dd,onClick:function(pd){return Ra.onFormatChange(dd)}},toDisplayString(dd),9,oe)}),128))],4)):createCommentVNode("v-if",!0)]}),_:1})])},te.__scopeId="data-v-5f6e8f5e",te.__file="src/picker/input-value/FormatValue.vue";var ae$1=defineComponent({name:"Input",components:{FormatValue:te},props:{format:{type:String,default:"RGBA"},value:{type:String,default:""},width:{type:Number},showAlpha:{type:Boolean},formatOptions:{type:[Boolean,Array]}},emits:["change","focus","blur","enter","formatChange"],setup:function(Ra,qa){var nd=qa.emit;return{onInput:function(od){var ld;nd("change",(ld=od.target)===null||ld===void 0?void 0:ld.value)},valueStyle:computed(function(){return{minWidth:"".concat(Ra.width,"px"),maxWidth:"".concat(Ra.width,"px"),width:"".concat(Ra.width,"px")}}),onFocus:function(){nd("focus")},onBlur:function(){nd("blur")},onEnter:function(){nd("enter")},onFormatChange:function(od){nd("formatChange",od)}}}}),ie={class:"input"},le=[".value"];function ce$1(Ra,qa){var nd=Object.keys(Ra);if(Object.getOwnPropertySymbols){var od=Object.getOwnPropertySymbols(Ra);qa&&(od=od.filter(function(ld){return Object.getOwnPropertyDescriptor(Ra,ld).enumerable})),nd.push.apply(nd,od)}return nd}function ue(Ra){for(var qa=1;qa<arguments.length;qa++){var nd=arguments[qa]!=null?arguments[qa]:{};qa%2?ce$1(Object(nd),!0).forEach(function(od){H$1(Ra,od,nd[od])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ra,Object.getOwnPropertyDescriptors(nd)):ce$1(Object(nd)).forEach(function(od){Object.defineProperty(Ra,od,Object.getOwnPropertyDescriptor(nd,od))})}return Ra}V$1(".input[data-v-2c454c00]{display:flex;font-size:12px}.value[data-v-2c454c00]{background:#eceef0;border:1px solid #eceef0;box-sizing:border-box;color:#666;flex:1;height:30px;text-align:center}[pick-colors-theme=dark] .value[data-v-2c454c00]{background:#2e333a;border:1px solid #2e333a;color:#fff}.value[data-v-2c454c00]:focus{border:1px solid #1890ff;outline:none}"),ae$1.render=function(Ra,qa,nd,od,ld,ud){var dd=resolveComponent("FormatValue");return openBlock(),createElementBlock("div",ie,[createVNode(dd,{value:Ra.format,showAlpha:Ra.showAlpha,options:Ra.formatOptions,onChange:Ra.onFormatChange},null,8,["value","showAlpha","options","onChange"]),createBaseVNode("input",{class:"value",style:normalizeStyle(Ra.valueStyle),".value":Ra.value,onFocus:qa[0]||(qa[0]=function(){return Ra.onFocus&&Ra.onFocus.apply(Ra,arguments)}),onInput:qa[1]||(qa[1]=function(){return Ra.onInput&&Ra.onInput.apply(Ra,arguments)}),onBlur:qa[2]||(qa[2]=function(){return Ra.onBlur&&Ra.onBlur.apply(Ra,arguments)}),onKeydown:qa[3]||(qa[3]=withKeys(function(){return Ra.onEnter&&Ra.onEnter.apply(Ra,arguments)},["enter"]))},null,44,le)])},ae$1.__scopeId="data-v-2c454c00",ae$1.__file="src/picker/input-value/InputValue.vue";var se=function(Ra,qa,nd){return[Ra,qa*nd/((Ra=(2-qa)*nd)<1?Ra:2-Ra)||0,Ra/2]},fe={10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},de=function(Ra){Ra=Math.min(Math.round(Ra),255);var qa=Math.floor(Ra/16),nd=Ra%16;return"".concat(fe[qa]||qa).concat(fe[nd]||nd)},pe=function(Ra){var qa=Ra.r,nd=Ra.g,od=Ra.b;return isNaN(qa)||isNaN(nd)||isNaN(od)?"":"#".concat(de(qa)).concat(de(nd)).concat(de(od))},he=function(Ra,qa){var nd;typeof(nd=Ra)=="string"&&nd.indexOf(".")!==-1&&parseFloat(nd)===1&&(Ra="100%");var od=function(ld){return typeof ld=="string"&&ld.indexOf("%")!==-1}(Ra);return Ra=Math.min(qa,Math.max(0,parseFloat("".concat(Ra)))),od&&(Ra=parseInt("".concat(Ra*qa),10)/100),Math.abs(Ra-qa)<1e-6?1:Ra%qa/parseFloat(qa)},ve=function(Ra,qa,nd){Ra=6*he(Ra,360),qa=he(qa,100),nd=he(nd,100);var od=Math.floor(Ra),ld=Ra-od,ud=nd*(1-qa),dd=nd*(1-ld*qa),pd=nd*(1-(1-ld)*qa),fd=od%6,md=[nd,dd,ud,ud,pd,nd][fd],vd=[pd,nd,nd,dd,ud,ud][fd],Ad=[ud,ud,pd,nd,nd,dd][fd];return{r:Math.round(255*md),g:Math.round(255*vd),b:Math.round(255*Ad)}},me=function(Ra,qa,nd){var od,ld,ud=Ra.h,dd=Ra.s,pd=Ra.v,fd=Ra.a;if(nd)switch(fd=(ld=(od=fd).toString().match(/\.(\d{1,2})(\d*)/))&&ld[2].length>0?parseFloat(od.toFixed(2)):od,qa){case"hsl":var md=se(ud,dd/100,pd/100);return"hsla(".concat(ud.toFixed(0),", ").concat(Math.round(100*md[1]),"%, ").concat(Math.round(100*md[2]),"%, ").concat(fd,")");case"hsv":return"hsva(".concat(ud.toFixed(0),", ").concat(Math.round(dd),"%, ").concat(Math.round(pd),"%, ").concat(fd,")");case"rgb":var vd=ve(ud,dd,pd),Ad=vd.r,Nd=vd.g,Od=vd.b;return"rgba(".concat(Ad,", ").concat(Nd,", ").concat(Od,", ").concat(fd,")");default:return"".concat(pe(ve(ud,dd,pd))).concat(de(255*fd))}else switch(qa){case"hsl":var kd=se(ud,dd/100,pd/100);return"hsl(".concat(ud.toFixed(0),", ").concat(Math.round(100*kd[1]),"%, ").concat(Math.round(100*kd[2]),"%)");case"hsv":return"hsv(".concat(ud.toFixed(0),", ").concat(Math.round(dd),"%, ").concat(Math.round(pd),"%)");case"rgb":var Ld=ve(ud,dd,pd),Gd=Ld.r,jd=Ld.g,Fd=Ld.b;return"rgb(".concat(Gd,", ").concat(jd,", ").concat(Fd,")");default:return pe(ve(ud,dd,pd))}},ge=function(Ra){var qa=Ra.r,nd=Ra.g,od=Ra.b;qa=he(qa,255),nd=he(nd,255),od=he(od,255);var ld,ud=Math.max(qa,nd,od),dd=Math.min(qa,nd,od),pd=ud,fd=ud-dd,md=ud===0?0:fd/ud;if(ud===dd)ld=0;else{switch(ud){case qa:ld=(nd-od)/fd+(nd<od?6:0);break;case nd:ld=(od-qa)/fd+2;break;case od:ld=(qa-nd)/fd+4}ld/=6}return{h:360*ld,s:100*md,v:100*pd}},ye=function(Ra){var qa=Ra.h,nd=Ra.s,od=Ra.l;od/=100;var ld=nd/=100,ud=Math.max(od,.01);return nd*=(od*=2)<=1?od:2-od,ld*=ud<=1?ud:2-ud,{h:+qa,s:100*(od===0?2*ld/(ud+ld):2*nd/(od+nd)),v:100*((od+nd)/2)}},be$1=function(Ra){var qa=[];if(Ra.match(/^#([0-9a-fA-f]{3,4})$/g))for(var nd=1;nd<Ra.length;nd++)qa.push(parseInt("0x"+Ra[nd].repeat(2)));else if(Ra.match(/^#([0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/g))for(var od=1;od<Ra.length;od+=2)qa.push(parseInt("0x"+Ra.slice(od,od+2)));return{r:qa[0],g:qa[1],b:qa[2],a:qa[3]}},xe=function(Ra,qa,nd){if(typeof Ra=="string"&&Ra!==""){var od=Ce(Ra,Oe(Ra),nd),ld=Ae(od);return ld==null?"":me(ld,qa,nd)}return""},we=function(Ra){var qa=D$1(Ra.match(/(\d(\.\d+)?)+/g),4);return{r:qa[0],g:qa[1],b:qa[2],a:qa[3]}},Se=function(Ra){var qa=D$1(Ra.match(/(\d(\.\d+)?)+/g),4),nd=qa[0],od=qa[1],ld=qa[2],ud=qa[3];return{h:nd,s:parseFloat(od),l:parseFloat(ld),a:ud}},ke=function(Ra){var qa=D$1(Ra.match(/(\d(\.\d+)?)+/g),4),nd=qa[0],od=qa[1],ld=qa[2],ud=qa[3];return{h:parseFloat(nd),s:parseFloat(od),v:parseFloat(ld),a:parseFloat(ud)}},Ce=function(Ra,qa){if(!(arguments.length>2&&arguments[2]!==void 0)||arguments[2])switch(qa){case"rgb":var nd=we(Ra),od=nd.r,ld=nd.g,ud=nd.b,dd=nd.a;return ue(ue({},ge({r:od,g:ld,b:ud})),{},{a:+dd});case"hsv":var pd=ke(Ra);return{h:pd.h,s:pd.s,v:pd.v,a:pd.a};case"hsl":var fd=Se(Ra),md=fd.h,vd=fd.s,Ad=fd.l,Nd=fd.a;return ue(ue({},ye({h:md,s:vd,l:Ad})),{},{a:+Nd});default:var Od=be$1(Ra),kd=Od.r,Ld=Od.g,Gd=Od.b,jd=Od.a;return ue(ue({},ge({r:kd,g:Ld,b:Gd})),{},{a:jd/255})}else switch(qa){case"rgb":return ue(ue({},ge(we(Ra))),{},{a:1});case"hsv":var Fd=ke(Ra);return{h:Fd.h,s:Fd.s,v:Fd.v,a:1};case"hsl":return ue(ue({},ye(Se(Ra))),{},{a:1});default:return ue(ue({},ge(be$1(Ra))),{},{a:1})}},Oe=function(Ra){return Ra.match(/^#/)?"hex":Ra.match(/^rgb/)?"rgb":Ra.match(/^hsl/)?"hsl":Ra.match(/^hsv/)?"hsv":"hex"},Ae=function(Ra){var qa=Ra.h,nd=Ra.s,od=Ra.v,ld=Ra.a;return isNaN(qa)&&isNaN(nd)&&isNaN(od)?null:(isNaN(qa)&&(qa=0),isNaN(nd)&&(nd=0),isNaN(od)&&(od=0),isNaN(ld)&&(ld=1),{h:qa,s:nd,v:od,a:ld})},Ne=defineComponent({name:"ColorItem",props:{size:{type:[Number,String],default:20},width:{type:[Number,String]},height:{type:[Number,String]},value:{type:String,default:""},border:{type:Boolean,default:!0},borderRadius:{type:Number,default:5},selected:{type:Boolean,default:!1},draggable:{type:Boolean,default:!1}},emits:["select"],setup:function(Ra){var qa=ref$1(),nd=inject("theme",{theme:"light"}).theme,od=computed(function(){return parseFloat((Ra.width||Ra.size)+"")}),ld=computed(function(){return parseFloat((Ra.height||Ra.size)+"")}),ud=computed(function(){return{width:"".concat(unref(od),"px"),height:"".concat(unref(ld),"px"),border:Ra.border?"1px solid ".concat(unref(nd)==="dark"?"#434345":"#d9d9d9"):"",borderRadius:"".concat(Ra.borderRadius,"px"),boxShadow:Ra.selected?"0 0 3px 2px ".concat(unref(nd)==="dark"?"#2681ff":"#1890ff"):""}}),dd=function(){var pd=qa.value.getContext("2d");qa.value.width=unref(od),qa.value.height=unref(ld);var fd=function(md){var vd=document.createElement("canvas"),Ad=vd.getContext("2d"),Nd=2*md;return vd.width=Nd,vd.height=Nd,Ad.fillStyle="#ffffff",Ad.fillRect(0,0,Nd,Nd),Ad.fillStyle="#ccd5db",Ad.fillRect(0,0,md,md),Ad.fillRect(md,md,md,md),vd}(5);pd.fillStyle=pd.createPattern(fd,"repeat"),pd.fillRect(0,0,unref(od),unref(ld)),pd.fillStyle=Ra.value,pd.fillRect(0,0,unref(od),unref(ld))};return watch(function(){return Ra.value},function(){dd()}),onMounted(function(){dd()}),{canvas:qa,colorItemStyle:ud}}}),Ie=["draggable"];V$1(".color-item[data-v-02da71fd]{display:inline-block;vertical-align:top}"),Ne.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("canvas",{class:"color-item",style:normalizeStyle(Ra.colorItemStyle),ref:"canvas",draggable:Ra.draggable},null,12,Ie)},Ne.__scopeId="data-v-02da71fd",Ne.__file="src/color-item/ColorItem.vue";var Fe=defineComponent({name:"Colors",components:{ColorItem:Ne},props:{colors:{type:Array,default:function(){return[]}},selectedIndex:{type:Number,default:-1}},emits:["change"],setup:function(Ra,qa){var nd=qa.emit;return{onSelectColor:function(od,ld){nd("change",od,ld)},useColors:computed(function(){return Ra.colors.map(function(od){return xe(od,"hex",!0)})})}}}),_e$1={class:"colors"};function Ee(Ra,qa){var nd=Object.keys(Ra);if(Object.getOwnPropertySymbols){var od=Object.getOwnPropertySymbols(Ra);qa&&(od=od.filter(function(ld){return Object.getOwnPropertyDescriptor(Ra,ld).enumerable})),nd.push.apply(nd,od)}return nd}function Pe(Ra){for(var qa=1;qa<arguments.length;qa++){var nd=arguments[qa]!=null?arguments[qa]:{};qa%2?Ee(Object(nd),!0).forEach(function(od){H$1(Ra,od,nd[od])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ra,Object.getOwnPropertyDescriptors(nd)):Ee(Object(nd)).forEach(function(od){Object.defineProperty(Ra,od,Object.getOwnPropertyDescriptor(nd,od))})}return Ra}V$1(".colors[data-v-0f8b52a8]{align-items:center;display:flex;flex-wrap:wrap;margin-top:5px}.color-item[data-v-0f8b52a8]{margin:5px}"),Fe.render=function(Ra,qa,nd,od,ld,ud){var dd=resolveComponent("color-item");return openBlock(),createElementBlock("div",_e$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ra.useColors,function(pd,fd){return openBlock(),createBlock(dd,{key:fd,class:"color-item",size:16,value:pd,border:!1,"border-radius":3,selected:Ra.selectedIndex===fd,onClick:withModifiers(function(md){return Ra.onSelectColor(pd,+fd)},["stop","prevent"])},null,8,["value","selected","onClick"])}),128))])},Fe.__scopeId="data-v-0f8b52a8",Fe.__file="src/picker/Colors.vue";var je=defineComponent({name:"Picker",components:{Colors:Fe,Saturation:G$1,Hue:Y$1,Alpha:J$1,InputValue:ae$1},props:{format:{type:String,default:"hex"},showAlpha:{type:Boolean,default:!1},value:{type:String,default:""},colors:{type:Array,default:function(){return[]}},style:{type:Object,default:function(){return{}}},formatOptions:{type:[Boolean,Array]}},emits:["change","formatChange"],setup:function(Ra,qa){var nd=qa.emit,od=computed(function(){return Pe(Pe({},Ra.style),{},{width:Ra.showAlpha?"230px":"205px"})}),ld=ref$1(),ud=ref$1(),dd=ref$1(),pd=function(){var Ld,Gd=(Ld=Ra.value)===null||Ld===void 0?void 0:Ld.trim();if(Gd!=null&&Gd!==""){var jd=Oe(Gd);return Ae(Ce(Gd,jd,Ra.showAlpha))}return null};watch(function(){return Ra.value},function(){Ra.value!==unref(dd)&&(ld.value=pd())},{immediate:!0}),watch(function(){return[unref(ld),Ra.format]},function(Ld){var Gd=D$1(Ld,2),jd=Gd[0],Fd=Gd[1],Ud="";jd!=null?(Ud=me(Pe({},jd),Ra.format,Ra.showAlpha),ud.value=Pe({},jd)):ud.value=null,dd.value=Ud;var qd=pd();JSON.stringify(jd)!==JSON.stringify(qd)&&JSON.stringify(jd)!==JSON.stringify(Fd)&&nd("change",Ud)},{immediate:!0});var fd=computed(function(){var Ld;return((Ld=unref(ld))===null||Ld===void 0?void 0:Ld.h)||0}),md=computed(function(){var Ld;return((Ld=unref(ld))===null||Ld===void 0?void 0:Ld.s)||0}),vd=computed(function(){var Ld;return((Ld=unref(ld))===null||Ld===void 0?void 0:Ld.v)||0}),Ad=computed(function(){var Ld,Gd;return((Ld=unref(ld))===null||Ld===void 0?void 0:Ld.a)!=null?(Gd=unref(ld))===null||Gd===void 0?void 0:Gd.a:1}),Nd=computed(function(){return ve(unref(fd),unref(md),unref(vd))}),Od=computed(function(){return"rgb(".concat(unref(Nd).r,", ").concat(unref(Nd).g,", ").concat(unref(Nd).b,")")}),kd=ref$1(-1);return{h:fd,s:md,v:vd,a:Ad,rgbStr:Od,onSelectSaturation:function(Ld,Gd){kd.value=-1,unref(ld)==null?ld.value={h:unref(fd),s:Ld,v:Gd,a:unref(Ad)}:ld.value=Pe(Pe({},unref(ld)),{},{s:Ld,v:Gd})},onSelectHue:function(Ld){kd.value=-1,unref(ld)==null&&(ld.value={h:Ld,s:unref(md),v:unref(vd),a:unref(Ad)}),ld.value=Pe(Pe({},unref(ld)),{},{h:Ld})},onSelectAlpha:function(Ld){kd.value=-1,unref(ld)==null?ld.value={h:unref(fd),s:unref(md),v:unref(vd),a:Ld}:ld.value=Pe(Pe({},unref(ld)),{},{a:Ld})},handleInputFormat:function(Ld){return Ra.showAlpha?q$1[Ld]:U$1[Ld]},colorValue:dd,pickerStyle:od,onInputChange:function(Ld){kd.value=-1,dd.value=Ld},handleChange:function(){var Ld,Gd=(Ld=unref(dd))===null||Ld===void 0?void 0:Ld.trim();if(Gd!==""){var jd=Ra.showAlpha,Fd=Oe(Gd),Ud=Ae(Ce(Gd,Fd,jd)),qd=function(zd){if(!zd)return!1;var Wd=zd.h,Jd=zd.s,_f=zd.v,Xd=zd.a;return!(isNaN(Wd)||isNaN(Jd)||isNaN(_f)||isNaN(Xd))}(Ud);qd?ld.value=Ud:unref(ud)!=null?ld.value=unref(ud):dd.value=""}else ld.value=null},selectColorIndex:kd,onSelectColor:function(Ld,Gd){if(kd.value=Gd,(Ld=Ld.trim())==="")ld.value=null;else{var jd=Oe(Ld);jd?function(Fd,Ud,qd){if(Fd.length!==0){var zd=Ce(Fd,Ud,qd),Wd=zd.h,Jd=zd.s,_f=zd.v;if(!(isNaN(Wd)||isNaN(Jd)||isNaN(_f))){var Xd=1,pf=zd.a;isNaN(pf)||(Xd=pf),ld.value={h:Wd,s:Jd,v:_f,a:Xd}}}}(Ld,jd,!0):ld.value=null}},onFormatChange:function(Ld){nd("formatChange",Ld)}}}}),Le={class:"picker-inner"},Be={class:"picker-header"};V$1(".picker[data-v-6ceadec6]{background:#f7f8f9;border-radius:4px;box-shadow:0 0 16px 0 rgba(0,0,0,.16)}.picker-inner[data-v-6ceadec6]{padding:10px}[pick-colors-theme=dark] .picker-inner[data-v-6ceadec6]{background:#1d2024;box-shadow:0 0 16px 0 rgba(0,0,0,.16)}.picker-header[data-v-6ceadec6]{display:flex;margin-bottom:5px}.alpha[data-v-6ceadec6],.hue[data-v-6ceadec6]{margin-left:10px}.colors[data-v-6ceadec6]{margin-top:5px}"),je.render=function(Ra,qa,nd,od,ld,ud){var dd=resolveComponent("saturation"),pd=resolveComponent("hue"),fd=resolveComponent("alpha"),md=resolveComponent("input-value"),vd=resolveComponent("Colors");return openBlock(),createElementBlock("div",{class:"picker",style:normalizeStyle(Ra.pickerStyle)},[createBaseVNode("div",Le,[createBaseVNode("div",Be,[createVNode(dd,{class:"saturation",hue:Ra.h,saturation:Ra.s,value:Ra.v,onChange:Ra.onSelectSaturation},null,8,["hue","saturation","value","onChange"]),createVNode(pd,{class:"hue",hue:Ra.h,onChange:Ra.onSelectHue},null,8,["hue","onChange"]),Ra.showAlpha?(openBlock(),createBlock(fd,{key:0,class:"alpha",alpha:Ra.a,color:Ra.rgbStr,onChange:Ra.onSelectAlpha},null,8,["alpha","color","onChange"])):createCommentVNode("v-if",!0)]),createVNode(md,{format:Ra.handleInputFormat(Ra.format),value:Ra.colorValue,showAlpha:Ra.showAlpha,width:Ra.showAlpha?150:125,formatOptions:Ra.formatOptions,onChange:Ra.onInputChange,onBlur:Ra.handleChange,onEnter:Ra.handleChange,onFormatChange:Ra.onFormatChange},null,8,["format","value","showAlpha","width","formatOptions","onChange","onBlur","onEnter","onFormatChange"]),Ra.colors.length>0?(openBlock(),createBlock(vd,{key:0,class:"colors",colors:Ra.colors,"selected-index":Ra.selectColorIndex,onChange:Ra.onSelectColor},null,8,["colors","selected-index","onChange"])):createCommentVNode("v-if",!0)])],4)},je.__scopeId="data-v-6ceadec6",je.__file="src/picker/Picker.vue";var Re=defineComponent({name:"AddColorItem",props:{size:{type:Number,default:20},selected:{type:Boolean,default:!1}},setup:function(Ra){var qa=inject("theme",{theme:"light"}).theme;return{addColorItemStyle:computed(function(){return{width:"".concat(Ra.size,"px"),height:"".concat(Ra.size,"px"),lineHeight:"".concat(Ra.size,"px"),boxShadow:Ra.selected?"0 0 3px 2px ".concat(unref(qa)==="dark"?"#2681ff":"#1890ff"):""}})}}});V$1(".add-color-item[data-v-ceb1719c]{background:#fff;border:1px solid #d9d9d9;border-radius:5px;vertical-align:top}.container[data-v-ceb1719c]{pointer-events:none;transform:scale(.9);transform-origin:center}[pick-colors-theme=dark] .add-color-item[data-v-ceb1719c]{background:#141414;border:1px solid #434343}path[data-v-ceb1719c]{fill:#000}[pick-colors-theme=dark] path[data-v-ceb1719c]{fill:#fff}"),Re.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("svg",{class:"add-color-item",style:normalizeStyle(Ra.addColorItemStyle),viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},qa[0]||(qa[0]=[createBaseVNode("g",{class:"container"},[createBaseVNode("path",{d:"M544 464V160h-80v304H160v80h304v304h80V544h304v-80z"})],-1)]),4)},Re.__scopeId="data-v-ceb1719c",Re.__file="src/add-color-item/AddColorItem.vue";var ze=defineComponent({name:"ColorPicker",components:{ColorItem:Ne,Picker:je,AddColorItem:Re},props:{value:{type:[String,Array]},theme:{type:String,default:"light"},size:{type:[Number,String],default:20},width:{type:[Number,String]},height:{type:[Number,String]},format:{type:String},showPicker:{type:Boolean,default:void 0},showAlpha:{type:Boolean,default:!1},addColor:{type:Boolean,default:!1},deleteColor:{type:Boolean,default:!0},max:{type:Number,default:13},popupContainer:{type:[String,Object,Boolean],default:"body"},zIndex:{type:Number,default:1e3},colors:{type:Array,default:function(){return["#ff4500","#ff8c00","#ffd700","#90ee90","#00ced1","#1e90ff","#c71585","#ff4500","#ff7d4d","#00babd","#1f93ff","#fa64c3"]}},position:{type:String},placement:{type:String},formatOptions:{type:[Boolean,Array],default:!1}},emits:["change","update:value","update:showPicker","overflowMax","closePicker","formatChange"],setup:function(Ra,qa){var nd=qa.emit,od=ref$1([]),ld=computed(function(){return unref(od).map(function(Xd){return xe(Xd,"hex",Ra.showAlpha)})}),ud=ref$1("hex");watch(function(){return Ra.format},function(){ud.value=Ra.format},{immediate:!0}),watch(function(){return Ra.value},function(){var Xd=Ra.value||"",pf=Array.isArray(Xd)?Xd:[Xd];od.value=pf.map(function(mf){return xe(mf,unref(ud),Ra.showAlpha)})},{immediate:!0});var dd=ref$1(void 0),pd=computed(function(){return unref(od)[unref(dd)]}),fd=ref$1(!1);watch(function(){return Ra.showPicker},function(){fd.value=Ra.showPicker},{immediate:!0});var md,vd,Ad=ref$1(null),Nd=ref$1(null),Od=ee(Ad,Nd,{defaultStyle:{zIndex:Ra.zIndex},strategy:Ra.position,placement:Ra.placement}).style,kd=function(){unref(Ad)==null&&(Ad.value=unref(_f)[0]),unref(dd)==null&&(dd.value=0),Ra.showPicker===void 0?fd.value=!0:nd("update:showPicker",!0)},Ld=function(){dd.value=void 0,Ra.showPicker===void 0?fd.value=!1:nd("update:showPicker",!1),nd("closePicker",toRaw(Array.isArray(Ra.value)||Ra.addColor?unref(od):unref(od)[0]))},Gd=ref$1(),jd=function(){var Xd=L$1(M$1.mark(function pf(mf){var Sf,Tf,Af,Ef;return M$1.wrap(function(Nf){for(;;)switch(Nf.prev=Nf.next){case 0:if(Tf=mf.target,(Af=(Sf=Tf.dataset)===null||Sf===void 0?void 0:Sf.index)!=null&&Af!==""){Nf.next=4;break}return Nf.abrupt("return");case 4:if(Ef=+Af,unref(dd)!==Ef){Nf.next=7;break}return Nf.abrupt("return");case 7:unref(dd)!=null&&unref(dd)!==Ef?(Ld(),md&&clearTimeout(md),md=setTimeout(function(){kd(),clearTimeout(md)},100)):kd(),dd.value=Ef,Ad.value=Tf;case 10:case"end":return Nf.stop()}},pf)}));return function(pf){return Xd.apply(this,arguments)}}(),Fd=function(){var Xd=L$1(M$1.mark(function pf(mf){var Sf,Tf,Af,Ef,Nf;return M$1.wrap(function(If){for(;;)switch(If.prev=If.next){case 0:if(Ef=mf.target,!(!((Sf=unref(Gd))!==null&&Sf!==void 0&&Sf.isEqualNode(Ef))&&(!((Tf=unref(Gd))===null||Tf===void 0)&&Tf.contains(Ef)))){If.next=4;break}return If.abrupt("return");case 4:if(Nf=(Af=unref(Nd))===null||Af===void 0?void 0:Af.$el,!(Nf!=null&&Nf.contains(Ef))){If.next=8;break}return If.abrupt("return");case 8:vd&&clearTimeout(vd),vd=setTimeout(function(){unref(fd)&&Ld()},0);case 10:case"end":return If.stop()}},pf)}));return function(pf){return Xd.apply(this,arguments)}}();watch(fd,function(){unref(fd)&&(kd(),clearTimeout(vd))});var Ud,qd=ref$1(Ra.max>unref(od).length),zd=computed(function(){return typeof Ra.popupContainer=="string"||P$1(Ra.popupContainer)==="object"&&Ra.popupContainer!=null?Ra.popupContainer:"body"}),Wd=computed(function(){return typeof Ra.popupContainer=="boolean"&&Ra.popupContainer===!1}),Jd=computed(function(){return Ra.theme});watch(function(){return[Ra.theme,unref(Nd)]},function(){nextTick$1(function(){var Xd,pf;(Xd=unref(Gd))===null||Xd===void 0||Xd.setAttribute("pick-colors-theme",unref(Jd)),(pf=unref(Nd))===null||pf===void 0||(pf=pf.$el)===null||pf===void 0||pf.setAttribute("pick-colors-theme",unref(Jd))})},{immediate:!0}),provide("theme",{theme:Jd});var _f=ref$1([]);return onMounted(function(){document.addEventListener("mouseup",Fd,!1),Ra.showPicker&&kd()}),onUnmounted(function(){document.removeEventListener("mouseup",Fd,!1),md&&(clearTimeout(md),md=null),vd&&(clearTimeout(vd),vd=null)}),{valueList:od,colorItemSelected:function(Xd){return(Ra.addColor?unref(od).length>0:unref(od).length>1)&&unref(dd)===Xd},selectedColor:pd,selectedIndex:dd,isShowPicker:fd,addColorItemShow:qd,onPickerChange:function(Xd){var pf=unref(dd),mf=unref(od).slice(),Sf=unref(od).length;if(pf!=null){pf>=0?mf[pf]=Xd:(dd.value=Sf,mf.push(Xd));var Tf="";Tf=Array.isArray(Ra.value)||Ra.addColor?mf:Xd,od.value=Array.isArray(Tf)?Tf:[Tf],nd("update:value",Tf),nd("change",Tf,Xd,pf),Ra.addColor&&Sf>=Ra.max&&(qd.value=!1,nd("overflowMax"))}},colorPicker:Gd,onColorClick:jd,pickerRef:Nd,onColorItemDragStart:function(Xd){Xd.dataTransfer.effectAllowed="move";var pf=Xd.target;Ud=+pf.dataset.index},onColorItemDragOver:function(Xd){},onColorItemDrop:function(Xd){var pf=+Xd.target.dataset.index,mf=E$1(unref(od)),Sf=mf[Ud];mf.splice(Ud,1);var Tf=mf.slice(0,pf),Af=mf.splice(pf),Ef=Tf.concat([Sf]).concat(Af);nd("update:value",Ef),nd("change",Ef,Ef[Ud],Ud)},colorItemsRef:_f,pickerStyle:Od,values:ld,teleportDisabled:Wd,toPopupContainer:zd,formatValue:ud,onFormatChange:function(Xd){ud.value=Xd,nd("formatChange",Xd)}}}});V$1(".color-picker[data-v-3c43ade8]{display:inline-block}.color-item[data-v-3c43ade8]{margin:5px}.add-color-item[data-v-3c43ade8]{display:inline-block;margin:5px}.picker[data-v-3c43ade8]{overflow:hidden}.v-enter-active[data-v-3c43ade8],.v-leave-active[data-v-3c43ade8]{opacity:1;transform:scaleY(1);transform-origin:center top;transition:opacity .2s ease-in-out,transform .2s ease-in-out}.v-enter-from[data-v-3c43ade8],.v-leave-to[data-v-3c43ade8]{opacity:0;transform:scaleY(0)}"),ze.render=function(Ra,qa,nd,od,ld,ud){var dd=resolveComponent("color-item"),pd=resolveComponent("add-color-item"),fd=resolveComponent("picker");return openBlock(),createElementBlock("div",{class:"color-picker",ref:"colorPicker",onDragstart:qa[0]||(qa[0]=withModifiers(function(){return Ra.onColorItemDragStart&&Ra.onColorItemDragStart.apply(Ra,arguments)},["stop"])),onDragover:qa[1]||(qa[1]=withModifiers(function(){return Ra.onColorItemDragOver&&Ra.onColorItemDragOver.apply(Ra,arguments)},["prevent","stop"])),onDrop:qa[2]||(qa[2]=withModifiers(function(){return Ra.onColorItemDrop&&Ra.onColorItemDrop.apply(Ra,arguments)},["prevent","stop"])),onClick:qa[3]||(qa[3]=withModifiers(function(){return Ra.onColorClick&&Ra.onColorClick.apply(Ra,arguments)},["stop"]))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ra.values,function(md,vd){return openBlock(),createBlock(dd,{class:"color-item",key:vd,ref_for:!0,ref:function(Ad){return Ra.colorItemsRef[vd]=Ad},size:Ra.size,width:Ra.width,height:Ra.height,value:md,selected:Ra.colorItemSelected(vd),"data-index":vd,draggable:Ra.valueList.length>1,format:Ra.formatValue},null,8,["size","width","height","value","selected","data-index","draggable","format"])}),128)),Ra.addColor&&Ra.addColorItemShow?(openBlock(),createBlock(pd,{key:0,class:"add-color-item",ref:"addColorItem",selected:Ra.colorItemSelected(-1),"data-index":-1},null,8,["selected"])):createCommentVNode("v-if",!0),(openBlock(),createBlock(Teleport,{to:Ra.toPopupContainer,disabled:Ra.teleportDisabled},[createVNode(Transition$1,null,{default:withCtx(function(){return[Ra.isShowPicker?(openBlock(),createBlock(fd,{key:0,class:"picker",style:normalizeStyle(Ra.pickerStyle),ref:"pickerRef",value:Ra.selectedColor,format:Ra.formatValue,"show-alpha":Ra.showAlpha,colors:Ra.colors,formatOptions:Ra.formatOptions,onChange:Ra.onPickerChange,onFormatChange:Ra.onFormatChange},null,8,["style","value","format","show-alpha","colors","formatOptions","onChange","onFormatChange"])):createCommentVNode("v-if",!0)]}),_:1})],8,["to","disabled"]))],544)},ze.__scopeId="data-v-3c43ade8",ze.__file="src/ColorPicker.vue";const _hoisted_1$8={class:"space-y-2"},_hoisted_2$5={class:"grid grid-cols-3 justify-items-center gap-2"},_hoisted_3$4={class:"space-y-2"},_hoisted_4$4={class:"grid grid-cols-3 justify-items-center gap-2"},_hoisted_5$3={class:"space-y-2"},_hoisted_6$3={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_7$1={class:"space-y-2"},_hoisted_8$1={class:"grid grid-cols-3 justify-items-center gap-2"},_hoisted_9={class:"space-y-2"},_hoisted_10={class:"space-y-2"},_hoisted_11={class:"space-y-2"},_hoisted_12={class:"grid grid-cols-3 justify-items-center gap-2"},_hoisted_13={class:"space-y-2"},_hoisted_14={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_15={class:"space-y-2"},_hoisted_16={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_17={class:"space-y-2"},_hoisted_18={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_19={class:"space-y-2"},_hoisted_20={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_21={class:"space-y-2"},_hoisted_22={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_23={class:"space-y-2"},_hoisted_24={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_25={class:"space-y-2"},_sfc_main$R=defineComponent({__name:"RightSlider",setup(Ra){const qa=useStore(),nd=useDisplayStore(),{isDark:od,primaryColor:ld}=storeToRefs(qa);function ud(){nd.toggleShowCssEditor(),setTimeout(()=>{qa.cssEditor.refresh()},50)}const dd=ref$1(!1),pd=ref$1("");watch(dd,()=>{dd.value&&(pd.value="")});const fd=useTemplateRef("pickColorsContainer"),md=ref$1("rgb"),vd=ref$1(["rgb","hex","hsl","hsv"]);return(Ad,Nd)=>{const Od=_sfc_main$1o,kd=_sfc_main$W,Ld=_sfc_main$X,Gd=_sfc_main$_,jd=_sfc_main$V,Fd=_sfc_main$$;return openBlock(),createElementBlock("div",{class:normalizeClass(["overflow-hidden bg-gray/20 transition-width duration-300 dark:bg-gray/40",{"w-0":!unref(qa).isOpenRightSlider,"w-100":unref(qa).isOpenRightSlider}])},[createBaseVNode("div",{class:normalizeClass(["space-y-4 h-full overflow-auto p-4 transition-transform",{"translate-x-0":unref(qa).isOpenRightSlider,"translate-x-full":!unref(qa).isOpenRightSlider}])},[createBaseVNode("div",_hoisted_1$8,[Nd[14]||(Nd[14]=createBaseVNode("h2",null,"主题",-1)),createBaseVNode("div",_hoisted_2$5,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(themeOptions),({label:Ud,value:qd})=>(openBlock(),createBlock(Od,{key:qd,class:normalizeClass(["w-full",{"border-black dark:border-white":unref(qa).theme===qd}]),variant:"outline",onClick:zd=>unref(qa).themeChanged(qd)},{default:withCtx(()=>[createTextVNode(toDisplayString(Ud),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_3$4,[Nd[15]||(Nd[15]=createBaseVNode("h2",null,"字体",-1)),createBaseVNode("div",_hoisted_4$4,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(fontFamilyOptions),({label:Ud,value:qd})=>(openBlock(),createBlock(Od,{key:qd,variant:"outline",class:normalizeClass(["w-full",{"border-black dark:border-white":unref(qa).fontFamily===qd}]),onClick:zd=>unref(qa).fontChanged(qd)},{default:withCtx(()=>[createTextVNode(toDisplayString(Ud),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_5$3,[Nd[16]||(Nd[16]=createBaseVNode("h2",null,"字号",-1)),createBaseVNode("div",_hoisted_6$3,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(fontSizeOptions),({value:Ud,desc:qd})=>(openBlock(),createBlock(Od,{key:Ud,variant:"outline",class:normalizeClass(["w-full",{"border-black dark:border-white":unref(qa).fontSize===Ud}]),onClick:zd=>unref(qa).sizeChanged(Ud)},{default:withCtx(()=>[createTextVNode(toDisplayString(qd),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_7$1,[Nd[17]||(Nd[17]=createBaseVNode("h2",null,"主题色",-1)),createBaseVNode("div",_hoisted_8$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(colorOptions),({label:Ud,value:qd})=>(openBlock(),createBlock(Od,{key:qd,class:normalizeClass(["w-full",{"border-black dark:border-white":unref(qa).primaryColor===qd}]),variant:"outline",onClick:zd=>unref(qa).colorChanged(qd)},{default:withCtx(()=>[createBaseVNode("span",{class:"mr-2 inline-block h-4 w-4 rounded-full",style:normalizeStyle({background:qd})},null,4),createTextVNode(" "+toDisplayString(Ud),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_9,[Nd[18]||(Nd[18]=createBaseVNode("h2",null,"自定义主题色",-1)),createBaseVNode("div",{ref_key:"pickColorsContainer",ref:fd},[unref(fd)?(openBlock(),createBlock(unref(ze),{key:0,value:unref(ld),"onUpdate:value":Nd[0]||(Nd[0]=Ud=>isRef(ld)?ld.value=Ud:null),"show-alpha":"",format:unref(md),"format-options":unref(vd),theme:unref(qa).isDark?"dark":"light","popup-container":unref(fd),onChange:unref(qa).colorChanged},null,8,["value","format","format-options","theme","popup-container","onChange"])):createCommentVNode("",!0)],512)]),createBaseVNode("div",_hoisted_10,[Nd[19]||(Nd[19]=createBaseVNode("h2",null,"代码块主题",-1)),createBaseVNode("div",null,[createVNode(Fd,{modelValue:unref(qa).codeBlockTheme,"onUpdate:modelValue":[Nd[1]||(Nd[1]=Ud=>unref(qa).codeBlockTheme=Ud),unref(qa).codeBlockThemeChanged]},{default:withCtx(()=>[createVNode(Ld,null,{default:withCtx(()=>[createVNode(kd,{placeholder:"Select a fruit"})]),_:1}),createVNode(jd,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(codeBlockThemeOptions),({label:Ud,value:qd})=>(openBlock(),createBlock(Gd,{key:Ud,value:qd},{default:withCtx(()=>[createTextVNode(toDisplayString(Ud),1)]),_:2},1032,["value"]))),128))]),_:1})]),_:1},8,["modelValue","onUpdate:modelValue"])])]),createBaseVNode("div",_hoisted_11,[Nd[20]||(Nd[20]=createBaseVNode("h2",null,"图注格式",-1)),createBaseVNode("div",_hoisted_12,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(legendOptions),({label:Ud,value:qd})=>(openBlock(),createBlock(Od,{key:qd,class:normalizeClass(["w-full",{"border-black dark:border-white":unref(qa).legend===qd}]),variant:"outline",onClick:zd=>unref(qa).legendChanged(qd)},{default:withCtx(()=>[createTextVNode(toDisplayString(Ud),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_13,[Nd[23]||(Nd[23]=createBaseVNode("h2",null,"Mac 代码块",-1)),createBaseVNode("div",_hoisted_14,[createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(qa).isMacCodeBlock}]),variant:"outline",onClick:Nd[2]||(Nd[2]=Ud=>!unref(qa).isMacCodeBlock&&unref(qa).macCodeBlockChanged())},{default:withCtx(()=>Nd[21]||(Nd[21]=[createTextVNode(" 开启 ")])),_:1},8,["class"]),createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(qa).isMacCodeBlock}]),variant:"outline",onClick:Nd[3]||(Nd[3]=Ud=>unref(qa).isMacCodeBlock&&unref(qa).macCodeBlockChanged())},{default:withCtx(()=>Nd[22]||(Nd[22]=[createTextVNode(" 关闭 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_15,[Nd[26]||(Nd[26]=createBaseVNode("h2",null,"微信外链转底部引用",-1)),createBaseVNode("div",_hoisted_16,[createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(qa).isCiteStatus}]),variant:"outline",onClick:Nd[4]||(Nd[4]=Ud=>!unref(qa).isCiteStatus&&unref(qa).citeStatusChanged())},{default:withCtx(()=>Nd[24]||(Nd[24]=[createTextVNode(" 开启 ")])),_:1},8,["class"]),createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(qa).isCiteStatus}]),variant:"outline",onClick:Nd[5]||(Nd[5]=Ud=>unref(qa).isCiteStatus&&unref(qa).citeStatusChanged())},{default:withCtx(()=>Nd[25]||(Nd[25]=[createTextVNode(" 关闭 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_17,[Nd[29]||(Nd[29]=createBaseVNode("h2",null,"段落首行缩进",-1)),createBaseVNode("div",_hoisted_18,[createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(qa).isUseIndent}]),variant:"outline",onClick:Nd[6]||(Nd[6]=Ud=>!unref(qa).isUseIndent&&unref(qa).useIndentChanged())},{default:withCtx(()=>Nd[27]||(Nd[27]=[createTextVNode(" 开启 ")])),_:1},8,["class"]),createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(qa).isUseIndent}]),variant:"outline",onClick:Nd[7]||(Nd[7]=Ud=>unref(qa).isUseIndent&&unref(qa).useIndentChanged())},{default:withCtx(()=>Nd[28]||(Nd[28]=[createTextVNode(" 关闭 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_19,[Nd[32]||(Nd[32]=createBaseVNode("h2",null,"自定义 CSS 面板",-1)),createBaseVNode("div",_hoisted_20,[createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(nd).isShowCssEditor}]),variant:"outline",onClick:Nd[8]||(Nd[8]=Ud=>!unref(nd).isShowCssEditor&&ud())},{default:withCtx(()=>Nd[30]||(Nd[30]=[createTextVNode(" 开启 ")])),_:1},8,["class"]),createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(nd).isShowCssEditor}]),variant:"outline",onClick:Nd[9]||(Nd[9]=Ud=>unref(nd).isShowCssEditor&&ud())},{default:withCtx(()=>Nd[31]||(Nd[31]=[createTextVNode(" 关闭 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_21,[Nd[35]||(Nd[35]=createBaseVNode("h2",null,"编辑区位置",-1)),createBaseVNode("div",_hoisted_22,[createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(qa).isEditOnLeft}]),variant:"outline",onClick:Nd[10]||(Nd[10]=Ud=>!unref(qa).isEditOnLeft&&unref(qa).toggleEditOnLeft())},{default:withCtx(()=>Nd[33]||(Nd[33]=[createTextVNode(" 左侧 ")])),_:1},8,["class"]),createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(qa).isEditOnLeft}]),variant:"outline",onClick:Nd[11]||(Nd[11]=Ud=>unref(qa).isEditOnLeft&&unref(qa).toggleEditOnLeft())},{default:withCtx(()=>Nd[34]||(Nd[34]=[createTextVNode(" 右侧 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_23,[Nd[36]||(Nd[36]=createBaseVNode("h2",null,"模式",-1)),createBaseVNode("div",_hoisted_24,[createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(od)}]),variant:"outline",onClick:Nd[12]||(Nd[12]=Ud=>unref(qa).toggleDark(!1))},{default:withCtx(()=>[createVNode(unref(Sun),{class:"h-4 w-4"})]),_:1},8,["class"]),createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(od)}]),variant:"outline",onClick:Nd[13]||(Nd[13]=Ud=>unref(qa).toggleDark(!0))},{default:withCtx(()=>[createVNode(unref(Moon),{class:"h-4 w-4"})]),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_25,[Nd[38]||(Nd[38]=createBaseVNode("h2",null,"样式配置",-1)),createVNode(Od,{onClick:unref(qa).resetStyleConfirm},{default:withCtx(()=>Nd[37]||(Nd[37]=[createTextVNode(" 重置 ")])),_:1},8,["onClick"])])],2)],2)}}}),_sfc_main$Q=defineComponent({__name:"DialogDescription",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(Su$2),mergeProps(unref(od),{class:unref(cn$5)("text-sm text-muted-foreground",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["class"]))}}),_hoisted_1$7={class:"cssEditor-wrapper h-full flex flex-col border-l-1"},_sfc_main$P=defineComponent({__name:"CssEditor",setup(Ra){const qa=useStore(),nd=useDisplayStore(),od=ref$1(!1),ld=ref$1(""),ud=ref$1(["",qa.cssContentConfig.active]);function dd(jd){ld.value=jd,od.value=!0}function pd(){if(!ld.value.trim()){Ke$1.error("新建失败,方案名不可为空");return}if(!qa.validatorTabName(ld.value)){Ke$1.error("不能与现有方案重名");return}qa.renameTab(ld.value),od.value=!1,Ke$1.success("修改成功~")}const fd=ref$1(!1),md=ref$1("");function vd(){if(!md.value.trim()){Ke$1.error("新建失败,方案名不可为空");return}if(!qa.validatorTabName(md.value)){Ke$1.error("不能与现有方案重名");return}qa.addCssContentTab(md.value),fd.value=!1,qa.cssContentConfig.active=md.value,ud.value=[ud.value[1],md.value],Ke$1.success("新建成功~")}const Ad=ref$1(!1),Nd=ref$1("");function Od(jd){Nd.value=jd,Ad.value=!0}function kd(){const jd=qa.cssContentConfig.tabs;if(jd.length===1){Ke$1.warning("至少保留一个方案");return}let Fd=qa.cssContentConfig.active;Fd===Nd.value&&jd.forEach((Ud,qd)=>{if(Ud.name===Nd.value){const zd=jd[qd+1]||jd[qd-1];zd&&(Fd=zd.name)}}),qa.tabChanged(Fd),qa.cssContentConfig.tabs=jd.filter(Ud=>Ud.name!==Nd.value),Ke$1.success("删除成功~")}function Ld(){md.value=`方案${qa.cssContentConfig.tabs.length+1}`,fd.value=!0}function Gd(jd){if(jd==="add"){qa.cssContentConfig.active=ud.value[1],Ld();return}ud.value=[ud.value[1],jd],qa.tabChanged(jd)}return(jd,Fd)=>{const Ud=_sfc_main$T,qd=_sfc_main$U,zd=_sfc_main$14,Wd=_sfc_main$16,Jd=_sfc_main$Q,_f=_sfc_main$17,Xd=_sfc_main$1e,pf=_sfc_main$1o,mf=_sfc_main$1f,Sf=_sfc_main$1g,Tf=_sfc_main$1h,Af=_sfc_main$1j,Ef=_sfc_main$1k,Nf=_sfc_main$1l,If=_sfc_main$1m,Gf=_sfc_main$1n,Qf=_sfc_main$1p,Xf=_sfc_main$1q,ph=_sfc_main$1r;return openBlock(),createBlock(Transition$1,{"enter-active-class":"bounceInRight"},{default:withCtx(()=>[withDirectives(createBaseVNode("div",_hoisted_1$7,[createVNode(zd,{modelValue:unref(qa).cssContentConfig.active,"onUpdate:modelValue":[Fd[0]||(Fd[0]=qf=>unref(qa).cssContentConfig.active=qf),Gd]},{default:withCtx(()=>[createVNode(qd,{class:"w-full overflow-x-auto"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(qa).cssContentConfig.tabs,qf=>(openBlock(),createBlock(Ud,{key:qf.name,value:qf.name,class:"flex-1"},{default:withCtx(()=>[createTextVNode(toDisplayString(qf.title)+" ",1),withDirectives(createVNode(unref(PenLine),{class:"inline size-4 rounded-full p-0.5 transition-color hover:bg-gray-200 dark:hover:bg-gray-600",onClick:Lf=>dd(qf.name)},null,8,["onClick"]),[[vShow,unref(qa).cssContentConfig.active===qf.name]]),withDirectives(createVNode(unref(X$7),{class:"inline size-4 rounded-full p-0.5 transition-color hover:bg-gray-200 dark:hover:bg-gray-600",onClick:withModifiers(Lf=>Od(qf.name),["self"])},null,8,["onClick"]),[[vShow,unref(qa).cssContentConfig.active===qf.name]])]),_:2},1032,["value"]))),128)),createVNode(Ud,{value:"add"},{default:withCtx(()=>[createVNode(unref(Plus),{class:"h-5 w-5"})]),_:1})]),_:1})]),_:1},8,["modelValue"]),Fd[21]||(Fd[21]=createBaseVNode("textarea",{id:"cssEditor",type:"textarea",placeholder:"Your custom css here."},null,-1)),createVNode(Tf,{open:unref(fd),"onUpdate:open":Fd[4]||(Fd[4]=qf=>isRef(fd)?fd.value=qf:null)},{default:withCtx(()=>[createVNode(Sf,{class:"sm:max-w-[425px]"},{default:withCtx(()=>[createVNode(_f,null,{default:withCtx(()=>[createVNode(Wd,null,{default:withCtx(()=>Fd[9]||(Fd[9]=[createTextVNode("新建自定义 CSS")])),_:1}),createVNode(Jd,null,{default:withCtx(()=>Fd[10]||(Fd[10]=[createTextVNode(" 请输入方案名称 ")])),_:1})]),_:1}),createVNode(Xd,{modelValue:unref(md),"onUpdate:modelValue":Fd[1]||(Fd[1]=qf=>isRef(md)?md.value=qf:null)},null,8,["modelValue"]),createVNode(mf,null,{default:withCtx(()=>[createVNode(pf,{variant:"outline",onClick:Fd[2]||(Fd[2]=qf=>fd.value=!1)},{default:withCtx(()=>Fd[11]||(Fd[11]=[createTextVNode(" 取消 ")])),_:1}),createVNode(pf,{onClick:Fd[3]||(Fd[3]=qf=>vd())},{default:withCtx(()=>Fd[12]||(Fd[12]=[createTextVNode(" 保存 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"]),createVNode(Tf,{open:unref(od),"onUpdate:open":Fd[7]||(Fd[7]=qf=>isRef(od)?od.value=qf:null)},{default:withCtx(()=>[createVNode(Sf,{class:"sm:max-w-[425px]"},{default:withCtx(()=>[createVNode(_f,null,{default:withCtx(()=>[createVNode(Wd,null,{default:withCtx(()=>Fd[13]||(Fd[13]=[createTextVNode("编辑方案名称")])),_:1}),createVNode(Jd,null,{default:withCtx(()=>Fd[14]||(Fd[14]=[createTextVNode(" 请输入新的方案名称 ")])),_:1})]),_:1}),createVNode(Xd,{modelValue:unref(ld),"onUpdate:modelValue":Fd[5]||(Fd[5]=qf=>isRef(ld)?ld.value=qf:null)},null,8,["modelValue"]),createVNode(mf,null,{default:withCtx(()=>[createVNode(pf,{variant:"outline",onClick:Fd[6]||(Fd[6]=qf=>od.value=!1)},{default:withCtx(()=>Fd[15]||(Fd[15]=[createTextVNode(" 取消 ")])),_:1}),createVNode(pf,{onClick:pd},{default:withCtx(()=>Fd[16]||(Fd[16]=[createTextVNode(" 保存 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"]),createVNode(ph,{open:unref(Ad),"onUpdate:open":Fd[8]||(Fd[8]=qf=>isRef(Ad)?Ad.value=qf:null)},{default:withCtx(()=>[createVNode(Xf,null,{default:withCtx(()=>[createVNode(Nf,null,{default:withCtx(()=>[createVNode(Af,null,{default:withCtx(()=>Fd[17]||(Fd[17]=[createTextVNode("提示")])),_:1}),createVNode(Ef,null,{default:withCtx(()=>Fd[18]||(Fd[18]=[createTextVNode(" 此操作将删除该自定义方案,是否继续? ")])),_:1})]),_:1}),createVNode(Qf,null,{default:withCtx(()=>[createVNode(If,null,{default:withCtx(()=>Fd[19]||(Fd[19]=[createTextVNode("取消")])),_:1}),createVNode(Gf,{onClick:kd},{default:withCtx(()=>Fd[20]||(Fd[20]=[createTextVNode(" 确认 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"])],512),[[vShow,unref(nd).isShowCssEditor]])]),_:1})}}}),__unplugin_components_9=_export_sfc(_sfc_main$P,[["__scopeId","data-v-4be1e5f4"]]),_sfc_main$O=defineComponent({__name:"BackTop",props:{left:{},top:{},right:{},bottom:{},visibilityHeight:{},target:{},onClick:{type:Function}},setup(Ra){const qa=Ra,nd=ref$1(qa.visibilityHeight??400),od=ref$1(!1),ld=ref$1(null);function ud(pd){var fd,md;console.log("scrollToTop"),(fd=ld.value)==null||fd.scrollTo({top:0,left:0,behavior:"smooth"}),(md=qa.onClick)==null||md.call(qa,pd)}const dd=throttle$1(pd=>{pd instanceof HTMLElement?od.value=pd.scrollTop>nd.value:od.value=window.scrollY>nd.value},200,{edges:["leading","trailing"]});return onMounted(()=>{qa.target?ld.value=document.getElementById(qa.target):ld.value=window,ld.value.addEventListener("scroll",()=>{dd(ld.value)})}),onUnmounted(()=>{ld.value.removeEventListener("scroll",()=>{dd(ld.value)})}),(pd,fd)=>{const md=_sfc_main$1o;return unref(od)?(openBlock(),createBlock(md,{key:0,variant:"outline",size:"icon",class:"fixed z-50 rounded-full",style:normalizeStyle({left:`${pd.left}px`,top:`${pd.top}px`,right:`${pd.right}px`,bottom:`${pd.bottom}px`}),onClick:ud},{default:withCtx(()=>[createVNode(unref(ArrowUpFromLine))]),_:1},8,["style"])):createCommentVNode("",!0)}}}),_sfc_main$N=defineComponent({__name:"ContextMenu",props:{dir:{},modal:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,dd)=>(openBlock(),createBlock(unref(em$1),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_sfc_main$M=defineComponent({__name:"ContextMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},sticky:{},hideWhenDetached:{type:Boolean},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(am$1),null,{default:withCtx(()=>[createVNode(unref(nm$1),mergeProps(unref(ud),{class:unref(cn$5)("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md animate-in fade-in-80 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",nd.class)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$L=defineComponent({__name:"ContextMenuShortcut",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(cn$5)("ml-auto text-xs tracking-widest text-muted-foreground",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$K=defineComponent({__name:"ContextMenuSeparator",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(rm$1),mergeProps(nd.value,{class:unref(cn$5)("-mx-1 my-1 h-px bg-border",qa.class)}),null,16,["class"]))}}),_sfc_main$J=defineComponent({__name:"ContextMenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},emits:["select"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(lm),mergeProps(unref(ud),{class:unref(cn$5)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",dd.inset&&"pl-8",nd.class)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$I=defineComponent({__name:"ContextMenuTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const nd=It$4(Ra);return(od,ld)=>(openBlock(),createBlock(unref(tm$1),normalizeProps(guardReactiveProps(unref(nd))),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16))}}),_sfc_main$H=defineComponent({__name:"DropdownMenu",props:{defaultOpen:{type:Boolean},open:{type:Boolean},dir:{},modal:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,dd)=>(openBlock(),createBlock(unref(ah$1),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_sfc_main$G=defineComponent({__name:"DropdownMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(oh),null,{default:withCtx(()=>[createVNode(unref(lh),mergeProps(unref(ud),{class:unref(cn$5)("z-50 min-w-32 overflow-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",nd.class)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$F=defineComponent({__name:"DropdownMenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(rh),mergeProps(unref(od),{class:unref(cn$5)("relative flex cursor-default select-none items-center 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",ld.inset&&"pl-8",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$E=defineComponent({__name:"DropdownMenuTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const nd=It$4(Ra);return(od,ld)=>(openBlock(),createBlock(unref(nh),mergeProps({class:"outline-none"},unref(nd)),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16))}}),_sfc_main$D=defineComponent({__name:"DialogTrigger",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Ji$3),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),_hoisted_1$6=["onClick"],_hoisted_2$4={class:"line-clamp-1"},_sfc_main$C=defineComponent({__name:"PostSlider",setup(Ra){const qa=useStore(),nd=ref$1(!1),od=ref$1("");watch(nd,()=>{nd.value&&(od.value="")});function ld(){if(od.value===""){Ke$1.error("内容标题不可为空");return}qa.addPost(od.value),nd.value=!1,Ke$1.success("内容新增成功")}const ud=ref$1(-1),dd=ref$1(!1),pd=ref$1("");function fd(Od){ud.value=Od,pd.value=qa.posts[Od].title,dd.value=!0}function md(){if(pd.value===""){Ke$1.error("内容标题不可为空");return}qa.renamePost(ud.value,pd.value),dd.value=!1,Ke$1.success("内容重命名成功")}const vd=ref$1(!1);function Ad(Od){ud.value=Od,vd.value=!0}function Nd(){qa.delPost(ud.value),vd.value=!1,Ke$1.success("内容删除成功")}return(Od,kd)=>{const Ld=_sfc_main$1o,Gd=_sfc_main$D,jd=_sfc_main$16,Fd=_sfc_main$Q,Ud=_sfc_main$17,qd=_sfc_main$1e,zd=_sfc_main$1f,Wd=_sfc_main$1g,Jd=_sfc_main$1h,_f=_sfc_main$E,Xd=_sfc_main$F,pf=_sfc_main$G,mf=_sfc_main$H,Sf=_sfc_main$1j,Tf=_sfc_main$1k,Af=_sfc_main$1l,Ef=_sfc_main$1m,Nf=_sfc_main$1n,If=_sfc_main$1p,Gf=_sfc_main$1q,Qf=_sfc_main$1r;return openBlock(),createElementBlock("div",{class:normalizeClass(["overflow-hidden bg-gray/20 transition-width duration-300 dark:bg-gray/40",{"w-0":!unref(qa).isOpenPostSlider,"w-50":unref(qa).isOpenPostSlider}])},[createBaseVNode("nav",{class:normalizeClass(["space-y-1 h-full overflow-auto p-2 transition-transform",{"translate-x-100":unref(qa).isOpenPostSlider,"-translate-x-full":!unref(qa).isOpenPostSlider}])},[createVNode(Jd,{open:unref(nd),"onUpdate:open":kd[2]||(kd[2]=Xf=>isRef(nd)?nd.value=Xf:null)},{default:withCtx(()=>[createVNode(Gd,{"as-child":""},{default:withCtx(()=>[createVNode(Ld,{variant:"outline",class:"w-full",size:"xs"},{default:withCtx(()=>[createVNode(unref(Plus)),kd[9]||(kd[9]=createTextVNode(" 新增内容 "))]),_:1})]),_:1}),createVNode(Wd,null,{default:withCtx(()=>[createVNode(Ud,null,{default:withCtx(()=>[createVNode(jd,null,{default:withCtx(()=>kd[10]||(kd[10]=[createTextVNode("新增内容")])),_:1}),createVNode(Fd,null,{default:withCtx(()=>kd[11]||(kd[11]=[createTextVNode(" 请输入内容名称 ")])),_:1})]),_:1}),createVNode(qd,{modelValue:unref(od),"onUpdate:modelValue":kd[0]||(kd[0]=Xf=>isRef(od)?od.value=Xf:null)},null,8,["modelValue"]),createVNode(zd,null,{default:withCtx(()=>[createVNode(Ld,{onClick:kd[1]||(kd[1]=Xf=>ld())},{default:withCtx(()=>kd[12]||(kd[12]=[createTextVNode(" 确 定 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"]),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(qa).posts,(Xf,ph)=>(openBlock(),createElementBlock("a",{key:Xf.title,href:"#",class:normalizeClass([{"bg-primary text-primary-foreground shadow-lg border-2 border-primary":unref(qa).currentPostIndex===ph,"dark:bg-primary-dark dark:text-primary-foreground-dark dark:border-primary-dark":unref(qa).currentPostIndex===ph},"hover:bg-primary/90 hover:text-primary-foreground dark:bg-muted dark:hover:bg-muted dark:hover:border-primary-dark h-8 w-full inline-flex items-center justify-start gap-2 whitespace-nowrap rounded px-2 text-sm transition-colors dark:text-white dark:hover:text-white"]),onClick:qf=>unref(qa).currentPostIndex=ph},[createBaseVNode("span",_hoisted_2$4,toDisplayString(Xf.title),1),createVNode(mf,null,{default:withCtx(()=>[createVNode(_f,{"as-child":""},{default:withCtx(()=>[createVNode(Ld,{size:"xs",variant:"ghost",class:"ml-auto px-1.5"},{default:withCtx(()=>[createVNode(unref(Ellipsis),{class:"size-4"})]),_:1})]),_:1}),createVNode(pf,null,{default:withCtx(()=>[createVNode(Xd,{onClick:withModifiers(qf=>fd(ph),["stop"])},{default:withCtx(()=>[createVNode(unref(PenLine),{class:"mr-2 size-4"}),kd[13]||(kd[13]=createTextVNode(" 重命名 "))]),_:2},1032,["onClick"]),unref(qa).posts.length>1?(openBlock(),createBlock(Xd,{key:0,onClick:withModifiers(qf=>Ad(ph),["stop"])},{default:withCtx(()=>[createVNode(unref(Trash),{class:"mr-2 size-4"}),kd[14]||(kd[14]=createTextVNode(" 删除 "))]),_:2},1032,["onClick"])):createCommentVNode("",!0)]),_:2},1024)]),_:2},1024)],10,_hoisted_1$6))),128)),createVNode(Jd,{open:unref(dd),"onUpdate:open":kd[6]||(kd[6]=Xf=>isRef(dd)?dd.value=Xf:null)},{default:withCtx(()=>[createVNode(Wd,{class:"sm:max-w-[425px]"},{default:withCtx(()=>[createVNode(Ud,null,{default:withCtx(()=>[createVNode(jd,null,{default:withCtx(()=>kd[15]||(kd[15]=[createTextVNode("编辑内容名称")])),_:1}),createVNode(Fd,null,{default:withCtx(()=>kd[16]||(kd[16]=[createTextVNode(" 请输入新的内容名称 ")])),_:1})]),_:1}),createVNode(qd,{modelValue:unref(pd),"onUpdate:modelValue":kd[3]||(kd[3]=Xf=>isRef(pd)?pd.value=Xf:null)},null,8,["modelValue"]),createVNode(zd,null,{default:withCtx(()=>[createVNode(Ld,{variant:"outline",onClick:kd[4]||(kd[4]=Xf=>dd.value=!1)},{default:withCtx(()=>kd[17]||(kd[17]=[createTextVNode(" 取消 ")])),_:1}),createVNode(Ld,{onClick:kd[5]||(kd[5]=Xf=>md())},{default:withCtx(()=>kd[18]||(kd[18]=[createTextVNode(" 保存 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"]),createVNode(Qf,{open:unref(vd),"onUpdate:open":kd[8]||(kd[8]=Xf=>isRef(vd)?vd.value=Xf:null)},{default:withCtx(()=>[createVNode(Gf,null,{default:withCtx(()=>[createVNode(Af,null,{default:withCtx(()=>[createVNode(Sf,null,{default:withCtx(()=>kd[19]||(kd[19]=[createTextVNode("提示")])),_:1}),createVNode(Tf,null,{default:withCtx(()=>kd[20]||(kd[20]=[createTextVNode(" 此操作将删除该内容,是否继续? ")])),_:1})]),_:1}),createVNode(If,null,{default:withCtx(()=>[createVNode(Ef,null,{default:withCtx(()=>kd[21]||(kd[21]=[createTextVNode("取消")])),_:1}),createVNode(Nf,{onClick:kd[7]||(kd[7]=Xf=>Nd())},{default:withCtx(()=>kd[22]||(kd[22]=[createTextVNode(" 确认 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"])],2)],2)}}}),_hoisted_1$5={class:"mt-4"},_hoisted_2$3={key:0,class:"py-4 text-center"},_hoisted_3$3={key:1,class:"max-h-[400px] flex flex-col overflow-y-auto"},_hoisted_4$3={class:"mb-2 flex items-center gap-2"},_hoisted_5$2=["src"],_hoisted_6$2=["href"],_sfc_main$B=defineComponent({__name:"PostTaskDialog",props:{post:{},open:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed({get:()=>nd.open,set:fd=>od("update:open",fd)}),ud=ref$1(null),dd=ref$1(!1);async function pd(){var fd;if(nd.post)try{(fd=window.$syncer)==null||fd.addTask({post:{title:nd.post.title,content:nd.post.content,markdown:nd.post.markdown,thumb:nd.post.thumb,desc:nd.post.desc},accounts:nd.post.accounts.filter(md=>md.checked)},md=>{ud.value=md},()=>{dd.value=!1})}catch(md){console.error("发布失败:",md)}}return watch(()=>nd.open,fd=>{fd&&pd()}),(fd,md)=>(openBlock(),createBlock(unref(_sfc_main$1h),{open:unref(ld),"onUpdate:open":md[0]||(md[0]=vd=>isRef(ld)?ld.value=vd:null)},{default:withCtx(()=>[createVNode(unref(_sfc_main$1g),null,{default:withCtx(()=>{var vd;return[createVNode(unref(_sfc_main$17),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$16),null,{default:withCtx(()=>md[1]||(md[1]=[createTextVNode("提交发布任务")])),_:1})]),_:1}),createBaseVNode("div",_hoisted_1$5,[unref(ud)?(openBlock(),createElementBlock("div",_hoisted_3$3,[(openBlock(!0),createElementBlock(Fragment,null,renderList((vd=unref(ud))==null?void 0:vd.accounts,Ad=>(openBlock(),createElementBlock("div",{key:Ad.uid+Ad.displayName,class:"border-b py-4 last:border-b-0"},[createBaseVNode("div",_hoisted_4$3,[Ad.icon?(openBlock(),createElementBlock("img",{key:0,src:Ad.icon,class:"object-cover h-5 w-5",alt:""},null,8,_hoisted_5$2)):createCommentVNode("",!0),createBaseVNode("span",null,toDisplayString(Ad.title)+" - "+toDisplayString(Ad.displayName||Ad.home),1)]),createBaseVNode("div",{class:normalizeClass(["w-full flex-1 gap-2 overflow-auto pl-7 text-sm",{"text-yellow-600":Ad.status==="uploading","text-red-600":Ad.status==="failed","text-green-600":Ad.status==="done"}])},[Ad.status==="uploading"?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(Ad.msg||"发布中"),1)],64)):createCommentVNode("",!0),Ad.status==="failed"?(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(" 同步失败, 错误内容:"+toDisplayString(Ad.error),1)],64)):createCommentVNode("",!0),Ad.status==="done"&&Ad.editResp?(openBlock(),createElementBlock(Fragment,{key:2},[md[2]||(md[2]=createTextVNode(" 同步成功 ")),Ad.type!=="wordpress"&&Ad.editResp?(openBlock(),createElementBlock("a",{key:0,href:Ad.editResp.draftLink,class:"ml-2 text-blue-500 hover:underline",referrerPolicy:"no-referrer",target:"_blank"},"查看草稿",8,_hoisted_6$2)):createCommentVNode("",!0)],64)):createCommentVNode("",!0)],2)]))),128))])):(openBlock(),createElementBlock("div",_hoisted_2$3," 等待发布.. "))])]}),_:1})]),_:1},8,["open"]))}}),__unplugin_components_13=_export_sfc(_sfc_main$B,[["__scopeId","data-v-3407b3ac"]]),_sfc_main$A=defineComponent({__name:"Textarea",props:{class:{},defaultValue:{},modelValue:{}},setup(Ra,{emit:qa}){const nd=Ra,ld=useVModel$1(nd,"modelValue",qa,{passive:!0,defaultValue:nd.defaultValue});return(ud,dd)=>withDirectives((openBlock(),createElementBlock("textarea",{"onUpdate:modelValue":dd[0]||(dd[0]=pd=>isRef(ld)?ld.value=pd:null),class:normalizeClass(unref(cn$5)("flex min-h-20 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",nd.class))},null,2)),[[vModelText,unref(ld)]])}}),_sfc_main$z=defineComponent({__name:"AlertDescription",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn$5)("text-sm [&_p]:leading-relaxed",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$y=defineComponent({__name:"AlertTitle",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("h5",{class:normalizeClass(unref(cn$5)("mb-1 font-medium leading-none tracking-tight",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),alertVariants=cva("relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),_sfc_main$x=defineComponent({__name:"Alert",props:{class:{},variant:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn$5)(unref(alertVariants)({variant:nd.variant}),qa.class)),role:"alert"},[renderSlot(nd.$slots,"default")],2))}}),_hoisted_1$4={class:"w-full flex items-center gap-4"},_hoisted_2$2={class:"w-full flex items-center gap-4"},_hoisted_3$2={class:"w-full flex items-start gap-4"},_hoisted_4$2={class:"w-full flex items-start gap-4"},_hoisted_5$1={class:"flex flex-1 flex-col gap-2"},_hoisted_6$1={class:"flex flex-row items-center gap-4"},_hoisted_7={class:"flex items-center gap-2 text-sm"},_hoisted_8=["src"],_sfc_main$w=defineComponent({__name:"PostInfo",setup(Ra){const qa=useStore(),{output:nd,editor:od}=storeToRefs(qa),ld=ref$1(!1),ud=ref$1(!1),dd=ref$1([]),pd=ref$1(!1),fd=ref$1({title:"",desc:"",thumb:"",content:"",markdown:"",accounts:[]}),md=computed(()=>ud.value&&fd.value.accounts.some(Ld=>Ld.checked));async function vd(){var jd,Fd;ud.value&&dd.value.length===0&&await Ad();let Ld={thumb:"",title:"",desc:"",content:"",markdown:"",accounts:[]};const Gd=dd.value.filter(Ud=>!["weixin","ipfs"].includes(Ud.type));try{Ld={thumb:((jd=document.querySelector("#output img"))==null?void 0:jd.src)??"",title:[1,2,3,4,5,6].map(Ud=>document.querySelector(`#output h${Ud}`)).filter(Ud=>Ud)[0].textContent??"",desc:document.querySelector("#output p").textContent??"",content:nd.value,markdown:((Fd=od.value)==null?void 0:Fd.getValue())??"",accounts:Gd}}catch(Ud){console.log("error",Ud)}finally{fd.value={...Ld}}}async function Ad(){return new Promise(Ld=>{var Gd;(Gd=window.$syncer)==null||Gd.getAccounts(jd=>{dd.value=jd.map(Fd=>({...Fd,checked:!0})),Ld()})})}function Nd(){fd.value.accounts=fd.value.accounts.filter(Ld=>Ld.checked),pd.value=!0,ld.value=!1}function Od(Ld){Ld||(ld.value=!1)}function kd(){if(window.$syncer!==void 0){ud.value=!0;return}let Ld=0;const Gd=setInterval(async()=>{if(window.$syncer!==void 0){ud.value=!0,await Ad(),clearInterval(Gd);return}Ld++,Ld>10&&clearInterval(Gd)},500)}return onBeforeMount(()=>{kd()}),(Ld,Gd)=>{const jd=_sfc_main$1o,Fd=_sfc_main$D,Ud=_sfc_main$16,qd=_sfc_main$17,zd=_sfc_main$y,Wd=_sfc_main$z,Jd=_sfc_main$x,_f=_sfc_main$18,Xd=_sfc_main$1e,pf=_sfc_main$A,mf=_sfc_main$1f,Sf=_sfc_main$1g,Tf=_sfc_main$1h,Af=__unplugin_components_13;return openBlock(),createElementBlock(Fragment,null,[createVNode(Tf,{open:unref(ld),"onUpdate:open":[Gd[4]||(Gd[4]=Ef=>isRef(ld)?ld.value=Ef:null),Od]},{default:withCtx(()=>[createVNode(Fd,null,{default:withCtx(()=>[createVNode(jd,{variant:"outline",onClick:vd},{default:withCtx(()=>Gd[6]||(Gd[6]=[createTextVNode(" 发布 ")])),_:1})]),_:1}),createVNode(Sf,null,{default:withCtx(()=>[createVNode(qd,null,{default:withCtx(()=>[createVNode(Ud,null,{default:withCtx(()=>Gd[7]||(Gd[7]=[createTextVNode("发布")])),_:1})]),_:1}),createVNode(Jd,null,{default:withCtx(()=>[createVNode(unref(Info),{class:"h-4 w-4"}),createVNode(zd,null,{default:withCtx(()=>Gd[8]||(Gd[8]=[createTextVNode("提示")])),_:1}),createVNode(Wd,null,{default:withCtx(()=>Gd[9]||(Gd[9]=[createTextVNode(" 此功能由第三方浏览器插件支持,本平台不保证安全性及同步准确度。 ")])),_:1})]),_:1}),unref(ud)?createCommentVNode("",!0):(openBlock(),createBlock(Jd,{key:0},{default:withCtx(()=>[createVNode(unref(Info),{class:"h-4 w-4"}),createVNode(zd,null,{default:withCtx(()=>Gd[10]||(Gd[10]=[createTextVNode("未检测到插件")])),_:1}),createVNode(Wd,null,{default:withCtx(()=>[Gd[12]||(Gd[12]=createTextVNode(" 请安装 ")),createVNode(unref(O$4),{as:"a",class:"text-blue-500",href:"https://www.wechatsync.com/?utm_source=syncicon#install",target:"_blank"},{default:withCtx(()=>Gd[11]||(Gd[11]=[createTextVNode(" 文章同步助手 ")])),_:1}),Gd[13]||(Gd[13]=createTextVNode(" 插件 "))]),_:1})]),_:1})),createBaseVNode("div",_hoisted_1$4,[createVNode(_f,{for:"thumb",class:"w-10 text-end"},{default:withCtx(()=>Gd[14]||(Gd[14]=[createTextVNode(" 封面 ")])),_:1}),createVNode(Xd,{id:"thumb",modelValue:unref(fd).thumb,"onUpdate:modelValue":Gd[0]||(Gd[0]=Ef=>unref(fd).thumb=Ef),placeholder:"自动提取第一张图"},null,8,["modelValue"])]),createBaseVNode("div",_hoisted_2$2,[createVNode(_f,{for:"title",class:"w-10 text-end"},{default:withCtx(()=>Gd[15]||(Gd[15]=[createTextVNode(" 标题 ")])),_:1}),createVNode(Xd,{id:"title",modelValue:unref(fd).title,"onUpdate:modelValue":Gd[1]||(Gd[1]=Ef=>unref(fd).title=Ef),placeholder:"自动提取第一个标题"},null,8,["modelValue"])]),createBaseVNode("div",_hoisted_3$2,[createVNode(_f,{for:"desc",class:"w-10 text-end"},{default:withCtx(()=>Gd[16]||(Gd[16]=[createTextVNode(" 描述 ")])),_:1}),createVNode(pf,{id:"desc",modelValue:unref(fd).desc,"onUpdate:modelValue":Gd[2]||(Gd[2]=Ef=>unref(fd).desc=Ef),placeholder:"自动提取第一个段落"},null,8,["modelValue"])]),createBaseVNode("div",_hoisted_4$2,[createVNode(_f,{class:"w-10 text-end"},{default:withCtx(()=>Gd[17]||(Gd[17]=[createTextVNode(" 账号 ")])),_:1}),createBaseVNode("div",_hoisted_5$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(fd).accounts,Ef=>(openBlock(),createElementBlock("div",{key:Ef.uid+Ef.displayName,class:"flex items-center gap-2"},[createBaseVNode("label",_hoisted_6$1,[createVNode(unref(Vv),{checked:Ef.checked,"onUpdate:checked":Nf=>Ef.checked=Nf,class:"bg-background hover:bg-muted h-[25px] w-[25px] flex appearance-none items-center justify-center border border-gray-200 rounded-[4px] outline-none"},{default:withCtx(()=>[createVNode(unref(Fv),null,{default:withCtx(()=>[Ef.checked?(openBlock(),createBlock(unref(Check),{key:0,class:"h-4 w-4"})):createCommentVNode("",!0)]),_:2},1024)]),_:2},1032,["checked","onUpdate:checked"]),createBaseVNode("span",_hoisted_7,[createBaseVNode("img",{src:Ef.icon,alt:"",class:"inline-block h-[20px] w-[20px]"},null,8,_hoisted_8),createTextVNode(" "+toDisplayString(Ef.title)+" - "+toDisplayString(Ef.displayName??Ef.home),1)])])]))),128))])]),createVNode(mf,null,{default:withCtx(()=>[createVNode(jd,{variant:"outline",onClick:Gd[3]||(Gd[3]=Ef=>ld.value=!1)},{default:withCtx(()=>Gd[18]||(Gd[18]=[createTextVNode(" 取 消 ")])),_:1}),createVNode(jd,{disabled:!unref(md),onClick:Nd},{default:withCtx(()=>Gd[19]||(Gd[19]=[createTextVNode(" 确 定 ")])),_:1},8,["disabled"])]),_:1})]),_:1})]),_:1},8,["open"]),createVNode(Af,{open:unref(pd),"onUpdate:open":Gd[5]||(Gd[5]=Ef=>isRef(pd)?pd.value=Ef:null),post:unref(fd)},null,8,["open","post"])],64)}}}),_sfc_main$v=defineComponent({__name:"DropdownMenuRadioGroup",props:{modelValue:{},asChild:{type:Boolean},as:{}},emits:["update:modelValue"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,dd)=>(openBlock(),createBlock(unref(fh),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_hoisted_1$3={class:"absolute left-2 h-3.5 w-3.5 flex items-center justify-center"},_sfc_main$u=defineComponent({__name:"DropdownMenuRadioItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{}},emits:["select"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(vh),mergeProps(unref(ud),{class:unref(cn$5)("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",nd.class)}),{default:withCtx(()=>[createBaseVNode("span",_hoisted_1$3,[createVNode(unref(ch$1),null,{default:withCtx(()=>[createVNode(unref(Circle),{class:"h-2 w-2 fill-current"})]),_:1})]),renderSlot(dd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$t=defineComponent({__name:"Separator",props:{orientation:{},decorative:{type:Boolean},asChild:{type:Boolean},as:{},class:{},label:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(qp$1),mergeProps(nd.value,{class:unref(cn$5)("shrink-0 bg-border relative",qa.orientation==="vertical"?"w-px h-full":"h-px w-full",qa.class)}),{default:withCtx(()=>[qa.label?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(cn$5)("text-xs text-muted-foreground bg-background absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 flex justify-center items-center",qa.orientation==="vertical"?"w-[1px] px-1 py-2":"h-[1px] py-1 px-2"))},toDisplayString(qa.label),3)):createCommentVNode("",!0)]),_:1},16,["class"]))}}),_sfc_main$s=defineComponent({__name:"TooltipProvider",props:{delayDuration:{},skipDelayDuration:{},disableHoverableContent:{type:Boolean},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Mg),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),_sfc_main$r=defineComponent({__name:"Tooltip",props:{defaultOpen:{type:Boolean},open:{type:Boolean},delayDuration:{},disableHoverableContent:{type:Boolean},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,dd)=>(openBlock(),createBlock(unref(Vg),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_sfc_main$q=defineComponent({inheritAttrs:!1,__name:"TooltipContent",props:{forceMount:{type:Boolean},ariaLabel:{},asChild:{type:Boolean},as:{},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},class:{}},emits:["escapeKeyDown","pointerDownOutside"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(zg),null,{default:withCtx(()=>[createVNode(unref(Ng),mergeProps({...unref(ud),...dd.$attrs},{class:unref(cn$5)("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md 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",nd.class)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$p=defineComponent({__name:"TooltipTrigger",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Fg),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),_sfc_main$o=defineComponent({__name:"Menubar",props:{modelValue:{},defaultValue:{},dir:{},loop:{type:Boolean},class:{}},emits:["update:modelValue"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(Nh),mergeProps(unref(ud),{class:unref(cn$5)("flex h-10 items-center gap-x-1 rounded-md border bg-background p-1",nd.class)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$n=defineComponent({__name:"AboutDialog",props:{visible:{type:Boolean,default:!1}},emits:["close"],setup(Ra,{emit:qa}){const nd=Ra,od=qa;function ld(pd){pd||od("close")}const ud=[{label:"GitHub 仓库",url:"https://github.com/doocs/md"},{label:"Gitee 仓库",url:"https://gitee.com/doocs/md"},{label:"GitCode 仓库",url:"https://gitcode.com/doocs/md"}];function dd(pd){window.open(pd,"_blank")}return(pd,fd)=>{const md=_sfc_main$16,vd=_sfc_main$17,Ad=_sfc_main$1o,Nd=_sfc_main$1f,Od=_sfc_main$1g,kd=_sfc_main$1h;return openBlock(),createBlock(kd,{open:nd.visible,"onUpdate:open":ld},{default:withCtx(()=>[createVNode(Od,null,{default:withCtx(()=>[createVNode(vd,null,{default:withCtx(()=>[createVNode(md,null,{default:withCtx(()=>fd[0]||(fd[0]=[createTextVNode("关于")])),_:1})]),_:1}),fd[1]||(fd[1]=createBaseVNode("div",{class:"text-center"},[createBaseVNode("h3",null,"一款高度简洁的微信 Markdown 编辑器"),createBaseVNode("p",null,"扫码关注公众号 Doocs原创技术内容第一时间推送"),createBaseVNode("img",{class:"mx-auto my-5",src:"https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/doocs/md/images/1648303220922-7e14aefa-816e-44c1-8604-ade709ca1c69.png",alt:"Doocs Markdown 编辑器",style:{width:"40%"}})],-1)),createVNode(Nd,{class:"sm:justify-evenly"},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(ud,Ld=>createVNode(Ad,{key:Ld.url,onClick:Gd=>dd(Ld.url)},{default:withCtx(()=>[createTextVNode(toDisplayString(Ld.label),1)]),_:2},1032,["onClick"])),64))]),_:1})]),_:1})]),_:1},8,["open"])}}}),_sfc_main$m=defineComponent({__name:"MenubarMenu",props:{value:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Lh),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),_sfc_main$l=defineComponent({__name:"MenubarContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{default:8},align:{default:"start"},alignOffset:{default:-4},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(Kh),null,{default:withCtx(()=>[createVNode(unref(Hh),mergeProps(unref(od),{class:unref(cn$5)("z-50 min-w-48 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in 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",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_hoisted_1$2={class:"absolute left-2 h-3.5 w-3.5 flex items-center justify-center"},_sfc_main$k=defineComponent({__name:"MenubarCheckboxItem",props:{checked:{type:[Boolean,String]},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{}},emits:["select","update:checked"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(qh),mergeProps(unref(ud),{class:unref(cn$5)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",nd.class)}),{default:withCtx(()=>[createBaseVNode("span",_hoisted_1$2,[createVNode(unref(Yh),null,{default:withCtx(()=>[createVNode(unref(Check),{class:"h-4 w-4"})]),_:1})]),renderSlot(dd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$j=defineComponent({__name:"MenubarTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(zh),mergeProps(unref(od),{class:unref(cn$5)("flex cursor-default select-none items-center rounded-sm px-3 py-1.5 text-sm font-medium outline-none hover:bg-accent focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$i=defineComponent({__name:"HelpDropdown",setup(Ra){const qa=ref$1(!1);return(nd,od)=>{const ld=_sfc_main$j,ud=_sfc_main$k,dd=_sfc_main$l,pd=_sfc_main$m,fd=_sfc_main$n;return openBlock(),createElementBlock(Fragment,null,[createVNode(pd,null,{default:withCtx(()=>[createVNode(ld,null,{default:withCtx(()=>od[2]||(od[2]=[createTextVNode(" 帮助 ")])),_:1}),createVNode(dd,{align:"start"},{default:withCtx(()=>[createVNode(ud,{onClick:od[0]||(od[0]=md=>qa.value=!0)},{default:withCtx(()=>od[3]||(od[3]=[createBaseVNode("span",null,"关于",-1)])),_:1})]),_:1})]),_:1}),createVNode(fd,{visible:unref(qa),onClose:od[1]||(od[1]=md=>qa.value=!1)},null,8,["visible"])],64)}}}),_sfc_main$h=defineComponent({__name:"HoverCard",props:{defaultOpen:{type:Boolean},open:{type:Boolean},openDelay:{},closeDelay:{}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,dd)=>(openBlock(),createBlock(unref(Eh),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_sfc_main$g=defineComponent({__name:"HoverCardContent",props:{forceMount:{type:Boolean},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(Dh),null,{default:withCtx(()=>[createVNode(unref($h),mergeProps(unref(od),{class:unref(cn$5)("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$f=defineComponent({__name:"HoverCardTrigger",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Ph),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),_sfc_main$e=defineComponent({__name:"MenubarSeparator",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(Gh),mergeProps({class:unref(cn$5)("-mx-1 my-1 h-px bg-muted",qa.class)},unref(od)),null,16,["class"]))}}),_sfc_main$d=defineComponent({__name:"MenubarSub",props:{defaultOpen:{type:Boolean},open:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,dd)=>(openBlock(),createBlock(unref(Qh),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_sfc_main$c=defineComponent({__name:"MenubarSubContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},sideOffset:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(Kh),null,{default:withCtx(()=>[createVNode(unref(ey),mergeProps(unref(ud),{class:unref(cn$5)("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",nd.class)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$b=defineComponent({__name:"DropdownMenuShortcut",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(cn$5)("ml-auto text-xs tracking-widest opacity-60",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$a=defineComponent({__name:"MenubarSubTrigger",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(ty),mergeProps(unref(od),{class:unref(cn$5)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",ld.inset&&"pl-8",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default"),createVNode(unref(ChevronRight),{class:"ml-auto h-4 w-4"})]),_:3},16,["class"]))}}),_sfc_main$9=defineComponent({__name:"StyleOptionMenu",props:{title:{},options:{},current:{},change:{type:Function}},setup(Ra){const qa=Ra;function nd(od,ld){switch(od){case"字体":return{fontFamily:ld};case"字号":return{fontSize:ld};case"主题色":return{color:ld};default:return{}}}return(od,ld)=>{const ud=_sfc_main$a,dd=_sfc_main$b,pd=_sfc_main$k,fd=_sfc_main$c,md=_sfc_main$d;return openBlock(),createBlock(md,null,{default:withCtx(()=>[createVNode(ud,null,{default:withCtx(()=>[ld[0]||(ld[0]=createBaseVNode("span",{class:"mr-2 h-4 w-4"},null,-1)),createBaseVNode("span",null,toDisplayString(qa.title),1)]),_:1}),createVNode(fd,{class:"max-h-56 overflow-auto"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(od.options,({label:vd,value:Ad,desc:Nd})=>(openBlock(),createBlock(pd,{key:Ad,label:vd,"model-value":Ad,class:"w-50",checked:od.current===Ad,onClick:Od=>od.change(Ad)},{default:withCtx(()=>[createTextVNode(toDisplayString(vd)+" ",1),createVNode(dd,{style:normalizeStyle(nd(od.title,Ad))},{default:withCtx(()=>[createTextVNode(toDisplayString(Nd),1)]),_:2},1032,["style"])]),_:2},1032,["label","model-value","checked","onClick"]))),128))]),_:1})]),_:1})}}}),_sfc_main$8=defineComponent({__name:"StyleDropdown",setup(Ra){const qa=useStore(),{toggleShowCssEditor:nd}=useDisplayStore(),{theme:od,fontFamily:ld,fontSize:ud,primaryColor:dd,codeBlockTheme:pd,legend:fd,isMacCodeBlock:md,cssEditor:vd}=storeToRefs(qa),{resetStyleConfirm:Ad,themeChanged:Nd,fontChanged:Od,sizeChanged:kd,colorChanged:Ld,codeBlockThemeChanged:Gd,legendChanged:jd,macCodeBlockChanged:Fd}=qa,Ud=ref$1(null);function qd(){var Xd;(Xd=Ud.value)==null||Xd.show()}function zd(){nd(),setTimeout(()=>{vd.value.refresh()},50)}const Wd=useTemplateRef("pickColorsContainer"),Jd=ref$1("rgb"),_f=ref$1(["rgb","hex","hsl","hsv"]);return(Xd,pf)=>{const mf=_sfc_main$j,Sf=_sfc_main$9,Tf=_sfc_main$e,Af=_sfc_main$f,Ef=_sfc_main$g,Nf=_sfc_main$h,If=_sfc_main$k,Gf=_sfc_main$l,Qf=_sfc_main$m;return openBlock(),createBlock(Qf,null,{default:withCtx(()=>[createVNode(mf,null,{default:withCtx(()=>pf[1]||(pf[1]=[createTextVNode(" 样式 ")])),_:1}),createVNode(Gf,{class:"w-56",align:"start"},{default:withCtx(()=>[createVNode(Sf,{title:"主题",options:unref(themeOptions),current:unref(od),change:unref(Nd)},null,8,["options","current","change"]),createVNode(Tf),createVNode(Sf,{title:"字体",options:unref(fontFamilyOptions),current:unref(ld),change:unref(Od)},null,8,["options","current","change"]),createVNode(Sf,{title:"字号",options:unref(fontSizeOptions),current:unref(ud),change:unref(kd)},null,8,["options","current","change"]),createVNode(Sf,{title:"主题色",options:unref(colorOptions),current:unref(dd),change:unref(Ld)},null,8,["options","current","change"]),createVNode(Sf,{title:"代码块主题",options:unref(codeBlockThemeOptions),current:unref(pd),change:unref(Gd)},null,8,["options","current","change"]),createVNode(Sf,{title:"图注格式",options:unref(legendOptions),current:unref(fd),change:unref(jd)},null,8,["options","current","change"]),createVNode(Tf),createVNode(If,{onClick:withModifiers(qd,["self","prevent"])},{default:withCtx(()=>[createVNode(Nf,{"open-delay":100},{default:withCtx(()=>[createVNode(Af,{class:"w-full flex"},{default:withCtx(()=>pf[2]||(pf[2]=[createTextVNode(" 自定义主题色 ")])),_:1}),createVNode(Ef,{side:"right",class:"w-min"},{default:withCtx(()=>[createBaseVNode("div",{ref_key:"pickColorsContainer",ref:Wd},[createVNode(unref(ze),{value:unref(dd),"onUpdate:value":pf[0]||(pf[0]=Xf=>isRef(dd)?dd.value=Xf:null),"show-alpha":"",format:unref(Jd),"format-options":unref(_f),theme:unref(qa).isDark?"dark":"light","popup-container":unref(Wd),onChange:unref(qa).colorChanged},null,8,["value","format","format-options","theme","popup-container","onChange"])],512)]),_:1})]),_:1})]),_:1}),createVNode(If,{onClick:zd},{default:withCtx(()=>pf[3]||(pf[3]=[createTextVNode(" 自定义 CSS ")])),_:1}),createVNode(Tf),createVNode(If,{checked:unref(md),onClick:unref(Fd)},{default:withCtx(()=>pf[4]||(pf[4]=[createTextVNode(" Mac 代码块 ")])),_:1},8,["checked","onClick"]),createVNode(Tf),createVNode(If,{divided:"",onClick:unref(Ad)},{default:withCtx(()=>pf[5]||(pf[5]=[createTextVNode(" 重置 ")])),_:1},8,["onClick"])]),_:1})]),_:1})}}}),_sfc_main$7=defineComponent({__name:"MenubarItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},emits:["select"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(jh),mergeProps(unref(ud),{class:unref(cn$5)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",dd.inset&&"pl-8",nd.class)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$6=defineComponent({__name:"EditDropdown",setup(Ra){const{toggleShowInsertFormDialog:qa,toggleShowUploadImgDialog:nd}=useDisplayStore();return(od,ld)=>{const ud=_sfc_main$j,dd=_sfc_main$7,pd=_sfc_main$l,fd=_sfc_main$m;return openBlock(),createBlock(fd,null,{default:withCtx(()=>[createVNode(ud,null,{default:withCtx(()=>ld[2]||(ld[2]=[createTextVNode(" 编辑 ")])),_:1}),createVNode(pd,{align:"start"},{default:withCtx(()=>[createVNode(dd,{onClick:ld[0]||(ld[0]=md=>unref(nd)())},{default:withCtx(()=>[createVNode(unref(CloudUpload),{class:"mr-2 h-4 w-4"}),ld[3]||(ld[3]=createTextVNode(" 上传图片 "))]),_:1}),createVNode(dd,{onClick:ld[1]||(ld[1]=md=>unref(qa)())},{default:withCtx(()=>[createVNode(unref(Table),{class:"mr-2 h-4 w-4"}),ld[4]||(ld[4]=createTextVNode(" 插入表格 "))]),_:1})]),_:1})]),_:1})}}}),_sfc_main$5=defineComponent({__name:"MenubarShortcut",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(cn$5)("ml-auto text-xs tracking-widest text-muted-foreground",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$4=defineComponent({__name:"FileDropdown",setup(Ra){const qa=useStore(),{isDark:nd,isEditOnLeft:od}=storeToRefs(qa),{exportEditorContent2HTML:ld,exportEditorContent2MD:ud,importMarkdownContent:dd}=qa;return(pd,fd)=>{const md=_sfc_main$j,vd=_sfc_main$7,Ad=_sfc_main$e,Nd=_sfc_main$k,Od=_sfc_main$l,kd=_sfc_main$m;return openBlock(),createBlock(kd,null,{default:withCtx(()=>[createVNode(md,null,{default:withCtx(()=>fd[5]||(fd[5]=[createTextVNode(" 文件 ")])),_:1}),createVNode(Od,{align:"start"},{default:withCtx(()=>[createVNode(vd,{onClick:fd[0]||(fd[0]=Ld=>unref(dd)())},{default:withCtx(()=>[createVNode(unref(Upload),{class:"mr-2 size-4"}),fd[6]||(fd[6]=createTextVNode(" 导入 .md "))]),_:1}),createVNode(vd,{onClick:fd[1]||(fd[1]=Ld=>unref(ud)())},{default:withCtx(()=>[createVNode(unref(Download),{class:"mr-2 size-4"}),fd[7]||(fd[7]=createTextVNode(" 导出 .md "))]),_:1}),createVNode(vd,{onClick:fd[2]||(fd[2]=Ld=>unref(ld)())},{default:withCtx(()=>[createVNode(unref(FileCode),{class:"mr-2 size-4"}),fd[8]||(fd[8]=createTextVNode(" 导出 .html "))]),_:1}),createVNode(Ad),createVNode(Nd,{checked:unref(nd),"onUpdate:checked":fd[3]||(fd[3]=Ld=>isRef(nd)?nd.value=Ld:null)},{default:withCtx(()=>fd[9]||(fd[9]=[createTextVNode(" 深色模式 ")])),_:1},8,["checked"]),createVNode(Ad),createVNode(Nd,{checked:unref(od),"onUpdate:checked":fd[4]||(fd[4]=Ld=>isRef(od)?od.value=Ld:null)},{default:withCtx(()=>fd[10]||(fd[10]=[createTextVNode(" 左侧编辑 ")])),_:1},8,["checked"])]),_:1})]),_:1})}}}),_sfc_main$3=defineComponent({__name:"Sonner",props:{invert:{type:Boolean},theme:{},position:{},hotkey:{},richColors:{type:Boolean},expand:{type:Boolean},duration:{},gap:{},visibleToasts:{},closeButton:{type:Boolean},toastOptions:{},class:{},style:{},offset:{},dir:{},icons:{},containerAriaLabel:{},pauseWhenPageIsHidden:{type:Boolean},cn:{type:Function}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Ve),mergeProps({class:"toaster group"},qa,{"toast-options":{classes:{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"}}}),null,16))}}),_hoisted_1$1={class:"header-container h-15 flex items-center justify-between px-5"},_hoisted_2$1={class:"space-x-2 flex"},_hoisted_3$1={class:"space-x-2 flex"},_hoisted_4$1={class:"space-x-1 bg-background text-background-foreground mx-2 flex items-center border rounded-md"},_sfc_main$2=defineComponent({__name:"index",emits:["addFormat","formatContent","startCopy","endCopy"],setup(Ra,{emit:qa}){const nd=qa,od=[{label:"加粗",kbd:[ctrlSign,"B"],emitArgs:["addFormat",`${ctrlKey}-B`]},{label:"斜体",kbd:[ctrlSign,"I"],emitArgs:["addFormat",`${ctrlKey}-I`]},{label:"删除线",kbd:[ctrlSign,"D"],emitArgs:["addFormat",`${ctrlKey}-D`]},{label:"超链接",kbd:[ctrlSign,"K"],emitArgs:["addFormat",`${ctrlKey}-K`]},{label:"行内代码",kbd:[ctrlSign,"E"],emitArgs:["addFormat",`${ctrlKey}-E`]},{label:"格式化",kbd:[altSign,shiftSign,"F"],emitArgs:["formatContent"]}],ld=useStore(),{isDark:ud,isCiteStatus:dd,isCountStatus:pd,output:fd,primaryColor:md,isOpenPostSlider:vd}=storeToRefs(ld),{toggleDark:Ad,editorRefresh:Nd,citeStatusChanged:Od,countStatusChanged:kd}=ld,Ld=useStorage(addPrefix("copyMode"),"txt"),Gd=ref$1(""),{copy:jd}=useClipboard({source:Gd});function Fd(){nd("startCopy"),setTimeout(()=>{const Ud=ud.value;Ud&&Ad(),nextTick$1(async()=>{processClipboardContent(md.value);const qd=document.getElementById("output");qd.focus(),window.getSelection().removeAllRanges();const zd=qd.innerHTML;if(Ld.value==="txt"){const Wd=document.createRange();Wd.setStartBefore(qd.firstChild),Wd.setEndAfter(qd.lastChild),window.getSelection().addRange(Wd),document.execCommand("copy"),window.getSelection().removeAllRanges()}qd.innerHTML=fd.value,Ud&&nextTick$1(()=>Ad()),Ld.value==="html"&&await jd(zd),Ke$1.success(Ld.value==="html"?"已复制 HTML 源码,请进行下一步操作。":"已复制渲染后的内容到剪贴板,可直接到公众号后台粘贴。"),Nd(),nd("endCopy")})},350)}return(Ud,qd)=>{const zd=_sfc_main$4,Wd=_sfc_main$j,Jd=_sfc_main$5,_f=_sfc_main$k,Xd=_sfc_main$e,pf=_sfc_main$l,mf=_sfc_main$m,Sf=_sfc_main$6,Tf=_sfc_main$8,Af=_sfc_main$i,Ef=_sfc_main$o,Nf=_sfc_main$1o,If=_sfc_main$p,Gf=_sfc_main$q,Qf=_sfc_main$r,Xf=_sfc_main$s,ph=_sfc_main$t,qf=_sfc_main$E,Lf=_sfc_main$u,Wf=_sfc_main$v,Jf=_sfc_main$G,Kf=_sfc_main$H,Cf=_sfc_main$w;return openBlock(),createElementBlock("header",_hoisted_1$1,[createBaseVNode("div",_hoisted_2$1,[createVNode(Ef,{class:"menubar"},{default:withCtx(()=>[createVNode(zd),createVNode(mf,null,{default:withCtx(()=>[createVNode(Wd,null,{default:withCtx(()=>qd[7]||(qd[7]=[createTextVNode(" 格式 ")])),_:1}),createVNode(pf,{class:"w-60",align:"start"},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(od,({label:xf,kbd:Yf,emitArgs:dh})=>createVNode(_f,{key:xf,onClick:Rh=>dh[0]==="addFormat"?Ud.$emit(dh[0],dh[1]):Ud.$emit(dh[0])},{default:withCtx(()=>[createTextVNode(toDisplayString(xf)+" ",1),createVNode(Jd,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(Yf,Rh=>(openBlock(),createElementBlock("kbd",{key:Rh,class:"mx-1 bg-gray-2 dark:bg-stone-9"},toDisplayString(Rh),1))),128))]),_:2},1024)]),_:2},1032,["onClick"])),64)),createVNode(Xd),createVNode(_f,{checked:unref(dd),onClick:qd[0]||(qd[0]=xf=>unref(Od)())},{default:withCtx(()=>qd[8]||(qd[8]=[createTextVNode(" 微信外链转底部引用 ")])),_:1},8,["checked"]),createVNode(Xd),createVNode(_f,{checked:unref(pd),onClick:qd[1]||(qd[1]=xf=>unref(kd)())},{default:withCtx(()=>qd[9]||(qd[9]=[createTextVNode(" 统计字数和阅读时间 ")])),_:1},8,["checked"])]),_:1})]),_:1}),createVNode(Sf),createVNode(Tf),createVNode(Af)]),_:1})]),createBaseVNode("div",_hoisted_3$1,[createVNode(Xf,{"delay-duration":200},{default:withCtx(()=>[createVNode(Qf,null,{default:withCtx(()=>[createVNode(If,{"as-child":""},{default:withCtx(()=>[createVNode(Nf,{variant:"outline",onClick:qd[2]||(qd[2]=xf=>vd.value=!unref(vd))},{default:withCtx(()=>[withDirectives(createVNode(unref(PanelLeftOpen),{class:"size-4"},null,512),[[vShow,!unref(vd)]]),withDirectives(createVNode(unref(PanelLeftClose),{class:"size-4"},null,512),[[vShow,unref(vd)]])]),_:1})]),_:1}),createVNode(Gf,{side:"left"},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(vd)?"关闭":"内容管理"),1)]),_:1})]),_:1})]),_:1}),createVNode(Nf,{variant:"outline",onClick:qd[3]||(qd[3]=xf=>unref(Ad)())},{default:withCtx(()=>[withDirectives(createVNode(unref(Moon),{class:"size-4"},null,512),[[vShow,unref(ud)]]),withDirectives(createVNode(unref(Sun),{class:"size-4"},null,512),[[vShow,!unref(ud)]])]),_:1}),createBaseVNode("div",_hoisted_4$1,[createVNode(Nf,{variant:"ghost",class:"shadow-none",onClick:Fd},{default:withCtx(()=>qd[10]||(qd[10]=[createTextVNode(" 复制 ")])),_:1}),createVNode(ph,{orientation:"vertical",class:"h-5"}),createVNode(Kf,{modelValue:unref(Ld),"onUpdate:modelValue":qd[5]||(qd[5]=xf=>isRef(Ld)?Ld.value=xf:null)},{default:withCtx(()=>[createVNode(qf,{"as-child":""},{default:withCtx(()=>[createVNode(Nf,{variant:"ghost",class:"px-2 shadow-none"},{default:withCtx(()=>[createVNode(unref(ChevronDown),{class:"text-secondary-foreground h-4 w-4"})]),_:1})]),_:1}),createVNode(Jf,{align:"end","align-offset":-5,class:"w-[200px]"},{default:withCtx(()=>[createVNode(Wf,{modelValue:unref(Ld),"onUpdate:modelValue":qd[4]||(qd[4]=xf=>isRef(Ld)?Ld.value=xf:null)},{default:withCtx(()=>[createVNode(Lf,{value:"txt"},{default:withCtx(()=>qd[11]||(qd[11]=[createTextVNode(" 公众号格式 ")])),_:1}),createVNode(Lf,{value:"html"},{default:withCtx(()=>qd[12]||(qd[12]=[createTextVNode(" HTML 格式 ")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["modelValue"])]),createVNode(Cf),createVNode(Nf,{variant:"outline",onClick:qd[6]||(qd[6]=xf=>unref(ld).isOpenRightSlider=!unref(ld).isOpenRightSlider)},{default:withCtx(()=>[createVNode(unref(Settings),{class:"size-4"})]),_:1}),createVNode(unref(_sfc_main$3),{"rich-colors":"",position:"top-center"})])])}}}),__unplugin_components_0=_export_sfc(_sfc_main$2,[["__scopeId","data-v-7e8ee93b"]]);function bind(Ra,qa){return function(){return Ra.apply(qa,arguments)}}var define_process_default$7={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_1164a745-b3dc-4b9f-a9be-9609c1b3622a",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_1164a745-b3dc-4b9f-a9be-9609c1b3622a",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250105.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7633",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12854182433",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_eb6908e4-3cff-452d-a339-25146be9740f",INVOCATION_ID:"049b7125072941398f5d27a5cb59ad7a",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"493",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 18",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_1164a745-b3dc-4b9f-a9be-9609c1b3622a",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_1164a745-b3dc-4b9f-a9be-9609c1b3622a",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_1164a745-b3dc-4b9f-a9be-9609c1b3622a",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2166,ppid:2165,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};const{toString:toString$1}=Object.prototype,{getPrototypeOf}=Object,kindOf=(Ra=>qa=>{const nd=toString$1.call(qa);return Ra[nd]||(Ra[nd]=nd.slice(8,-1).toLowerCase())})(Object.create(null)),kindOfTest=Ra=>(Ra=Ra.toLowerCase(),qa=>kindOf(qa)===Ra),typeOfTest=Ra=>qa=>typeof qa===Ra,{isArray}=Array,isUndefined=typeOfTest("undefined");function isBuffer(Ra){return Ra!==null&&!isUndefined(Ra)&&Ra.constructor!==null&&!isUndefined(Ra.constructor)&&isFunction$1(Ra.constructor.isBuffer)&&Ra.constructor.isBuffer(Ra)}const isArrayBuffer$2=kindOfTest("ArrayBuffer");function isArrayBufferView(Ra){let qa;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?qa=ArrayBuffer.isView(Ra):qa=Ra&&Ra.buffer&&isArrayBuffer$2(Ra.buffer),qa}const isString$1=typeOfTest("string"),isFunction$1=typeOfTest("function"),isNumber$1=typeOfTest("number"),isObject$1=Ra=>Ra!==null&&typeof Ra=="object",isBoolean$1=Ra=>Ra===!0||Ra===!1,isPlainObject=Ra=>{if(kindOf(Ra)!=="object")return!1;const qa=getPrototypeOf(Ra);return(qa===null||qa===Object.prototype||Object.getPrototypeOf(qa)===null)&&!(Symbol.toStringTag in Ra)&&!(Symbol.iterator in Ra)},isDate=kindOfTest("Date"),isFile=kindOfTest("File"),isBlob=kindOfTest("Blob"),isFileList=kindOfTest("FileList"),isStream=Ra=>isObject$1(Ra)&&isFunction$1(Ra.pipe),isFormData=Ra=>{let qa;return Ra&&(typeof FormData=="function"&&Ra instanceof FormData||isFunction$1(Ra.append)&&((qa=kindOf(Ra))==="formdata"||qa==="object"&&isFunction$1(Ra.toString)&&Ra.toString()==="[object FormData]"))},isURLSearchParams=kindOfTest("URLSearchParams"),[isReadableStream$3,isRequest,isResponse,isHeaders]=["ReadableStream","Request","Response","Headers"].map(kindOfTest),trim=Ra=>Ra.trim?Ra.trim():Ra.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach(Ra,qa,{allOwnKeys:nd=!1}={}){if(Ra===null||typeof Ra>"u")return;let od,ld;if(typeof Ra!="object"&&(Ra=[Ra]),isArray(Ra))for(od=0,ld=Ra.length;od<ld;od++)qa.call(null,Ra[od],od,Ra);else{const ud=nd?Object.getOwnPropertyNames(Ra):Object.keys(Ra),dd=ud.length;let pd;for(od=0;od<dd;od++)pd=ud[od],qa.call(null,Ra[pd],pd,Ra)}}function findKey(Ra,qa){qa=qa.toLowerCase();const nd=Object.keys(Ra);let od=nd.length,ld;for(;od-- >0;)if(ld=nd[od],qa===ld.toLowerCase())return ld;return null}const _global=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global$1,isContextDefined=Ra=>!isUndefined(Ra)&&Ra!==_global;function merge(){const{caseless:Ra}=isContextDefined(this)&&this||{},qa={},nd=(od,ld)=>{const ud=Ra&&findKey(qa,ld)||ld;isPlainObject(qa[ud])&&isPlainObject(od)?qa[ud]=merge(qa[ud],od):isPlainObject(od)?qa[ud]=merge({},od):isArray(od)?qa[ud]=od.slice():qa[ud]=od};for(let od=0,ld=arguments.length;od<ld;od++)arguments[od]&&forEach(arguments[od],nd);return qa}const extend=(Ra,qa,nd,{allOwnKeys:od}={})=>(forEach(qa,(ld,ud)=>{nd&&isFunction$1(ld)?Ra[ud]=bind(ld,nd):Ra[ud]=ld},{allOwnKeys:od}),Ra),stripBOM=Ra=>(Ra.charCodeAt(0)===65279&&(Ra=Ra.slice(1)),Ra),inherits$1=(Ra,qa,nd,od)=>{Ra.prototype=Object.create(qa.prototype,od),Ra.prototype.constructor=Ra,Object.defineProperty(Ra,"super",{value:qa.prototype}),nd&&Object.assign(Ra.prototype,nd)},toFlatObject=(Ra,qa,nd,od)=>{let ld,ud,dd;const pd={};if(qa=qa||{},Ra==null)return qa;do{for(ld=Object.getOwnPropertyNames(Ra),ud=ld.length;ud-- >0;)dd=ld[ud],(!od||od(dd,Ra,qa))&&!pd[dd]&&(qa[dd]=Ra[dd],pd[dd]=!0);Ra=nd!==!1&&getPrototypeOf(Ra)}while(Ra&&(!nd||nd(Ra,qa))&&Ra!==Object.prototype);return qa},endsWith=(Ra,qa,nd)=>{Ra=String(Ra),(nd===void 0||nd>Ra.length)&&(nd=Ra.length),nd-=qa.length;const od=Ra.indexOf(qa,nd);return od!==-1&&od===nd},toArray$1=Ra=>{if(!Ra)return null;if(isArray(Ra))return Ra;let qa=Ra.length;if(!isNumber$1(qa))return null;const nd=new Array(qa);for(;qa-- >0;)nd[qa]=Ra[qa];return nd},isTypedArray=(Ra=>qa=>Ra&&qa instanceof Ra)(typeof Uint8Array<"u"&&getPrototypeOf(Uint8Array)),forEachEntry=(Ra,qa)=>{const od=(Ra&&Ra[Symbol.iterator]).call(Ra);let ld;for(;(ld=od.next())&&!ld.done;){const ud=ld.value;qa.call(Ra,ud[0],ud[1])}},matchAll=(Ra,qa)=>{let nd;const od=[];for(;(nd=Ra.exec(qa))!==null;)od.push(nd);return od},isHTMLForm=kindOfTest("HTMLFormElement"),toCamelCase=Ra=>Ra.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(nd,od,ld){return od.toUpperCase()+ld}),hasOwnProperty$1=(({hasOwnProperty:Ra})=>(qa,nd)=>Ra.call(qa,nd))(Object.prototype),isRegExp=kindOfTest("RegExp"),reduceDescriptors=(Ra,qa)=>{const nd=Object.getOwnPropertyDescriptors(Ra),od={};forEach(nd,(ld,ud)=>{let dd;(dd=qa(ld,ud,Ra))!==!1&&(od[ud]=dd||ld)}),Object.defineProperties(Ra,od)},freezeMethods=Ra=>{reduceDescriptors(Ra,(qa,nd)=>{if(isFunction$1(Ra)&&["arguments","caller","callee"].indexOf(nd)!==-1)return!1;const od=Ra[nd];if(isFunction$1(od)){if(qa.enumerable=!1,"writable"in qa){qa.writable=!1;return}qa.set||(qa.set=()=>{throw Error("Can not rewrite read-only method '"+nd+"'")})}})},toObjectSet=(Ra,qa)=>{const nd={},od=ld=>{ld.forEach(ud=>{nd[ud]=!0})};return isArray(Ra)?od(Ra):od(String(Ra).split(qa)),nd},noop=()=>{},toFiniteNumber=(Ra,qa)=>Ra!=null&&Number.isFinite(Ra=+Ra)?Ra:qa,ALPHA="abcdefghijklmnopqrstuvwxyz",DIGIT="0123456789",ALPHABET={DIGIT,ALPHA,ALPHA_DIGIT:ALPHA+ALPHA.toUpperCase()+DIGIT},generateString=(Ra=16,qa=ALPHABET.ALPHA_DIGIT)=>{let nd="";const{length:od}=qa;for(;Ra--;)nd+=qa[Math.random()*od|0];return nd};function isSpecCompliantForm(Ra){return!!(Ra&&isFunction$1(Ra.append)&&Ra[Symbol.toStringTag]==="FormData"&&Ra[Symbol.iterator])}const toJSONObject=Ra=>{const qa=new Array(10),nd=(od,ld)=>{if(isObject$1(od)){if(qa.indexOf(od)>=0)return;if(!("toJSON"in od)){qa[ld]=od;const ud=isArray(od)?[]:{};return forEach(od,(dd,pd)=>{const fd=nd(dd,ld+1);!isUndefined(fd)&&(ud[pd]=fd)}),qa[ld]=void 0,ud}}return od};return nd(Ra,0)},isAsyncFn=kindOfTest("AsyncFunction"),isThenable=Ra=>Ra&&(isObject$1(Ra)||isFunction$1(Ra))&&isFunction$1(Ra.then)&&isFunction$1(Ra.catch),_setImmediate=((Ra,qa)=>Ra?setImmediate:qa?((nd,od)=>(_global.addEventListener("message",({source:ld,data:ud})=>{ld===_global&&ud===nd&&od.length&&od.shift()()},!1),ld=>{od.push(ld),_global.postMessage(nd,"*")}))(`axios@${Math.random()}`,[]):nd=>setTimeout(nd))(typeof setImmediate=="function",isFunction$1(_global.postMessage)),asap=typeof queueMicrotask<"u"?queueMicrotask.bind(_global):typeof define_process_default$7<"u"&&define_process_default$7.nextTick||_setImmediate,utils$2={isArray,isArrayBuffer:isArrayBuffer$2,isBuffer,isFormData,isArrayBufferView,isString:isString$1,isNumber:isNumber$1,isBoolean:isBoolean$1,isObject:isObject$1,isPlainObject,isReadableStream:isReadableStream$3,isRequest,isResponse,isHeaders,isUndefined,isDate,isFile,isBlob,isRegExp,isFunction:isFunction$1,isStream,isURLSearchParams,isTypedArray,isFileList,forEach,merge,extend,trim,stripBOM,inherits:inherits$1,toFlatObject,kindOf,kindOfTest,endsWith,toArray:toArray$1,forEachEntry,matchAll,isHTMLForm,hasOwnProperty:hasOwnProperty$1,hasOwnProp:hasOwnProperty$1,reduceDescriptors,freezeMethods,toObjectSet,toCamelCase,noop,toFiniteNumber,findKey,global:_global,isContextDefined,ALPHABET,generateString,isSpecCompliantForm,toJSONObject,isAsyncFn,isThenable,setImmediate:_setImmediate,asap};function AxiosError(Ra,qa,nd,od,ld){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=Ra,this.name="AxiosError",qa&&(this.code=qa),nd&&(this.config=nd),od&&(this.request=od),ld&&(this.response=ld,this.status=ld.status?ld.status:null)}utils$2.inherits(AxiosError,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:utils$2.toJSONObject(this.config),code:this.code,status:this.status}}});const prototype$1=AxiosError.prototype,descriptors={};["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(Ra=>{descriptors[Ra]={value:Ra}});Object.defineProperties(AxiosError,descriptors);Object.defineProperty(prototype$1,"isAxiosError",{value:!0});AxiosError.from=(Ra,qa,nd,od,ld,ud)=>{const dd=Object.create(prototype$1);return utils$2.toFlatObject(Ra,dd,function(fd){return fd!==Error.prototype},pd=>pd!=="isAxiosError"),AxiosError.call(dd,Ra.message,qa,nd,od,ld),dd.cause=Ra,dd.name=Ra.name,ud&&Object.assign(dd,ud),dd};const httpAdapter=null;function isVisitable(Ra){return utils$2.isPlainObject(Ra)||utils$2.isArray(Ra)}function removeBrackets(Ra){return utils$2.endsWith(Ra,"[]")?Ra.slice(0,-2):Ra}function renderKey(Ra,qa,nd){return Ra?Ra.concat(qa).map(function(ld,ud){return ld=removeBrackets(ld),!nd&&ud?"["+ld+"]":ld}).join(nd?".":""):qa}function isFlatArray(Ra){return utils$2.isArray(Ra)&&!Ra.some(isVisitable)}const predicates=utils$2.toFlatObject(utils$2,{},null,function(qa){return/^is[A-Z]/.test(qa)});function toFormData(Ra,qa,nd){if(!utils$2.isObject(Ra))throw new TypeError("target must be an object");qa=qa||new FormData,nd=utils$2.toFlatObject(nd,{metaTokens:!0,dots:!1,indexes:!1},!1,function(Ld,Gd){return!utils$2.isUndefined(Gd[Ld])});const od=nd.metaTokens,ld=nd.visitor||vd,ud=nd.dots,dd=nd.indexes,fd=(nd.Blob||typeof Blob<"u"&&Blob)&&utils$2.isSpecCompliantForm(qa);if(!utils$2.isFunction(ld))throw new TypeError("visitor must be a function");function md(kd){if(kd===null)return"";if(utils$2.isDate(kd))return kd.toISOString();if(!fd&&utils$2.isBlob(kd))throw new AxiosError("Blob is not supported. Use a Buffer instead.");return utils$2.isArrayBuffer(kd)||utils$2.isTypedArray(kd)?fd&&typeof Blob=="function"?new Blob([kd]):Buffer$4.from(kd):kd}function vd(kd,Ld,Gd){let jd=kd;if(kd&&!Gd&&typeof kd=="object"){if(utils$2.endsWith(Ld,"{}"))Ld=od?Ld:Ld.slice(0,-2),kd=JSON.stringify(kd);else if(utils$2.isArray(kd)&&isFlatArray(kd)||(utils$2.isFileList(kd)||utils$2.endsWith(Ld,"[]"))&&(jd=utils$2.toArray(kd)))return Ld=removeBrackets(Ld),jd.forEach(function(Ud,qd){!(utils$2.isUndefined(Ud)||Ud===null)&&qa.append(dd===!0?renderKey([Ld],qd,ud):dd===null?Ld:Ld+"[]",md(Ud))}),!1}return isVisitable(kd)?!0:(qa.append(renderKey(Gd,Ld,ud),md(kd)),!1)}const Ad=[],Nd=Object.assign(predicates,{defaultVisitor:vd,convertValue:md,isVisitable});function Od(kd,Ld){if(!utils$2.isUndefined(kd)){if(Ad.indexOf(kd)!==-1)throw Error("Circular reference detected in "+Ld.join("."));Ad.push(kd),utils$2.forEach(kd,function(jd,Fd){(!(utils$2.isUndefined(jd)||jd===null)&&ld.call(qa,jd,utils$2.isString(Fd)?Fd.trim():Fd,Ld,Nd))===!0&&Od(jd,Ld?Ld.concat(Fd):[Fd])}),Ad.pop()}}if(!utils$2.isObject(Ra))throw new TypeError("data must be an object");return Od(Ra),qa}function encode$2(Ra){const qa={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(Ra).replace(/[!'()~]|%20|%00/g,function(od){return qa[od]})}function AxiosURLSearchParams(Ra,qa){this._pairs=[],Ra&&toFormData(Ra,this,qa)}const prototype=AxiosURLSearchParams.prototype;prototype.append=function(qa,nd){this._pairs.push([qa,nd])};prototype.toString=function(qa){const nd=qa?function(od){return qa.call(this,od,encode$2)}:encode$2;return this._pairs.map(function(ld){return nd(ld[0])+"="+nd(ld[1])},"").join("&")};function encode$1(Ra){return encodeURIComponent(Ra).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(Ra,qa,nd){if(!qa)return Ra;const od=nd&&nd.encode||encode$1;utils$2.isFunction(nd)&&(nd={serialize:nd});const ld=nd&&nd.serialize;let ud;if(ld?ud=ld(qa,nd):ud=utils$2.isURLSearchParams(qa)?qa.toString():new AxiosURLSearchParams(qa,nd).toString(od),ud){const dd=Ra.indexOf("#");dd!==-1&&(Ra=Ra.slice(0,dd)),Ra+=(Ra.indexOf("?")===-1?"?":"&")+ud}return Ra}class InterceptorManager{constructor(){this.handlers=[]}use(qa,nd,od){return this.handlers.push({fulfilled:qa,rejected:nd,synchronous:od?od.synchronous:!1,runWhen:od?od.runWhen:null}),this.handlers.length-1}eject(qa){this.handlers[qa]&&(this.handlers[qa]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(qa){utils$2.forEach(this.handlers,function(od){od!==null&&qa(od)})}}const transitionalDefaults={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},URLSearchParams$1=typeof URLSearchParams<"u"?URLSearchParams:AxiosURLSearchParams,FormData$1=typeof FormData<"u"?FormData:null,Blob$1=typeof Blob<"u"?Blob:null,platform$1={isBrowser:!0,classes:{URLSearchParams:URLSearchParams$1,FormData:FormData$1,Blob:Blob$1},protocols:["http","https","file","blob","url","data"]},hasBrowserEnv=typeof window<"u"&&typeof document<"u",_navigator=typeof navigator=="object"&&navigator||void 0,hasStandardBrowserEnv=hasBrowserEnv&&(!_navigator||["ReactNative","NativeScript","NS"].indexOf(_navigator.product)<0),hasStandardBrowserWebWorkerEnv=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",origin=hasBrowserEnv&&window.location.href||"http://localhost",utils$1=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv,hasStandardBrowserEnv,hasStandardBrowserWebWorkerEnv,navigator:_navigator,origin},Symbol.toStringTag,{value:"Module"})),platform={...utils$1,...platform$1};function toURLEncodedForm(Ra,qa){return toFormData(Ra,new platform.classes.URLSearchParams,Object.assign({visitor:function(nd,od,ld,ud){return platform.isNode&&utils$2.isBuffer(nd)?(this.append(od,nd.toString("base64")),!1):ud.defaultVisitor.apply(this,arguments)}},qa))}function parsePropPath(Ra){return utils$2.matchAll(/\w+|\[(\w*)]/g,Ra).map(qa=>qa[0]==="[]"?"":qa[1]||qa[0])}function arrayToObject(Ra){const qa={},nd=Object.keys(Ra);let od;const ld=nd.length;let ud;for(od=0;od<ld;od++)ud=nd[od],qa[ud]=Ra[ud];return qa}function formDataToJSON(Ra){function qa(nd,od,ld,ud){let dd=nd[ud++];if(dd==="__proto__")return!0;const pd=Number.isFinite(+dd),fd=ud>=nd.length;return dd=!dd&&utils$2.isArray(ld)?ld.length:dd,fd?(utils$2.hasOwnProp(ld,dd)?ld[dd]=[ld[dd],od]:ld[dd]=od,!pd):((!ld[dd]||!utils$2.isObject(ld[dd]))&&(ld[dd]=[]),qa(nd,od,ld[dd],ud)&&utils$2.isArray(ld[dd])&&(ld[dd]=arrayToObject(ld[dd])),!pd)}if(utils$2.isFormData(Ra)&&utils$2.isFunction(Ra.entries)){const nd={};return utils$2.forEachEntry(Ra,(od,ld)=>{qa(parsePropPath(od),ld,nd,0)}),nd}return null}function stringifySafely(Ra,qa,nd){if(utils$2.isString(Ra))try{return(qa||JSON.parse)(Ra),utils$2.trim(Ra)}catch(od){if(od.name!=="SyntaxError")throw od}return(0,JSON.stringify)(Ra)}const defaults$1={transitional:transitionalDefaults,adapter:["xhr","http","fetch"],transformRequest:[function(qa,nd){const od=nd.getContentType()||"",ld=od.indexOf("application/json")>-1,ud=utils$2.isObject(qa);if(ud&&utils$2.isHTMLForm(qa)&&(qa=new FormData(qa)),utils$2.isFormData(qa))return ld?JSON.stringify(formDataToJSON(qa)):qa;if(utils$2.isArrayBuffer(qa)||utils$2.isBuffer(qa)||utils$2.isStream(qa)||utils$2.isFile(qa)||utils$2.isBlob(qa)||utils$2.isReadableStream(qa))return qa;if(utils$2.isArrayBufferView(qa))return qa.buffer;if(utils$2.isURLSearchParams(qa))return nd.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),qa.toString();let pd;if(ud){if(od.indexOf("application/x-www-form-urlencoded")>-1)return toURLEncodedForm(qa,this.formSerializer).toString();if((pd=utils$2.isFileList(qa))||od.indexOf("multipart/form-data")>-1){const fd=this.env&&this.env.FormData;return toFormData(pd?{"files[]":qa}:qa,fd&&new fd,this.formSerializer)}}return ud||ld?(nd.setContentType("application/json",!1),stringifySafely(qa)):qa}],transformResponse:[function(qa){const nd=this.transitional||defaults$1.transitional,od=nd&&nd.forcedJSONParsing,ld=this.responseType==="json";if(utils$2.isResponse(qa)||utils$2.isReadableStream(qa))return qa;if(qa&&utils$2.isString(qa)&&(od&&!this.responseType||ld)){const dd=!(nd&&nd.silentJSONParsing)&&ld;try{return JSON.parse(qa)}catch(pd){if(dd)throw pd.name==="SyntaxError"?AxiosError.from(pd,AxiosError.ERR_BAD_RESPONSE,this,null,this.response):pd}}return qa}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:platform.classes.FormData,Blob:platform.classes.Blob},validateStatus:function(qa){return qa>=200&&qa<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};utils$2.forEach(["delete","get","head","post","put","patch"],Ra=>{defaults$1.headers[Ra]={}});const ignoreDuplicateOf=utils$2.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"]),parseHeaders=Ra=>{const qa={};let nd,od,ld;return Ra&&Ra.split(`
`).forEach(function(dd){ld=dd.indexOf(":"),nd=dd.substring(0,ld).trim().toLowerCase(),od=dd.substring(ld+1).trim(),!(!nd||qa[nd]&&ignoreDuplicateOf[nd])&&(nd==="set-cookie"?qa[nd]?qa[nd].push(od):qa[nd]=[od]:qa[nd]=qa[nd]?qa[nd]+", "+od:od)}),qa},$internals=Symbol("internals");function normalizeHeader(Ra){return Ra&&String(Ra).trim().toLowerCase()}function normalizeValue(Ra){return Ra===!1||Ra==null?Ra:utils$2.isArray(Ra)?Ra.map(normalizeValue):String(Ra)}function parseTokens(Ra){const qa=Object.create(null),nd=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let od;for(;od=nd.exec(Ra);)qa[od[1]]=od[2];return qa}const isValidHeaderName=Ra=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(Ra.trim());function matchHeaderValue(Ra,qa,nd,od,ld){if(utils$2.isFunction(od))return od.call(this,qa,nd);if(ld&&(qa=nd),!!utils$2.isString(qa)){if(utils$2.isString(od))return qa.indexOf(od)!==-1;if(utils$2.isRegExp(od))return od.test(qa)}}function formatHeader(Ra){return Ra.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(qa,nd,od)=>nd.toUpperCase()+od)}function buildAccessors(Ra,qa){const nd=utils$2.toCamelCase(" "+qa);["get","set","has"].forEach(od=>{Object.defineProperty(Ra,od+nd,{value:function(ld,ud,dd){return this[od].call(this,qa,ld,ud,dd)},configurable:!0})})}class AxiosHeaders{constructor(qa){qa&&this.set(qa)}set(qa,nd,od){const ld=this;function ud(pd,fd,md){const vd=normalizeHeader(fd);if(!vd)throw new Error("header name must be a non-empty string");const Ad=utils$2.findKey(ld,vd);(!Ad||ld[Ad]===void 0||md===!0||md===void 0&&ld[Ad]!==!1)&&(ld[Ad||fd]=normalizeValue(pd))}const dd=(pd,fd)=>utils$2.forEach(pd,(md,vd)=>ud(md,vd,fd));if(utils$2.isPlainObject(qa)||qa instanceof this.constructor)dd(qa,nd);else if(utils$2.isString(qa)&&(qa=qa.trim())&&!isValidHeaderName(qa))dd(parseHeaders(qa),nd);else if(utils$2.isHeaders(qa))for(const[pd,fd]of qa.entries())ud(fd,pd,od);else qa!=null&&ud(nd,qa,od);return this}get(qa,nd){if(qa=normalizeHeader(qa),qa){const od=utils$2.findKey(this,qa);if(od){const ld=this[od];if(!nd)return ld;if(nd===!0)return parseTokens(ld);if(utils$2.isFunction(nd))return nd.call(this,ld,od);if(utils$2.isRegExp(nd))return nd.exec(ld);throw new TypeError("parser must be boolean|regexp|function")}}}has(qa,nd){if(qa=normalizeHeader(qa),qa){const od=utils$2.findKey(this,qa);return!!(od&&this[od]!==void 0&&(!nd||matchHeaderValue(this,this[od],od,nd)))}return!1}delete(qa,nd){const od=this;let ld=!1;function ud(dd){if(dd=normalizeHeader(dd),dd){const pd=utils$2.findKey(od,dd);pd&&(!nd||matchHeaderValue(od,od[pd],pd,nd))&&(delete od[pd],ld=!0)}}return utils$2.isArray(qa)?qa.forEach(ud):ud(qa),ld}clear(qa){const nd=Object.keys(this);let od=nd.length,ld=!1;for(;od--;){const ud=nd[od];(!qa||matchHeaderValue(this,this[ud],ud,qa,!0))&&(delete this[ud],ld=!0)}return ld}normalize(qa){const nd=this,od={};return utils$2.forEach(this,(ld,ud)=>{const dd=utils$2.findKey(od,ud);if(dd){nd[dd]=normalizeValue(ld),delete nd[ud];return}const pd=qa?formatHeader(ud):String(ud).trim();pd!==ud&&delete nd[ud],nd[pd]=normalizeValue(ld),od[pd]=!0}),this}concat(...qa){return this.constructor.concat(this,...qa)}toJSON(qa){const nd=Object.create(null);return utils$2.forEach(this,(od,ld)=>{od!=null&&od!==!1&&(nd[ld]=qa&&utils$2.isArray(od)?od.join(", "):od)}),nd}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([qa,nd])=>qa+": "+nd).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(qa){return qa instanceof this?qa:new this(qa)}static concat(qa,...nd){const od=new this(qa);return nd.forEach(ld=>od.set(ld)),od}static accessor(qa){const od=(this[$internals]=this[$internals]={accessors:{}}).accessors,ld=this.prototype;function ud(dd){const pd=normalizeHeader(dd);od[pd]||(buildAccessors(ld,dd),od[pd]=!0)}return utils$2.isArray(qa)?qa.forEach(ud):ud(qa),this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);utils$2.reduceDescriptors(AxiosHeaders.prototype,({value:Ra},qa)=>{let nd=qa[0].toUpperCase()+qa.slice(1);return{get:()=>Ra,set(od){this[nd]=od}}});utils$2.freezeMethods(AxiosHeaders);function transformData(Ra,qa){const nd=this||defaults$1,od=qa||nd,ld=AxiosHeaders.from(od.headers);let ud=od.data;return utils$2.forEach(Ra,function(pd){ud=pd.call(nd,ud,ld.normalize(),qa?qa.status:void 0)}),ld.normalize(),ud}function isCancel(Ra){return!!(Ra&&Ra.__CANCEL__)}function CanceledError(Ra,qa,nd){AxiosError.call(this,Ra??"canceled",AxiosError.ERR_CANCELED,qa,nd),this.name="CanceledError"}utils$2.inherits(CanceledError,AxiosError,{__CANCEL__:!0});function settle(Ra,qa,nd){const od=nd.config.validateStatus;!nd.status||!od||od(nd.status)?Ra(nd):qa(new AxiosError("Request failed with status code "+nd.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor(nd.status/100)-4],nd.config,nd.request,nd))}function parseProtocol(Ra){const qa=/^([-+\w]{1,25})(:?\/\/|:)/.exec(Ra);return qa&&qa[1]||""}function speedometer(Ra,qa){Ra=Ra||10;const nd=new Array(Ra),od=new Array(Ra);let ld=0,ud=0,dd;return qa=qa!==void 0?qa:1e3,function(fd){const md=Date.now(),vd=od[ud];dd||(dd=md),nd[ld]=fd,od[ld]=md;let Ad=ud,Nd=0;for(;Ad!==ld;)Nd+=nd[Ad++],Ad=Ad%Ra;if(ld=(ld+1)%Ra,ld===ud&&(ud=(ud+1)%Ra),md-dd<qa)return;const Od=vd&&md-vd;return Od?Math.round(Nd*1e3/Od):void 0}}function throttle(Ra,qa){let nd=0,od=1e3/qa,ld,ud;const dd=(md,vd=Date.now())=>{nd=vd,ld=null,ud&&(clearTimeout(ud),ud=null),Ra.apply(null,md)};return[(...md)=>{const vd=Date.now(),Ad=vd-nd;Ad>=od?dd(md,vd):(ld=md,ud||(ud=setTimeout(()=>{ud=null,dd(ld)},od-Ad)))},()=>ld&&dd(ld)]}const progressEventReducer=(Ra,qa,nd=3)=>{let od=0;const ld=speedometer(50,250);return throttle(ud=>{const dd=ud.loaded,pd=ud.lengthComputable?ud.total:void 0,fd=dd-od,md=ld(fd),vd=dd<=pd;od=dd;const Ad={loaded:dd,total:pd,progress:pd?dd/pd:void 0,bytes:fd,rate:md||void 0,estimated:md&&pd&&vd?(pd-dd)/md:void 0,event:ud,lengthComputable:pd!=null,[qa?"download":"upload"]:!0};Ra(Ad)},nd)},progressEventDecorator=(Ra,qa)=>{const nd=Ra!=null;return[od=>qa[0]({lengthComputable:nd,total:Ra,loaded:od}),qa[1]]},asyncDecorator=Ra=>(...qa)=>utils$2.asap(()=>Ra(...qa)),isURLSameOrigin=platform.hasStandardBrowserEnv?((Ra,qa)=>nd=>(nd=new URL(nd,platform.origin),Ra.protocol===nd.protocol&&Ra.host===nd.host&&(qa||Ra.port===nd.port)))(new URL(platform.origin),platform.navigator&&/(msie|trident)/i.test(platform.navigator.userAgent)):()=>!0,cookies=platform.hasStandardBrowserEnv?{write(Ra,qa,nd,od,ld,ud){const dd=[Ra+"="+encodeURIComponent(qa)];utils$2.isNumber(nd)&&dd.push("expires="+new Date(nd).toGMTString()),utils$2.isString(od)&&dd.push("path="+od),utils$2.isString(ld)&&dd.push("domain="+ld),ud===!0&&dd.push("secure"),document.cookie=dd.join("; ")},read(Ra){const qa=document.cookie.match(new RegExp("(^|;\\s*)("+Ra+")=([^;]*)"));return qa?decodeURIComponent(qa[3]):null},remove(Ra){this.write(Ra,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function isAbsoluteURL(Ra){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(Ra)}function combineURLs(Ra,qa){return qa?Ra.replace(/\/?\/$/,"")+"/"+qa.replace(/^\/+/,""):Ra}function buildFullPath(Ra,qa){return Ra&&!isAbsoluteURL(qa)?combineURLs(Ra,qa):qa}const headersToObject=Ra=>Ra instanceof AxiosHeaders?{...Ra}:Ra;function mergeConfig(Ra,qa){qa=qa||{};const nd={};function od(md,vd,Ad,Nd){return utils$2.isPlainObject(md)&&utils$2.isPlainObject(vd)?utils$2.merge.call({caseless:Nd},md,vd):utils$2.isPlainObject(vd)?utils$2.merge({},vd):utils$2.isArray(vd)?vd.slice():vd}function ld(md,vd,Ad,Nd){if(utils$2.isUndefined(vd)){if(!utils$2.isUndefined(md))return od(void 0,md,Ad,Nd)}else return od(md,vd,Ad,Nd)}function ud(md,vd){if(!utils$2.isUndefined(vd))return od(void 0,vd)}function dd(md,vd){if(utils$2.isUndefined(vd)){if(!utils$2.isUndefined(md))return od(void 0,md)}else return od(void 0,vd)}function pd(md,vd,Ad){if(Ad in qa)return od(md,vd);if(Ad in Ra)return od(void 0,md)}const fd={url:ud,method:ud,data:ud,baseURL:dd,transformRequest:dd,transformResponse:dd,paramsSerializer:dd,timeout:dd,timeoutMessage:dd,withCredentials:dd,withXSRFToken:dd,adapter:dd,responseType:dd,xsrfCookieName:dd,xsrfHeaderName:dd,onUploadProgress:dd,onDownloadProgress:dd,decompress:dd,maxContentLength:dd,maxBodyLength:dd,beforeRedirect:dd,transport:dd,httpAgent:dd,httpsAgent:dd,cancelToken:dd,socketPath:dd,responseEncoding:dd,validateStatus:pd,headers:(md,vd,Ad)=>ld(headersToObject(md),headersToObject(vd),Ad,!0)};return utils$2.forEach(Object.keys(Object.assign({},Ra,qa)),function(vd){const Ad=fd[vd]||ld,Nd=Ad(Ra[vd],qa[vd],vd);utils$2.isUndefined(Nd)&&Ad!==pd||(nd[vd]=Nd)}),nd}const resolveConfig=Ra=>{const qa=mergeConfig({},Ra);let{data:nd,withXSRFToken:od,xsrfHeaderName:ld,xsrfCookieName:ud,headers:dd,auth:pd}=qa;qa.headers=dd=AxiosHeaders.from(dd),qa.url=buildURL(buildFullPath(qa.baseURL,qa.url),Ra.params,Ra.paramsSerializer),pd&&dd.set("Authorization","Basic "+btoa((pd.username||"")+":"+(pd.password?unescape(encodeURIComponent(pd.password)):"")));let fd;if(utils$2.isFormData(nd)){if(platform.hasStandardBrowserEnv||platform.hasStandardBrowserWebWorkerEnv)dd.setContentType(void 0);else if((fd=dd.getContentType())!==!1){const[md,...vd]=fd?fd.split(";").map(Ad=>Ad.trim()).filter(Boolean):[];dd.setContentType([md||"multipart/form-data",...vd].join("; "))}}if(platform.hasStandardBrowserEnv&&(od&&utils$2.isFunction(od)&&(od=od(qa)),od||od!==!1&&isURLSameOrigin(qa.url))){const md=ld&&ud&&cookies.read(ud);md&&dd.set(ld,md)}return qa},isXHRAdapterSupported=typeof XMLHttpRequest<"u",xhrAdapter=isXHRAdapterSupported&&function(Ra){return new Promise(function(nd,od){const ld=resolveConfig(Ra);let ud=ld.data;const dd=AxiosHeaders.from(ld.headers).normalize();let{responseType:pd,onUploadProgress:fd,onDownloadProgress:md}=ld,vd,Ad,Nd,Od,kd;function Ld(){Od&&Od(),kd&&kd(),ld.cancelToken&&ld.cancelToken.unsubscribe(vd),ld.signal&&ld.signal.removeEventListener("abort",vd)}let Gd=new XMLHttpRequest;Gd.open(ld.method.toUpperCase(),ld.url,!0),Gd.timeout=ld.timeout;function jd(){if(!Gd)return;const Ud=AxiosHeaders.from("getAllResponseHeaders"in Gd&&Gd.getAllResponseHeaders()),zd={data:!pd||pd==="text"||pd==="json"?Gd.responseText:Gd.response,status:Gd.status,statusText:Gd.statusText,headers:Ud,config:Ra,request:Gd};settle(function(Jd){nd(Jd),Ld()},function(Jd){od(Jd),Ld()},zd),Gd=null}"onloadend"in Gd?Gd.onloadend=jd:Gd.onreadystatechange=function(){!Gd||Gd.readyState!==4||Gd.status===0&&!(Gd.responseURL&&Gd.responseURL.indexOf("file:")===0)||setTimeout(jd)},Gd.onabort=function(){Gd&&(od(new AxiosError("Request aborted",AxiosError.ECONNABORTED,Ra,Gd)),Gd=null)},Gd.onerror=function(){od(new AxiosError("Network Error",AxiosError.ERR_NETWORK,Ra,Gd)),Gd=null},Gd.ontimeout=function(){let qd=ld.timeout?"timeout of "+ld.timeout+"ms exceeded":"timeout exceeded";const zd=ld.transitional||transitionalDefaults;ld.timeoutErrorMessage&&(qd=ld.timeoutErrorMessage),od(new AxiosError(qd,zd.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,Ra,Gd)),Gd=null},ud===void 0&&dd.setContentType(null),"setRequestHeader"in Gd&&utils$2.forEach(dd.toJSON(),function(qd,zd){Gd.setRequestHeader(zd,qd)}),utils$2.isUndefined(ld.withCredentials)||(Gd.withCredentials=!!ld.withCredentials),pd&&pd!=="json"&&(Gd.responseType=ld.responseType),md&&([Nd,kd]=progressEventReducer(md,!0),Gd.addEventListener("progress",Nd)),fd&&Gd.upload&&([Ad,Od]=progressEventReducer(fd),Gd.upload.addEventListener("progress",Ad),Gd.upload.addEventListener("loadend",Od)),(ld.cancelToken||ld.signal)&&(vd=Ud=>{Gd&&(od(!Ud||Ud.type?new CanceledError(null,Ra,Gd):Ud),Gd.abort(),Gd=null)},ld.cancelToken&&ld.cancelToken.subscribe(vd),ld.signal&&(ld.signal.aborted?vd():ld.signal.addEventListener("abort",vd)));const Fd=parseProtocol(ld.url);if(Fd&&platform.protocols.indexOf(Fd)===-1){od(new AxiosError("Unsupported protocol "+Fd+":",AxiosError.ERR_BAD_REQUEST,Ra));return}Gd.send(ud||null)})},composeSignals=(Ra,qa)=>{const{length:nd}=Ra=Ra?Ra.filter(Boolean):[];if(qa||nd){let od=new AbortController,ld;const ud=function(md){if(!ld){ld=!0,pd();const vd=md instanceof Error?md:this.reason;od.abort(vd instanceof AxiosError?vd:new CanceledError(vd instanceof Error?vd.message:vd))}};let dd=qa&&setTimeout(()=>{dd=null,ud(new AxiosError(`timeout ${qa} of ms exceeded`,AxiosError.ETIMEDOUT))},qa);const pd=()=>{Ra&&(dd&&clearTimeout(dd),dd=null,Ra.forEach(md=>{md.unsubscribe?md.unsubscribe(ud):md.removeEventListener("abort",ud)}),Ra=null)};Ra.forEach(md=>md.addEventListener("abort",ud));const{signal:fd}=od;return fd.unsubscribe=()=>utils$2.asap(pd),fd}},streamChunk=function*(Ra,qa){let nd=Ra.byteLength;if(nd<qa){yield Ra;return}let od=0,ld;for(;od<nd;)ld=od+qa,yield Ra.slice(od,ld),od=ld},readBytes=async function*(Ra,qa){for await(const nd of readStream(Ra))yield*streamChunk(nd,qa)},readStream=async function*(Ra){if(Ra[Symbol.asyncIterator]){yield*Ra;return}const qa=Ra.getReader();try{for(;;){const{done:nd,value:od}=await qa.read();if(nd)break;yield od}}finally{await qa.cancel()}},trackStream=(Ra,qa,nd,od)=>{const ld=readBytes(Ra,qa);let ud=0,dd,pd=fd=>{dd||(dd=!0,od&&od(fd))};return new ReadableStream({async pull(fd){try{const{done:md,value:vd}=await ld.next();if(md){pd(),fd.close();return}let Ad=vd.byteLength;if(nd){let Nd=ud+=Ad;nd(Nd)}fd.enqueue(new Uint8Array(vd))}catch(md){throw pd(md),md}},cancel(fd){return pd(fd),ld.return()}},{highWaterMark:2})},isFetchSupported=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",isReadableStreamSupported=isFetchSupported&&typeof ReadableStream=="function",encodeText=isFetchSupported&&(typeof TextEncoder=="function"?(Ra=>qa=>Ra.encode(qa))(new TextEncoder):async Ra=>new Uint8Array(await new Response(Ra).arrayBuffer())),test=(Ra,...qa)=>{try{return!!Ra(...qa)}catch{return!1}},supportsRequestStream=isReadableStreamSupported&&test(()=>{let Ra=!1;const qa=new Request(platform.origin,{body:new ReadableStream,method:"POST",get duplex(){return Ra=!0,"half"}}).headers.has("Content-Type");return Ra&&!qa}),DEFAULT_CHUNK_SIZE$1=64*1024,supportsResponseStream=isReadableStreamSupported&&test(()=>utils$2.isReadableStream(new Response("").body)),resolvers={stream:supportsResponseStream&&(Ra=>Ra.body)};isFetchSupported&&(Ra=>{["text","arrayBuffer","blob","formData","stream"].forEach(qa=>{!resolvers[qa]&&(resolvers[qa]=utils$2.isFunction(Ra[qa])?nd=>nd[qa]():(nd,od)=>{throw new AxiosError(`Response type '${qa}' is not supported`,AxiosError.ERR_NOT_SUPPORT,od)})})})(new Response);const getBodyLength=async Ra=>{if(Ra==null)return 0;if(utils$2.isBlob(Ra))return Ra.size;if(utils$2.isSpecCompliantForm(Ra))return(await new Request(platform.origin,{method:"POST",body:Ra}).arrayBuffer()).byteLength;if(utils$2.isArrayBufferView(Ra)||utils$2.isArrayBuffer(Ra))return Ra.byteLength;if(utils$2.isURLSearchParams(Ra)&&(Ra=Ra+""),utils$2.isString(Ra))return(await encodeText(Ra)).byteLength},resolveBodyLength=async(Ra,qa)=>{const nd=utils$2.toFiniteNumber(Ra.getContentLength());return nd??getBodyLength(qa)},fetchAdapter=isFetchSupported&&(async Ra=>{let{url:qa,method:nd,data:od,signal:ld,cancelToken:ud,timeout:dd,onDownloadProgress:pd,onUploadProgress:fd,responseType:md,headers:vd,withCredentials:Ad="same-origin",fetchOptions:Nd}=resolveConfig(Ra);md=md?(md+"").toLowerCase():"text";let Od=composeSignals([ld,ud&&ud.toAbortSignal()],dd),kd;const Ld=Od&&Od.unsubscribe&&(()=>{Od.unsubscribe()});let Gd;try{if(fd&&supportsRequestStream&&nd!=="get"&&nd!=="head"&&(Gd=await resolveBodyLength(vd,od))!==0){let zd=new Request(qa,{method:"POST",body:od,duplex:"half"}),Wd;if(utils$2.isFormData(od)&&(Wd=zd.headers.get("content-type"))&&vd.setContentType(Wd),zd.body){const[Jd,_f]=progressEventDecorator(Gd,progressEventReducer(asyncDecorator(fd)));od=trackStream(zd.body,DEFAULT_CHUNK_SIZE$1,Jd,_f)}}utils$2.isString(Ad)||(Ad=Ad?"include":"omit");const jd="credentials"in Request.prototype;kd=new Request(qa,{...Nd,signal:Od,method:nd.toUpperCase(),headers:vd.normalize().toJSON(),body:od,duplex:"half",credentials:jd?Ad:void 0});let Fd=await fetch(kd);const Ud=supportsResponseStream&&(md==="stream"||md==="response");if(supportsResponseStream&&(pd||Ud&&Ld)){const zd={};["status","statusText","headers"].forEach(Xd=>{zd[Xd]=Fd[Xd]});const Wd=utils$2.toFiniteNumber(Fd.headers.get("content-length")),[Jd,_f]=pd&&progressEventDecorator(Wd,progressEventReducer(asyncDecorator(pd),!0))||[];Fd=new Response(trackStream(Fd.body,DEFAULT_CHUNK_SIZE$1,Jd,()=>{_f&&_f(),Ld&&Ld()}),zd)}md=md||"text";let qd=await resolvers[utils$2.findKey(resolvers,md)||"text"](Fd,Ra);return!Ud&&Ld&&Ld(),await new Promise((zd,Wd)=>{settle(zd,Wd,{data:qd,headers:AxiosHeaders.from(Fd.headers),status:Fd.status,statusText:Fd.statusText,config:Ra,request:kd})})}catch(jd){throw Ld&&Ld(),jd&&jd.name==="TypeError"&&/fetch/i.test(jd.message)?Object.assign(new AxiosError("Network Error",AxiosError.ERR_NETWORK,Ra,kd),{cause:jd.cause||jd}):AxiosError.from(jd,jd&&jd.code,Ra,kd)}}),knownAdapters={http:httpAdapter,xhr:xhrAdapter,fetch:fetchAdapter};utils$2.forEach(knownAdapters,(Ra,qa)=>{if(Ra){try{Object.defineProperty(Ra,"name",{value:qa})}catch{}Object.defineProperty(Ra,"adapterName",{value:qa})}});const renderReason=Ra=>`- ${Ra}`,isResolvedHandle=Ra=>utils$2.isFunction(Ra)||Ra===null||Ra===!1,adapters={getAdapter:Ra=>{Ra=utils$2.isArray(Ra)?Ra:[Ra];const{length:qa}=Ra;let nd,od;const ld={};for(let ud=0;ud<qa;ud++){nd=Ra[ud];let dd;if(od=nd,!isResolvedHandle(nd)&&(od=knownAdapters[(dd=String(nd)).toLowerCase()],od===void 0))throw new AxiosError(`Unknown adapter '${dd}'`);if(od)break;ld[dd||"#"+ud]=od}if(!od){const ud=Object.entries(ld).map(([pd,fd])=>`adapter ${pd} `+(fd===!1?"is not supported by the environment":"is not available in the build"));let dd=qa?ud.length>1?`since :
`+ud.map(renderReason).join(`
`):" "+renderReason(ud[0]):"as no adapter specified";throw new AxiosError("There is no suitable adapter to dispatch the request "+dd,"ERR_NOT_SUPPORT")}return od},adapters:knownAdapters};function throwIfCancellationRequested(Ra){if(Ra.cancelToken&&Ra.cancelToken.throwIfRequested(),Ra.signal&&Ra.signal.aborted)throw new CanceledError(null,Ra)}function dispatchRequest(Ra){return throwIfCancellationRequested(Ra),Ra.headers=AxiosHeaders.from(Ra.headers),Ra.data=transformData.call(Ra,Ra.transformRequest),["post","put","patch"].indexOf(Ra.method)!==-1&&Ra.headers.setContentType("application/x-www-form-urlencoded",!1),adapters.getAdapter(Ra.adapter||defaults$1.adapter)(Ra).then(function(od){return throwIfCancellationRequested(Ra),od.data=transformData.call(Ra,Ra.transformResponse,od),od.headers=AxiosHeaders.from(od.headers),od},function(od){return isCancel(od)||(throwIfCancellationRequested(Ra),od&&od.response&&(od.response.data=transformData.call(Ra,Ra.transformResponse,od.response),od.response.headers=AxiosHeaders.from(od.response.headers))),Promise.reject(od)})}const VERSION="1.7.8",validators$1={};["object","boolean","number","function","string","symbol"].forEach((Ra,qa)=>{validators$1[Ra]=function(od){return typeof od===Ra||"a"+(qa<1?"n ":" ")+Ra}});const deprecatedWarnings={};validators$1.transitional=function(qa,nd,od){function ld(ud,dd){return"[Axios v"+VERSION+"] Transitional option '"+ud+"'"+dd+(od?". "+od:"")}return(ud,dd,pd)=>{if(qa===!1)throw new AxiosError(ld(dd," has been removed"+(nd?" in "+nd:"")),AxiosError.ERR_DEPRECATED);return nd&&!deprecatedWarnings[dd]&&(deprecatedWarnings[dd]=!0,console.warn(ld(dd," has been deprecated since v"+nd+" and will be removed in the near future"))),qa?qa(ud,dd,pd):!0}};validators$1.spelling=function(qa){return(nd,od)=>(console.warn(`${od} is likely a misspelling of ${qa}`),!0)};function assertOptions(Ra,qa,nd){if(typeof Ra!="object")throw new AxiosError("options must be an object",AxiosError.ERR_BAD_OPTION_VALUE);const od=Object.keys(Ra);let ld=od.length;for(;ld-- >0;){const ud=od[ld],dd=qa[ud];if(dd){const pd=Ra[ud],fd=pd===void 0||dd(pd,ud,Ra);if(fd!==!0)throw new AxiosError("option "+ud+" must be "+fd,AxiosError.ERR_BAD_OPTION_VALUE);continue}if(nd!==!0)throw new AxiosError("Unknown option "+ud,AxiosError.ERR_BAD_OPTION)}}const validator$6={assertOptions,validators:validators$1},validators=validator$6.validators;class Axios{constructor(qa){this.defaults=qa,this.interceptors={request:new InterceptorManager,response:new InterceptorManager}}async request(qa,nd){try{return await this._request(qa,nd)}catch(od){if(od instanceof Error){let ld={};Error.captureStackTrace?Error.captureStackTrace(ld):ld=new Error;const ud=ld.stack?ld.stack.replace(/^.+\n/,""):"";try{od.stack?ud&&!String(od.stack).endsWith(ud.replace(/^.+\n.+\n/,""))&&(od.stack+=`
`+ud):od.stack=ud}catch{}}throw od}}_request(qa,nd){typeof qa=="string"?(nd=nd||{},nd.url=qa):nd=qa||{},nd=mergeConfig(this.defaults,nd);const{transitional:od,paramsSerializer:ld,headers:ud}=nd;od!==void 0&&validator$6.assertOptions(od,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},!1),ld!=null&&(utils$2.isFunction(ld)?nd.paramsSerializer={serialize:ld}:validator$6.assertOptions(ld,{encode:validators.function,serialize:validators.function},!0)),validator$6.assertOptions(nd,{baseUrl:validators.spelling("baseURL"),withXsrfToken:validators.spelling("withXSRFToken")},!0),nd.method=(nd.method||this.defaults.method||"get").toLowerCase();let dd=ud&&utils$2.merge(ud.common,ud[nd.method]);ud&&utils$2.forEach(["delete","get","head","post","put","patch","common"],kd=>{delete ud[kd]}),nd.headers=AxiosHeaders.concat(dd,ud);const pd=[];let fd=!0;this.interceptors.request.forEach(function(Ld){typeof Ld.runWhen=="function"&&Ld.runWhen(nd)===!1||(fd=fd&&Ld.synchronous,pd.unshift(Ld.fulfilled,Ld.rejected))});const md=[];this.interceptors.response.forEach(function(Ld){md.push(Ld.fulfilled,Ld.rejected)});let vd,Ad=0,Nd;if(!fd){const kd=[dispatchRequest.bind(this),void 0];for(kd.unshift.apply(kd,pd),kd.push.apply(kd,md),Nd=kd.length,vd=Promise.resolve(nd);Ad<Nd;)vd=vd.then(kd[Ad++],kd[Ad++]);return vd}Nd=pd.length;let Od=nd;for(Ad=0;Ad<Nd;){const kd=pd[Ad++],Ld=pd[Ad++];try{Od=kd(Od)}catch(Gd){Ld.call(this,Gd);break}}try{vd=dispatchRequest.call(this,Od)}catch(kd){return Promise.reject(kd)}for(Ad=0,Nd=md.length;Ad<Nd;)vd=vd.then(md[Ad++],md[Ad++]);return vd}getUri(qa){qa=mergeConfig(this.defaults,qa);const nd=buildFullPath(qa.baseURL,qa.url);return buildURL(nd,qa.params,qa.paramsSerializer)}}utils$2.forEach(["delete","get","head","options"],function(qa){Axios.prototype[qa]=function(nd,od){return this.request(mergeConfig(od||{},{method:qa,url:nd,data:(od||{}).data}))}});utils$2.forEach(["post","put","patch"],function(qa){function nd(od){return function(ud,dd,pd){return this.request(mergeConfig(pd||{},{method:qa,headers:od?{"Content-Type":"multipart/form-data"}:{},url:ud,data:dd}))}}Axios.prototype[qa]=nd(),Axios.prototype[qa+"Form"]=nd(!0)});class CancelToken{constructor(qa){if(typeof qa!="function")throw new TypeError("executor must be a function.");let nd;this.promise=new Promise(function(ud){nd=ud});const od=this;this.promise.then(ld=>{if(!od._listeners)return;let ud=od._listeners.length;for(;ud-- >0;)od._listeners[ud](ld);od._listeners=null}),this.promise.then=ld=>{let ud;const dd=new Promise(pd=>{od.subscribe(pd),ud=pd}).then(ld);return dd.cancel=function(){od.unsubscribe(ud)},dd},qa(function(ud,dd,pd){od.reason||(od.reason=new CanceledError(ud,dd,pd),nd(od.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(qa){if(this.reason){qa(this.reason);return}this._listeners?this._listeners.push(qa):this._listeners=[qa]}unsubscribe(qa){if(!this._listeners)return;const nd=this._listeners.indexOf(qa);nd!==-1&&this._listeners.splice(nd,1)}toAbortSignal(){const qa=new AbortController,nd=od=>{qa.abort(od)};return this.subscribe(nd),qa.signal.unsubscribe=()=>this.unsubscribe(nd),qa.signal}static source(){let qa;return{token:new CancelToken(function(ld){qa=ld}),cancel:qa}}}function spread(Ra){return function(nd){return Ra.apply(null,nd)}}function isAxiosError(Ra){return utils$2.isObject(Ra)&&Ra.isAxiosError===!0}const HttpStatusCode={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(HttpStatusCode).forEach(([Ra,qa])=>{HttpStatusCode[qa]=Ra});function createInstance(Ra){const qa=new Axios(Ra),nd=bind(Axios.prototype.request,qa);return utils$2.extend(nd,Axios.prototype,qa,{allOwnKeys:!0}),utils$2.extend(nd,qa,null,{allOwnKeys:!0}),nd.create=function(ld){return createInstance(mergeConfig(Ra,ld))},nd}const axios=createInstance(defaults$1);axios.Axios=Axios;axios.CanceledError=CanceledError;axios.CancelToken=CancelToken;axios.isCancel=isCancel;axios.VERSION=VERSION;axios.toFormData=toFormData;axios.AxiosError=AxiosError;axios.Cancel=axios.CanceledError;axios.all=function(qa){return Promise.all(qa)};axios.spread=spread;axios.isAxiosError=isAxiosError;axios.mergeConfig=mergeConfig;axios.AxiosHeaders=AxiosHeaders;axios.formToJSON=Ra=>formDataToJSON(utils$2.isHTMLForm(Ra)?new FormData(Ra):Ra);axios.getAdapter=adapters.getAdapter;axios.HttpStatusCode=HttpStatusCode;axios.default=axios;const service=axios.create({baseURL:"",timeout:30*1e3});service.interceptors.request.use(Ra=>(/^(?:post|put|delete)$/i.test(`${Ra.method}`)&&Ra.data&&Ra.data.upload&&(Ra.headers["Content-Type"]="multipart/form-data"),Ra),Ra=>{Promise.reject(Ra)});service.interceptors.response.use(Ra=>Ra.data?Ra.data:Promise.reject(Ra),Ra=>Promise.reject(Ra));function utf16to8(Ra){let qa="";const nd=Ra.length;for(let od=0;od<nd;od++){const ld=Ra.charCodeAt(od);ld>=1&&ld<=127?qa+=Ra.charAt(od):ld>2047?(qa+=String.fromCharCode(224|ld>>12&15),qa+=String.fromCharCode(128|ld>>6&63),qa+=String.fromCharCode(128|ld&63)):(qa+=String.fromCharCode(192|ld>>6&31),qa+=String.fromCharCode(128|ld&63))}return qa}function utf8to16(Ra){let qa="",nd=0;const od=Ra.length;for(;nd<od;){const ld=Ra.charCodeAt(nd++);let ud,dd;switch(ld>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:qa+=Ra.charAt(nd-1);break;case 12:case 13:ud=Ra.charCodeAt(nd++),qa+=String.fromCharCode((ld&31)<<6|ud&63);break;case 14:ud=Ra.charCodeAt(nd++),dd=Ra.charCodeAt(nd++),qa+=String.fromCharCode((ld&15)<<12|(ud&63)<<6|dd&63);break}}return qa}const base64EncodeChars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",base64DecodeChars=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1];function base64encode(Ra){let qa="",nd=0;const od=Ra.length;for(;nd<od;){const ld=Ra.charCodeAt(nd++)&255;if(nd===od){qa+=base64EncodeChars.charAt(ld>>2),qa+=base64EncodeChars.charAt((ld&3)<<4),qa+="==";break}const ud=Ra.charCodeAt(nd++);if(nd===od){qa+=base64EncodeChars.charAt(ld>>2),qa+=base64EncodeChars.charAt((ld&3)<<4|(ud&240)>>4),qa+=base64EncodeChars.charAt((ud&15)<<2),qa+="=";break}const dd=Ra.charCodeAt(nd++);qa+=base64EncodeChars.charAt(ld>>2),qa+=base64EncodeChars.charAt((ld&3)<<4|(ud&240)>>4),qa+=base64EncodeChars.charAt((ud&15)<<2|(dd&192)>>6),qa+=base64EncodeChars.charAt(dd&63)}return qa}function base64decode(Ra){let qa,nd,od,ld,ud=0;const dd=Ra.length;let pd="";for(;ud<dd;){do qa=base64DecodeChars[Ra.charCodeAt(ud++)&255];while(ud<dd&&qa===-1);if(qa===-1)break;do nd=base64DecodeChars[Ra.charCodeAt(ud++)&255];while(ud<dd&&nd===-1);if(nd===-1)break;pd+=String.fromCharCode(qa<<2|(nd&48)>>4);do{if(od=Ra.charCodeAt(ud++)&255,od===61)return pd;od=base64DecodeChars[od]}while(ud<dd&&od===-1);if(od===-1)break;pd+=String.fromCharCode((nd&15)<<4|(od&60)>>2);do{if(ld=Ra.charCodeAt(ud++)&255,ld===61)return pd;ld=base64DecodeChars[ld]}while(ud<dd&&ld===-1);if(ld===-1)break;pd+=String.fromCharCode((od&3)<<6|ld)}return pd}function safe64(Ra){return Ra=Ra.replace(/\+/g,"-"),Ra=Ra.replace(/\//g,"_"),Ra}const tokenTools=Object.freeze(Object.defineProperty({__proto__:null,base64decode,base64encode,safe64,utf16to8,utf8to16},Symbol.toStringTag,{value:"Module"})),getHttpHandlerExtensionConfiguration=Ra=>{let qa=Ra.httpHandler;return{setHttpHandler(nd){qa=nd},httpHandler(){return qa},updateHttpClientConfig(nd,od){qa.updateHttpClientConfig(nd,od)},httpHandlerConfigs(){return qa.httpHandlerConfigs()}}},resolveHttpHandlerRuntimeConfig=Ra=>({httpHandler:Ra.httpHandler()});var HttpAuthLocation;(function(Ra){Ra.HEADER="header",Ra.QUERY="query"})(HttpAuthLocation||(HttpAuthLocation={}));var HttpApiKeyAuthLocation;(function(Ra){Ra.HEADER="header",Ra.QUERY="query"})(HttpApiKeyAuthLocation||(HttpApiKeyAuthLocation={}));var EndpointURLScheme;(function(Ra){Ra.HTTP="http",Ra.HTTPS="https"})(EndpointURLScheme||(EndpointURLScheme={}));var AlgorithmId;(function(Ra){Ra.MD5="md5",Ra.CRC32="crc32",Ra.CRC32C="crc32c",Ra.SHA1="sha1",Ra.SHA256="sha256"})(AlgorithmId||(AlgorithmId={}));var FieldPosition;(function(Ra){Ra[Ra.HEADER=0]="HEADER",Ra[Ra.TRAILER=1]="TRAILER"})(FieldPosition||(FieldPosition={}));const SMITHY_CONTEXT_KEY="__smithy_context";var IniSectionType;(function(Ra){Ra.PROFILE="profile",Ra.SSO_SESSION="sso-session",Ra.SERVICES="services"})(IniSectionType||(IniSectionType={}));var RequestHandlerProtocol;(function(Ra){Ra.HTTP_0_9="http/0.9",Ra.HTTP_1_0="http/1.0",Ra.TDS_8_0="tds/8.0"})(RequestHandlerProtocol||(RequestHandlerProtocol={}));class HttpRequest{constructor(qa){this.method=qa.method||"GET",this.hostname=qa.hostname||"localhost",this.port=qa.port,this.query=qa.query||{},this.headers=qa.headers||{},this.body=qa.body,this.protocol=qa.protocol?qa.protocol.slice(-1)!==":"?`${qa.protocol}:`:qa.protocol:"https:",this.path=qa.path?qa.path.charAt(0)!=="/"?`/${qa.path}`:qa.path:"/",this.username=qa.username,this.password=qa.password,this.fragment=qa.fragment}static clone(qa){const nd=new HttpRequest({...qa,headers:{...qa.headers}});return nd.query&&(nd.query=cloneQuery(nd.query)),nd}static isInstance(qa){if(!qa)return!1;const nd=qa;return"method"in nd&&"protocol"in nd&&"hostname"in nd&&"path"in nd&&typeof nd.query=="object"&&typeof nd.headers=="object"}clone(){return HttpRequest.clone(this)}}function cloneQuery(Ra){return Object.keys(Ra).reduce((qa,nd)=>{const od=Ra[nd];return{...qa,[nd]:Array.isArray(od)?[...od]:od}},{})}class HttpResponse{constructor(qa){this.statusCode=qa.statusCode,this.reason=qa.reason,this.headers=qa.headers||{},this.body=qa.body}static isInstance(qa){if(!qa)return!1;const nd=qa;return typeof nd.statusCode=="number"&&typeof nd.headers=="object"}}function addExpectContinueMiddleware(Ra){return qa=>async nd=>{var ld,ud;const{request:od}=nd;return HttpRequest.isInstance(od)&&od.body&&Ra.runtime==="node"&&((ud=(ld=Ra.requestHandler)==null?void 0:ld.constructor)==null?void 0:ud.name)!=="FetchHttpHandler"&&(od.headers={...od.headers,Expect:"100-continue"}),qa({...nd,request:od})}}const addExpectContinueMiddlewareOptions={step:"build",tags:["SET_EXPECT_HEADER","EXPECT_HEADER"],name:"addExpectContinueMiddleware",override:!0},getAddExpectContinuePlugin=Ra=>({applyToStack:qa=>{qa.add(addExpectContinueMiddleware(Ra),addExpectContinueMiddlewareOptions)}}),RequestChecksumCalculation={WHEN_SUPPORTED:"WHEN_SUPPORTED",WHEN_REQUIRED:"WHEN_REQUIRED"},DEFAULT_REQUEST_CHECKSUM_CALCULATION=RequestChecksumCalculation.WHEN_SUPPORTED,DEFAULT_RESPONSE_CHECKSUM_VALIDATION=RequestChecksumCalculation.WHEN_SUPPORTED;var ChecksumAlgorithm;(function(Ra){Ra.MD5="MD5",Ra.CRC32="CRC32",Ra.CRC32C="CRC32C",Ra.SHA1="SHA1",Ra.SHA256="SHA256"})(ChecksumAlgorithm||(ChecksumAlgorithm={}));var ChecksumLocation;(function(Ra){Ra.HEADER="header",Ra.TRAILER="trailer"})(ChecksumLocation||(ChecksumLocation={}));const DEFAULT_CHECKSUM_ALGORITHM=ChecksumAlgorithm.MD5,S3_EXPRESS_DEFAULT_CHECKSUM_ALGORITHM=ChecksumAlgorithm.CRC32;var SelectorType$1;(function(Ra){Ra.ENV="env",Ra.CONFIG="shared config entry"})(SelectorType$1||(SelectorType$1={}));function setCredentialFeature(Ra,qa,nd){return Ra.$source||(Ra.$source={}),Ra.$source[qa]=nd,Ra}function setFeature$1(Ra,qa,nd){Ra.__aws_sdk_context?Ra.__aws_sdk_context.features||(Ra.__aws_sdk_context.features={}):Ra.__aws_sdk_context={features:{}},Ra.__aws_sdk_context.features[qa]=nd}const getDateHeader=Ra=>{var qa,nd;return HttpResponse.isInstance(Ra)?((qa=Ra.headers)==null?void 0:qa.date)??((nd=Ra.headers)==null?void 0:nd.Date):void 0},getSkewCorrectedDate=Ra=>new Date(Date.now()+Ra),isClockSkewed=(Ra,qa)=>Math.abs(getSkewCorrectedDate(qa).getTime()-Ra)>=3e5,getUpdatedSystemClockOffset=(Ra,qa)=>{const nd=Date.parse(Ra);return isClockSkewed(nd,qa)?nd-Date.now():qa},throwSigningPropertyError=(Ra,qa)=>{if(!qa)throw new Error(`Property \`${Ra}\` is not resolved for AWS SDK SigV4Auth`);return qa},validateSigningProperties=async Ra=>{var md,vd,Ad;const qa=throwSigningPropertyError("context",Ra.context),nd=throwSigningPropertyError("config",Ra.config),od=(Ad=(vd=(md=qa.endpointV2)==null?void 0:md.properties)==null?void 0:vd.authSchemes)==null?void 0:Ad[0],ud=await throwSigningPropertyError("signer",nd.signer)(od),dd=Ra==null?void 0:Ra.signingRegion,pd=Ra==null?void 0:Ra.signingRegionSet,fd=Ra==null?void 0:Ra.signingName;return{config:nd,signer:ud,signingRegion:dd,signingRegionSet:pd,signingName:fd}};class AwsSdkSigV4Signer{async sign(qa,nd,od){var Ad;if(!HttpRequest.isInstance(qa))throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");const ld=await validateSigningProperties(od),{config:ud,signer:dd}=ld;let{signingRegion:pd,signingName:fd}=ld;const md=od.context;if(((Ad=md==null?void 0:md.authSchemes)==null?void 0:Ad.length)??!1){const[Nd,Od]=md.authSchemes;(Nd==null?void 0:Nd.name)==="sigv4a"&&(Od==null?void 0:Od.name)==="sigv4"&&(pd=(Od==null?void 0:Od.signingRegion)??pd,fd=(Od==null?void 0:Od.signingName)??fd)}return await dd.sign(qa,{signingDate:getSkewCorrectedDate(ud.systemClockOffset),signingRegion:pd,signingService:fd})}errorHandler(qa){return nd=>{const od=nd.ServerTime??getDateHeader(nd.$response);if(od){const ld=throwSigningPropertyError("config",qa.config),ud=ld.systemClockOffset;ld.systemClockOffset=getUpdatedSystemClockOffset(od,ld.systemClockOffset),ld.systemClockOffset!==ud&&nd.$metadata&&(nd.$metadata.clockSkewCorrected=!0)}throw nd}}successHandler(qa,nd){const od=getDateHeader(qa);if(od){const ld=throwSigningPropertyError("config",nd.config);ld.systemClockOffset=getUpdatedSystemClockOffset(od,ld.systemClockOffset)}}}class AwsSdkSigV4ASigner extends AwsSdkSigV4Signer{async sign(qa,nd,od){var Nd;if(!HttpRequest.isInstance(qa))throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");const{config:ld,signer:ud,signingRegion:dd,signingRegionSet:pd,signingName:fd}=await validateSigningProperties(od),vd=(await((Nd=ld.sigv4aSigningRegionSet)==null?void 0:Nd.call(ld))??pd??[dd]).join(",");return await ud.sign(qa,{signingDate:getSkewCorrectedDate(ld.systemClockOffset),signingRegion:vd,signingService:fd})}}const getSmithyContext=Ra=>Ra[SMITHY_CONTEXT_KEY]||(Ra[SMITHY_CONTEXT_KEY]={}),normalizeProvider$1=Ra=>{if(typeof Ra=="function")return Ra;const qa=Promise.resolve(Ra);return()=>qa};function convertHttpAuthSchemesToMap(Ra){const qa=new Map;for(const nd of Ra)qa.set(nd.schemeId,nd);return qa}const httpAuthSchemeMiddleware=(Ra,qa)=>(nd,od)=>async ld=>{var md;const ud=Ra.httpAuthSchemeProvider(await qa.httpAuthSchemeParametersProvider(Ra,od,ld.input)),dd=convertHttpAuthSchemesToMap(Ra.httpAuthSchemes),pd=getSmithyContext(od),fd=[];for(const vd of ud){const Ad=dd.get(vd.schemeId);if(!Ad){fd.push(`HttpAuthScheme \`${vd.schemeId}\` was not enabled for this service.`);continue}const Nd=Ad.identityProvider(await qa.identityProviderConfigProvider(Ra));if(!Nd){fd.push(`HttpAuthScheme \`${vd.schemeId}\` did not have an IdentityProvider configured.`);continue}const{identityProperties:Od={},signingProperties:kd={}}=((md=vd.propertiesExtractor)==null?void 0:md.call(vd,Ra,od))||{};vd.identityProperties=Object.assign(vd.identityProperties||{},Od),vd.signingProperties=Object.assign(vd.signingProperties||{},kd),pd.selectedHttpAuthScheme={httpAuthOption:vd,identity:await Nd(vd.identityProperties),signer:Ad.signer};break}if(!pd.selectedHttpAuthScheme)throw new Error(fd.join(`
`));return nd(ld)},httpAuthSchemeEndpointRuleSetMiddlewareOptions={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"},getHttpAuthSchemeEndpointRuleSetPlugin=(Ra,{httpAuthSchemeParametersProvider:qa,identityProviderConfigProvider:nd})=>({applyToStack:od=>{od.addRelativeTo(httpAuthSchemeMiddleware(Ra,{httpAuthSchemeParametersProvider:qa,identityProviderConfigProvider:nd}),httpAuthSchemeEndpointRuleSetMiddlewareOptions)}}),deserializerMiddleware=(Ra,qa)=>nd=>async od=>{const{response:ld}=await nd(od);try{const ud=await qa(ld,Ra);return{response:ld,output:ud}}catch(ud){if(Object.defineProperty(ud,"$response",{value:ld}),!("$metadata"in ud)){const dd="Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.";ud.message+=`
`+dd,typeof ud.$responseBodyText<"u"&&ud.$response&&(ud.$response.body=ud.$responseBodyText)}throw ud}},serializerMiddleware=(Ra,qa)=>(nd,od)=>async ld=>{var pd;const ud=(pd=od.endpointV2)!=null&&pd.url&&Ra.urlParser?async()=>Ra.urlParser(od.endpointV2.url):Ra.endpoint;if(!ud)throw new Error("No valid endpoint provider available.");const dd=await qa(ld.input,{...Ra,endpoint:ud});return nd({...ld,request:dd})},deserializerMiddlewareOption={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},serializerMiddlewareOption={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};function getSerdePlugin(Ra,qa,nd){return{applyToStack:od=>{od.add(deserializerMiddleware(Ra,nd),deserializerMiddlewareOption),od.add(serializerMiddleware(Ra,qa),serializerMiddlewareOption)}}}serializerMiddlewareOption.name;const defaultErrorHandler$1=Ra=>qa=>{throw qa},defaultSuccessHandler$1=(Ra,qa)=>{},httpSigningMiddleware=Ra=>(qa,nd)=>async od=>{if(!HttpRequest.isInstance(od.request))return qa(od);const ud=getSmithyContext(nd).selectedHttpAuthScheme;if(!ud)throw new Error("No HttpAuthScheme was selected: unable to sign request");const{httpAuthOption:{signingProperties:dd={}},identity:pd,signer:fd}=ud,md=await qa({...od,request:await fd.sign(od.request,pd,dd)}).catch((fd.errorHandler||defaultErrorHandler$1)(dd));return(fd.successHandler||defaultSuccessHandler$1)(md.response,dd),md},httpSigningMiddlewareOptions={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:"retryMiddleware"},getHttpSigningPlugin=Ra=>({applyToStack:qa=>{qa.addRelativeTo(httpSigningMiddleware(),httpSigningMiddlewareOptions)}}),normalizeProvider=Ra=>{if(typeof Ra=="function")return Ra;const qa=Promise.resolve(Ra);return()=>qa},alphabetByEncoding={},alphabetByValue=new Array(64);for(let Ra=0,qa=65,nd=90;Ra+qa<=nd;Ra++){const od=String.fromCharCode(Ra+qa);alphabetByEncoding[od]=Ra,alphabetByValue[Ra]=od}for(let Ra=0,qa=97,nd=122;Ra+qa<=nd;Ra++){const od=String.fromCharCode(Ra+qa),ld=Ra+26;alphabetByEncoding[od]=ld,alphabetByValue[ld]=od}for(let Ra=0;Ra<10;Ra++){alphabetByEncoding[Ra.toString(10)]=Ra+52;const qa=Ra.toString(10),nd=Ra+52;alphabetByEncoding[qa]=nd,alphabetByValue[nd]=qa}alphabetByEncoding["+"]=62;alphabetByValue[62]="+";alphabetByEncoding["/"]=63;alphabetByValue[63]="/";const bitsPerLetter=6,bitsPerByte=8,maxLetterValue=63,fromBase64=Ra=>{let qa=Ra.length/4*3;Ra.slice(-2)==="=="?qa-=2:Ra.slice(-1)==="="&&qa--;const nd=new ArrayBuffer(qa),od=new DataView(nd);for(let ld=0;ld<Ra.length;ld+=4){let ud=0,dd=0;for(let md=ld,vd=ld+3;md<=vd;md++)if(Ra[md]!=="="){if(!(Ra[md]in alphabetByEncoding))throw new TypeError(`Invalid character ${Ra[md]} in base64 string.`);ud|=alphabetByEncoding[Ra[md]]<<(vd-md)*bitsPerLetter,dd+=bitsPerLetter}else ud>>=bitsPerLetter;const pd=ld/4*3;ud>>=dd%bitsPerByte;const fd=Math.floor(dd/bitsPerByte);for(let md=0;md<fd;md++){const vd=(fd-md-1)*bitsPerByte;od.setUint8(pd+md,(ud&255<<vd)>>vd)}}return new Uint8Array(nd)},fromUtf8$3=Ra=>new TextEncoder().encode(Ra),toUint8Array=Ra=>typeof Ra=="string"?fromUtf8$3(Ra):ArrayBuffer.isView(Ra)?new Uint8Array(Ra.buffer,Ra.byteOffset,Ra.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(Ra),toUtf8=Ra=>{if(typeof Ra=="string")return Ra;if(typeof Ra!="object"||typeof Ra.byteOffset!="number"||typeof Ra.byteLength!="number")throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return new TextDecoder("utf-8").decode(Ra)};function toBase64(Ra){let qa;typeof Ra=="string"?qa=fromUtf8$3(Ra):qa=Ra;const nd=typeof qa=="object"&&typeof qa.length=="number",od=typeof qa=="object"&&typeof qa.byteOffset=="number"&&typeof qa.byteLength=="number";if(!nd&&!od)throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");let ld="";for(let ud=0;ud<qa.length;ud+=3){let dd=0,pd=0;for(let md=ud,vd=Math.min(ud+3,qa.length);md<vd;md++)dd|=qa[md]<<(vd-md-1)*bitsPerByte,pd+=bitsPerByte;const fd=Math.ceil(pd/bitsPerLetter);dd<<=fd*bitsPerLetter-pd;for(let md=1;md<=fd;md++){const vd=(fd-md)*bitsPerLetter;ld+=alphabetByValue[(dd&maxLetterValue<<vd)>>vd]}ld+="==".slice(0,4-fd)}return ld}function transformToString(Ra,qa="utf-8"){return qa==="base64"?toBase64(Ra):toUtf8(Ra)}function transformFromString(Ra,qa){return qa==="base64"?Uint8ArrayBlobAdapter.mutate(fromBase64(Ra)):Uint8ArrayBlobAdapter.mutate(fromUtf8$3(Ra))}class Uint8ArrayBlobAdapter extends Uint8Array{static fromString(qa,nd="utf-8"){switch(typeof qa){case"string":return transformFromString(qa,nd);default:throw new Error(`Unsupported conversion from ${typeof qa} to Uint8ArrayBlobAdapter.`)}}static mutate(qa){return Object.setPrototypeOf(qa,Uint8ArrayBlobAdapter.prototype),qa}transformToString(qa="utf-8"){return transformToString(this,qa)}}const getAwsChunkedEncodingStream=(Ra,qa)=>{const{base64Encoder:nd,bodyLengthChecker:od,checksumAlgorithmFn:ld,checksumLocationName:ud,streamHasher:dd}=qa,pd=nd!==void 0&&od!==void 0&&ld!==void 0&&ud!==void 0&&dd!==void 0,fd=pd?dd(ld,Ra):void 0,md=Ra.getReader();return new ReadableStream({async pull(vd){const{value:Ad,done:Nd}=await md.read();if(Nd){if(vd.enqueue(`0\r
`),pd){const Od=nd(await fd);vd.enqueue(`${ud}:${Od}\r
`),vd.enqueue(`\r
`)}vd.close()}else vd.enqueue(`${(od(Ad)||0).toString(16)}\r
${Ad}\r
`)}})},escapeUri=Ra=>encodeURIComponent(Ra).replace(/[!'()*]/g,hexEncode),hexEncode=Ra=>`%${Ra.charCodeAt(0).toString(16).toUpperCase()}`;function buildQueryString(Ra){const qa=[];for(let nd of Object.keys(Ra).sort()){const od=Ra[nd];if(nd=escapeUri(nd),Array.isArray(od))for(let ld=0,ud=od.length;ld<ud;ld++)qa.push(`${nd}=${escapeUri(od[ld])}`);else{let ld=nd;(od||typeof od=="string")&&(ld+=`=${escapeUri(od)}`),qa.push(ld)}}return qa.join("&")}function createRequest(Ra,qa){return new Request(Ra,qa)}function requestTimeout(Ra=0){return new Promise((qa,nd)=>{Ra&&setTimeout(()=>{const od=new Error(`Request did not complete within ${Ra} ms`);od.name="TimeoutError",nd(od)},Ra)})}const keepAliveSupport={supported:void 0};class FetchHttpHandler{static create(qa){return typeof(qa==null?void 0:qa.handle)=="function"?qa:new FetchHttpHandler(qa)}constructor(qa){typeof qa=="function"?this.configProvider=qa().then(nd=>nd||{}):(this.config=qa??{},this.configProvider=Promise.resolve(this.config)),keepAliveSupport.supported===void 0&&(keepAliveSupport.supported=typeof Request<"u"&&"keepalive"in createRequest("https://[::1]"))}destroy(){}async handle(qa,{abortSignal:nd}={}){var jd;this.config||(this.config=await this.configProvider);const od=this.config.requestTimeout,ld=this.config.keepAlive===!0,ud=this.config.credentials;if(nd!=null&&nd.aborted){const Fd=new Error("Request aborted");return Fd.name="AbortError",Promise.reject(Fd)}let dd=qa.path;const pd=buildQueryString(qa.query||{});pd&&(dd+=`?${pd}`),qa.fragment&&(dd+=`#${qa.fragment}`);let fd="";if(qa.username!=null||qa.password!=null){const Fd=qa.username??"",Ud=qa.password??"";fd=`${Fd}:${Ud}@`}const{port:md,method:vd}=qa,Ad=`${qa.protocol}//${fd}${qa.hostname}${md?`:${md}`:""}${dd}`,Nd=vd==="GET"||vd==="HEAD"?void 0:qa.body,Od={body:Nd,headers:new Headers(qa.headers),method:vd,credentials:ud};(jd=this.config)!=null&&jd.cache&&(Od.cache=this.config.cache),Nd&&(Od.duplex="half"),typeof AbortController<"u"&&(Od.signal=nd),keepAliveSupport.supported&&(Od.keepalive=ld),typeof this.config.requestInit=="function"&&Object.assign(Od,this.config.requestInit(qa));let kd=()=>{};const Ld=createRequest(Ad,Od),Gd=[fetch(Ld).then(Fd=>{const Ud=Fd.headers,qd={};for(const Wd of Ud.entries())qd[Wd[0]]=Wd[1];return Fd.body!=null?{response:new HttpResponse({headers:qd,reason:Fd.statusText,statusCode:Fd.status,body:Fd.body})}:Fd.blob().then(Wd=>({response:new HttpResponse({headers:qd,reason:Fd.statusText,statusCode:Fd.status,body:Wd})}))}),requestTimeout(od)];return nd&&Gd.push(new Promise((Fd,Ud)=>{const qd=()=>{const zd=new Error("Request aborted");zd.name="AbortError",Ud(zd)};if(typeof nd.addEventListener=="function"){const zd=nd;zd.addEventListener("abort",qd,{once:!0}),kd=()=>zd.removeEventListener("abort",qd)}else nd.onabort=qd})),Promise.race(Gd).finally(kd)}updateHttpClientConfig(qa,nd){this.config=void 0,this.configProvider=this.configProvider.then(od=>(od[qa]=nd,od))}httpHandlerConfigs(){return this.config??{}}}const streamCollector=async Ra=>{var qa;return typeof Blob=="function"&&Ra instanceof Blob||((qa=Ra.constructor)==null?void 0:qa.name)==="Blob"?new Uint8Array(await Ra.arrayBuffer()):collectStream(Ra)};async function collectStream(Ra){const qa=[],nd=Ra.getReader();let od=!1,ld=0;for(;!od;){const{done:pd,value:fd}=await nd.read();fd&&(qa.push(fd),ld+=fd.length),od=pd}const ud=new Uint8Array(ld);let dd=0;for(const pd of qa)ud.set(pd,dd),dd+=pd.length;return ud}const SHORT_TO_HEX={},HEX_TO_SHORT={};for(let Ra=0;Ra<256;Ra++){let qa=Ra.toString(16).toLowerCase();qa.length===1&&(qa=`0${qa}`),SHORT_TO_HEX[Ra]=qa,HEX_TO_SHORT[qa]=Ra}function fromHex(Ra){if(Ra.length%2!==0)throw new Error("Hex encoded strings must have an even number length");const qa=new Uint8Array(Ra.length/2);for(let nd=0;nd<Ra.length;nd+=2){const od=Ra.slice(nd,nd+2).toLowerCase();if(od in HEX_TO_SHORT)qa[nd/2]=HEX_TO_SHORT[od];else throw new Error(`Cannot decode unrecognized sequence ${od} as hexadecimal`)}return qa}function toHex(Ra){let qa="";for(let nd=0;nd<Ra.byteLength;nd++)qa+=SHORT_TO_HEX[Ra[nd]];return qa}const isReadableStream$2=Ra=>{var qa;return typeof ReadableStream=="function"&&(((qa=Ra==null?void 0:Ra.constructor)==null?void 0:qa.name)===ReadableStream.name||Ra instanceof ReadableStream)},ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED="The stream has already been transformed.",sdkStreamMixin=Ra=>{var ld,ud;if(!isBlobInstance(Ra)&&!isReadableStream$2(Ra)){const dd=((ud=(ld=Ra==null?void 0:Ra.__proto__)==null?void 0:ld.constructor)==null?void 0:ud.name)||Ra;throw new Error(`Unexpected stream implementation, expect Blob or ReadableStream, got ${dd}`)}let qa=!1;const nd=async()=>{if(qa)throw new Error(ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED);return qa=!0,await streamCollector(Ra)},od=dd=>{if(typeof dd.stream!="function")throw new Error(`Cannot transform payload Blob to web stream. Please make sure the Blob.stream() is polyfilled.
If you are using React Native, this API is not yet supported, see: https://react-native.canny.io/feature-requests/p/fetch-streaming-body`);return dd.stream()};return Object.assign(Ra,{transformToByteArray:nd,transformToString:async dd=>{const pd=await nd();if(dd==="base64")return toBase64(pd);if(dd==="hex")return toHex(pd);if(dd===void 0||dd==="utf8"||dd==="utf-8")return toUtf8(pd);if(typeof TextDecoder=="function")return new TextDecoder(dd).decode(pd);throw new Error("TextDecoder is not available, please make sure polyfill is provided.")},transformToWebStream:()=>{if(qa)throw new Error(ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED);if(qa=!0,isBlobInstance(Ra))return od(Ra);if(isReadableStream$2(Ra))return Ra;throw new Error(`Cannot transform payload to web stream, got ${Ra}`)}})},isBlobInstance=Ra=>typeof Blob=="function"&&Ra instanceof Blob;async function splitStream(Ra){return typeof Ra.stream=="function"&&(Ra=Ra.stream()),Ra.tee()}async function headStream(Ra,qa){let nd=0;const od=[],ld=Ra.getReader();let ud=!1;for(;!ud;){const{done:fd,value:md}=await ld.read();if(md&&(od.push(md),nd+=(md==null?void 0:md.byteLength)??0),nd>=qa)break;ud=fd}ld.releaseLock();const dd=new Uint8Array(Math.min(qa,nd));let pd=0;for(const fd of od){if(fd.byteLength>dd.byteLength-pd){dd.set(fd.subarray(0,dd.byteLength-pd),pd);break}else dd.set(fd,pd);pd+=fd.length}return dd}const ReadableStreamRef=typeof ReadableStream=="function"?ReadableStream:function(){};class ChecksumStream extends ReadableStreamRef{}const createChecksumStream=({expectedChecksum:Ra,checksum:qa,source:nd,checksumSourceLocation:od,base64Encoder:ld})=>{var fd;if(!isReadableStream$2(nd))throw new Error(`@smithy/util-stream: unsupported source type ${((fd=nd==null?void 0:nd.constructor)==null?void 0:fd.name)??nd} in ChecksumStream.`);const ud=ld??toBase64;if(typeof TransformStream!="function")throw new Error("@smithy/util-stream: unable to instantiate ChecksumStream because API unavailable: ReadableStream/TransformStream.");const dd=new TransformStream({start(){},async transform(md,vd){qa.update(md),vd.enqueue(md)},async flush(md){const vd=await qa.digest(),Ad=ud(vd);if(Ra!==Ad){const Nd=new Error(`Checksum mismatch: expected "${Ra}" but received "${Ad}" in response header "${od}".`);md.error(Nd)}else md.terminate()}});nd.pipeThrough(dd);const pd=dd.readable;return Object.setPrototypeOf(pd,ChecksumStream.prototype),pd},collectBody$1=async(Ra=new Uint8Array,qa)=>{if(Ra instanceof Uint8Array)return Uint8ArrayBlobAdapter.mutate(Ra);if(!Ra)return Uint8ArrayBlobAdapter.mutate(new Uint8Array);const nd=qa.streamCollector(Ra);return Uint8ArrayBlobAdapter.mutate(await nd)};function extendedEncodeURIComponent(Ra){return encodeURIComponent(Ra).replace(/[!'()*]/g,function(qa){return"%"+qa.charCodeAt(0).toString(16).toUpperCase()})}const resolvedPath=(Ra,qa,nd,od,ld,ud)=>{if(qa!=null&&qa[nd]!==void 0){const dd=od();if(dd.length<=0)throw new Error("Empty value provided for input HTTP label: "+nd+".");Ra=Ra.replace(ld,ud?dd.split("/").map(pd=>extendedEncodeURIComponent(pd)).join("/"):extendedEncodeURIComponent(dd))}else throw new Error("No value provided for input HTTP label: "+nd+".");return Ra};function requestBuilder(Ra,qa){return new RequestBuilder(Ra,qa)}class RequestBuilder{constructor(qa,nd){this.input=qa,this.context=nd,this.query={},this.method="",this.headers={},this.path="",this.body=null,this.hostname="",this.resolvePathStack=[]}async build(){const{hostname:qa,protocol:nd="https",port:od,path:ld}=await this.context.endpoint();this.path=ld;for(const ud of this.resolvePathStack)ud(this.path);return new HttpRequest({protocol:nd,hostname:this.hostname||qa,port:od,method:this.method,path:this.path,query:this.query,body:this.body,headers:this.headers})}hn(qa){return this.hostname=qa,this}bp(qa){return this.resolvePathStack.push(nd=>{this.path=`${nd!=null&&nd.endsWith("/")?nd.slice(0,-1):nd||""}`+qa}),this}p(qa,nd,od,ld){return this.resolvePathStack.push(ud=>{this.path=resolvedPath(ud,this.input,qa,nd,od,ld)}),this}h(qa){return this.headers=qa,this}q(qa){return this.query=qa,this}b(qa){return this.body=qa,this}m(qa){return this.method=qa,this}}function setFeature(Ra,qa,nd){Ra.__smithy_context?Ra.__smithy_context.features||(Ra.__smithy_context.features={}):Ra.__smithy_context={features:{}},Ra.__smithy_context.features[qa]=nd}class DefaultIdentityProviderConfig{constructor(qa){this.authSchemes=new Map;for(const[nd,od]of Object.entries(qa))od!==void 0&&this.authSchemes.set(nd,od)}getIdentityProvider(qa){return this.authSchemes.get(qa)}}const createIsIdentityExpiredFunction=Ra=>qa=>doesIdentityRequireRefresh(qa)&&qa.expiration.getTime()-Date.now()<Ra,EXPIRATION_MS=3e5,isIdentityExpired=createIsIdentityExpiredFunction(EXPIRATION_MS),doesIdentityRequireRefresh=Ra=>Ra.expiration!==void 0,memoizeIdentityProvider=(Ra,qa,nd)=>{if(Ra===void 0)return;const od=typeof Ra!="function"?async()=>Promise.resolve(Ra):Ra;let ld,ud,dd,pd=!1;const fd=async md=>{ud||(ud=od(md));try{ld=await ud,dd=!0,pd=!1}finally{ud=void 0}return ld};return qa===void 0?async md=>((!dd||md!=null&&md.forceRefresh)&&(ld=await fd(md)),ld):async md=>((!dd||md!=null&&md.forceRefresh)&&(ld=await fd(md)),pd?ld:nd(ld)?(qa(ld)&&await fd(md),ld):(pd=!0,ld))},memoize$1=(Ra,qa,nd)=>{let od,ld,ud,dd=!1;const pd=async()=>{ld||(ld=Ra());try{od=await ld,ud=!0,dd=!1}finally{ld=void 0}return od};return async fd=>((!ud||fd!=null&&fd.forceRefresh)&&(od=await pd()),od)},resolveAwsSdkSigV4AConfig=Ra=>(Ra.sigv4aSigningRegionSet=normalizeProvider(Ra.sigv4aSigningRegionSet),Ra),ALGORITHM_QUERY_PARAM="X-Amz-Algorithm",CREDENTIAL_QUERY_PARAM="X-Amz-Credential",AMZ_DATE_QUERY_PARAM="X-Amz-Date",SIGNED_HEADERS_QUERY_PARAM="X-Amz-SignedHeaders",EXPIRES_QUERY_PARAM="X-Amz-Expires",SIGNATURE_QUERY_PARAM="X-Amz-Signature",TOKEN_QUERY_PARAM="X-Amz-Security-Token",AUTH_HEADER="authorization",AMZ_DATE_HEADER=AMZ_DATE_QUERY_PARAM.toLowerCase(),DATE_HEADER="date",GENERATED_HEADERS=[AUTH_HEADER,AMZ_DATE_HEADER,DATE_HEADER],SIGNATURE_HEADER=SIGNATURE_QUERY_PARAM.toLowerCase(),SHA256_HEADER="x-amz-content-sha256",TOKEN_HEADER=TOKEN_QUERY_PARAM.toLowerCase(),ALWAYS_UNSIGNABLE_HEADERS={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},PROXY_HEADER_PATTERN=/^proxy-/,SEC_HEADER_PATTERN=/^sec-/,ALGORITHM_IDENTIFIER="AWS4-HMAC-SHA256",EVENT_ALGORITHM_IDENTIFIER="AWS4-HMAC-SHA256-PAYLOAD",UNSIGNED_PAYLOAD="UNSIGNED-PAYLOAD",MAX_CACHE_SIZE=50,KEY_TYPE_IDENTIFIER="aws4_request",MAX_PRESIGNED_TTL=60*60*24*7,signingKeyCache={},cacheQueue=[],createScope=(Ra,qa,nd)=>`${Ra}/${qa}/${nd}/${KEY_TYPE_IDENTIFIER}`,getSigningKey$1=async(Ra,qa,nd,od,ld)=>{const ud=await hmac$1(Ra,qa.secretAccessKey,qa.accessKeyId),dd=`${nd}:${od}:${ld}:${toHex(ud)}:${qa.sessionToken}`;if(dd in signingKeyCache)return signingKeyCache[dd];for(cacheQueue.push(dd);cacheQueue.length>MAX_CACHE_SIZE;)delete signingKeyCache[cacheQueue.shift()];let pd=`AWS4${qa.secretAccessKey}`;for(const fd of[nd,od,ld,KEY_TYPE_IDENTIFIER])pd=await hmac$1(Ra,pd,fd);return signingKeyCache[dd]=pd},hmac$1=(Ra,qa,nd)=>{const od=new Ra(qa);return od.update(toUint8Array(nd)),od.digest()},getCanonicalHeaders=({headers:Ra},qa,nd)=>{const od={};for(const ld of Object.keys(Ra).sort()){if(Ra[ld]==null)continue;const ud=ld.toLowerCase();(ud in ALWAYS_UNSIGNABLE_HEADERS||qa!=null&&qa.has(ud)||PROXY_HEADER_PATTERN.test(ud)||SEC_HEADER_PATTERN.test(ud))&&(!nd||nd&&!nd.has(ud))||(od[ud]=Ra[ld].trim().replace(/\s+/g," "))}return od},getCanonicalQuery=({query:Ra={}})=>{const qa=[],nd={};for(const od of Object.keys(Ra)){if(od.toLowerCase()===SIGNATURE_HEADER)continue;const ld=escapeUri(od);qa.push(ld);const ud=Ra[od];typeof ud=="string"?nd[ld]=`${ld}=${escapeUri(ud)}`:Array.isArray(ud)&&(nd[ld]=ud.slice(0).reduce((dd,pd)=>dd.concat([`${ld}=${escapeUri(pd)}`]),[]).sort().join("&"))}return qa.sort().map(od=>nd[od]).filter(od=>od).join("&")},isArrayBuffer$1=Ra=>typeof ArrayBuffer=="function"&&Ra instanceof ArrayBuffer||Object.prototype.toString.call(Ra)==="[object ArrayBuffer]",getPayloadHash=async({headers:Ra,body:qa},nd)=>{for(const od of Object.keys(Ra))if(od.toLowerCase()===SHA256_HEADER)return Ra[od];if(qa==null)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";if(typeof qa=="string"||ArrayBuffer.isView(qa)||isArrayBuffer$1(qa)){const od=new nd;return od.update(toUint8Array(qa)),toHex(await od.digest())}return UNSIGNED_PAYLOAD};class HeaderFormatter{format(qa){const nd=[];for(const ud of Object.keys(qa)){const dd=fromUtf8$3(ud);nd.push(Uint8Array.from([dd.byteLength]),dd,this.formatHeaderValue(qa[ud]))}const od=new Uint8Array(nd.reduce((ud,dd)=>ud+dd.byteLength,0));let ld=0;for(const ud of nd)od.set(ud,ld),ld+=ud.byteLength;return od}formatHeaderValue(qa){switch(qa.type){case"boolean":return Uint8Array.from([qa.value?0:1]);case"byte":return Uint8Array.from([2,qa.value]);case"short":const nd=new DataView(new ArrayBuffer(3));return nd.setUint8(0,3),nd.setInt16(1,qa.value,!1),new Uint8Array(nd.buffer);case"integer":const od=new DataView(new ArrayBuffer(5));return od.setUint8(0,4),od.setInt32(1,qa.value,!1),new Uint8Array(od.buffer);case"long":const ld=new Uint8Array(9);return ld[0]=5,ld.set(qa.value.bytes,1),ld;case"binary":const ud=new DataView(new ArrayBuffer(3+qa.value.byteLength));ud.setUint8(0,6),ud.setUint16(1,qa.value.byteLength,!1);const dd=new Uint8Array(ud.buffer);return dd.set(qa.value,3),dd;case"string":const pd=fromUtf8$3(qa.value),fd=new DataView(new ArrayBuffer(3+pd.byteLength));fd.setUint8(0,7),fd.setUint16(1,pd.byteLength,!1);const md=new Uint8Array(fd.buffer);return md.set(pd,3),md;case"timestamp":const vd=new Uint8Array(9);return vd[0]=8,vd.set(Int64$1.fromNumber(qa.value.valueOf()).bytes,1),vd;case"uuid":if(!UUID_PATTERN$1.test(qa.value))throw new Error(`Invalid UUID received: ${qa.value}`);const Ad=new Uint8Array(17);return Ad[0]=9,Ad.set(fromHex(qa.value.replace(/\-/g,"")),1),Ad}}}var HEADER_VALUE_TYPE$1;(function(Ra){Ra[Ra.boolTrue=0]="boolTrue",Ra[Ra.boolFalse=1]="boolFalse",Ra[Ra.byte=2]="byte",Ra[Ra.short=3]="short",Ra[Ra.integer=4]="integer",Ra[Ra.long=5]="long",Ra[Ra.byteArray=6]="byteArray",Ra[Ra.string=7]="string",Ra[Ra.timestamp=8]="timestamp",Ra[Ra.uuid=9]="uuid"})(HEADER_VALUE_TYPE$1||(HEADER_VALUE_TYPE$1={}));const UUID_PATTERN$1=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;let Int64$1=class NC{constructor(qa){if(this.bytes=qa,qa.byteLength!==8)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(qa){if(qa>9223372036854776e3||qa<-9223372036854776e3)throw new Error(`${qa} is too large (or, if negative, too small) to represent as an Int64`);const nd=new Uint8Array(8);for(let od=7,ld=Math.abs(Math.round(qa));od>-1&&ld>0;od--,ld/=256)nd[od]=ld;return qa<0&&negate$1(nd),new NC(nd)}valueOf(){const qa=this.bytes.slice(0),nd=qa[0]&128;return nd&&negate$1(qa),parseInt(toHex(qa),16)*(nd?-1:1)}toString(){return String(this.valueOf())}};function negate$1(Ra){for(let qa=0;qa<8;qa++)Ra[qa]^=255;for(let qa=7;qa>-1&&(Ra[qa]++,Ra[qa]===0);qa--);}const hasHeader$1=(Ra,qa)=>{Ra=Ra.toLowerCase();for(const nd of Object.keys(qa))if(Ra===nd.toLowerCase())return!0;return!1},moveHeadersToQuery=(Ra,qa={})=>{var ld,ud;const{headers:nd,query:od={}}=HttpRequest.clone(Ra);for(const dd of Object.keys(nd)){const pd=dd.toLowerCase();(pd.slice(0,6)==="x-amz-"&&!((ld=qa.unhoistableHeaders)!=null&&ld.has(pd))||(ud=qa.hoistableHeaders)!=null&&ud.has(pd))&&(od[dd]=nd[dd],delete nd[dd])}return{...Ra,headers:nd,query:od}},prepareRequest=Ra=>{Ra=HttpRequest.clone(Ra);for(const qa of Object.keys(Ra.headers))GENERATED_HEADERS.indexOf(qa.toLowerCase())>-1&&delete Ra.headers[qa];return Ra},iso8601=Ra=>toDate(Ra).toISOString().replace(/\.\d{3}Z$/,"Z"),toDate=Ra=>typeof Ra=="number"?new Date(Ra*1e3):typeof Ra=="string"?Number(Ra)?new Date(Number(Ra)*1e3):new Date(Ra):Ra;class SignatureV4{constructor({applyChecksum:qa,credentials:nd,region:od,service:ld,sha256:ud,uriEscapePath:dd=!0}){this.headerFormatter=new HeaderFormatter,this.service=ld,this.sha256=ud,this.uriEscapePath=dd,this.applyChecksum=typeof qa=="boolean"?qa:!0,this.regionProvider=normalizeProvider$1(od),this.credentialProvider=normalizeProvider$1(nd)}async presign(qa,nd={}){const{signingDate:od=new Date,expiresIn:ld=3600,unsignableHeaders:ud,unhoistableHeaders:dd,signableHeaders:pd,hoistableHeaders:fd,signingRegion:md,signingService:vd}=nd,Ad=await this.credentialProvider();this.validateResolvedCredentials(Ad);const Nd=md??await this.regionProvider(),{longDate:Od,shortDate:kd}=formatDate(od);if(ld>MAX_PRESIGNED_TTL)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");const Ld=createScope(kd,Nd,vd??this.service),Gd=moveHeadersToQuery(prepareRequest(qa),{unhoistableHeaders:dd,hoistableHeaders:fd});Ad.sessionToken&&(Gd.query[TOKEN_QUERY_PARAM]=Ad.sessionToken),Gd.query[ALGORITHM_QUERY_PARAM]=ALGORITHM_IDENTIFIER,Gd.query[CREDENTIAL_QUERY_PARAM]=`${Ad.accessKeyId}/${Ld}`,Gd.query[AMZ_DATE_QUERY_PARAM]=Od,Gd.query[EXPIRES_QUERY_PARAM]=ld.toString(10);const jd=getCanonicalHeaders(Gd,ud,pd);return Gd.query[SIGNED_HEADERS_QUERY_PARAM]=getCanonicalHeaderList(jd),Gd.query[SIGNATURE_QUERY_PARAM]=await this.getSignature(Od,Ld,this.getSigningKey(Ad,Nd,kd,vd),this.createCanonicalRequest(Gd,jd,await getPayloadHash(qa,this.sha256))),Gd}async sign(qa,nd){return typeof qa=="string"?this.signString(qa,nd):qa.headers&&qa.payload?this.signEvent(qa,nd):qa.message?this.signMessage(qa,nd):this.signRequest(qa,nd)}async signEvent({headers:qa,payload:nd},{signingDate:od=new Date,priorSignature:ld,signingRegion:ud,signingService:dd}){const pd=ud??await this.regionProvider(),{shortDate:fd,longDate:md}=formatDate(od),vd=createScope(fd,pd,dd??this.service),Ad=await getPayloadHash({headers:{},body:nd},this.sha256),Nd=new this.sha256;Nd.update(qa);const Od=toHex(await Nd.digest()),kd=[EVENT_ALGORITHM_IDENTIFIER,md,vd,ld,Od,Ad].join(`
`);return this.signString(kd,{signingDate:od,signingRegion:pd,signingService:dd})}async signMessage(qa,{signingDate:nd=new Date,signingRegion:od,signingService:ld}){return this.signEvent({headers:this.headerFormatter.format(qa.message.headers),payload:qa.message.body},{signingDate:nd,signingRegion:od,signingService:ld,priorSignature:qa.priorSignature}).then(dd=>({message:qa.message,signature:dd}))}async signString(qa,{signingDate:nd=new Date,signingRegion:od,signingService:ld}={}){const ud=await this.credentialProvider();this.validateResolvedCredentials(ud);const dd=od??await this.regionProvider(),{shortDate:pd}=formatDate(nd),fd=new this.sha256(await this.getSigningKey(ud,dd,pd,ld));return fd.update(toUint8Array(qa)),toHex(await fd.digest())}async signRequest(qa,{signingDate:nd=new Date,signableHeaders:od,unsignableHeaders:ld,signingRegion:ud,signingService:dd}={}){const pd=await this.credentialProvider();this.validateResolvedCredentials(pd);const fd=ud??await this.regionProvider(),md=prepareRequest(qa),{longDate:vd,shortDate:Ad}=formatDate(nd),Nd=createScope(Ad,fd,dd??this.service);md.headers[AMZ_DATE_HEADER]=vd,pd.sessionToken&&(md.headers[TOKEN_HEADER]=pd.sessionToken);const Od=await getPayloadHash(md,this.sha256);!hasHeader$1(SHA256_HEADER,md.headers)&&this.applyChecksum&&(md.headers[SHA256_HEADER]=Od);const kd=getCanonicalHeaders(md,ld,od),Ld=await this.getSignature(vd,Nd,this.getSigningKey(pd,fd,Ad,dd),this.createCanonicalRequest(md,kd,Od));return md.headers[AUTH_HEADER]=`${ALGORITHM_IDENTIFIER} Credential=${pd.accessKeyId}/${Nd}, SignedHeaders=${getCanonicalHeaderList(kd)}, Signature=${Ld}`,md}createCanonicalRequest(qa,nd,od){const ld=Object.keys(nd).sort();return`${qa.method}
${this.getCanonicalPath(qa)}
${getCanonicalQuery(qa)}
${ld.map(ud=>`${ud}:${nd[ud]}`).join(`
`)}
${ld.join(";")}
${od}`}async createStringToSign(qa,nd,od){const ld=new this.sha256;ld.update(toUint8Array(od));const ud=await ld.digest();return`${ALGORITHM_IDENTIFIER}
${qa}
${nd}
${toHex(ud)}`}getCanonicalPath({path:qa}){if(this.uriEscapePath){const nd=[];for(const ud of qa.split("/"))(ud==null?void 0:ud.length)!==0&&ud!=="."&&(ud===".."?nd.pop():nd.push(ud));const od=`${qa!=null&&qa.startsWith("/")?"/":""}${nd.join("/")}${nd.length>0&&(qa!=null&&qa.endsWith("/"))?"/":""}`;return escapeUri(od).replace(/%2F/g,"/")}return qa}async getSignature(qa,nd,od,ld){const ud=await this.createStringToSign(qa,nd,ld),dd=new this.sha256(await od);return dd.update(toUint8Array(ud)),toHex(await dd.digest())}getSigningKey(qa,nd,od,ld){return getSigningKey$1(this.sha256,qa,od,nd,ld||this.service)}validateResolvedCredentials(qa){if(typeof qa!="object"||typeof qa.accessKeyId!="string"||typeof qa.secretAccessKey!="string")throw new Error("Resolved credential object is not valid")}}const formatDate=Ra=>{const qa=iso8601(Ra).replace(/[\-:]/g,"");return{longDate:qa,shortDate:qa.slice(0,8)}},getCanonicalHeaderList=Ra=>Object.keys(Ra).sort().join(";"),resolveAwsSdkSigV4Config=Ra=>{let qa=!1,nd;Ra.credentials&&(qa=!0,nd=memoizeIdentityProvider(Ra.credentials,isIdentityExpired,doesIdentityRequireRefresh)),nd||(Ra.credentialDefaultProvider?nd=normalizeProvider(Ra.credentialDefaultProvider(Object.assign({},Ra,{parentClientConfig:Ra}))):nd=async()=>{throw new Error("`credentials` is missing")});const od=async()=>nd({callerClientConfig:Ra}),{signingEscapePath:ld=!0,systemClockOffset:ud=Ra.systemClockOffset||0,sha256:dd}=Ra;let pd;return Ra.signer?pd=normalizeProvider(Ra.signer):Ra.regionInfoProvider?pd=()=>normalizeProvider(Ra.region)().then(async fd=>[await Ra.regionInfoProvider(fd,{useFipsEndpoint:await Ra.useFipsEndpoint(),useDualstackEndpoint:await Ra.useDualstackEndpoint()})||{},fd]).then(([fd,md])=>{const{signingRegion:vd,signingService:Ad}=fd;Ra.signingRegion=Ra.signingRegion||vd||md,Ra.signingName=Ra.signingName||Ad||Ra.serviceId;const Nd={...Ra,credentials:od,region:Ra.signingRegion,service:Ra.signingName,sha256:dd,uriEscapePath:ld},Od=Ra.signerConstructor||SignatureV4;return new Od(Nd)}):pd=async fd=>{fd=Object.assign({},{name:"sigv4",signingName:Ra.signingName||Ra.defaultSigningName,signingRegion:await normalizeProvider(Ra.region)(),properties:{}},fd);const md=fd.signingRegion,vd=fd.signingName;Ra.signingRegion=Ra.signingRegion||md,Ra.signingName=Ra.signingName||vd||Ra.serviceId;const Ad={...Ra,credentials:od,region:Ra.signingRegion,service:Ra.signingName,sha256:dd,uriEscapePath:ld},Nd=Ra.signerConstructor||SignatureV4;return new Nd(Ad)},{...Ra,systemClockOffset:ud,signingEscapePath:ld,credentials:qa?async()=>od().then(fd=>setCredentialFeature(fd,"CREDENTIALS_CODE","e")):od,signer:pd}},getAllAliases=(Ra,qa)=>{const nd=[];if(Ra&&nd.push(Ra),qa)for(const od of qa)nd.push(od);return nd},getMiddlewareNameWithAliases=(Ra,qa)=>`${Ra||"anonymous"}${qa&&qa.length>0?` (a.k.a. ${qa.join(",")})`:""}`,constructStack=()=>{let Ra=[],qa=[],nd=!1;const od=new Set,ld=Ad=>Ad.sort((Nd,Od)=>stepWeights[Od.step]-stepWeights[Nd.step]||priorityWeights[Od.priority||"normal"]-priorityWeights[Nd.priority||"normal"]),ud=Ad=>{let Nd=!1;const Od=kd=>{const Ld=getAllAliases(kd.name,kd.aliases);if(Ld.includes(Ad)){Nd=!0;for(const Gd of Ld)od.delete(Gd);return!1}return!0};return Ra=Ra.filter(Od),qa=qa.filter(Od),Nd},dd=Ad=>{let Nd=!1;const Od=kd=>{if(kd.middleware===Ad){Nd=!0;for(const Ld of getAllAliases(kd.name,kd.aliases))od.delete(Ld);return!1}return!0};return Ra=Ra.filter(Od),qa=qa.filter(Od),Nd},pd=Ad=>{var Nd;return Ra.forEach(Od=>{Ad.add(Od.middleware,{...Od})}),qa.forEach(Od=>{Ad.addRelativeTo(Od.middleware,{...Od})}),(Nd=Ad.identifyOnResolve)==null||Nd.call(Ad,vd.identifyOnResolve()),Ad},fd=Ad=>{const Nd=[];return Ad.before.forEach(Od=>{Od.before.length===0&&Od.after.length===0?Nd.push(Od):Nd.push(...fd(Od))}),Nd.push(Ad),Ad.after.reverse().forEach(Od=>{Od.before.length===0&&Od.after.length===0?Nd.push(Od):Nd.push(...fd(Od))}),Nd},md=(Ad=!1)=>{const Nd=[],Od=[],kd={};return Ra.forEach(Gd=>{const jd={...Gd,before:[],after:[]};for(const Fd of getAllAliases(jd.name,jd.aliases))kd[Fd]=jd;Nd.push(jd)}),qa.forEach(Gd=>{const jd={...Gd,before:[],after:[]};for(const Fd of getAllAliases(jd.name,jd.aliases))kd[Fd]=jd;Od.push(jd)}),Od.forEach(Gd=>{if(Gd.toMiddleware){const jd=kd[Gd.toMiddleware];if(jd===void 0){if(Ad)return;throw new Error(`${Gd.toMiddleware} is not found when adding ${getMiddlewareNameWithAliases(Gd.name,Gd.aliases)} middleware ${Gd.relation} ${Gd.toMiddleware}`)}Gd.relation==="after"&&jd.after.push(Gd),Gd.relation==="before"&&jd.before.push(Gd)}}),ld(Nd).map(fd).reduce((Gd,jd)=>(Gd.push(...jd),Gd),[])},vd={add:(Ad,Nd={})=>{const{name:Od,override:kd,aliases:Ld}=Nd,Gd={step:"initialize",priority:"normal",middleware:Ad,...Nd},jd=getAllAliases(Od,Ld);if(jd.length>0){if(jd.some(Fd=>od.has(Fd))){if(!kd)throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(Od,Ld)}'`);for(const Fd of jd){const Ud=Ra.findIndex(zd=>{var Wd;return zd.name===Fd||((Wd=zd.aliases)==null?void 0:Wd.some(Jd=>Jd===Fd))});if(Ud===-1)continue;const qd=Ra[Ud];if(qd.step!==Gd.step||Gd.priority!==qd.priority)throw new Error(`"${getMiddlewareNameWithAliases(qd.name,qd.aliases)}" middleware with ${qd.priority} priority in ${qd.step} step cannot be overridden by "${getMiddlewareNameWithAliases(Od,Ld)}" middleware with ${Gd.priority} priority in ${Gd.step} step.`);Ra.splice(Ud,1)}}for(const Fd of jd)od.add(Fd)}Ra.push(Gd)},addRelativeTo:(Ad,Nd)=>{const{name:Od,override:kd,aliases:Ld}=Nd,Gd={middleware:Ad,...Nd},jd=getAllAliases(Od,Ld);if(jd.length>0){if(jd.some(Fd=>od.has(Fd))){if(!kd)throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(Od,Ld)}'`);for(const Fd of jd){const Ud=qa.findIndex(zd=>{var Wd;return zd.name===Fd||((Wd=zd.aliases)==null?void 0:Wd.some(Jd=>Jd===Fd))});if(Ud===-1)continue;const qd=qa[Ud];if(qd.toMiddleware!==Gd.toMiddleware||qd.relation!==Gd.relation)throw new Error(`"${getMiddlewareNameWithAliases(qd.name,qd.aliases)}" middleware ${qd.relation} "${qd.toMiddleware}" middleware cannot be overridden by "${getMiddlewareNameWithAliases(Od,Ld)}" middleware ${Gd.relation} "${Gd.toMiddleware}" middleware.`);qa.splice(Ud,1)}}for(const Fd of jd)od.add(Fd)}qa.push(Gd)},clone:()=>pd(constructStack()),use:Ad=>{Ad.applyToStack(vd)},remove:Ad=>typeof Ad=="string"?ud(Ad):dd(Ad),removeByTag:Ad=>{let Nd=!1;const Od=kd=>{const{tags:Ld,name:Gd,aliases:jd}=kd;if(Ld&&Ld.includes(Ad)){const Fd=getAllAliases(Gd,jd);for(const Ud of Fd)od.delete(Ud);return Nd=!0,!1}return!0};return Ra=Ra.filter(Od),qa=qa.filter(Od),Nd},concat:Ad=>{var Od;const Nd=pd(constructStack());return Nd.use(Ad),Nd.identifyOnResolve(nd||Nd.identifyOnResolve()||(((Od=Ad.identifyOnResolve)==null?void 0:Od.call(Ad))??!1)),Nd},applyToStack:pd,identify:()=>md(!0).map(Ad=>{const Nd=Ad.step??Ad.relation+" "+Ad.toMiddleware;return getMiddlewareNameWithAliases(Ad.name,Ad.aliases)+" - "+Nd}),identifyOnResolve(Ad){return typeof Ad=="boolean"&&(nd=Ad),nd},resolve:(Ad,Nd)=>{for(const Od of md().map(kd=>kd.middleware).reverse())Ad=Od(Ad,Nd);return nd&&console.log(vd.identify()),Ad}};return vd},stepWeights={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},priorityWeights={high:3,normal:2,low:1};let Client$1=class{constructor(qa){this.config=qa,this.middlewareStack=constructStack()}send(qa,nd,od){const ld=typeof nd!="function"?nd:void 0,ud=typeof nd=="function"?nd:od,dd=ld===void 0&&this.config.cacheMiddleware===!0;let pd;if(dd){this.handlers||(this.handlers=new WeakMap);const fd=this.handlers;fd.has(qa.constructor)?pd=fd.get(qa.constructor):(pd=qa.resolveMiddleware(this.middlewareStack,this.config,ld),fd.set(qa.constructor,pd))}else delete this.handlers,pd=qa.resolveMiddleware(this.middlewareStack,this.config,ld);if(ud)pd(qa).then(fd=>ud(null,fd.output),fd=>ud(fd)).catch(()=>{});else return pd(qa).then(fd=>fd.output)}destroy(){var qa,nd,od;(od=(nd=(qa=this.config)==null?void 0:qa.requestHandler)==null?void 0:nd.destroy)==null||od.call(nd),delete this.handlers}};class Command{constructor(){this.middlewareStack=constructStack()}static classBuilder(){return new ClassBuilder}resolveMiddlewareWithContext(qa,nd,od,{middlewareFn:ld,clientName:ud,commandName:dd,inputFilterSensitiveLog:pd,outputFilterSensitiveLog:fd,smithyContext:md,additionalContext:vd,CommandCtor:Ad}){for(const Gd of ld.bind(this)(Ad,qa,nd,od))this.middlewareStack.use(Gd);const Nd=qa.concat(this.middlewareStack),{logger:Od}=nd,kd={logger:Od,clientName:ud,commandName:dd,inputFilterSensitiveLog:pd,outputFilterSensitiveLog:fd,[SMITHY_CONTEXT_KEY]:{commandInstance:this,...md},...vd},{requestHandler:Ld}=nd;return Nd.resolve(Gd=>Ld.handle(Gd.request,od||{}),kd)}}class ClassBuilder{constructor(){this._init=()=>{},this._ep={},this._middlewareFn=()=>[],this._commandName="",this._clientName="",this._additionalContext={},this._smithyContext={},this._inputFilterSensitiveLog=qa=>qa,this._outputFilterSensitiveLog=qa=>qa,this._serializer=null,this._deserializer=null}init(qa){this._init=qa}ep(qa){return this._ep=qa,this}m(qa){return this._middlewareFn=qa,this}s(qa,nd,od={}){return this._smithyContext={service:qa,operation:nd,...od},this}c(qa={}){return this._additionalContext=qa,this}n(qa,nd){return this._clientName=qa,this._commandName=nd,this}f(qa=od=>od,nd=od=>od){return this._inputFilterSensitiveLog=qa,this._outputFilterSensitiveLog=nd,this}ser(qa){return this._serializer=qa,this}de(qa){return this._deserializer=qa,this}build(){const qa=this;let nd;return nd=class extends Command{static getEndpointParameterInstructions(){return qa._ep}constructor(...[od]){super(),this.serialize=qa._serializer,this.deserialize=qa._deserializer,this.input=od??{},qa._init(this)}resolveMiddleware(od,ld,ud){return this.resolveMiddlewareWithContext(od,ld,ud,{CommandCtor:nd,middlewareFn:qa._middlewareFn,clientName:qa._clientName,commandName:qa._commandName,inputFilterSensitiveLog:qa._inputFilterSensitiveLog,outputFilterSensitiveLog:qa._outputFilterSensitiveLog,smithyContext:qa._smithyContext,additionalContext:qa._additionalContext})}}}}const SENSITIVE_STRING="***SensitiveInformation***",parseBoolean=Ra=>{switch(Ra){case"true":return!0;case"false":return!1;default:throw new Error(`Unable to parse boolean value "${Ra}"`)}},expectNumber=Ra=>{if(Ra!=null){if(typeof Ra=="string"){const qa=parseFloat(Ra);if(!Number.isNaN(qa))return String(qa)!==String(Ra)&&logger.warn(stackTraceWarning(`Expected number but observed string: ${Ra}`)),qa}if(typeof Ra=="number")return Ra;throw new TypeError(`Expected number, got ${typeof Ra}: ${Ra}`)}},MAX_FLOAT=Math.ceil(2**127*(2-2**-23)),expectFloat32=Ra=>{const qa=expectNumber(Ra);if(qa!==void 0&&!Number.isNaN(qa)&&qa!==1/0&&qa!==-1/0&&Math.abs(qa)>MAX_FLOAT)throw new TypeError(`Expected 32-bit float, got ${Ra}`);return qa},expectLong=Ra=>{if(Ra!=null){if(Number.isInteger(Ra)&&!Number.isNaN(Ra))return Ra;throw new TypeError(`Expected integer, got ${typeof Ra}: ${Ra}`)}},expectShort=Ra=>expectSizedInt(Ra,16),expectByte=Ra=>expectSizedInt(Ra,8),expectSizedInt=(Ra,qa)=>{const nd=expectLong(Ra);if(nd!==void 0&&castInt(nd,qa)!==nd)throw new TypeError(`Expected ${qa}-bit integer, got ${Ra}`);return nd},castInt=(Ra,qa)=>{switch(qa){case 32:return Int32Array.of(Ra)[0];case 16:return Int16Array.of(Ra)[0];case 8:return Int8Array.of(Ra)[0]}},expectNonNull=(Ra,qa)=>{if(Ra==null)throw qa?new TypeError(`Expected a non-null value for ${qa}`):new TypeError("Expected a non-null value");return Ra},expectObject=Ra=>{if(Ra==null)return;if(typeof Ra=="object"&&!Array.isArray(Ra))return Ra;const qa=Array.isArray(Ra)?"array":typeof Ra;throw new TypeError(`Expected object, got ${qa}: ${Ra}`)},expectString=Ra=>{if(Ra!=null){if(typeof Ra=="string")return Ra;if(["boolean","number","bigint"].includes(typeof Ra))return logger.warn(stackTraceWarning(`Expected string, got ${typeof Ra}: ${Ra}`)),String(Ra);throw new TypeError(`Expected string, got ${typeof Ra}: ${Ra}`)}},strictParseFloat32=Ra=>expectFloat32(typeof Ra=="string"?parseNumber(Ra):Ra),NUMBER_REGEX=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,parseNumber=Ra=>{const qa=Ra.match(NUMBER_REGEX);if(qa===null||qa[0].length!==Ra.length)throw new TypeError("Expected real number, got implicit NaN");return parseFloat(Ra)},strictParseLong=Ra=>expectLong(typeof Ra=="string"?parseNumber(Ra):Ra),strictParseShort=Ra=>expectShort(typeof Ra=="string"?parseNumber(Ra):Ra),strictParseByte=Ra=>expectByte(typeof Ra=="string"?parseNumber(Ra):Ra),stackTraceWarning=Ra=>String(new TypeError(Ra).stack||Ra).split(`
`).slice(0,5).filter(qa=>!qa.includes("stackTraceWarning")).join(`
`),logger={warn:console.warn},DAYS=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],MONTHS=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function dateToUtcString(Ra){const qa=Ra.getUTCFullYear(),nd=Ra.getUTCMonth(),od=Ra.getUTCDay(),ld=Ra.getUTCDate(),ud=Ra.getUTCHours(),dd=Ra.getUTCMinutes(),pd=Ra.getUTCSeconds(),fd=ld<10?`0${ld}`:`${ld}`,md=ud<10?`0${ud}`:`${ud}`,vd=dd<10?`0${dd}`:`${dd}`,Ad=pd<10?`0${pd}`:`${pd}`;return`${DAYS[od]}, ${fd} ${MONTHS[nd]} ${qa} ${md}:${vd}:${Ad} GMT`}const RFC3339_WITH_OFFSET=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/),parseRfc3339DateTimeWithOffset=Ra=>{if(Ra==null)return;if(typeof Ra!="string")throw new TypeError("RFC-3339 date-times must be expressed as strings");const qa=RFC3339_WITH_OFFSET.exec(Ra);if(!qa)throw new TypeError("Invalid RFC-3339 date-time value");const[nd,od,ld,ud,dd,pd,fd,md,vd]=qa,Ad=strictParseShort(stripLeadingZeroes(od)),Nd=parseDateValue(ld,"month",1,12),Od=parseDateValue(ud,"day",1,31),kd=buildDate(Ad,Nd,Od,{hours:dd,minutes:pd,seconds:fd,fractionalMilliseconds:md});return vd.toUpperCase()!="Z"&&kd.setTime(kd.getTime()-parseOffsetToMilliseconds(vd)),kd},buildDate=(Ra,qa,nd,od)=>{const ld=qa-1;return validateDayOfMonth(Ra,ld,nd),new Date(Date.UTC(Ra,ld,nd,parseDateValue(od.hours,"hour",0,23),parseDateValue(od.minutes,"minute",0,59),parseDateValue(od.seconds,"seconds",0,60),parseMilliseconds(od.fractionalMilliseconds)))},DAYS_IN_MONTH=[31,28,31,30,31,30,31,31,30,31,30,31],validateDayOfMonth=(Ra,qa,nd)=>{let od=DAYS_IN_MONTH[qa];if(qa===1&&isLeapYear(Ra)&&(od=29),nd>od)throw new TypeError(`Invalid day for ${MONTHS[qa]} in ${Ra}: ${nd}`)},isLeapYear=Ra=>Ra%4===0&&(Ra%100!==0||Ra%400===0),parseDateValue=(Ra,qa,nd,od)=>{const ld=strictParseByte(stripLeadingZeroes(Ra));if(ld<nd||ld>od)throw new TypeError(`${qa} must be between ${nd} and ${od}, inclusive`);return ld},parseMilliseconds=Ra=>Ra==null?0:strictParseFloat32("0."+Ra)*1e3,parseOffsetToMilliseconds=Ra=>{const qa=Ra[0];let nd=1;if(qa=="+")nd=1;else if(qa=="-")nd=-1;else throw new TypeError(`Offset direction, ${qa}, must be "+" or "-"`);const od=Number(Ra.substring(1,3)),ld=Number(Ra.substring(4,6));return nd*(od*60+ld)*60*1e3},stripLeadingZeroes=Ra=>{let qa=0;for(;qa<Ra.length-1&&Ra.charAt(qa)==="0";)qa++;return qa===0?Ra:Ra.slice(qa)};class ServiceException extends Error{constructor(qa){super(qa.message),Object.setPrototypeOf(this,ServiceException.prototype),this.name=qa.name,this.$fault=qa.$fault,this.$metadata=qa.$metadata}}const decorateServiceException=(Ra,qa={})=>{Object.entries(qa).filter(([,od])=>od!==void 0).forEach(([od,ld])=>{(Ra[od]==null||Ra[od]==="")&&(Ra[od]=ld)});const nd=Ra.message||Ra.Message||"UnknownError";return Ra.message=nd,delete Ra.Message,Ra},throwDefaultError$1=({output:Ra,parsedBody:qa,exceptionCtor:nd,errorCode:od})=>{const ld=deserializeMetadata$1(Ra),ud=ld.httpStatusCode?ld.httpStatusCode+"":void 0,dd=new nd({name:(qa==null?void 0:qa.code)||(qa==null?void 0:qa.Code)||od||ud||"UnknownError",$fault:"client",$metadata:ld});throw decorateServiceException(dd,qa)},withBaseException=Ra=>({output:qa,parsedBody:nd,errorCode:od})=>{throwDefaultError$1({output:qa,parsedBody:nd,exceptionCtor:Ra,errorCode:od})},deserializeMetadata$1=Ra=>({httpStatusCode:Ra.statusCode,requestId:Ra.headers["x-amzn-requestid"]??Ra.headers["x-amzn-request-id"]??Ra.headers["x-amz-request-id"],extendedRequestId:Ra.headers["x-amz-id-2"],cfId:Ra.headers["x-amz-cf-id"]}),loadConfigsForDefaultMode=Ra=>{switch(Ra){case"standard":return{retryMode:"standard",connectionTimeout:3100};case"in-region":return{retryMode:"standard",connectionTimeout:1100};case"cross-region":return{retryMode:"standard",connectionTimeout:3100};case"mobile":return{retryMode:"standard",connectionTimeout:3e4};default:return{}}},getChecksumConfiguration=Ra=>{const qa=[];for(const nd in AlgorithmId){const od=AlgorithmId[nd];Ra[od]!==void 0&&qa.push({algorithmId:()=>od,checksumConstructor:()=>Ra[od]})}return{_checksumAlgorithms:qa,addChecksumAlgorithm(nd){this._checksumAlgorithms.push(nd)},checksumAlgorithms(){return this._checksumAlgorithms}}},resolveChecksumRuntimeConfig=Ra=>{const qa={};return Ra.checksumAlgorithms().forEach(nd=>{qa[nd.algorithmId()]=nd.checksumConstructor()}),qa},getRetryConfiguration=Ra=>{let qa=Ra.retryStrategy;return{setRetryStrategy(nd){qa=nd},retryStrategy(){return qa}}},resolveRetryRuntimeConfig=Ra=>{const qa={};return qa.retryStrategy=Ra.retryStrategy(),qa},getDefaultExtensionConfiguration=Ra=>({...getChecksumConfiguration(Ra),...getRetryConfiguration(Ra)}),resolveDefaultRuntimeConfig=Ra=>({...resolveChecksumRuntimeConfig(Ra),...resolveRetryRuntimeConfig(Ra)}),getValueFromTextNode=Ra=>{const qa="#text";for(const nd in Ra)Ra.hasOwnProperty(nd)&&Ra[nd][qa]!==void 0?Ra[nd]=Ra[nd][qa]:typeof Ra[nd]=="object"&&Ra[nd]!==null&&(Ra[nd]=getValueFromTextNode(Ra[nd]));return Ra},isSerializableHeaderValue=Ra=>Ra!=null;class NoOpLogger{trace(){}debug(){}info(){}warn(){}error(){}}function map$2(Ra,qa,nd){let od,ld,ud;if(typeof qa>"u"&&typeof nd>"u")od={},ud=Ra;else{if(od=Ra,typeof qa=="function")return ld=qa,ud=nd,mapWithFilter(od,ld,ud);ud=qa}for(const dd of Object.keys(ud)){if(!Array.isArray(ud[dd])){od[dd]=ud[dd];continue}applyInstruction(od,null,ud,dd)}return od}const mapWithFilter=(Ra,qa,nd)=>map$2(Ra,Object.entries(nd).reduce((od,[ld,ud])=>(Array.isArray(ud)?od[ld]=ud:typeof ud=="function"?od[ld]=[qa,ud()]:od[ld]=[qa,ud],od),{})),applyInstruction=(Ra,qa,nd,od)=>{let[ld,ud]=nd[od];if(typeof ud=="function"){let dd;const pd=ld===void 0&&(dd=ud())!=null,fd=typeof ld=="function"&&!!ld(void 0)||typeof ld!="function"&&!!ld;pd?Ra[od]=dd:fd&&(Ra[od]=ud())}else{const dd=ld===void 0&&ud!=null,pd=typeof ld=="function"&&!!ld(ud)||typeof ld!="function"&&!!ld;(dd||pd)&&(Ra[od]=ud)}},serializeDateTime=Ra=>Ra.toISOString().replace(".000Z","Z"),collectBodyString=(Ra,qa)=>collectBody$1(Ra,qa).then(nd=>qa.utf8Encoder(nd));var validator$5={},util$8={};(function(Ra){const qa=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",nd=qa+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",od="["+qa+"]["+nd+"]*",ld=new RegExp("^"+od+"$"),ud=function(pd,fd){const md=[];let vd=fd.exec(pd);for(;vd;){const Ad=[];Ad.startIndex=fd.lastIndex-vd[0].length;const Nd=vd.length;for(let Od=0;Od<Nd;Od++)Ad.push(vd[Od]);md.push(Ad),vd=fd.exec(pd)}return md},dd=function(pd){const fd=ld.exec(pd);return!(fd===null||typeof fd>"u")};Ra.isExist=function(pd){return typeof pd<"u"},Ra.isEmptyObject=function(pd){return Object.keys(pd).length===0},Ra.merge=function(pd,fd,md){if(fd){const vd=Object.keys(fd),Ad=vd.length;for(let Nd=0;Nd<Ad;Nd++)md==="strict"?pd[vd[Nd]]=[fd[vd[Nd]]]:pd[vd[Nd]]=fd[vd[Nd]]}},Ra.getValue=function(pd){return Ra.isExist(pd)?pd:""},Ra.isName=dd,Ra.getAllMatches=ud,Ra.nameRegexp=od})(util$8);const util$7=util$8,defaultOptions$5={allowBooleanAttributes:!1,unpairedTags:[]};validator$5.validate=function(Ra,qa){qa=Object.assign({},defaultOptions$5,qa);const nd=[];let od=!1,ld=!1;Ra[0]==="\uFEFF"&&(Ra=Ra.substr(1));for(let ud=0;ud<Ra.length;ud++)if(Ra[ud]==="<"&&Ra[ud+1]==="?"){if(ud+=2,ud=readPI$1(Ra,ud),ud.err)return ud}else if(Ra[ud]==="<"){let dd=ud;if(ud++,Ra[ud]==="!"){ud=readCommentAndCDATA$1(Ra,ud);continue}else{let pd=!1;Ra[ud]==="/"&&(pd=!0,ud++);let fd="";for(;ud<Ra.length&&Ra[ud]!==">"&&Ra[ud]!==" "&&Ra[ud]!==" "&&Ra[ud]!==`
`&&Ra[ud]!=="\r";ud++)fd+=Ra[ud];if(fd=fd.trim(),fd[fd.length-1]==="/"&&(fd=fd.substring(0,fd.length-1),ud--),!validateTagName$1(fd)){let Ad;return fd.trim().length===0?Ad="Invalid space after '<'.":Ad="Tag '"+fd+"' is an invalid name.",getErrorObject$1("InvalidTag",Ad,getLineNumberForPosition$1(Ra,ud))}const md=readAttributeStr$1(Ra,ud);if(md===!1)return getErrorObject$1("InvalidAttr","Attributes for '"+fd+"' have open quote.",getLineNumberForPosition$1(Ra,ud));let vd=md.value;if(ud=md.index,vd[vd.length-1]==="/"){const Ad=ud-vd.length;vd=vd.substring(0,vd.length-1);const Nd=validateAttributeString$1(vd,qa);if(Nd===!0)od=!0;else return getErrorObject$1(Nd.err.code,Nd.err.msg,getLineNumberForPosition$1(Ra,Ad+Nd.err.line))}else if(pd)if(md.tagClosed){if(vd.trim().length>0)return getErrorObject$1("InvalidTag","Closing tag '"+fd+"' can't have attributes or invalid starting.",getLineNumberForPosition$1(Ra,dd));if(nd.length===0)return getErrorObject$1("InvalidTag","Closing tag '"+fd+"' has not been opened.",getLineNumberForPosition$1(Ra,dd));{const Ad=nd.pop();if(fd!==Ad.tagName){let Nd=getLineNumberForPosition$1(Ra,Ad.tagStartPos);return getErrorObject$1("InvalidTag","Expected closing tag '"+Ad.tagName+"' (opened in line "+Nd.line+", col "+Nd.col+") instead of closing tag '"+fd+"'.",getLineNumberForPosition$1(Ra,dd))}nd.length==0&&(ld=!0)}}else return getErrorObject$1("InvalidTag","Closing tag '"+fd+"' doesn't have proper closing.",getLineNumberForPosition$1(Ra,ud));else{const Ad=validateAttributeString$1(vd,qa);if(Ad!==!0)return getErrorObject$1(Ad.err.code,Ad.err.msg,getLineNumberForPosition$1(Ra,ud-vd.length+Ad.err.line));if(ld===!0)return getErrorObject$1("InvalidXml","Multiple possible root nodes found.",getLineNumberForPosition$1(Ra,ud));qa.unpairedTags.indexOf(fd)!==-1||nd.push({tagName:fd,tagStartPos:dd}),od=!0}for(ud++;ud<Ra.length;ud++)if(Ra[ud]==="<")if(Ra[ud+1]==="!"){ud++,ud=readCommentAndCDATA$1(Ra,ud);continue}else if(Ra[ud+1]==="?"){if(ud=readPI$1(Ra,++ud),ud.err)return ud}else break;else if(Ra[ud]==="&"){const Ad=validateAmpersand$1(Ra,ud);if(Ad==-1)return getErrorObject$1("InvalidChar","char '&' is not expected.",getLineNumberForPosition$1(Ra,ud));ud=Ad}else if(ld===!0&&!isWhiteSpace$1(Ra[ud]))return getErrorObject$1("InvalidXml","Extra text at the end",getLineNumberForPosition$1(Ra,ud));Ra[ud]==="<"&&ud--}}else{if(isWhiteSpace$1(Ra[ud]))continue;return getErrorObject$1("InvalidChar","char '"+Ra[ud]+"' is not expected.",getLineNumberForPosition$1(Ra,ud))}if(od){if(nd.length==1)return getErrorObject$1("InvalidTag","Unclosed tag '"+nd[0].tagName+"'.",getLineNumberForPosition$1(Ra,nd[0].tagStartPos));if(nd.length>0)return getErrorObject$1("InvalidXml","Invalid '"+JSON.stringify(nd.map(ud=>ud.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return getErrorObject$1("InvalidXml","Start tag expected.",1);return!0};function isWhiteSpace$1(Ra){return Ra===" "||Ra===" "||Ra===`
`||Ra==="\r"}function readPI$1(Ra,qa){const nd=qa;for(;qa<Ra.length;qa++)if(Ra[qa]=="?"||Ra[qa]==" "){const od=Ra.substr(nd,qa-nd);if(qa>5&&od==="xml")return getErrorObject$1("InvalidXml","XML declaration allowed only at the start of the document.",getLineNumberForPosition$1(Ra,qa));if(Ra[qa]=="?"&&Ra[qa+1]==">"){qa++;break}else continue}return qa}function readCommentAndCDATA$1(Ra,qa){if(Ra.length>qa+5&&Ra[qa+1]==="-"&&Ra[qa+2]==="-"){for(qa+=3;qa<Ra.length;qa++)if(Ra[qa]==="-"&&Ra[qa+1]==="-"&&Ra[qa+2]===">"){qa+=2;break}}else if(Ra.length>qa+8&&Ra[qa+1]==="D"&&Ra[qa+2]==="O"&&Ra[qa+3]==="C"&&Ra[qa+4]==="T"&&Ra[qa+5]==="Y"&&Ra[qa+6]==="P"&&Ra[qa+7]==="E"){let nd=1;for(qa+=8;qa<Ra.length;qa++)if(Ra[qa]==="<")nd++;else if(Ra[qa]===">"&&(nd--,nd===0))break}else if(Ra.length>qa+9&&Ra[qa+1]==="["&&Ra[qa+2]==="C"&&Ra[qa+3]==="D"&&Ra[qa+4]==="A"&&Ra[qa+5]==="T"&&Ra[qa+6]==="A"&&Ra[qa+7]==="["){for(qa+=8;qa<Ra.length;qa++)if(Ra[qa]==="]"&&Ra[qa+1]==="]"&&Ra[qa+2]===">"){qa+=2;break}}return qa}const doubleQuote$1='"',singleQuote$1="'";function readAttributeStr$1(Ra,qa){let nd="",od="",ld=!1;for(;qa<Ra.length;qa++){if(Ra[qa]===doubleQuote$1||Ra[qa]===singleQuote$1)od===""?od=Ra[qa]:od!==Ra[qa]||(od="");else if(Ra[qa]===">"&&od===""){ld=!0;break}nd+=Ra[qa]}return od!==""?!1:{value:nd,index:qa,tagClosed:ld}}const validAttrStrRegxp$1=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function validateAttributeString$1(Ra,qa){const nd=util$7.getAllMatches(Ra,validAttrStrRegxp$1),od={};for(let ld=0;ld<nd.length;ld++){if(nd[ld][1].length===0)return getErrorObject$1("InvalidAttr","Attribute '"+nd[ld][2]+"' has no space in starting.",getPositionFromMatch$1(nd[ld]));if(nd[ld][3]!==void 0&&nd[ld][4]===void 0)return getErrorObject$1("InvalidAttr","Attribute '"+nd[ld][2]+"' is without value.",getPositionFromMatch$1(nd[ld]));if(nd[ld][3]===void 0&&!qa.allowBooleanAttributes)return getErrorObject$1("InvalidAttr","boolean attribute '"+nd[ld][2]+"' is not allowed.",getPositionFromMatch$1(nd[ld]));const ud=nd[ld][2];if(!validateAttrName$1(ud))return getErrorObject$1("InvalidAttr","Attribute '"+ud+"' is an invalid name.",getPositionFromMatch$1(nd[ld]));if(!od.hasOwnProperty(ud))od[ud]=1;else return getErrorObject$1("InvalidAttr","Attribute '"+ud+"' is repeated.",getPositionFromMatch$1(nd[ld]))}return!0}function validateNumberAmpersand$1(Ra,qa){let nd=/\d/;for(Ra[qa]==="x"&&(qa++,nd=/[\da-fA-F]/);qa<Ra.length;qa++){if(Ra[qa]===";")return qa;if(!Ra[qa].match(nd))break}return-1}function validateAmpersand$1(Ra,qa){if(qa++,Ra[qa]===";")return-1;if(Ra[qa]==="#")return qa++,validateNumberAmpersand$1(Ra,qa);let nd=0;for(;qa<Ra.length;qa++,nd++)if(!(Ra[qa].match(/\w/)&&nd<20)){if(Ra[qa]===";")break;return-1}return qa}function getErrorObject$1(Ra,qa,nd){return{err:{code:Ra,msg:qa,line:nd.line||nd,col:nd.col}}}function validateAttrName$1(Ra){return util$7.isName(Ra)}function validateTagName$1(Ra){return util$7.isName(Ra)}function getLineNumberForPosition$1(Ra,qa){const nd=Ra.substring(0,qa).split(/\r?\n/);return{line:nd.length,col:nd[nd.length-1].length+1}}function getPositionFromMatch$1(Ra){return Ra.startIndex+Ra[1].length}var OptionsBuilder$1={};const defaultOptions$4={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(Ra,qa){return qa},attributeValueProcessor:function(Ra,qa){return qa},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(Ra,qa,nd){return Ra}},buildOptions$3=function(Ra){return Object.assign({},defaultOptions$4,Ra)};OptionsBuilder$1.buildOptions=buildOptions$3;OptionsBuilder$1.defaultOptions=defaultOptions$4;let XmlNode$1=class{constructor(qa){this.tagname=qa,this.child=[],this[":@"]={}}add(qa,nd){qa==="__proto__"&&(qa="#__proto__"),this.child.push({[qa]:nd})}addChild(qa){qa.tagname==="__proto__"&&(qa.tagname="#__proto__"),qa[":@"]&&Object.keys(qa[":@"]).length>0?this.child.push({[qa.tagname]:qa.child,":@":qa[":@"]}):this.child.push({[qa.tagname]:qa.child})}};var xmlNode$3=XmlNode$1;const util$6=util$8;function readDocType$3(Ra,qa){const nd={};if(Ra[qa+3]==="O"&&Ra[qa+4]==="C"&&Ra[qa+5]==="T"&&Ra[qa+6]==="Y"&&Ra[qa+7]==="P"&&Ra[qa+8]==="E"){qa=qa+9;let od=1,ld=!1,ud=!1,dd="";for(;qa<Ra.length;qa++)if(Ra[qa]==="<"&&!ud){if(ld&&isEntity$1(Ra,qa))qa+=7,[entityName,val,qa]=readEntityExp$1(Ra,qa+1),val.indexOf("&")===-1&&(nd[validateEntityName$1(entityName)]={regx:RegExp(`&${entityName};`,"g"),val});else if(ld&&isElement$1(Ra,qa))qa+=8;else if(ld&&isAttlist$1(Ra,qa))qa+=8;else if(ld&&isNotation$1(Ra,qa))qa+=9;else if(isComment$1)ud=!0;else throw new Error("Invalid DOCTYPE");od++,dd=""}else if(Ra[qa]===">"){if(ud?Ra[qa-1]==="-"&&Ra[qa-2]==="-"&&(ud=!1,od--):od--,od===0)break}else Ra[qa]==="["?ld=!0:dd+=Ra[qa];if(od!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:nd,i:qa}}function readEntityExp$1(Ra,qa){let nd="";for(;qa<Ra.length&&Ra[qa]!=="'"&&Ra[qa]!=='"';qa++)nd+=Ra[qa];if(nd=nd.trim(),nd.indexOf(" ")!==-1)throw new Error("External entites are not supported");const od=Ra[qa++];let ld="";for(;qa<Ra.length&&Ra[qa]!==od;qa++)ld+=Ra[qa];return[nd,ld,qa]}function isComment$1(Ra,qa){return Ra[qa+1]==="!"&&Ra[qa+2]==="-"&&Ra[qa+3]==="-"}function isEntity$1(Ra,qa){return Ra[qa+1]==="!"&&Ra[qa+2]==="E"&&Ra[qa+3]==="N"&&Ra[qa+4]==="T"&&Ra[qa+5]==="I"&&Ra[qa+6]==="T"&&Ra[qa+7]==="Y"}function isElement$1(Ra,qa){return Ra[qa+1]==="!"&&Ra[qa+2]==="E"&&Ra[qa+3]==="L"&&Ra[qa+4]==="E"&&Ra[qa+5]==="M"&&Ra[qa+6]==="E"&&Ra[qa+7]==="N"&&Ra[qa+8]==="T"}function isAttlist$1(Ra,qa){return Ra[qa+1]==="!"&&Ra[qa+2]==="A"&&Ra[qa+3]==="T"&&Ra[qa+4]==="T"&&Ra[qa+5]==="L"&&Ra[qa+6]==="I"&&Ra[qa+7]==="S"&&Ra[qa+8]==="T"}function isNotation$1(Ra,qa){return Ra[qa+1]==="!"&&Ra[qa+2]==="N"&&Ra[qa+3]==="O"&&Ra[qa+4]==="T"&&Ra[qa+5]==="A"&&Ra[qa+6]==="T"&&Ra[qa+7]==="I"&&Ra[qa+8]==="O"&&Ra[qa+9]==="N"}function validateEntityName$1(Ra){if(util$6.isName(Ra))return Ra;throw new Error(`Invalid entity name ${Ra}`)}var DocTypeReader$1=readDocType$3;const hexRegex=/^[-+]?0x[a-fA-F0-9]+$/,numRegex=/^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/;!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt);!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);const consider={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};function toNumber$2(Ra,qa={}){if(qa=Object.assign({},consider,qa),!Ra||typeof Ra!="string")return Ra;let nd=Ra.trim();if(qa.skipLike!==void 0&&qa.skipLike.test(nd))return Ra;if(qa.hex&&hexRegex.test(nd))return Number.parseInt(nd,16);{const od=numRegex.exec(nd);if(od){const ld=od[1],ud=od[2];let dd=trimZeros(od[3]);const pd=od[4]||od[6];if(!qa.leadingZeros&&ud.length>0&&ld&&nd[2]!==".")return Ra;if(!qa.leadingZeros&&ud.length>0&&!ld&&nd[1]!==".")return Ra;{const fd=Number(nd),md=""+fd;return md.search(/[eE]/)!==-1||pd?qa.eNotation?fd:Ra:nd.indexOf(".")!==-1?md==="0"&&dd===""||md===dd||ld&&md==="-"+dd?fd:Ra:ud?dd===md||ld+dd===md?fd:Ra:nd===md||nd===ld+md?fd:Ra}}else return Ra}}function trimZeros(Ra){return Ra&&Ra.indexOf(".")!==-1&&(Ra=Ra.replace(/0+$/,""),Ra==="."?Ra="0":Ra[0]==="."?Ra="0"+Ra:Ra[Ra.length-1]==="."&&(Ra=Ra.substr(0,Ra.length-1))),Ra}var strnum=toNumber$2;const util$5=util$8,xmlNode$2=xmlNode$3,readDocType$2=DocTypeReader$1,toNumber$1=strnum;let OrderedObjParser$3=class{constructor(qa){this.options=qa,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(nd,od)=>String.fromCharCode(Number.parseInt(od,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(nd,od)=>String.fromCharCode(Number.parseInt(od,16))}},this.addExternalEntities=addExternalEntities$1,this.parseXml=parseXml$2,this.parseTextData=parseTextData$1,this.resolveNameSpace=resolveNameSpace$1,this.buildAttributesMap=buildAttributesMap$1,this.isItStopNode=isItStopNode$1,this.replaceEntitiesValue=replaceEntitiesValue$3,this.readStopNodeData=readStopNodeData$1,this.saveTextToParentTag=saveTextToParentTag$1,this.addChild=addChild$1}};function addExternalEntities$1(Ra){const qa=Object.keys(Ra);for(let nd=0;nd<qa.length;nd++){const od=qa[nd];this.lastEntities[od]={regex:new RegExp("&"+od+";","g"),val:Ra[od]}}}function parseTextData$1(Ra,qa,nd,od,ld,ud,dd){if(Ra!==void 0&&(this.options.trimValues&&!od&&(Ra=Ra.trim()),Ra.length>0)){dd||(Ra=this.replaceEntitiesValue(Ra));const pd=this.options.tagValueProcessor(qa,Ra,nd,ld,ud);return pd==null?Ra:typeof pd!=typeof Ra||pd!==Ra?pd:this.options.trimValues?parseValue$1(Ra,this.options.parseTagValue,this.options.numberParseOptions):Ra.trim()===Ra?parseValue$1(Ra,this.options.parseTagValue,this.options.numberParseOptions):Ra}}function resolveNameSpace$1(Ra){if(this.options.removeNSPrefix){const qa=Ra.split(":"),nd=Ra.charAt(0)==="/"?"/":"";if(qa[0]==="xmlns")return"";qa.length===2&&(Ra=nd+qa[1])}return Ra}const attrsRegx$1=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function buildAttributesMap$1(Ra,qa,nd){if(!this.options.ignoreAttributes&&typeof Ra=="string"){const od=util$5.getAllMatches(Ra,attrsRegx$1),ld=od.length,ud={};for(let dd=0;dd<ld;dd++){const pd=this.resolveNameSpace(od[dd][1]);let fd=od[dd][4],md=this.options.attributeNamePrefix+pd;if(pd.length)if(this.options.transformAttributeName&&(md=this.options.transformAttributeName(md)),md==="__proto__"&&(md="#__proto__"),fd!==void 0){this.options.trimValues&&(fd=fd.trim()),fd=this.replaceEntitiesValue(fd);const vd=this.options.attributeValueProcessor(pd,fd,qa);vd==null?ud[md]=fd:typeof vd!=typeof fd||vd!==fd?ud[md]=vd:ud[md]=parseValue$1(fd,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(ud[md]=!0)}if(!Object.keys(ud).length)return;if(this.options.attributesGroupName){const dd={};return dd[this.options.attributesGroupName]=ud,dd}return ud}}const parseXml$2=function(Ra){Ra=Ra.replace(/\r\n?/g,`
`);const qa=new xmlNode$2("!xml");let nd=qa,od="",ld="";for(let ud=0;ud<Ra.length;ud++)if(Ra[ud]==="<")if(Ra[ud+1]==="/"){const pd=findClosingIndex$1(Ra,">",ud,"Closing Tag is not closed.");let fd=Ra.substring(ud+2,pd).trim();if(this.options.removeNSPrefix){const Ad=fd.indexOf(":");Ad!==-1&&(fd=fd.substr(Ad+1))}this.options.transformTagName&&(fd=this.options.transformTagName(fd)),nd&&(od=this.saveTextToParentTag(od,nd,ld));const md=ld.substring(ld.lastIndexOf(".")+1);if(fd&&this.options.unpairedTags.indexOf(fd)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: </${fd}>`);let vd=0;md&&this.options.unpairedTags.indexOf(md)!==-1?(vd=ld.lastIndexOf(".",ld.lastIndexOf(".")-1),this.tagsNodeStack.pop()):vd=ld.lastIndexOf("."),ld=ld.substring(0,vd),nd=this.tagsNodeStack.pop(),od="",ud=pd}else if(Ra[ud+1]==="?"){let pd=readTagExp$1(Ra,ud,!1,"?>");if(!pd)throw new Error("Pi Tag is not closed.");if(od=this.saveTextToParentTag(od,nd,ld),!(this.options.ignoreDeclaration&&pd.tagName==="?xml"||this.options.ignorePiTags)){const fd=new xmlNode$2(pd.tagName);fd.add(this.options.textNodeName,""),pd.tagName!==pd.tagExp&&pd.attrExpPresent&&(fd[":@"]=this.buildAttributesMap(pd.tagExp,ld,pd.tagName)),this.addChild(nd,fd,ld)}ud=pd.closeIndex+1}else if(Ra.substr(ud+1,3)==="!--"){const pd=findClosingIndex$1(Ra,"-->",ud+4,"Comment is not closed.");if(this.options.commentPropName){const fd=Ra.substring(ud+4,pd-2);od=this.saveTextToParentTag(od,nd,ld),nd.add(this.options.commentPropName,[{[this.options.textNodeName]:fd}])}ud=pd}else if(Ra.substr(ud+1,2)==="!D"){const pd=readDocType$2(Ra,ud);this.docTypeEntities=pd.entities,ud=pd.i}else if(Ra.substr(ud+1,2)==="!["){const pd=findClosingIndex$1(Ra,"]]>",ud,"CDATA is not closed.")-2,fd=Ra.substring(ud+9,pd);od=this.saveTextToParentTag(od,nd,ld);let md=this.parseTextData(fd,nd.tagname,ld,!0,!1,!0,!0);md==null&&(md=""),this.options.cdataPropName?nd.add(this.options.cdataPropName,[{[this.options.textNodeName]:fd}]):nd.add(this.options.textNodeName,md),ud=pd+2}else{let pd=readTagExp$1(Ra,ud,this.options.removeNSPrefix),fd=pd.tagName;const md=pd.rawTagName;let vd=pd.tagExp,Ad=pd.attrExpPresent,Nd=pd.closeIndex;this.options.transformTagName&&(fd=this.options.transformTagName(fd)),nd&&od&&nd.tagname!=="!xml"&&(od=this.saveTextToParentTag(od,nd,ld,!1));const Od=nd;if(Od&&this.options.unpairedTags.indexOf(Od.tagname)!==-1&&(nd=this.tagsNodeStack.pop(),ld=ld.substring(0,ld.lastIndexOf("."))),fd!==qa.tagname&&(ld+=ld?"."+fd:fd),this.isItStopNode(this.options.stopNodes,ld,fd)){let kd="";if(vd.length>0&&vd.lastIndexOf("/")===vd.length-1)fd[fd.length-1]==="/"?(fd=fd.substr(0,fd.length-1),ld=ld.substr(0,ld.length-1),vd=fd):vd=vd.substr(0,vd.length-1),ud=pd.closeIndex;else if(this.options.unpairedTags.indexOf(fd)!==-1)ud=pd.closeIndex;else{const Gd=this.readStopNodeData(Ra,md,Nd+1);if(!Gd)throw new Error(`Unexpected end of ${md}`);ud=Gd.i,kd=Gd.tagContent}const Ld=new xmlNode$2(fd);fd!==vd&&Ad&&(Ld[":@"]=this.buildAttributesMap(vd,ld,fd)),kd&&(kd=this.parseTextData(kd,fd,ld,!0,Ad,!0,!0)),ld=ld.substr(0,ld.lastIndexOf(".")),Ld.add(this.options.textNodeName,kd),this.addChild(nd,Ld,ld)}else{if(vd.length>0&&vd.lastIndexOf("/")===vd.length-1){fd[fd.length-1]==="/"?(fd=fd.substr(0,fd.length-1),ld=ld.substr(0,ld.length-1),vd=fd):vd=vd.substr(0,vd.length-1),this.options.transformTagName&&(fd=this.options.transformTagName(fd));const kd=new xmlNode$2(fd);fd!==vd&&Ad&&(kd[":@"]=this.buildAttributesMap(vd,ld,fd)),this.addChild(nd,kd,ld),ld=ld.substr(0,ld.lastIndexOf("."))}else{const kd=new xmlNode$2(fd);this.tagsNodeStack.push(nd),fd!==vd&&Ad&&(kd[":@"]=this.buildAttributesMap(vd,ld,fd)),this.addChild(nd,kd,ld),nd=kd}od="",ud=Nd}}else od+=Ra[ud];return qa.child};function addChild$1(Ra,qa,nd){const od=this.options.updateTag(qa.tagname,nd,qa[":@"]);od===!1||(typeof od=="string"&&(qa.tagname=od),Ra.addChild(qa))}const replaceEntitiesValue$3=function(Ra){if(this.options.processEntities){for(let qa in this.docTypeEntities){const nd=this.docTypeEntities[qa];Ra=Ra.replace(nd.regx,nd.val)}for(let qa in this.lastEntities){const nd=this.lastEntities[qa];Ra=Ra.replace(nd.regex,nd.val)}if(this.options.htmlEntities)for(let qa in this.htmlEntities){const nd=this.htmlEntities[qa];Ra=Ra.replace(nd.regex,nd.val)}Ra=Ra.replace(this.ampEntity.regex,this.ampEntity.val)}return Ra};function saveTextToParentTag$1(Ra,qa,nd,od){return Ra&&(od===void 0&&(od=Object.keys(qa.child).length===0),Ra=this.parseTextData(Ra,qa.tagname,nd,!1,qa[":@"]?Object.keys(qa[":@"]).length!==0:!1,od),Ra!==void 0&&Ra!==""&&qa.add(this.options.textNodeName,Ra),Ra=""),Ra}function isItStopNode$1(Ra,qa,nd){const od="*."+nd;for(const ld in Ra){const ud=Ra[ld];if(od===ud||qa===ud)return!0}return!1}function tagExpWithClosingIndex$1(Ra,qa,nd=">"){let od,ld="";for(let ud=qa;ud<Ra.length;ud++){let dd=Ra[ud];if(od)dd===od&&(od="");else if(dd==='"'||dd==="'")od=dd;else if(dd===nd[0])if(nd[1]){if(Ra[ud+1]===nd[1])return{data:ld,index:ud}}else return{data:ld,index:ud};else dd===" "&&(dd=" ");ld+=dd}}function findClosingIndex$1(Ra,qa,nd,od){const ld=Ra.indexOf(qa,nd);if(ld===-1)throw new Error(od);return ld+qa.length-1}function readTagExp$1(Ra,qa,nd,od=">"){const ld=tagExpWithClosingIndex$1(Ra,qa+1,od);if(!ld)return;let ud=ld.data;const dd=ld.index,pd=ud.search(/\s/);let fd=ud,md=!0;pd!==-1&&(fd=ud.substring(0,pd),ud=ud.substring(pd+1).trimStart());const vd=fd;if(nd){const Ad=fd.indexOf(":");Ad!==-1&&(fd=fd.substr(Ad+1),md=fd!==ld.data.substr(Ad+1))}return{tagName:fd,tagExp:ud,closeIndex:dd,attrExpPresent:md,rawTagName:vd}}function readStopNodeData$1(Ra,qa,nd){const od=nd;let ld=1;for(;nd<Ra.length;nd++)if(Ra[nd]==="<")if(Ra[nd+1]==="/"){const ud=findClosingIndex$1(Ra,">",nd,`${qa} is not closed`);if(Ra.substring(nd+2,ud).trim()===qa&&(ld--,ld===0))return{tagContent:Ra.substring(od,nd),i:ud};nd=ud}else if(Ra[nd+1]==="?")nd=findClosingIndex$1(Ra,"?>",nd+1,"StopNode is not closed.");else if(Ra.substr(nd+1,3)==="!--")nd=findClosingIndex$1(Ra,"-->",nd+3,"StopNode is not closed.");else if(Ra.substr(nd+1,2)==="![")nd=findClosingIndex$1(Ra,"]]>",nd,"StopNode is not closed.")-2;else{const ud=readTagExp$1(Ra,nd,">");ud&&((ud&&ud.tagName)===qa&&ud.tagExp[ud.tagExp.length-1]!=="/"&&ld++,nd=ud.closeIndex)}}function parseValue$1(Ra,qa,nd){if(qa&&typeof Ra=="string"){const od=Ra.trim();return od==="true"?!0:od==="false"?!1:toNumber$1(Ra,nd)}else return util$5.isExist(Ra)?Ra:""}var OrderedObjParser_1$1=OrderedObjParser$3,node2json$1={};function prettify$3(Ra,qa){return compress$1(Ra,qa)}function compress$1(Ra,qa,nd){let od;const ld={};for(let ud=0;ud<Ra.length;ud++){const dd=Ra[ud],pd=propName$3(dd);let fd="";if(nd===void 0?fd=pd:fd=nd+"."+pd,pd===qa.textNodeName)od===void 0?od=dd[pd]:od+=""+dd[pd];else{if(pd===void 0)continue;if(dd[pd]){let md=compress$1(dd[pd],qa,fd);const vd=isLeafTag$1(md,qa);dd[":@"]?assignAttributes$1(md,dd[":@"],fd,qa):Object.keys(md).length===1&&md[qa.textNodeName]!==void 0&&!qa.alwaysCreateTextNode?md=md[qa.textNodeName]:Object.keys(md).length===0&&(qa.alwaysCreateTextNode?md[qa.textNodeName]="":md=""),ld[pd]!==void 0&&ld.hasOwnProperty(pd)?(Array.isArray(ld[pd])||(ld[pd]=[ld[pd]]),ld[pd].push(md)):qa.isArray(pd,fd,vd)?ld[pd]=[md]:ld[pd]=md}}}return typeof od=="string"?od.length>0&&(ld[qa.textNodeName]=od):od!==void 0&&(ld[qa.textNodeName]=od),ld}function propName$3(Ra){const qa=Object.keys(Ra);for(let nd=0;nd<qa.length;nd++){const od=qa[nd];if(od!==":@")return od}}function assignAttributes$1(Ra,qa,nd,od){if(qa){const ld=Object.keys(qa),ud=ld.length;for(let dd=0;dd<ud;dd++){const pd=ld[dd];od.isArray(pd,nd+"."+pd,!0,!0)?Ra[pd]=[qa[pd]]:Ra[pd]=qa[pd]}}}function isLeafTag$1(Ra,qa){const{textNodeName:nd}=qa,od=Object.keys(Ra).length;return!!(od===0||od===1&&(Ra[nd]||typeof Ra[nd]=="boolean"||Ra[nd]===0))}node2json$1.prettify=prettify$3;const{buildOptions:buildOptions$2}=OptionsBuilder$1,OrderedObjParser$2=OrderedObjParser_1$1,{prettify:prettify$2}=node2json$1,validator$4=validator$5;let XMLParser$3=class{constructor(qa){this.externalEntities={},this.options=buildOptions$2(qa)}parse(qa,nd){if(typeof qa!="string")if(qa.toString)qa=qa.toString();else throw new Error("XML data is accepted in String or Bytes[] form.");if(nd){nd===!0&&(nd={});const ud=validator$4.validate(qa,nd);if(ud!==!0)throw Error(`${ud.err.msg}:${ud.err.line}:${ud.err.col}`)}const od=new OrderedObjParser$2(this.options);od.addExternalEntities(this.externalEntities);const ld=od.parseXml(qa);return this.options.preserveOrder||ld===void 0?ld:prettify$2(ld,this.options)}addEntity(qa,nd){if(nd.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");if(qa.indexOf("&")!==-1||qa.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if(nd==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[qa]=nd}};var XMLParser_1$1=XMLParser$3;const EOL$1=`
`;function toXml$1(Ra,qa){let nd="";return qa.format&&qa.indentBy.length>0&&(nd=EOL$1),arrToStr$1(Ra,qa,"",nd)}function arrToStr$1(Ra,qa,nd,od){let ld="",ud=!1;for(let dd=0;dd<Ra.length;dd++){const pd=Ra[dd],fd=propName$2(pd);if(fd===void 0)continue;let md="";if(nd.length===0?md=fd:md=`${nd}.${fd}`,fd===qa.textNodeName){let kd=pd[fd];isStopNode$1(md,qa)||(kd=qa.tagValueProcessor(fd,kd),kd=replaceEntitiesValue$2(kd,qa)),ud&&(ld+=od),ld+=kd,ud=!1;continue}else if(fd===qa.cdataPropName){ud&&(ld+=od),ld+=`<![CDATA[${pd[fd][0][qa.textNodeName]}]]>`,ud=!1;continue}else if(fd===qa.commentPropName){ld+=od+`<!--${pd[fd][0][qa.textNodeName]}-->`,ud=!0;continue}else if(fd[0]==="?"){const kd=attr_to_str$1(pd[":@"],qa),Ld=fd==="?xml"?"":od;let Gd=pd[fd][0][qa.textNodeName];Gd=Gd.length!==0?" "+Gd:"",ld+=Ld+`<${fd}${Gd}${kd}?>`,ud=!0;continue}let vd=od;vd!==""&&(vd+=qa.indentBy);const Ad=attr_to_str$1(pd[":@"],qa),Nd=od+`<${fd}${Ad}`,Od=arrToStr$1(pd[fd],qa,md,vd);qa.unpairedTags.indexOf(fd)!==-1?qa.suppressUnpairedNode?ld+=Nd+">":ld+=Nd+"/>":(!Od||Od.length===0)&&qa.suppressEmptyNode?ld+=Nd+"/>":Od&&Od.endsWith(">")?ld+=Nd+`>${Od}${od}</${fd}>`:(ld+=Nd+">",Od&&od!==""&&(Od.includes("/>")||Od.includes("</"))?ld+=od+qa.indentBy+Od+od:ld+=Od,ld+=`</${fd}>`),ud=!0}return ld}function propName$2(Ra){const qa=Object.keys(Ra);for(let nd=0;nd<qa.length;nd++){const od=qa[nd];if(Ra.hasOwnProperty(od)&&od!==":@")return od}}function attr_to_str$1(Ra,qa){let nd="";if(Ra&&!qa.ignoreAttributes)for(let od in Ra){if(!Ra.hasOwnProperty(od))continue;let ld=qa.attributeValueProcessor(od,Ra[od]);ld=replaceEntitiesValue$2(ld,qa),ld===!0&&qa.suppressBooleanAttributes?nd+=` ${od.substr(qa.attributeNamePrefix.length)}`:nd+=` ${od.substr(qa.attributeNamePrefix.length)}="${ld}"`}return nd}function isStopNode$1(Ra,qa){Ra=Ra.substr(0,Ra.length-qa.textNodeName.length-1);let nd=Ra.substr(Ra.lastIndexOf(".")+1);for(let od in qa.stopNodes)if(qa.stopNodes[od]===Ra||qa.stopNodes[od]==="*."+nd)return!0;return!1}function replaceEntitiesValue$2(Ra,qa){if(Ra&&Ra.length>0&&qa.processEntities)for(let nd=0;nd<qa.entities.length;nd++){const od=qa.entities[nd];Ra=Ra.replace(od.regex,od.val)}return Ra}var orderedJs2Xml$1=toXml$1;const buildFromOrderedJs$1=orderedJs2Xml$1,defaultOptions$3={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(Ra,qa){return qa},attributeValueProcessor:function(Ra,qa){return qa},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&amp;"},{regex:new RegExp(">","g"),val:"&gt;"},{regex:new RegExp("<","g"),val:"&lt;"},{regex:new RegExp("'","g"),val:"&apos;"},{regex:new RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1};function Builder$1(Ra){this.options=Object.assign({},defaultOptions$3,Ra),this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=isAttribute$1),this.processTextOrObjNode=processTextOrObjNode$1,this.options.format?(this.indentate=indentate$1,this.tagEndChar=`>
`,this.newLine=`
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}Builder$1.prototype.build=function(Ra){return this.options.preserveOrder?buildFromOrderedJs$1(Ra,this.options):(Array.isArray(Ra)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(Ra={[this.options.arrayNodeName]:Ra}),this.j2x(Ra,0).val)};Builder$1.prototype.j2x=function(Ra,qa){let nd="",od="";for(let ld in Ra)if(Object.prototype.hasOwnProperty.call(Ra,ld))if(typeof Ra[ld]>"u")this.isAttribute(ld)&&(od+="");else if(Ra[ld]===null)this.isAttribute(ld)?od+="":ld[0]==="?"?od+=this.indentate(qa)+"<"+ld+"?"+this.tagEndChar:od+=this.indentate(qa)+"<"+ld+"/"+this.tagEndChar;else if(Ra[ld]instanceof Date)od+=this.buildTextValNode(Ra[ld],ld,"",qa);else if(typeof Ra[ld]!="object"){const ud=this.isAttribute(ld);if(ud)nd+=this.buildAttrPairStr(ud,""+Ra[ld]);else if(ld===this.options.textNodeName){let dd=this.options.tagValueProcessor(ld,""+Ra[ld]);od+=this.replaceEntitiesValue(dd)}else od+=this.buildTextValNode(Ra[ld],ld,"",qa)}else if(Array.isArray(Ra[ld])){const ud=Ra[ld].length;let dd="",pd="";for(let fd=0;fd<ud;fd++){const md=Ra[ld][fd];if(!(typeof md>"u"))if(md===null)ld[0]==="?"?od+=this.indentate(qa)+"<"+ld+"?"+this.tagEndChar:od+=this.indentate(qa)+"<"+ld+"/"+this.tagEndChar;else if(typeof md=="object")if(this.options.oneListGroup){const vd=this.j2x(md,qa+1);dd+=vd.val,this.options.attributesGroupName&&md.hasOwnProperty(this.options.attributesGroupName)&&(pd+=vd.attrStr)}else dd+=this.processTextOrObjNode(md,ld,qa);else if(this.options.oneListGroup){let vd=this.options.tagValueProcessor(ld,md);vd=this.replaceEntitiesValue(vd),dd+=vd}else dd+=this.buildTextValNode(md,ld,"",qa)}this.options.oneListGroup&&(dd=this.buildObjectNode(dd,ld,pd,qa)),od+=dd}else if(this.options.attributesGroupName&&ld===this.options.attributesGroupName){const ud=Object.keys(Ra[ld]),dd=ud.length;for(let pd=0;pd<dd;pd++)nd+=this.buildAttrPairStr(ud[pd],""+Ra[ld][ud[pd]])}else od+=this.processTextOrObjNode(Ra[ld],ld,qa);return{attrStr:nd,val:od}};Builder$1.prototype.buildAttrPairStr=function(Ra,qa){return qa=this.options.attributeValueProcessor(Ra,""+qa),qa=this.replaceEntitiesValue(qa),this.options.suppressBooleanAttributes&&qa==="true"?" "+Ra:" "+Ra+'="'+qa+'"'};function processTextOrObjNode$1(Ra,qa,nd){const od=this.j2x(Ra,nd+1);return Ra[this.options.textNodeName]!==void 0&&Object.keys(Ra).length===1?this.buildTextValNode(Ra[this.options.textNodeName],qa,od.attrStr,nd):this.buildObjectNode(od.val,qa,od.attrStr,nd)}Builder$1.prototype.buildObjectNode=function(Ra,qa,nd,od){if(Ra==="")return qa[0]==="?"?this.indentate(od)+"<"+qa+nd+"?"+this.tagEndChar:this.indentate(od)+"<"+qa+nd+this.closeTag(qa)+this.tagEndChar;{let ld="</"+qa+this.tagEndChar,ud="";return qa[0]==="?"&&(ud="?",ld=""),(nd||nd==="")&&Ra.indexOf("<")===-1?this.indentate(od)+"<"+qa+nd+ud+">"+Ra+ld:this.options.commentPropName!==!1&&qa===this.options.commentPropName&&ud.length===0?this.indentate(od)+`<!--${Ra}-->`+this.newLine:this.indentate(od)+"<"+qa+nd+ud+this.tagEndChar+Ra+this.indentate(od)+ld}};Builder$1.prototype.closeTag=function(Ra){let qa="";return this.options.unpairedTags.indexOf(Ra)!==-1?this.options.suppressUnpairedNode||(qa="/"):this.options.suppressEmptyNode?qa="/":qa=`></${Ra}`,qa};Builder$1.prototype.buildTextValNode=function(Ra,qa,nd,od){if(this.options.cdataPropName!==!1&&qa===this.options.cdataPropName)return this.indentate(od)+`<![CDATA[${Ra}]]>`+this.newLine;if(this.options.commentPropName!==!1&&qa===this.options.commentPropName)return this.indentate(od)+`<!--${Ra}-->`+this.newLine;if(qa[0]==="?")return this.indentate(od)+"<"+qa+nd+"?"+this.tagEndChar;{let ld=this.options.tagValueProcessor(qa,Ra);return ld=this.replaceEntitiesValue(ld),ld===""?this.indentate(od)+"<"+qa+nd+this.closeTag(qa)+this.tagEndChar:this.indentate(od)+"<"+qa+nd+">"+ld+"</"+qa+this.tagEndChar}};Builder$1.prototype.replaceEntitiesValue=function(Ra){if(Ra&&Ra.length>0&&this.options.processEntities)for(let qa=0;qa<this.options.entities.length;qa++){const nd=this.options.entities[qa];Ra=Ra.replace(nd.regex,nd.val)}return Ra};function indentate$1(Ra){return this.options.indentBy.repeat(Ra)}function isAttribute$1(Ra){return Ra.startsWith(this.options.attributeNamePrefix)&&Ra!==this.options.textNodeName?Ra.substr(this.attrPrefixLen):!1}var json2xml$1=Builder$1;const validator$3=validator$5,XMLParser$2=XMLParser_1$1,XMLBuilder$1=json2xml$1;var fxp$3={XMLParser:XMLParser$2,XMLValidator:validator$3,XMLBuilder:XMLBuilder$1};const parseXmlBody=(Ra,qa)=>collectBodyString(Ra,qa).then(nd=>{if(nd.length){const od=new fxp$3.XMLParser({attributeNamePrefix:"",htmlEntities:!0,ignoreAttributes:!1,ignoreDeclaration:!0,parseTagValue:!1,trimValues:!1,tagValueProcessor:(fd,md)=>md.trim()===""&&md.includes(`
`)?"":void 0});od.addEntity("#xD","\r"),od.addEntity("#10",`
`);let ld;try{ld=od.parse(nd,!0)}catch(fd){throw fd&&typeof fd=="object"&&Object.defineProperty(fd,"$responseBodyText",{value:nd}),fd}const ud="#text",dd=Object.keys(ld)[0],pd=ld[dd];return pd[ud]&&(pd[dd]=pd[ud],delete pd[ud]),getValueFromTextNode(pd)}return{}}),parseXmlErrorBody=async(Ra,qa)=>{const nd=await parseXmlBody(Ra,qa);return nd.Error&&(nd.Error.message=nd.Error.message??nd.Error.Message),nd},loadRestXmlErrorCode=(Ra,qa)=>{var nd;if(((nd=qa==null?void 0:qa.Error)==null?void 0:nd.Code)!==void 0)return qa.Error.Code;if((qa==null?void 0:qa.Code)!==void 0)return qa.Code;if(Ra.statusCode==404)return"NotFound"},CLIENT_SUPPORTED_ALGORITHMS=[ChecksumAlgorithm.CRC32,ChecksumAlgorithm.CRC32C,ChecksumAlgorithm.SHA1,ChecksumAlgorithm.SHA256],PRIORITY_ORDER_ALGORITHMS=[ChecksumAlgorithm.SHA256,ChecksumAlgorithm.SHA1,ChecksumAlgorithm.CRC32,ChecksumAlgorithm.CRC32C],getChecksumAlgorithmForRequest=(Ra,{requestChecksumRequired:qa,requestAlgorithmMember:nd},od)=>{const ld=od?S3_EXPRESS_DEFAULT_CHECKSUM_ALGORITHM:DEFAULT_CHECKSUM_ALGORITHM;if(!nd||!Ra[nd])return qa?ld:void 0;const ud=Ra[nd];if(!CLIENT_SUPPORTED_ALGORITHMS.includes(ud))throw new Error(`The checksum algorithm "${ud}" is not supported by the client. Select one of ${CLIENT_SUPPORTED_ALGORITHMS}.`);return ud},getChecksumLocationName=Ra=>Ra===ChecksumAlgorithm.MD5?"content-md5":`x-amz-checksum-${Ra.toLowerCase()}`,hasHeader=(Ra,qa)=>{const nd=Ra.toLowerCase();for(const od of Object.keys(qa))if(nd===od.toLowerCase())return!0;return!1},hasHeaderWithPrefix=(Ra,qa)=>{const nd=Ra.toLowerCase();for(const od of Object.keys(qa))if(od.toLowerCase().startsWith(nd))return!0;return!1},isStreaming=Ra=>Ra!==void 0&&typeof Ra!="string"&&!ArrayBuffer.isView(Ra)&&!isArrayBuffer$1(Ra);function __awaiter$8(Ra,qa,nd,od){function ld(ud){return ud instanceof nd?ud:new nd(function(dd){dd(ud)})}return new(nd||(nd=Promise))(function(ud,dd){function pd(vd){try{md(od.next(vd))}catch(Ad){dd(Ad)}}function fd(vd){try{md(od.throw(vd))}catch(Ad){dd(Ad)}}function md(vd){vd.done?ud(vd.value):ld(vd.value).then(pd,fd)}md((od=od.apply(Ra,qa||[])).next())})}function __generator$8(Ra,qa){var nd={label:0,sent:function(){if(ud[0]&1)throw ud[1];return ud[1]},trys:[],ops:[]},od,ld,ud,dd=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return dd.next=pd(0),dd.throw=pd(1),dd.return=pd(2),typeof Symbol=="function"&&(dd[Symbol.iterator]=function(){return this}),dd;function pd(md){return function(vd){return fd([md,vd])}}function fd(md){if(od)throw new TypeError("Generator is already executing.");for(;dd&&(dd=0,md[0]&&(nd=0)),nd;)try{if(od=1,ld&&(ud=md[0]&2?ld.return:md[0]?ld.throw||((ud=ld.return)&&ud.call(ld),0):ld.next)&&!(ud=ud.call(ld,md[1])).done)return ud;switch(ld=0,ud&&(md=[md[0]&2,ud.value]),md[0]){case 0:case 1:ud=md;break;case 4:return nd.label++,{value:md[1],done:!1};case 5:nd.label++,ld=md[1],md=[0];continue;case 7:md=nd.ops.pop(),nd.trys.pop();continue;default:if(ud=nd.trys,!(ud=ud.length>0&&ud[ud.length-1])&&(md[0]===6||md[0]===2)){nd=0;continue}if(md[0]===3&&(!ud||md[1]>ud[0]&&md[1]<ud[3])){nd.label=md[1];break}if(md[0]===6&&nd.label<ud[1]){nd.label=ud[1],ud=md;break}if(ud&&nd.label<ud[2]){nd.label=ud[2],nd.ops.push(md);break}ud[2]&&nd.ops.pop(),nd.trys.pop();continue}md=qa.call(Ra,nd)}catch(vd){md=[6,vd],ld=0}finally{od=ud=0}if(md[0]&5)throw md[1];return{value:md[0]?md[1]:void 0,done:!0}}}function __values(Ra){var qa=typeof Symbol=="function"&&Symbol.iterator,nd=qa&&Ra[qa],od=0;if(nd)return nd.call(Ra);if(Ra&&typeof Ra.length=="number")return{next:function(){return Ra&&od>=Ra.length&&(Ra=void 0),{value:Ra&&Ra[od++],done:!Ra}}};throw new TypeError(qa?"Object is not iterable.":"Symbol.iterator is not defined.")}typeof SuppressedError=="function"&&SuppressedError;const fromUtf8$2=Ra=>new TextEncoder().encode(Ra);var fromUtf8$1=typeof Buffer$4<"u"&&Buffer$4.from?function(Ra){return Buffer$4.from(Ra,"utf8")}:fromUtf8$2;function convertToBuffer$2(Ra){return Ra instanceof Uint8Array?Ra:typeof Ra=="string"?fromUtf8$1(Ra):ArrayBuffer.isView(Ra)?new Uint8Array(Ra.buffer,Ra.byteOffset,Ra.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(Ra)}function isEmptyData$2(Ra){return typeof Ra=="string"?Ra.length===0:Ra.byteLength===0}function numToUint8(Ra){return new Uint8Array([(Ra&4278190080)>>24,(Ra&16711680)>>16,(Ra&65280)>>8,Ra&255])}function uint32ArrayFrom(Ra){if(!Uint32Array.from){for(var qa=new Uint32Array(Ra.length),nd=0;nd<Ra.length;)qa[nd]=Ra[nd],nd+=1;return qa}return Uint32Array.from(Ra)}var AwsCrc32c=function(){function Ra(){this.crc32c=new Crc32c}return Ra.prototype.update=function(qa){isEmptyData$2(qa)||this.crc32c.update(convertToBuffer$2(qa))},Ra.prototype.digest=function(){return __awaiter$8(this,void 0,void 0,function(){return __generator$8(this,function(qa){return[2,numToUint8(this.crc32c.digest())]})})},Ra.prototype.reset=function(){this.crc32c=new Crc32c},Ra}(),Crc32c=function(){function Ra(){this.checksum=4294967295}return Ra.prototype.update=function(qa){var nd,od;try{for(var ld=__values(qa),ud=ld.next();!ud.done;ud=ld.next()){var dd=ud.value;this.checksum=this.checksum>>>8^lookupTable$1[(this.checksum^dd)&255]}}catch(pd){nd={error:pd}}finally{try{ud&&!ud.done&&(od=ld.return)&&od.call(ld)}finally{if(nd)throw nd.error}}return this},Ra.prototype.digest=function(){return(this.checksum^4294967295)>>>0},Ra}(),a_lookupTable=[0,4067132163,3778769143,324072436,3348797215,904991772,648144872,3570033899,2329499855,2024987596,1809983544,2575936315,1296289744,3207089363,2893594407,1578318884,274646895,3795141740,4049975192,51262619,3619967088,632279923,922689671,3298075524,2592579488,1760304291,2075979607,2312596564,1562183871,2943781820,3156637768,1313733451,549293790,3537243613,3246849577,871202090,3878099393,357341890,102525238,4101499445,2858735121,1477399826,1264559846,3107202533,1845379342,2677391885,2361733625,2125378298,820201905,3263744690,3520608582,598981189,4151959214,85089709,373468761,3827903834,3124367742,1213305469,1526817161,2842354314,2107672161,2412447074,2627466902,1861252501,1098587580,3004210879,2688576843,1378610760,2262928035,1955203488,1742404180,2511436119,3416409459,969524848,714683780,3639785095,205050476,4266873199,3976438427,526918040,1361435347,2739821008,2954799652,1114974503,2529119692,1691668175,2005155131,2247081528,3690758684,697762079,986182379,3366744552,476452099,3993867776,4250756596,255256311,1640403810,2477592673,2164122517,1922457750,2791048317,1412925310,1197962378,3037525897,3944729517,427051182,170179418,4165941337,746937522,3740196785,3451792453,1070968646,1905808397,2213795598,2426610938,1657317369,3053634322,1147748369,1463399397,2773627110,4215344322,153784257,444234805,3893493558,1021025245,3467647198,3722505002,797665321,2197175160,1889384571,1674398607,2443626636,1164749927,3070701412,2757221520,1446797203,137323447,4198817972,3910406976,461344835,3484808360,1037989803,781091935,3705997148,2460548119,1623424788,1939049696,2180517859,1429367560,2807687179,3020495871,1180866812,410100952,3927582683,4182430767,186734380,3756733383,763408580,1053836080,3434856499,2722870694,1344288421,1131464017,2971354706,1708204729,2545590714,2229949006,1988219213,680717673,3673779818,3383336350,1002577565,4010310262,493091189,238226049,4233660802,2987750089,1082061258,1395524158,2705686845,1972364758,2279892693,2494862625,1725896226,952904198,3399985413,3656866545,731699698,4283874585,222117402,510512622,3959836397,3280807620,837199303,582374963,3504198960,68661723,4135334616,3844915500,390545967,1230274059,3141532936,2825850620,1510247935,2395924756,2091215383,1878366691,2644384480,3553878443,565732008,854102364,3229815391,340358836,3861050807,4117890627,119113024,1493875044,2875275879,3090270611,1247431312,2660249211,1828433272,2141937292,2378227087,3811616794,291187481,34330861,4032846830,615137029,3603020806,3314634738,939183345,1776939221,2609017814,2295496738,2058945313,2926798794,1545135305,1330124605,3173225534,4084100981,17165430,307568514,3762199681,888469610,3332340585,3587147933,665062302,2042050490,2346497209,2559330125,1793573966,3190661285,1279665062,1595330642,2910671697],lookupTable$1=uint32ArrayFrom(a_lookupTable),AwsCrc32=function(){function Ra(){this.crc32=new Crc32}return Ra.prototype.update=function(qa){isEmptyData$2(qa)||this.crc32.update(convertToBuffer$2(qa))},Ra.prototype.digest=function(){return __awaiter$8(this,void 0,void 0,function(){return __generator$8(this,function(qa){return[2,numToUint8(this.crc32.digest())]})})},Ra.prototype.reset=function(){this.crc32=new Crc32},Ra}(),Crc32=function(){function Ra(){this.checksum=4294967295}return Ra.prototype.update=function(qa){var nd,od;try{for(var ld=__values(qa),ud=ld.next();!ud.done;ud=ld.next()){var dd=ud.value;this.checksum=this.checksum>>>8^lookupTable[(this.checksum^dd)&255]}}catch(pd){nd={error:pd}}finally{try{ud&&!ud.done&&(od=ld.return)&&od.call(ld)}finally{if(nd)throw nd.error}}return this},Ra.prototype.digest=function(){return(this.checksum^4294967295)>>>0},Ra}(),a_lookUpTable=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117],lookupTable=uint32ArrayFrom(a_lookUpTable);const getCrc32ChecksumAlgorithmFunction=()=>AwsCrc32,selectChecksumAlgorithmFunction=(Ra,qa)=>{switch(Ra){case ChecksumAlgorithm.MD5:return qa.md5;case ChecksumAlgorithm.CRC32:return getCrc32ChecksumAlgorithmFunction();case ChecksumAlgorithm.CRC32C:return AwsCrc32c;case ChecksumAlgorithm.SHA1:return qa.sha1;case ChecksumAlgorithm.SHA256:return qa.sha256;default:throw new Error(`Unsupported checksum algorithm: ${Ra}`)}},stringHasher=(Ra,qa)=>{const nd=new Ra;return nd.update(toUint8Array(qa||"")),nd.digest()},flexibleChecksumsMiddlewareOptions={name:"flexibleChecksumsMiddleware",step:"build",tags:["BODY_CHECKSUM"],override:!0},flexibleChecksumsMiddleware=(Ra,qa)=>(nd,od)=>async ld=>{if(!HttpRequest.isInstance(ld.request)||hasHeaderWithPrefix("x-amz-checksum-",ld.request.headers))return nd(ld);const{request:ud,input:dd}=ld,{body:pd,headers:fd}=ud,{base64Encoder:md,streamHasher:vd}=Ra,{requestChecksumRequired:Ad,requestAlgorithmMember:Nd}=qa,Od=getChecksumAlgorithmForRequest(dd,{requestChecksumRequired:Ad,requestAlgorithmMember:Nd==null?void 0:Nd.name},!!od.isS3ExpressBucket);let kd=pd,Ld=fd;if(Od){switch(Od){case ChecksumAlgorithm.CRC32:setFeature$1(od,"FLEXIBLE_CHECKSUMS_REQ_CRC32","U");break;case ChecksumAlgorithm.CRC32C:setFeature$1(od,"FLEXIBLE_CHECKSUMS_REQ_CRC32C","V");break;case ChecksumAlgorithm.SHA1:setFeature$1(od,"FLEXIBLE_CHECKSUMS_REQ_SHA1","X");break;case ChecksumAlgorithm.SHA256:setFeature$1(od,"FLEXIBLE_CHECKSUMS_REQ_SHA256","Y");break}const jd=getChecksumLocationName(Od),Fd=selectChecksumAlgorithmFunction(Od,Ra);if(isStreaming(pd)){const{getAwsChunkedEncodingStream:Ud,bodyLengthChecker:qd}=Ra;kd=Ud(pd,{base64Encoder:md,bodyLengthChecker:qd,checksumLocationName:jd,checksumAlgorithmFn:Fd,streamHasher:vd}),Ld={...fd,"content-encoding":fd["content-encoding"]?`${fd["content-encoding"]},aws-chunked`:"aws-chunked","transfer-encoding":"chunked","x-amz-decoded-content-length":fd["content-length"],"x-amz-content-sha256":"STREAMING-UNSIGNED-PAYLOAD-TRAILER","x-amz-trailer":jd},delete Ld["content-length"]}else if(!hasHeader(jd,fd)){const Ud=await stringHasher(Fd,pd);Ld={...fd,[jd]:md(Ud)}}}return await nd({...ld,request:{...ud,headers:Ld,body:kd}})},getChecksumAlgorithmListForResponse=(Ra=[])=>{const qa=[];for(const nd of PRIORITY_ORDER_ALGORITHMS)!Ra.includes(nd)||!CLIENT_SUPPORTED_ALGORITHMS.includes(nd)||qa.push(nd);return qa},isChecksumWithPartNumber=Ra=>{const qa=Ra.lastIndexOf("-");if(qa!==-1){const nd=Ra.slice(qa+1);if(!nd.startsWith("0")){const od=parseInt(nd,10);if(!isNaN(od)&&od>=1&&od<=1e4)return!0}}return!1};function createReadStreamOnBuffer(Ra){return new Blob([Ra]).stream()}const getChecksum=async(Ra,{checksumAlgorithmFn:qa,base64Encoder:nd})=>nd(await stringHasher(qa,Ra)),validateChecksumFromResponse=async(Ra,{config:qa,responseAlgorithms:nd})=>{const od=getChecksumAlgorithmListForResponse(nd),{body:ld,headers:ud}=Ra;for(const dd of od){const pd=getChecksumLocationName(dd),fd=ud[pd];if(fd){const md=selectChecksumAlgorithmFunction(dd,qa),{base64Encoder:vd}=qa;if(isStreaming(ld)){Ra.body=createChecksumStream({expectedChecksum:fd,checksumSourceLocation:pd,checksum:new md,source:ld,base64Encoder:vd});return}const Ad=await getChecksum(ld,{checksumAlgorithmFn:md,base64Encoder:vd});if(Ad===fd)break;throw new Error(`Checksum mismatch: expected "${Ad}" but received "${fd}" in response header "${pd}".`)}}},flexibleChecksumsResponseMiddlewareOptions={name:"flexibleChecksumsResponseMiddleware",toMiddleware:"deserializerMiddleware",relation:"after",tags:["BODY_CHECKSUM"],override:!0},flexibleChecksumsResponseMiddleware=(Ra,qa)=>(nd,od)=>async ld=>{if(!HttpRequest.isInstance(ld.request))return nd(ld);const ud=ld.input,dd=await nd(ld),pd=dd.response;let fd;const{requestValidationModeMember:md,responseAlgorithms:vd}=qa;if(md&&ud[md]==="ENABLED"){const{clientName:Ad,commandName:Nd}=od;if(Ad==="S3Client"&&Nd==="GetObjectCommand"&&getChecksumAlgorithmListForResponse(vd).every(Ld=>{const Gd=getChecksumLocationName(Ld),jd=pd.headers[Gd];return!jd||isChecksumWithPartNumber(jd)}))return dd;const kd=isStreaming(pd.body);kd&&(fd=await Ra.streamCollector(pd.body),pd.body=createReadStreamOnBuffer(fd)),await validateChecksumFromResponse(dd.response,{config:Ra,responseAlgorithms:vd}),kd&&fd&&(pd.body=createReadStreamOnBuffer(fd))}return dd},getFlexibleChecksumsPlugin=(Ra,qa)=>({applyToStack:nd=>{nd.add(flexibleChecksumsMiddleware(Ra,qa),flexibleChecksumsMiddlewareOptions),nd.addRelativeTo(flexibleChecksumsResponseMiddleware(Ra,qa),flexibleChecksumsResponseMiddlewareOptions)}}),resolveFlexibleChecksumsConfig=Ra=>({...Ra,requestChecksumCalculation:normalizeProvider$1(Ra.requestChecksumCalculation??DEFAULT_REQUEST_CHECKSUM_CALCULATION),responseChecksumValidation:normalizeProvider$1(Ra.responseChecksumValidation??DEFAULT_RESPONSE_CHECKSUM_VALIDATION)});function resolveHostHeaderConfig(Ra){return Ra}const hostHeaderMiddleware=Ra=>qa=>async nd=>{if(!HttpRequest.isInstance(nd.request))return qa(nd);const{request:od}=nd,{handlerProtocol:ld=""}=Ra.requestHandler.metadata||{};if(ld.indexOf("h2")>=0&&!od.headers[":authority"])delete od.headers.host,od.headers[":authority"]=od.hostname+(od.port?":"+od.port:"");else if(!od.headers.host){let ud=od.hostname;od.port!=null&&(ud+=`:${od.port}`),od.headers.host=ud}return qa(nd)},hostHeaderMiddlewareOptions={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},getHostHeaderPlugin=Ra=>({applyToStack:qa=>{qa.add(hostHeaderMiddleware(Ra),hostHeaderMiddlewareOptions)}}),loggerMiddleware=()=>(Ra,qa)=>async nd=>{var od,ld;try{const ud=await Ra(nd),{clientName:dd,commandName:pd,logger:fd,dynamoDbDocumentClientOptions:md={}}=qa,{overrideInputFilterSensitiveLog:vd,overrideOutputFilterSensitiveLog:Ad}=md,Nd=vd??qa.inputFilterSensitiveLog,Od=Ad??qa.outputFilterSensitiveLog,{$metadata:kd,...Ld}=ud.output;return(od=fd==null?void 0:fd.info)==null||od.call(fd,{clientName:dd,commandName:pd,input:Nd(nd.input),output:Od(Ld),metadata:kd}),ud}catch(ud){const{clientName:dd,commandName:pd,logger:fd,dynamoDbDocumentClientOptions:md={}}=qa,{overrideInputFilterSensitiveLog:vd}=md,Ad=vd??qa.inputFilterSensitiveLog;throw(ld=fd==null?void 0:fd.error)==null||ld.call(fd,{clientName:dd,commandName:pd,input:Ad(nd.input),error:ud,metadata:ud.$metadata}),ud}},loggerMiddlewareOptions={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},getLoggerPlugin=Ra=>({applyToStack:qa=>{qa.add(loggerMiddleware(),loggerMiddlewareOptions)}});var define_process_env_default={};const TRACE_ID_HEADER_NAME="X-Amzn-Trace-Id",ENV_LAMBDA_FUNCTION_NAME="AWS_LAMBDA_FUNCTION_NAME",ENV_TRACE_ID="_X_AMZN_TRACE_ID",recursionDetectionMiddleware=Ra=>qa=>async nd=>{const{request:od}=nd;if(!HttpRequest.isInstance(od)||Ra.runtime!=="node"||od.headers.hasOwnProperty(TRACE_ID_HEADER_NAME))return qa(nd);const ld=define_process_env_default[ENV_LAMBDA_FUNCTION_NAME],ud=define_process_env_default[ENV_TRACE_ID],dd=pd=>typeof pd=="string"&&pd.length>0;return dd(ld)&&dd(ud)&&(od.headers[TRACE_ID_HEADER_NAME]=ud),qa({...nd,request:od})},addRecursionDetectionMiddlewareOptions={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"},getRecursionDetectionPlugin=Ra=>({applyToStack:qa=>{qa.add(recursionDetectionMiddleware(Ra),addRecursionDetectionMiddlewareOptions)}}),CONTENT_LENGTH_HEADER$1="content-length";function checkContentLengthHeader(){return(Ra,qa)=>async nd=>{var ld;const{request:od}=nd;if(HttpRequest.isInstance(od)&&!(CONTENT_LENGTH_HEADER$1 in od.headers)){const ud="Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.";typeof((ld=qa==null?void 0:qa.logger)==null?void 0:ld.warn)=="function"&&!(qa.logger instanceof NoOpLogger)?qa.logger.warn(ud):console.warn(ud)}return Ra({...nd})}}const checkContentLengthHeaderMiddlewareOptions={step:"finalizeRequest",tags:["CHECK_CONTENT_LENGTH_HEADER"],name:"getCheckContentLengthHeaderPlugin",override:!0},getCheckContentLengthHeaderPlugin=Ra=>({applyToStack:qa=>{qa.add(checkContentLengthHeader(),checkContentLengthHeaderMiddlewareOptions)}}),regionRedirectEndpointMiddleware=Ra=>(qa,nd)=>async od=>{const ld=await Ra.region(),ud=Ra.region;let dd=()=>{};nd.__s3RegionRedirect&&(Object.defineProperty(Ra,"region",{writable:!1,value:async()=>nd.__s3RegionRedirect}),dd=()=>Object.defineProperty(Ra,"region",{writable:!0,value:ud}));try{const pd=await qa(od);if(nd.__s3RegionRedirect){dd();const fd=await Ra.region();if(ld!==fd)throw new Error("Region was not restored following S3 region redirect.")}return pd}catch(pd){throw dd(),pd}},regionRedirectEndpointMiddlewareOptions={tags:["REGION_REDIRECT","S3"],name:"regionRedirectEndpointMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"};function regionRedirectMiddleware(Ra){return(qa,nd)=>async od=>{var ld,ud,dd;try{return await qa(od)}catch(pd){if(Ra.followRegionRedirects&&(((ld=pd==null?void 0:pd.$metadata)==null?void 0:ld.httpStatusCode)===301||((ud=pd==null?void 0:pd.$metadata)==null?void 0:ud.httpStatusCode)===400&&(pd==null?void 0:pd.name)==="IllegalLocationConstraintException")){try{const fd=pd.$response.headers["x-amz-bucket-region"];(dd=nd.logger)==null||dd.debug(`Redirecting from ${await Ra.region()} to ${fd}`),nd.__s3RegionRedirect=fd}catch(fd){throw new Error("Region redirect failed: "+fd)}return qa(od)}throw pd}}}const regionRedirectMiddlewareOptions={step:"initialize",tags:["REGION_REDIRECT","S3"],name:"regionRedirectMiddleware",override:!0},getRegionRedirectMiddlewarePlugin=Ra=>({applyToStack:qa=>{qa.add(regionRedirectMiddleware(Ra),regionRedirectMiddlewareOptions),qa.addRelativeTo(regionRedirectEndpointMiddleware(Ra),regionRedirectEndpointMiddlewareOptions)}});class S3ExpressIdentityCache{constructor(qa={}){this.data=qa,this.lastPurgeTime=Date.now()}get(qa){const nd=this.data[qa];if(nd)return nd}set(qa,nd){return this.data[qa]=nd,nd}delete(qa){delete this.data[qa]}async purgeExpired(){const qa=Date.now();if(!(this.lastPurgeTime+S3ExpressIdentityCache.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS>qa))for(const nd in this.data){const od=this.data[nd];if(!od.isRefreshing){const ld=await od.identity;ld.expiration&&ld.expiration.getTime()<qa&&delete this.data[nd]}}}}S3ExpressIdentityCache.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS=3e4;class S3ExpressIdentityCacheEntry{constructor(qa,nd=!1,od=Date.now()){this._identity=qa,this.isRefreshing=nd,this.accessed=od}get identity(){return this.accessed=Date.now(),this._identity}}class S3ExpressIdentityProviderImpl{constructor(qa,nd=new S3ExpressIdentityCache){this.createSessionFn=qa,this.cache=nd}async getS3ExpressIdentity(qa,nd){const od=nd.Bucket,{cache:ld}=this,ud=ld.get(od);return ud?ud.identity.then(dd=>{var md,vd;return(((md=dd.expiration)==null?void 0:md.getTime())??0)<Date.now()?ld.set(od,new S3ExpressIdentityCacheEntry(this.getIdentity(od))).identity:((((vd=dd.expiration)==null?void 0:vd.getTime())??0)<Date.now()+S3ExpressIdentityProviderImpl.REFRESH_WINDOW_MS&&!ud.isRefreshing&&(ud.isRefreshing=!0,this.getIdentity(od).then(Ad=>{ld.set(od,new S3ExpressIdentityCacheEntry(Promise.resolve(Ad)))})),dd)}):ld.set(od,new S3ExpressIdentityCacheEntry(this.getIdentity(od))).identity}async getIdentity(qa){var ld,ud;await this.cache.purgeExpired().catch(dd=>{console.warn(`Error while clearing expired entries in S3ExpressIdentityCache:
`+dd)});const nd=await this.createSessionFn(qa);if(!((ld=nd.Credentials)!=null&&ld.AccessKeyId)||!((ud=nd.Credentials)!=null&&ud.SecretAccessKey))throw new Error("s3#createSession response credential missing AccessKeyId or SecretAccessKey.");return{accessKeyId:nd.Credentials.AccessKeyId,secretAccessKey:nd.Credentials.SecretAccessKey,sessionToken:nd.Credentials.SessionToken,expiration:nd.Credentials.Expiration?new Date(nd.Credentials.Expiration):void 0}}}S3ExpressIdentityProviderImpl.REFRESH_WINDOW_MS=6e4;var SelectorType;(function(Ra){Ra.ENV="env",Ra.CONFIG="shared config entry"})(SelectorType||(SelectorType={}));const S3_EXPRESS_BUCKET_TYPE="Directory",S3_EXPRESS_BACKEND="S3Express",S3_EXPRESS_AUTH_SCHEME="sigv4-s3express",SESSION_TOKEN_QUERY_PARAM="X-Amz-S3session-Token",SESSION_TOKEN_HEADER=SESSION_TOKEN_QUERY_PARAM.toLowerCase();class SignatureV4S3Express extends SignatureV4{async signWithCredentials(qa,nd,od){const ld=getCredentialsWithoutSessionToken(nd);qa.headers[SESSION_TOKEN_HEADER]=nd.sessionToken;const ud=this;return setSingleOverride(ud,ld),ud.signRequest(qa,od??{})}async presignWithCredentials(qa,nd,od){const ld=getCredentialsWithoutSessionToken(nd);return delete qa.headers[SESSION_TOKEN_HEADER],qa.headers[SESSION_TOKEN_QUERY_PARAM]=nd.sessionToken,qa.query=qa.query??{},qa.query[SESSION_TOKEN_QUERY_PARAM]=nd.sessionToken,setSingleOverride(this,ld),this.presign(qa,od)}}function getCredentialsWithoutSessionToken(Ra){return{accessKeyId:Ra.accessKeyId,secretAccessKey:Ra.secretAccessKey,expiration:Ra.expiration}}function setSingleOverride(Ra,qa){const nd=setTimeout(()=>{throw new Error("SignatureV4S3Express credential override was created but not called.")},10),od=Ra.credentialProvider,ld=()=>(clearTimeout(nd),Ra.credentialProvider=od,Promise.resolve(qa));Ra.credentialProvider=ld}const s3ExpressMiddleware=Ra=>(qa,nd)=>async od=>{var ld,ud,dd,pd,fd;if(nd.endpointV2){const md=nd.endpointV2,vd=((dd=(ud=(ld=md.properties)==null?void 0:ld.authSchemes)==null?void 0:ud[0])==null?void 0:dd.name)===S3_EXPRESS_AUTH_SCHEME;if((((pd=md.properties)==null?void 0:pd.backend)===S3_EXPRESS_BACKEND||((fd=md.properties)==null?void 0:fd.bucketType)===S3_EXPRESS_BUCKET_TYPE)&&(setFeature$1(nd,"S3_EXPRESS_BUCKET","J"),nd.isS3ExpressBucket=!0),vd){const Nd=od.input.Bucket;if(Nd){const Od=await Ra.s3ExpressIdentityProvider.getS3ExpressIdentity(await Ra.credentials(),{Bucket:Nd});nd.s3ExpressIdentity=Od,HttpRequest.isInstance(od.request)&&Od.sessionToken&&(od.request.headers[SESSION_TOKEN_HEADER]=Od.sessionToken)}}}return qa(od)},s3ExpressMiddlewareOptions={name:"s3ExpressMiddleware",step:"build",tags:["S3","S3_EXPRESS"],override:!0},getS3ExpressPlugin=Ra=>({applyToStack:qa=>{qa.add(s3ExpressMiddleware(Ra),s3ExpressMiddlewareOptions)}}),signS3Express=async(Ra,qa,nd,od)=>{const ld=await od.signWithCredentials(nd,Ra,{});if(ld.headers["X-Amz-Security-Token"]||ld.headers["x-amz-security-token"])throw new Error("X-Amz-Security-Token must not be set for s3-express requests.");return ld},defaultErrorHandler=Ra=>qa=>{throw qa},defaultSuccessHandler=(Ra,qa)=>{},s3ExpressHttpSigningMiddleware=Ra=>(qa,nd)=>async od=>{if(!HttpRequest.isInstance(od.request))return qa(od);const ud=getSmithyContext(nd).selectedHttpAuthScheme;if(!ud)throw new Error("No HttpAuthScheme was selected: unable to sign request");const{httpAuthOption:{signingProperties:dd={}},identity:pd,signer:fd}=ud;let md;nd.s3ExpressIdentity?md=await signS3Express(nd.s3ExpressIdentity,dd,od.request,await Ra.signer()):md=await fd.sign(od.request,pd,dd);const vd=await qa({...od,request:md}).catch((fd.errorHandler||defaultErrorHandler)(dd));return(fd.successHandler||defaultSuccessHandler)(vd.response,dd),vd},getS3ExpressHttpSigningPlugin=Ra=>({applyToStack:qa=>{qa.addRelativeTo(s3ExpressHttpSigningMiddleware(Ra),httpSigningMiddlewareOptions)}}),resolveS3Config=(Ra,{session:qa})=>{const[nd,od]=qa;return{...Ra,forcePathStyle:Ra.forcePathStyle??!1,useAccelerateEndpoint:Ra.useAccelerateEndpoint??!1,disableMultiregionAccessPoints:Ra.disableMultiregionAccessPoints??!1,followRegionRedirects:Ra.followRegionRedirects??!1,s3ExpressIdentityProvider:Ra.s3ExpressIdentityProvider??new S3ExpressIdentityProviderImpl(async ld=>nd().send(new od({Bucket:ld,SessionMode:"ReadWrite"}))),bucketEndpoint:Ra.bucketEndpoint??!1}},THROW_IF_EMPTY_BODY={CopyObjectCommand:!0,UploadPartCopyCommand:!0,CompleteMultipartUploadCommand:!0},MAX_BYTES_TO_INSPECT=3e3,throw200ExceptionsMiddleware=Ra=>(qa,nd)=>async od=>{const ld=await qa(od),{response:ud}=ld;if(!HttpResponse.isInstance(ud))return ld;const{statusCode:dd,body:pd}=ud;if(dd<200||dd>=300||!(typeof(pd==null?void 0:pd.stream)=="function"||typeof(pd==null?void 0:pd.pipe)=="function"||typeof(pd==null?void 0:pd.tee)=="function"))return ld;let md=pd,vd=pd;pd&&typeof pd=="object"&&!(pd instanceof Uint8Array)&&([md,vd]=await splitStream(pd)),ud.body=vd;const Ad=await collectBody(md,{streamCollector:async Od=>headStream(Od,MAX_BYTES_TO_INSPECT)});typeof(md==null?void 0:md.destroy)=="function"&&md.destroy();const Nd=Ra.utf8Encoder(Ad.subarray(Ad.length-16));if(Ad.length===0&&THROW_IF_EMPTY_BODY[nd.commandName]){const Od=new Error("S3 aborted request");throw Od.name="InternalError",Od}return Nd&&Nd.endsWith("</Error>")&&(ud.statusCode=400),ld},collectBody=(Ra=new Uint8Array,qa)=>Ra instanceof Uint8Array?Promise.resolve(Ra):qa.streamCollector(Ra)||Promise.resolve(new Uint8Array),throw200ExceptionsMiddlewareOptions={relation:"after",toMiddleware:"deserializerMiddleware",tags:["THROW_200_EXCEPTIONS","S3"],name:"throw200ExceptionsMiddleware",override:!0},getThrow200ExceptionsPlugin=Ra=>({applyToStack:qa=>{qa.addRelativeTo(throw200ExceptionsMiddleware(Ra),throw200ExceptionsMiddlewareOptions)}}),validate=Ra=>typeof Ra=="string"&&Ra.indexOf("arn:")===0&&Ra.split(":").length>=6;function bucketEndpointMiddleware(Ra){return(qa,nd)=>async od=>{var ld,ud,dd,pd;if(Ra.bucketEndpoint){const fd=nd.endpointV2;if(fd){const md=od.input.Bucket;if(typeof md=="string")try{const vd=new URL(md);nd.endpointV2={...fd,url:vd}}catch(vd){const Ad=`@aws-sdk/middleware-sdk-s3: bucketEndpoint=true was set but Bucket=${md} could not be parsed as URL.`;throw((ud=(ld=nd.logger)==null?void 0:ld.constructor)==null?void 0:ud.name)==="NoOpLogger"?console.warn(Ad):(pd=(dd=nd.logger)==null?void 0:dd.warn)==null||pd.call(dd,Ad),vd}}}return qa(od)}}const bucketEndpointMiddlewareOptions={name:"bucketEndpointMiddleware",override:!0,relation:"after",toMiddleware:"endpointV2Middleware"};function validateBucketNameMiddleware({bucketEndpoint:Ra}){return qa=>async nd=>{const{input:{Bucket:od}}=nd;if(!Ra&&typeof od=="string"&&!validate(od)&&od.indexOf("/")>=0){const ld=new Error(`Bucket name shouldn't contain '/', received '${od}'`);throw ld.name="InvalidBucketName",ld}return qa({...nd})}}const validateBucketNameMiddlewareOptions={step:"initialize",tags:["VALIDATE_BUCKET_NAME"],name:"validateBucketNameMiddleware",override:!0},getValidateBucketNamePlugin=Ra=>({applyToStack:qa=>{qa.add(validateBucketNameMiddleware(Ra),validateBucketNameMiddlewareOptions),qa.addRelativeTo(bucketEndpointMiddleware(Ra),bucketEndpointMiddlewareOptions)}}),DEFAULT_UA_APP_ID=void 0;function isValidUserAgentAppId(Ra){return Ra===void 0?!0:typeof Ra=="string"&&Ra.length<=50}function resolveUserAgentConfig(Ra){const qa=normalizeProvider(Ra.userAgentAppId??DEFAULT_UA_APP_ID);return{...Ra,customUserAgent:typeof Ra.customUserAgent=="string"?[[Ra.customUserAgent]]:Ra.customUserAgent,userAgentAppId:async()=>{var od,ld;const nd=await qa();if(!isValidUserAgentAppId(nd)){const ud=((ld=(od=Ra.logger)==null?void 0:od.constructor)==null?void 0:ld.name)==="NoOpLogger"||!Ra.logger?console:Ra.logger;typeof nd!="string"?ud==null||ud.warn("userAgentAppId must be a string or undefined."):nd.length>50&&(ud==null||ud.warn("The provided userAgentAppId exceeds the maximum length of 50 characters."))}return nd}}}class EndpointCache{constructor({size:qa,params:nd}){this.data=new Map,this.parameters=[],this.capacity=qa??50,nd&&(this.parameters=nd)}get(qa,nd){const od=this.hash(qa);if(od===!1)return nd();if(!this.data.has(od)){if(this.data.size>this.capacity+10){const ld=this.data.keys();let ud=0;for(;;){const{value:dd,done:pd}=ld.next();if(this.data.delete(dd),pd||++ud>10)break}}this.data.set(od,nd())}return this.data.get(od)}size(){return this.data.size}hash(qa){let nd="";const{parameters:od}=this;if(od.length===0)return!1;for(const ld of od){const ud=String(qa[ld]??"");if(ud.includes("|;"))return!1;nd+=ud+"|;"}return nd}}const IP_V4_REGEX=new RegExp("^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$"),isIpAddress=Ra=>IP_V4_REGEX.test(Ra)||Ra.startsWith("[")&&Ra.endsWith("]"),VALID_HOST_LABEL_REGEX=new RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),isValidHostLabel=(Ra,qa=!1)=>{if(!qa)return VALID_HOST_LABEL_REGEX.test(Ra);const nd=Ra.split(".");for(const od of nd)if(!isValidHostLabel(od))return!1;return!0},customEndpointFunctions={},debugId="endpoints";function toDebugString(Ra){return typeof Ra!="object"||Ra==null?Ra:"ref"in Ra?`$${toDebugString(Ra.ref)}`:"fn"in Ra?`${Ra.fn}(${(Ra.argv||[]).map(toDebugString).join(", ")})`:JSON.stringify(Ra,null,2)}class EndpointError extends Error{constructor(qa){super(qa),this.name="EndpointError"}}const booleanEquals=(Ra,qa)=>Ra===qa,getAttrPathList=Ra=>{const qa=Ra.split("."),nd=[];for(const od of qa){const ld=od.indexOf("[");if(ld!==-1){if(od.indexOf("]")!==od.length-1)throw new EndpointError(`Path: '${Ra}' does not end with ']'`);const ud=od.slice(ld+1,-1);if(Number.isNaN(parseInt(ud)))throw new EndpointError(`Invalid array index: '${ud}' in path: '${Ra}'`);ld!==0&&nd.push(od.slice(0,ld)),nd.push(ud)}else nd.push(od)}return nd},getAttr=(Ra,qa)=>getAttrPathList(qa).reduce((nd,od)=>{if(typeof nd!="object")throw new EndpointError(`Index '${od}' in '${qa}' not found in '${JSON.stringify(Ra)}'`);return Array.isArray(nd)?nd[parseInt(od)]:nd[od]},Ra),isSet=Ra=>Ra!=null,not=Ra=>!Ra,DEFAULT_PORTS={[EndpointURLScheme.HTTP]:80,[EndpointURLScheme.HTTPS]:443},parseURL=Ra=>{const qa=(()=>{try{if(Ra instanceof URL)return Ra;if(typeof Ra=="object"&&"hostname"in Ra){const{hostname:Nd,port:Od,protocol:kd="",path:Ld="",query:Gd={}}=Ra,jd=new URL(`${kd}//${Nd}${Od?`:${Od}`:""}${Ld}`);return jd.search=Object.entries(Gd).map(([Fd,Ud])=>`${Fd}=${Ud}`).join("&"),jd}return new URL(Ra)}catch{return null}})();if(!qa)return console.error(`Unable to parse ${JSON.stringify(Ra)} as a whatwg URL.`),null;const nd=qa.href,{host:od,hostname:ld,pathname:ud,protocol:dd,search:pd}=qa;if(pd)return null;const fd=dd.slice(0,-1);if(!Object.values(EndpointURLScheme).includes(fd))return null;const md=isIpAddress(ld),vd=nd.includes(`${od}:${DEFAULT_PORTS[fd]}`)||typeof Ra=="string"&&Ra.includes(`${od}:${DEFAULT_PORTS[fd]}`),Ad=`${od}${vd?`:${DEFAULT_PORTS[fd]}`:""}`;return{scheme:fd,authority:Ad,path:ud,normalizedPath:ud.endsWith("/")?ud:`${ud}/`,isIp:md}},stringEquals=(Ra,qa)=>Ra===qa,substring=(Ra,qa,nd,od)=>qa>=nd||Ra.length<nd?null:od?Ra.substring(Ra.length-nd,Ra.length-qa):Ra.substring(qa,nd),uriEncode=Ra=>encodeURIComponent(Ra).replace(/[!*'()]/g,qa=>`%${qa.charCodeAt(0).toString(16).toUpperCase()}`),endpointFunctions={booleanEquals,getAttr,isSet,isValidHostLabel,not,parseURL,stringEquals,substring,uriEncode},evaluateTemplate=(Ra,qa)=>{const nd=[],od={...qa.endpointParams,...qa.referenceRecord};let ld=0;for(;ld<Ra.length;){const ud=Ra.indexOf("{",ld);if(ud===-1){nd.push(Ra.slice(ld));break}nd.push(Ra.slice(ld,ud));const dd=Ra.indexOf("}",ud);if(dd===-1){nd.push(Ra.slice(ud));break}Ra[ud+1]==="{"&&Ra[dd+1]==="}"&&(nd.push(Ra.slice(ud+1,dd)),ld=dd+2);const pd=Ra.substring(ud+1,dd);if(pd.includes("#")){const[fd,md]=pd.split("#");nd.push(getAttr(od[fd],md))}else nd.push(od[pd]);ld=dd+1}return nd.join("")},getReferenceValue=({ref:Ra},qa)=>({...qa.endpointParams,...qa.referenceRecord})[Ra],evaluateExpression=(Ra,qa,nd)=>{if(typeof Ra=="string")return evaluateTemplate(Ra,nd);if(Ra.fn)return callFunction(Ra,nd);if(Ra.ref)return getReferenceValue(Ra,nd);throw new EndpointError(`'${qa}': ${String(Ra)} is not a string, function or reference.`)},callFunction=({fn:Ra,argv:qa},nd)=>{const od=qa.map(ud=>["boolean","number"].includes(typeof ud)?ud:evaluateExpression(ud,"arg",nd)),ld=Ra.split(".");return ld[0]in customEndpointFunctions&&ld[1]!=null?customEndpointFunctions[ld[0]][ld[1]](...od):endpointFunctions[Ra](...od)},evaluateCondition=({assign:Ra,...qa},nd)=>{var ld,ud;if(Ra&&Ra in nd.referenceRecord)throw new EndpointError(`'${Ra}' is already defined in Reference Record.`);const od=callFunction(qa,nd);return(ud=(ld=nd.logger)==null?void 0:ld.debug)==null||ud.call(ld,`${debugId} evaluateCondition: ${toDebugString(qa)} = ${toDebugString(od)}`),{result:od===""?!0:!!od,...Ra!=null&&{toAssign:{name:Ra,value:od}}}},evaluateConditions=(Ra=[],qa)=>{var od,ld;const nd={};for(const ud of Ra){const{result:dd,toAssign:pd}=evaluateCondition(ud,{...qa,referenceRecord:{...qa.referenceRecord,...nd}});if(!dd)return{result:dd};pd&&(nd[pd.name]=pd.value,(ld=(od=qa.logger)==null?void 0:od.debug)==null||ld.call(od,`${debugId} assign: ${pd.name} := ${toDebugString(pd.value)}`))}return{result:!0,referenceRecord:nd}},getEndpointHeaders=(Ra,qa)=>Object.entries(Ra).reduce((nd,[od,ld])=>({...nd,[od]:ld.map(ud=>{const dd=evaluateExpression(ud,"Header value entry",qa);if(typeof dd!="string")throw new EndpointError(`Header '${od}' value '${dd}' is not a string`);return dd})}),{}),getEndpointProperty=(Ra,qa)=>{if(Array.isArray(Ra))return Ra.map(nd=>getEndpointProperty(nd,qa));switch(typeof Ra){case"string":return evaluateTemplate(Ra,qa);case"object":if(Ra===null)throw new EndpointError(`Unexpected endpoint property: ${Ra}`);return getEndpointProperties(Ra,qa);case"boolean":return Ra;default:throw new EndpointError(`Unexpected endpoint property type: ${typeof Ra}`)}},getEndpointProperties=(Ra,qa)=>Object.entries(Ra).reduce((nd,[od,ld])=>({...nd,[od]:getEndpointProperty(ld,qa)}),{}),getEndpointUrl=(Ra,qa)=>{const nd=evaluateExpression(Ra,"Endpoint URL",qa);if(typeof nd=="string")try{return new URL(nd)}catch(od){throw console.error(`Failed to construct URL with ${nd}`,od),od}throw new EndpointError(`Endpoint URL must be a string, got ${typeof nd}`)},evaluateEndpointRule=(Ra,qa)=>{var vd,Ad;const{conditions:nd,endpoint:od}=Ra,{result:ld,referenceRecord:ud}=evaluateConditions(nd,qa);if(!ld)return;const dd={...qa,referenceRecord:{...qa.referenceRecord,...ud}},{url:pd,properties:fd,headers:md}=od;return(Ad=(vd=qa.logger)==null?void 0:vd.debug)==null||Ad.call(vd,`${debugId} Resolving endpoint from template: ${toDebugString(od)}`),{...md!=null&&{headers:getEndpointHeaders(md,dd)},...fd!=null&&{properties:getEndpointProperties(fd,dd)},url:getEndpointUrl(pd,dd)}},evaluateErrorRule=(Ra,qa)=>{const{conditions:nd,error:od}=Ra,{result:ld,referenceRecord:ud}=evaluateConditions(nd,qa);if(ld)throw new EndpointError(evaluateExpression(od,"Error",{...qa,referenceRecord:{...qa.referenceRecord,...ud}}))},evaluateTreeRule=(Ra,qa)=>{const{conditions:nd,rules:od}=Ra,{result:ld,referenceRecord:ud}=evaluateConditions(nd,qa);if(ld)return evaluateRules(od,{...qa,referenceRecord:{...qa.referenceRecord,...ud}})},evaluateRules=(Ra,qa)=>{for(const nd of Ra)if(nd.type==="endpoint"){const od=evaluateEndpointRule(nd,qa);if(od)return od}else if(nd.type==="error")evaluateErrorRule(nd,qa);else if(nd.type==="tree"){const od=evaluateTreeRule(nd,qa);if(od)return od}else throw new EndpointError(`Unknown endpoint rule: ${nd}`);throw new EndpointError("Rules evaluation failed")},resolveEndpoint=(Ra,qa)=>{var md,vd,Ad,Nd;const{endpointParams:nd,logger:od}=qa,{parameters:ld,rules:ud}=Ra;(vd=(md=qa.logger)==null?void 0:md.debug)==null||vd.call(md,`${debugId} Initial EndpointParams: ${toDebugString(nd)}`);const dd=Object.entries(ld).filter(([,Od])=>Od.default!=null).map(([Od,kd])=>[Od,kd.default]);if(dd.length>0)for(const[Od,kd]of dd)nd[Od]=nd[Od]??kd;const pd=Object.entries(ld).filter(([,Od])=>Od.required).map(([Od])=>Od);for(const Od of pd)if(nd[Od]==null)throw new EndpointError(`Missing required parameter: '${Od}'`);const fd=evaluateRules(ud,{endpointParams:nd,logger:od,referenceRecord:{}});return(Nd=(Ad=qa.logger)==null?void 0:Ad.debug)==null||Nd.call(Ad,`${debugId} Resolved endpoint: ${toDebugString(fd)}`),fd},isVirtualHostableS3Bucket=(Ra,qa=!1)=>{if(qa){for(const nd of Ra.split("."))if(!isVirtualHostableS3Bucket(nd))return!1;return!0}return!(!isValidHostLabel(Ra)||Ra.length<3||Ra.length>63||Ra!==Ra.toLowerCase()||isIpAddress(Ra))},ARN_DELIMITER=":",RESOURCE_DELIMITER="/",parseArn=Ra=>{const qa=Ra.split(ARN_DELIMITER);if(qa.length<6)return null;const[nd,od,ld,ud,dd,...pd]=qa;if(nd!=="arn"||od===""||ld===""||pd.join(ARN_DELIMITER)==="")return null;const fd=pd.map(md=>md.split(RESOURCE_DELIMITER)).flat();return{partition:od,service:ld,region:ud,accountId:dd,resourceId:fd}},partitions=[{id:"aws",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-east-1",name:"aws",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$",regions:{"af-south-1":{description:"Africa (Cape Town)"},"ap-east-1":{description:"Asia Pacific (Hong Kong)"},"ap-northeast-1":{description:"Asia Pacific (Tokyo)"},"ap-northeast-2":{description:"Asia Pacific (Seoul)"},"ap-northeast-3":{description:"Asia Pacific (Osaka)"},"ap-south-1":{description:"Asia Pacific (Mumbai)"},"ap-south-2":{description:"Asia Pacific (Hyderabad)"},"ap-southeast-1":{description:"Asia Pacific (Singapore)"},"ap-southeast-2":{description:"Asia Pacific (Sydney)"},"ap-southeast-3":{description:"Asia Pacific (Jakarta)"},"ap-southeast-4":{description:"Asia Pacific (Melbourne)"},"ap-southeast-5":{description:"Asia Pacific (Malaysia)"},"aws-global":{description:"AWS Standard global region"},"ca-central-1":{description:"Canada (Central)"},"ca-west-1":{description:"Canada West (Calgary)"},"eu-central-1":{description:"Europe (Frankfurt)"},"eu-central-2":{description:"Europe (Zurich)"},"eu-north-1":{description:"Europe (Stockholm)"},"eu-south-1":{description:"Europe (Milan)"},"eu-south-2":{description:"Europe (Spain)"},"eu-west-1":{description:"Europe (Ireland)"},"eu-west-2":{description:"Europe (London)"},"eu-west-3":{description:"Europe (Paris)"},"il-central-1":{description:"Israel (Tel Aviv)"},"me-central-1":{description:"Middle East (UAE)"},"me-south-1":{description:"Middle East (Bahrain)"},"sa-east-1":{description:"South America (Sao Paulo)"},"us-east-1":{description:"US East (N. Virginia)"},"us-east-2":{description:"US East (Ohio)"},"us-west-1":{description:"US West (N. California)"},"us-west-2":{description:"US West (Oregon)"}}},{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn",dualStackDnsSuffix:"api.amazonwebservices.com.cn",implicitGlobalRegion:"cn-northwest-1",name:"aws-cn",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:{"aws-cn-global":{description:"AWS China global region"},"cn-north-1":{description:"China (Beijing)"},"cn-northwest-1":{description:"China (Ningxia)"}}},{id:"aws-us-gov",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-gov-west-1",name:"aws-us-gov",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-gov\\-\\w+\\-\\d+$",regions:{"aws-us-gov-global":{description:"AWS GovCloud (US) global region"},"us-gov-east-1":{description:"AWS GovCloud (US-East)"},"us-gov-west-1":{description:"AWS GovCloud (US-West)"}}},{id:"aws-iso",outputs:{dnsSuffix:"c2s.ic.gov",dualStackDnsSuffix:"c2s.ic.gov",implicitGlobalRegion:"us-iso-east-1",name:"aws-iso",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^us\\-iso\\-\\w+\\-\\d+$",regions:{"aws-iso-global":{description:"AWS ISO (US) global region"},"us-iso-east-1":{description:"US ISO East"},"us-iso-west-1":{description:"US ISO WEST"}}},{id:"aws-iso-b",outputs:{dnsSuffix:"sc2s.sgov.gov",dualStackDnsSuffix:"sc2s.sgov.gov",implicitGlobalRegion:"us-isob-east-1",name:"aws-iso-b",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^us\\-isob\\-\\w+\\-\\d+$",regions:{"aws-iso-b-global":{description:"AWS ISOB (US) global region"},"us-isob-east-1":{description:"US ISOB East (Ohio)"}}},{id:"aws-iso-e",outputs:{dnsSuffix:"cloud.adc-e.uk",dualStackDnsSuffix:"cloud.adc-e.uk",implicitGlobalRegion:"eu-isoe-west-1",name:"aws-iso-e",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^eu\\-isoe\\-\\w+\\-\\d+$",regions:{"eu-isoe-west-1":{description:"EU ISOE West"}}},{id:"aws-iso-f",outputs:{dnsSuffix:"csp.hci.ic.gov",dualStackDnsSuffix:"csp.hci.ic.gov",implicitGlobalRegion:"us-isof-south-1",name:"aws-iso-f",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^us\\-isof\\-\\w+\\-\\d+$",regions:{}}],version$1="1.1",partitionsInfo={partitions,version:version$1};let selectedPartitionsInfo=partitionsInfo;const partition=Ra=>{const{partitions:qa}=selectedPartitionsInfo;for(const od of qa){const{regions:ld,outputs:ud}=od;for(const[dd,pd]of Object.entries(ld))if(dd===Ra)return{...ud,...pd}}for(const od of qa){const{regionRegex:ld,outputs:ud}=od;if(new RegExp(ld).test(Ra))return{...ud}}const nd=qa.find(od=>od.id==="aws");if(!nd)throw new Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...nd.outputs}},awsEndpointFunctions={isVirtualHostableS3Bucket,parseArn,partition};customEndpointFunctions.aws=awsEndpointFunctions;const ACCOUNT_ID_ENDPOINT_REGEX=/\d{12}\.ddb/;async function checkFeatures(Ra,qa,nd){var ud,dd,pd,fd,md,vd,Ad;const od=nd.request;if(((ud=od==null?void 0:od.headers)==null?void 0:ud["smithy-protocol"])==="rpc-v2-cbor"&&setFeature$1(Ra,"PROTOCOL_RPC_V2_CBOR","M"),typeof qa.retryStrategy=="function"){const Nd=await qa.retryStrategy();typeof Nd.acquireInitialRetryToken=="function"?(pd=(dd=Nd.constructor)==null?void 0:dd.name)!=null&&pd.includes("Adaptive")?setFeature$1(Ra,"RETRY_MODE_ADAPTIVE","F"):setFeature$1(Ra,"RETRY_MODE_STANDARD","E"):setFeature$1(Ra,"RETRY_MODE_LEGACY","D")}if(typeof qa.accountIdEndpointMode=="function"){const Nd=Ra.endpointV2;switch(String((fd=Nd==null?void 0:Nd.url)==null?void 0:fd.hostname).match(ACCOUNT_ID_ENDPOINT_REGEX)&&setFeature$1(Ra,"ACCOUNT_ID_ENDPOINT","O"),await((md=qa.accountIdEndpointMode)==null?void 0:md.call(qa))){case"disabled":setFeature$1(Ra,"ACCOUNT_ID_MODE_DISABLED","Q");break;case"preferred":setFeature$1(Ra,"ACCOUNT_ID_MODE_PREFERRED","P");break;case"required":setFeature$1(Ra,"ACCOUNT_ID_MODE_REQUIRED","R");break}}const ld=(Ad=(vd=Ra.__smithy_context)==null?void 0:vd.selectedHttpAuthScheme)==null?void 0:Ad.identity;if(ld!=null&&ld.$source){const Nd=ld;Nd.accountId&&setFeature$1(Ra,"RESOLVED_ACCOUNT_ID","T");for(const[Od,kd]of Object.entries(Nd.$source??{}))setFeature$1(Ra,Od,kd)}}const USER_AGENT="user-agent",X_AMZ_USER_AGENT="x-amz-user-agent",SPACE=" ",UA_NAME_SEPARATOR="/",UA_NAME_ESCAPE_REGEX=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g,UA_VALUE_ESCAPE_REGEX=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w\#]/g,UA_ESCAPE_CHAR="-",BYTE_LIMIT=1024;function encodeFeatures(Ra){let qa="";for(const nd in Ra){const od=Ra[nd];if(qa.length+od.length+1<=BYTE_LIMIT){qa.length?qa+=","+od:qa+=od;continue}break}return qa}const userAgentMiddleware=Ra=>(qa,nd)=>async od=>{var Od,kd,Ld,Gd;const{request:ld}=od;if(!HttpRequest.isInstance(ld))return qa(od);const{headers:ud}=ld,dd=((Od=nd==null?void 0:nd.userAgent)==null?void 0:Od.map(escapeUserAgent))||[],pd=(await Ra.defaultUserAgentProvider()).map(escapeUserAgent);await checkFeatures(nd,Ra,od);const fd=nd;pd.push(`m/${encodeFeatures(Object.assign({},(kd=nd.__smithy_context)==null?void 0:kd.features,(Ld=fd.__aws_sdk_context)==null?void 0:Ld.features))}`);const md=((Gd=Ra==null?void 0:Ra.customUserAgent)==null?void 0:Gd.map(escapeUserAgent))||[],vd=await Ra.userAgentAppId();vd&&pd.push(escapeUserAgent([`app/${vd}`]));const Ad=[].concat([...pd,...dd,...md]).join(SPACE),Nd=[...pd.filter(jd=>jd.startsWith("aws-sdk-")),...md].join(SPACE);return Ra.runtime!=="browser"?(Nd&&(ud[X_AMZ_USER_AGENT]=ud[X_AMZ_USER_AGENT]?`${ud[USER_AGENT]} ${Nd}`:Nd),ud[USER_AGENT]=Ad):ud[X_AMZ_USER_AGENT]=Ad,qa({...od,request:ld})},escapeUserAgent=Ra=>{var dd;const qa=Ra[0].split(UA_NAME_SEPARATOR).map(pd=>pd.replace(UA_NAME_ESCAPE_REGEX,UA_ESCAPE_CHAR)).join(UA_NAME_SEPARATOR),nd=(dd=Ra[1])==null?void 0:dd.replace(UA_VALUE_ESCAPE_REGEX,UA_ESCAPE_CHAR),od=qa.indexOf(UA_NAME_SEPARATOR),ld=qa.substring(0,od);let ud=qa.substring(od+1);return ld==="api"&&(ud=ud.toLowerCase()),[ld,ud,nd].filter(pd=>pd&&pd.length>0).reduce((pd,fd,md)=>{switch(md){case 0:return fd;case 1:return`${pd}/${fd}`;default:return`${pd}#${fd}`}},"")},getUserAgentMiddlewareOptions={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},getUserAgentPlugin=Ra=>({applyToStack:qa=>{qa.add(userAgentMiddleware(Ra),getUserAgentMiddlewareOptions)}}),DEFAULT_USE_DUALSTACK_ENDPOINT=!1,DEFAULT_USE_FIPS_ENDPOINT=!1,isFipsRegion=Ra=>typeof Ra=="string"&&(Ra.startsWith("fips-")||Ra.endsWith("-fips")),getRealRegion=Ra=>isFipsRegion(Ra)?["fips-aws-global","aws-fips"].includes(Ra)?"us-east-1":Ra.replace(/fips-(dkr-|prod-)?|-fips/,""):Ra,resolveRegionConfig=Ra=>{const{region:qa,useFipsEndpoint:nd}=Ra;if(!qa)throw new Error("Region is missing");return{...Ra,region:async()=>{if(typeof qa=="string")return getRealRegion(qa);const od=await qa();return getRealRegion(od)},useFipsEndpoint:async()=>{const od=typeof qa=="string"?qa:await qa();return isFipsRegion(od)?!0:typeof nd!="function"?Promise.resolve(!!nd):nd()}}},resolveEventStreamSerdeConfig=Ra=>({...Ra,eventStreamMarshaller:Ra.eventStreamSerdeProvider(Ra)}),CONTENT_LENGTH_HEADER="content-length";function contentLengthMiddleware(Ra){return qa=>async nd=>{const od=nd.request;if(HttpRequest.isInstance(od)){const{body:ld,headers:ud}=od;if(ld&&Object.keys(ud).map(dd=>dd.toLowerCase()).indexOf(CONTENT_LENGTH_HEADER)===-1)try{const dd=Ra(ld);od.headers={...od.headers,[CONTENT_LENGTH_HEADER]:String(dd)}}catch{}}return qa({...nd,request:od})}}const contentLengthMiddlewareOptions={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},getContentLengthPlugin=Ra=>({applyToStack:qa=>{qa.add(contentLengthMiddleware(Ra.bodyLengthChecker),contentLengthMiddlewareOptions)}}),resolveParamsForS3=async Ra=>{const qa=(Ra==null?void 0:Ra.Bucket)||"";if(typeof Ra.Bucket=="string"&&(Ra.Bucket=qa.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"))),isArnBucketName(qa)){if(Ra.ForcePathStyle===!0)throw new Error("Path-style addressing cannot be used with ARN buckets")}else(!isDnsCompatibleBucketName(qa)||qa.indexOf(".")!==-1&&!String(Ra.Endpoint).startsWith("http:")||qa.toLowerCase()!==qa||qa.length<3)&&(Ra.ForcePathStyle=!0);return Ra.DisableMultiRegionAccessPoints&&(Ra.disableMultiRegionAccessPoints=!0,Ra.DisableMRAP=!0),Ra},DOMAIN_PATTERN=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,IP_ADDRESS_PATTERN=/(\d+\.){3}\d+/,DOTS_PATTERN=/\.\./,isDnsCompatibleBucketName=Ra=>DOMAIN_PATTERN.test(Ra)&&!IP_ADDRESS_PATTERN.test(Ra)&&!DOTS_PATTERN.test(Ra),isArnBucketName=Ra=>{const[qa,nd,od,,,ld]=Ra.split(":"),ud=qa==="arn"&&Ra.split(":").length>=6,dd=!!(ud&&nd&&od&&ld);if(ud&&!dd)throw new Error(`Invalid ARN: ${Ra} was an invalid ARN.`);return dd},createConfigValueProvider=(Ra,qa,nd)=>{const od=async()=>{const ld=nd[Ra]??nd[qa];return typeof ld=="function"?ld():ld};return Ra==="credentialScope"||qa==="CredentialScope"?async()=>{const ld=typeof nd.credentials=="function"?await nd.credentials():nd.credentials;return(ld==null?void 0:ld.credentialScope)??(ld==null?void 0:ld.CredentialScope)}:Ra==="accountId"||qa==="AccountId"?async()=>{const ld=typeof nd.credentials=="function"?await nd.credentials():nd.credentials;return(ld==null?void 0:ld.accountId)??(ld==null?void 0:ld.AccountId)}:Ra==="endpoint"||qa==="endpoint"?async()=>{const ld=await od();if(ld&&typeof ld=="object"){if("url"in ld)return ld.url.href;if("hostname"in ld){const{protocol:ud,hostname:dd,port:pd,path:fd}=ld;return`${ud}//${dd}${pd?":"+pd:""}${fd}`}}return ld}:od},getEndpointFromConfig=async Ra=>{};function parseQueryString(Ra){const qa={};if(Ra=Ra.replace(/^\?/,""),Ra)for(const nd of Ra.split("&")){let[od,ld=null]=nd.split("=");od=decodeURIComponent(od),ld&&(ld=decodeURIComponent(ld)),od in qa?Array.isArray(qa[od])?qa[od].push(ld):qa[od]=[qa[od],ld]:qa[od]=ld}return qa}const parseUrl=Ra=>{if(typeof Ra=="string")return parseUrl(new URL(Ra));const{hostname:qa,pathname:nd,port:od,protocol:ld,search:ud}=Ra;let dd;return ud&&(dd=parseQueryString(ud)),{hostname:qa,port:od?parseInt(od):void 0,protocol:ld,path:nd,query:dd}},toEndpointV1=Ra=>typeof Ra=="object"?"url"in Ra?parseUrl(Ra.url):Ra:parseUrl(Ra),getEndpointFromInstructions=async(Ra,qa,nd,od)=>{if(!nd.endpoint){let dd;nd.serviceConfiguredEndpoint?dd=await nd.serviceConfiguredEndpoint():dd=await getEndpointFromConfig(nd.serviceId),dd&&(nd.endpoint=()=>Promise.resolve(toEndpointV1(dd)))}const ld=await resolveParams(Ra,qa,nd);if(typeof nd.endpointProvider!="function")throw new Error("config.endpointProvider is not set.");return nd.endpointProvider(ld,od)},resolveParams=async(Ra,qa,nd)=>{var ud;const od={},ld=((ud=qa==null?void 0:qa.getEndpointParameterInstructions)==null?void 0:ud.call(qa))||{};for(const[dd,pd]of Object.entries(ld))switch(pd.type){case"staticContextParams":od[dd]=pd.value;break;case"contextParams":od[dd]=Ra[pd.name];break;case"clientContextParams":case"builtInParams":od[dd]=await createConfigValueProvider(pd.name,dd,nd)();break;case"operationContextParams":od[dd]=pd.get(Ra);break;default:throw new Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(pd))}return Object.keys(ld).length===0&&Object.assign(od,nd),String(nd.serviceId).toLowerCase()==="s3"&&await resolveParamsForS3(od),od},endpointMiddleware=({config:Ra,instructions:qa})=>(nd,od)=>async ld=>{var pd,fd,md;Ra.endpoint&&setFeature(od,"ENDPOINT_OVERRIDE","N");const ud=await getEndpointFromInstructions(ld.input,{getEndpointParameterInstructions(){return qa}},{...Ra},od);od.endpointV2=ud,od.authSchemes=(pd=ud.properties)==null?void 0:pd.authSchemes;const dd=(fd=od.authSchemes)==null?void 0:fd[0];if(dd){od.signing_region=dd.signingRegion,od.signing_service=dd.signingName;const vd=getSmithyContext(od),Ad=(md=vd==null?void 0:vd.selectedHttpAuthScheme)==null?void 0:md.httpAuthOption;Ad&&(Ad.signingProperties=Object.assign(Ad.signingProperties||{},{signing_region:dd.signingRegion,signingRegion:dd.signingRegion,signing_service:dd.signingName,signingName:dd.signingName,signingRegionSet:dd.signingRegionSet},dd.properties))}return nd({...ld})},endpointMiddlewareOptions={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:serializerMiddlewareOption.name},getEndpointPlugin=(Ra,qa)=>({applyToStack:nd=>{nd.addRelativeTo(endpointMiddleware({config:Ra,instructions:qa}),endpointMiddlewareOptions)}}),resolveEndpointConfig=Ra=>{const qa=Ra.tls??!0,{endpoint:nd}=Ra,od=nd!=null?async()=>toEndpointV1(await normalizeProvider$1(nd)()):void 0,ud={...Ra,endpoint:od,tls:qa,isCustomEndpoint:!!nd,useDualstackEndpoint:normalizeProvider$1(Ra.useDualstackEndpoint??!1),useFipsEndpoint:normalizeProvider$1(Ra.useFipsEndpoint??!1)};let dd;return ud.serviceConfiguredEndpoint=async()=>(Ra.serviceId&&!dd&&(dd=getEndpointFromConfig(Ra.serviceId)),dd),ud};var RETRY_MODES;(function(Ra){Ra.STANDARD="standard",Ra.ADAPTIVE="adaptive"})(RETRY_MODES||(RETRY_MODES={}));const DEFAULT_MAX_ATTEMPTS=3,DEFAULT_RETRY_MODE=RETRY_MODES.STANDARD,THROTTLING_ERROR_CODES=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],TRANSIENT_ERROR_CODES=["TimeoutError","RequestTimeout","RequestTimeoutException"],TRANSIENT_ERROR_STATUS_CODES=[500,502,503,504],NODEJS_TIMEOUT_ERROR_CODES=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],isClockSkewCorrectedError=Ra=>{var qa;return(qa=Ra.$metadata)==null?void 0:qa.clockSkewCorrected},isThrottlingError=Ra=>{var qa,nd;return((qa=Ra.$metadata)==null?void 0:qa.httpStatusCode)===429||THROTTLING_ERROR_CODES.includes(Ra.name)||((nd=Ra.$retryable)==null?void 0:nd.throttling)==!0},isTransientError=(Ra,qa=0)=>{var nd;return isClockSkewCorrectedError(Ra)||TRANSIENT_ERROR_CODES.includes(Ra.name)||NODEJS_TIMEOUT_ERROR_CODES.includes((Ra==null?void 0:Ra.code)||"")||TRANSIENT_ERROR_STATUS_CODES.includes(((nd=Ra.$metadata)==null?void 0:nd.httpStatusCode)||0)||Ra.cause!==void 0&&qa<=10&&isTransientError(Ra.cause,qa+1)},isServerError=Ra=>{var qa;if(((qa=Ra.$metadata)==null?void 0:qa.httpStatusCode)!==void 0){const nd=Ra.$metadata.httpStatusCode;return 500<=nd&&nd<=599&&!isTransientError(Ra)}return!1};class DefaultRateLimiter{constructor(qa){this.currentCapacity=0,this.enabled=!1,this.lastMaxRate=0,this.measuredTxRate=0,this.requestCount=0,this.lastTimestamp=0,this.timeWindow=0,this.beta=(qa==null?void 0:qa.beta)??.7,this.minCapacity=(qa==null?void 0:qa.minCapacity)??1,this.minFillRate=(qa==null?void 0:qa.minFillRate)??.5,this.scaleConstant=(qa==null?void 0:qa.scaleConstant)??.4,this.smooth=(qa==null?void 0:qa.smooth)??.8;const nd=this.getCurrentTimeInSeconds();this.lastThrottleTime=nd,this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}getCurrentTimeInSeconds(){return Date.now()/1e3}async getSendToken(){return this.acquireTokenBucket(1)}async acquireTokenBucket(qa){if(this.enabled){if(this.refillTokenBucket(),qa>this.currentCapacity){const nd=(qa-this.currentCapacity)/this.fillRate*1e3;await new Promise(od=>DefaultRateLimiter.setTimeoutFn(od,nd))}this.currentCapacity=this.currentCapacity-qa}}refillTokenBucket(){const qa=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=qa;return}const nd=(qa-this.lastTimestamp)*this.fillRate;this.currentCapacity=Math.min(this.maxCapacity,this.currentCapacity+nd),this.lastTimestamp=qa}updateClientSendingRate(qa){let nd;if(this.updateMeasuredRate(),isThrottlingError(qa)){const ld=this.enabled?Math.min(this.measuredTxRate,this.fillRate):this.measuredTxRate;this.lastMaxRate=ld,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),nd=this.cubicThrottle(ld),this.enableTokenBucket()}else this.calculateTimeWindow(),nd=this.cubicSuccess(this.getCurrentTimeInSeconds());const od=Math.min(nd,2*this.measuredTxRate);this.updateTokenBucketRate(od)}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,1/3))}cubicThrottle(qa){return this.getPrecise(qa*this.beta)}cubicSuccess(qa){return this.getPrecise(this.scaleConstant*Math.pow(qa-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(qa){this.refillTokenBucket(),this.fillRate=Math.max(qa,this.minFillRate),this.maxCapacity=Math.max(qa,this.minCapacity),this.currentCapacity=Math.min(this.currentCapacity,this.maxCapacity)}updateMeasuredRate(){const qa=this.getCurrentTimeInSeconds(),nd=Math.floor(qa*2)/2;if(this.requestCount++,nd>this.lastTxRateBucket){const od=this.requestCount/(nd-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(od*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=nd}}getPrecise(qa){return parseFloat(qa.toFixed(8))}}DefaultRateLimiter.setTimeoutFn=setTimeout;const DEFAULT_RETRY_DELAY_BASE=100,MAXIMUM_RETRY_DELAY=20*1e3,THROTTLING_RETRY_DELAY_BASE=500,INITIAL_RETRY_TOKENS=500,RETRY_COST=5,TIMEOUT_RETRY_COST=10,NO_RETRY_INCREMENT=1,INVOCATION_ID_HEADER="amz-sdk-invocation-id",REQUEST_HEADER="amz-sdk-request",getDefaultRetryBackoffStrategy=()=>{let Ra=DEFAULT_RETRY_DELAY_BASE;return{computeNextBackoffDelay:od=>Math.floor(Math.min(MAXIMUM_RETRY_DELAY,Math.random()*2**od*Ra)),setDelayBase:od=>{Ra=od}}},createDefaultRetryToken=({retryDelay:Ra,retryCount:qa,retryCost:nd})=>({getRetryCount:()=>qa,getRetryDelay:()=>Math.min(MAXIMUM_RETRY_DELAY,Ra),getRetryCost:()=>nd});class StandardRetryStrategy{constructor(qa){this.maxAttempts=qa,this.mode=RETRY_MODES.STANDARD,this.capacity=INITIAL_RETRY_TOKENS,this.retryBackoffStrategy=getDefaultRetryBackoffStrategy(),this.maxAttemptsProvider=typeof qa=="function"?qa:async()=>qa}async acquireInitialRetryToken(qa){return createDefaultRetryToken({retryDelay:DEFAULT_RETRY_DELAY_BASE,retryCount:0})}async refreshRetryTokenForRetry(qa,nd){const od=await this.getMaxAttempts();if(this.shouldRetry(qa,nd,od)){const ld=nd.errorType;this.retryBackoffStrategy.setDelayBase(ld==="THROTTLING"?THROTTLING_RETRY_DELAY_BASE:DEFAULT_RETRY_DELAY_BASE);const ud=this.retryBackoffStrategy.computeNextBackoffDelay(qa.getRetryCount()),dd=nd.retryAfterHint?Math.max(nd.retryAfterHint.getTime()-Date.now()||0,ud):ud,pd=this.getCapacityCost(ld);return this.capacity-=pd,createDefaultRetryToken({retryDelay:dd,retryCount:qa.getRetryCount()+1,retryCost:pd})}throw new Error("No retry token available")}recordSuccess(qa){this.capacity=Math.max(INITIAL_RETRY_TOKENS,this.capacity+(qa.getRetryCost()??NO_RETRY_INCREMENT))}getCapacity(){return this.capacity}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch{return console.warn(`Max attempts provider could not resolve. Using default of ${DEFAULT_MAX_ATTEMPTS}`),DEFAULT_MAX_ATTEMPTS}}shouldRetry(qa,nd,od){return qa.getRetryCount()+1<od&&this.capacity>=this.getCapacityCost(nd.errorType)&&this.isRetryableError(nd.errorType)}getCapacityCost(qa){return qa==="TRANSIENT"?TIMEOUT_RETRY_COST:RETRY_COST}isRetryableError(qa){return qa==="THROTTLING"||qa==="TRANSIENT"}}class AdaptiveRetryStrategy{constructor(qa,nd){this.maxAttemptsProvider=qa,this.mode=RETRY_MODES.ADAPTIVE;const{rateLimiter:od}=nd??{};this.rateLimiter=od??new DefaultRateLimiter,this.standardRetryStrategy=new StandardRetryStrategy(qa)}async acquireInitialRetryToken(qa){return await this.rateLimiter.getSendToken(),this.standardRetryStrategy.acquireInitialRetryToken(qa)}async refreshRetryTokenForRetry(qa,nd){return this.rateLimiter.updateClientSendingRate(nd),this.standardRetryStrategy.refreshRetryTokenForRetry(qa,nd)}recordSuccess(qa){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(qa)}}let getRandomValues$1;const rnds8$1=new Uint8Array(16);function rng$1(){if(!getRandomValues$1&&(getRandomValues$1=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!getRandomValues$1))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return getRandomValues$1(rnds8$1)}const byteToHex$1=[];for(let Ra=0;Ra<256;++Ra)byteToHex$1.push((Ra+256).toString(16).slice(1));function unsafeStringify$1(Ra,qa=0){return byteToHex$1[Ra[qa+0]]+byteToHex$1[Ra[qa+1]]+byteToHex$1[Ra[qa+2]]+byteToHex$1[Ra[qa+3]]+"-"+byteToHex$1[Ra[qa+4]]+byteToHex$1[Ra[qa+5]]+"-"+byteToHex$1[Ra[qa+6]]+byteToHex$1[Ra[qa+7]]+"-"+byteToHex$1[Ra[qa+8]]+byteToHex$1[Ra[qa+9]]+"-"+byteToHex$1[Ra[qa+10]]+byteToHex$1[Ra[qa+11]]+byteToHex$1[Ra[qa+12]]+byteToHex$1[Ra[qa+13]]+byteToHex$1[Ra[qa+14]]+byteToHex$1[Ra[qa+15]]}const randomUUID$1=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),native$1={randomUUID:randomUUID$1};function v4$1(Ra,qa,nd){if(native$1.randomUUID&&!qa&&!Ra)return native$1.randomUUID();Ra=Ra||{};const od=Ra.random||(Ra.rng||rng$1)();return od[6]=od[6]&15|64,od[8]=od[8]&63|128,unsafeStringify$1(od)}const asSdkError=Ra=>Ra instanceof Error?Ra:Ra instanceof Object?Object.assign(new Error,Ra):typeof Ra=="string"?new Error(Ra):new Error(`AWS SDK error wrapper for ${Ra}`),resolveRetryConfig=Ra=>{const{retryStrategy:qa}=Ra,nd=normalizeProvider$1(Ra.maxAttempts??DEFAULT_MAX_ATTEMPTS);return{...Ra,maxAttempts:nd,retryStrategy:async()=>qa||(await normalizeProvider$1(Ra.retryMode)()===RETRY_MODES.ADAPTIVE?new AdaptiveRetryStrategy(nd):new StandardRetryStrategy(nd))}},isStreamingPayload=Ra=>(Ra==null?void 0:Ra.body)instanceof ReadableStream,retryMiddleware=Ra=>(qa,nd)=>async od=>{var dd;let ld=await Ra.retryStrategy();const ud=await Ra.maxAttempts();if(isRetryStrategyV2(ld)){ld=ld;let pd=await ld.acquireInitialRetryToken(nd.partition_id),fd=new Error,md=0,vd=0;const{request:Ad}=od,Nd=HttpRequest.isInstance(Ad);for(Nd&&(Ad.headers[INVOCATION_ID_HEADER]=v4$1());;)try{Nd&&(Ad.headers[REQUEST_HEADER]=`attempt=${md+1}; max=${ud}`);const{response:Od,output:kd}=await qa(od);return ld.recordSuccess(pd),kd.$metadata.attempts=md+1,kd.$metadata.totalRetryDelay=vd,{response:Od,output:kd}}catch(Od){const kd=getRetryErrorInfo(Od);if(fd=asSdkError(Od),Nd&&isStreamingPayload(Ad))throw(dd=nd.logger instanceof NoOpLogger?console:nd.logger)==null||dd.warn("An error was encountered in a non-retryable streaming request."),fd;try{pd=await ld.refreshRetryTokenForRetry(pd,kd)}catch{throw fd.$metadata||(fd.$metadata={}),fd.$metadata.attempts=md+1,fd.$metadata.totalRetryDelay=vd,fd}md=pd.getRetryCount();const Ld=pd.getRetryDelay();vd+=Ld,await new Promise(Gd=>setTimeout(Gd,Ld))}}else return ld=ld,ld!=null&&ld.mode&&(nd.userAgent=[...nd.userAgent||[],["cfg/retry-mode",ld.mode]]),ld.retry(qa,od)},isRetryStrategyV2=Ra=>typeof Ra.acquireInitialRetryToken<"u"&&typeof Ra.refreshRetryTokenForRetry<"u"&&typeof Ra.recordSuccess<"u",getRetryErrorInfo=Ra=>{const qa={error:Ra,errorType:getRetryErrorType(Ra)},nd=getRetryAfterHint(Ra.$response);return nd&&(qa.retryAfterHint=nd),qa},getRetryErrorType=Ra=>isThrottlingError(Ra)?"THROTTLING":isTransientError(Ra)?"TRANSIENT":isServerError(Ra)?"SERVER_ERROR":"CLIENT_ERROR",retryMiddlewareOptions={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},getRetryPlugin=Ra=>({applyToStack:qa=>{qa.add(retryMiddleware(Ra),retryMiddlewareOptions)}}),getRetryAfterHint=Ra=>{if(!HttpResponse.isInstance(Ra))return;const qa=Object.keys(Ra.headers).find(ud=>ud.toLowerCase()==="retry-after");if(!qa)return;const nd=Ra.headers[qa],od=Number(nd);return Number.isNaN(od)?new Date(nd):new Date(od*1e3)},signatureV4CrtContainer={CrtSignerV4:null};class SignatureV4MultiRegion{constructor(qa){this.sigv4Signer=new SignatureV4S3Express(qa),this.signerOptions=qa}async sign(qa,nd={}){if(nd.signingRegion==="*"){if(this.signerOptions.runtime!=="node")throw new Error("This request requires signing with SigV4Asymmetric algorithm. It's only available in Node.js");return this.getSigv4aSigner().sign(qa,nd)}return this.sigv4Signer.sign(qa,nd)}async signWithCredentials(qa,nd,od={}){if(od.signingRegion==="*"){if(this.signerOptions.runtime!=="node")throw new Error("This request requires signing with SigV4Asymmetric algorithm. It's only available in Node.js");return this.getSigv4aSigner().signWithCredentials(qa,nd,od)}return this.sigv4Signer.signWithCredentials(qa,nd,od)}async presign(qa,nd={}){if(nd.signingRegion==="*"){if(this.signerOptions.runtime!=="node")throw new Error("This request requires signing with SigV4Asymmetric algorithm. It's only available in Node.js");return this.getSigv4aSigner().presign(qa,nd)}return this.sigv4Signer.presign(qa,nd)}async presignWithCredentials(qa,nd,od={}){if(od.signingRegion==="*")throw new Error("Method presignWithCredentials is not supported for [signingRegion=*].");return this.sigv4Signer.presignWithCredentials(qa,nd,od)}getSigv4aSigner(){if(!this.sigv4aSigner){let qa=null;try{if(qa=signatureV4CrtContainer.CrtSignerV4,typeof qa!="function")throw new Error}catch(nd){throw nd.message=`${nd.message}
Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly.
You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";].
For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`,nd}this.sigv4aSigner=new qa({...this.signerOptions,signingAlgorithm:1})}return this.sigv4aSigner}}const ci="required",cj="type",ck="conditions",cl="fn",cm="argv",cn="ref",co="assign",cp="url",cq="properties",cr="backend",cs="authSchemes",ct="disableDoubleEncoding",cu="signingName",cv="signingRegion",cw="headers",cx="signingRegionSet",a=6,b=!1,c=!0,d="isSet",e="booleanEquals",f="error",g="aws.partition",h="stringEquals",i="getAttr",j="name",k="substring",l="bucketSuffix",m="parseURL",n="{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}",o="endpoint",p="tree",q="aws.isVirtualHostableS3Bucket",r="{url#scheme}://{Bucket}.{url#authority}{url#path}",s="not",t="{url#scheme}://{url#authority}{url#path}",u="hardwareType",v="regionPrefix",w="bucketAliasSuffix",x="outpostId",y="isValidHostLabel",z="sigv4a",A="s3-outposts",B="s3",C="{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}",D="https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}",E="https://{Bucket}.s3.{partitionResult#dnsSuffix}",F="aws.parseArn",G="bucketArn",H="arnType",I="",J="s3-object-lambda",K="accesspoint",L="accessPointName",M="{url#scheme}://{accessPointName}-{bucketArn#accountId}.{url#authority}{url#path}",N="mrapPartition",O="outpostType",P="arnPrefix",Q="{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",R="https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",S="https://s3.{partitionResult#dnsSuffix}",T={[ci]:!1,[cj]:"String"},U={[ci]:!0,default:!1,[cj]:"Boolean"},V={[ci]:!1,[cj]:"Boolean"},W={[cl]:e,[cm]:[{[cn]:"Accelerate"},!0]},X={[cl]:e,[cm]:[{[cn]:"UseFIPS"},!0]},Y={[cl]:e,[cm]:[{[cn]:"UseDualStack"},!0]},Z={[cl]:d,[cm]:[{[cn]:"Endpoint"}]},aa={[cl]:g,[cm]:[{[cn]:"Region"}],[co]:"partitionResult"},ab={[cl]:h,[cm]:[{[cl]:i,[cm]:[{[cn]:"partitionResult"},j]},"aws-cn"]},ac={[cl]:d,[cm]:[{[cn]:"Bucket"}]},ad={[cn]:"Bucket"},ae={[cl]:m,[cm]:[{[cn]:"Endpoint"}],[co]:"url"},af={[cl]:e,[cm]:[{[cl]:i,[cm]:[{[cn]:"url"},"isIp"]},!0]},ag={[cn]:"url"},ah={[cl]:"uriEncode",[cm]:[ad],[co]:"uri_encoded_bucket"},ai={[cr]:"S3Express",[cs]:[{[ct]:!0,[j]:"sigv4",[cu]:"s3express",[cv]:"{Region}"}]},aj={},ak={[cl]:q,[cm]:[ad,!1]},al={[f]:"S3Express bucket name is not a valid virtual hostable name.",[cj]:f},am={[cr]:"S3Express",[cs]:[{[ct]:!0,[j]:"sigv4-s3express",[cu]:"s3express",[cv]:"{Region}"}]},an={[cl]:d,[cm]:[{[cn]:"UseS3ExpressControlEndpoint"}]},ao={[cl]:e,[cm]:[{[cn]:"UseS3ExpressControlEndpoint"},!0]},ap={[cl]:s,[cm]:[Z]},aq={[f]:"Unrecognized S3Express bucket name format.",[cj]:f},ar={[cl]:s,[cm]:[ac]},as={[cn]:u},at={[ck]:[ap],[f]:"Expected a endpoint to be specified but no endpoint was found",[cj]:f},au={[cs]:[{[ct]:!0,[j]:z,[cu]:A,[cx]:["*"]},{[ct]:!0,[j]:"sigv4",[cu]:A,[cv]:"{Region}"}]},av={[cl]:e,[cm]:[{[cn]:"ForcePathStyle"},!1]},aw={[cn]:"ForcePathStyle"},ax={[cl]:e,[cm]:[{[cn]:"Accelerate"},!1]},ay={[cl]:h,[cm]:[{[cn]:"Region"},"aws-global"]},az={[cs]:[{[ct]:!0,[j]:"sigv4",[cu]:B,[cv]:"us-east-1"}]},aA={[cl]:s,[cm]:[ay]},aB={[cl]:e,[cm]:[{[cn]:"UseGlobalEndpoint"},!0]},aC={[cp]:"https://{Bucket}.s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}",[cq]:{[cs]:[{[ct]:!0,[j]:"sigv4",[cu]:B,[cv]:"{Region}"}]},[cw]:{}},aD={[cs]:[{[ct]:!0,[j]:"sigv4",[cu]:B,[cv]:"{Region}"}]},aE={[cl]:e,[cm]:[{[cn]:"UseGlobalEndpoint"},!1]},aF={[cl]:e,[cm]:[{[cn]:"UseDualStack"},!1]},aG={[cp]:"https://{Bucket}.s3-fips.{Region}.{partitionResult#dnsSuffix}",[cq]:aD,[cw]:{}},aH={[cl]:e,[cm]:[{[cn]:"UseFIPS"},!1]},aI={[cp]:"https://{Bucket}.s3-accelerate.dualstack.{partitionResult#dnsSuffix}",[cq]:aD,[cw]:{}},aJ={[cp]:"https://{Bucket}.s3.dualstack.{Region}.{partitionResult#dnsSuffix}",[cq]:aD,[cw]:{}},aK={[cl]:e,[cm]:[{[cl]:i,[cm]:[ag,"isIp"]},!1]},aL={[cp]:C,[cq]:aD,[cw]:{}},aM={[cp]:r,[cq]:aD,[cw]:{}},aN={[o]:aM,[cj]:o},aO={[cp]:D,[cq]:aD,[cw]:{}},aP={[cp]:"https://{Bucket}.s3.{Region}.{partitionResult#dnsSuffix}",[cq]:aD,[cw]:{}},aQ={[f]:"Invalid region: region was not a valid DNS name.",[cj]:f},aR={[cn]:G},aS={[cn]:H},aT={[cl]:i,[cm]:[aR,"service"]},aU={[cn]:L},aV={[ck]:[Y],[f]:"S3 Object Lambda does not support Dual-stack",[cj]:f},aW={[ck]:[W],[f]:"S3 Object Lambda does not support S3 Accelerate",[cj]:f},aX={[ck]:[{[cl]:d,[cm]:[{[cn]:"DisableAccessPoints"}]},{[cl]:e,[cm]:[{[cn]:"DisableAccessPoints"},!0]}],[f]:"Access points are not supported for this operation",[cj]:f},aY={[ck]:[{[cl]:d,[cm]:[{[cn]:"UseArnRegion"}]},{[cl]:e,[cm]:[{[cn]:"UseArnRegion"},!1]},{[cl]:s,[cm]:[{[cl]:h,[cm]:[{[cl]:i,[cm]:[aR,"region"]},"{Region}"]}]}],[f]:"Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`",[cj]:f},aZ={[cl]:i,[cm]:[{[cn]:"bucketPartition"},j]},ba={[cl]:i,[cm]:[aR,"accountId"]},bb={[cs]:[{[ct]:!0,[j]:"sigv4",[cu]:J,[cv]:"{bucketArn#region}"}]},bc={[f]:"Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName}`",[cj]:f},bd={[f]:"Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`",[cj]:f},be={[f]:"Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)",[cj]:f},bf={[f]:"Client was configured for partition `{partitionResult#name}` but ARN (`{Bucket}`) has `{bucketPartition#name}`",[cj]:f},bg={[f]:"Invalid ARN: The ARN may only contain a single resource component after `accesspoint`.",[cj]:f},bh={[f]:"Invalid ARN: Expected a resource of the format `accesspoint:<accesspoint name>` but no name was provided",[cj]:f},bi={[cs]:[{[ct]:!0,[j]:"sigv4",[cu]:B,[cv]:"{bucketArn#region}"}]},bj={[cs]:[{[ct]:!0,[j]:z,[cu]:A,[cx]:["*"]},{[ct]:!0,[j]:"sigv4",[cu]:A,[cv]:"{bucketArn#region}"}]},bk={[cl]:F,[cm]:[ad]},bl={[cp]:"https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[cq]:aD,[cw]:{}},bm={[cp]:"https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[cq]:aD,[cw]:{}},bn={[cp]:"https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[cq]:aD,[cw]:{}},bo={[cp]:Q,[cq]:aD,[cw]:{}},bp={[cp]:"https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[cq]:aD,[cw]:{}},bq={[cn]:"UseObjectLambdaEndpoint"},br={[cs]:[{[ct]:!0,[j]:"sigv4",[cu]:J,[cv]:"{Region}"}]},bs={[cp]:"https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}",[cq]:aD,[cw]:{}},bt={[cp]:"https://s3-fips.{Region}.{partitionResult#dnsSuffix}",[cq]:aD,[cw]:{}},bu={[cp]:"https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}",[cq]:aD,[cw]:{}},bv={[cp]:t,[cq]:aD,[cw]:{}},bw={[cp]:"https://s3.{Region}.{partitionResult#dnsSuffix}",[cq]:aD,[cw]:{}},bx=[{[cn]:"Region"}],by=[{[cn]:"Endpoint"}],bz=[ad],bA=[Y],bB=[W],bC=[Z,ae],bD=[{[cl]:d,[cm]:[{[cn]:"DisableS3ExpressSessionAuth"}]},{[cl]:e,[cm]:[{[cn]:"DisableS3ExpressSessionAuth"},!0]}],bE=[af],bF=[ah],bG=[ak],bH=[X],bI=[{[cl]:k,[cm]:[ad,6,14,!0],[co]:"s3expressAvailabilityZoneId"},{[cl]:k,[cm]:[ad,14,16,!0],[co]:"s3expressAvailabilityZoneDelim"},{[cl]:h,[cm]:[{[cn]:"s3expressAvailabilityZoneDelim"},"--"]}],bJ=[{[ck]:[X],[o]:{[cp]:"https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com",[cq]:ai,[cw]:{}},[cj]:o},{[o]:{[cp]:"https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com",[cq]:ai,[cw]:{}},[cj]:o}],bK=[{[cl]:k,[cm]:[ad,6,15,!0],[co]:"s3expressAvailabilityZoneId"},{[cl]:k,[cm]:[ad,15,17,!0],[co]:"s3expressAvailabilityZoneDelim"},{[cl]:h,[cm]:[{[cn]:"s3expressAvailabilityZoneDelim"},"--"]}],bL=[{[cl]:k,[cm]:[ad,6,19,!0],[co]:"s3expressAvailabilityZoneId"},{[cl]:k,[cm]:[ad,19,21,!0],[co]:"s3expressAvailabilityZoneDelim"},{[cl]:h,[cm]:[{[cn]:"s3expressAvailabilityZoneDelim"},"--"]}],bM=[{[cl]:k,[cm]:[ad,6,20,!0],[co]:"s3expressAvailabilityZoneId"},{[cl]:k,[cm]:[ad,20,22,!0],[co]:"s3expressAvailabilityZoneDelim"},{[cl]:h,[cm]:[{[cn]:"s3expressAvailabilityZoneDelim"},"--"]}],bN=[{[cl]:k,[cm]:[ad,6,26,!0],[co]:"s3expressAvailabilityZoneId"},{[cl]:k,[cm]:[ad,26,28,!0],[co]:"s3expressAvailabilityZoneDelim"},{[cl]:h,[cm]:[{[cn]:"s3expressAvailabilityZoneDelim"},"--"]}],bO=[{[ck]:[X],[o]:{[cp]:"https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com",[cq]:am,[cw]:{}},[cj]:o},{[o]:{[cp]:"https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com",[cq]:am,[cw]:{}},[cj]:o}],bP=[ac],bQ=[{[cl]:y,[cm]:[{[cn]:x},!1]}],bR=[{[cl]:h,[cm]:[{[cn]:v},"beta"]}],bS=["*"],bT=[aa],bU=[{[cl]:y,[cm]:[{[cn]:"Region"},!1]}],bV=[{[cl]:h,[cm]:[{[cn]:"Region"},"us-east-1"]}],bW=[{[cl]:h,[cm]:[aS,K]}],bX=[{[cl]:i,[cm]:[aR,"resourceId[1]"],[co]:L},{[cl]:s,[cm]:[{[cl]:h,[cm]:[aU,I]}]}],bY=[aR,"resourceId[1]"],bZ=[{[cl]:s,[cm]:[{[cl]:h,[cm]:[{[cl]:i,[cm]:[aR,"region"]},I]}]}],ca=[{[cl]:s,[cm]:[{[cl]:d,[cm]:[{[cl]:i,[cm]:[aR,"resourceId[2]"]}]}]}],cb=[aR,"resourceId[2]"],cc=[{[cl]:g,[cm]:[{[cl]:i,[cm]:[aR,"region"]}],[co]:"bucketPartition"}],cd=[{[cl]:h,[cm]:[aZ,{[cl]:i,[cm]:[{[cn]:"partitionResult"},j]}]}],ce=[{[cl]:y,[cm]:[{[cl]:i,[cm]:[aR,"region"]},!0]}],cf=[{[cl]:y,[cm]:[ba,!1]}],cg=[{[cl]:y,[cm]:[aU,!1]}],ch=[{[cl]:y,[cm]:[{[cn]:"Region"},!0]}],_data={version:"1.0",parameters:{Bucket:T,Region:T,UseFIPS:U,UseDualStack:U,Endpoint:T,ForcePathStyle:U,Accelerate:U,UseGlobalEndpoint:U,UseObjectLambdaEndpoint:V,Key:T,Prefix:T,CopySource:T,DisableAccessPoints:V,DisableMultiRegionAccessPoints:U,UseArnRegion:V,UseS3ExpressControlEndpoint:V,DisableS3ExpressSessionAuth:V},rules:[{[ck]:[{[cl]:d,[cm]:bx}],rules:[{[ck]:[W,X],error:"Accelerate cannot be used with FIPS",[cj]:f},{[ck]:[Y,Z],error:"Cannot set dual-stack in combination with a custom endpoint.",[cj]:f},{[ck]:[Z,X],error:"A custom endpoint cannot be combined with FIPS",[cj]:f},{[ck]:[Z,W],error:"A custom endpoint cannot be combined with S3 Accelerate",[cj]:f},{[ck]:[X,aa,ab],error:"Partition does not support FIPS",[cj]:f},{[ck]:[ac,{[cl]:k,[cm]:[ad,0,a,c],[co]:l},{[cl]:h,[cm]:[{[cn]:l},"--x-s3"]}],rules:[{[ck]:bA,error:"S3Express does not support Dual-stack.",[cj]:f},{[ck]:bB,error:"S3Express does not support S3 Accelerate.",[cj]:f},{[ck]:bC,rules:[{[ck]:bD,rules:[{[ck]:bE,rules:[{[ck]:bF,rules:[{endpoint:{[cp]:n,[cq]:ai,[cw]:aj},[cj]:o}],[cj]:p}],[cj]:p},{[ck]:bG,rules:[{endpoint:{[cp]:r,[cq]:ai,[cw]:aj},[cj]:o}],[cj]:p},al],[cj]:p},{[ck]:bE,rules:[{[ck]:bF,rules:[{endpoint:{[cp]:n,[cq]:am,[cw]:aj},[cj]:o}],[cj]:p}],[cj]:p},{[ck]:bG,rules:[{endpoint:{[cp]:r,[cq]:am,[cw]:aj},[cj]:o}],[cj]:p},al],[cj]:p},{[ck]:[an,ao],rules:[{[ck]:[ah,ap],rules:[{[ck]:bH,endpoint:{[cp]:"https://s3express-control-fips.{Region}.amazonaws.com/{uri_encoded_bucket}",[cq]:ai,[cw]:aj},[cj]:o},{endpoint:{[cp]:"https://s3express-control.{Region}.amazonaws.com/{uri_encoded_bucket}",[cq]:ai,[cw]:aj},[cj]:o}],[cj]:p}],[cj]:p},{[ck]:bG,rules:[{[ck]:bD,rules:[{[ck]:bI,rules:bJ,[cj]:p},{[ck]:bK,rules:bJ,[cj]:p},{[ck]:bL,rules:bJ,[cj]:p},{[ck]:bM,rules:bJ,[cj]:p},{[ck]:bN,rules:bJ,[cj]:p},aq],[cj]:p},{[ck]:bI,rules:bO,[cj]:p},{[ck]:bK,rules:bO,[cj]:p},{[ck]:bL,rules:bO,[cj]:p},{[ck]:bM,rules:bO,[cj]:p},{[ck]:bN,rules:bO,[cj]:p},aq],[cj]:p},al],[cj]:p},{[ck]:[ar,an,ao],rules:[{[ck]:bC,endpoint:{[cp]:t,[cq]:ai,[cw]:aj},[cj]:o},{[ck]:bH,endpoint:{[cp]:"https://s3express-control-fips.{Region}.amazonaws.com",[cq]:ai,[cw]:aj},[cj]:o},{endpoint:{[cp]:"https://s3express-control.{Region}.amazonaws.com",[cq]:ai,[cw]:aj},[cj]:o}],[cj]:p},{[ck]:[ac,{[cl]:k,[cm]:[ad,49,50,c],[co]:u},{[cl]:k,[cm]:[ad,8,12,c],[co]:v},{[cl]:k,[cm]:[ad,0,7,c],[co]:w},{[cl]:k,[cm]:[ad,32,49,c],[co]:x},{[cl]:g,[cm]:bx,[co]:"regionPartition"},{[cl]:h,[cm]:[{[cn]:w},"--op-s3"]}],rules:[{[ck]:bQ,rules:[{[ck]:[{[cl]:h,[cm]:[as,"e"]}],rules:[{[ck]:bR,rules:[at,{[ck]:bC,endpoint:{[cp]:"https://{Bucket}.ec2.{url#authority}",[cq]:au,[cw]:aj},[cj]:o}],[cj]:p},{endpoint:{[cp]:"https://{Bucket}.ec2.s3-outposts.{Region}.{regionPartition#dnsSuffix}",[cq]:au,[cw]:aj},[cj]:o}],[cj]:p},{[ck]:[{[cl]:h,[cm]:[as,"o"]}],rules:[{[ck]:bR,rules:[at,{[ck]:bC,endpoint:{[cp]:"https://{Bucket}.op-{outpostId}.{url#authority}",[cq]:au,[cw]:aj},[cj]:o}],[cj]:p},{endpoint:{[cp]:"https://{Bucket}.op-{outpostId}.s3-outposts.{Region}.{regionPartition#dnsSuffix}",[cq]:au,[cw]:aj},[cj]:o}],[cj]:p},{error:'Unrecognized hardware type: "Expected hardware type o or e but got {hardwareType}"',[cj]:f}],[cj]:p},{error:"Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`.",[cj]:f}],[cj]:p},{[ck]:bP,rules:[{[ck]:[Z,{[cl]:s,[cm]:[{[cl]:d,[cm]:[{[cl]:m,[cm]:by}]}]}],error:"Custom endpoint `{Endpoint}` was not a valid URI",[cj]:f},{[ck]:[av,ak],rules:[{[ck]:bT,rules:[{[ck]:bU,rules:[{[ck]:[W,ab],error:"S3 Accelerate cannot be used in this region",[cj]:f},{[ck]:[Y,X,ax,ap,ay],endpoint:{[cp]:"https://{Bucket}.s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",[cq]:az,[cw]:aj},[cj]:o},{[ck]:[Y,X,ax,ap,aA,aB],rules:[{endpoint:aC,[cj]:o}],[cj]:p},{[ck]:[Y,X,ax,ap,aA,aE],endpoint:aC,[cj]:o},{[ck]:[aF,X,ax,ap,ay],endpoint:{[cp]:"https://{Bucket}.s3-fips.us-east-1.{partitionResult#dnsSuffix}",[cq]:az,[cw]:aj},[cj]:o},{[ck]:[aF,X,ax,ap,aA,aB],rules:[{endpoint:aG,[cj]:o}],[cj]:p},{[ck]:[aF,X,ax,ap,aA,aE],endpoint:aG,[cj]:o},{[ck]:[Y,aH,W,ap,ay],endpoint:{[cp]:"https://{Bucket}.s3-accelerate.dualstack.us-east-1.{partitionResult#dnsSuffix}",[cq]:az,[cw]:aj},[cj]:o},{[ck]:[Y,aH,W,ap,aA,aB],rules:[{endpoint:aI,[cj]:o}],[cj]:p},{[ck]:[Y,aH,W,ap,aA,aE],endpoint:aI,[cj]:o},{[ck]:[Y,aH,ax,ap,ay],endpoint:{[cp]:"https://{Bucket}.s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",[cq]:az,[cw]:aj},[cj]:o},{[ck]:[Y,aH,ax,ap,aA,aB],rules:[{endpoint:aJ,[cj]:o}],[cj]:p},{[ck]:[Y,aH,ax,ap,aA,aE],endpoint:aJ,[cj]:o},{[ck]:[aF,aH,ax,Z,ae,af,ay],endpoint:{[cp]:C,[cq]:az,[cw]:aj},[cj]:o},{[ck]:[aF,aH,ax,Z,ae,aK,ay],endpoint:{[cp]:r,[cq]:az,[cw]:aj},[cj]:o},{[ck]:[aF,aH,ax,Z,ae,af,aA,aB],rules:[{[ck]:bV,endpoint:aL,[cj]:o},{endpoint:aL,[cj]:o}],[cj]:p},{[ck]:[aF,aH,ax,Z,ae,aK,aA,aB],rules:[{[ck]:bV,endpoint:aM,[cj]:o},aN],[cj]:p},{[ck]:[aF,aH,ax,Z,ae,af,aA,aE],endpoint:aL,[cj]:o},{[ck]:[aF,aH,ax,Z,ae,aK,aA,aE],endpoint:aM,[cj]:o},{[ck]:[aF,aH,W,ap,ay],endpoint:{[cp]:D,[cq]:az,[cw]:aj},[cj]:o},{[ck]:[aF,aH,W,ap,aA,aB],rules:[{[ck]:bV,endpoint:aO,[cj]:o},{endpoint:aO,[cj]:o}],[cj]:p},{[ck]:[aF,aH,W,ap,aA,aE],endpoint:aO,[cj]:o},{[ck]:[aF,aH,ax,ap,ay],endpoint:{[cp]:E,[cq]:az,[cw]:aj},[cj]:o},{[ck]:[aF,aH,ax,ap,aA,aB],rules:[{[ck]:bV,endpoint:{[cp]:E,[cq]:aD,[cw]:aj},[cj]:o},{endpoint:aP,[cj]:o}],[cj]:p},{[ck]:[aF,aH,ax,ap,aA,aE],endpoint:aP,[cj]:o}],[cj]:p},aQ],[cj]:p}],[cj]:p},{[ck]:[Z,ae,{[cl]:h,[cm]:[{[cl]:i,[cm]:[ag,"scheme"]},"http"]},{[cl]:q,[cm]:[ad,c]},av,aH,aF,ax],rules:[{[ck]:bT,rules:[{[ck]:bU,rules:[aN],[cj]:p},aQ],[cj]:p}],[cj]:p},{[ck]:[av,{[cl]:F,[cm]:bz,[co]:G}],rules:[{[ck]:[{[cl]:i,[cm]:[aR,"resourceId[0]"],[co]:H},{[cl]:s,[cm]:[{[cl]:h,[cm]:[aS,I]}]}],rules:[{[ck]:[{[cl]:h,[cm]:[aT,J]}],rules:[{[ck]:bW,rules:[{[ck]:bX,rules:[aV,aW,{[ck]:bZ,rules:[aX,{[ck]:ca,rules:[aY,{[ck]:cc,rules:[{[ck]:bT,rules:[{[ck]:cd,rules:[{[ck]:ce,rules:[{[ck]:[{[cl]:h,[cm]:[ba,I]}],error:"Invalid ARN: Missing account id",[cj]:f},{[ck]:cf,rules:[{[ck]:cg,rules:[{[ck]:bC,endpoint:{[cp]:M,[cq]:bb,[cw]:aj},[cj]:o},{[ck]:bH,endpoint:{[cp]:"https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}",[cq]:bb,[cw]:aj},[cj]:o},{endpoint:{[cp]:"https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda.{bucketArn#region}.{bucketPartition#dnsSuffix}",[cq]:bb,[cw]:aj},[cj]:o}],[cj]:p},bc],[cj]:p},bd],[cj]:p},be],[cj]:p},bf],[cj]:p}],[cj]:p}],[cj]:p},bg],[cj]:p},{error:"Invalid ARN: bucket ARN is missing a region",[cj]:f}],[cj]:p},bh],[cj]:p},{error:"Invalid ARN: Object Lambda ARNs only support `accesspoint` arn types, but found: `{arnType}`",[cj]:f}],[cj]:p},{[ck]:bW,rules:[{[ck]:bX,rules:[{[ck]:bZ,rules:[{[ck]:bW,rules:[{[ck]:bZ,rules:[aX,{[ck]:ca,rules:[aY,{[ck]:cc,rules:[{[ck]:bT,rules:[{[ck]:[{[cl]:h,[cm]:[aZ,"{partitionResult#name}"]}],rules:[{[ck]:ce,rules:[{[ck]:[{[cl]:h,[cm]:[aT,B]}],rules:[{[ck]:cf,rules:[{[ck]:cg,rules:[{[ck]:bB,error:"Access Points do not support S3 Accelerate",[cj]:f},{[ck]:[X,Y],endpoint:{[cp]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}",[cq]:bi,[cw]:aj},[cj]:o},{[ck]:[X,aF],endpoint:{[cp]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}",[cq]:bi,[cw]:aj},[cj]:o},{[ck]:[aH,Y],endpoint:{[cp]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}",[cq]:bi,[cw]:aj},[cj]:o},{[ck]:[aH,aF,Z,ae],endpoint:{[cp]:M,[cq]:bi,[cw]:aj},[cj]:o},{[ck]:[aH,aF],endpoint:{[cp]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.{bucketArn#region}.{bucketPartition#dnsSuffix}",[cq]:bi,[cw]:aj},[cj]:o}],[cj]:p},bc],[cj]:p},bd],[cj]:p},{error:"Invalid ARN: The ARN was not for the S3 service, found: {bucketArn#service}",[cj]:f}],[cj]:p},be],[cj]:p},bf],[cj]:p}],[cj]:p}],[cj]:p},bg],[cj]:p}],[cj]:p}],[cj]:p},{[ck]:[{[cl]:y,[cm]:[aU,c]}],rules:[{[ck]:bA,error:"S3 MRAP does not support dual-stack",[cj]:f},{[ck]:bH,error:"S3 MRAP does not support FIPS",[cj]:f},{[ck]:bB,error:"S3 MRAP does not support S3 Accelerate",[cj]:f},{[ck]:[{[cl]:e,[cm]:[{[cn]:"DisableMultiRegionAccessPoints"},c]}],error:"Invalid configuration: Multi-Region Access Point ARNs are disabled.",[cj]:f},{[ck]:[{[cl]:g,[cm]:bx,[co]:N}],rules:[{[ck]:[{[cl]:h,[cm]:[{[cl]:i,[cm]:[{[cn]:N},j]},{[cl]:i,[cm]:[aR,"partition"]}]}],rules:[{endpoint:{[cp]:"https://{accessPointName}.accesspoint.s3-global.{mrapPartition#dnsSuffix}",[cq]:{[cs]:[{[ct]:c,name:z,[cu]:B,[cx]:bS}]},[cw]:aj},[cj]:o}],[cj]:p},{error:"Client was configured for partition `{mrapPartition#name}` but bucket referred to partition `{bucketArn#partition}`",[cj]:f}],[cj]:p}],[cj]:p},{error:"Invalid Access Point Name",[cj]:f}],[cj]:p},bh],[cj]:p},{[ck]:[{[cl]:h,[cm]:[aT,A]}],rules:[{[ck]:bA,error:"S3 Outposts does not support Dual-stack",[cj]:f},{[ck]:bH,error:"S3 Outposts does not support FIPS",[cj]:f},{[ck]:bB,error:"S3 Outposts does not support S3 Accelerate",[cj]:f},{[ck]:[{[cl]:d,[cm]:[{[cl]:i,[cm]:[aR,"resourceId[4]"]}]}],error:"Invalid Arn: Outpost Access Point ARN contains sub resources",[cj]:f},{[ck]:[{[cl]:i,[cm]:bY,[co]:x}],rules:[{[ck]:bQ,rules:[aY,{[ck]:cc,rules:[{[ck]:bT,rules:[{[ck]:cd,rules:[{[ck]:ce,rules:[{[ck]:cf,rules:[{[ck]:[{[cl]:i,[cm]:cb,[co]:O}],rules:[{[ck]:[{[cl]:i,[cm]:[aR,"resourceId[3]"],[co]:L}],rules:[{[ck]:[{[cl]:h,[cm]:[{[cn]:O},K]}],rules:[{[ck]:bC,endpoint:{[cp]:"https://{accessPointName}-{bucketArn#accountId}.{outpostId}.{url#authority}",[cq]:bj,[cw]:aj},[cj]:o},{endpoint:{[cp]:"https://{accessPointName}-{bucketArn#accountId}.{outpostId}.s3-outposts.{bucketArn#region}.{bucketPartition#dnsSuffix}",[cq]:bj,[cw]:aj},[cj]:o}],[cj]:p},{error:"Expected an outpost type `accesspoint`, found {outpostType}",[cj]:f}],[cj]:p},{error:"Invalid ARN: expected an access point name",[cj]:f}],[cj]:p},{error:"Invalid ARN: Expected a 4-component resource",[cj]:f}],[cj]:p},bd],[cj]:p},be],[cj]:p},bf],[cj]:p}],[cj]:p}],[cj]:p},{error:"Invalid ARN: The outpost Id may only contain a-z, A-Z, 0-9 and `-`. Found: `{outpostId}`",[cj]:f}],[cj]:p},{error:"Invalid ARN: The Outpost Id was not set",[cj]:f}],[cj]:p},{error:"Invalid ARN: Unrecognized format: {Bucket} (type: {arnType})",[cj]:f}],[cj]:p},{error:"Invalid ARN: No ARN type specified",[cj]:f}],[cj]:p},{[ck]:[{[cl]:k,[cm]:[ad,0,4,b],[co]:P},{[cl]:h,[cm]:[{[cn]:P},"arn:"]},{[cl]:s,[cm]:[{[cl]:d,[cm]:[bk]}]}],error:"Invalid ARN: `{Bucket}` was not a valid ARN",[cj]:f},{[ck]:[{[cl]:e,[cm]:[aw,c]},bk],error:"Path-style addressing cannot be used with ARN buckets",[cj]:f},{[ck]:bF,rules:[{[ck]:bT,rules:[{[ck]:[ax],rules:[{[ck]:[Y,ap,X,ay],endpoint:{[cp]:"https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[cq]:az,[cw]:aj},[cj]:o},{[ck]:[Y,ap,X,aA,aB],rules:[{endpoint:bl,[cj]:o}],[cj]:p},{[ck]:[Y,ap,X,aA,aE],endpoint:bl,[cj]:o},{[ck]:[aF,ap,X,ay],endpoint:{[cp]:"https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[cq]:az,[cw]:aj},[cj]:o},{[ck]:[aF,ap,X,aA,aB],rules:[{endpoint:bm,[cj]:o}],[cj]:p},{[ck]:[aF,ap,X,aA,aE],endpoint:bm,[cj]:o},{[ck]:[Y,ap,aH,ay],endpoint:{[cp]:"https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[cq]:az,[cw]:aj},[cj]:o},{[ck]:[Y,ap,aH,aA,aB],rules:[{endpoint:bn,[cj]:o}],[cj]:p},{[ck]:[Y,ap,aH,aA,aE],endpoint:bn,[cj]:o},{[ck]:[aF,Z,ae,aH,ay],endpoint:{[cp]:Q,[cq]:az,[cw]:aj},[cj]:o},{[ck]:[aF,Z,ae,aH,aA,aB],rules:[{[ck]:bV,endpoint:bo,[cj]:o},{endpoint:bo,[cj]:o}],[cj]:p},{[ck]:[aF,Z,ae,aH,aA,aE],endpoint:bo,[cj]:o},{[ck]:[aF,ap,aH,ay],endpoint:{[cp]:R,[cq]:az,[cw]:aj},[cj]:o},{[ck]:[aF,ap,aH,aA,aB],rules:[{[ck]:bV,endpoint:{[cp]:R,[cq]:aD,[cw]:aj},[cj]:o},{endpoint:bp,[cj]:o}],[cj]:p},{[ck]:[aF,ap,aH,aA,aE],endpoint:bp,[cj]:o}],[cj]:p},{error:"Path-style addressing cannot be used with S3 Accelerate",[cj]:f}],[cj]:p}],[cj]:p}],[cj]:p},{[ck]:[{[cl]:d,[cm]:[bq]},{[cl]:e,[cm]:[bq,c]}],rules:[{[ck]:bT,rules:[{[ck]:ch,rules:[aV,aW,{[ck]:bC,endpoint:{[cp]:t,[cq]:br,[cw]:aj},[cj]:o},{[ck]:bH,endpoint:{[cp]:"https://s3-object-lambda-fips.{Region}.{partitionResult#dnsSuffix}",[cq]:br,[cw]:aj},[cj]:o},{endpoint:{[cp]:"https://s3-object-lambda.{Region}.{partitionResult#dnsSuffix}",[cq]:br,[cw]:aj},[cj]:o}],[cj]:p},aQ],[cj]:p}],[cj]:p},{[ck]:[ar],rules:[{[ck]:bT,rules:[{[ck]:ch,rules:[{[ck]:[X,Y,ap,ay],endpoint:{[cp]:"https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",[cq]:az,[cw]:aj},[cj]:o},{[ck]:[X,Y,ap,aA,aB],rules:[{endpoint:bs,[cj]:o}],[cj]:p},{[ck]:[X,Y,ap,aA,aE],endpoint:bs,[cj]:o},{[ck]:[X,aF,ap,ay],endpoint:{[cp]:"https://s3-fips.us-east-1.{partitionResult#dnsSuffix}",[cq]:az,[cw]:aj},[cj]:o},{[ck]:[X,aF,ap,aA,aB],rules:[{endpoint:bt,[cj]:o}],[cj]:p},{[ck]:[X,aF,ap,aA,aE],endpoint:bt,[cj]:o},{[ck]:[aH,Y,ap,ay],endpoint:{[cp]:"https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",[cq]:az,[cw]:aj},[cj]:o},{[ck]:[aH,Y,ap,aA,aB],rules:[{endpoint:bu,[cj]:o}],[cj]:p},{[ck]:[aH,Y,ap,aA,aE],endpoint:bu,[cj]:o},{[ck]:[aH,aF,Z,ae,ay],endpoint:{[cp]:t,[cq]:az,[cw]:aj},[cj]:o},{[ck]:[aH,aF,Z,ae,aA,aB],rules:[{[ck]:bV,endpoint:bv,[cj]:o},{endpoint:bv,[cj]:o}],[cj]:p},{[ck]:[aH,aF,Z,ae,aA,aE],endpoint:bv,[cj]:o},{[ck]:[aH,aF,ap,ay],endpoint:{[cp]:S,[cq]:az,[cw]:aj},[cj]:o},{[ck]:[aH,aF,ap,aA,aB],rules:[{[ck]:bV,endpoint:{[cp]:S,[cq]:aD,[cw]:aj},[cj]:o},{endpoint:bw,[cj]:o}],[cj]:p},{[ck]:[aH,aF,ap,aA,aE],endpoint:bw,[cj]:o}],[cj]:p},aQ],[cj]:p}],[cj]:p}],[cj]:p},{error:"A region must be set when sending requests to S3.",[cj]:f}]},ruleSet=_data,cache=new EndpointCache({size:50,params:["Accelerate","Bucket","DisableAccessPoints","DisableMultiRegionAccessPoints","DisableS3ExpressSessionAuth","Endpoint","ForcePathStyle","Region","UseArnRegion","UseDualStack","UseFIPS","UseGlobalEndpoint","UseObjectLambdaEndpoint","UseS3ExpressControlEndpoint"]}),defaultEndpointResolver=(Ra,qa={})=>cache.get(Ra,()=>resolveEndpoint(ruleSet,{endpointParams:Ra,logger:qa.logger}));customEndpointFunctions.aws=awsEndpointFunctions;const createEndpointRuleSetHttpAuthSchemeParametersProvider=Ra=>async(qa,nd,od)=>{var pd,fd,md;if(!od)throw new Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");const ld=await Ra(qa,nd,od),ud=(md=(fd=(pd=getSmithyContext(nd))==null?void 0:pd.commandInstance)==null?void 0:fd.constructor)==null?void 0:md.getEndpointParameterInstructions;if(!ud)throw new Error(`getEndpointParameterInstructions() is not defined on \`${nd.commandName}\``);const dd=await resolveParams(od,{getEndpointParameterInstructions:ud},qa);return Object.assign(ld,dd)},_defaultS3HttpAuthSchemeParametersProvider=async(Ra,qa,nd)=>({operation:getSmithyContext(qa).operation,region:await normalizeProvider$1(Ra.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()}),defaultS3HttpAuthSchemeParametersProvider=createEndpointRuleSetHttpAuthSchemeParametersProvider(_defaultS3HttpAuthSchemeParametersProvider);function createAwsAuthSigv4HttpAuthOption(Ra){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"s3",region:Ra.region},propertiesExtractor:(qa,nd)=>({signingProperties:{config:qa,context:nd}})}}function createAwsAuthSigv4aHttpAuthOption(Ra){return{schemeId:"aws.auth#sigv4a",signingProperties:{name:"s3",region:Ra.region},propertiesExtractor:(qa,nd)=>({signingProperties:{config:qa,context:nd}})}}const createEndpointRuleSetHttpAuthSchemeProvider=(Ra,qa,nd)=>ld=>{var fd;const dd=(fd=Ra(ld).properties)==null?void 0:fd.authSchemes;if(!dd)return qa(ld);const pd=[];for(const md of dd){const{name:vd,properties:Ad={},...Nd}=md,Od=vd.toLowerCase();vd!==Od&&console.warn(`HttpAuthScheme has been normalized with lowercasing: \`${vd}\` to \`${Od}\``);let kd;if(Od==="sigv4a"){if(kd="aws.auth#sigv4a",dd.find(Fd=>{const Ud=Fd.name.toLowerCase();return Ud!=="sigv4a"&&Ud.startsWith("sigv4")}))continue}else if(Od.startsWith("sigv4"))kd="aws.auth#sigv4";else throw new Error(`Unknown HttpAuthScheme found in \`@smithy.rules#endpointRuleSet\`: \`${Od}\``);const Ld=nd[kd];if(!Ld)throw new Error(`Could not find HttpAuthOption create function for \`${kd}\``);const Gd=Ld(ld);Gd.schemeId=kd,Gd.signingProperties={...Gd.signingProperties||{},...Nd,...Ad},pd.push(Gd)}return pd},_defaultS3HttpAuthSchemeProvider=Ra=>{const qa=[];switch(Ra.operation){default:qa.push(createAwsAuthSigv4HttpAuthOption(Ra)),qa.push(createAwsAuthSigv4aHttpAuthOption(Ra))}return qa},defaultS3HttpAuthSchemeProvider=createEndpointRuleSetHttpAuthSchemeProvider(defaultEndpointResolver,_defaultS3HttpAuthSchemeProvider,{"aws.auth#sigv4":createAwsAuthSigv4HttpAuthOption,"aws.auth#sigv4a":createAwsAuthSigv4aHttpAuthOption}),resolveHttpAuthSchemeConfig=Ra=>{const qa=resolveAwsSdkSigV4Config(Ra);return{...resolveAwsSdkSigV4AConfig(qa)}},resolveClientEndpointParameters=Ra=>({...Ra,useFipsEndpoint:Ra.useFipsEndpoint??!1,useDualstackEndpoint:Ra.useDualstackEndpoint??!1,forcePathStyle:Ra.forcePathStyle??!1,useAccelerateEndpoint:Ra.useAccelerateEndpoint??!1,useGlobalEndpoint:Ra.useGlobalEndpoint??!1,disableMultiregionAccessPoints:Ra.disableMultiregionAccessPoints??!1,defaultSigningName:"s3"}),commonParams={ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},DisableS3ExpressSessionAuth:{type:"clientContextParams",name:"disableS3ExpressSessionAuth"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}};class S3ServiceException extends ServiceException{constructor(qa){super(qa),Object.setPrototypeOf(this,S3ServiceException.prototype)}}class NoSuchUpload extends S3ServiceException{constructor(qa){super({name:"NoSuchUpload",$fault:"client",...qa}),this.name="NoSuchUpload",this.$fault="client",Object.setPrototypeOf(this,NoSuchUpload.prototype)}}class ObjectNotInActiveTierError extends S3ServiceException{constructor(qa){super({name:"ObjectNotInActiveTierError",$fault:"client",...qa}),this.name="ObjectNotInActiveTierError",this.$fault="client",Object.setPrototypeOf(this,ObjectNotInActiveTierError.prototype)}}class BucketAlreadyExists extends S3ServiceException{constructor(qa){super({name:"BucketAlreadyExists",$fault:"client",...qa}),this.name="BucketAlreadyExists",this.$fault="client",Object.setPrototypeOf(this,BucketAlreadyExists.prototype)}}class BucketAlreadyOwnedByYou extends S3ServiceException{constructor(qa){super({name:"BucketAlreadyOwnedByYou",$fault:"client",...qa}),this.name="BucketAlreadyOwnedByYou",this.$fault="client",Object.setPrototypeOf(this,BucketAlreadyOwnedByYou.prototype)}}class NoSuchBucket extends S3ServiceException{constructor(qa){super({name:"NoSuchBucket",$fault:"client",...qa}),this.name="NoSuchBucket",this.$fault="client",Object.setPrototypeOf(this,NoSuchBucket.prototype)}}var AnalyticsFilter;(function(Ra){Ra.visit=(qa,nd)=>qa.Prefix!==void 0?nd.Prefix(qa.Prefix):qa.Tag!==void 0?nd.Tag(qa.Tag):qa.And!==void 0?nd.And(qa.And):nd._(qa.$unknown[0],qa.$unknown[1])})(AnalyticsFilter||(AnalyticsFilter={}));var MetricsFilter;(function(Ra){Ra.visit=(qa,nd)=>qa.Prefix!==void 0?nd.Prefix(qa.Prefix):qa.Tag!==void 0?nd.Tag(qa.Tag):qa.AccessPointArn!==void 0?nd.AccessPointArn(qa.AccessPointArn):qa.And!==void 0?nd.And(qa.And):nd._(qa.$unknown[0],qa.$unknown[1])})(MetricsFilter||(MetricsFilter={}));class InvalidObjectState extends S3ServiceException{constructor(qa){super({name:"InvalidObjectState",$fault:"client",...qa}),this.name="InvalidObjectState",this.$fault="client",Object.setPrototypeOf(this,InvalidObjectState.prototype),this.StorageClass=qa.StorageClass,this.AccessTier=qa.AccessTier}}class NoSuchKey extends S3ServiceException{constructor(qa){super({name:"NoSuchKey",$fault:"client",...qa}),this.name="NoSuchKey",this.$fault="client",Object.setPrototypeOf(this,NoSuchKey.prototype)}}class NotFound extends S3ServiceException{constructor(qa){super({name:"NotFound",$fault:"client",...qa}),this.name="NotFound",this.$fault="client",Object.setPrototypeOf(this,NotFound.prototype)}}const SessionCredentialsFilterSensitiveLog=Ra=>({...Ra,...Ra.SecretAccessKey&&{SecretAccessKey:SENSITIVE_STRING},...Ra.SessionToken&&{SessionToken:SENSITIVE_STRING}}),CreateSessionOutputFilterSensitiveLog=Ra=>({...Ra,...Ra.SSEKMSKeyId&&{SSEKMSKeyId:SENSITIVE_STRING},...Ra.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:SENSITIVE_STRING},...Ra.Credentials&&{Credentials:SessionCredentialsFilterSensitiveLog(Ra.Credentials)}}),CreateSessionRequestFilterSensitiveLog=Ra=>({...Ra,...Ra.SSEKMSKeyId&&{SSEKMSKeyId:SENSITIVE_STRING},...Ra.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:SENSITIVE_STRING}});class EncryptionTypeMismatch extends S3ServiceException{constructor(qa){super({name:"EncryptionTypeMismatch",$fault:"client",...qa}),this.name="EncryptionTypeMismatch",this.$fault="client",Object.setPrototypeOf(this,EncryptionTypeMismatch.prototype)}}class InvalidRequest extends S3ServiceException{constructor(qa){super({name:"InvalidRequest",$fault:"client",...qa}),this.name="InvalidRequest",this.$fault="client",Object.setPrototypeOf(this,InvalidRequest.prototype)}}class InvalidWriteOffset extends S3ServiceException{constructor(qa){super({name:"InvalidWriteOffset",$fault:"client",...qa}),this.name="InvalidWriteOffset",this.$fault="client",Object.setPrototypeOf(this,InvalidWriteOffset.prototype)}}class TooManyParts extends S3ServiceException{constructor(qa){super({name:"TooManyParts",$fault:"client",...qa}),this.name="TooManyParts",this.$fault="client",Object.setPrototypeOf(this,TooManyParts.prototype)}}class ObjectAlreadyInActiveTierError extends S3ServiceException{constructor(qa){super({name:"ObjectAlreadyInActiveTierError",$fault:"client",...qa}),this.name="ObjectAlreadyInActiveTierError",this.$fault="client",Object.setPrototypeOf(this,ObjectAlreadyInActiveTierError.prototype)}}var SelectObjectContentEventStream;(function(Ra){Ra.visit=(qa,nd)=>qa.Records!==void 0?nd.Records(qa.Records):qa.Stats!==void 0?nd.Stats(qa.Stats):qa.Progress!==void 0?nd.Progress(qa.Progress):qa.Cont!==void 0?nd.Cont(qa.Cont):qa.End!==void 0?nd.End(qa.End):nd._(qa.$unknown[0],qa.$unknown[1])})(SelectObjectContentEventStream||(SelectObjectContentEventStream={}));const PutObjectOutputFilterSensitiveLog=Ra=>({...Ra,...Ra.SSEKMSKeyId&&{SSEKMSKeyId:SENSITIVE_STRING},...Ra.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:SENSITIVE_STRING}}),PutObjectRequestFilterSensitiveLog=Ra=>({...Ra,...Ra.SSECustomerKey&&{SSECustomerKey:SENSITIVE_STRING},...Ra.SSEKMSKeyId&&{SSEKMSKeyId:SENSITIVE_STRING},...Ra.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:SENSITIVE_STRING}}),se_CreateSessionCommand=async(Ra,qa)=>{const nd=requestBuilder(Ra,qa),od=map$2({},isSerializableHeaderValue,{[_xacsm]:Ra[_SM],[_xasse]:Ra[_SSE],[_xasseakki]:Ra[_SSEKMSKI],[_xassec]:Ra[_SSEKMSEC],[_xassebke]:[()=>isSerializableHeaderValue(Ra[_BKE]),()=>Ra[_BKE].toString()]});nd.bp("/"),nd.p("Bucket",()=>Ra.Bucket,"{Bucket}",!1);const ld=map$2({[_s]:[,""]});return nd.m("GET").h(od).q(ld).b(void 0),nd.build()},se_PutObjectCommand=async(Ra,qa)=>{const nd=requestBuilder(Ra,qa),od=map$2({},isSerializableHeaderValue,{[_ct]:Ra[_CT]||"application/octet-stream",[_xaa]:Ra[_ACL],[_cc]:Ra[_CC],[_cd]:Ra[_CD],[_ce]:Ra[_CE],[_cl]:Ra[_CL],[_cl_]:[()=>isSerializableHeaderValue(Ra[_CLo]),()=>Ra[_CLo].toString()],[_cm]:Ra[_CMD],[_xasca]:Ra[_CA],[_xacc]:Ra[_CCRC],[_xacc_]:Ra[_CCRCC],[_xacs]:Ra[_CSHA],[_xacs_]:Ra[_CSHAh],[_e]:[()=>isSerializableHeaderValue(Ra[_E]),()=>dateToUtcString(Ra[_E]).toString()],[_im]:Ra[_IM],[_inm]:Ra[_INM],[_xagfc]:Ra[_GFC],[_xagr]:Ra[_GR],[_xagra]:Ra[_GRACP],[_xagwa]:Ra[_GWACP],[_xawob]:[()=>isSerializableHeaderValue(Ra[_WOB]),()=>Ra[_WOB].toString()],[_xasse]:Ra[_SSE],[_xasc]:Ra[_SC],[_xawrl]:Ra[_WRL],[_xasseca]:Ra[_SSECA],[_xasseck]:Ra[_SSECK],[_xasseckm]:Ra[_SSECKMD],[_xasseakki]:Ra[_SSEKMSKI],[_xassec]:Ra[_SSEKMSEC],[_xassebke]:[()=>isSerializableHeaderValue(Ra[_BKE]),()=>Ra[_BKE].toString()],[_xarp]:Ra[_RP],[_xat]:Ra[_T],[_xaolm]:Ra[_OLM],[_xaolrud]:[()=>isSerializableHeaderValue(Ra[_OLRUD]),()=>serializeDateTime(Ra[_OLRUD]).toString()],[_xaollh]:Ra[_OLLHS],[_xaebo]:Ra[_EBO],...Ra.Metadata!==void 0&&Object.keys(Ra.Metadata).reduce((pd,fd)=>(pd[`x-amz-meta-${fd.toLowerCase()}`]=Ra.Metadata[fd],pd),{})});nd.bp("/{Key+}"),nd.p("Bucket",()=>Ra.Bucket,"{Bucket}",!1),nd.p("Key",()=>Ra.Key,"{Key+}",!0);const ld=map$2({[_xi]:[,"PutObject"]});let ud,dd;return Ra.Body!==void 0&&(dd=Ra.Body,ud=dd),nd.m("PUT").h(od).q(ld).b(ud),nd.build()},de_CreateSessionCommand=async(Ra,qa)=>{if(Ra.statusCode!==200&&Ra.statusCode>=300)return de_CommandError(Ra,qa);const nd=map$2({$metadata:deserializeMetadata(Ra),[_SSE]:[,Ra.headers[_xasse]],[_SSEKMSKI]:[,Ra.headers[_xasseakki]],[_SSEKMSEC]:[,Ra.headers[_xassec]],[_BKE]:[()=>Ra.headers[_xassebke]!==void 0,()=>parseBoolean(Ra.headers[_xassebke])]}),od=expectNonNull(expectObject(await parseXmlBody(Ra.body,qa)),"body");return od[_C]!=null&&(nd[_C]=de_SessionCredentials(od[_C])),nd},de_PutObjectCommand=async(Ra,qa)=>{if(Ra.statusCode!==200&&Ra.statusCode>=300)return de_CommandError(Ra,qa);const nd=map$2({$metadata:deserializeMetadata(Ra),[_Exp]:[,Ra.headers[_xae]],[_ETa]:[,Ra.headers[_eta]],[_CCRC]:[,Ra.headers[_xacc]],[_CCRCC]:[,Ra.headers[_xacc_]],[_CSHA]:[,Ra.headers[_xacs]],[_CSHAh]:[,Ra.headers[_xacs_]],[_SSE]:[,Ra.headers[_xasse]],[_VI]:[,Ra.headers[_xavi]],[_SSECA]:[,Ra.headers[_xasseca]],[_SSECKMD]:[,Ra.headers[_xasseckm]],[_SSEKMSKI]:[,Ra.headers[_xasseakki]],[_SSEKMSEC]:[,Ra.headers[_xassec]],[_BKE]:[()=>Ra.headers[_xassebke]!==void 0,()=>parseBoolean(Ra.headers[_xassebke])],[_Si]:[()=>Ra.headers[_xaos]!==void 0,()=>strictParseLong(Ra.headers[_xaos])],[_RC]:[,Ra.headers[_xarc]]});return await collectBody$1(Ra.body,qa),nd},de_CommandError=async(Ra,qa)=>{const nd={...Ra,body:await parseXmlErrorBody(Ra.body,qa)},od=loadRestXmlErrorCode(Ra,nd.body);switch(od){case"NoSuchUpload":case"com.amazonaws.s3#NoSuchUpload":throw await de_NoSuchUploadRes(nd);case"ObjectNotInActiveTierError":case"com.amazonaws.s3#ObjectNotInActiveTierError":throw await de_ObjectNotInActiveTierErrorRes(nd);case"BucketAlreadyExists":case"com.amazonaws.s3#BucketAlreadyExists":throw await de_BucketAlreadyExistsRes(nd);case"BucketAlreadyOwnedByYou":case"com.amazonaws.s3#BucketAlreadyOwnedByYou":throw await de_BucketAlreadyOwnedByYouRes(nd);case"NoSuchBucket":case"com.amazonaws.s3#NoSuchBucket":throw await de_NoSuchBucketRes(nd);case"InvalidObjectState":case"com.amazonaws.s3#InvalidObjectState":throw await de_InvalidObjectStateRes(nd);case"NoSuchKey":case"com.amazonaws.s3#NoSuchKey":throw await de_NoSuchKeyRes(nd);case"NotFound":case"com.amazonaws.s3#NotFound":throw await de_NotFoundRes(nd);case"EncryptionTypeMismatch":case"com.amazonaws.s3#EncryptionTypeMismatch":throw await de_EncryptionTypeMismatchRes(nd);case"InvalidRequest":case"com.amazonaws.s3#InvalidRequest":throw await de_InvalidRequestRes(nd);case"InvalidWriteOffset":case"com.amazonaws.s3#InvalidWriteOffset":throw await de_InvalidWriteOffsetRes(nd);case"TooManyParts":case"com.amazonaws.s3#TooManyParts":throw await de_TooManyPartsRes(nd);case"ObjectAlreadyInActiveTierError":case"com.amazonaws.s3#ObjectAlreadyInActiveTierError":throw await de_ObjectAlreadyInActiveTierErrorRes(nd);default:const ld=nd.body;return throwDefaultError({output:Ra,parsedBody:ld,errorCode:od})}},throwDefaultError=withBaseException(S3ServiceException),de_BucketAlreadyExistsRes=async(Ra,qa)=>{const nd=map$2({});Ra.body;const od=new BucketAlreadyExists({$metadata:deserializeMetadata(Ra),...nd});return decorateServiceException(od,Ra.body)},de_BucketAlreadyOwnedByYouRes=async(Ra,qa)=>{const nd=map$2({});Ra.body;const od=new BucketAlreadyOwnedByYou({$metadata:deserializeMetadata(Ra),...nd});return decorateServiceException(od,Ra.body)},de_EncryptionTypeMismatchRes=async(Ra,qa)=>{const nd=map$2({});Ra.body;const od=new EncryptionTypeMismatch({$metadata:deserializeMetadata(Ra),...nd});return decorateServiceException(od,Ra.body)},de_InvalidObjectStateRes=async(Ra,qa)=>{const nd=map$2({}),od=Ra.body;od[_AT]!=null&&(nd[_AT]=expectString(od[_AT])),od[_SC]!=null&&(nd[_SC]=expectString(od[_SC]));const ld=new InvalidObjectState({$metadata:deserializeMetadata(Ra),...nd});return decorateServiceException(ld,Ra.body)},de_InvalidRequestRes=async(Ra,qa)=>{const nd=map$2({});Ra.body;const od=new InvalidRequest({$metadata:deserializeMetadata(Ra),...nd});return decorateServiceException(od,Ra.body)},de_InvalidWriteOffsetRes=async(Ra,qa)=>{const nd=map$2({});Ra.body;const od=new InvalidWriteOffset({$metadata:deserializeMetadata(Ra),...nd});return decorateServiceException(od,Ra.body)},de_NoSuchBucketRes=async(Ra,qa)=>{const nd=map$2({});Ra.body;const od=new NoSuchBucket({$metadata:deserializeMetadata(Ra),...nd});return decorateServiceException(od,Ra.body)},de_NoSuchKeyRes=async(Ra,qa)=>{const nd=map$2({});Ra.body;const od=new NoSuchKey({$metadata:deserializeMetadata(Ra),...nd});return decorateServiceException(od,Ra.body)},de_NoSuchUploadRes=async(Ra,qa)=>{const nd=map$2({});Ra.body;const od=new NoSuchUpload({$metadata:deserializeMetadata(Ra),...nd});return decorateServiceException(od,Ra.body)},de_NotFoundRes=async(Ra,qa)=>{const nd=map$2({});Ra.body;const od=new NotFound({$metadata:deserializeMetadata(Ra),...nd});return decorateServiceException(od,Ra.body)},de_ObjectAlreadyInActiveTierErrorRes=async(Ra,qa)=>{const nd=map$2({});Ra.body;const od=new ObjectAlreadyInActiveTierError({$metadata:deserializeMetadata(Ra),...nd});return decorateServiceException(od,Ra.body)},de_ObjectNotInActiveTierErrorRes=async(Ra,qa)=>{const nd=map$2({});Ra.body;const od=new ObjectNotInActiveTierError({$metadata:deserializeMetadata(Ra),...nd});return decorateServiceException(od,Ra.body)},de_TooManyPartsRes=async(Ra,qa)=>{const nd=map$2({});Ra.body;const od=new TooManyParts({$metadata:deserializeMetadata(Ra),...nd});return decorateServiceException(od,Ra.body)},de_SessionCredentials=(Ra,qa)=>{const nd={};return Ra[_AKI]!=null&&(nd[_AKI]=expectString(Ra[_AKI])),Ra[_SAK]!=null&&(nd[_SAK]=expectString(Ra[_SAK])),Ra[_ST]!=null&&(nd[_ST]=expectString(Ra[_ST])),Ra[_Exp]!=null&&(nd[_Exp]=expectNonNull(parseRfc3339DateTimeWithOffset(Ra[_Exp]))),nd},deserializeMetadata=Ra=>({httpStatusCode:Ra.statusCode,requestId:Ra.headers["x-amzn-requestid"]??Ra.headers["x-amzn-request-id"]??Ra.headers["x-amz-request-id"],extendedRequestId:Ra.headers["x-amz-id-2"],cfId:Ra.headers["x-amz-cf-id"]}),_ACL="ACL",_AKI="AccessKeyId",_AT="AccessTier",_BKE="BucketKeyEnabled",_C="Credentials",_CA="ChecksumAlgorithm",_CC="CacheControl",_CCRC="ChecksumCRC32",_CCRCC="ChecksumCRC32C",_CD="ContentDisposition",_CE="ContentEncoding",_CL="ContentLanguage",_CLo="ContentLength",_CMD="ContentMD5",_CSHA="ChecksumSHA1",_CSHAh="ChecksumSHA256",_CT="ContentType",_E="Expires",_EBO="ExpectedBucketOwner",_ETa="ETag",_Exp="Expiration",_GFC="GrantFullControl",_GR="GrantRead",_GRACP="GrantReadACP",_GWACP="GrantWriteACP",_IM="IfMatch",_INM="IfNoneMatch",_OLLHS="ObjectLockLegalHoldStatus",_OLM="ObjectLockMode",_OLRUD="ObjectLockRetainUntilDate",_RC="RequestCharged",_RP="RequestPayer",_SAK="SecretAccessKey",_SC="StorageClass",_SM="SessionMode",_SSE="ServerSideEncryption",_SSECA="SSECustomerAlgorithm",_SSECK="SSECustomerKey",_SSECKMD="SSECustomerKeyMD5",_SSEKMSEC="SSEKMSEncryptionContext",_SSEKMSKI="SSEKMSKeyId",_ST="SessionToken",_Si="Size",_T="Tagging",_VI="VersionId",_WOB="WriteOffsetBytes",_WRL="WebsiteRedirectLocation",_cc="cache-control",_cd="content-disposition",_ce="content-encoding",_cl="content-language",_cl_="content-length",_cm="content-md5",_ct="content-type",_e="expires",_eta="etag",_im="if-match",_inm="if-none-match",_s="session",_xaa="x-amz-acl",_xacc="x-amz-checksum-crc32",_xacc_="x-amz-checksum-crc32c",_xacs="x-amz-checksum-sha1",_xacs_="x-amz-checksum-sha256",_xacsm="x-amz-create-session-mode",_xae="x-amz-expiration",_xaebo="x-amz-expected-bucket-owner",_xagfc="x-amz-grant-full-control",_xagr="x-amz-grant-read",_xagra="x-amz-grant-read-acp",_xagwa="x-amz-grant-write-acp",_xaollh="x-amz-object-lock-legal-hold",_xaolm="x-amz-object-lock-mode",_xaolrud="x-amz-object-lock-retain-until-date",_xaos="x-amz-object-size",_xarc="x-amz-request-charged",_xarp="x-amz-request-payer",_xasc="x-amz-storage-class",_xasca="x-amz-sdk-checksum-algorithm",_xasse="x-amz-server-side-encryption",_xasseakki="x-amz-server-side-encryption-aws-kms-key-id",_xassebke="x-amz-server-side-encryption-bucket-key-enabled",_xassec="x-amz-server-side-encryption-context",_xasseca="x-amz-server-side-encryption-customer-algorithm",_xasseck="x-amz-server-side-encryption-customer-key",_xasseckm="x-amz-server-side-encryption-customer-key-md5",_xat="x-amz-tagging",_xavi="x-amz-version-id",_xawob="x-amz-write-offset-bytes",_xawrl="x-amz-website-redirect-location",_xi="x-id";class CreateSessionCommand extends Command.classBuilder().ep({...commonParams,DisableS3ExpressSessionAuth:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(qa,nd,od,ld){return[getSerdePlugin(od,this.serialize,this.deserialize),getEndpointPlugin(od,qa.getEndpointParameterInstructions()),getThrow200ExceptionsPlugin(od)]}).s("AmazonS3","CreateSession",{}).n("S3Client","CreateSessionCommand").f(CreateSessionRequestFilterSensitiveLog,CreateSessionOutputFilterSensitiveLog).ser(se_CreateSessionCommand).de(de_CreateSessionCommand).build(){}const name="@aws-sdk/client-s3",description="AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",version="3.716.0",scripts={build:"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","build:cjs":"node ../../scripts/compilation/inline client-s3","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo s3",test:"yarn g:vitest run","test:browser":"node ./test/browser-build/esbuild && vitest run -c vitest.config.browser.ts --mode development","test:browser:watch":"node ./test/browser-build/esbuild && yarn g:vitest watch -c vitest.config.browser.ts","test:e2e":"yarn g:vitest run -c vitest.config.e2e.ts --mode development && yarn test:browser","test:e2e:watch":"yarn g:vitest watch -c vitest.config.e2e.ts","test:watch":"yarn g:vitest watch"},main$1="./dist-cjs/index.js",types="./dist-types/index.d.ts",module$1="./dist-es/index.js",sideEffects=!1,dependencies={"@aws-crypto/sha1-browser":"5.2.0","@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/client-sso-oidc":"3.716.0","@aws-sdk/client-sts":"3.716.0","@aws-sdk/core":"3.716.0","@aws-sdk/credential-provider-node":"3.716.0","@aws-sdk/middleware-bucket-endpoint":"3.714.0","@aws-sdk/middleware-expect-continue":"3.714.0","@aws-sdk/middleware-flexible-checksums":"3.716.0","@aws-sdk/middleware-host-header":"3.714.0","@aws-sdk/middleware-location-constraint":"3.714.0","@aws-sdk/middleware-logger":"3.714.0","@aws-sdk/middleware-recursion-detection":"3.714.0","@aws-sdk/middleware-sdk-s3":"3.716.0","@aws-sdk/middleware-ssec":"3.714.0","@aws-sdk/middleware-user-agent":"3.716.0","@aws-sdk/region-config-resolver":"3.714.0","@aws-sdk/signature-v4-multi-region":"3.716.0","@aws-sdk/types":"3.714.0","@aws-sdk/util-endpoints":"3.714.0","@aws-sdk/util-user-agent-browser":"3.714.0","@aws-sdk/util-user-agent-node":"3.716.0","@aws-sdk/xml-builder":"3.709.0","@smithy/config-resolver":"^3.0.13","@smithy/core":"^2.5.5","@smithy/eventstream-serde-browser":"^3.0.14","@smithy/eventstream-serde-config-resolver":"^3.0.11","@smithy/eventstream-serde-node":"^3.0.13","@smithy/fetch-http-handler":"^4.1.2","@smithy/hash-blob-browser":"^3.1.10","@smithy/hash-node":"^3.0.11","@smithy/hash-stream-node":"^3.1.10","@smithy/invalid-dependency":"^3.0.11","@smithy/md5-js":"^3.0.11","@smithy/middleware-content-length":"^3.0.13","@smithy/middleware-endpoint":"^3.2.6","@smithy/middleware-retry":"^3.0.31","@smithy/middleware-serde":"^3.0.11","@smithy/middleware-stack":"^3.0.11","@smithy/node-config-provider":"^3.1.12","@smithy/node-http-handler":"^3.3.2","@smithy/protocol-http":"^4.1.8","@smithy/smithy-client":"^3.5.1","@smithy/types":"^3.7.2","@smithy/url-parser":"^3.0.11","@smithy/util-base64":"^3.0.0","@smithy/util-body-length-browser":"^3.0.0","@smithy/util-body-length-node":"^3.0.0","@smithy/util-defaults-mode-browser":"^3.0.31","@smithy/util-defaults-mode-node":"^3.0.31","@smithy/util-endpoints":"^2.1.7","@smithy/util-middleware":"^3.0.11","@smithy/util-retry":"^3.0.11","@smithy/util-stream":"^3.3.2","@smithy/util-utf8":"^3.0.0","@smithy/util-waiter":"^3.2.0",tslib:"^2.6.2"},devDependencies={"@aws-sdk/signature-v4-crt":"3.716.0","@tsconfig/node16":"16.1.3","@types/node":"^16.18.96",concurrently:"7.0.0","downlevel-dts":"0.10.1",rimraf:"3.0.2",typescript:"~4.9.5"},engines={node:">=16.0.0"},typesVersions={"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},files=["dist-*/**"],author={name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/javascript/"},license="Apache-2.0",browser={"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},homepage="https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3",repository={type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"clients/client-s3"},packageInfo={name,description,version,scripts,main:main$1,types,module:module$1,sideEffects,dependencies,devDependencies,engines,typesVersions,files,author,license,browser,"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},homepage,repository},fromUtf8=Ra=>new TextEncoder().encode(Ra);function isEmptyData$1(Ra){return typeof Ra=="string"?Ra.length===0:Ra.byteLength===0}var SHA_1_HASH={name:"SHA-1"},SHA_1_HMAC_ALGO={name:"HMAC",hash:SHA_1_HASH},EMPTY_DATA_SHA_1=new Uint8Array([218,57,163,238,94,107,75,13,50,85,191,239,149,96,24,144,175,216,7,9]);const fallbackWindow={};function locateWindow(){return typeof window<"u"?window:typeof self<"u"?self:fallbackWindow}var Sha1$1=function(){function Ra(qa){this.toHash=new Uint8Array(0),qa!==void 0&&(this.key=new Promise(function(nd,od){locateWindow().crypto.subtle.importKey("raw",convertToBuffer$1(qa),SHA_1_HMAC_ALGO,!1,["sign"]).then(nd,od)}),this.key.catch(function(){}))}return Ra.prototype.update=function(qa){if(!isEmptyData$1(qa)){var nd=convertToBuffer$1(qa),od=new Uint8Array(this.toHash.byteLength+nd.byteLength);od.set(this.toHash,0),od.set(nd,this.toHash.byteLength),this.toHash=od}},Ra.prototype.digest=function(){var qa=this;return this.key?this.key.then(function(nd){return locateWindow().crypto.subtle.sign(SHA_1_HMAC_ALGO,nd,qa.toHash).then(function(od){return new Uint8Array(od)})}):isEmptyData$1(this.toHash)?Promise.resolve(EMPTY_DATA_SHA_1):Promise.resolve().then(function(){return locateWindow().crypto.subtle.digest(SHA_1_HASH,qa.toHash)}).then(function(nd){return Promise.resolve(new Uint8Array(nd))})},Ra.prototype.reset=function(){this.toHash=new Uint8Array(0)},Ra}();function convertToBuffer$1(Ra){return typeof Ra=="string"?fromUtf8(Ra):ArrayBuffer.isView(Ra)?new Uint8Array(Ra.buffer,Ra.byteOffset,Ra.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(Ra)}var subtleCryptoMethods=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];function supportsWebCrypto(Ra){if(supportsSecureRandom(Ra)&&typeof Ra.crypto.subtle=="object"){var qa=Ra.crypto.subtle;return supportsSubtleCrypto(qa)}return!1}function supportsSecureRandom(Ra){if(typeof Ra=="object"&&typeof Ra.crypto=="object"){var qa=Ra.crypto.getRandomValues;return typeof qa=="function"}return!1}function supportsSubtleCrypto(Ra){return Ra&&subtleCryptoMethods.every(function(qa){return typeof Ra[qa]=="function"})}var Sha1=function(){function Ra(qa){if(supportsWebCrypto(locateWindow()))this.hash=new Sha1$1(qa);else throw new Error("SHA1 not supported")}return Ra.prototype.update=function(qa,nd){this.hash.update(convertToBuffer$2(qa))},Ra.prototype.digest=function(){return this.hash.digest()},Ra.prototype.reset=function(){this.hash.reset()},Ra}(),SHA_256_HASH={name:"SHA-256"},SHA_256_HMAC_ALGO={name:"HMAC",hash:SHA_256_HASH},EMPTY_DATA_SHA_256=new Uint8Array([227,176,196,66,152,252,28,20,154,251,244,200,153,111,185,36,39,174,65,228,100,155,147,76,164,149,153,27,120,82,184,85]),Sha256$2=function(){function Ra(qa){this.toHash=new Uint8Array(0),this.secret=qa,this.reset()}return Ra.prototype.update=function(qa){if(!isEmptyData$2(qa)){var nd=convertToBuffer$2(qa),od=new Uint8Array(this.toHash.byteLength+nd.byteLength);od.set(this.toHash,0),od.set(nd,this.toHash.byteLength),this.toHash=od}},Ra.prototype.digest=function(){var qa=this;return this.key?this.key.then(function(nd){return locateWindow().crypto.subtle.sign(SHA_256_HMAC_ALGO,nd,qa.toHash).then(function(od){return new Uint8Array(od)})}):isEmptyData$2(this.toHash)?Promise.resolve(EMPTY_DATA_SHA_256):Promise.resolve().then(function(){return locateWindow().crypto.subtle.digest(SHA_256_HASH,qa.toHash)}).then(function(nd){return Promise.resolve(new Uint8Array(nd))})},Ra.prototype.reset=function(){var qa=this;this.toHash=new Uint8Array(0),this.secret&&this.secret!==void 0&&(this.key=new Promise(function(nd,od){locateWindow().crypto.subtle.importKey("raw",convertToBuffer$2(qa.secret),SHA_256_HMAC_ALGO,!1,["sign"]).then(nd,od)}),this.key.catch(function(){}))},Ra}(),BLOCK_SIZE$1=64,DIGEST_LENGTH$1=32,KEY=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),INIT$1=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],MAX_HASHABLE_LENGTH=Math.pow(2,53)-1,RawSha256=function(){function Ra(){this.state=Int32Array.from(INIT$1),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return Ra.prototype.update=function(qa){if(this.finished)throw new Error("Attempted to update an already finished hash.");var nd=0,od=qa.byteLength;if(this.bytesHashed+=od,this.bytesHashed*8>MAX_HASHABLE_LENGTH)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;od>0;)this.buffer[this.bufferLength++]=qa[nd++],od--,this.bufferLength===BLOCK_SIZE$1&&(this.hashBuffer(),this.bufferLength=0)},Ra.prototype.digest=function(){if(!this.finished){var qa=this.bytesHashed*8,nd=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),od=this.bufferLength;if(nd.setUint8(this.bufferLength++,128),od%BLOCK_SIZE$1>=BLOCK_SIZE$1-8){for(var ld=this.bufferLength;ld<BLOCK_SIZE$1;ld++)nd.setUint8(ld,0);this.hashBuffer(),this.bufferLength=0}for(var ld=this.bufferLength;ld<BLOCK_SIZE$1-8;ld++)nd.setUint8(ld,0);nd.setUint32(BLOCK_SIZE$1-8,Math.floor(qa/4294967296),!0),nd.setUint32(BLOCK_SIZE$1-4,qa),this.hashBuffer(),this.finished=!0}for(var ud=new Uint8Array(DIGEST_LENGTH$1),ld=0;ld<8;ld++)ud[ld*4]=this.state[ld]>>>24&255,ud[ld*4+1]=this.state[ld]>>>16&255,ud[ld*4+2]=this.state[ld]>>>8&255,ud[ld*4+3]=this.state[ld]>>>0&255;return ud},Ra.prototype.hashBuffer=function(){for(var qa=this,nd=qa.buffer,od=qa.state,ld=od[0],ud=od[1],dd=od[2],pd=od[3],fd=od[4],md=od[5],vd=od[6],Ad=od[7],Nd=0;Nd<BLOCK_SIZE$1;Nd++){if(Nd<16)this.temp[Nd]=(nd[Nd*4]&255)<<24|(nd[Nd*4+1]&255)<<16|(nd[Nd*4+2]&255)<<8|nd[Nd*4+3]&255;else{var Od=this.temp[Nd-2],kd=(Od>>>17|Od<<15)^(Od>>>19|Od<<13)^Od>>>10;Od=this.temp[Nd-15];var Ld=(Od>>>7|Od<<25)^(Od>>>18|Od<<14)^Od>>>3;this.temp[Nd]=(kd+this.temp[Nd-7]|0)+(Ld+this.temp[Nd-16]|0)}var Gd=(((fd>>>6|fd<<26)^(fd>>>11|fd<<21)^(fd>>>25|fd<<7))+(fd&md^~fd&vd)|0)+(Ad+(KEY[Nd]+this.temp[Nd]|0)|0)|0,jd=((ld>>>2|ld<<30)^(ld>>>13|ld<<19)^(ld>>>22|ld<<10))+(ld&ud^ld&dd^ud&dd)|0;Ad=vd,vd=md,md=fd,fd=pd+Gd|0,pd=dd,dd=ud,ud=ld,ld=Gd+jd|0}od[0]+=ld,od[1]+=ud,od[2]+=dd,od[3]+=pd,od[4]+=fd,od[5]+=md,od[6]+=vd,od[7]+=Ad},Ra}(),Sha256$1=function(){function Ra(qa){this.secret=qa,this.hash=new RawSha256,this.reset()}return Ra.prototype.update=function(qa){if(!(isEmptyData$2(qa)||this.error))try{this.hash.update(convertToBuffer$2(qa))}catch(nd){this.error=nd}},Ra.prototype.digestSync=function(){if(this.error)throw this.error;return this.outer?(this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest()):this.hash.digest()},Ra.prototype.digest=function(){return __awaiter$8(this,void 0,void 0,function(){return __generator$8(this,function(qa){return[2,this.digestSync()]})})},Ra.prototype.reset=function(){if(this.hash=new RawSha256,this.secret){this.outer=new RawSha256;var qa=bufferFromSecret(this.secret),nd=new Uint8Array(BLOCK_SIZE$1);nd.set(qa);for(var od=0;od<BLOCK_SIZE$1;od++)qa[od]^=54,nd[od]^=92;this.hash.update(qa),this.outer.update(nd);for(var od=0;od<qa.byteLength;od++)qa[od]=0}},Ra}();function bufferFromSecret(Ra){var qa=convertToBuffer$2(Ra);if(qa.byteLength>BLOCK_SIZE$1){var nd=new RawSha256;nd.update(qa),qa=nd.digest()}var od=new Uint8Array(BLOCK_SIZE$1);return od.set(qa),od}var Sha256=function(){function Ra(qa){supportsWebCrypto(locateWindow())?this.hash=new Sha256$2(qa):this.hash=new Sha256$1(qa)}return Ra.prototype.update=function(qa,nd){this.hash.update(convertToBuffer$2(qa))},Ra.prototype.digest=function(){return this.hash.digest()},Ra.prototype.reset=function(){this.hash.reset()},Ra}();const BROWSER_ALIASES_MAP={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},BROWSER_MAP={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},PLATFORMS_MAP={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},OS_MAP={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},ENGINE_MAP={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"};class Utils{static getFirstMatch(qa,nd){const od=nd.match(qa);return od&&od.length>0&&od[1]||""}static getSecondMatch(qa,nd){const od=nd.match(qa);return od&&od.length>1&&od[2]||""}static matchAndReturnConst(qa,nd,od){if(qa.test(nd))return od}static getWindowsVersionName(qa){switch(qa){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}static getMacOSVersionName(qa){const nd=qa.split(".").splice(0,2).map(od=>parseInt(od,10)||0);if(nd.push(0),nd[0]===10)switch(nd[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}}static getAndroidVersionName(qa){const nd=qa.split(".").splice(0,2).map(od=>parseInt(od,10)||0);if(nd.push(0),!(nd[0]===1&&nd[1]<5)){if(nd[0]===1&&nd[1]<6)return"Cupcake";if(nd[0]===1&&nd[1]>=6)return"Donut";if(nd[0]===2&&nd[1]<2)return"Eclair";if(nd[0]===2&&nd[1]===2)return"Froyo";if(nd[0]===2&&nd[1]>2)return"Gingerbread";if(nd[0]===3)return"Honeycomb";if(nd[0]===4&&nd[1]<1)return"Ice Cream Sandwich";if(nd[0]===4&&nd[1]<4)return"Jelly Bean";if(nd[0]===4&&nd[1]>=4)return"KitKat";if(nd[0]===5)return"Lollipop";if(nd[0]===6)return"Marshmallow";if(nd[0]===7)return"Nougat";if(nd[0]===8)return"Oreo";if(nd[0]===9)return"Pie"}}static getVersionPrecision(qa){return qa.split(".").length}static compareVersions(qa,nd,od=!1){const ld=Utils.getVersionPrecision(qa),ud=Utils.getVersionPrecision(nd);let dd=Math.max(ld,ud),pd=0;const fd=Utils.map([qa,nd],md=>{const vd=dd-Utils.getVersionPrecision(md),Ad=md+new Array(vd+1).join(".0");return Utils.map(Ad.split("."),Nd=>new Array(20-Nd.length).join("0")+Nd).reverse()});for(od&&(pd=dd-Math.min(ld,ud)),dd-=1;dd>=pd;){if(fd[0][dd]>fd[1][dd])return 1;if(fd[0][dd]===fd[1][dd]){if(dd===pd)return 0;dd-=1}else if(fd[0][dd]<fd[1][dd])return-1}}static map(qa,nd){const od=[];let ld;if(Array.prototype.map)return Array.prototype.map.call(qa,nd);for(ld=0;ld<qa.length;ld+=1)od.push(nd(qa[ld]));return od}static find(qa,nd){let od,ld;if(Array.prototype.find)return Array.prototype.find.call(qa,nd);for(od=0,ld=qa.length;od<ld;od+=1){const ud=qa[od];if(nd(ud,od))return ud}}static assign(qa,...nd){const od=qa;let ld,ud;if(Object.assign)return Object.assign(qa,...nd);for(ld=0,ud=nd.length;ld<ud;ld+=1){const dd=nd[ld];typeof dd=="object"&&dd!==null&&Object.keys(dd).forEach(fd=>{od[fd]=dd[fd]})}return qa}static getBrowserAlias(qa){return BROWSER_ALIASES_MAP[qa]}static getBrowserTypeByAlias(qa){return BROWSER_MAP[qa]||""}}const commonVersionIdentifier=/version\/(\d+(\.?_?\d+)+)/i,browsersList=[{test:[/googlebot/i],describe(Ra){const qa={name:"Googlebot"},nd=Utils.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,Ra)||Utils.getFirstMatch(commonVersionIdentifier,Ra);return nd&&(qa.version=nd),qa}},{test:[/opera/i],describe(Ra){const qa={name:"Opera"},nd=Utils.getFirstMatch(commonVersionIdentifier,Ra)||Utils.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/opr\/|opios/i],describe(Ra){const qa={name:"Opera"},nd=Utils.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,Ra)||Utils.getFirstMatch(commonVersionIdentifier,Ra);return nd&&(qa.version=nd),qa}},{test:[/SamsungBrowser/i],describe(Ra){const qa={name:"Samsung Internet for Android"},nd=Utils.getFirstMatch(commonVersionIdentifier,Ra)||Utils.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/Whale/i],describe(Ra){const qa={name:"NAVER Whale Browser"},nd=Utils.getFirstMatch(commonVersionIdentifier,Ra)||Utils.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/MZBrowser/i],describe(Ra){const qa={name:"MZ Browser"},nd=Utils.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,Ra)||Utils.getFirstMatch(commonVersionIdentifier,Ra);return nd&&(qa.version=nd),qa}},{test:[/focus/i],describe(Ra){const qa={name:"Focus"},nd=Utils.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,Ra)||Utils.getFirstMatch(commonVersionIdentifier,Ra);return nd&&(qa.version=nd),qa}},{test:[/swing/i],describe(Ra){const qa={name:"Swing"},nd=Utils.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,Ra)||Utils.getFirstMatch(commonVersionIdentifier,Ra);return nd&&(qa.version=nd),qa}},{test:[/coast/i],describe(Ra){const qa={name:"Opera Coast"},nd=Utils.getFirstMatch(commonVersionIdentifier,Ra)||Utils.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe(Ra){const qa={name:"Opera Touch"},nd=Utils.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,Ra)||Utils.getFirstMatch(commonVersionIdentifier,Ra);return nd&&(qa.version=nd),qa}},{test:[/yabrowser/i],describe(Ra){const qa={name:"Yandex Browser"},nd=Utils.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,Ra)||Utils.getFirstMatch(commonVersionIdentifier,Ra);return nd&&(qa.version=nd),qa}},{test:[/ucbrowser/i],describe(Ra){const qa={name:"UC Browser"},nd=Utils.getFirstMatch(commonVersionIdentifier,Ra)||Utils.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/Maxthon|mxios/i],describe(Ra){const qa={name:"Maxthon"},nd=Utils.getFirstMatch(commonVersionIdentifier,Ra)||Utils.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/epiphany/i],describe(Ra){const qa={name:"Epiphany"},nd=Utils.getFirstMatch(commonVersionIdentifier,Ra)||Utils.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/puffin/i],describe(Ra){const qa={name:"Puffin"},nd=Utils.getFirstMatch(commonVersionIdentifier,Ra)||Utils.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/sleipnir/i],describe(Ra){const qa={name:"Sleipnir"},nd=Utils.getFirstMatch(commonVersionIdentifier,Ra)||Utils.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/k-meleon/i],describe(Ra){const qa={name:"K-Meleon"},nd=Utils.getFirstMatch(commonVersionIdentifier,Ra)||Utils.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/micromessenger/i],describe(Ra){const qa={name:"WeChat"},nd=Utils.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,Ra)||Utils.getFirstMatch(commonVersionIdentifier,Ra);return nd&&(qa.version=nd),qa}},{test:[/qqbrowser/i],describe(Ra){const qa={name:/qqbrowserlite/i.test(Ra)?"QQ Browser Lite":"QQ Browser"},nd=Utils.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,Ra)||Utils.getFirstMatch(commonVersionIdentifier,Ra);return nd&&(qa.version=nd),qa}},{test:[/msie|trident/i],describe(Ra){const qa={name:"Internet Explorer"},nd=Utils.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/\sedg\//i],describe(Ra){const qa={name:"Microsoft Edge"},nd=Utils.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/edg([ea]|ios)/i],describe(Ra){const qa={name:"Microsoft Edge"},nd=Utils.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/vivaldi/i],describe(Ra){const qa={name:"Vivaldi"},nd=Utils.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/seamonkey/i],describe(Ra){const qa={name:"SeaMonkey"},nd=Utils.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/sailfish/i],describe(Ra){const qa={name:"Sailfish"},nd=Utils.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/silk/i],describe(Ra){const qa={name:"Amazon Silk"},nd=Utils.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/phantom/i],describe(Ra){const qa={name:"PhantomJS"},nd=Utils.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/slimerjs/i],describe(Ra){const qa={name:"SlimerJS"},nd=Utils.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe(Ra){const qa={name:"BlackBerry"},nd=Utils.getFirstMatch(commonVersionIdentifier,Ra)||Utils.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/(web|hpw)[o0]s/i],describe(Ra){const qa={name:"WebOS Browser"},nd=Utils.getFirstMatch(commonVersionIdentifier,Ra)||Utils.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/bada/i],describe(Ra){const qa={name:"Bada"},nd=Utils.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/tizen/i],describe(Ra){const qa={name:"Tizen"},nd=Utils.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,Ra)||Utils.getFirstMatch(commonVersionIdentifier,Ra);return nd&&(qa.version=nd),qa}},{test:[/qupzilla/i],describe(Ra){const qa={name:"QupZilla"},nd=Utils.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,Ra)||Utils.getFirstMatch(commonVersionIdentifier,Ra);return nd&&(qa.version=nd),qa}},{test:[/firefox|iceweasel|fxios/i],describe(Ra){const qa={name:"Firefox"},nd=Utils.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/electron/i],describe(Ra){const qa={name:"Electron"},nd=Utils.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/MiuiBrowser/i],describe(Ra){const qa={name:"Miui"},nd=Utils.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/chromium/i],describe(Ra){const qa={name:"Chromium"},nd=Utils.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,Ra)||Utils.getFirstMatch(commonVersionIdentifier,Ra);return nd&&(qa.version=nd),qa}},{test:[/chrome|crios|crmo/i],describe(Ra){const qa={name:"Chrome"},nd=Utils.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/GSA/i],describe(Ra){const qa={name:"Google Search"},nd=Utils.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test(Ra){const qa=!Ra.test(/like android/i),nd=Ra.test(/android/i);return qa&&nd},describe(Ra){const qa={name:"Android Browser"},nd=Utils.getFirstMatch(commonVersionIdentifier,Ra);return nd&&(qa.version=nd),qa}},{test:[/playstation 4/i],describe(Ra){const qa={name:"PlayStation 4"},nd=Utils.getFirstMatch(commonVersionIdentifier,Ra);return nd&&(qa.version=nd),qa}},{test:[/safari|applewebkit/i],describe(Ra){const qa={name:"Safari"},nd=Utils.getFirstMatch(commonVersionIdentifier,Ra);return nd&&(qa.version=nd),qa}},{test:[/.*/i],describe(Ra){const qa=/^(.*)\/(.*) /,nd=/^(.*)\/(.*)[ \t]\((.*)/,ld=Ra.search("\\(")!==-1?nd:qa;return{name:Utils.getFirstMatch(ld,Ra),version:Utils.getSecondMatch(ld,Ra)}}}],osParsersList=[{test:[/Roku\/DVP/],describe(Ra){const qa=Utils.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,Ra);return{name:OS_MAP.Roku,version:qa}}},{test:[/windows phone/i],describe(Ra){const qa=Utils.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,Ra);return{name:OS_MAP.WindowsPhone,version:qa}}},{test:[/windows /i],describe(Ra){const qa=Utils.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,Ra),nd=Utils.getWindowsVersionName(qa);return{name:OS_MAP.Windows,version:qa,versionName:nd}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe(Ra){const qa={name:OS_MAP.iOS},nd=Utils.getSecondMatch(/(Version\/)(\d[\d.]+)/,Ra);return nd&&(qa.version=nd),qa}},{test:[/macintosh/i],describe(Ra){const qa=Utils.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,Ra).replace(/[_\s]/g,"."),nd=Utils.getMacOSVersionName(qa),od={name:OS_MAP.MacOS,version:qa};return nd&&(od.versionName=nd),od}},{test:[/(ipod|iphone|ipad)/i],describe(Ra){const qa=Utils.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,Ra).replace(/[_\s]/g,".");return{name:OS_MAP.iOS,version:qa}}},{test(Ra){const qa=!Ra.test(/like android/i),nd=Ra.test(/android/i);return qa&&nd},describe(Ra){const qa=Utils.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,Ra),nd=Utils.getAndroidVersionName(qa),od={name:OS_MAP.Android,version:qa};return nd&&(od.versionName=nd),od}},{test:[/(web|hpw)[o0]s/i],describe(Ra){const qa=Utils.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,Ra),nd={name:OS_MAP.WebOS};return qa&&qa.length&&(nd.version=qa),nd}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe(Ra){const qa=Utils.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,Ra)||Utils.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,Ra)||Utils.getFirstMatch(/\bbb(\d+)/i,Ra);return{name:OS_MAP.BlackBerry,version:qa}}},{test:[/bada/i],describe(Ra){const qa=Utils.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,Ra);return{name:OS_MAP.Bada,version:qa}}},{test:[/tizen/i],describe(Ra){const qa=Utils.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,Ra);return{name:OS_MAP.Tizen,version:qa}}},{test:[/linux/i],describe(){return{name:OS_MAP.Linux}}},{test:[/CrOS/],describe(){return{name:OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe(Ra){const qa=Utils.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,Ra);return{name:OS_MAP.PlayStation4,version:qa}}}],platformParsersList=[{test:[/googlebot/i],describe(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe(Ra){const qa=Utils.getFirstMatch(/(can-l01)/i,Ra)&&"Nova",nd={type:PLATFORMS_MAP.mobile,vendor:"Huawei"};return qa&&(nd.model=qa),nd}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe(){return{type:PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe(){return{type:PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe(){return{type:PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe(){return{type:PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe(){return{type:PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe(){return{type:PLATFORMS_MAP.tablet}}},{test(Ra){const qa=Ra.test(/ipod|iphone/i),nd=Ra.test(/like (ipod|iphone)/i);return qa&&!nd},describe(Ra){const qa=Utils.getFirstMatch(/(ipod|iphone)/i,Ra);return{type:PLATFORMS_MAP.mobile,vendor:"Apple",model:qa}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe(){return{type:PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe(){return{type:PLATFORMS_MAP.mobile}}},{test(Ra){return Ra.getBrowserName(!0)==="blackberry"},describe(){return{type:PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test(Ra){return Ra.getBrowserName(!0)==="bada"},describe(){return{type:PLATFORMS_MAP.mobile}}},{test(Ra){return Ra.getBrowserName()==="windows phone"},describe(){return{type:PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test(Ra){const qa=Number(String(Ra.getOSVersion()).split(".")[0]);return Ra.getOSName(!0)==="android"&&qa>=3},describe(){return{type:PLATFORMS_MAP.tablet}}},{test(Ra){return Ra.getOSName(!0)==="android"},describe(){return{type:PLATFORMS_MAP.mobile}}},{test(Ra){return Ra.getOSName(!0)==="macos"},describe(){return{type:PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test(Ra){return Ra.getOSName(!0)==="windows"},describe(){return{type:PLATFORMS_MAP.desktop}}},{test(Ra){return Ra.getOSName(!0)==="linux"},describe(){return{type:PLATFORMS_MAP.desktop}}},{test(Ra){return Ra.getOSName(!0)==="playstation 4"},describe(){return{type:PLATFORMS_MAP.tv}}},{test(Ra){return Ra.getOSName(!0)==="roku"},describe(){return{type:PLATFORMS_MAP.tv}}}],enginesParsersList=[{test(Ra){return Ra.getBrowserName(!0)==="microsoft edge"},describe(Ra){if(/\sedg\//i.test(Ra))return{name:ENGINE_MAP.Blink};const nd=Utils.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,Ra);return{name:ENGINE_MAP.EdgeHTML,version:nd}}},{test:[/trident/i],describe(Ra){const qa={name:ENGINE_MAP.Trident},nd=Utils.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test(Ra){return Ra.test(/presto/i)},describe(Ra){const qa={name:ENGINE_MAP.Presto},nd=Utils.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test(Ra){const qa=Ra.test(/gecko/i),nd=Ra.test(/like gecko/i);return qa&&!nd},describe(Ra){const qa={name:ENGINE_MAP.Gecko},nd=Utils.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/(apple)?webkit\/537\.36/i],describe(){return{name:ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe(Ra){const qa={name:ENGINE_MAP.WebKit},nd=Utils.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}}];class Parser{constructor(qa,nd=!1){if(qa==null||qa==="")throw new Error("UserAgent parameter can't be empty");this._ua=qa,this.parsedResult={},nd!==!0&&this.parse()}getUA(){return this._ua}test(qa){return qa.test(this._ua)}parseBrowser(){this.parsedResult.browser={};const qa=Utils.find(browsersList,nd=>{if(typeof nd.test=="function")return nd.test(this);if(nd.test instanceof Array)return nd.test.some(od=>this.test(od));throw new Error("Browser's test function is not valid")});return qa&&(this.parsedResult.browser=qa.describe(this.getUA())),this.parsedResult.browser}getBrowser(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()}getBrowserName(qa){return qa?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""}getBrowserVersion(){return this.getBrowser().version}getOS(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()}parseOS(){this.parsedResult.os={};const qa=Utils.find(osParsersList,nd=>{if(typeof nd.test=="function")return nd.test(this);if(nd.test instanceof Array)return nd.test.some(od=>this.test(od));throw new Error("Browser's test function is not valid")});return qa&&(this.parsedResult.os=qa.describe(this.getUA())),this.parsedResult.os}getOSName(qa){const{name:nd}=this.getOS();return qa?String(nd).toLowerCase()||"":nd||""}getOSVersion(){return this.getOS().version}getPlatform(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()}getPlatformType(qa=!1){const{type:nd}=this.getPlatform();return qa?String(nd).toLowerCase()||"":nd||""}parsePlatform(){this.parsedResult.platform={};const qa=Utils.find(platformParsersList,nd=>{if(typeof nd.test=="function")return nd.test(this);if(nd.test instanceof Array)return nd.test.some(od=>this.test(od));throw new Error("Browser's test function is not valid")});return qa&&(this.parsedResult.platform=qa.describe(this.getUA())),this.parsedResult.platform}getEngine(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()}getEngineName(qa){return qa?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""}parseEngine(){this.parsedResult.engine={};const qa=Utils.find(enginesParsersList,nd=>{if(typeof nd.test=="function")return nd.test(this);if(nd.test instanceof Array)return nd.test.some(od=>this.test(od));throw new Error("Browser's test function is not valid")});return qa&&(this.parsedResult.engine=qa.describe(this.getUA())),this.parsedResult.engine}parse(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this}getResult(){return Utils.assign({},this.parsedResult)}satisfies(qa){const nd={};let od=0;const ld={};let ud=0;if(Object.keys(qa).forEach(pd=>{const fd=qa[pd];typeof fd=="string"?(ld[pd]=fd,ud+=1):typeof fd=="object"&&(nd[pd]=fd,od+=1)}),od>0){const pd=Object.keys(nd),fd=Utils.find(pd,vd=>this.isOS(vd));if(fd){const vd=this.satisfies(nd[fd]);if(vd!==void 0)return vd}const md=Utils.find(pd,vd=>this.isPlatform(vd));if(md){const vd=this.satisfies(nd[md]);if(vd!==void 0)return vd}}if(ud>0){const pd=Object.keys(ld),fd=Utils.find(pd,md=>this.isBrowser(md,!0));if(fd!==void 0)return this.compareVersion(ld[fd])}}isBrowser(qa,nd=!1){const od=this.getBrowserName().toLowerCase();let ld=qa.toLowerCase();const ud=Utils.getBrowserTypeByAlias(ld);return nd&&ud&&(ld=ud.toLowerCase()),ld===od}compareVersion(qa){let nd=[0],od=qa,ld=!1;const ud=this.getBrowserVersion();if(typeof ud=="string")return qa[0]===">"||qa[0]==="<"?(od=qa.substr(1),qa[1]==="="?(ld=!0,od=qa.substr(2)):nd=[],qa[0]===">"?nd.push(1):nd.push(-1)):qa[0]==="="?od=qa.substr(1):qa[0]==="~"&&(ld=!0,od=qa.substr(1)),nd.indexOf(Utils.compareVersions(ud,od,ld))>-1}isOS(qa){return this.getOSName(!0)===String(qa).toLowerCase()}isPlatform(qa){return this.getPlatformType(!0)===String(qa).toLowerCase()}isEngine(qa){return this.getEngineName(!0)===String(qa).toLowerCase()}is(qa,nd=!1){return this.isBrowser(qa,nd)||this.isOS(qa)||this.isPlatform(qa)}some(qa=[]){return qa.some(nd=>this.is(nd))}}/*!
* Bowser - a browser detector
* https://github.com/lancedikson/bowser
* MIT License | (c) Dustin Diaz 2012-2015
* MIT License | (c) Denis Demchenko 2015-2019
*/class Bowser{static getParser(qa,nd=!1){if(typeof qa!="string")throw new Error("UserAgent should be a string");return new Parser(qa,nd)}static parse(qa){return new Parser(qa).getResult()}static get BROWSER_MAP(){return BROWSER_MAP}static get ENGINE_MAP(){return ENGINE_MAP}static get OS_MAP(){return OS_MAP}static get PLATFORMS_MAP(){return PLATFORMS_MAP}}const createDefaultUserAgentProvider=({serviceId:Ra,clientVersion:qa})=>async nd=>{var dd,pd,fd,md,vd,Ad;const od=typeof window<"u"&&((dd=window==null?void 0:window.navigator)!=null&&dd.userAgent)?Bowser.parse(window.navigator.userAgent):void 0,ld=[["aws-sdk-js",qa],["ua","2.1"],[`os/${((pd=od==null?void 0:od.os)==null?void 0:pd.name)||"other"}`,(fd=od==null?void 0:od.os)==null?void 0:fd.version],["lang/js"],["md/browser",`${((md=od==null?void 0:od.browser)==null?void 0:md.name)??"unknown"}_${((vd=od==null?void 0:od.browser)==null?void 0:vd.version)??"unknown"}`]];Ra&&ld.push([`api/${Ra}`,qa]);const ud=await((Ad=nd==null?void 0:nd.userAgentAppId)==null?void 0:Ad.call(nd));return ud&&ld.push([`app/${ud}`]),ld};class Int64{constructor(qa){if(this.bytes=qa,qa.byteLength!==8)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(qa){if(qa>9223372036854776e3||qa<-9223372036854776e3)throw new Error(`${qa} is too large (or, if negative, too small) to represent as an Int64`);const nd=new Uint8Array(8);for(let od=7,ld=Math.abs(Math.round(qa));od>-1&&ld>0;od--,ld/=256)nd[od]=ld;return qa<0&&negate(nd),new Int64(nd)}valueOf(){const qa=this.bytes.slice(0),nd=qa[0]&128;return nd&&negate(qa),parseInt(toHex(qa),16)*(nd?-1:1)}toString(){return String(this.valueOf())}}function negate(Ra){for(let qa=0;qa<8;qa++)Ra[qa]^=255;for(let qa=7;qa>-1&&(Ra[qa]++,Ra[qa]===0);qa--);}class HeaderMarshaller{constructor(qa,nd){this.toUtf8=qa,this.fromUtf8=nd}format(qa){const nd=[];for(const ud of Object.keys(qa)){const dd=this.fromUtf8(ud);nd.push(Uint8Array.from([dd.byteLength]),dd,this.formatHeaderValue(qa[ud]))}const od=new Uint8Array(nd.reduce((ud,dd)=>ud+dd.byteLength,0));let ld=0;for(const ud of nd)od.set(ud,ld),ld+=ud.byteLength;return od}formatHeaderValue(qa){switch(qa.type){case"boolean":return Uint8Array.from([qa.value?0:1]);case"byte":return Uint8Array.from([2,qa.value]);case"short":const nd=new DataView(new ArrayBuffer(3));return nd.setUint8(0,3),nd.setInt16(1,qa.value,!1),new Uint8Array(nd.buffer);case"integer":const od=new DataView(new ArrayBuffer(5));return od.setUint8(0,4),od.setInt32(1,qa.value,!1),new Uint8Array(od.buffer);case"long":const ld=new Uint8Array(9);return ld[0]=5,ld.set(qa.value.bytes,1),ld;case"binary":const ud=new DataView(new ArrayBuffer(3+qa.value.byteLength));ud.setUint8(0,6),ud.setUint16(1,qa.value.byteLength,!1);const dd=new Uint8Array(ud.buffer);return dd.set(qa.value,3),dd;case"string":const pd=this.fromUtf8(qa.value),fd=new DataView(new ArrayBuffer(3+pd.byteLength));fd.setUint8(0,7),fd.setUint16(1,pd.byteLength,!1);const md=new Uint8Array(fd.buffer);return md.set(pd,3),md;case"timestamp":const vd=new Uint8Array(9);return vd[0]=8,vd.set(Int64.fromNumber(qa.value.valueOf()).bytes,1),vd;case"uuid":if(!UUID_PATTERN.test(qa.value))throw new Error(`Invalid UUID received: ${qa.value}`);const Ad=new Uint8Array(17);return Ad[0]=9,Ad.set(fromHex(qa.value.replace(/\-/g,"")),1),Ad}}parse(qa){const nd={};let od=0;for(;od<qa.byteLength;){const ld=qa.getUint8(od++),ud=this.toUtf8(new Uint8Array(qa.buffer,qa.byteOffset+od,ld));switch(od+=ld,qa.getUint8(od++)){case 0:nd[ud]={type:BOOLEAN_TAG,value:!0};break;case 1:nd[ud]={type:BOOLEAN_TAG,value:!1};break;case 2:nd[ud]={type:BYTE_TAG,value:qa.getInt8(od++)};break;case 3:nd[ud]={type:SHORT_TAG,value:qa.getInt16(od,!1)},od+=2;break;case 4:nd[ud]={type:INT_TAG,value:qa.getInt32(od,!1)},od+=4;break;case 5:nd[ud]={type:LONG_TAG,value:new Int64(new Uint8Array(qa.buffer,qa.byteOffset+od,8))},od+=8;break;case 6:const dd=qa.getUint16(od,!1);od+=2,nd[ud]={type:BINARY_TAG,value:new Uint8Array(qa.buffer,qa.byteOffset+od,dd)},od+=dd;break;case 7:const pd=qa.getUint16(od,!1);od+=2,nd[ud]={type:STRING_TAG,value:this.toUtf8(new Uint8Array(qa.buffer,qa.byteOffset+od,pd))},od+=pd;break;case 8:nd[ud]={type:TIMESTAMP_TAG,value:new Date(new Int64(new Uint8Array(qa.buffer,qa.byteOffset+od,8)).valueOf())},od+=8;break;case 9:const fd=new Uint8Array(qa.buffer,qa.byteOffset+od,16);od+=16,nd[ud]={type:UUID_TAG,value:`${toHex(fd.subarray(0,4))}-${toHex(fd.subarray(4,6))}-${toHex(fd.subarray(6,8))}-${toHex(fd.subarray(8,10))}-${toHex(fd.subarray(10))}`};break;default:throw new Error("Unrecognized header type tag")}}return nd}}var HEADER_VALUE_TYPE;(function(Ra){Ra[Ra.boolTrue=0]="boolTrue",Ra[Ra.boolFalse=1]="boolFalse",Ra[Ra.byte=2]="byte",Ra[Ra.short=3]="short",Ra[Ra.integer=4]="integer",Ra[Ra.long=5]="long",Ra[Ra.byteArray=6]="byteArray",Ra[Ra.string=7]="string",Ra[Ra.timestamp=8]="timestamp",Ra[Ra.uuid=9]="uuid"})(HEADER_VALUE_TYPE||(HEADER_VALUE_TYPE={}));const BOOLEAN_TAG="boolean",BYTE_TAG="byte",SHORT_TAG="short",INT_TAG="integer",LONG_TAG="long",BINARY_TAG="binary",STRING_TAG="string",TIMESTAMP_TAG="timestamp",UUID_TAG="uuid",UUID_PATTERN=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/,PRELUDE_MEMBER_LENGTH=4,PRELUDE_LENGTH=PRELUDE_MEMBER_LENGTH*2,CHECKSUM_LENGTH=4,MINIMUM_MESSAGE_LENGTH=PRELUDE_LENGTH+CHECKSUM_LENGTH*2;function splitMessage({byteLength:Ra,byteOffset:qa,buffer:nd}){if(Ra<MINIMUM_MESSAGE_LENGTH)throw new Error("Provided message too short to accommodate event stream message overhead");const od=new DataView(nd,qa,Ra),ld=od.getUint32(0,!1);if(Ra!==ld)throw new Error("Reported message length does not match received message length");const ud=od.getUint32(PRELUDE_MEMBER_LENGTH,!1),dd=od.getUint32(PRELUDE_LENGTH,!1),pd=od.getUint32(Ra-CHECKSUM_LENGTH,!1),fd=new Crc32().update(new Uint8Array(nd,qa,PRELUDE_LENGTH));if(dd!==fd.digest())throw new Error(`The prelude checksum specified in the message (${dd}) does not match the calculated CRC32 checksum (${fd.digest()})`);if(fd.update(new Uint8Array(nd,qa+PRELUDE_LENGTH,Ra-(PRELUDE_LENGTH+CHECKSUM_LENGTH))),pd!==fd.digest())throw new Error(`The message checksum (${fd.digest()}) did not match the expected value of ${pd}`);return{headers:new DataView(nd,qa+PRELUDE_LENGTH+CHECKSUM_LENGTH,ud),body:new Uint8Array(nd,qa+PRELUDE_LENGTH+CHECKSUM_LENGTH+ud,ld-ud-(PRELUDE_LENGTH+CHECKSUM_LENGTH+CHECKSUM_LENGTH))}}class EventStreamCodec{constructor(qa,nd){this.headerMarshaller=new HeaderMarshaller(qa,nd),this.messageBuffer=[],this.isEndOfStream=!1}feed(qa){this.messageBuffer.push(this.decode(qa))}endOfStream(){this.isEndOfStream=!0}getMessage(){const qa=this.messageBuffer.pop(),nd=this.isEndOfStream;return{getMessage(){return qa},isEndOfStream(){return nd}}}getAvailableMessages(){const qa=this.messageBuffer;this.messageBuffer=[];const nd=this.isEndOfStream;return{getMessages(){return qa},isEndOfStream(){return nd}}}encode({headers:qa,body:nd}){const od=this.headerMarshaller.format(qa),ld=od.byteLength+nd.byteLength+16,ud=new Uint8Array(ld),dd=new DataView(ud.buffer,ud.byteOffset,ud.byteLength),pd=new Crc32;return dd.setUint32(0,ld,!1),dd.setUint32(4,od.byteLength,!1),dd.setUint32(8,pd.update(ud.subarray(0,8)).digest(),!1),ud.set(od,12),ud.set(nd,od.byteLength+12),dd.setUint32(ld-4,pd.update(ud.subarray(8,ld-4)).digest(),!1),ud}decode(qa){const{headers:nd,body:od}=splitMessage(qa);return{headers:this.headerMarshaller.parse(nd),body:od}}formatHeaders(qa){return this.headerMarshaller.format(qa)}}class MessageDecoderStream{constructor(qa){this.options=qa}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(const qa of this.options.inputStream)yield this.options.decoder.decode(qa)}}class MessageEncoderStream{constructor(qa){this.options=qa}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(const qa of this.options.messageStream)yield this.options.encoder.encode(qa);this.options.includeEndFrame&&(yield new Uint8Array(0))}}class SmithyMessageDecoderStream{constructor(qa){this.options=qa}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(const qa of this.options.messageStream){const nd=await this.options.deserializer(qa);nd!==void 0&&(yield nd)}}}class SmithyMessageEncoderStream{constructor(qa){this.options=qa}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(const qa of this.options.inputStream)yield this.options.serializer(qa)}}function getChunkedStream(Ra){let qa=0,nd=0,od=null,ld=null;const ud=pd=>{if(typeof pd!="number")throw new Error("Attempted to allocate an event message where size was not a number: "+pd);qa=pd,nd=4,od=new Uint8Array(pd),new DataView(od.buffer).setUint32(0,pd,!1)},dd=async function*(){const pd=Ra[Symbol.asyncIterator]();for(;;){const{value:fd,done:md}=await pd.next();if(md){if(qa)if(qa===nd)yield od;else throw new Error("Truncated event message received.");else return;return}const vd=fd.length;let Ad=0;for(;Ad<vd;){if(!od){const Od=vd-Ad;ld||(ld=new Uint8Array(4));const kd=Math.min(4-nd,Od);if(ld.set(fd.slice(Ad,Ad+kd),nd),nd+=kd,Ad+=kd,nd<4)break;ud(new DataView(ld.buffer).getUint32(0,!1)),ld=null}const Nd=Math.min(qa-nd,vd-Ad);od.set(fd.slice(Ad,Ad+Nd),nd),nd+=Nd,Ad+=Nd,qa&&qa===nd&&(yield od,od=null,qa=0,nd=0)}}};return{[Symbol.asyncIterator]:dd}}function getMessageUnmarshaller(Ra,qa){return async function(nd){const{value:od}=nd.headers[":message-type"];if(od==="error"){const ld=new Error(nd.headers[":error-message"].value||"UnknownError");throw ld.name=nd.headers[":error-code"].value,ld}else if(od==="exception"){const ld=nd.headers[":exception-type"].value,ud={[ld]:nd},dd=await Ra(ud);if(dd.$unknown){const pd=new Error(qa(nd.body));throw pd.name=ld,pd}throw dd[ld]}else if(od==="event"){const ld={[nd.headers[":event-type"].value]:nd},ud=await Ra(ld);return ud.$unknown?void 0:ud}else throw Error(`Unrecognizable event type: ${nd.headers[":event-type"].value}`)}}let EventStreamMarshaller$1=class{constructor({utf8Encoder:qa,utf8Decoder:nd}){this.eventStreamCodec=new EventStreamCodec(qa,nd),this.utfEncoder=qa}deserialize(qa,nd){const od=getChunkedStream(qa);return new SmithyMessageDecoderStream({messageStream:new MessageDecoderStream({inputStream:od,decoder:this.eventStreamCodec}),deserializer:getMessageUnmarshaller(nd,this.utfEncoder)})}serialize(qa,nd){return new MessageEncoderStream({messageStream:new SmithyMessageEncoderStream({inputStream:qa,serializer:nd}),encoder:this.eventStreamCodec,includeEndFrame:!0})}};const readableStreamtoIterable=Ra=>({[Symbol.asyncIterator]:async function*(){const qa=Ra.getReader();try{for(;;){const{done:nd,value:od}=await qa.read();if(nd)return;yield od}}finally{qa.releaseLock()}}}),iterableToReadableStream=Ra=>{const qa=Ra[Symbol.asyncIterator]();return new ReadableStream({async pull(nd){const{done:od,value:ld}=await qa.next();if(od)return nd.close();nd.enqueue(ld)}})};class EventStreamMarshaller{constructor({utf8Encoder:qa,utf8Decoder:nd}){this.universalMarshaller=new EventStreamMarshaller$1({utf8Decoder:nd,utf8Encoder:qa})}deserialize(qa,nd){const od=isReadableStream$1(qa)?readableStreamtoIterable(qa):qa;return this.universalMarshaller.deserialize(od,nd)}serialize(qa,nd){const od=this.universalMarshaller.serialize(qa,nd);return typeof ReadableStream=="function"?iterableToReadableStream(od):od}}const isReadableStream$1=Ra=>typeof ReadableStream=="function"&&Ra instanceof ReadableStream,eventStreamSerdeProvider=Ra=>new EventStreamMarshaller(Ra);async function blobReader(Ra,qa,nd=1024*1024){const od=Ra.size;let ld=0;for(;ld<od;){const ud=Ra.slice(ld,Math.min(od,ld+nd));qa(new Uint8Array(await ud.arrayBuffer())),ld+=ud.size}}const blobHasher=async function(qa,nd){const od=new qa;return await blobReader(nd,ld=>{od.update(ld)}),od.digest()},invalidProvider=Ra=>()=>Promise.reject(Ra),BLOCK_SIZE=64,DIGEST_LENGTH=16,INIT=[1732584193,4023233417,2562383102,271733878];class Md5{constructor(){this.reset()}update(qa){if(isEmptyData(qa))return;if(this.finished)throw new Error("Attempted to update an already finished hash.");const nd=convertToBuffer(qa);let od=0,{byteLength:ld}=nd;for(this.bytesHashed+=ld;ld>0;)this.buffer.setUint8(this.bufferLength++,nd[od++]),ld--,this.bufferLength===BLOCK_SIZE&&(this.hashBuffer(),this.bufferLength=0)}async digest(){if(!this.finished){const{buffer:nd,bufferLength:od,bytesHashed:ld}=this,ud=ld*8;if(nd.setUint8(this.bufferLength++,128),od%BLOCK_SIZE>=BLOCK_SIZE-8){for(let dd=this.bufferLength;dd<BLOCK_SIZE;dd++)nd.setUint8(dd,0);this.hashBuffer(),this.bufferLength=0}for(let dd=this.bufferLength;dd<BLOCK_SIZE-8;dd++)nd.setUint8(dd,0);nd.setUint32(BLOCK_SIZE-8,ud>>>0,!0),nd.setUint32(BLOCK_SIZE-4,Math.floor(ud/4294967296),!0),this.hashBuffer(),this.finished=!0}const qa=new DataView(new ArrayBuffer(DIGEST_LENGTH));for(let nd=0;nd<4;nd++)qa.setUint32(nd*4,this.state[nd],!0);return new Uint8Array(qa.buffer,qa.byteOffset,qa.byteLength)}hashBuffer(){const{buffer:qa,state:nd}=this;let od=nd[0],ld=nd[1],ud=nd[2],dd=nd[3];od=ff(od,ld,ud,dd,qa.getUint32(0,!0),7,3614090360),dd=ff(dd,od,ld,ud,qa.getUint32(4,!0),12,3905402710),ud=ff(ud,dd,od,ld,qa.getUint32(8,!0),17,606105819),ld=ff(ld,ud,dd,od,qa.getUint32(12,!0),22,3250441966),od=ff(od,ld,ud,dd,qa.getUint32(16,!0),7,4118548399),dd=ff(dd,od,ld,ud,qa.getUint32(20,!0),12,1200080426),ud=ff(ud,dd,od,ld,qa.getUint32(24,!0),17,2821735955),ld=ff(ld,ud,dd,od,qa.getUint32(28,!0),22,4249261313),od=ff(od,ld,ud,dd,qa.getUint32(32,!0),7,1770035416),dd=ff(dd,od,ld,ud,qa.getUint32(36,!0),12,2336552879),ud=ff(ud,dd,od,ld,qa.getUint32(40,!0),17,4294925233),ld=ff(ld,ud,dd,od,qa.getUint32(44,!0),22,2304563134),od=ff(od,ld,ud,dd,qa.getUint32(48,!0),7,1804603682),dd=ff(dd,od,ld,ud,qa.getUint32(52,!0),12,4254626195),ud=ff(ud,dd,od,ld,qa.getUint32(56,!0),17,2792965006),ld=ff(ld,ud,dd,od,qa.getUint32(60,!0),22,1236535329),od=gg(od,ld,ud,dd,qa.getUint32(4,!0),5,4129170786),dd=gg(dd,od,ld,ud,qa.getUint32(24,!0),9,3225465664),ud=gg(ud,dd,od,ld,qa.getUint32(44,!0),14,643717713),ld=gg(ld,ud,dd,od,qa.getUint32(0,!0),20,3921069994),od=gg(od,ld,ud,dd,qa.getUint32(20,!0),5,3593408605),dd=gg(dd,od,ld,ud,qa.getUint32(40,!0),9,38016083),ud=gg(ud,dd,od,ld,qa.getUint32(60,!0),14,3634488961),ld=gg(ld,ud,dd,od,qa.getUint32(16,!0),20,3889429448),od=gg(od,ld,ud,dd,qa.getUint32(36,!0),5,568446438),dd=gg(dd,od,ld,ud,qa.getUint32(56,!0),9,3275163606),ud=gg(ud,dd,od,ld,qa.getUint32(12,!0),14,4107603335),ld=gg(ld,ud,dd,od,qa.getUint32(32,!0),20,1163531501),od=gg(od,ld,ud,dd,qa.getUint32(52,!0),5,2850285829),dd=gg(dd,od,ld,ud,qa.getUint32(8,!0),9,4243563512),ud=gg(ud,dd,od,ld,qa.getUint32(28,!0),14,1735328473),ld=gg(ld,ud,dd,od,qa.getUint32(48,!0),20,2368359562),od=hh(od,ld,ud,dd,qa.getUint32(20,!0),4,4294588738),dd=hh(dd,od,ld,ud,qa.getUint32(32,!0),11,2272392833),ud=hh(ud,dd,od,ld,qa.getUint32(44,!0),16,1839030562),ld=hh(ld,ud,dd,od,qa.getUint32(56,!0),23,4259657740),od=hh(od,ld,ud,dd,qa.getUint32(4,!0),4,2763975236),dd=hh(dd,od,ld,ud,qa.getUint32(16,!0),11,1272893353),ud=hh(ud,dd,od,ld,qa.getUint32(28,!0),16,4139469664),ld=hh(ld,ud,dd,od,qa.getUint32(40,!0),23,3200236656),od=hh(od,ld,ud,dd,qa.getUint32(52,!0),4,681279174),dd=hh(dd,od,ld,ud,qa.getUint32(0,!0),11,3936430074),ud=hh(ud,dd,od,ld,qa.getUint32(12,!0),16,3572445317),ld=hh(ld,ud,dd,od,qa.getUint32(24,!0),23,76029189),od=hh(od,ld,ud,dd,qa.getUint32(36,!0),4,3654602809),dd=hh(dd,od,ld,ud,qa.getUint32(48,!0),11,3873151461),ud=hh(ud,dd,od,ld,qa.getUint32(60,!0),16,530742520),ld=hh(ld,ud,dd,od,qa.getUint32(8,!0),23,3299628645),od=ii(od,ld,ud,dd,qa.getUint32(0,!0),6,4096336452),dd=ii(dd,od,ld,ud,qa.getUint32(28,!0),10,1126891415),ud=ii(ud,dd,od,ld,qa.getUint32(56,!0),15,2878612391),ld=ii(ld,ud,dd,od,qa.getUint32(20,!0),21,4237533241),od=ii(od,ld,ud,dd,qa.getUint32(48,!0),6,1700485571),dd=ii(dd,od,ld,ud,qa.getUint32(12,!0),10,2399980690),ud=ii(ud,dd,od,ld,qa.getUint32(40,!0),15,4293915773),ld=ii(ld,ud,dd,od,qa.getUint32(4,!0),21,2240044497),od=ii(od,ld,ud,dd,qa.getUint32(32,!0),6,1873313359),dd=ii(dd,od,ld,ud,qa.getUint32(60,!0),10,4264355552),ud=ii(ud,dd,od,ld,qa.getUint32(24,!0),15,2734768916),ld=ii(ld,ud,dd,od,qa.getUint32(52,!0),21,1309151649),od=ii(od,ld,ud,dd,qa.getUint32(16,!0),6,4149444226),dd=ii(dd,od,ld,ud,qa.getUint32(44,!0),10,3174756917),ud=ii(ud,dd,od,ld,qa.getUint32(8,!0),15,718787259),ld=ii(ld,ud,dd,od,qa.getUint32(36,!0),21,3951481745),nd[0]=od+nd[0]&4294967295,nd[1]=ld+nd[1]&4294967295,nd[2]=ud+nd[2]&4294967295,nd[3]=dd+nd[3]&4294967295}reset(){this.state=Uint32Array.from(INIT),this.buffer=new DataView(new ArrayBuffer(BLOCK_SIZE)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}}function cmn(Ra,qa,nd,od,ld,ud){return qa=(qa+Ra&4294967295)+(od+ud&4294967295)&4294967295,(qa<<ld|qa>>>32-ld)+nd&4294967295}function ff(Ra,qa,nd,od,ld,ud,dd){return cmn(qa&nd|~qa&od,Ra,qa,ld,ud,dd)}function gg(Ra,qa,nd,od,ld,ud,dd){return cmn(qa&od|nd&~od,Ra,qa,ld,ud,dd)}function hh(Ra,qa,nd,od,ld,ud,dd){return cmn(qa^nd^od,Ra,qa,ld,ud,dd)}function ii(Ra,qa,nd,od,ld,ud,dd){return cmn(nd^(qa|~od),Ra,qa,ld,ud,dd)}function isEmptyData(Ra){return typeof Ra=="string"?Ra.length===0:Ra.byteLength===0}function convertToBuffer(Ra){return typeof Ra=="string"?fromUtf8$3(Ra):ArrayBuffer.isView(Ra)?new Uint8Array(Ra.buffer,Ra.byteOffset,Ra.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(Ra)}const TEXT_ENCODER=typeof TextEncoder=="function"?new TextEncoder:null,calculateBodyLength=Ra=>{if(typeof Ra=="string"){if(TEXT_ENCODER)return TEXT_ENCODER.encode(Ra).byteLength;let qa=Ra.length;for(let nd=qa-1;nd>=0;nd--){const od=Ra.charCodeAt(nd);od>127&&od<=2047?qa++:od>2047&&od<=65535&&(qa+=2),od>=56320&&od<=57343&&nd--}return qa}else{if(typeof Ra.byteLength=="number")return Ra.byteLength;if(typeof Ra.size=="number")return Ra.size}throw new Error(`Body Length computation failed for ${Ra}`)},getRuntimeConfig$1=Ra=>({apiVersion:"2006-03-01",base64Decoder:(Ra==null?void 0:Ra.base64Decoder)??fromBase64,base64Encoder:(Ra==null?void 0:Ra.base64Encoder)??toBase64,disableHostPrefix:(Ra==null?void 0:Ra.disableHostPrefix)??!1,endpointProvider:(Ra==null?void 0:Ra.endpointProvider)??defaultEndpointResolver,extensions:(Ra==null?void 0:Ra.extensions)??[],getAwsChunkedEncodingStream:(Ra==null?void 0:Ra.getAwsChunkedEncodingStream)??getAwsChunkedEncodingStream,httpAuthSchemeProvider:(Ra==null?void 0:Ra.httpAuthSchemeProvider)??defaultS3HttpAuthSchemeProvider,httpAuthSchemes:(Ra==null?void 0:Ra.httpAuthSchemes)??[{schemeId:"aws.auth#sigv4",identityProvider:qa=>qa.getIdentityProvider("aws.auth#sigv4"),signer:new AwsSdkSigV4Signer},{schemeId:"aws.auth#sigv4a",identityProvider:qa=>qa.getIdentityProvider("aws.auth#sigv4a"),signer:new AwsSdkSigV4ASigner}],logger:(Ra==null?void 0:Ra.logger)??new NoOpLogger,sdkStreamMixin:(Ra==null?void 0:Ra.sdkStreamMixin)??sdkStreamMixin,serviceId:(Ra==null?void 0:Ra.serviceId)??"S3",signerConstructor:(Ra==null?void 0:Ra.signerConstructor)??SignatureV4MultiRegion,signingEscapePath:(Ra==null?void 0:Ra.signingEscapePath)??!1,urlParser:(Ra==null?void 0:Ra.urlParser)??parseUrl,useArnRegion:(Ra==null?void 0:Ra.useArnRegion)??!1,utf8Decoder:(Ra==null?void 0:Ra.utf8Decoder)??fromUtf8$3,utf8Encoder:(Ra==null?void 0:Ra.utf8Encoder)??toUtf8}),DEFAULTS_MODE_OPTIONS=["in-region","cross-region","mobile","standard","legacy"],resolveDefaultsModeConfig=({defaultsMode:Ra}={})=>memoize$1(async()=>{const qa=typeof Ra=="function"?await Ra():Ra;switch(qa==null?void 0:qa.toLowerCase()){case"auto":return Promise.resolve(isMobileBrowser()?"mobile":"standard");case"mobile":case"in-region":case"cross-region":case"standard":case"legacy":return Promise.resolve(qa==null?void 0:qa.toLocaleLowerCase());case void 0:return Promise.resolve("legacy");default:throw new Error(`Invalid parameter for "defaultsMode", expect ${DEFAULTS_MODE_OPTIONS.join(", ")}, got ${qa}`)}}),isMobileBrowser=()=>{var nd,od;const Ra=typeof window<"u"&&((nd=window==null?void 0:window.navigator)!=null&&nd.userAgent)?Bowser.parse(window.navigator.userAgent):void 0,qa=(od=Ra==null?void 0:Ra.platform)==null?void 0:od.type;return qa==="tablet"||qa==="mobile"},getRuntimeConfig=Ra=>{const qa=resolveDefaultsModeConfig(Ra),nd=()=>qa().then(loadConfigsForDefaultMode),od=getRuntimeConfig$1(Ra);return{...od,...Ra,runtime:"browser",defaultsMode:qa,bodyLengthChecker:(Ra==null?void 0:Ra.bodyLengthChecker)??calculateBodyLength,credentialDefaultProvider:(Ra==null?void 0:Ra.credentialDefaultProvider)??(ld=>()=>Promise.reject(new Error("Credential is missing"))),defaultUserAgentProvider:(Ra==null?void 0:Ra.defaultUserAgentProvider)??createDefaultUserAgentProvider({serviceId:od.serviceId,clientVersion:packageInfo.version}),eventStreamSerdeProvider:(Ra==null?void 0:Ra.eventStreamSerdeProvider)??eventStreamSerdeProvider,maxAttempts:(Ra==null?void 0:Ra.maxAttempts)??DEFAULT_MAX_ATTEMPTS,md5:(Ra==null?void 0:Ra.md5)??Md5,region:(Ra==null?void 0:Ra.region)??invalidProvider("Region is missing"),requestHandler:FetchHttpHandler.create((Ra==null?void 0:Ra.requestHandler)??nd),retryMode:(Ra==null?void 0:Ra.retryMode)??(async()=>(await nd()).retryMode||DEFAULT_RETRY_MODE),sha1:(Ra==null?void 0:Ra.sha1)??Sha1,sha256:(Ra==null?void 0:Ra.sha256)??Sha256,streamCollector:(Ra==null?void 0:Ra.streamCollector)??streamCollector,streamHasher:(Ra==null?void 0:Ra.streamHasher)??blobHasher,useDualstackEndpoint:(Ra==null?void 0:Ra.useDualstackEndpoint)??(()=>Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),useFipsEndpoint:(Ra==null?void 0:Ra.useFipsEndpoint)??(()=>Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT))}},getAwsRegionExtensionConfiguration=Ra=>{let qa=async()=>{if(Ra.region===void 0)throw new Error("Region is missing from runtimeConfig");const nd=Ra.region;return typeof nd=="string"?nd:nd()};return{setRegion(nd){qa=nd},region(){return qa}}},resolveAwsRegionExtensionConfiguration=Ra=>({region:Ra.region()}),getHttpAuthExtensionConfiguration=Ra=>{const qa=Ra.httpAuthSchemes;let nd=Ra.httpAuthSchemeProvider,od=Ra.credentials;return{setHttpAuthScheme(ld){const ud=qa.findIndex(dd=>dd.schemeId===ld.schemeId);ud===-1?qa.push(ld):qa.splice(ud,1,ld)},httpAuthSchemes(){return qa},setHttpAuthSchemeProvider(ld){nd=ld},httpAuthSchemeProvider(){return nd},setCredentials(ld){od=ld},credentials(){return od}}},resolveHttpAuthRuntimeConfig=Ra=>({httpAuthSchemes:Ra.httpAuthSchemes(),httpAuthSchemeProvider:Ra.httpAuthSchemeProvider(),credentials:Ra.credentials()}),asPartial=Ra=>Ra,resolveRuntimeExtensions=(Ra,qa)=>{const nd={...asPartial(getAwsRegionExtensionConfiguration(Ra)),...asPartial(getDefaultExtensionConfiguration(Ra)),...asPartial(getHttpHandlerExtensionConfiguration(Ra)),...asPartial(getHttpAuthExtensionConfiguration(Ra))};return qa.forEach(od=>od.configure(nd)),{...Ra,...resolveAwsRegionExtensionConfiguration(nd),...resolveDefaultRuntimeConfig(nd),...resolveHttpHandlerRuntimeConfig(nd),...resolveHttpAuthRuntimeConfig(nd)}};class S3Client extends Client$1{constructor(...[qa]){const nd=getRuntimeConfig(qa||{}),od=resolveClientEndpointParameters(nd),ld=resolveUserAgentConfig(od),ud=resolveFlexibleChecksumsConfig(ld),dd=resolveRetryConfig(ud),pd=resolveRegionConfig(dd),fd=pd,md=resolveEndpointConfig(fd),vd=resolveEventStreamSerdeConfig(md),Ad=resolveHttpAuthSchemeConfig(vd),Nd=resolveS3Config(Ad,{session:[()=>this,CreateSessionCommand]}),Od=resolveRuntimeExtensions(Nd,(qa==null?void 0:qa.extensions)||[]);super(Od),this.config=Od,this.middlewareStack.use(getUserAgentPlugin(this.config)),this.middlewareStack.use(getRetryPlugin(this.config)),this.middlewareStack.use(getContentLengthPlugin(this.config)),this.middlewareStack.use(getHostHeaderPlugin(this.config)),this.middlewareStack.use(getLoggerPlugin(this.config)),this.middlewareStack.use(getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:defaultS3HttpAuthSchemeParametersProvider,identityProviderConfigProvider:async kd=>new DefaultIdentityProviderConfig({"aws.auth#sigv4":kd.credentials,"aws.auth#sigv4a":kd.credentials})})),this.middlewareStack.use(getHttpSigningPlugin(this.config)),this.middlewareStack.use(getValidateBucketNamePlugin(this.config)),this.middlewareStack.use(getAddExpectContinuePlugin(this.config)),this.middlewareStack.use(getRegionRedirectMiddlewarePlugin(this.config)),this.middlewareStack.use(getS3ExpressPlugin(this.config)),this.middlewareStack.use(getS3ExpressHttpSigningPlugin(this.config))}destroy(){super.destroy()}}function ssecMiddleware(Ra){return qa=>async nd=>{const od={...nd.input},ld=[{target:"SSECustomerKey",hash:"SSECustomerKeyMD5"},{target:"CopySourceSSECustomerKey",hash:"CopySourceSSECustomerKeyMD5"}];for(const ud of ld){const dd=od[ud.target];if(dd){let pd;typeof dd=="string"?isValidBase64EncodedSSECustomerKey(dd,Ra)?pd=Ra.base64Decoder(dd):(pd=Ra.utf8Decoder(dd),od[ud.target]=Ra.base64Encoder(pd)):(pd=ArrayBuffer.isView(dd)?new Uint8Array(dd.buffer,dd.byteOffset,dd.byteLength):new Uint8Array(dd),od[ud.target]=Ra.base64Encoder(pd));const fd=new Ra.md5;fd.update(pd),od[ud.hash]=Ra.base64Encoder(await fd.digest())}}return qa({...nd,input:od})}}const ssecMiddlewareOptions={name:"ssecMiddleware",step:"initialize",tags:["SSE"],override:!0},getSsecPlugin=Ra=>({applyToStack:qa=>{qa.add(ssecMiddleware(Ra),ssecMiddlewareOptions)}});function isValidBase64EncodedSSECustomerKey(Ra,qa){if(!/^(?:[A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(Ra))return!1;try{return qa.base64Decoder(Ra).length===32}catch{return!1}}class PutObjectCommand extends Command.classBuilder().ep({...commonParams,Bucket:{type:"contextParams",name:"Bucket"},Key:{type:"contextParams",name:"Key"}}).m(function(qa,nd,od,ld){return[getSerdePlugin(od,this.serialize,this.deserialize),getEndpointPlugin(od,qa.getEndpointParameterInstructions()),getFlexibleChecksumsPlugin(od,{requestAlgorithmMember:{httpHeader:"x-amz-sdk-checksum-algorithm",name:"ChecksumAlgorithm"},requestChecksumRequired:!1}),getCheckContentLengthHeaderPlugin(),getThrow200ExceptionsPlugin(od),getSsecPlugin(od)]}).s("AmazonS3","PutObject",{}).n("S3Client","PutObjectCommand").f(PutObjectRequestFilterSensitiveLog,PutObjectOutputFilterSensitiveLog).ser(se_PutObjectCommand).de(de_PutObjectCommand).build(){}var toString=Object.prototype.toString,isModern=typeof Buffer$4<"u"&&typeof Buffer$4.alloc=="function"&&typeof Buffer$4.allocUnsafe=="function"&&typeof Buffer$4.from=="function";function isArrayBuffer(Ra){return toString.call(Ra).slice(8,-1)==="ArrayBuffer"}function fromArrayBuffer(Ra,qa,nd){qa>>>=0;var od=Ra.byteLength-qa;if(od<0)throw new RangeError("'offset' is out of bounds");if(nd===void 0)nd=od;else if(nd>>>=0,nd>od)throw new RangeError("'length' is out of bounds");return isModern?Buffer$4.from(Ra.slice(qa,qa+nd)):new Buffer$4(new Uint8Array(Ra.slice(qa,qa+nd)))}function fromString(Ra,qa){if((typeof qa!="string"||qa==="")&&(qa="utf8"),!Buffer$4.isEncoding(qa))throw new TypeError('"encoding" must be a valid string encoding');return isModern?Buffer$4.from(Ra,qa):new Buffer$4(Ra,qa)}function bufferFrom(Ra,qa,nd){if(typeof Ra=="number")throw new TypeError('"value" argument must not be a number');return isArrayBuffer(Ra)?fromArrayBuffer(Ra,qa,nd):typeof Ra=="string"?fromString(Ra,qa):isModern?Buffer$4.from(Ra):new Buffer$4(Ra)}var bufferFrom_1=bufferFrom;const Buffer$1=getDefaultExportFromCjs(bufferFrom_1);var cosJsSdkV5={exports:{}};(function(Ra,qa){(function(od,ld){Ra.exports=ld()})(commonjsGlobal,function(){return function(nd){var od={};function ld(ud){if(od[ud])return od[ud].exports;var dd=od[ud]={i:ud,l:!1,exports:{}};return nd[ud].call(dd.exports,dd,dd.exports,ld),dd.l=!0,dd.exports}return ld.m=nd,ld.c=od,ld.d=function(ud,dd,pd){ld.o(ud,dd)||Object.defineProperty(ud,dd,{enumerable:!0,get:pd})},ld.r=function(ud){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(ud,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(ud,"__esModule",{value:!0})},ld.t=function(ud,dd){if(dd&1&&(ud=ld(ud)),dd&8||dd&4&&typeof ud=="object"&&ud&&ud.__esModule)return ud;var pd=Object.create(null);if(ld.r(pd),Object.defineProperty(pd,"default",{enumerable:!0,value:ud}),dd&2&&typeof ud!="string")for(var fd in ud)ld.d(pd,fd,(function(md){return ud[md]}).bind(null,fd));return pd},ld.n=function(ud){var dd=ud&&ud.__esModule?function(){return ud.default}:function(){return ud};return ld.d(dd,"a",dd),dd},ld.o=function(ud,dd){return Object.prototype.hasOwnProperty.call(ud,dd)},ld.p="/dist/",ld(ld.s="./index.js")}({"./index.js":function(nd,od,ld){var ud=ld("./src/cos.js");nd.exports=ud},"./lib/base64.js":function(nd,od){var ld=function(ud){ud=ud||{};var dd=ud.Base64,pd="2.1.9",fd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",md=function(Sf){for(var Tf={},Af=0,Ef=Sf.length;Af<Ef;Af++)Tf[Sf.charAt(Af)]=Af;return Tf}(fd),vd=String.fromCharCode,Ad=function(Tf){if(Tf.length<2){var Af=Tf.charCodeAt(0);return Af<128?Tf:Af<2048?vd(192|Af>>>6)+vd(128|Af&63):vd(224|Af>>>12&15)+vd(128|Af>>>6&63)+vd(128|Af&63)}else{var Af=65536+(Tf.charCodeAt(0)-55296)*1024+(Tf.charCodeAt(1)-56320);return vd(240|Af>>>18&7)+vd(128|Af>>>12&63)+vd(128|Af>>>6&63)+vd(128|Af&63)}},Nd=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Od=function(Tf){return Tf.replace(Nd,Ad)},kd=function(Tf){var Af=[0,2,1][Tf.length%3],Ef=Tf.charCodeAt(0)<<16|(Tf.length>1?Tf.charCodeAt(1):0)<<8|(Tf.length>2?Tf.charCodeAt(2):0),Nf=[fd.charAt(Ef>>>18),fd.charAt(Ef>>>12&63),Af>=2?"=":fd.charAt(Ef>>>6&63),Af>=1?"=":fd.charAt(Ef&63)];return Nf.join("")},Ld=ud.btoa?function(Sf){return ud.btoa(Sf)}:function(Sf){return Sf.replace(/[\s\S]{1,3}/g,kd)},Gd=function(Sf){return Ld(Od(Sf))},jd=function(Tf,Af){return Af?Gd(String(Tf)).replace(/[+\/]/g,function(Ef){return Ef=="+"?"-":"_"}).replace(/=/g,""):Gd(String(Tf))},Fd=function(Tf){return jd(Tf,!0)},Ud=new RegExp(["[À-ß][€-¿]","[à-ï][€-¿]{2}","[ð-÷][€-¿]{3}"].join("|"),"g"),qd=function(Tf){switch(Tf.length){case 4:var Af=(7&Tf.charCodeAt(0))<<18|(63&Tf.charCodeAt(1))<<12|(63&Tf.charCodeAt(2))<<6|63&Tf.charCodeAt(3),Ef=Af-65536;return vd((Ef>>>10)+55296)+vd((Ef&1023)+56320);case 3:return vd((15&Tf.charCodeAt(0))<<12|(63&Tf.charCodeAt(1))<<6|63&Tf.charCodeAt(2));default:return vd((31&Tf.charCodeAt(0))<<6|63&Tf.charCodeAt(1))}},zd=function(Tf){return Tf.replace(Ud,qd)},Wd=function(Tf){var Af=Tf.length,Ef=Af%4,Nf=(Af>0?md[Tf.charAt(0)]<<18:0)|(Af>1?md[Tf.charAt(1)]<<12:0)|(Af>2?md[Tf.charAt(2)]<<6:0)|(Af>3?md[Tf.charAt(3)]:0),If=[vd(Nf>>>16),vd(Nf>>>8&255),vd(Nf&255)];return If.length-=[0,0,2,1][Ef],If.join("")},Jd=ud.atob?function(Sf){return ud.atob(Sf)}:function(Sf){return Sf.replace(/[\s\S]{1,4}/g,Wd)},_f=function(Sf){return zd(Jd(Sf))},Xd=function(Tf){return _f(String(Tf).replace(/[-_]/g,function(Af){return Af=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,""))},pf=function(){var Tf=ud.Base64;return ud.Base64=dd,Tf},mf={VERSION:pd,atob:Jd,btoa:Ld,fromBase64:Xd,toBase64:jd,utob:Od,encode:jd,encodeURI:Fd,btou:zd,decode:Xd,noConflict:pf};return mf}();nd.exports=ld},"./lib/crypto.js":function(nd,od,ld){(function(ud){var dd=ld("./node_modules/@babel/runtime/helpers/typeof.js"),pd=pd||function(fd,md){var vd={},Ad=vd.lib={},Nd=function(){},Od=Ad.Base={extend:function(Wd){Nd.prototype=this;var Jd=new Nd;return Wd&&Jd.mixIn(Wd),Jd.hasOwnProperty("init")||(Jd.init=function(){Jd.$super.init.apply(this,arguments)}),Jd.init.prototype=Jd,Jd.$super=this,Jd},create:function(){var Wd=this.extend();return Wd.init.apply(Wd,arguments),Wd},init:function(){},mixIn:function(Wd){for(var Jd in Wd)Wd.hasOwnProperty(Jd)&&(this[Jd]=Wd[Jd]);Wd.hasOwnProperty("toString")&&(this.toString=Wd.toString)},clone:function(){return this.init.prototype.extend(this)}},kd=Ad.WordArray=Od.extend({init:function(Wd,Jd){Wd=this.words=Wd||[],this.sigBytes=Jd!=md?Jd:4*Wd.length},toString:function(Wd){return(Wd||Gd).stringify(this)},concat:function(Wd){var Jd=this.words,_f=Wd.words,Xd=this.sigBytes;if(Wd=Wd.sigBytes,this.clamp(),Xd%4)for(var pf=0;pf<Wd;pf++)Jd[Xd+pf>>>2]|=(_f[pf>>>2]>>>24-8*(pf%4)&255)<<24-8*((Xd+pf)%4);else if(65535<_f.length)for(pf=0;pf<Wd;pf+=4)Jd[Xd+pf>>>2]=_f[pf>>>2];else Jd.push.apply(Jd,_f);return this.sigBytes+=Wd,this},clamp:function(){var Wd=this.words,Jd=this.sigBytes;Wd[Jd>>>2]&=4294967295<<32-8*(Jd%4),Wd.length=fd.ceil(Jd/4)},clone:function(){var Wd=Od.clone.call(this);return Wd.words=this.words.slice(0),Wd},random:function(Wd){for(var Jd=[],_f=0;_f<Wd;_f+=4)Jd.push(4294967296*fd.random()|0);return new kd.init(Jd,Wd)}}),Ld=vd.enc={},Gd=Ld.Hex={stringify:function(Wd){var Jd=Wd.words;Wd=Wd.sigBytes;for(var _f=[],Xd=0;Xd<Wd;Xd++){var pf=Jd[Xd>>>2]>>>24-8*(Xd%4)&255;_f.push((pf>>>4).toString(16)),_f.push((pf&15).toString(16))}return _f.join("")},parse:function(Wd){for(var Jd=Wd.length,_f=[],Xd=0;Xd<Jd;Xd+=2)_f[Xd>>>3]|=parseInt(Wd.substr(Xd,2),16)<<24-4*(Xd%8);return new kd.init(_f,Jd/2)}},jd=Ld.Latin1={stringify:function(Wd){var Jd=Wd.words;Wd=Wd.sigBytes;for(var _f=[],Xd=0;Xd<Wd;Xd++)_f.push(String.fromCharCode(Jd[Xd>>>2]>>>24-8*(Xd%4)&255));return _f.join("")},parse:function(Wd){for(var Jd=Wd.length,_f=[],Xd=0;Xd<Jd;Xd++)_f[Xd>>>2]|=(Wd.charCodeAt(Xd)&255)<<24-8*(Xd%4);return new kd.init(_f,Jd)}},Fd=Ld.Utf8={stringify:function(Wd){try{return decodeURIComponent(escape(jd.stringify(Wd)))}catch{throw Error("Malformed UTF-8 data")}},parse:function(Wd){return jd.parse(unescape(encodeURIComponent(Wd)))}},Ud=Ad.BufferedBlockAlgorithm=Od.extend({reset:function(){this._data=new kd.init,this._nDataBytes=0},_append:function(Wd){typeof Wd=="string"&&(Wd=Fd.parse(Wd)),this._data.concat(Wd),this._nDataBytes+=Wd.sigBytes},_process:function(Wd){var Jd=this._data,_f=Jd.words,Xd=Jd.sigBytes,pf=this.blockSize,mf=Xd/(4*pf),mf=Wd?fd.ceil(mf):fd.max((mf|0)-this._minBufferSize,0);if(Wd=mf*pf,Xd=fd.min(4*Wd,Xd),Wd){for(var Sf=0;Sf<Wd;Sf+=pf)this._doProcessBlock(_f,Sf);Sf=_f.splice(0,Wd),Jd.sigBytes-=Xd}return new kd.init(Sf,Xd)},clone:function(){var Wd=Od.clone.call(this);return Wd._data=this._data.clone(),Wd},_minBufferSize:0});Ad.Hasher=Ud.extend({cfg:Od.extend(),init:function(Wd){this.cfg=this.cfg.extend(Wd),this.reset()},reset:function(){Ud.reset.call(this),this._doReset()},update:function(Wd){return this._append(Wd),this._process(),this},finalize:function(Wd){return Wd&&this._append(Wd),this._doFinalize()},blockSize:16,_createHelper:function(Wd){return function(Jd,_f){return new Wd.init(_f).finalize(Jd)}},_createHmacHelper:function(Wd){return function(Jd,_f){return new qd.HMAC.init(Wd,_f).finalize(Jd)}}});var qd=vd.algo={};return vd}(Math);(function(){var fd=pd,Nd=fd.lib,md=Nd.WordArray,vd=Nd.Hasher,Ad=[],Nd=fd.algo.SHA1=vd.extend({_doReset:function(){this._hash=new md.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(kd,Ld){for(var Gd=this._hash.words,jd=Gd[0],Fd=Gd[1],Ud=Gd[2],qd=Gd[3],zd=Gd[4],Wd=0;80>Wd;Wd++){if(16>Wd)Ad[Wd]=kd[Ld+Wd]|0;else{var Jd=Ad[Wd-3]^Ad[Wd-8]^Ad[Wd-14]^Ad[Wd-16];Ad[Wd]=Jd<<1|Jd>>>31}Jd=(jd<<5|jd>>>27)+zd+Ad[Wd],Jd=20>Wd?Jd+((Fd&Ud|~Fd&qd)+1518500249):40>Wd?Jd+((Fd^Ud^qd)+1859775393):60>Wd?Jd+((Fd&Ud|Fd&qd|Ud&qd)-1894007588):Jd+((Fd^Ud^qd)-899497514),zd=qd,qd=Ud,Ud=Fd<<30|Fd>>>2,Fd=jd,jd=Jd}Gd[0]=Gd[0]+jd|0,Gd[1]=Gd[1]+Fd|0,Gd[2]=Gd[2]+Ud|0,Gd[3]=Gd[3]+qd|0,Gd[4]=Gd[4]+zd|0},_doFinalize:function(){var kd=this._data,Ld=kd.words,Gd=8*this._nDataBytes,jd=8*kd.sigBytes;return Ld[jd>>>5]|=128<<24-jd%32,Ld[(jd+64>>>9<<4)+14]=Math.floor(Gd/4294967296),Ld[(jd+64>>>9<<4)+15]=Gd,kd.sigBytes=4*Ld.length,this._process(),this._hash},clone:function(){var kd=vd.clone.call(this);return kd._hash=this._hash.clone(),kd}});fd.SHA1=vd._createHelper(Nd),fd.HmacSHA1=vd._createHmacHelper(Nd)})(),function(){var fd=pd,md=fd.enc.Utf8;fd.algo.HMAC=fd.lib.Base.extend({init:function(Ad,Nd){Ad=this._hasher=new Ad.init,typeof Nd=="string"&&(Nd=md.parse(Nd));var Od=Ad.blockSize,kd=4*Od;Nd.sigBytes>kd&&(Nd=Ad.finalize(Nd)),Nd.clamp();for(var Ld=this._oKey=Nd.clone(),Gd=this._iKey=Nd.clone(),jd=Ld.words,Fd=Gd.words,Ud=0;Ud<Od;Ud++)jd[Ud]^=1549556828,Fd[Ud]^=909522486;Ld.sigBytes=Gd.sigBytes=kd,this.reset()},reset:function(){var Ad=this._hasher;Ad.reset(),Ad.update(this._iKey)},update:function(Ad){return this._hasher.update(Ad),this},finalize:function(Ad){var Nd=this._hasher;return Ad=Nd.finalize(Ad),Nd.reset(),Nd.finalize(this._oKey.clone().concat(Ad))}})}(),function(){var fd=pd,md=fd.lib,vd=md.WordArray,Ad=fd.enc;Ad.Base64={stringify:function(Od){var kd=Od.words,Ld=Od.sigBytes,Gd=this._map;Od.clamp();for(var jd=[],Fd=0;Fd<Ld;Fd+=3)for(var Ud=kd[Fd>>>2]>>>24-Fd%4*8&255,qd=kd[Fd+1>>>2]>>>24-(Fd+1)%4*8&255,zd=kd[Fd+2>>>2]>>>24-(Fd+2)%4*8&255,Wd=Ud<<16|qd<<8|zd,Jd=0;Jd<4&&Fd+Jd*.75<Ld;Jd++)jd.push(Gd.charAt(Wd>>>6*(3-Jd)&63));var _f=Gd.charAt(64);if(_f)for(;jd.length%4;)jd.push(_f);return jd.join("")},parse:function(Od){var kd=Od.length,Ld=this._map,Gd=Ld.charAt(64);if(Gd){var jd=Od.indexOf(Gd);jd!=-1&&(kd=jd)}for(var Fd=[],Ud=0,qd=0;qd<kd;qd++)if(qd%4){var zd=Ld.indexOf(Od.charAt(qd-1))<<qd%4*2,Wd=Ld.indexOf(Od.charAt(qd))>>>6-qd%4*2;Fd[Ud>>>2]|=(zd|Wd)<<24-Ud%4*8,Ud++}return vd.create(Fd,Ud)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),dd(ud)==="object"?ud.exports=pd:window.CryptoJS=pd}).call(this,ld("./node_modules/webpack/buildin/module.js")(nd))},"./lib/md5.js":function(nd,od,ld){(function(ud){var dd,pd=ld("./node_modules/@babel/runtime/helpers/typeof.js");(function(){var fd=(typeof window>"u"?"undefined":pd(window))==="object",md=fd?window:{};md.JS_MD5_NO_WINDOW&&(fd=!1);var vd=!fd&&(typeof self>"u"?"undefined":pd(self))==="object";vd&&(md=self);var Ad=!md.JS_MD5_NO_COMMON_JS&&pd(ud)==="object"&&ud.exports,Nd=ld("./node_modules/webpack/buildin/amd-options.js"),Od=!md.JS_MD5_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",kd="0123456789abcdef".split(""),Ld=[128,32768,8388608,-2147483648],Gd=[0,8,16,24],jd=["hex","array","digest","buffer","arrayBuffer","base64"],Fd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),Ud=[],qd;if(Od){var zd=new ArrayBuffer(68);qd=new Uint8Array(zd),Ud=new Uint32Array(zd)}(md.JS_MD5_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(pf){return Object.prototype.toString.call(pf)==="[object Array]"}),Od&&(md.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(pf){return pd(pf)==="object"&&pf.buffer&&pf.buffer.constructor===ArrayBuffer});var Wd=function(mf){return function(Sf,Tf){return new _f(!0).update(Sf,Tf)[mf]()}},Jd=function(){var mf=Wd("hex");mf.getCtx=mf.create=function(){return new _f},mf.update=function(Af){return mf.create().update(Af)};for(var Sf=0;Sf<jd.length;++Sf){var Tf=jd[Sf];mf[Tf]=Wd(Tf)}return mf};function _f(pf){if(pf)Ud[0]=Ud[16]=Ud[1]=Ud[2]=Ud[3]=Ud[4]=Ud[5]=Ud[6]=Ud[7]=Ud[8]=Ud[9]=Ud[10]=Ud[11]=Ud[12]=Ud[13]=Ud[14]=Ud[15]=0,this.blocks=Ud,this.buffer8=qd;else if(Od){var mf=new ArrayBuffer(68);this.buffer8=new Uint8Array(mf),this.blocks=new Uint32Array(mf)}else this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}_f.prototype.update=function(pf,mf){if(!this.finalized){for(var Sf,Tf=0,Af,Ef=pf.length,Nf=this.blocks,If=this.buffer8;Tf<Ef;){if(this.hashed&&(this.hashed=!1,Nf[0]=Nf[16],Nf[16]=Nf[1]=Nf[2]=Nf[3]=Nf[4]=Nf[5]=Nf[6]=Nf[7]=Nf[8]=Nf[9]=Nf[10]=Nf[11]=Nf[12]=Nf[13]=Nf[14]=Nf[15]=0),Od)for(Af=this.start;Tf<Ef&&Af<64;++Tf)Sf=pf.charCodeAt(Tf),mf||Sf<128?If[Af++]=Sf:Sf<2048?(If[Af++]=192|Sf>>6,If[Af++]=128|Sf&63):Sf<55296||Sf>=57344?(If[Af++]=224|Sf>>12,If[Af++]=128|Sf>>6&63,If[Af++]=128|Sf&63):(Sf=65536+((Sf&1023)<<10|pf.charCodeAt(++Tf)&1023),If[Af++]=240|Sf>>18,If[Af++]=128|Sf>>12&63,If[Af++]=128|Sf>>6&63,If[Af++]=128|Sf&63);else for(Af=this.start;Tf<Ef&&Af<64;++Tf)Sf=pf.charCodeAt(Tf),mf||Sf<128?Nf[Af>>2]|=Sf<<Gd[Af++&3]:Sf<2048?(Nf[Af>>2]|=(192|Sf>>6)<<Gd[Af++&3],Nf[Af>>2]|=(128|Sf&63)<<Gd[Af++&3]):Sf<55296||Sf>=57344?(Nf[Af>>2]|=(224|Sf>>12)<<Gd[Af++&3],Nf[Af>>2]|=(128|Sf>>6&63)<<Gd[Af++&3],Nf[Af>>2]|=(128|Sf&63)<<Gd[Af++&3]):(Sf=65536+((Sf&1023)<<10|pf.charCodeAt(++Tf)&1023),Nf[Af>>2]|=(240|Sf>>18)<<Gd[Af++&3],Nf[Af>>2]|=(128|Sf>>12&63)<<Gd[Af++&3],Nf[Af>>2]|=(128|Sf>>6&63)<<Gd[Af++&3],Nf[Af>>2]|=(128|Sf&63)<<Gd[Af++&3]);this.lastByteIndex=Af,this.bytes+=Af-this.start,Af>=64?(this.start=Af-64,this.hash(),this.hashed=!0):this.start=Af}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},_f.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var pf=this.blocks,mf=this.lastByteIndex;pf[mf>>2]|=Ld[mf&3],mf>=56&&(this.hashed||this.hash(),pf[0]=pf[16],pf[16]=pf[1]=pf[2]=pf[3]=pf[4]=pf[5]=pf[6]=pf[7]=pf[8]=pf[9]=pf[10]=pf[11]=pf[12]=pf[13]=pf[14]=pf[15]=0),pf[14]=this.bytes<<3,pf[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},_f.prototype.hash=function(){var pf,mf,Sf,Tf,Af,Ef,Nf=this.blocks;this.first?(pf=Nf[0]-680876937,pf=(pf<<7|pf>>>25)-271733879<<0,Tf=(-1732584194^pf&2004318071)+Nf[1]-117830708,Tf=(Tf<<12|Tf>>>20)+pf<<0,Sf=(-271733879^Tf&(pf^-271733879))+Nf[2]-1126478375,Sf=(Sf<<17|Sf>>>15)+Tf<<0,mf=(pf^Sf&(Tf^pf))+Nf[3]-1316259209,mf=(mf<<22|mf>>>10)+Sf<<0):(pf=this.h0,mf=this.h1,Sf=this.h2,Tf=this.h3,pf+=(Tf^mf&(Sf^Tf))+Nf[0]-680876936,pf=(pf<<7|pf>>>25)+mf<<0,Tf+=(Sf^pf&(mf^Sf))+Nf[1]-389564586,Tf=(Tf<<12|Tf>>>20)+pf<<0,Sf+=(mf^Tf&(pf^mf))+Nf[2]+606105819,Sf=(Sf<<17|Sf>>>15)+Tf<<0,mf+=(pf^Sf&(Tf^pf))+Nf[3]-1044525330,mf=(mf<<22|mf>>>10)+Sf<<0),pf+=(Tf^mf&(Sf^Tf))+Nf[4]-176418897,pf=(pf<<7|pf>>>25)+mf<<0,Tf+=(Sf^pf&(mf^Sf))+Nf[5]+1200080426,Tf=(Tf<<12|Tf>>>20)+pf<<0,Sf+=(mf^Tf&(pf^mf))+Nf[6]-1473231341,Sf=(Sf<<17|Sf>>>15)+Tf<<0,mf+=(pf^Sf&(Tf^pf))+Nf[7]-45705983,mf=(mf<<22|mf>>>10)+Sf<<0,pf+=(Tf^mf&(Sf^Tf))+Nf[8]+1770035416,pf=(pf<<7|pf>>>25)+mf<<0,Tf+=(Sf^pf&(mf^Sf))+Nf[9]-1958414417,Tf=(Tf<<12|Tf>>>20)+pf<<0,Sf+=(mf^Tf&(pf^mf))+Nf[10]-42063,Sf=(Sf<<17|Sf>>>15)+Tf<<0,mf+=(pf^Sf&(Tf^pf))+Nf[11]-1990404162,mf=(mf<<22|mf>>>10)+Sf<<0,pf+=(Tf^mf&(Sf^Tf))+Nf[12]+1804603682,pf=(pf<<7|pf>>>25)+mf<<0,Tf+=(Sf^pf&(mf^Sf))+Nf[13]-40341101,Tf=(Tf<<12|Tf>>>20)+pf<<0,Sf+=(mf^Tf&(pf^mf))+Nf[14]-1502002290,Sf=(Sf<<17|Sf>>>15)+Tf<<0,mf+=(pf^Sf&(Tf^pf))+Nf[15]+1236535329,mf=(mf<<22|mf>>>10)+Sf<<0,pf+=(Sf^Tf&(mf^Sf))+Nf[1]-165796510,pf=(pf<<5|pf>>>27)+mf<<0,Tf+=(mf^Sf&(pf^mf))+Nf[6]-1069501632,Tf=(Tf<<9|Tf>>>23)+pf<<0,Sf+=(pf^mf&(Tf^pf))+Nf[11]+643717713,Sf=(Sf<<14|Sf>>>18)+Tf<<0,mf+=(Tf^pf&(Sf^Tf))+Nf[0]-373897302,mf=(mf<<20|mf>>>12)+Sf<<0,pf+=(Sf^Tf&(mf^Sf))+Nf[5]-701558691,pf=(pf<<5|pf>>>27)+mf<<0,Tf+=(mf^Sf&(pf^mf))+Nf[10]+38016083,Tf=(Tf<<9|Tf>>>23)+pf<<0,Sf+=(pf^mf&(Tf^pf))+Nf[15]-660478335,Sf=(Sf<<14|Sf>>>18)+Tf<<0,mf+=(Tf^pf&(Sf^Tf))+Nf[4]-405537848,mf=(mf<<20|mf>>>12)+Sf<<0,pf+=(Sf^Tf&(mf^Sf))+Nf[9]+568446438,pf=(pf<<5|pf>>>27)+mf<<0,Tf+=(mf^Sf&(pf^mf))+Nf[14]-1019803690,Tf=(Tf<<9|Tf>>>23)+pf<<0,Sf+=(pf^mf&(Tf^pf))+Nf[3]-187363961,Sf=(Sf<<14|Sf>>>18)+Tf<<0,mf+=(Tf^pf&(Sf^Tf))+Nf[8]+1163531501,mf=(mf<<20|mf>>>12)+Sf<<0,pf+=(Sf^Tf&(mf^Sf))+Nf[13]-1444681467,pf=(pf<<5|pf>>>27)+mf<<0,Tf+=(mf^Sf&(pf^mf))+Nf[2]-51403784,Tf=(Tf<<9|Tf>>>23)+pf<<0,Sf+=(pf^mf&(Tf^pf))+Nf[7]+1735328473,Sf=(Sf<<14|Sf>>>18)+Tf<<0,mf+=(Tf^pf&(Sf^Tf))+Nf[12]-1926607734,mf=(mf<<20|mf>>>12)+Sf<<0,Af=mf^Sf,pf+=(Af^Tf)+Nf[5]-378558,pf=(pf<<4|pf>>>28)+mf<<0,Tf+=(Af^pf)+Nf[8]-2022574463,Tf=(Tf<<11|Tf>>>21)+pf<<0,Ef=Tf^pf,Sf+=(Ef^mf)+Nf[11]+1839030562,Sf=(Sf<<16|Sf>>>16)+Tf<<0,mf+=(Ef^Sf)+Nf[14]-35309556,mf=(mf<<23|mf>>>9)+Sf<<0,Af=mf^Sf,pf+=(Af^Tf)+Nf[1]-1530992060,pf=(pf<<4|pf>>>28)+mf<<0,Tf+=(Af^pf)+Nf[4]+1272893353,Tf=(Tf<<11|Tf>>>21)+pf<<0,Ef=Tf^pf,Sf+=(Ef^mf)+Nf[7]-155497632,Sf=(Sf<<16|Sf>>>16)+Tf<<0,mf+=(Ef^Sf)+Nf[10]-1094730640,mf=(mf<<23|mf>>>9)+Sf<<0,Af=mf^Sf,pf+=(Af^Tf)+Nf[13]+681279174,pf=(pf<<4|pf>>>28)+mf<<0,Tf+=(Af^pf)+Nf[0]-358537222,Tf=(Tf<<11|Tf>>>21)+pf<<0,Ef=Tf^pf,Sf+=(Ef^mf)+Nf[3]-722521979,Sf=(Sf<<16|Sf>>>16)+Tf<<0,mf+=(Ef^Sf)+Nf[6]+76029189,mf=(mf<<23|mf>>>9)+Sf<<0,Af=mf^Sf,pf+=(Af^Tf)+Nf[9]-640364487,pf=(pf<<4|pf>>>28)+mf<<0,Tf+=(Af^pf)+Nf[12]-421815835,Tf=(Tf<<11|Tf>>>21)+pf<<0,Ef=Tf^pf,Sf+=(Ef^mf)+Nf[15]+530742520,Sf=(Sf<<16|Sf>>>16)+Tf<<0,mf+=(Ef^Sf)+Nf[2]-995338651,mf=(mf<<23|mf>>>9)+Sf<<0,pf+=(Sf^(mf|~Tf))+Nf[0]-198630844,pf=(pf<<6|pf>>>26)+mf<<0,Tf+=(mf^(pf|~Sf))+Nf[7]+1126891415,Tf=(Tf<<10|Tf>>>22)+pf<<0,Sf+=(pf^(Tf|~mf))+Nf[14]-1416354905,Sf=(Sf<<15|Sf>>>17)+Tf<<0,mf+=(Tf^(Sf|~pf))+Nf[5]-57434055,mf=(mf<<21|mf>>>11)+Sf<<0,pf+=(Sf^(mf|~Tf))+Nf[12]+1700485571,pf=(pf<<6|pf>>>26)+mf<<0,Tf+=(mf^(pf|~Sf))+Nf[3]-1894986606,Tf=(Tf<<10|Tf>>>22)+pf<<0,Sf+=(pf^(Tf|~mf))+Nf[10]-1051523,Sf=(Sf<<15|Sf>>>17)+Tf<<0,mf+=(Tf^(Sf|~pf))+Nf[1]-2054922799,mf=(mf<<21|mf>>>11)+Sf<<0,pf+=(Sf^(mf|~Tf))+Nf[8]+1873313359,pf=(pf<<6|pf>>>26)+mf<<0,Tf+=(mf^(pf|~Sf))+Nf[15]-30611744,Tf=(Tf<<10|Tf>>>22)+pf<<0,Sf+=(pf^(Tf|~mf))+Nf[6]-1560198380,Sf=(Sf<<15|Sf>>>17)+Tf<<0,mf+=(Tf^(Sf|~pf))+Nf[13]+1309151649,mf=(mf<<21|mf>>>11)+Sf<<0,pf+=(Sf^(mf|~Tf))+Nf[4]-145523070,pf=(pf<<6|pf>>>26)+mf<<0,Tf+=(mf^(pf|~Sf))+Nf[11]-1120210379,Tf=(Tf<<10|Tf>>>22)+pf<<0,Sf+=(pf^(Tf|~mf))+Nf[2]+718787259,Sf=(Sf<<15|Sf>>>17)+Tf<<0,mf+=(Tf^(Sf|~pf))+Nf[9]-343485551,mf=(mf<<21|mf>>>11)+Sf<<0,this.first?(this.h0=pf+1732584193<<0,this.h1=mf-271733879<<0,this.h2=Sf-1732584194<<0,this.h3=Tf+271733878<<0,this.first=!1):(this.h0=this.h0+pf<<0,this.h1=this.h1+mf<<0,this.h2=this.h2+Sf<<0,this.h3=this.h3+Tf<<0)},_f.prototype.hex=function(){this.finalize();var pf=this.h0,mf=this.h1,Sf=this.h2,Tf=this.h3;return kd[pf>>4&15]+kd[pf&15]+kd[pf>>12&15]+kd[pf>>8&15]+kd[pf>>20&15]+kd[pf>>16&15]+kd[pf>>28&15]+kd[pf>>24&15]+kd[mf>>4&15]+kd[mf&15]+kd[mf>>12&15]+kd[mf>>8&15]+kd[mf>>20&15]+kd[mf>>16&15]+kd[mf>>28&15]+kd[mf>>24&15]+kd[Sf>>4&15]+kd[Sf&15]+kd[Sf>>12&15]+kd[Sf>>8&15]+kd[Sf>>20&15]+kd[Sf>>16&15]+kd[Sf>>28&15]+kd[Sf>>24&15]+kd[Tf>>4&15]+kd[Tf&15]+kd[Tf>>12&15]+kd[Tf>>8&15]+kd[Tf>>20&15]+kd[Tf>>16&15]+kd[Tf>>28&15]+kd[Tf>>24&15]},_f.prototype.toString=_f.prototype.hex,_f.prototype.digest=function(pf){if(pf==="hex")return this.hex();this.finalize();var mf=this.h0,Sf=this.h1,Tf=this.h2,Af=this.h3,Ef=[mf&255,mf>>8&255,mf>>16&255,mf>>24&255,Sf&255,Sf>>8&255,Sf>>16&255,Sf>>24&255,Tf&255,Tf>>8&255,Tf>>16&255,Tf>>24&255,Af&255,Af>>8&255,Af>>16&255,Af>>24&255];return Ef},_f.prototype.array=_f.prototype.digest,_f.prototype.arrayBuffer=function(){this.finalize();var pf=new ArrayBuffer(16),mf=new Uint32Array(pf);return mf[0]=this.h0,mf[1]=this.h1,mf[2]=this.h2,mf[3]=this.h3,pf},_f.prototype.buffer=_f.prototype.arrayBuffer,_f.prototype.base64=function(){for(var pf,mf,Sf,Tf="",Af=this.array(),Ef=0;Ef<15;)pf=Af[Ef++],mf=Af[Ef++],Sf=Af[Ef++],Tf+=Fd[pf>>>2]+Fd[(pf<<4|mf>>>4)&63]+Fd[(mf<<2|Sf>>>6)&63]+Fd[Sf&63];return pf=Af[Ef],Tf+=Fd[pf>>>2]+Fd[pf<<4&63]+"==",Tf};var Xd=Jd();Ad?ud.exports=Xd:(md.md5=Xd,Nd&&(dd=(function(){return Xd}).call(Xd,ld,Xd,ud),dd!==void 0&&(ud.exports=dd)))})()}).call(this,ld("./node_modules/webpack/buildin/module.js")(nd))},"./lib/request.js":function(nd,od,ld){var ud=ld("./node_modules/@babel/runtime/helpers/typeof.js"),dd=function(Nd){switch(ud(Nd)){case"string":return Nd;case"boolean":return Nd?"true":"false";case"number":return isFinite(Nd)?Nd:"";default:return""}},pd=function(Nd,Od,kd,Ld){return Od=Od||"&",kd=kd||"=",Nd===null&&(Nd=void 0),ud(Nd)==="object"?Object.keys(Nd).map(function(Gd){var jd=encodeURIComponent(dd(Gd))+kd;return Array.isArray(Nd[Gd])?Nd[Gd].map(function(Fd){return jd+encodeURIComponent(dd(Fd))}).join(Od):jd+encodeURIComponent(dd(Nd[Gd]))}).filter(Boolean).join(Od):""},fd=function(Nd,Od,kd){var Ld={},Gd=Od.getAllResponseHeaders();return Gd&&Gd.length>0&&Gd.trim().split(`
`).forEach(function(jd){if(jd){var Fd=jd.indexOf(":"),Ud=jd.substr(0,Fd).trim().toLowerCase(),qd=jd.substr(Fd+1).trim();Ld[Ud]=qd}}),{error:Nd,statusCode:Od.status,statusMessage:Od.statusText,headers:Ld,body:kd}},md=function(Nd,Od){return!Od&&Od==="text"?Nd.responseText:Nd.response},vd=function(Nd,Od){var kd=(Nd.method||"GET").toUpperCase(),Ld=Nd.url;if(Nd.qs){var Gd=pd(Nd.qs);Gd&&(Ld+=(Ld.indexOf("?")===-1?"?":"&")+Gd)}var jd=new XMLHttpRequest;if(jd.open(kd,Ld,!0),jd.responseType=Nd.dataType||"text",Nd.xhrFields)for(var Fd in Nd.xhrFields)jd[Fd]=Nd.xhrFields[Fd];var Ud=Nd.headers;if(Ud)for(var qd in Ud)Ud.hasOwnProperty(qd)&&qd.toLowerCase()!=="content-length"&&qd.toLowerCase()!=="user-agent"&&qd.toLowerCase()!=="origin"&&qd.toLowerCase()!=="host"&&jd.setRequestHeader(qd,Ud[qd]);return Nd.onProgress&&jd.upload&&(jd.upload.onprogress=Nd.onProgress),Nd.onDownloadProgress&&(jd.onprogress=Nd.onDownloadProgress),Nd.timeout&&(jd.timeout=Nd.timeout),jd.ontimeout=function(zd){var Wd=new Error("timeout");Od(fd(Wd,jd))},jd.onload=function(){Od(fd(null,jd,md(jd,Nd.dataType)))},jd.onerror=function(zd){var Wd=md(jd,Nd.dataType);if(Wd)Od(fd(null,jd,Wd));else{var Jd=jd.statusText;!Jd&&jd.status===0&&(Jd=new Error("CORS blocked or network error")),Od(fd(Jd,jd,Wd))}},jd.send(Nd.body||""),jd};nd.exports=vd},"./node_modules/@babel/runtime/helpers/classCallCheck.js":function(nd,od){function ld(ud,dd){if(!(ud instanceof dd))throw new TypeError("Cannot call a class as a function")}nd.exports=ld,nd.exports.__esModule=!0,nd.exports.default=nd.exports},"./node_modules/@babel/runtime/helpers/createClass.js":function(nd,od,ld){var ud=ld("./node_modules/@babel/runtime/helpers/toPropertyKey.js");function dd(fd,md){for(var vd=0;vd<md.length;vd++){var Ad=md[vd];Ad.enumerable=Ad.enumerable||!1,Ad.configurable=!0,"value"in Ad&&(Ad.writable=!0),Object.defineProperty(fd,ud(Ad.key),Ad)}}function pd(fd,md,vd){return md&&dd(fd.prototype,md),vd&&dd(fd,vd),Object.defineProperty(fd,"prototype",{writable:!1}),fd}nd.exports=pd,nd.exports.__esModule=!0,nd.exports.default=nd.exports},"./node_modules/@babel/runtime/helpers/toPrimitive.js":function(nd,od,ld){var ud=ld("./node_modules/@babel/runtime/helpers/typeof.js").default;function dd(pd,fd){if(ud(pd)!=="object"||pd===null)return pd;var md=pd[Symbol.toPrimitive];if(md!==void 0){var vd=md.call(pd,fd||"default");if(ud(vd)!=="object")return vd;throw new TypeError("@@toPrimitive must return a primitive value.")}return(fd==="string"?String:Number)(pd)}nd.exports=dd,nd.exports.__esModule=!0,nd.exports.default=nd.exports},"./node_modules/@babel/runtime/helpers/toPropertyKey.js":function(nd,od,ld){var ud=ld("./node_modules/@babel/runtime/helpers/typeof.js").default,dd=ld("./node_modules/@babel/runtime/helpers/toPrimitive.js");function pd(fd){var md=dd(fd,"string");return ud(md)==="symbol"?md:String(md)}nd.exports=pd,nd.exports.__esModule=!0,nd.exports.default=nd.exports},"./node_modules/@babel/runtime/helpers/typeof.js":function(nd,od){function ld(ud){"@babel/helpers - typeof";return nd.exports=ld=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(dd){return typeof dd}:function(dd){return dd&&typeof Symbol=="function"&&dd.constructor===Symbol&&dd!==Symbol.prototype?"symbol":typeof dd},nd.exports.__esModule=!0,nd.exports.default=nd.exports,ld(ud)}nd.exports=ld,nd.exports.__esModule=!0,nd.exports.default=nd.exports},"./node_modules/fast-xml-parser/src/fxp.js":function(nd,od,ld){const ud=ld("./node_modules/fast-xml-parser/src/validator.js"),dd=ld("./node_modules/fast-xml-parser/src/xmlparser/XMLParser.js"),pd=ld("./node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js");nd.exports={XMLParser:dd,XMLValidator:ud,XMLBuilder:pd}},"./node_modules/fast-xml-parser/src/util.js":function(nd,od,ld){const ud=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",dd=ud+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",pd="["+ud+"]["+dd+"]*",fd=new RegExp("^"+pd+"$"),md=function(Ad,Nd){const Od=[];let kd=Nd.exec(Ad);for(;kd;){const Ld=[];Ld.startIndex=Nd.lastIndex-kd[0].length;const Gd=kd.length;for(let jd=0;jd<Gd;jd++)Ld.push(kd[jd]);Od.push(Ld),kd=Nd.exec(Ad)}return Od},vd=function(Ad){const Nd=fd.exec(Ad);return!(Nd===null||typeof Nd>"u")};od.isExist=function(Ad){return typeof Ad<"u"},od.isEmptyObject=function(Ad){return Object.keys(Ad).length===0},od.merge=function(Ad,Nd,Od){if(Nd){const kd=Object.keys(Nd),Ld=kd.length;for(let Gd=0;Gd<Ld;Gd++)Od==="strict"?Ad[kd[Gd]]=[Nd[kd[Gd]]]:Ad[kd[Gd]]=Nd[kd[Gd]]}},od.getValue=function(Ad){return od.isExist(Ad)?Ad:""},od.isName=vd,od.getAllMatches=md,od.nameRegexp=pd},"./node_modules/fast-xml-parser/src/validator.js":function(nd,od,ld){const ud=ld("./node_modules/fast-xml-parser/src/util.js"),dd={allowBooleanAttributes:!1,unpairedTags:[]};od.validate=function(Wd,Jd){Jd=Object.assign({},dd,Jd);const _f=[];let Xd=!1,pf=!1;Wd[0]==="\uFEFF"&&(Wd=Wd.substr(1));for(let mf=0;mf<Wd.length;mf++)if(Wd[mf]==="<"&&Wd[mf+1]==="?"){if(mf+=2,mf=fd(Wd,mf),mf.err)return mf}else if(Wd[mf]==="<"){let Sf=mf;if(mf++,Wd[mf]==="!"){mf=md(Wd,mf);continue}else{let Tf=!1;Wd[mf]==="/"&&(Tf=!0,mf++);let Af="";for(;mf<Wd.length&&Wd[mf]!==">"&&Wd[mf]!==" "&&Wd[mf]!==" "&&Wd[mf]!==`
`&&Wd[mf]!=="\r";mf++)Af+=Wd[mf];if(Af=Af.trim(),Af[Af.length-1]==="/"&&(Af=Af.substring(0,Af.length-1),mf--),!Ud(Af)){let If;return Af.trim().length===0?If="Invalid space after '<'.":If="Tag '"+Af+"' is an invalid name.",jd("InvalidTag",If,qd(Wd,mf))}const Ef=Nd(Wd,mf);if(Ef===!1)return jd("InvalidAttr","Attributes for '"+Af+"' have open quote.",qd(Wd,mf));let Nf=Ef.value;if(mf=Ef.index,Nf[Nf.length-1]==="/"){const If=mf-Nf.length;Nf=Nf.substring(0,Nf.length-1);const Gf=kd(Nf,Jd);if(Gf===!0)Xd=!0;else return jd(Gf.err.code,Gf.err.msg,qd(Wd,If+Gf.err.line))}else if(Tf)if(Ef.tagClosed){if(Nf.trim().length>0)return jd("InvalidTag","Closing tag '"+Af+"' can't have attributes or invalid starting.",qd(Wd,Sf));if(_f.length===0)return jd("InvalidTag","Closing tag '"+Af+"' has not been opened.",qd(Wd,Sf));{const If=_f.pop();if(Af!==If.tagName){let Gf=qd(Wd,If.tagStartPos);return jd("InvalidTag","Expected closing tag '"+If.tagName+"' (opened in line "+Gf.line+", col "+Gf.col+") instead of closing tag '"+Af+"'.",qd(Wd,Sf))}_f.length==0&&(pf=!0)}}else return jd("InvalidTag","Closing tag '"+Af+"' doesn't have proper closing.",qd(Wd,mf));else{const If=kd(Nf,Jd);if(If!==!0)return jd(If.err.code,If.err.msg,qd(Wd,mf-Nf.length+If.err.line));if(pf===!0)return jd("InvalidXml","Multiple possible root nodes found.",qd(Wd,mf));Jd.unpairedTags.indexOf(Af)!==-1||_f.push({tagName:Af,tagStartPos:Sf}),Xd=!0}for(mf++;mf<Wd.length;mf++)if(Wd[mf]==="<")if(Wd[mf+1]==="!"){mf++,mf=md(Wd,mf);continue}else if(Wd[mf+1]==="?"){if(mf=fd(Wd,++mf),mf.err)return mf}else break;else if(Wd[mf]==="&"){const If=Gd(Wd,mf);if(If==-1)return jd("InvalidChar","char '&' is not expected.",qd(Wd,mf));mf=If}else if(pf===!0&&!pd(Wd[mf]))return jd("InvalidXml","Extra text at the end",qd(Wd,mf));Wd[mf]==="<"&&mf--}}else{if(pd(Wd[mf]))continue;return jd("InvalidChar","char '"+Wd[mf]+"' is not expected.",qd(Wd,mf))}if(Xd){if(_f.length==1)return jd("InvalidTag","Unclosed tag '"+_f[0].tagName+"'.",qd(Wd,_f[0].tagStartPos));if(_f.length>0)return jd("InvalidXml","Invalid '"+JSON.stringify(_f.map(mf=>mf.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return jd("InvalidXml","Start tag expected.",1);return!0};function pd(Wd){return Wd===" "||Wd===" "||Wd===`
`||Wd==="\r"}function fd(Wd,Jd){const _f=Jd;for(;Jd<Wd.length;Jd++)if(Wd[Jd]=="?"||Wd[Jd]==" "){const Xd=Wd.substr(_f,Jd-_f);if(Jd>5&&Xd==="xml")return jd("InvalidXml","XML declaration allowed only at the start of the document.",qd(Wd,Jd));if(Wd[Jd]=="?"&&Wd[Jd+1]==">"){Jd++;break}else continue}return Jd}function md(Wd,Jd){if(Wd.length>Jd+5&&Wd[Jd+1]==="-"&&Wd[Jd+2]==="-"){for(Jd+=3;Jd<Wd.length;Jd++)if(Wd[Jd]==="-"&&Wd[Jd+1]==="-"&&Wd[Jd+2]===">"){Jd+=2;break}}else if(Wd.length>Jd+8&&Wd[Jd+1]==="D"&&Wd[Jd+2]==="O"&&Wd[Jd+3]==="C"&&Wd[Jd+4]==="T"&&Wd[Jd+5]==="Y"&&Wd[Jd+6]==="P"&&Wd[Jd+7]==="E"){let _f=1;for(Jd+=8;Jd<Wd.length;Jd++)if(Wd[Jd]==="<")_f++;else if(Wd[Jd]===">"&&(_f--,_f===0))break}else if(Wd.length>Jd+9&&Wd[Jd+1]==="["&&Wd[Jd+2]==="C"&&Wd[Jd+3]==="D"&&Wd[Jd+4]==="A"&&Wd[Jd+5]==="T"&&Wd[Jd+6]==="A"&&Wd[Jd+7]==="["){for(Jd+=8;Jd<Wd.length;Jd++)if(Wd[Jd]==="]"&&Wd[Jd+1]==="]"&&Wd[Jd+2]===">"){Jd+=2;break}}return Jd}const vd='"',Ad="'";function Nd(Wd,Jd){let _f="",Xd="",pf=!1;for(;Jd<Wd.length;Jd++){if(Wd[Jd]===vd||Wd[Jd]===Ad)Xd===""?Xd=Wd[Jd]:Xd!==Wd[Jd]||(Xd="");else if(Wd[Jd]===">"&&Xd===""){pf=!0;break}_f+=Wd[Jd]}return Xd!==""?!1:{value:_f,index:Jd,tagClosed:pf}}const Od=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function kd(Wd,Jd){const _f=ud.getAllMatches(Wd,Od),Xd={};for(let pf=0;pf<_f.length;pf++){if(_f[pf][1].length===0)return jd("InvalidAttr","Attribute '"+_f[pf][2]+"' has no space in starting.",zd(_f[pf]));if(_f[pf][3]!==void 0&&_f[pf][4]===void 0)return jd("InvalidAttr","Attribute '"+_f[pf][2]+"' is without value.",zd(_f[pf]));if(_f[pf][3]===void 0&&!Jd.allowBooleanAttributes)return jd("InvalidAttr","boolean attribute '"+_f[pf][2]+"' is not allowed.",zd(_f[pf]));const mf=_f[pf][2];if(!Fd(mf))return jd("InvalidAttr","Attribute '"+mf+"' is an invalid name.",zd(_f[pf]));if(!Xd.hasOwnProperty(mf))Xd[mf]=1;else return jd("InvalidAttr","Attribute '"+mf+"' is repeated.",zd(_f[pf]))}return!0}function Ld(Wd,Jd){let _f=/\d/;for(Wd[Jd]==="x"&&(Jd++,_f=/[\da-fA-F]/);Jd<Wd.length;Jd++){if(Wd[Jd]===";")return Jd;if(!Wd[Jd].match(_f))break}return-1}function Gd(Wd,Jd){if(Jd++,Wd[Jd]===";")return-1;if(Wd[Jd]==="#")return Jd++,Ld(Wd,Jd);let _f=0;for(;Jd<Wd.length;Jd++,_f++)if(!(Wd[Jd].match(/\w/)&&_f<20)){if(Wd[Jd]===";")break;return-1}return Jd}function jd(Wd,Jd,_f){return{err:{code:Wd,msg:Jd,line:_f.line||_f,col:_f.col}}}function Fd(Wd){return ud.isName(Wd)}function Ud(Wd){return ud.isName(Wd)}function qd(Wd,Jd){const _f=Wd.substring(0,Jd).split(/\r?\n/);return{line:_f.length,col:_f[_f.length-1].length+1}}function zd(Wd){return Wd.startIndex+Wd[1].length}},"./node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js":function(nd,od,ld){const ud=ld("./node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js"),dd={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(Ad,Nd){return Nd},attributeValueProcessor:function(Ad,Nd){return Nd},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&amp;"},{regex:new RegExp(">","g"),val:"&gt;"},{regex:new RegExp("<","g"),val:"&lt;"},{regex:new RegExp("'","g"),val:"&apos;"},{regex:new RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1};function pd(Ad){this.options=Object.assign({},dd,Ad),this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=vd),this.processTextOrObjNode=fd,this.options.format?(this.indentate=md,this.tagEndChar=`>
`,this.newLine=`
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}pd.prototype.build=function(Ad){return this.options.preserveOrder?ud(Ad,this.options):(Array.isArray(Ad)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(Ad={[this.options.arrayNodeName]:Ad}),this.j2x(Ad,0).val)},pd.prototype.j2x=function(Ad,Nd){let Od="",kd="";for(let Ld in Ad)if(Object.prototype.hasOwnProperty.call(Ad,Ld))if(typeof Ad[Ld]>"u")this.isAttribute(Ld)&&(kd+="");else if(Ad[Ld]===null)this.isAttribute(Ld)?kd+="":Ld[0]==="?"?kd+=this.indentate(Nd)+"<"+Ld+"?"+this.tagEndChar:kd+=this.indentate(Nd)+"<"+Ld+"/"+this.tagEndChar;else if(Ad[Ld]instanceof Date)kd+=this.buildTextValNode(Ad[Ld],Ld,"",Nd);else if(typeof Ad[Ld]!="object"){const Gd=this.isAttribute(Ld);if(Gd)Od+=this.buildAttrPairStr(Gd,""+Ad[Ld]);else if(Ld===this.options.textNodeName){let jd=this.options.tagValueProcessor(Ld,""+Ad[Ld]);kd+=this.replaceEntitiesValue(jd)}else kd+=this.buildTextValNode(Ad[Ld],Ld,"",Nd)}else if(Array.isArray(Ad[Ld])){const Gd=Ad[Ld].length;let jd="";for(let Fd=0;Fd<Gd;Fd++){const Ud=Ad[Ld][Fd];typeof Ud>"u"||(Ud===null?Ld[0]==="?"?kd+=this.indentate(Nd)+"<"+Ld+"?"+this.tagEndChar:kd+=this.indentate(Nd)+"<"+Ld+"/"+this.tagEndChar:typeof Ud=="object"?this.options.oneListGroup?jd+=this.j2x(Ud,Nd+1).val:jd+=this.processTextOrObjNode(Ud,Ld,Nd):jd+=this.buildTextValNode(Ud,Ld,"",Nd))}this.options.oneListGroup&&(jd=this.buildObjectNode(jd,Ld,"",Nd)),kd+=jd}else if(this.options.attributesGroupName&&Ld===this.options.attributesGroupName){const Gd=Object.keys(Ad[Ld]),jd=Gd.length;for(let Fd=0;Fd<jd;Fd++)Od+=this.buildAttrPairStr(Gd[Fd],""+Ad[Ld][Gd[Fd]])}else kd+=this.processTextOrObjNode(Ad[Ld],Ld,Nd);return{attrStr:Od,val:kd}},pd.prototype.buildAttrPairStr=function(Ad,Nd){return Nd=this.options.attributeValueProcessor(Ad,""+Nd),Nd=this.replaceEntitiesValue(Nd),this.options.suppressBooleanAttributes&&Nd==="true"?" "+Ad:" "+Ad+'="'+Nd+'"'};function fd(Ad,Nd,Od){const kd=this.j2x(Ad,Od+1);return Ad[this.options.textNodeName]!==void 0&&Object.keys(Ad).length===1?this.buildTextValNode(Ad[this.options.textNodeName],Nd,kd.attrStr,Od):this.buildObjectNode(kd.val,Nd,kd.attrStr,Od)}pd.prototype.buildObjectNode=function(Ad,Nd,Od,kd){if(Ad==="")return Nd[0]==="?"?this.indentate(kd)+"<"+Nd+Od+"?"+this.tagEndChar:this.indentate(kd)+"<"+Nd+Od+this.closeTag(Nd)+this.tagEndChar;{let Ld="</"+Nd+this.tagEndChar,Gd="";return Nd[0]==="?"&&(Gd="?",Ld=""),(Od||Od==="")&&Ad.indexOf("<")===-1?this.indentate(kd)+"<"+Nd+Od+Gd+">"+Ad+Ld:this.options.commentPropName!==!1&&Nd===this.options.commentPropName&&Gd.length===0?this.indentate(kd)+`<!--${Ad}-->`+this.newLine:this.indentate(kd)+"<"+Nd+Od+Gd+this.tagEndChar+Ad+this.indentate(kd)+Ld}},pd.prototype.closeTag=function(Ad){let Nd="";return this.options.unpairedTags.indexOf(Ad)!==-1?this.options.suppressUnpairedNode||(Nd="/"):this.options.suppressEmptyNode?Nd="/":Nd=`></${Ad}`,Nd},pd.prototype.buildTextValNode=function(Ad,Nd,Od,kd){if(this.options.cdataPropName!==!1&&Nd===this.options.cdataPropName)return this.indentate(kd)+`<![CDATA[${Ad}]]>`+this.newLine;if(this.options.commentPropName!==!1&&Nd===this.options.commentPropName)return this.indentate(kd)+`<!--${Ad}-->`+this.newLine;if(Nd[0]==="?")return this.indentate(kd)+"<"+Nd+Od+"?"+this.tagEndChar;{let Ld=this.options.tagValueProcessor(Nd,Ad);return Ld=this.replaceEntitiesValue(Ld),Ld===""?this.indentate(kd)+"<"+Nd+Od+this.closeTag(Nd)+this.tagEndChar:this.indentate(kd)+"<"+Nd+Od+">"+Ld+"</"+Nd+this.tagEndChar}},pd.prototype.replaceEntitiesValue=function(Ad){if(Ad&&Ad.length>0&&this.options.processEntities)for(let Nd=0;Nd<this.options.entities.length;Nd++){const Od=this.options.entities[Nd];Ad=Ad.replace(Od.regex,Od.val)}return Ad};function md(Ad){return this.options.indentBy.repeat(Ad)}function vd(Ad){return Ad.startsWith(this.options.attributeNamePrefix)&&Ad!==this.options.textNodeName?Ad.substr(this.attrPrefixLen):!1}nd.exports=pd},"./node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js":function(nd,od){const ld=`
`;function ud(Ad,Nd){let Od="";return Nd.format&&Nd.indentBy.length>0&&(Od=ld),dd(Ad,Nd,"",Od)}function dd(Ad,Nd,Od,kd){let Ld="",Gd=!1;for(let jd=0;jd<Ad.length;jd++){const Fd=Ad[jd],Ud=pd(Fd);if(Ud===void 0)continue;let qd="";if(Od.length===0?qd=Ud:qd=`${Od}.${Ud}`,Ud===Nd.textNodeName){let Xd=Fd[Ud];md(qd,Nd)||(Xd=Nd.tagValueProcessor(Ud,Xd),Xd=vd(Xd,Nd)),Gd&&(Ld+=kd),Ld+=Xd,Gd=!1;continue}else if(Ud===Nd.cdataPropName){Gd&&(Ld+=kd),Ld+=`<![CDATA[${Fd[Ud][0][Nd.textNodeName]}]]>`,Gd=!1;continue}else if(Ud===Nd.commentPropName){Ld+=kd+`<!--${Fd[Ud][0][Nd.textNodeName]}-->`,Gd=!0;continue}else if(Ud[0]==="?"){const Xd=fd(Fd[":@"],Nd),pf=Ud==="?xml"?"":kd;let mf=Fd[Ud][0][Nd.textNodeName];mf=mf.length!==0?" "+mf:"",Ld+=pf+`<${Ud}${mf}${Xd}?>`,Gd=!0;continue}let zd=kd;zd!==""&&(zd+=Nd.indentBy);const Wd=fd(Fd[":@"],Nd),Jd=kd+`<${Ud}${Wd}`,_f=dd(Fd[Ud],Nd,qd,zd);Nd.unpairedTags.indexOf(Ud)!==-1?Nd.suppressUnpairedNode?Ld+=Jd+">":Ld+=Jd+"/>":(!_f||_f.length===0)&&Nd.suppressEmptyNode?Ld+=Jd+"/>":_f&&_f.endsWith(">")?Ld+=Jd+`>${_f}${kd}</${Ud}>`:(Ld+=Jd+">",_f&&kd!==""&&(_f.includes("/>")||_f.includes("</"))?Ld+=kd+Nd.indentBy+_f+kd:Ld+=_f,Ld+=`</${Ud}>`),Gd=!0}return Ld}function pd(Ad){const Nd=Object.keys(Ad);for(let Od=0;Od<Nd.length;Od++){const kd=Nd[Od];if(Ad.hasOwnProperty(kd)&&kd!==":@")return kd}}function fd(Ad,Nd){let Od="";if(Ad&&!Nd.ignoreAttributes)for(let kd in Ad){if(!Ad.hasOwnProperty(kd))continue;let Ld=Nd.attributeValueProcessor(kd,Ad[kd]);Ld=vd(Ld,Nd),Ld===!0&&Nd.suppressBooleanAttributes?Od+=` ${kd.substr(Nd.attributeNamePrefix.length)}`:Od+=` ${kd.substr(Nd.attributeNamePrefix.length)}="${Ld}"`}return Od}function md(Ad,Nd){Ad=Ad.substr(0,Ad.length-Nd.textNodeName.length-1);let Od=Ad.substr(Ad.lastIndexOf(".")+1);for(let kd in Nd.stopNodes)if(Nd.stopNodes[kd]===Ad||Nd.stopNodes[kd]==="*."+Od)return!0;return!1}function vd(Ad,Nd){if(Ad&&Ad.length>0&&Nd.processEntities)for(let Od=0;Od<Nd.entities.length;Od++){const kd=Nd.entities[Od];Ad=Ad.replace(kd.regex,kd.val)}return Ad}nd.exports=ud},"./node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js":function(nd,od,ld){const ud=ld("./node_modules/fast-xml-parser/src/util.js");function dd(kd,Ld){const Gd={};if(kd[Ld+3]==="O"&&kd[Ld+4]==="C"&&kd[Ld+5]==="T"&&kd[Ld+6]==="Y"&&kd[Ld+7]==="P"&&kd[Ld+8]==="E"){Ld=Ld+9;let jd=1,Fd=!1,Ud=!1,qd="";for(;Ld<kd.length;Ld++)if(kd[Ld]==="<"&&!Ud){if(Fd&&md(kd,Ld))Ld+=7,[entityName,val,Ld]=pd(kd,Ld+1),val.indexOf("&")===-1&&(Gd[Od(entityName)]={regx:RegExp(`&${entityName};`,"g"),val});else if(Fd&&vd(kd,Ld))Ld+=8;else if(Fd&&Ad(kd,Ld))Ld+=8;else if(Fd&&Nd(kd,Ld))Ld+=9;else if(fd)Ud=!0;else throw new Error("Invalid DOCTYPE");jd++,qd=""}else if(kd[Ld]===">"){if(Ud?kd[Ld-1]==="-"&&kd[Ld-2]==="-"&&(Ud=!1,jd--):jd--,jd===0)break}else kd[Ld]==="["?Fd=!0:qd+=kd[Ld];if(jd!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:Gd,i:Ld}}function pd(kd,Ld){let Gd="";for(;Ld<kd.length&&kd[Ld]!=="'"&&kd[Ld]!=='"';Ld++)Gd+=kd[Ld];if(Gd=Gd.trim(),Gd.indexOf(" ")!==-1)throw new Error("External entites are not supported");const jd=kd[Ld++];let Fd="";for(;Ld<kd.length&&kd[Ld]!==jd;Ld++)Fd+=kd[Ld];return[Gd,Fd,Ld]}function fd(kd,Ld){return kd[Ld+1]==="!"&&kd[Ld+2]==="-"&&kd[Ld+3]==="-"}function md(kd,Ld){return kd[Ld+1]==="!"&&kd[Ld+2]==="E"&&kd[Ld+3]==="N"&&kd[Ld+4]==="T"&&kd[Ld+5]==="I"&&kd[Ld+6]==="T"&&kd[Ld+7]==="Y"}function vd(kd,Ld){return kd[Ld+1]==="!"&&kd[Ld+2]==="E"&&kd[Ld+3]==="L"&&kd[Ld+4]==="E"&&kd[Ld+5]==="M"&&kd[Ld+6]==="E"&&kd[Ld+7]==="N"&&kd[Ld+8]==="T"}function Ad(kd,Ld){return kd[Ld+1]==="!"&&kd[Ld+2]==="A"&&kd[Ld+3]==="T"&&kd[Ld+4]==="T"&&kd[Ld+5]==="L"&&kd[Ld+6]==="I"&&kd[Ld+7]==="S"&&kd[Ld+8]==="T"}function Nd(kd,Ld){return kd[Ld+1]==="!"&&kd[Ld+2]==="N"&&kd[Ld+3]==="O"&&kd[Ld+4]==="T"&&kd[Ld+5]==="A"&&kd[Ld+6]==="T"&&kd[Ld+7]==="I"&&kd[Ld+8]==="O"&&kd[Ld+9]==="N"}function Od(kd){if(ud.isName(kd))return kd;throw new Error(`Invalid entity name ${kd}`)}nd.exports=dd},"./node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js":function(nd,od){const ld={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(dd,pd){return pd},attributeValueProcessor:function(dd,pd){return pd},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(dd,pd,fd){return dd}},ud=function(dd){return Object.assign({},ld,dd)};od.buildOptions=ud,od.defaultOptions=ld},"./node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js":function(nd,od,ld){const ud=ld("./node_modules/fast-xml-parser/src/util.js"),dd=ld("./node_modules/fast-xml-parser/src/xmlparser/xmlNode.js"),pd=ld("./node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js"),fd=ld("./node_modules/strnum/strnum.js");class md{constructor(pf){this.options=pf,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(mf,Sf)=>String.fromCharCode(Number.parseInt(Sf,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(mf,Sf)=>String.fromCharCode(Number.parseInt(Sf,16))}},this.addExternalEntities=vd,this.parseXml=Ld,this.parseTextData=Ad,this.resolveNameSpace=Nd,this.buildAttributesMap=kd,this.isItStopNode=Ud,this.replaceEntitiesValue=jd,this.readStopNodeData=Jd,this.saveTextToParentTag=Fd,this.addChild=Gd}}function vd(Xd){const pf=Object.keys(Xd);for(let mf=0;mf<pf.length;mf++){const Sf=pf[mf];this.lastEntities[Sf]={regex:new RegExp("&"+Sf+";","g"),val:Xd[Sf]}}}function Ad(Xd,pf,mf,Sf,Tf,Af,Ef){if(Xd!==void 0&&(this.options.trimValues&&!Sf&&(Xd=Xd.trim()),Xd.length>0)){Ef||(Xd=this.replaceEntitiesValue(Xd));const Nf=this.options.tagValueProcessor(pf,Xd,mf,Tf,Af);return Nf==null?Xd:typeof Nf!=typeof Xd||Nf!==Xd?Nf:this.options.trimValues?_f(Xd,this.options.parseTagValue,this.options.numberParseOptions):Xd.trim()===Xd?_f(Xd,this.options.parseTagValue,this.options.numberParseOptions):Xd}}function Nd(Xd){if(this.options.removeNSPrefix){const pf=Xd.split(":"),mf=Xd.charAt(0)==="/"?"/":"";if(pf[0]==="xmlns")return"";pf.length===2&&(Xd=mf+pf[1])}return Xd}const Od=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function kd(Xd,pf,mf){if(!this.options.ignoreAttributes&&typeof Xd=="string"){const Sf=ud.getAllMatches(Xd,Od),Tf=Sf.length,Af={};for(let Ef=0;Ef<Tf;Ef++){const Nf=this.resolveNameSpace(Sf[Ef][1]);let If=Sf[Ef][4],Gf=this.options.attributeNamePrefix+Nf;if(Nf.length)if(this.options.transformAttributeName&&(Gf=this.options.transformAttributeName(Gf)),Gf==="__proto__"&&(Gf="#__proto__"),If!==void 0){this.options.trimValues&&(If=If.trim()),If=this.replaceEntitiesValue(If);const Qf=this.options.attributeValueProcessor(Nf,If,pf);Qf==null?Af[Gf]=If:typeof Qf!=typeof If||Qf!==If?Af[Gf]=Qf:Af[Gf]=_f(If,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(Af[Gf]=!0)}if(!Object.keys(Af).length)return;if(this.options.attributesGroupName){const Ef={};return Ef[this.options.attributesGroupName]=Af,Ef}return Af}}const Ld=function(Xd){Xd=Xd.replace(/\r\n?/g,`
`);const pf=new dd("!xml");let mf=pf,Sf="",Tf="";for(let Af=0;Af<Xd.length;Af++)if(Xd[Af]==="<")if(Xd[Af+1]==="/"){const Nf=zd(Xd,">",Af,"Closing Tag is not closed.");let If=Xd.substring(Af+2,Nf).trim();if(this.options.removeNSPrefix){const Xf=If.indexOf(":");Xf!==-1&&(If=If.substr(Xf+1))}this.options.transformTagName&&(If=this.options.transformTagName(If)),mf&&(Sf=this.saveTextToParentTag(Sf,mf,Tf));const Gf=Tf.substring(Tf.lastIndexOf(".")+1);if(If&&this.options.unpairedTags.indexOf(If)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: </${If}>`);let Qf=0;Gf&&this.options.unpairedTags.indexOf(Gf)!==-1?(Qf=Tf.lastIndexOf(".",Tf.lastIndexOf(".")-1),this.tagsNodeStack.pop()):Qf=Tf.lastIndexOf("."),Tf=Tf.substring(0,Qf),mf=this.tagsNodeStack.pop(),Sf="",Af=Nf}else if(Xd[Af+1]==="?"){let Nf=Wd(Xd,Af,!1,"?>");if(!Nf)throw new Error("Pi Tag is not closed.");if(Sf=this.saveTextToParentTag(Sf,mf,Tf),!(this.options.ignoreDeclaration&&Nf.tagName==="?xml"||this.options.ignorePiTags)){const If=new dd(Nf.tagName);If.add(this.options.textNodeName,""),Nf.tagName!==Nf.tagExp&&Nf.attrExpPresent&&(If[":@"]=this.buildAttributesMap(Nf.tagExp,Tf,Nf.tagName)),this.addChild(mf,If,Tf)}Af=Nf.closeIndex+1}else if(Xd.substr(Af+1,3)==="!--"){const Nf=zd(Xd,"-->",Af+4,"Comment is not closed.");if(this.options.commentPropName){const If=Xd.substring(Af+4,Nf-2);Sf=this.saveTextToParentTag(Sf,mf,Tf),mf.add(this.options.commentPropName,[{[this.options.textNodeName]:If}])}Af=Nf}else if(Xd.substr(Af+1,2)==="!D"){const Nf=pd(Xd,Af);this.docTypeEntities=Nf.entities,Af=Nf.i}else if(Xd.substr(Af+1,2)==="!["){const Nf=zd(Xd,"]]>",Af,"CDATA is not closed.")-2,If=Xd.substring(Af+9,Nf);Sf=this.saveTextToParentTag(Sf,mf,Tf);let Gf=this.parseTextData(If,mf.tagname,Tf,!0,!1,!0,!0);Gf==null&&(Gf=""),this.options.cdataPropName?mf.add(this.options.cdataPropName,[{[this.options.textNodeName]:If}]):mf.add(this.options.textNodeName,Gf),Af=Nf+2}else{let Nf=Wd(Xd,Af,this.options.removeNSPrefix),If=Nf.tagName;const Gf=Nf.rawTagName;let Qf=Nf.tagExp,Xf=Nf.attrExpPresent,ph=Nf.closeIndex;this.options.transformTagName&&(If=this.options.transformTagName(If)),mf&&Sf&&mf.tagname!=="!xml"&&(Sf=this.saveTextToParentTag(Sf,mf,Tf,!1));const qf=mf;if(qf&&this.options.unpairedTags.indexOf(qf.tagname)!==-1&&(mf=this.tagsNodeStack.pop(),Tf=Tf.substring(0,Tf.lastIndexOf("."))),If!==pf.tagname&&(Tf+=Tf?"."+If:If),this.isItStopNode(this.options.stopNodes,Tf,If)){let Lf="";if(Qf.length>0&&Qf.lastIndexOf("/")===Qf.length-1)If[If.length-1]==="/"?(If=If.substr(0,If.length-1),Tf=Tf.substr(0,Tf.length-1),Qf=If):Qf=Qf.substr(0,Qf.length-1),Af=Nf.closeIndex;else if(this.options.unpairedTags.indexOf(If)!==-1)Af=Nf.closeIndex;else{const Jf=this.readStopNodeData(Xd,Gf,ph+1);if(!Jf)throw new Error(`Unexpected end of ${Gf}`);Af=Jf.i,Lf=Jf.tagContent}const Wf=new dd(If);If!==Qf&&Xf&&(Wf[":@"]=this.buildAttributesMap(Qf,Tf,If)),Lf&&(Lf=this.parseTextData(Lf,If,Tf,!0,Xf,!0,!0)),Tf=Tf.substr(0,Tf.lastIndexOf(".")),Wf.add(this.options.textNodeName,Lf),this.addChild(mf,Wf,Tf)}else{if(Qf.length>0&&Qf.lastIndexOf("/")===Qf.length-1){If[If.length-1]==="/"?(If=If.substr(0,If.length-1),Tf=Tf.substr(0,Tf.length-1),Qf=If):Qf=Qf.substr(0,Qf.length-1),this.options.transformTagName&&(If=this.options.transformTagName(If));const Lf=new dd(If);If!==Qf&&Xf&&(Lf[":@"]=this.buildAttributesMap(Qf,Tf,If)),this.addChild(mf,Lf,Tf),Tf=Tf.substr(0,Tf.lastIndexOf("."))}else{const Lf=new dd(If);this.tagsNodeStack.push(mf),If!==Qf&&Xf&&(Lf[":@"]=this.buildAttributesMap(Qf,Tf,If)),this.addChild(mf,Lf,Tf),mf=Lf}Sf="",Af=ph}}else Sf+=Xd[Af];return pf.child};function Gd(Xd,pf,mf){const Sf=this.options.updateTag(pf.tagname,mf,pf[":@"]);Sf===!1||(typeof Sf=="string"&&(pf.tagname=Sf),Xd.addChild(pf))}const jd=function(Xd){if(this.options.processEntities){for(let pf in this.docTypeEntities){const mf=this.docTypeEntities[pf];Xd=Xd.replace(mf.regx,mf.val)}for(let pf in this.lastEntities){const mf=this.lastEntities[pf];Xd=Xd.replace(mf.regex,mf.val)}if(this.options.htmlEntities)for(let pf in this.htmlEntities){const mf=this.htmlEntities[pf];Xd=Xd.replace(mf.regex,mf.val)}Xd=Xd.replace(this.ampEntity.regex,this.ampEntity.val)}return Xd};function Fd(Xd,pf,mf,Sf){return Xd&&(Sf===void 0&&(Sf=Object.keys(pf.child).length===0),Xd=this.parseTextData(Xd,pf.tagname,mf,!1,pf[":@"]?Object.keys(pf[":@"]).length!==0:!1,Sf),Xd!==void 0&&Xd!==""&&pf.add(this.options.textNodeName,Xd),Xd=""),Xd}function Ud(Xd,pf,mf){const Sf="*."+mf;for(const Tf in Xd){const Af=Xd[Tf];if(Sf===Af||pf===Af)return!0}return!1}function qd(Xd,pf,mf=">"){let Sf,Tf="";for(let Af=pf;Af<Xd.length;Af++){let Ef=Xd[Af];if(Sf)Ef===Sf&&(Sf="");else if(Ef==='"'||Ef==="'")Sf=Ef;else if(Ef===mf[0])if(mf[1]){if(Xd[Af+1]===mf[1])return{data:Tf,index:Af}}else return{data:Tf,index:Af};else Ef===" "&&(Ef=" ");Tf+=Ef}}function zd(Xd,pf,mf,Sf){const Tf=Xd.indexOf(pf,mf);if(Tf===-1)throw new Error(Sf);return Tf+pf.length-1}function Wd(Xd,pf,mf,Sf=">"){const Tf=qd(Xd,pf+1,Sf);if(!Tf)return;let Af=Tf.data;const Ef=Tf.index,Nf=Af.search(/\s/);let If=Af,Gf=!0;Nf!==-1&&(If=Af.substring(0,Nf),Af=Af.substring(Nf+1).trimStart());const Qf=If;if(mf){const Xf=If.indexOf(":");Xf!==-1&&(If=If.substr(Xf+1),Gf=If!==Tf.data.substr(Xf+1))}return{tagName:If,tagExp:Af,closeIndex:Ef,attrExpPresent:Gf,rawTagName:Qf}}function Jd(Xd,pf,mf){const Sf=mf;let Tf=1;for(;mf<Xd.length;mf++)if(Xd[mf]==="<")if(Xd[mf+1]==="/"){const Af=zd(Xd,">",mf,`${pf} is not closed`);if(Xd.substring(mf+2,Af).trim()===pf&&(Tf--,Tf===0))return{tagContent:Xd.substring(Sf,mf),i:Af};mf=Af}else if(Xd[mf+1]==="?")mf=zd(Xd,"?>",mf+1,"StopNode is not closed.");else if(Xd.substr(mf+1,3)==="!--")mf=zd(Xd,"-->",mf+3,"StopNode is not closed.");else if(Xd.substr(mf+1,2)==="![")mf=zd(Xd,"]]>",mf,"StopNode is not closed.")-2;else{const Af=Wd(Xd,mf,">");Af&&((Af&&Af.tagName)===pf&&Af.tagExp[Af.tagExp.length-1]!=="/"&&Tf++,mf=Af.closeIndex)}}function _f(Xd,pf,mf){if(pf&&typeof Xd=="string"){const Sf=Xd.trim();return Sf==="true"?!0:Sf==="false"?!1:fd(Xd,mf)}else return ud.isExist(Xd)?Xd:""}nd.exports=md},"./node_modules/fast-xml-parser/src/xmlparser/XMLParser.js":function(nd,od,ld){const{buildOptions:ud}=ld("./node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js"),dd=ld("./node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js"),{prettify:pd}=ld("./node_modules/fast-xml-parser/src/xmlparser/node2json.js"),fd=ld("./node_modules/fast-xml-parser/src/validator.js");class md{constructor(Ad){this.externalEntities={},this.options=ud(Ad)}parse(Ad,Nd){if(typeof Ad!="string")if(Ad.toString)Ad=Ad.toString();else throw new Error("XML data is accepted in String or Bytes[] form.");if(Nd){Nd===!0&&(Nd={});const Ld=fd.validate(Ad,Nd);if(Ld!==!0)throw Error(`${Ld.err.msg}:${Ld.err.line}:${Ld.err.col}`)}const Od=new dd(this.options);Od.addExternalEntities(this.externalEntities);const kd=Od.parseXml(Ad);return this.options.preserveOrder||kd===void 0?kd:pd(kd,this.options)}addEntity(Ad,Nd){if(Nd.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");if(Ad.indexOf("&")!==-1||Ad.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if(Nd==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[Ad]=Nd}}nd.exports=md},"./node_modules/fast-xml-parser/src/xmlparser/node2json.js":function(nd,od,ld){function ud(vd,Ad){return dd(vd,Ad)}function dd(vd,Ad,Nd){let Od;const kd={};for(let Ld=0;Ld<vd.length;Ld++){const Gd=vd[Ld],jd=pd(Gd);let Fd="";if(Nd===void 0?Fd=jd:Fd=Nd+"."+jd,jd===Ad.textNodeName)Od===void 0?Od=Gd[jd]:Od+=""+Gd[jd];else{if(jd===void 0)continue;if(Gd[jd]){let Ud=dd(Gd[jd],Ad,Fd);const qd=md(Ud,Ad);Gd[":@"]?fd(Ud,Gd[":@"],Fd,Ad):Object.keys(Ud).length===1&&Ud[Ad.textNodeName]!==void 0&&!Ad.alwaysCreateTextNode?Ud=Ud[Ad.textNodeName]:Object.keys(Ud).length===0&&(Ad.alwaysCreateTextNode?Ud[Ad.textNodeName]="":Ud=""),kd[jd]!==void 0&&kd.hasOwnProperty(jd)?(Array.isArray(kd[jd])||(kd[jd]=[kd[jd]]),kd[jd].push(Ud)):Ad.isArray(jd,Fd,qd)?kd[jd]=[Ud]:kd[jd]=Ud}}}return typeof Od=="string"?Od.length>0&&(kd[Ad.textNodeName]=Od):Od!==void 0&&(kd[Ad.textNodeName]=Od),kd}function pd(vd){const Ad=Object.keys(vd);for(let Nd=0;Nd<Ad.length;Nd++){const Od=Ad[Nd];if(Od!==":@")return Od}}function fd(vd,Ad,Nd,Od){if(Ad){const kd=Object.keys(Ad),Ld=kd.length;for(let Gd=0;Gd<Ld;Gd++){const jd=kd[Gd];Od.isArray(jd,Nd+"."+jd,!0,!0)?vd[jd]=[Ad[jd]]:vd[jd]=Ad[jd]}}}function md(vd,Ad){const{textNodeName:Nd}=Ad,Od=Object.keys(vd).length;return!!(Od===0||Od===1&&(vd[Nd]||typeof vd[Nd]=="boolean"||vd[Nd]===0))}od.prettify=ud},"./node_modules/fast-xml-parser/src/xmlparser/xmlNode.js":function(nd,od,ld){class ud{constructor(pd){this.tagname=pd,this.child=[],this[":@"]={}}add(pd,fd){pd==="__proto__"&&(pd="#__proto__"),this.child.push({[pd]:fd})}addChild(pd){pd.tagname==="__proto__"&&(pd.tagname="#__proto__"),pd[":@"]&&Object.keys(pd[":@"]).length>0?this.child.push({[pd.tagname]:pd.child,":@":pd[":@"]}):this.child.push({[pd.tagname]:pd.child})}}nd.exports=ud},"./node_modules/process/browser.js":function(nd,od){var ld=nd.exports={},ud,dd;function pd(){throw new Error("setTimeout has not been defined")}function fd(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?ud=setTimeout:ud=pd}catch{ud=pd}try{typeof clearTimeout=="function"?dd=clearTimeout:dd=fd}catch{dd=fd}})();function md(Ud){if(ud===setTimeout)return setTimeout(Ud,0);if((ud===pd||!ud)&&setTimeout)return ud=setTimeout,setTimeout(Ud,0);try{return ud(Ud,0)}catch{try{return ud.call(null,Ud,0)}catch{return ud.call(this,Ud,0)}}}function vd(Ud){if(dd===clearTimeout)return clearTimeout(Ud);if((dd===fd||!dd)&&clearTimeout)return dd=clearTimeout,clearTimeout(Ud);try{return dd(Ud)}catch{try{return dd.call(null,Ud)}catch{return dd.call(this,Ud)}}}var Ad=[],Nd=!1,Od,kd=-1;function Ld(){!Nd||!Od||(Nd=!1,Od.length?Ad=Od.concat(Ad):kd=-1,Ad.length&&Gd())}function Gd(){if(!Nd){var Ud=md(Ld);Nd=!0;for(var qd=Ad.length;qd;){for(Od=Ad,Ad=[];++kd<qd;)Od&&Od[kd].run();kd=-1,qd=Ad.length}Od=null,Nd=!1,vd(Ud)}}ld.nextTick=function(Ud){var qd=new Array(arguments.length-1);if(arguments.length>1)for(var zd=1;zd<arguments.length;zd++)qd[zd-1]=arguments[zd];Ad.push(new jd(Ud,qd)),Ad.length===1&&!Nd&&md(Gd)};function jd(Ud,qd){this.fun=Ud,this.array=qd}jd.prototype.run=function(){this.fun.apply(null,this.array)},ld.title="browser",ld.browser=!0,ld.env={},ld.argv=[],ld.version="",ld.versions={};function Fd(){}ld.on=Fd,ld.addListener=Fd,ld.once=Fd,ld.off=Fd,ld.removeListener=Fd,ld.removeAllListeners=Fd,ld.emit=Fd,ld.prependListener=Fd,ld.prependOnceListener=Fd,ld.listeners=function(Ud){return[]},ld.binding=function(Ud){throw new Error("process.binding is not supported")},ld.cwd=function(){return"/"},ld.chdir=function(Ud){throw new Error("process.chdir is not supported")},ld.umask=function(){return 0}},"./node_modules/strnum/strnum.js":function(nd,od){const ld=/^[-+]?0x[a-fA-F0-9]+$/,ud=/^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/;!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt),!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);const dd={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};function pd(md,vd={}){if(vd=Object.assign({},dd,vd),!md||typeof md!="string")return md;let Ad=md.trim();if(vd.skipLike!==void 0&&vd.skipLike.test(Ad))return md;if(vd.hex&&ld.test(Ad))return Number.parseInt(Ad,16);{const Nd=ud.exec(Ad);if(Nd){const Od=Nd[1],kd=Nd[2];let Ld=fd(Nd[3]);const Gd=Nd[4]||Nd[6];if(!vd.leadingZeros&&kd.length>0&&Od&&Ad[2]!==".")return md;if(!vd.leadingZeros&&kd.length>0&&!Od&&Ad[1]!==".")return md;{const jd=Number(Ad),Fd=""+jd;return Fd.search(/[eE]/)!==-1||Gd?vd.eNotation?jd:md:Ad.indexOf(".")!==-1?Fd==="0"&&Ld===""||Fd===Ld||Od&&Fd==="-"+Ld?jd:md:kd?Ld===Fd||Od+Ld===Fd?jd:md:Ad===Fd||Ad===Od+Fd?jd:md}}else return md}}function fd(md){return md&&md.indexOf(".")!==-1&&(md=md.replace(/0+$/,""),md==="."?md="0":md[0]==="."?md="0"+md:md[md.length-1]==="."&&(md=md.substr(0,md.length-1))),md}nd.exports=pd},"./node_modules/webpack/buildin/amd-options.js":function(nd,od){(function(ld){nd.exports=ld}).call(this,{})},"./node_modules/webpack/buildin/module.js":function(nd,od){nd.exports=function(ld){return ld.webpackPolyfill||(ld.deprecate=function(){},ld.paths=[],ld.children||(ld.children=[]),Object.defineProperty(ld,"loaded",{enumerable:!0,get:function(){return ld.l}}),Object.defineProperty(ld,"id",{enumerable:!0,get:function(){return ld.i}}),ld.webpackPolyfill=1),ld}},"./package.json":function(nd){nd.exports=JSON.parse('{"name":"cos-js-sdk-v5","version":"1.8.6","description":"JavaScript SDK for [腾讯云对象存储](https://cloud.tencent.com/product/cos)","main":"dist/cos-js-sdk-v5.js","types":"index.d.ts","scripts":{"prettier":"prettier --write src demo/demo.js demo/CIDemos/*.js test/test.js server/sts.js lib/request.js index.d.ts","server":"node server/sts.js","dev":"cross-env NODE_ENV=development webpack -w --mode=development","build":"cross-env NODE_ENV=production webpack --mode=production","cos-auth.min.js":"uglifyjs ./demo/common/cos-auth.js -o ./demo/common/cos-auth.min.js -c -m","test":"jest --runInBand --coverage"},"repository":{"type":"git","url":"git+https://github.com/tencentyun/cos-js-sdk-v5.git"},"keywords":[],"author":"carsonxu","license":"ISC","bugs":{"url":"https://github.com/tencentyun/cos-js-sdk-v5/issues"},"homepage":"https://github.com/tencentyun/cos-js-sdk-v5#readme","dependencies":{"fast-xml-parser":"^4.4.0"},"devDependencies":{"@babel/core":"7.17.9","@babel/plugin-transform-runtime":"7.18.10","@babel/preset-env":"7.16.11","babel-loader":"8.2.5","body-parser":"^1.18.3","cross-env":"^5.2.0","express":"^4.16.4","jest":"^29.3.1","jest-environment-jsdom":"^29.3.1","prettier":"^3.0.1","qcloud-cos-sts":"^3.0.2","request":"^2.87.0","terser-webpack-plugin":"4.2.3","uglifyjs":"^2.4.11","webpack":"4.46.0","webpack-cli":"4.10.0"}}')},"./src/advance.js":function(nd,od,ld){var ud=ld("./node_modules/@babel/runtime/helpers/typeof.js"),dd=ld("./src/session.js"),pd=ld("./src/async.js"),fd=ld("./src/event.js").EventProxy,md=ld("./src/util.js"),vd=ld("./src/tracker.js");function Ad(Xd,pf){var mf=this,Sf=new fd,Tf=Xd.TaskId,Af=Xd.Bucket,Ef=Xd.Region,Nf=Xd.Key,If=Xd.Body,Gf=Xd.ChunkSize||Xd.SliceSize||mf.options.ChunkSize,Qf=Xd.AsyncLimit,Xf=Xd.StorageClass,ph=Xd.ServerSideEncryption,qf,Lf,Wf=Xd.onHashProgress,Jf=Xd.tracker;Jf&&Jf.setParams({chunkSize:Gf}),Sf.on("error",function(Kf){if(mf._isRunningTask(Tf))return Xd.UploadData.UploadId&&dd.removeUsing(Xd.UploadData.UploadId),Kf.UploadId=Xd.UploadData.UploadId||"",pf(Kf)}),Sf.on("upload_complete",function(Kf){var Cf=md.extend({UploadId:Xd.UploadData.UploadId||""},Kf);pf(null,Cf)}),Sf.on("upload_slice_complete",function(Kf){var Cf={};md.each(Xd.Headers,function(xf,Yf){var dh=Yf.toLowerCase();(dh.indexOf("x-cos-meta-")===0||["pic-operations","x-cos-callback","x-cos-callback-var","x-cos-return-body"].includes(dh))&&(Cf[Yf]=xf)}),jd.call(mf,{Bucket:Af,Region:Ef,Key:Nf,UploadId:Kf.UploadId,SliceList:Kf.SliceList,Headers:Cf,tracker:Jf},function(xf,Yf){if(mf._isRunningTask(Tf)){if(dd.removeUsing(Kf.UploadId),xf)return Lf(null,!0),Sf.emit("error",xf);dd.removeUploadId.call(mf,Kf.UploadId),Lf({loaded:qf,total:qf},!0),Sf.emit("upload_complete",Yf)}})}),Sf.on("get_upload_data_finish",function(Kf){var Cf=dd.getFileId(If,Xd.ChunkSize,Af,Nf);Cf&&dd.saveUploadId.call(mf,Cf,Kf.UploadId,mf.options.UploadIdCacheLimit),dd.setUsing(Kf.UploadId),Lf(null,!0),Ld.call(mf,{TaskId:Tf,Bucket:Af,Region:Ef,Key:Nf,Body:If,FileSize:qf,SliceSize:Gf,AsyncLimit:Qf,ServerSideEncryption:ph,UploadData:Kf,Headers:Xd.Headers,onProgress:Lf,tracker:Jf},function(xf,Yf){if(mf._isRunningTask(Tf)){if(xf)return Lf(null,!0),Sf.emit("error",xf);Sf.emit("upload_slice_complete",Yf)}})}),Sf.on("get_file_size_finish",function(){if(Lf=md.throttleOnProgress.call(mf,qf,Xd.onProgress),Xd.UploadData.UploadId)Sf.emit("get_upload_data_finish",Xd.UploadData);else{var Kf=md.extend({TaskId:Tf,Bucket:Af,Region:Ef,Key:Nf,Headers:Xd.Headers,StorageClass:Xf,Body:If,FileSize:qf,SliceSize:Gf,onHashProgress:Wf,tracker:Jf},Xd);Nd.call(mf,Kf,function(Cf,xf){if(mf._isRunningTask(Tf)){if(Cf)return Sf.emit("error",Cf);Xd.UploadData.UploadId=xf.UploadId,Xd.UploadData.PartList=xf.PartList,Sf.emit("get_upload_data_finish",Xd.UploadData)}})}}),qf=Xd.ContentLength,delete Xd.ContentLength,!Xd.Headers&&(Xd.Headers={}),md.each(Xd.Headers,function(Kf,Cf){Cf.toLowerCase()==="content-length"&&delete Xd.Headers[Cf]}),function(){for(var Kf=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,5120],Cf=1024*1024,xf=0;xf<Kf.length&&(Cf=Kf[xf]*1024*1024,!(qf/Cf<=mf.options.MaxPartNumber));xf++);Xd.ChunkSize=Xd.SliceSize=Gf=Math.max(Gf,Cf)}(),qf===0?(Xd.Body="",Xd.ContentLength=0,Xd.SkipTask=!0,mf.putObject(Xd,pf)):Sf.emit("get_file_size_finish")}function Nd(Xd,pf){var mf=Xd.TaskId,Sf=Xd.Bucket,Tf=Xd.Region,Af=Xd.Key,Ef=Xd.StorageClass,Nf=this,If={},Gf=Xd.FileSize,Qf=Xd.SliceSize,Xf=Math.ceil(Gf/Qf),ph=0,qf=md.throttleOnProgress.call(Nf,Gf,Xd.onHashProgress),Lf=function(Cf,xf){var Yf=Qf*(Cf-1),dh=Math.min(Yf+Qf,Gf),Rh=dh-Yf;If[Cf]?xf(null,{PartNumber:Cf,ETag:If[Cf],Size:Rh}):md.fileSlice(Xd.Body,Yf,dh,!1,function(th){md.getFileMd5(th,function(Bf,Sh){if(Bf)return xf(md.error(Bf));var Fh='"'+Sh+'"';If[Cf]=Fh,ph+=Rh,qf({loaded:ph,total:Gf}),xf(null,{PartNumber:Cf,ETag:Fh,Size:Rh})})})},Wf=function(Cf,xf){var Yf=Cf.length;if(Yf===0)return xf(null,!0);if(Yf>Xf)return xf(null,!1);if(Yf>1){var dh=Math.max(Cf[0].Size,Cf[1].Size);if(dh!==Qf)return xf(null,!1)}var Rh=function th(Bf){if(Bf<Yf){var Sh=Cf[Bf];Lf(Sh.PartNumber,function(Fh,uh){uh&&uh.ETag===Sh.ETag&&uh.Size===Sh.Size?th(Bf+1):xf(null,!1)})}else xf(null,!0)};Rh(0)},Jf=new fd;Jf.on("error",function(Kf){if(Nf._isRunningTask(mf))return pf(Kf)}),Jf.on("upload_id_available",function(Kf){var Cf={},xf=[];md.each(Kf.PartList,function(Rh){Cf[Rh.PartNumber]=Rh});for(var Yf=1;Yf<=Xf;Yf++){var dh=Cf[Yf];dh?(dh.PartNumber=Yf,dh.Uploaded=!0):dh={PartNumber:Yf,ETag:null,Uploaded:!1},xf.push(dh)}Kf.PartList=xf,pf(null,Kf)}),Jf.on("no_available_upload_id",function(){if(Nf._isRunningTask(mf)){var Kf=md.extend({Bucket:Sf,Region:Tf,Key:Af,Query:md.clone(Xd.Query),StorageClass:Ef,Body:Xd.Body,calledBySdk:"sliceUploadFile",tracker:Xd.tracker},Xd),Cf=md.clone(Xd.Headers);delete Cf["x-cos-mime-limit"],Kf.Headers=Cf,Nf.multipartInit(Kf,function(xf,Yf){if(Nf._isRunningTask(mf)){if(xf)return Jf.emit("error",xf);var dh=Yf.UploadId;if(!dh)return pf(md.error(new Error("no such upload id")));Jf.emit("upload_id_available",{UploadId:dh,PartList:[]})}})}}),Jf.on("has_and_check_upload_id",function(Kf){Kf=Kf.reverse(),pd.eachLimit(Kf,1,function(Cf,xf){if(Nf._isRunningTask(mf)){if(dd.using[Cf]){xf();return}kd.call(Nf,{Bucket:Sf,Region:Tf,Key:Af,UploadId:Cf,tracker:Xd.tracker},function(Yf,dh){if(Nf._isRunningTask(mf)){if(Yf)return dd.removeUsing(Cf),Jf.emit("error",Yf);var Rh=dh.PartList;Rh.forEach(function(th){th.PartNumber*=1,th.Size*=1,th.ETag=th.ETag||""}),Wf(Rh,function(th,Bf){if(Nf._isRunningTask(mf)){if(th)return Jf.emit("error",th);Bf?xf({UploadId:Cf,PartList:Rh}):xf()}})}})}},function(Cf){Nf._isRunningTask(mf)&&(qf(null,!0),Cf&&Cf.UploadId?Jf.emit("upload_id_available",Cf):Jf.emit("no_available_upload_id"))})}),Jf.on("seek_local_avail_upload_id",function(Kf){var Cf=dd.getFileId(Xd.Body,Xd.ChunkSize,Sf,Af),xf=dd.getUploadIdList.call(Nf,Cf);if(!Cf||!xf){Jf.emit("has_and_check_upload_id",Kf);return}var Yf=function dh(Rh){if(Rh>=xf.length){Jf.emit("has_and_check_upload_id",Kf);return}var th=xf[Rh];if(!md.isInArray(Kf,th)){dd.removeUploadId.call(Nf,th),dh(Rh+1);return}if(dd.using[th]){dh(Rh+1);return}kd.call(Nf,{Bucket:Sf,Region:Tf,Key:Af,UploadId:th,tracker:Xd.tracker},function(Bf,Sh){Nf._isRunningTask(mf)&&(Bf?(dd.removeUploadId.call(Nf,th),dh(Rh+1)):Jf.emit("upload_id_available",{UploadId:th,PartList:Sh.PartList}))})};Yf(0)}),Jf.on("get_remote_upload_id_list",function(){Od.call(Nf,{Bucket:Sf,Region:Tf,Key:Af,tracker:Xd.tracker},function(Kf,Cf){if(Nf._isRunningTask(mf)){if(Kf)return Jf.emit("error",Kf);var xf=md.filter(Cf.UploadList,function(Rh){return Rh.Key===Af&&(!Ef||Rh.StorageClass.toUpperCase()===Ef.toUpperCase())}).reverse().map(function(Rh){return Rh.UploadId||Rh.UploadID});if(xf.length)Jf.emit("seek_local_avail_upload_id",xf);else{var Yf=dd.getFileId(Xd.Body,Xd.ChunkSize,Sf,Af),dh;Yf&&(dh=dd.getUploadIdList.call(Nf,Yf))&&md.each(dh,function(Rh){dd.removeUploadId.call(Nf,Rh)}),Jf.emit("no_available_upload_id")}}})}),Jf.emit("get_remote_upload_id_list")}function Od(Xd,pf){var mf=this,Sf=[],Tf={Bucket:Xd.Bucket,Region:Xd.Region,Prefix:Xd.Key,calledBySdk:Xd.calledBySdk||"sliceUploadFile",tracker:Xd.tracker},Af=function Ef(){mf.multipartList(Tf,function(Nf,If){if(Nf)return pf(Nf);Sf.push.apply(Sf,If.Upload||[]),If.IsTruncated==="true"?(Tf.KeyMarker=If.NextKeyMarker,Tf.UploadIdMarker=If.NextUploadIdMarker,Ef()):pf(null,{UploadList:Sf})})};Af()}function kd(Xd,pf){var mf=this,Sf=[],Tf={Bucket:Xd.Bucket,Region:Xd.Region,Key:Xd.Key,UploadId:Xd.UploadId,calledBySdk:"sliceUploadFile",tracker:Xd.tracker},Af=function Ef(){mf.multipartListPart(Tf,function(Nf,If){if(Nf)return pf(Nf);Sf.push.apply(Sf,If.Part||[]),If.IsTruncated==="true"?(Tf.PartNumberMarker=If.NextPartNumberMarker,Ef()):pf(null,{PartList:Sf})})};Af()}function Ld(Xd,pf){var mf=this,Sf=Xd.TaskId,Tf=Xd.Bucket,Af=Xd.Region,Ef=Xd.Key,Nf=Xd.UploadData,If=Xd.FileSize,Gf=Xd.SliceSize,Qf=Math.min(Xd.AsyncLimit||mf.options.ChunkParallelLimit||1,256),Xf=Xd.Body,ph=Math.ceil(If/Gf),qf=0,Lf=Xd.ServerSideEncryption,Wf=Xd.Headers,Jf=md.filter(Nf.PartList,function(Cf){return Cf.Uploaded&&(qf+=Cf.PartNumber>=ph&&If%Gf||Gf),!Cf.Uploaded}),Kf=Xd.onProgress;pd.eachLimit(Jf,Qf,function(Cf,xf){if(mf._isRunningTask(Sf)){var Yf=Cf.PartNumber,dh=Math.min(If,Cf.PartNumber*Gf)-(Cf.PartNumber-1)*Gf,Rh=0;Gd.call(mf,{TaskId:Sf,Bucket:Tf,Region:Af,Key:Ef,SliceSize:Gf,FileSize:If,PartNumber:Yf,ServerSideEncryption:Lf,Body:Xf,UploadData:Nf,Headers:Wf,onProgress:function(Bf){qf+=Bf.loaded-Rh,Rh=Bf.loaded,Kf({loaded:qf,total:If})},tracker:Xd.tracker},function(th,Bf){mf._isRunningTask(Sf)&&(!th&&!Bf.ETag&&(th='get ETag error, please add "ETag" to CORS ExposeHeader setting.( 获取ETag失败请在CORS ExposeHeader设置中添加ETag请参考文档https://cloud.tencent.com/document/product/436/13318 )'),th?qf-=Rh:(qf+=dh-Rh,Cf.ETag=Bf.ETag),Kf({loaded:qf,total:If}),xf(th||null,Bf))})}},function(Cf){if(mf._isRunningTask(Sf)){if(Cf)return pf(Cf);pf(null,{UploadId:Nf.UploadId,SliceList:Nf.PartList})}})}function Gd(Xd,pf){var mf=this,Sf=Xd.TaskId,Tf=Xd.Bucket,Af=Xd.Region,Ef=Xd.Key,Nf=Xd.FileSize,If=Xd.Body,Gf=Xd.PartNumber*1,Qf=Xd.SliceSize,Xf=Xd.ServerSideEncryption,ph=Xd.UploadData,qf=Xd.Headers||{},Lf=mf.options.ChunkRetryTimes+1,Wf=Qf*(Gf-1),Jf=Qf,Kf=Wf+Qf;Kf>Nf&&(Kf=Nf,Jf=Kf-Wf);var Cf=["x-cos-traffic-limit","x-cos-mime-limit"],xf={};md.each(qf,function(dh,Rh){Cf.indexOf(Rh)>-1&&(xf[Rh]=dh)});var Yf=ph.PartList[Gf-1];pd.retry(Lf,function(dh){mf._isRunningTask(Sf)&&md.fileSlice(If,Wf,Kf,!0,function(Rh){mf.multipartUpload({TaskId:Sf,Bucket:Tf,Region:Af,Key:Ef,ContentLength:Jf,PartNumber:Gf,UploadId:ph.UploadId,ServerSideEncryption:Xf,Body:Rh,Headers:xf,onProgress:Xd.onProgress,calledBySdk:"sliceUploadFile",tracker:Xd.tracker},function(th,Bf){if(mf._isRunningTask(Sf))return th?dh(th):(Yf.Uploaded=!0,dh(null,Bf))})})},function(dh,Rh){if(mf._isRunningTask(Sf))return pf(dh,Rh)})}function jd(Xd,pf){var mf=Xd.Bucket,Sf=Xd.Region,Tf=Xd.Key,Af=Xd.UploadId,Ef=Xd.SliceList,Nf=this,If=this.options.ChunkRetryTimes+1,Gf=Xd.Headers,Qf=Ef.map(function(Xf){return{PartNumber:Xf.PartNumber,ETag:Xf.ETag}});pd.retry(If,function(Xf){Nf.multipartComplete({Bucket:mf,Region:Sf,Key:Tf,UploadId:Af,Parts:Qf,Headers:Gf,calledBySdk:"sliceUploadFile",tracker:Xd.tracker},Xf)},function(Xf,ph){pf(Xf,ph)})}function Fd(Xd,pf){var mf=Xd.Bucket,Sf=Xd.Region,Tf=Xd.Key,Af=Xd.UploadId,Ef=Xd.Level||"task",Nf=Xd.AsyncLimit,If=this,Gf=new fd;if(Gf.on("error",function(Qf){return pf(Qf)}),Gf.on("get_abort_array",function(Qf){Ud.call(If,{Bucket:mf,Region:Sf,Key:Tf,Headers:Xd.Headers,AsyncLimit:Nf,AbortArray:Qf},pf)}),Ef==="bucket")Od.call(If,{Bucket:mf,Region:Sf,calledBySdk:"abortUploadTask"},function(Qf,Xf){if(Qf)return pf(Qf);Gf.emit("get_abort_array",Xf.UploadList||[])});else if(Ef==="file"){if(!Tf)return pf(md.error(new Error("abort_upload_task_no_key")));Od.call(If,{Bucket:mf,Region:Sf,Key:Tf,calledBySdk:"abortUploadTask"},function(Qf,Xf){if(Qf)return pf(Qf);Gf.emit("get_abort_array",Xf.UploadList||[])})}else if(Ef==="task"){if(!Af)return pf(md.error(new Error("abort_upload_task_no_id")));if(!Tf)return pf(md.error(new Error("abort_upload_task_no_key")));Gf.emit("get_abort_array",[{Key:Tf,UploadId:Af}])}else return pf(md.error(new Error("abort_unknown_level")))}function Ud(Xd,pf){var mf=Xd.Bucket,Sf=Xd.Region,Tf=Xd.Key,Af=Xd.AbortArray,Ef=Xd.AsyncLimit||1,Nf=this,If=0,Gf=new Array(Af.length);pd.eachLimit(Af,Ef,function(Qf,Xf){var ph=If;if(Tf&&Tf!==Qf.Key){Gf[ph]={error:{KeyNotMatch:!0}},Xf(null);return}var qf=Qf.UploadId||Qf.UploadID;Nf.multipartAbort({Bucket:mf,Region:Sf,Key:Qf.Key,Headers:Xd.Headers,UploadId:qf},function(Lf){var Wf={Bucket:mf,Region:Sf,Key:Qf.Key,UploadId:qf};Gf[ph]={error:Lf,task:Wf},Xf(null)}),If++},function(Qf){if(Qf)return pf(Qf);for(var Xf=[],ph=[],qf=0,Lf=Gf.length;qf<Lf;qf++){var Wf=Gf[qf];Wf.task&&(Wf.error?ph.push(Wf.task):Xf.push(Wf.task))}return pf(null,{successList:Xf,errorList:ph})})}function qd(Xd,pf){var mf=this,Sf=Xd.SliceSize===void 0?mf.options.SliceSize:Xd.SliceSize,Tf=[],Af=Xd.Body,Ef=Af.size||Af.length||0,Nf={TaskId:""};if(mf.options.EnableReporter){var If=mf.options.UseAccelerate||typeof mf.options.Domain=="string"&&mf.options.Domain.includes("accelerate."),Gf=Ef>Sf?"sliceUploadFile":"putObject";Xd.tracker=new vd({Beacon:mf.options.BeaconReporter,clsReporter:mf.options.ClsReporter,bucket:Xd.Bucket,region:Xd.Region,apiName:"uploadFile",realApi:Gf,fileKey:Xd.Key,fileSize:Ef,accelerate:If,deepTracker:mf.options.DeepTracker,customId:mf.options.CustomId,delay:mf.options.TrackerDelay})}md.each(Xd,function(Wf,Jf){ud(Wf)!=="object"&&typeof Wf!="function"&&(Nf[Jf]=Wf)});var Qf=Xd.onTaskReady,Xf=function(Jf){Nf.TaskId=Jf,Qf&&Qf(Jf)};Xd.onTaskReady=Xf;var ph=Ef>Sf?"sliceUploadFile":"putObject",qf=Xd.onFileFinish,Lf=function(Jf,Kf){Xd.tracker&&Xd.tracker.report(Jf,Kf),qf&&qf(Jf,Kf,Nf),pf&&pf(Jf,Kf)};Tf.push({api:ph,params:Xd,callback:Lf}),mf._addTasks(Tf)}function zd(Xd,pf){var mf=this,Sf=Xd.SliceSize===void 0?mf.options.SliceSize:Xd.SliceSize,Tf=0,Af=0,Ef=md.throttleOnProgress.call(mf,Af,Xd.onProgress),Nf=Xd.files.length,If=Xd.onFileFinish,Gf=Array(Nf),Qf=function(qf,Lf,Wf){Ef(null,!0),If&&If(qf,Lf,Wf),Gf[Wf.Index]={options:Wf,error:qf,data:Lf},--Nf<=0&&pf&&pf(null,{files:Gf})},Xf=[];md.each(Xd.files,function(ph,qf){(function(){var Lf=ph.Body,Wf=Lf.size||Lf.length||0,Jf={Index:qf,TaskId:""};if(!mf.options.UseRawKey&&ph.Key&&ph.Key.substr(0,1)==="/"&&(ph.Key=ph.Key.substr(1)),Tf+=Wf,mf.options.EnableReporter){var Kf=mf.options.UseAccelerate||typeof mf.options.Domain=="string"&&mf.options.Domain.includes("accelerate."),Cf=Wf>Sf?"sliceUploadFile":"putObject";ph.tracker=new vd({Beacon:mf.options.BeaconReporter,clsReporter:mf.options.ClsReporter,bucket:ph.Bucket,region:ph.Region,apiName:"uploadFiles",realApi:Cf,fileKey:ph.Key,fileSize:Wf,accelerate:Kf,deepTracker:mf.options.DeepTracker,customId:mf.options.CustomId,delay:mf.options.TrackerDelay})}md.each(ph,function(uh,Pf){ud(uh)!=="object"&&typeof uh!="function"&&(Jf[Pf]=uh)});var xf=ph.onTaskReady,Yf=function(Pf){Jf.TaskId=Pf,xf&&xf(Pf)};ph.onTaskReady=Yf;var dh=0,Rh=ph.onProgress,th=function(Pf){Af=Af-dh+Pf.loaded,dh=Pf.loaded,Rh&&Rh(Pf),Ef({loaded:Af,total:Tf})};ph.onProgress=th;var Bf=Wf>Sf?"sliceUploadFile":"putObject",Sh=ph.onFileFinish,Fh=function(Pf,Uf){ph.tracker&&ph.tracker.report(Pf,Uf),Sh&&Sh(Pf,Uf),Qf&&Qf(Pf,Uf,Jf)};Xf.push({api:Bf,params:ph,callback:Fh})})()}),mf._addTasks(Xf)}function Wd(Xd,pf){var mf=new fd,Sf=this,Tf=Xd.Bucket,Af=Xd.Region,Ef=Xd.Key,Nf=Xd.CopySource,If=md.getSourceParams.call(this,Nf);if(!If){pf(md.error(new Error("CopySource format error")));return}var Gf=If.Bucket,Qf=If.Region,Xf=decodeURIComponent(If.Key),ph=Xd.CopySliceSize===void 0?Sf.options.CopySliceSize:Xd.CopySliceSize;ph=Math.max(0,ph);var qf=Xd.CopyChunkSize||this.options.CopyChunkSize,Lf=this.options.CopyChunkParallelLimit,Wf=this.options.ChunkRetryTimes+1,Jf=0,Kf=0,Cf,xf,Yf={},dh={},Rh={};mf.on("copy_slice_complete",function(th){md.each(Xd.Headers,function(Sh,Fh){Fh.toLowerCase().indexOf("x-cos-meta-")});var Bf=md.map(th.PartList,function(Sh){return{PartNumber:Sh.PartNumber,ETag:Sh.ETag}});pd.retry(Wf,function(Sh){Sf.multipartComplete({Bucket:Tf,Region:Af,Key:Ef,UploadId:th.UploadId,Parts:Bf,tracker:Xd.tracker,calledBySdk:"sliceCopyFile"},Sh)},function(Sh,Fh){if(dd.removeUsing(th.UploadId),Sh)return xf(null,!0),pf(Sh);dd.removeUploadId(th.UploadId),xf({loaded:Cf,total:Cf},!0),pf(null,Fh)})}),mf.on("get_copy_data_finish",function(th){var Bf=dd.getCopyFileId(Nf,Yf,qf,Tf,Ef);Bf&&dd.saveUploadId(Bf,th.UploadId,Sf.options.UploadIdCacheLimit),dd.setUsing(th.UploadId);var Sh=md.filter(th.PartList,function(Fh){return Fh.Uploaded&&(Kf+=Fh.PartNumber>=Jf&&Cf%qf||qf),!Fh.Uploaded});pd.eachLimit(Sh,Lf,function(Fh,uh){var Pf=Fh.PartNumber,Uf=Fh.CopySourceRange,Zf=Fh.end-Fh.start;pd.retry(Wf,function(mh){Jd.call(Sf,{Bucket:Tf,Region:Af,Key:Ef,CopySource:Nf,UploadId:th.UploadId,PartNumber:Pf,CopySourceRange:Uf,tracker:Xd.tracker,calledBySdk:"sliceCopyFile"},mh)},function(mh,Mh){if(mh)return uh(mh);Kf+=Zf,xf({loaded:Kf,total:Cf}),Fh.ETag=Mh.ETag,uh(mh||null,Mh)})},function(Fh){if(Fh)return dd.removeUsing(th.UploadId),xf(null,!0),pf(Fh);mf.emit("copy_slice_complete",th)})}),mf.on("get_chunk_size_finish",function(){var th=function(){Sf.multipartInit({Bucket:Tf,Region:Af,Key:Ef,Headers:Rh,tracker:Xd.tracker,calledBySdk:"sliceCopyFile"},function(Pf,Uf){if(Pf)return pf(Pf);Xd.UploadId=Uf.UploadId,mf.emit("get_copy_data_finish",{UploadId:Xd.UploadId,PartList:Xd.PartList})})},Bf=dd.getCopyFileId(Nf,Yf,qf,Tf,Ef),Sh=dd.getUploadIdList(Bf);if(!Bf||!Sh)return th();var Fh=function uh(Pf){if(Pf>=Sh.length)return th();var Uf=Sh[Pf];if(dd.using[Uf])return uh(Pf+1);kd.call(Sf,{Bucket:Tf,Region:Af,Key:Ef,UploadId:Uf,tracker:Xd.tracker,calledBySdk:"sliceCopyFile"},function(Zf,mh){if(Zf)dd.removeUploadId(Uf),uh(Pf+1);else{if(dd.using[Uf])return uh(Pf+1);var Mh={},_h=0;md.each(mh.PartList,function(pm){var Jh=parseInt(pm.Size),Mm=_h+Jh-1;Mh[pm.PartNumber+"|"+_h+"|"+Mm]=pm.ETag,_h+=Jh}),md.each(Xd.PartList,function(pm){var Jh=Mh[pm.PartNumber+"|"+pm.start+"|"+pm.end];Jh&&(pm.ETag=Jh,pm.Uploaded=!0)}),mf.emit("get_copy_data_finish",{UploadId:Uf,PartList:Xd.PartList})}})};Fh(0)}),mf.on("get_file_size_finish",function(){if(function(){for(var Bf=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,5120],Sh=1024*1024,Fh=0;Fh<Bf.length&&(Sh=Bf[Fh]*1024*1024,!(Cf/Sh<=Sf.options.MaxPartNumber));Fh++);Xd.ChunkSize=qf=Math.max(qf,Sh),Jf=Math.ceil(Cf/qf);for(var uh=[],Pf=1;Pf<=Jf;Pf++){var Uf=(Pf-1)*qf,Zf=Pf*qf<Cf?Pf*qf-1:Cf-1,mh={PartNumber:Pf,start:Uf,end:Zf,CopySourceRange:"bytes="+Uf+"-"+Zf};uh.push(mh)}Xd.PartList=uh}(),Xd.Headers["x-cos-metadata-directive"]==="Replaced"?Rh=Xd.Headers:Rh=dh,Rh["x-cos-storage-class"]=Xd.Headers["x-cos-storage-class"]||dh["x-cos-storage-class"],Rh=md.clearKey(Rh),dh["x-cos-storage-class"]==="ARCHIVE"||dh["x-cos-storage-class"]==="DEEP_ARCHIVE"){var th=dh["x-cos-restore"];if(!th||th==='ongoing-request="true"'){pf(md.error(new Error("Unrestored archive object is not allowed to be copied")));return}}delete Rh["x-cos-copy-source"],delete Rh["x-cos-metadata-directive"],delete Rh["x-cos-copy-source-If-Modified-Since"],delete Rh["x-cos-copy-source-If-Unmodified-Since"],delete Rh["x-cos-copy-source-If-Match"],delete Rh["x-cos-copy-source-If-None-Match"],mf.emit("get_chunk_size_finish")}),Sf.headObject({Bucket:Gf,Region:Qf,Key:Xf,tracker:Xd.tracker,calledBySdk:"sliceCopyFile"},function(th,Bf){if(th){th.statusCode&&th.statusCode===404?pf(md.error(th,{ErrorStatus:Xf+" Not Exist"})):pf(th);return}if(Cf=Xd.FileSize=Bf.headers["content-length"],Cf===void 0||!Cf){pf(md.error(new Error('get Content-Length error, please add "Content-Length" to CORS ExposeHeader setting. 获取Content-Length失败请在CORS ExposeHeader设置中添加Content-Length请参考文档https://cloud.tencent.com/document/product/436/13318 ')));return}if(Xd.tracker&&Xd.tracker.setParams({httpSize:Cf}),xf=md.throttleOnProgress.call(Sf,Cf,Xd.onProgress),Cf<=ph)Xd.Headers["x-cos-metadata-directive"]||(Xd.Headers["x-cos-metadata-directive"]="Copy"),Sf.putObjectCopy(Object.assign(Xd,{calledBySdk:"sliceCopyFile"}),function(Fh,uh){if(Fh)return xf(null,!0),pf(Fh);xf({loaded:Cf,total:Cf},!0),pf(Fh,uh)});else{var Sh=Bf.headers;Yf=Sh,dh={"Cache-Control":Sh["cache-control"],"Content-Disposition":Sh["content-disposition"],"Content-Encoding":Sh["content-encoding"],"Content-Type":Sh["content-type"],Expires:Sh.expires,"x-cos-storage-class":Sh["x-cos-storage-class"]},md.each(Sh,function(Fh,uh){var Pf="x-cos-meta-";uh.indexOf(Pf)===0&&uh.length>Pf.length&&(dh[uh]=Fh)}),mf.emit("get_file_size_finish")}})}function Jd(Xd,pf){var mf=Xd.TaskId,Sf=Xd.Bucket,Tf=Xd.Region,Af=Xd.Key,Ef=Xd.CopySource,Nf=Xd.UploadId,If=Xd.PartNumber*1,Gf=Xd.CopySourceRange,Qf=this.options.ChunkRetryTimes+1,Xf=this;pd.retry(Qf,function(ph){Xf.uploadPartCopy({TaskId:mf,Bucket:Sf,Region:Tf,Key:Af,CopySource:Ef,UploadId:Nf,PartNumber:If,CopySourceRange:Gf,tracker:Xd.tracker,calledBySdk:Xd.calledBySdk},function(qf,Lf){ph(qf||null,Lf)})},function(ph,qf){return pf(ph,qf)})}var _f={sliceUploadFile:Ad,abortUploadTask:Fd,uploadFile:qd,uploadFiles:zd,sliceCopyFile:Wd};nd.exports.init=function(Xd,pf){pf.transferToTaskMethod(_f,"sliceUploadFile"),md.each(_f,function(mf,Sf){Xd.prototype[Sf]=md.apiWrapper(Sf,mf)})}},"./src/async.js":function(nd,od){var ld=function(fd,md,vd,Ad){if(Ad=Ad||function(){},!fd.length||md<=0)return Ad();var Nd=0,Od=0,kd=0;(function Ld(){if(Nd>=fd.length)return Ad();for(;kd<md&&Od<fd.length;)Od+=1,kd+=1,vd(fd[Od-1],function(Gd){Gd?(Ad(Gd),Ad=function(){}):(Nd+=1,kd-=1,Nd>=fd.length?Ad():Ld())})})()},ud=function(fd,md,vd){var Ad=function Nd(Od){md(function(kd,Ld){kd&&Od<fd?Nd(Od+1):vd(kd,Ld)})};fd<1?vd():Ad(1)},dd={eachLimit:ld,retry:ud};nd.exports=dd},"./src/base.js":function(nd,od,ld){var ud=ld("./node_modules/@babel/runtime/helpers/typeof.js"),dd=ld("./lib/request.js"),pd=ld("./src/util.js");function fd(jf,Uh){var wh=this.options.Protocol||(pd.isBrowser&&(typeof location>"u"?"undefined":ud(location))==="object"&&location.protocol==="http:"?"http:":"https:"),Bh=this.options.ServiceDomain,fm=jf.AppId||this.options.appId,dm=jf.Region;Bh?(Bh=Bh.replace(/\{\{AppId\}\}/gi,fm||"").replace(/\{\{Region\}\}/gi,dm||"").replace(/\{\{.*?\}\}/gi,""),/^[a-zA-Z]+:\/\//.test(Bh)||(Bh=wh+"//"+Bh),Bh.slice(-1)==="/"&&(Bh=Bh.slice(0,-1))):dm?Bh=wh+"//cos."+dm+".myqcloud.com":Bh=wh+"//service.cos.myqcloud.com";var Tm="",_m=dm?"cos."+dm+".myqcloud.com":"service.cos.myqcloud.com",Zh=Bh.replace(/^https?:\/\/([^/]+)(\/.*)?$/,"$1");_m===Zh&&(Tm=_m),dg.call(this,{Action:"name/cos:GetService",url:Bh,method:"GET",headers:jf.Headers,SignHost:Tm,tracker:jf.tracker},function(Gm,Km){if(Gm)return Uh(Gm);var xg=Km&&Km.ListAllMyBucketsResult&&Km.ListAllMyBucketsResult.Buckets&&Km.ListAllMyBucketsResult.Buckets.Bucket||[];xg=pd.isArray(xg)?xg:[xg];var eg=Km&&Km.ListAllMyBucketsResult&&Km.ListAllMyBucketsResult.Owner||{};Uh(null,{Buckets:xg,Owner:eg,statusCode:Km.statusCode,headers:Km.headers})})}function md(jf,Uh){var wh=this,Bh="";if(jf.BucketAZConfig){var fm={BucketAZConfig:jf.BucketAZConfig};Bh=pd.json2xml({CreateBucketConfiguration:fm})}dg.call(this,{Action:"name/cos:PutBucket",method:"PUT",Bucket:jf.Bucket,Region:jf.Region,headers:jf.Headers,body:Bh,tracker:jf.tracker},function(dm,Tm){if(dm)return Uh(dm);var _m=a_({protocol:wh.options.Protocol,domain:wh.options.Domain,bucket:jf.Bucket,region:jf.Region,isLocation:!0});Uh(null,{Location:_m,statusCode:Tm.statusCode,headers:Tm.headers})})}function vd(jf,Uh){dg.call(this,{Action:"name/cos:HeadBucket",Bucket:jf.Bucket,Region:jf.Region,headers:jf.Headers,method:"HEAD",tracker:jf.tracker},Uh)}function Ad(jf,Uh){var wh={};wh.prefix=jf.Prefix||"",wh.delimiter=jf.Delimiter,wh.marker=jf.Marker,wh["max-keys"]=jf.MaxKeys,wh["encoding-type"]=jf.EncodingType,dg.call(this,{Action:"name/cos:GetBucket",ResourceKey:wh.prefix,method:"GET",Bucket:jf.Bucket,Region:jf.Region,headers:jf.Headers,qs:wh,tracker:jf.tracker},function(Bh,fm){if(Bh)return Uh(Bh);var dm=fm.ListBucketResult||{},Tm=dm.Contents||[],_m=dm.CommonPrefixes||[];Tm=pd.isArray(Tm)?Tm:[Tm],_m=pd.isArray(_m)?_m:[_m];var Zh=pd.clone(dm);pd.extend(Zh,{Contents:Tm,CommonPrefixes:_m,statusCode:fm.statusCode,headers:fm.headers}),Uh(null,Zh)})}function Nd(jf,Uh){dg.call(this,{Action:"name/cos:DeleteBucket",Bucket:jf.Bucket,Region:jf.Region,headers:jf.Headers,method:"DELETE",tracker:jf.tracker},function(wh,Bh){if(wh&&wh.statusCode===204)return Uh(null,{statusCode:wh.statusCode});if(wh)return Uh(wh);Uh(null,{statusCode:Bh.statusCode,headers:Bh.headers})})}function Od(jf,Uh){var wh=jf.Headers,Bh="";if(jf.AccessControlPolicy){var fm=pd.clone(jf.AccessControlPolicy||{}),dm=fm.Grants||fm.Grant;dm=pd.isArray(dm)?dm:[dm],delete fm.Grant,delete fm.Grants,fm.AccessControlList={Grant:dm},Bh=pd.json2xml({AccessControlPolicy:fm}),wh["Content-Type"]="application/xml",wh["Content-MD5"]=pd.b64(pd.md5(Bh))}pd.each(wh,function(Tm,_m){_m.indexOf("x-cos-grant-")===0&&(wh[_m]=m_(wh[_m]))}),dg.call(this,{Action:"name/cos:PutBucketACL",method:"PUT",Bucket:jf.Bucket,Region:jf.Region,headers:wh,action:"acl",body:Bh,tracker:jf.tracker},function(Tm,_m){if(Tm)return Uh(Tm);Uh(null,{statusCode:_m.statusCode,headers:_m.headers})})}function kd(jf,Uh){dg.call(this,{Action:"name/cos:GetBucketACL",method:"GET",Bucket:jf.Bucket,Region:jf.Region,headers:jf.Headers,action:"acl",tracker:jf.tracker},function(wh,Bh){if(wh)return Uh(wh);var fm=Bh.AccessControlPolicy||{},dm=fm.Owner||{},Tm=fm.AccessControlList.Grant||[];Tm=pd.isArray(Tm)?Tm:[Tm];var _m=Pg(fm);Bh.headers&&Bh.headers["x-cos-acl"]&&(_m.ACL=Bh.headers["x-cos-acl"]),_m=pd.extend(_m,{Owner:dm,Grants:Tm,statusCode:Bh.statusCode,headers:Bh.headers}),Uh(null,_m)})}function Ld(jf,Uh){var wh=jf.CORSConfiguration||{},Bh=wh.CORSRules||jf.CORSRules||[];Bh=pd.clone(pd.isArray(Bh)?Bh:[Bh]),pd.each(Bh,function(_m){pd.each(["AllowedOrigin","AllowedHeader","AllowedMethod","ExposeHeader"],function(Zh){var Gm=Zh+"s",Km=_m[Gm]||_m[Zh]||[];delete _m[Gm],_m[Zh]=pd.isArray(Km)?Km:[Km]})});var fm={CORSRule:Bh};jf.ResponseVary&&(fm.ResponseVary=jf.ResponseVary);var dm=pd.json2xml({CORSConfiguration:fm}),Tm=jf.Headers;Tm["Content-Type"]="application/xml",Tm["Content-MD5"]=pd.b64(pd.md5(dm)),dg.call(this,{Action:"name/cos:PutBucketCORS",method:"PUT",Bucket:jf.Bucket,Region:jf.Region,body:dm,action:"cors",headers:Tm,tracker:jf.tracker},function(_m,Zh){if(_m)return Uh(_m);Uh(null,{statusCode:Zh.statusCode,headers:Zh.headers})})}function Gd(jf,Uh){dg.call(this,{Action:"name/cos:GetBucketCORS",method:"GET",Bucket:jf.Bucket,Region:jf.Region,headers:jf.Headers,action:"cors",tracker:jf.tracker},function(wh,Bh){if(wh){if(wh.statusCode===404&&wh.error&&wh.error.Code==="NoSuchCORSConfiguration"){var fm={CORSRules:[],statusCode:wh.statusCode};wh.headers&&(fm.headers=wh.headers),Uh(null,fm)}else Uh(wh);return}var dm=Bh.CORSConfiguration||{},Tm=dm.CORSRules||dm.CORSRule||[];Tm=pd.clone(pd.isArray(Tm)?Tm:[Tm]);var _m=dm.ResponseVary;pd.each(Tm,function(Zh){pd.each(["AllowedOrigin","AllowedHeader","AllowedMethod","ExposeHeader"],function(Gm){var Km=Gm+"s",xg=Zh[Km]||Zh[Gm]||[];delete Zh[Gm],Zh[Km]=pd.isArray(xg)?xg:[xg]})}),Uh(null,{CORSRules:Tm,ResponseVary:_m,statusCode:Bh.statusCode,headers:Bh.headers})})}function jd(jf,Uh){dg.call(this,{Action:"name/cos:DeleteBucketCORS",method:"DELETE",Bucket:jf.Bucket,Region:jf.Region,headers:jf.Headers,action:"cors",tracker:jf.tracker},function(wh,Bh){if(wh&&wh.statusCode===204)return Uh(null,{statusCode:wh.statusCode});if(wh)return Uh(wh);Uh(null,{statusCode:Bh.statusCode||wh.statusCode,headers:Bh.headers})})}function Fd(jf,Uh){dg.call(this,{Action:"name/cos:GetBucketLocation",method:"GET",Bucket:jf.Bucket,Region:jf.Region,headers:jf.Headers,action:"location",tracker:jf.tracker},Uh)}function Ud(jf,Uh){var wh=jf.Policy;try{typeof wh=="string"&&(wh=JSON.parse(wh))}catch{}if(!wh||typeof wh=="string")return Uh(pd.error(new Error("Policy format error")));var Bh=JSON.stringify(wh);wh.version||(wh.version="2.0");var fm=jf.Headers;fm["Content-Type"]="application/json",fm["Content-MD5"]=pd.b64(pd.md5(Bh)),dg.call(this,{Action:"name/cos:PutBucketPolicy",method:"PUT",Bucket:jf.Bucket,Region:jf.Region,action:"policy",body:Bh,headers:fm,tracker:jf.tracker},function(dm,Tm){if(dm&&dm.statusCode===204)return Uh(null,{statusCode:dm.statusCode});if(dm)return Uh(dm);Uh(null,{statusCode:Tm.statusCode,headers:Tm.headers})})}function qd(jf,Uh){dg.call(this,{Action:"name/cos:GetBucketPolicy",method:"GET",Bucket:jf.Bucket,Region:jf.Region,headers:jf.Headers,action:"policy",rawBody:!0,tracker:jf.tracker},function(wh,Bh){if(wh)return wh.statusCode&&wh.statusCode===403?Uh(pd.error(wh,{ErrorStatus:"Access Denied"})):wh.statusCode&&wh.statusCode===405?Uh(pd.error(wh,{ErrorStatus:"Method Not Allowed"})):wh.statusCode&&wh.statusCode===404?Uh(pd.error(wh,{ErrorStatus:"Policy Not Found"})):Uh(wh);var fm={};try{fm=JSON.parse(Bh.body)}catch{}Uh(null,{Policy:fm,statusCode:Bh.statusCode,headers:Bh.headers})})}function zd(jf,Uh){dg.call(this,{Action:"name/cos:DeleteBucketPolicy",method:"DELETE",Bucket:jf.Bucket,Region:jf.Region,headers:jf.Headers,action:"policy",tracker:jf.tracker},function(wh,Bh){if(wh&&wh.statusCode===204)return Uh(null,{statusCode:wh.statusCode});if(wh)return Uh(wh);Uh(null,{statusCode:Bh.statusCode||wh.statusCode,headers:Bh.headers})})}function Wd(jf,Uh){var wh=jf.Tagging||{},Bh=wh.TagSet||wh.Tags||jf.Tags||[];Bh=pd.clone(pd.isArray(Bh)?Bh:[Bh]);var fm=pd.json2xml({Tagging:{TagSet:{Tag:Bh}}}),dm=jf.Headers;dm["Content-Type"]="application/xml",dm["Content-MD5"]=pd.b64(pd.md5(fm)),dg.call(this,{Action:"name/cos:PutBucketTagging",method:"PUT",Bucket:jf.Bucket,Region:jf.Region,body:fm,action:"tagging",headers:dm,tracker:jf.tracker},function(Tm,_m){if(Tm&&Tm.statusCode===204)return Uh(null,{statusCode:Tm.statusCode});if(Tm)return Uh(Tm);Uh(null,{statusCode:_m.statusCode,headers:_m.headers})})}function Jd(jf,Uh){dg.call(this,{Action:"name/cos:GetBucketTagging",method:"GET",Bucket:jf.Bucket,Region:jf.Region,headers:jf.Headers,action:"tagging",tracker:jf.tracker},function(wh,Bh){if(wh){if(wh.statusCode===404&&wh.error&&(wh.error==="Not Found"||wh.error.Code==="NoSuchTagSet")){var fm={Tags:[],statusCode:wh.statusCode};wh.headers&&(fm.headers=wh.headers),Uh(null,fm)}else Uh(wh);return}var dm=[];try{dm=Bh.Tagging.TagSet.Tag||[]}catch{}dm=pd.clone(pd.isArray(dm)?dm:[dm]),Uh(null,{Tags:dm,statusCode:Bh.statusCode,headers:Bh.headers})})}function _f(jf,Uh){dg.call(this,{Action:"name/cos:DeleteBucketTagging",method:"DELETE",Bucket:jf.Bucket,Region:jf.Region,headers:jf.Headers,action:"tagging",tracker:jf.tracker},function(wh,Bh){if(wh&&wh.statusCode===204)return Uh(null,{statusCode:wh.statusCode});if(wh)return Uh(wh);Uh(null,{statusCode:Bh.statusCode,headers:Bh.headers})})}function Xd(jf,Uh){var wh=jf.LifecycleConfiguration||{},Bh=wh.Rules||jf.Rules||[];Bh=pd.clone(Bh);var fm=pd.json2xml({LifecycleConfiguration:{Rule:Bh}}),dm=jf.Headers;dm["Content-Type"]="application/xml",dm["Content-MD5"]=pd.b64(pd.md5(fm)),dg.call(this,{Action:"name/cos:PutBucketLifecycle",method:"PUT",Bucket:jf.Bucket,Region:jf.Region,body:fm,action:"lifecycle",headers:dm,tracker:jf.tracker},function(Tm,_m){if(Tm&&Tm.statusCode===204)return Uh(null,{statusCode:Tm.statusCode});if(Tm)return Uh(Tm);Uh(null,{statusCode:_m.statusCode,headers:_m.headers})})}function pf(jf,Uh){dg.call(this,{Action:"name/cos:GetBucketLifecycle",method:"GET",Bucket:jf.Bucket,Region:jf.Region,headers:jf.Headers,action:"lifecycle",tracker:jf.tracker},function(wh,Bh){if(wh){if(wh.statusCode===404&&wh.error&&wh.error.Code==="NoSuchLifecycleConfiguration"){var fm={Rules:[],statusCode:wh.statusCode};wh.headers&&(fm.headers=wh.headers),Uh(null,fm)}else Uh(wh);return}var dm=[];try{dm=Bh.LifecycleConfiguration.Rule||[]}catch{}dm=pd.clone(pd.isArray(dm)?dm:[dm]),Uh(null,{Rules:dm,statusCode:Bh.statusCode,headers:Bh.headers})})}function mf(jf,Uh){dg.call(this,{Action:"name/cos:DeleteBucketLifecycle",method:"DELETE",Bucket:jf.Bucket,Region:jf.Region,headers:jf.Headers,action:"lifecycle",tracker:jf.tracker},function(wh,Bh){if(wh&&wh.statusCode===204)return Uh(null,{statusCode:wh.statusCode});if(wh)return Uh(wh);Uh(null,{statusCode:Bh.statusCode,headers:Bh.headers})})}function Sf(jf,Uh){if(!jf.VersioningConfiguration){Uh(pd.error(new Error("missing param VersioningConfiguration")));return}var wh=jf.VersioningConfiguration||{},Bh=pd.json2xml({VersioningConfiguration:wh}),fm=jf.Headers;fm["Content-Type"]="application/xml",fm["Content-MD5"]=pd.b64(pd.md5(Bh)),dg.call(this,{Action:"name/cos:PutBucketVersioning",method:"PUT",Bucket:jf.Bucket,Region:jf.Region,body:Bh,action:"versioning",headers:fm,tracker:jf.tracker},function(dm,Tm){if(dm&&dm.statusCode===204)return Uh(null,{statusCode:dm.statusCode});if(dm)return Uh(dm);Uh(null,{statusCode:Tm.statusCode,headers:Tm.headers})})}function Tf(jf,Uh){dg.call(this,{Action:"name/cos:GetBucketVersioning",method:"GET",Bucket:jf.Bucket,Region:jf.Region,headers:jf.Headers,action:"versioning",tracker:jf.tracker},function(wh,Bh){wh||!Bh.VersioningConfiguration&&(Bh.VersioningConfiguration={}),Uh(wh,Bh)})}function Af(jf,Uh){var wh=pd.clone(jf.ReplicationConfiguration),Bh=pd.json2xml({ReplicationConfiguration:wh});Bh=Bh.replace(/<(\/?)Rules>/gi,"<$1Rule>"),Bh=Bh.replace(/<(\/?)Tags>/gi,"<$1Tag>");var fm=jf.Headers;fm["Content-Type"]="application/xml",fm["Content-MD5"]=pd.b64(pd.md5(Bh)),dg.call(this,{Action:"name/cos:PutBucketReplication",method:"PUT",Bucket:jf.Bucket,Region:jf.Region,body:Bh,action:"replication",headers:fm,tracker:jf.tracker},function(dm,Tm){if(dm&&dm.statusCode===204)return Uh(null,{statusCode:dm.statusCode});if(dm)return Uh(dm);Uh(null,{statusCode:Tm.statusCode,headers:Tm.headers})})}function Ef(jf,Uh){dg.call(this,{Action:"name/cos:GetBucketReplication",method:"GET",Bucket:jf.Bucket,Region:jf.Region,headers:jf.Headers,action:"replication",tracker:jf.tracker},function(wh,Bh){if(wh){if(wh.statusCode===404&&wh.error&&(wh.error==="Not Found"||wh.error.Code==="ReplicationConfigurationnotFoundError")){var fm={ReplicationConfiguration:{Rules:[]},statusCode:wh.statusCode};wh.headers&&(fm.headers=wh.headers),Uh(null,fm)}else Uh(wh);return}!Bh.ReplicationConfiguration&&(Bh.ReplicationConfiguration={}),Bh.ReplicationConfiguration.Rule&&(Bh.ReplicationConfiguration.Rules=pd.makeArray(Bh.ReplicationConfiguration.Rule),delete Bh.ReplicationConfiguration.Rule),Uh(wh,Bh)})}function Nf(jf,Uh){dg.call(this,{Action:"name/cos:DeleteBucketReplication",method:"DELETE",Bucket:jf.Bucket,Region:jf.Region,headers:jf.Headers,action:"replication",tracker:jf.tracker},function(wh,Bh){if(wh&&wh.statusCode===204)return Uh(null,{statusCode:wh.statusCode});if(wh)return Uh(wh);Uh(null,{statusCode:Bh.statusCode,headers:Bh.headers})})}function If(jf,Uh){if(!jf.WebsiteConfiguration){Uh(pd.error(new Error("missing param WebsiteConfiguration")));return}var wh=pd.clone(jf.WebsiteConfiguration||{}),Bh=wh.RoutingRules||wh.RoutingRule||[];Bh=pd.isArray(Bh)?Bh:[Bh],delete wh.RoutingRule,delete wh.RoutingRules,Bh.length&&(wh.RoutingRules={RoutingRule:Bh});var fm=pd.json2xml({WebsiteConfiguration:wh}),dm=jf.Headers;dm["Content-Type"]="application/xml",dm["Content-MD5"]=pd.b64(pd.md5(fm)),dg.call(this,{Action:"name/cos:PutBucketWebsite",method:"PUT",Bucket:jf.Bucket,Region:jf.Region,body:fm,action:"website",headers:dm,tracker:jf.tracker},function(Tm,_m){if(Tm&&Tm.statusCode===204)return Uh(null,{statusCode:Tm.statusCode});if(Tm)return Uh(Tm);Uh(null,{statusCode:_m.statusCode,headers:_m.headers})})}function Gf(jf,Uh){dg.call(this,{Action:"name/cos:GetBucketWebsite",method:"GET",Bucket:jf.Bucket,Region:jf.Region,Key:jf.Key,headers:jf.Headers,action:"website",tracker:jf.tracker},function(wh,Bh){if(wh){if(wh.statusCode===404&&wh.error.Code==="NoSuchWebsiteConfiguration"){var fm={WebsiteConfiguration:{},statusCode:wh.statusCode};wh.headers&&(fm.headers=wh.headers),Uh(null,fm)}else Uh(wh);return}var dm=Bh.WebsiteConfiguration||{};if(dm.RoutingRules){var Tm=pd.clone(dm.RoutingRules.RoutingRule||[]);Tm=pd.makeArray(Tm),dm.RoutingRules=Tm}Uh(null,{WebsiteConfiguration:dm,statusCode:Bh.statusCode,headers:Bh.headers})})}function Qf(jf,Uh){dg.call(this,{Action:"name/cos:DeleteBucketWebsite",method:"DELETE",Bucket:jf.Bucket,Region:jf.Region,headers:jf.Headers,action:"website",tracker:jf.tracker},function(wh,Bh){if(wh&&wh.statusCode===204)return Uh(null,{statusCode:wh.statusCode});if(wh)return Uh(wh);Uh(null,{statusCode:Bh.statusCode,headers:Bh.headers})})}function Xf(jf,Uh){if(!jf.RefererConfiguration){Uh(pd.error(new Error("missing param RefererConfiguration")));return}var wh=pd.clone(jf.RefererConfiguration||{}),Bh=wh.DomainList||{},fm=Bh.Domains||Bh.Domain||[];fm=pd.isArray(fm)?fm:[fm],fm.length&&(wh.DomainList={Domain:fm});var dm=pd.json2xml({RefererConfiguration:wh}),Tm=jf.Headers;Tm["Content-Type"]="application/xml",Tm["Content-MD5"]=pd.b64(pd.md5(dm)),dg.call(this,{Action:"name/cos:PutBucketReferer",method:"PUT",Bucket:jf.Bucket,Region:jf.Region,body:dm,action:"referer",headers:Tm,tracker:jf.tracker},function(_m,Zh){if(_m&&_m.statusCode===204)return Uh(null,{statusCode:_m.statusCode});if(_m)return Uh(_m);Uh(null,{statusCode:Zh.statusCode,headers:Zh.headers})})}function ph(jf,Uh){dg.call(this,{Action:"name/cos:GetBucketReferer",method:"GET",Bucket:jf.Bucket,Region:jf.Region,Key:jf.Key,headers:jf.Headers,action:"referer",tracker:jf.tracker},function(wh,Bh){if(wh){if(wh.statusCode===404&&wh.error.Code==="NoSuchRefererConfiguration"){var fm={WebsiteConfiguration:{},statusCode:wh.statusCode};wh.headers&&(fm.headers=wh.headers),Uh(null,fm)}else Uh(wh);return}var dm=Bh.RefererConfiguration||{};if(dm.DomainList){var Tm=pd.makeArray(dm.DomainList.Domain||[]);dm.DomainList={Domains:Tm}}Uh(null,{RefererConfiguration:dm,statusCode:Bh.statusCode,headers:Bh.headers})})}function qf(jf,Uh){var wh=jf.DomainConfiguration||{},Bh=wh.DomainRule||jf.DomainRule||[];Bh=pd.clone(Bh);var fm=pd.json2xml({DomainConfiguration:{DomainRule:Bh}}),dm=jf.Headers;dm["Content-Type"]="application/xml",dm["Content-MD5"]=pd.b64(pd.md5(fm)),dg.call(this,{Action:"name/cos:PutBucketDomain",method:"PUT",Bucket:jf.Bucket,Region:jf.Region,body:fm,action:"domain",headers:dm,tracker:jf.tracker},function(Tm,_m){if(Tm&&Tm.statusCode===204)return Uh(null,{statusCode:Tm.statusCode});if(Tm)return Uh(Tm);Uh(null,{statusCode:_m.statusCode,headers:_m.headers})})}function Lf(jf,Uh){dg.call(this,{Action:"name/cos:GetBucketDomain",method:"GET",Bucket:jf.Bucket,Region:jf.Region,headers:jf.Headers,action:"domain",tracker:jf.tracker},function(wh,Bh){if(wh)return Uh(wh);var fm=[];try{fm=Bh.DomainConfiguration.DomainRule||[]}catch{}fm=pd.clone(pd.isArray(fm)?fm:[fm]),Uh(null,{DomainRule:fm,statusCode:Bh.statusCode,headers:Bh.headers})})}function Wf(jf,Uh){dg.call(this,{Action:"name/cos:DeleteBucketDomain",method:"DELETE",Bucket:jf.Bucket,Region:jf.Region,headers:jf.Headers,action:"domain",tracker:jf.tracker},function(wh,Bh){if(wh&&wh.statusCode===204)return Uh(null,{statusCode:wh.statusCode});if(wh)return Uh(wh);Uh(null,{statusCode:Bh.statusCode,headers:Bh.headers})})}function Jf(jf,Uh){var wh=jf.OriginConfiguration||{},Bh=wh.OriginRule||jf.OriginRule||[];Bh=pd.clone(Bh);var fm=pd.json2xml({OriginConfiguration:{OriginRule:Bh}}),dm=jf.Headers;dm["Content-Type"]="application/xml",dm["Content-MD5"]=pd.b64(pd.md5(fm)),dg.call(this,{Action:"name/cos:PutBucketOrigin",method:"PUT",Bucket:jf.Bucket,Region:jf.Region,body:fm,action:"origin",headers:dm,tracker:jf.tracker},function(Tm,_m){if(Tm&&Tm.statusCode===204)return Uh(null,{statusCode:Tm.statusCode});if(Tm)return Uh(Tm);Uh(null,{statusCode:_m.statusCode,headers:_m.headers})})}function Kf(jf,Uh){dg.call(this,{Action:"name/cos:GetBucketOrigin",method:"GET",Bucket:jf.Bucket,Region:jf.Region,headers:jf.Headers,action:"origin",tracker:jf.tracker},function(wh,Bh){if(wh)return Uh(wh);var fm=[];try{fm=Bh.OriginConfiguration.OriginRule||[]}catch{}fm=pd.clone(pd.isArray(fm)?fm:[fm]),Uh(null,{OriginRule:fm,statusCode:Bh.statusCode,headers:Bh.headers})})}function Cf(jf,Uh){dg.call(this,{Action:"name/cos:DeleteBucketOrigin",method:"DELETE",Bucket:jf.Bucket,Region:jf.Region,headers:jf.Headers,action:"origin",tracker:jf.tracker},function(wh,Bh){if(wh&&wh.statusCode===204)return Uh(null,{statusCode:wh.statusCode});if(wh)return Uh(wh);Uh(null,{statusCode:Bh.statusCode,headers:Bh.headers})})}function xf(jf,Uh){var wh=pd.json2xml({BucketLoggingStatus:jf.BucketLoggingStatus||""}),Bh=jf.Headers;Bh["Content-Type"]="application/xml",Bh["Content-MD5"]=pd.b64(pd.md5(wh)),dg.call(this,{Action:"name/cos:PutBucketLogging",method:"PUT",Bucket:jf.Bucket,Region:jf.Region,body:wh,action:"logging",headers:Bh,tracker:jf.tracker},function(fm,dm){if(fm&&fm.statusCode===204)return Uh(null,{statusCode:fm.statusCode});if(fm)return Uh(fm);Uh(null,{statusCode:dm.statusCode,headers:dm.headers})})}function Yf(jf,Uh){dg.call(this,{Action:"name/cos:GetBucketLogging",method:"GET",Bucket:jf.Bucket,Region:jf.Region,headers:jf.Headers,action:"logging",tracker:jf.tracker},function(wh,Bh){if(wh)return Uh(wh);Uh(null,{BucketLoggingStatus:Bh.BucketLoggingStatus,statusCode:Bh.statusCode,headers:Bh.headers})})}function dh(jf,Uh,wh){var Bh=pd.clone(Uh.InventoryConfiguration);if(Bh.OptionalFields){var fm=Bh.OptionalFields||[];Bh.OptionalFields={Field:fm}}if(Bh.Destination&&Bh.Destination.COSBucketDestination&&Bh.Destination.COSBucketDestination.Encryption){var dm=Bh.Destination.COSBucketDestination.Encryption;Object.keys(dm).indexOf("SSECOS")>-1&&(dm["SSE-COS"]=dm.SSECOS,delete dm.SSECOS)}var Tm=pd.json2xml({InventoryConfiguration:Bh}),_m=Uh.Headers;_m["Content-Type"]="application/xml",_m["Content-MD5"]=pd.b64(pd.md5(Tm));var Zh=jf==="PUT"?"name/cos:PutBucketInventory":"name/cos:PostBucketInventory";dg.call(this,{Action:Zh,method:jf,Bucket:Uh.Bucket,Region:Uh.Region,body:Tm,action:"inventory",qs:{id:Uh.Id},headers:_m,tracker:Uh.tracker},function(Gm,Km){if(Gm&&Gm.statusCode===204)return wh(null,{statusCode:Gm.statusCode});if(Gm)return wh(Gm);wh(null,{statusCode:Km.statusCode,headers:Km.headers})})}function Rh(jf,Uh){return dh.call(this,"PUT",jf,Uh)}function th(jf,Uh){return dh.call(this,"POST",jf,Uh)}function Bf(jf,Uh){dg.call(this,{Action:"name/cos:GetBucketInventory",method:"GET",Bucket:jf.Bucket,Region:jf.Region,headers:jf.Headers,action:"inventory",qs:{id:jf.Id},tracker:jf.tracker},function(wh,Bh){if(wh)return Uh(wh);var fm=Bh.InventoryConfiguration;if(fm&&fm.OptionalFields&&fm.OptionalFields.Field){var dm=fm.OptionalFields.Field;pd.isArray(dm)||(dm=[dm]),fm.OptionalFields=dm}if(fm.Destination&&fm.Destination.COSBucketDestination&&fm.Destination.COSBucketDestination.Encryption){var Tm=fm.Destination.COSBucketDestination.Encryption;Object.keys(Tm).indexOf("SSE-COS")>-1&&(Tm.SSECOS=Tm["SSE-COS"],delete Tm["SSE-COS"])}Uh(null,{InventoryConfiguration:fm,statusCode:Bh.statusCode,headers:Bh.headers})})}function Sh(jf,Uh){dg.call(this,{Action:"name/cos:ListBucketInventory",method:"GET",Bucket:jf.Bucket,Region:jf.Region,headers:jf.Headers,action:"inventory",qs:{"continuation-token":jf.ContinuationToken},tracker:jf.tracker},function(wh,Bh){if(wh)return Uh(wh);var fm=Bh.ListInventoryConfigurationResult,dm=fm.InventoryConfiguration||[];dm=pd.isArray(dm)?dm:[dm],delete fm.InventoryConfiguration,pd.each(dm,function(Tm){if(Tm&&Tm.OptionalFields&&Tm.OptionalFields.Field){var _m=Tm.OptionalFields.Field;pd.isArray(_m)||(_m=[_m]),Tm.OptionalFields=_m}if(Tm.Destination&&Tm.Destination.COSBucketDestination&&Tm.Destination.COSBucketDestination.Encryption){var Zh=Tm.Destination.COSBucketDestination.Encryption;Object.keys(Zh).indexOf("SSE-COS")>-1&&(Zh.SSECOS=Zh["SSE-COS"],delete Zh["SSE-COS"])}}),fm.InventoryConfigurations=dm,pd.extend(fm,{statusCode:Bh.statusCode,headers:Bh.headers}),Uh(null,fm)})}function Fh(jf,Uh){dg.call(this,{Action:"name/cos:DeleteBucketInventory",method:"DELETE",Bucket:jf.Bucket,Region:jf.Region,headers:jf.Headers,action:"inventory",qs:{id:jf.Id},tracker:jf.tracker},function(wh,Bh){if(wh&&wh.statusCode===204)return Uh(null,{statusCode:wh.statusCode});if(wh)return Uh(wh);Uh(null,{statusCode:Bh.statusCode,headers:Bh.headers})})}function uh(jf,Uh){if(!jf.AccelerateConfiguration){Uh(pd.error(new Error("missing param AccelerateConfiguration")));return}var wh={AccelerateConfiguration:jf.AccelerateConfiguration||{}},Bh=pd.json2xml(wh),fm={};fm["Content-Type"]="application/xml",fm["Content-MD5"]=pd.b64(pd.md5(Bh)),dg.call(this,{Action:"name/cos:PutBucketAccelerate",method:"PUT",Bucket:jf.Bucket,Region:jf.Region,body:Bh,action:"accelerate",headers:fm,tracker:jf.tracker},function(dm,Tm){if(dm)return Uh(dm);Uh(null,{statusCode:Tm.statusCode,headers:Tm.headers})})}function Pf(jf,Uh){dg.call(this,{Action:"name/cos:GetBucketAccelerate",method:"GET",Bucket:jf.Bucket,Region:jf.Region,action:"accelerate",tracker:jf.tracker},function(wh,Bh){wh||!Bh.AccelerateConfiguration&&(Bh.AccelerateConfiguration={}),Uh(wh,Bh)})}function Uf(jf,Uh){var wh=jf.ServerSideEncryptionConfiguration||{},Bh=wh.Rule||wh.Rules||[],fm=pd.json2xml({ServerSideEncryptionConfiguration:{Rule:Bh}}),dm=jf.Headers;dm["Content-Type"]="application/xml",dm["Content-MD5"]=pd.b64(pd.md5(fm)),dg.call(this,{Action:"name/cos:PutBucketEncryption",method:"PUT",Bucket:jf.Bucket,Region:jf.Region,body:fm,action:"encryption",headers:dm,tracker:jf.tracker},function(Tm,_m){if(Tm&&Tm.statusCode===204)return Uh(null,{statusCode:Tm.statusCode});if(Tm)return Uh(Tm);Uh(null,{statusCode:_m.statusCode,headers:_m.headers})})}function Zf(jf,Uh){dg.call(this,{Action:"name/cos:GetBucketEncryption",method:"GET",Bucket:jf.Bucket,Region:jf.Region,headers:jf.Headers,action:"encryption",tracker:jf.tracker},function(wh,Bh){if(wh){if(wh.statusCode===404&&wh.code==="NoSuchEncryptionConfiguration"){var fm={EncryptionConfiguration:{Rules:[]},statusCode:wh.statusCode};wh.headers&&(fm.headers=wh.headers),Uh(null,fm)}else Uh(wh);return}var dm=pd.makeArray(Bh.EncryptionConfiguration&&Bh.EncryptionConfiguration.Rule||[]);Bh.EncryptionConfiguration={Rules:dm},Uh(wh,Bh)})}function mh(jf,Uh){dg.call(this,{Action:"name/cos:DeleteBucketReplication",method:"DELETE",Bucket:jf.Bucket,Region:jf.Region,headers:jf.Headers,action:"encryption",tracker:jf.tracker},function(wh,Bh){if(wh&&wh.statusCode===204)return Uh(null,{statusCode:wh.statusCode});if(wh)return Uh(wh);Uh(null,{statusCode:Bh.statusCode,headers:Bh.headers})})}function Mh(jf,Uh){dg.call(this,{Action:"name/cos:HeadObject",method:"HEAD",Bucket:jf.Bucket,Region:jf.Region,Key:jf.Key,VersionId:jf.VersionId,headers:jf.Headers,tracker:jf.tracker},function(wh,Bh){if(wh){var fm=wh.statusCode;return jf.Headers["If-Modified-Since"]&&fm&&fm===304?Uh(null,{NotModified:!0,statusCode:fm}):Uh(wh)}Bh.ETag=pd.attr(Bh.headers,"etag",""),Uh(null,Bh)})}function _h(jf,Uh){var wh={};wh.prefix=jf.Prefix||"",wh.delimiter=jf.Delimiter,wh["key-marker"]=jf.KeyMarker,wh["version-id-marker"]=jf.VersionIdMarker,wh["max-keys"]=jf.MaxKeys,wh["encoding-type"]=jf.EncodingType,dg.call(this,{Action:"name/cos:GetBucketObjectVersions",ResourceKey:wh.prefix,method:"GET",Bucket:jf.Bucket,Region:jf.Region,headers:jf.Headers,qs:wh,action:"versions",tracker:jf.tracker},function(Bh,fm){if(Bh)return Uh(Bh);var dm=fm.ListVersionsResult||{},Tm=dm.DeleteMarker||[];Tm=pd.isArray(Tm)?Tm:[Tm];var _m=dm.Version||[];_m=pd.isArray(_m)?_m:[_m];var Zh=pd.clone(dm);delete Zh.DeleteMarker,delete Zh.Version,pd.extend(Zh,{DeleteMarkers:Tm,Versions:_m,statusCode:fm.statusCode,headers:fm.headers}),Uh(null,Zh)})}function pm(jf,Uh){if(this.options.ObjectKeySimplifyCheck){var wh=pd.simplifyPath(jf.Key);if(wh==="/"){Uh(pd.error(new Error("The Getobject Key is illegal")));return}}var Bh=jf.Query||{},fm=jf.QueryString||"",dm=pd.throttleOnProgress.call(this,0,jf.onProgress),Tm=jf.tracker;Tm&&Tm.setParams({signStartTime:new Date().getTime()}),Bh["response-content-type"]=jf.ResponseContentType,Bh["response-content-language"]=jf.ResponseContentLanguage,Bh["response-expires"]=jf.ResponseExpires,Bh["response-cache-control"]=jf.ResponseCacheControl,Bh["response-content-disposition"]=jf.ResponseContentDisposition,Bh["response-content-encoding"]=jf.ResponseContentEncoding,dg.call(this,{Action:"name/cos:GetObject",method:"GET",Bucket:jf.Bucket,Region:jf.Region,Key:jf.Key,VersionId:jf.VersionId,DataType:jf.DataType,headers:jf.Headers,qs:Bh,qsStr:fm,rawBody:!0,onDownloadProgress:dm,tracker:Tm},function(_m,Zh){if(dm(null,!0),_m){var Gm=_m.statusCode;return jf.Headers["If-Modified-Since"]&&Gm&&Gm===304?Uh(null,{NotModified:!0}):Uh(_m)}Uh(null,{Body:Zh.body,ETag:pd.attr(Zh.headers,"etag",""),statusCode:Zh.statusCode,headers:Zh.headers})})}function Jh(jf,Uh){var wh=this,Bh=jf.ContentLength,fm=pd.throttleOnProgress.call(wh,Bh,jf.onProgress),dm=jf.Headers;!dm["Cache-Control"]&&!dm["cache-control"]&&(dm["Cache-Control"]=""),!dm["Content-Type"]&&!dm["content-type"]&&(dm["Content-Type"]=jf.Body&&jf.Body.type||"");var Tm=jf.UploadAddMetaMd5||wh.options.UploadAddMetaMd5||wh.options.UploadCheckContentMd5,_m=jf.tracker;Tm&&_m&&_m.setParams({md5StartTime:new Date().getTime()}),pd.getBodyMd5(Tm,jf.Body,function(Zh){Zh&&(_m&&_m.setParams({md5EndTime:new Date().getTime()}),wh.options.UploadCheckContentMd5&&(dm["Content-MD5"]=pd.b64(Zh)),(jf.UploadAddMetaMd5||wh.options.UploadAddMetaMd5)&&(dm["x-cos-meta-md5"]=Zh)),jf.ContentLength!==void 0&&(dm["Content-Length"]=jf.ContentLength),fm(null,!0),dg.call(wh,{Action:"name/cos:PutObject",TaskId:jf.TaskId,method:"PUT",Bucket:jf.Bucket,Region:jf.Region,Key:jf.Key,headers:jf.Headers,qs:jf.Query,body:jf.Body,onProgress:fm,tracker:_m},function(Gm,Km){if(Gm)return fm(null,!0),Uh(Gm);fm({loaded:Bh,total:Bh},!0);var xg=a_({ForcePathStyle:wh.options.ForcePathStyle,protocol:wh.options.Protocol,domain:wh.options.Domain,bucket:jf.Bucket,region:wh.options.UseAccelerate?"accelerate":jf.Region,object:jf.Key});xg=xg.substr(xg.indexOf("://")+3),Km.Location=xg,Km.ETag=pd.attr(Km.headers,"etag",""),Uh(null,Km)})},jf.onHashProgress)}function Mm(jf,Uh){dg.call(this,{Action:"name/cos:DeleteObject",method:"DELETE",Bucket:jf.Bucket,Region:jf.Region,Key:jf.Key,headers:jf.Headers,VersionId:jf.VersionId,action:jf.Recursive?"recursive":"",tracker:jf.tracker},function(wh,Bh){if(wh){var fm=wh.statusCode;return fm&&fm===404?Uh(null,{BucketNotFound:!0,statusCode:fm}):Uh(wh)}Uh(null,{statusCode:Bh.statusCode,headers:Bh.headers})})}function Im(jf,Uh){var wh={};jf.VersionId&&(wh.versionId=jf.VersionId),dg.call(this,{Action:"name/cos:GetObjectACL",method:"GET",Bucket:jf.Bucket,Region:jf.Region,Key:jf.Key,headers:jf.Headers,qs:wh,action:"acl",tracker:jf.tracker},function(Bh,fm){if(Bh)return Uh(Bh);var dm=fm.AccessControlPolicy||{},Tm=dm.Owner||{},_m=dm.AccessControlList&&dm.AccessControlList.Grant||[];_m=pd.isArray(_m)?_m:[_m];var Zh=Pg(dm);delete Zh.GrantWrite,fm.headers&&fm.headers["x-cos-acl"]&&(Zh.ACL=fm.headers["x-cos-acl"]),Zh=pd.extend(Zh,{Owner:Tm,Grants:_m,statusCode:fm.statusCode,headers:fm.headers}),Uh(null,Zh)})}function gm(jf,Uh){var wh=jf.Headers,Bh="";if(jf.AccessControlPolicy){var fm=pd.clone(jf.AccessControlPolicy||{}),dm=fm.Grants||fm.Grant;dm=pd.isArray(dm)?dm:[dm],delete fm.Grant,delete fm.Grants,fm.AccessControlList={Grant:dm},Bh=pd.json2xml({AccessControlPolicy:fm}),wh["Content-Type"]="application/xml",wh["Content-MD5"]=pd.b64(pd.md5(Bh))}pd.each(wh,function(Tm,_m){_m.indexOf("x-cos-grant-")===0&&(wh[_m]=m_(wh[_m]))}),dg.call(this,{Action:"name/cos:PutObjectACL",method:"PUT",Bucket:jf.Bucket,Region:jf.Region,Key:jf.Key,action:"acl",headers:wh,body:Bh,tracker:jf.tracker},function(Tm,_m){if(Tm)return Uh(Tm);Uh(null,{statusCode:_m.statusCode,headers:_m.headers})})}function Lm(jf,Uh){var wh=jf.Headers;wh.Origin=jf.Origin,wh["Access-Control-Request-Method"]=jf.AccessControlRequestMethod,wh["Access-Control-Request-Headers"]=jf.AccessControlRequestHeaders,dg.call(this,{Action:"name/cos:OptionsObject",method:"OPTIONS",Bucket:jf.Bucket,Region:jf.Region,Key:jf.Key,headers:wh,tracker:jf.tracker},function(Bh,fm){if(Bh)return Bh.statusCode&&Bh.statusCode===403?Uh(null,{OptionsForbidden:!0,statusCode:Bh.statusCode}):Uh(Bh);var dm=fm.headers||{};Uh(null,{AccessControlAllowOrigin:dm["access-control-allow-origin"],AccessControlAllowMethods:dm["access-control-allow-methods"],AccessControlAllowHeaders:dm["access-control-allow-headers"],AccessControlExposeHeaders:dm["access-control-expose-headers"],AccessControlMaxAge:dm["access-control-max-age"],statusCode:fm.statusCode,headers:fm.headers})})}function Vm(jf,Uh){var wh=this,Bh=jf.Headers;!Bh["Cache-Control"]&&!Bh["cache-control"]&&(Bh["Cache-Control"]="");var fm=jf.CopySource||"",dm=pd.getSourceParams.call(this,fm);if(!dm){Uh(pd.error(new Error("CopySource format error")));return}var Tm=dm.Bucket,_m=dm.Region,Zh=decodeURIComponent(dm.Key);dg.call(this,{Scope:[{action:"name/cos:GetObject",bucket:Tm,region:_m,prefix:Zh},{action:"name/cos:PutObject",bucket:jf.Bucket,region:jf.Region,prefix:jf.Key}],method:"PUT",Bucket:jf.Bucket,Region:jf.Region,Key:jf.Key,VersionId:jf.VersionId,headers:jf.Headers,tracker:jf.tracker},function(Gm,Km){if(Gm)return Uh(Gm);var xg=pd.clone(Km.CopyObjectResult||{}),eg=a_({ForcePathStyle:wh.options.ForcePathStyle,protocol:wh.options.Protocol,domain:wh.options.Domain,bucket:jf.Bucket,region:jf.Region,object:jf.Key,isLocation:!0});pd.extend(xg,{Location:eg,statusCode:Km.statusCode,headers:Km.headers}),Uh(null,xg)})}function Th(jf,Uh){var wh=jf.CopySource||"",Bh=pd.getSourceParams.call(this,wh);if(!Bh){Uh(pd.error(new Error("CopySource format error")));return}var fm=Bh.Bucket,dm=Bh.Region,Tm=decodeURIComponent(Bh.Key);dg.call(this,{Scope:[{action:"name/cos:GetObject",bucket:fm,region:dm,prefix:Tm},{action:"name/cos:PutObject",bucket:jf.Bucket,region:jf.Region,prefix:jf.Key}],method:"PUT",Bucket:jf.Bucket,Region:jf.Region,Key:jf.Key,VersionId:jf.VersionId,qs:{partNumber:jf.PartNumber,uploadId:jf.UploadId},headers:jf.Headers,tracker:jf.tracker},function(_m,Zh){if(_m)return Uh(_m);var Gm=pd.clone(Zh.CopyPartResult||{});pd.extend(Gm,{statusCode:Zh.statusCode,headers:Zh.headers}),Uh(null,Gm)})}function Rf(jf,Uh){var wh=jf.Objects||[],Bh=jf.Quiet;wh=pd.isArray(wh)?wh:[wh];var fm=pd.json2xml({Delete:{Object:wh,Quiet:Bh||!1}}),dm=jf.Headers;dm["Content-Type"]="application/xml",dm["Content-MD5"]=pd.b64(pd.md5(fm));var Tm=pd.map(wh,function(_m){return{action:"name/cos:DeleteObject",bucket:jf.Bucket,region:jf.Region,prefix:_m.Key}});dg.call(this,{Scope:Tm,method:"POST",Bucket:jf.Bucket,Region:jf.Region,body:fm,action:"delete",headers:dm,tracker:jf.tracker},function(_m,Zh){if(_m)return Uh(_m);var Gm=Zh.DeleteResult||{},Km=Gm.Deleted||[],xg=Gm.Error||[];Km=pd.isArray(Km)?Km:[Km],xg=pd.isArray(xg)?xg:[xg];var eg=pd.clone(Gm);pd.extend(eg,{Error:xg,Deleted:Km,statusCode:Zh.statusCode,headers:Zh.headers}),Uh(null,eg)})}function wf(jf,Uh){var wh=jf.Headers;if(!jf.RestoreRequest){Uh(pd.error(new Error("missing param RestoreRequest")));return}var Bh=jf.RestoreRequest||{},fm=pd.json2xml({RestoreRequest:Bh});wh["Content-Type"]="application/xml",wh["Content-MD5"]=pd.b64(pd.md5(fm)),dg.call(this,{Action:"name/cos:RestoreObject",method:"POST",Bucket:jf.Bucket,Region:jf.Region,Key:jf.Key,VersionId:jf.VersionId,body:fm,action:"restore",headers:wh,tracker:jf.tracker},Uh)}function sh(jf,Uh){var wh=jf.Tagging||{},Bh=wh.TagSet||wh.Tags||jf.Tags||[];Bh=pd.clone(pd.isArray(Bh)?Bh:[Bh]);var fm=pd.json2xml({Tagging:{TagSet:{Tag:Bh}}}),dm=jf.Headers;dm["Content-Type"]="application/xml",dm["Content-MD5"]=pd.b64(pd.md5(fm)),dg.call(this,{Action:"name/cos:PutObjectTagging",method:"PUT",Bucket:jf.Bucket,Key:jf.Key,Region:jf.Region,body:fm,action:"tagging",headers:dm,VersionId:jf.VersionId,tracker:jf.tracker},function(Tm,_m){if(Tm&&Tm.statusCode===204)return Uh(null,{statusCode:Tm.statusCode});if(Tm)return Uh(Tm);Uh(null,{statusCode:_m.statusCode,headers:_m.headers})})}function xh(jf,Uh){dg.call(this,{Action:"name/cos:GetObjectTagging",method:"GET",Key:jf.Key,Bucket:jf.Bucket,Region:jf.Region,headers:jf.Headers,action:"tagging",VersionId:jf.VersionId,tracker:jf.tracker},function(wh,Bh){if(wh){if(wh.statusCode===404&&wh.error&&(wh.error==="Not Found"||wh.error.Code==="NoSuchTagSet")){var fm={Tags:[],statusCode:wh.statusCode};wh.headers&&(fm.headers=wh.headers),Uh(null,fm)}else Uh(wh);return}var dm=[];try{dm=Bh.Tagging.TagSet.Tag||[]}catch{}dm=pd.clone(pd.isArray(dm)?dm:[dm]),Uh(null,{Tags:dm,statusCode:Bh.statusCode,headers:Bh.headers})})}function Wh(jf,Uh){dg.call(this,{Action:"name/cos:DeleteObjectTagging",method:"DELETE",Bucket:jf.Bucket,Region:jf.Region,Key:jf.Key,headers:jf.Headers,action:"tagging",VersionId:jf.VersionId,tracker:jf.tracker},function(wh,Bh){if(wh&&wh.statusCode===204)return Uh(null,{statusCode:wh.statusCode});if(wh)return Uh(wh);Uh(null,{statusCode:Bh.statusCode,headers:Bh.headers})})}function om(jf,Uh){var wh=jf.SelectType;if(!wh)return Uh(pd.error(new Error("missing param SelectType")));var Bh=jf.SelectRequest||{},fm=pd.json2xml({SelectRequest:Bh}),dm=jf.Headers;dm["Content-Type"]="application/xml",dm["Content-MD5"]=pd.b64(pd.md5(fm)),dg.call(this,{Action:"name/cos:GetObject",method:"POST",Bucket:jf.Bucket,Region:jf.Region,Key:jf.Key,headers:jf.Headers,action:"select",qs:{"select-type":jf.SelectType},VersionId:jf.VersionId,body:fm,DataType:"arraybuffer",rawBody:!0,tracker:jf.tracker},function(Tm,_m){if(Tm&&Tm.statusCode===204)return Uh(null,{statusCode:Tm.statusCode});if(Tm)return Uh(Tm);var Zh=pd.parseSelectPayload(_m.body);Uh(null,{statusCode:_m.statusCode,headers:_m.headers,Body:Zh.body,Payload:Zh.payload})})}function Dm(jf,Uh){var wh=this,Bh=jf.Headers,fm=jf.tracker;!Bh["Cache-Control"]&&!Bh["cache-control"]&&(Bh["Cache-Control"]=""),!Bh["Content-Type"]&&!Bh["content-type"]&&(Bh["Content-Type"]=jf.Body&&jf.Body.type||"");var dm=jf.Body&&(jf.UploadAddMetaMd5||wh.options.UploadAddMetaMd5);dm&&fm&&fm.setParams({md5StartTime:new Date().getTime()}),pd.getBodyMd5(dm,jf.Body,function(Tm){Tm&&(jf.Headers["x-cos-meta-md5"]=Tm),dm&&fm&&fm.setParams({md5EndTime:new Date().getTime()}),dg.call(wh,{Action:"name/cos:InitiateMultipartUpload",method:"POST",Bucket:jf.Bucket,Region:jf.Region,Key:jf.Key,action:"uploads",headers:jf.Headers,qs:jf.Query,tracker:fm},function(_m,Zh){if(_m)return fm&&fm.parent&&fm.parent.setParams({errorNode:"multipartInit"}),Uh(_m);if(Zh=pd.clone(Zh||{}),Zh&&Zh.InitiateMultipartUploadResult)return Uh(null,pd.extend(Zh.InitiateMultipartUploadResult,{statusCode:Zh.statusCode,headers:Zh.headers}));Uh(null,Zh)})},jf.onHashProgress)}function zm(jf,Uh){var wh=this;pd.getFileSize("multipartUpload",jf,function(){var Bh=jf.tracker,fm=wh.options.UploadCheckContentMd5;fm&&Bh&&Bh.setParams({md5StartTime:new Date().getTime()}),pd.getBodyMd5(fm,jf.Body,function(dm){dm&&(jf.Headers["Content-MD5"]=pd.b64(dm)),fm&&Bh&&Bh.setParams({md5EndTime:new Date().getTime()}),Bh&&Bh.setParams({partNumber:jf.PartNumber}),dg.call(wh,{Action:"name/cos:UploadPart",TaskId:jf.TaskId,method:"PUT",Bucket:jf.Bucket,Region:jf.Region,Key:jf.Key,qs:{partNumber:jf.PartNumber,uploadId:jf.UploadId},headers:jf.Headers,onProgress:jf.onProgress,body:jf.Body||null,tracker:Bh},function(Tm,_m){if(Tm)return Bh&&Bh.parent&&Bh.parent.setParams({errorNode:"multipartUpload"}),Uh(Tm);Uh(null,{ETag:pd.attr(_m.headers,"etag",""),statusCode:_m.statusCode,headers:_m.headers})})})})}function jm(jf,Uh){for(var wh=this,Bh=jf.UploadId,fm=jf.Parts,dm=jf.tracker,Tm=0,_m=fm.length;Tm<_m;Tm++)fm[Tm].ETag&&fm[Tm].ETag.indexOf('"')===0||(fm[Tm].ETag='"'+fm[Tm].ETag+'"');var Zh=pd.json2xml({CompleteMultipartUpload:{Part:fm}});Zh=Zh.replace(/\n\s*/g,"");var Gm=jf.Headers;Gm["Content-Type"]="application/xml",Gm["Content-MD5"]=pd.b64(pd.md5(Zh)),dg.call(this,{Action:"name/cos:CompleteMultipartUpload",method:"POST",Bucket:jf.Bucket,Region:jf.Region,Key:jf.Key,qs:{uploadId:Bh},body:Zh,headers:Gm,tracker:dm},function(Km,xg){if(Km)return dm&&dm.parent&&dm.parent.setParams({errorNode:"multipartComplete"}),Uh(Km);var eg=a_({ForcePathStyle:wh.options.ForcePathStyle,protocol:wh.options.Protocol,domain:wh.options.Domain,bucket:jf.Bucket,region:jf.Region,object:jf.Key,isLocation:!0}),Ag=xg.CompleteMultipartUploadResult||{};if(Ag.ProcessResults&&(Ag.UploadResult={OriginalInfo:{Key:Ag.Key,Location:eg,ETag:Ag.ETag,ImageInfo:Ag.ImageInfo},ProcessResults:Ag.ProcessResults},delete Ag.ImageInfo,delete Ag.ProcessResults),Ag.CallbackResult){var d_=Ag.CallbackResult;if(d_.Status==="200"&&d_.CallbackBody)try{Ag.CallbackBody=JSON.parse(pd.decodeBase64(d_.CallbackBody))}catch{Ag.CallbackBody={}}else Ag.CallbackError=d_.Error||{};delete Ag.CallbackResult}if(Ag.ReturnBodyResult){var u_=Ag.ReturnBodyResult;if(u_.Status==="200"&&u_.ReturnBody)try{Ag.ReturnBody=JSON.parse(pd.decodeBase64(u_.ReturnBody))}catch{Ag.ReturnBody={}}else Ag.ReturnError={Code:u_.Code,Message:u_.Message,Status:u_.Status};delete Ag.ReturnBodyResult}var Xg=pd.extend(Ag,{Location:eg,statusCode:xg.statusCode,headers:xg.headers});Uh(null,Xg)})}function ig(jf,Uh){var wh={};wh.delimiter=jf.Delimiter,wh["encoding-type"]=jf.EncodingType,wh.prefix=jf.Prefix||"",wh["max-uploads"]=jf.MaxUploads,wh["key-marker"]=jf.KeyMarker,wh["upload-id-marker"]=jf.UploadIdMarker,wh=pd.clearKey(wh);var Bh=jf.tracker;Bh&&Bh.setParams({signStartTime:new Date().getTime()}),dg.call(this,{Action:"name/cos:ListMultipartUploads",ResourceKey:wh.prefix,method:"GET",Bucket:jf.Bucket,Region:jf.Region,headers:jf.Headers,qs:wh,action:"uploads",tracker:Bh},function(fm,dm){if(fm)return Bh&&Bh.parent&&Bh.parent.setParams({errorNode:"multipartList"}),Uh(fm);if(dm&&dm.ListMultipartUploadsResult){var Tm=dm.ListMultipartUploadsResult.Upload||[];Tm=pd.isArray(Tm)?Tm:[Tm],dm.ListMultipartUploadsResult.Upload=Tm}var _m=pd.clone(dm.ListMultipartUploadsResult||{});pd.extend(_m,{statusCode:dm.statusCode,headers:dm.headers}),Uh(null,_m)})}function Zm(jf,Uh){var wh={},Bh=jf.tracker;wh.uploadId=jf.UploadId,wh["encoding-type"]=jf.EncodingType,wh["max-parts"]=jf.MaxParts,wh["part-number-marker"]=jf.PartNumberMarker,dg.call(this,{Action:"name/cos:ListParts",method:"GET",Bucket:jf.Bucket,Region:jf.Region,Key:jf.Key,headers:jf.Headers,qs:wh,tracker:Bh},function(fm,dm){if(fm)return Bh&&Bh.parent&&Bh.parent.setParams({errorNode:"multipartListPart"}),Uh(fm);var Tm=dm.ListPartsResult||{},_m=Tm.Part||[];_m=pd.isArray(_m)?_m:[_m],Tm.Part=_m;var Zh=pd.clone(Tm);pd.extend(Zh,{statusCode:dm.statusCode,headers:dm.headers}),Uh(null,Zh)})}function ug(jf,Uh){var wh={};wh.uploadId=jf.UploadId,dg.call(this,{Action:"name/cos:AbortMultipartUpload",method:"DELETE",Bucket:jf.Bucket,Region:jf.Region,Key:jf.Key,headers:jf.Headers,qs:wh,tracker:jf.tracker},function(Bh,fm){if(Bh)return Uh(Bh);Uh(null,{statusCode:fm.statusCode,headers:fm.headers})})}function wg(jf,Uh){dg.call(this,{method:jf.Method,Bucket:jf.Bucket,Region:jf.Region,Key:jf.Key,action:jf.Action,headers:jf.Headers,qs:jf.Query,body:jf.Body,Url:jf.Url,rawBody:jf.RawBody,DataType:jf.DataType,tracker:jf.tracker},function(wh,Bh){if(wh)return Uh(wh);Bh&&Bh.body&&(Bh.Body=Bh.body,delete Bh.body),Uh(wh,Bh)})}function Kg(jf,Uh){var wh=jf.Headers;!wh["Cache-Control"]&&!wh["cache-control"]&&(wh["Cache-Control"]=""),!wh["Content-Type"]&&!wh["content-type"]&&(wh["Content-Type"]=jf.Body&&jf.Body.type||""),dg.call(this,{Action:"name/cos:AppendObject",method:"POST",Bucket:jf.Bucket,Region:jf.Region,action:"append",Key:jf.Key,body:jf.Body,qs:{position:jf.Position},headers:jf.Headers,tracker:jf.tracker},function(Bh,fm){if(Bh)return Uh(Bh);Uh(null,fm)})}function Gg(jf){var Uh=this;return pd.getAuth({SecretId:jf.SecretId||this.options.SecretId||"",SecretKey:jf.SecretKey||this.options.SecretKey||"",Bucket:jf.Bucket,Region:jf.Region,Method:jf.Method,Key:jf.Key,Query:jf.Query,Headers:jf.Headers,Expires:jf.Expires,UseRawKey:Uh.options.UseRawKey,SystemClockOffset:Uh.options.SystemClockOffset})}function n_(jf,Uh){var wh=this,Bh=jf.UseAccelerate===void 0?wh.options.UseAccelerate:jf.UseAccelerate,fm=a_({ForcePathStyle:wh.options.ForcePathStyle,protocol:jf.Protocol||wh.options.Protocol,domain:jf.Domain||wh.options.Domain,bucket:jf.Bucket,region:Bh?"accelerate":jf.Region,object:jf.Key}),dm="";jf.Query&&(dm+=pd.obj2str(jf.Query)),jf.QueryString&&(dm+=(dm?"&":"")+jf.QueryString);var Tm=fm;if(jf.Sign!==void 0&&!jf.Sign)return dm&&(Tm+="?"+dm),Uh(null,{Url:Tm}),Tm;var _m=M_.call(this,{Bucket:jf.Bucket,Region:jf.Region,UseAccelerate:jf.UseAccelerate,Url:fm}),Zh=B_.call(this,{Action:(jf.Method||"").toUpperCase()==="PUT"?"name/cos:PutObject":"name/cos:GetObject",Bucket:jf.Bucket||"",Region:jf.Region||"",Method:jf.Method||"get",Key:jf.Key,Expires:jf.Expires,Headers:jf.Headers,Query:jf.Query,SignHost:_m,ForceSignHost:jf.ForceSignHost===!1?!1:wh.options.ForceSignHost},function(Gm,Km){if(Uh){if(Gm){Uh(Gm);return}var xg=function(d_){var u_=d_.match(/q-url-param-list.*?(?=&)/g)[0],Xg="q-url-param-list="+encodeURIComponent(u_.replace(/q-url-param-list=/,"")).toLowerCase(),lg=new RegExp(u_,"g"),N_=d_.replace(lg,Xg);return N_},eg=fm;eg+="?"+(Km.Authorization.indexOf("q-signature")>-1?xg(Km.Authorization):"sign="+encodeURIComponent(Km.Authorization)),Km.SecurityToken&&(eg+="&x-cos-security-token="+Km.SecurityToken),Km.ClientIP&&(eg+="&clientIP="+Km.ClientIP),Km.ClientUA&&(eg+="&clientUA="+Km.ClientUA),Km.Token&&(eg+="&token="+Km.Token),dm&&(eg+="&"+dm),setTimeout(function(){Uh(null,{Url:eg})})}});return Zh?(Tm+="?"+Zh.Authorization+(Zh.SecurityToken?"&x-cos-security-token="+Zh.SecurityToken:""),dm&&(Tm+="&"+dm)):dm&&(Tm+="?"+dm),Tm}function Pg(jf){var Uh={GrantFullControl:[],GrantWrite:[],GrantRead:[],GrantReadAcp:[],GrantWriteAcp:[],ACL:""},wh={FULL_CONTROL:"GrantFullControl",WRITE:"GrantWrite",READ:"GrantRead",READ_ACP:"GrantReadAcp",WRITE_ACP:"GrantWriteAcp"},Bh=jf&&jf.AccessControlList||{},fm=Bh.Grant;fm&&(fm=pd.isArray(fm)?fm:[fm]);var dm={READ:0,WRITE:0,FULL_CONTROL:0};return fm&&fm.length&&pd.each(fm,function(Tm){var _m=Tm.Grantee.URI&&Tm.Grantee.URI.endsWith("/groups/global/AllUsers");Tm.Grantee.ID==="qcs::cam::anyone:anyone"||_m?dm[Tm.Permission]=1:Tm.Grantee.ID!==jf.Owner.ID&&Uh[wh[Tm.Permission]].push('id="'+Tm.Grantee.ID+'"')}),dm.FULL_CONTROL||dm.WRITE&&dm.READ?Uh.ACL="public-read-write":dm.READ?Uh.ACL="public-read":Uh.ACL="private",pd.each(wh,function(Tm){Uh[Tm]=m_(Uh[Tm].join(","))}),Uh}function m_(jf){var Uh=jf.split(","),wh={},Bh,fm;for(Bh=0;Bh<Uh.length;)fm=Uh[Bh].trim(),wh[fm]?Uh.splice(Bh,1):(wh[fm]=!0,Uh[Bh]=fm,Bh++);return Uh.join(",")}function a_(jf){var Uh=jf.region||"",wh=jf.bucket||"",Bh=wh.substr(0,wh.lastIndexOf("-")),fm=wh.substr(wh.lastIndexOf("-")+1),dm=jf.domain,Tm=jf.object;typeof dm=="function"&&(dm=dm({Bucket:wh,Region:Uh})),["http","https"].includes(jf.protocol)&&(jf.protocol=jf.protocol+":");var _m=jf.protocol||(pd.isBrowser&&(typeof location>"u"?"undefined":ud(location))==="object"&&location.protocol==="http:"?"http:":"https:");dm||(["cn-south","cn-south-2","cn-north","cn-east","cn-southwest","sg"].indexOf(Uh)>-1?dm="{Region}.myqcloud.com":dm="cos.{Region}.myqcloud.com",jf.ForcePathStyle||(dm="{Bucket}."+dm)),dm=dm.replace(/\{\{AppId\}\}/gi,fm).replace(/\{\{Bucket\}\}/gi,Bh).replace(/\{\{Region\}\}/gi,Uh).replace(/\{\{.*?\}\}/gi,""),dm=dm.replace(/\{AppId\}/gi,fm).replace(/\{BucketName\}/gi,Bh).replace(/\{Bucket\}/gi,wh).replace(/\{Region\}/gi,Uh).replace(/\{.*?\}/gi,""),/^[a-zA-Z]+:\/\//.test(dm)||(dm=_m+"//"+dm),dm.slice(-1)==="/"&&(dm=dm.slice(0,-1));var Zh=dm;return jf.ForcePathStyle&&(Zh+="/"+wh),Zh+="/",Tm&&(Zh+=pd.camSafeUrlEncode(Tm).replace(/%2F/g,"/")),jf.isLocation&&(Zh=Zh.replace(/^https?:\/\//,"")),Zh}var M_=function(Uh){if(!Uh.Bucket||!Uh.Region)return"";var wh=Uh.UseAccelerate===void 0?this.options.UseAccelerate:Uh.UseAccelerate,Bh=Uh.Url||a_({ForcePathStyle:this.options.ForcePathStyle,protocol:this.options.Protocol,domain:this.options.Domain,bucket:Uh.Bucket,region:wh?"accelerate":Uh.Region}),fm=Bh.replace(/^https?:\/\/([^/]+)(\/.*)?$/,"$1");return fm};function B_(jf,Uh){var wh=pd.clone(jf.Headers),Bh="";pd.each(wh,function(Zg,Ug){(Zg===""||["content-type","cache-control","expires"].indexOf(Ug.toLowerCase())>-1)&&delete wh[Ug],Ug.toLowerCase()==="host"&&(Bh=Zg)});var fm=jf.ForceSignHost!==!1;!Bh&&jf.SignHost&&fm&&(wh.Host=jf.SignHost);var dm=!1,Tm=function(Ug,Ch){dm||(dm=!0,Ch&&Ch.XCosSecurityToken&&!Ch.SecurityToken&&(Ch=pd.clone(Ch),Ch.SecurityToken=Ch.XCosSecurityToken,delete Ch.XCosSecurityToken),Uh&&Uh(Ug,Ch))},_m=this,Zh=jf.Bucket||"",Gm=jf.Region||"",Km=jf.Key||"";_m.options.ForcePathStyle&&Zh&&(Km=Zh+"/"+Km);var xg="/"+Km,eg={},Ag=jf.Scope;if(!Ag){var d_=jf.Action||"",u_=jf.ResourceKey||jf.Key||"";Ag=jf.Scope||[{action:d_,bucket:Zh,region:Gm,prefix:u_}]}var Xg=pd.md5(JSON.stringify(Ag));_m._StsCache=_m._StsCache||[],function(){var Zg,Ug;for(Zg=_m._StsCache.length-1;Zg>=0;Zg--){Ug=_m._StsCache[Zg];var Ch=Math.round(pd.getSkewTime(_m.options.SystemClockOffset)/1e3)+30;if(Ug.StartTime&&Ch<Ug.StartTime||Ch>=Ug.ExpiredTime){_m._StsCache.splice(Zg,1);continue}if(!Ug.ScopeLimit||Ug.ScopeLimit&&Ug.ScopeKey===Xg){eg=Ug;break}}}();var lg=function(){var Ug="";eg.StartTime&&jf.Expires?Ug=eg.StartTime+";"+(eg.StartTime+jf.Expires*1):eg.StartTime&&eg.ExpiredTime&&(Ug=eg.StartTime+";"+eg.ExpiredTime);var Ch=pd.getAuth({SecretId:eg.TmpSecretId,SecretKey:eg.TmpSecretKey,Method:jf.Method,Pathname:xg,Query:jf.Query,Headers:wh,Expires:jf.Expires,UseRawKey:_m.options.UseRawKey,SystemClockOffset:_m.options.SystemClockOffset,KeyTime:Ug,ForceSignHost:fm}),um={Authorization:Ch,SecurityToken:eg.SecurityToken||eg.XCosSecurityToken||"",Token:eg.Token||"",ClientIP:eg.ClientIP||"",ClientUA:eg.ClientUA||"",SignFrom:"client"};Tm(null,um)},N_=function(Ug){if(Ug.Authorization){var Ch=!1,um=Ug.Authorization;if(um)if(um.indexOf(" ")>-1)Ch=!1;else if(um.indexOf("q-sign-algorithm=")>-1&&um.indexOf("q-ak=")>-1&&um.indexOf("q-sign-time=")>-1&&um.indexOf("q-key-time=")>-1&&um.indexOf("q-url-param-list=")>-1)Ch=!0;else try{um=atob(um),um.indexOf("a=")>-1&&um.indexOf("k=")>-1&&um.indexOf("t=")>-1&&um.indexOf("r=")>-1&&um.indexOf("b=")>-1&&(Ch=!0)}catch{}if(!Ch)return pd.error(new Error("getAuthorization callback params format error"))}else{if(!Ug.TmpSecretId)return pd.error(new Error('getAuthorization callback params missing "TmpSecretId"'));if(!Ug.TmpSecretKey)return pd.error(new Error('getAuthorization callback params missing "TmpSecretKey"'));if(!Ug.SecurityToken&&!Ug.XCosSecurityToken)return pd.error(new Error('getAuthorization callback params missing "SecurityToken"'));if(!Ug.ExpiredTime)return pd.error(new Error('getAuthorization callback params missing "ExpiredTime"'));if(Ug.ExpiredTime&&Ug.ExpiredTime.toString().length!==10)return pd.error(new Error('getAuthorization callback params "ExpiredTime" should be 10 digits'));if(Ug.StartTime&&Ug.StartTime.toString().length!==10)return pd.error(new Error('getAuthorization callback params "StartTime" should be 10 StartTime'))}return!1};if(eg.ExpiredTime&&eg.ExpiredTime-pd.getSkewTime(_m.options.SystemClockOffset)/1e3>60)lg();else if(_m.options.getAuthorization)_m.options.getAuthorization.call(_m,{Bucket:Zh,Region:Gm,Method:jf.Method,Key:Km,Pathname:xg,Query:jf.Query,Headers:wh,Scope:Ag,SystemClockOffset:_m.options.SystemClockOffset,ForceSignHost:fm},function(Zg){typeof Zg=="string"&&(Zg={Authorization:Zg});var Ug=N_(Zg);if(Ug)return Tm(Ug);Zg.Authorization?Tm(null,Zg):(eg=Zg||{},eg.Scope=Ag,eg.ScopeKey=Xg,_m._StsCache.push(eg),lg())});else if(_m.options.getSTS)_m.options.getSTS.call(_m,{Bucket:Zh,Region:Gm},function(Zg){eg=Zg||{},eg.Scope=Ag,eg.ScopeKey=Xg,eg.TmpSecretId||(eg.TmpSecretId=eg.SecretId),eg.TmpSecretKey||(eg.TmpSecretKey=eg.SecretKey);var Ug=N_(eg);if(Ug)return Tm(Ug);_m._StsCache.push(eg),lg()});else return function(){var Zg="";if(_m.options.StartTime&&jf.Expires){if(_m.options.StartTime.toString().length!==10)return Tm(pd.error(new Error('params "StartTime" should be 10 digits')));Zg=_m.options.StartTime+";"+(_m.options.StartTime+jf.Expires*1)}else if(_m.options.StartTime&&_m.options.ExpiredTime){if(_m.options.StartTime.toString().length!==10)return Tm(pd.error(new Error('params "StartTime" should be 10 digits')));if(_m.options.ExpiredTime.toString().length!==10)return Tm(pd.error(new Error('params "ExpiredTime" should be 10 digits')));Zg=_m.options.StartTime+";"+_m.options.ExpiredTime*1}var Ug=pd.getAuth({SecretId:jf.SecretId||_m.options.SecretId,SecretKey:jf.SecretKey||_m.options.SecretKey,Method:jf.Method,Pathname:xg,Query:jf.Query,Headers:wh,Expires:jf.Expires,KeyTime:Zg,UseRawKey:_m.options.UseRawKey,SystemClockOffset:_m.options.SystemClockOffset,ForceSignHost:fm}),Ch={Authorization:Ug,SecurityToken:_m.options.SecurityToken||_m.options.XCosSecurityToken,SignFrom:"client"};return Tm(null,Ch),Ch}();return""}function h_(jf){var Uh=this,wh=!1,Bh=!1,fm=!1,dm=jf.headers&&(jf.headers.date||jf.headers.Date)||jf.error&&jf.error.ServerTime;try{var Tm=jf.error.Code,_m=jf.error.Message;(Tm==="RequestTimeTooSkewed"||Tm==="AccessDenied"&&_m==="Request has expired")&&(Bh=!0)}catch{}if(jf)if(Bh&&dm){var Zh=Date.parse(dm);this.options.CorrectClockSkew&&Math.abs(pd.getSkewTime(this.options.SystemClockOffset)-Zh)>=3e4&&(console.error("error: Local time is too skewed."),this.options.SystemClockOffset=Zh-Date.now(),wh=!0)}else Math.floor(jf.statusCode/100)===5?wh=!0:jf.message==="CORS blocked or network error"&&(fm=!0,wh=Uh.options.AutoSwitchHost);return{canRetry:wh,networkError:fm}}function y_(jf){var Uh=jf.requestUrl,wh=jf.clientCalcSign,Bh=jf.networkError;if(!this.options.AutoSwitchHost||!Uh||!wh||!Bh)return!1;var fm=/^https?:\/\/[^\/]*\.cos\.[^\/]*\.myqcloud\.com(\/.*)?$/,dm=/^https?:\/\/[^\/]*\.cos\.accelerate\.myqcloud\.com(\/.*)?$/,Tm=fm.test(Uh)&&!dm.test(Uh);return Tm}function dg(jf,Uh){var wh=this;!jf.headers&&(jf.headers={}),!jf.qs&&(jf.qs={}),jf.VersionId&&(jf.qs.versionId=jf.VersionId),jf.qs=pd.clearKey(jf.qs),jf.headers&&(jf.headers=pd.clearKey(jf.headers)),jf.qs&&(jf.qs=pd.clearKey(jf.qs));var Bh=pd.clone(jf.qs);jf.action&&(Bh[jf.action]="");var fm=jf.url||jf.Url,dm=jf.SignHost||M_.call(this,{Bucket:jf.Bucket,Region:jf.Region,Url:fm}),Tm=jf.tracker,_m=function Zh(Gm){var Km=wh.options.SystemClockOffset;Tm&&Tm.setParams({signStartTime:new Date().getTime(),httpRetryTimes:Gm-1}),jf.SwitchHost&&(dm=dm.replace(/myqcloud.com/,"tencentcos.cn")),B_.call(wh,{Bucket:jf.Bucket||"",Region:jf.Region||"",Method:jf.method,Key:jf.Key,Query:Bh,Headers:jf.headers,SignHost:dm,Action:jf.Action,ResourceKey:jf.ResourceKey,Scope:jf.Scope,ForceSignHost:wh.options.ForceSignHost,SwitchHost:jf.SwitchHost},function(xg,eg){if(xg){Uh(xg);return}Tm&&Tm.setParams({signEndTime:new Date().getTime(),httpStartTime:new Date().getTime()}),jf.AuthData=eg,vb.call(wh,jf,function(Ag,d_){Tm&&Tm.setParams({httpEndTime:new Date().getTime()});var u_=!1,Xg=!1;if(Ag){var lg=h_.call(wh,Ag);u_=lg.canRetry||Km!==wh.options.SystemClockOffset,Xg=lg.networkError}if(Ag&&Gm<2&&u_){jf.headers&&(delete jf.headers.Authorization,delete jf.headers.token,delete jf.headers.clientIP,delete jf.headers.clientUA,jf.headers["x-cos-security-token"]&&delete jf.headers["x-cos-security-token"],jf.headers["x-ci-security-token"]&&delete jf.headers["x-ci-security-token"]);var N_=y_.call(wh,{requestUrl:(Ag==null?void 0:Ag.url)||"",clientCalcSign:eg.SignFrom==="client",networkError:Xg});jf.SwitchHost=N_,jf.retry=!0,Zh(Gm+1)}else Uh(Ag,d_)})})};_m(1)}function vb(jf,Uh){var wh=this,Bh=jf.TaskId;if(!(Bh&&!wh._isRunningTask(Bh))){var fm=jf.Bucket,dm=jf.Region,Tm=jf.Key,_m=jf.method||"GET",Zh=jf.Url||jf.url,Gm=jf.body,Km=jf.rawBody;wh.options.UseAccelerate&&(dm="accelerate"),Zh=Zh||a_({ForcePathStyle:wh.options.ForcePathStyle,protocol:wh.options.Protocol,domain:wh.options.Domain,bucket:fm,region:dm,object:Tm}),jf.SwitchHost&&(Zh=Zh.replace(/myqcloud.com/,"tencentcos.cn"));var xg=Tm?Zh:"";jf.action&&(Zh=Zh+"?"+(pd.isIOS_QQ?"".concat(jf.action,"="):jf.action)),jf.qsStr&&(Zh.indexOf("?")>-1?Zh=Zh+"&"+jf.qsStr:Zh=Zh+"?"+jf.qsStr);var eg={method:_m,url:Zh,headers:jf.headers,qs:jf.qs,body:Gm},Ag="x-cos-security-token";if(pd.isCIHost(Zh)&&(Ag="x-ci-security-token"),eg.headers.Authorization=jf.AuthData.Authorization,jf.AuthData.Token&&(eg.headers.token=jf.AuthData.Token),jf.AuthData.ClientIP&&(eg.headers.clientIP=jf.AuthData.ClientIP),jf.AuthData.ClientUA&&(eg.headers.clientUA=jf.AuthData.ClientUA),jf.AuthData.SecurityToken&&(eg.headers[Ag]=jf.AuthData.SecurityToken),eg.headers&&(eg.headers=pd.clearKey(eg.headers)),jf.retry&&(eg.headers["x-cos-sdk-retry"]=!0),eg=pd.clearKey(eg),jf.onProgress&&typeof jf.onProgress=="function"){var d_=Gm&&(Gm.size||Gm.length)||0;eg.onProgress=function(Ch){if(!(Bh&&!wh._isRunningTask(Bh))){var um=Ch?Ch.loaded:0;jf.onProgress({loaded:um,total:d_})}}}jf.onDownloadProgress&&(eg.onDownloadProgress=jf.onDownloadProgress),jf.DataType&&(eg.dataType=jf.DataType),this.options.Timeout&&(eg.timeout=this.options.Timeout),wh.options.ForcePathStyle&&(eg.pathStyle=wh.options.ForcePathStyle),wh.emit("before-send",eg);var u_=eg.url.includes("accelerate."),Xg=eg.qs?Object.keys(eg.qs).map(function(Ch){return"".concat(Ch,"=").concat(eg.qs[Ch])}).join("&"):"",lg=Xg?eg.url+"?"+Xg:eg.url;if(jf.tracker){var N_;jf.tracker.setParams({url:lg,httpMethod:eg.method,accelerate:u_,httpSize:((N_=eg.body)===null||N_===void 0?void 0:N_.size)||0}),jf.tracker.parent&&!jf.tracker.parent.params.url&&jf.tracker.parent.setParams({url:xg,accelerate:u_})}var Zg=(wh.options.Request||dd)(eg,function(Ch){if(!(Ch&&Ch.error==="abort")){var um={options:eg,error:Ch&&Ch.error,statusCode:Ch&&Ch.statusCode||0,statusMessage:Ch&&Ch.statusMessage||"",headers:Ch&&Ch.headers||{},body:Ch&&Ch.body};wh.emit("after-receive",um);var Ym=um.error,ng=um.body,Um={statusCode:um.statusCode,statusMessage:um.statusMessage,headers:um.headers},Eg,r_=function(xb,O_){if(Bh&&wh.off("inner-kill-task",Ug),!Eg){Eg=!0;var ib={};if(Um&&Um.statusCode&&(ib.statusCode=Um.statusCode),Um&&Um.headers&&(ib.headers=Um.headers),xb)eg.url&&(ib.url=eg.url),eg.method&&(ib.method=eg.method),xb=pd.extend(xb||{},ib),Uh(xb,null);else{if(jf.Action==="name/cos:PutObject"){var W_={};for(var qb in jf.headers){var y0=qb.toLowerCase();W_[y0]=jf.headers[qb]}W_["x-cos-callback"]?O_.Error?(O_.CallbackError=pd.clone(O_.Error),delete O_.Error):O_.CallbackBody=pd.clone(O_):W_["x-cos-return-body"]&&(O_.Error?(O_.ReturnError=pd.clone(O_.Error),delete O_.Error):O_.ReturnBody=pd.clone(O_))}O_=pd.extend(O_||{},ib),Uh(null,O_)}Zg=null}};if(Ym)return r_(pd.error(Ym));var R_=Um.statusCode,G_=Math.floor(R_/100)===2;if(Km){if(G_)return r_(null,{body:ng});if(ng instanceof Blob){pd.readAsBinaryString(ng,function(qg){var xb=pd.parseResBody(qg),O_=xb.Error||xb;return r_(pd.error(new Error(O_.Message||"response body error"),{code:O_.Code,error:O_}))});return}}var Tb=pd.parseResBody(ng),Gb=Tb.Error||Tb;G_?r_(null,Tb):Gb?r_(pd.error(new Error(Gb.Message),{code:Gb.Code,error:Gb})):R_?r_(pd.error(new Error(Um.statusMessage),{code:""+R_})):R_&&r_(pd.error(new Error("statusCode error")))}}),Ug=function Ch(um){um.TaskId===Bh&&(Zg&&Zg.abort&&Zg.abort(),wh.off("inner-kill-task",Ch))};Bh&&wh.on("inner-kill-task",Ug)}}var kb={getService:fd,putBucket:md,headBucket:vd,getBucket:Ad,deleteBucket:Nd,putBucketAcl:Od,getBucketAcl:kd,putBucketCors:Ld,getBucketCors:Gd,deleteBucketCors:jd,getBucketLocation:Fd,getBucketPolicy:qd,putBucketPolicy:Ud,deleteBucketPolicy:zd,putBucketTagging:Wd,getBucketTagging:Jd,deleteBucketTagging:_f,putBucketLifecycle:Xd,getBucketLifecycle:pf,deleteBucketLifecycle:mf,putBucketVersioning:Sf,getBucketVersioning:Tf,putBucketReplication:Af,getBucketReplication:Ef,deleteBucketReplication:Nf,putBucketWebsite:If,getBucketWebsite:Gf,deleteBucketWebsite:Qf,putBucketReferer:Xf,getBucketReferer:ph,putBucketDomain:qf,getBucketDomain:Lf,deleteBucketDomain:Wf,putBucketOrigin:Jf,getBucketOrigin:Kf,deleteBucketOrigin:Cf,putBucketLogging:xf,getBucketLogging:Yf,putBucketInventory:Rh,postBucketInventory:th,getBucketInventory:Bf,listBucketInventory:Sh,deleteBucketInventory:Fh,putBucketAccelerate:uh,getBucketAccelerate:Pf,putBucketEncryption:Uf,getBucketEncryption:Zf,deleteBucketEncryption:mh,getObject:pm,headObject:Mh,listObjectVersions:_h,putObject:Jh,deleteObject:Mm,getObjectAcl:Im,putObjectAcl:gm,optionsObject:Lm,putObjectCopy:Vm,deleteMultipleObject:Rf,restoreObject:wf,putObjectTagging:sh,getObjectTagging:xh,deleteObjectTagging:Wh,selectObjectContent:om,appendObject:Kg,uploadPartCopy:Th,multipartInit:Dm,multipartUpload:zm,multipartComplete:jm,multipartList:ig,multipartListPart:Zm,multipartAbort:ug,request:wg,getObjectUrl:n_,getAuth:Gg};function Z_(jf,Uh,wh){pd.each(["Cors","Acl"],function(Bh){if(jf.slice(-Bh.length)===Bh){var fm=jf.slice(0,-Bh.length)+Bh.toUpperCase(),dm=pd.apiWrapper(jf,Uh),Tm=!1;wh[fm]=function(){!Tm&&console.warn("warning: cos."+fm+" has been deprecated. Please Use cos."+jf+" instead."),Tm=!0,dm.apply(this,arguments)}}})}nd.exports.init=function(jf,Uh){Uh.transferToTaskMethod(kb,"putObject"),pd.each(kb,function(wh,Bh){jf.prototype[Bh]=pd.apiWrapper(Bh,wh),Z_(Bh,wh,jf.prototype)})}},"./src/cos.js":function(nd,od,ld){var ud=ld("./src/util.js"),dd=ld("./src/event.js"),pd=ld("./src/task.js"),fd=ld("./src/base.js"),md=ld("./src/advance.js"),vd=ld("./package.json"),Ad={AppId:"",SecretId:"",SecretKey:"",SecurityToken:"",StartTime:0,ExpiredTime:0,ChunkRetryTimes:2,FileParallelLimit:3,ChunkParallelLimit:3,ChunkSize:1024*1024,SliceSize:1024*1024,CopyChunkParallelLimit:20,CopyChunkSize:1024*1024*10,CopySliceSize:1024*1024*10,MaxPartNumber:1e4,ProgressInterval:1e3,Domain:"",ServiceDomain:"",Protocol:"",CompatibilityMode:!1,ForcePathStyle:!1,UseRawKey:!1,Timeout:0,CorrectClockSkew:!0,SystemClockOffset:0,UploadCheckContentMd5:!1,UploadQueueSize:1e4,UploadAddMetaMd5:!1,UploadIdCacheLimit:50,UseAccelerate:!1,ForceSignHost:!0,AutoSwitchHost:!0,CopySourceParser:null,ObjectKeySimplifyCheck:!0,DeepTracker:!1,TrackerDelay:5e3,CustomId:"",BeaconReporter:null,ClsReporter:null},Nd=function(kd){if(this.options=ud.extend(ud.clone(Ad),kd||{}),this.options.FileParallelLimit=Math.max(1,this.options.FileParallelLimit),this.options.ChunkParallelLimit=Math.max(1,this.options.ChunkParallelLimit),this.options.ChunkRetryTimes=Math.max(0,this.options.ChunkRetryTimes),this.options.ChunkSize=Math.max(1024*1024,this.options.ChunkSize),this.options.CopyChunkParallelLimit=Math.max(1,this.options.CopyChunkParallelLimit),this.options.CopyChunkSize=Math.max(1024*1024,this.options.CopyChunkSize),this.options.CopySliceSize=Math.max(0,this.options.CopySliceSize),this.options.MaxPartNumber=Math.max(1024,Math.min(1e4,this.options.MaxPartNumber)),this.options.Timeout=Math.max(0,this.options.Timeout),this.options.EnableReporter=this.options.BeaconReporter||this.options.ClsReporter,this.options.AppId&&console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g: "test-1250000000").'),this.options.SecretId&&this.options.SecretId.indexOf(" ")>-1&&(console.error("error: SecretId格式错误请检查"),console.error("error: SecretId format is incorrect. Please check")),this.options.SecretKey&&this.options.SecretKey.indexOf(" ")>-1&&(console.error("error: SecretKey格式错误请检查"),console.error("error: SecretKey format is incorrect. Please check")),ud.isNode()&&(console.log("Tip: Next.js、Nuxt.js 等服务端渲染技术可正常使用JavaScript SDK请忽略下方 nodejs 环境警告"),console.warn("warning: cos-js-sdk-v5 不支持 nodejs 环境使用,请改用 cos-nodejs-sdk-v5参考文档 https://cloud.tencent.com/document/product/436/8629"),console.warn("warning: cos-js-sdk-v5 does not support nodejs environment. Please use cos-nodejs-sdk-v5 instead. See: https://cloud.tencent.com/document/product/436/8629")),this.options.ForcePathStyle)throw console.warn("cos-js-sdk-v5不再支持使用path-style仅支持使用virtual-hosted-style参考文档https://cloud.tencent.com/document/product/436/96243"),new Error("ForcePathStyle is not supported");dd.init(this),pd.init(this)};fd.init(Nd,pd),md.init(Nd,pd),Nd.util={md5:ud.md5,xml2json:ud.xml2json,json2xml:ud.json2xml,encodeBase64:ud.encodeBase64},Nd.getAuthorization=ud.getAuth,Nd.version=vd.version,nd.exports=Nd},"./src/event.js":function(nd,od){var ld=function(pd){var fd={},md=function(Ad){return!fd[Ad]&&(fd[Ad]=[]),fd[Ad]};pd.on=function(vd,Ad){vd==="task-list-update"&&console.warn('warning: Event "'+vd+'" has been deprecated. Please use "list-update" instead.'),md(vd).push(Ad)},pd.off=function(vd,Ad){for(var Nd=md(vd),Od=Nd.length-1;Od>=0;Od--)Ad===Nd[Od]&&Nd.splice(Od,1)},pd.emit=function(vd,Ad){for(var Nd=md(vd).map(function(kd){return kd}),Od=0;Od<Nd.length;Od++)Nd[Od](Ad)}},ud=function(){ld(this)};nd.exports.init=ld,nd.exports.EventProxy=ud},"./src/session.js":function(nd,od,ld){var ud=ld("./src/util.js"),dd="cos_sdk_upload_cache",pd=30*24*3600,fd,md,vd=function(){try{var Gd=JSON.parse(localStorage.getItem(dd))}catch{}Gd||(Gd=[]),fd=Gd},Ad=function(){try{fd.length?localStorage.setItem(dd,JSON.stringify(fd)):localStorage.removeItem(dd)}catch{}},Nd=function(){if(!fd){vd.call(this);for(var Gd=!1,jd=Math.round(Date.now()/1e3),Fd=fd.length-1;Fd>=0;Fd--){var Ud=fd[Fd][2];(!Ud||Ud+pd<jd)&&(fd.splice(Fd,1),Gd=!0)}Gd&&Ad()}},Od=function(){md||(md=setTimeout(function(){Ad(),md=null},400))},kd={using:{},setUsing:function(Gd){kd.using[Gd]=!0},removeUsing:function(Gd){delete kd.using[Gd]},getFileId:function(Gd,jd,Fd,Ud){return Gd.name&&Gd.size&&Gd.lastModifiedDate&&jd?ud.md5([Gd.name,Gd.size,Gd.lastModifiedDate,jd,Fd,Ud].join("::")):null},getCopyFileId:function(Gd,jd,Fd,Ud,qd){var zd=jd["content-length"],Wd=jd.etag||"",Jd=jd["last-modified"];return Gd&&Fd?ud.md5([Gd,zd,Wd,Jd,Fd,Ud,qd].join("::")):null},getUploadIdList:function(Gd){if(!Gd)return null;Nd.call(this);for(var jd=[],Fd=0;Fd<fd.length;Fd++)fd[Fd][0]===Gd&&jd.push(fd[Fd][1]);return jd.length?jd:null},saveUploadId:function(Gd,jd,Fd){if(Nd.call(this),!!Gd){for(var Ud=fd.length-1;Ud>=0;Ud--){var qd=fd[Ud];qd[0]===Gd&&qd[1]===jd&&fd.splice(Ud,1)}fd.unshift([Gd,jd,Math.round(Date.now()/1e3)]),fd.length>Fd&&fd.splice(Fd),Od()}},removeUploadId:function(Gd){Nd.call(this),delete kd.using[Gd];for(var jd=fd.length-1;jd>=0;jd--)fd[jd][1]===Gd&&fd.splice(jd,1);Od()}};nd.exports=kd},"./src/task.js":function(nd,od,ld){var ud=ld("./src/session.js"),dd=ld("./src/util.js"),pd={},fd=function(Ad,Nd){pd[Nd]=Ad[Nd],Ad[Nd]=function(Od,kd){Od.SkipTask?pd[Nd].call(this,Od,kd):this._addTask(Nd,Od,kd)}},md=function(Ad){var Nd=[],Od={},kd=0,Ld=0,Gd=function(Jd){var _f={id:Jd.id,Bucket:Jd.Bucket,Region:Jd.Region,Key:Jd.Key,FilePath:Jd.FilePath,state:Jd.state,loaded:Jd.loaded,size:Jd.size,speed:Jd.speed,percent:Jd.percent,hashPercent:Jd.hashPercent,error:Jd.error};return Jd.FilePath&&(_f.FilePath=Jd.FilePath),Jd._custom&&(_f._custom=Jd._custom),_f},jd=function(){var Wd,Jd=function(){Wd=0,Ad.emit("task-list-update",{list:dd.map(Nd,Gd)}),Ad.emit("list-update",{list:dd.map(Nd,Gd)})};return function(){Wd||(Wd=setTimeout(Jd))}}(),Fd=function(){if(!(Nd.length<=Ad.options.UploadQueueSize)){for(var Jd=0;Jd<Ld&&Jd<Nd.length&&Nd.length>Ad.options.UploadQueueSize;){var _f=Nd[Jd].state==="waiting"||Nd[Jd].state==="checking"||Nd[Jd].state==="uploading";!Nd[Jd]||!_f?(Od[Nd[Jd].id]&&delete Od[Nd[Jd].id],Nd.splice(Jd,1),Ld--):Jd++}jd()}},Ud=function Wd(){if(!(kd>=Ad.options.FileParallelLimit)){for(;Nd[Ld]&&Nd[Ld].state!=="waiting";)Ld++;if(!(Ld>=Nd.length)){var Jd=Nd[Ld];Ld++,kd++,Jd.state="checking",Jd.params.onTaskStart&&Jd.params.onTaskStart(Gd(Jd)),!Jd.params.UploadData&&(Jd.params.UploadData={});var _f=dd.formatParams(Jd.api,Jd.params);pd[Jd.api].call(Ad,_f,function(Xd,pf){Ad._isRunningTask(Jd.id)&&((Jd.state==="checking"||Jd.state==="uploading")&&(Jd.state=Xd?"error":"success",Xd&&(Jd.error=Xd),kd--,jd(),Wd(),Jd.callback&&Jd.callback(Xd,pf),Jd.state==="success"&&(Jd.params&&(delete Jd.params.UploadData,delete Jd.params.Body,delete Jd.params),delete Jd.callback)),Fd())}),jd(),setTimeout(Wd)}}},qd=function(Jd,_f){var Xd=Od[Jd];if(Xd){var pf=Xd&&Xd.state==="waiting",mf=Xd&&(Xd.state==="checking"||Xd.state==="uploading");if(_f==="canceled"&&Xd.state!=="canceled"||_f==="paused"&&pf||_f==="paused"&&mf){Xd.state=_f,Ad.emit("inner-kill-task",{TaskId:Jd,toState:_f});try{var Sf=Xd&&Xd.params&&Xd.params.UploadData.UploadId}catch{}_f==="canceled"&&Sf&&ud.removeUsing(Sf),jd(),mf&&(kd--,Ud()),_f==="canceled"&&(Xd.params&&(delete Xd.params.UploadData,delete Xd.params.Body,delete Xd.params),delete Xd.callback)}Fd()}};Ad._addTasks=function(Wd){dd.each(Wd,function(Jd){Ad._addTask(Jd.api,Jd.params,Jd.callback,!0)}),jd()};var zd=!0;Ad._addTask=function(Wd,Jd,_f,Xd){Jd=dd.formatParams(Wd,Jd);var pf=dd.uuid();Jd.TaskId=pf,Jd.onTaskReady&&Jd.onTaskReady(pf),Jd.TaskReady&&(Jd.TaskReady(pf),zd&&console.warn('warning: Param "TaskReady" has been deprecated. Please use "onTaskReady" instead.'),zd=!1);var mf={params:Jd,callback:_f,api:Wd,index:Nd.length,id:pf,Bucket:Jd.Bucket,Region:Jd.Region,Key:Jd.Key,FilePath:Jd.FilePath||"",state:"waiting",loaded:0,size:0,speed:0,percent:0,hashPercent:0,error:null,_custom:Jd._custom},Sf=Jd.onHashProgress;Jd.onHashProgress=function(Af){Ad._isRunningTask(mf.id)&&(mf.hashPercent=Af.percent,Sf&&Sf(Af),jd())};var Tf=Jd.onProgress;return Jd.onProgress=function(Af){Ad._isRunningTask(mf.id)&&(mf.state==="checking"&&(mf.state="uploading"),mf.loaded=Af.loaded,mf.speed=Af.speed,mf.percent=Af.percent,Tf&&Tf(Af),jd())},dd.getFileSize(Wd,Jd,function(Af,Ef){if(Af)return _f(dd.error(Af));Od[pf]=mf,Nd.push(mf),mf.size=Ef,!Xd&&jd(),Ud(),Fd()}),pf},Ad._isRunningTask=function(Wd){var Jd=Od[Wd];return!!(Jd&&(Jd.state==="checking"||Jd.state==="uploading"))},Ad.getTaskList=function(){return dd.map(Nd,Gd)},Ad.cancelTask=function(Wd){qd(Wd,"canceled")},Ad.pauseTask=function(Wd){qd(Wd,"paused")},Ad.restartTask=function(Wd){var Jd=Od[Wd];Jd&&(Jd.state==="paused"||Jd.state==="error")&&(Jd.state="waiting",jd(),Ld=Math.min(Ld,Jd.index),Ud())},Ad.isUploadRunning=function(){return kd||Ld<Nd.length}};nd.exports.transferToTaskMethod=fd,nd.exports.init=md},"./src/tracker.js":function(nd,od,ld){var ud=ld("./node_modules/@babel/runtime/helpers/classCallCheck.js"),dd=ld("./node_modules/@babel/runtime/helpers/createClass.js"),pd=ld("./node_modules/@babel/runtime/helpers/typeof.js"),fd=ld("./package.json"),md=null,vd=function(_f,Xd){if(!md){if(typeof _f!="function")throw new Error("Beacon not found");md=new _f({appkey:"0WEB05PY6MHRGK0U",versionCode:fd.version,channelID:"js_sdk",openid:"openid",unionid:"unid",strictMode:!1,delay:Xd,sessionDuration:60*1e3})}return md},Ad=function(_f){return!_f||_f<0?0:(_f/1e3).toFixed(3)},Nd={getUid:function(){var _f=function(){return((1+Math.random())*65536|0).toString(16).substring(1)};return _f()+_f()+"-"+_f()+"-"+_f()+"-"+_f()+"-"+_f()+_f()+_f()},getNetType:function(){if((typeof navigator>"u"?"undefined":pd(navigator))==="object"){var _f=navigator.connection||navigator.mozConnection||navigator.webkitConnection;return(_f==null?void 0:_f.type)||(_f==null?void 0:_f.effectiveType)||"unknown"}return"unknown"},getProtocol:function(){return(typeof location>"u"?"undefined":pd(location))==="object"?location.protocol.replace(/:/,""):"unknown protocol"},getOsType:function(){if((typeof navigator>"u"?"undefined":pd(navigator))!=="object")return"unknown os";var _f=navigator.userAgent.toLowerCase(),Xd=/macintosh|mac os x/i.test(navigator.userAgent);return _f.indexOf("win32")>=0||_f.indexOf("wow32")>=0?"win32":_f.indexOf("win64")>=0||_f.indexOf("wow64")>=0?"win64":Xd?"mac":"unknown os"},isMobile:function(){var _f=/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i;return!!((typeof navigator>"u"?"undefined":pd(navigator))==="object"&&navigator.userAgent.match(_f))},isAndroid:function(){var _f=/(Android|Adr|Linux)/i;return!!((typeof navigator>"u"?"undefined":pd(navigator))==="object"&&navigator.userAgent.match(_f))},isIOS:function(){var _f=/(iPhone|iPod|iPad|iOS)/i;return!!((typeof navigator>"u"?"undefined":pd(navigator))==="object"&&navigator.userAgent.match(_f))},isOtherMobile:function(){return Od&&!isAndroid&&!isIOS},getUA:function(){if((typeof navigator>"u"?"undefined":pd(navigator))!=="object")return"unknown device";var _f=navigator.userAgent;return _f}},Od=Nd.isMobile(),kd=Nd.isAndroid()?"android":Nd.isIOS?"ios":"other_mobile",Ld=Nd.getOsType(),Gd=Od?kd:Ld,jd=Nd.getUA(),Fd=Nd.getProtocol(),Ud=function(_f){return["putObject","sliceUploadFile","uploadFile","uploadFiles"].includes(_f)?"UploadTask":_f==="getObject"?"DownloadTask":["putObjectCopy","sliceCopyFile"].includes(_f)?"CopyTask":_f};function qd(Jd){return Jd.replace(/([A-Z])/g,"_$1").toLowerCase()}function zd(Jd){var _f={},Xd=["sdkVersionName","sdkVersionCode","osName","networkType","requestName","requestResult","bucket","region","appid","accelerate","url","host","requestPath","userAgent","networkProtocol","httpMethod","httpSize","httpSpeed","httpTookTime","httpMd5","httpSign","httpFullTime","httpDomain","partNumber","httpRetryTimes","customId","traceId","realApi"],pf=[].concat(Xd,["errorNode","errorCode","errorName","errorMessage","errorRequestId","errorHttpCode","errorServiceName","errorType","fullError"]),mf=Jd.requestResult==="Success"?Xd:pf;for(var Sf in Jd)if(mf.includes(Sf)){var Tf=qd(Sf);_f[Tf]=Jd[Sf]}return _f.request_name=Jd.realApi?Ud(Jd.realApi):Jd.requestName,_f}var Wd=function(){function Jd(_f){ud(this,Jd);var Xd=_f.parent,pf=_f.traceId,mf=_f.bucket,Sf=_f.region,Tf=_f.apiName,Af=_f.realApi,Ef=_f.httpMethod,Nf=_f.fileKey,If=_f.fileSize,Gf=_f.accelerate,Qf=_f.customId,Xf=_f.delay,ph=_f.deepTracker,qf=_f.Beacon,Lf=_f.clsReporter,Wf=mf&&mf.substr(mf.lastIndexOf("-")+1)||"";this.parent=Xd,this.deepTracker=ph,this.delay=Xf,Lf&&!this.clsReporter&&(this.clsReporter=Lf),this.params={sdkVersionName:"cos-js-sdk-v5",sdkVersionCode:fd.version,osName:Gd,networkType:"",requestName:Tf||"",requestResult:"",realApi:Af,bucket:mf,region:Sf,accelerate:Gf,httpMethod:Ef,url:"",host:"",httpDomain:"",requestPath:Nf||"",userAgent:jd,networkProtocol:Fd,errorType:"",errorCode:"",errorName:"",errorMessage:"",errorRequestId:"",errorHttpCode:0,errorServiceName:"",errorNode:"",httpTookTime:0,httpSize:If||0,httpMd5:0,httpSign:0,httpFullTime:0,httpSpeed:0,md5StartTime:0,md5EndTime:0,signStartTime:0,signEndTime:0,httpStartTime:0,httpEndTime:0,startTime:new Date().getTime(),endTime:0,traceId:pf||Nd.getUid(),appid:Wf,partNumber:0,httpRetryTimes:0,customId:Qf||"",partTime:0},qf&&(this.beacon=vd(qf,Xf))}return dd(Jd,[{key:"formatResult",value:function(Xd,pf){var mf,Sf,Tf,Af,Ef,Nf,If=new Date().getTime(),Gf=Nd.getNetType(),Qf=Xd?(Xd==null?void 0:Xd.code)||(Xd==null||(mf=Xd.error)===null||mf===void 0?void 0:mf.code)||(Xd==null||(Sf=Xd.error)===null||Sf===void 0?void 0:Sf.Code):"",Xf=Xd?(Xd==null?void 0:Xd.message)||(Xd==null||(Tf=Xd.error)===null||Tf===void 0?void 0:Tf.message)||(Xd==null||(Af=Xd.error)===null||Af===void 0?void 0:Af.Message):"",ph=Xf,qf=Xd?(Xd==null?void 0:Xd.resource)||(Xd==null||(Ef=Xd.error)===null||Ef===void 0?void 0:Ef.resource)||(Xd==null||(Nf=Xd.error)===null||Nf===void 0?void 0:Nf.Resource):"",Lf=Xd?Xd==null?void 0:Xd.statusCode:pf.statusCode,Wf=Xd?(Xd==null?void 0:Xd.headers)&&(Xd==null?void 0:Xd.headers["x-cos-request-id"]):(pf==null?void 0:pf.headers)&&(pf==null?void 0:pf.headers["x-cos-request-id"]),Jf=Xd?Wf?"Server":"Client":"";this.params.requestName==="getObject"&&(this.params.httpSize=pf?pf.headers&&pf.headers["content-length"]:0);var Kf=this.params.realApi==="sliceUploadFile",Cf=this.params.realApi==="sliceCopyFile";if(Kf||Cf){var xf=this.params.httpSize/1024/this.params.partTime;Object.assign(this.params,{httpSpeed:xf<0?0:xf.toFixed(3)})}else{var Yf=If-this.params.startTime,dh=this.params.httpEndTime-this.params.httpStartTime,Rh=this.params.httpSize/1024/(dh/1e3),th=this.params.md5EndTime-this.params.md5StartTime,Bf=this.params.signEndTime-this.params.signStartTime;this.parent&&(this.parent.addParamValue("httpTookTime",Ad(dh)),this.parent.addParamValue("httpFullTime",Ad(Yf)),this.parent.addParamValue("httpMd5",Ad(th)),this.parent.addParamValue("httpSign",Ad(Bf)),["multipartUpload","uploadPartCopy","putObjectCopy"].includes(this.params.requestName)&&this.parent.addParamValue("partTime",Ad(dh))),Object.assign(this.params,{httpFullTime:Ad(Yf),httpMd5:Ad(th),httpSign:Ad(Bf),httpTookTime:Ad(dh),httpSpeed:Rh<0?0:Rh.toFixed(3)})}if(Object.assign(this.params,{networkType:Gf,requestResult:Xd?"Failure":"Success",errorType:Jf,errorCode:Qf,errorHttpCode:Lf,errorName:ph,errorMessage:Xf,errorServiceName:qf,errorRequestId:Wf}),Xd&&(!Qf||!Xf)&&(this.params.fullError=Xd?JSON.stringify(Xd):""),this.params.url){try{var Sh=/^http(s)?:\/\/(.*?)\//.exec(this.params.url);this.params.host=Sh[2]}catch{this.params.host=this.params.url}this.params.httpDomain=this.params.host}}},{key:"report",value:function(Xd,pf){if(!(!this.beacon&&!this.clsReporter)){this.formatResult(Xd,pf);var mf=zd(this.params);this.beacon&&this.sendEventsToBeacon(mf),this.clsReporter&&this.sendEventsToCLS(mf)}}},{key:"setParams",value:function(Xd){Object.assign(this.params,Xd)}},{key:"addParamValue",value:function(Xd,pf){this.params[Xd]=(+this.params[Xd]+ +pf).toFixed(3)}},{key:"sendEventsToBeacon",value:function(Xd){var pf=this.params.requestName==="sliceUploadFile"||this.params.realApi==="sliceUploadFile";if(!(pf&&!this.deepTracker)){var mf="qcloud_track_cos_sdk";this.delay===0?this.beacon&&this.beacon.onDirectUserAction(mf,Xd):this.beacon&&this.beacon.onUserAction(mf,Xd)}}},{key:"sendEventsToCLS",value:function(Xd){var pf=this.delay===0;this.clsReporter.log(Xd,pf)}},{key:"generateSubTracker",value:function(Xd){return Object.assign(Xd,{parent:this,deepTracker:this.deepTracker,traceId:this.params.traceId,bucket:this.params.bucket,region:this.params.region,accelerate:this.params.accelerate,fileKey:this.params.requestPath,customId:this.params.customId,delay:this.delay,clsReporter:this.clsReporter}),new Jd(Xd)}}]),Jd}();nd.exports=Wd},"./src/util.js":function(nd,od,ld){(function(ud){var dd=ld("./node_modules/@babel/runtime/helpers/typeof.js");function pd(Rf,wf){var sh=typeof Symbol<"u"&&Rf[Symbol.iterator]||Rf["@@iterator"];if(!sh){if(Array.isArray(Rf)||(sh=fd(Rf))||wf){sh&&(Rf=sh);var xh=0,Wh=function(){};return{s:Wh,n:function(){return xh>=Rf.length?{done:!0}:{done:!1,value:Rf[xh++]}},e:function(ig){throw ig},f:Wh}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var om=!0,Dm=!1,zm;return{s:function(){sh=sh.call(Rf)},n:function(){var ig=sh.next();return om=ig.done,ig},e:function(ig){Dm=!0,zm=ig},f:function(){try{!om&&sh.return!=null&&sh.return()}finally{if(Dm)throw zm}}}}function fd(Rf,wf){if(Rf){if(typeof Rf=="string")return md(Rf,wf);var sh=Object.prototype.toString.call(Rf).slice(8,-1);if(sh==="Object"&&Rf.constructor&&(sh=Rf.constructor.name),sh==="Map"||sh==="Set")return Array.from(Rf);if(sh==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(sh))return md(Rf,wf)}}function md(Rf,wf){(wf==null||wf>Rf.length)&&(wf=Rf.length);for(var sh=0,xh=new Array(wf);sh<wf;sh++)xh[sh]=Rf[sh];return xh}var vd=ld("./lib/md5.js"),Ad=ld("./lib/crypto.js"),Nd=ld("./node_modules/fast-xml-parser/src/fxp.js"),Od=Nd.XMLParser,kd=Nd.XMLBuilder,Ld=new Od({ignoreDeclaration:!0,ignoreAttributes:!0,parseTagValue:!1}),Gd=new kd,jd=ld("./lib/base64.js"),Fd=ld("./src/tracker.js"),Ud=function(wf){var sh=Ld.parse(wf);return sh},qd=function(wf){var sh=Gd.build(wf);return sh};function zd(Rf){return encodeURIComponent(Rf).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A")}function Wd(Rf,wf){var sh=[];for(var xh in Rf)Rf.hasOwnProperty(xh)&&sh.push(wf?zd(xh).toLowerCase():xh);return sh.sort(function(Wh,om){return Wh=Wh.toLowerCase(),om=om.toLowerCase(),Wh===om?0:Wh>om?1:-1})}var Jd=function(wf,sh){var xh,Wh,om,Dm=[],zm=Wd(wf);for(xh=0;xh<zm.length;xh++)Wh=zm[xh],om=wf[Wh]===void 0||wf[Wh]===null?"":""+wf[Wh],Wh=sh?zd(Wh).toLowerCase():zd(Wh),om=zd(om)||"",Dm.push(Wh+"="+om);return Dm.join("&")},_f=["cache-control","content-disposition","content-encoding","content-length","content-md5","expect","expires","host","if-match","if-modified-since","if-none-match","if-unmodified-since","origin","range","transfer-encoding","pic-operations"],Xd=function(wf){var sh={};for(var xh in wf){var Wh=xh.toLowerCase();(Wh.indexOf("x-cos-")>-1||_f.indexOf(Wh)>-1)&&(sh[xh]=wf[xh])}return sh},pf=function(wf){wf=wf||{};var sh=wf.SecretId,xh=wf.SecretKey,Wh=wf.KeyTime,om=(wf.method||wf.Method||"get").toLowerCase(),Dm=Lf(wf.Query||wf.params||{}),zm=Xd(Lf(wf.Headers||wf.headers||{})),jm=wf.Key||"",ig;wf.UseRawKey?ig=wf.Pathname||wf.pathname||"/"+jm:(ig=wf.Pathname||wf.pathname||jm,ig.indexOf("/")!==0&&(ig="/"+ig));var Zm=wf.ForceSignHost!==!1;if(!zm.Host&&!zm.host&&wf.Bucket&&wf.Region&&Zm&&(zm.Host=wf.Bucket+".cos."+wf.Region+".myqcloud.com"),!sh)throw new Error("missing param SecretId");if(!xh)throw new Error("missing param SecretKey");var ug=Math.round(Zf(wf.SystemClockOffset)/1e3)-1,wg=ug,Kg=wf.Expires||wf.expires;Kg===void 0?wg+=900:wg+=Kg*1||0;var Gg="sha1",n_=sh,Pg=Wh||ug+";"+wg,m_=Wh||ug+";"+wg,a_=Wd(zm,!0).join(";").toLowerCase(),M_=Wd(Dm,!0).join(";").toLowerCase(),B_=Ad.HmacSHA1(m_,xh).toString(),h_=[om,ig,Th.obj2str(Dm,!0),Th.obj2str(zm,!0),""].join(`
`),y_=["sha1",Pg,Ad.SHA1(h_).toString(),""].join(`
`),dg=Ad.HmacSHA1(y_,B_).toString(),vb=["q-sign-algorithm="+Gg,"q-ak="+n_,"q-sign-time="+Pg,"q-key-time="+m_,"q-header-list="+a_,"q-url-param-list="+M_,"q-signature="+dg].join("&");return vb},mf=function(wf,sh,xh){var Wh=sh/8,om=wf.slice(xh,xh+Wh);return new Uint8Array(om).reverse(),new{8:Uint8Array,16:Uint16Array,32:Uint32Array}[sh](om)[0]},Sf=function(wf,sh,xh,Wh){var om=wf.slice(sh,xh),Dm="";return new Uint8Array(om).forEach(function(zm){Dm+=String.fromCharCode(zm)}),Wh&&(Dm=decodeURIComponent(escape(Dm))),Dm},Tf=function(wf){for(var sh={},xh=Sf(wf),Wh={records:[]};wf.byteLength;){var om=mf(wf,32,0),Dm=mf(wf,32,4),zm=om-Dm-16,jm=0,ig;for(wf=wf.slice(12);jm<Dm;){var Zm=mf(wf,8,jm),ug=Sf(wf,jm+1,jm+1+Zm),wg=mf(wf,16,jm+Zm+2),Kg=Sf(wf,jm+Zm+4,jm+Zm+4+wg);sh[ug]=Kg,jm+=Zm+4+wg}if(sh[":event-type"]==="Records")ig=Sf(wf,jm,jm+zm,!0),Wh.records.push(ig);else if(sh[":event-type"]==="Stats")ig=Sf(wf,jm,jm+zm,!0),Wh.stats=Th.xml2json(ig).Stats;else if(sh[":event-type"]==="error"){var Gg=sh[":error-code"],n_=sh[":error-message"],Pg=new Error(n_);Pg.message=n_,Pg.name=Pg.code=Gg,Wh.error=Pg}wf=wf.slice(jm+zm+4)}return{payload:Wh.records.join(""),body:xh}},Af=function(wf){var sh=this.options.CopySourceParser;if(sh)return sh(wf);var xh=wf.match(/^([^.]+-\d+)\.cos(v6|-cdc|-cdz|-internal)?\.([^.]+)\.((myqcloud\.com)|(tencentcos\.cn))\/(.+)$/);return xh?{Bucket:xh[1],Region:xh[3],Key:xh[7]}:null},Ef=function(){},Nf=function(wf){var sh={};for(var xh in wf)wf.hasOwnProperty(xh)&&wf[xh]!==void 0&&wf[xh]!==null&&(sh[xh]=wf[xh]);return sh},If=function(wf,sh){var xh,Wh=new FileReader;FileReader.prototype.readAsBinaryString?(xh=FileReader.prototype.readAsBinaryString,Wh.onload=function(){sh(this.result)}):FileReader.prototype.readAsArrayBuffer?xh=function(Dm){var zm="",jm=new FileReader;jm.onload=function(ig){for(var Zm=new Uint8Array(jm.result),ug=Zm.byteLength,wg=0;wg<ug;wg++)zm+=String.fromCharCode(Zm[wg]);sh(zm)},jm.readAsArrayBuffer(Dm)}:console.error("FileReader not support readAsBinaryString"),xh.call(Wh,wf)},Gf=function(){var Rf=function(xh,Wh){xh=xh.split("."),Wh=Wh.split(".");for(var om=0;om<Wh.length;om++)if(xh[om]!==Wh[om])return parseInt(xh[om])>parseInt(Wh[om])?1:-1;return 0},wf=function(xh){if(!xh)return!1;var Wh=(xh.match(/Chrome\/([.\d]+)/)||[])[1],om=(xh.match(/QBCore\/([.\d]+)/)||[])[1],Dm=(xh.match(/QQBrowser\/([.\d]+)/)||[])[1],zm=Wh&&Rf(Wh,"53.0.2785.116")<0&&om&&Rf(om,"3.53.991.400")<0&&Dm&&Rf(Dm,"9.0.2524.400")<=0||!1;return zm};return wf(typeof navigator<"u"&&navigator.userAgent)}(),Qf=function(wf,sh,xh,Wh,om){var Dm;if(wf.slice?Dm=wf.slice(sh,xh):wf.mozSlice?Dm=wf.mozSlice(sh,xh):wf.webkitSlice&&(Dm=wf.webkitSlice(sh,xh)),Wh&&Gf){var zm=new FileReader;zm.onload=function(jm){Dm=null,om(new Blob([zm.result]))},zm.readAsArrayBuffer(Dm)}else om(Dm)},Xf=function(wf,sh,xh,Wh){xh=xh||Ef,wf?typeof sh=="string"?xh(Th.md5(sh,!0)):Blob&&sh instanceof Blob?Th.getFileMd5(sh,function(om,Dm){xh(Dm)},Wh):xh():xh()},ph=1024*1024,qf=function(wf,sh,xh){var Wh=wf.size,om=0,Dm=vd.getCtx(),zm=function jm(ig){if(ig>=Wh){var Zm=Dm.digest("hex");sh(null,Zm);return}var ug=Math.min(Wh,ig+ph);Th.fileSlice(wf,ig,ug,!1,function(wg){If(wg,function(Kg){wg=null,Dm=Dm.update(Kg,!0),om+=Kg.length,Kg=null,xh&&xh({loaded:om,total:Wh,percent:Math.round(om/Wh*1e4)/1e4}),jm(ig+ph)})})};zm(0)};function Lf(Rf){return dh(Rf,function(wf){return dd(wf)==="object"&&wf!==null?Lf(wf):wf})}function Wf(Rf,wf,sh){return Rf&&wf in Rf?Rf[wf]:sh}function Jf(Rf,wf){return Yf(wf,function(sh,xh){Rf[xh]=wf[xh]}),Rf}function Kf(Rf){return Rf instanceof Array}function Cf(Rf,wf){for(var sh=!1,xh=0;xh<Rf.length;xh++)if(wf===Rf[xh]){sh=!0;break}return sh}function xf(Rf){return Kf(Rf)?Rf:[Rf]}function Yf(Rf,wf){for(var sh in Rf)Rf.hasOwnProperty(sh)&&wf(Rf[sh],sh)}function dh(Rf,wf){var sh=Kf(Rf)?[]:{};for(var xh in Rf)Rf.hasOwnProperty(xh)&&(sh[xh]=wf(Rf[xh],xh));return sh}function Rh(Rf,wf){var sh=Kf(Rf),xh=sh?[]:{};for(var Wh in Rf)Rf.hasOwnProperty(Wh)&&wf(Rf[Wh],Wh)&&(sh?xh.push(Rf[Wh]):xh[Wh]=Rf[Wh]);return xh}var th=function(wf){var sh,xh,Wh,om="";for(sh=0,xh=wf.length/2;sh<xh;sh++)Wh=parseInt(wf[sh*2]+wf[sh*2+1],16),om+=String.fromCharCode(Wh);return btoa(om)},Bf=function(){var wf=function(){return((1+Math.random())*65536|0).toString(16).substring(1)};return wf()+wf()+"-"+wf()+"-"+wf()+"-"+wf()+"-"+wf()+wf()+wf()},Sh=function(wf,sh){var xh=sh.Bucket,Wh=sh.Region,om=sh.Key,Dm=this.options.Domain,zm=!Dm||typeof Dm=="string"&&Dm.indexOf("{Bucket}")>-1,jm=!Dm||typeof Dm=="string"&&Dm.indexOf("{Region}")>-1;if(wf.indexOf("Bucket")>-1||wf==="deleteMultipleObject"||wf==="multipartList"||wf==="listObjectVersions"){if(zm&&!xh)return"Bucket";if(jm&&!Wh)return"Region"}else if(wf.indexOf("Object")>-1||wf.indexOf("multipart")>-1||wf==="sliceUploadFile"||wf==="abortUploadTask"||wf==="uploadFile"){if(zm&&!xh)return"Bucket";if(jm&&!Wh)return"Region";if(!om)return"Key"}return!1},Fh=function(wf,sh){if(sh=Jf({},sh),wf!=="getAuth"&&wf!=="getV4Auth"&&wf!=="getObjectUrl"){var xh=sh.Headers||{};if(sh&&dd(sh)==="object"){(function(){for(var om in sh)sh.hasOwnProperty(om)&&om.indexOf("x-cos-")>-1&&(xh[om]=sh[om])})();var Wh={"x-cos-mfa":"MFA","Content-MD5":"ContentMD5","Content-Length":"ContentLength","Content-Type":"ContentType",Expect:"Expect",Expires:"Expires","Cache-Control":"CacheControl","Content-Disposition":"ContentDisposition","Content-Encoding":"ContentEncoding",Range:"Range","If-Modified-Since":"IfModifiedSince","If-Unmodified-Since":"IfUnmodifiedSince","If-Match":"IfMatch","If-None-Match":"IfNoneMatch","x-cos-copy-source":"CopySource","x-cos-copy-source-Range":"CopySourceRange","x-cos-metadata-directive":"MetadataDirective","x-cos-copy-source-If-Modified-Since":"CopySourceIfModifiedSince","x-cos-copy-source-If-Unmodified-Since":"CopySourceIfUnmodifiedSince","x-cos-copy-source-If-Match":"CopySourceIfMatch","x-cos-copy-source-If-None-Match":"CopySourceIfNoneMatch","x-cos-acl":"ACL","x-cos-grant-read":"GrantRead","x-cos-grant-write":"GrantWrite","x-cos-grant-full-control":"GrantFullControl","x-cos-grant-read-acp":"GrantReadAcp","x-cos-grant-write-acp":"GrantWriteAcp","x-cos-storage-class":"StorageClass","x-cos-traffic-limit":"TrafficLimit","x-cos-mime-limit":"MimeLimit","x-cos-server-side-encryption-customer-algorithm":"SSECustomerAlgorithm","x-cos-server-side-encryption-customer-key":"SSECustomerKey","x-cos-server-side-encryption-customer-key-MD5":"SSECustomerKeyMD5","x-cos-server-side-encryption":"ServerSideEncryption","x-cos-server-side-encryption-cos-kms-key-id":"SSEKMSKeyId","x-cos-server-side-encryption-context":"SSEContext","Pic-Operations":"PicOperations","x-cos-callback":"Callback","x-cos-callback-var":"CallbackVar","x-cos-return-body":"ReturnBody"};Th.each(Wh,function(om,Dm){sh[om]!==void 0&&(xh[Dm]=sh[om])}),sh.Headers=Nf(xh)}}return sh},uh=function(wf,sh){return function(xh,Wh){var om=this;typeof xh=="function"&&(Wh=xh,xh={}),xh=Fh(wf,xh);var Dm;if(om.options.EnableReporter)if(xh.calledBySdk==="sliceUploadFile"||xh.calledBySdk==="sliceCopyFile")Dm=xh.tracker&&xh.tracker.generateSubTracker({apiName:wf});else if(["uploadFile","uploadFiles"].includes(wf))Dm=null;else{var zm=0;xh.Body&&(zm=typeof xh.Body=="string"?xh.Body.length:xh.Body.size||xh.Body.byteLength||0);var jm=om.options.UseAccelerate||typeof om.options.Domain=="string"&&om.options.Domain.includes("accelerate.");Dm=new Fd({Beacon:om.options.BeaconReporter,clsReporter:om.options.ClsReporter,bucket:xh.Bucket,region:xh.Region,apiName:wf,realApi:wf,accelerate:jm,fileKey:xh.Key,fileSize:zm,deepTracker:om.options.DeepTracker,customId:om.options.CustomId,delay:om.options.TrackerDelay})}xh.tracker=Dm;var ig=function(Pg){return Pg&&Pg.headers&&(Pg.headers["x-cos-request-id"]&&(Pg.RequestId=Pg.headers["x-cos-request-id"]),Pg.headers["x-ci-request-id"]&&(Pg.RequestId=Pg.headers["x-ci-request-id"]),Pg.headers["x-cos-version-id"]&&(Pg.VersionId=Pg.headers["x-cos-version-id"]),Pg.headers["x-cos-delete-marker"]&&(Pg.DeleteMarker=Pg.headers["x-cos-delete-marker"])),Pg},Zm=function(Pg,m_){Dm&&Dm.report(Pg,m_),Wh&&Wh(ig(Pg),ig(m_))},ug=function(){if(wf!=="getService"&&wf!=="abortUploadTask"){var Pg=Sh.call(om,wf,xh);if(Pg)return"missing param "+Pg;if(xh.Region){if(om.options.CompatibilityMode){if(!/^([a-z\d-.]+)$/.test(xh.Region))return"Region format error."}else{if(xh.Region.indexOf("cos.")>-1)return'param Region should not be start with "cos."';if(!/^([a-z\d-]+)$/.test(xh.Region))return"Region format error."}!om.options.CompatibilityMode&&xh.Region.indexOf("-")===-1&&xh.Region!=="yfb"&&xh.Region!=="default"&&xh.Region!=="accelerate"&&console.warn("warning: param Region format error, find help here: https://cloud.tencent.com/document/product/436/6224")}if(xh.Bucket){if(!/^([a-z\d-]+)-(\d+)$/.test(xh.Bucket))if(xh.AppId)xh.Bucket=xh.Bucket+"-"+xh.AppId;else if(om.options.AppId)xh.Bucket=xh.Bucket+"-"+om.options.AppId;else return'Bucket should format as "test-1250000000".';xh.AppId&&(console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g Bucket:"test-1250000000" ).'),delete xh.AppId)}!om.options.UseRawKey&&xh.Key&&xh.Key.substr(0,1)==="/"&&(xh.Key=xh.Key.substr(1))}},wg=ug(),Kg=["getAuth","getObjectUrl"].includes(wf);if(typeof Promise=="function"&&!Kg&&!Wh)return new Promise(function(n_,Pg){if(Wh=function(a_,M_){a_?Pg(a_):n_(M_)},wg)return Zm(Th.error(new Error(wg)));sh.call(om,xh,Zm)});if(wg)return Zm(Th.error(new Error(wg)));var Gg=sh.call(om,xh,Zm);if(Kg)return Gg}},Pf=function(wf,sh){var xh=this,Wh=0,om=0,Dm=Date.now(),zm,jm;function ig(){if(jm=0,sh&&typeof sh=="function"){zm=Date.now();var Zm=Math.max(0,Math.round((om-Wh)/((zm-Dm)/1e3)*100)/100)||0,ug;om===0&&wf===0?ug=1:ug=Math.floor(om/wf*100)/100||0,Dm=zm,Wh=om;try{sh({loaded:om,total:wf,speed:Zm,percent:ug})}catch{}}}return function(Zm,ug){if(Zm&&(om=Zm.loaded,wf=Zm.total),ug)clearTimeout(jm),ig();else{if(jm)return;jm=setTimeout(ig,xh.options.ProgressInterval)}}},Uf=function(wf,sh,xh){var Wh;if(typeof sh.Body=="string"?sh.Body=new Blob([sh.Body],{type:"text/plain"}):sh.Body instanceof ArrayBuffer&&(sh.Body=new Blob([sh.Body])),sh.Body&&(sh.Body instanceof Blob||sh.Body.toString()==="[object File]"||sh.Body.toString()==="[object Blob]"))Wh=sh.Body.size;else{xh(Th.error(new Error("params body format error, Only allow File|Blob|String.")));return}sh.ContentLength=Wh,xh(null,Wh)},Zf=function(wf){return Date.now()+(wf||0)},mh=function(wf,sh){var xh=wf;return wf.message=wf.message||null,typeof sh=="string"?(wf.error=sh,wf.message=sh):dd(sh)==="object"&&sh!==null&&(Jf(wf,sh),(sh.code||sh.name)&&(wf.code=sh.code||sh.name),sh.message&&(wf.message=sh.message),sh.stack&&(wf.stack=sh.stack)),typeof Object.defineProperty=="function"&&(Object.defineProperty(wf,"name",{writable:!0,enumerable:!1}),Object.defineProperty(wf,"message",{enumerable:!0})),wf.name=sh&&sh.name||wf.name||wf.code||"Error",wf.code||(wf.code=wf.name),wf.error||(wf.error=Lf(xh)),wf},Mh=function(){return(typeof globalThis>"u"?"undefined":dd(globalThis))==="object"&&(globalThis.constructor.name==="DedicatedWorkerGlobalScope"||globalThis.FileReaderSync)},_h=function(){return(typeof window>"u"?"undefined":dd(window))!=="object"&&(typeof ud>"u"?"undefined":dd(ud))==="object"&&!0&&!Mh()},pm=function(wf){return/^https?:\/\/([^/]+\.)?ci\.[^/]+/.test(wf)},Jh=function(){if((typeof navigator>"u"?"undefined":dd(navigator))!=="object")return!1;var Rf=navigator.userAgent,wf=!!Rf.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);return wf}(),Mm=function(){return(typeof navigator>"u"?"undefined":dd(navigator))!=="object"?!1:/\sQQ/i.test(navigator.userAgent)}(),Im=function(wf,sh){var xh=jd.encode(wf);return sh&&(xh=xh.replaceAll("+","-").replaceAll("/","_").replaceAll("=","")),xh},gm=function(wf){return wf?jd.decode(wf):""},Lm=function(wf){var sh=wf.split("/"),xh=[],Wh=pd(sh),om;try{for(Wh.s();!(om=Wh.n()).done;){var Dm=om.value;Dm===".."?xh.length&&xh.pop():Dm.length&&Dm!=="."&&xh.push(Dm)}}catch(zm){Wh.e(zm)}finally{Wh.f()}return"/"+xh.join("/")},Vm=function(wf){var sh;if(wf&&typeof wf=="string"){var xh=wf.trim(),Wh=xh.indexOf("<")===0,om=xh.indexOf("{")===0;if(Wh)sh=Th.xml2json(wf)||{};else if(om)try{var Dm=wf.replace(/\n/g," "),zm=JSON.parse(Dm);Object.prototype.toString.call(zm)==="[object Object]"?sh=zm:sh=wf}catch{sh=wf}else sh=wf}else sh=wf||{};return sh},Th={noop:Ef,formatParams:Fh,apiWrapper:uh,xml2json:Ud,json2xml:qd,md5:vd,clearKey:Nf,fileSlice:Qf,getBodyMd5:Xf,getFileMd5:qf,b64:th,extend:Jf,isArray:Kf,isInArray:Cf,makeArray:xf,each:Yf,map:dh,filter:Rh,clone:Lf,attr:Wf,uuid:Bf,camSafeUrlEncode:zd,throttleOnProgress:Pf,getFileSize:Uf,getSkewTime:Zf,error:mh,obj2str:Jd,getAuth:pf,parseSelectPayload:Tf,getSourceParams:Af,isBrowser:!0,isNode:_h,isCIHost:pm,isIOS_QQ:Jh&&Mm,encodeBase64:Im,decodeBase64:gm,simplifyPath:Lm,readAsBinaryString:If,parseResBody:Vm};nd.exports=Th}).call(this,ld("./node_modules/process/browser.js"))}})})})(cosJsSdkV5);var cosJsSdkV5Exports=cosJsSdkV5.exports;const COS=getDefaultExportFromCjs(cosJsSdkV5Exports);var cryptoJs={exports:{}},core={exports:{}};const __viteBrowserExternal={},http=Object.freeze(Object.defineProperty({__proto__:null,default:__viteBrowserExternal},Symbol.toStringTag,{value:"Module"})),require$$0$1=getAugmentedNamespace(http);var hasRequiredCore;function requireCore(){return hasRequiredCore||(hasRequiredCore=1,function(Ra,qa){(function(nd,od){Ra.exports=od()})(commonjsGlobal,function(){var nd=nd||function(od,ld){var ud;if(typeof window<"u"&&window.crypto&&(ud=window.crypto),typeof self<"u"&&self.crypto&&(ud=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(ud=globalThis.crypto),!ud&&typeof window<"u"&&window.msCrypto&&(ud=window.msCrypto),!ud&&typeof commonjsGlobal<"u"&&commonjsGlobal.crypto&&(ud=commonjsGlobal.crypto),!ud&&typeof commonjsRequire=="function")try{ud=require$$0$1}catch{}var dd=function(){if(ud){if(typeof ud.getRandomValues=="function")try{return ud.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof ud.randomBytes=="function")try{return ud.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},pd=Object.create||function(){function Fd(){}return function(Ud){var qd;return Fd.prototype=Ud,qd=new Fd,Fd.prototype=null,qd}}(),fd={},md=fd.lib={},vd=md.Base=function(){return{extend:function(Fd){var Ud=pd(this);return Fd&&Ud.mixIn(Fd),(!Ud.hasOwnProperty("init")||this.init===Ud.init)&&(Ud.init=function(){Ud.$super.init.apply(this,arguments)}),Ud.init.prototype=Ud,Ud.$super=this,Ud},create:function(){var Fd=this.extend();return Fd.init.apply(Fd,arguments),Fd},init:function(){},mixIn:function(Fd){for(var Ud in Fd)Fd.hasOwnProperty(Ud)&&(this[Ud]=Fd[Ud]);Fd.hasOwnProperty("toString")&&(this.toString=Fd.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),Ad=md.WordArray=vd.extend({init:function(Fd,Ud){Fd=this.words=Fd||[],Ud!=ld?this.sigBytes=Ud:this.sigBytes=Fd.length*4},toString:function(Fd){return(Fd||Od).stringify(this)},concat:function(Fd){var Ud=this.words,qd=Fd.words,zd=this.sigBytes,Wd=Fd.sigBytes;if(this.clamp(),zd%4)for(var Jd=0;Jd<Wd;Jd++){var _f=qd[Jd>>>2]>>>24-Jd%4*8&255;Ud[zd+Jd>>>2]|=_f<<24-(zd+Jd)%4*8}else for(var Xd=0;Xd<Wd;Xd+=4)Ud[zd+Xd>>>2]=qd[Xd>>>2];return this.sigBytes+=Wd,this},clamp:function(){var Fd=this.words,Ud=this.sigBytes;Fd[Ud>>>2]&=4294967295<<32-Ud%4*8,Fd.length=od.ceil(Ud/4)},clone:function(){var Fd=vd.clone.call(this);return Fd.words=this.words.slice(0),Fd},random:function(Fd){for(var Ud=[],qd=0;qd<Fd;qd+=4)Ud.push(dd());return new Ad.init(Ud,Fd)}}),Nd=fd.enc={},Od=Nd.Hex={stringify:function(Fd){for(var Ud=Fd.words,qd=Fd.sigBytes,zd=[],Wd=0;Wd<qd;Wd++){var Jd=Ud[Wd>>>2]>>>24-Wd%4*8&255;zd.push((Jd>>>4).toString(16)),zd.push((Jd&15).toString(16))}return zd.join("")},parse:function(Fd){for(var Ud=Fd.length,qd=[],zd=0;zd<Ud;zd+=2)qd[zd>>>3]|=parseInt(Fd.substr(zd,2),16)<<24-zd%8*4;return new Ad.init(qd,Ud/2)}},kd=Nd.Latin1={stringify:function(Fd){for(var Ud=Fd.words,qd=Fd.sigBytes,zd=[],Wd=0;Wd<qd;Wd++){var Jd=Ud[Wd>>>2]>>>24-Wd%4*8&255;zd.push(String.fromCharCode(Jd))}return zd.join("")},parse:function(Fd){for(var Ud=Fd.length,qd=[],zd=0;zd<Ud;zd++)qd[zd>>>2]|=(Fd.charCodeAt(zd)&255)<<24-zd%4*8;return new Ad.init(qd,Ud)}},Ld=Nd.Utf8={stringify:function(Fd){try{return decodeURIComponent(escape(kd.stringify(Fd)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(Fd){return kd.parse(unescape(encodeURIComponent(Fd)))}},Gd=md.BufferedBlockAlgorithm=vd.extend({reset:function(){this._data=new Ad.init,this._nDataBytes=0},_append:function(Fd){typeof Fd=="string"&&(Fd=Ld.parse(Fd)),this._data.concat(Fd),this._nDataBytes+=Fd.sigBytes},_process:function(Fd){var Ud,qd=this._data,zd=qd.words,Wd=qd.sigBytes,Jd=this.blockSize,_f=Jd*4,Xd=Wd/_f;Fd?Xd=od.ceil(Xd):Xd=od.max((Xd|0)-this._minBufferSize,0);var pf=Xd*Jd,mf=od.min(pf*4,Wd);if(pf){for(var Sf=0;Sf<pf;Sf+=Jd)this._doProcessBlock(zd,Sf);Ud=zd.splice(0,pf),qd.sigBytes-=mf}return new Ad.init(Ud,mf)},clone:function(){var Fd=vd.clone.call(this);return Fd._data=this._data.clone(),Fd},_minBufferSize:0});md.Hasher=Gd.extend({cfg:vd.extend(),init:function(Fd){this.cfg=this.cfg.extend(Fd),this.reset()},reset:function(){Gd.reset.call(this),this._doReset()},update:function(Fd){return this._append(Fd),this._process(),this},finalize:function(Fd){Fd&&this._append(Fd);var Ud=this._doFinalize();return Ud},blockSize:16,_createHelper:function(Fd){return function(Ud,qd){return new Fd.init(qd).finalize(Ud)}},_createHmacHelper:function(Fd){return function(Ud,qd){return new jd.HMAC.init(Fd,qd).finalize(Ud)}}});var jd=fd.algo={};return fd}(Math);return nd})}(core)),core.exports}var x64Core={exports:{}},hasRequiredX64Core;function requireX64Core(){return hasRequiredX64Core||(hasRequiredX64Core=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){return function(od){var ld=nd,ud=ld.lib,dd=ud.Base,pd=ud.WordArray,fd=ld.x64={};fd.Word=dd.extend({init:function(md,vd){this.high=md,this.low=vd}}),fd.WordArray=dd.extend({init:function(md,vd){md=this.words=md||[],vd!=od?this.sigBytes=vd:this.sigBytes=md.length*8},toX32:function(){for(var md=this.words,vd=md.length,Ad=[],Nd=0;Nd<vd;Nd++){var Od=md[Nd];Ad.push(Od.high),Ad.push(Od.low)}return pd.create(Ad,this.sigBytes)},clone:function(){for(var md=dd.clone.call(this),vd=md.words=this.words.slice(0),Ad=vd.length,Nd=0;Nd<Ad;Nd++)vd[Nd]=vd[Nd].clone();return md}})}(),nd})}(x64Core)),x64Core.exports}var libTypedarrays={exports:{}},hasRequiredLibTypedarrays;function requireLibTypedarrays(){return hasRequiredLibTypedarrays||(hasRequiredLibTypedarrays=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){return function(){if(typeof ArrayBuffer=="function"){var od=nd,ld=od.lib,ud=ld.WordArray,dd=ud.init,pd=ud.init=function(fd){if(fd instanceof ArrayBuffer&&(fd=new Uint8Array(fd)),(fd instanceof Int8Array||typeof Uint8ClampedArray<"u"&&fd instanceof Uint8ClampedArray||fd instanceof Int16Array||fd instanceof Uint16Array||fd instanceof Int32Array||fd instanceof Uint32Array||fd instanceof Float32Array||fd instanceof Float64Array)&&(fd=new Uint8Array(fd.buffer,fd.byteOffset,fd.byteLength)),fd instanceof Uint8Array){for(var md=fd.byteLength,vd=[],Ad=0;Ad<md;Ad++)vd[Ad>>>2]|=fd[Ad]<<24-Ad%4*8;dd.call(this,vd,md)}else dd.apply(this,arguments)};pd.prototype=ud}}(),nd.lib.WordArray})}(libTypedarrays)),libTypedarrays.exports}var encUtf16={exports:{}},hasRequiredEncUtf16;function requireEncUtf16(){return hasRequiredEncUtf16||(hasRequiredEncUtf16=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.WordArray,dd=od.enc;dd.Utf16=dd.Utf16BE={stringify:function(fd){for(var md=fd.words,vd=fd.sigBytes,Ad=[],Nd=0;Nd<vd;Nd+=2){var Od=md[Nd>>>2]>>>16-Nd%4*8&65535;Ad.push(String.fromCharCode(Od))}return Ad.join("")},parse:function(fd){for(var md=fd.length,vd=[],Ad=0;Ad<md;Ad++)vd[Ad>>>1]|=fd.charCodeAt(Ad)<<16-Ad%2*16;return ud.create(vd,md*2)}},dd.Utf16LE={stringify:function(fd){for(var md=fd.words,vd=fd.sigBytes,Ad=[],Nd=0;Nd<vd;Nd+=2){var Od=pd(md[Nd>>>2]>>>16-Nd%4*8&65535);Ad.push(String.fromCharCode(Od))}return Ad.join("")},parse:function(fd){for(var md=fd.length,vd=[],Ad=0;Ad<md;Ad++)vd[Ad>>>1]|=pd(fd.charCodeAt(Ad)<<16-Ad%2*16);return ud.create(vd,md*2)}};function pd(fd){return fd<<8&4278255360|fd>>>8&16711935}}(),nd.enc.Utf16})}(encUtf16)),encUtf16.exports}var encBase64={exports:{}},hasRequiredEncBase64;function requireEncBase64(){return hasRequiredEncBase64||(hasRequiredEncBase64=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.WordArray,dd=od.enc;dd.Base64={stringify:function(fd){var md=fd.words,vd=fd.sigBytes,Ad=this._map;fd.clamp();for(var Nd=[],Od=0;Od<vd;Od+=3)for(var kd=md[Od>>>2]>>>24-Od%4*8&255,Ld=md[Od+1>>>2]>>>24-(Od+1)%4*8&255,Gd=md[Od+2>>>2]>>>24-(Od+2)%4*8&255,jd=kd<<16|Ld<<8|Gd,Fd=0;Fd<4&&Od+Fd*.75<vd;Fd++)Nd.push(Ad.charAt(jd>>>6*(3-Fd)&63));var Ud=Ad.charAt(64);if(Ud)for(;Nd.length%4;)Nd.push(Ud);return Nd.join("")},parse:function(fd){var md=fd.length,vd=this._map,Ad=this._reverseMap;if(!Ad){Ad=this._reverseMap=[];for(var Nd=0;Nd<vd.length;Nd++)Ad[vd.charCodeAt(Nd)]=Nd}var Od=vd.charAt(64);if(Od){var kd=fd.indexOf(Od);kd!==-1&&(md=kd)}return pd(fd,md,Ad)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function pd(fd,md,vd){for(var Ad=[],Nd=0,Od=0;Od<md;Od++)if(Od%4){var kd=vd[fd.charCodeAt(Od-1)]<<Od%4*2,Ld=vd[fd.charCodeAt(Od)]>>>6-Od%4*2,Gd=kd|Ld;Ad[Nd>>>2]|=Gd<<24-Nd%4*8,Nd++}return ud.create(Ad,Nd)}}(),nd.enc.Base64})}(encBase64)),encBase64.exports}var encBase64url={exports:{}},hasRequiredEncBase64url;function requireEncBase64url(){return hasRequiredEncBase64url||(hasRequiredEncBase64url=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.WordArray,dd=od.enc;dd.Base64url={stringify:function(fd,md){md===void 0&&(md=!0);var vd=fd.words,Ad=fd.sigBytes,Nd=md?this._safe_map:this._map;fd.clamp();for(var Od=[],kd=0;kd<Ad;kd+=3)for(var Ld=vd[kd>>>2]>>>24-kd%4*8&255,Gd=vd[kd+1>>>2]>>>24-(kd+1)%4*8&255,jd=vd[kd+2>>>2]>>>24-(kd+2)%4*8&255,Fd=Ld<<16|Gd<<8|jd,Ud=0;Ud<4&&kd+Ud*.75<Ad;Ud++)Od.push(Nd.charAt(Fd>>>6*(3-Ud)&63));var qd=Nd.charAt(64);if(qd)for(;Od.length%4;)Od.push(qd);return Od.join("")},parse:function(fd,md){md===void 0&&(md=!0);var vd=fd.length,Ad=md?this._safe_map:this._map,Nd=this._reverseMap;if(!Nd){Nd=this._reverseMap=[];for(var Od=0;Od<Ad.length;Od++)Nd[Ad.charCodeAt(Od)]=Od}var kd=Ad.charAt(64);if(kd){var Ld=fd.indexOf(kd);Ld!==-1&&(vd=Ld)}return pd(fd,vd,Nd)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function pd(fd,md,vd){for(var Ad=[],Nd=0,Od=0;Od<md;Od++)if(Od%4){var kd=vd[fd.charCodeAt(Od-1)]<<Od%4*2,Ld=vd[fd.charCodeAt(Od)]>>>6-Od%4*2,Gd=kd|Ld;Ad[Nd>>>2]|=Gd<<24-Nd%4*8,Nd++}return ud.create(Ad,Nd)}}(),nd.enc.Base64url})}(encBase64url)),encBase64url.exports}var md5$1={exports:{}},hasRequiredMd5$1;function requireMd5$1(){return hasRequiredMd5$1||(hasRequiredMd5$1=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){return function(od){var ld=nd,ud=ld.lib,dd=ud.WordArray,pd=ud.Hasher,fd=ld.algo,md=[];(function(){for(var Ld=0;Ld<64;Ld++)md[Ld]=od.abs(od.sin(Ld+1))*4294967296|0})();var vd=fd.MD5=pd.extend({_doReset:function(){this._hash=new dd.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(Ld,Gd){for(var jd=0;jd<16;jd++){var Fd=Gd+jd,Ud=Ld[Fd];Ld[Fd]=(Ud<<8|Ud>>>24)&16711935|(Ud<<24|Ud>>>8)&4278255360}var qd=this._hash.words,zd=Ld[Gd+0],Wd=Ld[Gd+1],Jd=Ld[Gd+2],_f=Ld[Gd+3],Xd=Ld[Gd+4],pf=Ld[Gd+5],mf=Ld[Gd+6],Sf=Ld[Gd+7],Tf=Ld[Gd+8],Af=Ld[Gd+9],Ef=Ld[Gd+10],Nf=Ld[Gd+11],If=Ld[Gd+12],Gf=Ld[Gd+13],Qf=Ld[Gd+14],Xf=Ld[Gd+15],ph=qd[0],qf=qd[1],Lf=qd[2],Wf=qd[3];ph=Ad(ph,qf,Lf,Wf,zd,7,md[0]),Wf=Ad(Wf,ph,qf,Lf,Wd,12,md[1]),Lf=Ad(Lf,Wf,ph,qf,Jd,17,md[2]),qf=Ad(qf,Lf,Wf,ph,_f,22,md[3]),ph=Ad(ph,qf,Lf,Wf,Xd,7,md[4]),Wf=Ad(Wf,ph,qf,Lf,pf,12,md[5]),Lf=Ad(Lf,Wf,ph,qf,mf,17,md[6]),qf=Ad(qf,Lf,Wf,ph,Sf,22,md[7]),ph=Ad(ph,qf,Lf,Wf,Tf,7,md[8]),Wf=Ad(Wf,ph,qf,Lf,Af,12,md[9]),Lf=Ad(Lf,Wf,ph,qf,Ef,17,md[10]),qf=Ad(qf,Lf,Wf,ph,Nf,22,md[11]),ph=Ad(ph,qf,Lf,Wf,If,7,md[12]),Wf=Ad(Wf,ph,qf,Lf,Gf,12,md[13]),Lf=Ad(Lf,Wf,ph,qf,Qf,17,md[14]),qf=Ad(qf,Lf,Wf,ph,Xf,22,md[15]),ph=Nd(ph,qf,Lf,Wf,Wd,5,md[16]),Wf=Nd(Wf,ph,qf,Lf,mf,9,md[17]),Lf=Nd(Lf,Wf,ph,qf,Nf,14,md[18]),qf=Nd(qf,Lf,Wf,ph,zd,20,md[19]),ph=Nd(ph,qf,Lf,Wf,pf,5,md[20]),Wf=Nd(Wf,ph,qf,Lf,Ef,9,md[21]),Lf=Nd(Lf,Wf,ph,qf,Xf,14,md[22]),qf=Nd(qf,Lf,Wf,ph,Xd,20,md[23]),ph=Nd(ph,qf,Lf,Wf,Af,5,md[24]),Wf=Nd(Wf,ph,qf,Lf,Qf,9,md[25]),Lf=Nd(Lf,Wf,ph,qf,_f,14,md[26]),qf=Nd(qf,Lf,Wf,ph,Tf,20,md[27]),ph=Nd(ph,qf,Lf,Wf,Gf,5,md[28]),Wf=Nd(Wf,ph,qf,Lf,Jd,9,md[29]),Lf=Nd(Lf,Wf,ph,qf,Sf,14,md[30]),qf=Nd(qf,Lf,Wf,ph,If,20,md[31]),ph=Od(ph,qf,Lf,Wf,pf,4,md[32]),Wf=Od(Wf,ph,qf,Lf,Tf,11,md[33]),Lf=Od(Lf,Wf,ph,qf,Nf,16,md[34]),qf=Od(qf,Lf,Wf,ph,Qf,23,md[35]),ph=Od(ph,qf,Lf,Wf,Wd,4,md[36]),Wf=Od(Wf,ph,qf,Lf,Xd,11,md[37]),Lf=Od(Lf,Wf,ph,qf,Sf,16,md[38]),qf=Od(qf,Lf,Wf,ph,Ef,23,md[39]),ph=Od(ph,qf,Lf,Wf,Gf,4,md[40]),Wf=Od(Wf,ph,qf,Lf,zd,11,md[41]),Lf=Od(Lf,Wf,ph,qf,_f,16,md[42]),qf=Od(qf,Lf,Wf,ph,mf,23,md[43]),ph=Od(ph,qf,Lf,Wf,Af,4,md[44]),Wf=Od(Wf,ph,qf,Lf,If,11,md[45]),Lf=Od(Lf,Wf,ph,qf,Xf,16,md[46]),qf=Od(qf,Lf,Wf,ph,Jd,23,md[47]),ph=kd(ph,qf,Lf,Wf,zd,6,md[48]),Wf=kd(Wf,ph,qf,Lf,Sf,10,md[49]),Lf=kd(Lf,Wf,ph,qf,Qf,15,md[50]),qf=kd(qf,Lf,Wf,ph,pf,21,md[51]),ph=kd(ph,qf,Lf,Wf,If,6,md[52]),Wf=kd(Wf,ph,qf,Lf,_f,10,md[53]),Lf=kd(Lf,Wf,ph,qf,Ef,15,md[54]),qf=kd(qf,Lf,Wf,ph,Wd,21,md[55]),ph=kd(ph,qf,Lf,Wf,Tf,6,md[56]),Wf=kd(Wf,ph,qf,Lf,Xf,10,md[57]),Lf=kd(Lf,Wf,ph,qf,mf,15,md[58]),qf=kd(qf,Lf,Wf,ph,Gf,21,md[59]),ph=kd(ph,qf,Lf,Wf,Xd,6,md[60]),Wf=kd(Wf,ph,qf,Lf,Nf,10,md[61]),Lf=kd(Lf,Wf,ph,qf,Jd,15,md[62]),qf=kd(qf,Lf,Wf,ph,Af,21,md[63]),qd[0]=qd[0]+ph|0,qd[1]=qd[1]+qf|0,qd[2]=qd[2]+Lf|0,qd[3]=qd[3]+Wf|0},_doFinalize:function(){var Ld=this._data,Gd=Ld.words,jd=this._nDataBytes*8,Fd=Ld.sigBytes*8;Gd[Fd>>>5]|=128<<24-Fd%32;var Ud=od.floor(jd/4294967296),qd=jd;Gd[(Fd+64>>>9<<4)+15]=(Ud<<8|Ud>>>24)&16711935|(Ud<<24|Ud>>>8)&4278255360,Gd[(Fd+64>>>9<<4)+14]=(qd<<8|qd>>>24)&16711935|(qd<<24|qd>>>8)&4278255360,Ld.sigBytes=(Gd.length+1)*4,this._process();for(var zd=this._hash,Wd=zd.words,Jd=0;Jd<4;Jd++){var _f=Wd[Jd];Wd[Jd]=(_f<<8|_f>>>24)&16711935|(_f<<24|_f>>>8)&4278255360}return zd},clone:function(){var Ld=pd.clone.call(this);return Ld._hash=this._hash.clone(),Ld}});function Ad(Ld,Gd,jd,Fd,Ud,qd,zd){var Wd=Ld+(Gd&jd|~Gd&Fd)+Ud+zd;return(Wd<<qd|Wd>>>32-qd)+Gd}function Nd(Ld,Gd,jd,Fd,Ud,qd,zd){var Wd=Ld+(Gd&Fd|jd&~Fd)+Ud+zd;return(Wd<<qd|Wd>>>32-qd)+Gd}function Od(Ld,Gd,jd,Fd,Ud,qd,zd){var Wd=Ld+(Gd^jd^Fd)+Ud+zd;return(Wd<<qd|Wd>>>32-qd)+Gd}function kd(Ld,Gd,jd,Fd,Ud,qd,zd){var Wd=Ld+(jd^(Gd|~Fd))+Ud+zd;return(Wd<<qd|Wd>>>32-qd)+Gd}ld.MD5=pd._createHelper(vd),ld.HmacMD5=pd._createHmacHelper(vd)}(Math),nd.MD5})}(md5$1)),md5$1.exports}var sha1={exports:{}},hasRequiredSha1;function requireSha1(){return hasRequiredSha1||(hasRequiredSha1=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.WordArray,dd=ld.Hasher,pd=od.algo,fd=[],md=pd.SHA1=dd.extend({_doReset:function(){this._hash=new ud.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(vd,Ad){for(var Nd=this._hash.words,Od=Nd[0],kd=Nd[1],Ld=Nd[2],Gd=Nd[3],jd=Nd[4],Fd=0;Fd<80;Fd++){if(Fd<16)fd[Fd]=vd[Ad+Fd]|0;else{var Ud=fd[Fd-3]^fd[Fd-8]^fd[Fd-14]^fd[Fd-16];fd[Fd]=Ud<<1|Ud>>>31}var qd=(Od<<5|Od>>>27)+jd+fd[Fd];Fd<20?qd+=(kd&Ld|~kd&Gd)+1518500249:Fd<40?qd+=(kd^Ld^Gd)+1859775393:Fd<60?qd+=(kd&Ld|kd&Gd|Ld&Gd)-1894007588:qd+=(kd^Ld^Gd)-899497514,jd=Gd,Gd=Ld,Ld=kd<<30|kd>>>2,kd=Od,Od=qd}Nd[0]=Nd[0]+Od|0,Nd[1]=Nd[1]+kd|0,Nd[2]=Nd[2]+Ld|0,Nd[3]=Nd[3]+Gd|0,Nd[4]=Nd[4]+jd|0},_doFinalize:function(){var vd=this._data,Ad=vd.words,Nd=this._nDataBytes*8,Od=vd.sigBytes*8;return Ad[Od>>>5]|=128<<24-Od%32,Ad[(Od+64>>>9<<4)+14]=Math.floor(Nd/4294967296),Ad[(Od+64>>>9<<4)+15]=Nd,vd.sigBytes=Ad.length*4,this._process(),this._hash},clone:function(){var vd=dd.clone.call(this);return vd._hash=this._hash.clone(),vd}});od.SHA1=dd._createHelper(md),od.HmacSHA1=dd._createHmacHelper(md)}(),nd.SHA1})}(sha1)),sha1.exports}var sha256={exports:{}},hasRequiredSha256;function requireSha256(){return hasRequiredSha256||(hasRequiredSha256=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){return function(od){var ld=nd,ud=ld.lib,dd=ud.WordArray,pd=ud.Hasher,fd=ld.algo,md=[],vd=[];(function(){function Od(jd){for(var Fd=od.sqrt(jd),Ud=2;Ud<=Fd;Ud++)if(!(jd%Ud))return!1;return!0}function kd(jd){return(jd-(jd|0))*4294967296|0}for(var Ld=2,Gd=0;Gd<64;)Od(Ld)&&(Gd<8&&(md[Gd]=kd(od.pow(Ld,1/2))),vd[Gd]=kd(od.pow(Ld,1/3)),Gd++),Ld++})();var Ad=[],Nd=fd.SHA256=pd.extend({_doReset:function(){this._hash=new dd.init(md.slice(0))},_doProcessBlock:function(Od,kd){for(var Ld=this._hash.words,Gd=Ld[0],jd=Ld[1],Fd=Ld[2],Ud=Ld[3],qd=Ld[4],zd=Ld[5],Wd=Ld[6],Jd=Ld[7],_f=0;_f<64;_f++){if(_f<16)Ad[_f]=Od[kd+_f]|0;else{var Xd=Ad[_f-15],pf=(Xd<<25|Xd>>>7)^(Xd<<14|Xd>>>18)^Xd>>>3,mf=Ad[_f-2],Sf=(mf<<15|mf>>>17)^(mf<<13|mf>>>19)^mf>>>10;Ad[_f]=pf+Ad[_f-7]+Sf+Ad[_f-16]}var Tf=qd&zd^~qd&Wd,Af=Gd&jd^Gd&Fd^jd&Fd,Ef=(Gd<<30|Gd>>>2)^(Gd<<19|Gd>>>13)^(Gd<<10|Gd>>>22),Nf=(qd<<26|qd>>>6)^(qd<<21|qd>>>11)^(qd<<7|qd>>>25),If=Jd+Nf+Tf+vd[_f]+Ad[_f],Gf=Ef+Af;Jd=Wd,Wd=zd,zd=qd,qd=Ud+If|0,Ud=Fd,Fd=jd,jd=Gd,Gd=If+Gf|0}Ld[0]=Ld[0]+Gd|0,Ld[1]=Ld[1]+jd|0,Ld[2]=Ld[2]+Fd|0,Ld[3]=Ld[3]+Ud|0,Ld[4]=Ld[4]+qd|0,Ld[5]=Ld[5]+zd|0,Ld[6]=Ld[6]+Wd|0,Ld[7]=Ld[7]+Jd|0},_doFinalize:function(){var Od=this._data,kd=Od.words,Ld=this._nDataBytes*8,Gd=Od.sigBytes*8;return kd[Gd>>>5]|=128<<24-Gd%32,kd[(Gd+64>>>9<<4)+14]=od.floor(Ld/4294967296),kd[(Gd+64>>>9<<4)+15]=Ld,Od.sigBytes=kd.length*4,this._process(),this._hash},clone:function(){var Od=pd.clone.call(this);return Od._hash=this._hash.clone(),Od}});ld.SHA256=pd._createHelper(Nd),ld.HmacSHA256=pd._createHmacHelper(Nd)}(Math),nd.SHA256})}(sha256)),sha256.exports}var sha224={exports:{}},hasRequiredSha224;function requireSha224(){return hasRequiredSha224||(hasRequiredSha224=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireSha256())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.WordArray,dd=od.algo,pd=dd.SHA256,fd=dd.SHA224=pd.extend({_doReset:function(){this._hash=new ud.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var md=pd._doFinalize.call(this);return md.sigBytes-=4,md}});od.SHA224=pd._createHelper(fd),od.HmacSHA224=pd._createHmacHelper(fd)}(),nd.SHA224})}(sha224)),sha224.exports}var sha512={exports:{}},hasRequiredSha512;function requireSha512(){return hasRequiredSha512||(hasRequiredSha512=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireX64Core())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.Hasher,dd=od.x64,pd=dd.Word,fd=dd.WordArray,md=od.algo;function vd(){return pd.create.apply(pd,arguments)}var Ad=[vd(1116352408,3609767458),vd(1899447441,602891725),vd(3049323471,3964484399),vd(3921009573,2173295548),vd(961987163,4081628472),vd(1508970993,3053834265),vd(2453635748,2937671579),vd(2870763221,3664609560),vd(3624381080,2734883394),vd(310598401,1164996542),vd(607225278,1323610764),vd(1426881987,3590304994),vd(1925078388,4068182383),vd(2162078206,991336113),vd(2614888103,633803317),vd(3248222580,3479774868),vd(3835390401,2666613458),vd(4022224774,944711139),vd(264347078,2341262773),vd(604807628,2007800933),vd(770255983,1495990901),vd(1249150122,1856431235),vd(1555081692,3175218132),vd(1996064986,2198950837),vd(2554220882,3999719339),vd(2821834349,766784016),vd(2952996808,2566594879),vd(3210313671,3203337956),vd(3336571891,1034457026),vd(3584528711,2466948901),vd(113926993,3758326383),vd(338241895,168717936),vd(666307205,1188179964),vd(773529912,1546045734),vd(1294757372,1522805485),vd(1396182291,2643833823),vd(1695183700,2343527390),vd(1986661051,1014477480),vd(2177026350,1206759142),vd(2456956037,344077627),vd(2730485921,1290863460),vd(2820302411,3158454273),vd(3259730800,3505952657),vd(3345764771,106217008),vd(3516065817,3606008344),vd(3600352804,1432725776),vd(4094571909,1467031594),vd(275423344,851169720),vd(430227734,3100823752),vd(506948616,1363258195),vd(659060556,3750685593),vd(883997877,3785050280),vd(958139571,3318307427),vd(1322822218,3812723403),vd(1537002063,2003034995),vd(1747873779,3602036899),vd(1955562222,1575990012),vd(2024104815,1125592928),vd(2227730452,2716904306),vd(2361852424,442776044),vd(2428436474,593698344),vd(2756734187,3733110249),vd(3204031479,2999351573),vd(3329325298,3815920427),vd(3391569614,3928383900),vd(3515267271,566280711),vd(3940187606,3454069534),vd(4118630271,4000239992),vd(116418474,1914138554),vd(174292421,2731055270),vd(289380356,3203993006),vd(460393269,320620315),vd(685471733,587496836),vd(852142971,1086792851),vd(1017036298,365543100),vd(1126000580,2618297676),vd(1288033470,3409855158),vd(1501505948,4234509866),vd(1607167915,987167468),vd(1816402316,1246189591)],Nd=[];(function(){for(var kd=0;kd<80;kd++)Nd[kd]=vd()})();var Od=md.SHA512=ud.extend({_doReset:function(){this._hash=new fd.init([new pd.init(1779033703,4089235720),new pd.init(3144134277,2227873595),new pd.init(1013904242,4271175723),new pd.init(2773480762,1595750129),new pd.init(1359893119,2917565137),new pd.init(2600822924,725511199),new pd.init(528734635,4215389547),new pd.init(1541459225,327033209)])},_doProcessBlock:function(kd,Ld){for(var Gd=this._hash.words,jd=Gd[0],Fd=Gd[1],Ud=Gd[2],qd=Gd[3],zd=Gd[4],Wd=Gd[5],Jd=Gd[6],_f=Gd[7],Xd=jd.high,pf=jd.low,mf=Fd.high,Sf=Fd.low,Tf=Ud.high,Af=Ud.low,Ef=qd.high,Nf=qd.low,If=zd.high,Gf=zd.low,Qf=Wd.high,Xf=Wd.low,ph=Jd.high,qf=Jd.low,Lf=_f.high,Wf=_f.low,Jf=Xd,Kf=pf,Cf=mf,xf=Sf,Yf=Tf,dh=Af,Rh=Ef,th=Nf,Bf=If,Sh=Gf,Fh=Qf,uh=Xf,Pf=ph,Uf=qf,Zf=Lf,mh=Wf,Mh=0;Mh<80;Mh++){var _h,pm,Jh=Nd[Mh];if(Mh<16)pm=Jh.high=kd[Ld+Mh*2]|0,_h=Jh.low=kd[Ld+Mh*2+1]|0;else{var Mm=Nd[Mh-15],Im=Mm.high,gm=Mm.low,Lm=(Im>>>1|gm<<31)^(Im>>>8|gm<<24)^Im>>>7,Vm=(gm>>>1|Im<<31)^(gm>>>8|Im<<24)^(gm>>>7|Im<<25),Th=Nd[Mh-2],Rf=Th.high,wf=Th.low,sh=(Rf>>>19|wf<<13)^(Rf<<3|wf>>>29)^Rf>>>6,xh=(wf>>>19|Rf<<13)^(wf<<3|Rf>>>29)^(wf>>>6|Rf<<26),Wh=Nd[Mh-7],om=Wh.high,Dm=Wh.low,zm=Nd[Mh-16],jm=zm.high,ig=zm.low;_h=Vm+Dm,pm=Lm+om+(_h>>>0<Vm>>>0?1:0),_h=_h+xh,pm=pm+sh+(_h>>>0<xh>>>0?1:0),_h=_h+ig,pm=pm+jm+(_h>>>0<ig>>>0?1:0),Jh.high=pm,Jh.low=_h}var Zm=Bf&Fh^~Bf&Pf,ug=Sh&uh^~Sh&Uf,wg=Jf&Cf^Jf&Yf^Cf&Yf,Kg=Kf&xf^Kf&dh^xf&dh,Gg=(Jf>>>28|Kf<<4)^(Jf<<30|Kf>>>2)^(Jf<<25|Kf>>>7),n_=(Kf>>>28|Jf<<4)^(Kf<<30|Jf>>>2)^(Kf<<25|Jf>>>7),Pg=(Bf>>>14|Sh<<18)^(Bf>>>18|Sh<<14)^(Bf<<23|Sh>>>9),m_=(Sh>>>14|Bf<<18)^(Sh>>>18|Bf<<14)^(Sh<<23|Bf>>>9),a_=Ad[Mh],M_=a_.high,B_=a_.low,h_=mh+m_,y_=Zf+Pg+(h_>>>0<mh>>>0?1:0),h_=h_+ug,y_=y_+Zm+(h_>>>0<ug>>>0?1:0),h_=h_+B_,y_=y_+M_+(h_>>>0<B_>>>0?1:0),h_=h_+_h,y_=y_+pm+(h_>>>0<_h>>>0?1:0),dg=n_+Kg,vb=Gg+wg+(dg>>>0<n_>>>0?1:0);Zf=Pf,mh=Uf,Pf=Fh,Uf=uh,Fh=Bf,uh=Sh,Sh=th+h_|0,Bf=Rh+y_+(Sh>>>0<th>>>0?1:0)|0,Rh=Yf,th=dh,Yf=Cf,dh=xf,Cf=Jf,xf=Kf,Kf=h_+dg|0,Jf=y_+vb+(Kf>>>0<h_>>>0?1:0)|0}pf=jd.low=pf+Kf,jd.high=Xd+Jf+(pf>>>0<Kf>>>0?1:0),Sf=Fd.low=Sf+xf,Fd.high=mf+Cf+(Sf>>>0<xf>>>0?1:0),Af=Ud.low=Af+dh,Ud.high=Tf+Yf+(Af>>>0<dh>>>0?1:0),Nf=qd.low=Nf+th,qd.high=Ef+Rh+(Nf>>>0<th>>>0?1:0),Gf=zd.low=Gf+Sh,zd.high=If+Bf+(Gf>>>0<Sh>>>0?1:0),Xf=Wd.low=Xf+uh,Wd.high=Qf+Fh+(Xf>>>0<uh>>>0?1:0),qf=Jd.low=qf+Uf,Jd.high=ph+Pf+(qf>>>0<Uf>>>0?1:0),Wf=_f.low=Wf+mh,_f.high=Lf+Zf+(Wf>>>0<mh>>>0?1:0)},_doFinalize:function(){var kd=this._data,Ld=kd.words,Gd=this._nDataBytes*8,jd=kd.sigBytes*8;Ld[jd>>>5]|=128<<24-jd%32,Ld[(jd+128>>>10<<5)+30]=Math.floor(Gd/4294967296),Ld[(jd+128>>>10<<5)+31]=Gd,kd.sigBytes=Ld.length*4,this._process();var Fd=this._hash.toX32();return Fd},clone:function(){var kd=ud.clone.call(this);return kd._hash=this._hash.clone(),kd},blockSize:1024/32});od.SHA512=ud._createHelper(Od),od.HmacSHA512=ud._createHmacHelper(Od)}(),nd.SHA512})}(sha512)),sha512.exports}var sha384={exports:{}},hasRequiredSha384;function requireSha384(){return hasRequiredSha384||(hasRequiredSha384=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireX64Core(),requireSha512())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.x64,ud=ld.Word,dd=ld.WordArray,pd=od.algo,fd=pd.SHA512,md=pd.SHA384=fd.extend({_doReset:function(){this._hash=new dd.init([new ud.init(3418070365,3238371032),new ud.init(1654270250,914150663),new ud.init(2438529370,812702999),new ud.init(355462360,4144912697),new ud.init(1731405415,4290775857),new ud.init(2394180231,1750603025),new ud.init(3675008525,1694076839),new ud.init(1203062813,3204075428)])},_doFinalize:function(){var vd=fd._doFinalize.call(this);return vd.sigBytes-=16,vd}});od.SHA384=fd._createHelper(md),od.HmacSHA384=fd._createHmacHelper(md)}(),nd.SHA384})}(sha384)),sha384.exports}var sha3={exports:{}},hasRequiredSha3;function requireSha3(){return hasRequiredSha3||(hasRequiredSha3=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireX64Core())})(commonjsGlobal,function(nd){return function(od){var ld=nd,ud=ld.lib,dd=ud.WordArray,pd=ud.Hasher,fd=ld.x64,md=fd.Word,vd=ld.algo,Ad=[],Nd=[],Od=[];(function(){for(var Gd=1,jd=0,Fd=0;Fd<24;Fd++){Ad[Gd+5*jd]=(Fd+1)*(Fd+2)/2%64;var Ud=jd%5,qd=(2*Gd+3*jd)%5;Gd=Ud,jd=qd}for(var Gd=0;Gd<5;Gd++)for(var jd=0;jd<5;jd++)Nd[Gd+5*jd]=jd+(2*Gd+3*jd)%5*5;for(var zd=1,Wd=0;Wd<24;Wd++){for(var Jd=0,_f=0,Xd=0;Xd<7;Xd++){if(zd&1){var pf=(1<<Xd)-1;pf<32?_f^=1<<pf:Jd^=1<<pf-32}zd&128?zd=zd<<1^113:zd<<=1}Od[Wd]=md.create(Jd,_f)}})();var kd=[];(function(){for(var Gd=0;Gd<25;Gd++)kd[Gd]=md.create()})();var Ld=vd.SHA3=pd.extend({cfg:pd.cfg.extend({outputLength:512}),_doReset:function(){for(var Gd=this._state=[],jd=0;jd<25;jd++)Gd[jd]=new md.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(Gd,jd){for(var Fd=this._state,Ud=this.blockSize/2,qd=0;qd<Ud;qd++){var zd=Gd[jd+2*qd],Wd=Gd[jd+2*qd+1];zd=(zd<<8|zd>>>24)&16711935|(zd<<24|zd>>>8)&4278255360,Wd=(Wd<<8|Wd>>>24)&16711935|(Wd<<24|Wd>>>8)&4278255360;var Jd=Fd[qd];Jd.high^=Wd,Jd.low^=zd}for(var _f=0;_f<24;_f++){for(var Xd=0;Xd<5;Xd++){for(var pf=0,mf=0,Sf=0;Sf<5;Sf++){var Jd=Fd[Xd+5*Sf];pf^=Jd.high,mf^=Jd.low}var Tf=kd[Xd];Tf.high=pf,Tf.low=mf}for(var Xd=0;Xd<5;Xd++)for(var Af=kd[(Xd+4)%5],Ef=kd[(Xd+1)%5],Nf=Ef.high,If=Ef.low,pf=Af.high^(Nf<<1|If>>>31),mf=Af.low^(If<<1|Nf>>>31),Sf=0;Sf<5;Sf++){var Jd=Fd[Xd+5*Sf];Jd.high^=pf,Jd.low^=mf}for(var Gf=1;Gf<25;Gf++){var pf,mf,Jd=Fd[Gf],Qf=Jd.high,Xf=Jd.low,ph=Ad[Gf];ph<32?(pf=Qf<<ph|Xf>>>32-ph,mf=Xf<<ph|Qf>>>32-ph):(pf=Xf<<ph-32|Qf>>>64-ph,mf=Qf<<ph-32|Xf>>>64-ph);var qf=kd[Nd[Gf]];qf.high=pf,qf.low=mf}var Lf=kd[0],Wf=Fd[0];Lf.high=Wf.high,Lf.low=Wf.low;for(var Xd=0;Xd<5;Xd++)for(var Sf=0;Sf<5;Sf++){var Gf=Xd+5*Sf,Jd=Fd[Gf],Jf=kd[Gf],Kf=kd[(Xd+1)%5+5*Sf],Cf=kd[(Xd+2)%5+5*Sf];Jd.high=Jf.high^~Kf.high&Cf.high,Jd.low=Jf.low^~Kf.low&Cf.low}var Jd=Fd[0],xf=Od[_f];Jd.high^=xf.high,Jd.low^=xf.low}},_doFinalize:function(){var Gd=this._data,jd=Gd.words;this._nDataBytes*8;var Fd=Gd.sigBytes*8,Ud=this.blockSize*32;jd[Fd>>>5]|=1<<24-Fd%32,jd[(od.ceil((Fd+1)/Ud)*Ud>>>5)-1]|=128,Gd.sigBytes=jd.length*4,this._process();for(var qd=this._state,zd=this.cfg.outputLength/8,Wd=zd/8,Jd=[],_f=0;_f<Wd;_f++){var Xd=qd[_f],pf=Xd.high,mf=Xd.low;pf=(pf<<8|pf>>>24)&16711935|(pf<<24|pf>>>8)&4278255360,mf=(mf<<8|mf>>>24)&16711935|(mf<<24|mf>>>8)&4278255360,Jd.push(mf),Jd.push(pf)}return new dd.init(Jd,zd)},clone:function(){for(var Gd=pd.clone.call(this),jd=Gd._state=this._state.slice(0),Fd=0;Fd<25;Fd++)jd[Fd]=jd[Fd].clone();return Gd}});ld.SHA3=pd._createHelper(Ld),ld.HmacSHA3=pd._createHmacHelper(Ld)}(Math),nd.SHA3})}(sha3)),sha3.exports}var ripemd160={exports:{}},hasRequiredRipemd160;function requireRipemd160(){return hasRequiredRipemd160||(hasRequiredRipemd160=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){/** @preserve
(c) 2012 by Cédric Mesnil. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/return function(od){var ld=nd,ud=ld.lib,dd=ud.WordArray,pd=ud.Hasher,fd=ld.algo,md=dd.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),vd=dd.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),Ad=dd.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),Nd=dd.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),Od=dd.create([0,1518500249,1859775393,2400959708,2840853838]),kd=dd.create([1352829926,1548603684,1836072691,2053994217,0]),Ld=fd.RIPEMD160=pd.extend({_doReset:function(){this._hash=dd.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(Wd,Jd){for(var _f=0;_f<16;_f++){var Xd=Jd+_f,pf=Wd[Xd];Wd[Xd]=(pf<<8|pf>>>24)&16711935|(pf<<24|pf>>>8)&4278255360}var mf=this._hash.words,Sf=Od.words,Tf=kd.words,Af=md.words,Ef=vd.words,Nf=Ad.words,If=Nd.words,Gf,Qf,Xf,ph,qf,Lf,Wf,Jf,Kf,Cf;Lf=Gf=mf[0],Wf=Qf=mf[1],Jf=Xf=mf[2],Kf=ph=mf[3],Cf=qf=mf[4];for(var xf,_f=0;_f<80;_f+=1)xf=Gf+Wd[Jd+Af[_f]]|0,_f<16?xf+=Gd(Qf,Xf,ph)+Sf[0]:_f<32?xf+=jd(Qf,Xf,ph)+Sf[1]:_f<48?xf+=Fd(Qf,Xf,ph)+Sf[2]:_f<64?xf+=Ud(Qf,Xf,ph)+Sf[3]:xf+=qd(Qf,Xf,ph)+Sf[4],xf=xf|0,xf=zd(xf,Nf[_f]),xf=xf+qf|0,Gf=qf,qf=ph,ph=zd(Xf,10),Xf=Qf,Qf=xf,xf=Lf+Wd[Jd+Ef[_f]]|0,_f<16?xf+=qd(Wf,Jf,Kf)+Tf[0]:_f<32?xf+=Ud(Wf,Jf,Kf)+Tf[1]:_f<48?xf+=Fd(Wf,Jf,Kf)+Tf[2]:_f<64?xf+=jd(Wf,Jf,Kf)+Tf[3]:xf+=Gd(Wf,Jf,Kf)+Tf[4],xf=xf|0,xf=zd(xf,If[_f]),xf=xf+Cf|0,Lf=Cf,Cf=Kf,Kf=zd(Jf,10),Jf=Wf,Wf=xf;xf=mf[1]+Xf+Kf|0,mf[1]=mf[2]+ph+Cf|0,mf[2]=mf[3]+qf+Lf|0,mf[3]=mf[4]+Gf+Wf|0,mf[4]=mf[0]+Qf+Jf|0,mf[0]=xf},_doFinalize:function(){var Wd=this._data,Jd=Wd.words,_f=this._nDataBytes*8,Xd=Wd.sigBytes*8;Jd[Xd>>>5]|=128<<24-Xd%32,Jd[(Xd+64>>>9<<4)+14]=(_f<<8|_f>>>24)&16711935|(_f<<24|_f>>>8)&4278255360,Wd.sigBytes=(Jd.length+1)*4,this._process();for(var pf=this._hash,mf=pf.words,Sf=0;Sf<5;Sf++){var Tf=mf[Sf];mf[Sf]=(Tf<<8|Tf>>>24)&16711935|(Tf<<24|Tf>>>8)&4278255360}return pf},clone:function(){var Wd=pd.clone.call(this);return Wd._hash=this._hash.clone(),Wd}});function Gd(Wd,Jd,_f){return Wd^Jd^_f}function jd(Wd,Jd,_f){return Wd&Jd|~Wd&_f}function Fd(Wd,Jd,_f){return(Wd|~Jd)^_f}function Ud(Wd,Jd,_f){return Wd&_f|Jd&~_f}function qd(Wd,Jd,_f){return Wd^(Jd|~_f)}function zd(Wd,Jd){return Wd<<Jd|Wd>>>32-Jd}ld.RIPEMD160=pd._createHelper(Ld),ld.HmacRIPEMD160=pd._createHmacHelper(Ld)}(),nd.RIPEMD160})}(ripemd160)),ripemd160.exports}var hmac={exports:{}},hasRequiredHmac;function requireHmac(){return hasRequiredHmac||(hasRequiredHmac=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){(function(){var od=nd,ld=od.lib,ud=ld.Base,dd=od.enc,pd=dd.Utf8,fd=od.algo;fd.HMAC=ud.extend({init:function(md,vd){md=this._hasher=new md.init,typeof vd=="string"&&(vd=pd.parse(vd));var Ad=md.blockSize,Nd=Ad*4;vd.sigBytes>Nd&&(vd=md.finalize(vd)),vd.clamp();for(var Od=this._oKey=vd.clone(),kd=this._iKey=vd.clone(),Ld=Od.words,Gd=kd.words,jd=0;jd<Ad;jd++)Ld[jd]^=1549556828,Gd[jd]^=909522486;Od.sigBytes=kd.sigBytes=Nd,this.reset()},reset:function(){var md=this._hasher;md.reset(),md.update(this._iKey)},update:function(md){return this._hasher.update(md),this},finalize:function(md){var vd=this._hasher,Ad=vd.finalize(md);vd.reset();var Nd=vd.finalize(this._oKey.clone().concat(Ad));return Nd}})})()})}(hmac)),hmac.exports}var pbkdf2={exports:{}},hasRequiredPbkdf2;function requirePbkdf2(){return hasRequiredPbkdf2||(hasRequiredPbkdf2=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireSha256(),requireHmac())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.Base,dd=ld.WordArray,pd=od.algo,fd=pd.SHA256,md=pd.HMAC,vd=pd.PBKDF2=ud.extend({cfg:ud.extend({keySize:128/32,hasher:fd,iterations:25e4}),init:function(Ad){this.cfg=this.cfg.extend(Ad)},compute:function(Ad,Nd){for(var Od=this.cfg,kd=md.create(Od.hasher,Ad),Ld=dd.create(),Gd=dd.create([1]),jd=Ld.words,Fd=Gd.words,Ud=Od.keySize,qd=Od.iterations;jd.length<Ud;){var zd=kd.update(Nd).finalize(Gd);kd.reset();for(var Wd=zd.words,Jd=Wd.length,_f=zd,Xd=1;Xd<qd;Xd++){_f=kd.finalize(_f),kd.reset();for(var pf=_f.words,mf=0;mf<Jd;mf++)Wd[mf]^=pf[mf]}Ld.concat(zd),Fd[0]++}return Ld.sigBytes=Ud*4,Ld}});od.PBKDF2=function(Ad,Nd,Od){return vd.create(Od).compute(Ad,Nd)}}(),nd.PBKDF2})}(pbkdf2)),pbkdf2.exports}var evpkdf={exports:{}},hasRequiredEvpkdf;function requireEvpkdf(){return hasRequiredEvpkdf||(hasRequiredEvpkdf=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireSha1(),requireHmac())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.Base,dd=ld.WordArray,pd=od.algo,fd=pd.MD5,md=pd.EvpKDF=ud.extend({cfg:ud.extend({keySize:128/32,hasher:fd,iterations:1}),init:function(vd){this.cfg=this.cfg.extend(vd)},compute:function(vd,Ad){for(var Nd,Od=this.cfg,kd=Od.hasher.create(),Ld=dd.create(),Gd=Ld.words,jd=Od.keySize,Fd=Od.iterations;Gd.length<jd;){Nd&&kd.update(Nd),Nd=kd.update(vd).finalize(Ad),kd.reset();for(var Ud=1;Ud<Fd;Ud++)Nd=kd.finalize(Nd),kd.reset();Ld.concat(Nd)}return Ld.sigBytes=jd*4,Ld}});od.EvpKDF=function(vd,Ad,Nd){return md.create(Nd).compute(vd,Ad)}}(),nd.EvpKDF})}(evpkdf)),evpkdf.exports}var cipherCore={exports:{}},hasRequiredCipherCore;function requireCipherCore(){return hasRequiredCipherCore||(hasRequiredCipherCore=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEvpkdf())})(commonjsGlobal,function(nd){nd.lib.Cipher||function(od){var ld=nd,ud=ld.lib,dd=ud.Base,pd=ud.WordArray,fd=ud.BufferedBlockAlgorithm,md=ld.enc;md.Utf8;var vd=md.Base64,Ad=ld.algo,Nd=Ad.EvpKDF,Od=ud.Cipher=fd.extend({cfg:dd.extend(),createEncryptor:function(pf,mf){return this.create(this._ENC_XFORM_MODE,pf,mf)},createDecryptor:function(pf,mf){return this.create(this._DEC_XFORM_MODE,pf,mf)},init:function(pf,mf,Sf){this.cfg=this.cfg.extend(Sf),this._xformMode=pf,this._key=mf,this.reset()},reset:function(){fd.reset.call(this),this._doReset()},process:function(pf){return this._append(pf),this._process()},finalize:function(pf){pf&&this._append(pf);var mf=this._doFinalize();return mf},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function pf(mf){return typeof mf=="string"?Xd:Wd}return function(mf){return{encrypt:function(Sf,Tf,Af){return pf(Tf).encrypt(mf,Sf,Tf,Af)},decrypt:function(Sf,Tf,Af){return pf(Tf).decrypt(mf,Sf,Tf,Af)}}}}()});ud.StreamCipher=Od.extend({_doFinalize:function(){var pf=this._process(!0);return pf},blockSize:1});var kd=ld.mode={},Ld=ud.BlockCipherMode=dd.extend({createEncryptor:function(pf,mf){return this.Encryptor.create(pf,mf)},createDecryptor:function(pf,mf){return this.Decryptor.create(pf,mf)},init:function(pf,mf){this._cipher=pf,this._iv=mf}}),Gd=kd.CBC=function(){var pf=Ld.extend();pf.Encryptor=pf.extend({processBlock:function(Sf,Tf){var Af=this._cipher,Ef=Af.blockSize;mf.call(this,Sf,Tf,Ef),Af.encryptBlock(Sf,Tf),this._prevBlock=Sf.slice(Tf,Tf+Ef)}}),pf.Decryptor=pf.extend({processBlock:function(Sf,Tf){var Af=this._cipher,Ef=Af.blockSize,Nf=Sf.slice(Tf,Tf+Ef);Af.decryptBlock(Sf,Tf),mf.call(this,Sf,Tf,Ef),this._prevBlock=Nf}});function mf(Sf,Tf,Af){var Ef,Nf=this._iv;Nf?(Ef=Nf,this._iv=od):Ef=this._prevBlock;for(var If=0;If<Af;If++)Sf[Tf+If]^=Ef[If]}return pf}(),jd=ld.pad={},Fd=jd.Pkcs7={pad:function(pf,mf){for(var Sf=mf*4,Tf=Sf-pf.sigBytes%Sf,Af=Tf<<24|Tf<<16|Tf<<8|Tf,Ef=[],Nf=0;Nf<Tf;Nf+=4)Ef.push(Af);var If=pd.create(Ef,Tf);pf.concat(If)},unpad:function(pf){var mf=pf.words[pf.sigBytes-1>>>2]&255;pf.sigBytes-=mf}};ud.BlockCipher=Od.extend({cfg:Od.cfg.extend({mode:Gd,padding:Fd}),reset:function(){var pf;Od.reset.call(this);var mf=this.cfg,Sf=mf.iv,Tf=mf.mode;this._xformMode==this._ENC_XFORM_MODE?pf=Tf.createEncryptor:(pf=Tf.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==pf?this._mode.init(this,Sf&&Sf.words):(this._mode=pf.call(Tf,this,Sf&&Sf.words),this._mode.__creator=pf)},_doProcessBlock:function(pf,mf){this._mode.processBlock(pf,mf)},_doFinalize:function(){var pf,mf=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(mf.pad(this._data,this.blockSize),pf=this._process(!0)):(pf=this._process(!0),mf.unpad(pf)),pf},blockSize:128/32});var Ud=ud.CipherParams=dd.extend({init:function(pf){this.mixIn(pf)},toString:function(pf){return(pf||this.formatter).stringify(this)}}),qd=ld.format={},zd=qd.OpenSSL={stringify:function(pf){var mf,Sf=pf.ciphertext,Tf=pf.salt;return Tf?mf=pd.create([1398893684,1701076831]).concat(Tf).concat(Sf):mf=Sf,mf.toString(vd)},parse:function(pf){var mf,Sf=vd.parse(pf),Tf=Sf.words;return Tf[0]==1398893684&&Tf[1]==1701076831&&(mf=pd.create(Tf.slice(2,4)),Tf.splice(0,4),Sf.sigBytes-=16),Ud.create({ciphertext:Sf,salt:mf})}},Wd=ud.SerializableCipher=dd.extend({cfg:dd.extend({format:zd}),encrypt:function(pf,mf,Sf,Tf){Tf=this.cfg.extend(Tf);var Af=pf.createEncryptor(Sf,Tf),Ef=Af.finalize(mf),Nf=Af.cfg;return Ud.create({ciphertext:Ef,key:Sf,iv:Nf.iv,algorithm:pf,mode:Nf.mode,padding:Nf.padding,blockSize:pf.blockSize,formatter:Tf.format})},decrypt:function(pf,mf,Sf,Tf){Tf=this.cfg.extend(Tf),mf=this._parse(mf,Tf.format);var Af=pf.createDecryptor(Sf,Tf).finalize(mf.ciphertext);return Af},_parse:function(pf,mf){return typeof pf=="string"?mf.parse(pf,this):pf}}),Jd=ld.kdf={},_f=Jd.OpenSSL={execute:function(pf,mf,Sf,Tf,Af){if(Tf||(Tf=pd.random(64/8)),Af)var Ef=Nd.create({keySize:mf+Sf,hasher:Af}).compute(pf,Tf);else var Ef=Nd.create({keySize:mf+Sf}).compute(pf,Tf);var Nf=pd.create(Ef.words.slice(mf),Sf*4);return Ef.sigBytes=mf*4,Ud.create({key:Ef,iv:Nf,salt:Tf})}},Xd=ud.PasswordBasedCipher=Wd.extend({cfg:Wd.cfg.extend({kdf:_f}),encrypt:function(pf,mf,Sf,Tf){Tf=this.cfg.extend(Tf);var Af=Tf.kdf.execute(Sf,pf.keySize,pf.ivSize,Tf.salt,Tf.hasher);Tf.iv=Af.iv;var Ef=Wd.encrypt.call(this,pf,mf,Af.key,Tf);return Ef.mixIn(Af),Ef},decrypt:function(pf,mf,Sf,Tf){Tf=this.cfg.extend(Tf),mf=this._parse(mf,Tf.format);var Af=Tf.kdf.execute(Sf,pf.keySize,pf.ivSize,mf.salt,Tf.hasher);Tf.iv=Af.iv;var Ef=Wd.decrypt.call(this,pf,mf,Af.key,Tf);return Ef}})}()})}(cipherCore)),cipherCore.exports}var modeCfb={exports:{}},hasRequiredModeCfb;function requireModeCfb(){return hasRequiredModeCfb||(hasRequiredModeCfb=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.mode.CFB=function(){var od=nd.lib.BlockCipherMode.extend();od.Encryptor=od.extend({processBlock:function(ud,dd){var pd=this._cipher,fd=pd.blockSize;ld.call(this,ud,dd,fd,pd),this._prevBlock=ud.slice(dd,dd+fd)}}),od.Decryptor=od.extend({processBlock:function(ud,dd){var pd=this._cipher,fd=pd.blockSize,md=ud.slice(dd,dd+fd);ld.call(this,ud,dd,fd,pd),this._prevBlock=md}});function ld(ud,dd,pd,fd){var md,vd=this._iv;vd?(md=vd.slice(0),this._iv=void 0):md=this._prevBlock,fd.encryptBlock(md,0);for(var Ad=0;Ad<pd;Ad++)ud[dd+Ad]^=md[Ad]}return od}(),nd.mode.CFB})}(modeCfb)),modeCfb.exports}var modeCtr={exports:{}},hasRequiredModeCtr;function requireModeCtr(){return hasRequiredModeCtr||(hasRequiredModeCtr=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.mode.CTR=function(){var od=nd.lib.BlockCipherMode.extend(),ld=od.Encryptor=od.extend({processBlock:function(ud,dd){var pd=this._cipher,fd=pd.blockSize,md=this._iv,vd=this._counter;md&&(vd=this._counter=md.slice(0),this._iv=void 0);var Ad=vd.slice(0);pd.encryptBlock(Ad,0),vd[fd-1]=vd[fd-1]+1|0;for(var Nd=0;Nd<fd;Nd++)ud[dd+Nd]^=Ad[Nd]}});return od.Decryptor=ld,od}(),nd.mode.CTR})}(modeCtr)),modeCtr.exports}var modeCtrGladman={exports:{}},hasRequiredModeCtrGladman;function requireModeCtrGladman(){return hasRequiredModeCtrGladman||(hasRequiredModeCtrGladman=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){/** @preserve
* Counter block mode compatible with Dr Brian Gladman fileenc.c
* derived from CryptoJS.mode.CTR
* Jan Hruby jhruby.web@gmail.com
*/return nd.mode.CTRGladman=function(){var od=nd.lib.BlockCipherMode.extend();function ld(pd){if((pd>>24&255)===255){var fd=pd>>16&255,md=pd>>8&255,vd=pd&255;fd===255?(fd=0,md===255?(md=0,vd===255?vd=0:++vd):++md):++fd,pd=0,pd+=fd<<16,pd+=md<<8,pd+=vd}else pd+=1<<24;return pd}function ud(pd){return(pd[0]=ld(pd[0]))===0&&(pd[1]=ld(pd[1])),pd}var dd=od.Encryptor=od.extend({processBlock:function(pd,fd){var md=this._cipher,vd=md.blockSize,Ad=this._iv,Nd=this._counter;Ad&&(Nd=this._counter=Ad.slice(0),this._iv=void 0),ud(Nd);var Od=Nd.slice(0);md.encryptBlock(Od,0);for(var kd=0;kd<vd;kd++)pd[fd+kd]^=Od[kd]}});return od.Decryptor=dd,od}(),nd.mode.CTRGladman})}(modeCtrGladman)),modeCtrGladman.exports}var modeOfb={exports:{}},hasRequiredModeOfb;function requireModeOfb(){return hasRequiredModeOfb||(hasRequiredModeOfb=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.mode.OFB=function(){var od=nd.lib.BlockCipherMode.extend(),ld=od.Encryptor=od.extend({processBlock:function(ud,dd){var pd=this._cipher,fd=pd.blockSize,md=this._iv,vd=this._keystream;md&&(vd=this._keystream=md.slice(0),this._iv=void 0),pd.encryptBlock(vd,0);for(var Ad=0;Ad<fd;Ad++)ud[dd+Ad]^=vd[Ad]}});return od.Decryptor=ld,od}(),nd.mode.OFB})}(modeOfb)),modeOfb.exports}var modeEcb={exports:{}},hasRequiredModeEcb;function requireModeEcb(){return hasRequiredModeEcb||(hasRequiredModeEcb=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.mode.ECB=function(){var od=nd.lib.BlockCipherMode.extend();return od.Encryptor=od.extend({processBlock:function(ld,ud){this._cipher.encryptBlock(ld,ud)}}),od.Decryptor=od.extend({processBlock:function(ld,ud){this._cipher.decryptBlock(ld,ud)}}),od}(),nd.mode.ECB})}(modeEcb)),modeEcb.exports}var padAnsix923={exports:{}},hasRequiredPadAnsix923;function requirePadAnsix923(){return hasRequiredPadAnsix923||(hasRequiredPadAnsix923=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.pad.AnsiX923={pad:function(od,ld){var ud=od.sigBytes,dd=ld*4,pd=dd-ud%dd,fd=ud+pd-1;od.clamp(),od.words[fd>>>2]|=pd<<24-fd%4*8,od.sigBytes+=pd},unpad:function(od){var ld=od.words[od.sigBytes-1>>>2]&255;od.sigBytes-=ld}},nd.pad.Ansix923})}(padAnsix923)),padAnsix923.exports}var padIso10126={exports:{}},hasRequiredPadIso10126;function requirePadIso10126(){return hasRequiredPadIso10126||(hasRequiredPadIso10126=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.pad.Iso10126={pad:function(od,ld){var ud=ld*4,dd=ud-od.sigBytes%ud;od.concat(nd.lib.WordArray.random(dd-1)).concat(nd.lib.WordArray.create([dd<<24],1))},unpad:function(od){var ld=od.words[od.sigBytes-1>>>2]&255;od.sigBytes-=ld}},nd.pad.Iso10126})}(padIso10126)),padIso10126.exports}var padIso97971={exports:{}},hasRequiredPadIso97971;function requirePadIso97971(){return hasRequiredPadIso97971||(hasRequiredPadIso97971=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.pad.Iso97971={pad:function(od,ld){od.concat(nd.lib.WordArray.create([2147483648],1)),nd.pad.ZeroPadding.pad(od,ld)},unpad:function(od){nd.pad.ZeroPadding.unpad(od),od.sigBytes--}},nd.pad.Iso97971})}(padIso97971)),padIso97971.exports}var padZeropadding={exports:{}},hasRequiredPadZeropadding;function requirePadZeropadding(){return hasRequiredPadZeropadding||(hasRequiredPadZeropadding=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.pad.ZeroPadding={pad:function(od,ld){var ud=ld*4;od.clamp(),od.sigBytes+=ud-(od.sigBytes%ud||ud)},unpad:function(od){for(var ld=od.words,ud=od.sigBytes-1,ud=od.sigBytes-1;ud>=0;ud--)if(ld[ud>>>2]>>>24-ud%4*8&255){od.sigBytes=ud+1;break}}},nd.pad.ZeroPadding})}(padZeropadding)),padZeropadding.exports}var padNopadding={exports:{}},hasRequiredPadNopadding;function requirePadNopadding(){return hasRequiredPadNopadding||(hasRequiredPadNopadding=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.pad.NoPadding={pad:function(){},unpad:function(){}},nd.pad.NoPadding})}(padNopadding)),padNopadding.exports}var formatHex={exports:{}},hasRequiredFormatHex;function requireFormatHex(){return hasRequiredFormatHex||(hasRequiredFormatHex=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return function(od){var ld=nd,ud=ld.lib,dd=ud.CipherParams,pd=ld.enc,fd=pd.Hex,md=ld.format;md.Hex={stringify:function(vd){return vd.ciphertext.toString(fd)},parse:function(vd){var Ad=fd.parse(vd);return dd.create({ciphertext:Ad})}}}(),nd.format.Hex})}(formatHex)),formatHex.exports}var aes={exports:{}},hasRequiredAes;function requireAes(){return hasRequiredAes||(hasRequiredAes=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.BlockCipher,dd=od.algo,pd=[],fd=[],md=[],vd=[],Ad=[],Nd=[],Od=[],kd=[],Ld=[],Gd=[];(function(){for(var Ud=[],qd=0;qd<256;qd++)qd<128?Ud[qd]=qd<<1:Ud[qd]=qd<<1^283;for(var zd=0,Wd=0,qd=0;qd<256;qd++){var Jd=Wd^Wd<<1^Wd<<2^Wd<<3^Wd<<4;Jd=Jd>>>8^Jd&255^99,pd[zd]=Jd,fd[Jd]=zd;var _f=Ud[zd],Xd=Ud[_f],pf=Ud[Xd],mf=Ud[Jd]*257^Jd*16843008;md[zd]=mf<<24|mf>>>8,vd[zd]=mf<<16|mf>>>16,Ad[zd]=mf<<8|mf>>>24,Nd[zd]=mf;var mf=pf*16843009^Xd*65537^_f*257^zd*16843008;Od[Jd]=mf<<24|mf>>>8,kd[Jd]=mf<<16|mf>>>16,Ld[Jd]=mf<<8|mf>>>24,Gd[Jd]=mf,zd?(zd=_f^Ud[Ud[Ud[pf^_f]]],Wd^=Ud[Ud[Wd]]):zd=Wd=1}})();var jd=[0,1,2,4,8,16,32,64,128,27,54],Fd=dd.AES=ud.extend({_doReset:function(){var Ud;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var qd=this._keyPriorReset=this._key,zd=qd.words,Wd=qd.sigBytes/4,Jd=this._nRounds=Wd+6,_f=(Jd+1)*4,Xd=this._keySchedule=[],pf=0;pf<_f;pf++)pf<Wd?Xd[pf]=zd[pf]:(Ud=Xd[pf-1],pf%Wd?Wd>6&&pf%Wd==4&&(Ud=pd[Ud>>>24]<<24|pd[Ud>>>16&255]<<16|pd[Ud>>>8&255]<<8|pd[Ud&255]):(Ud=Ud<<8|Ud>>>24,Ud=pd[Ud>>>24]<<24|pd[Ud>>>16&255]<<16|pd[Ud>>>8&255]<<8|pd[Ud&255],Ud^=jd[pf/Wd|0]<<24),Xd[pf]=Xd[pf-Wd]^Ud);for(var mf=this._invKeySchedule=[],Sf=0;Sf<_f;Sf++){var pf=_f-Sf;if(Sf%4)var Ud=Xd[pf];else var Ud=Xd[pf-4];Sf<4||pf<=4?mf[Sf]=Ud:mf[Sf]=Od[pd[Ud>>>24]]^kd[pd[Ud>>>16&255]]^Ld[pd[Ud>>>8&255]]^Gd[pd[Ud&255]]}}},encryptBlock:function(Ud,qd){this._doCryptBlock(Ud,qd,this._keySchedule,md,vd,Ad,Nd,pd)},decryptBlock:function(Ud,qd){var zd=Ud[qd+1];Ud[qd+1]=Ud[qd+3],Ud[qd+3]=zd,this._doCryptBlock(Ud,qd,this._invKeySchedule,Od,kd,Ld,Gd,fd);var zd=Ud[qd+1];Ud[qd+1]=Ud[qd+3],Ud[qd+3]=zd},_doCryptBlock:function(Ud,qd,zd,Wd,Jd,_f,Xd,pf){for(var mf=this._nRounds,Sf=Ud[qd]^zd[0],Tf=Ud[qd+1]^zd[1],Af=Ud[qd+2]^zd[2],Ef=Ud[qd+3]^zd[3],Nf=4,If=1;If<mf;If++){var Gf=Wd[Sf>>>24]^Jd[Tf>>>16&255]^_f[Af>>>8&255]^Xd[Ef&255]^zd[Nf++],Qf=Wd[Tf>>>24]^Jd[Af>>>16&255]^_f[Ef>>>8&255]^Xd[Sf&255]^zd[Nf++],Xf=Wd[Af>>>24]^Jd[Ef>>>16&255]^_f[Sf>>>8&255]^Xd[Tf&255]^zd[Nf++],ph=Wd[Ef>>>24]^Jd[Sf>>>16&255]^_f[Tf>>>8&255]^Xd[Af&255]^zd[Nf++];Sf=Gf,Tf=Qf,Af=Xf,Ef=ph}var Gf=(pf[Sf>>>24]<<24|pf[Tf>>>16&255]<<16|pf[Af>>>8&255]<<8|pf[Ef&255])^zd[Nf++],Qf=(pf[Tf>>>24]<<24|pf[Af>>>16&255]<<16|pf[Ef>>>8&255]<<8|pf[Sf&255])^zd[Nf++],Xf=(pf[Af>>>24]<<24|pf[Ef>>>16&255]<<16|pf[Sf>>>8&255]<<8|pf[Tf&255])^zd[Nf++],ph=(pf[Ef>>>24]<<24|pf[Sf>>>16&255]<<16|pf[Tf>>>8&255]<<8|pf[Af&255])^zd[Nf++];Ud[qd]=Gf,Ud[qd+1]=Qf,Ud[qd+2]=Xf,Ud[qd+3]=ph},keySize:256/32});od.AES=ud._createHelper(Fd)}(),nd.AES})}(aes)),aes.exports}var tripledes={exports:{}},hasRequiredTripledes;function requireTripledes(){return hasRequiredTripledes||(hasRequiredTripledes=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.WordArray,dd=ld.BlockCipher,pd=od.algo,fd=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],md=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],vd=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],Ad=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],Nd=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],Od=pd.DES=dd.extend({_doReset:function(){for(var jd=this._key,Fd=jd.words,Ud=[],qd=0;qd<56;qd++){var zd=fd[qd]-1;Ud[qd]=Fd[zd>>>5]>>>31-zd%32&1}for(var Wd=this._subKeys=[],Jd=0;Jd<16;Jd++){for(var _f=Wd[Jd]=[],Xd=vd[Jd],qd=0;qd<24;qd++)_f[qd/6|0]|=Ud[(md[qd]-1+Xd)%28]<<31-qd%6,_f[4+(qd/6|0)]|=Ud[28+(md[qd+24]-1+Xd)%28]<<31-qd%6;_f[0]=_f[0]<<1|_f[0]>>>31;for(var qd=1;qd<7;qd++)_f[qd]=_f[qd]>>>(qd-1)*4+3;_f[7]=_f[7]<<5|_f[7]>>>27}for(var pf=this._invSubKeys=[],qd=0;qd<16;qd++)pf[qd]=Wd[15-qd]},encryptBlock:function(jd,Fd){this._doCryptBlock(jd,Fd,this._subKeys)},decryptBlock:function(jd,Fd){this._doCryptBlock(jd,Fd,this._invSubKeys)},_doCryptBlock:function(jd,Fd,Ud){this._lBlock=jd[Fd],this._rBlock=jd[Fd+1],kd.call(this,4,252645135),kd.call(this,16,65535),Ld.call(this,2,858993459),Ld.call(this,8,16711935),kd.call(this,1,1431655765);for(var qd=0;qd<16;qd++){for(var zd=Ud[qd],Wd=this._lBlock,Jd=this._rBlock,_f=0,Xd=0;Xd<8;Xd++)_f|=Ad[Xd][((Jd^zd[Xd])&Nd[Xd])>>>0];this._lBlock=Jd,this._rBlock=Wd^_f}var pf=this._lBlock;this._lBlock=this._rBlock,this._rBlock=pf,kd.call(this,1,1431655765),Ld.call(this,8,16711935),Ld.call(this,2,858993459),kd.call(this,16,65535),kd.call(this,4,252645135),jd[Fd]=this._lBlock,jd[Fd+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function kd(jd,Fd){var Ud=(this._lBlock>>>jd^this._rBlock)&Fd;this._rBlock^=Ud,this._lBlock^=Ud<<jd}function Ld(jd,Fd){var Ud=(this._rBlock>>>jd^this._lBlock)&Fd;this._lBlock^=Ud,this._rBlock^=Ud<<jd}od.DES=dd._createHelper(Od);var Gd=pd.TripleDES=dd.extend({_doReset:function(){var jd=this._key,Fd=jd.words;if(Fd.length!==2&&Fd.length!==4&&Fd.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var Ud=Fd.slice(0,2),qd=Fd.length<4?Fd.slice(0,2):Fd.slice(2,4),zd=Fd.length<6?Fd.slice(0,2):Fd.slice(4,6);this._des1=Od.createEncryptor(ud.create(Ud)),this._des2=Od.createEncryptor(ud.create(qd)),this._des3=Od.createEncryptor(ud.create(zd))},encryptBlock:function(jd,Fd){this._des1.encryptBlock(jd,Fd),this._des2.decryptBlock(jd,Fd),this._des3.encryptBlock(jd,Fd)},decryptBlock:function(jd,Fd){this._des3.decryptBlock(jd,Fd),this._des2.encryptBlock(jd,Fd),this._des1.decryptBlock(jd,Fd)},keySize:192/32,ivSize:64/32,blockSize:64/32});od.TripleDES=dd._createHelper(Gd)}(),nd.TripleDES})}(tripledes)),tripledes.exports}var rc4={exports:{}},hasRequiredRc4;function requireRc4(){return hasRequiredRc4||(hasRequiredRc4=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.StreamCipher,dd=od.algo,pd=dd.RC4=ud.extend({_doReset:function(){for(var vd=this._key,Ad=vd.words,Nd=vd.sigBytes,Od=this._S=[],kd=0;kd<256;kd++)Od[kd]=kd;for(var kd=0,Ld=0;kd<256;kd++){var Gd=kd%Nd,jd=Ad[Gd>>>2]>>>24-Gd%4*8&255;Ld=(Ld+Od[kd]+jd)%256;var Fd=Od[kd];Od[kd]=Od[Ld],Od[Ld]=Fd}this._i=this._j=0},_doProcessBlock:function(vd,Ad){vd[Ad]^=fd.call(this)},keySize:256/32,ivSize:0});function fd(){for(var vd=this._S,Ad=this._i,Nd=this._j,Od=0,kd=0;kd<4;kd++){Ad=(Ad+1)%256,Nd=(Nd+vd[Ad])%256;var Ld=vd[Ad];vd[Ad]=vd[Nd],vd[Nd]=Ld,Od|=vd[(vd[Ad]+vd[Nd])%256]<<24-kd*8}return this._i=Ad,this._j=Nd,Od}od.RC4=ud._createHelper(pd);var md=dd.RC4Drop=pd.extend({cfg:pd.cfg.extend({drop:192}),_doReset:function(){pd._doReset.call(this);for(var vd=this.cfg.drop;vd>0;vd--)fd.call(this)}});od.RC4Drop=ud._createHelper(md)}(),nd.RC4})}(rc4)),rc4.exports}var rabbit={exports:{}},hasRequiredRabbit;function requireRabbit(){return hasRequiredRabbit||(hasRequiredRabbit=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.StreamCipher,dd=od.algo,pd=[],fd=[],md=[],vd=dd.Rabbit=ud.extend({_doReset:function(){for(var Nd=this._key.words,Od=this.cfg.iv,kd=0;kd<4;kd++)Nd[kd]=(Nd[kd]<<8|Nd[kd]>>>24)&16711935|(Nd[kd]<<24|Nd[kd]>>>8)&4278255360;var Ld=this._X=[Nd[0],Nd[3]<<16|Nd[2]>>>16,Nd[1],Nd[0]<<16|Nd[3]>>>16,Nd[2],Nd[1]<<16|Nd[0]>>>16,Nd[3],Nd[2]<<16|Nd[1]>>>16],Gd=this._C=[Nd[2]<<16|Nd[2]>>>16,Nd[0]&4294901760|Nd[1]&65535,Nd[3]<<16|Nd[3]>>>16,Nd[1]&4294901760|Nd[2]&65535,Nd[0]<<16|Nd[0]>>>16,Nd[2]&4294901760|Nd[3]&65535,Nd[1]<<16|Nd[1]>>>16,Nd[3]&4294901760|Nd[0]&65535];this._b=0;for(var kd=0;kd<4;kd++)Ad.call(this);for(var kd=0;kd<8;kd++)Gd[kd]^=Ld[kd+4&7];if(Od){var jd=Od.words,Fd=jd[0],Ud=jd[1],qd=(Fd<<8|Fd>>>24)&16711935|(Fd<<24|Fd>>>8)&4278255360,zd=(Ud<<8|Ud>>>24)&16711935|(Ud<<24|Ud>>>8)&4278255360,Wd=qd>>>16|zd&4294901760,Jd=zd<<16|qd&65535;Gd[0]^=qd,Gd[1]^=Wd,Gd[2]^=zd,Gd[3]^=Jd,Gd[4]^=qd,Gd[5]^=Wd,Gd[6]^=zd,Gd[7]^=Jd;for(var kd=0;kd<4;kd++)Ad.call(this)}},_doProcessBlock:function(Nd,Od){var kd=this._X;Ad.call(this),pd[0]=kd[0]^kd[5]>>>16^kd[3]<<16,pd[1]=kd[2]^kd[7]>>>16^kd[5]<<16,pd[2]=kd[4]^kd[1]>>>16^kd[7]<<16,pd[3]=kd[6]^kd[3]>>>16^kd[1]<<16;for(var Ld=0;Ld<4;Ld++)pd[Ld]=(pd[Ld]<<8|pd[Ld]>>>24)&16711935|(pd[Ld]<<24|pd[Ld]>>>8)&4278255360,Nd[Od+Ld]^=pd[Ld]},blockSize:128/32,ivSize:64/32});function Ad(){for(var Nd=this._X,Od=this._C,kd=0;kd<8;kd++)fd[kd]=Od[kd];Od[0]=Od[0]+1295307597+this._b|0,Od[1]=Od[1]+3545052371+(Od[0]>>>0<fd[0]>>>0?1:0)|0,Od[2]=Od[2]+886263092+(Od[1]>>>0<fd[1]>>>0?1:0)|0,Od[3]=Od[3]+1295307597+(Od[2]>>>0<fd[2]>>>0?1:0)|0,Od[4]=Od[4]+3545052371+(Od[3]>>>0<fd[3]>>>0?1:0)|0,Od[5]=Od[5]+886263092+(Od[4]>>>0<fd[4]>>>0?1:0)|0,Od[6]=Od[6]+1295307597+(Od[5]>>>0<fd[5]>>>0?1:0)|0,Od[7]=Od[7]+3545052371+(Od[6]>>>0<fd[6]>>>0?1:0)|0,this._b=Od[7]>>>0<fd[7]>>>0?1:0;for(var kd=0;kd<8;kd++){var Ld=Nd[kd]+Od[kd],Gd=Ld&65535,jd=Ld>>>16,Fd=((Gd*Gd>>>17)+Gd*jd>>>15)+jd*jd,Ud=((Ld&4294901760)*Ld|0)+((Ld&65535)*Ld|0);md[kd]=Fd^Ud}Nd[0]=md[0]+(md[7]<<16|md[7]>>>16)+(md[6]<<16|md[6]>>>16)|0,Nd[1]=md[1]+(md[0]<<8|md[0]>>>24)+md[7]|0,Nd[2]=md[2]+(md[1]<<16|md[1]>>>16)+(md[0]<<16|md[0]>>>16)|0,Nd[3]=md[3]+(md[2]<<8|md[2]>>>24)+md[1]|0,Nd[4]=md[4]+(md[3]<<16|md[3]>>>16)+(md[2]<<16|md[2]>>>16)|0,Nd[5]=md[5]+(md[4]<<8|md[4]>>>24)+md[3]|0,Nd[6]=md[6]+(md[5]<<16|md[5]>>>16)+(md[4]<<16|md[4]>>>16)|0,Nd[7]=md[7]+(md[6]<<8|md[6]>>>24)+md[5]|0}od.Rabbit=ud._createHelper(vd)}(),nd.Rabbit})}(rabbit)),rabbit.exports}var rabbitLegacy={exports:{}},hasRequiredRabbitLegacy;function requireRabbitLegacy(){return hasRequiredRabbitLegacy||(hasRequiredRabbitLegacy=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.StreamCipher,dd=od.algo,pd=[],fd=[],md=[],vd=dd.RabbitLegacy=ud.extend({_doReset:function(){var Nd=this._key.words,Od=this.cfg.iv,kd=this._X=[Nd[0],Nd[3]<<16|Nd[2]>>>16,Nd[1],Nd[0]<<16|Nd[3]>>>16,Nd[2],Nd[1]<<16|Nd[0]>>>16,Nd[3],Nd[2]<<16|Nd[1]>>>16],Ld=this._C=[Nd[2]<<16|Nd[2]>>>16,Nd[0]&4294901760|Nd[1]&65535,Nd[3]<<16|Nd[3]>>>16,Nd[1]&4294901760|Nd[2]&65535,Nd[0]<<16|Nd[0]>>>16,Nd[2]&4294901760|Nd[3]&65535,Nd[1]<<16|Nd[1]>>>16,Nd[3]&4294901760|Nd[0]&65535];this._b=0;for(var Gd=0;Gd<4;Gd++)Ad.call(this);for(var Gd=0;Gd<8;Gd++)Ld[Gd]^=kd[Gd+4&7];if(Od){var jd=Od.words,Fd=jd[0],Ud=jd[1],qd=(Fd<<8|Fd>>>24)&16711935|(Fd<<24|Fd>>>8)&4278255360,zd=(Ud<<8|Ud>>>24)&16711935|(Ud<<24|Ud>>>8)&4278255360,Wd=qd>>>16|zd&4294901760,Jd=zd<<16|qd&65535;Ld[0]^=qd,Ld[1]^=Wd,Ld[2]^=zd,Ld[3]^=Jd,Ld[4]^=qd,Ld[5]^=Wd,Ld[6]^=zd,Ld[7]^=Jd;for(var Gd=0;Gd<4;Gd++)Ad.call(this)}},_doProcessBlock:function(Nd,Od){var kd=this._X;Ad.call(this),pd[0]=kd[0]^kd[5]>>>16^kd[3]<<16,pd[1]=kd[2]^kd[7]>>>16^kd[5]<<16,pd[2]=kd[4]^kd[1]>>>16^kd[7]<<16,pd[3]=kd[6]^kd[3]>>>16^kd[1]<<16;for(var Ld=0;Ld<4;Ld++)pd[Ld]=(pd[Ld]<<8|pd[Ld]>>>24)&16711935|(pd[Ld]<<24|pd[Ld]>>>8)&4278255360,Nd[Od+Ld]^=pd[Ld]},blockSize:128/32,ivSize:64/32});function Ad(){for(var Nd=this._X,Od=this._C,kd=0;kd<8;kd++)fd[kd]=Od[kd];Od[0]=Od[0]+1295307597+this._b|0,Od[1]=Od[1]+3545052371+(Od[0]>>>0<fd[0]>>>0?1:0)|0,Od[2]=Od[2]+886263092+(Od[1]>>>0<fd[1]>>>0?1:0)|0,Od[3]=Od[3]+1295307597+(Od[2]>>>0<fd[2]>>>0?1:0)|0,Od[4]=Od[4]+3545052371+(Od[3]>>>0<fd[3]>>>0?1:0)|0,Od[5]=Od[5]+886263092+(Od[4]>>>0<fd[4]>>>0?1:0)|0,Od[6]=Od[6]+1295307597+(Od[5]>>>0<fd[5]>>>0?1:0)|0,Od[7]=Od[7]+3545052371+(Od[6]>>>0<fd[6]>>>0?1:0)|0,this._b=Od[7]>>>0<fd[7]>>>0?1:0;for(var kd=0;kd<8;kd++){var Ld=Nd[kd]+Od[kd],Gd=Ld&65535,jd=Ld>>>16,Fd=((Gd*Gd>>>17)+Gd*jd>>>15)+jd*jd,Ud=((Ld&4294901760)*Ld|0)+((Ld&65535)*Ld|0);md[kd]=Fd^Ud}Nd[0]=md[0]+(md[7]<<16|md[7]>>>16)+(md[6]<<16|md[6]>>>16)|0,Nd[1]=md[1]+(md[0]<<8|md[0]>>>24)+md[7]|0,Nd[2]=md[2]+(md[1]<<16|md[1]>>>16)+(md[0]<<16|md[0]>>>16)|0,Nd[3]=md[3]+(md[2]<<8|md[2]>>>24)+md[1]|0,Nd[4]=md[4]+(md[3]<<16|md[3]>>>16)+(md[2]<<16|md[2]>>>16)|0,Nd[5]=md[5]+(md[4]<<8|md[4]>>>24)+md[3]|0,Nd[6]=md[6]+(md[5]<<16|md[5]>>>16)+(md[4]<<16|md[4]>>>16)|0,Nd[7]=md[7]+(md[6]<<8|md[6]>>>24)+md[5]|0}od.RabbitLegacy=ud._createHelper(vd)}(),nd.RabbitLegacy})}(rabbitLegacy)),rabbitLegacy.exports}var blowfish={exports:{}},hasRequiredBlowfish;function requireBlowfish(){return hasRequiredBlowfish||(hasRequiredBlowfish=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.BlockCipher,dd=od.algo;const pd=16,fd=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],md=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var vd={pbox:[],sbox:[]};function Ad(Gd,jd){let Fd=jd>>24&255,Ud=jd>>16&255,qd=jd>>8&255,zd=jd&255,Wd=Gd.sbox[0][Fd]+Gd.sbox[1][Ud];return Wd=Wd^Gd.sbox[2][qd],Wd=Wd+Gd.sbox[3][zd],Wd}function Nd(Gd,jd,Fd){let Ud=jd,qd=Fd,zd;for(let Wd=0;Wd<pd;++Wd)Ud=Ud^Gd.pbox[Wd],qd=Ad(Gd,Ud)^qd,zd=Ud,Ud=qd,qd=zd;return zd=Ud,Ud=qd,qd=zd,qd=qd^Gd.pbox[pd],Ud=Ud^Gd.pbox[pd+1],{left:Ud,right:qd}}function Od(Gd,jd,Fd){let Ud=jd,qd=Fd,zd;for(let Wd=pd+1;Wd>1;--Wd)Ud=Ud^Gd.pbox[Wd],qd=Ad(Gd,Ud)^qd,zd=Ud,Ud=qd,qd=zd;return zd=Ud,Ud=qd,qd=zd,qd=qd^Gd.pbox[1],Ud=Ud^Gd.pbox[0],{left:Ud,right:qd}}function kd(Gd,jd,Fd){for(let Jd=0;Jd<4;Jd++){Gd.sbox[Jd]=[];for(let _f=0;_f<256;_f++)Gd.sbox[Jd][_f]=md[Jd][_f]}let Ud=0;for(let Jd=0;Jd<pd+2;Jd++)Gd.pbox[Jd]=fd[Jd]^jd[Ud],Ud++,Ud>=Fd&&(Ud=0);let qd=0,zd=0,Wd=0;for(let Jd=0;Jd<pd+2;Jd+=2)Wd=Nd(Gd,qd,zd),qd=Wd.left,zd=Wd.right,Gd.pbox[Jd]=qd,Gd.pbox[Jd+1]=zd;for(let Jd=0;Jd<4;Jd++)for(let _f=0;_f<256;_f+=2)Wd=Nd(Gd,qd,zd),qd=Wd.left,zd=Wd.right,Gd.sbox[Jd][_f]=qd,Gd.sbox[Jd][_f+1]=zd;return!0}var Ld=dd.Blowfish=ud.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var Gd=this._keyPriorReset=this._key,jd=Gd.words,Fd=Gd.sigBytes/4;kd(vd,jd,Fd)}},encryptBlock:function(Gd,jd){var Fd=Nd(vd,Gd[jd],Gd[jd+1]);Gd[jd]=Fd.left,Gd[jd+1]=Fd.right},decryptBlock:function(Gd,jd){var Fd=Od(vd,Gd[jd],Gd[jd+1]);Gd[jd]=Fd.left,Gd[jd+1]=Fd.right},blockSize:64/32,keySize:128/32,ivSize:64/32});od.Blowfish=ud._createHelper(Ld)}(),nd.Blowfish})}(blowfish)),blowfish.exports}(function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireX64Core(),requireLibTypedarrays(),requireEncUtf16(),requireEncBase64(),requireEncBase64url(),requireMd5$1(),requireSha1(),requireSha256(),requireSha224(),requireSha512(),requireSha384(),requireSha3(),requireRipemd160(),requireHmac(),requirePbkdf2(),requireEvpkdf(),requireCipherCore(),requireModeCfb(),requireModeCtr(),requireModeCtrGladman(),requireModeOfb(),requireModeEcb(),requirePadAnsix923(),requirePadIso10126(),requirePadIso97971(),requirePadZeropadding(),requirePadNopadding(),requireFormatHex(),requireAes(),requireTripledes(),requireRc4(),requireRabbit(),requireRabbitLegacy(),requireBlowfish())})(commonjsGlobal,function(nd){return nd})})(cryptoJs);var cryptoJsExports=cryptoJs.exports;const CryptoJS=getDefaultExportFromCjs(cryptoJsExports);var define_process_default$6={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_1164a745-b3dc-4b9f-a9be-9609c1b3622a",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_1164a745-b3dc-4b9f-a9be-9609c1b3622a",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250105.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7633",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12854182433",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_eb6908e4-3cff-452d-a339-25146be9740f",INVOCATION_ID:"049b7125072941398f5d27a5cb59ad7a",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"493",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 18",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_1164a745-b3dc-4b9f-a9be-9609c1b3622a",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_1164a745-b3dc-4b9f-a9be-9609c1b3622a",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_1164a745-b3dc-4b9f-a9be-9609c1b3622a",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2166,ppid:2165,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};function assertPath(Ra){if(typeof Ra!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(Ra))}function normalizeStringPosix(Ra,qa){for(var nd="",od=0,ld=-1,ud=0,dd,pd=0;pd<=Ra.length;++pd){if(pd<Ra.length)dd=Ra.charCodeAt(pd);else{if(dd===47)break;dd=47}if(dd===47){if(!(ld===pd-1||ud===1))if(ld!==pd-1&&ud===2){if(nd.length<2||od!==2||nd.charCodeAt(nd.length-1)!==46||nd.charCodeAt(nd.length-2)!==46){if(nd.length>2){var fd=nd.lastIndexOf("/");if(fd!==nd.length-1){fd===-1?(nd="",od=0):(nd=nd.slice(0,fd),od=nd.length-1-nd.lastIndexOf("/")),ld=pd,ud=0;continue}}else if(nd.length===2||nd.length===1){nd="",od=0,ld=pd,ud=0;continue}}qa&&(nd.length>0?nd+="/..":nd="..",od=2)}else nd.length>0?nd+="/"+Ra.slice(ld+1,pd):nd=Ra.slice(ld+1,pd),od=pd-ld-1;ld=pd,ud=0}else dd===46&&ud!==-1?++ud:ud=-1}return nd}function _format(Ra,qa){var nd=qa.dir||qa.root,od=qa.base||(qa.name||"")+(qa.ext||"");return nd?nd===qa.root?nd+od:nd+Ra+od:od}var posix={resolve:function(){for(var qa="",nd=!1,od,ld=arguments.length-1;ld>=-1&&!nd;ld--){var ud;ld>=0?ud=arguments[ld]:(od===void 0&&(od=define_process_default$6.cwd()),ud=od),assertPath(ud),ud.length!==0&&(qa=ud+"/"+qa,nd=ud.charCodeAt(0)===47)}return qa=normalizeStringPosix(qa,!nd),nd?qa.length>0?"/"+qa:"/":qa.length>0?qa:"."},normalize:function(qa){if(assertPath(qa),qa.length===0)return".";var nd=qa.charCodeAt(0)===47,od=qa.charCodeAt(qa.length-1)===47;return qa=normalizeStringPosix(qa,!nd),qa.length===0&&!nd&&(qa="."),qa.length>0&&od&&(qa+="/"),nd?"/"+qa:qa},isAbsolute:function(qa){return assertPath(qa),qa.length>0&&qa.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var qa,nd=0;nd<arguments.length;++nd){var od=arguments[nd];assertPath(od),od.length>0&&(qa===void 0?qa=od:qa+="/"+od)}return qa===void 0?".":posix.normalize(qa)},relative:function(qa,nd){if(assertPath(qa),assertPath(nd),qa===nd||(qa=posix.resolve(qa),nd=posix.resolve(nd),qa===nd))return"";for(var od=1;od<qa.length&&qa.charCodeAt(od)===47;++od);for(var ld=qa.length,ud=ld-od,dd=1;dd<nd.length&&nd.charCodeAt(dd)===47;++dd);for(var pd=nd.length,fd=pd-dd,md=ud<fd?ud:fd,vd=-1,Ad=0;Ad<=md;++Ad){if(Ad===md){if(fd>md){if(nd.charCodeAt(dd+Ad)===47)return nd.slice(dd+Ad+1);if(Ad===0)return nd.slice(dd+Ad)}else ud>md&&(qa.charCodeAt(od+Ad)===47?vd=Ad:Ad===0&&(vd=0));break}var Nd=qa.charCodeAt(od+Ad),Od=nd.charCodeAt(dd+Ad);if(Nd!==Od)break;Nd===47&&(vd=Ad)}var kd="";for(Ad=od+vd+1;Ad<=ld;++Ad)(Ad===ld||qa.charCodeAt(Ad)===47)&&(kd.length===0?kd+="..":kd+="/..");return kd.length>0?kd+nd.slice(dd+vd):(dd+=vd,nd.charCodeAt(dd)===47&&++dd,nd.slice(dd))},_makeLong:function(qa){return qa},dirname:function(qa){if(assertPath(qa),qa.length===0)return".";for(var nd=qa.charCodeAt(0),od=nd===47,ld=-1,ud=!0,dd=qa.length-1;dd>=1;--dd)if(nd=qa.charCodeAt(dd),nd===47){if(!ud){ld=dd;break}}else ud=!1;return ld===-1?od?"/":".":od&&ld===1?"//":qa.slice(0,ld)},basename:function(qa,nd){if(nd!==void 0&&typeof nd!="string")throw new TypeError('"ext" argument must be a string');assertPath(qa);var od=0,ld=-1,ud=!0,dd;if(nd!==void 0&&nd.length>0&&nd.length<=qa.length){if(nd.length===qa.length&&nd===qa)return"";var pd=nd.length-1,fd=-1;for(dd=qa.length-1;dd>=0;--dd){var md=qa.charCodeAt(dd);if(md===47){if(!ud){od=dd+1;break}}else fd===-1&&(ud=!1,fd=dd+1),pd>=0&&(md===nd.charCodeAt(pd)?--pd===-1&&(ld=dd):(pd=-1,ld=fd))}return od===ld?ld=fd:ld===-1&&(ld=qa.length),qa.slice(od,ld)}else{for(dd=qa.length-1;dd>=0;--dd)if(qa.charCodeAt(dd)===47){if(!ud){od=dd+1;break}}else ld===-1&&(ud=!1,ld=dd+1);return ld===-1?"":qa.slice(od,ld)}},extname:function(qa){assertPath(qa);for(var nd=-1,od=0,ld=-1,ud=!0,dd=0,pd=qa.length-1;pd>=0;--pd){var fd=qa.charCodeAt(pd);if(fd===47){if(!ud){od=pd+1;break}continue}ld===-1&&(ud=!1,ld=pd+1),fd===46?nd===-1?nd=pd:dd!==1&&(dd=1):nd!==-1&&(dd=-1)}return nd===-1||ld===-1||dd===0||dd===1&&nd===ld-1&&nd===od+1?"":qa.slice(nd,ld)},format:function(qa){if(qa===null||typeof qa!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof qa);return _format("/",qa)},parse:function(qa){assertPath(qa);var nd={root:"",dir:"",base:"",ext:"",name:""};if(qa.length===0)return nd;var od=qa.charCodeAt(0),ld=od===47,ud;ld?(nd.root="/",ud=1):ud=0;for(var dd=-1,pd=0,fd=-1,md=!0,vd=qa.length-1,Ad=0;vd>=ud;--vd){if(od=qa.charCodeAt(vd),od===47){if(!md){pd=vd+1;break}continue}fd===-1&&(md=!1,fd=vd+1),od===46?dd===-1?dd=vd:Ad!==1&&(Ad=1):dd!==-1&&(Ad=-1)}return dd===-1||fd===-1||Ad===0||Ad===1&&dd===fd-1&&dd===pd+1?fd!==-1&&(pd===0&&ld?nd.base=nd.name=qa.slice(1,fd):nd.base=nd.name=qa.slice(pd,fd)):(pd===0&&ld?(nd.name=qa.slice(1,dd),nd.base=qa.slice(1,fd)):(nd.name=qa.slice(pd,dd),nd.base=qa.slice(pd,fd)),nd.ext=qa.slice(dd,fd)),pd>0?nd.dir=qa.slice(0,pd-1):ld&&(nd.dir="/"),nd},sep:"/",delimiter:":",win32:null,posix:null};posix.posix=posix;var pathBrowserify=posix,define_process_default$5={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_1164a745-b3dc-4b9f-a9be-9609c1b3622a",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_1164a745-b3dc-4b9f-a9be-9609c1b3622a",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250105.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7633",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12854182433",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_eb6908e4-3cff-452d-a339-25146be9740f",INVOCATION_ID:"049b7125072941398f5d27a5cb59ad7a",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"493",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 18",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_1164a745-b3dc-4b9f-a9be-9609c1b3622a",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_1164a745-b3dc-4b9f-a9be-9609c1b3622a",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_1164a745-b3dc-4b9f-a9be-9609c1b3622a",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2166,ppid:2165,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};function apply(Ra,...qa){return(...nd)=>Ra(...qa,...nd)}function initialParams(Ra){return function(...qa){var nd=qa.pop();return Ra.call(this,qa,nd)}}var hasQueueMicrotask=typeof queueMicrotask=="function"&&queueMicrotask,hasSetImmediate=typeof setImmediate=="function"&&setImmediate,hasNextTick=typeof define_process_default$5=="object"&&typeof define_process_default$5.nextTick=="function";function fallback(Ra){setTimeout(Ra,0)}function wrap(Ra){return(qa,...nd)=>Ra(()=>qa(...nd))}var _defer$1;hasQueueMicrotask?_defer$1=queueMicrotask:hasSetImmediate?_defer$1=setImmediate:hasNextTick?_defer$1=define_process_default$5.nextTick:_defer$1=fallback;var setImmediate$1$1=wrap(_defer$1);function asyncify(Ra){return isAsync(Ra)?function(...qa){const nd=qa.pop(),od=Ra.apply(this,qa);return handlePromise(od,nd)}:initialParams(function(qa,nd){var od;try{od=Ra.apply(this,qa)}catch(ld){return nd(ld)}if(od&&typeof od.then=="function")return handlePromise(od,nd);nd(null,od)})}function handlePromise(Ra,qa){return Ra.then(nd=>{invokeCallback(qa,null,nd)},nd=>{invokeCallback(qa,nd&&(nd instanceof Error||nd.message)?nd:new Error(nd))})}function invokeCallback(Ra,qa,nd){try{Ra(qa,nd)}catch(od){setImmediate$1$1(ld=>{throw ld},od)}}function isAsync(Ra){return Ra[Symbol.toStringTag]==="AsyncFunction"}function isAsyncGenerator(Ra){return Ra[Symbol.toStringTag]==="AsyncGenerator"}function isAsyncIterable(Ra){return typeof Ra[Symbol.asyncIterator]=="function"}function wrapAsync(Ra){if(typeof Ra!="function")throw new Error("expected a function");return isAsync(Ra)?asyncify(Ra):Ra}function awaitify(Ra,qa){if(qa||(qa=Ra.length),!qa)throw new Error("arity is undefined");function nd(...od){return typeof od[qa-1]=="function"?Ra.apply(this,od):new Promise((ld,ud)=>{od[qa-1]=(dd,...pd)=>{if(dd)return ud(dd);ld(pd.length>1?pd:pd[0])},Ra.apply(this,od)})}return nd}function applyEach$1(Ra){return function(nd,...od){return awaitify(function(ud){var dd=this;return Ra(nd,(pd,fd)=>{wrapAsync(pd).apply(dd,od.concat(fd))},ud)})}}function _asyncMap(Ra,qa,nd,od){qa=qa||[];var ld=[],ud=0,dd=wrapAsync(nd);return Ra(qa,(pd,fd,md)=>{var vd=ud++;dd(pd,(Ad,Nd)=>{ld[vd]=Nd,md(Ad)})},pd=>{od(pd,ld)})}function isArrayLike(Ra){return Ra&&typeof Ra.length=="number"&&Ra.length>=0&&Ra.length%1===0}const breakLoop={};function once(Ra){function qa(...nd){if(Ra!==null){var od=Ra;Ra=null,od.apply(this,nd)}}return Object.assign(qa,Ra),qa}function getIterator(Ra){return Ra[Symbol.iterator]&&Ra[Symbol.iterator]()}function createArrayIterator(Ra){var qa=-1,nd=Ra.length;return function(){return++qa<nd?{value:Ra[qa],key:qa}:null}}function createES2015Iterator(Ra){var qa=-1;return function(){var od=Ra.next();return od.done?null:(qa++,{value:od.value,key:qa})}}function createObjectIterator(Ra){var qa=Ra?Object.keys(Ra):[],nd=-1,od=qa.length;return function ld(){var ud=qa[++nd];return ud==="__proto__"?ld():nd<od?{value:Ra[ud],key:ud}:null}}function createIterator(Ra){if(isArrayLike(Ra))return createArrayIterator(Ra);var qa=getIterator(Ra);return qa?createES2015Iterator(qa):createObjectIterator(Ra)}function onlyOnce(Ra){return function(...qa){if(Ra===null)throw new Error("Callback was already called.");var nd=Ra;Ra=null,nd.apply(this,qa)}}function asyncEachOfLimit(Ra,qa,nd,od){let ld=!1,ud=!1,dd=!1,pd=0,fd=0;function md(){pd>=qa||dd||ld||(dd=!0,Ra.next().then(({value:Nd,done:Od})=>{if(!(ud||ld)){if(dd=!1,Od){ld=!0,pd<=0&&od(null);return}pd++,nd(Nd,fd,vd),fd++,md()}}).catch(Ad))}function vd(Nd,Od){if(pd-=1,!ud){if(Nd)return Ad(Nd);if(Nd===!1){ld=!0,ud=!0;return}if(Od===breakLoop||ld&&pd<=0)return ld=!0,od(null);md()}}function Ad(Nd){ud||(dd=!1,ld=!0,od(Nd))}md()}var eachOfLimit$2=Ra=>(qa,nd,od)=>{if(od=once(od),Ra<=0)throw new RangeError("concurrency limit cannot be less than 1");if(!qa)return od(null);if(isAsyncGenerator(qa))return asyncEachOfLimit(qa,Ra,nd,od);if(isAsyncIterable(qa))return asyncEachOfLimit(qa[Symbol.asyncIterator](),Ra,nd,od);var ld=createIterator(qa),ud=!1,dd=!1,pd=0,fd=!1;function md(Ad,Nd){if(!dd)if(pd-=1,Ad)ud=!0,od(Ad);else if(Ad===!1)ud=!0,dd=!0;else{if(Nd===breakLoop||ud&&pd<=0)return ud=!0,od(null);fd||vd()}}function vd(){for(fd=!0;pd<Ra&&!ud;){var Ad=ld();if(Ad===null){ud=!0,pd<=0&&od(null);return}pd+=1,nd(Ad.value,Ad.key,onlyOnce(md))}fd=!1}vd()};function eachOfLimit(Ra,qa,nd,od){return eachOfLimit$2(qa)(Ra,wrapAsync(nd),od)}var eachOfLimit$1=awaitify(eachOfLimit,4);function eachOfArrayLike(Ra,qa,nd){nd=once(nd);var od=0,ld=0,{length:ud}=Ra,dd=!1;ud===0&&nd(null);function pd(fd,md){fd===!1&&(dd=!0),dd!==!0&&(fd?nd(fd):(++ld===ud||md===breakLoop)&&nd(null))}for(;od<ud;od++)qa(Ra[od],od,onlyOnce(pd))}function eachOfGeneric(Ra,qa,nd){return eachOfLimit$1(Ra,1/0,qa,nd)}function eachOf(Ra,qa,nd){var od=isArrayLike(Ra)?eachOfArrayLike:eachOfGeneric;return od(Ra,wrapAsync(qa),nd)}var eachOf$1=awaitify(eachOf,3);function map(Ra,qa,nd){return _asyncMap(eachOf$1,Ra,qa,nd)}var map$1=awaitify(map,3),applyEach=applyEach$1(map$1);function eachOfSeries(Ra,qa,nd){return eachOfLimit$1(Ra,1,qa,nd)}var eachOfSeries$1=awaitify(eachOfSeries,3);function mapSeries(Ra,qa,nd){return _asyncMap(eachOfSeries$1,Ra,qa,nd)}var mapSeries$1=awaitify(mapSeries,3),applyEachSeries=applyEach$1(mapSeries$1);const PROMISE_SYMBOL=Symbol("promiseCallback");function promiseCallback(){let Ra,qa;function nd(od,...ld){if(od)return qa(od);Ra(ld.length>1?ld:ld[0])}return nd[PROMISE_SYMBOL]=new Promise((od,ld)=>{Ra=od,qa=ld}),nd}function auto(Ra,qa,nd){typeof qa!="number"&&(nd=qa,qa=null),nd=once(nd||promiseCallback());var od=Object.keys(Ra).length;if(!od)return nd(null);qa||(qa=od);var ld={},ud=0,dd=!1,pd=!1,fd=Object.create(null),md=[],vd=[],Ad={};Object.keys(Ra).forEach(Ud=>{var qd=Ra[Ud];if(!Array.isArray(qd)){Nd(Ud,[qd]),vd.push(Ud);return}var zd=qd.slice(0,qd.length-1),Wd=zd.length;if(Wd===0){Nd(Ud,qd),vd.push(Ud);return}Ad[Ud]=Wd,zd.forEach(Jd=>{if(!Ra[Jd])throw new Error("async.auto task `"+Ud+"` has a non-existent dependency `"+Jd+"` in "+zd.join(", "));kd(Jd,()=>{Wd--,Wd===0&&Nd(Ud,qd)})})}),jd(),Od();function Nd(Ud,qd){md.push(()=>Gd(Ud,qd))}function Od(){if(!dd){if(md.length===0&&ud===0)return nd(null,ld);for(;md.length&&ud<qa;){var Ud=md.shift();Ud()}}}function kd(Ud,qd){var zd=fd[Ud];zd||(zd=fd[Ud]=[]),zd.push(qd)}function Ld(Ud){var qd=fd[Ud]||[];qd.forEach(zd=>zd()),Od()}function Gd(Ud,qd){if(!pd){var zd=onlyOnce((Jd,..._f)=>{if(ud--,Jd===!1){dd=!0;return}if(_f.length<2&&([_f]=_f),Jd){var Xd={};if(Object.keys(ld).forEach(pf=>{Xd[pf]=ld[pf]}),Xd[Ud]=_f,pd=!0,fd=Object.create(null),dd)return;nd(Jd,Xd)}else ld[Ud]=_f,Ld(Ud)});ud++;var Wd=wrapAsync(qd[qd.length-1]);qd.length>1?Wd(ld,zd):Wd(zd)}}function jd(){for(var Ud,qd=0;vd.length;)Ud=vd.pop(),qd++,Fd(Ud).forEach(zd=>{--Ad[zd]===0&&vd.push(zd)});if(qd!==od)throw new Error("async.auto cannot execute tasks due to a recursive dependency")}function Fd(Ud){var qd=[];return Object.keys(Ra).forEach(zd=>{const Wd=Ra[zd];Array.isArray(Wd)&&Wd.indexOf(Ud)>=0&&qd.push(zd)}),qd}return nd[PROMISE_SYMBOL]}var FN_ARGS=/^(?:async\s)?(?:function)?\s*(?:\w+\s*)?\(([^)]+)\)(?:\s*{)/,ARROW_FN_ARGS=/^(?:async\s)?\s*(?:\(\s*)?((?:[^)=\s]\s*)*)(?:\)\s*)?=>/,FN_ARG_SPLIT=/,/,FN_ARG=/(=.+)?(\s*)$/;function stripComments(Ra){let qa="",nd=0,od=Ra.indexOf("*/");for(;nd<Ra.length;)if(Ra[nd]==="/"&&Ra[nd+1]==="/"){let ld=Ra.indexOf(`
`,nd);nd=ld===-1?Ra.length:ld}else if(od!==-1&&Ra[nd]==="/"&&Ra[nd+1]==="*"){let ld=Ra.indexOf("*/",nd);ld!==-1?(nd=ld+2,od=Ra.indexOf("*/",nd)):(qa+=Ra[nd],nd++)}else qa+=Ra[nd],nd++;return qa}function parseParams(Ra){const qa=stripComments(Ra.toString());let nd=qa.match(FN_ARGS);if(nd||(nd=qa.match(ARROW_FN_ARGS)),!nd)throw new Error(`could not parse args in autoInject
Source:
`+qa);let[,od]=nd;return od.replace(/\s/g,"").split(FN_ARG_SPLIT).map(ld=>ld.replace(FN_ARG,"").trim())}function autoInject(Ra,qa){var nd={};return Object.keys(Ra).forEach(od=>{var ld=Ra[od],ud,dd=isAsync(ld),pd=!dd&&ld.length===1||dd&&ld.length===0;if(Array.isArray(ld))ud=[...ld],ld=ud.pop(),nd[od]=ud.concat(ud.length>0?fd:ld);else if(pd)nd[od]=ld;else{if(ud=parseParams(ld),ld.length===0&&!dd&&ud.length===0)throw new Error("autoInject task functions require explicit parameters.");dd||ud.pop(),nd[od]=ud.concat(fd)}function fd(md,vd){var Ad=ud.map(Nd=>md[Nd]);Ad.push(vd),wrapAsync(ld)(...Ad)}}),auto(nd,qa)}class DLL{constructor(){this.head=this.tail=null,this.length=0}removeLink(qa){return qa.prev?qa.prev.next=qa.next:this.head=qa.next,qa.next?qa.next.prev=qa.prev:this.tail=qa.prev,qa.prev=qa.next=null,this.length-=1,qa}empty(){for(;this.head;)this.shift();return this}insertAfter(qa,nd){nd.prev=qa,nd.next=qa.next,qa.next?qa.next.prev=nd:this.tail=nd,qa.next=nd,this.length+=1}insertBefore(qa,nd){nd.prev=qa.prev,nd.next=qa,qa.prev?qa.prev.next=nd:this.head=nd,qa.prev=nd,this.length+=1}unshift(qa){this.head?this.insertBefore(this.head,qa):setInitial(this,qa)}push(qa){this.tail?this.insertAfter(this.tail,qa):setInitial(this,qa)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){for(var qa=this.head;qa;)yield qa.data,qa=qa.next}remove(qa){for(var nd=this.head;nd;){var{next:od}=nd;qa(nd)&&this.removeLink(nd),nd=od}return this}}function setInitial(Ra,qa){Ra.length=1,Ra.head=Ra.tail=qa}function queue$1(Ra,qa,nd){if(qa==null)qa=1;else if(qa===0)throw new RangeError("Concurrency must not be zero");var od=wrapAsync(Ra),ld=0,ud=[];const dd={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function pd(Fd,Ud){dd[Fd].push(Ud)}function fd(Fd,Ud){const qd=(...zd)=>{md(Fd,qd),Ud(...zd)};dd[Fd].push(qd)}function md(Fd,Ud){if(!Fd)return Object.keys(dd).forEach(qd=>dd[qd]=[]);if(!Ud)return dd[Fd]=[];dd[Fd]=dd[Fd].filter(qd=>qd!==Ud)}function vd(Fd,...Ud){dd[Fd].forEach(qd=>qd(...Ud))}var Ad=!1;function Nd(Fd,Ud,qd,zd){if(zd!=null&&typeof zd!="function")throw new Error("task callback must be a function");jd.started=!0;var Wd,Jd;function _f(pf,...mf){if(pf)return qd?Jd(pf):Wd();if(mf.length<=1)return Wd(mf[0]);Wd(mf)}var Xd=jd._createTaskItem(Fd,qd?_f:zd||_f);if(Ud?jd._tasks.unshift(Xd):jd._tasks.push(Xd),Ad||(Ad=!0,setImmediate$1$1(()=>{Ad=!1,jd.process()})),qd||!zd)return new Promise((pf,mf)=>{Wd=pf,Jd=mf})}function Od(Fd){return function(Ud,...qd){ld-=1;for(var zd=0,Wd=Fd.length;zd<Wd;zd++){var Jd=Fd[zd],_f=ud.indexOf(Jd);_f===0?ud.shift():_f>0&&ud.splice(_f,1),Jd.callback(Ud,...qd),Ud!=null&&vd("error",Ud,Jd.data)}ld<=jd.concurrency-jd.buffer&&vd("unsaturated"),jd.idle()&&vd("drain"),jd.process()}}function kd(Fd){return Fd.length===0&&jd.idle()?(setImmediate$1$1(()=>vd("drain")),!0):!1}const Ld=Fd=>Ud=>{if(!Ud)return new Promise((qd,zd)=>{fd(Fd,(Wd,Jd)=>{if(Wd)return zd(Wd);qd(Jd)})});md(Fd),pd(Fd,Ud)};var Gd=!1,jd={_tasks:new DLL,_createTaskItem(Fd,Ud){return{data:Fd,callback:Ud}},*[Symbol.iterator](){yield*jd._tasks[Symbol.iterator]()},concurrency:qa,payload:nd,buffer:qa/4,started:!1,paused:!1,push(Fd,Ud){return Array.isArray(Fd)?kd(Fd)?void 0:Fd.map(qd=>Nd(qd,!1,!1,Ud)):Nd(Fd,!1,!1,Ud)},pushAsync(Fd,Ud){return Array.isArray(Fd)?kd(Fd)?void 0:Fd.map(qd=>Nd(qd,!1,!0,Ud)):Nd(Fd,!1,!0,Ud)},kill(){md(),jd._tasks.empty()},unshift(Fd,Ud){return Array.isArray(Fd)?kd(Fd)?void 0:Fd.map(qd=>Nd(qd,!0,!1,Ud)):Nd(Fd,!0,!1,Ud)},unshiftAsync(Fd,Ud){return Array.isArray(Fd)?kd(Fd)?void 0:Fd.map(qd=>Nd(qd,!0,!0,Ud)):Nd(Fd,!0,!0,Ud)},remove(Fd){jd._tasks.remove(Fd)},process(){if(!Gd){for(Gd=!0;!jd.paused&&ld<jd.concurrency&&jd._tasks.length;){var Fd=[],Ud=[],qd=jd._tasks.length;jd.payload&&(qd=Math.min(qd,jd.payload));for(var zd=0;zd<qd;zd++){var Wd=jd._tasks.shift();Fd.push(Wd),ud.push(Wd),Ud.push(Wd.data)}ld+=1,jd._tasks.length===0&&vd("empty"),ld===jd.concurrency&&vd("saturated");var Jd=onlyOnce(Od(Fd));od(Ud,Jd)}Gd=!1}},length(){return jd._tasks.length},running(){return ld},workersList(){return ud},idle(){return jd._tasks.length+ld===0},pause(){jd.paused=!0},resume(){jd.paused!==!1&&(jd.paused=!1,setImmediate$1$1(jd.process))}};return Object.defineProperties(jd,{saturated:{writable:!1,value:Ld("saturated")},unsaturated:{writable:!1,value:Ld("unsaturated")},empty:{writable:!1,value:Ld("empty")},drain:{writable:!1,value:Ld("drain")},error:{writable:!1,value:Ld("error")}}),jd}function cargo$1(Ra,qa){return queue$1(Ra,1,qa)}function cargo(Ra,qa,nd){return queue$1(Ra,qa,nd)}function reduce(Ra,qa,nd,od){od=once(od);var ld=wrapAsync(nd);return eachOfSeries$1(Ra,(ud,dd,pd)=>{ld(qa,ud,(fd,md)=>{qa=md,pd(fd)})},ud=>od(ud,qa))}var reduce$1=awaitify(reduce,4);function seq(...Ra){var qa=Ra.map(wrapAsync);return function(...nd){var od=this,ld=nd[nd.length-1];return typeof ld=="function"?nd.pop():ld=promiseCallback(),reduce$1(qa,nd,(ud,dd,pd)=>{dd.apply(od,ud.concat((fd,...md)=>{pd(fd,md)}))},(ud,dd)=>ld(ud,...dd)),ld[PROMISE_SYMBOL]}}function compose(...Ra){return seq(...Ra.reverse())}function mapLimit(Ra,qa,nd,od){return _asyncMap(eachOfLimit$2(qa),Ra,nd,od)}var mapLimit$1=awaitify(mapLimit,4);function concatLimit(Ra,qa,nd,od){var ld=wrapAsync(nd);return mapLimit$1(Ra,qa,(ud,dd)=>{ld(ud,(pd,...fd)=>pd?dd(pd):dd(pd,fd))},(ud,dd)=>{for(var pd=[],fd=0;fd<dd.length;fd++)dd[fd]&&(pd=pd.concat(...dd[fd]));return od(ud,pd)})}var concatLimit$1=awaitify(concatLimit,4);function concat(Ra,qa,nd){return concatLimit$1(Ra,1/0,qa,nd)}var concat$1=awaitify(concat,3);function concatSeries(Ra,qa,nd){return concatLimit$1(Ra,1,qa,nd)}var concatSeries$1=awaitify(concatSeries,3);function constant$1(...Ra){return function(...qa){var nd=qa.pop();return nd(null,...Ra)}}function _createTester(Ra,qa){return(nd,od,ld,ud)=>{var dd=!1,pd;const fd=wrapAsync(ld);nd(od,(md,vd,Ad)=>{fd(md,(Nd,Od)=>{if(Nd||Nd===!1)return Ad(Nd);if(Ra(Od)&&!pd)return dd=!0,pd=qa(!0,md),Ad(null,breakLoop);Ad()})},md=>{if(md)return ud(md);ud(null,dd?pd:qa(!1))})}}function detect(Ra,qa,nd){return _createTester(od=>od,(od,ld)=>ld)(eachOf$1,Ra,qa,nd)}var detect$1=awaitify(detect,3);function detectLimit(Ra,qa,nd,od){return _createTester(ld=>ld,(ld,ud)=>ud)(eachOfLimit$2(qa),Ra,nd,od)}var detectLimit$1=awaitify(detectLimit,4);function detectSeries(Ra,qa,nd){return _createTester(od=>od,(od,ld)=>ld)(eachOfLimit$2(1),Ra,qa,nd)}var detectSeries$1=awaitify(detectSeries,3);function consoleFunc(Ra){return(qa,...nd)=>wrapAsync(qa)(...nd,(od,...ld)=>{typeof console=="object"&&(od?console.error&&console.error(od):console[Ra]&&ld.forEach(ud=>console[Ra](ud)))})}var dir=consoleFunc("dir");function doWhilst(Ra,qa,nd){nd=onlyOnce(nd);var od=wrapAsync(Ra),ld=wrapAsync(qa),ud;function dd(fd,...md){if(fd)return nd(fd);fd!==!1&&(ud=md,ld(...md,pd))}function pd(fd,md){if(fd)return nd(fd);if(fd!==!1){if(!md)return nd(null,...ud);od(dd)}}return pd(null,!0)}var doWhilst$1=awaitify(doWhilst,3);function doUntil(Ra,qa,nd){const od=wrapAsync(qa);return doWhilst$1(Ra,(...ld)=>{const ud=ld.pop();od(...ld,(dd,pd)=>ud(dd,!pd))},nd)}function _withoutIndex(Ra){return(qa,nd,od)=>Ra(qa,od)}function eachLimit$2(Ra,qa,nd){return eachOf$1(Ra,_withoutIndex(wrapAsync(qa)),nd)}var each=awaitify(eachLimit$2,3);function eachLimit(Ra,qa,nd,od){return eachOfLimit$2(qa)(Ra,_withoutIndex(wrapAsync(nd)),od)}var eachLimit$1=awaitify(eachLimit,4);function eachSeries(Ra,qa,nd){return eachLimit$1(Ra,1,qa,nd)}var eachSeries$1=awaitify(eachSeries,3);function ensureAsync(Ra){return isAsync(Ra)?Ra:function(...qa){var nd=qa.pop(),od=!0;qa.push((...ld)=>{od?setImmediate$1$1(()=>nd(...ld)):nd(...ld)}),Ra.apply(this,qa),od=!1}}function every(Ra,qa,nd){return _createTester(od=>!od,od=>!od)(eachOf$1,Ra,qa,nd)}var every$1=awaitify(every,3);function everyLimit(Ra,qa,nd,od){return _createTester(ld=>!ld,ld=>!ld)(eachOfLimit$2(qa),Ra,nd,od)}var everyLimit$1=awaitify(everyLimit,4);function everySeries(Ra,qa,nd){return _createTester(od=>!od,od=>!od)(eachOfSeries$1,Ra,qa,nd)}var everySeries$1=awaitify(everySeries,3);function filterArray(Ra,qa,nd,od){var ld=new Array(qa.length);Ra(qa,(ud,dd,pd)=>{nd(ud,(fd,md)=>{ld[dd]=!!md,pd(fd)})},ud=>{if(ud)return od(ud);for(var dd=[],pd=0;pd<qa.length;pd++)ld[pd]&&dd.push(qa[pd]);od(null,dd)})}function filterGeneric(Ra,qa,nd,od){var ld=[];Ra(qa,(ud,dd,pd)=>{nd(ud,(fd,md)=>{if(fd)return pd(fd);md&&ld.push({index:dd,value:ud}),pd(fd)})},ud=>{if(ud)return od(ud);od(null,ld.sort((dd,pd)=>dd.index-pd.index).map(dd=>dd.value))})}function _filter(Ra,qa,nd,od){var ld=isArrayLike(qa)?filterArray:filterGeneric;return ld(Ra,qa,wrapAsync(nd),od)}function filter(Ra,qa,nd){return _filter(eachOf$1,Ra,qa,nd)}var filter$1=awaitify(filter,3);function filterLimit(Ra,qa,nd,od){return _filter(eachOfLimit$2(qa),Ra,nd,od)}var filterLimit$1=awaitify(filterLimit,4);function filterSeries(Ra,qa,nd){return _filter(eachOfSeries$1,Ra,qa,nd)}var filterSeries$1=awaitify(filterSeries,3);function forever(Ra,qa){var nd=onlyOnce(qa),od=wrapAsync(ensureAsync(Ra));function ld(ud){if(ud)return nd(ud);ud!==!1&&od(ld)}return ld()}var forever$1=awaitify(forever,2);function groupByLimit(Ra,qa,nd,od){var ld=wrapAsync(nd);return mapLimit$1(Ra,qa,(ud,dd)=>{ld(ud,(pd,fd)=>pd?dd(pd):dd(pd,{key:fd,val:ud}))},(ud,dd)=>{for(var pd={},{hasOwnProperty:fd}=Object.prototype,md=0;md<dd.length;md++)if(dd[md]){var{key:vd}=dd[md],{val:Ad}=dd[md];fd.call(pd,vd)?pd[vd].push(Ad):pd[vd]=[Ad]}return od(ud,pd)})}var groupByLimit$1=awaitify(groupByLimit,4);function groupBy(Ra,qa,nd){return groupByLimit$1(Ra,1/0,qa,nd)}function groupBySeries(Ra,qa,nd){return groupByLimit$1(Ra,1,qa,nd)}var log=consoleFunc("log");function mapValuesLimit(Ra,qa,nd,od){od=once(od);var ld={},ud=wrapAsync(nd);return eachOfLimit$2(qa)(Ra,(dd,pd,fd)=>{ud(dd,pd,(md,vd)=>{if(md)return fd(md);ld[pd]=vd,fd(md)})},dd=>od(dd,ld))}var mapValuesLimit$1=awaitify(mapValuesLimit,4);function mapValues(Ra,qa,nd){return mapValuesLimit$1(Ra,1/0,qa,nd)}function mapValuesSeries(Ra,qa,nd){return mapValuesLimit$1(Ra,1,qa,nd)}function memoize(Ra,qa=nd=>nd){var nd=Object.create(null),od=Object.create(null),ld=wrapAsync(Ra),ud=initialParams((dd,pd)=>{var fd=qa(...dd);fd in nd?setImmediate$1$1(()=>pd(null,...nd[fd])):fd in od?od[fd].push(pd):(od[fd]=[pd],ld(...dd,(md,...vd)=>{md||(nd[fd]=vd);var Ad=od[fd];delete od[fd];for(var Nd=0,Od=Ad.length;Nd<Od;Nd++)Ad[Nd](md,...vd)}))});return ud.memo=nd,ud.unmemoized=Ra,ud}var _defer;hasNextTick?_defer=define_process_default$5.nextTick:hasSetImmediate?_defer=setImmediate:_defer=fallback;var nextTick=wrap(_defer),_parallel=awaitify((Ra,qa,nd)=>{var od=isArrayLike(qa)?[]:{};Ra(qa,(ld,ud,dd)=>{wrapAsync(ld)((pd,...fd)=>{fd.length<2&&([fd]=fd),od[ud]=fd,dd(pd)})},ld=>nd(ld,od))},3);function parallel(Ra,qa){return _parallel(eachOf$1,Ra,qa)}function parallelLimit(Ra,qa,nd){return _parallel(eachOfLimit$2(qa),Ra,nd)}function queue(Ra,qa){var nd=wrapAsync(Ra);return queue$1((od,ld)=>{nd(od[0],ld)},qa,1)}class Heap{constructor(){this.heap=[],this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){return this.heap=[],this}percUp(qa){let nd;for(;qa>0&&smaller(this.heap[qa],this.heap[nd=parent(qa)]);){let od=this.heap[qa];this.heap[qa]=this.heap[nd],this.heap[nd]=od,qa=nd}}percDown(qa){let nd;for(;(nd=leftChi(qa))<this.heap.length&&(nd+1<this.heap.length&&smaller(this.heap[nd+1],this.heap[nd])&&(nd=nd+1),!smaller(this.heap[qa],this.heap[nd]));){let od=this.heap[qa];this.heap[qa]=this.heap[nd],this.heap[nd]=od,qa=nd}}push(qa){qa.pushCount=++this.pushCount,this.heap.push(qa),this.percUp(this.heap.length-1)}unshift(qa){return this.heap.push(qa)}shift(){let[qa]=this.heap;return this.heap[0]=this.heap[this.heap.length-1],this.heap.pop(),this.percDown(0),qa}toArray(){return[...this]}*[Symbol.iterator](){for(let qa=0;qa<this.heap.length;qa++)yield this.heap[qa].data}remove(qa){let nd=0;for(let od=0;od<this.heap.length;od++)qa(this.heap[od])||(this.heap[nd]=this.heap[od],nd++);this.heap.splice(nd);for(let od=parent(this.heap.length-1);od>=0;od--)this.percDown(od);return this}}function leftChi(Ra){return(Ra<<1)+1}function parent(Ra){return(Ra+1>>1)-1}function smaller(Ra,qa){return Ra.priority!==qa.priority?Ra.priority<qa.priority:Ra.pushCount<qa.pushCount}function priorityQueue(Ra,qa){var nd=queue(Ra,qa),{push:od,pushAsync:ld}=nd;nd._tasks=new Heap,nd._createTaskItem=({data:dd,priority:pd},fd)=>({data:dd,priority:pd,callback:fd});function ud(dd,pd){return Array.isArray(dd)?dd.map(fd=>({data:fd,priority:pd})):{data:dd,priority:pd}}return nd.push=function(dd,pd=0,fd){return od(ud(dd,pd),fd)},nd.pushAsync=function(dd,pd=0,fd){return ld(ud(dd,pd),fd)},delete nd.unshift,delete nd.unshiftAsync,nd}function race(Ra,qa){if(qa=once(qa),!Array.isArray(Ra))return qa(new TypeError("First argument to race must be an array of functions"));if(!Ra.length)return qa();for(var nd=0,od=Ra.length;nd<od;nd++)wrapAsync(Ra[nd])(qa)}var race$1=awaitify(race,2);function reduceRight(Ra,qa,nd,od){var ld=[...Ra].reverse();return reduce$1(ld,qa,nd,od)}function reflect(Ra){var qa=wrapAsync(Ra);return initialParams(function(od,ld){return od.push((ud,...dd)=>{let pd={};if(ud&&(pd.error=ud),dd.length>0){var fd=dd;dd.length<=1&&([fd]=dd),pd.value=fd}ld(null,pd)}),qa.apply(this,od)})}function reflectAll(Ra){var qa;return Array.isArray(Ra)?qa=Ra.map(reflect):(qa={},Object.keys(Ra).forEach(nd=>{qa[nd]=reflect.call(this,Ra[nd])})),qa}function reject$2(Ra,qa,nd,od){const ld=wrapAsync(nd);return _filter(Ra,qa,(ud,dd)=>{ld(ud,(pd,fd)=>{dd(pd,!fd)})},od)}function reject(Ra,qa,nd){return reject$2(eachOf$1,Ra,qa,nd)}var reject$1=awaitify(reject,3);function rejectLimit(Ra,qa,nd,od){return reject$2(eachOfLimit$2(qa),Ra,nd,od)}var rejectLimit$1=awaitify(rejectLimit,4);function rejectSeries(Ra,qa,nd){return reject$2(eachOfSeries$1,Ra,qa,nd)}var rejectSeries$1=awaitify(rejectSeries,3);function constant(Ra){return function(){return Ra}}const DEFAULT_TIMES=5,DEFAULT_INTERVAL=0;function retry(Ra,qa,nd){var od={times:DEFAULT_TIMES,intervalFunc:constant(DEFAULT_INTERVAL)};if(arguments.length<3&&typeof Ra=="function"?(nd=qa||promiseCallback(),qa=Ra):(parseTimes(od,Ra),nd=nd||promiseCallback()),typeof qa!="function")throw new Error("Invalid arguments for async.retry");var ld=wrapAsync(qa),ud=1;function dd(){ld((pd,...fd)=>{pd!==!1&&(pd&&ud++<od.times&&(typeof od.errorFilter!="function"||od.errorFilter(pd))?setTimeout(dd,od.intervalFunc(ud-1)):nd(pd,...fd))})}return dd(),nd[PROMISE_SYMBOL]}function parseTimes(Ra,qa){if(typeof qa=="object")Ra.times=+qa.times||DEFAULT_TIMES,Ra.intervalFunc=typeof qa.interval=="function"?qa.interval:constant(+qa.interval||DEFAULT_INTERVAL),Ra.errorFilter=qa.errorFilter;else if(typeof qa=="number"||typeof qa=="string")Ra.times=+qa||DEFAULT_TIMES;else throw new Error("Invalid arguments for async.retry")}function retryable(Ra,qa){qa||(qa=Ra,Ra=null);let nd=Ra&&Ra.arity||qa.length;isAsync(qa)&&(nd+=1);var od=wrapAsync(qa);return initialParams((ld,ud)=>{(ld.length<nd-1||ud==null)&&(ld.push(ud),ud=promiseCallback());function dd(pd){od(...ld,pd)}return Ra?retry(Ra,dd,ud):retry(dd,ud),ud[PROMISE_SYMBOL]})}function series(Ra,qa){return _parallel(eachOfSeries$1,Ra,qa)}function some(Ra,qa,nd){return _createTester(Boolean,od=>od)(eachOf$1,Ra,qa,nd)}var some$1=awaitify(some,3);function someLimit(Ra,qa,nd,od){return _createTester(Boolean,ld=>ld)(eachOfLimit$2(qa),Ra,nd,od)}var someLimit$1=awaitify(someLimit,4);function someSeries(Ra,qa,nd){return _createTester(Boolean,od=>od)(eachOfSeries$1,Ra,qa,nd)}var someSeries$1=awaitify(someSeries,3);function sortBy(Ra,qa,nd){var od=wrapAsync(qa);return map$1(Ra,(ud,dd)=>{od(ud,(pd,fd)=>{if(pd)return dd(pd);dd(pd,{value:ud,criteria:fd})})},(ud,dd)=>{if(ud)return nd(ud);nd(null,dd.sort(ld).map(pd=>pd.value))});function ld(ud,dd){var pd=ud.criteria,fd=dd.criteria;return pd<fd?-1:pd>fd?1:0}}var sortBy$1=awaitify(sortBy,3);function timeout(Ra,qa,nd){var od=wrapAsync(Ra);return initialParams((ld,ud)=>{var dd=!1,pd;function fd(){var md=Ra.name||"anonymous",vd=new Error('Callback function "'+md+'" timed out.');vd.code="ETIMEDOUT",nd&&(vd.info=nd),dd=!0,ud(vd)}ld.push((...md)=>{dd||(ud(...md),clearTimeout(pd))}),pd=setTimeout(fd,qa),od(...ld)})}function range(Ra){for(var qa=Array(Ra);Ra--;)qa[Ra]=Ra;return qa}function timesLimit(Ra,qa,nd,od){var ld=wrapAsync(nd);return mapLimit$1(range(Ra),qa,ld,od)}function times(Ra,qa,nd){return timesLimit(Ra,1/0,qa,nd)}function timesSeries(Ra,qa,nd){return timesLimit(Ra,1,qa,nd)}function transform(Ra,qa,nd,od){arguments.length<=3&&typeof qa=="function"&&(od=nd,nd=qa,qa=Array.isArray(Ra)?[]:{}),od=once(od||promiseCallback());var ld=wrapAsync(nd);return eachOf$1(Ra,(ud,dd,pd)=>{ld(qa,ud,dd,pd)},ud=>od(ud,qa)),od[PROMISE_SYMBOL]}function tryEach(Ra,qa){var nd=null,od;return eachSeries$1(Ra,(ld,ud)=>{wrapAsync(ld)((dd,...pd)=>{if(dd===!1)return ud(dd);pd.length<2?[od]=pd:od=pd,nd=dd,ud(dd?null:{})})},()=>qa(nd,od))}var tryEach$1=awaitify(tryEach);function unmemoize(Ra){return(...qa)=>(Ra.unmemoized||Ra)(...qa)}function whilst(Ra,qa,nd){nd=onlyOnce(nd);var od=wrapAsync(qa),ld=wrapAsync(Ra),ud=[];function dd(fd,...md){if(fd)return nd(fd);ud=md,fd!==!1&&ld(pd)}function pd(fd,md){if(fd)return nd(fd);if(fd!==!1){if(!md)return nd(null,...ud);od(dd)}}return ld(pd)}var whilst$1=awaitify(whilst,3);function until(Ra,qa,nd){const od=wrapAsync(Ra);return whilst$1(ld=>od((ud,dd)=>ld(ud,!dd)),qa,nd)}function waterfall(Ra,qa){if(qa=once(qa),!Array.isArray(Ra))return qa(new Error("First argument to waterfall must be an array of functions"));if(!Ra.length)return qa();var nd=0;function od(ud){var dd=wrapAsync(Ra[nd++]);dd(...ud,onlyOnce(ld))}function ld(ud,...dd){if(ud!==!1){if(ud||nd===Ra.length)return qa(ud,...dd);od(dd)}}od([])}var waterfall$1=awaitify(waterfall),index={apply,applyEach,applyEachSeries,asyncify,auto,autoInject,cargo:cargo$1,cargoQueue:cargo,compose,concat:concat$1,concatLimit:concatLimit$1,concatSeries:concatSeries$1,constant:constant$1,detect:detect$1,detectLimit:detectLimit$1,detectSeries:detectSeries$1,dir,doUntil,doWhilst:doWhilst$1,each,eachLimit:eachLimit$1,eachOf:eachOf$1,eachOfLimit:eachOfLimit$1,eachOfSeries:eachOfSeries$1,eachSeries:eachSeries$1,ensureAsync,every:every$1,everyLimit:everyLimit$1,everySeries:everySeries$1,filter:filter$1,filterLimit:filterLimit$1,filterSeries:filterSeries$1,forever:forever$1,groupBy,groupByLimit:groupByLimit$1,groupBySeries,log,map:map$1,mapLimit:mapLimit$1,mapSeries:mapSeries$1,mapValues,mapValuesLimit:mapValuesLimit$1,mapValuesSeries,memoize,nextTick,parallel,parallelLimit,priorityQueue,queue,race:race$1,reduce:reduce$1,reduceRight,reflect,reflectAll,reject:reject$1,rejectLimit:rejectLimit$1,rejectSeries:rejectSeries$1,retry,retryable,seq,series,setImmediate:setImmediate$1$1,some:some$1,someLimit:someLimit$1,someSeries:someSeries$1,sortBy:sortBy$1,timeout,times,timesLimit,timesSeries,transform,tryEach:tryEach$1,unmemoize,until,waterfall:waterfall$1,whilst:whilst$1,all:every$1,allLimit:everyLimit$1,allSeries:everySeries$1,any:some$1,anyLimit:someLimit$1,anySeries:someSeries$1,find:detect$1,findLimit:detectLimit$1,findSeries:detectSeries$1,flatMap:concat$1,flatMapLimit:concatLimit$1,flatMapSeries:concatSeries$1,forEach:each,forEachSeries:eachSeries$1,forEachLimit:eachLimit$1,forEachOf:eachOf$1,forEachOfSeries:eachOfSeries$1,forEachOfLimit:eachOfLimit$1,inject:reduce$1,foldl:reduce$1,foldr:reduceRight,select:filter$1,selectLimit:filterLimit$1,selectSeries:filterSeries$1,wrapSync:asyncify,during:whilst$1,doDuring:doWhilst$1},readableBrowser={exports:{}};(function(Ra,qa){qa=Ra.exports=require_stream_readable(),qa.Stream=qa,qa.Readable=qa,qa.Writable=require_stream_writable(),qa.Duplex=require_stream_duplex(),qa.Transform=_stream_transform,qa.PassThrough=_stream_passthrough,qa.finished=endOfStream,qa.pipeline=pipeline_1})(readableBrowser,readableBrowser.exports);var readableBrowserExports=readableBrowser.exports;const{Transform:Transform$1}=readableBrowserExports;class Block extends Transform$1{constructor(qa,nd={}){super(nd),typeof qa=="object"&&(nd=qa,qa=nd.size),this.size=qa||512;const{nopad:od,zeroPadding:ld=!0}=nd;od?this._zeroPadding=!1:this._zeroPadding=!!ld,this._buffered=[],this._bufferedBytes=0}_transform(qa,nd,od){for(this._bufferedBytes+=qa.length,this._buffered.push(qa);this._bufferedBytes>=this.size;){this._bufferedBytes-=this.size;const ld=[];let ud=0;for(;ud<this.size;){const dd=this._buffered.shift();if(ud+dd.length<=this.size)ld.push(dd),ud+=dd.length;else{const pd=this.size-ud;ld.push(dd.slice(0,pd)),ud+=pd,this._buffered.unshift(dd.slice(pd))}}this.push(Buffer$4.concat(ld,this.size))}od()}_flush(){if(this._bufferedBytes&&this._zeroPadding){const qa=Buffer$4.alloc(this.size-this._bufferedBytes);this._buffered.push(qa),this.push(Buffer$4.concat(this._buffered)),this._buffered=null}else this._bufferedBytes&&(this.push(Buffer$4.concat(this._buffered)),this._buffered=null);this.push(null)}}var blockStream2=Block;const BlockStream2=getDefaultExportFromCjs(blockStream2);var lodash={exports:{}};/**
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/lodash.exports;(function(Ra,qa){(function(){var nd,od="4.17.21",ld=200,ud="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",dd="Expected a function",pd="Invalid `variable` option passed into `_.template`",fd="__lodash_hash_undefined__",md=500,vd="__lodash_placeholder__",Ad=1,Nd=2,Od=4,kd=1,Ld=2,Gd=1,jd=2,Fd=4,Ud=8,qd=16,zd=32,Wd=64,Jd=128,_f=256,Xd=512,pf=30,mf="...",Sf=800,Tf=16,Af=1,Ef=2,Nf=3,If=1/0,Gf=9007199254740991,Qf=17976931348623157e292,Xf=NaN,ph=4294967295,qf=ph-1,Lf=ph>>>1,Wf=[["ary",Jd],["bind",Gd],["bindKey",jd],["curry",Ud],["curryRight",qd],["flip",Xd],["partial",zd],["partialRight",Wd],["rearg",_f]],Jf="[object Arguments]",Kf="[object Array]",Cf="[object AsyncFunction]",xf="[object Boolean]",Yf="[object Date]",dh="[object DOMException]",Rh="[object Error]",th="[object Function]",Bf="[object GeneratorFunction]",Sh="[object Map]",Fh="[object Number]",uh="[object Null]",Pf="[object Object]",Uf="[object Promise]",Zf="[object Proxy]",mh="[object RegExp]",Mh="[object Set]",_h="[object String]",pm="[object Symbol]",Jh="[object Undefined]",Mm="[object WeakMap]",Im="[object WeakSet]",gm="[object ArrayBuffer]",Lm="[object DataView]",Vm="[object Float32Array]",Th="[object Float64Array]",Rf="[object Int8Array]",wf="[object Int16Array]",sh="[object Int32Array]",xh="[object Uint8Array]",Wh="[object Uint8ClampedArray]",om="[object Uint16Array]",Dm="[object Uint32Array]",zm=/\b__p \+= '';/g,jm=/\b(__p \+=) '' \+/g,ig=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Zm=/&(?:amp|lt|gt|quot|#39);/g,ug=/[&<>"']/g,wg=RegExp(Zm.source),Kg=RegExp(ug.source),Gg=/<%-([\s\S]+?)%>/g,n_=/<%([\s\S]+?)%>/g,Pg=/<%=([\s\S]+?)%>/g,m_=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a_=/^\w*$/,M_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,B_=/[\\^$.*+?()[\]{}|]/g,h_=RegExp(B_.source),y_=/^\s+/,dg=/\s/,vb=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,kb=/\{\n\/\* \[wrapped with (.+)\] \*/,Z_=/,? & /,jf=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Uh=/[()=,{}\[\]\/\s]/,wh=/\\(\\)?/g,Bh=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,fm=/\w*$/,dm=/^[-+]0x[0-9a-f]+$/i,Tm=/^0b[01]+$/i,_m=/^\[object .+?Constructor\]$/,Zh=/^0o[0-7]+$/i,Gm=/^(?:0|[1-9]\d*)$/,Km=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xg=/($^)/,eg=/['\n\r\u2028\u2029\\]/g,Ag="\\ud800-\\udfff",d_="\\u0300-\\u036f",u_="\\ufe20-\\ufe2f",Xg="\\u20d0-\\u20ff",lg=d_+u_+Xg,N_="\\u2700-\\u27bf",Zg="a-z\\xdf-\\xf6\\xf8-\\xff",Ug="\\xac\\xb1\\xd7\\xf7",Ch="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",um="\\u2000-\\u206f",Ym=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ng="A-Z\\xc0-\\xd6\\xd8-\\xde",Um="\\ufe0e\\ufe0f",Eg=Ug+Ch+um+Ym,r_="[']",R_="["+Ag+"]",G_="["+Eg+"]",Tb="["+lg+"]",Gb="\\d+",qg="["+N_+"]",xb="["+Zg+"]",O_="[^"+Ag+Eg+Gb+N_+Zg+ng+"]",ib="\\ud83c[\\udffb-\\udfff]",W_="(?:"+Tb+"|"+ib+")",qb="[^"+Ag+"]",y0="(?:\\ud83c[\\udde6-\\uddff]){2}",sb="[\\ud800-\\udbff][\\udc00-\\udfff]",Vb="["+ng+"]",Iy="\\u200d",V0="(?:"+xb+"|"+O_+")",Bg="(?:"+Vb+"|"+O_+")",z0="(?:"+r_+"(?:d|ll|m|re|s|t|ve))?",O0="(?:"+r_+"(?:D|LL|M|RE|S|T|VE))?",Ry=W_+"?",Av="["+Um+"]?",wv="(?:"+Iy+"(?:"+[qb,y0,sb].join("|")+")"+Av+Ry+")*",k0="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Y_="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Mb=Av+Ry+wv,r0="(?:"+[qg,y0,sb].join("|")+")"+Mb,M0="(?:"+[qb+Tb+"?",Tb,y0,sb,R_].join("|")+")",W0=RegExp(r_,"g"),JE=RegExp(Tb,"g"),mE=RegExp(ib+"(?="+ib+")|"+M0+Mb,"g"),ZE=RegExp([Vb+"?"+xb+"+"+z0+"(?="+[G_,Vb,"$"].join("|")+")",Bg+"+"+O0+"(?="+[G_,Vb+V0,"$"].join("|")+")",Vb+"?"+V0+"+"+z0,Vb+"+"+O0,Y_,k0,Gb,r0].join("|"),"g"),XS=RegExp("["+Iy+Ag+lg+Um+"]"),gE=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,eS=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],tS=-1,_g={};_g[Vm]=_g[Th]=_g[Rf]=_g[wf]=_g[sh]=_g[xh]=_g[Wh]=_g[om]=_g[Dm]=!0,_g[Jf]=_g[Kf]=_g[gm]=_g[xf]=_g[Lm]=_g[Yf]=_g[Rh]=_g[th]=_g[Sh]=_g[Fh]=_g[Pf]=_g[mh]=_g[Mh]=_g[_h]=_g[Mm]=!1;var A_={};A_[Jf]=A_[Kf]=A_[gm]=A_[Lm]=A_[xf]=A_[Yf]=A_[Vm]=A_[Th]=A_[Rf]=A_[wf]=A_[sh]=A_[Sh]=A_[Fh]=A_[Pf]=A_[mh]=A_[Mh]=A_[_h]=A_[pm]=A_[xh]=A_[Wh]=A_[om]=A_[Dm]=!0,A_[Rh]=A_[th]=A_[Mm]=!1;var Oy={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Nv={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},yE={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},rS={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},nS=parseFloat,$y=parseInt,iS=typeof commonjsGlobal=="object"&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,vE=typeof self=="object"&&self&&self.Object===Object&&self,x_=iS||vE||Function("return this")(),SE=qa&&!qa.nodeType&&qa,$0=SE&&!0&&Ra&&!Ra.nodeType&&Ra,$_=$0&&$0.exports===SE,zb=$_&&iS.process,q_=function(){try{var Pm=$0&&$0.require&&$0.require("util").types;return Pm||zb&&zb.binding&&zb.binding("util")}catch{}}(),Py=q_&&q_.isArrayBuffer,Wb=q_&&q_.isDate,Y0=q_&&q_.isMap,Ov=q_&&q_.isRegExp,n0=q_&&q_.isSet,sS=q_&&q_.isTypedArray;function Db(Pm,Xm,Hm){switch(Hm.length){case 0:return Pm.call(Xm);case 1:return Pm.call(Xm,Hm[0]);case 2:return Pm.call(Xm,Hm[0],Hm[1]);case 3:return Pm.call(Xm,Hm[0],Hm[1],Hm[2])}return Pm.apply(Xm,Hm)}function TE(Pm,Xm,Hm,$g){for(var t_=-1,g_=Pm==null?0:Pm.length;++t_<g_;){var eb=Pm[t_];Xm($g,eb,Hm(eb),Pm)}return $g}function $b(Pm,Xm){for(var Hm=-1,$g=Pm==null?0:Pm.length;++Hm<$g&&Xm(Pm[Hm],Hm,Pm)!==!1;);return Pm}function oS(Pm,Xm){for(var Hm=Pm==null?0:Pm.length;Hm--&&Xm(Pm[Hm],Hm,Pm)!==!1;);return Pm}function Ly(Pm,Xm){for(var Hm=-1,$g=Pm==null?0:Pm.length;++Hm<$g;)if(!Xm(Pm[Hm],Hm,Pm))return!1;return!0}function v0(Pm,Xm){for(var Hm=-1,$g=Pm==null?0:Pm.length,t_=0,g_=[];++Hm<$g;){var eb=Pm[Hm];Xm(eb,Hm,Pm)&&(g_[t_++]=eb)}return g_}function kv(Pm,Xm){var Hm=Pm==null?0:Pm.length;return!!Hm&&Qd(Pm,Xm,0)>-1}function Mv(Pm,Xm,Hm){for(var $g=-1,t_=Pm==null?0:Pm.length;++$g<t_;)if(Hm(Xm,Pm[$g]))return!0;return!1}function k_(Pm,Xm){for(var Hm=-1,$g=Pm==null?0:Pm.length,t_=Array($g);++Hm<$g;)t_[Hm]=Xm(Pm[Hm],Hm,Pm);return t_}function i0(Pm,Xm){for(var Hm=-1,$g=Xm.length,t_=Pm.length;++Hm<$g;)Pm[t_+Hm]=Xm[Hm];return Pm}function xE(Pm,Xm,Hm,$g){var t_=-1,g_=Pm==null?0:Pm.length;for($g&&g_&&(Hm=Pm[++t_]);++t_<g_;)Hm=Xm(Hm,Pm[t_],t_,Pm);return Hm}function lS(Pm,Xm,Hm,$g){var t_=Pm==null?0:Pm.length;for($g&&t_&&(Hm=Pm[--t_]);t_--;)Hm=Xm(Hm,Pm[t_],t_,Pm);return Hm}function K0(Pm,Xm){for(var Hm=-1,$g=Pm==null?0:Pm.length;++Hm<$g;)if(Xm(Pm[Hm],Hm,Pm))return!0;return!1}var Yb=kh("length");function uS(Pm){return Pm.split("")}function QS(Pm){return Pm.match(jf)||[]}function Kd(Pm,Xm,Hm){var $g;return Hm(Pm,function(t_,g_,eb){if(Xm(t_,g_,eb))return $g=g_,!1}),$g}function Hd(Pm,Xm,Hm,$g){for(var t_=Pm.length,g_=Hm+($g?1:-1);$g?g_--:++g_<t_;)if(Xm(Pm[g_],g_,Pm))return g_;return-1}function Qd(Pm,Xm,Hm){return Xm===Xm?UT(Pm,Xm,Hm):Hd(Pm,$f,Hm)}function vf(Pm,Xm,Hm,$g){for(var t_=Hm-1,g_=Pm.length;++t_<g_;)if($g(Pm[t_],Xm))return t_;return-1}function $f(Pm){return Pm!==Pm}function gh(Pm,Xm){var Hm=Pm==null?0:Pm.length;return Hm?Qm(Pm,Xm)/Hm:Xf}function kh(Pm){return function(Xm){return Xm==null?nd:Xm[Pm]}}function im(Pm){return function(Xm){return Pm==null?nd:Pm[Xm]}}function Sm(Pm,Xm,Hm,$g,t_){return t_(Pm,function(g_,eb,D_){Hm=$g?($g=!1,g_):Xm(Hm,g_,eb,D_)}),Hm}function hm(Pm,Xm){var Hm=Pm.length;for(Pm.sort(Xm);Hm--;)Pm[Hm]=Pm[Hm].value;return Pm}function Qm(Pm,Xm){for(var Hm,$g=-1,t_=Pm.length;++$g<t_;){var g_=Xm(Pm[$g]);g_!==nd&&(Hm=Hm===nd?g_:Hm+g_)}return Hm}function yg(Pm,Xm){for(var Hm=-1,$g=Array(Pm);++Hm<Pm;)$g[Hm]=Xm(Hm);return $g}function Dg(Pm,Xm){return k_(Xm,function(Hm){return[Hm,Pm[Hm]]})}function Og(Pm){return Pm&&Pm.slice(0,ZS(Pm)+1).replace(y_,"")}function e_(Pm){return function(Xm){return Pm(Xm)}}function F_(Pm,Xm){return k_(Xm,function(Hm){return Pm[Hm]})}function p_(Pm,Xm){return Pm.has(Xm)}function v_(Pm,Xm){for(var Hm=-1,$g=Pm.length;++Hm<$g&&Qd(Xm,Pm[Hm],0)>-1;);return Hm}function ob(Pm,Xm){for(var Hm=Pm.length;Hm--&&Qd(Xm,Pm[Hm],0)>-1;);return Hm}function By(Pm,Xm){for(var Hm=Pm.length,$g=0;Hm--;)Pm[Hm]===Xm&&++$g;return $g}var Lv=im(Oy),E0=im(Nv);function Hy(Pm){return"\\"+rS[Pm]}function JS(Pm,Xm){return Pm==null?nd:Pm[Xm]}function jv(Pm){return XS.test(Pm)}function FT(Pm){return gE.test(Pm)}function qx(Pm){for(var Xm,Hm=[];!(Xm=Pm.next()).done;)Hm.push(Xm.value);return Hm}function cS(Pm){var Xm=-1,Hm=Array(Pm.size);return Pm.forEach(function($g,t_){Hm[++Xm]=[t_,$g]}),Hm}function dS(Pm,Xm){return function(Hm){return Pm(Xm(Hm))}}function Lb(Pm,Xm){for(var Hm=-1,$g=Pm.length,t_=0,g_=[];++Hm<$g;){var eb=Pm[Hm];(eb===Xm||eb===vd)&&(Pm[Hm]=vd,g_[t_++]=Hm)}return g_}function Bb(Pm){var Xm=-1,Hm=Array(Pm.size);return Pm.forEach(function($g){Hm[++Xm]=$g}),Hm}function jT(Pm){var Xm=-1,Hm=Array(Pm.size);return Pm.forEach(function($g){Hm[++Xm]=[$g,$g]}),Hm}function UT(Pm,Xm,Hm){for(var $g=Hm-1,t_=Pm.length;++$g<t_;)if(Pm[$g]===Xm)return $g;return-1}function Vx(Pm,Xm,Hm){for(var $g=Hm+1;$g--;)if(Pm[$g]===Xm)return $g;return $g}function Uv(Pm){return jv(Pm)?CE(Pm):Yb(Pm)}function a0(Pm){return jv(Pm)?GT(Pm):uS(Pm)}function ZS(Pm){for(var Xm=Pm.length;Xm--&&dg.test(Pm.charAt(Xm)););return Xm}var HT=im(yE);function CE(Pm){for(var Xm=mE.lastIndex=0;mE.test(Pm);)++Xm;return Xm}function GT(Pm){return Pm.match(mE)||[]}function qT(Pm){return Pm.match(ZE)||[]}var eT=function Pm(Xm){Xm=Xm==null?x_:P0.defaults(x_.Object(),Xm,P0.pick(x_,eS));var Hm=Xm.Array,$g=Xm.Date,t_=Xm.Error,g_=Xm.Function,eb=Xm.Math,D_=Xm.Object,AE=Xm.RegExp,zx=Xm.String,Kb=Xm.TypeError,pS=Hm.prototype,Wy=g_.prototype,s0=D_.prototype,L0=Xm["__core-js_shared__"],Hv=Wy.toString,T_=s0.hasOwnProperty,VT=0,fS=function(){var Yd=/[^.]+$/.exec(L0&&L0.keys&&L0.keys.IE_PROTO||"");return Yd?"Symbol(src)_1."+Yd:""}(),S0=s0.toString,Qy=Hv.call(D_),Ib=x_._,X0=AE("^"+Hv.call(T_).replace(B_,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),o0=$_?Xm.Buffer:nd,l0=Xm.Symbol,hS=Xm.Uint8Array,tT=o0?o0.allocUnsafe:nd,Q0=dS(D_.getPrototypeOf,D_),rT=D_.create,mS=s0.propertyIsEnumerable,Jy=pS.splice,zT=l0?l0.isConcatSpreadable:nd,Zy=l0?l0.iterator:nd,J0=l0?l0.toStringTag:nd,Gv=function(){try{var Yd=Ty(D_,"defineProperty");return Yd({},"",{}),Yd}catch{}}(),nT=Xm.clearTimeout!==x_.clearTimeout&&Xm.clearTimeout,qv=$g&&$g.now!==x_.Date.now&&$g.now,gS=Xm.setTimeout!==x_.setTimeout&&Xm.setTimeout,wE=eb.ceil,ev=eb.floor,iT=D_.getOwnPropertySymbols,Wx=o0?o0.isBuffer:nd,WT=Xm.isFinite,sT=pS.join,oT=dS(D_.keys,D_),L_=eb.max,tb=eb.min,Yx=$g.now,_S=Xm.parseInt,lT=eb.random,NE=pS.reverse,yS=Ty(Xm,"DataView"),u0=Ty(Xm,"Map"),tv=Ty(Xm,"Promise"),Xb=Ty(Xm,"Set"),B0=Ty(Xm,"WeakMap"),T0=Ty(D_,"create"),DE=B0&&new B0,nv={},YT=K_(yS),Kx=K_(u0),iv=K_(tv),ov=K_(Xb),Xx=K_(B0),vS=l0?l0.prototype:nd,IE=vS?vS.valueOf:nd,KT=vS?vS.toString:nd;function Vh(Yd){if(nb(Yd)&&!s_(Yd)&&!(Yd instanceof Yg)){if(Yd instanceof C_)return Yd;if(T_.call(Yd,"__wrapped__"))return Ab(Yd)}return new C_(Yd)}var zv=function(){function Yd(){}return function(gf){if(!J_(gf))return{};if(rT)return rT(gf);Yd.prototype=gf;var Df=new Yd;return Yd.prototype=nd,Df}}();function Eb(){}function C_(Yd,gf){this.__wrapped__=Yd,this.__actions__=[],this.__chain__=!!gf,this.__index__=0,this.__values__=nd}Vh.templateSettings={escape:Gg,evaluate:n_,interpolate:Pg,variable:"",imports:{_:Vh}},Vh.prototype=Eb.prototype,Vh.prototype.constructor=Vh,C_.prototype=zv(Eb.prototype),C_.prototype.constructor=C_;function Yg(Yd){this.__wrapped__=Yd,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ph,this.__views__=[]}function lb(){var Yd=new Yg(this.__wrapped__);return Yd.__actions__=Pb(this.__actions__),Yd.__dir__=this.__dir__,Yd.__filtered__=this.__filtered__,Yd.__iteratees__=Pb(this.__iteratees__),Yd.__takeCount__=this.__takeCount__,Yd.__views__=Pb(this.__views__),Yd}function RE(){if(this.__filtered__){var Yd=new Yg(this);Yd.__dir__=-1,Yd.__filtered__=!0}else Yd=this.clone(),Yd.__dir__*=-1;return Yd}function Qx(){var Yd=this.__wrapped__.value(),gf=this.__dir__,Df=s_(Yd),eh=gf<0,Oh=Df?Yd.length:0,Xh=b1(0,Oh,this.__views__),Nm=Xh.start,Rm=Xh.end,Fm=Rm-Nm,tg=eh?Rm:Nm-1,rg=this.__iteratees__,sg=rg.length,Rg=0,Hg=tb(Fm,this.__takeCount__);if(!Df||!eh&&Oh==Fm&&Hg==Fm)return BE(Yd,this.__actions__);var Qg=[];e:for(;Fm--&&Rg<Hg;){tg+=gf;for(var c_=-1,Jg=Yd[tg];++c_<sg;){var f_=rg[c_],b_=f_.iteratee,_0=f_.type,Hb=b_(Jg);if(_0==Ef)Jg=Hb;else if(!Hb){if(_0==Af)continue e;break e}}Qg[Rg++]=Jg}return Qg}Yg.prototype=zv(Eb.prototype),Yg.prototype.constructor=Yg;function x0(Yd){var gf=-1,Df=Yd==null?0:Yd.length;for(this.clear();++gf<Df;){var eh=Yd[gf];this.set(eh[0],eh[1])}}function Jx(){this.__data__=T0?T0(null):{},this.size=0}function Zx(Yd){var gf=this.has(Yd)&&delete this.__data__[Yd];return this.size-=gf?1:0,gf}function e1(Yd){var gf=this.__data__;if(T0){var Df=gf[Yd];return Df===fd?nd:Df}return T_.call(gf,Yd)?gf[Yd]:nd}function uT(Yd){var gf=this.__data__;return T0?gf[Yd]!==nd:T_.call(gf,Yd)}function XT(Yd,gf){var Df=this.__data__;return this.size+=this.has(Yd)?0:1,Df[Yd]=T0&&gf===nd?fd:gf,this}x0.prototype.clear=Jx,x0.prototype.delete=Zx,x0.prototype.get=e1,x0.prototype.has=uT,x0.prototype.set=XT;function c0(Yd){var gf=-1,Df=Yd==null?0:Yd.length;for(this.clear();++gf<Df;){var eh=Yd[gf];this.set(eh[0],eh[1])}}function t1(){this.__data__=[],this.size=0}function cT(Yd){var gf=this.__data__,Df=Yv(gf,Yd);if(Df<0)return!1;var eh=gf.length-1;return Df==eh?gf.pop():Jy.call(gf,Df,1),--this.size,!0}function dT(Yd){var gf=this.__data__,Df=Yv(gf,Yd);return Df<0?nd:gf[Df][1]}function QT(Yd){return Yv(this.__data__,Yd)>-1}function JT(Yd,gf){var Df=this.__data__,eh=Yv(Df,Yd);return eh<0?(++this.size,Df.push([Yd,gf])):Df[eh][1]=gf,this}c0.prototype.clear=t1,c0.prototype.delete=cT,c0.prototype.get=dT,c0.prototype.has=QT,c0.prototype.set=JT;function d0(Yd){var gf=-1,Df=Yd==null?0:Yd.length;for(this.clear();++gf<Df;){var eh=Yd[gf];this.set(eh[0],eh[1])}}function ZT(){this.size=0,this.__data__={hash:new x0,map:new(u0||c0),string:new x0}}function OE(Yd){var gf=KE(this,Yd).delete(Yd);return this.size-=gf?1:0,gf}function r1(Yd){return KE(this,Yd).get(Yd)}function ES(Yd){return KE(this,Yd).has(Yd)}function F0(Yd,gf){var Df=KE(this,Yd),eh=Df.size;return Df.set(Yd,gf),this.size+=Df.size==eh?0:1,this}d0.prototype.clear=ZT,d0.prototype.delete=OE,d0.prototype.get=r1,d0.prototype.has=ES,d0.prototype.set=F0;function Z0(Yd){var gf=-1,Df=Yd==null?0:Yd.length;for(this.__data__=new d0;++gf<Df;)this.add(Yd[gf])}function n1(Yd){return this.__data__.set(Yd,fd),this}function ex(Yd){return this.__data__.has(Yd)}Z0.prototype.add=Z0.prototype.push=n1,Z0.prototype.has=ex;function j_(Yd){var gf=this.__data__=new c0(Yd);this.size=gf.size}function E_(){this.__data__=new c0,this.size=0}function p0(Yd){var gf=this.__data__,Df=gf.delete(Yd);return this.size=gf.size,Df}function ry(Yd){return this.__data__.get(Yd)}function ny(Yd){return this.__data__.has(Yd)}function tx(Yd,gf){var Df=this.__data__;if(Df instanceof c0){var eh=Df.__data__;if(!u0||eh.length<ld-1)return eh.push([Yd,gf]),this.size=++Df.size,this;Df=this.__data__=new d0(eh)}return Df.set(Yd,gf),this.size=Df.size,this}j_.prototype.clear=E_,j_.prototype.delete=p0,j_.prototype.get=ry,j_.prototype.has=ny,j_.prototype.set=tx;function SS(Yd,gf){var Df=s_(Yd),eh=!Df&&XE(Yd),Oh=!Df&&!eh&&hE(Yd),Xh=!Df&&!eh&&!Oh&&jS(Yd),Nm=Df||eh||Oh||Xh,Rm=Nm?yg(Yd.length,zx):[],Fm=Rm.length;for(var tg in Yd)(gf||T_.call(Yd,tg))&&!(Nm&&(tg=="length"||Oh&&(tg=="offset"||tg=="parent")||Xh&&(tg=="buffer"||tg=="byteLength"||tg=="byteOffset")||df(tg,Fm)))&&Rm.push(tg);return Rm}function pT(Yd){var gf=Yd.length;return gf?Yd[wS(0,gf-1)]:nd}function i1(Yd,gf){return z_(Pb(Yd),U0(gf,0,Yd.length))}function fT(Yd){return z_(Pb(Yd))}function uv(Yd,gf,Df){(Df!==nd&&!G0(Yd[gf],Df)||Df===nd&&!(gf in Yd))&&j0(Yd,gf,Df)}function Wv(Yd,gf,Df){var eh=Yd[gf];(!(T_.call(Yd,gf)&&G0(eh,Df))||Df===nd&&!(gf in Yd))&&j0(Yd,gf,Df)}function Yv(Yd,gf){for(var Df=Yd.length;Df--;)if(G0(Yd[Df][0],gf))return Df;return-1}function iy(Yd,gf,Df,eh){return f0(Yd,function(Oh,Xh,Nm){gf(eh,Oh,Df(Oh),Nm)}),eh}function hT(Yd,gf){return Yd&&m0(gf,Nb(gf),Yd)}function rx(Yd,gf){return Yd&&m0(gf,e0(gf),Yd)}function j0(Yd,gf,Df){gf=="__proto__"&&Gv?Gv(Yd,gf,{configurable:!0,enumerable:!0,value:Df,writable:!0}):Yd[gf]=Df}function Kv(Yd,gf){for(var Df=-1,eh=gf.length,Oh=Hm(eh),Xh=Yd==null;++Df<eh;)Oh[Df]=Xh?nd:A1(Yd,gf[Df]);return Oh}function U0(Yd,gf,Df){return Yd===Yd&&(Df!==nd&&(Yd=Yd<=Df?Yd:Df),gf!==nd&&(Yd=Yd>=gf?Yd:gf)),Yd}function Fb(Yd,gf,Df,eh,Oh,Xh){var Nm,Rm=gf&Ad,Fm=gf&Nd,tg=gf&Od;if(Df&&(Nm=Oh?Df(Yd,eh,Oh,Xh):Df(Yd)),Nm!==nd)return Nm;if(!J_(Yd))return Yd;var rg=s_(Yd);if(rg){if(Nm=y1(Yd),!Rm)return Pb(Yd,Nm)}else{var sg=pb(Yd),Rg=sg==th||sg==Bf;if(hE(Yd))return wT(Yd,Rm);if(sg==Pf||sg==Jf||Rg&&!Oh){if(Nm=Fm||Rg?{}:$x(Yd),!Rm)return Fm?h1(Yd,rx(Nm,Yd)):Cx(Yd,hT(Nm,Yd))}else{if(!A_[sg])return Oh?Yd:{};Nm=FS(Yd,sg,Rm)}}Xh||(Xh=new j_);var Hg=Xh.get(Yd);if(Hg)return Hg;Xh.set(Yd,Nm),tC(Yd)?Yd.forEach(function(Jg){Nm.add(Fb(Jg,gf,Df,Jg,Yd,Xh))}):Z1(Yd)&&Yd.forEach(function(Jg,f_){Nm.set(f_,Fb(Jg,gf,Df,f_,Yd,Xh))});var Qg=tg?Fm?BS:LS:Fm?e0:Nb,c_=rg?nd:Qg(Yd);return $b(c_||Yd,function(Jg,f_){c_&&(f_=Jg,Jg=Yd[f_]),Wv(Nm,f_,Fb(Jg,gf,Df,f_,Yd,Xh))}),Nm}function a1(Yd){var gf=Nb(Yd);return function(Df){return mT(Df,Yd,gf)}}function mT(Yd,gf,Df){var eh=Df.length;if(Yd==null)return!eh;for(Yd=D_(Yd);eh--;){var Oh=Df[eh],Xh=gf[Oh],Nm=Yd[Oh];if(Nm===nd&&!(Oh in Yd)||!Xh(Nm))return!1}return!0}function nx(Yd,gf,Df){if(typeof Yd!="function")throw new Kb(dd);return jg(function(){Yd.apply(nd,Df)},gf)}function kE(Yd,gf,Df,eh){var Oh=-1,Xh=kv,Nm=!0,Rm=Yd.length,Fm=[],tg=gf.length;if(!Rm)return Fm;Df&&(gf=k_(gf,e_(Df))),eh?(Xh=Mv,Nm=!1):gf.length>=ld&&(Xh=p_,Nm=!1,gf=new Z0(gf));e:for(;++Oh<Rm;){var rg=Yd[Oh],sg=Df==null?rg:Df(rg);if(rg=eh||rg!==0?rg:0,Nm&&sg===sg){for(var Rg=tg;Rg--;)if(gf[Rg]===sg)continue e;Fm.push(rg)}else Xh(gf,sg,eh)||Fm.push(rg)}return Fm}var f0=lE(Qb),gT=lE(xS,!0);function s1(Yd,gf){var Df=!0;return f0(Yd,function(eh,Oh,Xh){return Df=!!gf(eh,Oh,Xh),Df}),Df}function TS(Yd,gf,Df){for(var eh=-1,Oh=Yd.length;++eh<Oh;){var Xh=Yd[eh],Nm=gf(Xh);if(Nm!=null&&(Rm===nd?Nm===Nm&&!g0(Nm):Df(Nm,Rm)))var Rm=Nm,Fm=Xh}return Fm}function ix(Yd,gf,Df,eh){var Oh=Yd.length;for(Df=l_(Df),Df<0&&(Df=-Df>Oh?0:Oh+Df),eh=eh===nd||eh>Oh?Oh:l_(eh),eh<0&&(eh+=Oh),eh=Df>eh?0:nC(eh);Df<eh;)Yd[Df++]=gf;return Yd}function dv(Yd,gf){var Df=[];return f0(Yd,function(eh,Oh,Xh){gf(eh,Oh,Xh)&&Df.push(eh)}),Df}function ub(Yd,gf,Df,eh,Oh){var Xh=-1,Nm=Yd.length;for(Df||(Df=Vd),Oh||(Oh=[]);++Xh<Nm;){var Rm=Yd[Xh];gf>0&&Df(Rm)?gf>1?ub(Rm,gf-1,Df,eh,Oh):i0(Oh,Rm):eh||(Oh[Oh.length]=Rm)}return Oh}var Xv=Ax(),yT=Ax(!0);function Qb(Yd,gf){return Yd&&Xv(Yd,gf,Nb)}function xS(Yd,gf){return Yd&&yT(Yd,gf,Nb)}function CS(Yd,gf){return v0(gf,function(Df){return yv(Yd[Df])})}function sy(Yd,gf){gf=Sy(gf,Yd);for(var Df=0,eh=gf.length;Yd!=null&&Df<eh;)Yd=Yd[U_(gf[Df++])];return Df&&Df==eh?Yd:nd}function gb(Yd,gf,Df){var eh=gf(Yd);return s_(Yd)?eh:i0(eh,Df(Yd))}function _b(Yd){return Yd==null?Yd===nd?Jh:uh:J0&&J0 in D_(Yd)?_1(Yd):Jm(Yd)}function AS(Yd,gf){return Yd>gf}function sx(Yd,gf){return Yd!=null&&T_.call(Yd,gf)}function ox(Yd,gf){return Yd!=null&&gf in D_(Yd)}function Qv(Yd,gf,Df){return Yd>=tb(gf,Df)&&Yd<L_(gf,Df)}function Jv(Yd,gf,Df){for(var eh=Df?Mv:kv,Oh=Yd[0].length,Xh=Yd.length,Nm=Xh,Rm=Hm(Xh),Fm=1/0,tg=[];Nm--;){var rg=Yd[Nm];Nm&&gf&&(rg=k_(rg,e_(gf))),Fm=tb(rg.length,Fm),Rm[Nm]=!Df&&(gf||Oh>=120&&rg.length>=120)?new Z0(Nm&&rg):nd}rg=Yd[0];var sg=-1,Rg=Rm[0];e:for(;++sg<Oh&&tg.length<Fm;){var Hg=rg[sg],Qg=gf?gf(Hg):Hg;if(Hg=Df||Hg!==0?Hg:0,!(Rg?p_(Rg,Qg):eh(tg,Qg,Df))){for(Nm=Xh;--Nm;){var c_=Rm[Nm];if(!(c_?p_(c_,Qg):eh(Yd[Nm],Qg,Df)))continue e}Rg&&Rg.push(Qg),tg.push(Hg)}}return tg}function lx(Yd,gf,Df,eh){return Qb(Yd,function(Oh,Xh,Nm){gf(eh,Df(Oh),Xh,Nm)}),eh}function Zv(Yd,gf,Df){gf=Sy(gf,Yd),Yd=Tg(Yd,gf);var eh=Yd==null?Yd:Yd[U_(I0(gf))];return eh==null?nd:Db(eh,Yd,Df)}function vT(Yd){return nb(Yd)&&_b(Yd)==Jf}function eE(Yd){return nb(Yd)&&_b(Yd)==gm}function ux(Yd){return nb(Yd)&&_b(Yd)==Yf}function oy(Yd,gf,Df,eh,Oh){return Yd===gf?!0:Yd==null||gf==null||!nb(Yd)&&!nb(gf)?Yd!==Yd&&gf!==gf:dx(Yd,gf,Df,eh,oy,Oh)}function dx(Yd,gf,Df,eh,Oh,Xh){var Nm=s_(Yd),Rm=s_(gf),Fm=Nm?Kf:pb(Yd),tg=Rm?Kf:pb(gf);Fm=Fm==Jf?Pf:Fm,tg=tg==Jf?Pf:tg;var rg=Fm==Pf,sg=tg==Pf,Rg=Fm==tg;if(Rg&&hE(Yd)){if(!hE(gf))return!1;Nm=!0,rg=!1}if(Rg&&!rg)return Xh||(Xh=new j_),Nm||jS(Yd)?Jb(Yd,gf,Df,eh,Oh,Xh):PS(Yd,gf,Fm,Df,eh,Oh,Xh);if(!(Df&kd)){var Hg=rg&&T_.call(Yd,"__wrapped__"),Qg=sg&&T_.call(gf,"__wrapped__");if(Hg||Qg){var c_=Hg?Yd.value():Yd,Jg=Qg?gf.value():gf;return Xh||(Xh=new j_),Oh(c_,Jg,Df,eh,Xh)}}return Rg?(Xh||(Xh=new j_),MT(Yd,gf,Df,eh,Oh,Xh)):!1}function ME(Yd){return nb(Yd)&&pb(Yd)==Sh}function ET(Yd,gf,Df,eh){var Oh=Df.length,Xh=Oh,Nm=!eh;if(Yd==null)return!Xh;for(Yd=D_(Yd);Oh--;){var Rm=Df[Oh];if(Nm&&Rm[2]?Rm[1]!==Yd[Rm[0]]:!(Rm[0]in Yd))return!1}for(;++Oh<Xh;){Rm=Df[Oh];var Fm=Rm[0],tg=Yd[Fm],rg=Rm[1];if(Nm&&Rm[2]){if(tg===nd&&!(Fm in Yd))return!1}else{var sg=new j_;if(eh)var Rg=eh(tg,rg,Fm,Yd,gf,sg);if(!(Rg===nd?oy(rg,tg,kd|Ld,eh,sg):Rg))return!1}}return!0}function pv(Yd){if(!J_(Yd)||ih(Yd))return!1;var gf=yv(Yd)?X0:_m;return gf.test(K_(Yd))}function px(Yd){return nb(Yd)&&_b(Yd)==mh}function fx(Yd){return nb(Yd)&&pb(Yd)==Mh}function hx(Yd){return nb(Yd)&&Ux(Yd.length)&&!!_g[_b(Yd)]}function tE(Yd){return typeof Yd=="function"?Yd:Yd==null?t0:typeof Yd=="object"?s_(Yd)?TT(Yd[0],Yd[1]):mx(Yd):gC(Yd)}function fv(Yd){if(!Ah(Yd))return oT(Yd);var gf=[];for(var Df in D_(Yd))T_.call(Yd,Df)&&Df!="constructor"&&gf.push(Df);return gf}function $E(Yd){if(!J_(Yd))return Wm(Yd);var gf=Ah(Yd),Df=[];for(var eh in Yd)eh=="constructor"&&(gf||!T_.call(Yd,eh))||Df.push(eh);return Df}function hv(Yd,gf){return Yd<gf}function ST(Yd,gf){var Df=-1,eh=Zb(Yd)?Hm(Yd.length):[];return f0(Yd,function(Oh,Xh,Nm){eh[++Df]=gf(Oh,Xh,Nm)}),eh}function mx(Yd){var gf=S_(Yd);return gf.length==1&&gf[0][2]?mm(gf[0][0],gf[0][1]):function(Df){return Df===Yd||ET(Df,Yd,gf)}}function TT(Yd,gf){return yf(Yd)&&sm(gf)?mm(U_(Yd),gf):function(Df){var eh=A1(Df,Yd);return eh===nd&&eh===gf?w1(Df,Yd):oy(gf,eh,kd|Ld)}}function h0(Yd,gf,Df,eh,Oh){Yd!==gf&&Xv(gf,function(Xh,Nm){if(Oh||(Oh=new j_),J_(Xh))rE(Yd,gf,Nm,Df,h0,eh,Oh);else{var Rm=eh?eh(Sg(Yd,Nm),Xh,Nm+"",Yd,gf,Oh):nd;Rm===nd&&(Rm=Xh),uv(Yd,Nm,Rm)}},e0)}function rE(Yd,gf,Df,eh,Oh,Xh,Nm){var Rm=Sg(Yd,Df),Fm=Sg(gf,Df),tg=Nm.get(Fm);if(tg){uv(Yd,Df,tg);return}var rg=Xh?Xh(Rm,Fm,Df+"",Yd,gf,Nm):nd,sg=rg===nd;if(sg){var Rg=s_(Fm),Hg=!Rg&&hE(Fm),Qg=!Rg&&!Hg&&jS(Fm);rg=Fm,Rg||Hg||Qg?s_(Rm)?rg=Rm:hb(Rm)?rg=Pb(Rm):Hg?(sg=!1,rg=wT(Fm,!0)):Qg?(sg=!1,rg=NT(Fm,!0)):rg=[]:LT(Fm)||XE(Fm)?(rg=Rm,XE(Rm)?rg=iC(Rm):(!J_(Rm)||yv(Rm))&&(rg=$x(Fm))):sg=!1}sg&&(Nm.set(Fm,rg),Oh(rg,Fm,eh,Xh,Nm),Nm.delete(Fm)),uv(Yd,Df,rg)}function nE(Yd,gf){var Df=Yd.length;if(Df)return gf+=gf<0?Df:0,df(gf,Df)?Yd[gf]:nd}function gx(Yd,gf,Df){gf.length?gf=k_(gf,function(Xh){return s_(Xh)?function(Nm){return sy(Nm,Xh.length===1?Xh[0]:Xh)}:Xh}):gf=[t0];var eh=-1;gf=k_(gf,e_(Wg()));var Oh=ST(Yd,function(Xh,Nm,Rm){var Fm=k_(gf,function(tg){return tg(Xh)});return{criteria:Fm,index:++eh,value:Xh}});return hm(Oh,function(Xh,Nm){return f1(Xh,Nm,Df)})}function _x(Yd,gf){return yx(Yd,gf,function(Df,eh){return w1(Yd,eh)})}function yx(Yd,gf,Df){for(var eh=-1,Oh=gf.length,Xh={};++eh<Oh;){var Nm=gf[eh],Rm=sy(Yd,Nm);Df(Rm,Nm)&&iE(Xh,Sy(Nm,Yd),Rm)}return Xh}function o1(Yd){return function(gf){return sy(gf,Yd)}}function xT(Yd,gf,Df,eh){var Oh=eh?vf:Qd,Xh=-1,Nm=gf.length,Rm=Yd;for(Yd===gf&&(gf=Pb(gf)),Df&&(Rm=k_(Yd,e_(Df)));++Xh<Nm;)for(var Fm=0,tg=gf[Xh],rg=Df?Df(tg):tg;(Fm=Oh(Rm,rg,Fm,eh))>-1;)Rm!==Yd&&Jy.call(Rm,Fm,1),Jy.call(Yd,Fm,1);return Yd}function Cb(Yd,gf){for(var Df=Yd?gf.length:0,eh=Df-1;Df--;){var Oh=gf[Df];if(Df==eh||Oh!==Xh){var Xh=Oh;df(Oh)?Jy.call(Yd,Oh,1):DS(Yd,Oh)}}return Yd}function wS(Yd,gf){return Yd+ev(lT()*(gf-Yd+1))}function l1(Yd,gf,Df,eh){for(var Oh=-1,Xh=L_(wE((gf-Yd)/(Df||1)),0),Nm=Hm(Xh);Xh--;)Nm[eh?Xh:++Oh]=Yd,Yd+=Df;return Nm}function CT(Yd,gf){var Df="";if(!Yd||gf<1||gf>Gf)return Df;do gf%2&&(Df+=Yd),gf=ev(gf/2),gf&&(Yd+=Yd);while(gf);return Df}function o_(Yd,gf){return Lg(og(Yd,gf,t0),Yd+"")}function vx(Yd){return pT(US(Yd))}function Ex(Yd,gf){var Df=US(Yd);return z_(Df,U0(gf,0,Df.length))}function iE(Yd,gf,Df,eh){if(!J_(Yd))return Yd;gf=Sy(gf,Yd);for(var Oh=-1,Xh=gf.length,Nm=Xh-1,Rm=Yd;Rm!=null&&++Oh<Xh;){var Fm=U_(gf[Oh]),tg=Df;if(Fm==="__proto__"||Fm==="constructor"||Fm==="prototype")return Yd;if(Oh!=Nm){var rg=Rm[Fm];tg=eh?eh(rg,Fm,Rm):nd,tg===nd&&(tg=J_(rg)?rg:df(gf[Oh+1])?[]:{})}Wv(Rm,Fm,tg),Rm=Rm[Fm]}return Yd}var Sx=DE?function(Yd,gf){return DE.set(Yd,gf),Yd}:t0,u1=Gv?function(Yd,gf){return Gv(Yd,"toString",{configurable:!0,enumerable:!1,value:D1(gf),writable:!0})}:t0;function c1(Yd){return z_(US(Yd))}function db(Yd,gf,Df){var eh=-1,Oh=Yd.length;gf<0&&(gf=-gf>Oh?0:Oh+gf),Df=Df>Oh?Oh:Df,Df<0&&(Df+=Oh),Oh=gf>Df?0:Df-gf>>>0,gf>>>=0;for(var Xh=Hm(Oh);++eh<Oh;)Xh[eh]=Yd[eh+gf];return Xh}function PE(Yd,gf){var Df;return f0(Yd,function(eh,Oh,Xh){return Df=gf(eh,Oh,Xh),!Df}),!!Df}function mv(Yd,gf,Df){var eh=0,Oh=Yd==null?eh:Yd.length;if(typeof gf=="number"&&gf===gf&&Oh<=Lf){for(;eh<Oh;){var Xh=eh+Oh>>>1,Nm=Yd[Xh];Nm!==null&&!g0(Nm)&&(Df?Nm<=gf:Nm<gf)?eh=Xh+1:Oh=Xh}return Oh}return gv(Yd,gf,t0,Df)}function gv(Yd,gf,Df,eh){var Oh=0,Xh=Yd==null?0:Yd.length;if(Xh===0)return 0;gf=Df(gf);for(var Nm=gf!==gf,Rm=gf===null,Fm=g0(gf),tg=gf===nd;Oh<Xh;){var rg=ev((Oh+Xh)/2),sg=Df(Yd[rg]),Rg=sg!==nd,Hg=sg===null,Qg=sg===sg,c_=g0(sg);if(Nm)var Jg=eh||Qg;else tg?Jg=Qg&&(eh||Rg):Rm?Jg=Qg&&Rg&&(eh||!Hg):Fm?Jg=Qg&&Rg&&!Hg&&(eh||!c_):Hg||c_?Jg=!1:Jg=eh?sg<=gf:sg<gf;Jg?Oh=rg+1:Xh=rg}return tb(Xh,qf)}function C0(Yd,gf){for(var Df=-1,eh=Yd.length,Oh=0,Xh=[];++Df<eh;){var Nm=Yd[Df],Rm=gf?gf(Nm):Nm;if(!Df||!G0(Rm,Fm)){var Fm=Rm;Xh[Oh++]=Nm===0?0:Nm}}return Xh}function Tx(Yd){return typeof Yd=="number"?Yd:g0(Yd)?Xf:+Yd}function jb(Yd){if(typeof Yd=="string")return Yd;if(s_(Yd))return k_(Yd,jb)+"";if(g0(Yd))return KT?KT.call(Yd):"";var gf=Yd+"";return gf=="0"&&1/Yd==-If?"-0":gf}function Ub(Yd,gf,Df){var eh=-1,Oh=kv,Xh=Yd.length,Nm=!0,Rm=[],Fm=Rm;if(Df)Nm=!1,Oh=Mv;else if(Xh>=ld){var tg=gf?null:g1(Yd);if(tg)return Bb(tg);Nm=!1,Oh=p_,Fm=new Z0}else Fm=gf?[]:Rm;e:for(;++eh<Xh;){var rg=Yd[eh],sg=gf?gf(rg):rg;if(rg=Df||rg!==0?rg:0,Nm&&sg===sg){for(var Rg=Fm.length;Rg--;)if(Fm[Rg]===sg)continue e;gf&&Fm.push(sg),Rm.push(rg)}else Oh(Fm,sg,Df)||(Fm!==Rm&&Fm.push(sg),Rm.push(rg))}return Rm}function DS(Yd,gf){return gf=Sy(gf,Yd),Yd=Tg(Yd,gf),Yd==null||delete Yd[U_(I0(gf))]}function AT(Yd,gf,Df,eh){return iE(Yd,gf,Df(sy(Yd,gf)),eh)}function LE(Yd,gf,Df,eh){for(var Oh=Yd.length,Xh=eh?Oh:-1;(eh?Xh--:++Xh<Oh)&&gf(Yd[Xh],Xh,Yd););return Df?db(Yd,eh?0:Xh,eh?Xh+1:Oh):db(Yd,eh?Xh+1:0,eh?Oh:Xh)}function BE(Yd,gf){var Df=Yd;return Df instanceof Yg&&(Df=Df.value()),xE(gf,function(eh,Oh){return Oh.func.apply(Oh.thisArg,i0([eh],Oh.args))},Df)}function uy(Yd,gf,Df){var eh=Yd.length;if(eh<2)return eh?Ub(Yd[0]):[];for(var Oh=-1,Xh=Hm(eh);++Oh<eh;)for(var Nm=Yd[Oh],Rm=-1;++Rm<eh;)Rm!=Oh&&(Xh[Oh]=kE(Xh[Oh]||Nm,Yd[Rm],gf,Df));return Ub(ub(Xh,1),gf,Df)}function IS(Yd,gf,Df){for(var eh=-1,Oh=Yd.length,Xh=gf.length,Nm={};++eh<Oh;){var Rm=eh<Xh?gf[eh]:nd;Df(Nm,Yd[eh],Rm)}return Nm}function FE(Yd){return hb(Yd)?Yd:[]}function jE(Yd){return typeof Yd=="function"?Yd:t0}function Sy(Yd,gf){return s_(Yd)?Yd:yf(Yd,gf)?[Yd]:P_(I_(Yd))}var UE=o_;function H0(Yd,gf,Df){var eh=Yd.length;return Df=Df===nd?eh:Df,!gf&&Df>=eh?Yd:db(Yd,gf,Df)}var xx=nT||function(Yd){return x_.clearTimeout(Yd)};function wT(Yd,gf){if(gf)return Yd.slice();var Df=Yd.length,eh=tT?tT(Df):new Yd.constructor(Df);return Yd.copy(eh),eh}function sE(Yd){var gf=new Yd.constructor(Yd.byteLength);return new hS(gf).set(new hS(Yd)),gf}function d1(Yd,gf){var Df=gf?sE(Yd.buffer):Yd.buffer;return new Yd.constructor(Df,Yd.byteOffset,Yd.byteLength)}function p1(Yd){var gf=new Yd.constructor(Yd.source,fm.exec(Yd));return gf.lastIndex=Yd.lastIndex,gf}function HE(Yd){return IE?D_(IE.call(Yd)):{}}function NT(Yd,gf){var Df=gf?sE(Yd.buffer):Yd.buffer;return new Yd.constructor(Df,Yd.byteOffset,Yd.length)}function DT(Yd,gf){if(Yd!==gf){var Df=Yd!==nd,eh=Yd===null,Oh=Yd===Yd,Xh=g0(Yd),Nm=gf!==nd,Rm=gf===null,Fm=gf===gf,tg=g0(gf);if(!Rm&&!tg&&!Xh&&Yd>gf||Xh&&Nm&&Fm&&!Rm&&!tg||eh&&Nm&&Fm||!Df&&Fm||!Oh)return 1;if(!eh&&!Xh&&!tg&&Yd<gf||tg&&Df&&Oh&&!eh&&!Xh||Rm&&Df&&Oh||!Nm&&Oh||!Fm)return-1}return 0}function f1(Yd,gf,Df){for(var eh=-1,Oh=Yd.criteria,Xh=gf.criteria,Nm=Oh.length,Rm=Df.length;++eh<Nm;){var Fm=DT(Oh[eh],Xh[eh]);if(Fm){if(eh>=Rm)return Fm;var tg=Df[eh];return Fm*(tg=="desc"?-1:1)}}return Yd.index-gf.index}function RS(Yd,gf,Df,eh){for(var Oh=-1,Xh=Yd.length,Nm=Df.length,Rm=-1,Fm=gf.length,tg=L_(Xh-Nm,0),rg=Hm(Fm+tg),sg=!eh;++Rm<Fm;)rg[Rm]=gf[Rm];for(;++Oh<Nm;)(sg||Oh<Xh)&&(rg[Df[Oh]]=Yd[Oh]);for(;tg--;)rg[Rm++]=Yd[Oh++];return rg}function IT(Yd,gf,Df,eh){for(var Oh=-1,Xh=Yd.length,Nm=-1,Rm=Df.length,Fm=-1,tg=gf.length,rg=L_(Xh-Rm,0),sg=Hm(rg+tg),Rg=!eh;++Oh<rg;)sg[Oh]=Yd[Oh];for(var Hg=Oh;++Fm<tg;)sg[Hg+Fm]=gf[Fm];for(;++Nm<Rm;)(Rg||Oh<Xh)&&(sg[Hg+Df[Nm]]=Yd[Oh++]);return sg}function Pb(Yd,gf){var Df=-1,eh=Yd.length;for(gf||(gf=Hm(eh));++Df<eh;)gf[Df]=Yd[Df];return gf}function m0(Yd,gf,Df,eh){var Oh=!Df;Df||(Df={});for(var Xh=-1,Nm=gf.length;++Xh<Nm;){var Rm=gf[Xh],Fm=eh?eh(Df[Rm],Yd[Rm],Rm,Df,Yd):nd;Fm===nd&&(Fm=Yd[Rm]),Oh?j0(Df,Rm,Fm):Wv(Df,Rm,Fm)}return Df}function Cx(Yd,gf){return m0(Yd,Cy(Yd),gf)}function h1(Yd,gf){return m0(Yd,kx(Yd),gf)}function oE(Yd,gf){return function(Df,eh){var Oh=s_(Df)?TE:iy,Xh=gf?gf():{};return Oh(Df,Yd,Wg(eh,2),Xh)}}function A0(Yd){return o_(function(gf,Df){var eh=-1,Oh=Df.length,Xh=Oh>1?Df[Oh-1]:nd,Nm=Oh>2?Df[2]:nd;for(Xh=Yd.length>3&&typeof Xh=="function"?(Oh--,Xh):nd,Nm&&Zd(Df[0],Df[1],Nm)&&(Xh=Oh<3?nd:Xh,Oh=1),gf=D_(gf);++eh<Oh;){var Rm=Df[eh];Rm&&Yd(gf,Rm,eh,Xh)}return gf})}function lE(Yd,gf){return function(Df,eh){if(Df==null)return Df;if(!Zb(Df))return Yd(Df,eh);for(var Oh=Df.length,Xh=gf?Oh:-1,Nm=D_(Df);(gf?Xh--:++Xh<Oh)&&eh(Nm[Xh],Xh,Nm)!==!1;);return Df}}function Ax(Yd){return function(gf,Df,eh){for(var Oh=-1,Xh=D_(gf),Nm=eh(gf),Rm=Nm.length;Rm--;){var Fm=Nm[Yd?Rm:++Oh];if(Df(Xh[Fm],Fm,Xh)===!1)break}return gf}}function wx(Yd,gf,Df){var eh=gf&Gd,Oh=GE(Yd);function Xh(){var Nm=this&&this!==x_&&this instanceof Xh?Oh:Yd;return Nm.apply(eh?Df:this,arguments)}return Xh}function Nx(Yd){return function(gf){gf=I_(gf);var Df=jv(gf)?a0(gf):nd,eh=Df?Df[0]:gf.charAt(0),Oh=Df?H0(Df,1).join(""):gf.slice(1);return eh[Yd]()+Oh}}function uE(Yd){return function(gf){return xE(hC(pC(gf).replace(W0,"")),Yd,"")}}function GE(Yd){return function(){var gf=arguments;switch(gf.length){case 0:return new Yd;case 1:return new Yd(gf[0]);case 2:return new Yd(gf[0],gf[1]);case 3:return new Yd(gf[0],gf[1],gf[2]);case 4:return new Yd(gf[0],gf[1],gf[2],gf[3]);case 5:return new Yd(gf[0],gf[1],gf[2],gf[3],gf[4]);case 6:return new Yd(gf[0],gf[1],gf[2],gf[3],gf[4],gf[5]);case 7:return new Yd(gf[0],gf[1],gf[2],gf[3],gf[4],gf[5],gf[6])}var Df=zv(Yd.prototype),eh=Yd.apply(Df,gf);return J_(eh)?eh:Df}}function m1(Yd,gf,Df){var eh=GE(Yd);function Oh(){for(var Xh=arguments.length,Nm=Hm(Xh),Rm=Xh,Fm=dE(Oh);Rm--;)Nm[Rm]=arguments[Rm];var tg=Xh<3&&Nm[0]!==Fm&&Nm[Xh-1]!==Fm?[]:Lb(Nm,Fm);if(Xh-=tg.length,Xh<Df)return VE(Yd,gf,OS,Oh.placeholder,nd,Nm,tg,nd,nd,Df-Xh);var rg=this&&this!==x_&&this instanceof Oh?eh:Yd;return Db(rg,this,Nm)}return Oh}function RT(Yd){return function(gf,Df,eh){var Oh=D_(gf);if(!Zb(gf)){var Xh=Wg(Df,3);gf=Nb(gf),Df=function(Rm){return Xh(Oh[Rm],Rm,Oh)}}var Nm=Yd(gf,Df,eh);return Nm>-1?Oh[Xh?gf[Nm]:Nm]:nd}}function Dx(Yd){return w0(function(gf){var Df=gf.length,eh=Df,Oh=C_.prototype.thru;for(Yd&&gf.reverse();eh--;){var Xh=gf[eh];if(typeof Xh!="function")throw new Kb(dd);if(Oh&&!Nm&&YE(Xh)=="wrapper")var Nm=new C_([],!0)}for(eh=Nm?eh:Df;++eh<Df;){Xh=gf[eh];var Rm=YE(Xh),Fm=Rm=="wrapper"?WE(Xh):nd;Fm&&zf(Fm[0])&&Fm[1]==(Jd|Ud|zd|_f)&&!Fm[4].length&&Fm[9]==1?Nm=Nm[YE(Fm[0])].apply(Nm,Fm[3]):Nm=Xh.length==1&&zf(Xh)?Nm[Rm]():Nm.thru(Xh)}return function(){var tg=arguments,rg=tg[0];if(Nm&&tg.length==1&&s_(rg))return Nm.plant(rg).value();for(var sg=0,Rg=Df?gf[sg].apply(this,tg):rg;++sg<Df;)Rg=gf[sg].call(this,Rg);return Rg}})}function OS(Yd,gf,Df,eh,Oh,Xh,Nm,Rm,Fm,tg){var rg=gf&Jd,sg=gf&Gd,Rg=gf&jd,Hg=gf&(Ud|qd),Qg=gf&Xd,c_=Rg?nd:GE(Yd);function Jg(){for(var f_=arguments.length,b_=Hm(f_),_0=f_;_0--;)b_[_0]=arguments[_0];if(Hg)var Hb=dE(Jg),b0=By(b_,Hb);if(eh&&(b_=RS(b_,eh,Oh,Hg)),Xh&&(b_=IT(b_,Xh,Nm,Hg)),f_-=b0,Hg&&f_<tg){var mb=Lb(b_,Hb);return VE(Yd,gf,OS,Jg.placeholder,Df,b_,mb,Rm,Fm,tg-f_)}var q0=sg?Df:this,Ev=Rg?q0[Yd]:Yd;return f_=b_.length,Rm?b_=Cg(b_,Rm):Qg&&f_>1&&b_.reverse(),rg&&Fm<f_&&(b_.length=Fm),this&&this!==x_&&this instanceof Jg&&(Ev=c_||GE(Ev)),Ev.apply(q0,b_)}return Jg}function OT(Yd,gf){return function(Df,eh){return lx(Df,Yd,gf(eh),{})}}function cE(Yd,gf){return function(Df,eh){var Oh;if(Df===nd&&eh===nd)return gf;if(Df!==nd&&(Oh=Df),eh!==nd){if(Oh===nd)return eh;typeof Df=="string"||typeof eh=="string"?(Df=jb(Df),eh=jb(eh)):(Df=Tx(Df),eh=Tx(eh)),Oh=Yd(Df,eh)}return Oh}}function kS(Yd){return w0(function(gf){return gf=k_(gf,e_(Wg())),o_(function(Df){var eh=this;return Yd(gf,function(Oh){return Db(Oh,eh,Df)})})})}function MS(Yd,gf){gf=gf===nd?" ":jb(gf);var Df=gf.length;if(Df<2)return Df?CT(gf,Yd):gf;var eh=CT(gf,wE(Yd/Uv(gf)));return jv(gf)?H0(a0(eh),0,Yd).join(""):eh.slice(0,Yd)}function Ix(Yd,gf,Df,eh){var Oh=gf&Gd,Xh=GE(Yd);function Nm(){for(var Rm=-1,Fm=arguments.length,tg=-1,rg=eh.length,sg=Hm(rg+Fm),Rg=this&&this!==x_&&this instanceof Nm?Xh:Yd;++tg<rg;)sg[tg]=eh[tg];for(;Fm--;)sg[tg++]=arguments[++Rm];return Db(Rg,Oh?Df:this,sg)}return Nm}function _v(Yd){return function(gf,Df,eh){return eh&&typeof eh!="number"&&Zd(gf,Df,eh)&&(Df=eh=nd),gf=vv(gf),Df===nd?(Df=gf,gf=0):Df=vv(Df),eh=eh===nd?gf<Df?1:-1:vv(eh),l1(gf,Df,eh,Yd)}}function qE(Yd){return function(gf,Df){return typeof gf=="string"&&typeof Df=="string"||(gf=R0(gf),Df=R0(Df)),Yd(gf,Df)}}function VE(Yd,gf,Df,eh,Oh,Xh,Nm,Rm,Fm,tg){var rg=gf&Ud,sg=rg?Nm:nd,Rg=rg?nd:Nm,Hg=rg?Xh:nd,Qg=rg?nd:Xh;gf|=rg?zd:Wd,gf&=~(rg?Wd:zd),gf&Fd||(gf&=~(Gd|jd));var c_=[Yd,gf,Oh,Hg,sg,Qg,Rg,Rm,Fm,tg],Jg=Df.apply(nd,c_);return zf(Yd)&&Ig(Jg,c_),Jg.placeholder=eh,i_(Jg,Yd,gf)}function kT(Yd){var gf=eb[Yd];return function(Df,eh){if(Df=R0(Df),eh=eh==null?0:tb(l_(eh),292),eh&&WT(Df)){var Oh=(I_(Df)+"e").split("e"),Xh=gf(Oh[0]+"e"+(+Oh[1]+eh));return Oh=(I_(Xh)+"e").split("e"),+(Oh[0]+"e"+(+Oh[1]-eh))}return gf(Df)}}var g1=Xb&&1/Bb(new Xb([,-0]))[1]==If?function(Yd){return new Xb(Yd)}:O1;function Rx(Yd){return function(gf){var Df=pb(gf);return Df==Sh?cS(gf):Df==Mh?jT(gf):Dg(gf,Yd(gf))}}function __(Yd,gf,Df,eh,Oh,Xh,Nm,Rm){var Fm=gf&jd;if(!Fm&&typeof Yd!="function")throw new Kb(dd);var tg=eh?eh.length:0;if(tg||(gf&=~(zd|Wd),eh=Oh=nd),Nm=Nm===nd?Nm:L_(l_(Nm),0),Rm=Rm===nd?Rm:l_(Rm),tg-=Oh?Oh.length:0,gf&Wd){var rg=eh,sg=Oh;eh=Oh=nd}var Rg=Fm?nd:WE(Yd),Hg=[Yd,gf,Df,eh,Oh,rg,sg,Xh,Nm,Rm];if(Rg&&Om(Hg,Rg),Yd=Hg[0],gf=Hg[1],Df=Hg[2],eh=Hg[3],Oh=Hg[4],Rm=Hg[9]=Hg[9]===nd?Fm?0:Yd.length:L_(Hg[9]-tg,0),!Rm&&gf&(Ud|qd)&&(gf&=~(Ud|qd)),!gf||gf==Gd)var Qg=wx(Yd,gf,Df);else gf==Ud||gf==qd?Qg=m1(Yd,gf,Rm):(gf==zd||gf==(Gd|zd))&&!Oh.length?Qg=Ix(Yd,gf,Df,eh):Qg=OS.apply(nd,Hg);var c_=Rg?Sx:Ig;return i_(c_(Qg,Hg),Yd,gf)}function Ox(Yd,gf,Df,eh){return Yd===nd||G0(Yd,s0[Df])&&!T_.call(eh,Df)?gf:Yd}function $S(Yd,gf,Df,eh,Oh,Xh){return J_(Yd)&&J_(gf)&&(Xh.set(gf,Yd),h0(Yd,gf,nd,$S,Xh),Xh.delete(gf)),Yd}function zE(Yd){return LT(Yd)?nd:Yd}function Jb(Yd,gf,Df,eh,Oh,Xh){var Nm=Df&kd,Rm=Yd.length,Fm=gf.length;if(Rm!=Fm&&!(Nm&&Fm>Rm))return!1;var tg=Xh.get(Yd),rg=Xh.get(gf);if(tg&&rg)return tg==gf&&rg==Yd;var sg=-1,Rg=!0,Hg=Df&Ld?new Z0:nd;for(Xh.set(Yd,gf),Xh.set(gf,Yd);++sg<Rm;){var Qg=Yd[sg],c_=gf[sg];if(eh)var Jg=Nm?eh(c_,Qg,sg,gf,Yd,Xh):eh(Qg,c_,sg,Yd,gf,Xh);if(Jg!==nd){if(Jg)continue;Rg=!1;break}if(Hg){if(!K0(gf,function(f_,b_){if(!p_(Hg,b_)&&(Qg===f_||Oh(Qg,f_,Df,eh,Xh)))return Hg.push(b_)})){Rg=!1;break}}else if(!(Qg===c_||Oh(Qg,c_,Df,eh,Xh))){Rg=!1;break}}return Xh.delete(Yd),Xh.delete(gf),Rg}function PS(Yd,gf,Df,eh,Oh,Xh,Nm){switch(Df){case Lm:if(Yd.byteLength!=gf.byteLength||Yd.byteOffset!=gf.byteOffset)return!1;Yd=Yd.buffer,gf=gf.buffer;case gm:return!(Yd.byteLength!=gf.byteLength||!Xh(new hS(Yd),new hS(gf)));case xf:case Yf:case Fh:return G0(+Yd,+gf);case Rh:return Yd.name==gf.name&&Yd.message==gf.message;case mh:case _h:return Yd==gf+"";case Sh:var Rm=cS;case Mh:var Fm=eh&kd;if(Rm||(Rm=Bb),Yd.size!=gf.size&&!Fm)return!1;var tg=Nm.get(Yd);if(tg)return tg==gf;eh|=Ld,Nm.set(Yd,gf);var rg=Jb(Rm(Yd),Rm(gf),eh,Oh,Xh,Nm);return Nm.delete(Yd),rg;case pm:if(IE)return IE.call(Yd)==IE.call(gf)}return!1}function MT(Yd,gf,Df,eh,Oh,Xh){var Nm=Df&kd,Rm=LS(Yd),Fm=Rm.length,tg=LS(gf),rg=tg.length;if(Fm!=rg&&!Nm)return!1;for(var sg=Fm;sg--;){var Rg=Rm[sg];if(!(Nm?Rg in gf:T_.call(gf,Rg)))return!1}var Hg=Xh.get(Yd),Qg=Xh.get(gf);if(Hg&&Qg)return Hg==gf&&Qg==Yd;var c_=!0;Xh.set(Yd,gf),Xh.set(gf,Yd);for(var Jg=Nm;++sg<Fm;){Rg=Rm[sg];var f_=Yd[Rg],b_=gf[Rg];if(eh)var _0=Nm?eh(b_,f_,Rg,gf,Yd,Xh):eh(f_,b_,Rg,Yd,gf,Xh);if(!(_0===nd?f_===b_||Oh(f_,b_,Df,eh,Xh):_0)){c_=!1;break}Jg||(Jg=Rg=="constructor")}if(c_&&!Jg){var Hb=Yd.constructor,b0=gf.constructor;Hb!=b0&&"constructor"in Yd&&"constructor"in gf&&!(typeof Hb=="function"&&Hb instanceof Hb&&typeof b0=="function"&&b0 instanceof b0)&&(c_=!1)}return Xh.delete(Yd),Xh.delete(gf),c_}function w0(Yd){return Lg(og(Yd,nd,Dy),Yd+"")}function LS(Yd){return gb(Yd,Nb,Cy)}function BS(Yd){return gb(Yd,e0,kx)}var WE=DE?function(Yd){return DE.get(Yd)}:O1;function YE(Yd){for(var gf=Yd.name+"",Df=nv[gf],eh=T_.call(nv,gf)?Df.length:0;eh--;){var Oh=Df[eh],Xh=Oh.func;if(Xh==null||Xh==Yd)return Oh.name}return gf}function dE(Yd){var gf=T_.call(Vh,"placeholder")?Vh:Yd;return gf.placeholder}function Wg(){var Yd=Vh.iteratee||I1;return Yd=Yd===I1?tE:Yd,arguments.length?Yd(arguments[0],arguments[1]):Yd}function KE(Yd,gf){var Df=Yd.__data__;return Of(gf)?Df[typeof gf=="string"?"string":"hash"]:Df.map}function S_(Yd){for(var gf=Nb(Yd),Df=gf.length;Df--;){var eh=gf[Df],Oh=Yd[eh];gf[Df]=[eh,Oh,sm(Oh)]}return gf}function Ty(Yd,gf){var Df=JS(Yd,gf);return pv(Df)?Df:nd}function _1(Yd){var gf=T_.call(Yd,J0),Df=Yd[J0];try{Yd[J0]=nd;var eh=!0}catch{}var Oh=S0.call(Yd);return eh&&(gf?Yd[J0]=Df:delete Yd[J0]),Oh}var Cy=iT?function(Yd){return Yd==null?[]:(Yd=D_(Yd),v0(iT(Yd),function(gf){return mS.call(Yd,gf)}))}:k1,kx=iT?function(Yd){for(var gf=[];Yd;)i0(gf,Cy(Yd)),Yd=Q0(Yd);return gf}:k1,pb=_b;(yS&&pb(new yS(new ArrayBuffer(1)))!=Lm||u0&&pb(new u0)!=Sh||tv&&pb(tv.resolve())!=Uf||Xb&&pb(new Xb)!=Mh||B0&&pb(new B0)!=Mm)&&(pb=function(Yd){var gf=_b(Yd),Df=gf==Pf?Yd.constructor:nd,eh=Df?K_(Df):"";if(eh)switch(eh){case YT:return Lm;case Kx:return Sh;case iv:return Uf;case ov:return Mh;case Xx:return Mm}return gf});function b1(Yd,gf,Df){for(var eh=-1,Oh=Df.length;++eh<Oh;){var Xh=Df[eh],Nm=Xh.size;switch(Xh.type){case"drop":Yd+=Nm;break;case"dropRight":gf-=Nm;break;case"take":gf=tb(gf,Yd+Nm);break;case"takeRight":Yd=L_(Yd,gf-Nm);break}}return{start:Yd,end:gf}}function V_(Yd){var gf=Yd.match(kb);return gf?gf[1].split(Z_):[]}function Mx(Yd,gf,Df){gf=Sy(gf,Yd);for(var eh=-1,Oh=gf.length,Xh=!1;++eh<Oh;){var Nm=U_(gf[eh]);if(!(Xh=Yd!=null&&Df(Yd,Nm)))break;Yd=Yd[Nm]}return Xh||++eh!=Oh?Xh:(Oh=Yd==null?0:Yd.length,!!Oh&&Ux(Oh)&&df(Nm,Oh)&&(s_(Yd)||XE(Yd)))}function y1(Yd){var gf=Yd.length,Df=new Yd.constructor(gf);return gf&&typeof Yd[0]=="string"&&T_.call(Yd,"index")&&(Df.index=Yd.index,Df.input=Yd.input),Df}function $x(Yd){return typeof Yd.constructor=="function"&&!Ah(Yd)?zv(Q0(Yd)):{}}function FS(Yd,gf,Df){var eh=Yd.constructor;switch(gf){case gm:return sE(Yd);case xf:case Yf:return new eh(+Yd);case Lm:return d1(Yd,Df);case Vm:case Th:case Rf:case wf:case sh:case xh:case Wh:case om:case Dm:return NT(Yd,Df);case Sh:return new eh;case Fh:case _h:return new eh(Yd);case mh:return p1(Yd);case Mh:return new eh;case pm:return HE(Yd)}}function Md(Yd,gf){var Df=gf.length;if(!Df)return Yd;var eh=Df-1;return gf[eh]=(Df>1?"& ":"")+gf[eh],gf=gf.join(Df>2?", ":" "),Yd.replace(vb,`{
/* [wrapped with `+gf+`] */
`)}function Vd(Yd){return s_(Yd)||XE(Yd)||!!(zT&&Yd&&Yd[zT])}function df(Yd,gf){var Df=typeof Yd;return gf=gf??Gf,!!gf&&(Df=="number"||Df!="symbol"&&Gm.test(Yd))&&Yd>-1&&Yd%1==0&&Yd<gf}function Zd(Yd,gf,Df){if(!J_(Df))return!1;var eh=typeof gf;return(eh=="number"?Zb(Df)&&df(gf,Df.length):eh=="string"&&gf in Df)?G0(Df[gf],Yd):!1}function yf(Yd,gf){if(s_(Yd))return!1;var Df=typeof Yd;return Df=="number"||Df=="symbol"||Df=="boolean"||Yd==null||g0(Yd)?!0:a_.test(Yd)||!m_.test(Yd)||gf!=null&&Yd in D_(gf)}function Of(Yd){var gf=typeof Yd;return gf=="string"||gf=="number"||gf=="symbol"||gf=="boolean"?Yd!=="__proto__":Yd===null}function zf(Yd){var gf=YE(Yd),Df=Vh[gf];if(typeof Df!="function"||!(gf in Yg.prototype))return!1;if(Yd===Df)return!0;var eh=WE(Df);return!!eh&&Yd===eh[0]}function ih(Yd){return!!fS&&fS in Yd}var yh=L0?yv:M1;function Ah(Yd){var gf=Yd&&Yd.constructor,Df=typeof gf=="function"&&gf.prototype||s0;return Yd===Df}function sm(Yd){return Yd===Yd&&!J_(Yd)}function mm(Yd,gf){return function(Df){return Df==null?!1:Df[Yd]===gf&&(gf!==nd||Yd in D_(Df))}}function $m(Yd){var gf=Fx(Yd,function(eh){return Df.size===md&&Df.clear(),eh}),Df=gf.cache;return gf}function Om(Yd,gf){var Df=Yd[1],eh=gf[1],Oh=Df|eh,Xh=Oh<(Gd|jd|Jd),Nm=eh==Jd&&Df==Ud||eh==Jd&&Df==_f&&Yd[7].length<=gf[8]||eh==(Jd|_f)&&gf[7].length<=gf[8]&&Df==Ud;if(!(Xh||Nm))return Yd;eh&Gd&&(Yd[2]=gf[2],Oh|=Df&Gd?0:Fd);var Rm=gf[3];if(Rm){var Fm=Yd[3];Yd[3]=Fm?RS(Fm,Rm,gf[4]):Rm,Yd[4]=Fm?Lb(Yd[3],vd):gf[4]}return Rm=gf[5],Rm&&(Fm=Yd[5],Yd[5]=Fm?IT(Fm,Rm,gf[6]):Rm,Yd[6]=Fm?Lb(Yd[5],vd):gf[6]),Rm=gf[7],Rm&&(Yd[7]=Rm),eh&Jd&&(Yd[8]=Yd[8]==null?gf[8]:tb(Yd[8],gf[8])),Yd[9]==null&&(Yd[9]=gf[9]),Yd[0]=gf[0],Yd[1]=Oh,Yd}function Wm(Yd){var gf=[];if(Yd!=null)for(var Df in D_(Yd))gf.push(Df);return gf}function Jm(Yd){return S0.call(Yd)}function og(Yd,gf,Df){return gf=L_(gf===nd?Yd.length-1:gf,0),function(){for(var eh=arguments,Oh=-1,Xh=L_(eh.length-gf,0),Nm=Hm(Xh);++Oh<Xh;)Nm[Oh]=eh[gf+Oh];Oh=-1;for(var Rm=Hm(gf+1);++Oh<gf;)Rm[Oh]=eh[Oh];return Rm[gf]=Df(Nm),Db(Yd,this,Rm)}}function Tg(Yd,gf){return gf.length<2?Yd:sy(Yd,db(gf,0,-1))}function Cg(Yd,gf){for(var Df=Yd.length,eh=tb(gf.length,Df),Oh=Pb(Yd);eh--;){var Xh=gf[eh];Yd[eh]=df(Xh,Df)?Oh[Xh]:nd}return Yd}function Sg(Yd,gf){if(!(gf==="constructor"&&typeof Yd[gf]=="function")&&gf!="__proto__")return Yd[gf]}var Ig=w_(Sx),jg=gS||function(Yd,gf){return x_.setTimeout(Yd,gf)},Lg=w_(u1);function i_(Yd,gf,Df){var eh=gf+"";return Lg(Yd,Md(eh,X_(V_(eh),Df)))}function w_(Yd){var gf=0,Df=0;return function(){var eh=Yx(),Oh=Tf-(eh-Df);if(Df=eh,Oh>0){if(++gf>=Sf)return arguments[0]}else gf=0;return Yd.apply(nd,arguments)}}function z_(Yd,gf){var Df=-1,eh=Yd.length,Oh=eh-1;for(gf=gf===nd?eh:gf;++Df<gf;){var Xh=wS(Df,Oh),Nm=Yd[Xh];Yd[Xh]=Yd[Df],Yd[Df]=Nm}return Yd.length=gf,Yd}var P_=$m(function(Yd){var gf=[];return Yd.charCodeAt(0)===46&&gf.push(""),Yd.replace(M_,function(Df,eh,Oh,Xh){gf.push(Oh?Xh.replace(wh,"$1"):eh||Df)}),gf});function U_(Yd){if(typeof Yd=="string"||g0(Yd))return Yd;var gf=Yd+"";return gf=="0"&&1/Yd==-If?"-0":gf}function K_(Yd){if(Yd!=null){try{return Hv.call(Yd)}catch{}try{return Yd+""}catch{}}return""}function X_(Yd,gf){return $b(Wf,function(Df){var eh="_."+Df[0];gf&Df[1]&&!kv(Yd,eh)&&Yd.push(eh)}),Yd.sort()}function Ab(Yd){if(Yd instanceof Yg)return Yd.clone();var gf=new C_(Yd.__wrapped__,Yd.__chain__);return gf.__actions__=Pb(Yd.__actions__),gf.__index__=Yd.__index__,gf.__values__=Yd.__values__,gf}function yb(Yd,gf,Df){(Df?Zd(Yd,gf,Df):gf===nd)?gf=1:gf=L_(l_(gf),0);var eh=Yd==null?0:Yd.length;if(!eh||gf<1)return[];for(var Oh=0,Xh=0,Nm=Hm(wE(eh/gf));Oh<eh;)Nm[Xh++]=db(Yd,Oh,Oh+=gf);return Nm}function rb(Yd){for(var gf=-1,Df=Yd==null?0:Yd.length,eh=0,Oh=[];++gf<Df;){var Xh=Yd[gf];Xh&&(Oh[eh++]=Xh)}return Oh}function Q_(){var Yd=arguments.length;if(!Yd)return[];for(var gf=Hm(Yd-1),Df=arguments[0],eh=Yd;eh--;)gf[eh-1]=arguments[eh];return i0(s_(Df)?Pb(Df):[Df],ub(gf,1))}var H_=o_(function(Yd,gf){return hb(Yd)?kE(Yd,ub(gf,1,hb,!0)):[]}),Rb=o_(function(Yd,gf){var Df=I0(gf);return hb(Df)&&(Df=nd),hb(Yd)?kE(Yd,ub(gf,1,hb,!0),Wg(Df,2)):[]}),pE=o_(function(Yd,gf){var Df=I0(gf);return hb(Df)&&(Df=nd),hb(Yd)?kE(Yd,ub(gf,1,hb,!0),nd,Df):[]});function Ay(Yd,gf,Df){var eh=Yd==null?0:Yd.length;return eh?(gf=Df||gf===nd?1:l_(gf),db(Yd,gf<0?0:gf,eh)):[]}function Sb(Yd,gf,Df){var eh=Yd==null?0:Yd.length;return eh?(gf=Df||gf===nd?1:l_(gf),gf=eh-gf,db(Yd,0,gf<0?0:gf)):[]}function N0(Yd,gf){return Yd&&Yd.length?LE(Yd,Wg(gf,3),!0,!0):[]}function fb(Yd,gf){return Yd&&Yd.length?LE(Yd,Wg(gf,3),!0):[]}function $T(Yd,gf,Df,eh){var Oh=Yd==null?0:Yd.length;return Oh?(Df&&typeof Df!="number"&&Zd(Yd,gf,Df)&&(Df=0,eh=Oh),ix(Yd,gf,Df,eh)):[]}function D0(Yd,gf,Df){var eh=Yd==null?0:Yd.length;if(!eh)return-1;var Oh=Df==null?0:l_(Df);return Oh<0&&(Oh=L_(eh+Oh,0)),Hd(Yd,Wg(gf,3),Oh)}function Ny(Yd,gf,Df){var eh=Yd==null?0:Yd.length;if(!eh)return-1;var Oh=eh-1;return Df!==nd&&(Oh=l_(Df),Oh=Df<0?L_(eh+Oh,0):tb(Oh,eh-1)),Hd(Yd,Wg(gf,3),Oh,!0)}function Dy(Yd){var gf=Yd==null?0:Yd.length;return gf?ub(Yd,1):[]}function wb(Yd){var gf=Yd==null?0:Yd.length;return gf?ub(Yd,If):[]}function fE(Yd,gf){var Df=Yd==null?0:Yd.length;return Df?(gf=gf===nd?1:l_(gf),ub(Yd,gf)):[]}function PT(Yd){for(var gf=-1,Df=Yd==null?0:Yd.length,eh={};++gf<Df;){var Oh=Yd[gf];eh[Oh[0]]=Oh[1]}return eh}function F1(Yd){return Yd&&Yd.length?Yd[0]:nd}function DC(Yd,gf,Df){var eh=Yd==null?0:Yd.length;if(!eh)return-1;var Oh=Df==null?0:l_(Df);return Oh<0&&(Oh=L_(eh+Oh,0)),Qd(Yd,gf,Oh)}function IC(Yd){var gf=Yd==null?0:Yd.length;return gf?db(Yd,0,-1):[]}var RC=o_(function(Yd){var gf=k_(Yd,FE);return gf.length&&gf[0]===Yd[0]?Jv(gf):[]}),OC=o_(function(Yd){var gf=I0(Yd),Df=k_(Yd,FE);return gf===I0(Df)?gf=nd:Df.pop(),Df.length&&Df[0]===Yd[0]?Jv(Df,Wg(gf,2)):[]}),kC=o_(function(Yd){var gf=I0(Yd),Df=k_(Yd,FE);return gf=typeof gf=="function"?gf:nd,gf&&Df.pop(),Df.length&&Df[0]===Yd[0]?Jv(Df,nd,gf):[]});function MC(Yd,gf){return Yd==null?"":sT.call(Yd,gf)}function I0(Yd){var gf=Yd==null?0:Yd.length;return gf?Yd[gf-1]:nd}function $C(Yd,gf,Df){var eh=Yd==null?0:Yd.length;if(!eh)return-1;var Oh=eh;return Df!==nd&&(Oh=l_(Df),Oh=Oh<0?L_(eh+Oh,0):tb(Oh,eh-1)),gf===gf?Vx(Yd,gf,Oh):Hd(Yd,$f,Oh,!0)}function PC(Yd,gf){return Yd&&Yd.length?nE(Yd,l_(gf)):nd}var LC=o_(j1);function j1(Yd,gf){return Yd&&Yd.length&&gf&&gf.length?xT(Yd,gf):Yd}function BC(Yd,gf,Df){return Yd&&Yd.length&&gf&&gf.length?xT(Yd,gf,Wg(Df,2)):Yd}function FC(Yd,gf,Df){return Yd&&Yd.length&&gf&&gf.length?xT(Yd,gf,nd,Df):Yd}var jC=w0(function(Yd,gf){var Df=Yd==null?0:Yd.length,eh=Kv(Yd,gf);return Cb(Yd,k_(gf,function(Oh){return df(Oh,Df)?+Oh:Oh}).sort(DT)),eh});function UC(Yd,gf){var Df=[];if(!(Yd&&Yd.length))return Df;var eh=-1,Oh=[],Xh=Yd.length;for(gf=Wg(gf,3);++eh<Xh;){var Nm=Yd[eh];gf(Nm,eh,Yd)&&(Df.push(Nm),Oh.push(eh))}return Cb(Yd,Oh),Df}function v1(Yd){return Yd==null?Yd:NE.call(Yd)}function HC(Yd,gf,Df){var eh=Yd==null?0:Yd.length;return eh?(Df&&typeof Df!="number"&&Zd(Yd,gf,Df)?(gf=0,Df=eh):(gf=gf==null?0:l_(gf),Df=Df===nd?eh:l_(Df)),db(Yd,gf,Df)):[]}function GC(Yd,gf){return mv(Yd,gf)}function qC(Yd,gf,Df){return gv(Yd,gf,Wg(Df,2))}function VC(Yd,gf){var Df=Yd==null?0:Yd.length;if(Df){var eh=mv(Yd,gf);if(eh<Df&&G0(Yd[eh],gf))return eh}return-1}function zC(Yd,gf){return mv(Yd,gf,!0)}function WC(Yd,gf,Df){return gv(Yd,gf,Wg(Df,2),!0)}function YC(Yd,gf){var Df=Yd==null?0:Yd.length;if(Df){var eh=mv(Yd,gf,!0)-1;if(G0(Yd[eh],gf))return eh}return-1}function KC(Yd){return Yd&&Yd.length?C0(Yd):[]}function XC(Yd,gf){return Yd&&Yd.length?C0(Yd,Wg(gf,2)):[]}function QC(Yd){var gf=Yd==null?0:Yd.length;return gf?db(Yd,1,gf):[]}function JC(Yd,gf,Df){return Yd&&Yd.length?(gf=Df||gf===nd?1:l_(gf),db(Yd,0,gf<0?0:gf)):[]}function ZC(Yd,gf,Df){var eh=Yd==null?0:Yd.length;return eh?(gf=Df||gf===nd?1:l_(gf),gf=eh-gf,db(Yd,gf<0?0:gf,eh)):[]}function eA(Yd,gf){return Yd&&Yd.length?LE(Yd,Wg(gf,3),!1,!0):[]}function tA(Yd,gf){return Yd&&Yd.length?LE(Yd,Wg(gf,3)):[]}var rA=o_(function(Yd){return Ub(ub(Yd,1,hb,!0))}),nA=o_(function(Yd){var gf=I0(Yd);return hb(gf)&&(gf=nd),Ub(ub(Yd,1,hb,!0),Wg(gf,2))}),iA=o_(function(Yd){var gf=I0(Yd);return gf=typeof gf=="function"?gf:nd,Ub(ub(Yd,1,hb,!0),nd,gf)});function sA(Yd){return Yd&&Yd.length?Ub(Yd):[]}function oA(Yd,gf){return Yd&&Yd.length?Ub(Yd,Wg(gf,2)):[]}function lA(Yd,gf){return gf=typeof gf=="function"?gf:nd,Yd&&Yd.length?Ub(Yd,nd,gf):[]}function E1(Yd){if(!(Yd&&Yd.length))return[];var gf=0;return Yd=v0(Yd,function(Df){if(hb(Df))return gf=L_(Df.length,gf),!0}),yg(gf,function(Df){return k_(Yd,kh(Df))})}function U1(Yd,gf){if(!(Yd&&Yd.length))return[];var Df=E1(Yd);return gf==null?Df:k_(Df,function(eh){return Db(gf,nd,eh)})}var uA=o_(function(Yd,gf){return hb(Yd)?kE(Yd,gf):[]}),cA=o_(function(Yd){return uy(v0(Yd,hb))}),dA=o_(function(Yd){var gf=I0(Yd);return hb(gf)&&(gf=nd),uy(v0(Yd,hb),Wg(gf,2))}),pA=o_(function(Yd){var gf=I0(Yd);return gf=typeof gf=="function"?gf:nd,uy(v0(Yd,hb),nd,gf)}),fA=o_(E1);function hA(Yd,gf){return IS(Yd||[],gf||[],Wv)}function mA(Yd,gf){return IS(Yd||[],gf||[],iE)}var gA=o_(function(Yd){var gf=Yd.length,Df=gf>1?Yd[gf-1]:nd;return Df=typeof Df=="function"?(Yd.pop(),Df):nd,U1(Yd,Df)});function H1(Yd){var gf=Vh(Yd);return gf.__chain__=!0,gf}function _A(Yd,gf){return gf(Yd),Yd}function Px(Yd,gf){return gf(Yd)}var yA=w0(function(Yd){var gf=Yd.length,Df=gf?Yd[0]:0,eh=this.__wrapped__,Oh=function(Xh){return Kv(Xh,Yd)};return gf>1||this.__actions__.length||!(eh instanceof Yg)||!df(Df)?this.thru(Oh):(eh=eh.slice(Df,+Df+(gf?1:0)),eh.__actions__.push({func:Px,args:[Oh],thisArg:nd}),new C_(eh,this.__chain__).thru(function(Xh){return gf&&!Xh.length&&Xh.push(nd),Xh}))});function vA(){return H1(this)}function EA(){return new C_(this.value(),this.__chain__)}function SA(){this.__values__===nd&&(this.__values__=rC(this.value()));var Yd=this.__index__>=this.__values__.length,gf=Yd?nd:this.__values__[this.__index__++];return{done:Yd,value:gf}}function TA(){return this}function xA(Yd){for(var gf,Df=this;Df instanceof Eb;){var eh=Ab(Df);eh.__index__=0,eh.__values__=nd,gf?Oh.__wrapped__=eh:gf=eh;var Oh=eh;Df=Df.__wrapped__}return Oh.__wrapped__=Yd,gf}function CA(){var Yd=this.__wrapped__;if(Yd instanceof Yg){var gf=Yd;return this.__actions__.length&&(gf=new Yg(this)),gf=gf.reverse(),gf.__actions__.push({func:Px,args:[v1],thisArg:nd}),new C_(gf,this.__chain__)}return this.thru(v1)}function AA(){return BE(this.__wrapped__,this.__actions__)}var wA=oE(function(Yd,gf,Df){T_.call(Yd,Df)?++Yd[Df]:j0(Yd,Df,1)});function NA(Yd,gf,Df){var eh=s_(Yd)?Ly:s1;return Df&&Zd(Yd,gf,Df)&&(gf=nd),eh(Yd,Wg(gf,3))}function DA(Yd,gf){var Df=s_(Yd)?v0:dv;return Df(Yd,Wg(gf,3))}var IA=RT(D0),RA=RT(Ny);function OA(Yd,gf){return ub(Lx(Yd,gf),1)}function kA(Yd,gf){return ub(Lx(Yd,gf),If)}function MA(Yd,gf,Df){return Df=Df===nd?1:l_(Df),ub(Lx(Yd,gf),Df)}function G1(Yd,gf){var Df=s_(Yd)?$b:f0;return Df(Yd,Wg(gf,3))}function q1(Yd,gf){var Df=s_(Yd)?oS:gT;return Df(Yd,Wg(gf,3))}var $A=oE(function(Yd,gf,Df){T_.call(Yd,Df)?Yd[Df].push(gf):j0(Yd,Df,[gf])});function PA(Yd,gf,Df,eh){Yd=Zb(Yd)?Yd:US(Yd),Df=Df&&!eh?l_(Df):0;var Oh=Yd.length;return Df<0&&(Df=L_(Oh+Df,0)),Hx(Yd)?Df<=Oh&&Yd.indexOf(gf,Df)>-1:!!Oh&&Qd(Yd,gf,Df)>-1}var LA=o_(function(Yd,gf,Df){var eh=-1,Oh=typeof gf=="function",Xh=Zb(Yd)?Hm(Yd.length):[];return f0(Yd,function(Nm){Xh[++eh]=Oh?Db(gf,Nm,Df):Zv(Nm,gf,Df)}),Xh}),BA=oE(function(Yd,gf,Df){j0(Yd,Df,gf)});function Lx(Yd,gf){var Df=s_(Yd)?k_:ST;return Df(Yd,Wg(gf,3))}function FA(Yd,gf,Df,eh){return Yd==null?[]:(s_(gf)||(gf=gf==null?[]:[gf]),Df=eh?nd:Df,s_(Df)||(Df=Df==null?[]:[Df]),gx(Yd,gf,Df))}var jA=oE(function(Yd,gf,Df){Yd[Df?0:1].push(gf)},function(){return[[],[]]});function UA(Yd,gf,Df){var eh=s_(Yd)?xE:Sm,Oh=arguments.length<3;return eh(Yd,Wg(gf,4),Df,Oh,f0)}function HA(Yd,gf,Df){var eh=s_(Yd)?lS:Sm,Oh=arguments.length<3;return eh(Yd,Wg(gf,4),Df,Oh,gT)}function GA(Yd,gf){var Df=s_(Yd)?v0:dv;return Df(Yd,jx(Wg(gf,3)))}function qA(Yd){var gf=s_(Yd)?pT:vx;return gf(Yd)}function VA(Yd,gf,Df){(Df?Zd(Yd,gf,Df):gf===nd)?gf=1:gf=l_(gf);var eh=s_(Yd)?i1:Ex;return eh(Yd,gf)}function zA(Yd){var gf=s_(Yd)?fT:c1;return gf(Yd)}function WA(Yd){if(Yd==null)return 0;if(Zb(Yd))return Hx(Yd)?Uv(Yd):Yd.length;var gf=pb(Yd);return gf==Sh||gf==Mh?Yd.size:fv(Yd).length}function YA(Yd,gf,Df){var eh=s_(Yd)?K0:PE;return Df&&Zd(Yd,gf,Df)&&(gf=nd),eh(Yd,Wg(gf,3))}var KA=o_(function(Yd,gf){if(Yd==null)return[];var Df=gf.length;return Df>1&&Zd(Yd,gf[0],gf[1])?gf=[]:Df>2&&Zd(gf[0],gf[1],gf[2])&&(gf=[gf[0]]),gx(Yd,ub(gf,1),[])}),Bx=qv||function(){return x_.Date.now()};function XA(Yd,gf){if(typeof gf!="function")throw new Kb(dd);return Yd=l_(Yd),function(){if(--Yd<1)return gf.apply(this,arguments)}}function V1(Yd,gf,Df){return gf=Df?nd:gf,gf=Yd&&gf==null?Yd.length:gf,__(Yd,Jd,nd,nd,nd,nd,gf)}function z1(Yd,gf){var Df;if(typeof gf!="function")throw new Kb(dd);return Yd=l_(Yd),function(){return--Yd>0&&(Df=gf.apply(this,arguments)),Yd<=1&&(gf=nd),Df}}var S1=o_(function(Yd,gf,Df){var eh=Gd;if(Df.length){var Oh=Lb(Df,dE(S1));eh|=zd}return __(Yd,eh,gf,Df,Oh)}),W1=o_(function(Yd,gf,Df){var eh=Gd|jd;if(Df.length){var Oh=Lb(Df,dE(W1));eh|=zd}return __(gf,eh,Yd,Df,Oh)});function Y1(Yd,gf,Df){gf=Df?nd:gf;var eh=__(Yd,Ud,nd,nd,nd,nd,nd,gf);return eh.placeholder=Y1.placeholder,eh}function K1(Yd,gf,Df){gf=Df?nd:gf;var eh=__(Yd,qd,nd,nd,nd,nd,nd,gf);return eh.placeholder=K1.placeholder,eh}function X1(Yd,gf,Df){var eh,Oh,Xh,Nm,Rm,Fm,tg=0,rg=!1,sg=!1,Rg=!0;if(typeof Yd!="function")throw new Kb(dd);gf=R0(gf)||0,J_(Df)&&(rg=!!Df.leading,sg="maxWait"in Df,Xh=sg?L_(R0(Df.maxWait)||0,gf):Xh,Rg="trailing"in Df?!!Df.trailing:Rg);function Hg(mb){var q0=eh,Ev=Oh;return eh=Oh=nd,tg=mb,Nm=Yd.apply(Ev,q0),Nm}function Qg(mb){return tg=mb,Rm=jg(f_,gf),rg?Hg(mb):Nm}function c_(mb){var q0=mb-Fm,Ev=mb-tg,yC=gf-q0;return sg?tb(yC,Xh-Ev):yC}function Jg(mb){var q0=mb-Fm,Ev=mb-tg;return Fm===nd||q0>=gf||q0<0||sg&&Ev>=Xh}function f_(){var mb=Bx();if(Jg(mb))return b_(mb);Rm=jg(f_,c_(mb))}function b_(mb){return Rm=nd,Rg&&eh?Hg(mb):(eh=Oh=nd,Nm)}function _0(){Rm!==nd&&xx(Rm),tg=0,eh=Fm=Oh=Rm=nd}function Hb(){return Rm===nd?Nm:b_(Bx())}function b0(){var mb=Bx(),q0=Jg(mb);if(eh=arguments,Oh=this,Fm=mb,q0){if(Rm===nd)return Qg(Fm);if(sg)return xx(Rm),Rm=jg(f_,gf),Hg(Fm)}return Rm===nd&&(Rm=jg(f_,gf)),Nm}return b0.cancel=_0,b0.flush=Hb,b0}var QA=o_(function(Yd,gf){return nx(Yd,1,gf)}),JA=o_(function(Yd,gf,Df){return nx(Yd,R0(gf)||0,Df)});function ZA(Yd){return __(Yd,Xd)}function Fx(Yd,gf){if(typeof Yd!="function"||gf!=null&&typeof gf!="function")throw new Kb(dd);var Df=function(){var eh=arguments,Oh=gf?gf.apply(this,eh):eh[0],Xh=Df.cache;if(Xh.has(Oh))return Xh.get(Oh);var Nm=Yd.apply(this,eh);return Df.cache=Xh.set(Oh,Nm)||Xh,Nm};return Df.cache=new(Fx.Cache||d0),Df}Fx.Cache=d0;function jx(Yd){if(typeof Yd!="function")throw new Kb(dd);return function(){var gf=arguments;switch(gf.length){case 0:return!Yd.call(this);case 1:return!Yd.call(this,gf[0]);case 2:return!Yd.call(this,gf[0],gf[1]);case 3:return!Yd.call(this,gf[0],gf[1],gf[2])}return!Yd.apply(this,gf)}}function ew(Yd){return z1(2,Yd)}var tw=UE(function(Yd,gf){gf=gf.length==1&&s_(gf[0])?k_(gf[0],e_(Wg())):k_(ub(gf,1),e_(Wg()));var Df=gf.length;return o_(function(eh){for(var Oh=-1,Xh=tb(eh.length,Df);++Oh<Xh;)eh[Oh]=gf[Oh].call(this,eh[Oh]);return Db(Yd,this,eh)})}),T1=o_(function(Yd,gf){var Df=Lb(gf,dE(T1));return __(Yd,zd,nd,gf,Df)}),Q1=o_(function(Yd,gf){var Df=Lb(gf,dE(Q1));return __(Yd,Wd,nd,gf,Df)}),rw=w0(function(Yd,gf){return __(Yd,_f,nd,nd,nd,gf)});function nw(Yd,gf){if(typeof Yd!="function")throw new Kb(dd);return gf=gf===nd?gf:l_(gf),o_(Yd,gf)}function iw(Yd,gf){if(typeof Yd!="function")throw new Kb(dd);return gf=gf==null?0:L_(l_(gf),0),o_(function(Df){var eh=Df[gf],Oh=H0(Df,0,gf);return eh&&i0(Oh,eh),Db(Yd,this,Oh)})}function sw(Yd,gf,Df){var eh=!0,Oh=!0;if(typeof Yd!="function")throw new Kb(dd);return J_(Df)&&(eh="leading"in Df?!!Df.leading:eh,Oh="trailing"in Df?!!Df.trailing:Oh),X1(Yd,gf,{leading:eh,maxWait:gf,trailing:Oh})}function ow(Yd){return V1(Yd,1)}function lw(Yd,gf){return T1(jE(gf),Yd)}function uw(){if(!arguments.length)return[];var Yd=arguments[0];return s_(Yd)?Yd:[Yd]}function dw(Yd){return Fb(Yd,Od)}function pw(Yd,gf){return gf=typeof gf=="function"?gf:nd,Fb(Yd,Od,gf)}function fw(Yd){return Fb(Yd,Ad|Od)}function hw(Yd,gf){return gf=typeof gf=="function"?gf:nd,Fb(Yd,Ad|Od,gf)}function mw(Yd,gf){return gf==null||mT(Yd,gf,Nb(gf))}function G0(Yd,gf){return Yd===gf||Yd!==Yd&&gf!==gf}var gw=qE(AS),_w=qE(function(Yd,gf){return Yd>=gf}),XE=vT(function(){return arguments}())?vT:function(Yd){return nb(Yd)&&T_.call(Yd,"callee")&&!mS.call(Yd,"callee")},s_=Hm.isArray,yw=Py?e_(Py):eE;function Zb(Yd){return Yd!=null&&Ux(Yd.length)&&!yv(Yd)}function hb(Yd){return nb(Yd)&&Zb(Yd)}function vw(Yd){return Yd===!0||Yd===!1||nb(Yd)&&_b(Yd)==xf}var hE=Wx||M1,Ew=Wb?e_(Wb):ux;function Sw(Yd){return nb(Yd)&&Yd.nodeType===1&&!LT(Yd)}function Tw(Yd){if(Yd==null)return!0;if(Zb(Yd)&&(s_(Yd)||typeof Yd=="string"||typeof Yd.splice=="function"||hE(Yd)||jS(Yd)||XE(Yd)))return!Yd.length;var gf=pb(Yd);if(gf==Sh||gf==Mh)return!Yd.size;if(Ah(Yd))return!fv(Yd).length;for(var Df in Yd)if(T_.call(Yd,Df))return!1;return!0}function xw(Yd,gf){return oy(Yd,gf)}function Cw(Yd,gf,Df){Df=typeof Df=="function"?Df:nd;var eh=Df?Df(Yd,gf):nd;return eh===nd?oy(Yd,gf,nd,Df):!!eh}function x1(Yd){if(!nb(Yd))return!1;var gf=_b(Yd);return gf==Rh||gf==dh||typeof Yd.message=="string"&&typeof Yd.name=="string"&&!LT(Yd)}function Aw(Yd){return typeof Yd=="number"&&WT(Yd)}function yv(Yd){if(!J_(Yd))return!1;var gf=_b(Yd);return gf==th||gf==Bf||gf==Cf||gf==Zf}function J1(Yd){return typeof Yd=="number"&&Yd==l_(Yd)}function Ux(Yd){return typeof Yd=="number"&&Yd>-1&&Yd%1==0&&Yd<=Gf}function J_(Yd){var gf=typeof Yd;return Yd!=null&&(gf=="object"||gf=="function")}function nb(Yd){return Yd!=null&&typeof Yd=="object"}var Z1=Y0?e_(Y0):ME;function ww(Yd,gf){return Yd===gf||ET(Yd,gf,S_(gf))}function Nw(Yd,gf,Df){return Df=typeof Df=="function"?Df:nd,ET(Yd,gf,S_(gf),Df)}function Dw(Yd){return eC(Yd)&&Yd!=+Yd}function Iw(Yd){if(yh(Yd))throw new t_(ud);return pv(Yd)}function Rw(Yd){return Yd===null}function Ow(Yd){return Yd==null}function eC(Yd){return typeof Yd=="number"||nb(Yd)&&_b(Yd)==Fh}function LT(Yd){if(!nb(Yd)||_b(Yd)!=Pf)return!1;var gf=Q0(Yd);if(gf===null)return!0;var Df=T_.call(gf,"constructor")&&gf.constructor;return typeof Df=="function"&&Df instanceof Df&&Hv.call(Df)==Qy}var C1=Ov?e_(Ov):px;function kw(Yd){return J1(Yd)&&Yd>=-Gf&&Yd<=Gf}var tC=n0?e_(n0):fx;function Hx(Yd){return typeof Yd=="string"||!s_(Yd)&&nb(Yd)&&_b(Yd)==_h}function g0(Yd){return typeof Yd=="symbol"||nb(Yd)&&_b(Yd)==pm}var jS=sS?e_(sS):hx;function Mw(Yd){return Yd===nd}function $w(Yd){return nb(Yd)&&pb(Yd)==Mm}function Pw(Yd){return nb(Yd)&&_b(Yd)==Im}var Lw=qE(hv),Bw=qE(function(Yd,gf){return Yd<=gf});function rC(Yd){if(!Yd)return[];if(Zb(Yd))return Hx(Yd)?a0(Yd):Pb(Yd);if(Zy&&Yd[Zy])return qx(Yd[Zy]());var gf=pb(Yd),Df=gf==Sh?cS:gf==Mh?Bb:US;return Df(Yd)}function vv(Yd){if(!Yd)return Yd===0?Yd:0;if(Yd=R0(Yd),Yd===If||Yd===-If){var gf=Yd<0?-1:1;return gf*Qf}return Yd===Yd?Yd:0}function l_(Yd){var gf=vv(Yd),Df=gf%1;return gf===gf?Df?gf-Df:gf:0}function nC(Yd){return Yd?U0(l_(Yd),0,ph):0}function R0(Yd){if(typeof Yd=="number")return Yd;if(g0(Yd))return Xf;if(J_(Yd)){var gf=typeof Yd.valueOf=="function"?Yd.valueOf():Yd;Yd=J_(gf)?gf+"":gf}if(typeof Yd!="string")return Yd===0?Yd:+Yd;Yd=Og(Yd);var Df=Tm.test(Yd);return Df||Zh.test(Yd)?$y(Yd.slice(2),Df?2:8):dm.test(Yd)?Xf:+Yd}function iC(Yd){return m0(Yd,e0(Yd))}function Fw(Yd){return Yd?U0(l_(Yd),-Gf,Gf):Yd===0?Yd:0}function I_(Yd){return Yd==null?"":jb(Yd)}var jw=A0(function(Yd,gf){if(Ah(gf)||Zb(gf)){m0(gf,Nb(gf),Yd);return}for(var Df in gf)T_.call(gf,Df)&&Wv(Yd,Df,gf[Df])}),sC=A0(function(Yd,gf){m0(gf,e0(gf),Yd)}),Gx=A0(function(Yd,gf,Df,eh){m0(gf,e0(gf),Yd,eh)}),Uw=A0(function(Yd,gf,Df,eh){m0(gf,Nb(gf),Yd,eh)}),Hw=w0(Kv);function Gw(Yd,gf){var Df=zv(Yd);return gf==null?Df:hT(Df,gf)}var qw=o_(function(Yd,gf){Yd=D_(Yd);var Df=-1,eh=gf.length,Oh=eh>2?gf[2]:nd;for(Oh&&Zd(gf[0],gf[1],Oh)&&(eh=1);++Df<eh;)for(var Xh=gf[Df],Nm=e0(Xh),Rm=-1,Fm=Nm.length;++Rm<Fm;){var tg=Nm[Rm],rg=Yd[tg];(rg===nd||G0(rg,s0[tg])&&!T_.call(Yd,tg))&&(Yd[tg]=Xh[tg])}return Yd}),Vw=o_(function(Yd){return Yd.push(nd,$S),Db(oC,nd,Yd)});function zw(Yd,gf){return Kd(Yd,Wg(gf,3),Qb)}function Ww(Yd,gf){return Kd(Yd,Wg(gf,3),xS)}function Yw(Yd,gf){return Yd==null?Yd:Xv(Yd,Wg(gf,3),e0)}function Kw(Yd,gf){return Yd==null?Yd:yT(Yd,Wg(gf,3),e0)}function Xw(Yd,gf){return Yd&&Qb(Yd,Wg(gf,3))}function Qw(Yd,gf){return Yd&&xS(Yd,Wg(gf,3))}function Jw(Yd){return Yd==null?[]:CS(Yd,Nb(Yd))}function Zw(Yd){return Yd==null?[]:CS(Yd,e0(Yd))}function A1(Yd,gf,Df){var eh=Yd==null?nd:sy(Yd,gf);return eh===nd?Df:eh}function eN(Yd,gf){return Yd!=null&&Mx(Yd,gf,sx)}function w1(Yd,gf){return Yd!=null&&Mx(Yd,gf,ox)}var tN=OT(function(Yd,gf,Df){gf!=null&&typeof gf.toString!="function"&&(gf=S0.call(gf)),Yd[gf]=Df},D1(t0)),rN=OT(function(Yd,gf,Df){gf!=null&&typeof gf.toString!="function"&&(gf=S0.call(gf)),T_.call(Yd,gf)?Yd[gf].push(Df):Yd[gf]=[Df]},Wg),nN=o_(Zv);function Nb(Yd){return Zb(Yd)?SS(Yd):fv(Yd)}function e0(Yd){return Zb(Yd)?SS(Yd,!0):$E(Yd)}function iN(Yd,gf){var Df={};return gf=Wg(gf,3),Qb(Yd,function(eh,Oh,Xh){j0(Df,gf(eh,Oh,Xh),eh)}),Df}function sN(Yd,gf){var Df={};return gf=Wg(gf,3),Qb(Yd,function(eh,Oh,Xh){j0(Df,Oh,gf(eh,Oh,Xh))}),Df}var oN=A0(function(Yd,gf,Df){h0(Yd,gf,Df)}),oC=A0(function(Yd,gf,Df,eh){h0(Yd,gf,Df,eh)}),lN=w0(function(Yd,gf){var Df={};if(Yd==null)return Df;var eh=!1;gf=k_(gf,function(Xh){return Xh=Sy(Xh,Yd),eh||(eh=Xh.length>1),Xh}),m0(Yd,BS(Yd),Df),eh&&(Df=Fb(Df,Ad|Nd|Od,zE));for(var Oh=gf.length;Oh--;)DS(Df,gf[Oh]);return Df});function uN(Yd,gf){return lC(Yd,jx(Wg(gf)))}var cN=w0(function(Yd,gf){return Yd==null?{}:_x(Yd,gf)});function lC(Yd,gf){if(Yd==null)return{};var Df=k_(BS(Yd),function(eh){return[eh]});return gf=Wg(gf),yx(Yd,Df,function(eh,Oh){return gf(eh,Oh[0])})}function dN(Yd,gf,Df){gf=Sy(gf,Yd);var eh=-1,Oh=gf.length;for(Oh||(Oh=1,Yd=nd);++eh<Oh;){var Xh=Yd==null?nd:Yd[U_(gf[eh])];Xh===nd&&(eh=Oh,Xh=Df),Yd=yv(Xh)?Xh.call(Yd):Xh}return Yd}function pN(Yd,gf,Df){return Yd==null?Yd:iE(Yd,gf,Df)}function fN(Yd,gf,Df,eh){return eh=typeof eh=="function"?eh:nd,Yd==null?Yd:iE(Yd,gf,Df,eh)}var uC=Rx(Nb),cC=Rx(e0);function hN(Yd,gf,Df){var eh=s_(Yd),Oh=eh||hE(Yd)||jS(Yd);if(gf=Wg(gf,4),Df==null){var Xh=Yd&&Yd.constructor;Oh?Df=eh?new Xh:[]:J_(Yd)?Df=yv(Xh)?zv(Q0(Yd)):{}:Df={}}return(Oh?$b:Qb)(Yd,function(Nm,Rm,Fm){return gf(Df,Nm,Rm,Fm)}),Df}function mN(Yd,gf){return Yd==null?!0:DS(Yd,gf)}function gN(Yd,gf,Df){return Yd==null?Yd:AT(Yd,gf,jE(Df))}function _N(Yd,gf,Df,eh){return eh=typeof eh=="function"?eh:nd,Yd==null?Yd:AT(Yd,gf,jE(Df),eh)}function US(Yd){return Yd==null?[]:F_(Yd,Nb(Yd))}function yN(Yd){return Yd==null?[]:F_(Yd,e0(Yd))}function vN(Yd,gf,Df){return Df===nd&&(Df=gf,gf=nd),Df!==nd&&(Df=R0(Df),Df=Df===Df?Df:0),gf!==nd&&(gf=R0(gf),gf=gf===gf?gf:0),U0(R0(Yd),gf,Df)}function EN(Yd,gf,Df){return gf=vv(gf),Df===nd?(Df=gf,gf=0):Df=vv(Df),Yd=R0(Yd),Qv(Yd,gf,Df)}function SN(Yd,gf,Df){if(Df&&typeof Df!="boolean"&&Zd(Yd,gf,Df)&&(gf=Df=nd),Df===nd&&(typeof gf=="boolean"?(Df=gf,gf=nd):typeof Yd=="boolean"&&(Df=Yd,Yd=nd)),Yd===nd&&gf===nd?(Yd=0,gf=1):(Yd=vv(Yd),gf===nd?(gf=Yd,Yd=0):gf=vv(gf)),Yd>gf){var eh=Yd;Yd=gf,gf=eh}if(Df||Yd%1||gf%1){var Oh=lT();return tb(Yd+Oh*(gf-Yd+nS("1e-"+((Oh+"").length-1))),gf)}return wS(Yd,gf)}var TN=uE(function(Yd,gf,Df){return gf=gf.toLowerCase(),Yd+(Df?dC(gf):gf)});function dC(Yd){return N1(I_(Yd).toLowerCase())}function pC(Yd){return Yd=I_(Yd),Yd&&Yd.replace(Km,Lv).replace(JE,"")}function xN(Yd,gf,Df){Yd=I_(Yd),gf=jb(gf);var eh=Yd.length;Df=Df===nd?eh:U0(l_(Df),0,eh);var Oh=Df;return Df-=gf.length,Df>=0&&Yd.slice(Df,Oh)==gf}function CN(Yd){return Yd=I_(Yd),Yd&&Kg.test(Yd)?Yd.replace(ug,E0):Yd}function AN(Yd){return Yd=I_(Yd),Yd&&h_.test(Yd)?Yd.replace(B_,"\\$&"):Yd}var wN=uE(function(Yd,gf,Df){return Yd+(Df?"-":"")+gf.toLowerCase()}),NN=uE(function(Yd,gf,Df){return Yd+(Df?" ":"")+gf.toLowerCase()}),DN=Nx("toLowerCase");function IN(Yd,gf,Df){Yd=I_(Yd),gf=l_(gf);var eh=gf?Uv(Yd):0;if(!gf||eh>=gf)return Yd;var Oh=(gf-eh)/2;return MS(ev(Oh),Df)+Yd+MS(wE(Oh),Df)}function RN(Yd,gf,Df){Yd=I_(Yd),gf=l_(gf);var eh=gf?Uv(Yd):0;return gf&&eh<gf?Yd+MS(gf-eh,Df):Yd}function ON(Yd,gf,Df){Yd=I_(Yd),gf=l_(gf);var eh=gf?Uv(Yd):0;return gf&&eh<gf?MS(gf-eh,Df)+Yd:Yd}function kN(Yd,gf,Df){return Df||gf==null?gf=0:gf&&(gf=+gf),_S(I_(Yd).replace(y_,""),gf||0)}function MN(Yd,gf,Df){return(Df?Zd(Yd,gf,Df):gf===nd)?gf=1:gf=l_(gf),CT(I_(Yd),gf)}function $N(){var Yd=arguments,gf=I_(Yd[0]);return Yd.length<3?gf:gf.replace(Yd[1],Yd[2])}var PN=uE(function(Yd,gf,Df){return Yd+(Df?"_":"")+gf.toLowerCase()});function LN(Yd,gf,Df){return Df&&typeof Df!="number"&&Zd(Yd,gf,Df)&&(gf=Df=nd),Df=Df===nd?ph:Df>>>0,Df?(Yd=I_(Yd),Yd&&(typeof gf=="string"||gf!=null&&!C1(gf))&&(gf=jb(gf),!gf&&jv(Yd))?H0(a0(Yd),0,Df):Yd.split(gf,Df)):[]}var BN=uE(function(Yd,gf,Df){return Yd+(Df?" ":"")+N1(gf)});function FN(Yd,gf,Df){return Yd=I_(Yd),Df=Df==null?0:U0(l_(Df),0,Yd.length),gf=jb(gf),Yd.slice(Df,Df+gf.length)==gf}function jN(Yd,gf,Df){var eh=Vh.templateSettings;Df&&Zd(Yd,gf,Df)&&(gf=nd),Yd=I_(Yd),gf=Gx({},gf,eh,Ox);var Oh=Gx({},gf.imports,eh.imports,Ox),Xh=Nb(Oh),Nm=F_(Oh,Xh),Rm,Fm,tg=0,rg=gf.interpolate||xg,sg="__p += '",Rg=AE((gf.escape||xg).source+"|"+rg.source+"|"+(rg===Pg?Bh:xg).source+"|"+(gf.evaluate||xg).source+"|$","g"),Hg="//# sourceURL="+(T_.call(gf,"sourceURL")?(gf.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++tS+"]")+`
`;Yd.replace(Rg,function(Jg,f_,b_,_0,Hb,b0){return b_||(b_=_0),sg+=Yd.slice(tg,b0).replace(eg,Hy),f_&&(Rm=!0,sg+=`' +
__e(`+f_+`) +
'`),Hb&&(Fm=!0,sg+=`';
`+Hb+`;
__p += '`),b_&&(sg+=`' +
((__t = (`+b_+`)) == null ? '' : __t) +
'`),tg=b0+Jg.length,Jg}),sg+=`';
`;var Qg=T_.call(gf,"variable")&&gf.variable;if(!Qg)sg=`with (obj) {
`+sg+`
}
`;else if(Uh.test(Qg))throw new t_(pd);sg=(Fm?sg.replace(zm,""):sg).replace(jm,"$1").replace(ig,"$1;"),sg="function("+(Qg||"obj")+`) {
`+(Qg?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(Rm?", __e = _.escape":"")+(Fm?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+sg+`return __p
}`;var c_=mC(function(){return g_(Xh,Hg+"return "+sg).apply(nd,Nm)});if(c_.source=sg,x1(c_))throw c_;return c_}function UN(Yd){return I_(Yd).toLowerCase()}function HN(Yd){return I_(Yd).toUpperCase()}function GN(Yd,gf,Df){if(Yd=I_(Yd),Yd&&(Df||gf===nd))return Og(Yd);if(!Yd||!(gf=jb(gf)))return Yd;var eh=a0(Yd),Oh=a0(gf),Xh=v_(eh,Oh),Nm=ob(eh,Oh)+1;return H0(eh,Xh,Nm).join("")}function qN(Yd,gf,Df){if(Yd=I_(Yd),Yd&&(Df||gf===nd))return Yd.slice(0,ZS(Yd)+1);if(!Yd||!(gf=jb(gf)))return Yd;var eh=a0(Yd),Oh=ob(eh,a0(gf))+1;return H0(eh,0,Oh).join("")}function VN(Yd,gf,Df){if(Yd=I_(Yd),Yd&&(Df||gf===nd))return Yd.replace(y_,"");if(!Yd||!(gf=jb(gf)))return Yd;var eh=a0(Yd),Oh=v_(eh,a0(gf));return H0(eh,Oh).join("")}function zN(Yd,gf){var Df=pf,eh=mf;if(J_(gf)){var Oh="separator"in gf?gf.separator:Oh;Df="length"in gf?l_(gf.length):Df,eh="omission"in gf?jb(gf.omission):eh}Yd=I_(Yd);var Xh=Yd.length;if(jv(Yd)){var Nm=a0(Yd);Xh=Nm.length}if(Df>=Xh)return Yd;var Rm=Df-Uv(eh);if(Rm<1)return eh;var Fm=Nm?H0(Nm,0,Rm).join(""):Yd.slice(0,Rm);if(Oh===nd)return Fm+eh;if(Nm&&(Rm+=Fm.length-Rm),C1(Oh)){if(Yd.slice(Rm).search(Oh)){var tg,rg=Fm;for(Oh.global||(Oh=AE(Oh.source,I_(fm.exec(Oh))+"g")),Oh.lastIndex=0;tg=Oh.exec(rg);)var sg=tg.index;Fm=Fm.slice(0,sg===nd?Rm:sg)}}else if(Yd.indexOf(jb(Oh),Rm)!=Rm){var Rg=Fm.lastIndexOf(Oh);Rg>-1&&(Fm=Fm.slice(0,Rg))}return Fm+eh}function WN(Yd){return Yd=I_(Yd),Yd&&wg.test(Yd)?Yd.replace(Zm,HT):Yd}var YN=uE(function(Yd,gf,Df){return Yd+(Df?" ":"")+gf.toUpperCase()}),N1=Nx("toUpperCase");function hC(Yd,gf,Df){return Yd=I_(Yd),gf=Df?nd:gf,gf===nd?FT(Yd)?qT(Yd):QS(Yd):Yd.match(gf)||[]}var mC=o_(function(Yd,gf){try{return Db(Yd,nd,gf)}catch(Df){return x1(Df)?Df:new t_(Df)}}),KN=w0(function(Yd,gf){return $b(gf,function(Df){Df=U_(Df),j0(Yd,Df,S1(Yd[Df],Yd))}),Yd});function XN(Yd){var gf=Yd==null?0:Yd.length,Df=Wg();return Yd=gf?k_(Yd,function(eh){if(typeof eh[1]!="function")throw new Kb(dd);return[Df(eh[0]),eh[1]]}):[],o_(function(eh){for(var Oh=-1;++Oh<gf;){var Xh=Yd[Oh];if(Db(Xh[0],this,eh))return Db(Xh[1],this,eh)}})}function QN(Yd){return a1(Fb(Yd,Ad))}function D1(Yd){return function(){return Yd}}function JN(Yd,gf){return Yd==null||Yd!==Yd?gf:Yd}var ZN=Dx(),eD=Dx(!0);function t0(Yd){return Yd}function I1(Yd){return tE(typeof Yd=="function"?Yd:Fb(Yd,Ad))}function tD(Yd){return mx(Fb(Yd,Ad))}function rD(Yd,gf){return TT(Yd,Fb(gf,Ad))}var nD=o_(function(Yd,gf){return function(Df){return Zv(Df,Yd,gf)}}),iD=o_(function(Yd,gf){return function(Df){return Zv(Yd,Df,gf)}});function R1(Yd,gf,Df){var eh=Nb(gf),Oh=CS(gf,eh);Df==null&&!(J_(gf)&&(Oh.length||!eh.length))&&(Df=gf,gf=Yd,Yd=this,Oh=CS(gf,Nb(gf)));var Xh=!(J_(Df)&&"chain"in Df)||!!Df.chain,Nm=yv(Yd);return $b(Oh,function(Rm){var Fm=gf[Rm];Yd[Rm]=Fm,Nm&&(Yd.prototype[Rm]=function(){var tg=this.__chain__;if(Xh||tg){var rg=Yd(this.__wrapped__),sg=rg.__actions__=Pb(this.__actions__);return sg.push({func:Fm,args:arguments,thisArg:Yd}),rg.__chain__=tg,rg}return Fm.apply(Yd,i0([this.value()],arguments))})}),Yd}function sD(){return x_._===this&&(x_._=Ib),this}function O1(){}function oD(Yd){return Yd=l_(Yd),o_(function(gf){return nE(gf,Yd)})}var lD=kS(k_),uD=kS(Ly),cD=kS(K0);function gC(Yd){return yf(Yd)?kh(U_(Yd)):o1(Yd)}function dD(Yd){return function(gf){return Yd==null?nd:sy(Yd,gf)}}var pD=_v(),fD=_v(!0);function k1(){return[]}function M1(){return!1}function hD(){return{}}function mD(){return""}function gD(){return!0}function _D(Yd,gf){if(Yd=l_(Yd),Yd<1||Yd>Gf)return[];var Df=ph,eh=tb(Yd,ph);gf=Wg(gf),Yd-=ph;for(var Oh=yg(eh,gf);++Df<Yd;)gf(Df);return Oh}function yD(Yd){return s_(Yd)?k_(Yd,U_):g0(Yd)?[Yd]:Pb(P_(I_(Yd)))}function vD(Yd){var gf=++VT;return I_(Yd)+gf}var ED=cE(function(Yd,gf){return Yd+gf},0),SD=kT("ceil"),TD=cE(function(Yd,gf){return Yd/gf},1),xD=kT("floor");function CD(Yd){return Yd&&Yd.length?TS(Yd,t0,AS):nd}function AD(Yd,gf){return Yd&&Yd.length?TS(Yd,Wg(gf,2),AS):nd}function wD(Yd){return gh(Yd,t0)}function ND(Yd,gf){return gh(Yd,Wg(gf,2))}function DD(Yd){return Yd&&Yd.length?TS(Yd,t0,hv):nd}function ID(Yd,gf){return Yd&&Yd.length?TS(Yd,Wg(gf,2),hv):nd}var RD=cE(function(Yd,gf){return Yd*gf},1),OD=kT("round"),kD=cE(function(Yd,gf){return Yd-gf},0);function MD(Yd){return Yd&&Yd.length?Qm(Yd,t0):0}function $D(Yd,gf){return Yd&&Yd.length?Qm(Yd,Wg(gf,2)):0}return Vh.after=XA,Vh.ary=V1,Vh.assign=jw,Vh.assignIn=sC,Vh.assignInWith=Gx,Vh.assignWith=Uw,Vh.at=Hw,Vh.before=z1,Vh.bind=S1,Vh.bindAll=KN,Vh.bindKey=W1,Vh.castArray=uw,Vh.chain=H1,Vh.chunk=yb,Vh.compact=rb,Vh.concat=Q_,Vh.cond=XN,Vh.conforms=QN,Vh.constant=D1,Vh.countBy=wA,Vh.create=Gw,Vh.curry=Y1,Vh.curryRight=K1,Vh.debounce=X1,Vh.defaults=qw,Vh.defaultsDeep=Vw,Vh.defer=QA,Vh.delay=JA,Vh.difference=H_,Vh.differenceBy=Rb,Vh.differenceWith=pE,Vh.drop=Ay,Vh.dropRight=Sb,Vh.dropRightWhile=N0,Vh.dropWhile=fb,Vh.fill=$T,Vh.filter=DA,Vh.flatMap=OA,Vh.flatMapDeep=kA,Vh.flatMapDepth=MA,Vh.flatten=Dy,Vh.flattenDeep=wb,Vh.flattenDepth=fE,Vh.flip=ZA,Vh.flow=ZN,Vh.flowRight=eD,Vh.fromPairs=PT,Vh.functions=Jw,Vh.functionsIn=Zw,Vh.groupBy=$A,Vh.initial=IC,Vh.intersection=RC,Vh.intersectionBy=OC,Vh.intersectionWith=kC,Vh.invert=tN,Vh.invertBy=rN,Vh.invokeMap=LA,Vh.iteratee=I1,Vh.keyBy=BA,Vh.keys=Nb,Vh.keysIn=e0,Vh.map=Lx,Vh.mapKeys=iN,Vh.mapValues=sN,Vh.matches=tD,Vh.matchesProperty=rD,Vh.memoize=Fx,Vh.merge=oN,Vh.mergeWith=oC,Vh.method=nD,Vh.methodOf=iD,Vh.mixin=R1,Vh.negate=jx,Vh.nthArg=oD,Vh.omit=lN,Vh.omitBy=uN,Vh.once=ew,Vh.orderBy=FA,Vh.over=lD,Vh.overArgs=tw,Vh.overEvery=uD,Vh.overSome=cD,Vh.partial=T1,Vh.partialRight=Q1,Vh.partition=jA,Vh.pick=cN,Vh.pickBy=lC,Vh.property=gC,Vh.propertyOf=dD,Vh.pull=LC,Vh.pullAll=j1,Vh.pullAllBy=BC,Vh.pullAllWith=FC,Vh.pullAt=jC,Vh.range=pD,Vh.rangeRight=fD,Vh.rearg=rw,Vh.reject=GA,Vh.remove=UC,Vh.rest=nw,Vh.reverse=v1,Vh.sampleSize=VA,Vh.set=pN,Vh.setWith=fN,Vh.shuffle=zA,Vh.slice=HC,Vh.sortBy=KA,Vh.sortedUniq=KC,Vh.sortedUniqBy=XC,Vh.split=LN,Vh.spread=iw,Vh.tail=QC,Vh.take=JC,Vh.takeRight=ZC,Vh.takeRightWhile=eA,Vh.takeWhile=tA,Vh.tap=_A,Vh.throttle=sw,Vh.thru=Px,Vh.toArray=rC,Vh.toPairs=uC,Vh.toPairsIn=cC,Vh.toPath=yD,Vh.toPlainObject=iC,Vh.transform=hN,Vh.unary=ow,Vh.union=rA,Vh.unionBy=nA,Vh.unionWith=iA,Vh.uniq=sA,Vh.uniqBy=oA,Vh.uniqWith=lA,Vh.unset=mN,Vh.unzip=E1,Vh.unzipWith=U1,Vh.update=gN,Vh.updateWith=_N,Vh.values=US,Vh.valuesIn=yN,Vh.without=uA,Vh.words=hC,Vh.wrap=lw,Vh.xor=cA,Vh.xorBy=dA,Vh.xorWith=pA,Vh.zip=fA,Vh.zipObject=hA,Vh.zipObjectDeep=mA,Vh.zipWith=gA,Vh.entries=uC,Vh.entriesIn=cC,Vh.extend=sC,Vh.extendWith=Gx,R1(Vh,Vh),Vh.add=ED,Vh.attempt=mC,Vh.camelCase=TN,Vh.capitalize=dC,Vh.ceil=SD,Vh.clamp=vN,Vh.clone=dw,Vh.cloneDeep=fw,Vh.cloneDeepWith=hw,Vh.cloneWith=pw,Vh.conformsTo=mw,Vh.deburr=pC,Vh.defaultTo=JN,Vh.divide=TD,Vh.endsWith=xN,Vh.eq=G0,Vh.escape=CN,Vh.escapeRegExp=AN,Vh.every=NA,Vh.find=IA,Vh.findIndex=D0,Vh.findKey=zw,Vh.findLast=RA,Vh.findLastIndex=Ny,Vh.findLastKey=Ww,Vh.floor=xD,Vh.forEach=G1,Vh.forEachRight=q1,Vh.forIn=Yw,Vh.forInRight=Kw,Vh.forOwn=Xw,Vh.forOwnRight=Qw,Vh.get=A1,Vh.gt=gw,Vh.gte=_w,Vh.has=eN,Vh.hasIn=w1,Vh.head=F1,Vh.identity=t0,Vh.includes=PA,Vh.indexOf=DC,Vh.inRange=EN,Vh.invoke=nN,Vh.isArguments=XE,Vh.isArray=s_,Vh.isArrayBuffer=yw,Vh.isArrayLike=Zb,Vh.isArrayLikeObject=hb,Vh.isBoolean=vw,Vh.isBuffer=hE,Vh.isDate=Ew,Vh.isElement=Sw,Vh.isEmpty=Tw,Vh.isEqual=xw,Vh.isEqualWith=Cw,Vh.isError=x1,Vh.isFinite=Aw,Vh.isFunction=yv,Vh.isInteger=J1,Vh.isLength=Ux,Vh.isMap=Z1,Vh.isMatch=ww,Vh.isMatchWith=Nw,Vh.isNaN=Dw,Vh.isNative=Iw,Vh.isNil=Ow,Vh.isNull=Rw,Vh.isNumber=eC,Vh.isObject=J_,Vh.isObjectLike=nb,Vh.isPlainObject=LT,Vh.isRegExp=C1,Vh.isSafeInteger=kw,Vh.isSet=tC,Vh.isString=Hx,Vh.isSymbol=g0,Vh.isTypedArray=jS,Vh.isUndefined=Mw,Vh.isWeakMap=$w,Vh.isWeakSet=Pw,Vh.join=MC,Vh.kebabCase=wN,Vh.last=I0,Vh.lastIndexOf=$C,Vh.lowerCase=NN,Vh.lowerFirst=DN,Vh.lt=Lw,Vh.lte=Bw,Vh.max=CD,Vh.maxBy=AD,Vh.mean=wD,Vh.meanBy=ND,Vh.min=DD,Vh.minBy=ID,Vh.stubArray=k1,Vh.stubFalse=M1,Vh.stubObject=hD,Vh.stubString=mD,Vh.stubTrue=gD,Vh.multiply=RD,Vh.nth=PC,Vh.noConflict=sD,Vh.noop=O1,Vh.now=Bx,Vh.pad=IN,Vh.padEnd=RN,Vh.padStart=ON,Vh.parseInt=kN,Vh.random=SN,Vh.reduce=UA,Vh.reduceRight=HA,Vh.repeat=MN,Vh.replace=$N,Vh.result=dN,Vh.round=OD,Vh.runInContext=Pm,Vh.sample=qA,Vh.size=WA,Vh.snakeCase=PN,Vh.some=YA,Vh.sortedIndex=GC,Vh.sortedIndexBy=qC,Vh.sortedIndexOf=VC,Vh.sortedLastIndex=zC,Vh.sortedLastIndexBy=WC,Vh.sortedLastIndexOf=YC,Vh.startCase=BN,Vh.startsWith=FN,Vh.subtract=kD,Vh.sum=MD,Vh.sumBy=$D,Vh.template=jN,Vh.times=_D,Vh.toFinite=vv,Vh.toInteger=l_,Vh.toLength=nC,Vh.toLower=UN,Vh.toNumber=R0,Vh.toSafeInteger=Fw,Vh.toString=I_,Vh.toUpper=HN,Vh.trim=GN,Vh.trimEnd=qN,Vh.trimStart=VN,Vh.truncate=zN,Vh.unescape=WN,Vh.uniqueId=vD,Vh.upperCase=YN,Vh.upperFirst=N1,Vh.each=G1,Vh.eachRight=q1,Vh.first=F1,R1(Vh,function(){var Yd={};return Qb(Vh,function(gf,Df){T_.call(Vh.prototype,Df)||(Yd[Df]=gf)}),Yd}(),{chain:!1}),Vh.VERSION=od,$b(["bind","bindKey","curry","curryRight","partial","partialRight"],function(Yd){Vh[Yd].placeholder=Vh}),$b(["drop","take"],function(Yd,gf){Yg.prototype[Yd]=function(Df){Df=Df===nd?1:L_(l_(Df),0);var eh=this.__filtered__&&!gf?new Yg(this):this.clone();return eh.__filtered__?eh.__takeCount__=tb(Df,eh.__takeCount__):eh.__views__.push({size:tb(Df,ph),type:Yd+(eh.__dir__<0?"Right":"")}),eh},Yg.prototype[Yd+"Right"]=function(Df){return this.reverse()[Yd](Df).reverse()}}),$b(["filter","map","takeWhile"],function(Yd,gf){var Df=gf+1,eh=Df==Af||Df==Nf;Yg.prototype[Yd]=function(Oh){var Xh=this.clone();return Xh.__iteratees__.push({iteratee:Wg(Oh,3),type:Df}),Xh.__filtered__=Xh.__filtered__||eh,Xh}}),$b(["head","last"],function(Yd,gf){var Df="take"+(gf?"Right":"");Yg.prototype[Yd]=function(){return this[Df](1).value()[0]}}),$b(["initial","tail"],function(Yd,gf){var Df="drop"+(gf?"":"Right");Yg.prototype[Yd]=function(){return this.__filtered__?new Yg(this):this[Df](1)}}),Yg.prototype.compact=function(){return this.filter(t0)},Yg.prototype.find=function(Yd){return this.filter(Yd).head()},Yg.prototype.findLast=function(Yd){return this.reverse().find(Yd)},Yg.prototype.invokeMap=o_(function(Yd,gf){return typeof Yd=="function"?new Yg(this):this.map(function(Df){return Zv(Df,Yd,gf)})}),Yg.prototype.reject=function(Yd){return this.filter(jx(Wg(Yd)))},Yg.prototype.slice=function(Yd,gf){Yd=l_(Yd);var Df=this;return Df.__filtered__&&(Yd>0||gf<0)?new Yg(Df):(Yd<0?Df=Df.takeRight(-Yd):Yd&&(Df=Df.drop(Yd)),gf!==nd&&(gf=l_(gf),Df=gf<0?Df.dropRight(-gf):Df.take(gf-Yd)),Df)},Yg.prototype.takeRightWhile=function(Yd){return this.reverse().takeWhile(Yd).reverse()},Yg.prototype.toArray=function(){return this.take(ph)},Qb(Yg.prototype,function(Yd,gf){var Df=/^(?:filter|find|map|reject)|While$/.test(gf),eh=/^(?:head|last)$/.test(gf),Oh=Vh[eh?"take"+(gf=="last"?"Right":""):gf],Xh=eh||/^find/.test(gf);Oh&&(Vh.prototype[gf]=function(){var Nm=this.__wrapped__,Rm=eh?[1]:arguments,Fm=Nm instanceof Yg,tg=Rm[0],rg=Fm||s_(Nm),sg=function(f_){var b_=Oh.apply(Vh,i0([f_],Rm));return eh&&Rg?b_[0]:b_};rg&&Df&&typeof tg=="function"&&tg.length!=1&&(Fm=rg=!1);var Rg=this.__chain__,Hg=!!this.__actions__.length,Qg=Xh&&!Rg,c_=Fm&&!Hg;if(!Xh&&rg){Nm=c_?Nm:new Yg(this);var Jg=Yd.apply(Nm,Rm);return Jg.__actions__.push({func:Px,args:[sg],thisArg:nd}),new C_(Jg,Rg)}return Qg&&c_?Yd.apply(this,Rm):(Jg=this.thru(sg),Qg?eh?Jg.value()[0]:Jg.value():Jg)})}),$b(["pop","push","shift","sort","splice","unshift"],function(Yd){var gf=pS[Yd],Df=/^(?:push|sort|unshift)$/.test(Yd)?"tap":"thru",eh=/^(?:pop|shift)$/.test(Yd);Vh.prototype[Yd]=function(){var Oh=arguments;if(eh&&!this.__chain__){var Xh=this.value();return gf.apply(s_(Xh)?Xh:[],Oh)}return this[Df](function(Nm){return gf.apply(s_(Nm)?Nm:[],Oh)})}}),Qb(Yg.prototype,function(Yd,gf){var Df=Vh[gf];if(Df){var eh=Df.name+"";T_.call(nv,eh)||(nv[eh]=[]),nv[eh].push({name:gf,func:Df})}}),nv[OS(nd,jd).name]=[{name:"wrapper",func:nd}],Yg.prototype.clone=lb,Yg.prototype.reverse=RE,Yg.prototype.value=Qx,Vh.prototype.at=yA,Vh.prototype.chain=vA,Vh.prototype.commit=EA,Vh.prototype.next=SA,Vh.prototype.plant=xA,Vh.prototype.reverse=CA,Vh.prototype.toJSON=Vh.prototype.valueOf=Vh.prototype.value=AA,Vh.prototype.first=Vh.prototype.head,Zy&&(Vh.prototype[Zy]=TA),Vh},P0=eT();$0?(($0.exports=P0)._=P0,SE._=P0):x_._=P0}).call(commonjsGlobal)})(lodash,lodash.exports);var lodashExports=lodash.exports;const _=getDefaultExportFromCjs(lodashExports);var queryString={},strictUriEncode=Ra=>encodeURIComponent(Ra).replace(/[!'()*]/g,qa=>`%${qa.charCodeAt(0).toString(16).toUpperCase()}`),token="%[a-f0-9]{2}",singleMatcher=new RegExp("("+token+")|([^%]+?)","gi"),multiMatcher=new RegExp("("+token+")+","gi");function decodeComponents(Ra,qa){try{return[decodeURIComponent(Ra.join(""))]}catch{}if(Ra.length===1)return Ra;qa=qa||1;var nd=Ra.slice(0,qa),od=Ra.slice(qa);return Array.prototype.concat.call([],decodeComponents(nd),decodeComponents(od))}function decode(Ra){try{return decodeURIComponent(Ra)}catch{for(var qa=Ra.match(singleMatcher)||[],nd=1;nd<qa.length;nd++)Ra=decodeComponents(qa,nd).join(""),qa=Ra.match(singleMatcher)||[];return Ra}}function customDecodeURIComponent(Ra){for(var qa={"%FE%FF":"<22><>","%FF%FE":"<22><>"},nd=multiMatcher.exec(Ra);nd;){try{qa[nd[0]]=decodeURIComponent(nd[0])}catch{var od=decode(nd[0]);od!==nd[0]&&(qa[nd[0]]=od)}nd=multiMatcher.exec(Ra)}qa["%C2"]="<22>";for(var ld=Object.keys(qa),ud=0;ud<ld.length;ud++){var dd=ld[ud];Ra=Ra.replace(new RegExp(dd,"g"),qa[dd])}return Ra}var decodeUriComponent=function(Ra){if(typeof Ra!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof Ra+"`");try{return Ra=Ra.replace(/\+/g," "),decodeURIComponent(Ra)}catch{return customDecodeURIComponent(Ra)}},splitOnFirst=(Ra,qa)=>{if(!(typeof Ra=="string"&&typeof qa=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(qa==="")return[Ra];const nd=Ra.indexOf(qa);return nd===-1?[Ra]:[Ra.slice(0,nd),Ra.slice(nd+qa.length)]},filterObj=function(Ra,qa){for(var nd={},od=Object.keys(Ra),ld=Array.isArray(qa),ud=0;ud<od.length;ud++){var dd=od[ud],pd=Ra[dd];(ld?qa.indexOf(dd)!==-1:qa(dd,pd,Ra))&&(nd[dd]=pd)}return nd};(function(Ra){const qa=strictUriEncode,nd=decodeUriComponent,od=splitOnFirst,ld=filterObj,ud=Fd=>Fd==null,dd=Symbol("encodeFragmentIdentifier");function pd(Fd){switch(Fd.arrayFormat){case"index":return Ud=>(qd,zd)=>{const Wd=qd.length;return zd===void 0||Fd.skipNull&&zd===null||Fd.skipEmptyString&&zd===""?qd:zd===null?[...qd,[vd(Ud,Fd),"[",Wd,"]"].join("")]:[...qd,[vd(Ud,Fd),"[",vd(Wd,Fd),"]=",vd(zd,Fd)].join("")]};case"bracket":return Ud=>(qd,zd)=>zd===void 0||Fd.skipNull&&zd===null||Fd.skipEmptyString&&zd===""?qd:zd===null?[...qd,[vd(Ud,Fd),"[]"].join("")]:[...qd,[vd(Ud,Fd),"[]=",vd(zd,Fd)].join("")];case"colon-list-separator":return Ud=>(qd,zd)=>zd===void 0||Fd.skipNull&&zd===null||Fd.skipEmptyString&&zd===""?qd:zd===null?[...qd,[vd(Ud,Fd),":list="].join("")]:[...qd,[vd(Ud,Fd),":list=",vd(zd,Fd)].join("")];case"comma":case"separator":case"bracket-separator":{const Ud=Fd.arrayFormat==="bracket-separator"?"[]=":"=";return qd=>(zd,Wd)=>Wd===void 0||Fd.skipNull&&Wd===null||Fd.skipEmptyString&&Wd===""?zd:(Wd=Wd===null?"":Wd,zd.length===0?[[vd(qd,Fd),Ud,vd(Wd,Fd)].join("")]:[[zd,vd(Wd,Fd)].join(Fd.arrayFormatSeparator)])}default:return Ud=>(qd,zd)=>zd===void 0||Fd.skipNull&&zd===null||Fd.skipEmptyString&&zd===""?qd:zd===null?[...qd,vd(Ud,Fd)]:[...qd,[vd(Ud,Fd),"=",vd(zd,Fd)].join("")]}}function fd(Fd){let Ud;switch(Fd.arrayFormat){case"index":return(qd,zd,Wd)=>{if(Ud=/\[(\d*)\]$/.exec(qd),qd=qd.replace(/\[\d*\]$/,""),!Ud){Wd[qd]=zd;return}Wd[qd]===void 0&&(Wd[qd]={}),Wd[qd][Ud[1]]=zd};case"bracket":return(qd,zd,Wd)=>{if(Ud=/(\[\])$/.exec(qd),qd=qd.replace(/\[\]$/,""),!Ud){Wd[qd]=zd;return}if(Wd[qd]===void 0){Wd[qd]=[zd];return}Wd[qd]=[].concat(Wd[qd],zd)};case"colon-list-separator":return(qd,zd,Wd)=>{if(Ud=/(:list)$/.exec(qd),qd=qd.replace(/:list$/,""),!Ud){Wd[qd]=zd;return}if(Wd[qd]===void 0){Wd[qd]=[zd];return}Wd[qd]=[].concat(Wd[qd],zd)};case"comma":case"separator":return(qd,zd,Wd)=>{const Jd=typeof zd=="string"&&zd.includes(Fd.arrayFormatSeparator),_f=typeof zd=="string"&&!Jd&&Ad(zd,Fd).includes(Fd.arrayFormatSeparator);zd=_f?Ad(zd,Fd):zd;const Xd=Jd||_f?zd.split(Fd.arrayFormatSeparator).map(pf=>Ad(pf,Fd)):zd===null?zd:Ad(zd,Fd);Wd[qd]=Xd};case"bracket-separator":return(qd,zd,Wd)=>{const Jd=/(\[\])$/.test(qd);if(qd=qd.replace(/\[\]$/,""),!Jd){Wd[qd]=zd&&Ad(zd,Fd);return}const _f=zd===null?[]:zd.split(Fd.arrayFormatSeparator).map(Xd=>Ad(Xd,Fd));if(Wd[qd]===void 0){Wd[qd]=_f;return}Wd[qd]=[].concat(Wd[qd],_f)};default:return(qd,zd,Wd)=>{if(Wd[qd]===void 0){Wd[qd]=zd;return}Wd[qd]=[].concat(Wd[qd],zd)}}}function md(Fd){if(typeof Fd!="string"||Fd.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function vd(Fd,Ud){return Ud.encode?Ud.strict?qa(Fd):encodeURIComponent(Fd):Fd}function Ad(Fd,Ud){return Ud.decode?nd(Fd):Fd}function Nd(Fd){return Array.isArray(Fd)?Fd.sort():typeof Fd=="object"?Nd(Object.keys(Fd)).sort((Ud,qd)=>Number(Ud)-Number(qd)).map(Ud=>Fd[Ud]):Fd}function Od(Fd){const Ud=Fd.indexOf("#");return Ud!==-1&&(Fd=Fd.slice(0,Ud)),Fd}function kd(Fd){let Ud="";const qd=Fd.indexOf("#");return qd!==-1&&(Ud=Fd.slice(qd)),Ud}function Ld(Fd){Fd=Od(Fd);const Ud=Fd.indexOf("?");return Ud===-1?"":Fd.slice(Ud+1)}function Gd(Fd,Ud){return Ud.parseNumbers&&!Number.isNaN(Number(Fd))&&typeof Fd=="string"&&Fd.trim()!==""?Fd=Number(Fd):Ud.parseBooleans&&Fd!==null&&(Fd.toLowerCase()==="true"||Fd.toLowerCase()==="false")&&(Fd=Fd.toLowerCase()==="true"),Fd}function jd(Fd,Ud){Ud=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},Ud),md(Ud.arrayFormatSeparator);const qd=fd(Ud),zd=Object.create(null);if(typeof Fd!="string"||(Fd=Fd.trim().replace(/^[?#&]/,""),!Fd))return zd;for(const Wd of Fd.split("&")){if(Wd==="")continue;let[Jd,_f]=od(Ud.decode?Wd.replace(/\+/g," "):Wd,"=");_f=_f===void 0?null:["comma","separator","bracket-separator"].includes(Ud.arrayFormat)?_f:Ad(_f,Ud),qd(Ad(Jd,Ud),_f,zd)}for(const Wd of Object.keys(zd)){const Jd=zd[Wd];if(typeof Jd=="object"&&Jd!==null)for(const _f of Object.keys(Jd))Jd[_f]=Gd(Jd[_f],Ud);else zd[Wd]=Gd(Jd,Ud)}return Ud.sort===!1?zd:(Ud.sort===!0?Object.keys(zd).sort():Object.keys(zd).sort(Ud.sort)).reduce((Wd,Jd)=>{const _f=zd[Jd];return _f&&typeof _f=="object"&&!Array.isArray(_f)?Wd[Jd]=Nd(_f):Wd[Jd]=_f,Wd},Object.create(null))}Ra.extract=Ld,Ra.parse=jd,Ra.stringify=(Fd,Ud)=>{if(!Fd)return"";Ud=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},Ud),md(Ud.arrayFormatSeparator);const qd=_f=>Ud.skipNull&&ud(Fd[_f])||Ud.skipEmptyString&&Fd[_f]==="",zd=pd(Ud),Wd={};for(const _f of Object.keys(Fd))qd(_f)||(Wd[_f]=Fd[_f]);const Jd=Object.keys(Wd);return Ud.sort!==!1&&Jd.sort(Ud.sort),Jd.map(_f=>{const Xd=Fd[_f];return Xd===void 0?"":Xd===null?vd(_f,Ud):Array.isArray(Xd)?Xd.length===0&&Ud.arrayFormat==="bracket-separator"?vd(_f,Ud)+"[]":Xd.reduce(zd(_f),[]).join("&"):vd(_f,Ud)+"="+vd(Xd,Ud)}).filter(_f=>_f.length>0).join("&")},Ra.parseUrl=(Fd,Ud)=>{Ud=Object.assign({decode:!0},Ud);const[qd,zd]=od(Fd,"#");return Object.assign({url:qd.split("?")[0]||"",query:jd(Ld(Fd),Ud)},Ud&&Ud.parseFragmentIdentifier&&zd?{fragmentIdentifier:Ad(zd,Ud)}:{})},Ra.stringifyUrl=(Fd,Ud)=>{Ud=Object.assign({encode:!0,strict:!0,[dd]:!0},Ud);const qd=Od(Fd.url).split("?")[0]||"",zd=Ra.extract(Fd.url),Wd=Ra.parse(zd,{sort:!1}),Jd=Object.assign(Wd,Fd.query);let _f=Ra.stringify(Jd,Ud);_f&&(_f=`?${_f}`);let Xd=kd(Fd.url);return Fd.fragmentIdentifier&&(Xd=`#${Ud[dd]?vd(Fd.fragmentIdentifier,Ud):Fd.fragmentIdentifier}`),`${qd}${_f}${Xd}`},Ra.pick=(Fd,Ud,qd)=>{qd=Object.assign({parseFragmentIdentifier:!0,[dd]:!1},qd);const{url:zd,query:Wd,fragmentIdentifier:Jd}=Ra.parseUrl(Fd,qd);return Ra.stringifyUrl({url:zd,query:ld(Wd,Ud),fragmentIdentifier:Jd},qd)},Ra.exclude=(Fd,Ud,qd)=>{const zd=Array.isArray(Ud)?Wd=>!Ud.includes(Wd):(Wd,Jd)=>!Ud(Wd,Jd);return Ra.pick(Fd,zd,qd)}})(queryString);const Encoder=TextEncoder;var xml$2={exports:{}},XML_CHARACTER_MAP={"&":"&amp;",'"':"&quot;","'":"&apos;","<":"&lt;",">":"&gt;"};function escapeForXML$1(Ra){return Ra&&Ra.replace?Ra.replace(/([&"<>'])/g,function(qa,nd){return XML_CHARACTER_MAP[nd]}):Ra}var escapeForXML_1=escapeForXML$1,define_process_default$4={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_1164a745-b3dc-4b9f-a9be-9609c1b3622a",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_1164a745-b3dc-4b9f-a9be-9609c1b3622a",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250105.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7633",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12854182433",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_eb6908e4-3cff-452d-a339-25146be9740f",INVOCATION_ID:"049b7125072941398f5d27a5cb59ad7a",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"493",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 18",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_1164a745-b3dc-4b9f-a9be-9609c1b3622a",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_1164a745-b3dc-4b9f-a9be-9609c1b3622a",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_1164a745-b3dc-4b9f-a9be-9609c1b3622a",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2166,ppid:2165,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}},escapeForXML=escapeForXML_1,Stream=streamBrowserify.Stream,DEFAULT_INDENT=" ";function xml$1(Ra,qa){typeof qa!="object"&&(qa={indent:qa});var nd=qa.stream?new Stream:null,od="",ld=!1,ud=qa.indent?qa.indent===!0?DEFAULT_INDENT:qa.indent:"",dd=!0;function pd(Nd){dd?define_process_default$4.nextTick(Nd):Nd()}function fd(Nd,Od){if(Od!==void 0&&(od+=Od),Nd&&!ld&&(nd=nd||new Stream,ld=!0),Nd&&ld){var kd=od;pd(function(){nd.emit("data",kd)}),od=""}}function md(Nd,Od){format(fd,resolve(Nd,ud,ud?1:0),Od)}function vd(){if(nd){var Nd=od;pd(function(){nd.emit("data",Nd),nd.emit("end"),nd.readable=!1,nd.emit("close")})}}function Ad(Nd){var Od=Nd.encoding||"UTF-8",kd={version:"1.0",encoding:Od};Nd.standalone&&(kd.standalone=Nd.standalone),md({"?xml":{_attr:kd}}),od=od.replace("/>","?>")}return pd(function(){dd=!1}),qa.declaration&&Ad(qa.declaration),Ra&&Ra.forEach?Ra.forEach(function(Nd,Od){var kd;Od+1===Ra.length&&(kd=vd),md(Nd,kd)}):md(Ra,vd),nd?(nd.readable=!0,nd):od}function element(){var Ra=Array.prototype.slice.call(arguments),qa={_elem:resolve(Ra)};return qa.push=function(nd){if(!this.append)throw new Error("not assigned to a parent!");var od=this,ld=this._elem.indent;format(this.append,resolve(nd,ld,this._elem.icount+(ld?1:0)),function(){od.append(!0)})},qa.close=function(nd){nd!==void 0&&this.push(nd),this.end&&this.end()},qa}function create_indent(Ra,qa){return new Array(qa||0).join(Ra||"")}function resolve(Ra,qa,nd){nd=nd||0;var od=create_indent(qa,nd),ld,ud=Ra,dd=!1;if(typeof Ra=="object"){var pd=Object.keys(Ra);if(ld=pd[0],ud=Ra[ld],ud&&ud._elem)return ud._elem.name=ld,ud._elem.icount=nd,ud._elem.indent=qa,ud._elem.indents=od,ud._elem.interrupt=ud,ud._elem}var fd=[],md=[],vd;function Ad(Nd){var Od=Object.keys(Nd);Od.forEach(function(kd){fd.push(attribute(kd,Nd[kd]))})}switch(typeof ud){case"object":if(ud===null)break;ud._attr&&Ad(ud._attr),ud._cdata&&md.push(("<![CDATA["+ud._cdata).replace(/\]\]>/g,"]]]]><![CDATA[>")+"]]>"),ud.forEach&&(vd=!1,md.push(""),ud.forEach(function(Nd){if(typeof Nd=="object"){var Od=Object.keys(Nd)[0];Od=="_attr"?Ad(Nd._attr):md.push(resolve(Nd,qa,nd+1))}else md.pop(),vd=!0,md.push(escapeForXML(Nd))}),vd||md.push(""));break;default:md.push(escapeForXML(ud))}return{name:ld,interrupt:dd,attributes:fd,content:md,icount:nd,indents:od,indent:qa}}function format(Ra,qa,nd){if(typeof qa!="object")return Ra(!1,qa);var od=qa.interrupt?1:qa.content.length;function ld(){for(;qa.content.length;){var dd=qa.content.shift();if(dd!==void 0){if(ud(dd))return;format(Ra,dd)}}Ra(!1,(od>1?qa.indents:"")+(qa.name?"</"+qa.name+">":"")+(qa.indent&&!nd?`
`:"")),nd&&nd()}function ud(dd){return dd.interrupt?(dd.interrupt.append=Ra,dd.interrupt.end=ld,dd.interrupt=!1,Ra(!0),!0):!1}if(Ra(!1,qa.indents+(qa.name?"<"+qa.name:"")+(qa.attributes.length?" "+qa.attributes.join(" "):"")+(od?qa.name?">":"":qa.name?"/>":"")+(qa.indent&&od>1?`
`:"")),!od)return Ra(!1,qa.indent?`
`:"");ud(qa)||ld()}function attribute(Ra,qa){return Ra+'="'+escapeForXML(qa)+'"'}xml$2.exports=xml$1;xml$2.exports.element=xml$2.exports.Element=element;var xmlExports=xml$2.exports;const Xml=getDefaultExportFromCjs(xmlExports);var xml2js={},defaults={},hasRequiredDefaults;function requireDefaults(){return hasRequiredDefaults||(hasRequiredDefaults=1,(function(){defaults.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:`
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(commonjsGlobal)),defaults}var builder={},lib$2={},Utility={},hasRequiredUtility;function requireUtility(){return hasRequiredUtility||(hasRequiredUtility=1,(function(){var Ra,qa,nd,od,ld,ud,dd,pd=[].slice,fd={}.hasOwnProperty;Ra=function(){var md,vd,Ad,Nd,Od,kd;if(kd=arguments[0],Od=2<=arguments.length?pd.call(arguments,1):[],ld(Object.assign))Object.assign.apply(null,arguments);else for(md=0,Ad=Od.length;md<Ad;md++)if(Nd=Od[md],Nd!=null)for(vd in Nd)fd.call(Nd,vd)&&(kd[vd]=Nd[vd]);return kd},ld=function(md){return!!md&&Object.prototype.toString.call(md)==="[object Function]"},ud=function(md){var vd;return!!md&&((vd=typeof md)=="function"||vd==="object")},nd=function(md){return ld(Array.isArray)?Array.isArray(md):Object.prototype.toString.call(md)==="[object Array]"},od=function(md){var vd;if(nd(md))return!md.length;for(vd in md)if(fd.call(md,vd))return!1;return!0},dd=function(md){var vd,Ad;return ud(md)&&(Ad=Object.getPrototypeOf(md))&&(vd=Ad.constructor)&&typeof vd=="function"&&vd instanceof vd&&Function.prototype.toString.call(vd)===Function.prototype.toString.call(Object)},qa=function(md){return ld(md.valueOf)?md.valueOf():md},Utility.assign=Ra,Utility.isFunction=ld,Utility.isObject=ud,Utility.isArray=nd,Utility.isEmpty=od,Utility.isPlainObject=dd,Utility.getValue=qa}).call(commonjsGlobal)),Utility}var XMLDOMImplementation={exports:{}},hasRequiredXMLDOMImplementation;function requireXMLDOMImplementation(){return hasRequiredXMLDOMImplementation||(hasRequiredXMLDOMImplementation=1,(function(){XMLDOMImplementation.exports=function(){function Ra(){}return Ra.prototype.hasFeature=function(qa,nd){return!0},Ra.prototype.createDocumentType=function(qa,nd,od){throw new Error("This DOM method is not implemented.")},Ra.prototype.createDocument=function(qa,nd,od){throw new Error("This DOM method is not implemented.")},Ra.prototype.createHTMLDocument=function(qa){throw new Error("This DOM method is not implemented.")},Ra.prototype.getFeature=function(qa,nd){throw new Error("This DOM method is not implemented.")},Ra}()}).call(commonjsGlobal)),XMLDOMImplementation.exports}var XMLDocument={exports:{}},XMLDOMConfiguration={exports:{}},XMLDOMErrorHandler={exports:{}},hasRequiredXMLDOMErrorHandler;function requireXMLDOMErrorHandler(){return hasRequiredXMLDOMErrorHandler||(hasRequiredXMLDOMErrorHandler=1,(function(){XMLDOMErrorHandler.exports=function(){function Ra(){}return Ra.prototype.handleError=function(qa){throw new Error(qa)},Ra}()}).call(commonjsGlobal)),XMLDOMErrorHandler.exports}var XMLDOMStringList={exports:{}},hasRequiredXMLDOMStringList;function requireXMLDOMStringList(){return hasRequiredXMLDOMStringList||(hasRequiredXMLDOMStringList=1,(function(){XMLDOMStringList.exports=function(){function Ra(qa){this.arr=qa||[]}return Object.defineProperty(Ra.prototype,"length",{get:function(){return this.arr.length}}),Ra.prototype.item=function(qa){return this.arr[qa]||null},Ra.prototype.contains=function(qa){return this.arr.indexOf(qa)!==-1},Ra}()}).call(commonjsGlobal)),XMLDOMStringList.exports}var hasRequiredXMLDOMConfiguration;function requireXMLDOMConfiguration(){return hasRequiredXMLDOMConfiguration||(hasRequiredXMLDOMConfiguration=1,(function(){var Ra,qa;Ra=requireXMLDOMErrorHandler(),qa=requireXMLDOMStringList(),XMLDOMConfiguration.exports=function(){function nd(){this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new Ra,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=Object.create(this.defaultParams)}return Object.defineProperty(nd.prototype,"parameterNames",{get:function(){return new qa(Object.keys(this.defaultParams))}}),nd.prototype.getParameter=function(od){return this.params.hasOwnProperty(od)?this.params[od]:null},nd.prototype.canSetParameter=function(od,ld){return!0},nd.prototype.setParameter=function(od,ld){return ld!=null?this.params[od]=ld:delete this.params[od]},nd}()}).call(commonjsGlobal)),XMLDOMConfiguration.exports}var XMLNode={exports:{}},XMLElement={exports:{}},NodeType={exports:{}},hasRequiredNodeType;function requireNodeType(){return hasRequiredNodeType||(hasRequiredNodeType=1,(function(){NodeType.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(commonjsGlobal)),NodeType.exports}var XMLAttribute={exports:{}},hasRequiredXMLAttribute;function requireXMLAttribute(){return hasRequiredXMLAttribute||(hasRequiredXMLAttribute=1,(function(){var Ra;Ra=requireNodeType(),requireXMLNode(),XMLAttribute.exports=function(){function qa(nd,od,ld){if(this.parent=nd,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),od==null)throw new Error("Missing attribute name. "+this.debugInfo(od));this.name=this.stringify.name(od),this.value=this.stringify.attValue(ld),this.type=Ra.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(qa.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(qa.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(qa.prototype,"textContent",{get:function(){return this.value},set:function(nd){return this.value=nd||""}}),Object.defineProperty(qa.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(qa.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(qa.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(qa.prototype,"specified",{get:function(){return!0}}),qa.prototype.clone=function(){return Object.create(this)},qa.prototype.toString=function(nd){return this.options.writer.attribute(this,this.options.writer.filterOptions(nd))},qa.prototype.debugInfo=function(nd){return nd=nd||this.name,nd==null?"parent: <"+this.parent.name+">":"attribute: {"+nd+"}, parent: <"+this.parent.name+">"},qa.prototype.isEqualNode=function(nd){return!(nd.namespaceURI!==this.namespaceURI||nd.prefix!==this.prefix||nd.localName!==this.localName||nd.value!==this.value)},qa}()}).call(commonjsGlobal)),XMLAttribute.exports}var XMLNamedNodeMap={exports:{}},hasRequiredXMLNamedNodeMap;function requireXMLNamedNodeMap(){return hasRequiredXMLNamedNodeMap||(hasRequiredXMLNamedNodeMap=1,(function(){XMLNamedNodeMap.exports=function(){function Ra(qa){this.nodes=qa}return Object.defineProperty(Ra.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),Ra.prototype.clone=function(){return this.nodes=null},Ra.prototype.getNamedItem=function(qa){return this.nodes[qa]},Ra.prototype.setNamedItem=function(qa){var nd;return nd=this.nodes[qa.nodeName],this.nodes[qa.nodeName]=qa,nd||null},Ra.prototype.removeNamedItem=function(qa){var nd;return nd=this.nodes[qa],delete this.nodes[qa],nd||null},Ra.prototype.item=function(qa){return this.nodes[Object.keys(this.nodes)[qa]]||null},Ra.prototype.getNamedItemNS=function(qa,nd){throw new Error("This DOM method is not implemented.")},Ra.prototype.setNamedItemNS=function(qa){throw new Error("This DOM method is not implemented.")},Ra.prototype.removeNamedItemNS=function(qa,nd){throw new Error("This DOM method is not implemented.")},Ra}()}).call(commonjsGlobal)),XMLNamedNodeMap.exports}var hasRequiredXMLElement;function requireXMLElement(){return hasRequiredXMLElement||(hasRequiredXMLElement=1,(function(){var Ra,qa,nd,od,ld,ud,dd,pd,fd=function(vd,Ad){for(var Nd in Ad)md.call(Ad,Nd)&&(vd[Nd]=Ad[Nd]);function Od(){this.constructor=vd}return Od.prototype=Ad.prototype,vd.prototype=new Od,vd.__super__=Ad.prototype,vd},md={}.hasOwnProperty;pd=requireUtility(),dd=pd.isObject,ud=pd.isFunction,ld=pd.getValue,od=requireXMLNode(),Ra=requireNodeType(),qa=requireXMLAttribute(),nd=requireXMLNamedNodeMap(),XMLElement.exports=function(vd){fd(Ad,vd);function Ad(Nd,Od,kd){var Ld,Gd,jd,Fd;if(Ad.__super__.constructor.call(this,Nd),Od==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(Od),this.type=Ra.Element,this.attribs={},this.schemaTypeInfo=null,kd!=null&&this.attribute(kd),Nd.type===Ra.Document&&(this.isRoot=!0,this.documentObject=Nd,Nd.rootObject=this,Nd.children)){for(Fd=Nd.children,Gd=0,jd=Fd.length;Gd<jd;Gd++)if(Ld=Fd[Gd],Ld.type===Ra.DocType){Ld.name=this.name;break}}}return Object.defineProperty(Ad.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(Ad.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(Ad.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(Ad.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(Ad.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(Ad.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(Ad.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(Ad.prototype,"attributes",{get:function(){return(!this.attributeMap||!this.attributeMap.nodes)&&(this.attributeMap=new nd(this.attribs)),this.attributeMap}}),Ad.prototype.clone=function(){var Nd,Od,kd,Ld;kd=Object.create(this),kd.isRoot&&(kd.documentObject=null),kd.attribs={},Ld=this.attribs;for(Od in Ld)md.call(Ld,Od)&&(Nd=Ld[Od],kd.attribs[Od]=Nd.clone());return kd.children=[],this.children.forEach(function(Gd){var jd;return jd=Gd.clone(),jd.parent=kd,kd.children.push(jd)}),kd},Ad.prototype.attribute=function(Nd,Od){var kd,Ld;if(Nd!=null&&(Nd=ld(Nd)),dd(Nd))for(kd in Nd)md.call(Nd,kd)&&(Ld=Nd[kd],this.attribute(kd,Ld));else ud(Od)&&(Od=Od.apply()),this.options.keepNullAttributes&&Od==null?this.attribs[Nd]=new qa(this,Nd,""):Od!=null&&(this.attribs[Nd]=new qa(this,Nd,Od));return this},Ad.prototype.removeAttribute=function(Nd){var Od,kd,Ld;if(Nd==null)throw new Error("Missing attribute name. "+this.debugInfo());if(Nd=ld(Nd),Array.isArray(Nd))for(kd=0,Ld=Nd.length;kd<Ld;kd++)Od=Nd[kd],delete this.attribs[Od];else delete this.attribs[Nd];return this},Ad.prototype.toString=function(Nd){return this.options.writer.element(this,this.options.writer.filterOptions(Nd))},Ad.prototype.att=function(Nd,Od){return this.attribute(Nd,Od)},Ad.prototype.a=function(Nd,Od){return this.attribute(Nd,Od)},Ad.prototype.getAttribute=function(Nd){return this.attribs.hasOwnProperty(Nd)?this.attribs[Nd].value:null},Ad.prototype.setAttribute=function(Nd,Od){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ad.prototype.getAttributeNode=function(Nd){return this.attribs.hasOwnProperty(Nd)?this.attribs[Nd]:null},Ad.prototype.setAttributeNode=function(Nd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ad.prototype.removeAttributeNode=function(Nd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ad.prototype.getElementsByTagName=function(Nd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ad.prototype.getAttributeNS=function(Nd,Od){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ad.prototype.setAttributeNS=function(Nd,Od,kd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ad.prototype.removeAttributeNS=function(Nd,Od){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ad.prototype.getAttributeNodeNS=function(Nd,Od){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ad.prototype.setAttributeNodeNS=function(Nd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ad.prototype.getElementsByTagNameNS=function(Nd,Od){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ad.prototype.hasAttribute=function(Nd){return this.attribs.hasOwnProperty(Nd)},Ad.prototype.hasAttributeNS=function(Nd,Od){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ad.prototype.setIdAttribute=function(Nd,Od){return this.attribs.hasOwnProperty(Nd)?this.attribs[Nd].isId:Od},Ad.prototype.setIdAttributeNS=function(Nd,Od,kd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ad.prototype.setIdAttributeNode=function(Nd,Od){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ad.prototype.getElementsByTagName=function(Nd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ad.prototype.getElementsByTagNameNS=function(Nd,Od){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ad.prototype.getElementsByClassName=function(Nd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ad.prototype.isEqualNode=function(Nd){var Od,kd,Ld;if(!Ad.__super__.isEqualNode.apply(this,arguments).isEqualNode(Nd)||Nd.namespaceURI!==this.namespaceURI||Nd.prefix!==this.prefix||Nd.localName!==this.localName||Nd.attribs.length!==this.attribs.length)return!1;for(Od=kd=0,Ld=this.attribs.length-1;0<=Ld?kd<=Ld:kd>=Ld;Od=0<=Ld?++kd:--kd)if(!this.attribs[Od].isEqualNode(Nd.attribs[Od]))return!1;return!0},Ad}(od)}).call(commonjsGlobal)),XMLElement.exports}var XMLCData={exports:{}},XMLCharacterData={exports:{}},hasRequiredXMLCharacterData;function requireXMLCharacterData(){return hasRequiredXMLCharacterData||(hasRequiredXMLCharacterData=1,(function(){var Ra,qa=function(od,ld){for(var ud in ld)nd.call(ld,ud)&&(od[ud]=ld[ud]);function dd(){this.constructor=od}return dd.prototype=ld.prototype,od.prototype=new dd,od.__super__=ld.prototype,od},nd={}.hasOwnProperty;Ra=requireXMLNode(),XMLCharacterData.exports=function(od){qa(ld,od);function ld(ud){ld.__super__.constructor.call(this,ud),this.value=""}return Object.defineProperty(ld.prototype,"data",{get:function(){return this.value},set:function(ud){return this.value=ud||""}}),Object.defineProperty(ld.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(ld.prototype,"textContent",{get:function(){return this.value},set:function(ud){return this.value=ud||""}}),ld.prototype.clone=function(){return Object.create(this)},ld.prototype.substringData=function(ud,dd){throw new Error("This DOM method is not implemented."+this.debugInfo())},ld.prototype.appendData=function(ud){throw new Error("This DOM method is not implemented."+this.debugInfo())},ld.prototype.insertData=function(ud,dd){throw new Error("This DOM method is not implemented."+this.debugInfo())},ld.prototype.deleteData=function(ud,dd){throw new Error("This DOM method is not implemented."+this.debugInfo())},ld.prototype.replaceData=function(ud,dd,pd){throw new Error("This DOM method is not implemented."+this.debugInfo())},ld.prototype.isEqualNode=function(ud){return!(!ld.__super__.isEqualNode.apply(this,arguments).isEqualNode(ud)||ud.data!==this.data)},ld}(Ra)}).call(commonjsGlobal)),XMLCharacterData.exports}var hasRequiredXMLCData;function requireXMLCData(){return hasRequiredXMLCData||(hasRequiredXMLCData=1,(function(){var Ra,qa,nd=function(ld,ud){for(var dd in ud)od.call(ud,dd)&&(ld[dd]=ud[dd]);function pd(){this.constructor=ld}return pd.prototype=ud.prototype,ld.prototype=new pd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;Ra=requireNodeType(),qa=requireXMLCharacterData(),XMLCData.exports=function(ld){nd(ud,ld);function ud(dd,pd){if(ud.__super__.constructor.call(this,dd),pd==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=Ra.CData,this.value=this.stringify.cdata(pd)}return ud.prototype.clone=function(){return Object.create(this)},ud.prototype.toString=function(dd){return this.options.writer.cdata(this,this.options.writer.filterOptions(dd))},ud}(qa)}).call(commonjsGlobal)),XMLCData.exports}var XMLComment={exports:{}},hasRequiredXMLComment;function requireXMLComment(){return hasRequiredXMLComment||(hasRequiredXMLComment=1,(function(){var Ra,qa,nd=function(ld,ud){for(var dd in ud)od.call(ud,dd)&&(ld[dd]=ud[dd]);function pd(){this.constructor=ld}return pd.prototype=ud.prototype,ld.prototype=new pd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;Ra=requireNodeType(),qa=requireXMLCharacterData(),XMLComment.exports=function(ld){nd(ud,ld);function ud(dd,pd){if(ud.__super__.constructor.call(this,dd),pd==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=Ra.Comment,this.value=this.stringify.comment(pd)}return ud.prototype.clone=function(){return Object.create(this)},ud.prototype.toString=function(dd){return this.options.writer.comment(this,this.options.writer.filterOptions(dd))},ud}(qa)}).call(commonjsGlobal)),XMLComment.exports}var XMLDeclaration={exports:{}},hasRequiredXMLDeclaration;function requireXMLDeclaration(){return hasRequiredXMLDeclaration||(hasRequiredXMLDeclaration=1,(function(){var Ra,qa,nd,od=function(ud,dd){for(var pd in dd)ld.call(dd,pd)&&(ud[pd]=dd[pd]);function fd(){this.constructor=ud}return fd.prototype=dd.prototype,ud.prototype=new fd,ud.__super__=dd.prototype,ud},ld={}.hasOwnProperty;nd=requireUtility().isObject,qa=requireXMLNode(),Ra=requireNodeType(),XMLDeclaration.exports=function(ud){od(dd,ud);function dd(pd,fd,md,vd){var Ad;dd.__super__.constructor.call(this,pd),nd(fd)&&(Ad=fd,fd=Ad.version,md=Ad.encoding,vd=Ad.standalone),fd||(fd="1.0"),this.type=Ra.Declaration,this.version=this.stringify.xmlVersion(fd),md!=null&&(this.encoding=this.stringify.xmlEncoding(md)),vd!=null&&(this.standalone=this.stringify.xmlStandalone(vd))}return dd.prototype.toString=function(pd){return this.options.writer.declaration(this,this.options.writer.filterOptions(pd))},dd}(qa)}).call(commonjsGlobal)),XMLDeclaration.exports}var XMLDocType={exports:{}},XMLDTDAttList={exports:{}},hasRequiredXMLDTDAttList;function requireXMLDTDAttList(){return hasRequiredXMLDTDAttList||(hasRequiredXMLDTDAttList=1,(function(){var Ra,qa,nd=function(ld,ud){for(var dd in ud)od.call(ud,dd)&&(ld[dd]=ud[dd]);function pd(){this.constructor=ld}return pd.prototype=ud.prototype,ld.prototype=new pd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;qa=requireXMLNode(),Ra=requireNodeType(),XMLDTDAttList.exports=function(ld){nd(ud,ld);function ud(dd,pd,fd,md,vd,Ad){if(ud.__super__.constructor.call(this,dd),pd==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(fd==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(pd));if(!md)throw new Error("Missing DTD attribute type. "+this.debugInfo(pd));if(!vd)throw new Error("Missing DTD attribute default. "+this.debugInfo(pd));if(vd.indexOf("#")!==0&&(vd="#"+vd),!vd.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(pd));if(Ad&&!vd.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(pd));this.elementName=this.stringify.name(pd),this.type=Ra.AttributeDeclaration,this.attributeName=this.stringify.name(fd),this.attributeType=this.stringify.dtdAttType(md),Ad&&(this.defaultValue=this.stringify.dtdAttDefault(Ad)),this.defaultValueType=vd}return ud.prototype.toString=function(dd){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(dd))},ud}(qa)}).call(commonjsGlobal)),XMLDTDAttList.exports}var XMLDTDEntity={exports:{}},hasRequiredXMLDTDEntity;function requireXMLDTDEntity(){return hasRequiredXMLDTDEntity||(hasRequiredXMLDTDEntity=1,(function(){var Ra,qa,nd,od=function(ud,dd){for(var pd in dd)ld.call(dd,pd)&&(ud[pd]=dd[pd]);function fd(){this.constructor=ud}return fd.prototype=dd.prototype,ud.prototype=new fd,ud.__super__=dd.prototype,ud},ld={}.hasOwnProperty;nd=requireUtility().isObject,qa=requireXMLNode(),Ra=requireNodeType(),XMLDTDEntity.exports=function(ud){od(dd,ud);function dd(pd,fd,md,vd){if(dd.__super__.constructor.call(this,pd),md==null)throw new Error("Missing DTD entity name. "+this.debugInfo(md));if(vd==null)throw new Error("Missing DTD entity value. "+this.debugInfo(md));if(this.pe=!!fd,this.name=this.stringify.name(md),this.type=Ra.EntityDeclaration,!nd(vd))this.value=this.stringify.dtdEntityValue(vd),this.internal=!0;else{if(!vd.pubID&&!vd.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(md));if(vd.pubID&&!vd.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(md));if(this.internal=!1,vd.pubID!=null&&(this.pubID=this.stringify.dtdPubID(vd.pubID)),vd.sysID!=null&&(this.sysID=this.stringify.dtdSysID(vd.sysID)),vd.nData!=null&&(this.nData=this.stringify.dtdNData(vd.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(md))}}return Object.defineProperty(dd.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(dd.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(dd.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(dd.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(dd.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(dd.prototype,"xmlVersion",{get:function(){return null}}),dd.prototype.toString=function(pd){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(pd))},dd}(qa)}).call(commonjsGlobal)),XMLDTDEntity.exports}var XMLDTDElement={exports:{}},hasRequiredXMLDTDElement;function requireXMLDTDElement(){return hasRequiredXMLDTDElement||(hasRequiredXMLDTDElement=1,(function(){var Ra,qa,nd=function(ld,ud){for(var dd in ud)od.call(ud,dd)&&(ld[dd]=ud[dd]);function pd(){this.constructor=ld}return pd.prototype=ud.prototype,ld.prototype=new pd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;qa=requireXMLNode(),Ra=requireNodeType(),XMLDTDElement.exports=function(ld){nd(ud,ld);function ud(dd,pd,fd){if(ud.__super__.constructor.call(this,dd),pd==null)throw new Error("Missing DTD element name. "+this.debugInfo());fd||(fd="(#PCDATA)"),Array.isArray(fd)&&(fd="("+fd.join(",")+")"),this.name=this.stringify.name(pd),this.type=Ra.ElementDeclaration,this.value=this.stringify.dtdElementValue(fd)}return ud.prototype.toString=function(dd){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(dd))},ud}(qa)}).call(commonjsGlobal)),XMLDTDElement.exports}var XMLDTDNotation={exports:{}},hasRequiredXMLDTDNotation;function requireXMLDTDNotation(){return hasRequiredXMLDTDNotation||(hasRequiredXMLDTDNotation=1,(function(){var Ra,qa,nd=function(ld,ud){for(var dd in ud)od.call(ud,dd)&&(ld[dd]=ud[dd]);function pd(){this.constructor=ld}return pd.prototype=ud.prototype,ld.prototype=new pd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;qa=requireXMLNode(),Ra=requireNodeType(),XMLDTDNotation.exports=function(ld){nd(ud,ld);function ud(dd,pd,fd){if(ud.__super__.constructor.call(this,dd),pd==null)throw new Error("Missing DTD notation name. "+this.debugInfo(pd));if(!fd.pubID&&!fd.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(pd));this.name=this.stringify.name(pd),this.type=Ra.NotationDeclaration,fd.pubID!=null&&(this.pubID=this.stringify.dtdPubID(fd.pubID)),fd.sysID!=null&&(this.sysID=this.stringify.dtdSysID(fd.sysID))}return Object.defineProperty(ud.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(ud.prototype,"systemId",{get:function(){return this.sysID}}),ud.prototype.toString=function(dd){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(dd))},ud}(qa)}).call(commonjsGlobal)),XMLDTDNotation.exports}var hasRequiredXMLDocType;function requireXMLDocType(){return hasRequiredXMLDocType||(hasRequiredXMLDocType=1,(function(){var Ra,qa,nd,od,ld,ud,dd,pd,fd=function(vd,Ad){for(var Nd in Ad)md.call(Ad,Nd)&&(vd[Nd]=Ad[Nd]);function Od(){this.constructor=vd}return Od.prototype=Ad.prototype,vd.prototype=new Od,vd.__super__=Ad.prototype,vd},md={}.hasOwnProperty;pd=requireUtility().isObject,dd=requireXMLNode(),Ra=requireNodeType(),qa=requireXMLDTDAttList(),od=requireXMLDTDEntity(),nd=requireXMLDTDElement(),ld=requireXMLDTDNotation(),ud=requireXMLNamedNodeMap(),XMLDocType.exports=function(vd){fd(Ad,vd);function Ad(Nd,Od,kd){var Ld,Gd,jd,Fd,Ud,qd;if(Ad.__super__.constructor.call(this,Nd),this.type=Ra.DocType,Nd.children){for(Fd=Nd.children,Gd=0,jd=Fd.length;Gd<jd;Gd++)if(Ld=Fd[Gd],Ld.type===Ra.Element){this.name=Ld.name;break}}this.documentObject=Nd,pd(Od)&&(Ud=Od,Od=Ud.pubID,kd=Ud.sysID),kd==null&&(qd=[Od,kd],kd=qd[0],Od=qd[1]),Od!=null&&(this.pubID=this.stringify.dtdPubID(Od)),kd!=null&&(this.sysID=this.stringify.dtdSysID(kd))}return Object.defineProperty(Ad.prototype,"entities",{get:function(){var Nd,Od,kd,Ld,Gd;for(Ld={},Gd=this.children,Od=0,kd=Gd.length;Od<kd;Od++)Nd=Gd[Od],Nd.type===Ra.EntityDeclaration&&!Nd.pe&&(Ld[Nd.name]=Nd);return new ud(Ld)}}),Object.defineProperty(Ad.prototype,"notations",{get:function(){var Nd,Od,kd,Ld,Gd;for(Ld={},Gd=this.children,Od=0,kd=Gd.length;Od<kd;Od++)Nd=Gd[Od],Nd.type===Ra.NotationDeclaration&&(Ld[Nd.name]=Nd);return new ud(Ld)}}),Object.defineProperty(Ad.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(Ad.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(Ad.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Ad.prototype.element=function(Nd,Od){var kd;return kd=new nd(this,Nd,Od),this.children.push(kd),this},Ad.prototype.attList=function(Nd,Od,kd,Ld,Gd){var jd;return jd=new qa(this,Nd,Od,kd,Ld,Gd),this.children.push(jd),this},Ad.prototype.entity=function(Nd,Od){var kd;return kd=new od(this,!1,Nd,Od),this.children.push(kd),this},Ad.prototype.pEntity=function(Nd,Od){var kd;return kd=new od(this,!0,Nd,Od),this.children.push(kd),this},Ad.prototype.notation=function(Nd,Od){var kd;return kd=new ld(this,Nd,Od),this.children.push(kd),this},Ad.prototype.toString=function(Nd){return this.options.writer.docType(this,this.options.writer.filterOptions(Nd))},Ad.prototype.ele=function(Nd,Od){return this.element(Nd,Od)},Ad.prototype.att=function(Nd,Od,kd,Ld,Gd){return this.attList(Nd,Od,kd,Ld,Gd)},Ad.prototype.ent=function(Nd,Od){return this.entity(Nd,Od)},Ad.prototype.pent=function(Nd,Od){return this.pEntity(Nd,Od)},Ad.prototype.not=function(Nd,Od){return this.notation(Nd,Od)},Ad.prototype.up=function(){return this.root()||this.documentObject},Ad.prototype.isEqualNode=function(Nd){return!(!Ad.__super__.isEqualNode.apply(this,arguments).isEqualNode(Nd)||Nd.name!==this.name||Nd.publicId!==this.publicId||Nd.systemId!==this.systemId)},Ad}(dd)}).call(commonjsGlobal)),XMLDocType.exports}var XMLRaw={exports:{}},hasRequiredXMLRaw;function requireXMLRaw(){return hasRequiredXMLRaw||(hasRequiredXMLRaw=1,(function(){var Ra,qa,nd=function(ld,ud){for(var dd in ud)od.call(ud,dd)&&(ld[dd]=ud[dd]);function pd(){this.constructor=ld}return pd.prototype=ud.prototype,ld.prototype=new pd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;Ra=requireNodeType(),qa=requireXMLNode(),XMLRaw.exports=function(ld){nd(ud,ld);function ud(dd,pd){if(ud.__super__.constructor.call(this,dd),pd==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=Ra.Raw,this.value=this.stringify.raw(pd)}return ud.prototype.clone=function(){return Object.create(this)},ud.prototype.toString=function(dd){return this.options.writer.raw(this,this.options.writer.filterOptions(dd))},ud}(qa)}).call(commonjsGlobal)),XMLRaw.exports}var XMLText={exports:{}},hasRequiredXMLText;function requireXMLText(){return hasRequiredXMLText||(hasRequiredXMLText=1,(function(){var Ra,qa,nd=function(ld,ud){for(var dd in ud)od.call(ud,dd)&&(ld[dd]=ud[dd]);function pd(){this.constructor=ld}return pd.prototype=ud.prototype,ld.prototype=new pd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;Ra=requireNodeType(),qa=requireXMLCharacterData(),XMLText.exports=function(ld){nd(ud,ld);function ud(dd,pd){if(ud.__super__.constructor.call(this,dd),pd==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=Ra.Text,this.value=this.stringify.text(pd)}return Object.defineProperty(ud.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(ud.prototype,"wholeText",{get:function(){var dd,pd,fd;for(fd="",pd=this.previousSibling;pd;)fd=pd.data+fd,pd=pd.previousSibling;for(fd+=this.data,dd=this.nextSibling;dd;)fd=fd+dd.data,dd=dd.nextSibling;return fd}}),ud.prototype.clone=function(){return Object.create(this)},ud.prototype.toString=function(dd){return this.options.writer.text(this,this.options.writer.filterOptions(dd))},ud.prototype.splitText=function(dd){throw new Error("This DOM method is not implemented."+this.debugInfo())},ud.prototype.replaceWholeText=function(dd){throw new Error("This DOM method is not implemented."+this.debugInfo())},ud}(qa)}).call(commonjsGlobal)),XMLText.exports}var XMLProcessingInstruction={exports:{}},hasRequiredXMLProcessingInstruction;function requireXMLProcessingInstruction(){return hasRequiredXMLProcessingInstruction||(hasRequiredXMLProcessingInstruction=1,(function(){var Ra,qa,nd=function(ld,ud){for(var dd in ud)od.call(ud,dd)&&(ld[dd]=ud[dd]);function pd(){this.constructor=ld}return pd.prototype=ud.prototype,ld.prototype=new pd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;Ra=requireNodeType(),qa=requireXMLCharacterData(),XMLProcessingInstruction.exports=function(ld){nd(ud,ld);function ud(dd,pd,fd){if(ud.__super__.constructor.call(this,dd),pd==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=Ra.ProcessingInstruction,this.target=this.stringify.insTarget(pd),this.name=this.target,fd&&(this.value=this.stringify.insValue(fd))}return ud.prototype.clone=function(){return Object.create(this)},ud.prototype.toString=function(dd){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(dd))},ud.prototype.isEqualNode=function(dd){return!(!ud.__super__.isEqualNode.apply(this,arguments).isEqualNode(dd)||dd.target!==this.target)},ud}(qa)}).call(commonjsGlobal)),XMLProcessingInstruction.exports}var XMLDummy={exports:{}},hasRequiredXMLDummy;function requireXMLDummy(){return hasRequiredXMLDummy||(hasRequiredXMLDummy=1,(function(){var Ra,qa,nd=function(ld,ud){for(var dd in ud)od.call(ud,dd)&&(ld[dd]=ud[dd]);function pd(){this.constructor=ld}return pd.prototype=ud.prototype,ld.prototype=new pd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;qa=requireXMLNode(),Ra=requireNodeType(),XMLDummy.exports=function(ld){nd(ud,ld);function ud(dd){ud.__super__.constructor.call(this,dd),this.type=Ra.Dummy}return ud.prototype.clone=function(){return Object.create(this)},ud.prototype.toString=function(dd){return""},ud}(qa)}).call(commonjsGlobal)),XMLDummy.exports}var XMLNodeList={exports:{}},hasRequiredXMLNodeList;function requireXMLNodeList(){return hasRequiredXMLNodeList||(hasRequiredXMLNodeList=1,(function(){XMLNodeList.exports=function(){function Ra(qa){this.nodes=qa}return Object.defineProperty(Ra.prototype,"length",{get:function(){return this.nodes.length||0}}),Ra.prototype.clone=function(){return this.nodes=null},Ra.prototype.item=function(qa){return this.nodes[qa]||null},Ra}()}).call(commonjsGlobal)),XMLNodeList.exports}var DocumentPosition={exports:{}},hasRequiredDocumentPosition;function requireDocumentPosition(){return hasRequiredDocumentPosition||(hasRequiredDocumentPosition=1,(function(){DocumentPosition.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(commonjsGlobal)),DocumentPosition.exports}var hasRequiredXMLNode;function requireXMLNode(){return hasRequiredXMLNode||(hasRequiredXMLNode=1,(function(){var Ra,qa,nd,od,ld,ud,dd,pd,fd,md,vd,Ad,Nd,Od,kd,Ld,Gd,jd={}.hasOwnProperty;Gd=requireUtility(),Ld=Gd.isObject,kd=Gd.isFunction,Od=Gd.isEmpty,Nd=Gd.getValue,pd=null,nd=null,od=null,ld=null,ud=null,vd=null,Ad=null,md=null,dd=null,qa=null,fd=null,Ra=null,XMLNode.exports=function(){function Fd(Ud){this.parent=Ud,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,pd||(pd=requireXMLElement(),nd=requireXMLCData(),od=requireXMLComment(),ld=requireXMLDeclaration(),ud=requireXMLDocType(),vd=requireXMLRaw(),Ad=requireXMLText(),md=requireXMLProcessingInstruction(),dd=requireXMLDummy(),qa=requireNodeType(),fd=requireXMLNodeList(),requireXMLNamedNodeMap(),Ra=requireDocumentPosition())}return Object.defineProperty(Fd.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(Fd.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(Fd.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(Fd.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(Fd.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new fd(this.children)),this.childNodeList}}),Object.defineProperty(Fd.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(Fd.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(Fd.prototype,"previousSibling",{get:function(){var Ud;return Ud=this.parent.children.indexOf(this),this.parent.children[Ud-1]||null}}),Object.defineProperty(Fd.prototype,"nextSibling",{get:function(){var Ud;return Ud=this.parent.children.indexOf(this),this.parent.children[Ud+1]||null}}),Object.defineProperty(Fd.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(Fd.prototype,"textContent",{get:function(){var Ud,qd,zd,Wd,Jd;if(this.nodeType===qa.Element||this.nodeType===qa.DocumentFragment){for(Jd="",Wd=this.children,qd=0,zd=Wd.length;qd<zd;qd++)Ud=Wd[qd],Ud.textContent&&(Jd+=Ud.textContent);return Jd}else return null},set:function(Ud){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Fd.prototype.setParent=function(Ud){var qd,zd,Wd,Jd,_f;for(this.parent=Ud,Ud&&(this.options=Ud.options,this.stringify=Ud.stringify),Jd=this.children,_f=[],zd=0,Wd=Jd.length;zd<Wd;zd++)qd=Jd[zd],_f.push(qd.setParent(this));return _f},Fd.prototype.element=function(Ud,qd,zd){var Wd,Jd,_f,Xd,pf,mf,Sf,Tf,Af,Ef,Nf;if(mf=null,qd===null&&zd==null&&(Af=[{},null],qd=Af[0],zd=Af[1]),qd==null&&(qd={}),qd=Nd(qd),Ld(qd)||(Ef=[qd,zd],zd=Ef[0],qd=Ef[1]),Ud!=null&&(Ud=Nd(Ud)),Array.isArray(Ud))for(_f=0,Sf=Ud.length;_f<Sf;_f++)Jd=Ud[_f],mf=this.element(Jd);else if(kd(Ud))mf=this.element(Ud.apply());else if(Ld(Ud)){for(pf in Ud)if(jd.call(Ud,pf))if(Nf=Ud[pf],kd(Nf)&&(Nf=Nf.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&pf.indexOf(this.stringify.convertAttKey)===0)mf=this.attribute(pf.substr(this.stringify.convertAttKey.length),Nf);else if(!this.options.separateArrayItems&&Array.isArray(Nf)&&Od(Nf))mf=this.dummy();else if(Ld(Nf)&&Od(Nf))mf=this.element(pf);else if(!this.options.keepNullNodes&&Nf==null)mf=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(Nf))for(Xd=0,Tf=Nf.length;Xd<Tf;Xd++)Jd=Nf[Xd],Wd={},Wd[pf]=Jd,mf=this.element(Wd);else Ld(Nf)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&pf.indexOf(this.stringify.convertTextKey)===0?mf=this.element(Nf):(mf=this.element(pf),mf.element(Nf)):mf=this.element(pf,Nf)}else!this.options.keepNullNodes&&zd===null?mf=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&Ud.indexOf(this.stringify.convertTextKey)===0?mf=this.text(zd):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&Ud.indexOf(this.stringify.convertCDataKey)===0?mf=this.cdata(zd):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&Ud.indexOf(this.stringify.convertCommentKey)===0?mf=this.comment(zd):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&Ud.indexOf(this.stringify.convertRawKey)===0?mf=this.raw(zd):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&Ud.indexOf(this.stringify.convertPIKey)===0?mf=this.instruction(Ud.substr(this.stringify.convertPIKey.length),zd):mf=this.node(Ud,qd,zd);if(mf==null)throw new Error("Could not create any elements with: "+Ud+". "+this.debugInfo());return mf},Fd.prototype.insertBefore=function(Ud,qd,zd){var Wd,Jd,_f,Xd,pf;if(Ud!=null&&Ud.type)return _f=Ud,Xd=qd,_f.setParent(this),Xd?(Jd=children.indexOf(Xd),pf=children.splice(Jd),children.push(_f),Array.prototype.push.apply(children,pf)):children.push(_f),_f;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(Ud));return Jd=this.parent.children.indexOf(this),pf=this.parent.children.splice(Jd),Wd=this.parent.element(Ud,qd,zd),Array.prototype.push.apply(this.parent.children,pf),Wd},Fd.prototype.insertAfter=function(Ud,qd,zd){var Wd,Jd,_f;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(Ud));return Jd=this.parent.children.indexOf(this),_f=this.parent.children.splice(Jd+1),Wd=this.parent.element(Ud,qd,zd),Array.prototype.push.apply(this.parent.children,_f),Wd},Fd.prototype.remove=function(){var Ud;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return Ud=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[Ud,Ud-Ud+1].concat([])),this.parent},Fd.prototype.node=function(Ud,qd,zd){var Wd,Jd;return Ud!=null&&(Ud=Nd(Ud)),qd||(qd={}),qd=Nd(qd),Ld(qd)||(Jd=[qd,zd],zd=Jd[0],qd=Jd[1]),Wd=new pd(this,Ud,qd),zd!=null&&Wd.text(zd),this.children.push(Wd),Wd},Fd.prototype.text=function(Ud){var qd;return Ld(Ud)&&this.element(Ud),qd=new Ad(this,Ud),this.children.push(qd),this},Fd.prototype.cdata=function(Ud){var qd;return qd=new nd(this,Ud),this.children.push(qd),this},Fd.prototype.comment=function(Ud){var qd;return qd=new od(this,Ud),this.children.push(qd),this},Fd.prototype.commentBefore=function(Ud){var qd,zd;return qd=this.parent.children.indexOf(this),zd=this.parent.children.splice(qd),this.parent.comment(Ud),Array.prototype.push.apply(this.parent.children,zd),this},Fd.prototype.commentAfter=function(Ud){var qd,zd;return qd=this.parent.children.indexOf(this),zd=this.parent.children.splice(qd+1),this.parent.comment(Ud),Array.prototype.push.apply(this.parent.children,zd),this},Fd.prototype.raw=function(Ud){var qd;return qd=new vd(this,Ud),this.children.push(qd),this},Fd.prototype.dummy=function(){var Ud;return Ud=new dd(this),Ud},Fd.prototype.instruction=function(Ud,qd){var zd,Wd,Jd,_f,Xd;if(Ud!=null&&(Ud=Nd(Ud)),qd!=null&&(qd=Nd(qd)),Array.isArray(Ud))for(_f=0,Xd=Ud.length;_f<Xd;_f++)zd=Ud[_f],this.instruction(zd);else if(Ld(Ud))for(zd in Ud)jd.call(Ud,zd)&&(Wd=Ud[zd],this.instruction(zd,Wd));else kd(qd)&&(qd=qd.apply()),Jd=new md(this,Ud,qd),this.children.push(Jd);return this},Fd.prototype.instructionBefore=function(Ud,qd){var zd,Wd;return zd=this.parent.children.indexOf(this),Wd=this.parent.children.splice(zd),this.parent.instruction(Ud,qd),Array.prototype.push.apply(this.parent.children,Wd),this},Fd.prototype.instructionAfter=function(Ud,qd){var zd,Wd;return zd=this.parent.children.indexOf(this),Wd=this.parent.children.splice(zd+1),this.parent.instruction(Ud,qd),Array.prototype.push.apply(this.parent.children,Wd),this},Fd.prototype.declaration=function(Ud,qd,zd){var Wd,Jd;return Wd=this.document(),Jd=new ld(Wd,Ud,qd,zd),Wd.children.length===0?Wd.children.unshift(Jd):Wd.children[0].type===qa.Declaration?Wd.children[0]=Jd:Wd.children.unshift(Jd),Wd.root()||Wd},Fd.prototype.dtd=function(Ud,qd){var zd,Wd,Jd,_f,Xd,pf,mf,Sf,Tf,Af;for(Wd=this.document(),Jd=new ud(Wd,Ud,qd),Tf=Wd.children,_f=Xd=0,mf=Tf.length;Xd<mf;_f=++Xd)if(zd=Tf[_f],zd.type===qa.DocType)return Wd.children[_f]=Jd,Jd;for(Af=Wd.children,_f=pf=0,Sf=Af.length;pf<Sf;_f=++pf)if(zd=Af[_f],zd.isRoot)return Wd.children.splice(_f,0,Jd),Jd;return Wd.children.push(Jd),Jd},Fd.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},Fd.prototype.root=function(){var Ud;for(Ud=this;Ud;){if(Ud.type===qa.Document)return Ud.rootObject;if(Ud.isRoot)return Ud;Ud=Ud.parent}},Fd.prototype.document=function(){var Ud;for(Ud=this;Ud;){if(Ud.type===qa.Document)return Ud;Ud=Ud.parent}},Fd.prototype.end=function(Ud){return this.document().end(Ud)},Fd.prototype.prev=function(){var Ud;if(Ud=this.parent.children.indexOf(this),Ud<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[Ud-1]},Fd.prototype.next=function(){var Ud;if(Ud=this.parent.children.indexOf(this),Ud===-1||Ud===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[Ud+1]},Fd.prototype.importDocument=function(Ud){var qd;return qd=Ud.root().clone(),qd.parent=this,qd.isRoot=!1,this.children.push(qd),this},Fd.prototype.debugInfo=function(Ud){var qd,zd;return Ud=Ud||this.name,Ud==null&&!((qd=this.parent)!=null&&qd.name)?"":Ud==null?"parent: <"+this.parent.name+">":(zd=this.parent)!=null&&zd.name?"node: <"+Ud+">, parent: <"+this.parent.name+">":"node: <"+Ud+">"},Fd.prototype.ele=function(Ud,qd,zd){return this.element(Ud,qd,zd)},Fd.prototype.nod=function(Ud,qd,zd){return this.node(Ud,qd,zd)},Fd.prototype.txt=function(Ud){return this.text(Ud)},Fd.prototype.dat=function(Ud){return this.cdata(Ud)},Fd.prototype.com=function(Ud){return this.comment(Ud)},Fd.prototype.ins=function(Ud,qd){return this.instruction(Ud,qd)},Fd.prototype.doc=function(){return this.document()},Fd.prototype.dec=function(Ud,qd,zd){return this.declaration(Ud,qd,zd)},Fd.prototype.e=function(Ud,qd,zd){return this.element(Ud,qd,zd)},Fd.prototype.n=function(Ud,qd,zd){return this.node(Ud,qd,zd)},Fd.prototype.t=function(Ud){return this.text(Ud)},Fd.prototype.d=function(Ud){return this.cdata(Ud)},Fd.prototype.c=function(Ud){return this.comment(Ud)},Fd.prototype.r=function(Ud){return this.raw(Ud)},Fd.prototype.i=function(Ud,qd){return this.instruction(Ud,qd)},Fd.prototype.u=function(){return this.up()},Fd.prototype.importXMLBuilder=function(Ud){return this.importDocument(Ud)},Fd.prototype.replaceChild=function(Ud,qd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Fd.prototype.removeChild=function(Ud){throw new Error("This DOM method is not implemented."+this.debugInfo())},Fd.prototype.appendChild=function(Ud){throw new Error("This DOM method is not implemented."+this.debugInfo())},Fd.prototype.hasChildNodes=function(){return this.children.length!==0},Fd.prototype.cloneNode=function(Ud){throw new Error("This DOM method is not implemented."+this.debugInfo())},Fd.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},Fd.prototype.isSupported=function(Ud,qd){return!0},Fd.prototype.hasAttributes=function(){return this.attribs.length!==0},Fd.prototype.compareDocumentPosition=function(Ud){var qd,zd;return qd=this,qd===Ud?0:this.document()!==Ud.document()?(zd=Ra.Disconnected|Ra.ImplementationSpecific,Math.random()<.5?zd|=Ra.Preceding:zd|=Ra.Following,zd):qd.isAncestor(Ud)?Ra.Contains|Ra.Preceding:qd.isDescendant(Ud)?Ra.Contains|Ra.Following:qd.isPreceding(Ud)?Ra.Preceding:Ra.Following},Fd.prototype.isSameNode=function(Ud){throw new Error("This DOM method is not implemented."+this.debugInfo())},Fd.prototype.lookupPrefix=function(Ud){throw new Error("This DOM method is not implemented."+this.debugInfo())},Fd.prototype.isDefaultNamespace=function(Ud){throw new Error("This DOM method is not implemented."+this.debugInfo())},Fd.prototype.lookupNamespaceURI=function(Ud){throw new Error("This DOM method is not implemented."+this.debugInfo())},Fd.prototype.isEqualNode=function(Ud){var qd,zd,Wd;if(Ud.nodeType!==this.nodeType||Ud.children.length!==this.children.length)return!1;for(qd=zd=0,Wd=this.children.length-1;0<=Wd?zd<=Wd:zd>=Wd;qd=0<=Wd?++zd:--zd)if(!this.children[qd].isEqualNode(Ud.children[qd]))return!1;return!0},Fd.prototype.getFeature=function(Ud,qd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Fd.prototype.setUserData=function(Ud,qd,zd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Fd.prototype.getUserData=function(Ud){throw new Error("This DOM method is not implemented."+this.debugInfo())},Fd.prototype.contains=function(Ud){return Ud?Ud===this||this.isDescendant(Ud):!1},Fd.prototype.isDescendant=function(Ud){var qd,zd,Wd,Jd,_f;for(_f=this.children,Wd=0,Jd=_f.length;Wd<Jd;Wd++)if(qd=_f[Wd],Ud===qd||(zd=qd.isDescendant(Ud),zd))return!0;return!1},Fd.prototype.isAncestor=function(Ud){return Ud.isDescendant(this)},Fd.prototype.isPreceding=function(Ud){var qd,zd;return qd=this.treePosition(Ud),zd=this.treePosition(this),qd===-1||zd===-1?!1:qd<zd},Fd.prototype.isFollowing=function(Ud){var qd,zd;return qd=this.treePosition(Ud),zd=this.treePosition(this),qd===-1||zd===-1?!1:qd>zd},Fd.prototype.treePosition=function(Ud){var qd,zd;return zd=0,qd=!1,this.foreachTreeNode(this.document(),function(Wd){if(zd++,!qd&&Wd===Ud)return qd=!0}),qd?zd:-1},Fd.prototype.foreachTreeNode=function(Ud,qd){var zd,Wd,Jd,_f,Xd;for(Ud||(Ud=this.document()),_f=Ud.children,Wd=0,Jd=_f.length;Wd<Jd;Wd++){if(zd=_f[Wd],Xd=qd(zd))return Xd;if(Xd=this.foreachTreeNode(zd,qd),Xd)return Xd}},Fd}()}).call(commonjsGlobal)),XMLNode.exports}var XMLStringifier={exports:{}},hasRequiredXMLStringifier;function requireXMLStringifier(){return hasRequiredXMLStringifier||(hasRequiredXMLStringifier=1,(function(){var Ra=function(nd,od){return function(){return nd.apply(od,arguments)}},qa={}.hasOwnProperty;XMLStringifier.exports=function(){function nd(od){this.assertLegalName=Ra(this.assertLegalName,this),this.assertLegalChar=Ra(this.assertLegalChar,this);var ld,ud,dd;od||(od={}),this.options=od,this.options.version||(this.options.version="1.0"),ud=od.stringify||{};for(ld in ud)qa.call(ud,ld)&&(dd=ud[ld],this[ld]=dd)}return nd.prototype.name=function(od){return this.options.noValidation?od:this.assertLegalName(""+od||"")},nd.prototype.text=function(od){return this.options.noValidation?od:this.assertLegalChar(this.textEscape(""+od||""))},nd.prototype.cdata=function(od){return this.options.noValidation?od:(od=""+od||"",od=od.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(od))},nd.prototype.comment=function(od){if(this.options.noValidation)return od;if(od=""+od||"",od.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+od);return this.assertLegalChar(od)},nd.prototype.raw=function(od){return this.options.noValidation?od:""+od||""},nd.prototype.attValue=function(od){return this.options.noValidation?od:this.assertLegalChar(this.attEscape(od=""+od||""))},nd.prototype.insTarget=function(od){return this.options.noValidation?od:this.assertLegalChar(""+od||"")},nd.prototype.insValue=function(od){if(this.options.noValidation)return od;if(od=""+od||"",od.match(/\?>/))throw new Error("Invalid processing instruction value: "+od);return this.assertLegalChar(od)},nd.prototype.xmlVersion=function(od){if(this.options.noValidation)return od;if(od=""+od||"",!od.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+od);return od},nd.prototype.xmlEncoding=function(od){if(this.options.noValidation)return od;if(od=""+od||"",!od.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+od);return this.assertLegalChar(od)},nd.prototype.xmlStandalone=function(od){return this.options.noValidation?od:od?"yes":"no"},nd.prototype.dtdPubID=function(od){return this.options.noValidation?od:this.assertLegalChar(""+od||"")},nd.prototype.dtdSysID=function(od){return this.options.noValidation?od:this.assertLegalChar(""+od||"")},nd.prototype.dtdElementValue=function(od){return this.options.noValidation?od:this.assertLegalChar(""+od||"")},nd.prototype.dtdAttType=function(od){return this.options.noValidation?od:this.assertLegalChar(""+od||"")},nd.prototype.dtdAttDefault=function(od){return this.options.noValidation?od:this.assertLegalChar(""+od||"")},nd.prototype.dtdEntityValue=function(od){return this.options.noValidation?od:this.assertLegalChar(""+od||"")},nd.prototype.dtdNData=function(od){return this.options.noValidation?od:this.assertLegalChar(""+od||"")},nd.prototype.convertAttKey="@",nd.prototype.convertPIKey="?",nd.prototype.convertTextKey="#text",nd.prototype.convertCDataKey="#cdata",nd.prototype.convertCommentKey="#comment",nd.prototype.convertRawKey="#raw",nd.prototype.assertLegalChar=function(od){var ld,ud;if(this.options.noValidation)return od;if(ld="",this.options.version==="1.0"){if(ld=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ud=od.match(ld))throw new Error("Invalid character in string: "+od+" at index "+ud.index)}else if(this.options.version==="1.1"&&(ld=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ud=od.match(ld)))throw new Error("Invalid character in string: "+od+" at index "+ud.index);return od},nd.prototype.assertLegalName=function(od){var ld;if(this.options.noValidation)return od;if(this.assertLegalChar(od),ld=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!od.match(ld))throw new Error("Invalid character in name");return od},nd.prototype.textEscape=function(od){var ld;return this.options.noValidation?od:(ld=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,od.replace(ld,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;"))},nd.prototype.attEscape=function(od){var ld;return this.options.noValidation?od:(ld=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,od.replace(ld,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;"))},nd}()}).call(commonjsGlobal)),XMLStringifier.exports}var XMLStringWriter={exports:{}},XMLWriterBase={exports:{}},WriterState={exports:{}},hasRequiredWriterState;function requireWriterState(){return hasRequiredWriterState||(hasRequiredWriterState=1,(function(){WriterState.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(commonjsGlobal)),WriterState.exports}var hasRequiredXMLWriterBase;function requireXMLWriterBase(){return hasRequiredXMLWriterBase||(hasRequiredXMLWriterBase=1,(function(){var Ra,qa,nd,od={}.hasOwnProperty;nd=requireUtility().assign,Ra=requireNodeType(),requireXMLDeclaration(),requireXMLDocType(),requireXMLCData(),requireXMLComment(),requireXMLElement(),requireXMLRaw(),requireXMLText(),requireXMLProcessingInstruction(),requireXMLDummy(),requireXMLDTDAttList(),requireXMLDTDElement(),requireXMLDTDEntity(),requireXMLDTDNotation(),qa=requireWriterState(),XMLWriterBase.exports=function(){function ld(ud){var dd,pd,fd;ud||(ud={}),this.options=ud,pd=ud.writer||{};for(dd in pd)od.call(pd,dd)&&(fd=pd[dd],this["_"+dd]=this[dd],this[dd]=fd)}return ld.prototype.filterOptions=function(ud){var dd,pd,fd,md,vd,Ad,Nd,Od;return ud||(ud={}),ud=nd({},this.options,ud),dd={writer:this},dd.pretty=ud.pretty||!1,dd.allowEmpty=ud.allowEmpty||!1,dd.indent=(pd=ud.indent)!=null?pd:" ",dd.newline=(fd=ud.newline)!=null?fd:`
`,dd.offset=(md=ud.offset)!=null?md:0,dd.dontPrettyTextNodes=(vd=(Ad=ud.dontPrettyTextNodes)!=null?Ad:ud.dontprettytextnodes)!=null?vd:0,dd.spaceBeforeSlash=(Nd=(Od=ud.spaceBeforeSlash)!=null?Od:ud.spacebeforeslash)!=null?Nd:"",dd.spaceBeforeSlash===!0&&(dd.spaceBeforeSlash=" "),dd.suppressPrettyCount=0,dd.user={},dd.state=qa.None,dd},ld.prototype.indent=function(ud,dd,pd){var fd;return!dd.pretty||dd.suppressPrettyCount?"":dd.pretty&&(fd=(pd||0)+dd.offset+1,fd>0)?new Array(fd).join(dd.indent):""},ld.prototype.endline=function(ud,dd,pd){return!dd.pretty||dd.suppressPrettyCount?"":dd.newline},ld.prototype.attribute=function(ud,dd,pd){var fd;return this.openAttribute(ud,dd,pd),fd=" "+ud.name+'="'+ud.value+'"',this.closeAttribute(ud,dd,pd),fd},ld.prototype.cdata=function(ud,dd,pd){var fd;return this.openNode(ud,dd,pd),dd.state=qa.OpenTag,fd=this.indent(ud,dd,pd)+"<![CDATA[",dd.state=qa.InsideTag,fd+=ud.value,dd.state=qa.CloseTag,fd+="]]>"+this.endline(ud,dd,pd),dd.state=qa.None,this.closeNode(ud,dd,pd),fd},ld.prototype.comment=function(ud,dd,pd){var fd;return this.openNode(ud,dd,pd),dd.state=qa.OpenTag,fd=this.indent(ud,dd,pd)+"<!-- ",dd.state=qa.InsideTag,fd+=ud.value,dd.state=qa.CloseTag,fd+=" -->"+this.endline(ud,dd,pd),dd.state=qa.None,this.closeNode(ud,dd,pd),fd},ld.prototype.declaration=function(ud,dd,pd){var fd;return this.openNode(ud,dd,pd),dd.state=qa.OpenTag,fd=this.indent(ud,dd,pd)+"<?xml",dd.state=qa.InsideTag,fd+=' version="'+ud.version+'"',ud.encoding!=null&&(fd+=' encoding="'+ud.encoding+'"'),ud.standalone!=null&&(fd+=' standalone="'+ud.standalone+'"'),dd.state=qa.CloseTag,fd+=dd.spaceBeforeSlash+"?>",fd+=this.endline(ud,dd,pd),dd.state=qa.None,this.closeNode(ud,dd,pd),fd},ld.prototype.docType=function(ud,dd,pd){var fd,md,vd,Ad,Nd;if(pd||(pd=0),this.openNode(ud,dd,pd),dd.state=qa.OpenTag,Ad=this.indent(ud,dd,pd),Ad+="<!DOCTYPE "+ud.root().name,ud.pubID&&ud.sysID?Ad+=' PUBLIC "'+ud.pubID+'" "'+ud.sysID+'"':ud.sysID&&(Ad+=' SYSTEM "'+ud.sysID+'"'),ud.children.length>0){for(Ad+=" [",Ad+=this.endline(ud,dd,pd),dd.state=qa.InsideTag,Nd=ud.children,md=0,vd=Nd.length;md<vd;md++)fd=Nd[md],Ad+=this.writeChildNode(fd,dd,pd+1);dd.state=qa.CloseTag,Ad+="]"}return dd.state=qa.CloseTag,Ad+=dd.spaceBeforeSlash+">",Ad+=this.endline(ud,dd,pd),dd.state=qa.None,this.closeNode(ud,dd,pd),Ad},ld.prototype.element=function(ud,dd,pd){var fd,md,vd,Ad,Nd,Od,kd,Ld,Gd,jd,Fd,Ud,qd,zd;pd||(pd=0),jd=!1,Fd="",this.openNode(ud,dd,pd),dd.state=qa.OpenTag,Fd+=this.indent(ud,dd,pd)+"<"+ud.name,Ud=ud.attribs;for(Gd in Ud)od.call(Ud,Gd)&&(fd=Ud[Gd],Fd+=this.attribute(fd,dd,pd));if(vd=ud.children.length,Ad=vd===0?null:ud.children[0],vd===0||ud.children.every(function(Wd){return(Wd.type===Ra.Text||Wd.type===Ra.Raw)&&Wd.value===""}))dd.allowEmpty?(Fd+=">",dd.state=qa.CloseTag,Fd+="</"+ud.name+">"+this.endline(ud,dd,pd)):(dd.state=qa.CloseTag,Fd+=dd.spaceBeforeSlash+"/>"+this.endline(ud,dd,pd));else if(dd.pretty&&vd===1&&(Ad.type===Ra.Text||Ad.type===Ra.Raw)&&Ad.value!=null)Fd+=">",dd.state=qa.InsideTag,dd.suppressPrettyCount++,jd=!0,Fd+=this.writeChildNode(Ad,dd,pd+1),dd.suppressPrettyCount--,jd=!1,dd.state=qa.CloseTag,Fd+="</"+ud.name+">"+this.endline(ud,dd,pd);else{if(dd.dontPrettyTextNodes){for(qd=ud.children,Nd=0,kd=qd.length;Nd<kd;Nd++)if(md=qd[Nd],(md.type===Ra.Text||md.type===Ra.Raw)&&md.value!=null){dd.suppressPrettyCount++,jd=!0;break}}for(Fd+=">"+this.endline(ud,dd,pd),dd.state=qa.InsideTag,zd=ud.children,Od=0,Ld=zd.length;Od<Ld;Od++)md=zd[Od],Fd+=this.writeChildNode(md,dd,pd+1);dd.state=qa.CloseTag,Fd+=this.indent(ud,dd,pd)+"</"+ud.name+">",jd&&dd.suppressPrettyCount--,Fd+=this.endline(ud,dd,pd),dd.state=qa.None}return this.closeNode(ud,dd,pd),Fd},ld.prototype.writeChildNode=function(ud,dd,pd){switch(ud.type){case Ra.CData:return this.cdata(ud,dd,pd);case Ra.Comment:return this.comment(ud,dd,pd);case Ra.Element:return this.element(ud,dd,pd);case Ra.Raw:return this.raw(ud,dd,pd);case Ra.Text:return this.text(ud,dd,pd);case Ra.ProcessingInstruction:return this.processingInstruction(ud,dd,pd);case Ra.Dummy:return"";case Ra.Declaration:return this.declaration(ud,dd,pd);case Ra.DocType:return this.docType(ud,dd,pd);case Ra.AttributeDeclaration:return this.dtdAttList(ud,dd,pd);case Ra.ElementDeclaration:return this.dtdElement(ud,dd,pd);case Ra.EntityDeclaration:return this.dtdEntity(ud,dd,pd);case Ra.NotationDeclaration:return this.dtdNotation(ud,dd,pd);default:throw new Error("Unknown XML node type: "+ud.constructor.name)}},ld.prototype.processingInstruction=function(ud,dd,pd){var fd;return this.openNode(ud,dd,pd),dd.state=qa.OpenTag,fd=this.indent(ud,dd,pd)+"<?",dd.state=qa.InsideTag,fd+=ud.target,ud.value&&(fd+=" "+ud.value),dd.state=qa.CloseTag,fd+=dd.spaceBeforeSlash+"?>",fd+=this.endline(ud,dd,pd),dd.state=qa.None,this.closeNode(ud,dd,pd),fd},ld.prototype.raw=function(ud,dd,pd){var fd;return this.openNode(ud,dd,pd),dd.state=qa.OpenTag,fd=this.indent(ud,dd,pd),dd.state=qa.InsideTag,fd+=ud.value,dd.state=qa.CloseTag,fd+=this.endline(ud,dd,pd),dd.state=qa.None,this.closeNode(ud,dd,pd),fd},ld.prototype.text=function(ud,dd,pd){var fd;return this.openNode(ud,dd,pd),dd.state=qa.OpenTag,fd=this.indent(ud,dd,pd),dd.state=qa.InsideTag,fd+=ud.value,dd.state=qa.CloseTag,fd+=this.endline(ud,dd,pd),dd.state=qa.None,this.closeNode(ud,dd,pd),fd},ld.prototype.dtdAttList=function(ud,dd,pd){var fd;return this.openNode(ud,dd,pd),dd.state=qa.OpenTag,fd=this.indent(ud,dd,pd)+"<!ATTLIST",dd.state=qa.InsideTag,fd+=" "+ud.elementName+" "+ud.attributeName+" "+ud.attributeType,ud.defaultValueType!=="#DEFAULT"&&(fd+=" "+ud.defaultValueType),ud.defaultValue&&(fd+=' "'+ud.defaultValue+'"'),dd.state=qa.CloseTag,fd+=dd.spaceBeforeSlash+">"+this.endline(ud,dd,pd),dd.state=qa.None,this.closeNode(ud,dd,pd),fd},ld.prototype.dtdElement=function(ud,dd,pd){var fd;return this.openNode(ud,dd,pd),dd.state=qa.OpenTag,fd=this.indent(ud,dd,pd)+"<!ELEMENT",dd.state=qa.InsideTag,fd+=" "+ud.name+" "+ud.value,dd.state=qa.CloseTag,fd+=dd.spaceBeforeSlash+">"+this.endline(ud,dd,pd),dd.state=qa.None,this.closeNode(ud,dd,pd),fd},ld.prototype.dtdEntity=function(ud,dd,pd){var fd;return this.openNode(ud,dd,pd),dd.state=qa.OpenTag,fd=this.indent(ud,dd,pd)+"<!ENTITY",dd.state=qa.InsideTag,ud.pe&&(fd+=" %"),fd+=" "+ud.name,ud.value?fd+=' "'+ud.value+'"':(ud.pubID&&ud.sysID?fd+=' PUBLIC "'+ud.pubID+'" "'+ud.sysID+'"':ud.sysID&&(fd+=' SYSTEM "'+ud.sysID+'"'),ud.nData&&(fd+=" NDATA "+ud.nData)),dd.state=qa.CloseTag,fd+=dd.spaceBeforeSlash+">"+this.endline(ud,dd,pd),dd.state=qa.None,this.closeNode(ud,dd,pd),fd},ld.prototype.dtdNotation=function(ud,dd,pd){var fd;return this.openNode(ud,dd,pd),dd.state=qa.OpenTag,fd=this.indent(ud,dd,pd)+"<!NOTATION",dd.state=qa.InsideTag,fd+=" "+ud.name,ud.pubID&&ud.sysID?fd+=' PUBLIC "'+ud.pubID+'" "'+ud.sysID+'"':ud.pubID?fd+=' PUBLIC "'+ud.pubID+'"':ud.sysID&&(fd+=' SYSTEM "'+ud.sysID+'"'),dd.state=qa.CloseTag,fd+=dd.spaceBeforeSlash+">"+this.endline(ud,dd,pd),dd.state=qa.None,this.closeNode(ud,dd,pd),fd},ld.prototype.openNode=function(ud,dd,pd){},ld.prototype.closeNode=function(ud,dd,pd){},ld.prototype.openAttribute=function(ud,dd,pd){},ld.prototype.closeAttribute=function(ud,dd,pd){},ld}()}).call(commonjsGlobal)),XMLWriterBase.exports}var hasRequiredXMLStringWriter;function requireXMLStringWriter(){return hasRequiredXMLStringWriter||(hasRequiredXMLStringWriter=1,(function(){var Ra,qa=function(od,ld){for(var ud in ld)nd.call(ld,ud)&&(od[ud]=ld[ud]);function dd(){this.constructor=od}return dd.prototype=ld.prototype,od.prototype=new dd,od.__super__=ld.prototype,od},nd={}.hasOwnProperty;Ra=requireXMLWriterBase(),XMLStringWriter.exports=function(od){qa(ld,od);function ld(ud){ld.__super__.constructor.call(this,ud)}return ld.prototype.document=function(ud,dd){var pd,fd,md,vd,Ad;for(dd=this.filterOptions(dd),vd="",Ad=ud.children,fd=0,md=Ad.length;fd<md;fd++)pd=Ad[fd],vd+=this.writeChildNode(pd,dd,0);return dd.pretty&&vd.slice(-dd.newline.length)===dd.newline&&(vd=vd.slice(0,-dd.newline.length)),vd},ld}(Ra)}).call(commonjsGlobal)),XMLStringWriter.exports}var hasRequiredXMLDocument;function requireXMLDocument(){return hasRequiredXMLDocument||(hasRequiredXMLDocument=1,(function(){var Ra,qa,nd,od,ld,ud,dd,pd=function(md,vd){for(var Ad in vd)fd.call(vd,Ad)&&(md[Ad]=vd[Ad]);function Nd(){this.constructor=md}return Nd.prototype=vd.prototype,md.prototype=new Nd,md.__super__=vd.prototype,md},fd={}.hasOwnProperty;dd=requireUtility().isPlainObject,nd=requireXMLDOMImplementation(),qa=requireXMLDOMConfiguration(),od=requireXMLNode(),Ra=requireNodeType(),ud=requireXMLStringifier(),ld=requireXMLStringWriter(),XMLDocument.exports=function(md){pd(vd,md);function vd(Ad){vd.__super__.constructor.call(this,null),this.name="#document",this.type=Ra.Document,this.documentURI=null,this.domConfig=new qa,Ad||(Ad={}),Ad.writer||(Ad.writer=new ld),this.options=Ad,this.stringify=new ud(Ad)}return Object.defineProperty(vd.prototype,"implementation",{value:new nd}),Object.defineProperty(vd.prototype,"doctype",{get:function(){var Ad,Nd,Od,kd;for(kd=this.children,Nd=0,Od=kd.length;Nd<Od;Nd++)if(Ad=kd[Nd],Ad.type===Ra.DocType)return Ad;return null}}),Object.defineProperty(vd.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(vd.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(vd.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(vd.prototype,"xmlEncoding",{get:function(){return this.children.length!==0&&this.children[0].type===Ra.Declaration?this.children[0].encoding:null}}),Object.defineProperty(vd.prototype,"xmlStandalone",{get:function(){return this.children.length!==0&&this.children[0].type===Ra.Declaration?this.children[0].standalone==="yes":!1}}),Object.defineProperty(vd.prototype,"xmlVersion",{get:function(){return this.children.length!==0&&this.children[0].type===Ra.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(vd.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(vd.prototype,"origin",{get:function(){return null}}),Object.defineProperty(vd.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(vd.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(vd.prototype,"contentType",{get:function(){return null}}),vd.prototype.end=function(Ad){var Nd;return Nd={},Ad?dd(Ad)&&(Nd=Ad,Ad=this.options.writer):Ad=this.options.writer,Ad.document(this,Ad.filterOptions(Nd))},vd.prototype.toString=function(Ad){return this.options.writer.document(this,this.options.writer.filterOptions(Ad))},vd.prototype.createElement=function(Ad){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.createTextNode=function(Ad){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.createComment=function(Ad){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.createCDATASection=function(Ad){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.createProcessingInstruction=function(Ad,Nd){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.createAttribute=function(Ad){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.createEntityReference=function(Ad){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.getElementsByTagName=function(Ad){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.importNode=function(Ad,Nd){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.createElementNS=function(Ad,Nd){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.createAttributeNS=function(Ad,Nd){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.getElementsByTagNameNS=function(Ad,Nd){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.getElementById=function(Ad){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.adoptNode=function(Ad){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.renameNode=function(Ad,Nd,Od){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.getElementsByClassName=function(Ad){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.createEvent=function(Ad){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.createNodeIterator=function(Ad,Nd,Od){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.createTreeWalker=function(Ad,Nd,Od){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd}(od)}).call(commonjsGlobal)),XMLDocument.exports}var XMLDocumentCB={exports:{}},hasRequiredXMLDocumentCB;function requireXMLDocumentCB(){return hasRequiredXMLDocumentCB||(hasRequiredXMLDocumentCB=1,(function(){var Ra,qa,nd,od,ld,ud,dd,pd,fd,md,vd,Ad,Nd,Od,kd,Ld,Gd,jd,Fd,Ud,qd,zd,Wd,Jd={}.hasOwnProperty;Wd=requireUtility(),qd=Wd.isObject,Ud=Wd.isFunction,zd=Wd.isPlainObject,Fd=Wd.getValue,Ra=requireNodeType(),Ad=requireXMLDocument(),Nd=requireXMLElement(),od=requireXMLCData(),ld=requireXMLComment(),kd=requireXMLRaw(),jd=requireXMLText(),Od=requireXMLProcessingInstruction(),md=requireXMLDeclaration(),vd=requireXMLDocType(),ud=requireXMLDTDAttList(),pd=requireXMLDTDEntity(),dd=requireXMLDTDElement(),fd=requireXMLDTDNotation(),nd=requireXMLAttribute(),Gd=requireXMLStringifier(),Ld=requireXMLStringWriter(),qa=requireWriterState(),XMLDocumentCB.exports=function(){function _f(Xd,pf,mf){var Sf;this.name="?xml",this.type=Ra.Document,Xd||(Xd={}),Sf={},Xd.writer?zd(Xd.writer)&&(Sf=Xd.writer,Xd.writer=new Ld):Xd.writer=new Ld,this.options=Xd,this.writer=Xd.writer,this.writerOptions=this.writer.filterOptions(Sf),this.stringify=new Gd(Xd),this.onDataCallback=pf||function(){},this.onEndCallback=mf||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return _f.prototype.createChildNode=function(Xd){var pf,mf,Sf,Tf,Af,Ef,Nf,If;switch(Xd.type){case Ra.CData:this.cdata(Xd.value);break;case Ra.Comment:this.comment(Xd.value);break;case Ra.Element:Sf={},Nf=Xd.attribs;for(mf in Nf)Jd.call(Nf,mf)&&(pf=Nf[mf],Sf[mf]=pf.value);this.node(Xd.name,Sf);break;case Ra.Dummy:this.dummy();break;case Ra.Raw:this.raw(Xd.value);break;case Ra.Text:this.text(Xd.value);break;case Ra.ProcessingInstruction:this.instruction(Xd.target,Xd.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+Xd.constructor.name)}for(If=Xd.children,Af=0,Ef=If.length;Af<Ef;Af++)Tf=If[Af],this.createChildNode(Tf),Tf.type===Ra.Element&&this.up();return this},_f.prototype.dummy=function(){return this},_f.prototype.node=function(Xd,pf,mf){var Sf;if(Xd==null)throw new Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node. "+this.debugInfo(Xd));return this.openCurrent(),Xd=Fd(Xd),pf==null&&(pf={}),pf=Fd(pf),qd(pf)||(Sf=[pf,mf],mf=Sf[0],pf=Sf[1]),this.currentNode=new Nd(this,Xd,pf),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,mf!=null&&this.text(mf),this},_f.prototype.element=function(Xd,pf,mf){var Sf,Tf,Af,Ef,Nf,If;if(this.currentNode&&this.currentNode.type===Ra.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(Xd)||qd(Xd)||Ud(Xd))for(Ef=this.options.noValidation,this.options.noValidation=!0,If=new Ad(this.options).element("TEMP_ROOT"),If.element(Xd),this.options.noValidation=Ef,Nf=If.children,Tf=0,Af=Nf.length;Tf<Af;Tf++)Sf=Nf[Tf],this.createChildNode(Sf),Sf.type===Ra.Element&&this.up();else this.node(Xd,pf,mf);return this},_f.prototype.attribute=function(Xd,pf){var mf,Sf;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(Xd));if(Xd!=null&&(Xd=Fd(Xd)),qd(Xd))for(mf in Xd)Jd.call(Xd,mf)&&(Sf=Xd[mf],this.attribute(mf,Sf));else Ud(pf)&&(pf=pf.apply()),this.options.keepNullAttributes&&pf==null?this.currentNode.attribs[Xd]=new nd(this,Xd,""):pf!=null&&(this.currentNode.attribs[Xd]=new nd(this,Xd,pf));return this},_f.prototype.text=function(Xd){var pf;return this.openCurrent(),pf=new jd(this,Xd),this.onData(this.writer.text(pf,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_f.prototype.cdata=function(Xd){var pf;return this.openCurrent(),pf=new od(this,Xd),this.onData(this.writer.cdata(pf,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_f.prototype.comment=function(Xd){var pf;return this.openCurrent(),pf=new ld(this,Xd),this.onData(this.writer.comment(pf,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_f.prototype.raw=function(Xd){var pf;return this.openCurrent(),pf=new kd(this,Xd),this.onData(this.writer.raw(pf,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_f.prototype.instruction=function(Xd,pf){var mf,Sf,Tf,Af,Ef;if(this.openCurrent(),Xd!=null&&(Xd=Fd(Xd)),pf!=null&&(pf=Fd(pf)),Array.isArray(Xd))for(mf=0,Af=Xd.length;mf<Af;mf++)Sf=Xd[mf],this.instruction(Sf);else if(qd(Xd))for(Sf in Xd)Jd.call(Xd,Sf)&&(Tf=Xd[Sf],this.instruction(Sf,Tf));else Ud(pf)&&(pf=pf.apply()),Ef=new Od(this,Xd,pf),this.onData(this.writer.processingInstruction(Ef,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},_f.prototype.declaration=function(Xd,pf,mf){var Sf;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return Sf=new md(this,Xd,pf,mf),this.onData(this.writer.declaration(Sf,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_f.prototype.doctype=function(Xd,pf,mf){if(this.openCurrent(),Xd==null)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new vd(this,pf,mf),this.currentNode.rootNodeName=Xd,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},_f.prototype.dtdElement=function(Xd,pf){var mf;return this.openCurrent(),mf=new dd(this,Xd,pf),this.onData(this.writer.dtdElement(mf,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_f.prototype.attList=function(Xd,pf,mf,Sf,Tf){var Af;return this.openCurrent(),Af=new ud(this,Xd,pf,mf,Sf,Tf),this.onData(this.writer.dtdAttList(Af,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_f.prototype.entity=function(Xd,pf){var mf;return this.openCurrent(),mf=new pd(this,!1,Xd,pf),this.onData(this.writer.dtdEntity(mf,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_f.prototype.pEntity=function(Xd,pf){var mf;return this.openCurrent(),mf=new pd(this,!0,Xd,pf),this.onData(this.writer.dtdEntity(mf,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_f.prototype.notation=function(Xd,pf){var mf;return this.openCurrent(),mf=new fd(this,Xd,pf),this.onData(this.writer.dtdNotation(mf,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_f.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},_f.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},_f.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},_f.prototype.openNode=function(Xd){var pf,mf,Sf,Tf;if(!Xd.isOpen){if(!this.root&&this.currentLevel===0&&Xd.type===Ra.Element&&(this.root=Xd),mf="",Xd.type===Ra.Element){this.writerOptions.state=qa.OpenTag,mf=this.writer.indent(Xd,this.writerOptions,this.currentLevel)+"<"+Xd.name,Tf=Xd.attribs;for(Sf in Tf)Jd.call(Tf,Sf)&&(pf=Tf[Sf],mf+=this.writer.attribute(pf,this.writerOptions,this.currentLevel));mf+=(Xd.children?">":"/>")+this.writer.endline(Xd,this.writerOptions,this.currentLevel),this.writerOptions.state=qa.InsideTag}else this.writerOptions.state=qa.OpenTag,mf=this.writer.indent(Xd,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+Xd.rootNodeName,Xd.pubID&&Xd.sysID?mf+=' PUBLIC "'+Xd.pubID+'" "'+Xd.sysID+'"':Xd.sysID&&(mf+=' SYSTEM "'+Xd.sysID+'"'),Xd.children?(mf+=" [",this.writerOptions.state=qa.InsideTag):(this.writerOptions.state=qa.CloseTag,mf+=">"),mf+=this.writer.endline(Xd,this.writerOptions,this.currentLevel);return this.onData(mf,this.currentLevel),Xd.isOpen=!0}},_f.prototype.closeNode=function(Xd){var pf;if(!Xd.isClosed)return pf="",this.writerOptions.state=qa.CloseTag,Xd.type===Ra.Element?pf=this.writer.indent(Xd,this.writerOptions,this.currentLevel)+"</"+Xd.name+">"+this.writer.endline(Xd,this.writerOptions,this.currentLevel):pf=this.writer.indent(Xd,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(Xd,this.writerOptions,this.currentLevel),this.writerOptions.state=qa.None,this.onData(pf,this.currentLevel),Xd.isClosed=!0},_f.prototype.onData=function(Xd,pf){return this.documentStarted=!0,this.onDataCallback(Xd,pf+1)},_f.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},_f.prototype.debugInfo=function(Xd){return Xd==null?"":"node: <"+Xd+">"},_f.prototype.ele=function(){return this.element.apply(this,arguments)},_f.prototype.nod=function(Xd,pf,mf){return this.node(Xd,pf,mf)},_f.prototype.txt=function(Xd){return this.text(Xd)},_f.prototype.dat=function(Xd){return this.cdata(Xd)},_f.prototype.com=function(Xd){return this.comment(Xd)},_f.prototype.ins=function(Xd,pf){return this.instruction(Xd,pf)},_f.prototype.dec=function(Xd,pf,mf){return this.declaration(Xd,pf,mf)},_f.prototype.dtd=function(Xd,pf,mf){return this.doctype(Xd,pf,mf)},_f.prototype.e=function(Xd,pf,mf){return this.element(Xd,pf,mf)},_f.prototype.n=function(Xd,pf,mf){return this.node(Xd,pf,mf)},_f.prototype.t=function(Xd){return this.text(Xd)},_f.prototype.d=function(Xd){return this.cdata(Xd)},_f.prototype.c=function(Xd){return this.comment(Xd)},_f.prototype.r=function(Xd){return this.raw(Xd)},_f.prototype.i=function(Xd,pf){return this.instruction(Xd,pf)},_f.prototype.att=function(){return this.currentNode&&this.currentNode.type===Ra.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},_f.prototype.a=function(){return this.currentNode&&this.currentNode.type===Ra.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},_f.prototype.ent=function(Xd,pf){return this.entity(Xd,pf)},_f.prototype.pent=function(Xd,pf){return this.pEntity(Xd,pf)},_f.prototype.not=function(Xd,pf){return this.notation(Xd,pf)},_f}()}).call(commonjsGlobal)),XMLDocumentCB.exports}var XMLStreamWriter={exports:{}},hasRequiredXMLStreamWriter;function requireXMLStreamWriter(){return hasRequiredXMLStreamWriter||(hasRequiredXMLStreamWriter=1,(function(){var Ra,qa,nd,od=function(ud,dd){for(var pd in dd)ld.call(dd,pd)&&(ud[pd]=dd[pd]);function fd(){this.constructor=ud}return fd.prototype=dd.prototype,ud.prototype=new fd,ud.__super__=dd.prototype,ud},ld={}.hasOwnProperty;Ra=requireNodeType(),nd=requireXMLWriterBase(),qa=requireWriterState(),XMLStreamWriter.exports=function(ud){od(dd,ud);function dd(pd,fd){this.stream=pd,dd.__super__.constructor.call(this,fd)}return dd.prototype.endline=function(pd,fd,md){return pd.isLastRootNode&&fd.state===qa.CloseTag?"":dd.__super__.endline.call(this,pd,fd,md)},dd.prototype.document=function(pd,fd){var md,vd,Ad,Nd,Od,kd,Ld,Gd,jd;for(Ld=pd.children,vd=Ad=0,Od=Ld.length;Ad<Od;vd=++Ad)md=Ld[vd],md.isLastRootNode=vd===pd.children.length-1;for(fd=this.filterOptions(fd),Gd=pd.children,jd=[],Nd=0,kd=Gd.length;Nd<kd;Nd++)md=Gd[Nd],jd.push(this.writeChildNode(md,fd,0));return jd},dd.prototype.attribute=function(pd,fd,md){return this.stream.write(dd.__super__.attribute.call(this,pd,fd,md))},dd.prototype.cdata=function(pd,fd,md){return this.stream.write(dd.__super__.cdata.call(this,pd,fd,md))},dd.prototype.comment=function(pd,fd,md){return this.stream.write(dd.__super__.comment.call(this,pd,fd,md))},dd.prototype.declaration=function(pd,fd,md){return this.stream.write(dd.__super__.declaration.call(this,pd,fd,md))},dd.prototype.docType=function(pd,fd,md){var vd,Ad,Nd,Od;if(md||(md=0),this.openNode(pd,fd,md),fd.state=qa.OpenTag,this.stream.write(this.indent(pd,fd,md)),this.stream.write("<!DOCTYPE "+pd.root().name),pd.pubID&&pd.sysID?this.stream.write(' PUBLIC "'+pd.pubID+'" "'+pd.sysID+'"'):pd.sysID&&this.stream.write(' SYSTEM "'+pd.sysID+'"'),pd.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(pd,fd,md)),fd.state=qa.InsideTag,Od=pd.children,Ad=0,Nd=Od.length;Ad<Nd;Ad++)vd=Od[Ad],this.writeChildNode(vd,fd,md+1);fd.state=qa.CloseTag,this.stream.write("]")}return fd.state=qa.CloseTag,this.stream.write(fd.spaceBeforeSlash+">"),this.stream.write(this.endline(pd,fd,md)),fd.state=qa.None,this.closeNode(pd,fd,md)},dd.prototype.element=function(pd,fd,md){var vd,Ad,Nd,Od,kd,Ld,Gd,jd,Fd;md||(md=0),this.openNode(pd,fd,md),fd.state=qa.OpenTag,this.stream.write(this.indent(pd,fd,md)+"<"+pd.name),jd=pd.attribs;for(Gd in jd)ld.call(jd,Gd)&&(vd=jd[Gd],this.attribute(vd,fd,md));if(Nd=pd.children.length,Od=Nd===0?null:pd.children[0],Nd===0||pd.children.every(function(Ud){return(Ud.type===Ra.Text||Ud.type===Ra.Raw)&&Ud.value===""}))fd.allowEmpty?(this.stream.write(">"),fd.state=qa.CloseTag,this.stream.write("</"+pd.name+">")):(fd.state=qa.CloseTag,this.stream.write(fd.spaceBeforeSlash+"/>"));else if(fd.pretty&&Nd===1&&(Od.type===Ra.Text||Od.type===Ra.Raw)&&Od.value!=null)this.stream.write(">"),fd.state=qa.InsideTag,fd.suppressPrettyCount++,this.writeChildNode(Od,fd,md+1),fd.suppressPrettyCount--,fd.state=qa.CloseTag,this.stream.write("</"+pd.name+">");else{for(this.stream.write(">"+this.endline(pd,fd,md)),fd.state=qa.InsideTag,Fd=pd.children,kd=0,Ld=Fd.length;kd<Ld;kd++)Ad=Fd[kd],this.writeChildNode(Ad,fd,md+1);fd.state=qa.CloseTag,this.stream.write(this.indent(pd,fd,md)+"</"+pd.name+">")}return this.stream.write(this.endline(pd,fd,md)),fd.state=qa.None,this.closeNode(pd,fd,md)},dd.prototype.processingInstruction=function(pd,fd,md){return this.stream.write(dd.__super__.processingInstruction.call(this,pd,fd,md))},dd.prototype.raw=function(pd,fd,md){return this.stream.write(dd.__super__.raw.call(this,pd,fd,md))},dd.prototype.text=function(pd,fd,md){return this.stream.write(dd.__super__.text.call(this,pd,fd,md))},dd.prototype.dtdAttList=function(pd,fd,md){return this.stream.write(dd.__super__.dtdAttList.call(this,pd,fd,md))},dd.prototype.dtdElement=function(pd,fd,md){return this.stream.write(dd.__super__.dtdElement.call(this,pd,fd,md))},dd.prototype.dtdEntity=function(pd,fd,md){return this.stream.write(dd.__super__.dtdEntity.call(this,pd,fd,md))},dd.prototype.dtdNotation=function(pd,fd,md){return this.stream.write(dd.__super__.dtdNotation.call(this,pd,fd,md))},dd}(nd)}).call(commonjsGlobal)),XMLStreamWriter.exports}var hasRequiredLib;function requireLib(){return hasRequiredLib||(hasRequiredLib=1,(function(){var Ra,qa,nd,od,ld,ud,dd,pd,fd,md;md=requireUtility(),pd=md.assign,fd=md.isFunction,nd=requireXMLDOMImplementation(),od=requireXMLDocument(),ld=requireXMLDocumentCB(),dd=requireXMLStringWriter(),ud=requireXMLStreamWriter(),Ra=requireNodeType(),qa=requireWriterState(),lib$2.create=function(vd,Ad,Nd,Od){var kd,Ld;if(vd==null)throw new Error("Root element needs a name.");return Od=pd({},Ad,Nd,Od),kd=new od(Od),Ld=kd.element(vd),Od.headless||(kd.declaration(Od),(Od.pubID!=null||Od.sysID!=null)&&kd.dtd(Od)),Ld},lib$2.begin=function(vd,Ad,Nd){var Od;return fd(vd)&&(Od=[vd,Ad],Ad=Od[0],Nd=Od[1],vd={}),Ad?new ld(vd,Ad,Nd):new od(vd)},lib$2.stringWriter=function(vd){return new dd(vd)},lib$2.streamWriter=function(vd,Ad){return new ud(vd,Ad)},lib$2.implementation=new nd,lib$2.nodeType=Ra,lib$2.writerState=qa}).call(commonjsGlobal)),lib$2}var hasRequiredBuilder;function requireBuilder(){return hasRequiredBuilder||(hasRequiredBuilder=1,(function(){var Ra,qa,nd,od,ld,ud={}.hasOwnProperty;Ra=requireLib(),qa=requireDefaults().defaults,od=function(dd){return typeof dd=="string"&&(dd.indexOf("&")>=0||dd.indexOf(">")>=0||dd.indexOf("<")>=0)},ld=function(dd){return"<![CDATA["+nd(dd)+"]]>"},nd=function(dd){return dd.replace("]]>","]]]]><![CDATA[>")},builder.Builder=function(){function dd(pd){var fd,md,vd;this.options={},md=qa["0.2"];for(fd in md)ud.call(md,fd)&&(vd=md[fd],this.options[fd]=vd);for(fd in pd)ud.call(pd,fd)&&(vd=pd[fd],this.options[fd]=vd)}return dd.prototype.buildObject=function(pd){var fd,md,vd,Ad,Nd;return fd=this.options.attrkey,md=this.options.charkey,Object.keys(pd).length===1&&this.options.rootName===qa["0.2"].rootName?(Nd=Object.keys(pd)[0],pd=pd[Nd]):Nd=this.options.rootName,vd=function(Od){return function(kd,Ld){var Gd,jd,Fd,Ud,qd,zd;if(typeof Ld!="object")Od.options.cdata&&od(Ld)?kd.raw(ld(Ld)):kd.txt(Ld);else if(Array.isArray(Ld)){for(Ud in Ld)if(ud.call(Ld,Ud)){jd=Ld[Ud];for(qd in jd)Fd=jd[qd],kd=vd(kd.ele(qd),Fd).up()}}else for(qd in Ld)if(ud.call(Ld,qd))if(jd=Ld[qd],qd===fd){if(typeof jd=="object")for(Gd in jd)zd=jd[Gd],kd=kd.att(Gd,zd)}else if(qd===md)Od.options.cdata&&od(jd)?kd=kd.raw(ld(jd)):kd=kd.txt(jd);else if(Array.isArray(jd))for(Ud in jd)ud.call(jd,Ud)&&(Fd=jd[Ud],typeof Fd=="string"?Od.options.cdata&&od(Fd)?kd=kd.ele(qd).raw(ld(Fd)).up():kd=kd.ele(qd,Fd).up():kd=vd(kd.ele(qd),Fd).up());else typeof jd=="object"?kd=vd(kd.ele(qd),jd).up():typeof jd=="string"&&Od.options.cdata&&od(jd)?kd=kd.ele(qd).raw(ld(jd)).up():(jd==null&&(jd=""),kd=kd.ele(qd,jd.toString()).up());return kd}}(this),Ad=Ra.create(Nd,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),vd(Ad,pd).end(this.options.renderOpts)},dd}()}).call(commonjsGlobal)),builder}var parser={},sax={},hasRequiredSax;function requireSax(){return hasRequiredSax||(hasRequiredSax=1,function(Ra){(function(qa){qa.parser=function(Cf,xf){return new od(Cf,xf)},qa.SAXParser=od,qa.SAXStream=vd,qa.createStream=md,qa.MAX_BUFFER_LENGTH=64*1024;var nd=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];qa.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function od(Cf,xf){if(!(this instanceof od))return new od(Cf,xf);var Yf=this;ud(Yf),Yf.q=Yf.c="",Yf.bufferCheckPosition=qa.MAX_BUFFER_LENGTH,Yf.opt=xf||{},Yf.opt.lowercase=Yf.opt.lowercase||Yf.opt.lowercasetags,Yf.looseCase=Yf.opt.lowercase?"toLowerCase":"toUpperCase",Yf.tags=[],Yf.closed=Yf.closedRoot=Yf.sawRoot=!1,Yf.tag=Yf.error=null,Yf.strict=!!Cf,Yf.noscript=!!(Cf||Yf.opt.noscript),Yf.state=Xd.BEGIN,Yf.strictEntities=Yf.opt.strictEntities,Yf.ENTITIES=Yf.strictEntities?Object.create(qa.XML_ENTITIES):Object.create(qa.ENTITIES),Yf.attribList=[],Yf.opt.xmlns&&(Yf.ns=Object.create(Ld)),Yf.opt.unquotedAttributeValues===void 0&&(Yf.opt.unquotedAttributeValues=!Cf),Yf.trackPosition=Yf.opt.position!==!1,Yf.trackPosition&&(Yf.position=Yf.line=Yf.column=0),mf(Yf,"onready")}Object.create||(Object.create=function(Cf){function xf(){}xf.prototype=Cf;var Yf=new xf;return Yf}),Object.keys||(Object.keys=function(Cf){var xf=[];for(var Yf in Cf)Cf.hasOwnProperty(Yf)&&xf.push(Yf);return xf});function ld(Cf){for(var xf=Math.max(qa.MAX_BUFFER_LENGTH,10),Yf=0,dh=0,Rh=nd.length;dh<Rh;dh++){var th=Cf[nd[dh]].length;if(th>xf)switch(nd[dh]){case"textNode":Tf(Cf);break;case"cdata":Sf(Cf,"oncdata",Cf.cdata),Cf.cdata="";break;case"script":Sf(Cf,"onscript",Cf.script),Cf.script="";break;default:Ef(Cf,"Max buffer length exceeded: "+nd[dh])}Yf=Math.max(Yf,th)}var Bf=qa.MAX_BUFFER_LENGTH-Yf;Cf.bufferCheckPosition=Bf+Cf.position}function ud(Cf){for(var xf=0,Yf=nd.length;xf<Yf;xf++)Cf[nd[xf]]=""}function dd(Cf){Tf(Cf),Cf.cdata!==""&&(Sf(Cf,"oncdata",Cf.cdata),Cf.cdata=""),Cf.script!==""&&(Sf(Cf,"onscript",Cf.script),Cf.script="")}od.prototype={end:function(){Nf(this)},write:Kf,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){dd(this)}};var pd;try{pd=streamBrowserify.Stream}catch{pd=function(){}}pd||(pd=function(){});var fd=qa.EVENTS.filter(function(Cf){return Cf!=="error"&&Cf!=="end"});function md(Cf,xf){return new vd(Cf,xf)}function vd(Cf,xf){if(!(this instanceof vd))return new vd(Cf,xf);pd.apply(this),this._parser=new od(Cf,xf),this.writable=!0,this.readable=!0;var Yf=this;this._parser.onend=function(){Yf.emit("end")},this._parser.onerror=function(dh){Yf.emit("error",dh),Yf._parser.error=null},this._decoder=null,fd.forEach(function(dh){Object.defineProperty(Yf,"on"+dh,{get:function(){return Yf._parser["on"+dh]},set:function(Rh){if(!Rh)return Yf.removeAllListeners(dh),Yf._parser["on"+dh]=Rh,Rh;Yf.on(dh,Rh)},enumerable:!0,configurable:!1})})}vd.prototype=Object.create(pd.prototype,{constructor:{value:vd}}),vd.prototype.write=function(Cf){if(typeof Buffer$4=="function"&&typeof Buffer$4.isBuffer=="function"&&Buffer$4.isBuffer(Cf)){if(!this._decoder){var xf=requireString_decoder().StringDecoder;this._decoder=new xf("utf8")}Cf=this._decoder.write(Cf)}return this._parser.write(Cf.toString()),this.emit("data",Cf),!0},vd.prototype.end=function(Cf){return Cf&&Cf.length&&this.write(Cf),this._parser.end(),!0},vd.prototype.on=function(Cf,xf){var Yf=this;return!Yf._parser["on"+Cf]&&fd.indexOf(Cf)!==-1&&(Yf._parser["on"+Cf]=function(){var dh=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);dh.splice(0,0,Cf),Yf.emit.apply(Yf,dh)}),pd.prototype.on.call(Yf,Cf,xf)};var Ad="[CDATA[",Nd="DOCTYPE",Od="http://www.w3.org/XML/1998/namespace",kd="http://www.w3.org/2000/xmlns/",Ld={xml:Od,xmlns:kd},Gd=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,jd=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,Fd=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,Ud=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function qd(Cf){return Cf===" "||Cf===`
`||Cf==="\r"||Cf===" "}function zd(Cf){return Cf==='"'||Cf==="'"}function Wd(Cf){return Cf===">"||qd(Cf)}function Jd(Cf,xf){return Cf.test(xf)}function _f(Cf,xf){return!Jd(Cf,xf)}var Xd=0;qa.STATE={BEGIN:Xd++,BEGIN_WHITESPACE:Xd++,TEXT:Xd++,TEXT_ENTITY:Xd++,OPEN_WAKA:Xd++,SGML_DECL:Xd++,SGML_DECL_QUOTED:Xd++,DOCTYPE:Xd++,DOCTYPE_QUOTED:Xd++,DOCTYPE_DTD:Xd++,DOCTYPE_DTD_QUOTED:Xd++,COMMENT_STARTING:Xd++,COMMENT:Xd++,COMMENT_ENDING:Xd++,COMMENT_ENDED:Xd++,CDATA:Xd++,CDATA_ENDING:Xd++,CDATA_ENDING_2:Xd++,PROC_INST:Xd++,PROC_INST_BODY:Xd++,PROC_INST_ENDING:Xd++,OPEN_TAG:Xd++,OPEN_TAG_SLASH:Xd++,ATTRIB:Xd++,ATTRIB_NAME:Xd++,ATTRIB_NAME_SAW_WHITE:Xd++,ATTRIB_VALUE:Xd++,ATTRIB_VALUE_QUOTED:Xd++,ATTRIB_VALUE_CLOSED:Xd++,ATTRIB_VALUE_UNQUOTED:Xd++,ATTRIB_VALUE_ENTITY_Q:Xd++,ATTRIB_VALUE_ENTITY_U:Xd++,CLOSE_TAG:Xd++,CLOSE_TAG_SAW_WHITE:Xd++,SCRIPT:Xd++,SCRIPT_ENDING:Xd++},qa.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},qa.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(qa.ENTITIES).forEach(function(Cf){var xf=qa.ENTITIES[Cf],Yf=typeof xf=="number"?String.fromCharCode(xf):xf;qa.ENTITIES[Cf]=Yf});for(var pf in qa.STATE)qa.STATE[qa.STATE[pf]]=pf;Xd=qa.STATE;function mf(Cf,xf,Yf){Cf[xf]&&Cf[xf](Yf)}function Sf(Cf,xf,Yf){Cf.textNode&&Tf(Cf),mf(Cf,xf,Yf)}function Tf(Cf){Cf.textNode=Af(Cf.opt,Cf.textNode),Cf.textNode&&mf(Cf,"ontext",Cf.textNode),Cf.textNode=""}function Af(Cf,xf){return Cf.trim&&(xf=xf.trim()),Cf.normalize&&(xf=xf.replace(/\s+/g," ")),xf}function Ef(Cf,xf){return Tf(Cf),Cf.trackPosition&&(xf+=`
Line: `+Cf.line+`
Column: `+Cf.column+`
Char: `+Cf.c),xf=new Error(xf),Cf.error=xf,mf(Cf,"onerror",xf),Cf}function Nf(Cf){return Cf.sawRoot&&!Cf.closedRoot&&If(Cf,"Unclosed root tag"),Cf.state!==Xd.BEGIN&&Cf.state!==Xd.BEGIN_WHITESPACE&&Cf.state!==Xd.TEXT&&Ef(Cf,"Unexpected end"),Tf(Cf),Cf.c="",Cf.closed=!0,mf(Cf,"onend"),od.call(Cf,Cf.strict,Cf.opt),Cf}function If(Cf,xf){if(typeof Cf!="object"||!(Cf instanceof od))throw new Error("bad call to strictFail");Cf.strict&&Ef(Cf,xf)}function Gf(Cf){Cf.strict||(Cf.tagName=Cf.tagName[Cf.looseCase]());var xf=Cf.tags[Cf.tags.length-1]||Cf,Yf=Cf.tag={name:Cf.tagName,attributes:{}};Cf.opt.xmlns&&(Yf.ns=xf.ns),Cf.attribList.length=0,Sf(Cf,"onopentagstart",Yf)}function Qf(Cf,xf){var Yf=Cf.indexOf(":"),dh=Yf<0?["",Cf]:Cf.split(":"),Rh=dh[0],th=dh[1];return xf&&Cf==="xmlns"&&(Rh="xmlns",th=""),{prefix:Rh,local:th}}function Xf(Cf){if(Cf.strict||(Cf.attribName=Cf.attribName[Cf.looseCase]()),Cf.attribList.indexOf(Cf.attribName)!==-1||Cf.tag.attributes.hasOwnProperty(Cf.attribName)){Cf.attribName=Cf.attribValue="";return}if(Cf.opt.xmlns){var xf=Qf(Cf.attribName,!0),Yf=xf.prefix,dh=xf.local;if(Yf==="xmlns")if(dh==="xml"&&Cf.attribValue!==Od)If(Cf,"xml: prefix must be bound to "+Od+`
Actual: `+Cf.attribValue);else if(dh==="xmlns"&&Cf.attribValue!==kd)If(Cf,"xmlns: prefix must be bound to "+kd+`
Actual: `+Cf.attribValue);else{var Rh=Cf.tag,th=Cf.tags[Cf.tags.length-1]||Cf;Rh.ns===th.ns&&(Rh.ns=Object.create(th.ns)),Rh.ns[dh]=Cf.attribValue}Cf.attribList.push([Cf.attribName,Cf.attribValue])}else Cf.tag.attributes[Cf.attribName]=Cf.attribValue,Sf(Cf,"onattribute",{name:Cf.attribName,value:Cf.attribValue});Cf.attribName=Cf.attribValue=""}function ph(Cf,xf){if(Cf.opt.xmlns){var Yf=Cf.tag,dh=Qf(Cf.tagName);Yf.prefix=dh.prefix,Yf.local=dh.local,Yf.uri=Yf.ns[dh.prefix]||"",Yf.prefix&&!Yf.uri&&(If(Cf,"Unbound namespace prefix: "+JSON.stringify(Cf.tagName)),Yf.uri=dh.prefix);var Rh=Cf.tags[Cf.tags.length-1]||Cf;Yf.ns&&Rh.ns!==Yf.ns&&Object.keys(Yf.ns).forEach(function(_h){Sf(Cf,"onopennamespace",{prefix:_h,uri:Yf.ns[_h]})});for(var th=0,Bf=Cf.attribList.length;th<Bf;th++){var Sh=Cf.attribList[th],Fh=Sh[0],uh=Sh[1],Pf=Qf(Fh,!0),Uf=Pf.prefix,Zf=Pf.local,mh=Uf===""?"":Yf.ns[Uf]||"",Mh={name:Fh,value:uh,prefix:Uf,local:Zf,uri:mh};Uf&&Uf!=="xmlns"&&!mh&&(If(Cf,"Unbound namespace prefix: "+JSON.stringify(Uf)),Mh.uri=Uf),Cf.tag.attributes[Fh]=Mh,Sf(Cf,"onattribute",Mh)}Cf.attribList.length=0}Cf.tag.isSelfClosing=!!xf,Cf.sawRoot=!0,Cf.tags.push(Cf.tag),Sf(Cf,"onopentag",Cf.tag),xf||(!Cf.noscript&&Cf.tagName.toLowerCase()==="script"?Cf.state=Xd.SCRIPT:Cf.state=Xd.TEXT,Cf.tag=null,Cf.tagName=""),Cf.attribName=Cf.attribValue="",Cf.attribList.length=0}function qf(Cf){if(!Cf.tagName){If(Cf,"Weird empty close tag."),Cf.textNode+="</>",Cf.state=Xd.TEXT;return}if(Cf.script){if(Cf.tagName!=="script"){Cf.script+="</"+Cf.tagName+">",Cf.tagName="",Cf.state=Xd.SCRIPT;return}Sf(Cf,"onscript",Cf.script),Cf.script=""}var xf=Cf.tags.length,Yf=Cf.tagName;Cf.strict||(Yf=Yf[Cf.looseCase]());for(var dh=Yf;xf--;){var Rh=Cf.tags[xf];if(Rh.name!==dh)If(Cf,"Unexpected close tag");else break}if(xf<0){If(Cf,"Unmatched closing tag: "+Cf.tagName),Cf.textNode+="</"+Cf.tagName+">",Cf.state=Xd.TEXT;return}Cf.tagName=Yf;for(var th=Cf.tags.length;th-- >xf;){var Bf=Cf.tag=Cf.tags.pop();Cf.tagName=Cf.tag.name,Sf(Cf,"onclosetag",Cf.tagName);var Sh={};for(var Fh in Bf.ns)Sh[Fh]=Bf.ns[Fh];var uh=Cf.tags[Cf.tags.length-1]||Cf;Cf.opt.xmlns&&Bf.ns!==uh.ns&&Object.keys(Bf.ns).forEach(function(Pf){var Uf=Bf.ns[Pf];Sf(Cf,"onclosenamespace",{prefix:Pf,uri:Uf})})}xf===0&&(Cf.closedRoot=!0),Cf.tagName=Cf.attribValue=Cf.attribName="",Cf.attribList.length=0,Cf.state=Xd.TEXT}function Lf(Cf){var xf=Cf.entity,Yf=xf.toLowerCase(),dh,Rh="";return Cf.ENTITIES[xf]?Cf.ENTITIES[xf]:Cf.ENTITIES[Yf]?Cf.ENTITIES[Yf]:(xf=Yf,xf.charAt(0)==="#"&&(xf.charAt(1)==="x"?(xf=xf.slice(2),dh=parseInt(xf,16),Rh=dh.toString(16)):(xf=xf.slice(1),dh=parseInt(xf,10),Rh=dh.toString(10))),xf=xf.replace(/^0+/,""),isNaN(dh)||Rh.toLowerCase()!==xf?(If(Cf,"Invalid character entity"),"&"+Cf.entity+";"):String.fromCodePoint(dh))}function Wf(Cf,xf){xf==="<"?(Cf.state=Xd.OPEN_WAKA,Cf.startTagPosition=Cf.position):qd(xf)||(If(Cf,"Non-whitespace before first tag."),Cf.textNode=xf,Cf.state=Xd.TEXT)}function Jf(Cf,xf){var Yf="";return xf<Cf.length&&(Yf=Cf.charAt(xf)),Yf}function Kf(Cf){var xf=this;if(this.error)throw this.error;if(xf.closed)return Ef(xf,"Cannot write after close. Assign an onready handler.");if(Cf===null)return Nf(xf);typeof Cf=="object"&&(Cf=Cf.toString());for(var Yf=0,dh="";dh=Jf(Cf,Yf++),xf.c=dh,!!dh;)switch(xf.trackPosition&&(xf.position++,dh===`
`?(xf.line++,xf.column=0):xf.column++),xf.state){case Xd.BEGIN:if(xf.state=Xd.BEGIN_WHITESPACE,dh==="\uFEFF")continue;Wf(xf,dh);continue;case Xd.BEGIN_WHITESPACE:Wf(xf,dh);continue;case Xd.TEXT:if(xf.sawRoot&&!xf.closedRoot){for(var Rh=Yf-1;dh&&dh!=="<"&&dh!=="&";)dh=Jf(Cf,Yf++),dh&&xf.trackPosition&&(xf.position++,dh===`
`?(xf.line++,xf.column=0):xf.column++);xf.textNode+=Cf.substring(Rh,Yf-1)}dh==="<"&&!(xf.sawRoot&&xf.closedRoot&&!xf.strict)?(xf.state=Xd.OPEN_WAKA,xf.startTagPosition=xf.position):(!qd(dh)&&(!xf.sawRoot||xf.closedRoot)&&If(xf,"Text data outside of root node."),dh==="&"?xf.state=Xd.TEXT_ENTITY:xf.textNode+=dh);continue;case Xd.SCRIPT:dh==="<"?xf.state=Xd.SCRIPT_ENDING:xf.script+=dh;continue;case Xd.SCRIPT_ENDING:dh==="/"?xf.state=Xd.CLOSE_TAG:(xf.script+="<"+dh,xf.state=Xd.SCRIPT);continue;case Xd.OPEN_WAKA:if(dh==="!")xf.state=Xd.SGML_DECL,xf.sgmlDecl="";else if(!qd(dh))if(Jd(Gd,dh))xf.state=Xd.OPEN_TAG,xf.tagName=dh;else if(dh==="/")xf.state=Xd.CLOSE_TAG,xf.tagName="";else if(dh==="?")xf.state=Xd.PROC_INST,xf.procInstName=xf.procInstBody="";else{if(If(xf,"Unencoded <"),xf.startTagPosition+1<xf.position){var th=xf.position-xf.startTagPosition;dh=new Array(th).join(" ")+dh}xf.textNode+="<"+dh,xf.state=Xd.TEXT}continue;case Xd.SGML_DECL:if(xf.sgmlDecl+dh==="--"){xf.state=Xd.COMMENT,xf.comment="",xf.sgmlDecl="";continue}xf.doctype&&xf.doctype!==!0&&xf.sgmlDecl?(xf.state=Xd.DOCTYPE_DTD,xf.doctype+="<!"+xf.sgmlDecl+dh,xf.sgmlDecl=""):(xf.sgmlDecl+dh).toUpperCase()===Ad?(Sf(xf,"onopencdata"),xf.state=Xd.CDATA,xf.sgmlDecl="",xf.cdata=""):(xf.sgmlDecl+dh).toUpperCase()===Nd?(xf.state=Xd.DOCTYPE,(xf.doctype||xf.sawRoot)&&If(xf,"Inappropriately located doctype declaration"),xf.doctype="",xf.sgmlDecl=""):dh===">"?(Sf(xf,"onsgmldeclaration",xf.sgmlDecl),xf.sgmlDecl="",xf.state=Xd.TEXT):(zd(dh)&&(xf.state=Xd.SGML_DECL_QUOTED),xf.sgmlDecl+=dh);continue;case Xd.SGML_DECL_QUOTED:dh===xf.q&&(xf.state=Xd.SGML_DECL,xf.q=""),xf.sgmlDecl+=dh;continue;case Xd.DOCTYPE:dh===">"?(xf.state=Xd.TEXT,Sf(xf,"ondoctype",xf.doctype),xf.doctype=!0):(xf.doctype+=dh,dh==="["?xf.state=Xd.DOCTYPE_DTD:zd(dh)&&(xf.state=Xd.DOCTYPE_QUOTED,xf.q=dh));continue;case Xd.DOCTYPE_QUOTED:xf.doctype+=dh,dh===xf.q&&(xf.q="",xf.state=Xd.DOCTYPE);continue;case Xd.DOCTYPE_DTD:dh==="]"?(xf.doctype+=dh,xf.state=Xd.DOCTYPE):dh==="<"?(xf.state=Xd.OPEN_WAKA,xf.startTagPosition=xf.position):zd(dh)?(xf.doctype+=dh,xf.state=Xd.DOCTYPE_DTD_QUOTED,xf.q=dh):xf.doctype+=dh;continue;case Xd.DOCTYPE_DTD_QUOTED:xf.doctype+=dh,dh===xf.q&&(xf.state=Xd.DOCTYPE_DTD,xf.q="");continue;case Xd.COMMENT:dh==="-"?xf.state=Xd.COMMENT_ENDING:xf.comment+=dh;continue;case Xd.COMMENT_ENDING:dh==="-"?(xf.state=Xd.COMMENT_ENDED,xf.comment=Af(xf.opt,xf.comment),xf.comment&&Sf(xf,"oncomment",xf.comment),xf.comment=""):(xf.comment+="-"+dh,xf.state=Xd.COMMENT);continue;case Xd.COMMENT_ENDED:dh!==">"?(If(xf,"Malformed comment"),xf.comment+="--"+dh,xf.state=Xd.COMMENT):xf.doctype&&xf.doctype!==!0?xf.state=Xd.DOCTYPE_DTD:xf.state=Xd.TEXT;continue;case Xd.CDATA:dh==="]"?xf.state=Xd.CDATA_ENDING:xf.cdata+=dh;continue;case Xd.CDATA_ENDING:dh==="]"?xf.state=Xd.CDATA_ENDING_2:(xf.cdata+="]"+dh,xf.state=Xd.CDATA);continue;case Xd.CDATA_ENDING_2:dh===">"?(xf.cdata&&Sf(xf,"oncdata",xf.cdata),Sf(xf,"onclosecdata"),xf.cdata="",xf.state=Xd.TEXT):dh==="]"?xf.cdata+="]":(xf.cdata+="]]"+dh,xf.state=Xd.CDATA);continue;case Xd.PROC_INST:dh==="?"?xf.state=Xd.PROC_INST_ENDING:qd(dh)?xf.state=Xd.PROC_INST_BODY:xf.procInstName+=dh;continue;case Xd.PROC_INST_BODY:if(!xf.procInstBody&&qd(dh))continue;dh==="?"?xf.state=Xd.PROC_INST_ENDING:xf.procInstBody+=dh;continue;case Xd.PROC_INST_ENDING:dh===">"?(Sf(xf,"onprocessinginstruction",{name:xf.procInstName,body:xf.procInstBody}),xf.procInstName=xf.procInstBody="",xf.state=Xd.TEXT):(xf.procInstBody+="?"+dh,xf.state=Xd.PROC_INST_BODY);continue;case Xd.OPEN_TAG:Jd(jd,dh)?xf.tagName+=dh:(Gf(xf),dh===">"?ph(xf):dh==="/"?xf.state=Xd.OPEN_TAG_SLASH:(qd(dh)||If(xf,"Invalid character in tag name"),xf.state=Xd.ATTRIB));continue;case Xd.OPEN_TAG_SLASH:dh===">"?(ph(xf,!0),qf(xf)):(If(xf,"Forward-slash in opening tag not followed by >"),xf.state=Xd.ATTRIB);continue;case Xd.ATTRIB:if(qd(dh))continue;dh===">"?ph(xf):dh==="/"?xf.state=Xd.OPEN_TAG_SLASH:Jd(Gd,dh)?(xf.attribName=dh,xf.attribValue="",xf.state=Xd.ATTRIB_NAME):If(xf,"Invalid attribute name");continue;case Xd.ATTRIB_NAME:dh==="="?xf.state=Xd.ATTRIB_VALUE:dh===">"?(If(xf,"Attribute without value"),xf.attribValue=xf.attribName,Xf(xf),ph(xf)):qd(dh)?xf.state=Xd.ATTRIB_NAME_SAW_WHITE:Jd(jd,dh)?xf.attribName+=dh:If(xf,"Invalid attribute name");continue;case Xd.ATTRIB_NAME_SAW_WHITE:if(dh==="=")xf.state=Xd.ATTRIB_VALUE;else{if(qd(dh))continue;If(xf,"Attribute without value"),xf.tag.attributes[xf.attribName]="",xf.attribValue="",Sf(xf,"onattribute",{name:xf.attribName,value:""}),xf.attribName="",dh===">"?ph(xf):Jd(Gd,dh)?(xf.attribName=dh,xf.state=Xd.ATTRIB_NAME):(If(xf,"Invalid attribute name"),xf.state=Xd.ATTRIB)}continue;case Xd.ATTRIB_VALUE:if(qd(dh))continue;zd(dh)?(xf.q=dh,xf.state=Xd.ATTRIB_VALUE_QUOTED):(xf.opt.unquotedAttributeValues||Ef(xf,"Unquoted attribute value"),xf.state=Xd.ATTRIB_VALUE_UNQUOTED,xf.attribValue=dh);continue;case Xd.ATTRIB_VALUE_QUOTED:if(dh!==xf.q){dh==="&"?xf.state=Xd.ATTRIB_VALUE_ENTITY_Q:xf.attribValue+=dh;continue}Xf(xf),xf.q="",xf.state=Xd.ATTRIB_VALUE_CLOSED;continue;case Xd.ATTRIB_VALUE_CLOSED:qd(dh)?xf.state=Xd.ATTRIB:dh===">"?ph(xf):dh==="/"?xf.state=Xd.OPEN_TAG_SLASH:Jd(Gd,dh)?(If(xf,"No whitespace between attributes"),xf.attribName=dh,xf.attribValue="",xf.state=Xd.ATTRIB_NAME):If(xf,"Invalid attribute name");continue;case Xd.ATTRIB_VALUE_UNQUOTED:if(!Wd(dh)){dh==="&"?xf.state=Xd.ATTRIB_VALUE_ENTITY_U:xf.attribValue+=dh;continue}Xf(xf),dh===">"?ph(xf):xf.state=Xd.ATTRIB;continue;case Xd.CLOSE_TAG:if(xf.tagName)dh===">"?qf(xf):Jd(jd,dh)?xf.tagName+=dh:xf.script?(xf.script+="</"+xf.tagName,xf.tagName="",xf.state=Xd.SCRIPT):(qd(dh)||If(xf,"Invalid tagname in closing tag"),xf.state=Xd.CLOSE_TAG_SAW_WHITE);else{if(qd(dh))continue;_f(Gd,dh)?xf.script?(xf.script+="</"+dh,xf.state=Xd.SCRIPT):If(xf,"Invalid tagname in closing tag."):xf.tagName=dh}continue;case Xd.CLOSE_TAG_SAW_WHITE:if(qd(dh))continue;dh===">"?qf(xf):If(xf,"Invalid characters in closing tag");continue;case Xd.TEXT_ENTITY:case Xd.ATTRIB_VALUE_ENTITY_Q:case Xd.ATTRIB_VALUE_ENTITY_U:var Bf,Sh;switch(xf.state){case Xd.TEXT_ENTITY:Bf=Xd.TEXT,Sh="textNode";break;case Xd.ATTRIB_VALUE_ENTITY_Q:Bf=Xd.ATTRIB_VALUE_QUOTED,Sh="attribValue";break;case Xd.ATTRIB_VALUE_ENTITY_U:Bf=Xd.ATTRIB_VALUE_UNQUOTED,Sh="attribValue";break}if(dh===";"){var Fh=Lf(xf);xf.opt.unparsedEntities&&!Object.values(qa.XML_ENTITIES).includes(Fh)?(xf.entity="",xf.state=Bf,xf.write(Fh)):(xf[Sh]+=Fh,xf.entity="",xf.state=Bf)}else Jd(xf.entity.length?Ud:Fd,dh)?xf.entity+=dh:(If(xf,"Invalid character in entity name"),xf[Sh]+="&"+xf.entity+dh,xf.entity="",xf.state=Bf);continue;default:throw new Error(xf,"Unknown state: "+xf.state)}return xf.position>=xf.bufferCheckPosition&&ld(xf),xf}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */String.fromCodePoint||function(){var Cf=String.fromCharCode,xf=Math.floor,Yf=function(){var dh=16384,Rh=[],th,Bf,Sh=-1,Fh=arguments.length;if(!Fh)return"";for(var uh="";++Sh<Fh;){var Pf=Number(arguments[Sh]);if(!isFinite(Pf)||Pf<0||Pf>1114111||xf(Pf)!==Pf)throw RangeError("Invalid code point: "+Pf);Pf<=65535?Rh.push(Pf):(Pf-=65536,th=(Pf>>10)+55296,Bf=Pf%1024+56320,Rh.push(th,Bf)),(Sh+1===Fh||Rh.length>dh)&&(uh+=Cf.apply(null,Rh),Rh.length=0)}return uh};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:Yf,configurable:!0,writable:!0}):String.fromCodePoint=Yf}()})(Ra)}(sax)),sax}var bom={},hasRequiredBom;function requireBom(){return hasRequiredBom||(hasRequiredBom=1,(function(){bom.stripBOM=function(Ra){return Ra[0]==="\uFEFF"?Ra.substring(1):Ra}}).call(commonjsGlobal)),bom}var processors={},hasRequiredProcessors;function requireProcessors(){return hasRequiredProcessors||(hasRequiredProcessors=1,(function(){var Ra;Ra=new RegExp(/(?!xmlns)^.*:/),processors.normalize=function(qa){return qa.toLowerCase()},processors.firstCharLowerCase=function(qa){return qa.charAt(0).toLowerCase()+qa.slice(1)},processors.stripPrefix=function(qa){return qa.replace(Ra,"")},processors.parseNumbers=function(qa){return isNaN(qa)||(qa=qa%1===0?parseInt(qa,10):parseFloat(qa)),qa},processors.parseBooleans=function(qa){return/^(?:true|false)$/i.test(qa)&&(qa=qa.toLowerCase()==="true"),qa}}).call(commonjsGlobal)),processors}var main={},setImmediate$1={},hasRequiredSetImmediate;function requireSetImmediate(){if(hasRequiredSetImmediate)return setImmediate$1;hasRequiredSetImmediate=1;var Ra={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_1164a745-b3dc-4b9f-a9be-9609c1b3622a",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_1164a745-b3dc-4b9f-a9be-9609c1b3622a",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250105.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7633",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12854182433",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_eb6908e4-3cff-452d-a339-25146be9740f",INVOCATION_ID:"049b7125072941398f5d27a5cb59ad7a",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"493",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 18",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_1164a745-b3dc-4b9f-a9be-9609c1b3622a",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_1164a745-b3dc-4b9f-a9be-9609c1b3622a",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_1164a745-b3dc-4b9f-a9be-9609c1b3622a",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2166,ppid:2165,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};return function(qa,nd){if(qa.setImmediate)return;var od=1,ld={},ud=!1,dd=qa.document,pd;function fd(Ud){typeof Ud!="function"&&(Ud=new Function(""+Ud));for(var qd=new Array(arguments.length-1),zd=0;zd<qd.length;zd++)qd[zd]=arguments[zd+1];var Wd={callback:Ud,args:qd};return ld[od]=Wd,pd(od),od++}function md(Ud){delete ld[Ud]}function vd(Ud){var qd=Ud.callback,zd=Ud.args;switch(zd.length){case 0:qd();break;case 1:qd(zd[0]);break;case 2:qd(zd[0],zd[1]);break;case 3:qd(zd[0],zd[1],zd[2]);break;default:qd.apply(nd,zd);break}}function Ad(Ud){if(ud)setTimeout(Ad,0,Ud);else{var qd=ld[Ud];if(qd){ud=!0;try{vd(qd)}finally{md(Ud),ud=!1}}}}function Nd(){pd=function(Ud){Ra.nextTick(function(){Ad(Ud)})}}function Od(){if(qa.postMessage&&!qa.importScripts){var Ud=!0,qd=qa.onmessage;return qa.onmessage=function(){Ud=!1},qa.postMessage("","*"),qa.onmessage=qd,Ud}}function kd(){var Ud="setImmediate$"+Math.random()+"$",qd=function(zd){zd.source===qa&&typeof zd.data=="string"&&zd.data.indexOf(Ud)===0&&Ad(+zd.data.slice(Ud.length))};qa.addEventListener?qa.addEventListener("message",qd,!1):qa.attachEvent("onmessage",qd),pd=function(zd){qa.postMessage(Ud+zd,"*")}}function Ld(){var Ud=new MessageChannel;Ud.port1.onmessage=function(qd){var zd=qd.data;Ad(zd)},pd=function(qd){Ud.port2.postMessage(qd)}}function Gd(){var Ud=dd.documentElement;pd=function(qd){var zd=dd.createElement("script");zd.onreadystatechange=function(){Ad(qd),zd.onreadystatechange=null,Ud.removeChild(zd),zd=null},Ud.appendChild(zd)}}function jd(){pd=function(Ud){setTimeout(Ad,0,Ud)}}var Fd=Object.getPrototypeOf&&Object.getPrototypeOf(qa);Fd=Fd&&Fd.setTimeout?Fd:qa,{}.toString.call(qa.process)==="[object process]"?Nd():Od()?kd():qa.MessageChannel?Ld():dd&&"onreadystatechange"in dd.createElement("script")?Gd():jd(),Fd.setImmediate=fd,Fd.clearImmediate=md}(typeof self>"u"?commonjsGlobal:self),setImmediate$1}var hasRequiredMain;function requireMain(){if(hasRequiredMain)return main;hasRequiredMain=1;var Ra=typeof commonjsGlobal<"u"&&commonjsGlobal||typeof self<"u"&&self||window,qa=Function.prototype.apply;main.setTimeout=function(){return new nd(qa.call(setTimeout,Ra,arguments),clearTimeout)},main.setInterval=function(){return new nd(qa.call(setInterval,Ra,arguments),clearInterval)},main.clearTimeout=main.clearInterval=function(od){od&&od.close()};function nd(od,ld){this._id=od,this._clearFn=ld}return nd.prototype.unref=nd.prototype.ref=function(){},nd.prototype.close=function(){this._clearFn.call(Ra,this._id)},main.enroll=function(od,ld){clearTimeout(od._idleTimeoutId),od._idleTimeout=ld},main.unenroll=function(od){clearTimeout(od._idleTimeoutId),od._idleTimeout=-1},main._unrefActive=main.active=function(od){clearTimeout(od._idleTimeoutId);var ld=od._idleTimeout;ld>=0&&(od._idleTimeoutId=setTimeout(function(){od._onTimeout&&od._onTimeout()},ld))},requireSetImmediate(),main.setImmediate=typeof self<"u"&&self.setImmediate||typeof commonjsGlobal<"u"&&commonjsGlobal.setImmediate||commonjsGlobal&&commonjsGlobal.setImmediate,main.clearImmediate=typeof self<"u"&&self.clearImmediate||typeof commonjsGlobal<"u"&&commonjsGlobal.clearImmediate||commonjsGlobal&&commonjsGlobal.clearImmediate,main}var hasRequiredParser;function requireParser(){return hasRequiredParser||(hasRequiredParser=1,function(Ra){(function(){var qa,nd,od,ld,ud,dd,pd,fd,md=function(Nd,Od){return function(){return Nd.apply(Od,arguments)}},vd=function(Nd,Od){for(var kd in Od)Ad.call(Od,kd)&&(Nd[kd]=Od[kd]);function Ld(){this.constructor=Nd}return Ld.prototype=Od.prototype,Nd.prototype=new Ld,Nd.__super__=Od.prototype,Nd},Ad={}.hasOwnProperty;pd=requireSax(),od=eventsExports,qa=requireBom(),dd=requireProcessors(),fd=requireMain().setImmediate,nd=requireDefaults().defaults,ld=function(Nd){return typeof Nd=="object"&&Nd!=null&&Object.keys(Nd).length===0},ud=function(Nd,Od,kd){var Ld,Gd,jd;for(Ld=0,Gd=Nd.length;Ld<Gd;Ld++)jd=Nd[Ld],Od=jd(Od,kd);return Od},Ra.Parser=function(Nd){vd(Od,Nd);function Od(kd){this.parseStringPromise=md(this.parseStringPromise,this),this.parseString=md(this.parseString,this),this.reset=md(this.reset,this),this.assignOrPush=md(this.assignOrPush,this),this.processAsync=md(this.processAsync,this);var Ld,Gd,jd;if(!(this instanceof Ra.Parser))return new Ra.Parser(kd);this.options={},Gd=nd["0.2"];for(Ld in Gd)Ad.call(Gd,Ld)&&(jd=Gd[Ld],this.options[Ld]=jd);for(Ld in kd)Ad.call(kd,Ld)&&(jd=kd[Ld],this.options[Ld]=jd);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(dd.normalize)),this.reset()}return Od.prototype.processAsync=function(){var kd,Ld;try{return this.remaining.length<=this.options.chunkSize?(kd=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(kd),this.saxParser.close()):(kd=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(kd),fd(this.processAsync))}catch(Gd){if(Ld=Gd,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(Ld)}},Od.prototype.assignOrPush=function(kd,Ld,Gd){return Ld in kd?(kd[Ld]instanceof Array||(kd[Ld]=[kd[Ld]]),kd[Ld].push(Gd)):this.options.explicitArray?kd[Ld]=[Gd]:kd[Ld]=Gd},Od.prototype.reset=function(){var kd,Ld,Gd,jd;return this.removeAllListeners(),this.saxParser=pd.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(Fd){return function(Ud){if(Fd.saxParser.resume(),!Fd.saxParser.errThrown)return Fd.saxParser.errThrown=!0,Fd.emit("error",Ud)}}(this),this.saxParser.onend=function(Fd){return function(){if(!Fd.saxParser.ended)return Fd.saxParser.ended=!0,Fd.emit("end",Fd.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,jd=[],kd=this.options.attrkey,Ld=this.options.charkey,this.saxParser.onopentag=function(Fd){return function(Ud){var qd,zd,Wd,Jd,_f;if(Wd=Object.create(null),Wd[Ld]="",!Fd.options.ignoreAttrs){_f=Ud.attributes;for(qd in _f)Ad.call(_f,qd)&&(!(kd in Wd)&&!Fd.options.mergeAttrs&&(Wd[kd]=Object.create(null)),zd=Fd.options.attrValueProcessors?ud(Fd.options.attrValueProcessors,Ud.attributes[qd],qd):Ud.attributes[qd],Jd=Fd.options.attrNameProcessors?ud(Fd.options.attrNameProcessors,qd):qd,Fd.options.mergeAttrs?Fd.assignOrPush(Wd,Jd,zd):Wd[kd][Jd]=zd)}return Wd["#name"]=Fd.options.tagNameProcessors?ud(Fd.options.tagNameProcessors,Ud.name):Ud.name,Fd.options.xmlns&&(Wd[Fd.options.xmlnskey]={uri:Ud.uri,local:Ud.local}),jd.push(Wd)}}(this),this.saxParser.onclosetag=function(Fd){return function(){var Ud,qd,zd,Wd,Jd,_f,Xd,pf,mf,Sf;if(_f=jd.pop(),Jd=_f["#name"],(!Fd.options.explicitChildren||!Fd.options.preserveChildrenOrder)&&delete _f["#name"],_f.cdata===!0&&(Ud=_f.cdata,delete _f.cdata),mf=jd[jd.length-1],_f[Ld].match(/^\s*$/)&&!Ud?(qd=_f[Ld],delete _f[Ld]):(Fd.options.trim&&(_f[Ld]=_f[Ld].trim()),Fd.options.normalize&&(_f[Ld]=_f[Ld].replace(/\s{2,}/g," ").trim()),_f[Ld]=Fd.options.valueProcessors?ud(Fd.options.valueProcessors,_f[Ld],Jd):_f[Ld],Object.keys(_f).length===1&&Ld in _f&&!Fd.EXPLICIT_CHARKEY&&(_f=_f[Ld])),ld(_f)&&(typeof Fd.options.emptyTag=="function"?_f=Fd.options.emptyTag():_f=Fd.options.emptyTag!==""?Fd.options.emptyTag:qd),Fd.options.validator!=null&&(Sf="/"+function(){var Tf,Af,Ef;for(Ef=[],Tf=0,Af=jd.length;Tf<Af;Tf++)Wd=jd[Tf],Ef.push(Wd["#name"]);return Ef}().concat(Jd).join("/"),function(){var Tf;try{return _f=Fd.options.validator(Sf,mf&&mf[Jd],_f)}catch(Af){return Tf=Af,Fd.emit("error",Tf)}}()),Fd.options.explicitChildren&&!Fd.options.mergeAttrs&&typeof _f=="object"){if(!Fd.options.preserveChildrenOrder)Wd=Object.create(null),Fd.options.attrkey in _f&&(Wd[Fd.options.attrkey]=_f[Fd.options.attrkey],delete _f[Fd.options.attrkey]),!Fd.options.charsAsChildren&&Fd.options.charkey in _f&&(Wd[Fd.options.charkey]=_f[Fd.options.charkey],delete _f[Fd.options.charkey]),Object.getOwnPropertyNames(_f).length>0&&(Wd[Fd.options.childkey]=_f),_f=Wd;else if(mf){mf[Fd.options.childkey]=mf[Fd.options.childkey]||[],Xd=Object.create(null);for(zd in _f)Ad.call(_f,zd)&&(Xd[zd]=_f[zd]);mf[Fd.options.childkey].push(Xd),delete _f["#name"],Object.keys(_f).length===1&&Ld in _f&&!Fd.EXPLICIT_CHARKEY&&(_f=_f[Ld])}}return jd.length>0?Fd.assignOrPush(mf,Jd,_f):(Fd.options.explicitRoot&&(pf=_f,_f=Object.create(null),_f[Jd]=pf),Fd.resultObject=_f,Fd.saxParser.ended=!0,Fd.emit("end",Fd.resultObject))}}(this),Gd=function(Fd){return function(Ud){var qd,zd;if(zd=jd[jd.length-1],zd)return zd[Ld]+=Ud,Fd.options.explicitChildren&&Fd.options.preserveChildrenOrder&&Fd.options.charsAsChildren&&(Fd.options.includeWhiteChars||Ud.replace(/\\n/g,"").trim()!=="")&&(zd[Fd.options.childkey]=zd[Fd.options.childkey]||[],qd={"#name":"__text__"},qd[Ld]=Ud,Fd.options.normalize&&(qd[Ld]=qd[Ld].replace(/\s{2,}/g," ").trim()),zd[Fd.options.childkey].push(qd)),zd}}(this),this.saxParser.ontext=Gd,this.saxParser.oncdata=function(Fd){return function(Ud){var qd;if(qd=Gd(Ud),qd)return qd.cdata=!0}}()},Od.prototype.parseString=function(kd,Ld){var Gd;Ld!=null&&typeof Ld=="function"&&(this.on("end",function(jd){return this.reset(),Ld(null,jd)}),this.on("error",function(jd){return this.reset(),Ld(jd)}));try{return kd=kd.toString(),kd.trim()===""?(this.emit("end",null),!0):(kd=qa.stripBOM(kd),this.options.async?(this.remaining=kd,fd(this.processAsync),this.saxParser):this.saxParser.write(kd).close())}catch(jd){if(Gd=jd,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw Gd}else return this.emit("error",Gd),this.saxParser.errThrown=!0}},Od.prototype.parseStringPromise=function(kd){return new Promise(function(Ld){return function(Gd,jd){return Ld.parseString(kd,function(Fd,Ud){return Fd?jd(Fd):Gd(Ud)})}}(this))},Od}(od),Ra.parseString=function(Nd,Od,kd){var Ld,Gd,jd;return kd!=null?(typeof kd=="function"&&(Ld=kd),typeof Od=="object"&&(Gd=Od)):(typeof Od=="function"&&(Ld=Od),Gd={}),jd=new Ra.Parser(Gd),jd.parseString(Nd,Ld)},Ra.parseStringPromise=function(Nd,Od){var kd,Ld;return typeof Od=="object"&&(kd=Od),Ld=new Ra.Parser(kd),Ld.parseStringPromise(Nd)}}).call(commonjsGlobal)}(parser)),parser}(function(){var Ra,qa,nd,od,ld=function(dd,pd){for(var fd in pd)ud.call(pd,fd)&&(dd[fd]=pd[fd]);function md(){this.constructor=dd}return md.prototype=pd.prototype,dd.prototype=new md,dd.__super__=pd.prototype,dd},ud={}.hasOwnProperty;qa=requireDefaults(),Ra=requireBuilder(),nd=requireParser(),od=requireProcessors(),xml2js.defaults=qa.defaults,xml2js.processors=od,xml2js.ValidationError=function(dd){ld(pd,dd);function pd(fd){this.message=fd}return pd}(Error),xml2js.Builder=Ra.Builder,xml2js.Parser=nd.Parser,xml2js.parseString=nd.parseString,xml2js.parseStringPromise=nd.parseStringPromise}).call(commonjsGlobal);class ExtendableError extends Error{constructor(qa,nd){super(qa,nd),this.name=this.constructor.name}}class AnonymousRequestError extends ExtendableError{}class InvalidArgumentError extends ExtendableError{}class InvalidEndpointError extends ExtendableError{}class InvalidBucketNameError extends ExtendableError{}class InvalidObjectNameError extends ExtendableError{}class AccessKeyRequiredError extends ExtendableError{}class SecretKeyRequiredError extends ExtendableError{}class ExpiresParamError extends ExtendableError{}class InvalidDateError extends ExtendableError{}class InvalidPrefixError extends ExtendableError{}class InvalidBucketPolicyError extends ExtendableError{}class InvalidXMLError extends ExtendableError{}class S3Error extends ExtendableError{}class IsValidBucketNameError extends ExtendableError{}var validator$2={},util$4={};(function(Ra){const qa=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",nd=qa+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",od="["+qa+"]["+nd+"]*",ld=new RegExp("^"+od+"$"),ud=function(pd,fd){const md=[];let vd=fd.exec(pd);for(;vd;){const Ad=[];Ad.startIndex=fd.lastIndex-vd[0].length;const Nd=vd.length;for(let Od=0;Od<Nd;Od++)Ad.push(vd[Od]);md.push(Ad),vd=fd.exec(pd)}return md},dd=function(pd){const fd=ld.exec(pd);return!(fd===null||typeof fd>"u")};Ra.isExist=function(pd){return typeof pd<"u"},Ra.isEmptyObject=function(pd){return Object.keys(pd).length===0},Ra.merge=function(pd,fd,md){if(fd){const vd=Object.keys(fd),Ad=vd.length;for(let Nd=0;Nd<Ad;Nd++)md==="strict"?pd[vd[Nd]]=[fd[vd[Nd]]]:pd[vd[Nd]]=fd[vd[Nd]]}},Ra.getValue=function(pd){return Ra.isExist(pd)?pd:""},Ra.isName=dd,Ra.getAllMatches=ud,Ra.nameRegexp=od})(util$4);const util$3=util$4,defaultOptions$2={allowBooleanAttributes:!1,unpairedTags:[]};validator$2.validate=function(Ra,qa){qa=Object.assign({},defaultOptions$2,qa);const nd=[];let od=!1,ld=!1;Ra[0]==="\uFEFF"&&(Ra=Ra.substr(1));for(let ud=0;ud<Ra.length;ud++)if(Ra[ud]==="<"&&Ra[ud+1]==="?"){if(ud+=2,ud=readPI(Ra,ud),ud.err)return ud}else if(Ra[ud]==="<"){let dd=ud;if(ud++,Ra[ud]==="!"){ud=readCommentAndCDATA(Ra,ud);continue}else{let pd=!1;Ra[ud]==="/"&&(pd=!0,ud++);let fd="";for(;ud<Ra.length&&Ra[ud]!==">"&&Ra[ud]!==" "&&Ra[ud]!==" "&&Ra[ud]!==`
`&&Ra[ud]!=="\r";ud++)fd+=Ra[ud];if(fd=fd.trim(),fd[fd.length-1]==="/"&&(fd=fd.substring(0,fd.length-1),ud--),!validateTagName(fd)){let Ad;return fd.trim().length===0?Ad="Invalid space after '<'.":Ad="Tag '"+fd+"' is an invalid name.",getErrorObject("InvalidTag",Ad,getLineNumberForPosition(Ra,ud))}const md=readAttributeStr(Ra,ud);if(md===!1)return getErrorObject("InvalidAttr","Attributes for '"+fd+"' have open quote.",getLineNumberForPosition(Ra,ud));let vd=md.value;if(ud=md.index,vd[vd.length-1]==="/"){const Ad=ud-vd.length;vd=vd.substring(0,vd.length-1);const Nd=validateAttributeString(vd,qa);if(Nd===!0)od=!0;else return getErrorObject(Nd.err.code,Nd.err.msg,getLineNumberForPosition(Ra,Ad+Nd.err.line))}else if(pd)if(md.tagClosed){if(vd.trim().length>0)return getErrorObject("InvalidTag","Closing tag '"+fd+"' can't have attributes or invalid starting.",getLineNumberForPosition(Ra,dd));if(nd.length===0)return getErrorObject("InvalidTag","Closing tag '"+fd+"' has not been opened.",getLineNumberForPosition(Ra,dd));{const Ad=nd.pop();if(fd!==Ad.tagName){let Nd=getLineNumberForPosition(Ra,Ad.tagStartPos);return getErrorObject("InvalidTag","Expected closing tag '"+Ad.tagName+"' (opened in line "+Nd.line+", col "+Nd.col+") instead of closing tag '"+fd+"'.",getLineNumberForPosition(Ra,dd))}nd.length==0&&(ld=!0)}}else return getErrorObject("InvalidTag","Closing tag '"+fd+"' doesn't have proper closing.",getLineNumberForPosition(Ra,ud));else{const Ad=validateAttributeString(vd,qa);if(Ad!==!0)return getErrorObject(Ad.err.code,Ad.err.msg,getLineNumberForPosition(Ra,ud-vd.length+Ad.err.line));if(ld===!0)return getErrorObject("InvalidXml","Multiple possible root nodes found.",getLineNumberForPosition(Ra,ud));qa.unpairedTags.indexOf(fd)!==-1||nd.push({tagName:fd,tagStartPos:dd}),od=!0}for(ud++;ud<Ra.length;ud++)if(Ra[ud]==="<")if(Ra[ud+1]==="!"){ud++,ud=readCommentAndCDATA(Ra,ud);continue}else if(Ra[ud+1]==="?"){if(ud=readPI(Ra,++ud),ud.err)return ud}else break;else if(Ra[ud]==="&"){const Ad=validateAmpersand(Ra,ud);if(Ad==-1)return getErrorObject("InvalidChar","char '&' is not expected.",getLineNumberForPosition(Ra,ud));ud=Ad}else if(ld===!0&&!isWhiteSpace(Ra[ud]))return getErrorObject("InvalidXml","Extra text at the end",getLineNumberForPosition(Ra,ud));Ra[ud]==="<"&&ud--}}else{if(isWhiteSpace(Ra[ud]))continue;return getErrorObject("InvalidChar","char '"+Ra[ud]+"' is not expected.",getLineNumberForPosition(Ra,ud))}if(od){if(nd.length==1)return getErrorObject("InvalidTag","Unclosed tag '"+nd[0].tagName+"'.",getLineNumberForPosition(Ra,nd[0].tagStartPos));if(nd.length>0)return getErrorObject("InvalidXml","Invalid '"+JSON.stringify(nd.map(ud=>ud.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return getErrorObject("InvalidXml","Start tag expected.",1);return!0};function isWhiteSpace(Ra){return Ra===" "||Ra===" "||Ra===`
`||Ra==="\r"}function readPI(Ra,qa){const nd=qa;for(;qa<Ra.length;qa++)if(Ra[qa]=="?"||Ra[qa]==" "){const od=Ra.substr(nd,qa-nd);if(qa>5&&od==="xml")return getErrorObject("InvalidXml","XML declaration allowed only at the start of the document.",getLineNumberForPosition(Ra,qa));if(Ra[qa]=="?"&&Ra[qa+1]==">"){qa++;break}else continue}return qa}function readCommentAndCDATA(Ra,qa){if(Ra.length>qa+5&&Ra[qa+1]==="-"&&Ra[qa+2]==="-"){for(qa+=3;qa<Ra.length;qa++)if(Ra[qa]==="-"&&Ra[qa+1]==="-"&&Ra[qa+2]===">"){qa+=2;break}}else if(Ra.length>qa+8&&Ra[qa+1]==="D"&&Ra[qa+2]==="O"&&Ra[qa+3]==="C"&&Ra[qa+4]==="T"&&Ra[qa+5]==="Y"&&Ra[qa+6]==="P"&&Ra[qa+7]==="E"){let nd=1;for(qa+=8;qa<Ra.length;qa++)if(Ra[qa]==="<")nd++;else if(Ra[qa]===">"&&(nd--,nd===0))break}else if(Ra.length>qa+9&&Ra[qa+1]==="["&&Ra[qa+2]==="C"&&Ra[qa+3]==="D"&&Ra[qa+4]==="A"&&Ra[qa+5]==="T"&&Ra[qa+6]==="A"&&Ra[qa+7]==="["){for(qa+=8;qa<Ra.length;qa++)if(Ra[qa]==="]"&&Ra[qa+1]==="]"&&Ra[qa+2]===">"){qa+=2;break}}return qa}const doubleQuote='"',singleQuote="'";function readAttributeStr(Ra,qa){let nd="",od="",ld=!1;for(;qa<Ra.length;qa++){if(Ra[qa]===doubleQuote||Ra[qa]===singleQuote)od===""?od=Ra[qa]:od!==Ra[qa]||(od="");else if(Ra[qa]===">"&&od===""){ld=!0;break}nd+=Ra[qa]}return od!==""?!1:{value:nd,index:qa,tagClosed:ld}}const validAttrStrRegxp=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function validateAttributeString(Ra,qa){const nd=util$3.getAllMatches(Ra,validAttrStrRegxp),od={};for(let ld=0;ld<nd.length;ld++){if(nd[ld][1].length===0)return getErrorObject("InvalidAttr","Attribute '"+nd[ld][2]+"' has no space in starting.",getPositionFromMatch(nd[ld]));if(nd[ld][3]!==void 0&&nd[ld][4]===void 0)return getErrorObject("InvalidAttr","Attribute '"+nd[ld][2]+"' is without value.",getPositionFromMatch(nd[ld]));if(nd[ld][3]===void 0&&!qa.allowBooleanAttributes)return getErrorObject("InvalidAttr","boolean attribute '"+nd[ld][2]+"' is not allowed.",getPositionFromMatch(nd[ld]));const ud=nd[ld][2];if(!validateAttrName(ud))return getErrorObject("InvalidAttr","Attribute '"+ud+"' is an invalid name.",getPositionFromMatch(nd[ld]));if(!od.hasOwnProperty(ud))od[ud]=1;else return getErrorObject("InvalidAttr","Attribute '"+ud+"' is repeated.",getPositionFromMatch(nd[ld]))}return!0}function validateNumberAmpersand(Ra,qa){let nd=/\d/;for(Ra[qa]==="x"&&(qa++,nd=/[\da-fA-F]/);qa<Ra.length;qa++){if(Ra[qa]===";")return qa;if(!Ra[qa].match(nd))break}return-1}function validateAmpersand(Ra,qa){if(qa++,Ra[qa]===";")return-1;if(Ra[qa]==="#")return qa++,validateNumberAmpersand(Ra,qa);let nd=0;for(;qa<Ra.length;qa++,nd++)if(!(Ra[qa].match(/\w/)&&nd<20)){if(Ra[qa]===";")break;return-1}return qa}function getErrorObject(Ra,qa,nd){return{err:{code:Ra,msg:qa,line:nd.line||nd,col:nd.col}}}function validateAttrName(Ra){return util$3.isName(Ra)}function validateTagName(Ra){return util$3.isName(Ra)}function getLineNumberForPosition(Ra,qa){const nd=Ra.substring(0,qa).split(/\r?\n/);return{line:nd.length,col:nd[nd.length-1].length+1}}function getPositionFromMatch(Ra){return Ra.startIndex+Ra[1].length}var OptionsBuilder={};const defaultOptions$1={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(Ra,qa){return qa},attributeValueProcessor:function(Ra,qa){return qa},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(Ra,qa,nd){return Ra}},buildOptions$1=function(Ra){return Object.assign({},defaultOptions$1,Ra)};OptionsBuilder.buildOptions=buildOptions$1;OptionsBuilder.defaultOptions=defaultOptions$1;class XmlNode{constructor(qa){this.tagname=qa,this.child=[],this[":@"]={}}add(qa,nd){qa==="__proto__"&&(qa="#__proto__"),this.child.push({[qa]:nd})}addChild(qa){qa.tagname==="__proto__"&&(qa.tagname="#__proto__"),qa[":@"]&&Object.keys(qa[":@"]).length>0?this.child.push({[qa.tagname]:qa.child,":@":qa[":@"]}):this.child.push({[qa.tagname]:qa.child})}}var xmlNode$1=XmlNode;const util$2=util$4;function readDocType$1(Ra,qa){const nd={};if(Ra[qa+3]==="O"&&Ra[qa+4]==="C"&&Ra[qa+5]==="T"&&Ra[qa+6]==="Y"&&Ra[qa+7]==="P"&&Ra[qa+8]==="E"){qa=qa+9;let od=1,ld=!1,ud=!1,dd="";for(;qa<Ra.length;qa++)if(Ra[qa]==="<"&&!ud){if(ld&&isEntity(Ra,qa))qa+=7,[entityName,val,qa]=readEntityExp(Ra,qa+1),val.indexOf("&")===-1&&(nd[validateEntityName(entityName)]={regx:RegExp(`&${entityName};`,"g"),val});else if(ld&&isElement(Ra,qa))qa+=8;else if(ld&&isAttlist(Ra,qa))qa+=8;else if(ld&&isNotation(Ra,qa))qa+=9;else if(isComment)ud=!0;else throw new Error("Invalid DOCTYPE");od++,dd=""}else if(Ra[qa]===">"){if(ud?Ra[qa-1]==="-"&&Ra[qa-2]==="-"&&(ud=!1,od--):od--,od===0)break}else Ra[qa]==="["?ld=!0:dd+=Ra[qa];if(od!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:nd,i:qa}}function readEntityExp(Ra,qa){let nd="";for(;qa<Ra.length&&Ra[qa]!=="'"&&Ra[qa]!=='"';qa++)nd+=Ra[qa];if(nd=nd.trim(),nd.indexOf(" ")!==-1)throw new Error("External entites are not supported");const od=Ra[qa++];let ld="";for(;qa<Ra.length&&Ra[qa]!==od;qa++)ld+=Ra[qa];return[nd,ld,qa]}function isComment(Ra,qa){return Ra[qa+1]==="!"&&Ra[qa+2]==="-"&&Ra[qa+3]==="-"}function isEntity(Ra,qa){return Ra[qa+1]==="!"&&Ra[qa+2]==="E"&&Ra[qa+3]==="N"&&Ra[qa+4]==="T"&&Ra[qa+5]==="I"&&Ra[qa+6]==="T"&&Ra[qa+7]==="Y"}function isElement(Ra,qa){return Ra[qa+1]==="!"&&Ra[qa+2]==="E"&&Ra[qa+3]==="L"&&Ra[qa+4]==="E"&&Ra[qa+5]==="M"&&Ra[qa+6]==="E"&&Ra[qa+7]==="N"&&Ra[qa+8]==="T"}function isAttlist(Ra,qa){return Ra[qa+1]==="!"&&Ra[qa+2]==="A"&&Ra[qa+3]==="T"&&Ra[qa+4]==="T"&&Ra[qa+5]==="L"&&Ra[qa+6]==="I"&&Ra[qa+7]==="S"&&Ra[qa+8]==="T"}function isNotation(Ra,qa){return Ra[qa+1]==="!"&&Ra[qa+2]==="N"&&Ra[qa+3]==="O"&&Ra[qa+4]==="T"&&Ra[qa+5]==="A"&&Ra[qa+6]==="T"&&Ra[qa+7]==="I"&&Ra[qa+8]==="O"&&Ra[qa+9]==="N"}function validateEntityName(Ra){if(util$2.isName(Ra))return Ra;throw new Error(`Invalid entity name ${Ra}`)}var DocTypeReader=readDocType$1;function getIgnoreAttributesFn$2(Ra){return typeof Ra=="function"?Ra:Array.isArray(Ra)?qa=>{for(const nd of Ra)if(typeof nd=="string"&&qa===nd||nd instanceof RegExp&&nd.test(qa))return!0}:()=>!1}var ignoreAttributes=getIgnoreAttributesFn$2;const util$1=util$4,xmlNode=xmlNode$1,readDocType=DocTypeReader,toNumber=strnum,getIgnoreAttributesFn$1=ignoreAttributes;let OrderedObjParser$1=class{constructor(qa){this.options=qa,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(nd,od)=>String.fromCharCode(Number.parseInt(od,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(nd,od)=>String.fromCharCode(Number.parseInt(od,16))}},this.addExternalEntities=addExternalEntities,this.parseXml=parseXml$1,this.parseTextData=parseTextData,this.resolveNameSpace=resolveNameSpace,this.buildAttributesMap=buildAttributesMap,this.isItStopNode=isItStopNode,this.replaceEntitiesValue=replaceEntitiesValue$1,this.readStopNodeData=readStopNodeData,this.saveTextToParentTag=saveTextToParentTag,this.addChild=addChild,this.ignoreAttributesFn=getIgnoreAttributesFn$1(this.options.ignoreAttributes)}};function addExternalEntities(Ra){const qa=Object.keys(Ra);for(let nd=0;nd<qa.length;nd++){const od=qa[nd];this.lastEntities[od]={regex:new RegExp("&"+od+";","g"),val:Ra[od]}}}function parseTextData(Ra,qa,nd,od,ld,ud,dd){if(Ra!==void 0&&(this.options.trimValues&&!od&&(Ra=Ra.trim()),Ra.length>0)){dd||(Ra=this.replaceEntitiesValue(Ra));const pd=this.options.tagValueProcessor(qa,Ra,nd,ld,ud);return pd==null?Ra:typeof pd!=typeof Ra||pd!==Ra?pd:this.options.trimValues?parseValue(Ra,this.options.parseTagValue,this.options.numberParseOptions):Ra.trim()===Ra?parseValue(Ra,this.options.parseTagValue,this.options.numberParseOptions):Ra}}function resolveNameSpace(Ra){if(this.options.removeNSPrefix){const qa=Ra.split(":"),nd=Ra.charAt(0)==="/"?"/":"";if(qa[0]==="xmlns")return"";qa.length===2&&(Ra=nd+qa[1])}return Ra}const attrsRegx=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function buildAttributesMap(Ra,qa,nd){if(this.options.ignoreAttributes!==!0&&typeof Ra=="string"){const od=util$1.getAllMatches(Ra,attrsRegx),ld=od.length,ud={};for(let dd=0;dd<ld;dd++){const pd=this.resolveNameSpace(od[dd][1]);if(this.ignoreAttributesFn(pd,qa))continue;let fd=od[dd][4],md=this.options.attributeNamePrefix+pd;if(pd.length)if(this.options.transformAttributeName&&(md=this.options.transformAttributeName(md)),md==="__proto__"&&(md="#__proto__"),fd!==void 0){this.options.trimValues&&(fd=fd.trim()),fd=this.replaceEntitiesValue(fd);const vd=this.options.attributeValueProcessor(pd,fd,qa);vd==null?ud[md]=fd:typeof vd!=typeof fd||vd!==fd?ud[md]=vd:ud[md]=parseValue(fd,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(ud[md]=!0)}if(!Object.keys(ud).length)return;if(this.options.attributesGroupName){const dd={};return dd[this.options.attributesGroupName]=ud,dd}return ud}}const parseXml$1=function(Ra){Ra=Ra.replace(/\r\n?/g,`
`);const qa=new xmlNode("!xml");let nd=qa,od="",ld="";for(let ud=0;ud<Ra.length;ud++)if(Ra[ud]==="<")if(Ra[ud+1]==="/"){const pd=findClosingIndex(Ra,">",ud,"Closing Tag is not closed.");let fd=Ra.substring(ud+2,pd).trim();if(this.options.removeNSPrefix){const Ad=fd.indexOf(":");Ad!==-1&&(fd=fd.substr(Ad+1))}this.options.transformTagName&&(fd=this.options.transformTagName(fd)),nd&&(od=this.saveTextToParentTag(od,nd,ld));const md=ld.substring(ld.lastIndexOf(".")+1);if(fd&&this.options.unpairedTags.indexOf(fd)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: </${fd}>`);let vd=0;md&&this.options.unpairedTags.indexOf(md)!==-1?(vd=ld.lastIndexOf(".",ld.lastIndexOf(".")-1),this.tagsNodeStack.pop()):vd=ld.lastIndexOf("."),ld=ld.substring(0,vd),nd=this.tagsNodeStack.pop(),od="",ud=pd}else if(Ra[ud+1]==="?"){let pd=readTagExp(Ra,ud,!1,"?>");if(!pd)throw new Error("Pi Tag is not closed.");if(od=this.saveTextToParentTag(od,nd,ld),!(this.options.ignoreDeclaration&&pd.tagName==="?xml"||this.options.ignorePiTags)){const fd=new xmlNode(pd.tagName);fd.add(this.options.textNodeName,""),pd.tagName!==pd.tagExp&&pd.attrExpPresent&&(fd[":@"]=this.buildAttributesMap(pd.tagExp,ld,pd.tagName)),this.addChild(nd,fd,ld)}ud=pd.closeIndex+1}else if(Ra.substr(ud+1,3)==="!--"){const pd=findClosingIndex(Ra,"-->",ud+4,"Comment is not closed.");if(this.options.commentPropName){const fd=Ra.substring(ud+4,pd-2);od=this.saveTextToParentTag(od,nd,ld),nd.add(this.options.commentPropName,[{[this.options.textNodeName]:fd}])}ud=pd}else if(Ra.substr(ud+1,2)==="!D"){const pd=readDocType(Ra,ud);this.docTypeEntities=pd.entities,ud=pd.i}else if(Ra.substr(ud+1,2)==="!["){const pd=findClosingIndex(Ra,"]]>",ud,"CDATA is not closed.")-2,fd=Ra.substring(ud+9,pd);od=this.saveTextToParentTag(od,nd,ld);let md=this.parseTextData(fd,nd.tagname,ld,!0,!1,!0,!0);md==null&&(md=""),this.options.cdataPropName?nd.add(this.options.cdataPropName,[{[this.options.textNodeName]:fd}]):nd.add(this.options.textNodeName,md),ud=pd+2}else{let pd=readTagExp(Ra,ud,this.options.removeNSPrefix),fd=pd.tagName;const md=pd.rawTagName;let vd=pd.tagExp,Ad=pd.attrExpPresent,Nd=pd.closeIndex;this.options.transformTagName&&(fd=this.options.transformTagName(fd)),nd&&od&&nd.tagname!=="!xml"&&(od=this.saveTextToParentTag(od,nd,ld,!1));const Od=nd;if(Od&&this.options.unpairedTags.indexOf(Od.tagname)!==-1&&(nd=this.tagsNodeStack.pop(),ld=ld.substring(0,ld.lastIndexOf("."))),fd!==qa.tagname&&(ld+=ld?"."+fd:fd),this.isItStopNode(this.options.stopNodes,ld,fd)){let kd="";if(vd.length>0&&vd.lastIndexOf("/")===vd.length-1)fd[fd.length-1]==="/"?(fd=fd.substr(0,fd.length-1),ld=ld.substr(0,ld.length-1),vd=fd):vd=vd.substr(0,vd.length-1),ud=pd.closeIndex;else if(this.options.unpairedTags.indexOf(fd)!==-1)ud=pd.closeIndex;else{const Gd=this.readStopNodeData(Ra,md,Nd+1);if(!Gd)throw new Error(`Unexpected end of ${md}`);ud=Gd.i,kd=Gd.tagContent}const Ld=new xmlNode(fd);fd!==vd&&Ad&&(Ld[":@"]=this.buildAttributesMap(vd,ld,fd)),kd&&(kd=this.parseTextData(kd,fd,ld,!0,Ad,!0,!0)),ld=ld.substr(0,ld.lastIndexOf(".")),Ld.add(this.options.textNodeName,kd),this.addChild(nd,Ld,ld)}else{if(vd.length>0&&vd.lastIndexOf("/")===vd.length-1){fd[fd.length-1]==="/"?(fd=fd.substr(0,fd.length-1),ld=ld.substr(0,ld.length-1),vd=fd):vd=vd.substr(0,vd.length-1),this.options.transformTagName&&(fd=this.options.transformTagName(fd));const kd=new xmlNode(fd);fd!==vd&&Ad&&(kd[":@"]=this.buildAttributesMap(vd,ld,fd)),this.addChild(nd,kd,ld),ld=ld.substr(0,ld.lastIndexOf("."))}else{const kd=new xmlNode(fd);this.tagsNodeStack.push(nd),fd!==vd&&Ad&&(kd[":@"]=this.buildAttributesMap(vd,ld,fd)),this.addChild(nd,kd,ld),nd=kd}od="",ud=Nd}}else od+=Ra[ud];return qa.child};function addChild(Ra,qa,nd){const od=this.options.updateTag(qa.tagname,nd,qa[":@"]);od===!1||(typeof od=="string"&&(qa.tagname=od),Ra.addChild(qa))}const replaceEntitiesValue$1=function(Ra){if(this.options.processEntities){for(let qa in this.docTypeEntities){const nd=this.docTypeEntities[qa];Ra=Ra.replace(nd.regx,nd.val)}for(let qa in this.lastEntities){const nd=this.lastEntities[qa];Ra=Ra.replace(nd.regex,nd.val)}if(this.options.htmlEntities)for(let qa in this.htmlEntities){const nd=this.htmlEntities[qa];Ra=Ra.replace(nd.regex,nd.val)}Ra=Ra.replace(this.ampEntity.regex,this.ampEntity.val)}return Ra};function saveTextToParentTag(Ra,qa,nd,od){return Ra&&(od===void 0&&(od=Object.keys(qa.child).length===0),Ra=this.parseTextData(Ra,qa.tagname,nd,!1,qa[":@"]?Object.keys(qa[":@"]).length!==0:!1,od),Ra!==void 0&&Ra!==""&&qa.add(this.options.textNodeName,Ra),Ra=""),Ra}function isItStopNode(Ra,qa,nd){const od="*."+nd;for(const ld in Ra){const ud=Ra[ld];if(od===ud||qa===ud)return!0}return!1}function tagExpWithClosingIndex(Ra,qa,nd=">"){let od,ld="";for(let ud=qa;ud<Ra.length;ud++){let dd=Ra[ud];if(od)dd===od&&(od="");else if(dd==='"'||dd==="'")od=dd;else if(dd===nd[0])if(nd[1]){if(Ra[ud+1]===nd[1])return{data:ld,index:ud}}else return{data:ld,index:ud};else dd===" "&&(dd=" ");ld+=dd}}function findClosingIndex(Ra,qa,nd,od){const ld=Ra.indexOf(qa,nd);if(ld===-1)throw new Error(od);return ld+qa.length-1}function readTagExp(Ra,qa,nd,od=">"){const ld=tagExpWithClosingIndex(Ra,qa+1,od);if(!ld)return;let ud=ld.data;const dd=ld.index,pd=ud.search(/\s/);let fd=ud,md=!0;pd!==-1&&(fd=ud.substring(0,pd),ud=ud.substring(pd+1).trimStart());const vd=fd;if(nd){const Ad=fd.indexOf(":");Ad!==-1&&(fd=fd.substr(Ad+1),md=fd!==ld.data.substr(Ad+1))}return{tagName:fd,tagExp:ud,closeIndex:dd,attrExpPresent:md,rawTagName:vd}}function readStopNodeData(Ra,qa,nd){const od=nd;let ld=1;for(;nd<Ra.length;nd++)if(Ra[nd]==="<")if(Ra[nd+1]==="/"){const ud=findClosingIndex(Ra,">",nd,`${qa} is not closed`);if(Ra.substring(nd+2,ud).trim()===qa&&(ld--,ld===0))return{tagContent:Ra.substring(od,nd),i:ud};nd=ud}else if(Ra[nd+1]==="?")nd=findClosingIndex(Ra,"?>",nd+1,"StopNode is not closed.");else if(Ra.substr(nd+1,3)==="!--")nd=findClosingIndex(Ra,"-->",nd+3,"StopNode is not closed.");else if(Ra.substr(nd+1,2)==="![")nd=findClosingIndex(Ra,"]]>",nd,"StopNode is not closed.")-2;else{const ud=readTagExp(Ra,nd,">");ud&&((ud&&ud.tagName)===qa&&ud.tagExp[ud.tagExp.length-1]!=="/"&&ld++,nd=ud.closeIndex)}}function parseValue(Ra,qa,nd){if(qa&&typeof Ra=="string"){const od=Ra.trim();return od==="true"?!0:od==="false"?!1:toNumber(Ra,nd)}else return util$1.isExist(Ra)?Ra:""}var OrderedObjParser_1=OrderedObjParser$1,node2json={};function prettify$1(Ra,qa){return compress(Ra,qa)}function compress(Ra,qa,nd){let od;const ld={};for(let ud=0;ud<Ra.length;ud++){const dd=Ra[ud],pd=propName$1(dd);let fd="";if(nd===void 0?fd=pd:fd=nd+"."+pd,pd===qa.textNodeName)od===void 0?od=dd[pd]:od+=""+dd[pd];else{if(pd===void 0)continue;if(dd[pd]){let md=compress(dd[pd],qa,fd);const vd=isLeafTag(md,qa);dd[":@"]?assignAttributes(md,dd[":@"],fd,qa):Object.keys(md).length===1&&md[qa.textNodeName]!==void 0&&!qa.alwaysCreateTextNode?md=md[qa.textNodeName]:Object.keys(md).length===0&&(qa.alwaysCreateTextNode?md[qa.textNodeName]="":md=""),ld[pd]!==void 0&&ld.hasOwnProperty(pd)?(Array.isArray(ld[pd])||(ld[pd]=[ld[pd]]),ld[pd].push(md)):qa.isArray(pd,fd,vd)?ld[pd]=[md]:ld[pd]=md}}}return typeof od=="string"?od.length>0&&(ld[qa.textNodeName]=od):od!==void 0&&(ld[qa.textNodeName]=od),ld}function propName$1(Ra){const qa=Object.keys(Ra);for(let nd=0;nd<qa.length;nd++){const od=qa[nd];if(od!==":@")return od}}function assignAttributes(Ra,qa,nd,od){if(qa){const ld=Object.keys(qa),ud=ld.length;for(let dd=0;dd<ud;dd++){const pd=ld[dd];od.isArray(pd,nd+"."+pd,!0,!0)?Ra[pd]=[qa[pd]]:Ra[pd]=qa[pd]}}}function isLeafTag(Ra,qa){const{textNodeName:nd}=qa,od=Object.keys(Ra).length;return!!(od===0||od===1&&(Ra[nd]||typeof Ra[nd]=="boolean"||Ra[nd]===0))}node2json.prettify=prettify$1;const{buildOptions}=OptionsBuilder,OrderedObjParser=OrderedObjParser_1,{prettify}=node2json,validator$1=validator$2;let XMLParser$1=class{constructor(qa){this.externalEntities={},this.options=buildOptions(qa)}parse(qa,nd){if(typeof qa!="string")if(qa.toString)qa=qa.toString();else throw new Error("XML data is accepted in String or Bytes[] form.");if(nd){nd===!0&&(nd={});const ud=validator$1.validate(qa,nd);if(ud!==!0)throw Error(`${ud.err.msg}:${ud.err.line}:${ud.err.col}`)}const od=new OrderedObjParser(this.options);od.addExternalEntities(this.externalEntities);const ld=od.parseXml(qa);return this.options.preserveOrder||ld===void 0?ld:prettify(ld,this.options)}addEntity(qa,nd){if(nd.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");if(qa.indexOf("&")!==-1||qa.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if(nd==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[qa]=nd}};var XMLParser_1=XMLParser$1;const EOL=`
`;function toXml(Ra,qa){let nd="";return qa.format&&qa.indentBy.length>0&&(nd=EOL),arrToStr(Ra,qa,"",nd)}function arrToStr(Ra,qa,nd,od){let ld="",ud=!1;for(let dd=0;dd<Ra.length;dd++){const pd=Ra[dd],fd=propName(pd);if(fd===void 0)continue;let md="";if(nd.length===0?md=fd:md=`${nd}.${fd}`,fd===qa.textNodeName){let kd=pd[fd];isStopNode(md,qa)||(kd=qa.tagValueProcessor(fd,kd),kd=replaceEntitiesValue(kd,qa)),ud&&(ld+=od),ld+=kd,ud=!1;continue}else if(fd===qa.cdataPropName){ud&&(ld+=od),ld+=`<![CDATA[${pd[fd][0][qa.textNodeName]}]]>`,ud=!1;continue}else if(fd===qa.commentPropName){ld+=od+`<!--${pd[fd][0][qa.textNodeName]}-->`,ud=!0;continue}else if(fd[0]==="?"){const kd=attr_to_str(pd[":@"],qa),Ld=fd==="?xml"?"":od;let Gd=pd[fd][0][qa.textNodeName];Gd=Gd.length!==0?" "+Gd:"",ld+=Ld+`<${fd}${Gd}${kd}?>`,ud=!0;continue}let vd=od;vd!==""&&(vd+=qa.indentBy);const Ad=attr_to_str(pd[":@"],qa),Nd=od+`<${fd}${Ad}`,Od=arrToStr(pd[fd],qa,md,vd);qa.unpairedTags.indexOf(fd)!==-1?qa.suppressUnpairedNode?ld+=Nd+">":ld+=Nd+"/>":(!Od||Od.length===0)&&qa.suppressEmptyNode?ld+=Nd+"/>":Od&&Od.endsWith(">")?ld+=Nd+`>${Od}${od}</${fd}>`:(ld+=Nd+">",Od&&od!==""&&(Od.includes("/>")||Od.includes("</"))?ld+=od+qa.indentBy+Od+od:ld+=Od,ld+=`</${fd}>`),ud=!0}return ld}function propName(Ra){const qa=Object.keys(Ra);for(let nd=0;nd<qa.length;nd++){const od=qa[nd];if(Ra.hasOwnProperty(od)&&od!==":@")return od}}function attr_to_str(Ra,qa){let nd="";if(Ra&&!qa.ignoreAttributes)for(let od in Ra){if(!Ra.hasOwnProperty(od))continue;let ld=qa.attributeValueProcessor(od,Ra[od]);ld=replaceEntitiesValue(ld,qa),ld===!0&&qa.suppressBooleanAttributes?nd+=` ${od.substr(qa.attributeNamePrefix.length)}`:nd+=` ${od.substr(qa.attributeNamePrefix.length)}="${ld}"`}return nd}function isStopNode(Ra,qa){Ra=Ra.substr(0,Ra.length-qa.textNodeName.length-1);let nd=Ra.substr(Ra.lastIndexOf(".")+1);for(let od in qa.stopNodes)if(qa.stopNodes[od]===Ra||qa.stopNodes[od]==="*."+nd)return!0;return!1}function replaceEntitiesValue(Ra,qa){if(Ra&&Ra.length>0&&qa.processEntities)for(let nd=0;nd<qa.entities.length;nd++){const od=qa.entities[nd];Ra=Ra.replace(od.regex,od.val)}return Ra}var orderedJs2Xml=toXml;const buildFromOrderedJs=orderedJs2Xml,getIgnoreAttributesFn=ignoreAttributes,defaultOptions={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(Ra,qa){return qa},attributeValueProcessor:function(Ra,qa){return qa},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&amp;"},{regex:new RegExp(">","g"),val:"&gt;"},{regex:new RegExp("<","g"),val:"&lt;"},{regex:new RegExp("'","g"),val:"&apos;"},{regex:new RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1};function Builder(Ra){this.options=Object.assign({},defaultOptions,Ra),this.options.ignoreAttributes===!0||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=getIgnoreAttributesFn(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=isAttribute),this.processTextOrObjNode=processTextOrObjNode,this.options.format?(this.indentate=indentate,this.tagEndChar=`>
`,this.newLine=`
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}Builder.prototype.build=function(Ra){return this.options.preserveOrder?buildFromOrderedJs(Ra,this.options):(Array.isArray(Ra)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(Ra={[this.options.arrayNodeName]:Ra}),this.j2x(Ra,0,[]).val)};Builder.prototype.j2x=function(Ra,qa,nd){let od="",ld="";const ud=nd.join(".");for(let dd in Ra)if(Object.prototype.hasOwnProperty.call(Ra,dd))if(typeof Ra[dd]>"u")this.isAttribute(dd)&&(ld+="");else if(Ra[dd]===null)this.isAttribute(dd)?ld+="":dd[0]==="?"?ld+=this.indentate(qa)+"<"+dd+"?"+this.tagEndChar:ld+=this.indentate(qa)+"<"+dd+"/"+this.tagEndChar;else if(Ra[dd]instanceof Date)ld+=this.buildTextValNode(Ra[dd],dd,"",qa);else if(typeof Ra[dd]!="object"){const pd=this.isAttribute(dd);if(pd&&!this.ignoreAttributesFn(pd,ud))od+=this.buildAttrPairStr(pd,""+Ra[dd]);else if(!pd)if(dd===this.options.textNodeName){let fd=this.options.tagValueProcessor(dd,""+Ra[dd]);ld+=this.replaceEntitiesValue(fd)}else ld+=this.buildTextValNode(Ra[dd],dd,"",qa)}else if(Array.isArray(Ra[dd])){const pd=Ra[dd].length;let fd="",md="";for(let vd=0;vd<pd;vd++){const Ad=Ra[dd][vd];if(!(typeof Ad>"u"))if(Ad===null)dd[0]==="?"?ld+=this.indentate(qa)+"<"+dd+"?"+this.tagEndChar:ld+=this.indentate(qa)+"<"+dd+"/"+this.tagEndChar;else if(typeof Ad=="object")if(this.options.oneListGroup){const Nd=this.j2x(Ad,qa+1,nd.concat(dd));fd+=Nd.val,this.options.attributesGroupName&&Ad.hasOwnProperty(this.options.attributesGroupName)&&(md+=Nd.attrStr)}else fd+=this.processTextOrObjNode(Ad,dd,qa,nd);else if(this.options.oneListGroup){let Nd=this.options.tagValueProcessor(dd,Ad);Nd=this.replaceEntitiesValue(Nd),fd+=Nd}else fd+=this.buildTextValNode(Ad,dd,"",qa)}this.options.oneListGroup&&(fd=this.buildObjectNode(fd,dd,md,qa)),ld+=fd}else if(this.options.attributesGroupName&&dd===this.options.attributesGroupName){const pd=Object.keys(Ra[dd]),fd=pd.length;for(let md=0;md<fd;md++)od+=this.buildAttrPairStr(pd[md],""+Ra[dd][pd[md]])}else ld+=this.processTextOrObjNode(Ra[dd],dd,qa,nd);return{attrStr:od,val:ld}};Builder.prototype.buildAttrPairStr=function(Ra,qa){return qa=this.options.attributeValueProcessor(Ra,""+qa),qa=this.replaceEntitiesValue(qa),this.options.suppressBooleanAttributes&&qa==="true"?" "+Ra:" "+Ra+'="'+qa+'"'};function processTextOrObjNode(Ra,qa,nd,od){const ld=this.j2x(Ra,nd+1,od.concat(qa));return Ra[this.options.textNodeName]!==void 0&&Object.keys(Ra).length===1?this.buildTextValNode(Ra[this.options.textNodeName],qa,ld.attrStr,nd):this.buildObjectNode(ld.val,qa,ld.attrStr,nd)}Builder.prototype.buildObjectNode=function(Ra,qa,nd,od){if(Ra==="")return qa[0]==="?"?this.indentate(od)+"<"+qa+nd+"?"+this.tagEndChar:this.indentate(od)+"<"+qa+nd+this.closeTag(qa)+this.tagEndChar;{let ld="</"+qa+this.tagEndChar,ud="";return qa[0]==="?"&&(ud="?",ld=""),(nd||nd==="")&&Ra.indexOf("<")===-1?this.indentate(od)+"<"+qa+nd+ud+">"+Ra+ld:this.options.commentPropName!==!1&&qa===this.options.commentPropName&&ud.length===0?this.indentate(od)+`<!--${Ra}-->`+this.newLine:this.indentate(od)+"<"+qa+nd+ud+this.tagEndChar+Ra+this.indentate(od)+ld}};Builder.prototype.closeTag=function(Ra){let qa="";return this.options.unpairedTags.indexOf(Ra)!==-1?this.options.suppressUnpairedNode||(qa="/"):this.options.suppressEmptyNode?qa="/":qa=`></${Ra}`,qa};Builder.prototype.buildTextValNode=function(Ra,qa,nd,od){if(this.options.cdataPropName!==!1&&qa===this.options.cdataPropName)return this.indentate(od)+`<![CDATA[${Ra}]]>`+this.newLine;if(this.options.commentPropName!==!1&&qa===this.options.commentPropName)return this.indentate(od)+`<!--${Ra}-->`+this.newLine;if(qa[0]==="?")return this.indentate(od)+"<"+qa+nd+"?"+this.tagEndChar;{let ld=this.options.tagValueProcessor(qa,Ra);return ld=this.replaceEntitiesValue(ld),ld===""?this.indentate(od)+"<"+qa+nd+this.closeTag(qa)+this.tagEndChar:this.indentate(od)+"<"+qa+nd+">"+ld+"</"+qa+this.tagEndChar}};Builder.prototype.replaceEntitiesValue=function(Ra){if(Ra&&Ra.length>0&&this.options.processEntities)for(let qa=0;qa<this.options.entities.length;qa++){const nd=this.options.entities[qa];Ra=Ra.replace(nd.regex,nd.val)}return Ra};function indentate(Ra){return this.options.indentBy.repeat(Ra)}function isAttribute(Ra){return Ra.startsWith(this.options.attributeNamePrefix)&&Ra!==this.options.textNodeName?Ra.substr(this.attrPrefixLen):!1}var json2xml=Builder;const validator=validator$2,XMLParser=XMLParser_1,XMLBuilder=json2xml;var fxp$2={XMLParser,XMLValidator:validator,XMLBuilder},ipaddr$1={exports:{}};(function(Ra){(function(qa){const nd="(0?\\d+|0x[a-f0-9]+)",od={fourOctet:new RegExp(`^${nd}\\.${nd}\\.${nd}\\.${nd}$`,"i"),threeOctet:new RegExp(`^${nd}\\.${nd}\\.${nd}$`,"i"),twoOctet:new RegExp(`^${nd}\\.${nd}$`,"i"),longValue:new RegExp(`^${nd}$`,"i")},ld=new RegExp("^0[0-7]+$","i"),ud=new RegExp("^0x[a-f0-9]+$","i"),dd="%[0-9a-z]{1,}",pd="(?:[0-9a-f]+::?)+",fd={zoneIndex:new RegExp(dd,"i"),native:new RegExp(`^(::)?(${pd})?([0-9a-f]+)?(::)?(${dd})?$`,"i"),deprecatedTransitional:new RegExp(`^(?:::)(${nd}\\.${nd}\\.${nd}\\.${nd}(${dd})?)$`,"i"),transitional:new RegExp(`^((?:${pd})|(?:::)(?:${pd})?)${nd}\\.${nd}\\.${nd}\\.${nd}(${dd})?$`,"i")};function md(kd,Ld){if(kd.indexOf("::")!==kd.lastIndexOf("::"))return null;let Gd=0,jd=-1,Fd=(kd.match(fd.zoneIndex)||[])[0],Ud,qd;for(Fd&&(Fd=Fd.substring(1),kd=kd.replace(/%.+$/,""));(jd=kd.indexOf(":",jd+1))>=0;)Gd++;if(kd.substr(0,2)==="::"&&Gd--,kd.substr(-2,2)==="::"&&Gd--,Gd>Ld)return null;for(qd=Ld-Gd,Ud=":";qd--;)Ud+="0:";return kd=kd.replace("::",Ud),kd[0]===":"&&(kd=kd.slice(1)),kd[kd.length-1]===":"&&(kd=kd.slice(0,-1)),Ld=function(){const zd=kd.split(":"),Wd=[];for(let Jd=0;Jd<zd.length;Jd++)Wd.push(parseInt(zd[Jd],16));return Wd}(),{parts:Ld,zoneId:Fd}}function vd(kd,Ld,Gd,jd){if(kd.length!==Ld.length)throw new Error("ipaddr: cannot match CIDR for objects with different lengths");let Fd=0,Ud;for(;jd>0;){if(Ud=Gd-jd,Ud<0&&(Ud=0),kd[Fd]>>Ud!==Ld[Fd]>>Ud)return!1;jd-=Gd,Fd+=1}return!0}function Ad(kd){if(ud.test(kd))return parseInt(kd,16);if(kd[0]==="0"&&!isNaN(parseInt(kd[1],10))){if(ld.test(kd))return parseInt(kd,8);throw new Error(`ipaddr: cannot parse ${kd} as octal`)}return parseInt(kd,10)}function Nd(kd,Ld){for(;kd.length<Ld;)kd=`0${kd}`;return kd}const Od={};Od.IPv4=function(){function kd(Ld){if(Ld.length!==4)throw new Error("ipaddr: ipv4 octet count should be 4");let Gd,jd;for(Gd=0;Gd<Ld.length;Gd++)if(jd=Ld[Gd],!(0<=jd&&jd<=255))throw new Error("ipaddr: ipv4 octet should fit in 8 bits");this.octets=Ld}return kd.prototype.SpecialRanges={unspecified:[[new kd([0,0,0,0]),8]],broadcast:[[new kd([255,255,255,255]),32]],multicast:[[new kd([224,0,0,0]),4]],linkLocal:[[new kd([169,254,0,0]),16]],loopback:[[new kd([127,0,0,0]),8]],carrierGradeNat:[[new kd([100,64,0,0]),10]],private:[[new kd([10,0,0,0]),8],[new kd([172,16,0,0]),12],[new kd([192,168,0,0]),16]],reserved:[[new kd([192,0,0,0]),24],[new kd([192,0,2,0]),24],[new kd([192,88,99,0]),24],[new kd([198,18,0,0]),15],[new kd([198,51,100,0]),24],[new kd([203,0,113,0]),24],[new kd([240,0,0,0]),4]],as112:[[new kd([192,175,48,0]),24],[new kd([192,31,196,0]),24]],amt:[[new kd([192,52,193,0]),24]]},kd.prototype.kind=function(){return"ipv4"},kd.prototype.match=function(Ld,Gd){let jd;if(Gd===void 0&&(jd=Ld,Ld=jd[0],Gd=jd[1]),Ld.kind()!=="ipv4")throw new Error("ipaddr: cannot match ipv4 address with non-ipv4 one");return vd(this.octets,Ld.octets,8,Gd)},kd.prototype.prefixLengthFromSubnetMask=function(){let Ld=0,Gd=!1;const jd={0:8,128:7,192:6,224:5,240:4,248:3,252:2,254:1,255:0};let Fd,Ud,qd;for(Fd=3;Fd>=0;Fd-=1)if(Ud=this.octets[Fd],Ud in jd){if(qd=jd[Ud],Gd&&qd!==0)return null;qd!==8&&(Gd=!0),Ld+=qd}else return null;return 32-Ld},kd.prototype.range=function(){return Od.subnetMatch(this,this.SpecialRanges)},kd.prototype.toByteArray=function(){return this.octets.slice(0)},kd.prototype.toIPv4MappedAddress=function(){return Od.IPv6.parse(`::ffff:${this.toString()}`)},kd.prototype.toNormalizedString=function(){return this.toString()},kd.prototype.toString=function(){return this.octets.join(".")},kd}(),Od.IPv4.broadcastAddressFromCIDR=function(kd){try{const Ld=this.parseCIDR(kd),Gd=Ld[0].toByteArray(),jd=this.subnetMaskFromPrefixLength(Ld[1]).toByteArray(),Fd=[];let Ud=0;for(;Ud<4;)Fd.push(parseInt(Gd[Ud],10)|parseInt(jd[Ud],10)^255),Ud++;return new this(Fd)}catch{throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},Od.IPv4.isIPv4=function(kd){return this.parser(kd)!==null},Od.IPv4.isValid=function(kd){try{return new this(this.parser(kd)),!0}catch{return!1}},Od.IPv4.isValidCIDR=function(kd){try{return this.parseCIDR(kd),!0}catch{return!1}},Od.IPv4.isValidFourPartDecimal=function(kd){return!!(Od.IPv4.isValid(kd)&&kd.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/))},Od.IPv4.networkAddressFromCIDR=function(kd){let Ld,Gd,jd,Fd,Ud;try{for(Ld=this.parseCIDR(kd),jd=Ld[0].toByteArray(),Ud=this.subnetMaskFromPrefixLength(Ld[1]).toByteArray(),Fd=[],Gd=0;Gd<4;)Fd.push(parseInt(jd[Gd],10)&parseInt(Ud[Gd],10)),Gd++;return new this(Fd)}catch{throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},Od.IPv4.parse=function(kd){const Ld=this.parser(kd);if(Ld===null)throw new Error("ipaddr: string is not formatted like an IPv4 Address");return new this(Ld)},Od.IPv4.parseCIDR=function(kd){let Ld;if(Ld=kd.match(/^(.+)\/(\d+)$/)){const Gd=parseInt(Ld[2]);if(Gd>=0&&Gd<=32){const jd=[this.parse(Ld[1]),Gd];return Object.defineProperty(jd,"toString",{value:function(){return this.join("/")}}),jd}}throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range")},Od.IPv4.parser=function(kd){let Ld,Gd,jd;if(Ld=kd.match(od.fourOctet))return function(){const Fd=Ld.slice(1,6),Ud=[];for(let qd=0;qd<Fd.length;qd++)Gd=Fd[qd],Ud.push(Ad(Gd));return Ud}();if(Ld=kd.match(od.longValue)){if(jd=Ad(Ld[1]),jd>4294967295||jd<0)throw new Error("ipaddr: address outside defined range");return function(){const Fd=[];let Ud;for(Ud=0;Ud<=24;Ud+=8)Fd.push(jd>>Ud&255);return Fd}().reverse()}else return(Ld=kd.match(od.twoOctet))?function(){const Fd=Ld.slice(1,4),Ud=[];if(jd=Ad(Fd[1]),jd>16777215||jd<0)throw new Error("ipaddr: address outside defined range");return Ud.push(Ad(Fd[0])),Ud.push(jd>>16&255),Ud.push(jd>>8&255),Ud.push(jd&255),Ud}():(Ld=kd.match(od.threeOctet))?function(){const Fd=Ld.slice(1,5),Ud=[];if(jd=Ad(Fd[2]),jd>65535||jd<0)throw new Error("ipaddr: address outside defined range");return Ud.push(Ad(Fd[0])),Ud.push(Ad(Fd[1])),Ud.push(jd>>8&255),Ud.push(jd&255),Ud}():null},Od.IPv4.subnetMaskFromPrefixLength=function(kd){if(kd=parseInt(kd),kd<0||kd>32)throw new Error("ipaddr: invalid IPv4 prefix length");const Ld=[0,0,0,0];let Gd=0;const jd=Math.floor(kd/8);for(;Gd<jd;)Ld[Gd]=255,Gd++;return jd<4&&(Ld[jd]=Math.pow(2,kd%8)-1<<8-kd%8),new this(Ld)},Od.IPv6=function(){function kd(Ld,Gd){let jd,Fd;if(Ld.length===16)for(this.parts=[],jd=0;jd<=14;jd+=2)this.parts.push(Ld[jd]<<8|Ld[jd+1]);else if(Ld.length===8)this.parts=Ld;else throw new Error("ipaddr: ipv6 part count should be 8 or 16");for(jd=0;jd<this.parts.length;jd++)if(Fd=this.parts[jd],!(0<=Fd&&Fd<=65535))throw new Error("ipaddr: ipv6 part should fit in 16 bits");Gd&&(this.zoneId=Gd)}return kd.prototype.SpecialRanges={unspecified:[new kd([0,0,0,0,0,0,0,0]),128],linkLocal:[new kd([65152,0,0,0,0,0,0,0]),10],multicast:[new kd([65280,0,0,0,0,0,0,0]),8],loopback:[new kd([0,0,0,0,0,0,0,1]),128],uniqueLocal:[new kd([64512,0,0,0,0,0,0,0]),7],ipv4Mapped:[new kd([0,0,0,0,0,65535,0,0]),96],discard:[new kd([256,0,0,0,0,0,0,0]),64],rfc6145:[new kd([0,0,0,0,65535,0,0,0]),96],rfc6052:[new kd([100,65435,0,0,0,0,0,0]),96],"6to4":[new kd([8194,0,0,0,0,0,0,0]),16],teredo:[new kd([8193,0,0,0,0,0,0,0]),32],benchmarking:[new kd([8193,2,0,0,0,0,0,0]),48],amt:[new kd([8193,3,0,0,0,0,0,0]),32],as112v6:[[new kd([8193,4,274,0,0,0,0,0]),48],[new kd([9760,79,32768,0,0,0,0,0]),48]],deprecated:[new kd([8193,16,0,0,0,0,0,0]),28],orchid2:[new kd([8193,32,0,0,0,0,0,0]),28],droneRemoteIdProtocolEntityTags:[new kd([8193,48,0,0,0,0,0,0]),28],reserved:[[new kd([8193,0,0,0,0,0,0,0]),23],[new kd([8193,3512,0,0,0,0,0,0]),32]]},kd.prototype.isIPv4MappedAddress=function(){return this.range()==="ipv4Mapped"},kd.prototype.kind=function(){return"ipv6"},kd.prototype.match=function(Ld,Gd){let jd;if(Gd===void 0&&(jd=Ld,Ld=jd[0],Gd=jd[1]),Ld.kind()!=="ipv6")throw new Error("ipaddr: cannot match ipv6 address with non-ipv6 one");return vd(this.parts,Ld.parts,16,Gd)},kd.prototype.prefixLengthFromSubnetMask=function(){let Ld=0,Gd=!1;const jd={0:16,32768:15,49152:14,57344:13,61440:12,63488:11,64512:10,65024:9,65280:8,65408:7,65472:6,65504:5,65520:4,65528:3,65532:2,65534:1,65535:0};let Fd,Ud;for(let qd=7;qd>=0;qd-=1)if(Fd=this.parts[qd],Fd in jd){if(Ud=jd[Fd],Gd&&Ud!==0)return null;Ud!==16&&(Gd=!0),Ld+=Ud}else return null;return 128-Ld},kd.prototype.range=function(){return Od.subnetMatch(this,this.SpecialRanges)},kd.prototype.toByteArray=function(){let Ld;const Gd=[],jd=this.parts;for(let Fd=0;Fd<jd.length;Fd++)Ld=jd[Fd],Gd.push(Ld>>8),Gd.push(Ld&255);return Gd},kd.prototype.toFixedLengthString=function(){const Ld=(function(){const jd=[];for(let Fd=0;Fd<this.parts.length;Fd++)jd.push(Nd(this.parts[Fd].toString(16),4));return jd}).call(this).join(":");let Gd="";return this.zoneId&&(Gd=`%${this.zoneId}`),Ld+Gd},kd.prototype.toIPv4Address=function(){if(!this.isIPv4MappedAddress())throw new Error("ipaddr: trying to convert a generic ipv6 address to ipv4");const Ld=this.parts.slice(-2),Gd=Ld[0],jd=Ld[1];return new Od.IPv4([Gd>>8,Gd&255,jd>>8,jd&255])},kd.prototype.toNormalizedString=function(){const Ld=(function(){const jd=[];for(let Fd=0;Fd<this.parts.length;Fd++)jd.push(this.parts[Fd].toString(16));return jd}).call(this).join(":");let Gd="";return this.zoneId&&(Gd=`%${this.zoneId}`),Ld+Gd},kd.prototype.toRFC5952String=function(){const Ld=/((^|:)(0(:|$)){2,})/g,Gd=this.toNormalizedString();let jd=0,Fd=-1,Ud;for(;Ud=Ld.exec(Gd);)Ud[0].length>Fd&&(jd=Ud.index,Fd=Ud[0].length);return Fd<0?Gd:`${Gd.substring(0,jd)}::${Gd.substring(jd+Fd)}`},kd.prototype.toString=function(){return this.toRFC5952String()},kd}(),Od.IPv6.broadcastAddressFromCIDR=function(kd){try{const Ld=this.parseCIDR(kd),Gd=Ld[0].toByteArray(),jd=this.subnetMaskFromPrefixLength(Ld[1]).toByteArray(),Fd=[];let Ud=0;for(;Ud<16;)Fd.push(parseInt(Gd[Ud],10)|parseInt(jd[Ud],10)^255),Ud++;return new this(Fd)}catch(Ld){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${Ld})`)}},Od.IPv6.isIPv6=function(kd){return this.parser(kd)!==null},Od.IPv6.isValid=function(kd){if(typeof kd=="string"&&kd.indexOf(":")===-1)return!1;try{const Ld=this.parser(kd);return new this(Ld.parts,Ld.zoneId),!0}catch{return!1}},Od.IPv6.isValidCIDR=function(kd){if(typeof kd=="string"&&kd.indexOf(":")===-1)return!1;try{return this.parseCIDR(kd),!0}catch{return!1}},Od.IPv6.networkAddressFromCIDR=function(kd){let Ld,Gd,jd,Fd,Ud;try{for(Ld=this.parseCIDR(kd),jd=Ld[0].toByteArray(),Ud=this.subnetMaskFromPrefixLength(Ld[1]).toByteArray(),Fd=[],Gd=0;Gd<16;)Fd.push(parseInt(jd[Gd],10)&parseInt(Ud[Gd],10)),Gd++;return new this(Fd)}catch(qd){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${qd})`)}},Od.IPv6.parse=function(kd){const Ld=this.parser(kd);if(Ld.parts===null)throw new Error("ipaddr: string is not formatted like an IPv6 Address");return new this(Ld.parts,Ld.zoneId)},Od.IPv6.parseCIDR=function(kd){let Ld,Gd,jd;if((Gd=kd.match(/^(.+)\/(\d+)$/))&&(Ld=parseInt(Gd[2]),Ld>=0&&Ld<=128))return jd=[this.parse(Gd[1]),Ld],Object.defineProperty(jd,"toString",{value:function(){return this.join("/")}}),jd;throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range")},Od.IPv6.parser=function(kd){let Ld,Gd,jd,Fd,Ud,qd;if(jd=kd.match(fd.deprecatedTransitional))return this.parser(`::ffff:${jd[1]}`);if(fd.native.test(kd))return md(kd,8);if((jd=kd.match(fd.transitional))&&(qd=jd[6]||"",Ld=jd[1],jd[1].endsWith("::")||(Ld=Ld.slice(0,-1)),Ld=md(Ld+qd,6),Ld.parts)){for(Ud=[parseInt(jd[2]),parseInt(jd[3]),parseInt(jd[4]),parseInt(jd[5])],Gd=0;Gd<Ud.length;Gd++)if(Fd=Ud[Gd],!(0<=Fd&&Fd<=255))return null;return Ld.parts.push(Ud[0]<<8|Ud[1]),Ld.parts.push(Ud[2]<<8|Ud[3]),{parts:Ld.parts,zoneId:Ld.zoneId}}return null},Od.IPv6.subnetMaskFromPrefixLength=function(kd){if(kd=parseInt(kd),kd<0||kd>128)throw new Error("ipaddr: invalid IPv6 prefix length");const Ld=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];let Gd=0;const jd=Math.floor(kd/8);for(;Gd<jd;)Ld[Gd]=255,Gd++;return jd<16&&(Ld[jd]=Math.pow(2,kd%8)-1<<8-kd%8),new this(Ld)},Od.fromByteArray=function(kd){const Ld=kd.length;if(Ld===4)return new Od.IPv4(kd);if(Ld===16)return new Od.IPv6(kd);throw new Error("ipaddr: the binary input is neither an IPv6 nor IPv4 address")},Od.isValid=function(kd){return Od.IPv6.isValid(kd)||Od.IPv4.isValid(kd)},Od.isValidCIDR=function(kd){return Od.IPv6.isValidCIDR(kd)||Od.IPv4.isValidCIDR(kd)},Od.parse=function(kd){if(Od.IPv6.isValid(kd))return Od.IPv6.parse(kd);if(Od.IPv4.isValid(kd))return Od.IPv4.parse(kd);throw new Error("ipaddr: the address has neither IPv6 nor IPv4 format")},Od.parseCIDR=function(kd){try{return Od.IPv6.parseCIDR(kd)}catch{try{return Od.IPv4.parseCIDR(kd)}catch{throw new Error("ipaddr: the address has neither IPv6 nor IPv4 CIDR format")}}},Od.process=function(kd){const Ld=this.parse(kd);return Ld.kind()==="ipv6"&&Ld.isIPv4MappedAddress()?Ld.toIPv4Address():Ld},Od.subnetMatch=function(kd,Ld,Gd){let jd,Fd,Ud,qd;Gd==null&&(Gd="unicast");for(Fd in Ld)if(Object.prototype.hasOwnProperty.call(Ld,Fd)){for(Ud=Ld[Fd],Ud[0]&&!(Ud[0]instanceof Array)&&(Ud=[Ud]),jd=0;jd<Ud.length;jd++)if(qd=Ud[jd],kd.kind()===qd[0].kind()&&kd.match.apply(kd,qd))return Fd}return Gd},Ra.exports?Ra.exports=Od:qa.ipaddr=Od})(commonjsGlobal)})(ipaddr$1);var ipaddrExports=ipaddr$1.exports;const ipaddr=getDefaultExportFromCjs(ipaddrExports);var mimeTypes$1={};const require$$0={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}};/*!
* mime-db
* Copyright(c) 2014 Jonathan Ong
* Copyright(c) 2015-2022 Douglas Christopher Wilson
* MIT Licensed
*/var mimeDb=require$$0;/*!
* mime-types
* Copyright(c) 2014 Jonathan Ong
* Copyright(c) 2015 Douglas Christopher Wilson
* MIT Licensed
*/(function(Ra){var qa=mimeDb,nd=pathBrowserify.extname,od=/^\s*([^;\s]*)(?:;|\s|$)/,ld=/^text\//i;Ra.charset=ud,Ra.charsets={lookup:ud},Ra.contentType=dd,Ra.extension=pd,Ra.extensions=Object.create(null),Ra.lookup=fd,Ra.types=Object.create(null),md(Ra.extensions,Ra.types);function ud(vd){if(!vd||typeof vd!="string")return!1;var Ad=od.exec(vd),Nd=Ad&&qa[Ad[1].toLowerCase()];return Nd&&Nd.charset?Nd.charset:Ad&&ld.test(Ad[1])?"UTF-8":!1}function dd(vd){if(!vd||typeof vd!="string")return!1;var Ad=vd.indexOf("/")===-1?Ra.lookup(vd):vd;if(!Ad)return!1;if(Ad.indexOf("charset")===-1){var Nd=Ra.charset(Ad);Nd&&(Ad+="; charset="+Nd.toLowerCase())}return Ad}function pd(vd){if(!vd||typeof vd!="string")return!1;var Ad=od.exec(vd),Nd=Ad&&Ra.extensions[Ad[1].toLowerCase()];return!Nd||!Nd.length?!1:Nd[0]}function fd(vd){if(!vd||typeof vd!="string")return!1;var Ad=nd("x."+vd).toLowerCase().substr(1);return Ad&&Ra.types[Ad]||!1}function md(vd,Ad){var Nd=["nginx","apache",void 0,"iana"];Object.keys(qa).forEach(function(kd){var Ld=qa[kd],Gd=Ld.extensions;if(!(!Gd||!Gd.length)){vd[kd]=Gd;for(var jd=0;jd<Gd.length;jd++){var Fd=Gd[jd];if(Ad[Fd]){var Ud=Nd.indexOf(qa[Ad[Fd]].source),qd=Nd.indexOf(Ld.source);if(Ad[Fd]!=="application/octet-stream"&&(Ud>qd||Ud===qd&&Ad[Fd].substr(0,12)==="application/"))continue}Ad[Fd]=kd}}})}})(mimeTypes$1);let ENCRYPTION_TYPES=function(Ra){return Ra.SSEC="SSE-C",Ra.KMS="KMS",Ra}({}),RETENTION_MODES=function(Ra){return Ra.GOVERNANCE="GOVERNANCE",Ra.COMPLIANCE="COMPLIANCE",Ra}({}),RETENTION_VALIDITY_UNITS=function(Ra){return Ra.DAYS="Days",Ra.YEARS="Years",Ra}({}),LEGAL_HOLD_STATUS=function(Ra){return Ra.ENABLED="ON",Ra.DISABLED="OFF",Ra}({});const MetaDataHeaderPrefix="x-amz-meta-";function uriEscape(Ra){return Ra.split("").reduce((qa,nd)=>{const od=Buffer$4.from(nd);if(od.length===1&&("A"<=nd&&nd<="Z"||"a"<=nd&&nd<="z"||"0"<=nd&&nd<="9"||nd==="_"||nd==="."||nd==="~"||nd==="-"))return qa=qa+nd,qa;for(const ld of od)qa=qa+"%"+ld.toString(16).toUpperCase();return qa},"")}function uriResourceEscape(Ra){return uriEscape(Ra).replace(/%2F/g,"/")}function getScope(Ra,qa,nd="s3"){return`${makeDateShort(qa)}/${Ra}/${nd}/aws4_request`}function isAmazonEndpoint(Ra){return Ra==="s3.amazonaws.com"||Ra==="s3.cn-north-1.amazonaws.com.cn"}function isVirtualHostStyle(Ra,qa,nd,od){return qa==="https:"&&nd.includes(".")?!1:isAmazonEndpoint(Ra)||!od}function isValidIP(Ra){return ipaddr.isValid(Ra)}function isValidEndpoint(Ra){return isValidDomain(Ra)||isValidIP(Ra)}function isValidDomain(Ra){if(!isString(Ra)||Ra.length===0||Ra.length>255||Ra[0]==="-"||Ra.slice(-1)==="-"||Ra[0]==="_"||Ra.slice(-1)==="_"||Ra[0]===".")return!1;const qa="`~!@#$%^&*()+={}[]|\\\"';:><?/";for(const nd of qa)if(Ra.includes(nd))return!1;return!0}function probeContentType(Ra){let qa=mimeTypes$1.lookup(Ra);return qa||(qa="application/octet-stream"),qa}function isValidPort(Ra){return isNumber(Ra)?0<=Ra&&Ra<=65535:!1}function isValidBucketName(Ra){return!isString(Ra)||Ra.length<3||Ra.length>63||Ra.includes("..")||/[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/.test(Ra)?!1:!!/^[a-z0-9][a-z0-9.-]+[a-z0-9]$/.test(Ra)}function isValidObjectName(Ra){return isValidPrefix(Ra)?Ra.length!==0:!1}function isValidPrefix(Ra){return!(!isString(Ra)||Ra.length>1024)}function isNumber(Ra){return typeof Ra=="number"}function isFunction(Ra){return typeof Ra=="function"}function isString(Ra){return typeof Ra=="string"}function isObject(Ra){return typeof Ra=="object"&&Ra!==null}function isReadableStream(Ra){return isObject(Ra)&&isFunction(Ra._read)}function isBoolean(Ra){return typeof Ra=="boolean"}function isEmpty(Ra){return _.isEmpty(Ra)}function isEmptyObject(Ra){return Object.values(Ra).filter(qa=>qa!==void 0).length!==0}function isDefined(Ra){return Ra!=null}function isValidDate(Ra){return Ra instanceof Date&&!isNaN(Ra)}function makeDateLong(Ra){Ra=Ra||new Date;const qa=Ra.toISOString();return qa.slice(0,4)+qa.slice(5,7)+qa.slice(8,13)+qa.slice(14,16)+qa.slice(17,19)+"Z"}function makeDateShort(Ra){Ra=Ra||new Date;const qa=Ra.toISOString();return qa.slice(0,4)+qa.slice(5,7)+qa.slice(8,10)}function pipesetup(...Ra){return Ra.reduce((qa,nd)=>(qa.on("error",od=>nd.emit("error",od)),qa.pipe(nd)))}function readableStream(Ra){const qa=new streamBrowserify.Readable;return qa._read=()=>{},qa.push(Ra),qa.push(null),qa}function insertContentType(Ra,qa){for(const nd in Ra)if(nd.toLowerCase()==="content-type")return Ra;return{...Ra,"content-type":probeContentType(qa)}}function prependXAMZMeta(Ra){return Ra?_.mapKeys(Ra,(qa,nd)=>isAmzHeader(nd)||isSupportedHeader(nd)||isStorageClassHeader(nd)?nd:MetaDataHeaderPrefix+nd):{}}function isAmzHeader(Ra){const qa=Ra.toLowerCase();return qa.startsWith(MetaDataHeaderPrefix)||qa==="x-amz-acl"||qa.startsWith("x-amz-server-side-encryption-")||qa==="x-amz-server-side-encryption"}function isSupportedHeader(Ra){return["content-type","cache-control","content-encoding","content-disposition","content-language","x-amz-website-redirect-location"].includes(Ra.toLowerCase())}function isStorageClassHeader(Ra){return Ra.toLowerCase()==="x-amz-storage-class"}function extractMetadata(Ra){return _.mapKeys(_.pickBy(Ra,(qa,nd)=>isSupportedHeader(nd)||isStorageClassHeader(nd)||isAmzHeader(nd)),(qa,nd)=>{const od=nd.toLowerCase();return od.startsWith(MetaDataHeaderPrefix)?od.slice(MetaDataHeaderPrefix.length):nd})}function getVersionId(Ra={}){return Ra["x-amz-version-id"]||null}function getSourceVersionId(Ra={}){return Ra["x-amz-copy-source-version-id"]||null}function sanitizeETag(Ra=""){const qa={'"':"","&quot;":"","&#34;":"","&QUOT;":"","&#x00022":""};return Ra.replace(/^("|&quot;|&#34;)|("|&quot;|&#34;)$/g,nd=>qa[nd])}function toMd5(Ra){return(void 0)("md5").update(Buffer$4.from(Ra)).digest().toString("base64")}function toSha256(Ra){return(void 0)("sha256").update(Ra).digest("hex")}function toArray(Ra){return Array.isArray(Ra)?Ra:[Ra]}function sanitizeObjectKey(Ra){const qa=(Ra?Ra.toString():"").replace(/\+/g," ");return decodeURIComponent(qa)}function sanitizeSize(Ra){return Ra?Number.parseInt(Ra):void 0}const PART_CONSTRAINTS={ABS_MIN_PART_SIZE:1024*1024*5,MIN_PART_SIZE:1024*1024*16,MAX_PARTS_COUNT:1e4,MAX_PART_SIZE:1024*1024*1024*5,MAX_SINGLE_PUT_OBJECT_SIZE:1024*1024*1024*5,MAX_MULTIPART_PUT_OBJECT_SIZE:1024*1024*1024*1024*5},GENERIC_SSE_HEADER="X-Amz-Server-Side-Encryption",ENCRYPTION_HEADERS={sseGenericHeader:GENERIC_SSE_HEADER,sseKmsKeyID:GENERIC_SSE_HEADER+"-Aws-Kms-Key-Id"};function getEncryptionHeaders(Ra){const qa=Ra.type;if(!isEmpty(qa)){if(qa===ENCRYPTION_TYPES.SSEC)return{[ENCRYPTION_HEADERS.sseGenericHeader]:"AES256"};if(qa===ENCRYPTION_TYPES.KMS)return{[ENCRYPTION_HEADERS.sseGenericHeader]:Ra.SSEAlgorithm,[ENCRYPTION_HEADERS.sseKmsKeyID]:Ra.KMSMasterKeyID}}return{}}function partsRequired(Ra){const qa=PART_CONSTRAINTS.MAX_MULTIPART_PUT_OBJECT_SIZE/(PART_CONSTRAINTS.MAX_PARTS_COUNT-1);let nd=Ra/qa;return Ra%qa>0&&nd++,nd=Math.trunc(nd),nd}function calculateEvenSplits(Ra,qa){if(Ra===0)return null;const nd=partsRequired(Ra),od=[],ld=[];let ud=qa.Start;(isEmpty(ud)||ud===-1)&&(ud=0);const dd=Math.trunc(Ra/nd),pd=Ra%nd;let fd=ud;for(let md=0;md<nd;md++){let vd=dd;md<pd&&vd++;const Ad=fd,Nd=Ad+vd-1;fd=Nd+1,od.push(Ad),ld.push(Nd)}return{startIndex:od,endIndex:ld,objInfo:qa}}const fxp$1=new fxp$2.XMLParser;function parseXml(Ra){const qa=fxp$1.parse(Ra);if(qa.Error)throw qa.Error;return qa}const DEFAULT_REGION="us-east-1";class CopySourceOptions{constructor({Bucket:qa,Object:nd,VersionID:od="",MatchETag:ld="",NoMatchETag:ud="",MatchModifiedSince:dd=null,MatchUnmodifiedSince:pd=null,MatchRange:fd=!1,Start:md=0,End:vd=0,Encryption:Ad=void 0}){this.Bucket=qa,this.Object=nd,this.VersionID=od,this.MatchETag=ld,this.NoMatchETag=ud,this.MatchModifiedSince=dd,this.MatchUnmodifiedSince=pd,this.MatchRange=fd,this.Start=md,this.End=vd,this.Encryption=Ad}validate(){if(!isValidBucketName(this.Bucket))throw new InvalidBucketNameError("Invalid Source bucket name: "+this.Bucket);if(!isValidObjectName(this.Object))throw new InvalidObjectNameError(`Invalid Source object name: ${this.Object}`);if(this.MatchRange&&this.Start!==-1&&this.End!==-1&&this.Start>this.End||this.Start<0)throw new InvalidObjectNameError("Source start must be non-negative, and start must be at most end.");if(this.MatchRange&&!isNumber(this.Start)||!isNumber(this.End))throw new InvalidObjectNameError("MatchRange is specified. But Invalid Start and End values are specified.");return!0}getHeaders(){const qa={};return qa["x-amz-copy-source"]=encodeURI(this.Bucket+"/"+this.Object),isEmpty(this.VersionID)||(qa["x-amz-copy-source"]=`${encodeURI(this.Bucket+"/"+this.Object)}?versionId=${this.VersionID}`),isEmpty(this.MatchETag)||(qa["x-amz-copy-source-if-match"]=this.MatchETag),isEmpty(this.NoMatchETag)||(qa["x-amz-copy-source-if-none-match"]=this.NoMatchETag),isEmpty(this.MatchModifiedSince)||(qa["x-amz-copy-source-if-modified-since"]=this.MatchModifiedSince),isEmpty(this.MatchUnmodifiedSince)||(qa["x-amz-copy-source-if-unmodified-since"]=this.MatchUnmodifiedSince),qa}}class CopyDestinationOptions{constructor({Bucket:qa,Object:nd,Encryption:od,UserMetadata:ld,UserTags:ud,LegalHold:dd,RetainUntilDate:pd,Mode:fd,MetadataDirective:md}){this.Bucket=qa,this.Object=nd,this.Encryption=od??void 0,this.UserMetadata=ld,this.UserTags=ud,this.LegalHold=dd,this.Mode=fd,this.RetainUntilDate=pd,this.MetadataDirective=md}getHeaders(){const qa="REPLACE",nd={},od=this.UserTags;if(isEmpty(od)||(nd["X-Amz-Tagging-Directive"]=qa,nd["X-Amz-Tagging"]=isObject(od)?queryString.stringify(od):isString(od)?od:""),this.Mode&&(nd["X-Amz-Object-Lock-Mode"]=this.Mode),this.RetainUntilDate&&(nd["X-Amz-Object-Lock-Retain-Until-Date"]=this.RetainUntilDate),this.LegalHold&&(nd["X-Amz-Object-Lock-Legal-Hold"]=this.LegalHold),this.UserMetadata)for(const[ld,ud]of Object.entries(this.UserMetadata))nd[`X-Amz-Meta-${ld}`]=ud.toString();if(this.MetadataDirective&&(nd["X-Amz-Metadata-Directive"]=this.MetadataDirective),this.Encryption){const ld=getEncryptionHeaders(this.Encryption);for(const[ud,dd]of Object.entries(ld))nd[ud]=dd}return nd}validate(){if(!isValidBucketName(this.Bucket))throw new InvalidBucketNameError("Invalid Destination bucket name: "+this.Bucket);if(!isValidObjectName(this.Object))throw new InvalidObjectNameError(`Invalid Destination object name: ${this.Object}`);if(!isEmpty(this.UserMetadata)&&!isObject(this.UserMetadata))throw new InvalidObjectNameError("Destination UserMetadata should be an object with key value pairs");if(!isEmpty(this.Mode)&&![RETENTION_MODES.GOVERNANCE,RETENTION_MODES.COMPLIANCE].includes(this.Mode))throw new InvalidObjectNameError("Invalid Mode specified for destination object it should be one of [GOVERNANCE,COMPLIANCE]");if(this.Encryption!==void 0&&isEmptyObject(this.Encryption))throw new InvalidObjectNameError("Invalid Encryption configuration for destination object ");return!0}}class SelectResults{constructor({records:qa,response:nd,stats:od,progress:ld}){this.records=qa,this.response=nd,this.stats=od,this.progress=ld}setStats(qa){this.stats=qa}getStats(){return this.stats}setProgress(qa){this.progress=qa}getProgress(){return this.progress}setResponse(qa){this.response=qa}getResponse(){return this.response}setRecords(qa){this.records=qa}getRecords(){return this.records}}function callbackify(Ra){return function(){const qa=[...arguments],nd=qa.pop();return typeof nd=="function"?Ra.apply(this,qa).then(od=>nd(null,od),od=>nd(od)):Ra.apply(this,arguments)}}var lib$1={},define_process_default$3={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_1164a745-b3dc-4b9f-a9be-9609c1b3622a",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_1164a745-b3dc-4b9f-a9be-9609c1b3622a",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250105.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7633",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12854182433",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_eb6908e4-3cff-452d-a339-25146be9740f",INVOCATION_ID:"049b7125072941398f5d27a5cb59ad7a",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"493",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 18",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_1164a745-b3dc-4b9f-a9be-9609c1b3622a",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_1164a745-b3dc-4b9f-a9be-9609c1b3622a",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_1164a745-b3dc-4b9f-a9be-9609c1b3622a",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2166,ppid:2165,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};Object.defineProperty(lib$1,"__esModule",{value:!0});var _typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ra){return typeof Ra}:function(Ra){return Ra&&typeof Symbol=="function"&&Ra.constructor===Symbol&&Ra!==Symbol.prototype?"symbol":typeof Ra},isBrowser=typeof window<"u"&&typeof window.document<"u",isNode=typeof define_process_default$3<"u"&&define_process_default$3.versions!=null&&define_process_default$3.versions.node!=null,isWebWorker=(typeof self>"u"?"undefined":_typeof(self))==="object"&&self.constructor&&self.constructor.name==="DedicatedWorkerGlobalScope",isJsDom=typeof window<"u"&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),isDeno=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",isBrowser_1=lib$1.isBrowser=isBrowser;lib$1.isWebWorker=isWebWorker;lib$1.isNode=isNode;lib$1.isJsDom=isJsDom;lib$1.isDeno=isDeno;class Credentials{constructor({accessKey:qa,secretKey:nd,sessionToken:od}){this.accessKey=qa,this.secretKey=nd,this.sessionToken=od}setAccessKey(qa){this.accessKey=qa}getAccessKey(){return this.accessKey}setSecretKey(qa){this.secretKey=qa}getSecretKey(){return this.secretKey}setSessionToken(qa){this.sessionToken=qa}getSessionToken(){return this.sessionToken}get(){return this}}class CredentialProvider{constructor({accessKey:qa,secretKey:nd,sessionToken:od}){this.credentials=new Credentials({accessKey:qa,secretKey:nd,sessionToken:od})}async getCredentials(){return this.credentials.get()}setCredentials(qa){if(qa instanceof Credentials)this.credentials=qa;else throw new Error("Unable to set Credentials. it should be an instance of Credentials class")}setAccessKey(qa){this.credentials.setAccessKey(qa)}getAccessKey(){return this.credentials.getAccessKey()}setSecretKey(qa){this.credentials.setSecretKey(qa)}getSecretKey(){return this.credentials.getSecretKey()}setSessionToken(qa){this.credentials.setSessionToken(qa)}getSessionToken(){return this.credentials.getSessionToken()}}const signV4Algorithm="AWS4-HMAC-SHA256";function getCanonicalRequest(Ra,qa,nd,od,ld){if(!isString(Ra))throw new TypeError('method should be of type "string"');if(!isString(qa))throw new TypeError('path should be of type "string"');if(!isObject(nd))throw new TypeError('headers should be of type "object"');if(!Array.isArray(od))throw new TypeError('signedHeaders should be of type "array"');if(!isString(ld))throw new TypeError('hashedPayload should be of type "string"');const ud=od.reduce((fd,md)=>{const vd=`${nd[md]}`.replace(/ +/g," ");return fd.push(`${md.toLowerCase()}:${vd}`),fd},[]),dd=qa.split("?")[0];let pd=qa.split("?")[1];return pd||(pd=""),pd&&(pd=pd.split("&").sort().map(fd=>fd.includes("=")?fd:fd+"=").join("&")),[Ra.toUpperCase(),dd,pd,ud.join(`
`)+`
`,od.join(";").toLowerCase(),ld].join(`
`)}function getCredential(Ra,qa,nd,od="s3"){if(!isString(Ra))throw new TypeError('accessKey should be of type "string"');if(!isString(qa))throw new TypeError('region should be of type "string"');if(!isObject(nd))throw new TypeError('requestDate should be of type "object"');return`${Ra}/${getScope(qa,nd,od)}`}function getSignedHeaders(Ra){if(!isObject(Ra))throw new TypeError('request should be of type "object"');const qa=["authorization","content-length","content-type","user-agent"];return Object.keys(Ra).filter(nd=>!qa.includes(nd)).sort()}function getSigningKey(Ra,qa,nd,od="s3"){if(!isObject(Ra))throw new TypeError('date should be of type "object"');if(!isString(qa))throw new TypeError('region should be of type "string"');if(!isString(nd))throw new TypeError('secretKey should be of type "string"');const ld=makeDateShort(Ra);return(void 0)("sha256",(void 0)("sha256",(void 0)("sha256",(void 0)("sha256","AWS4"+nd).update(ld).digest()).update(qa).digest()).update(od).digest()).update("aws4_request").digest()}function getStringToSign(Ra,qa,nd,od="s3"){if(!isString(Ra))throw new TypeError('canonicalRequest should be of type "string"');if(!isObject(qa))throw new TypeError('requestDate should be of type "object"');if(!isString(nd))throw new TypeError('region should be of type "string"');const ld=(void 0)("sha256").update(Ra).digest("hex"),ud=getScope(nd,qa,od);return[signV4Algorithm,makeDateLong(qa),ud,ld].join(`
`)}function postPresignSignatureV4(Ra,qa,nd,od){if(!isString(Ra))throw new TypeError('region should be of type "string"');if(!isObject(qa))throw new TypeError('date should be of type "object"');if(!isString(nd))throw new TypeError('secretKey should be of type "string"');if(!isString(od))throw new TypeError('policyBase64 should be of type "string"');return(void 0)("sha256",getSigningKey(qa,Ra,nd)).update(od).digest("hex").toLowerCase()}function signV4(Ra,qa,nd,od,ld,ud,dd="s3"){if(!isObject(Ra))throw new TypeError('request should be of type "object"');if(!isString(qa))throw new TypeError('accessKey should be of type "string"');if(!isString(nd))throw new TypeError('secretKey should be of type "string"');if(!isString(od))throw new TypeError('region should be of type "string"');if(!qa)throw new AccessKeyRequiredError("accessKey is required for signing");if(!nd)throw new SecretKeyRequiredError("secretKey is required for signing");const pd=getSignedHeaders(Ra.headers),fd=getCanonicalRequest(Ra.method,Ra.path,Ra.headers,pd,ud),md=dd||"s3",vd=getStringToSign(fd,ld,od,md),Ad=getSigningKey(ld,od,nd,md),Nd=getCredential(qa,od,ld,md),Od=(void 0)("sha256",Ad).update(vd).digest("hex").toLowerCase();return`${signV4Algorithm} Credential=${Nd}, SignedHeaders=${pd.join(";").toLowerCase()}, Signature=${Od}`}function presignSignatureV4(Ra,qa,nd,od,ld,ud,dd){if(!isObject(Ra))throw new TypeError('request should be of type "object"');if(!isString(qa))throw new TypeError('accessKey should be of type "string"');if(!isString(nd))throw new TypeError('secretKey should be of type "string"');if(!isString(ld))throw new TypeError('region should be of type "string"');if(!qa)throw new AccessKeyRequiredError("accessKey is required for presigning");if(!nd)throw new SecretKeyRequiredError("secretKey is required for presigning");if(!isNumber(dd))throw new TypeError('expires should be of type "number"');if(dd<1)throw new ExpiresParamError("expires param cannot be less than 1 seconds");if(dd>604800)throw new ExpiresParamError("expires param cannot be greater than 7 days");const pd=makeDateLong(ud),fd=getSignedHeaders(Ra.headers),md=getCredential(qa,ld,ud),vd="UNSIGNED-PAYLOAD",Ad=[];Ad.push(`X-Amz-Algorithm=${signV4Algorithm}`),Ad.push(`X-Amz-Credential=${uriEscape(md)}`),Ad.push(`X-Amz-Date=${pd}`),Ad.push(`X-Amz-Expires=${dd}`),Ad.push(`X-Amz-SignedHeaders=${uriEscape(fd.join(";").toLowerCase())}`),od&&Ad.push(`X-Amz-Security-Token=${uriEscape(od)}`);const Nd=Ra.path.split("?")[0];let Od=Ra.path.split("?")[1];Od?Od=Od+"&"+Ad.join("&"):Od=Ad.join("&");const kd=Nd+"?"+Od,Ld=getCanonicalRequest(Ra.method,kd,Ra.headers,fd,vd),Gd=getStringToSign(Ld,ud,ld),Fd=(void 0)("sha256",getSigningKey(ud,ld,nd)).update(Gd).digest("hex").toLowerCase();return Ra.protocol+"//"+Ra.headers.host+kd+`&X-Amz-Signature=${Fd}`}async function readAsBuffer(Ra){return new Promise((qa,nd)=>{const od=[];Ra.on("data",ld=>od.push(ld)).on("error",ld=>nd(ld)).on("end",()=>qa(Buffer$4.concat(od)))})}async function readAsString(Ra){return(await readAsBuffer(Ra)).toString()}async function drainResponse(Ra){return new Promise((qa,nd)=>{Ra.on("data",()=>{}).on("error",od=>nd(od)).on("end",()=>qa())})}function parseBucketRegion(Ra){return parseXml(Ra).LocationConstraint}const fxp=new fxp$2.XMLParser;function parseError(Ra,qa){let nd={};const od=fxp.parse(Ra);od.Error&&(nd=od.Error);const ld=new S3Error;return Object.entries(nd).forEach(([ud,dd])=>{ld[ud.toLowerCase()]=dd}),Object.entries(qa).forEach(([ud,dd])=>{ld[ud]=dd}),ld}async function parseResponseError(Ra){const qa=Ra.statusCode;let nd,od;qa===301?(nd="MovedPermanently",od="Moved Permanently"):qa===307?(nd="TemporaryRedirect",od="Are you using the correct endpoint URL?"):qa===403?(nd="AccessDenied",od="Valid and authorized credentials required"):qa===404?(nd="NotFound",od="Not Found"):qa===405||qa===501?(nd="MethodNotAllowed",od="Method Not Allowed"):(nd="UnknownError",od=`${qa}`);const ld={};ld.amzRequestid=Ra.headers["x-amz-request-id"],ld.amzId2=Ra.headers["x-amz-id-2"],ld.amzBucketRegion=Ra.headers["x-amz-bucket-region"];const ud=await readAsString(Ra);if(ud)throw parseError(ud,ld);const dd=new S3Error(od,{cause:ld});throw dd.code=nd,Object.entries(ld).forEach(([pd,fd])=>{dd[pd]=fd}),dd}function parseListObjectsV2WithMetadata(Ra){const qa={objects:[],isTruncated:!1,nextContinuationToken:""};let nd=parseXml(Ra);if(!nd.ListBucketResult)throw new InvalidXMLError('Missing tag: "ListBucketResult"');return nd=nd.ListBucketResult,nd.IsTruncated&&(qa.isTruncated=nd.IsTruncated),nd.NextContinuationToken&&(qa.nextContinuationToken=nd.NextContinuationToken),nd.Contents&&toArray(nd.Contents).forEach(od=>{const ld=sanitizeObjectKey(od.Key),ud=new Date(od.LastModified),dd=sanitizeETag(od.ETag),pd=od.Size;let fd;od.UserMetadata!=null?fd=toArray(od.UserMetadata)[0]:fd=null,qa.objects.push({name:ld,lastModified:ud,etag:dd,size:pd,metadata:fd})}),nd.CommonPrefixes&&toArray(nd.CommonPrefixes).forEach(od=>{qa.objects.push({prefix:sanitizeObjectKey(toArray(od.Prefix)[0]),size:0})}),qa}function parseListParts(Ra){let qa=parseXml(Ra);const nd={isTruncated:!1,parts:[],marker:0};if(!qa.ListPartsResult)throw new InvalidXMLError('Missing tag: "ListPartsResult"');return qa=qa.ListPartsResult,qa.IsTruncated&&(nd.isTruncated=qa.IsTruncated),qa.NextPartNumberMarker&&(nd.marker=toArray(qa.NextPartNumberMarker)[0]||""),qa.Part&&toArray(qa.Part).forEach(od=>{const ld=parseInt(toArray(od.PartNumber)[0],10),ud=new Date(od.LastModified),dd=od.ETag.replace(/^"/g,"").replace(/"$/g,"").replace(/^&quot;/g,"").replace(/&quot;$/g,"").replace(/^&#34;/g,"").replace(/&#34;$/g,"");nd.parts.push({part:ld,lastModified:ud,etag:dd,size:parseInt(od.Size,10)})}),nd}function parseListBucket(Ra){let qa=[];const nd=parseXml(Ra);if(!nd.ListAllMyBucketsResult)throw new InvalidXMLError('Missing tag: "ListAllMyBucketsResult"');const{ListAllMyBucketsResult:{Buckets:od={}}={}}=nd;return od.Bucket&&(qa=toArray(od.Bucket).map((ld={})=>{const{Name:ud,CreationDate:dd}=ld,pd=new Date(dd);return{name:ud,creationDate:pd}})),qa}function parseInitiateMultipart(Ra){let qa=parseXml(Ra);if(!qa.InitiateMultipartUploadResult)throw new InvalidXMLError('Missing tag: "InitiateMultipartUploadResult"');if(qa=qa.InitiateMultipartUploadResult,qa.UploadId)return qa.UploadId;throw new InvalidXMLError('Missing tag: "UploadId"')}function parseReplicationConfig(Ra){const qa=parseXml(Ra),{Role:nd,Rule:od}=qa.ReplicationConfiguration;return{ReplicationConfiguration:{role:nd,rules:toArray(od)}}}class Extensions{constructor(qa){this.client=qa}listObjectsV2WithMetadata(qa,nd,od,ld){if(nd===void 0&&(nd=""),od===void 0&&(od=!1),ld===void 0&&(ld=""),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidPrefix(nd))throw new InvalidPrefixError(`Invalid prefix : ${nd}`);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isBoolean(od))throw new TypeError('recursive should be of type "boolean"');if(!isString(ld))throw new TypeError('startAfter should be of type "string"');const ud=od?"":"/";return streamBrowserify.Readable.from(this.listObjectsV2WithMetadataGen(qa,nd,ud,ld),{objectMode:!0})}async*listObjectsV2WithMetadataGen(qa,nd,od,ld){let ud=!1,dd="";do{const pd=await this.listObjectsV2WithMetadataQuery(qa,nd,dd,od,ld);ud=!pd.isTruncated,dd=pd.nextContinuationToken;for(const fd of pd.objects)yield fd}while(!ud)}async listObjectsV2WithMetadataQuery(qa,nd,od,ld,ud){const dd=[];dd.push("list-type=2"),dd.push("encoding-type=url"),dd.push(`prefix=${uriEscape(nd)}`),dd.push(`delimiter=${uriEscape(ld)}`),dd.push("metadata=true"),od&&(od=uriEscape(od),dd.push(`continuation-token=${od}`)),ud&&(ud=uriEscape(ud),dd.push(`start-after=${ud}`)),dd.push("max-keys=1000"),dd.sort();let pd="";dd.length>0&&(pd=`${dd.join("&")}`);const md=await this.client.makeRequestAsync({method:"GET",bucketName:qa,query:pd});return parseListObjectsV2WithMetadata(await readAsString(md))}}async function request$1(Ra,qa,nd=null){return new Promise((od,ld)=>{const ud=Ra.request(qa,dd=>{od(dd)});if(!nd||Buffer$4.isBuffer(nd)||typeof nd=="string"){ud.on("error",dd=>{ld(dd)}).end(nd);return}streamBrowserify.pipeline(nd,ud,dd=>{dd&&ld(dd)})})}const awsS3Endpoint={"us-east-1":"s3.amazonaws.com","us-east-2":"s3-us-east-2.amazonaws.com","us-west-1":"s3-us-west-1.amazonaws.com","us-west-2":"s3-us-west-2.amazonaws.com","ca-central-1":"s3.ca-central-1.amazonaws.com","eu-west-1":"s3-eu-west-1.amazonaws.com","eu-west-2":"s3-eu-west-2.amazonaws.com","sa-east-1":"s3-sa-east-1.amazonaws.com","eu-central-1":"s3-eu-central-1.amazonaws.com","ap-south-1":"s3-ap-south-1.amazonaws.com","ap-southeast-1":"s3-ap-southeast-1.amazonaws.com","ap-southeast-2":"s3-ap-southeast-2.amazonaws.com","ap-northeast-1":"s3-ap-northeast-1.amazonaws.com","cn-north-1":"s3.cn-north-1.amazonaws.com.cn","ap-east-1":"s3.ap-east-1.amazonaws.com","eu-north-1":"s3.eu-north-1.amazonaws.com"};function getS3Endpoint(Ra){if(!isString(Ra))throw new TypeError(`Invalid region: ${Ra}`);const qa=awsS3Endpoint[Ra];return qa||"s3.amazonaws.com"}var define_process_default$2={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_1164a745-b3dc-4b9f-a9be-9609c1b3622a",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_1164a745-b3dc-4b9f-a9be-9609c1b3622a",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250105.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7633",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12854182433",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_eb6908e4-3cff-452d-a339-25146be9740f",INVOCATION_ID:"049b7125072941398f5d27a5cb59ad7a",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"493",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 18",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_1164a745-b3dc-4b9f-a9be-9609c1b3622a",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_1164a745-b3dc-4b9f-a9be-9609c1b3622a",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_1164a745-b3dc-4b9f-a9be-9609c1b3622a",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2166,ppid:2165,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};const Package={version:"7.1.3"},requestOptionProperties=["agent","ca","cert","ciphers","clientCertEngine","crl","dhparam","ecdhCurve","family","honorCipherOrder","key","passphrase","pfx","rejectUnauthorized","secureOptions","secureProtocol","servername","sessionIdContext"];class TypedClient{constructor(qa){kg(this,"partSize",64*1024*1024);kg(this,"maximumPartSize",5*1024*1024*1024);kg(this,"maxObjectSize",5*1024*1024*1024*1024);if(qa.secure!==void 0)throw new Error('"secure" option deprecated, "useSSL" should be used instead');if(qa.useSSL===void 0&&(qa.useSSL=!0),qa.port||(qa.port=0),!isValidEndpoint(qa.endPoint))throw new InvalidEndpointError(`Invalid endPoint : ${qa.endPoint}`);if(!isValidPort(qa.port))throw new InvalidArgumentError(`Invalid port : ${qa.port}`);if(!isBoolean(qa.useSSL))throw new InvalidArgumentError(`Invalid useSSL flag type : ${qa.useSSL}, expected to be of type "boolean"`);if(qa.region&&!isString(qa.region))throw new InvalidArgumentError(`Invalid region : ${qa.region}`);const nd=qa.endPoint.toLowerCase();let od=qa.port,ld,ud,dd;if(qa.useSSL?(ud=http,ld="https:",od=od||443,dd=void 0):(ud=http,ld="http:",od=od||80,dd=void 0),qa.transport){if(!isObject(qa.transport))throw new InvalidArgumentError(`Invalid transport type : ${qa.transport}, expected to be type "object"`);ud=qa.transport}if(qa.transportAgent){if(!isObject(qa.transportAgent))throw new InvalidArgumentError(`Invalid transportAgent type: ${qa.transportAgent}, expected to be type "object"`);dd=qa.transportAgent}const fd=`MinIO ${`(${define_process_default$2.platform}; ${define_process_default$2.arch})`} minio-js/${Package.version}`;if(this.transport=ud,this.transportAgent=dd,this.host=nd,this.port=od,this.protocol=ld,this.userAgent=`${fd}`,qa.pathStyle===void 0?this.pathStyle=!0:this.pathStyle=qa.pathStyle,this.accessKey=qa.accessKey??"",this.secretKey=qa.secretKey??"",this.sessionToken=qa.sessionToken,this.anonymous=!this.accessKey||!this.secretKey,qa.credentialsProvider&&(this.credentialsProvider=qa.credentialsProvider),this.regionMap={},qa.region&&(this.region=qa.region),qa.partSize&&(this.partSize=qa.partSize,this.overRidePartSize=!0),this.partSize<5*1024*1024)throw new InvalidArgumentError("Part size should be greater than 5MB");if(this.partSize>5*1024*1024*1024)throw new InvalidArgumentError("Part size should be less than 5GB");this.enableSHA256=!this.anonymous&&!qa.useSSL,this.s3AccelerateEndpoint=qa.s3AccelerateEndpoint||void 0,this.reqOptions={},this.clientExtensions=new Extensions(this)}get extensions(){return this.clientExtensions}setS3TransferAccelerate(qa){this.s3AccelerateEndpoint=qa}setRequestOptions(qa){if(!isObject(qa))throw new TypeError('request options should be of type "object"');this.reqOptions=_.pick(qa,requestOptionProperties)}getAccelerateEndPointIfSet(qa,nd){if(!isEmpty(this.s3AccelerateEndpoint)&&!isEmpty(qa)&&!isEmpty(nd)){if(qa.includes("."))throw new Error(`Transfer Acceleration is not supported for non compliant bucket:${qa}`);return this.s3AccelerateEndpoint}return!1}getRequestOptions(qa){const nd=qa.method,od=qa.region,ld=qa.bucketName;let ud=qa.objectName;const dd=qa.headers,pd=qa.query;let fd={method:nd,headers:{},protocol:this.protocol,agent:this.transportAgent},md;ld&&(md=isVirtualHostStyle(this.host,this.protocol,ld,this.pathStyle));let vd="/",Ad=this.host,Nd;if(this.port&&(Nd=this.port),ud&&(ud=uriResourceEscape(ud)),isAmazonEndpoint(Ad)){const Od=this.getAccelerateEndPointIfSet(ld,ud);Od?Ad=`${Od}`:Ad=getS3Endpoint(od)}if(md&&!qa.pathStyle?(ld&&(Ad=`${ld}.${Ad}`),ud&&(vd=`/${ud}`)):(ld&&(vd=`/${ld}`),ud&&(vd=`/${ld}/${ud}`)),pd&&(vd+=`?${pd}`),fd.headers.host=Ad,(fd.protocol==="http:"&&Nd!==80||fd.protocol==="https:"&&Nd!==443)&&(fd.headers.host=`${Ad}:${Nd}`),fd.headers["user-agent"]=this.userAgent,dd)for(const[Od,kd]of Object.entries(dd))fd.headers[Od.toLowerCase()]=kd;return fd=Object.assign({},this.reqOptions,fd),{...fd,headers:_.mapValues(_.pickBy(fd.headers,isDefined),Od=>Od.toString()),host:Ad,port:Nd,path:vd}}async setCredentialsProvider(qa){if(!(qa instanceof CredentialProvider))throw new Error("Unable to get credentials. Expected instance of CredentialProvider");this.credentialsProvider=qa,await this.checkAndRefreshCreds()}async checkAndRefreshCreds(){if(this.credentialsProvider)try{const qa=await this.credentialsProvider.getCredentials();this.accessKey=qa.getAccessKey(),this.secretKey=qa.getSecretKey(),this.sessionToken=qa.getSessionToken()}catch(qa){throw new Error(`Unable to get credentials: ${qa}`,{cause:qa})}}logHTTP(qa,nd,od){if(!this.logStream)return;if(!isObject(qa))throw new TypeError('reqOptions should be of type "object"');if(nd&&!isReadableStream(nd))throw new TypeError('response should be of type "Stream"');if(od&&!(od instanceof Error))throw new TypeError('err should be of type "Error"');const ld=this.logStream,ud=dd=>{Object.entries(dd).forEach(([pd,fd])=>{if(pd=="authorization"&&isString(fd)){const md=new RegExp("Signature=([0-9a-f]+)");fd=fd.replace(md,"Signature=**REDACTED**")}ld.write(`${pd}: ${fd}
`)}),ld.write(`
`)};if(ld.write(`REQUEST: ${qa.method} ${qa.path}
`),ud(qa.headers),nd&&(this.logStream.write(`RESPONSE: ${nd.statusCode}
`),ud(nd.headers)),od){ld.write(`ERROR BODY:
`);const dd=JSON.stringify(od,null," ");ld.write(`${dd}
`)}}traceOn(qa){qa||(qa=define_process_default$2.stdout),this.logStream=qa}traceOff(){this.logStream=void 0}async makeRequestAsync(qa,nd="",od=[200],ld=""){if(!isObject(qa))throw new TypeError('options should be of type "object"');if(!isString(nd)&&!isObject(nd))throw new TypeError('payload should be of type "string" or "Buffer"');if(od.forEach(dd=>{if(!isNumber(dd))throw new TypeError('statusCode should be of type "number"')}),!isString(ld))throw new TypeError('region should be of type "string"');qa.headers||(qa.headers={}),(qa.method==="POST"||qa.method==="PUT"||qa.method==="DELETE")&&(qa.headers["content-length"]=nd.length.toString());const ud=this.enableSHA256?toSha256(nd):"";return this.makeRequestStreamAsync(qa,nd,ud,od,ld)}async makeRequestAsyncOmit(qa,nd="",od=[200],ld=""){const ud=await this.makeRequestAsync(qa,nd,od,ld);return await drainResponse(ud),ud}async makeRequestStreamAsync(qa,nd,od,ld,ud){if(!isObject(qa))throw new TypeError('options should be of type "object"');if(!(Buffer$4.isBuffer(nd)||typeof nd=="string"||isReadableStream(nd)))throw new InvalidArgumentError(`stream should be a Buffer, string or readable Stream, got ${typeof nd} instead`);if(!isString(od))throw new TypeError('sha256sum should be of type "string"');if(ld.forEach(fd=>{if(!isNumber(fd))throw new TypeError('statusCode should be of type "number"')}),!isString(ud))throw new TypeError('region should be of type "string"');if(!this.enableSHA256&&od.length!==0)throw new InvalidArgumentError("sha256sum expected to be empty for anonymous or https requests");if(this.enableSHA256&&od.length!==64)throw new InvalidArgumentError(`Invalid sha256sum : ${od}`);await this.checkAndRefreshCreds(),ud=ud||await this.getBucketRegionAsync(qa.bucketName);const dd=this.getRequestOptions({...qa,region:ud});if(!this.anonymous){this.enableSHA256||(od="UNSIGNED-PAYLOAD");const fd=new Date;dd.headers["x-amz-date"]=makeDateLong(fd),dd.headers["x-amz-content-sha256"]=od,this.sessionToken&&(dd.headers["x-amz-security-token"]=this.sessionToken),dd.headers.authorization=signV4(dd,this.accessKey,this.secretKey,ud,fd,od)}const pd=await request$1(this.transport,dd,nd);if(!pd.statusCode)throw new Error("BUG: response doesn't have a statusCode");if(!ld.includes(pd.statusCode)){delete this.regionMap[qa.bucketName];const fd=await parseResponseError(pd);throw this.logHTTP(dd,pd,fd),fd}return this.logHTTP(dd,pd),pd}async getBucketRegionAsync(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name : ${qa}`);if(this.region)return this.region;const nd=this.regionMap[qa];if(nd)return nd;const od=async md=>{const vd=await readAsString(md),Ad=parseBucketRegion(vd)||DEFAULT_REGION;return this.regionMap[qa]=Ad,Ad},ld="GET",ud="location",dd=this.pathStyle&&!isBrowser_1;let pd;try{const md=await this.makeRequestAsync({method:ld,bucketName:qa,query:ud,pathStyle:dd},"",[200],DEFAULT_REGION);return od(md)}catch(md){if(md.name!=="AuthorizationHeaderMalformed"||(pd=md.Region,!pd))throw md}const fd=await this.makeRequestAsync({method:ld,bucketName:qa,query:ud,pathStyle:dd},"",[200],pd);return await od(fd)}makeRequest(qa,nd="",od=[200],ld="",ud,dd){let pd;ud?pd=this.makeRequestAsync(qa,nd,od,ld):pd=this.makeRequestAsyncOmit(qa,nd,od,ld),pd.then(fd=>dd(null,fd),fd=>{dd(fd)})}makeRequestStream(qa,nd,od,ld,ud,dd,pd){(async()=>{const md=await this.makeRequestStreamAsync(qa,nd,od,ld,ud);return dd||await drainResponse(md),md})().then(md=>pd(null,md),md=>pd(md))}getBucketRegion(qa,nd){return this.getBucketRegionAsync(qa).then(od=>nd(null,od),od=>nd(od))}async removeBucket(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);await this.makeRequestAsyncOmit({method:"DELETE",bucketName:qa},"",[204]),delete this.regionMap[qa]}async statObject(qa,nd,od={}){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isObject(od))throw new InvalidArgumentError('statOpts should be of type "object"');const ld=queryString.stringify(od),dd=await this.makeRequestAsyncOmit({method:"HEAD",bucketName:qa,objectName:nd,query:ld});return{size:parseInt(dd.headers["content-length"]),metaData:extractMetadata(dd.headers),lastModified:new Date(dd.headers["last-modified"]),versionId:getVersionId(dd.headers),etag:sanitizeETag(dd.headers.etag)}}async removeObject(qa,nd,od={}){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isObject(od))throw new InvalidArgumentError('removeOpts should be of type "object"');const ld="DELETE",ud={};od.governanceBypass&&(ud["X-Amz-Bypass-Governance-Retention"]=!0),od.forceDelete&&(ud["x-minio-force-delete"]=!0);const dd={};od.versionId&&(dd.versionId=`${od.versionId}`);const pd=queryString.stringify(dd);await this.makeRequestAsyncOmit({method:ld,bucketName:qa,objectName:nd,headers:ud,query:pd},"",[200,204])}async initiateNewMultipartUpload(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isObject(od))throw new InvalidObjectNameError('contentType should be of type "object"');const dd=await this.makeRequestAsync({method:"POST",bucketName:qa,objectName:nd,query:"uploads",headers:od}),pd=await readAsBuffer(dd);return parseInitiateMultipart(pd.toString())}async abortMultipartUpload(qa,nd,od){const ld="DELETE",ud=`uploadId=${od}`,dd={method:ld,bucketName:qa,objectName:nd,query:ud};await this.makeRequestAsyncOmit(dd,"",[204])}async listParts(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isString(od))throw new TypeError('uploadId should be of type "string"');if(!od)throw new InvalidArgumentError("uploadId cannot be empty");const ld=[];let ud=0,dd;do dd=await this.listPartsQuery(qa,nd,od,ud),ud=dd.marker,ld.push(...dd.parts);while(dd.isTruncated);return ld}async listPartsQuery(qa,nd,od,ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isString(od))throw new TypeError('uploadId should be of type "string"');if(!isNumber(ld))throw new TypeError('marker should be of type "number"');if(!od)throw new InvalidArgumentError("uploadId cannot be empty");let ud=`uploadId=${uriEscape(od)}`;ld&&(ud+=`&part-number-marker=${ld}`);const pd=await this.makeRequestAsync({method:"GET",bucketName:qa,objectName:nd,query:ud});return parseListParts(await readAsString(pd))}async listBuckets(){const nd=await this.makeRequestAsync({method:"GET"},"",[200],DEFAULT_REGION),od=await readAsString(nd);return parseListBucket(od)}async removeBucketReplication(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);await this.makeRequestAsyncOmit({method:"DELETE",bucketName:qa,query:"replication"},"",[200,204],"")}async setBucketReplication(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(isObject(nd)){if(_.isEmpty(nd.role))throw new InvalidArgumentError("Role cannot be empty");if(nd.role&&!isString(nd.role))throw new InvalidArgumentError("Invalid value for role",nd.role);if(_.isEmpty(nd.rules))throw new InvalidArgumentError("Minimum one replication rule must be specified")}else throw new InvalidArgumentError('replicationConfig should be of type "object"');const od="PUT",ld="replication",ud={},dd={ReplicationConfiguration:{Role:nd.role,Rule:nd.rules}},fd=new xml2js.Builder({renderOpts:{pretty:!1},headless:!0}).buildObject(dd);ud["Content-MD5"]=toMd5(fd),await this.makeRequestAsyncOmit({method:od,bucketName:qa,query:ld,headers:ud},fd)}async getBucketReplication(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);const ld=await this.makeRequestAsync({method:"GET",bucketName:qa,query:"replication"},"",[200,204]),ud=await readAsString(ld);return parseReplicationConfig(ud)}}class CopyConditions{constructor(){kg(this,"modified","");kg(this,"unmodified","");kg(this,"matchETag","");kg(this,"matchETagExcept","")}setModified(qa){if(!(qa instanceof Date))throw new TypeError("date must be of type Date");this.modified=qa.toUTCString()}setUnmodified(qa){if(!(qa instanceof Date))throw new TypeError("date must be of type Date");this.unmodified=qa.toUTCString()}setMatchETag(qa){this.matchETag=qa}setMatchETagExcept(qa){this.matchETagExcept=qa}}class PostPolicy{constructor(){kg(this,"policy",{conditions:[]});kg(this,"formData",{})}setExpires(qa){if(!qa)throw new InvalidDateError("Invalid date: cannot be null");this.policy.expiration=qa.toISOString()}setKey(qa){if(!isValidObjectName(qa))throw new InvalidObjectNameError(`Invalid object name : ${qa}`);this.policy.conditions.push(["eq","$key",qa]),this.formData.key=qa}setKeyStartsWith(qa){if(!isValidPrefix(qa))throw new InvalidPrefixError(`Invalid prefix : ${qa}`);this.policy.conditions.push(["starts-with","$key",qa]),this.formData.key=qa}setBucket(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name : ${qa}`);this.policy.conditions.push(["eq","$bucket",qa]),this.formData.bucket=qa}setContentType(qa){if(!qa)throw new Error("content-type cannot be null");this.policy.conditions.push(["eq","$Content-Type",qa]),this.formData["Content-Type"]=qa}setContentTypeStartsWith(qa){if(!qa)throw new Error("content-type cannot be null");this.policy.conditions.push(["starts-with","$Content-Type",qa]),this.formData["Content-Type"]=qa}setContentDisposition(qa){if(!qa)throw new Error("content-disposition cannot be null");this.policy.conditions.push(["eq","$Content-Disposition",qa]),this.formData["Content-Disposition"]=qa}setContentLengthRange(qa,nd){if(qa>nd)throw new Error("min cannot be more than max");if(qa<0)throw new Error("min should be > 0");if(nd<0)throw new Error("max should be > 0");this.policy.conditions.push(["content-length-range",qa,nd])}setUserMetaData(qa){if(!isObject(qa))throw new TypeError('metadata should be of type "object"');Object.entries(qa).forEach(([nd,od])=>{const ld=`x-amz-meta-${nd}`;this.policy.conditions.push(["eq",`$${ld}`,od]),this.formData[ld]=od.toString()})}}var jsonStream={exports:{}},util=util$a,TransformStream$1=streamBrowserify.Transform;jsonStream.exports=function(Ra){return new JSONStream(Ra)};var JSONStream=jsonStream.exports.JSONStream=function(Ra){Ra=Ra||{},TransformStream$1.call(this,Ra),this._writableState.objectMode=!1,this._readableState.objectMode=!0,this._async=Ra.async||!1};util.inherits(JSONStream,TransformStream$1);JSONStream.prototype._transform=function(Ra,qa,nd){Buffer$4.isBuffer(Ra)||(Ra=new Buffer$4(Ra)),this._buffer&&(Ra=Buffer$4.concat([this._buffer,Ra]));for(var od=0,ld=0;++od<=Ra.length;)if(Ra[od]===10||od===Ra.length){var ud;try{ud=JSON.parse(Ra.slice(ld,od))}catch{}ud&&(this.push(ud),ud=null),Ra[od]===10&&(ld=++od)}return this._buffer=Ra.slice(ld),this._async?void setImmediate(nd):void nd()};var jsonStreamExports=jsonStream.exports;const JSONParser=getDefaultExportFromCjs(jsonStreamExports);var through2$1={exports:{}};const{Transform}=readableBrowserExports;function inherits(Ra,qa){Ra.super_=qa,Ra.prototype=Object.create(qa.prototype,{constructor:{value:Ra,enumerable:!1,writable:!0,configurable:!0}})}function through2(Ra){return(qa,nd,od)=>(typeof qa=="function"&&(od=nd,nd=qa,qa={}),typeof nd!="function"&&(nd=(ld,ud,dd)=>dd(null,ld)),typeof od!="function"&&(od=null),Ra(qa,nd,od))}const make=through2((Ra,qa,nd)=>{const od=new Transform(Ra);return od._transform=qa,nd&&(od._flush=nd),od}),ctor=through2((Ra,qa,nd)=>{function od(ld){if(!(this instanceof od))return new od(ld);this.options=Object.assign({},Ra,ld),Transform.call(this,this.options),this._transform=qa,nd&&(this._flush=nd)}return inherits(od,Transform),od}),obj=through2(function(Ra,qa,nd){const od=new Transform(Object.assign({objectMode:!0,highWaterMark:16},Ra));return od._transform=qa,nd&&(od._flush=nd),od});through2$1.exports=make;through2$1.exports.ctor=ctor;through2$1.exports.obj=obj;var through2Exports=through2$1.exports;const Through2=getDefaultExportFromCjs(through2Exports);var Buffer=buffer.Buffer,CRC_TABLE=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];typeof Int32Array<"u"&&(CRC_TABLE=new Int32Array(CRC_TABLE));function ensureBuffer(Ra){if(Buffer.isBuffer(Ra))return Ra;var qa=typeof Buffer.alloc=="function"&&typeof Buffer.from=="function";if(typeof Ra=="number")return qa?Buffer.alloc(Ra):new Buffer(Ra);if(typeof Ra=="string")return qa?Buffer.from(Ra):new Buffer(Ra);throw new Error("input must be buffer, number, or string, received "+typeof Ra)}function bufferizeInt(Ra){var qa=ensureBuffer(4);return qa.writeInt32BE(Ra,0),qa}function _crc32(Ra,qa){Ra=ensureBuffer(Ra),Buffer.isBuffer(qa)&&(qa=qa.readUInt32BE(0));for(var nd=~~qa^-1,od=0;od<Ra.length;od++)nd=CRC_TABLE[(nd^Ra[od])&255]^nd>>>8;return nd^-1}function crc32(){return bufferizeInt(_crc32.apply(null,arguments))}crc32.signed=function(){return _crc32.apply(null,arguments)};crc32.unsigned=function(){return _crc32.apply(null,arguments)>>>0};var bufferCrc32=crc32;const crc32$1=getDefaultExportFromCjs(bufferCrc32),fxpWithoutNumParser=new fxp$2.XMLParser({numberParseOptions:{skipLike:/./}});function parseCopyObject(Ra){var qa={etag:"",lastModified:""},nd=parseXml(Ra);if(!nd.CopyObjectResult)throw new InvalidXMLError('Missing tag: "CopyObjectResult"');return nd=nd.CopyObjectResult,nd.ETag&&(qa.etag=nd.ETag.replace(/^"/g,"").replace(/"$/g,"").replace(/^&quot;/g,"").replace(/&quot;$/g,"").replace(/^&#34;/g,"").replace(/&#34;$/g,"")),nd.LastModified&&(qa.lastModified=new Date(nd.LastModified)),qa}function parseListMultipart(Ra){var qa={uploads:[],prefixes:[],isTruncated:!1},nd=parseXml(Ra);if(!nd.ListMultipartUploadsResult)throw new InvalidXMLError('Missing tag: "ListMultipartUploadsResult"');return nd=nd.ListMultipartUploadsResult,nd.IsTruncated&&(qa.isTruncated=nd.IsTruncated),nd.NextKeyMarker&&(qa.nextKeyMarker=nd.NextKeyMarker),nd.NextUploadIdMarker&&(qa.nextUploadIdMarker=nd.nextUploadIdMarker||""),nd.CommonPrefixes&&toArray(nd.CommonPrefixes).forEach(od=>{qa.prefixes.push({prefix:sanitizeObjectKey(toArray(od.Prefix)[0])})}),nd.Upload&&toArray(nd.Upload).forEach(od=>{var ld=od.Key,ud=od.UploadId,dd={id:od.Initiator.ID,displayName:od.Initiator.DisplayName},pd={id:od.Owner.ID,displayName:od.Owner.DisplayName},fd=od.StorageClass,md=new Date(od.Initiated);qa.uploads.push({key:ld,uploadId:ud,initiator:dd,owner:pd,storageClass:fd,initiated:md})}),qa}function parseBucketNotification(Ra){var qa={TopicConfiguration:[],QueueConfiguration:[],CloudFunctionConfiguration:[]},nd=function(ud){var dd=[];return ud&&toArray(ud).forEach(pd=>{dd.push(pd)}),dd},od=function(ud){var dd=[];return ud&&(ud=toArray(ud),ud[0].S3Key&&(ud[0].S3Key=toArray(ud[0].S3Key),ud[0].S3Key[0].FilterRule&&toArray(ud[0].S3Key[0].FilterRule).forEach(pd=>{var fd=toArray(pd.Name)[0],md=toArray(pd.Value)[0];dd.push({Name:fd,Value:md})}))),dd},ld=parseXml(Ra);return ld=ld.NotificationConfiguration,ld.TopicConfiguration&&toArray(ld.TopicConfiguration).forEach(ud=>{var dd=toArray(ud.Id)[0],pd=toArray(ud.Topic)[0],fd=nd(ud.Event),md=od(ud.Filter);qa.TopicConfiguration.push({Id:dd,Topic:pd,Event:fd,Filter:md})}),ld.QueueConfiguration&&toArray(ld.QueueConfiguration).forEach(ud=>{var dd=toArray(ud.Id)[0],pd=toArray(ud.Queue)[0],fd=nd(ud.Event),md=od(ud.Filter);qa.QueueConfiguration.push({Id:dd,Queue:pd,Event:fd,Filter:md})}),ld.CloudFunctionConfiguration&&toArray(ld.CloudFunctionConfiguration).forEach(ud=>{var dd=toArray(ud.Id)[0],pd=toArray(ud.CloudFunction)[0],fd=nd(ud.Event),md=od(ud.Filter);qa.CloudFunctionConfiguration.push({Id:dd,CloudFunction:pd,Event:fd,Filter:md})}),qa}function parseCompleteMultipart(Ra){var qa=parseXml(Ra).CompleteMultipartUploadResult;if(qa.Location){var nd=toArray(qa.Location)[0],od=toArray(qa.Bucket)[0],ld=qa.Key,ud=qa.ETag.replace(/^"/g,"").replace(/"$/g,"").replace(/^&quot;/g,"").replace(/&quot;$/g,"").replace(/^&#34;/g,"").replace(/&#34;$/g,"");return{location:nd,bucket:od,key:ld,etag:ud}}if(qa.Code&&qa.Message){var dd=toArray(qa.Code)[0],pd=toArray(qa.Message)[0];return{errCode:dd,errMessage:pd}}}const formatObjInfo=(Ra,qa={})=>{let{Key:nd,LastModified:od,ETag:ld,Size:ud,VersionId:dd,IsLatest:pd}=Ra;isObject(qa)||(qa={});const fd=sanitizeObjectKey(toArray(nd)[0]),md=new Date(toArray(od)[0]),vd=sanitizeETag(toArray(ld)[0]),Ad=sanitizeSize(ud);return{name:fd,lastModified:md,etag:vd,size:Ad,versionId:dd,isLatest:pd,isDeleteMarker:qa.IsDeleteMarker?qa.IsDeleteMarker:!1}};function parseListObjects(Ra){var qa={objects:[],isTruncated:!1};let nd=!1,od,ld;const ud=fxpWithoutNumParser.parse(Ra),dd=md=>{md&&toArray(md).forEach(vd=>{qa.objects.push({prefix:sanitizeObjectKey(toArray(vd.Prefix)[0]),size:0})})},pd=ud.ListBucketResult,fd=ud.ListVersionsResult;return pd&&(pd.IsTruncated&&(nd=pd.IsTruncated),pd.Contents&&toArray(pd.Contents).forEach(md=>{const vd=sanitizeObjectKey(toArray(md.Key)[0]),Ad=new Date(toArray(md.LastModified)[0]),Nd=sanitizeETag(toArray(md.ETag)[0]),Od=sanitizeSize(md.Size);qa.objects.push({name:vd,lastModified:Ad,etag:Nd,size:Od})}),pd.NextMarker&&(od=pd.NextMarker),dd(pd.CommonPrefixes)),fd&&(fd.IsTruncated&&(nd=fd.IsTruncated),fd.Version&&toArray(fd.Version).forEach(md=>{qa.objects.push(formatObjInfo(md))}),fd.DeleteMarker&&toArray(fd.DeleteMarker).forEach(md=>{qa.objects.push(formatObjInfo(md,{IsDeleteMarker:!0}))}),fd.NextKeyMarker&&(ld=fd.NextKeyMarker),fd.NextVersionIdMarker&&(qa.versionIdMarker=fd.NextVersionIdMarker),dd(fd.CommonPrefixes)),qa.isTruncated=nd,nd&&(qa.nextMarker=ld||od),qa}function parseListObjectsV2(Ra){var qa={objects:[],isTruncated:!1},nd=parseXml(Ra);if(!nd.ListBucketResult)throw new InvalidXMLError('Missing tag: "ListBucketResult"');return nd=nd.ListBucketResult,nd.IsTruncated&&(qa.isTruncated=nd.IsTruncated),nd.NextContinuationToken&&(qa.nextContinuationToken=nd.NextContinuationToken),nd.Contents&&toArray(nd.Contents).forEach(od=>{var ld=sanitizeObjectKey(toArray(od.Key)[0]),ud=new Date(od.LastModified),dd=sanitizeETag(od.ETag),pd=od.Size;qa.objects.push({name:ld,lastModified:ud,etag:dd,size:pd})}),nd.CommonPrefixes&&toArray(nd.CommonPrefixes).forEach(od=>{qa.objects.push({prefix:sanitizeObjectKey(toArray(od.Prefix)[0]),size:0})}),qa}function parseBucketVersioningConfig(Ra){var qa=parseXml(Ra);return qa.VersioningConfiguration}function parseTagging(Ra){const qa=parseXml(Ra);let nd=[];if(qa.Tagging&&qa.Tagging.TagSet&&qa.Tagging.TagSet.Tag){const od=qa.Tagging.TagSet.Tag;isObject(od)?nd.push(od):nd=od}return nd}function parseLifecycleConfig(Ra){return parseXml(Ra).LifecycleConfiguration}function parseObjectLockConfig(Ra){const qa=parseXml(Ra);let nd={};if(qa.ObjectLockConfiguration){nd={objectLockEnabled:qa.ObjectLockConfiguration.ObjectLockEnabled};let od;if(qa.ObjectLockConfiguration&&qa.ObjectLockConfiguration.Rule&&qa.ObjectLockConfiguration.Rule.DefaultRetention&&(od=qa.ObjectLockConfiguration.Rule.DefaultRetention||{},nd.mode=od.Mode),od){const ld=od.Years;ld?(nd.validity=ld,nd.unit=RETENTION_VALIDITY_UNITS.YEARS):(nd.validity=od.Days,nd.unit=RETENTION_VALIDITY_UNITS.DAYS)}return nd}}function parseObjectRetentionConfig(Ra){const nd=parseXml(Ra).Retention;return{mode:nd.Mode,retainUntilDate:nd.RetainUntilDate}}function parseBucketEncryptionConfig(Ra){return parseXml(Ra)}function parseObjectLegalHoldConfig(Ra){return parseXml(Ra).LegalHold}function uploadPartParser(Ra){return parseXml(Ra).CopyPartResult}function removeObjectsParser(Ra){const qa=parseXml(Ra);return qa.DeleteResult&&qa.DeleteResult.Error?toArray(qa.DeleteResult.Error):[]}function parseSelectObjectContentResponse(Ra){function qa(ud){const dd=Buffer$4.from(ud.read(1)).readUInt8(),fd=(Buffer$4.from(ud.read(dd)).toString()||"").split(":");return fd.length>=1?fd[1]:""}function nd(ud){const dd=Buffer$4.from(ud.read(2)).readUInt16BE();return Buffer$4.from(ud.read(dd)).toString()}const od=new SelectResults({}),ld=readableStream(Ra);for(;ld._readableState.length;){let ud;const dd=Buffer$4.from(ld.read(4));ud=crc32$1(dd);const pd=Buffer$4.from(ld.read(4));ud=crc32$1(pd,ud);const fd=ud.readInt32BE(),md=Buffer$4.from(ld.read(4));ud=crc32$1(md,ud);const vd=dd.readInt32BE(),Ad=pd.readInt32BE(),Nd=md.readInt32BE();if(Nd!==fd)throw new Error(`Header Checksum Mismatch, Prelude CRC of ${Nd} does not equal expected CRC of ${fd}`);const Od={};if(Ad>0){const jd=Buffer$4.from(ld.read(Ad));ud=crc32$1(jd,ud);const Fd=readableStream(jd);for(;Fd._readableState.length;){let Ud=qa(Fd);Fd.read(1),Od[Ud]=nd(Fd)}}let kd;const Ld=vd-Ad-16;if(Ld>0){const jd=Buffer$4.from(ld.read(Ld));ud=crc32$1(jd,ud);const Fd=Buffer$4.from(ld.read(4)).readInt32BE(),Ud=ud.readInt32BE();if(Fd!==Ud)throw new Error(`Message Checksum Mismatch, Message CRC of ${Fd} does not equal expected CRC of ${Ud}`);kd=readableStream(jd)}const Gd=Od["message-type"];switch(Gd){case"error":{const jd=Od["error-code"]+':"'+Od["error-message"]+'"';throw new Error(jd)}case"event":{const jd=Od["content-type"];switch(Od["event-type"]){case"End":return od.setResponse(Ra),od;case"Records":{const Ud=kd.read(Ld);od.setRecords(Ud);break}case"Progress":switch(jd){case"text/xml":{const Ud=kd.read(Ld);od.setProgress(Ud.toString());break}default:{const Ud=`Unexpected content-type ${jd} sent for event-type Progress`;throw new Error(Ud)}}break;case"Stats":switch(jd){case"text/xml":{const Ud=kd.read(Ld);od.setStats(Ud.toString());break}default:{const Ud=`Unexpected content-type ${jd} sent for event-type Stats`;throw new Error(Ud)}}break;default:{const Ud=`Un implemented event detected ${Gd}.`;console.warn(Ud)}}}}}}function getConcater(Ra,qa){var nd=!1,od=[];if(Ra&&!isFunction(Ra))throw new TypeError('parser should be of type "function"');return Ra&&(nd=!0),Through2({objectMode:nd},function(ld,ud,dd){od.push(ld),dd()},function(ld){od.length&&(Ra?this.push(Ra(Buffer$4.concat(od).toString())):this.push(Buffer$4.concat(od))),ld()})}function getCopyObjectTransformer(){return getConcater(parseCopyObject)}function getListMultipartTransformer(){return getConcater(parseListMultipart)}function getListObjectsTransformer(){return getConcater(parseListObjects)}function getListObjectsV2Transformer(){return getConcater(parseListObjectsV2)}function getCompleteMultipartTransformer(){return getConcater(parseCompleteMultipart)}function getBucketNotificationTransformer(){return getConcater(parseBucketNotification)}function getNotificationTransformer(){return new JSONParser}function bucketVersioningTransformer(){return getConcater(parseBucketVersioningConfig)}function getTagsTransformer(){return getConcater(parseTagging)}function lifecycleTransformer(){return getConcater(parseLifecycleConfig)}function objectLockTransformer(){return getConcater(parseObjectLockConfig)}function objectRetentionTransformer(){return getConcater(parseObjectRetentionConfig)}function bucketEncryptionTransformer(){return getConcater(parseBucketEncryptionConfig)}function objectLegalHoldTransformer(){return getConcater(parseObjectLegalHoldConfig)}function uploadPartTransformer(){return getConcater(uploadPartParser)}function selectObjectContentTransformer(){return getConcater()}function removeObjectsTransformer(){return getConcater(removeObjectsParser)}var define_process_default$1={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_1164a745-b3dc-4b9f-a9be-9609c1b3622a",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_1164a745-b3dc-4b9f-a9be-9609c1b3622a",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250105.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7633",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12854182433",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_eb6908e4-3cff-452d-a339-25146be9740f",INVOCATION_ID:"049b7125072941398f5d27a5cb59ad7a",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"493",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 18",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_1164a745-b3dc-4b9f-a9be-9609c1b3622a",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_1164a745-b3dc-4b9f-a9be-9609c1b3622a",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_1164a745-b3dc-4b9f-a9be-9609c1b3622a",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2166,ppid:2165,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};class NotificationConfig{add(qa){let nd="";qa instanceof TopicConfig&&(nd="TopicConfiguration"),qa instanceof QueueConfig&&(nd="QueueConfiguration"),qa instanceof CloudFunctionConfig&&(nd="CloudFunctionConfiguration"),this[nd]||(this[nd]=[]),this[nd].push(qa)}}class TargetConfig{setId(qa){this.Id=qa}addEvent(qa){this.Event||(this.Event=[]),this.Event.push(qa)}addFilterSuffix(qa){this.Filter||(this.Filter={S3Key:{FilterRule:[]}}),this.Filter.S3Key.FilterRule.push({Name:"suffix",Value:qa})}addFilterPrefix(qa){this.Filter||(this.Filter={S3Key:{FilterRule:[]}}),this.Filter.S3Key.FilterRule.push({Name:"prefix",Value:qa})}}class TopicConfig extends TargetConfig{constructor(qa){super(),this.Topic=qa}}class QueueConfig extends TargetConfig{constructor(qa){super(),this.Queue=qa}}class CloudFunctionConfig extends TargetConfig{constructor(qa){super(),this.CloudFunction=qa}}class NotificationPoller extends eventsExports.EventEmitter{constructor(qa,nd,od,ld,ud){super(),this.client=qa,this.bucketName=nd,this.prefix=od,this.suffix=ld,this.events=ud,this.ending=!1}start(){this.ending=!1,define_process_default$1.nextTick(()=>{this.checkForChanges()})}stop(){this.ending=!0}checkForChanges(){if(this.ending)return;let qa="GET";var nd=[];if(this.prefix){var od=uriEscape(this.prefix);nd.push(`prefix=${od}`)}if(this.suffix){var ld=uriEscape(this.suffix);nd.push(`suffix=${ld}`)}this.events&&this.events.forEach(pd=>nd.push("events="+uriEscape(pd))),nd.sort();var ud="";nd.length>0&&(ud=`${nd.join("&")}`);const dd=this.client.region||DEFAULT_REGION;this.client.makeRequest({method:qa,bucketName:this.bucketName,query:ud},"",[200],dd,!0,(pd,fd)=>{if(pd)return this.emit("error",pd);let md=getNotificationTransformer();pipesetup(fd,md).on("data",vd=>{let Ad=vd.Records;Ad||(Ad=[]),Ad.forEach(Nd=>{this.emit("notification",Nd)}),this.ending&&fd.destroy()}).on("error",vd=>this.emit("error",vd)).on("end",()=>{define_process_default$1.nextTick(()=>{this.checkForChanges()})})})}}var define_process_default={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_1164a745-b3dc-4b9f-a9be-9609c1b3622a",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_1164a745-b3dc-4b9f-a9be-9609c1b3622a",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250105.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7633",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12854182433",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_eb6908e4-3cff-452d-a339-25146be9740f",INVOCATION_ID:"049b7125072941398f5d27a5cb59ad7a",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"493",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 18",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_1164a745-b3dc-4b9f-a9be-9609c1b3622a",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_1164a745-b3dc-4b9f-a9be-9609c1b3622a",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_1164a745-b3dc-4b9f-a9be-9609c1b3622a",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2166,ppid:2165,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};class ObjectUploader extends streamBrowserify.Transform{constructor(qa,nd,od,ld,ud,dd){super(),this.emptyStream=!0,this.client=qa,this.bucketName=nd,this.objectName=od,this.partSize=ld,this.metaData=ud,this.callback=dd,this.partNumber=1,this.oldParts=null,this.etags=[],this.id=null,this.on("error",pd=>{dd(pd)})}_transform(qa,nd,od){this.emptyStream=!1;let ld="PUT",ud={"Content-Length":qa.length},dd="";if(this.client.enableSHA256||(dd=(void 0)("md5").update(qa).digest(),ud["Content-MD5"]=dd.toString("base64")),this.partNumber==1&&qa.length<this.partSize){let vd={method:ld,headers:Object.assign({},this.metaData,ud),query:"",bucketName:this.bucketName,objectName:this.objectName};this.client.makeRequest(vd,qa,[200],"",!0,(Ad,Nd)=>{if(Ad)return od(Ad);let Od={etag:sanitizeETag(Nd.headers.etag),versionId:getVersionId(Nd.headers)};Nd.on("data",()=>{}),define_process_default.nextTick(()=>{this.callback(null,Od)}),od()});return}if(this.id===null){this.once("ready",()=>{this._transform(qa,nd,od)}),this.client.findUploadId(this.bucketName,this.objectName,(vd,Ad)=>{if(vd)return this.emit("error",vd);if(!Ad){this.client.initiateNewMultipartUpload(this.bucketName,this.objectName,this.metaData).then(Nd=>{this.id=Nd,this.emit("ready")},Nd=>od(Nd));return}this.id=Ad,this.client.listParts(this.bucketName,this.objectName,Ad).then(Nd=>{Nd||(Nd=[]),this.oldParts=Nd.reduce(function(Od,kd){return Od[kd.part]||(Od[kd.part]=kd),Od},{}),this.emit("ready")},Nd=>this.emit("error",Nd))});return}let pd=this.partNumber++;if(this.oldParts){let vd=this.oldParts[pd];if(dd||(dd=(void 0)("md5").update(qa).digest()),vd&&dd.toString("hex")===vd.etag){this.etags.push({part:pd,etag:vd.etag}),od();return}}let fd=queryString.stringify({partNumber:pd,uploadId:this.id}),md={method:ld,query:fd,headers:ud,bucketName:this.bucketName,objectName:this.objectName};this.client.makeRequest(md,qa,[200],"",!0,(vd,Ad)=>{if(vd)return od(vd);let Nd=Ad.headers.etag;Nd&&(Nd=Nd.replace(/^"/,"").replace(/"$/,"")),this.etags.push({part:pd,etag:Nd}),Ad.on("data",()=>{}),od()})}_flush(qa){if(this.emptyStream){let nd="PUT",od=Object.assign({},this.metaData,{"Content-Length":0}),ld={method:nd,headers:od,query:"",bucketName:this.bucketName,objectName:this.objectName};this.client.makeRequest(ld,"",[200],"",!0,(ud,dd)=>{if(ud)return qa(ud);let pd={etag:sanitizeETag(dd.headers.etag),versionId:getVersionId(dd.headers)};dd.on("data",()=>{}),define_process_default.nextTick(()=>{this.callback(null,pd)}),qa()});return}this.id!==null&&this.client.completeMultipartUpload(this.bucketName,this.objectName,this.id,this.etags,(nd,od)=>{if(nd)return qa(nd);define_process_default.nextTick(()=>{this.callback(null,od)}),qa()})}}function promisify(Ra){return function(){if(typeof arguments[arguments.length-1]=="function")return Ra.apply(this,arguments);let nd=[...arguments];return new Promise((od,ld)=>{nd.push((ud,dd)=>{if(ud)return ld(ud);od(dd)}),Ra.apply(this,nd)})}}class Client extends TypedClient{setAppInfo(qa,nd){if(!isString(qa))throw new TypeError(`Invalid appName: ${qa}`);if(qa.trim()==="")throw new InvalidArgumentError("Input appName cannot be empty.");if(!isString(nd))throw new TypeError(`Invalid appVersion: ${nd}`);if(nd.trim()==="")throw new InvalidArgumentError("Input appVersion cannot be empty.");this.userAgent=`${this.userAgent} ${qa}/${nd}`}calculatePartSize(qa){if(!isNumber(qa))throw new TypeError('size should be of type "number"');if(qa>this.maxObjectSize)throw new TypeError(`size should not be more than ${this.maxObjectSize}`);if(this.overRidePartSize)return this.partSize;for(var nd=this.partSize;;){if(nd*1e4>qa)return nd;nd+=16*1024*1024}}makeBucket(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(isObject(nd)&&(ld=od,od=nd,nd=""),isFunction(nd)&&(ld=nd,nd="",od={}),isFunction(od)&&(ld=od,od={}),!isString(nd))throw new TypeError('region should be of type "string"');if(!isObject(od))throw new TypeError('makeOpts should be of type "object"');if(!isFunction(ld))throw new TypeError('callback should be of type "function"');var ud="";if(nd&&this.region&&nd!==this.region)throw new InvalidArgumentError(`Configured region ${this.region}, requested ${nd}`);if(nd&&nd!==DEFAULT_REGION){var dd=[];dd.push({_attr:{xmlns:"http://s3.amazonaws.com/doc/2006-03-01/"}}),dd.push({LocationConstraint:nd});var pd={CreateBucketConfiguration:dd};ud=Xml(pd)}var fd="PUT",md={};od.ObjectLocking&&(md["x-amz-bucket-object-lock-enabled"]=!0),nd||(nd=DEFAULT_REGION);const vd=Ad=>{if(Ad&&(nd===""||nd===DEFAULT_REGION))if(Ad.code==="AuthorizationHeaderMalformed"&&Ad.region!=="")this.makeRequest({method:fd,bucketName:qa,headers:md},ud,[200],Ad.region,!1,ld);else return ld&&ld(Ad);return ld&&ld(Ad)};this.makeRequest({method:fd,bucketName:qa,headers:md},ud,[200],nd,!1,vd)}listIncompleteUploads(qa,nd,od){if(nd===void 0&&(nd=""),od===void 0&&(od=!1),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidPrefix(nd))throw new InvalidPrefixError(`Invalid prefix : ${nd}`);if(!isBoolean(od))throw new TypeError('recursive should be of type "boolean"');var ld=od?"":"/",ud="",dd="",pd=[],fd=!1,md=streamBrowserify.Readable({objectMode:!0});return md._read=()=>{if(pd.length)return md.push(pd.shift());if(fd)return md.push(null);this.listIncompleteUploadsQuery(qa,nd,ud,dd,ld).on("error",vd=>md.emit("error",vd)).on("data",vd=>{vd.prefixes.forEach(Ad=>pd.push(Ad)),index.eachSeries(vd.uploads,(Ad,Nd)=>{this.listParts(qa,Ad.key,Ad.uploadId).then(Od=>{Ad.size=Od.reduce((kd,Ld)=>kd+Ld.size,0),pd.push(Ad),Nd()},Nd)},Ad=>{if(Ad){md.emit("error",Ad);return}vd.isTruncated?(ud=vd.nextKeyMarker,dd=vd.nextUploadIdMarker):fd=!0,md._read()})})},md}bucketExists(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new TypeError('callback should be of type "function"');var od="HEAD";this.makeRequest({method:od,bucketName:qa},"",[200],"",!1,ld=>{if(ld)return ld.code=="NoSuchBucket"||ld.code=="NotFound"?nd(null,!1):nd(ld);nd(null,!0)})}removeIncompleteUpload(qa,nd,od){if(!isValidBucketName(qa))throw new IsValidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isFunction(od))throw new TypeError('callback should be of type "function"');var ld;index.during(ud=>{this.findUploadId(qa,nd,(dd,pd)=>{if(dd)return ud(dd);ld=pd,ud(null,pd)})},ud=>{var dd="DELETE",pd=`uploadId=${ld}`;this.makeRequest({method:dd,bucketName:qa,objectName:nd,query:pd},"",[204],"",!1,fd=>ud(fd))},od)}fGetObject(qa,nd,od,ld={},ud){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isString(od))throw new TypeError('filePath should be of type "string"');if(isFunction(ld)&&(ud=ld,ld={}),!isFunction(ud))throw new TypeError('callback should be of type "function"');var dd,pd,fd,md=vd=>{if(vd)return ud(vd);(void 0)(dd,od,ud)};index.waterfall([vd=>this.statObject(qa,nd,ld,vd),(vd,Ad)=>{fd=vd,(void 0)(pathBrowserify.dirname(od),{recursive:!0},Nd=>Ad(Nd))},vd=>{dd=`${od}.${fd.etag}.part.minio`,(void 0)(dd,(Ad,Nd)=>{var Od=0;if(Ad)pd=(void 0)(dd,{flags:"w"});else{if(fd.size===Nd.size)return md();Od=Nd.size,pd=(void 0)(dd,{flags:"a"})}this.getPartialObject(qa,nd,Od,0,ld,vd)})},(vd,Ad)=>{pipesetup(vd,pd).on("error",Nd=>Ad(Nd)).on("finish",Ad)},vd=>(void 0)(dd,vd),(vd,Ad)=>{if(vd.size===fd.size)return Ad();Ad(new Error("Size mismatch between downloaded file and the object"))}],md)}getObject(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(isFunction(od)&&(ld=od,od={}),!isFunction(ld))throw new TypeError('callback should be of type "function"');this.getPartialObject(qa,nd,0,0,od,ld)}getPartialObject(qa,nd,od,ld,ud={},dd){if(isFunction(ld)&&(dd=ld,ld=0),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isNumber(od))throw new TypeError('offset should be of type "number"');if(!isNumber(ld))throw new TypeError('length should be of type "number"');if(isFunction(ud)&&(dd=ud,ud={}),!isFunction(dd))throw new TypeError('callback should be of type "function"');var pd="";(od||ld)&&(od?pd=`bytes=${+od}-`:(pd="bytes=0-",od=0),ld&&(pd+=`${+ld+od-1}`));var fd={};pd!==""&&(fd.range=pd);var md=[200];pd&&md.push(206);var vd="GET",Ad=queryString.stringify(ud);this.makeRequest({method:vd,bucketName:qa,objectName:nd,headers:fd,query:Ad},"",md,"",!0,dd)}fPutObject(qa,nd,od,ld,ud){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isString(od))throw new TypeError('filePath should be of type "string"');if(isFunction(ld)&&(ud=ld,ld={}),!isObject(ld))throw new TypeError('metaData should be of type "object"');ld=insertContentType(ld,od),(void 0)(od,(dd,pd)=>dd?ud(dd):this.putObject(qa,nd,(void 0)(od),pd.size,ld,ud))}putObject(qa,nd,od,ld,ud,dd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(isFunction(ld)?(dd=ld,ud={}):isFunction(ud)&&(dd=ud,ud={}),isObject(ld)&&(ud=ld),ud=prependXAMZMeta(ud),typeof od=="string"||od instanceof Buffer$4)ld=od.length,od=readableStream(od);else if(!isReadableStream(od))throw new TypeError('third argument should be of type "stream.Readable" or "Buffer" or "string"');if(!isFunction(dd))throw new TypeError('callback should be of type "function"');if(isNumber(ld)&&ld<0)throw new InvalidArgumentError(`size cannot be negative, given size: ${ld}`);isNumber(ld)||(ld=this.maxObjectSize),ld=this.calculatePartSize(ld);let pd=new BlockStream2({size:ld,zeroPadding:!1}),fd=new ObjectUploader(this,qa,nd,ld,ud,dd);pipesetup(od,pd,fd)}copyObjectV1(qa,nd,od,ld,ud){var dd=qa,pd=nd,fd=od,md,vd;if(typeof ld=="function"&&ud===void 0?(md=null,vd=ld):(md=ld,vd=ud),!isValidBucketName(dd))throw new InvalidBucketNameError("Invalid bucket name: "+dd);if(!isValidObjectName(pd))throw new InvalidObjectNameError(`Invalid object name: ${pd}`);if(!isString(fd))throw new TypeError('srcObject should be of type "string"');if(fd==="")throw new InvalidPrefixError("Empty source prefix");if(md!==null&&!(md instanceof CopyConditions))throw new TypeError('conditions should be of type "CopyConditions"');var Ad={};Ad["x-amz-copy-source"]=uriResourceEscape(fd),md!==null&&(md.modified!==""&&(Ad["x-amz-copy-source-if-modified-since"]=md.modified),md.unmodified!==""&&(Ad["x-amz-copy-source-if-unmodified-since"]=md.unmodified),md.matchETag!==""&&(Ad["x-amz-copy-source-if-match"]=md.matchETag),md.matchEtagExcept!==""&&(Ad["x-amz-copy-source-if-none-match"]=md.matchETagExcept));var Nd="PUT";this.makeRequest({method:Nd,bucketName:dd,objectName:pd,headers:Ad},"",[200],"",!0,(Od,kd)=>{if(Od)return vd(Od);var Ld=getCopyObjectTransformer();pipesetup(kd,Ld).on("error",Gd=>vd(Gd)).on("data",Gd=>vd(null,Gd))})}copyObjectV2(qa,nd,od){if(!(qa instanceof CopySourceOptions))throw new InvalidArgumentError("sourceConfig should of type CopySourceOptions ");if(!(nd instanceof CopyDestinationOptions))throw new InvalidArgumentError("destConfig should of type CopyDestinationOptions ");if(!nd.validate()||!nd.validate())return!1;if(!isFunction(od))throw new TypeError('callback should be of type "function"');const ld=Object.assign({},qa.getHeaders(),nd.getHeaders()),ud=nd.Bucket,dd=nd.Object;this.makeRequest({method:"PUT",bucketName:ud,objectName:dd,headers:ld},"",[200],"",!0,(fd,md)=>{if(fd)return od(fd);const vd=getCopyObjectTransformer();pipesetup(md,vd).on("error",Ad=>od(Ad)).on("data",Ad=>{const Nd=md.headers,Od={Bucket:nd.Bucket,Key:nd.Object,LastModified:Ad.LastModified,MetaData:extractMetadata(Nd),VersionId:getVersionId(Nd),SourceVersionId:getSourceVersionId(Nd),Etag:sanitizeETag(Nd.etag),Size:+Nd["content-length"]};return od(null,Od)})})}copyObject(...qa){return qa[0]instanceof CopySourceOptions&&qa[1]instanceof CopyDestinationOptions?this.copyObjectV2(...arguments):this.copyObjectV1(...arguments)}listObjectsQuery(qa,nd,od,ld={}){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isString(od))throw new TypeError('marker should be of type "string"');let{Delimiter:ud,MaxKeys:dd,IncludeVersion:pd}=ld;if(!isObject(ld))throw new TypeError('listQueryOpts should be of type "object"');if(!isString(ud))throw new TypeError('Delimiter should be of type "string"');if(!isNumber(dd))throw new TypeError('MaxKeys should be of type "number"');const fd=[];fd.push(`prefix=${uriEscape(nd)}`),fd.push(`delimiter=${uriEscape(ud)}`),fd.push("encoding-type=url"),pd&&fd.push("versions"),od&&(od=uriEscape(od),pd?fd.push(`key-marker=${od}`):fd.push(`marker=${od}`)),dd&&(dd>=1e3&&(dd=1e3),fd.push(`max-keys=${dd}`)),fd.sort();var md="";fd.length>0&&(md=`${fd.join("&")}`);var vd="GET",Ad=getListObjectsTransformer();return this.makeRequest({method:vd,bucketName:qa,query:md},"",[200],"",!0,(Nd,Od)=>{if(Nd)return Ad.emit("error",Nd);pipesetup(Od,Ad)}),Ad}listObjects(qa,nd,od,ld={}){if(nd===void 0&&(nd=""),od===void 0&&(od=!1),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidPrefix(nd))throw new InvalidPrefixError(`Invalid prefix : ${nd}`);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isBoolean(od))throw new TypeError('recursive should be of type "boolean"');if(!isObject(ld))throw new TypeError('listOpts should be of type "object"');var ud="";const dd={Delimiter:od?"":"/",MaxKeys:1e3,IncludeVersion:ld.IncludeVersion};var pd=[],fd=!1,md=streamBrowserify.Readable({objectMode:!0});return md._read=()=>{if(pd.length){md.push(pd.shift());return}if(fd)return md.push(null);this.listObjectsQuery(qa,nd,ud,dd).on("error",vd=>md.emit("error",vd)).on("data",vd=>{vd.isTruncated?ud=vd.nextMarker||vd.versionIdMarker:fd=!0,pd=vd.objects,md._read()})},md}listObjectsV2Query(qa,nd,od,ld,ud,dd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isString(od))throw new TypeError('continuationToken should be of type "string"');if(!isString(ld))throw new TypeError('delimiter should be of type "string"');if(!isNumber(ud))throw new TypeError('maxKeys should be of type "number"');if(!isString(dd))throw new TypeError('startAfter should be of type "string"');var pd=[];pd.push("list-type=2"),pd.push("encoding-type=url"),pd.push(`prefix=${uriEscape(nd)}`),pd.push(`delimiter=${uriEscape(ld)}`),od&&(od=uriEscape(od),pd.push(`continuation-token=${od}`)),dd&&(dd=uriEscape(dd),pd.push(`start-after=${dd}`)),ud&&(ud>=1e3&&(ud=1e3),pd.push(`max-keys=${ud}`)),pd.sort();var fd="";pd.length>0&&(fd=`${pd.join("&")}`);var md="GET",vd=getListObjectsV2Transformer();return this.makeRequest({method:md,bucketName:qa,query:fd},"",[200],"",!0,(Ad,Nd)=>{if(Ad)return vd.emit("error",Ad);pipesetup(Nd,vd)}),vd}listObjectsV2(qa,nd,od,ld){if(nd===void 0&&(nd=""),od===void 0&&(od=!1),ld===void 0&&(ld=""),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidPrefix(nd))throw new InvalidPrefixError(`Invalid prefix : ${nd}`);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isBoolean(od))throw new TypeError('recursive should be of type "boolean"');if(!isString(ld))throw new TypeError('startAfter should be of type "string"');var ud=od?"":"/",dd="",pd=[],fd=!1,md=streamBrowserify.Readable({objectMode:!0});return md._read=()=>{if(pd.length){md.push(pd.shift());return}if(fd)return md.push(null);this.listObjectsV2Query(qa,nd,dd,ud,1e3,ld).on("error",vd=>md.emit("error",vd)).on("data",vd=>{vd.isTruncated?dd=vd.nextContinuationToken:fd=!0,pd=vd.objects,md._read()})},md}removeObjects(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!Array.isArray(nd))throw new InvalidArgumentError("objectsList should be a list");if(!isFunction(od))throw new TypeError('callback should be of type "function"');const ld=1e3,ud="delete",dd="POST";let pd=nd.reduce((vd,Ad)=>(vd.list.push(Ad),vd.list.length===ld&&(vd.listOfList.push(vd.list),vd.list=[]),vd),{listOfList:[],list:[]});pd.list.length>0&&pd.listOfList.push(pd.list);const fd=new Encoder,md=[];index.eachSeries(pd.listOfList,(vd,Ad)=>{var Nd=[];vd.forEach(function(Fd){isObject(Fd)?Nd.push({Key:Fd.name,VersionId:Fd.versionId}):Nd.push({Key:Fd})});let Od={Delete:{Quiet:!0,Object:Nd}},Ld=new xml2js.Builder({headless:!0}).buildObject(Od);Ld=Buffer$4.from(fd.encode(Ld));const Gd={};Gd["Content-MD5"]=toMd5(Ld);let jd;this.makeRequest({method:dd,bucketName:qa,query:ud,headers:Gd},Ld,[200],"",!0,(Fd,Ud)=>{if(Fd)return Ad(Fd);pipesetup(Ud,removeObjectsTransformer()).on("data",qd=>{jd=qd}).on("error",qd=>Ad(qd,null)).on("end",()=>(md.push(jd),Ad(null,jd)))})},()=>{od(null,_.flatten(md))})}getBucketPolicy(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isFunction(nd))throw new TypeError('callback should be of type "function"');this.makeRequest({method:"GET",bucketName:qa,query:"policy"},"",[200],"",!0,(ud,dd)=>{if(ud)return nd(ud);let pd=Buffer$4.from("");pipesetup(dd,getConcater()).on("data",fd=>pd=fd).on("error",nd).on("end",()=>{nd(null,pd.toString())})})}setBucketPolicy(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isString(nd))throw new InvalidBucketPolicyError(`Invalid bucket policy: ${nd} - must be "string"`);if(!isFunction(od))throw new TypeError('callback should be of type "function"');let ld="DELETE",ud="policy";nd&&(ld="PUT"),this.makeRequest({method:ld,bucketName:qa,query:ud},nd,[204],"",!1,od)}presignedUrl(qa,nd,od,ld,ud,dd,pd){if(this.anonymous)throw new AnonymousRequestError("Presigned "+qa+" url cannot be generated for anonymous requests");if(isFunction(dd)&&(pd=dd,dd=new Date),isFunction(ud)&&(pd=ud,ud={},dd=new Date),isFunction(ld)&&(pd=ld,ud={},ld=24*60*60*7,dd=new Date),!isNumber(ld))throw new TypeError('expires should be of type "number"');if(!isObject(ud))throw new TypeError('reqParams should be of type "object"');if(!isValidDate(dd))throw new TypeError('requestDate should be of type "Date" and valid');if(!isFunction(pd))throw new TypeError('callback should be of type "function"');var fd=queryString.stringify(ud);this.getBucketRegion(nd,(md,vd)=>{if(md)return pd(md);var Ad,Nd=this.getRequestOptions({method:qa,region:vd,bucketName:nd,objectName:od,query:fd});this.checkAndRefreshCreds();try{Ad=presignSignatureV4(Nd,this.accessKey,this.secretKey,this.sessionToken,vd,dd,ld)}catch(Od){return pd(Od)}pd(null,Ad)})}presignedGetObject(qa,nd,od,ld,ud,dd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);isFunction(ld)&&(dd=ld,ld={},ud=new Date);var pd=["response-content-type","response-content-language","response-expires","response-cache-control","response-content-disposition","response-content-encoding"];return pd.forEach(fd=>{if(ld!==void 0&&ld[fd]!==void 0&&!isString(ld[fd]))throw new TypeError(`response header ${fd} should be of type "string"`)}),this.presignedUrl("GET",qa,nd,od,ld,ud,dd)}presignedPutObject(qa,nd,od,ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);return this.presignedUrl("PUT",qa,nd,od,ld)}newPostPolicy(){return new PostPolicy}presignedPostPolicy(qa,nd){if(this.anonymous)throw new AnonymousRequestError("Presigned POST policy cannot be generated for anonymous requests");if(!isObject(qa))throw new TypeError('postPolicy should be of type "object"');if(!isFunction(nd))throw new TypeError('cb should be of type "function"');this.getBucketRegion(qa.formData.bucket,(od,ld)=>{if(od)return nd(od);var ud=new Date,dd=makeDateLong(ud);if(this.checkAndRefreshCreds(),!qa.policy.expiration){var pd=new Date;pd.setSeconds(24*60*60*7),qa.setExpires(pd)}qa.policy.conditions.push(["eq","$x-amz-date",dd]),qa.formData["x-amz-date"]=dd,qa.policy.conditions.push(["eq","$x-amz-algorithm","AWS4-HMAC-SHA256"]),qa.formData["x-amz-algorithm"]="AWS4-HMAC-SHA256",qa.policy.conditions.push(["eq","$x-amz-credential",this.accessKey+"/"+getScope(ld,ud)]),qa.formData["x-amz-credential"]=this.accessKey+"/"+getScope(ld,ud),this.sessionToken&&(qa.policy.conditions.push(["eq","$x-amz-security-token",this.sessionToken]),qa.formData["x-amz-security-token"]=this.sessionToken);var fd=Buffer$4.from(JSON.stringify(qa.policy)).toString("base64");qa.formData.policy=fd;var md=postPresignSignatureV4(ld,ud,this.secretKey,fd);qa.formData["x-amz-signature"]=md;var vd={};vd.region=ld,vd.bucketName=qa.formData.bucket;var Ad=this.getRequestOptions(vd),Nd=this.port==80||this.port===443?"":`:${this.port.toString()}`,Od=`${Ad.protocol}//${Ad.host}${Nd}${Ad.path}`;nd(null,{postURL:Od,formData:qa.formData})})}completeMultipartUpload(qa,nd,od,ld,ud){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isString(od))throw new TypeError('uploadId should be of type "string"');if(!isObject(ld))throw new TypeError('etags should be of type "Array"');if(!isFunction(ud))throw new TypeError('cb should be of type "function"');if(!od)throw new InvalidArgumentError("uploadId cannot be empty");var dd="POST",pd=`uploadId=${uriEscape(od)}`,fd=[];ld.forEach(Ad=>{fd.push({Part:[{PartNumber:Ad.part},{ETag:Ad.etag}]})});var md={CompleteMultipartUpload:fd},vd=Xml(md);this.makeRequest({method:dd,bucketName:qa,objectName:nd,query:pd},vd,[200],"",!0,(Ad,Nd)=>{if(Ad)return ud(Ad);var Od=getCompleteMultipartTransformer();pipesetup(Nd,Od).on("error",kd=>ud(kd)).on("data",kd=>{if(kd.errCode)ud(new S3Error(kd.errMessage));else{const Ld={etag:kd.etag,versionId:getVersionId(Nd.headers)};ud(null,Ld)}})})}listIncompleteUploadsQuery(qa,nd,od,ld,ud){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isString(od))throw new TypeError('keyMarker should be of type "string"');if(!isString(ld))throw new TypeError('uploadIdMarker should be of type "string"');if(!isString(ud))throw new TypeError('delimiter should be of type "string"');var dd=[];dd.push(`prefix=${uriEscape(nd)}`),dd.push(`delimiter=${uriEscape(ud)}`),od&&(od=uriEscape(od),dd.push(`key-marker=${od}`)),ld&&dd.push(`upload-id-marker=${ld}`);var pd=1e3;dd.push(`max-uploads=${pd}`),dd.sort(),dd.unshift("uploads");var fd="";dd.length>0&&(fd=`${dd.join("&")}`);var md="GET",vd=getListMultipartTransformer();return this.makeRequest({method:md,bucketName:qa,query:fd},"",[200],"",!0,(Ad,Nd)=>{if(Ad)return vd.emit("error",Ad);pipesetup(Nd,vd)}),vd}findUploadId(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isFunction(od))throw new TypeError('cb should be of type "function"');var ld,ud=(dd,pd)=>{this.listIncompleteUploadsQuery(qa,nd,dd,pd,"").on("error",fd=>od(fd)).on("data",fd=>{if(fd.uploads.forEach(md=>{if(md.key===nd&&(!ld||md.initiated.getTime()>ld.initiated.getTime())){ld=md;return}}),fd.isTruncated){ud(fd.nextKeyMarker,fd.nextUploadIdMarker);return}if(ld)return od(null,ld.uploadId);od(null,void 0)})};ud("","")}setBucketNotification(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isObject(nd))throw new TypeError('notification config should be of type "Object"');if(!isFunction(od))throw new TypeError('callback should be of type "function"');var ld="PUT",ud="notification",dd=new xml2js.Builder({rootName:"NotificationConfiguration",renderOpts:{pretty:!1},headless:!0}),pd=dd.buildObject(nd);this.makeRequest({method:ld,bucketName:qa,query:ud},pd,[200],"",!1,od)}removeAllBucketNotification(qa,nd){this.setBucketNotification(qa,new NotificationConfig,nd)}getBucketNotification(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new TypeError('callback should be of type "function"');var od="GET",ld="notification";this.makeRequest({method:od,bucketName:qa,query:ld},"",[200],"",!0,(ud,dd)=>{if(ud)return nd(ud);var pd=getBucketNotificationTransformer(),fd;pipesetup(dd,pd).on("data",md=>fd=md).on("error",md=>nd(md)).on("end",()=>nd(null,fd))})}listenBucketNotification(qa,nd,od,ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isString(nd))throw new TypeError("prefix must be of type string");if(!isString(od))throw new TypeError("suffix must be of type string");if(!Array.isArray(ld))throw new TypeError("events must be of type Array");let ud=new NotificationPoller(this,qa,nd,od,ld);return ud.start(),ud}getBucketVersioning(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new InvalidArgumentError('callback should be of type "function"');var od="GET",ld="versioning";this.makeRequest({method:od,bucketName:qa,query:ld},"",[200],"",!0,(ud,dd)=>{if(ud)return nd(ud);let pd=Buffer$4.from("");pipesetup(dd,bucketVersioningTransformer()).on("data",fd=>{pd=fd}).on("error",nd).on("end",()=>{nd(null,pd)})})}setBucketVersioning(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!Object.keys(nd).length)throw new InvalidArgumentError('versionConfig should be of type "object"');if(!isFunction(od))throw new TypeError('callback should be of type "function"');var ld="PUT",ud="versioning",dd=new xml2js.Builder({rootName:"VersioningConfiguration",renderOpts:{pretty:!1},headless:!0}),pd=dd.buildObject(nd);this.makeRequest({method:ld,bucketName:qa,query:ud},pd,[200],"",!1,od)}setTagging(qa){const{bucketName:nd,objectName:od,tags:ld,putOpts:ud={},cb:dd}=qa,pd="PUT";let fd="tagging";ud&&ud.versionId&&(fd=`${fd}&versionId=${ud.versionId}`);const md=[];for(const[Gd,jd]of Object.entries(ld))md.push({Key:Gd,Value:jd});const vd={Tagging:{TagSet:{Tag:md}}},Ad=new Encoder,Nd={};let kd=new xml2js.Builder({headless:!0,renderOpts:{pretty:!1}}).buildObject(vd);kd=Buffer$4.from(Ad.encode(kd)),Nd["Content-MD5"]=toMd5(kd);const Ld={method:pd,bucketName:nd,query:fd,headers:Nd};od&&(Ld.objectName=od),Nd["Content-MD5"]=toMd5(kd),this.makeRequest(Ld,kd,[200],"",!1,dd)}setBucketTagging(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isObject(nd))throw new InvalidArgumentError('tags should be of type "object"');if(Object.keys(nd).length>10)throw new InvalidArgumentError('maximum tags allowed is 10"');if(!isFunction(od))throw new InvalidArgumentError('callback should be of type "function"');return this.setTagging({bucketName:qa,tags:nd,cb:od})}setObjectTagging(qa,nd,od,ld={},ud){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidBucketNameError("Invalid object name: "+nd);if(isFunction(ld)&&(ud=ld,ld={}),!isObject(od))throw new InvalidArgumentError('tags should be of type "object"');if(Object.keys(od).length>10)throw new InvalidArgumentError('Maximum tags allowed is 10"');if(!isFunction(ud))throw new TypeError('callback should be of type "function"');return this.setTagging({bucketName:qa,objectName:nd,tags:od,putOpts:ld,cb:ud})}removeTagging({bucketName:qa,objectName:nd,removeOpts:od,cb:ld}){const ud="DELETE";let dd="tagging";od&&Object.keys(od).length&&od.versionId&&(dd=`${dd}&versionId=${od.versionId}`);const pd={method:ud,bucketName:qa,objectName:nd,query:dd};nd&&(pd.objectName=nd),this.makeRequest(pd,"",[200,204],"",!0,ld)}removeBucketTagging(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new TypeError('callback should be of type "function"');return this.removeTagging({bucketName:qa,cb:nd})}removeObjectTagging(qa,nd,od,ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidBucketNameError("Invalid object name: "+nd);if(isFunction(od)&&(ld=od,od={}),od&&Object.keys(od).length&&!isObject(od))throw new InvalidArgumentError('removeOpts should be of type "object"');if(!isFunction(ld))throw new TypeError('callback should be of type "function"');return this.removeTagging({bucketName:qa,objectName:nd,removeOpts:od,cb:ld})}getBucketTagging(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);const ud={method:"GET",bucketName:qa,query:"tagging"};this.makeRequest(ud,"",[200],"",!0,(dd,pd)=>{var fd=getTagsTransformer();if(dd)return nd(dd);let md;pipesetup(pd,fd).on("data",vd=>md=vd).on("error",vd=>nd(vd)).on("end",()=>nd(null,md))})}getObjectTagging(qa,nd,od={},ld=()=>!1){const ud="GET";let dd="tagging";if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidBucketNameError("Invalid object name: "+nd);if(isFunction(od)&&(ld=od,od={}),!isObject(od))throw new InvalidArgumentError('getOpts should be of type "object"');if(!isFunction(ld))throw new TypeError('callback should be of type "function"');od&&od.versionId&&(dd=`${dd}&versionId=${od.versionId}`);const pd={method:ud,bucketName:qa,query:dd};nd&&(pd.objectName=nd),this.makeRequest(pd,"",[200],"",!0,(fd,md)=>{const vd=getTagsTransformer();if(fd)return ld(fd);let Ad;pipesetup(md,vd).on("data",Nd=>Ad=Nd).on("error",Nd=>ld(Nd)).on("end",()=>ld(null,Ad))})}applyBucketLifecycle(qa,nd,od){const ld="PUT",ud="lifecycle",dd=new Encoder,pd={};let md=new xml2js.Builder({rootName:"LifecycleConfiguration",headless:!0,renderOpts:{pretty:!1}}).buildObject(nd);md=Buffer$4.from(dd.encode(md));const vd={method:ld,bucketName:qa,query:ud,headers:pd};pd["Content-MD5"]=toMd5(md),this.makeRequest(vd,md,[200],"",!1,od)}removeBucketLifecycle(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);this.makeRequest({method:"DELETE",bucketName:qa,query:"lifecycle"},"",[204],"",!1,nd)}setBucketLifecycle(qa,nd=null,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);_.isEmpty(nd)?this.removeBucketLifecycle(qa,od):this.applyBucketLifecycle(qa,nd,od)}getBucketLifecycle(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);const ud={method:"GET",bucketName:qa,query:"lifecycle"};this.makeRequest(ud,"",[200],"",!0,(dd,pd)=>{const fd=lifecycleTransformer();if(dd)return nd(dd);let md;pipesetup(pd,fd).on("data",vd=>md=vd).on("error",vd=>nd(vd)).on("end",()=>nd(null,md))})}setObjectLockConfig(qa,nd={},od){const ld=[RETENTION_MODES.COMPLIANCE,RETENTION_MODES.GOVERNANCE],ud=[RETENTION_VALIDITY_UNITS.DAYS,RETENTION_VALIDITY_UNITS.YEARS];if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(nd.mode&&!ld.includes(nd.mode))throw new TypeError(`lockConfigOpts.mode should be one of ${ld}`);if(nd.unit&&!ud.includes(nd.unit))throw new TypeError(`lockConfigOpts.unit should be one of ${ud}`);if(nd.validity&&!isNumber(nd.validity))throw new TypeError("lockConfigOpts.validity should be a number");const dd="PUT",pd="object-lock";let fd={ObjectLockEnabled:"Enabled"};const md=Object.keys(nd);if(md.length>0){if(_.difference(md,["unit","mode","validity"]).length!==0)throw new TypeError("lockConfigOpts.mode,lockConfigOpts.unit,lockConfigOpts.validity all the properties should be specified.");fd.Rule={DefaultRetention:{}},nd.mode&&(fd.Rule.DefaultRetention.Mode=nd.mode),nd.unit===RETENTION_VALIDITY_UNITS.DAYS?fd.Rule.DefaultRetention.Days=nd.validity:nd.unit===RETENTION_VALIDITY_UNITS.YEARS&&(fd.Rule.DefaultRetention.Years=nd.validity)}const Ad=new xml2js.Builder({rootName:"ObjectLockConfiguration",renderOpts:{pretty:!1},headless:!0}).buildObject(fd),Nd={};Nd["Content-MD5"]=toMd5(Ad),this.makeRequest({method:dd,bucketName:qa,query:pd,headers:Nd},Ad,[200],"",!1,od)}getObjectLockConfig(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new InvalidArgumentError('callback should be of type "function"');this.makeRequest({method:"GET",bucketName:qa,query:"object-lock"},"",[200],"",!0,(ud,dd)=>{if(ud)return nd(ud);let pd=Buffer$4.from("");pipesetup(dd,objectLockTransformer()).on("data",fd=>{pd=fd}).on("error",nd).on("end",()=>{nd(null,pd)})})}putObjectRetention(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(isObject(od)){if(od.governanceBypass&&!isBoolean(od.governanceBypass))throw new InvalidArgumentError("Invalid value for governanceBypass",od.governanceBypass);if(od.mode&&![RETENTION_MODES.COMPLIANCE,RETENTION_MODES.GOVERNANCE].includes(od.mode))throw new InvalidArgumentError("Invalid object retention mode ",od.mode);if(od.retainUntilDate&&!isString(od.retainUntilDate))throw new InvalidArgumentError("Invalid value for retainUntilDate",od.retainUntilDate);if(od.versionId&&!isString(od.versionId))throw new InvalidArgumentError("Invalid value for versionId",od.versionId)}else throw new InvalidArgumentError('retentionOpts should be of type "object"');if(!isFunction(ld))throw new TypeError('callback should be of type "function"');const ud="PUT";let dd="retention";const pd={};od.governanceBypass&&(pd["X-Amz-Bypass-Governance-Retention"]=!0);const fd=new xml2js.Builder({rootName:"Retention",renderOpts:{pretty:!1},headless:!0}),md={};od.mode&&(md.Mode=od.mode),od.retainUntilDate&&(md.RetainUntilDate=od.retainUntilDate),od.versionId&&(dd+=`&versionId=${od.versionId}`);let vd=fd.buildObject(md);pd["Content-MD5"]=toMd5(vd),this.makeRequest({method:ud,bucketName:qa,objectName:nd,query:dd,headers:pd},vd,[200,204],"",!1,ld)}getObjectRetention(qa,nd,od,ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(isObject(od)){if(od.versionId&&!isString(od.versionId))throw new InvalidArgumentError('VersionID should be of type "string"')}else throw new InvalidArgumentError('callback should be of type "object"');if(ld&&!isFunction(ld))throw new InvalidArgumentError('callback should be of type "function"');const ud="GET";let dd="retention";od.versionId&&(dd+=`&versionId=${od.versionId}`),this.makeRequest({method:ud,bucketName:qa,objectName:nd,query:dd},"",[200],"",!0,(pd,fd)=>{if(pd)return ld(pd);let md=Buffer$4.from("");pipesetup(fd,objectRetentionTransformer()).on("data",vd=>{md=vd}).on("error",ld).on("end",()=>{ld(null,md)})})}setBucketEncryption(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(isFunction(nd)&&(od=nd,nd=null),!_.isEmpty(nd)&&nd.Rule.length>1)throw new InvalidArgumentError("Invalid Rule length. Only one rule is allowed.: "+nd.Rule);if(od&&!isFunction(od))throw new TypeError('callback should be of type "function"');let ld=nd;_.isEmpty(nd)&&(ld={Rule:[{ApplyServerSideEncryptionByDefault:{SSEAlgorithm:"AES256"}}]});let ud="PUT",dd="encryption",fd=new xml2js.Builder({rootName:"ServerSideEncryptionConfiguration",renderOpts:{pretty:!1},headless:!0}).buildObject(ld);const md={};md["Content-MD5"]=toMd5(fd),this.makeRequest({method:ud,bucketName:qa,query:dd,headers:md},fd,[200],"",!1,od)}getBucketEncryption(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new InvalidArgumentError('callback should be of type "function"');this.makeRequest({method:"GET",bucketName:qa,query:"encryption"},"",[200],"",!0,(ud,dd)=>{if(ud)return nd(ud);let pd=Buffer$4.from("");pipesetup(dd,bucketEncryptionTransformer()).on("data",fd=>{pd=fd}).on("error",nd).on("end",()=>{nd(null,pd)})})}removeBucketEncryption(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new InvalidArgumentError('callback should be of type "function"');this.makeRequest({method:"DELETE",bucketName:qa,query:"encryption"},"",[204],"",!1,nd)}getObjectLegalHold(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(isFunction(od)&&(ld=od,od={}),isObject(od)){if(Object.keys(od).length>0&&od.versionId&&!isString(od.versionId))throw new TypeError("versionId should be of type string.:",od.versionId)}else throw new TypeError('getOpts should be of type "Object"');if(!isFunction(ld))throw new InvalidArgumentError('callback should be of type "function"');const ud="GET";let dd="legal-hold";od.versionId&&(dd+=`&versionId=${od.versionId}`),this.makeRequest({method:ud,bucketName:qa,objectName:nd,query:dd},"",[200],"",!0,(pd,fd)=>{if(pd)return ld(pd);let md=Buffer$4.from("");pipesetup(fd,objectLegalHoldTransformer()).on("data",vd=>{md=vd}).on("error",ld).on("end",()=>{ld(null,md)})})}setObjectLegalHold(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);const ud={status:LEGAL_HOLD_STATUS.ENABLED};if(isFunction(od)&&(ld=od,od=ud),isObject(od)){if(![LEGAL_HOLD_STATUS.ENABLED,LEGAL_HOLD_STATUS.DISABLED].includes(od.status))throw new TypeError("Invalid status: "+od.status);if(od.versionId&&!od.versionId.length)throw new TypeError("versionId should be of type string.:"+od.versionId)}else throw new TypeError('setOpts should be of type "Object"');if(!isFunction(ld))throw new InvalidArgumentError('callback should be of type "function"');_.isEmpty(od)&&(od={defaultOpts:ud});const dd="PUT";let pd="legal-hold";od.versionId&&(pd+=`&versionId=${od.versionId}`);let fd={Status:od.status};const vd=new xml2js.Builder({rootName:"LegalHold",renderOpts:{pretty:!1},headless:!0}).buildObject(fd),Ad={};Ad["Content-MD5"]=toMd5(vd),this.makeRequest({method:dd,bucketName:qa,objectName:nd,query:pd,headers:Ad},vd,[200],"",!1,ld)}uploadPartCopy(qa,nd){const{bucketName:od,objectName:ld,uploadID:ud,partNumber:dd,headers:pd}=qa,fd="PUT";let md=`uploadId=${ud}&partNumber=${dd}`;const vd={method:fd,bucketName:od,objectName:ld,query:md,headers:pd};return this.makeRequest(vd,"",[200],"",!0,(Ad,Nd)=>{let Od=Buffer$4.from("");if(Ad)return nd(Ad);pipesetup(Nd,uploadPartTransformer()).on("data",kd=>{Od=kd}).on("error",nd).on("end",()=>{let kd={etag:sanitizeETag(Od.ETag),key:ld,part:dd};nd(null,kd)})})}composeObject(qa={},nd=[],od){const ld=this,ud=nd.length;if(!Array.isArray(nd))throw new InvalidArgumentError("sourceConfig should an array of CopySourceOptions ");if(!(qa instanceof CopyDestinationOptions))throw new InvalidArgumentError("destConfig should of type CopyDestinationOptions ");if(ud<1||ud>PART_CONSTRAINTS.MAX_PARTS_COUNT)throw new InvalidArgumentError(`"There must be as least one and up to ${PART_CONSTRAINTS.MAX_PARTS_COUNT} source objects.`);if(!isFunction(od))throw new TypeError('callback should be of type "function"');for(let Ad=0;Ad<ud;Ad++)if(!nd[Ad].validate())return!1;if(!qa.validate())return!1;const dd=Ad=>{let Nd={};return _.isEmpty(Ad.VersionID)||(Nd={versionId:Ad.VersionID}),Nd},pd=[];let fd=0,md=0;const vd=nd.map(Ad=>ld.statObject(Ad.Bucket,Ad.Object,dd(Ad)));return Promise.all(vd).then(Ad=>{const Nd=Ad.map((jd,Fd)=>{const Ud=nd[Fd];let qd=jd.size;if(Ud.MatchRange){const zd=Ud.Start,Wd=Ud.End;if(Wd>=qd||zd<0)throw new InvalidArgumentError(`CopySrcOptions ${Fd} has invalid segment-to-copy [${zd}, ${Wd}] (size is ${qd})`);qd=Wd-zd+1}if(qd<PART_CONSTRAINTS.ABS_MIN_PART_SIZE&&Fd<ud-1)throw new InvalidArgumentError(`CopySrcOptions ${Fd} is too small (${qd}) and it is not the last part.`);if(fd+=qd,fd>PART_CONSTRAINTS.MAX_MULTIPART_PUT_OBJECT_SIZE)throw new InvalidArgumentError(`Cannot compose an object of size ${fd} (> 5TiB)`);if(pd[Fd]=qd,md+=partsRequired(qd),md>PART_CONSTRAINTS.MAX_PARTS_COUNT)throw new InvalidArgumentError(`Your proposed compose object requires more than ${PART_CONSTRAINTS.MAX_PARTS_COUNT} parts`);return jd});if(md===1&&fd<=PART_CONSTRAINTS.MAX_PART_SIZE||fd===0)return this.copyObject(nd[0],qa,od);for(let jd=0;jd<ud;jd++)nd[jd].MatchETag=Nd[jd].etag;const Od=Nd.map((jd,Fd)=>calculateEvenSplits(pd[Fd],nd[Fd]));function kd(jd){const Fd=[];return Od.forEach((Ud,qd)=>{const{startIndex:zd,endIndex:Wd,objInfo:Jd}=Ud;let _f=qd+1;const Xd=Array.from(zd),pf=nd[qd].getHeaders();Xd.forEach((mf,Sf)=>{let Tf=Wd[Sf];const Af=`${Jd.Bucket}/${Jd.Object}`;pf["x-amz-copy-source"]=`${Af}`,pf["x-amz-copy-source-range"]=`bytes=${mf}-${Tf}`;const Ef={bucketName:qa.Bucket,objectName:qa.Object,uploadID:jd,partNumber:_f,headers:pf,sourceObj:Af};Fd.push(Ef)})}),Fd}const Ld=jd=>{const Fd=kd(jd);index.map(Fd,ld.uploadPartCopy.bind(ld),(Ud,qd)=>{if(Ud){this.abortMultipartUpload(qa.Bucket,qa.Object,jd).then(()=>od(),Wd=>od(Wd));return}const zd=qd.map(Wd=>({etag:Wd.etag,part:Wd.part}));return ld.completeMultipartUpload(qa.Bucket,qa.Object,jd,zd,od)})},Gd=qa.getHeaders();ld.initiateNewMultipartUpload(qa.Bucket,qa.Object,Gd).then(jd=>{Ld(jd)},jd=>{od(jd,null)})}).catch(Ad=>{od(Ad,null)})}selectObjectContent(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(_.isEmpty(od))throw new TypeError("valid select configuration is required");if(!isString(od.expression))throw new TypeError('sqlExpression should be of type "string"');if(_.isEmpty(od.inputSerialization))throw new TypeError("inputSerialization is required");if(!isObject(od.inputSerialization))throw new TypeError('inputSerialization should be of type "object"');if(_.isEmpty(od.outputSerialization))throw new TypeError("outputSerialization is required");if(!isObject(od.outputSerialization))throw new TypeError('outputSerialization should be of type "object"');if(!isFunction(ld))throw new TypeError('callback should be of type "function"');const ud="POST";let dd="select";dd+="&select-type=2";const pd=[{Expression:od.expression},{ExpressionType:od.expressionType||"SQL"},{InputSerialization:[od.inputSerialization]},{OutputSerialization:[od.outputSerialization]}];od.requestProgress&&pd.push({RequestProgress:od.requestProgress}),od.scanRange&&pd.push({ScanRange:od.scanRange});const md=new xml2js.Builder({rootName:"SelectObjectContentRequest",renderOpts:{pretty:!1},headless:!0}).buildObject(pd);this.makeRequest({method:ud,bucketName:qa,objectName:nd,query:dd},md,[200],"",!0,(vd,Ad)=>{if(vd)return ld(vd);let Nd;pipesetup(Ad,selectObjectContentTransformer()).on("data",Od=>{Nd=parseSelectObjectContentResponse(Od)}).on("error",ld).on("end",()=>{ld(null,Nd)})})}}Client.prototype.makeBucket=promisify(Client.prototype.makeBucket);Client.prototype.bucketExists=promisify(Client.prototype.bucketExists);Client.prototype.getObject=promisify(Client.prototype.getObject);Client.prototype.getPartialObject=promisify(Client.prototype.getPartialObject);Client.prototype.fGetObject=promisify(Client.prototype.fGetObject);Client.prototype.putObject=promisify(Client.prototype.putObject);Client.prototype.fPutObject=promisify(Client.prototype.fPutObject);Client.prototype.copyObject=promisify(Client.prototype.copyObject);Client.prototype.removeObjects=promisify(Client.prototype.removeObjects);Client.prototype.presignedUrl=promisify(Client.prototype.presignedUrl);Client.prototype.presignedGetObject=promisify(Client.prototype.presignedGetObject);Client.prototype.presignedPutObject=promisify(Client.prototype.presignedPutObject);Client.prototype.presignedPostPolicy=promisify(Client.prototype.presignedPostPolicy);Client.prototype.getBucketNotification=promisify(Client.prototype.getBucketNotification);Client.prototype.setBucketNotification=promisify(Client.prototype.setBucketNotification);Client.prototype.removeAllBucketNotification=promisify(Client.prototype.removeAllBucketNotification);Client.prototype.getBucketPolicy=promisify(Client.prototype.getBucketPolicy);Client.prototype.setBucketPolicy=promisify(Client.prototype.setBucketPolicy);Client.prototype.removeIncompleteUpload=promisify(Client.prototype.removeIncompleteUpload);Client.prototype.getBucketVersioning=promisify(Client.prototype.getBucketVersioning);Client.prototype.setBucketVersioning=promisify(Client.prototype.setBucketVersioning);Client.prototype.setBucketTagging=promisify(Client.prototype.setBucketTagging);Client.prototype.removeBucketTagging=promisify(Client.prototype.removeBucketTagging);Client.prototype.getBucketTagging=promisify(Client.prototype.getBucketTagging);Client.prototype.setObjectTagging=promisify(Client.prototype.setObjectTagging);Client.prototype.removeObjectTagging=promisify(Client.prototype.removeObjectTagging);Client.prototype.getObjectTagging=promisify(Client.prototype.getObjectTagging);Client.prototype.setBucketLifecycle=promisify(Client.prototype.setBucketLifecycle);Client.prototype.getBucketLifecycle=promisify(Client.prototype.getBucketLifecycle);Client.prototype.removeBucketLifecycle=promisify(Client.prototype.removeBucketLifecycle);Client.prototype.setObjectLockConfig=promisify(Client.prototype.setObjectLockConfig);Client.prototype.getObjectLockConfig=promisify(Client.prototype.getObjectLockConfig);Client.prototype.putObjectRetention=promisify(Client.prototype.putObjectRetention);Client.prototype.getObjectRetention=promisify(Client.prototype.getObjectRetention);Client.prototype.setBucketEncryption=promisify(Client.prototype.setBucketEncryption);Client.prototype.getBucketEncryption=promisify(Client.prototype.getBucketEncryption);Client.prototype.removeBucketEncryption=promisify(Client.prototype.removeBucketEncryption);Client.prototype.setObjectLegalHold=promisify(Client.prototype.setObjectLegalHold);Client.prototype.getObjectLegalHold=promisify(Client.prototype.getObjectLegalHold);Client.prototype.composeObject=promisify(Client.prototype.composeObject);Client.prototype.selectObjectContent=promisify(Client.prototype.selectObjectContent);Client.prototype.removeObject=callbackify(Client.prototype.removeObject);Client.prototype.statObject=callbackify(Client.prototype.statObject);Client.prototype.removeBucket=callbackify(Client.prototype.removeBucket);Client.prototype.listBuckets=callbackify(Client.prototype.listBuckets);Client.prototype.removeBucketReplication=callbackify(Client.prototype.removeBucketReplication);Client.prototype.setBucketReplication=callbackify(Client.prototype.setBucketReplication);Client.prototype.getBucketReplication=callbackify(Client.prototype.getBucketReplication);var __extends$3=function(){var Ra=function(qa,nd){return Ra=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(od,ld){od.__proto__=ld}||function(od,ld){for(var ud in ld)ld.hasOwnProperty(ud)&&(od[ud]=ld[ud])},Ra(qa,nd)};return function(qa,nd){Ra(qa,nd);function od(){this.constructor=qa}qa.prototype=nd===null?Object.create(nd):(od.prototype=nd.prototype,new od)}}(),QiniuErrorName;(function(Ra){Ra.InvalidFile="InvalidFile",Ra.InvalidToken="InvalidToken",Ra.InvalidMetadata="InvalidMetadata",Ra.InvalidChunkSize="InvalidChunkSize",Ra.InvalidCustomVars="InvalidCustomVars",Ra.NotAvailableUploadHost="NotAvailableUploadHost",Ra.ReadCacheFailed="ReadCacheFailed",Ra.InvalidCacheData="InvalidCacheData",Ra.WriteCacheFailed="WriteCacheFailed",Ra.RemoveCacheFailed="RemoveCacheFailed",Ra.GetCanvasContextFailed="GetCanvasContextFailed",Ra.UnsupportedFileType="UnsupportedFileType",Ra.FileReaderReadFailed="FileReaderReadFailed",Ra.NotAvailableXMLHttpRequest="NotAvailableXMLHttpRequest",Ra.InvalidProgressEventTarget="InvalidProgressEventTarget",Ra.RequestError="RequestError"})(QiniuErrorName||(QiniuErrorName={}));var QiniuError=function(){function Ra(qa,nd){this.name=qa,this.message=nd,this.stack=new Error().stack}return Ra}(),QiniuRequestError=function(Ra){__extends$3(qa,Ra);function qa(nd,od,ld,ud){var dd=Ra.call(this,QiniuErrorName.RequestError,ld)||this;return dd.code=nd,dd.reqId=od,dd.isRequestError=!0,dd.data=ud,dd}return qa}(QiniuError),QiniuNetworkError=function(Ra){__extends$3(qa,Ra);function qa(nd,od){return od===void 0&&(od=""),Ra.call(this,0,od,nd)||this}return qa}(QiniuRequestError),Pool=function(){function Ra(qa,nd){this.runTask=qa,this.limit=nd,this.aborted=!1,this.queue=[],this.processing=[]}return Ra.prototype.enqueue=function(qa){var nd=this;return new Promise(function(od,ld){nd.queue.push({task:qa,resolve:od,reject:ld}),nd.check()})},Ra.prototype.run=function(qa){var nd=this;this.queue=this.queue.filter(function(od){return od!==qa}),this.processing.push(qa),this.runTask(qa.task).then(function(){nd.processing=nd.processing.filter(function(od){return od!==qa}),qa.resolve(),nd.check()},function(od){return qa.reject(od)})},Ra.prototype.check=function(){var qa=this;if(!this.aborted){var nd=this.processing.length,od=this.limit-nd;this.queue.slice(0,od).forEach(function(ld){qa.run(ld)})}},Ra.prototype.abort=function(){this.queue=[],this.aborted=!0},Ra}(),__extends$2=function(){var Ra=function(qa,nd){return Ra=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(od,ld){od.__proto__=ld}||function(od,ld){for(var ud in ld)ld.hasOwnProperty(ud)&&(od[ud]=ld[ud])},Ra(qa,nd)};return function(qa,nd){Ra(qa,nd);function od(){this.constructor=qa}qa.prototype=nd===null?Object.create(nd):(od.prototype=nd.prototype,new od)}}(),__assign$6=function(){return __assign$6=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd<od;nd++){qa=arguments[nd];for(var ld in qa)Object.prototype.hasOwnProperty.call(qa,ld)&&(Ra[ld]=qa[ld])}return Ra},__assign$6.apply(this,arguments)},Subscription=function(){function Ra(){this.closed=!1}return Ra.prototype.unsubscribe=function(){this.closed||(this.closed=!0,this._unsubscribe&&this._unsubscribe())},Ra.prototype.add=function(qa){this._unsubscribe=qa},Ra}(),Subscriber=function(Ra){__extends$2(qa,Ra);function qa(nd,od,ld){var ud=Ra.call(this)||this;return ud.isStopped=!1,nd&&typeof nd=="object"?ud.destination=nd:ud.destination=__assign$6(__assign$6(__assign$6({},nd&&{next:nd}),od&&{error:od}),ld&&{complete:ld}),ud}return qa.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Ra.prototype.unsubscribe.call(this))},qa.prototype.next=function(nd){!this.isStopped&&this.destination.next&&this.destination.next(nd)},qa.prototype.error=function(nd){!this.isStopped&&this.destination.error&&(this.isStopped=!0,this.destination.error(nd))},qa.prototype.complete=function(nd){!this.isStopped&&this.destination.complete&&(this.isStopped=!0,this.destination.complete(nd))},qa}(Subscription),Observable=function(){function Ra(qa){this._subscribe=qa}return Ra.prototype.subscribe=function(qa,nd,od){var ld=new Subscriber(qa,nd,od);return ld.add(this._subscribe(ld)),ld},Ra}();function utf8Encode(Ra){if(Ra===null||typeof Ra>"u")return"";var qa=Ra+"",nd="",od,ld,ud=0;od=ld=0,ud=qa.length;for(var dd=0;dd<ud;dd++){var pd=qa.charCodeAt(dd),fd=null;if(pd<128)ld++;else if(pd>127&&pd<2048)fd=String.fromCharCode(pd>>6|192,pd&63|128);else if((pd&63488^55296)>0)fd=String.fromCharCode(pd>>12|224,pd>>6&63|128,pd&63|128);else{if((pd&64512^55296)>0)throw new RangeError("Unmatched trail surrogate at "+dd);var md=qa.charCodeAt(++dd);if((md&64512^56320)>0)throw new RangeError("Unmatched lead surrogate at "+(dd-1));pd=((pd&1023)<<10)+(md&1023)+65536,fd=String.fromCharCode(pd>>18|240,pd>>12&63|128,pd>>6&63|128,pd&63|128)}fd!==null&&(ld>od&&(nd+=qa.slice(od,ld)),nd+=fd,od=ld=dd+1)}return ld>od&&(nd+=qa.slice(od,ud)),nd}function utf8Decode(Ra){var qa=[],nd=0,od=0,ld=0;for(Ra+="";nd<Ra.length;){od=Ra.charCodeAt(nd)&255,ld=0,od<=191?(od=od&127,ld=1):od<=223?(od=od&31,ld=2):od<=239?(od=od&15,ld=3):(od=od&7,ld=4);for(var ud=1;ud<ld;++ud)od=od<<6|Ra.charCodeAt(ud+nd)&63;ld===4?(od-=65536,qa.push(String.fromCharCode(55296|od>>10&1023)),qa.push(String.fromCharCode(56320|od&1023))):qa.push(String.fromCharCode(od)),nd+=ld}return qa.join("")}function base64Encode(Ra){var qa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",nd,od,ld,ud,dd,pd,fd,md,vd=0,Ad=0,Nd="",Od=[];if(!Ra)return Ra;Ra=utf8Encode(Ra+"");do nd=Ra.charCodeAt(vd++),od=Ra.charCodeAt(vd++),ld=Ra.charCodeAt(vd++),md=nd<<16|od<<8|ld,ud=md>>18&63,dd=md>>12&63,pd=md>>6&63,fd=md&63,Od[Ad++]=qa.charAt(ud)+qa.charAt(dd)+qa.charAt(pd)+qa.charAt(fd);while(vd<Ra.length);switch(Nd=Od.join(""),Ra.length%3){case 1:Nd=Nd.slice(0,-2)+"==";break;case 2:Nd=Nd.slice(0,-1)+"=";break}return Nd}function base64Decode(Ra){var qa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",nd,od,ld,ud,dd,pd,fd,md,vd=0,Ad=0,Nd="",Od=[];if(!Ra)return Ra;Ra+="";do ud=qa.indexOf(Ra.charAt(vd++)),dd=qa.indexOf(Ra.charAt(vd++)),pd=qa.indexOf(Ra.charAt(vd++)),fd=qa.indexOf(Ra.charAt(vd++)),md=ud<<18|dd<<12|pd<<6|fd,nd=md>>16&255,od=md>>8&255,ld=md&255,pd===64?Od[Ad++]=String.fromCharCode(nd):fd===64?Od[Ad++]=String.fromCharCode(nd,od):Od[Ad++]=String.fromCharCode(nd,od,ld);while(vd<Ra.length);return Nd=Od.join(""),utf8Decode(Nd)}function urlSafeBase64Encode(Ra){return Ra=base64Encode(Ra),Ra.replace(/\//g,"_").replace(/\+/g,"-")}function urlSafeBase64Decode(Ra){return Ra=Ra.replace(/_/g,"/").replace(/-/g,"+"),base64Decode(Ra)}var sparkMd5={exports:{}};(function(Ra,qa){(function(nd){Ra.exports=nd()})(function(nd){var od=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function ld(jd,Fd){var Ud=jd[0],qd=jd[1],zd=jd[2],Wd=jd[3];Ud+=(qd&zd|~qd&Wd)+Fd[0]-680876936|0,Ud=(Ud<<7|Ud>>>25)+qd|0,Wd+=(Ud&qd|~Ud&zd)+Fd[1]-389564586|0,Wd=(Wd<<12|Wd>>>20)+Ud|0,zd+=(Wd&Ud|~Wd&qd)+Fd[2]+606105819|0,zd=(zd<<17|zd>>>15)+Wd|0,qd+=(zd&Wd|~zd&Ud)+Fd[3]-1044525330|0,qd=(qd<<22|qd>>>10)+zd|0,Ud+=(qd&zd|~qd&Wd)+Fd[4]-176418897|0,Ud=(Ud<<7|Ud>>>25)+qd|0,Wd+=(Ud&qd|~Ud&zd)+Fd[5]+1200080426|0,Wd=(Wd<<12|Wd>>>20)+Ud|0,zd+=(Wd&Ud|~Wd&qd)+Fd[6]-1473231341|0,zd=(zd<<17|zd>>>15)+Wd|0,qd+=(zd&Wd|~zd&Ud)+Fd[7]-45705983|0,qd=(qd<<22|qd>>>10)+zd|0,Ud+=(qd&zd|~qd&Wd)+Fd[8]+1770035416|0,Ud=(Ud<<7|Ud>>>25)+qd|0,Wd+=(Ud&qd|~Ud&zd)+Fd[9]-1958414417|0,Wd=(Wd<<12|Wd>>>20)+Ud|0,zd+=(Wd&Ud|~Wd&qd)+Fd[10]-42063|0,zd=(zd<<17|zd>>>15)+Wd|0,qd+=(zd&Wd|~zd&Ud)+Fd[11]-1990404162|0,qd=(qd<<22|qd>>>10)+zd|0,Ud+=(qd&zd|~qd&Wd)+Fd[12]+1804603682|0,Ud=(Ud<<7|Ud>>>25)+qd|0,Wd+=(Ud&qd|~Ud&zd)+Fd[13]-40341101|0,Wd=(Wd<<12|Wd>>>20)+Ud|0,zd+=(Wd&Ud|~Wd&qd)+Fd[14]-1502002290|0,zd=(zd<<17|zd>>>15)+Wd|0,qd+=(zd&Wd|~zd&Ud)+Fd[15]+1236535329|0,qd=(qd<<22|qd>>>10)+zd|0,Ud+=(qd&Wd|zd&~Wd)+Fd[1]-165796510|0,Ud=(Ud<<5|Ud>>>27)+qd|0,Wd+=(Ud&zd|qd&~zd)+Fd[6]-1069501632|0,Wd=(Wd<<9|Wd>>>23)+Ud|0,zd+=(Wd&qd|Ud&~qd)+Fd[11]+643717713|0,zd=(zd<<14|zd>>>18)+Wd|0,qd+=(zd&Ud|Wd&~Ud)+Fd[0]-373897302|0,qd=(qd<<20|qd>>>12)+zd|0,Ud+=(qd&Wd|zd&~Wd)+Fd[5]-701558691|0,Ud=(Ud<<5|Ud>>>27)+qd|0,Wd+=(Ud&zd|qd&~zd)+Fd[10]+38016083|0,Wd=(Wd<<9|Wd>>>23)+Ud|0,zd+=(Wd&qd|Ud&~qd)+Fd[15]-660478335|0,zd=(zd<<14|zd>>>18)+Wd|0,qd+=(zd&Ud|Wd&~Ud)+Fd[4]-405537848|0,qd=(qd<<20|qd>>>12)+zd|0,Ud+=(qd&Wd|zd&~Wd)+Fd[9]+568446438|0,Ud=(Ud<<5|Ud>>>27)+qd|0,Wd+=(Ud&zd|qd&~zd)+Fd[14]-1019803690|0,Wd=(Wd<<9|Wd>>>23)+Ud|0,zd+=(Wd&qd|Ud&~qd)+Fd[3]-187363961|0,zd=(zd<<14|zd>>>18)+Wd|0,qd+=(zd&Ud|Wd&~Ud)+Fd[8]+1163531501|0,qd=(qd<<20|qd>>>12)+zd|0,Ud+=(qd&Wd|zd&~Wd)+Fd[13]-1444681467|0,Ud=(Ud<<5|Ud>>>27)+qd|0,Wd+=(Ud&zd|qd&~zd)+Fd[2]-51403784|0,Wd=(Wd<<9|Wd>>>23)+Ud|0,zd+=(Wd&qd|Ud&~qd)+Fd[7]+1735328473|0,zd=(zd<<14|zd>>>18)+Wd|0,qd+=(zd&Ud|Wd&~Ud)+Fd[12]-1926607734|0,qd=(qd<<20|qd>>>12)+zd|0,Ud+=(qd^zd^Wd)+Fd[5]-378558|0,Ud=(Ud<<4|Ud>>>28)+qd|0,Wd+=(Ud^qd^zd)+Fd[8]-2022574463|0,Wd=(Wd<<11|Wd>>>21)+Ud|0,zd+=(Wd^Ud^qd)+Fd[11]+1839030562|0,zd=(zd<<16|zd>>>16)+Wd|0,qd+=(zd^Wd^Ud)+Fd[14]-35309556|0,qd=(qd<<23|qd>>>9)+zd|0,Ud+=(qd^zd^Wd)+Fd[1]-1530992060|0,Ud=(Ud<<4|Ud>>>28)+qd|0,Wd+=(Ud^qd^zd)+Fd[4]+1272893353|0,Wd=(Wd<<11|Wd>>>21)+Ud|0,zd+=(Wd^Ud^qd)+Fd[7]-155497632|0,zd=(zd<<16|zd>>>16)+Wd|0,qd+=(zd^Wd^Ud)+Fd[10]-1094730640|0,qd=(qd<<23|qd>>>9)+zd|0,Ud+=(qd^zd^Wd)+Fd[13]+681279174|0,Ud=(Ud<<4|Ud>>>28)+qd|0,Wd+=(Ud^qd^zd)+Fd[0]-358537222|0,Wd=(Wd<<11|Wd>>>21)+Ud|0,zd+=(Wd^Ud^qd)+Fd[3]-722521979|0,zd=(zd<<16|zd>>>16)+Wd|0,qd+=(zd^Wd^Ud)+Fd[6]+76029189|0,qd=(qd<<23|qd>>>9)+zd|0,Ud+=(qd^zd^Wd)+Fd[9]-640364487|0,Ud=(Ud<<4|Ud>>>28)+qd|0,Wd+=(Ud^qd^zd)+Fd[12]-421815835|0,Wd=(Wd<<11|Wd>>>21)+Ud|0,zd+=(Wd^Ud^qd)+Fd[15]+530742520|0,zd=(zd<<16|zd>>>16)+Wd|0,qd+=(zd^Wd^Ud)+Fd[2]-995338651|0,qd=(qd<<23|qd>>>9)+zd|0,Ud+=(zd^(qd|~Wd))+Fd[0]-198630844|0,Ud=(Ud<<6|Ud>>>26)+qd|0,Wd+=(qd^(Ud|~zd))+Fd[7]+1126891415|0,Wd=(Wd<<10|Wd>>>22)+Ud|0,zd+=(Ud^(Wd|~qd))+Fd[14]-1416354905|0,zd=(zd<<15|zd>>>17)+Wd|0,qd+=(Wd^(zd|~Ud))+Fd[5]-57434055|0,qd=(qd<<21|qd>>>11)+zd|0,Ud+=(zd^(qd|~Wd))+Fd[12]+1700485571|0,Ud=(Ud<<6|Ud>>>26)+qd|0,Wd+=(qd^(Ud|~zd))+Fd[3]-1894986606|0,Wd=(Wd<<10|Wd>>>22)+Ud|0,zd+=(Ud^(Wd|~qd))+Fd[10]-1051523|0,zd=(zd<<15|zd>>>17)+Wd|0,qd+=(Wd^(zd|~Ud))+Fd[1]-2054922799|0,qd=(qd<<21|qd>>>11)+zd|0,Ud+=(zd^(qd|~Wd))+Fd[8]+1873313359|0,Ud=(Ud<<6|Ud>>>26)+qd|0,Wd+=(qd^(Ud|~zd))+Fd[15]-30611744|0,Wd=(Wd<<10|Wd>>>22)+Ud|0,zd+=(Ud^(Wd|~qd))+Fd[6]-1560198380|0,zd=(zd<<15|zd>>>17)+Wd|0,qd+=(Wd^(zd|~Ud))+Fd[13]+1309151649|0,qd=(qd<<21|qd>>>11)+zd|0,Ud+=(zd^(qd|~Wd))+Fd[4]-145523070|0,Ud=(Ud<<6|Ud>>>26)+qd|0,Wd+=(qd^(Ud|~zd))+Fd[11]-1120210379|0,Wd=(Wd<<10|Wd>>>22)+Ud|0,zd+=(Ud^(Wd|~qd))+Fd[2]+718787259|0,zd=(zd<<15|zd>>>17)+Wd|0,qd+=(Wd^(zd|~Ud))+Fd[9]-343485551|0,qd=(qd<<21|qd>>>11)+zd|0,jd[0]=Ud+jd[0]|0,jd[1]=qd+jd[1]|0,jd[2]=zd+jd[2]|0,jd[3]=Wd+jd[3]|0}function ud(jd){var Fd=[],Ud;for(Ud=0;Ud<64;Ud+=4)Fd[Ud>>2]=jd.charCodeAt(Ud)+(jd.charCodeAt(Ud+1)<<8)+(jd.charCodeAt(Ud+2)<<16)+(jd.charCodeAt(Ud+3)<<24);return Fd}function dd(jd){var Fd=[],Ud;for(Ud=0;Ud<64;Ud+=4)Fd[Ud>>2]=jd[Ud]+(jd[Ud+1]<<8)+(jd[Ud+2]<<16)+(jd[Ud+3]<<24);return Fd}function pd(jd){var Fd=jd.length,Ud=[1732584193,-271733879,-1732584194,271733878],qd,zd,Wd,Jd,_f,Xd;for(qd=64;qd<=Fd;qd+=64)ld(Ud,ud(jd.substring(qd-64,qd)));for(jd=jd.substring(qd-64),zd=jd.length,Wd=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],qd=0;qd<zd;qd+=1)Wd[qd>>2]|=jd.charCodeAt(qd)<<(qd%4<<3);if(Wd[qd>>2]|=128<<(qd%4<<3),qd>55)for(ld(Ud,Wd),qd=0;qd<16;qd+=1)Wd[qd]=0;return Jd=Fd*8,Jd=Jd.toString(16).match(/(.*?)(.{0,8})$/),_f=parseInt(Jd[2],16),Xd=parseInt(Jd[1],16)||0,Wd[14]=_f,Wd[15]=Xd,ld(Ud,Wd),Ud}function fd(jd){var Fd=jd.length,Ud=[1732584193,-271733879,-1732584194,271733878],qd,zd,Wd,Jd,_f,Xd;for(qd=64;qd<=Fd;qd+=64)ld(Ud,dd(jd.subarray(qd-64,qd)));for(jd=qd-64<Fd?jd.subarray(qd-64):new Uint8Array(0),zd=jd.length,Wd=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],qd=0;qd<zd;qd+=1)Wd[qd>>2]|=jd[qd]<<(qd%4<<3);if(Wd[qd>>2]|=128<<(qd%4<<3),qd>55)for(ld(Ud,Wd),qd=0;qd<16;qd+=1)Wd[qd]=0;return Jd=Fd*8,Jd=Jd.toString(16).match(/(.*?)(.{0,8})$/),_f=parseInt(Jd[2],16),Xd=parseInt(Jd[1],16)||0,Wd[14]=_f,Wd[15]=Xd,ld(Ud,Wd),Ud}function md(jd){var Fd="",Ud;for(Ud=0;Ud<4;Ud+=1)Fd+=od[jd>>Ud*8+4&15]+od[jd>>Ud*8&15];return Fd}function vd(jd){var Fd;for(Fd=0;Fd<jd.length;Fd+=1)jd[Fd]=md(jd[Fd]);return jd.join("")}vd(pd("hello")),typeof ArrayBuffer<"u"&&!ArrayBuffer.prototype.slice&&function(){function jd(Fd,Ud){return Fd=Fd|0||0,Fd<0?Math.max(Fd+Ud,0):Math.min(Fd,Ud)}ArrayBuffer.prototype.slice=function(Fd,Ud){var qd=this.byteLength,zd=jd(Fd,qd),Wd=qd,Jd,_f,Xd,pf;return Ud!==nd&&(Wd=jd(Ud,qd)),zd>Wd?new ArrayBuffer(0):(Jd=Wd-zd,_f=new ArrayBuffer(Jd),Xd=new Uint8Array(_f),pf=new Uint8Array(this,zd,Jd),Xd.set(pf),_f)}}();function Ad(jd){return/[\u0080-\uFFFF]/.test(jd)&&(jd=unescape(encodeURIComponent(jd))),jd}function Nd(jd,Fd){var Ud=jd.length,qd=new ArrayBuffer(Ud),zd=new Uint8Array(qd),Wd;for(Wd=0;Wd<Ud;Wd+=1)zd[Wd]=jd.charCodeAt(Wd);return Fd?zd:qd}function Od(jd){return String.fromCharCode.apply(null,new Uint8Array(jd))}function kd(jd,Fd,Ud){var qd=new Uint8Array(jd.byteLength+Fd.byteLength);return qd.set(new Uint8Array(jd)),qd.set(new Uint8Array(Fd),jd.byteLength),qd}function Ld(jd){var Fd=[],Ud=jd.length,qd;for(qd=0;qd<Ud-1;qd+=2)Fd.push(parseInt(jd.substr(qd,2),16));return String.fromCharCode.apply(String,Fd)}function Gd(){this.reset()}return Gd.prototype.append=function(jd){return this.appendBinary(Ad(jd)),this},Gd.prototype.appendBinary=function(jd){this._buff+=jd,this._length+=jd.length;var Fd=this._buff.length,Ud;for(Ud=64;Ud<=Fd;Ud+=64)ld(this._hash,ud(this._buff.substring(Ud-64,Ud)));return this._buff=this._buff.substring(Ud-64),this},Gd.prototype.end=function(jd){var Fd=this._buff,Ud=Fd.length,qd,zd=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],Wd;for(qd=0;qd<Ud;qd+=1)zd[qd>>2]|=Fd.charCodeAt(qd)<<(qd%4<<3);return this._finish(zd,Ud),Wd=vd(this._hash),jd&&(Wd=Ld(Wd)),this.reset(),Wd},Gd.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},Gd.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},Gd.prototype.setState=function(jd){return this._buff=jd.buff,this._length=jd.length,this._hash=jd.hash,this},Gd.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},Gd.prototype._finish=function(jd,Fd){var Ud=Fd,qd,zd,Wd;if(jd[Ud>>2]|=128<<(Ud%4<<3),Ud>55)for(ld(this._hash,jd),Ud=0;Ud<16;Ud+=1)jd[Ud]=0;qd=this._length*8,qd=qd.toString(16).match(/(.*?)(.{0,8})$/),zd=parseInt(qd[2],16),Wd=parseInt(qd[1],16)||0,jd[14]=zd,jd[15]=Wd,ld(this._hash,jd)},Gd.hash=function(jd,Fd){return Gd.hashBinary(Ad(jd),Fd)},Gd.hashBinary=function(jd,Fd){var Ud=pd(jd),qd=vd(Ud);return Fd?Ld(qd):qd},Gd.ArrayBuffer=function(){this.reset()},Gd.ArrayBuffer.prototype.append=function(jd){var Fd=kd(this._buff.buffer,jd),Ud=Fd.length,qd;for(this._length+=jd.byteLength,qd=64;qd<=Ud;qd+=64)ld(this._hash,dd(Fd.subarray(qd-64,qd)));return this._buff=qd-64<Ud?new Uint8Array(Fd.buffer.slice(qd-64)):new Uint8Array(0),this},Gd.ArrayBuffer.prototype.end=function(jd){var Fd=this._buff,Ud=Fd.length,qd=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],zd,Wd;for(zd=0;zd<Ud;zd+=1)qd[zd>>2]|=Fd[zd]<<(zd%4<<3);return this._finish(qd,Ud),Wd=vd(this._hash),jd&&(Wd=Ld(Wd)),this.reset(),Wd},Gd.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},Gd.ArrayBuffer.prototype.getState=function(){var jd=Gd.prototype.getState.call(this);return jd.buff=Od(jd.buff),jd},Gd.ArrayBuffer.prototype.setState=function(jd){return jd.buff=Nd(jd.buff,!0),Gd.prototype.setState.call(this,jd)},Gd.ArrayBuffer.prototype.destroy=Gd.prototype.destroy,Gd.ArrayBuffer.prototype._finish=Gd.prototype._finish,Gd.ArrayBuffer.hash=function(jd,Fd){var Ud=fd(new Uint8Array(jd)),qd=vd(Ud);return Fd?Ld(qd):qd},Gd})})(sparkMd5);var sparkMd5Exports=sparkMd5.exports;const SparkMD5=getDefaultExportFromCjs(sparkMd5Exports);var __assign$5=function(){return __assign$5=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd<od;nd++){qa=arguments[nd];for(var ld in qa)Object.prototype.hasOwnProperty.call(qa,ld)&&(Ra[ld]=qa[ld])}return Ra},__assign$5.apply(this,arguments)},__awaiter$7=function(Ra,qa,nd,od){function ld(ud){return ud instanceof nd?ud:new nd(function(dd){dd(ud)})}return new(nd||(nd=Promise))(function(ud,dd){function pd(vd){try{md(od.next(vd))}catch(Ad){dd(Ad)}}function fd(vd){try{md(od.throw(vd))}catch(Ad){dd(Ad)}}function md(vd){vd.done?ud(vd.value):ld(vd.value).then(pd,fd)}md((od=od.apply(Ra,qa||[])).next())})},__generator$7=function(Ra,qa){var nd={label:0,sent:function(){if(ud[0]&1)throw ud[1];return ud[1]},trys:[],ops:[]},od,ld,ud,dd;return dd={next:pd(0),throw:pd(1),return:pd(2)},typeof Symbol=="function"&&(dd[Symbol.iterator]=function(){return this}),dd;function pd(md){return function(vd){return fd([md,vd])}}function fd(md){if(od)throw new TypeError("Generator is already executing.");for(;nd;)try{if(od=1,ld&&(ud=md[0]&2?ld.return:md[0]?ld.throw||((ud=ld.return)&&ud.call(ld),0):ld.next)&&!(ud=ud.call(ld,md[1])).done)return ud;switch(ld=0,ud&&(md=[md[0]&2,ud.value]),md[0]){case 0:case 1:ud=md;break;case 4:return nd.label++,{value:md[1],done:!1};case 5:nd.label++,ld=md[1],md=[0];continue;case 7:md=nd.ops.pop(),nd.trys.pop();continue;default:if(ud=nd.trys,!(ud=ud.length>0&&ud[ud.length-1])&&(md[0]===6||md[0]===2)){nd=0;continue}if(md[0]===3&&(!ud||md[1]>ud[0]&&md[1]<ud[3])){nd.label=md[1];break}if(md[0]===6&&nd.label<ud[1]){nd.label=ud[1],ud=md;break}if(ud&&nd.label<ud[2]){nd.label=ud[2],nd.ops.push(md);break}ud[2]&&nd.ops.pop(),nd.trys.pop();continue}md=qa.call(Ra,nd)}catch(vd){md=[6,vd],ld=0}finally{od=ud=0}if(md[0]&5)throw md[1];return{value:md[0]?md[1]:void 0,done:!0}}},MB=Math.pow(1024,2);function getChunks(Ra,qa){var nd=qa*MB;if(nd>Ra.size)nd=Ra.size;else for(;Ra.size>nd*1e4;)nd*=2;for(var od=[],ld=Math.ceil(Ra.size/nd),ud=0;ud<ld;ud++){var dd=Ra.slice(nd*ud,ud===ld-1?Ra.size:nd*(ud+1));od.push(dd)}return od}function isMetaDataValid(Ra){return Object.keys(Ra).every(function(qa){return qa.indexOf("x-qn-meta-")===0})}function isCustomVarsValid(Ra){return Object.keys(Ra).every(function(qa){return qa.indexOf("x:")===0})}function sum(Ra){return Ra.reduce(function(qa,nd){return qa+nd},0)}function setLocalFileInfo(Ra,qa,nd){try{localStorage.setItem(Ra,JSON.stringify(qa))}catch{nd.warn(new QiniuError(QiniuErrorName.WriteCacheFailed,"setLocalFileInfo failed: "+Ra))}}function createLocalKey(Ra,qa,nd){var od=qa==null?"_":"_key_"+qa+"_";return"qiniu_js_sdk_upload_file_name_"+Ra+od+"size_"+nd}function removeLocalFileInfo(Ra,qa){try{localStorage.removeItem(Ra)}catch{qa.warn(new QiniuError(QiniuErrorName.RemoveCacheFailed,"removeLocalFileInfo failed. key: "+Ra))}}function getLocalFileInfo(Ra,qa){var nd=null;try{nd=localStorage.getItem(Ra)}catch{qa.warn(new QiniuError(QiniuErrorName.ReadCacheFailed,"getLocalFileInfo failed. key: "+Ra))}if(nd==null)return null;var od=null;try{od=JSON.parse(nd)}catch{removeLocalFileInfo(Ra,qa),qa.warn(new QiniuError(QiniuErrorName.InvalidCacheData,"getLocalFileInfo failed to parse. key: "+Ra))}return od}function getAuthHeaders(Ra){var qa="UpToken "+Ra;return{Authorization:qa}}function getHeadersForChunkUpload(Ra){var qa=getAuthHeaders(Ra);return __assign$5({"content-type":"application/octet-stream"},qa)}function getHeadersForMkFile(Ra){var qa=getAuthHeaders(Ra);return __assign$5({"content-type":"application/json"},qa)}function createXHR(){if(window.XMLHttpRequest)return new XMLHttpRequest;if(window.ActiveXObject)return new window.ActiveXObject("Microsoft.XMLHTTP");throw new QiniuError(QiniuErrorName.NotAvailableXMLHttpRequest,"the current environment does not support.")}function computeMd5(Ra){return __awaiter$7(this,void 0,void 0,function(){var qa,nd;return __generator$7(this,function(od){switch(od.label){case 0:return[4,readAsArrayBuffer(Ra)];case 1:return qa=od.sent(),nd=new SparkMD5.ArrayBuffer,nd.append(qa),[2,nd.end()]}})})}function readAsArrayBuffer(Ra){return new Promise(function(qa,nd){var od=new FileReader;od.onload=function(ld){if(ld.target){var ud=ld.target.result;qa(ud)}else nd(new QiniuError(QiniuErrorName.InvalidProgressEventTarget,"progress event target is undefined"))},od.onerror=function(){nd(new QiniuError(QiniuErrorName.FileReaderReadFailed,"fileReader read failed"))},od.readAsArrayBuffer(Ra)})}function request(Ra,qa){return new Promise(function(nd,od){var ld=createXHR();if(ld.open(qa.method,Ra),qa.onCreate&&qa.onCreate(ld),qa.headers){var ud=qa.headers;Object.keys(ud).forEach(function(dd){ld.setRequestHeader(dd,ud[dd])})}ld.upload.addEventListener("progress",function(dd){dd.lengthComputable&&qa.onProgress&&qa.onProgress({loaded:dd.loaded,total:dd.total})}),ld.onreadystatechange=function(){var dd=ld.responseText;if(ld.readyState===4){var pd=ld.getResponseHeader("x-reqId")||"";if(ld.status===0){od(new QiniuNetworkError("network error.",pd));return}if(ld.status!==200){var fd="xhr request failed, code: "+ld.status;dd&&(fd+=" response: "+dd);var md=void 0;try{md=JSON.parse(dd)}catch{}od(new QiniuRequestError(ld.status,pd,fd,md));return}try{nd({data:JSON.parse(dd),reqId:pd})}catch(vd){od(vd)}}},ld.send(qa.body)})}function getPortFromUrl(Ra){if(Ra&&Ra.match){var qa=Ra.match(/(^https?)/);if(!qa)return"";var nd=qa[1];return qa=Ra.match(/^https?:\/\/([^:^/]*):(\d*)/),qa?qa[2]:nd==="http"?"80":"443"}return""}function getDomainFromUrl(Ra){if(Ra&&Ra.match){var qa=Ra.match(/^https?:\/\/([^:^/]*)/);return qa?qa[1]:""}return""}function getPutPolicy(Ra){if(!Ra)throw new QiniuError(QiniuErrorName.InvalidToken,"invalid token.");var qa=Ra.split(":");if(qa.length===1)throw new QiniuError(QiniuErrorName.InvalidToken,"invalid token segments.");var nd=qa.length>3?qa[1]:qa[0];if(!nd)throw new QiniuError(QiniuErrorName.InvalidToken,"missing assess key field.");var od=null;try{od=JSON.parse(urlSafeBase64Decode(qa[qa.length-1]))}catch{throw new QiniuError(QiniuErrorName.InvalidToken,"token parse failed.")}if(od==null)throw new QiniuError(QiniuErrorName.InvalidToken,"putPolicy is null.");if(od.scope==null)throw new QiniuError(QiniuErrorName.InvalidToken,"scope field is null.");var ld=od.scope.split(":")[0];if(!ld)throw new QiniuError(QiniuErrorName.InvalidToken,"resolve bucketName failed.");return{assessKey:nd,bucketName:ld,scope:od.scope}}function createObjectURL(Ra){var qa=window.URL||window.webkitURL||window.mozURL;return qa.createObjectURL(Ra)}var _a,region={z0:"z0",z1:"z1",z2:"z2",na0:"na0",as0:"as0",cnEast2:"cn-east-2"},regionUphostMap=(_a={},_a[region.z0]={srcUphost:["up.qiniup.com"],cdnUphost:["upload.qiniup.com"]},_a[region.z1]={srcUphost:["up-z1.qiniup.com"],cdnUphost:["upload-z1.qiniup.com"]},_a[region.z2]={srcUphost:["up-z2.qiniup.com"],cdnUphost:["upload-z2.qiniup.com"]},_a[region.na0]={srcUphost:["up-na0.qiniup.com"],cdnUphost:["upload-na0.qiniup.com"]},_a[region.as0]={srcUphost:["up-as0.qiniup.com"],cdnUphost:["upload-as0.qiniup.com"]},_a[region.cnEast2]={srcUphost:["up-cn-east-2.qiniup.com"],cdnUphost:["upload-cn-east-2.qiniup.com"]},_a),stringifyPrimitive=function(Ra){switch(typeof Ra){case"string":return Ra;case"boolean":return Ra?"true":"false";case"number":return isFinite(Ra)?Ra:"";default:return""}},encode=function(Ra,qa,nd,od){return qa=qa||"&",nd=nd||"=",Ra===null&&(Ra=void 0),typeof Ra=="object"?Object.keys(Ra).map(function(ld){var ud=encodeURIComponent(stringifyPrimitive(ld))+nd;return Array.isArray(Ra[ld])?Ra[ld].map(function(dd){return ud+encodeURIComponent(stringifyPrimitive(dd))}).join(qa):ud+encodeURIComponent(stringifyPrimitive(Ra[ld]))}).filter(Boolean).join(qa):od?encodeURIComponent(stringifyPrimitive(od))+nd+encodeURIComponent(stringifyPrimitive(Ra)):""},stringify;stringify=encode;var __assign$4=function(){return __assign$4=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd<od;nd++){qa=arguments[nd];for(var ld in qa)Object.prototype.hasOwnProperty.call(qa,ld)&&(Ra[ld]=qa[ld])}return Ra},__assign$4.apply(this,arguments)},__awaiter$6=function(Ra,qa,nd,od){function ld(ud){return ud instanceof nd?ud:new nd(function(dd){dd(ud)})}return new(nd||(nd=Promise))(function(ud,dd){function pd(vd){try{md(od.next(vd))}catch(Ad){dd(Ad)}}function fd(vd){try{md(od.throw(vd))}catch(Ad){dd(Ad)}}function md(vd){vd.done?ud(vd.value):ld(vd.value).then(pd,fd)}md((od=od.apply(Ra,qa||[])).next())})},__generator$6=function(Ra,qa){var nd={label:0,sent:function(){if(ud[0]&1)throw ud[1];return ud[1]},trys:[],ops:[]},od,ld,ud,dd;return dd={next:pd(0),throw:pd(1),return:pd(2)},typeof Symbol=="function"&&(dd[Symbol.iterator]=function(){return this}),dd;function pd(md){return function(vd){return fd([md,vd])}}function fd(md){if(od)throw new TypeError("Generator is already executing.");for(;nd;)try{if(od=1,ld&&(ud=md[0]&2?ld.return:md[0]?ld.throw||((ud=ld.return)&&ud.call(ld),0):ld.next)&&!(ud=ud.call(ld,md[1])).done)return ud;switch(ld=0,ud&&(md=[md[0]&2,ud.value]),md[0]){case 0:case 1:ud=md;break;case 4:return nd.label++,{value:md[1],done:!1};case 5:nd.label++,ld=md[1],md=[0];continue;case 7:md=nd.ops.pop(),nd.trys.pop();continue;default:if(ud=nd.trys,!(ud=ud.length>0&&ud[ud.length-1])&&(md[0]===6||md[0]===2)){nd=0;continue}if(md[0]===3&&(!ud||md[1]>ud[0]&&md[1]<ud[3])){nd.label=md[1];break}if(md[0]===6&&nd.label<ud[1]){nd.label=ud[1],ud=md;break}if(ud&&nd.label<ud[2]){nd.label=ud[2],nd.ops.push(md);break}ud[2]&&nd.ops.pop(),nd.trys.pop();continue}md=qa.call(Ra,nd)}catch(vd){md=[6,vd],ld=0}finally{od=ud=0}if(md[0]&5)throw md[1];return{value:md[0]?md[1]:void 0,done:!0}}};function getUpHosts(Ra,qa,nd){return __awaiter$6(this,void 0,void 0,function(){var od,ld;return __generator$6(this,function(ud){return od=stringify({ak:Ra,bucket:qa}),ld=nd+"://api.qiniu.com/v2/query?"+od,[2,request(ld,{method:"GET"})]})})}function getBaseUrl(Ra,qa,nd){var od=nd.url,ld=nd.id;return od+"/buckets/"+Ra+"/objects/"+(qa!=null?urlSafeBase64Encode(qa):"~")+"/uploads/"+ld}function initUploadParts(Ra,qa,nd,od){var ld=od+"/buckets/"+qa+"/objects/"+(nd!=null?urlSafeBase64Encode(nd):"~")+"/uploads";return request(ld,{method:"POST",headers:getAuthHeaders(Ra)})}function uploadChunk(Ra,qa,nd,od,ld){var ud=getPutPolicy(Ra).bucketName,dd=getBaseUrl(ud,qa,od)+("/"+nd),pd=getHeadersForChunkUpload(Ra);return ld.md5&&(pd["Content-MD5"]=ld.md5),request(dd,__assign$4(__assign$4({},ld),{method:"PUT",headers:pd}))}function uploadComplete(Ra,qa,nd,od){var ld=getPutPolicy(Ra).bucketName,ud=getBaseUrl(ld,qa,nd);return request(ud,__assign$4(__assign$4({},od),{method:"POST",headers:getHeadersForMkFile(Ra)}))}function deleteUploadedChunks(Ra,qa,nd){var od=getPutPolicy(Ra).bucketName,ld=getBaseUrl(od,qa,nd);return request(ld,{method:"DELETE",headers:getAuthHeaders(Ra)})}function direct(Ra,qa,nd){return request(Ra,__assign$4({method:"POST",body:qa},nd))}function getUploadUrl(Ra,qa){return __awaiter$6(this,void 0,void 0,function(){var nd,od,ld,ud,dd;return __generator$6(this,function(pd){switch(pd.label){case 0:return nd=normalizeUploadConfig(Ra),od=nd.upprotocol,nd.uphost.length>0?[2,od+"://"+nd.uphost[0]]:(ld=getPutPolicy(qa),[4,getUpHosts(ld.assessKey,ld.bucketName,od)]);case 1:return ud=pd.sent(),dd=ud.data.up.acc.main,[2,od+"://"+dd[0]]}})})}var __assign$3=function(){return __assign$3=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd<od;nd++){qa=arguments[nd];for(var ld in qa)Object.prototype.hasOwnProperty.call(qa,ld)&&(Ra[ld]=qa[ld])}return Ra},__assign$3.apply(this,arguments)},__awaiter$5=function(Ra,qa,nd,od){function ld(ud){return ud instanceof nd?ud:new nd(function(dd){dd(ud)})}return new(nd||(nd=Promise))(function(ud,dd){function pd(vd){try{md(od.next(vd))}catch(Ad){dd(Ad)}}function fd(vd){try{md(od.throw(vd))}catch(Ad){dd(Ad)}}function md(vd){vd.done?ud(vd.value):ld(vd.value).then(pd,fd)}md((od=od.apply(Ra,qa||[])).next())})},__generator$5=function(Ra,qa){var nd={label:0,sent:function(){if(ud[0]&1)throw ud[1];return ud[1]},trys:[],ops:[]},od,ld,ud,dd;return dd={next:pd(0),throw:pd(1),return:pd(2)},typeof Symbol=="function"&&(dd[Symbol.iterator]=function(){return this}),dd;function pd(md){return function(vd){return fd([md,vd])}}function fd(md){if(od)throw new TypeError("Generator is already executing.");for(;nd;)try{if(od=1,ld&&(ud=md[0]&2?ld.return:md[0]?ld.throw||((ud=ld.return)&&ud.call(ld),0):ld.next)&&!(ud=ud.call(ld,md[1])).done)return ud;switch(ld=0,ud&&(md=[md[0]&2,ud.value]),md[0]){case 0:case 1:ud=md;break;case 4:return nd.label++,{value:md[1],done:!1};case 5:nd.label++,ld=md[1],md=[0];continue;case 7:md=nd.ops.pop(),nd.trys.pop();continue;default:if(ud=nd.trys,!(ud=ud.length>0&&ud[ud.length-1])&&(md[0]===6||md[0]===2)){nd=0;continue}if(md[0]===3&&(!ud||md[1]>ud[0]&&md[1]<ud[3])){nd.label=md[1];break}if(md[0]===6&&nd.label<ud[1]){nd.label=ud[1],ud=md;break}if(ud&&nd.label<ud[2]){nd.label=ud[2],nd.ops.push(md);break}ud[2]&&nd.ops.pop(),nd.trys.pop();continue}md=qa.call(Ra,nd)}catch(vd){md=[6,vd],ld=0}finally{od=ud=0}if(md[0]&5)throw md[1];return{value:md[0]?md[1]:void 0,done:!0}}},__read$3=function(Ra,qa){var nd=typeof Symbol=="function"&&Ra[Symbol.iterator];if(!nd)return Ra;var od=nd.call(Ra),ld,ud=[],dd;try{for(;(qa===void 0||qa-- >0)&&!(ld=od.next()).done;)ud.push(ld.value)}catch(pd){dd={error:pd}}finally{try{ld&&!ld.done&&(nd=od.return)&&nd.call(od)}finally{if(dd)throw dd.error}}return ud},__spread$3=function(){for(var Ra=[],qa=0;qa<arguments.length;qa++)Ra=Ra.concat(__read$3(arguments[qa]));return Ra},DEFAULT_CHUNK_SIZE=4,FREEZE_CODE_LIST=[0,502,503,504,599],RETRY_CODE_LIST=__spread$3(FREEZE_CODE_LIST,[612]),GB=Math.pow(1024,3),Base=function(){function Ra(qa,nd,od,ld){this.hostPool=od,this.logger=ld,this.aborted=!1,this.retryCount=0,this.xhrList=[],this.config=qa.config,ld.info("config inited.",this.config),this.putExtra=__assign$3({fname:""},qa.putExtra),ld.info("putExtra inited.",this.putExtra),this.key=qa.key,this.file=qa.file,this.token=qa.token,this.onData=nd.onData,this.onError=nd.onError,this.onComplete=nd.onComplete;try{var ud=getPutPolicy(this.token);this.bucketName=ud.bucketName,this.assessKey=ud.assessKey}catch(dd){ld.error("get putPolicy from token failed.",dd),this.onError(dd)}}return Ra.prototype.checkAndUpdateUploadHost=function(){return __awaiter$5(this,void 0,void 0,function(){var qa;return __generator$5(this,function(nd){switch(nd.label){case 0:return this.logger.info("get available upload host."),[4,this.hostPool.getUp(this.assessKey,this.bucketName,this.config.upprotocol)];case 1:if(qa=nd.sent(),qa==null)throw new QiniuError(QiniuErrorName.NotAvailableUploadHost,"no available upload host.");return this.uploadHost!=null&&this.uploadHost.host!==qa.host?this.logger.warn("host switches from "+this.uploadHost.host+" to "+qa.host+"."):this.logger.info("use host "+qa.host+"."),this.uploadHost=qa,[2]}})})},Ra.prototype.checkAndUnfreezeHost=function(){this.logger.info("check unfreeze host."),this.uploadHost!=null&&this.uploadHost.isFrozen()&&(this.logger.warn(this.uploadHost.host+" will be unfrozen."),this.uploadHost.unfreeze())},Ra.prototype.checkAndFreezeHost=function(qa){this.logger.info("check freeze host."),qa instanceof QiniuRequestError&&this.uploadHost!=null&&FREEZE_CODE_LIST.includes(qa.code)&&(this.logger.warn(this.uploadHost.host+" will be temporarily frozen."),this.uploadHost.freeze())},Ra.prototype.handleError=function(qa){this.logger.error(qa.message),this.onError(qa)},Ra.prototype.putFile=function(){return __awaiter$5(this,void 0,void 0,function(){var qa,nd,od,ld;return __generator$5(this,function(ud){switch(ud.label){case 0:if(this.aborted=!1,this.putExtra.fname||(this.logger.info("use file.name as fname."),this.putExtra.fname=this.file.name),this.file.size>1e4*GB)return this.handleError(new QiniuError(QiniuErrorName.InvalidFile,"file size exceed maximum value 10000G")),[2];if(this.putExtra.customVars&&!isCustomVarsValid(this.putExtra.customVars))return this.handleError(new QiniuError(QiniuErrorName.InvalidCustomVars,"customVars key should start width x:")),[2];if(this.putExtra.metadata&&!isMetaDataValid(this.putExtra.metadata))return this.handleError(new QiniuError(QiniuErrorName.InvalidMetadata,"metadata key should start with x-qn-meta-")),[2];ud.label=1;case 1:return ud.trys.push([1,4,,5]),this.uploadAt=new Date().getTime(),[4,this.checkAndUpdateUploadHost()];case 2:return ud.sent(),[4,this.run()];case 3:return qa=ud.sent(),this.onComplete(qa.data),this.checkAndUnfreezeHost(),this.sendLog(qa.reqId,200),[2];case 4:return nd=ud.sent(),this.aborted?(this.logger.warn("upload is aborted."),this.sendLog("",-2),[2]):(this.clear(),this.logger.error(nd),nd instanceof QiniuRequestError&&(this.sendLog(nd.reqId,nd.code),this.checkAndFreezeHost(nd),od=++this.retryCount<=this.config.retryCount,ld=RETRY_CODE_LIST.includes(nd.code),ld&&od)?(this.logger.warn("error auto retry: "+this.retryCount+"/"+this.config.retryCount+"."),this.putFile(),[2]):(this.onError(nd),[3,5]));case 5:return[2]}})})},Ra.prototype.clear=function(){this.xhrList.forEach(function(qa){qa.onreadystatechange=null,qa.abort()}),this.xhrList=[],this.logger.info("cleanup uploading xhr.")},Ra.prototype.stop=function(){this.logger.info("aborted."),this.clear(),this.aborted=!0},Ra.prototype.addXhr=function(qa){this.xhrList.push(qa)},Ra.prototype.sendLog=function(qa,nd){var od,ld;this.logger.report({code:nd,reqId:qa,remoteIp:"",upType:"jssdk-h5",size:this.file.size,time:Math.floor(this.uploadAt/1e3),port:getPortFromUrl((od=this.uploadHost)===null||od===void 0?void 0:od.getUrl()),host:getDomainFromUrl((ld=this.uploadHost)===null||ld===void 0?void 0:ld.getUrl()),bytesSent:this.progress?this.progress.total.loaded:0,duration:Math.floor((new Date().getTime()-this.uploadAt)/1e3)})},Ra.prototype.getProgressInfoItem=function(qa,nd,od){return __assign$3({size:nd,loaded:qa,percent:qa/nd*100},od==null?{}:{fromCache:od})},Ra}(),__extends$1=function(){var Ra=function(qa,nd){return Ra=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(od,ld){od.__proto__=ld}||function(od,ld){for(var ud in ld)ld.hasOwnProperty(ud)&&(od[ud]=ld[ud])},Ra(qa,nd)};return function(qa,nd){Ra(qa,nd);function od(){this.constructor=qa}qa.prototype=nd===null?Object.create(nd):(od.prototype=nd.prototype,new od)}}(),__assign$2=function(){return __assign$2=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd<od;nd++){qa=arguments[nd];for(var ld in qa)Object.prototype.hasOwnProperty.call(qa,ld)&&(Ra[ld]=qa[ld])}return Ra},__assign$2.apply(this,arguments)},__awaiter$4=function(Ra,qa,nd,od){function ld(ud){return ud instanceof nd?ud:new nd(function(dd){dd(ud)})}return new(nd||(nd=Promise))(function(ud,dd){function pd(vd){try{md(od.next(vd))}catch(Ad){dd(Ad)}}function fd(vd){try{md(od.throw(vd))}catch(Ad){dd(Ad)}}function md(vd){vd.done?ud(vd.value):ld(vd.value).then(pd,fd)}md((od=od.apply(Ra,qa||[])).next())})},__generator$4=function(Ra,qa){var nd={label:0,sent:function(){if(ud[0]&1)throw ud[1];return ud[1]},trys:[],ops:[]},od,ld,ud,dd;return dd={next:pd(0),throw:pd(1),return:pd(2)},typeof Symbol=="function"&&(dd[Symbol.iterator]=function(){return this}),dd;function pd(md){return function(vd){return fd([md,vd])}}function fd(md){if(od)throw new TypeError("Generator is already executing.");for(;nd;)try{if(od=1,ld&&(ud=md[0]&2?ld.return:md[0]?ld.throw||((ud=ld.return)&&ud.call(ld),0):ld.next)&&!(ud=ud.call(ld,md[1])).done)return ud;switch(ld=0,ud&&(md=[md[0]&2,ud.value]),md[0]){case 0:case 1:ud=md;break;case 4:return nd.label++,{value:md[1],done:!1};case 5:nd.label++,ld=md[1],md=[0];continue;case 7:md=nd.ops.pop(),nd.trys.pop();continue;default:if(ud=nd.trys,!(ud=ud.length>0&&ud[ud.length-1])&&(md[0]===6||md[0]===2)){nd=0;continue}if(md[0]===3&&(!ud||md[1]>ud[0]&&md[1]<ud[3])){nd.label=md[1];break}if(md[0]===6&&nd.label<ud[1]){nd.label=ud[1],ud=md;break}if(ud&&nd.label<ud[2]){nd.label=ud[2],nd.ops.push(md);break}ud[2]&&nd.ops.pop(),nd.trys.pop();continue}md=qa.call(Ra,nd)}catch(vd){md=[6,vd],ld=0}finally{od=ud=0}if(md[0]&5)throw md[1];return{value:md[0]?md[1]:void 0,done:!0}}};function isPositiveInteger(Ra){var qa=/^[1-9]\d*$/;return qa.test(String(Ra))}var Resume=function(Ra){__extends$1(qa,Ra);function qa(){return Ra!==null&&Ra.apply(this,arguments)||this}return qa.prototype.run=function(){return __awaiter$4(this,void 0,void 0,function(){var nd,od,ld,ud,dd,pd=this;return __generator$4(this,function(fd){switch(fd.label){case 0:if(this.logger.info("start run Resume."),!this.config.chunkSize||!isPositiveInteger(this.config.chunkSize))throw new QiniuError(QiniuErrorName.InvalidChunkSize,"chunkSize must be a positive integer");if(this.config.chunkSize>1024)throw new QiniuError(QiniuErrorName.InvalidChunkSize,"chunkSize maximum value is 1024");return[4,this.initBeforeUploadChunks()];case 1:fd.sent(),nd=new Pool(function(md){return __awaiter$4(pd,void 0,void 0,function(){return __generator$4(this,function(vd){switch(vd.label){case 0:if(this.aborted)throw nd.abort(),new Error("pool is aborted");return[4,this.uploadChunk(md)];case 1:return vd.sent(),[2]}})})},this.config.concurrentRequestLimit),od=null,ld=this.getLocalKey(),ud=this.chunks.map(function(md,vd){return nd.enqueue({chunk:md,index:vd})}),fd.label=2;case 2:return fd.trys.push([2,5,,6]),[4,Promise.all(ud)];case 3:return fd.sent(),[4,this.mkFileReq()];case 4:return od=fd.sent(),[3,6];case 5:throw dd=fd.sent(),dd instanceof QiniuRequestError&&(dd.code===612||dd.code===400)&&removeLocalFileInfo(ld,this.logger),dd;case 6:return removeLocalFileInfo(ld,this.logger),[2,od]}})})},qa.prototype.uploadChunk=function(nd){return __awaiter$4(this,void 0,void 0,function(){var od,ld,ud,dd,pd,fd,md,vd,Ad,Nd=this;return __generator$4(this,function(Od){switch(Od.label){case 0:return od=nd.index,ld=nd.chunk,ud=this.cachedUploadedList[od],this.logger.info("upload part "+od+", cache:",ud),dd=this.config.checkByMD5,pd=function(){Nd.usedCacheList[od]=!0,Nd.updateChunkProgress(ld.size,od),Nd.uploadedList[od]=ud,Nd.updateLocalCache()},ud&&!dd?(pd(),[2]):[4,computeMd5(ld)];case 1:return fd=Od.sent(),this.logger.info("computed part md5.",fd),ud&&fd===ud.md5?(pd(),[2]):(this.usedCacheList[od]=!1,md=function(kd){Nd.updateChunkProgress(kd.loaded,od)},vd={body:ld,md5:this.config.checkByServer?fd:void 0,onProgress:md,onCreate:function(kd){return Nd.addXhr(kd)}},this.logger.info("part "+od+" start uploading."),[4,uploadChunk(this.token,this.key,nd.index+1,this.getUploadInfo(),vd)]);case 2:return Ad=Od.sent(),this.logger.info("part "+od+" upload completed."),md({loaded:ld.size,total:ld.size}),this.uploadedList[od]={etag:Ad.data.etag,md5:Ad.data.md5,size:ld.size},this.updateLocalCache(),[2]}})})},qa.prototype.mkFileReq=function(){return __awaiter$4(this,void 0,void 0,function(){var nd,od,ld=this;return __generator$4(this,function(ud){switch(ud.label){case 0:return nd=__assign$2(__assign$2(__assign$2({parts:this.uploadedList.map(function(dd,pd){return{etag:dd.etag,partNumber:pd+1}}),fname:this.putExtra.fname},this.putExtra.mimeType&&{mimeType:this.putExtra.mimeType}),this.putExtra.customVars&&{customVars:this.putExtra.customVars}),this.putExtra.metadata&&{metadata:this.putExtra.metadata}),this.logger.info("parts upload completed, make file.",nd),[4,uploadComplete(this.token,this.key,this.getUploadInfo(),{onCreate:function(dd){return ld.addXhr(dd)},body:JSON.stringify(nd)})];case 1:return od=ud.sent(),this.logger.info("finish Resume Progress."),this.updateMkFileProgress(1),[2,od]}})})},qa.prototype.initBeforeUploadChunks=function(){return __awaiter$4(this,void 0,void 0,function(){var nd,od,ld;return __generator$4(this,function(ud){switch(ud.label){case 0:return this.uploadedList=[],this.usedCacheList=[],nd=getLocalFileInfo(this.getLocalKey(),this.logger),nd?[3,2]:(this.logger.info("init upload parts from api."),[4,initUploadParts(this.token,this.bucketName,this.key,this.uploadHost.getUrl())]);case 1:return od=ud.sent(),this.logger.info("initd upload parts of id: "+od.data.uploadId+"."),this.uploadId=od.data.uploadId,this.cachedUploadedList=[],[3,3];case 2:ld=["resume upload parts from local cache,","total "+nd.data.length+" part,","id is "+nd.id+"."],this.logger.info(ld.join(" ")),this.cachedUploadedList=nd.data,this.uploadId=nd.id,ud.label=3;case 3:return this.chunks=getChunks(this.file,this.config.chunkSize),this.loaded={mkFileProgress:0,chunks:this.chunks.map(function(dd){return 0})},this.notifyResumeProgress(),[2]}})})},qa.prototype.getUploadInfo=function(){return{id:this.uploadId,url:this.uploadHost.getUrl()}},qa.prototype.getLocalKey=function(){return createLocalKey(this.file.name,this.key,this.file.size)},qa.prototype.updateLocalCache=function(){setLocalFileInfo(this.getLocalKey(),{id:this.uploadId,data:this.uploadedList},this.logger)},qa.prototype.updateChunkProgress=function(nd,od){this.loaded.chunks[od]=nd,this.notifyResumeProgress()},qa.prototype.updateMkFileProgress=function(nd){this.loaded.mkFileProgress=nd,this.notifyResumeProgress()},qa.prototype.notifyResumeProgress=function(){var nd=this;this.progress={total:this.getProgressInfoItem(sum(this.loaded.chunks)+this.loaded.mkFileProgress,this.file.size+1),chunks:this.chunks.map(function(od,ld){var ud=nd.usedCacheList[ld];return nd.getProgressInfoItem(nd.loaded.chunks[ld],od.size,ud)}),uploadInfo:{id:this.uploadId,url:this.uploadHost.getUrl()}},this.onData(this.progress)},qa}(Base),__awaiter$3=function(Ra,qa,nd,od){function ld(ud){return ud instanceof nd?ud:new nd(function(dd){dd(ud)})}return new(nd||(nd=Promise))(function(ud,dd){function pd(vd){try{md(od.next(vd))}catch(Ad){dd(Ad)}}function fd(vd){try{md(od.throw(vd))}catch(Ad){dd(Ad)}}function md(vd){vd.done?ud(vd.value):ld(vd.value).then(pd,fd)}md((od=od.apply(Ra,qa||[])).next())})},__generator$3=function(Ra,qa){var nd={label:0,sent:function(){if(ud[0]&1)throw ud[1];return ud[1]},trys:[],ops:[]},od,ld,ud,dd;return dd={next:pd(0),throw:pd(1),return:pd(2)},typeof Symbol=="function"&&(dd[Symbol.iterator]=function(){return this}),dd;function pd(md){return function(vd){return fd([md,vd])}}function fd(md){if(od)throw new TypeError("Generator is already executing.");for(;nd;)try{if(od=1,ld&&(ud=md[0]&2?ld.return:md[0]?ld.throw||((ud=ld.return)&&ud.call(ld),0):ld.next)&&!(ud=ud.call(ld,md[1])).done)return ud;switch(ld=0,ud&&(md=[md[0]&2,ud.value]),md[0]){case 0:case 1:ud=md;break;case 4:return nd.label++,{value:md[1],done:!1};case 5:nd.label++,ld=md[1],md=[0];continue;case 7:md=nd.ops.pop(),nd.trys.pop();continue;default:if(ud=nd.trys,!(ud=ud.length>0&&ud[ud.length-1])&&(md[0]===6||md[0]===2)){nd=0;continue}if(md[0]===3&&(!ud||md[1]>ud[0]&&md[1]<ud[3])){nd.label=md[1];break}if(md[0]===6&&nd.label<ud[1]){nd.label=ud[1],ud=md;break}if(ud&&nd.label<ud[2]){nd.label=ud[2],nd.ops.push(md);break}ud[2]&&nd.ops.pop(),nd.trys.pop();continue}md=qa.call(Ra,nd)}catch(vd){md=[6,vd],ld=0}finally{od=ud=0}if(md[0]&5)throw md[1];return{value:md[0]?md[1]:void 0,done:!0}}},CRC32=function(){function Ra(){this.crc=-1,this.table=this.makeTable()}return Ra.prototype.makeTable=function(){for(var qa=new Array,nd=0;nd<256;nd++){for(var od=nd,ld=0;ld<8;ld++)od&1?od=od>>>1^3988292384:od>>>=1;qa[nd]=od}return qa},Ra.prototype.append=function(qa){for(var nd=this.crc,od=0;od<qa.byteLength;od++)nd=nd>>>8^this.table[(nd^qa[od])&255];this.crc=nd},Ra.prototype.compute=function(){return(this.crc^-1)>>>0},Ra.prototype.readAsUint8Array=function(qa){return __awaiter$3(this,void 0,void 0,function(){var nd;return __generator$3(this,function(od){switch(od.label){case 0:return typeof qa.arrayBuffer!="function"?[3,2]:(nd=Uint8Array.bind,[4,qa.arrayBuffer()]);case 1:return[2,new(nd.apply(Uint8Array,[void 0,od.sent()]))];case 2:return[2,new Promise(function(ld,ud){var dd=new FileReader;dd.onload=function(){if(dd.result==null){ud();return}if(typeof dd.result=="string"){ud();return}ld(new Uint8Array(dd.result))},dd.readAsArrayBuffer(qa)})]}})})},Ra.prototype.file=function(qa){return __awaiter$3(this,void 0,void 0,function(){var nd,od,ld,ud,dd,pd;return __generator$3(this,function(fd){switch(fd.label){case 0:return qa.size<=MB?(nd=this.append,[4,this.readAsUint8Array(qa)]):[3,2];case 1:return nd.apply(this,[fd.sent()]),[2,this.compute()];case 2:od=Math.ceil(qa.size/MB),ld=0,fd.label=3;case 3:return ld<od?(ud=ld*MB,dd=ld===od-1?qa.size:ud+MB,[4,this.readAsUint8Array(qa.slice(ud,dd))]):[3,6];case 4:pd=fd.sent(),this.append(new Uint8Array(pd)),fd.label=5;case 5:return ld++,[3,3];case 6:return[2,this.compute()]}})})},Ra.file=function(qa){var nd=new Ra;return nd.file(qa)},Ra}(),__extends=function(){var Ra=function(qa,nd){return Ra=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(od,ld){od.__proto__=ld}||function(od,ld){for(var ud in ld)ld.hasOwnProperty(ud)&&(od[ud]=ld[ud])},Ra(qa,nd)};return function(qa,nd){Ra(qa,nd);function od(){this.constructor=qa}qa.prototype=nd===null?Object.create(nd):(od.prototype=nd.prototype,new od)}}(),__awaiter$2=function(Ra,qa,nd,od){function ld(ud){return ud instanceof nd?ud:new nd(function(dd){dd(ud)})}return new(nd||(nd=Promise))(function(ud,dd){function pd(vd){try{md(od.next(vd))}catch(Ad){dd(Ad)}}function fd(vd){try{md(od.throw(vd))}catch(Ad){dd(Ad)}}function md(vd){vd.done?ud(vd.value):ld(vd.value).then(pd,fd)}md((od=od.apply(Ra,qa||[])).next())})},__generator$2=function(Ra,qa){var nd={label:0,sent:function(){if(ud[0]&1)throw ud[1];return ud[1]},trys:[],ops:[]},od,ld,ud,dd;return dd={next:pd(0),throw:pd(1),return:pd(2)},typeof Symbol=="function"&&(dd[Symbol.iterator]=function(){return this}),dd;function pd(md){return function(vd){return fd([md,vd])}}function fd(md){if(od)throw new TypeError("Generator is already executing.");for(;nd;)try{if(od=1,ld&&(ud=md[0]&2?ld.return:md[0]?ld.throw||((ud=ld.return)&&ud.call(ld),0):ld.next)&&!(ud=ud.call(ld,md[1])).done)return ud;switch(ld=0,ud&&(md=[md[0]&2,ud.value]),md[0]){case 0:case 1:ud=md;break;case 4:return nd.label++,{value:md[1],done:!1};case 5:nd.label++,ld=md[1],md=[0];continue;case 7:md=nd.ops.pop(),nd.trys.pop();continue;default:if(ud=nd.trys,!(ud=ud.length>0&&ud[ud.length-1])&&(md[0]===6||md[0]===2)){nd=0;continue}if(md[0]===3&&(!ud||md[1]>ud[0]&&md[1]<ud[3])){nd.label=md[1];break}if(md[0]===6&&nd.label<ud[1]){nd.label=ud[1],ud=md;break}if(ud&&nd.label<ud[2]){nd.label=ud[2],nd.ops.push(md);break}ud[2]&&nd.ops.pop(),nd.trys.pop();continue}md=qa.call(Ra,nd)}catch(vd){md=[6,vd],ld=0}finally{od=ud=0}if(md[0]&5)throw md[1];return{value:md[0]?md[1]:void 0,done:!0}}},Direct=function(Ra){__extends(qa,Ra);function qa(){return Ra!==null&&Ra.apply(this,arguments)||this}return qa.prototype.run=function(){return __awaiter$2(this,void 0,void 0,function(){var nd,od,ld,ud,dd,pd=this;return __generator$2(this,function(fd){switch(fd.label){case 0:return this.logger.info("start run Direct."),nd=new FormData,nd.append("file",this.file),nd.append("token",this.token),this.key!=null&&nd.append("key",this.key),nd.append("fname",this.putExtra.fname),this.config.checkByServer?[4,CRC32.file(this.file)]:[3,2];case 1:od=fd.sent(),nd.append("crc32",od.toString()),fd.label=2;case 2:return this.putExtra.customVars&&(this.logger.info("init customVars."),ld=this.putExtra.customVars,Object.keys(ld).forEach(function(md){return nd.append(md,ld[md].toString())}),this.logger.info("customVars inited.")),this.putExtra.metadata&&(this.logger.info("init metadata."),ud=this.putExtra.metadata,Object.keys(ud).forEach(function(md){return nd.append(md,ud[md].toString())})),this.logger.info("formData inited."),[4,direct(this.uploadHost.getUrl(),nd,{onProgress:function(md){pd.updateDirectProgress(md.loaded,md.total)},onCreate:function(md){return pd.addXhr(md)}})];case 3:return dd=fd.sent(),this.logger.info("Direct progress finish."),this.finishDirectProgress(),[2,dd]}})})},qa.prototype.updateDirectProgress=function(nd,od){this.progress={total:this.getProgressInfoItem(nd,od+1)},this.onData(this.progress)},qa.prototype.finishDirectProgress=function(){if(!this.progress){this.logger.warn("progress is null."),this.progress={total:this.getProgressInfoItem(this.file.size,this.file.size)},this.onData(this.progress);return}var nd=this.progress.total;this.progress={total:this.getProgressInfoItem(nd.loaded+1,nd.size)},this.onData(this.progress)},qa}(Base);function reportV3(Ra,qa,nd){nd===void 0&&(nd=3);var od=createXHR();od.open("POST","https://uplog.qbox.me/log/3"),od.setRequestHeader("Content-type","application/x-www-form-urlencoded"),od.setRequestHeader("Authorization",getAuthHeaders(Ra).Authorization),od.onreadystatechange=function(){od.readyState===4&&od.status!==200&&nd>0&&reportV3(Ra,qa,nd-1)};var ld=[qa.code||"",qa.reqId||"",qa.host||"",qa.remoteIp||"",qa.port||"",qa.duration||"",qa.time||"",qa.bytesSent||"",qa.upType||"",qa.size||""].join(",");od.send(ld)}var __read$2=function(Ra,qa){var nd=typeof Symbol=="function"&&Ra[Symbol.iterator];if(!nd)return Ra;var od=nd.call(Ra),ld,ud=[],dd;try{for(;(qa===void 0||qa-- >0)&&!(ld=od.next()).done;)ud.push(ld.value)}catch(pd){dd={error:pd}}finally{try{ld&&!ld.done&&(nd=od.return)&&nd.call(od)}finally{if(dd)throw dd.error}}return ud},__spread$2=function(){for(var Ra=[],qa=0;qa<arguments.length;qa++)Ra=Ra.concat(__read$2(arguments[qa]));return Ra},Logger=function(){function Ra(qa,nd,od,ld){nd===void 0&&(nd=!0),od===void 0&&(od="OFF"),ld===void 0&&(ld="UPLOAD"),this.token=qa,this.disableReport=nd,this.level=od,this.prefix=ld,this.id=++Ra.id}return Ra.prototype.getPrintPrefix=function(qa){return"Qiniu-JS-SDK ["+qa+"]["+this.prefix+"#"+this.id+"]:"},Ra.prototype.report=function(qa,nd){if(!this.disableReport)try{reportV3(this.token,qa,nd)}catch(od){this.warn(od)}},Ra.prototype.info=function(){for(var qa=[],nd=0;nd<arguments.length;nd++)qa[nd]=arguments[nd];var od=["INFO"];od.includes(this.level)&&console.log.apply(console,__spread$2([this.getPrintPrefix("INFO")],qa))},Ra.prototype.warn=function(){for(var qa=[],nd=0;nd<arguments.length;nd++)qa[nd]=arguments[nd];var od=["INFO","WARN"];od.includes(this.level)&&console.warn.apply(console,__spread$2([this.getPrintPrefix("WARN")],qa))},Ra.prototype.error=function(){for(var qa=[],nd=0;nd<arguments.length;nd++)qa[nd]=arguments[nd];var od=["INFO","WARN","ERROR"];od.includes(this.level)&&console.error.apply(console,__spread$2([this.getPrintPrefix("ERROR")],qa))},Ra.id=0,Ra}(),__awaiter$1=function(Ra,qa,nd,od){function ld(ud){return ud instanceof nd?ud:new nd(function(dd){dd(ud)})}return new(nd||(nd=Promise))(function(ud,dd){function pd(vd){try{md(od.next(vd))}catch(Ad){dd(Ad)}}function fd(vd){try{md(od.throw(vd))}catch(Ad){dd(Ad)}}function md(vd){vd.done?ud(vd.value):ld(vd.value).then(pd,fd)}md((od=od.apply(Ra,qa||[])).next())})},__generator$1=function(Ra,qa){var nd={label:0,sent:function(){if(ud[0]&1)throw ud[1];return ud[1]},trys:[],ops:[]},od,ld,ud,dd;return dd={next:pd(0),throw:pd(1),return:pd(2)},typeof Symbol=="function"&&(dd[Symbol.iterator]=function(){return this}),dd;function pd(md){return function(vd){return fd([md,vd])}}function fd(md){if(od)throw new TypeError("Generator is already executing.");for(;nd;)try{if(od=1,ld&&(ud=md[0]&2?ld.return:md[0]?ld.throw||((ud=ld.return)&&ud.call(ld),0):ld.next)&&!(ud=ud.call(ld,md[1])).done)return ud;switch(ld=0,ud&&(md=[md[0]&2,ud.value]),md[0]){case 0:case 1:ud=md;break;case 4:return nd.label++,{value:md[1],done:!1};case 5:nd.label++,ld=md[1],md=[0];continue;case 7:md=nd.ops.pop(),nd.trys.pop();continue;default:if(ud=nd.trys,!(ud=ud.length>0&&ud[ud.length-1])&&(md[0]===6||md[0]===2)){nd=0;continue}if(md[0]===3&&(!ud||md[1]>ud[0]&&md[1]<ud[3])){nd.label=md[1];break}if(md[0]===6&&nd.label<ud[1]){nd.label=ud[1],ud=md;break}if(ud&&nd.label<ud[2]){nd.label=ud[2],nd.ops.push(md);break}ud[2]&&nd.ops.pop(),nd.trys.pop();continue}md=qa.call(Ra,nd)}catch(vd){md=[6,vd],ld=0}finally{od=ud=0}if(md[0]&5)throw md[1];return{value:md[0]?md[1]:void 0,done:!0}}},__read$1=function(Ra,qa){var nd=typeof Symbol=="function"&&Ra[Symbol.iterator];if(!nd)return Ra;var od=nd.call(Ra),ld,ud=[],dd;try{for(;(qa===void 0||qa-- >0)&&!(ld=od.next()).done;)ud.push(ld.value)}catch(pd){dd={error:pd}}finally{try{ld&&!ld.done&&(nd=od.return)&&nd.call(od)}finally{if(dd)throw dd.error}}return ud},__spread$1=function(){for(var Ra=[],qa=0;qa<arguments.length;qa++)Ra=Ra.concat(__read$1(arguments[qa]));return Ra},unfreezeTimeMap=new Map,Host=function(){function Ra(qa,nd){this.host=qa,this.protocol=nd}return Ra.prototype.isFrozen=function(){var qa=new Date().getTime(),nd=unfreezeTimeMap.get(this.host);return nd!=null&&nd>=qa},Ra.prototype.freeze=function(qa){qa===void 0&&(qa=20);var nd=new Date().getTime()+qa*1e3;unfreezeTimeMap.set(this.host,nd)},Ra.prototype.unfreeze=function(){unfreezeTimeMap.delete(this.host)},Ra.prototype.getUrl=function(){return this.protocol+"://"+this.host},Ra.prototype.getUnfreezeTime=function(){return unfreezeTimeMap.get(this.host)},Ra}(),HostPool=function(){function Ra(qa){qa===void 0&&(qa=[]),this.initHosts=qa,this.cachedHostsMap=new Map}return Ra.prototype.register=function(qa,nd,od,ld){this.cachedHostsMap.set(qa+"@"+nd,od.map(function(ud){return new Host(ud,ld)}))},Ra.prototype.refresh=function(qa,nd,od){var ld,ud,dd,pd;return __awaiter$1(this,void 0,void 0,function(){var fd,md,vd;return __generator$1(this,function(Ad){switch(Ad.label){case 0:return fd=this.cachedHostsMap.get(qa+"@"+nd)||[],fd.length>0?[2]:this.initHosts.length>0?(this.register(qa,nd,this.initHosts,od),[2]):[4,getUpHosts(qa,nd,od)];case 1:return md=Ad.sent(),(md==null?void 0:md.data)!=null&&(vd=__spread$1(((ud=(ld=md.data.up)===null||ld===void 0?void 0:ld.acc)===null||ud===void 0?void 0:ud.main)||[],((pd=(dd=md.data.up)===null||dd===void 0?void 0:dd.acc)===null||pd===void 0?void 0:pd.backup)||[]),this.register(qa,nd,vd,od)),[2]}})})},Ra.prototype.getUp=function(qa,nd,od){return __awaiter$1(this,void 0,void 0,function(){var ld,ud,dd;return __generator$1(this,function(pd){switch(pd.label){case 0:return[4,this.refresh(qa,nd,od)];case 1:return pd.sent(),ld=this.cachedHostsMap.get(qa+"@"+nd)||[],ld.length===0?[2,null]:(ud=ld.filter(function(fd){return!fd.isFrozen()}),ud.length>0?[2,ud[0]]:(dd=ld.slice().sort(function(fd,md){return(fd.getUnfreezeTime()||0)-(md.getUnfreezeTime()||0)}),[2,dd[0]]))}})})},Ra}();function createUploadManager(Ra,qa,nd,od){return Ra.config&&Ra.config.forceDirect?(od.info("ues forceDirect mode."),new Direct(Ra,qa,nd,od)):Ra.file.size>4*MB?(od.info("file size over 4M, use Resume."),new Resume(Ra,qa,nd,od)):(od.info("file size less or equal than 4M, use Direct."),new Direct(Ra,qa,nd,od))}function upload(Ra,qa,nd,od,ld){var ud=new Logger(nd,ld==null?void 0:ld.disableStatisticsReport,ld==null?void 0:ld.debugLogLevel,Ra.name),dd={file:Ra,key:qa,token:nd,putExtra:od,config:normalizeUploadConfig(ld,ud)},pd=new HostPool(dd.config.uphost);return new Observable(function(fd){var md=createUploadManager(dd,{onData:function(vd){return fd.next(vd)},onError:function(vd){return fd.error(vd)},onComplete:function(vd){return fd.complete(vd)}},pd,ud);return md.putFile(),md.stop.bind(md)})}var __assign$1=function(){return __assign$1=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd<od;nd++){qa=arguments[nd];for(var ld in qa)Object.prototype.hasOwnProperty.call(qa,ld)&&(Ra[ld]=qa[ld])}return Ra},__assign$1.apply(this,arguments)},__rest=function(Ra,qa){var nd={};for(var od in Ra)Object.prototype.hasOwnProperty.call(Ra,od)&&qa.indexOf(od)<0&&(nd[od]=Ra[od]);if(Ra!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ld=0,od=Object.getOwnPropertySymbols(Ra);ld<od.length;ld++)qa.indexOf(od[ld])<0&&Object.prototype.propertyIsEnumerable.call(Ra,od[ld])&&(nd[od[ld]]=Ra[od[ld]]);return nd},__read=function(Ra,qa){var nd=typeof Symbol=="function"&&Ra[Symbol.iterator];if(!nd)return Ra;var od=nd.call(Ra),ld,ud=[],dd;try{for(;(qa===void 0||qa-- >0)&&!(ld=od.next()).done;)ud.push(ld.value)}catch(pd){dd={error:pd}}finally{try{ld&&!ld.done&&(nd=od.return)&&nd.call(od)}finally{if(dd)throw dd.error}}return ud},__spread=function(){for(var Ra=[],qa=0;qa<arguments.length;qa++)Ra=Ra.concat(__read(arguments[qa]));return Ra};function normalizeUploadConfig(Ra,qa){var nd=__assign$1({},Ra),od=nd.upprotocol,ld=nd.uphost,ud=__rest(nd,["upprotocol","uphost"]),dd=__assign$1({uphost:[],retryCount:3,checkByMD5:!1,forceDirect:!1,useCdnDomain:!0,checkByServer:!1,concurrentRequestLimit:3,chunkSize:DEFAULT_CHUNK_SIZE,upprotocol:"https",debugLogLevel:"OFF",disableStatisticsReport:!1},ud);od&&(dd.upprotocol=od.replace(/:$/,""));var pd=[];if(qa&&(Ra==null?void 0:Ra.uphost)!=null&&(Ra==null?void 0:Ra.region)!=null&&qa.warn("do not use both the uphost and region config."),ld)Array.isArray(ld)?pd.push.apply(pd,__spread(ld)):pd.push(ld);else if(dd!=null&&dd.region){var fd=regionUphostMap[dd==null?void 0:dd.region];dd.useCdnDomain?pd.push.apply(pd,__spread(fd.cdnUphost)):pd.push.apply(pd,__spread(fd.srcUphost))}return __assign$1(__assign$1({},dd),{uphost:pd.filter(Boolean)})}var __assign=function(){return __assign=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd<od;nd++){qa=arguments[nd];for(var ld in qa)Object.prototype.hasOwnProperty.call(qa,ld)&&(Ra[ld]=qa[ld])}return Ra},__assign.apply(this,arguments)},__awaiter=function(Ra,qa,nd,od){function ld(ud){return ud instanceof nd?ud:new nd(function(dd){dd(ud)})}return new(nd||(nd=Promise))(function(ud,dd){function pd(vd){try{md(od.next(vd))}catch(Ad){dd(Ad)}}function fd(vd){try{md(od.throw(vd))}catch(Ad){dd(Ad)}}function md(vd){vd.done?ud(vd.value):ld(vd.value).then(pd,fd)}md((od=od.apply(Ra,[])).next())})},__generator=function(Ra,qa){var nd={label:0,sent:function(){if(ud[0]&1)throw ud[1];return ud[1]},trys:[],ops:[]},od,ld,ud,dd;return dd={next:pd(0),throw:pd(1),return:pd(2)},typeof Symbol=="function"&&(dd[Symbol.iterator]=function(){return this}),dd;function pd(md){return function(vd){return fd([md,vd])}}function fd(md){if(od)throw new TypeError("Generator is already executing.");for(;nd;)try{if(od=1,ld&&(ud=md[0]&2?ld.return:md[0]?ld.throw||((ud=ld.return)&&ud.call(ld),0):ld.next)&&!(ud=ud.call(ld,md[1])).done)return ud;switch(ld=0,ud&&(md=[md[0]&2,ud.value]),md[0]){case 0:case 1:ud=md;break;case 4:return nd.label++,{value:md[1],done:!1};case 5:nd.label++,ld=md[1],md=[0];continue;case 7:md=nd.ops.pop(),nd.trys.pop();continue;default:if(ud=nd.trys,!(ud=ud.length>0&&ud[ud.length-1])&&(md[0]===6||md[0]===2)){nd=0;continue}if(md[0]===3&&(!ud||md[1]>ud[0]&&md[1]<ud[3])){nd.label=md[1];break}if(md[0]===6&&nd.label<ud[1]){nd.label=ud[1],ud=md;break}if(ud&&nd.label<ud[2]){nd.label=ud[2],nd.ops.push(md);break}ud[2]&&nd.ops.pop(),nd.trys.pop();continue}md=qa.call(Ra,nd)}catch(vd){md=[6,vd],ld=0}finally{od=ud=0}if(md[0]&5)throw md[1];return{value:md[0]?md[1]:void 0,done:!0}}},mimeTypes={PNG:"image/png",JPEG:"image/jpeg",WEBP:"image/webp",BMP:"image/bmp"},maxSteps=4,scaleFactor=Math.log(2),supportMimeTypes=Object.keys(mimeTypes).map(function(Ra){return mimeTypes[Ra]}),defaultType=mimeTypes.JPEG;function isSupportedType(Ra){return supportMimeTypes.includes(Ra)}var Compress=function(){function Ra(qa,nd){this.file=qa,this.config=nd,this.config=__assign({quality:.92,noCompressIfLarger:!1},this.config)}return Ra.prototype.process=function(){return __awaiter(this,void 0,void 0,function(){var qa,nd,od,ld,ud,dd;return __generator(this,function(pd){switch(pd.label){case 0:if(this.outputType=this.file.type,qa={},!isSupportedType(this.file.type))throw new QiniuError(QiniuErrorName.UnsupportedFileType,"unsupported file type: "+this.file.type);return[4,this.getOriginImage()];case 1:return nd=pd.sent(),[4,this.getCanvas(nd)];case 2:return od=pd.sent(),ld=1,this.config.maxWidth&&(ld=Math.min(1,this.config.maxWidth/od.width)),this.config.maxHeight&&(ld=Math.min(1,ld,this.config.maxHeight/od.height)),qa.width=od.width,qa.height=od.height,[4,this.doScale(od,ld)];case 3:return ud=pd.sent(),dd=this.toBlob(ud),dd.size>this.file.size&&this.config.noCompressIfLarger?[2,{dist:this.file,width:qa.width,height:qa.height}]:[2,{dist:dd,width:ud.width,height:ud.height}]}})})},Ra.prototype.clear=function(qa,nd,od){this.outputType===defaultType?(qa.fillStyle="#fff",qa.fillRect(0,0,nd,od)):qa.clearRect(0,0,nd,od)},Ra.prototype.getOriginImage=function(){var qa=this;return new Promise(function(nd,od){var ld=createObjectURL(qa.file),ud=new Image;ud.onload=function(){nd(ud)},ud.onerror=function(){od("image load error")},ud.src=ld})},Ra.prototype.getCanvas=function(qa){var nd=this;return new Promise(function(od,ld){var ud=document.createElement("canvas"),dd=ud.getContext("2d");if(!dd){ld(new QiniuError(QiniuErrorName.GetCanvasContextFailed,"context is null"));return}var pd=qa.width,fd=qa.height;ud.height=fd,ud.width=pd,nd.clear(dd,pd,fd),dd.drawImage(qa,0,0),od(ud)})},Ra.prototype.doScale=function(qa,nd){return __awaiter(this,void 0,void 0,function(){var od,ld,ud,dd,pd,fd,md,vd,Ad,Nd,Od,kd,Ld,Gd,jd,Fd;return __generator(this,function(Ud){if(nd===1)return[2,qa];if(od=qa.getContext("2d"),ld=Math.min(maxSteps,Math.ceil(1/nd/scaleFactor)),ud=Math.pow(nd,1/ld),dd=document.createElement("canvas"),pd=dd.getContext("2d"),fd=qa.width,md=qa.height,vd=fd,Ad=md,dd.width=fd,dd.height=md,!pd||!od)throw new QiniuError(QiniuErrorName.GetCanvasContextFailed,"mctx or sctx can't be null");for(kd=0;kd<ld;kd++)Ld=fd*ud|0,Gd=md*ud|0,kd===ld-1&&(Ld=vd*nd,Gd=Ad*nd),kd%2===0?(Nd=qa,Od=pd):(Nd=dd,Od=od),this.clear(Od,fd,md),Od.drawImage(Nd,0,0,fd,md,0,0,Ld,Gd),fd=Ld,md=Gd;return jd=Nd===qa?dd:qa,Fd=Od.getImageData(0,0,fd,md),jd.width=fd,jd.height=md,Od.putImageData(Fd,0,0),[2,jd]})})},Ra.prototype.toBlob=function(qa){var nd=qa.toDataURL(this.outputType,this.config.quality),od=atob(nd.split(",")[1]).split("").map(function(ud){return ud.charCodeAt(0)}),ld=new Blob([new Uint8Array(od)],{type:this.outputType});return ld},Ra}(),compressImage=function(Ra,qa){return new Compress(Ra,qa).process()};function getImageUrl(Ra,qa){return Ra=encodeURIComponent(Ra),qa.slice(qa.length-1)!=="/"&&(qa+="/"),qa+Ra}function imageView2(Ra,qa,nd){if(!/^\d$/.test(String(Ra.mode)))throw"mode should be number in imageView2";var od=Ra.mode,ld=Ra.w,ud=Ra.h,dd=Ra.q,pd=Ra.format;if(!ld&&!ud)throw"param w and h is empty in imageView2";var fd="imageView2/"+encodeURIComponent(od);return fd+=ld?"/w/"+encodeURIComponent(ld):"",fd+=ud?"/h/"+encodeURIComponent(ud):"",fd+=dd?"/q/"+encodeURIComponent(dd):"",fd+=pd?"/format/"+encodeURIComponent(pd):"",fd}function imageMogr2(Ra,qa,nd){var od=Ra["auto-orient"],ld=Ra.thumbnail,ud=Ra.strip,dd=Ra.gravity,pd=Ra.crop,fd=Ra.quality,md=Ra.rotate,vd=Ra.format,Ad=Ra.blur,Nd="imageMogr2";return Nd+=od?"/auto-orient":"",Nd+=ld?"/thumbnail/"+encodeURIComponent(ld):"",Nd+=ud?"/strip":"",Nd+=dd?"/gravity/"+encodeURIComponent(dd):"",Nd+=fd?"/quality/"+encodeURIComponent(fd):"",Nd+=pd?"/crop/"+encodeURIComponent(pd):"",Nd+=md?"/rotate/"+encodeURIComponent(md):"",Nd+=vd?"/format/"+encodeURIComponent(vd):"",Nd+=Ad?"/blur/"+encodeURIComponent(Ad):"",qa&&nd&&(Nd=getImageUrl(qa,nd)+"?"+Nd),Nd}function watermark(Ra,qa,nd){var od=Ra.mode;if(!od)throw"mode can't be empty in watermark";var ld="watermark/"+od;if(od!==1&&od!==2)throw"mode is wrong";if(od===1){var ud=Ra.image;if(!ud)throw"image can't be empty in watermark";ld+=ud?"/image/"+urlSafeBase64Encode(ud):""}if(od===2){var dd=Ra.text,pd=Ra.font,fd=Ra.fontsize,md=Ra.fill;if(!dd)throw"text can't be empty in watermark";ld+=dd?"/text/"+urlSafeBase64Encode(dd):"",ld+=pd?"/font/"+urlSafeBase64Encode(pd):"",ld+=fd?"/fontsize/"+fd:"",ld+=md?"/fill/"+urlSafeBase64Encode(md):""}var vd=Ra.dissolve,Ad=Ra.gravity,Nd=Ra.dx,Od=Ra.dy;return ld+=vd?"/dissolve/"+encodeURIComponent(vd):"",ld+=Ad?"/gravity/"+encodeURIComponent(Ad):"",ld+=Nd?"/dx/"+encodeURIComponent(Nd):"",ld+=Od?"/dy/"+encodeURIComponent(Od):"",qa&&nd&&(ld=getImageUrl(qa,nd)+"?"+ld),ld}function imageInfo(Ra,qa){var nd=getImageUrl(Ra,qa)+"?imageInfo";return request(nd,{method:"GET"})}function exif(Ra,qa){var nd=getImageUrl(Ra,qa)+"?exif";return request(nd,{method:"GET"})}function pipeline(Ra,qa,nd){var od=Object.prototype.toString.call(Ra)==="[object Array]",ld,ud=!1,dd="";if(od){for(var pd=0,fd=Ra.length;pd<fd;pd++){if(ld=Ra[pd],!ld.fop)throw"fop can't be empty in pipeline";switch(ld.fop){case"watermark":dd+=watermark(ld)+"|";break;case"imageView2":dd+=imageView2(ld)+"|";break;case"imageMogr2":dd+=imageMogr2(ld)+"|";break;default:ud=!0;break}if(ud)throw"fop is wrong in pipeline"}if(qa&&nd){dd=getImageUrl(qa,nd)+"?"+dd;var md=dd.length;dd.slice(md-1)==="|"&&(dd=dd.slice(0,md-1))}return dd}throw"pipeline's first param should be array"}const qiniu=Object.freeze(Object.defineProperty({__proto__:null,QiniuError,get QiniuErrorName(){return QiniuErrorName},QiniuNetworkError,QiniuRequestError,compressImage,deleteUploadedChunks,exif,getHeadersForChunkUpload,getHeadersForMkFile,getUploadUrl,imageInfo,imageMogr2,pipeline,region,upload,urlSafeBase64Decode,urlSafeBase64Encode,watermark},Symbol.toStringTag,{value:"Module"}));var TinyOSS={},interopRequireDefault={exports:{}};(function(Ra){function qa(nd){return nd&&nd.__esModule?nd:{default:nd}}Ra.exports=qa,Ra.exports.__esModule=!0,Ra.exports.default=Ra.exports})(interopRequireDefault);var interopRequireDefaultExports=interopRequireDefault.exports;/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var objectAssign,hasRequiredObjectAssign;function requireObjectAssign(){if(hasRequiredObjectAssign)return objectAssign;hasRequiredObjectAssign=1;var Ra=Object.getOwnPropertySymbols,qa=Object.prototype.hasOwnProperty,nd=Object.prototype.propertyIsEnumerable;function od(ud){if(ud==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(ud)}function ld(){try{if(!Object.assign)return!1;var ud=new String("abc");if(ud[5]="de",Object.getOwnPropertyNames(ud)[0]==="5")return!1;for(var dd={},pd=0;pd<10;pd++)dd["_"+String.fromCharCode(pd)]=pd;var fd=Object.getOwnPropertyNames(dd).map(function(vd){return dd[vd]});if(fd.join("")!=="0123456789")return!1;var md={};return"abcdefghijklmnopqrst".split("").forEach(function(vd){md[vd]=vd}),Object.keys(Object.assign({},md)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return objectAssign=ld()?Object.assign:function(ud,dd){for(var pd,fd=od(ud),md,vd=1;vd<arguments.length;vd++){pd=Object(arguments[vd]);for(var Ad in pd)qa.call(pd,Ad)&&(fd[Ad]=pd[Ad]);if(Ra){md=Ra(pd);for(var Nd=0;Nd<md.length;Nd++)nd.call(pd,md[Nd])&&(fd[md[Nd]]=pd[md[Nd]])}}return fd},objectAssign}var ajax={},hasRequiredAjax;function requireAjax(){return hasRequiredAjax||(hasRequiredAjax=1,function(Ra){Ra.__esModule=!0,Ra.default=qa;function qa(nd,od){return od===void 0&&(od={}),new Promise(function(ld,ud){var dd=od,pd=dd.async,fd=pd===void 0?!0:pd,md=dd.data,vd=md===void 0?null:md,Ad=dd.headers,Nd=Ad===void 0?{}:Ad,Od=dd.method,kd=Od===void 0?"get":Od,Ld=dd.timeout,Gd=Ld===void 0?0:Ld,jd=dd.onprogress,Fd=new XMLHttpRequest,Ud;Gd&&(Ud=setTimeout(function(){ud(new Error("the request timeout "+Gd+"ms"))},Gd)),Fd.onerror=function(){ud(new Error("unknown error"))},Fd.upload&&(Fd.upload.onprogress=jd),Fd.onreadystatechange=function(){if(Fd.readyState===4)if(Gd&&clearTimeout(Ud),Fd.status>=200&&Fd.status<300)ld(Fd.response,Fd);else{var qd=new Error("the request is error");ud(qd)}},Fd.open(kd,nd,fd),Object.keys(Nd).forEach(function(qd){Fd.setRequestHeader(qd,Nd[qd])});try{Fd.send(vd)}catch(qd){ud(qd)}})}}(ajax)),ajax}var utils={},md5={exports:{}},crypt={exports:{}},hasRequiredCrypt;function requireCrypt(){return hasRequiredCrypt||(hasRequiredCrypt=1,function(){var Ra="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",qa={rotl:function(nd,od){return nd<<od|nd>>>32-od},rotr:function(nd,od){return nd<<32-od|nd>>>od},endian:function(nd){if(nd.constructor==Number)return qa.rotl(nd,8)&16711935|qa.rotl(nd,24)&4278255360;for(var od=0;od<nd.length;od++)nd[od]=qa.endian(nd[od]);return nd},randomBytes:function(nd){for(var od=[];nd>0;nd--)od.push(Math.floor(Math.random()*256));return od},bytesToWords:function(nd){for(var od=[],ld=0,ud=0;ld<nd.length;ld++,ud+=8)od[ud>>>5]|=nd[ld]<<24-ud%32;return od},wordsToBytes:function(nd){for(var od=[],ld=0;ld<nd.length*32;ld+=8)od.push(nd[ld>>>5]>>>24-ld%32&255);return od},bytesToHex:function(nd){for(var od=[],ld=0;ld<nd.length;ld++)od.push((nd[ld]>>>4).toString(16)),od.push((nd[ld]&15).toString(16));return od.join("")},hexToBytes:function(nd){for(var od=[],ld=0;ld<nd.length;ld+=2)od.push(parseInt(nd.substr(ld,2),16));return od},bytesToBase64:function(nd){for(var od=[],ld=0;ld<nd.length;ld+=3)for(var ud=nd[ld]<<16|nd[ld+1]<<8|nd[ld+2],dd=0;dd<4;dd++)ld*8+dd*6<=nd.length*8?od.push(Ra.charAt(ud>>>6*(3-dd)&63)):od.push("=");return od.join("")},base64ToBytes:function(nd){nd=nd.replace(/[^A-Z0-9+\/]/ig,"");for(var od=[],ld=0,ud=0;ld<nd.length;ud=++ld%4)ud!=0&&od.push((Ra.indexOf(nd.charAt(ld-1))&Math.pow(2,-2*ud+8)-1)<<ud*2|Ra.indexOf(nd.charAt(ld))>>>6-ud*2);return od}};crypt.exports=qa}()),crypt.exports}var charenc_1,hasRequiredCharenc;function requireCharenc(){if(hasRequiredCharenc)return charenc_1;hasRequiredCharenc=1;var Ra={utf8:{stringToBytes:function(qa){return Ra.bin.stringToBytes(unescape(encodeURIComponent(qa)))},bytesToString:function(qa){return decodeURIComponent(escape(Ra.bin.bytesToString(qa)))}},bin:{stringToBytes:function(qa){for(var nd=[],od=0;od<qa.length;od++)nd.push(qa.charCodeAt(od)&255);return nd},bytesToString:function(qa){for(var nd=[],od=0;od<qa.length;od++)nd.push(String.fromCharCode(qa[od]));return nd.join("")}}};return charenc_1=Ra,charenc_1}/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/var isBuffer_1,hasRequiredIsBuffer;function requireIsBuffer(){if(hasRequiredIsBuffer)return isBuffer_1;hasRequiredIsBuffer=1,isBuffer_1=function(nd){return nd!=null&&(Ra(nd)||qa(nd)||!!nd._isBuffer)};function Ra(nd){return!!nd.constructor&&typeof nd.constructor.isBuffer=="function"&&nd.constructor.isBuffer(nd)}function qa(nd){return typeof nd.readFloatLE=="function"&&typeof nd.slice=="function"&&Ra(nd.slice(0,0))}return isBuffer_1}var hasRequiredMd5;function requireMd5(){return hasRequiredMd5||(hasRequiredMd5=1,function(){var Ra=requireCrypt(),qa=requireCharenc().utf8,nd=requireIsBuffer(),od=requireCharenc().bin,ld=function(ud,dd){ud.constructor==String?dd&&dd.encoding==="binary"?ud=od.stringToBytes(ud):ud=qa.stringToBytes(ud):nd(ud)?ud=Array.prototype.slice.call(ud,0):!Array.isArray(ud)&&ud.constructor!==Uint8Array&&(ud=ud.toString());for(var pd=Ra.bytesToWords(ud),fd=ud.length*8,md=1732584193,vd=-271733879,Ad=-1732584194,Nd=271733878,Od=0;Od<pd.length;Od++)pd[Od]=(pd[Od]<<8|pd[Od]>>>24)&16711935|(pd[Od]<<24|pd[Od]>>>8)&4278255360;pd[fd>>>5]|=128<<fd%32,pd[(fd+64>>>9<<4)+14]=fd;for(var kd=ld._ff,Ld=ld._gg,Gd=ld._hh,jd=ld._ii,Od=0;Od<pd.length;Od+=16){var Fd=md,Ud=vd,qd=Ad,zd=Nd;md=kd(md,vd,Ad,Nd,pd[Od+0],7,-680876936),Nd=kd(Nd,md,vd,Ad,pd[Od+1],12,-389564586),Ad=kd(Ad,Nd,md,vd,pd[Od+2],17,606105819),vd=kd(vd,Ad,Nd,md,pd[Od+3],22,-1044525330),md=kd(md,vd,Ad,Nd,pd[Od+4],7,-176418897),Nd=kd(Nd,md,vd,Ad,pd[Od+5],12,1200080426),Ad=kd(Ad,Nd,md,vd,pd[Od+6],17,-1473231341),vd=kd(vd,Ad,Nd,md,pd[Od+7],22,-45705983),md=kd(md,vd,Ad,Nd,pd[Od+8],7,1770035416),Nd=kd(Nd,md,vd,Ad,pd[Od+9],12,-1958414417),Ad=kd(Ad,Nd,md,vd,pd[Od+10],17,-42063),vd=kd(vd,Ad,Nd,md,pd[Od+11],22,-1990404162),md=kd(md,vd,Ad,Nd,pd[Od+12],7,1804603682),Nd=kd(Nd,md,vd,Ad,pd[Od+13],12,-40341101),Ad=kd(Ad,Nd,md,vd,pd[Od+14],17,-1502002290),vd=kd(vd,Ad,Nd,md,pd[Od+15],22,1236535329),md=Ld(md,vd,Ad,Nd,pd[Od+1],5,-165796510),Nd=Ld(Nd,md,vd,Ad,pd[Od+6],9,-1069501632),Ad=Ld(Ad,Nd,md,vd,pd[Od+11],14,643717713),vd=Ld(vd,Ad,Nd,md,pd[Od+0],20,-373897302),md=Ld(md,vd,Ad,Nd,pd[Od+5],5,-701558691),Nd=Ld(Nd,md,vd,Ad,pd[Od+10],9,38016083),Ad=Ld(Ad,Nd,md,vd,pd[Od+15],14,-660478335),vd=Ld(vd,Ad,Nd,md,pd[Od+4],20,-405537848),md=Ld(md,vd,Ad,Nd,pd[Od+9],5,568446438),Nd=Ld(Nd,md,vd,Ad,pd[Od+14],9,-1019803690),Ad=Ld(Ad,Nd,md,vd,pd[Od+3],14,-187363961),vd=Ld(vd,Ad,Nd,md,pd[Od+8],20,1163531501),md=Ld(md,vd,Ad,Nd,pd[Od+13],5,-1444681467),Nd=Ld(Nd,md,vd,Ad,pd[Od+2],9,-51403784),Ad=Ld(Ad,Nd,md,vd,pd[Od+7],14,1735328473),vd=Ld(vd,Ad,Nd,md,pd[Od+12],20,-1926607734),md=Gd(md,vd,Ad,Nd,pd[Od+5],4,-378558),Nd=Gd(Nd,md,vd,Ad,pd[Od+8],11,-2022574463),Ad=Gd(Ad,Nd,md,vd,pd[Od+11],16,1839030562),vd=Gd(vd,Ad,Nd,md,pd[Od+14],23,-35309556),md=Gd(md,vd,Ad,Nd,pd[Od+1],4,-1530992060),Nd=Gd(Nd,md,vd,Ad,pd[Od+4],11,1272893353),Ad=Gd(Ad,Nd,md,vd,pd[Od+7],16,-155497632),vd=Gd(vd,Ad,Nd,md,pd[Od+10],23,-1094730640),md=Gd(md,vd,Ad,Nd,pd[Od+13],4,681279174),Nd=Gd(Nd,md,vd,Ad,pd[Od+0],11,-358537222),Ad=Gd(Ad,Nd,md,vd,pd[Od+3],16,-722521979),vd=Gd(vd,Ad,Nd,md,pd[Od+6],23,76029189),md=Gd(md,vd,Ad,Nd,pd[Od+9],4,-640364487),Nd=Gd(Nd,md,vd,Ad,pd[Od+12],11,-421815835),Ad=Gd(Ad,Nd,md,vd,pd[Od+15],16,530742520),vd=Gd(vd,Ad,Nd,md,pd[Od+2],23,-995338651),md=jd(md,vd,Ad,Nd,pd[Od+0],6,-198630844),Nd=jd(Nd,md,vd,Ad,pd[Od+7],10,1126891415),Ad=jd(Ad,Nd,md,vd,pd[Od+14],15,-1416354905),vd=jd(vd,Ad,Nd,md,pd[Od+5],21,-57434055),md=jd(md,vd,Ad,Nd,pd[Od+12],6,1700485571),Nd=jd(Nd,md,vd,Ad,pd[Od+3],10,-1894986606),Ad=jd(Ad,Nd,md,vd,pd[Od+10],15,-1051523),vd=jd(vd,Ad,Nd,md,pd[Od+1],21,-2054922799),md=jd(md,vd,Ad,Nd,pd[Od+8],6,1873313359),Nd=jd(Nd,md,vd,Ad,pd[Od+15],10,-30611744),Ad=jd(Ad,Nd,md,vd,pd[Od+6],15,-1560198380),vd=jd(vd,Ad,Nd,md,pd[Od+13],21,1309151649),md=jd(md,vd,Ad,Nd,pd[Od+4],6,-145523070),Nd=jd(Nd,md,vd,Ad,pd[Od+11],10,-1120210379),Ad=jd(Ad,Nd,md,vd,pd[Od+2],15,718787259),vd=jd(vd,Ad,Nd,md,pd[Od+9],21,-343485551),md=md+Fd>>>0,vd=vd+Ud>>>0,Ad=Ad+qd>>>0,Nd=Nd+zd>>>0}return Ra.endian([md,vd,Ad,Nd])};ld._ff=function(ud,dd,pd,fd,md,vd,Ad){var Nd=ud+(dd&pd|~dd&fd)+(md>>>0)+Ad;return(Nd<<vd|Nd>>>32-vd)+dd},ld._gg=function(ud,dd,pd,fd,md,vd,Ad){var Nd=ud+(dd&fd|pd&~fd)+(md>>>0)+Ad;return(Nd<<vd|Nd>>>32-vd)+dd},ld._hh=function(ud,dd,pd,fd,md,vd,Ad){var Nd=ud+(dd^pd^fd)+(md>>>0)+Ad;return(Nd<<vd|Nd>>>32-vd)+dd},ld._ii=function(ud,dd,pd,fd,md,vd,Ad){var Nd=ud+(pd^(dd|~fd))+(md>>>0)+Ad;return(Nd<<vd|Nd>>>32-vd)+dd},ld._blocksize=16,ld._digestsize=16,md5.exports=function(ud,dd){if(ud==null)throw new Error("Illegal argument "+ud);var pd=Ra.wordsToBytes(ld(ud,dd));return dd&&dd.asBytes?pd:dd&&dd.asString?od.bytesToString(pd):Ra.bytesToHex(pd)}}()),md5.exports}var digest={exports:{}};/*! ***** BEGIN LICENSE BLOCK *****
*!
*! Copyright 2011-2012, 2014 Jean-Christophe Sirot <sirot@chelonix.com>
*!
*! This file is part of digest.js
*!
*! digest.js is free software: you can redistribute it and/or modify it under
*! the terms of the GNU General Public License as published by the Free Software
*! Foundation, either version 3 of the License, or (at your option) any later
*! version.
*!
*! digest.js is distributed in the hope that it will be useful, but
*! WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
*! or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
*! more details.
*!
*! You should have received a copy of the GNU General Public License along with
*! digest.js. If not, see http://www.gnu.org/licenses/.
*!
*! ***** END LICENSE BLOCK ***** */var hasRequiredDigest;function requireDigest(){return hasRequiredDigest||(hasRequiredDigest=1,function(Ra,qa){(function(){ArrayBuffer.prototype.slice||(ArrayBuffer.prototype.slice=function(nd,od){var ld,ud=new Uint8Array(this);od===void 0&&(od=ud.length);var dd=new ArrayBuffer(od-nd),pd=new Uint8Array(dd);for(ld=0;ld<pd.length;ld++)pd[ld]=ud[ld+nd];return dd})})(),function(nd){function od(){}od.prototype.processBlock=function(vd){var Ad=this.current[0],Nd=this.current[1],Od=this.current[2],kd=this.current[3],Ld=this.current[4],Gd=[vd[0]<<24|vd[1]<<16|vd[2]<<8|vd[3],vd[4]<<24|vd[5]<<16|vd[6]<<8|vd[7],vd[8]<<24|vd[9]<<16|vd[10]<<8|vd[11],vd[12]<<24|vd[13]<<16|vd[14]<<8|vd[15],vd[16]<<24|vd[17]<<16|vd[18]<<8|vd[19],vd[20]<<24|vd[21]<<16|vd[22]<<8|vd[23],vd[24]<<24|vd[25]<<16|vd[26]<<8|vd[27],vd[28]<<24|vd[29]<<16|vd[30]<<8|vd[31],vd[32]<<24|vd[33]<<16|vd[34]<<8|vd[35],vd[36]<<24|vd[37]<<16|vd[38]<<8|vd[39],vd[40]<<24|vd[41]<<16|vd[42]<<8|vd[43],vd[44]<<24|vd[45]<<16|vd[46]<<8|vd[47],vd[48]<<24|vd[49]<<16|vd[50]<<8|vd[51],vd[52]<<24|vd[53]<<16|vd[54]<<8|vd[55],vd[56]<<24|vd[57]<<16|vd[58]<<8|vd[59],vd[60]<<24|vd[61]<<16|vd[62]<<8|vd[63]],jd,Fd;for(Fd=16;Fd<80;Fd++)Gd.push((Gd[Fd-3]^Gd[Fd-8]^Gd[Fd-14]^Gd[Fd-16])<<1|(Gd[Fd-3]^Gd[Fd-8]^Gd[Fd-14]^Gd[Fd-16])>>>31);for(Fd=0;Fd<80;Fd++)jd=(Ad<<5|Ad>>>27)+Ld+Gd[Fd],Fd<20?jd+=(Nd&Od|~Nd&kd)+1518500249|0:Fd<40?jd+=(Nd^Od^kd)+1859775393|0:Fd<60?jd+=(Nd&Od|Nd&kd|Od&kd)+2400959708|0:jd+=(Nd^Od^kd)+3395469782|0,Ld=kd,kd=Od,Od=Nd<<30|Nd>>>2,Nd=Ad,Ad=jd;this.current[0]+=Ad,this.current[1]+=Nd,this.current[2]+=Od,this.current[3]+=kd,this.current[4]+=Ld,this.currentLen+=64},od.prototype.doPadding=function(){var vd=(this.inLen+this.currentLen)*8,Ad=0,Nd=vd&4294967295,Od=this.inLen<=55?55-this.inLen:119-this.inLen,kd=new Uint8Array(new ArrayBuffer(Od+1+8));return kd[0]=128,kd[kd.length-1]=Nd&255,kd[kd.length-2]=Nd>>>8&255,kd[kd.length-3]=Nd>>>16&255,kd[kd.length-4]=Nd>>>24&255,kd[kd.length-5]=Ad&255,kd[kd.length-6]=Ad>>>8&255,kd[kd.length-7]=Ad>>>16&255,kd[kd.length-8]=Ad>>>24&255,kd},od.prototype.getDigest=function(){var vd=new Uint8Array(new ArrayBuffer(20));return vd[3]=this.current[0]&255,vd[2]=this.current[0]>>>8&255,vd[1]=this.current[0]>>>16&255,vd[0]=this.current[0]>>>24&255,vd[7]=this.current[1]&255,vd[6]=this.current[1]>>>8&255,vd[5]=this.current[1]>>>16&255,vd[4]=this.current[1]>>>24&255,vd[11]=this.current[2]&255,vd[10]=this.current[2]>>>8&255,vd[9]=this.current[2]>>>16&255,vd[8]=this.current[2]>>>24&255,vd[15]=this.current[3]&255,vd[14]=this.current[3]>>>8&255,vd[13]=this.current[3]>>>16&255,vd[12]=this.current[3]>>>24&255,vd[19]=this.current[4]&255,vd[18]=this.current[4]>>>8&255,vd[17]=this.current[4]>>>16&255,vd[16]=this.current[4]>>>24&255,vd.buffer},od.prototype.reset=function(){this.currentLen=0,this.inLen=0,this.current=new Uint32Array(new ArrayBuffer(20)),this.current[0]=1732584193,this.current[1]=4023233417,this.current[2]=2562383102,this.current[3]=271733878,this.current[4]=3285377520},od.prototype.blockLen=64,od.prototype.digestLen=20;var ld=function(vd){var Ad=new ArrayBuffer(vd.length),Nd=new Uint8Array(Ad),Od;for(Od=0;Od<vd.length;Od++)Nd[Od]=vd.charCodeAt(Od);return Nd},ud=function(vd){var Ad=new ArrayBuffer(1),Nd=new Uint8Array(Ad);return Nd[0]=vd,Nd},dd=function(vd){if(vd.constructor===Uint8Array)return vd;if(vd.constructor===ArrayBuffer)return new Uint8Array(vd);if(vd.constructor===String)return ld(vd);if(vd.constructor===Number){if(vd>255)throw"For more than one byte, use an array buffer";if(vd<0)throw"Input value must be positive";return ud(vd)}else throw"Unsupported type"},pd=function(vd){var Ad=function(kd){for(var Ld=kd.length,Gd=0;Ld>0;){var jd=this.blockLen-this.inLen;jd>Ld&&(jd=Ld);var Fd=kd.subarray(Gd,Gd+jd);this.inbuf.set(Fd,this.inLen),Gd+=jd,Ld-=jd,this.inLen+=jd,this.inLen===this.blockLen&&(this.processBlock(this.inbuf),this.inLen=0)}},Nd=function(){var kd=this.doPadding();this.update(kd);var Ld=this.getDigest();return this.reset(),Ld},Od=function(){if(!vd)throw"Unsupported algorithm: "+vd.toString();vd.prototype.update=Ad,vd.prototype.finalize=Nd;var kd=new vd;return kd.inbuf=new Uint8Array(new ArrayBuffer(kd.blockLen)),kd.reset(),kd}();return{update:function(kd){Od.update(dd(kd))},finalize:function(){return Od.finalize()},digest:function(kd){return Od.update(dd(kd)),Od.finalize()},reset:function(){Od.reset()},digestLength:function(){return Od.digestLen}}},fd=function(vd){var Ad=!1,Nd,Od,kd,Ld=function(){var Ud,qd;if(!Ad){if(Nd===void 0)throw"MAC key is not defined";for(Nd.byteLength>64?qd=new Uint8Array(vd.digest(Nd)):qd=new Uint8Array(Nd),Od=new Uint8Array(new ArrayBuffer(64)),Ud=0;Ud<qd.length;Ud++)Od[Ud]=54^qd[Ud];for(Ud=qd.length;Ud<64;Ud++)Od[Ud]=54;for(kd=new Uint8Array(new ArrayBuffer(64)),Ud=0;Ud<qd.length;Ud++)kd[Ud]=92^qd[Ud];for(Ud=qd.length;Ud<64;Ud++)kd[Ud]=92;Ad=!0,vd.update(Od.buffer)}},Gd=function(){Ad=!1,Nd=void 0,Od=void 0,kd=void 0,vd.reset()},jd=function(){var Ud=vd.finalize();return vd.reset(),vd.update(kd.buffer),vd.update(Ud),Ud=vd.finalize(),Gd(),Ud},Fd=function(Ud){Nd=Ud};return{setKey:function(Ud){Fd(dd(Ud)),Ld()},update:function(Ud){vd.update(Ud)},finalize:function(){return jd()},mac:function(Ud){return this.update(Ud),this.finalize()},reset:function(){Gd()},hmacLength:function(){return vd.digestLength()}}},md={SHA1:function(){return pd(od)},HMAC_SHA1:function(){return fd(pd(od))}};Ra.exports&&(Ra.exports=md)}()}(digest)),digest.exports}var hasRequiredUtils;function requireUtils(){if(hasRequiredUtils)return utils;hasRequiredUtils=1;var Ra=interopRequireDefaultExports;utils.__esModule=!0,utils.unix=ud,utils.blobToBuffer=dd,utils.assertOptions=pd,utils.getContentMd5=md,utils.getCanonicalizedOSSHeaders=vd,utils.getCanonicalizedResource=Ad,utils.getSignature=Nd;var qa=Ra(requireMd5()),nd=Ra(requireBase64Js()),od=Ra(requireDigest());function ld(Od){return Od&&Object.prototype.toString.call(Od)==="[object Date]"&&Od.toString!=="Invalid Date"}function ud(Od){var kd;return Od&&(kd=new Date(Od)),ld(kd)||(kd=new Date),Math.round(kd.getTime()/1e3)}function dd(Od){return new Promise(function(kd,Ld){var Gd=new FileReader;Gd.onload=function(){var jd=new Uint8Array(Gd.result);kd(jd)},Gd.onerror=function(){Ld(Gd.error)},Gd.readAsArrayBuffer(Od)})}function pd(Od){var kd=Od.accessKeyId,Ld=Od.accessKeySecret,Gd=Od.bucket,jd=Od.endpoint;if(!kd)throw new Error("need accessKeyId");if(!Ld)throw new Error("need accessKeySecret");if(!Gd&&!jd)throw new Error("need bucket or endpoint")}function fd(Od){for(var kd=[],Ld=0;Ld<Od.length;Ld+=2)kd.push(parseInt(Od[Ld]+Od[Ld+1],16));return Uint8Array.from(kd)}function md(Od){var kd=Array.prototype.slice.call(Od,0),Ld=fd((0,qa.default)(kd));return nd.default.fromByteArray(Ld)}function vd(Od){var kd="",Ld=Object.keys(Od);return Ld=Ld.map(function(Gd){return Gd.toLowerCase()}),Ld.sort(),Ld.forEach(function(Gd){Gd.indexOf("x-oss-")===0&&(kd+=Gd+":"+Od[Gd]+`
`)}),kd}function Ad(Od,kd,Ld){Od===void 0&&(Od=""),kd===void 0&&(kd="");var Gd="";Od&&(Gd+="/"+Od),kd&&(kd.charAt(0)!=="/"&&(Gd+="/"),Gd+=kd);var jd=""+Gd,Fd="?";if(Ld){var Ud=function(Wd,Jd){return Wd[0]>Jd[0]?1:Wd[0]<Jd[0]?-1:0},qd=function(Wd){jd+=Fd+Wd,Ld[Wd]&&(jd+="="+Ld[Wd]),Fd="&"};Object.keys(Ld).sort(Ud).forEach(qd)}return jd}function Nd(Od){Od===void 0&&(Od={});var kd=Od,Ld=kd.type,Gd=Ld===void 0?"header":Ld,jd=kd.verb,Fd=jd===void 0?"":jd,Ud=kd.contentMd5,qd=Ud===void 0?"":Ud,zd=kd.expires,Wd=zd===void 0?ud()+3600:zd,Jd=kd.bucket,_f=kd.objectName,Xd=kd.accessKeySecret,pf=kd.headers,mf=pf===void 0?{}:pf,Sf=kd.subResource,Tf=mf["x-oss-date"]||"",Af=mf["Content-Type"]||"",Ef=[Fd,qd,Af];Gd==="header"?Ef.push(Tf):Ef.push(Wd);var Nf=vd(mf),If=Ad(Jd,_f,Sf);Ef.push(""+Nf+If);var Gf=Ef.join(`
`),Qf=new od.default.HMAC_SHA1;Qf.setKey(Xd),Qf.update(Gf);var Xf=new Uint8Array(Qf.finalize()),ph=nd.default.fromByteArray(Xf);return ph}return utils}(function(Ra){var qa=interopRequireDefaultExports;Ra.__esModule=!0,Ra.default=void 0;var nd=qa(requireObjectAssign()),od=qa(requireAjax()),ld=requireUtils(),ud=function(){function dd(fd){fd===void 0&&(fd={}),(0,ld.assertOptions)(fd),this.opts=(0,nd.default)({region:"oss-cn-hangzhou",internal:!1,cname:!1,secure:!1,timeout:6e4},fd);var md=this.opts,vd=md.bucket,Ad=md.region,Nd=md.endpoint,Od=md.internal;if(this.host="",Nd)this.host=Nd;else{var kd=vd;Od&&(kd+="-internal"),kd+="."+Ad+".aliyuncs.com",this.host=kd}}var pd=dd.prototype;return pd.put=function(md,vd,Ad){var Nd=this;return Ad===void 0&&(Ad={}),new Promise(function(Od,kd){(0,ld.blobToBuffer)(vd).then(function(Ld){var Gd=Nd.opts,jd=Gd.accessKeyId,Fd=Gd.accessKeySecret,Ud=Gd.stsToken,qd=Gd.bucket,zd="PUT",Wd=(0,ld.getContentMd5)(Ld),Jd=vd.type,_f={"Content-Md5":Wd,"Content-Type":Jd,"x-oss-date":new Date().toGMTString()};Ud&&(_f["x-oss-security-token"]=Ud);var Xd=(0,ld.getSignature)({verb:zd,contentMd5:Wd,headers:_f,bucket:qd,objectName:md,accessKeyId:jd,accessKeySecret:Fd});_f.Authorization="OSS "+jd+":"+Xd;var pf=Nd.opts.secure?"https":"http",mf=pf+"://"+Nd.host+"/"+md;return(0,od.default)(mf,{method:zd,headers:_f,data:vd,timeout:Nd.opts.timeout,onprogress:Ad.onprogress})}).then(Od).catch(kd)})},pd.putSymlink=function(md,vd){var Ad=this.opts,Nd=Ad.accessKeyId,Od=Ad.accessKeySecret,kd=Ad.stsToken,Ld=Ad.bucket,Gd="PUT",jd={"x-oss-date":new Date().toGMTString(),"x-oss-symlink-target":encodeURI(vd)};kd&&(jd["x-oss-security-token"]=kd);var Fd=(0,ld.getSignature)({verb:Gd,headers:jd,bucket:Ld,objectName:md,accessKeyId:Nd,accessKeySecret:Od,subResource:{symlink:""}});jd.Authorization="OSS "+Nd+":"+Fd;var Ud=this.opts.secure?"https":"http",qd=Ud+"://"+this.host+"/"+md+"?symlink";return(0,od.default)(qd,{method:Gd,headers:jd,timeout:this.opts.timeout})},pd.signatureUrl=function(md,vd){vd===void 0&&(vd={});var Ad=vd,Nd=Ad.expires,Od=Nd===void 0?1800:Nd,kd=Ad.method,Ld=Ad.process,Gd=Ad.response,jd=this.opts,Fd=jd.accessKeyId,Ud=jd.accessKeySecret,qd=jd.stsToken,zd=jd.bucket,Wd={},Jd={};if(Ld){var _f="x-oss-process";Jd[_f]=Ld}Gd&&Object.keys(Gd).forEach(function(Af){var Ef="response-"+Af.toLowerCase();Jd[Ef]=Gd[Af]}),Object.keys(vd).forEach(function(Af){var Ef=Af.toLowerCase(),Nf=vd[Af];Ef.indexOf("x-oss-")===0?Wd[Ef]=Nf:Ef.indexOf("content-md5")===0||Ef.indexOf("content-type")===0?Wd[Af]=Nf:Ef!=="expires"&&Ef!=="response"&&Ef!=="process"&&Ef!=="method"&&(Jd[Ef]=Nf)});var Xd=vd["security-token"]||qd;Xd&&(Jd["security-token"]=Xd);var pf=(0,ld.unix)()+Od,mf=(0,ld.getSignature)({type:"url",verb:kd||"GET",accessKeyId:Fd,accessKeySecret:Ud,bucket:zd,objectName:md,headers:Wd,subResource:Jd,expires:pf}),Sf=this.opts.secure?"https":"http",Tf=Sf+"://"+this.host+"/"+md;return Tf+="?OSSAccessKeyId="+Fd,Tf+="&Expires="+pf,Tf+="&Signature="+encodeURIComponent(mf),Object.keys(Jd).forEach(function(Af){Tf+="&"+Af+"="+encodeURIComponent(Jd[Af])}),Tf},dd}();Ra.default=ud})(TinyOSS);var lib=TinyOSS.default;const OSS=getDefaultExportFromCjs(lib),byteToHex=[];for(let Ra=0;Ra<256;++Ra)byteToHex.push((Ra+256).toString(16).slice(1));function unsafeStringify(Ra,qa=0){return(byteToHex[Ra[qa+0]]+byteToHex[Ra[qa+1]]+byteToHex[Ra[qa+2]]+byteToHex[Ra[qa+3]]+"-"+byteToHex[Ra[qa+4]]+byteToHex[Ra[qa+5]]+"-"+byteToHex[Ra[qa+6]]+byteToHex[Ra[qa+7]]+"-"+byteToHex[Ra[qa+8]]+byteToHex[Ra[qa+9]]+"-"+byteToHex[Ra[qa+10]]+byteToHex[Ra[qa+11]]+byteToHex[Ra[qa+12]]+byteToHex[Ra[qa+13]]+byteToHex[Ra[qa+14]]+byteToHex[Ra[qa+15]]).toLowerCase()}let getRandomValues;const rnds8=new Uint8Array(16);function rng(){if(!getRandomValues){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");getRandomValues=crypto.getRandomValues.bind(crypto)}return getRandomValues(rnds8)}const randomUUID=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),native={randomUUID};function v4(Ra,qa,nd){if(native.randomUUID&&!qa&&!Ra)return native.randomUUID();Ra=Ra||{};const od=Ra.random||(Ra.rng||rng)();if(od[6]=od[6]&15|64,od[8]=od[8]&63|128,qa){nd=nd||0;for(let ld=0;ld<16;++ld)qa[nd+ld]=od[ld];return qa}return unsafeStringify(od)}function getConfig(Ra,qa){if(Ra){const ld=qa==="github"?githubConfig:giteeConfig,{username:ud,repoList:dd,branch:pd,accessTokenList:fd}=ld,md=Math.floor(Math.random()*fd.length),vd=fd[md].replace("doocsmd",""),Ad=Math.floor(Math.random()*dd.length),Nd=dd[Ad];return{username:ud,repo:Nd,branch:pd,accessToken:vd}}const nd=JSON.parse(localStorage.getItem(`${qa}Config`)),od=nd.repo.replace(`https://${qa}.com/`,"").replace(`http://${qa}.com/`,"").replace(`${qa}.com/`,"").split("/");return{username:od[0],repo:od[1],branch:nd.branch||"master",accessToken:nd.accessToken}}function getDir(){const Ra=new Date,qa=Ra.getFullYear(),nd=(Ra.getMonth()+1).toString().padStart(2,"0"),od=Ra.getDate().toString().padStart(2,"0");return`${qa}/${nd}/${od}`}function getDateFilename(Ra){const qa=new Date().getTime(),nd=Ra.split(".")[1];return`${qa}-${v4()}.${nd}`}async function ghFileUpload(Ra,qa){var Od;const nd=localStorage.getItem("imgHost")==="default",{username:od,repo:ld,branch:ud,accessToken:dd}=getConfig(nd,"github"),pd=getDir(),fd=`https://api.github.com/repos/${od}/${ld}/contents/${pd}/`,md=getDateFilename(qa),vd=await service({url:fd+md,method:"put",headers:{Authorization:`token ${dd}`},data:{content:Ra,branch:ud,message:`Upload by ${window.location.href}`}}),Ad=`raw.githubusercontent.com/${od}/${ld}/${ud}/`,Nd=`fastly.jsdelivr.net/gh/${od}/${ld}@${ud}/`;return vd.content=((Od=vd.data)==null?void 0:Od.content)||vd.content,nd?vd.content.download_url.replace(Ad,Nd):vd.content.download_url}async function giteeUpload(Ra,qa){var Ad;const nd=localStorage.getItem("imgHost")==="default",{username:od,repo:ld,branch:ud,accessToken:dd}=getConfig(nd,"gitee"),pd=getDir(),fd=getDateFilename(qa),md=`https://gitee.com/api/v5/repos/${od}/${ld}/contents/${pd}/${fd}`,vd=await service({url:md,method:"POST",data:{content:Ra,branch:ud,access_token:dd,message:`Upload by ${window.location.href}`}});return vd.content=((Ad=vd.data)==null?void 0:Ad.content)||vd.content,encodeURI(vd.content.download_url)}function getQiniuToken(Ra,qa,nd){const od=JSON.stringify(nd),ld=base64encode(utf16to8(od)),dd=CryptoJS.HmacSHA1(ld,qa).toString(CryptoJS.enc.Base64);return`${Ra}:${safe64(dd)}:${ld}`}async function qiniuUpload(Ra){const{accessKey:qa,secretKey:nd,bucket:od,region:ld,path:ud,domain:dd}=JSON.parse(localStorage.getItem("qiniuConfig")),pd=getQiniuToken(qa,nd,{scope:od,deadline:Math.trunc(new Date().getTime()/1e3)+3600}),md=(ud?`${ud}/`:"")+getDateFilename(Ra.name),vd=upload(Ra,md,pd,{},{region:ld});return new Promise((Ad,Nd)=>{vd.subscribe({next:Od=>{console.log(Od)},error:Od=>{Nd(Od.message)},complete:Od=>{Ad(`${dd}/${Od.key}`)}})})}async function aliOSSFileUpload(Ra){const qa=getDateFilename(Ra.name),{region:nd,bucket:od,accessKeyId:ld,accessKeySecret:ud,useSSL:dd,cdnHost:pd,path:fd}=JSON.parse(localStorage.getItem("aliOSSConfig")),md=fd?`${fd}/${qa}`:qa,vd=dd===void 0||dd,Ad=vd?"https":"http",Nd=new OSS({region:nd,bucket:od,accessKeyId:ld,accessKeySecret:ud,secure:vd});try{return await Nd.put(md,Ra),pd?`${pd}/${md}`:`${Ad}://${od}.${nd}.aliyuncs.com/${md}`}catch(Od){return Promise.reject(Od)}}async function txCOSFileUpload(Ra){const qa=getDateFilename(Ra.name),{secretId:nd,secretKey:od,bucket:ld,region:ud,path:dd,cdnHost:pd}=JSON.parse(localStorage.getItem("txCOSConfig")),fd=new COS({SecretId:nd,SecretKey:od});return new Promise((md,vd)=>{fd.putObject({Bucket:ld,Region:ud,Key:`${dd}/${qa}`,Body:Ra},(Ad,Nd)=>{Ad?vd(Ad):md(pd?dd===""?`${pd}/${qa}`:`${pd}/${dd}/${qa}`:`https://${Nd.Location}`)})})}async function minioFileUpload(Ra,qa){const nd=getDateFilename(qa),{endpoint:od,port:ld,useSSL:ud,bucket:dd,accessKey:pd,secretKey:fd}=JSON.parse(localStorage.getItem("minioConfig")),md=Buffer$1(Ra,"base64"),vd={endPoint:od,useSSL:ud,accessKey:pd,secretKey:fd},Ad=Number(ld||0),Nd=Ad>0&&Ad!==80&&Ad!==443;return Nd&&(vd.port=Ad),new Promise((Od,kd)=>{const Ld=new Client(vd);try{Ld.putObject(dd,nd,md,Gd=>{Gd&&kd(Gd);const Fd=`${`${ud?"https://":"http://"}${od}${Nd?`:${ld}`:""}`}/${dd}/${nd}`;Od(Fd)})}catch(Gd){kd(Gd)}})}async function getMpToken(Ra,qa,nd){const od=localStorage.getItem(`mpToken:${Ra}`);if(od){const pd=JSON.parse(od);if(pd.expire&&pd.expire>new Date().getTime())return pd.access_token}const ld={method:"POST",data:{grant_type:"client_credential",appid:Ra,secret:qa}};let ud="https://api.weixin.qq.com/cgi-bin/stable_token";nd&&(ud=`${nd}/cgi-bin/stable_token`);const dd=await service(ud,ld);if(dd.access_token){const pd={...dd,expire:new Date().getTime()+dd.expires_in*1e3};return localStorage.setItem(`mpToken:${Ra}`,JSON.stringify(pd)),dd.access_token}return""}async function mpFileUpload(Ra){const{appID:qa,appsecret:nd,proxyOrigin:od}=JSON.parse(localStorage.getItem("mpConfig"));return new Promise(async(ld,ud)=>{try{const dd=await getMpToken(qa,nd,od).catch(Nd=>console.error(Nd));if(!dd){ud(new Error("获取 access_token 失败请检查console日志"));return}const pd=new FormData;pd.append("media",Ra,Ra.name);const fd={method:"POST",data:pd};let md=`https://api.weixin.qq.com/cgi-bin/material/add_material?access_token=${dd}&type=image`;od&&(md=`${od}/cgi-bin/material/add_material?access_token=${dd}&type=image`);let Ad=(await service(md,fd)).url;od&&window.location.href.startsWith("http")&&(Ad=`https://wsrv.nl?url=${encodeURIComponent(Ad)}`),ld(Ad)}catch(dd){ud(dd)}})}async function r2Upload(Ra){const{accountId:qa,accessKey:nd,secretKey:od,bucket:ld,path:ud,domain:dd}=JSON.parse(localStorage.getItem("r2Config")),fd=(ud?`${ud}/`:"")+getDateFilename(Ra.name),md=new S3Client({region:"auto",endpoint:`https://${qa}.r2.cloudflarestorage.com`,credentials:{accessKeyId:nd,secretAccessKey:od}});return new Promise((vd,Ad)=>{const Nd=new PutObjectCommand({Bucket:ld,Key:fd,ContentType:Ra.type,Body:Ra});md.send(Nd).then(()=>{vd(`${dd}/${fd}`)}).catch(Od=>{Ad(Od)})})}async function formCustomUpload(content,file){const str=`
async (CUSTOM_ARG) => {
${localStorage.getItem("formCustomConfig")}
}
`;return new Promise((resolve,reject)=>{const exportObj={content,file,util:{axios:service,CryptoJS,OSS,COS,Buffer:Buffer$1,uuidv4:v4,qiniu,tokenTools,getDir,getDateFilename},okCb:resolve,errCb:reject};eval(str)(exportObj).catch(Ra=>{console.error(Ra),reject(Ra)})})}function fileUpload(Ra,qa){const nd=localStorage.getItem("imgHost");switch(nd||localStorage.setItem("imgHost","default"),nd){case"aliOSS":return aliOSSFileUpload(qa);case"minio":return minioFileUpload(Ra,qa.name);case"txCOS":return txCOSFileUpload(qa);case"qiniu":return qiniuUpload(qa);case"gitee":return giteeUpload(Ra,qa.name);case"github":return ghFileUpload(Ra,qa.name);case"mp":return mpFileUpload(qa);case"r2":return r2Upload(qa);case"formCustom":return formCustomUpload(Ra,qa);default:return ghFileUpload(Ra,qa.name)}}const fileApi={fileUpload},_hoisted_1={class:"container-main flex flex-1 flex-col"},_hoisted_2={class:"container-main-section border-radius-10 relative flex flex-1 overflow-hidden border-1"},_hoisted_3={class:"preview border-x-1 shadow-xl"},_hoisted_4=["innerHTML"],_hoisted_5={key:0,class:"loading-mask"},_hoisted_6={class:"h-[30px] flex select-none items-center justify-end text-[12px]"},_sfc_main$1=defineComponent({__name:"CodemirrorEditor",setup(Ra){const qa=useStore(),nd=useDisplayStore(),{isDark:od,output:ld,editor:ud,readingTime:dd}=storeToRefs(qa),{editorRefresh:pd,exportEditorContent2HTML:fd,exportEditorContent2MD:md,formatContent:vd,importMarkdownContent:Ad,resetStyleConfirm:Nd}=qa,{toggleShowInsertFormDialog:Od,toggleShowUploadImgDialog:kd}=nd,Ld=ref$1(!1),Gd=ref$1(),jd=ref$1(null);function Fd(){const If=Xf=>{let ph,qf;clearTimeout(Gd.value),Xf==="preview"?(ph=jd.value,qf=document.querySelector(".CodeMirror-scroll"),ud.value.off("scroll",Gf),Gd.value=setTimeout(()=>{ud.value.on("scroll",Gf)},300)):(ph=document.querySelector(".CodeMirror-scroll"),qf=jd.value,qf.removeEventListener("scroll",Qf,!1),Gd.value=setTimeout(()=>{qf.addEventListener("scroll",Qf,!1)},300));const Wf=ph.scrollTop/(ph.scrollHeight-ph.offsetHeight)*(qf.scrollHeight-qf.offsetHeight);qf.scrollTo(0,Wf)};function Gf(){If("editor")}function Qf(){If("preview")}jd.value.addEventListener("scroll",Qf,!1),ud.value.on("scroll",Gf)}onMounted(()=>{setTimeout(()=>{Fd()},300)});function Ud(){pd()}const qd=ref$1(!1),zd=ref$1(!1);function Wd(){zd.value=!0,qd.value=!0}function Jd(){qd.value=!1,setTimeout(()=>{zd.value=!1},800)}function _f(If){const Gf=checkImage(If);if(!Gf.ok)return Ke$1.error(Gf.msg),!1;const Qf=localStorage.getItem("imgHost")||"default";localStorage.setItem("imgHost",Qf);const Xf=localStorage.getItem(`${Qf}Config`);return Qf==="default"||Xf?!0:(Ke$1.error(`请先配置 ${Qf} 图床参数`),!1)}function Xd(If){if(!If){Ke$1.error("上传图片未知异常");return}kd(!1);const Gf=ud.value.getCursor(),Qf=`![](${If})`;toRaw(qa.editor).replaceSelection(`
${Qf}
`,Gf),Ke$1.success("图片上传成功")}function pf(If,Gf){Ld.value=!0,toBase64$2(If).then(Qf=>fileApi.fileUpload(Qf,If)).then(Qf=>{Gf?Gf(Qf):Xd(Qf)}).catch(Qf=>{Ke$1.error(Qf.message)}).finally(()=>{Ld.value=!1})}const mf=ref$1();watch(od,()=>{var Gf,Qf;const If=od.value?"darcula":"xq-light";(Qf=(Gf=toRaw(ud.value))==null?void 0:Gf.setOption)==null||Qf.call(Gf,"theme",If)});function Sf(){const If=document.querySelector("#editor");If.value||(If.value=qa.posts[qa.currentPostIndex].content),ud.value=CodeMirror.fromTextArea(If,{mode:"text/x-markdown",theme:od.value?"darcula":"xq-light",lineNumbers:!1,lineWrapping:!0,styleActiveLine:!0,autoCloseBrackets:!0,extraKeys:{[`${shiftKey}-${altKey}-F`]:function(Qf){formatDoc(Qf.getValue()).then(Xf=>{Qf.setValue(Xf)})},[`${ctrlKey}-B`]:function(Qf){const Xf=Qf.getSelection();Qf.replaceSelection(`**${Xf}**`)},[`${ctrlKey}-I`]:function(Qf){const Xf=Qf.getSelection();Qf.replaceSelection(`*${Xf}*`)},[`${ctrlKey}-D`]:function(Qf){const Xf=Qf.getSelection();Qf.replaceSelection(`~~${Xf}~~`)},[`${ctrlKey}-K`]:function(Qf){const Xf=Qf.getSelection();Qf.replaceSelection(`[${Xf}]()`)},[`${ctrlKey}-E`]:function(Qf){const Xf=Qf.getSelection();Qf.replaceSelection(`\`${Xf}\``)},[`${ctrlKey}-L`]:function(Qf){const Xf=Qf.getSelection();Qf.replaceSelection(`\`${Xf}\``)}}}),ud.value.on("change",Gf=>{clearTimeout(mf.value),mf.value=setTimeout(()=>{Ud(),qa.posts[qa.currentPostIndex].content=Gf.getValue()},300)}),ud.value.on("paste",(Gf,Qf)=>{if(!(!(Qf.clipboardData&&Qf.clipboardData.items)||Ld.value))for(let Xf=0,ph=Qf.clipboardData.items.length;Xf<ph;++Xf){const qf=Qf.clipboardData.items[Xf];if(qf.kind==="file"){const Lf=qf.getAsFile();if(!_f(Lf))continue;pf(Lf)}}})}const Tf=ref$1(null);function Af(If){ud.value.options.extraKeys[If](ud.value)}const Ef=ref$1(null);function Nf(){const If=Ef.value,Gf=async({md:ph,list:qf})=>{const Lf=[...ph.str.matchAll(/!\[(.*?)\]\((.*?)\)/g)||[]].filter(Kf=>Kf),Wf=ph.path.match(/.+?\//)[0];(await Promise.all(Lf.map(Kf=>new Promise(Cf=>{let[,,xf]=Kf;xf=xf.replace(/^.\//,"");const{file:Yf}=qf.find(dh=>dh.path===`${Wf}${xf}`)||{};pf(Yf,dh=>{Cf({matchStr:xf,url:dh})})})))).forEach(Kf=>{ph.str=ph.str.replace(`](./${Kf.matchStr})`,`](${Kf.url})`).replace(`](${Kf.matchStr})`,`](${Kf.url})`)}),ud.value.setValue(ph.str)};If.ondragover=ph=>ph.preventDefault(),If.ondrop=async ph=>{ph.preventDefault();for(const qf of ph.dataTransfer.items)qf.getAsFileSystemHandle().then(async Lf=>{if(Lf.kind==="directory"){const Wf=await Xf(Lf),Jf=await Qf({list:Wf});Gf({md:Jf,list:Wf})}else{const Wf=await Lf.getFile();console.log("file",Wf)}})};async function Qf({list:ph}){return new Promise(qf=>{const{path:Lf,file:Wf}=ph.find(Kf=>Kf.path.match(/\.md$/)),Jf=new FileReader;Jf.readAsText(Wf,"UTF-8"),Jf.onload=Kf=>{qf({str:Kf.target.result,file:Wf,path:Lf})}})}async function Xf(ph){const qf=[];let Lf="";try{const Wf=[ph];for(const Jf of Wf){Lf+=`${Jf.name}/`;for await(const[,Kf]of Jf)Kf.kind==="file"?qf.push({path:Lf+Kf.name,file:await Kf.getFile()}):(qf.push({path:`${Lf+Kf.name}/`}),Wf.push(Kf))}}catch(Wf){console.error(Wf)}return qf}}return onMounted(()=>{Sf(),Ud(),Nf()}),(If,Gf)=>{var Mh,_h;const Qf=__unplugin_components_0,Xf=_sfc_main$C,ph=_sfc_main$I,qf=_sfc_main$J,Lf=_sfc_main$K,Wf=_sfc_main$L,Jf=_sfc_main$M,Kf=_sfc_main$N,Cf=_sfc_main$O,xf=__unplugin_components_9,Yf=_sfc_main$R,dh=_sfc_main$S,Rh=_sfc_main$15,th=__unplugin_components_13$1,Bf=_sfc_main$1j,Sh=_sfc_main$1k,Fh=_sfc_main$1l,uh=_sfc_main$1m,Pf=_sfc_main$1n,Uf=_sfc_main$1p,Zf=_sfc_main$1q,mh=_sfc_main$1r;return openBlock(),createElementBlock("div",{ref_key:"container",ref:Tf,class:"container flex flex-col"},[createVNode(Qf,{onAddFormat:Af,onFormatContent:unref(vd),onStartCopy:Wd,onEndCopy:Jd},null,8,["onFormatContent"]),createBaseVNode("main",_hoisted_1,[createBaseVNode("div",_hoisted_2,[createVNode(Xf),createBaseVNode("div",{ref_key:"codeMirrorWrapper",ref:Ef,class:normalizeClass(["codeMirror-wrapper flex-1",{"order-1 border-l":!unref(qa).isEditOnLeft,"border-r":unref(qa).isEditOnLeft}])},[createVNode(Kf,null,{default:withCtx(()=>[createVNode(ph,null,{default:withCtx(()=>Gf[9]||(Gf[9]=[createBaseVNode("textarea",{id:"editor",type:"textarea",placeholder:"Your markdown text here."},null,-1)])),_:1}),createVNode(Jf,{class:"w-64"},{default:withCtx(()=>[createVNode(qf,{inset:"",onClick:Gf[0]||(Gf[0]=pm=>unref(kd)())},{default:withCtx(()=>Gf[10]||(Gf[10]=[createTextVNode(" 上传图片 ")])),_:1}),createVNode(qf,{inset:"",onClick:Gf[1]||(Gf[1]=pm=>unref(Od)())},{default:withCtx(()=>Gf[11]||(Gf[11]=[createTextVNode(" 插入表格 ")])),_:1}),createVNode(qf,{inset:"",onClick:Gf[2]||(Gf[2]=pm=>unref(Nd)())},{default:withCtx(()=>Gf[12]||(Gf[12]=[createTextVNode(" 恢复默认样式 ")])),_:1}),createVNode(Lf),createVNode(qf,{inset:"",onClick:Gf[3]||(Gf[3]=pm=>unref(Ad)())},{default:withCtx(()=>Gf[13]||(Gf[13]=[createTextVNode(" 导入 .md 文档 ")])),_:1}),createVNode(qf,{inset:"",onClick:Gf[4]||(Gf[4]=pm=>unref(md)())},{default:withCtx(()=>Gf[14]||(Gf[14]=[createTextVNode(" 导出 .md 文档 ")])),_:1}),createVNode(qf,{inset:"",onClick:Gf[5]||(Gf[5]=pm=>unref(fd)())},{default:withCtx(()=>Gf[15]||(Gf[15]=[createTextVNode(" 导出 .html ")])),_:1}),createVNode(qf,{inset:"",onClick:Gf[6]||(Gf[6]=pm=>unref(vd)())},{default:withCtx(()=>[Gf[16]||(Gf[16]=createTextVNode(" 格式化 ")),createVNode(Wf,null,{default:withCtx(()=>[createTextVNode(toDisplayString(unref(altSign))+" + "+toDisplayString(unref(shiftSign))+" + F",1)]),_:1})]),_:1})]),_:1})]),_:1})],2),createBaseVNode("div",{id:"preview",ref_key:"preview",ref:jd,class:"preview-wrapper flex-1 p-5"},[createBaseVNode("div",{id:"output-wrapper",class:normalizeClass({output_night:!unref(qd)})},[createBaseVNode("div",_hoisted_3,[createBaseVNode("section",{id:"output",innerHTML:unref(ld)},null,8,_hoisted_4),unref(zd)?(openBlock(),createElementBlock("div",_hoisted_5,Gf[17]||(Gf[17]=[createBaseVNode("div",{class:"loading-mask-box"},[createBaseVNode("div",{class:"loading__img"}),createBaseVNode("span",null,"正在生成")],-1)]))):createCommentVNode("",!0)])],2),createVNode(Cf,{target:"preview",right:40,bottom:40})],512),createVNode(xf,{class:"order-2 flex-1"}),createVNode(Yf,{class:"order-2"})]),createBaseVNode("footer",_hoisted_6," 字数 "+toDisplayString((Mh=unref(dd))==null?void 0:Mh.words)+" 阅读大约需 "+toDisplayString(Math.ceil(((_h=unref(dd))==null?void 0:_h.minutes)??0))+" 分钟 ",1),createVNode(dh,{onUploadImage:pf}),createVNode(Rh),createVNode(th),createVNode(mh,{open:unref(qa).isOpenConfirmDialog,"onUpdate:open":Gf[8]||(Gf[8]=pm=>unref(qa).isOpenConfirmDialog=pm)},{default:withCtx(()=>[createVNode(Zf,null,{default:withCtx(()=>[createVNode(Fh,null,{default:withCtx(()=>[createVNode(Bf,null,{default:withCtx(()=>Gf[18]||(Gf[18]=[createTextVNode("提示")])),_:1}),createVNode(Sh,null,{default:withCtx(()=>Gf[19]||(Gf[19]=[createTextVNode(" 此操作将丢失本地自定义样式,是否继续? ")])),_:1})]),_:1}),createVNode(Uf,null,{default:withCtx(()=>[createVNode(uh,null,{default:withCtx(()=>Gf[20]||(Gf[20]=[createTextVNode("取消")])),_:1}),createVNode(Pf,{onClick:Gf[7]||(Gf[7]=pm=>unref(qa).resetStyle())},{default:withCtx(()=>Gf[21]||(Gf[21]=[createTextVNode(" 确认 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"])])],512)}}}),CodemirrorEditor=_export_sfc(_sfc_main$1,[["__scopeId","data-v-bc4a5df5"]]),_sfc_main=defineComponent({__name:"App",setup(Ra){return(qa,nd)=>(openBlock(),createBlock(CodemirrorEditor))}});var css={exports:{}};(function(Ra,qa){(function(nd){nd(requireCodemirror())})(function(nd){nd.defineMode("css",function(pf,mf){var Sf=mf.inline;mf.propertyKeywords||(mf=nd.resolveMode("text/css"));var Tf=pf.indentUnit,Af=mf.tokenHooks,Ef=mf.documentTypes||{},Nf=mf.mediaTypes||{},If=mf.mediaFeatures||{},Gf=mf.mediaValueKeywords||{},Qf=mf.propertyKeywords||{},Xf=mf.nonStandardPropertyKeywords||{},ph=mf.fontProperties||{},qf=mf.counterDescriptors||{},Lf=mf.colorKeywords||{},Wf=mf.valueKeywords||{},Jf=mf.allowNested,Kf=mf.lineComment,Cf=mf.supportsAtComponent===!0,xf=pf.highlightNonStandardPropertyKeywords!==!1,Yf,dh;function Rh(_h,pm){return Yf=pm,_h}function th(_h,pm){var Jh=_h.next();if(Af[Jh]){var Mm=Af[Jh](_h,pm);if(Mm!==!1)return Mm}if(Jh=="@")return _h.eatWhile(/[\w\\\-]/),Rh("def",_h.current());if(Jh=="="||(Jh=="~"||Jh=="|")&&_h.eat("="))return Rh(null,"compare");if(Jh=='"'||Jh=="'")return pm.tokenize=Bf(Jh),pm.tokenize(_h,pm);if(Jh=="#")return _h.eatWhile(/[\w\\\-]/),Rh("atom","hash");if(Jh=="!")return _h.match(/^\s*\w*/),Rh("keyword","important");if(/\d/.test(Jh)||Jh=="."&&_h.eat(/\d/))return _h.eatWhile(/[\w.%]/),Rh("number","unit");if(Jh==="-"){if(/[\d.]/.test(_h.peek()))return _h.eatWhile(/[\w.%]/),Rh("number","unit");if(_h.match(/^-[\w\\\-]*/))return _h.eatWhile(/[\w\\\-]/),_h.match(/^\s*:/,!1)?Rh("variable-2","variable-definition"):Rh("variable-2","variable");if(_h.match(/^\w+-/))return Rh("meta","meta")}else return/[,+>*\/]/.test(Jh)?Rh(null,"select-op"):Jh=="."&&_h.match(/^-?[_a-z][_a-z0-9-]*/i)?Rh("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(Jh)?Rh(null,Jh):_h.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(_h.current())&&(pm.tokenize=Sh),Rh("variable callee","variable")):/[\w\\\-]/.test(Jh)?(_h.eatWhile(/[\w\\\-]/),Rh("property","word")):Rh(null,null)}function Bf(_h){return function(pm,Jh){for(var Mm=!1,Im;(Im=pm.next())!=null;){if(Im==_h&&!Mm){_h==")"&&pm.backUp(1);break}Mm=!Mm&&Im=="\\"}return(Im==_h||!Mm&&_h!=")")&&(Jh.tokenize=null),Rh("string","string")}}function Sh(_h,pm){return _h.next(),_h.match(/^\s*[\"\')]/,!1)?pm.tokenize=null:pm.tokenize=Bf(")"),Rh(null,"(")}function Fh(_h,pm,Jh){this.type=_h,this.indent=pm,this.prev=Jh}function uh(_h,pm,Jh,Mm){return _h.context=new Fh(Jh,pm.indentation()+(Mm===!1?0:Tf),_h.context),Jh}function Pf(_h){return _h.context.prev&&(_h.context=_h.context.prev),_h.context.type}function Uf(_h,pm,Jh){return Mh[Jh.context.type](_h,pm,Jh)}function Zf(_h,pm,Jh,Mm){for(var Im=Mm||1;Im>0;Im--)Jh.context=Jh.context.prev;return Uf(_h,pm,Jh)}function mh(_h){var pm=_h.current().toLowerCase();Wf.hasOwnProperty(pm)?dh="atom":Lf.hasOwnProperty(pm)?dh="keyword":dh="variable"}var Mh={};return Mh.top=function(_h,pm,Jh){if(_h=="{")return uh(Jh,pm,"block");if(_h=="}"&&Jh.context.prev)return Pf(Jh);if(Cf&&/@component/i.test(_h))return uh(Jh,pm,"atComponentBlock");if(/^@(-moz-)?document$/i.test(_h))return uh(Jh,pm,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(_h))return uh(Jh,pm,"atBlock");if(/^@(font-face|counter-style)/i.test(_h))return Jh.stateArg=_h,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(_h))return"keyframes";if(_h&&_h.charAt(0)=="@")return uh(Jh,pm,"at");if(_h=="hash")dh="builtin";else if(_h=="word")dh="tag";else{if(_h=="variable-definition")return"maybeprop";if(_h=="interpolation")return uh(Jh,pm,"interpolation");if(_h==":")return"pseudo";if(Jf&&_h=="(")return uh(Jh,pm,"parens")}return Jh.context.type},Mh.block=function(_h,pm,Jh){if(_h=="word"){var Mm=pm.current().toLowerCase();return Qf.hasOwnProperty(Mm)?(dh="property","maybeprop"):Xf.hasOwnProperty(Mm)?(dh=xf?"string-2":"property","maybeprop"):Jf?(dh=pm.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(dh+=" error","maybeprop")}else return _h=="meta"?"block":!Jf&&(_h=="hash"||_h=="qualifier")?(dh="error","block"):Mh.top(_h,pm,Jh)},Mh.maybeprop=function(_h,pm,Jh){return _h==":"?uh(Jh,pm,"prop"):Uf(_h,pm,Jh)},Mh.prop=function(_h,pm,Jh){if(_h==";")return Pf(Jh);if(_h=="{"&&Jf)return uh(Jh,pm,"propBlock");if(_h=="}"||_h=="{")return Zf(_h,pm,Jh);if(_h=="(")return uh(Jh,pm,"parens");if(_h=="hash"&&!/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(pm.current()))dh+=" error";else if(_h=="word")mh(pm);else if(_h=="interpolation")return uh(Jh,pm,"interpolation");return"prop"},Mh.propBlock=function(_h,pm,Jh){return _h=="}"?Pf(Jh):_h=="word"?(dh="property","maybeprop"):Jh.context.type},Mh.parens=function(_h,pm,Jh){return _h=="{"||_h=="}"?Zf(_h,pm,Jh):_h==")"?Pf(Jh):_h=="("?uh(Jh,pm,"parens"):_h=="interpolation"?uh(Jh,pm,"interpolation"):(_h=="word"&&mh(pm),"parens")},Mh.pseudo=function(_h,pm,Jh){return _h=="meta"?"pseudo":_h=="word"?(dh="variable-3",Jh.context.type):Uf(_h,pm,Jh)},Mh.documentTypes=function(_h,pm,Jh){return _h=="word"&&Ef.hasOwnProperty(pm.current())?(dh="tag",Jh.context.type):Mh.atBlock(_h,pm,Jh)},Mh.atBlock=function(_h,pm,Jh){if(_h=="(")return uh(Jh,pm,"atBlock_parens");if(_h=="}"||_h==";")return Zf(_h,pm,Jh);if(_h=="{")return Pf(Jh)&&uh(Jh,pm,Jf?"block":"top");if(_h=="interpolation")return uh(Jh,pm,"interpolation");if(_h=="word"){var Mm=pm.current().toLowerCase();Mm=="only"||Mm=="not"||Mm=="and"||Mm=="or"?dh="keyword":Nf.hasOwnProperty(Mm)?dh="attribute":If.hasOwnProperty(Mm)?dh="property":Gf.hasOwnProperty(Mm)?dh="keyword":Qf.hasOwnProperty(Mm)?dh="property":Xf.hasOwnProperty(Mm)?dh=xf?"string-2":"property":Wf.hasOwnProperty(Mm)?dh="atom":Lf.hasOwnProperty(Mm)?dh="keyword":dh="error"}return Jh.context.type},Mh.atComponentBlock=function(_h,pm,Jh){return _h=="}"?Zf(_h,pm,Jh):_h=="{"?Pf(Jh)&&uh(Jh,pm,Jf?"block":"top",!1):(_h=="word"&&(dh="error"),Jh.context.type)},Mh.atBlock_parens=function(_h,pm,Jh){return _h==")"?Pf(Jh):_h=="{"||_h=="}"?Zf(_h,pm,Jh,2):Mh.atBlock(_h,pm,Jh)},Mh.restricted_atBlock_before=function(_h,pm,Jh){return _h=="{"?uh(Jh,pm,"restricted_atBlock"):_h=="word"&&Jh.stateArg=="@counter-style"?(dh="variable","restricted_atBlock_before"):Uf(_h,pm,Jh)},Mh.restricted_atBlock=function(_h,pm,Jh){return _h=="}"?(Jh.stateArg=null,Pf(Jh)):_h=="word"?(Jh.stateArg=="@font-face"&&!ph.hasOwnProperty(pm.current().toLowerCase())||Jh.stateArg=="@counter-style"&&!qf.hasOwnProperty(pm.current().toLowerCase())?dh="error":dh="property","maybeprop"):"restricted_atBlock"},Mh.keyframes=function(_h,pm,Jh){return _h=="word"?(dh="variable","keyframes"):_h=="{"?uh(Jh,pm,"top"):Uf(_h,pm,Jh)},Mh.at=function(_h,pm,Jh){return _h==";"?Pf(Jh):_h=="{"||_h=="}"?Zf(_h,pm,Jh):(_h=="word"?dh="tag":_h=="hash"&&(dh="builtin"),"at")},Mh.interpolation=function(_h,pm,Jh){return _h=="}"?Pf(Jh):_h=="{"||_h==";"?Zf(_h,pm,Jh):(_h=="word"?dh="variable":_h!="variable"&&_h!="("&&_h!=")"&&(dh="error"),"interpolation")},{startState:function(_h){return{tokenize:null,state:Sf?"block":"top",stateArg:null,context:new Fh(Sf?"block":"top",_h||0,null)}},token:function(_h,pm){if(!pm.tokenize&&_h.eatSpace())return null;var Jh=(pm.tokenize||th)(_h,pm);return Jh&&typeof Jh=="object"&&(Yf=Jh[1],Jh=Jh[0]),dh=Jh,Yf!="comment"&&(pm.state=Mh[pm.state](Yf,_h,pm)),dh},indent:function(_h,pm){var Jh=_h.context,Mm=pm&&pm.charAt(0),Im=Jh.indent;return Jh.type=="prop"&&(Mm=="}"||Mm==")")&&(Jh=Jh.prev),Jh.prev&&(Mm=="}"&&(Jh.type=="block"||Jh.type=="top"||Jh.type=="interpolation"||Jh.type=="restricted_atBlock")?(Jh=Jh.prev,Im=Jh.indent):(Mm==")"&&(Jh.type=="parens"||Jh.type=="atBlock_parens")||Mm=="{"&&(Jh.type=="at"||Jh.type=="atBlock"))&&(Im=Math.max(0,Jh.indent-Tf))),Im},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:Kf,fold:"brace"}});function od(pf){for(var mf={},Sf=0;Sf<pf.length;++Sf)mf[pf[Sf].toLowerCase()]=!0;return mf}var ld=["domain","regexp","url","url-prefix"],ud=od(ld),dd=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],pd=od(dd),fd=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover","prefers-color-scheme","dynamic-range","video-dynamic-range"],md=od(fd),vd=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive","dark","light","standard","high"],Ad=od(vd),Nd=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","all","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","binding","bleed","block-size","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-content","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-height-step","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotate","rotation","rotation-point","row-gap","ruby-align","ruby-overhang","ruby-position","ruby-span","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-type","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-orientation","text-outline","text-overflow","text-rendering","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","paint-order","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],Od=od(Nd),kd=["accent-color","aspect-ratio","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","content-visibility","margin-block","margin-block-end","margin-block-start","margin-inline","margin-inline-end","margin-inline-start","overflow-anchor","overscroll-behavior","padding-block","padding-block-end","padding-block-start","padding-inline","padding-inline-end","padding-inline-start","scroll-snap-stop","scrollbar-3d-light-color","scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-track-color","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","shape-inside","zoom"],Ld=od(kd),Gd=["font-display","font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],jd=od(Gd),Fd=["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"],Ud=od(Fd),qd=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","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","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],zd=od(qd),Wd=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","blur","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","brightness","bullets","button","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","conic-gradient","contain","content","contents","content-box","context-menu","continuous","contrast","copy","counter","counters","cover","crop","cross","crosshair","cubic-bezier","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","drop-shadow","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","grayscale","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","hue-rotate","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","manipulation","match","matrix","matrix3d","media-play-button","media-slider","media-sliderthumb","media-volume-slider","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiple_mask_images","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeating-conic-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturate","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","sepia","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],Jd=od(Wd),_f=ld.concat(dd).concat(fd).concat(vd).concat(Nd).concat(kd).concat(qd).concat(Wd);nd.registerHelper("hintWords","css",_f);function Xd(pf,mf){for(var Sf=!1,Tf;(Tf=pf.next())!=null;){if(Sf&&Tf=="/"){mf.tokenize=null;break}Sf=Tf=="*"}return["comment","comment"]}nd.defineMIME("text/css",{documentTypes:ud,mediaTypes:pd,mediaFeatures:md,mediaValueKeywords:Ad,propertyKeywords:Od,nonStandardPropertyKeywords:Ld,fontProperties:jd,counterDescriptors:Ud,colorKeywords:zd,valueKeywords:Jd,tokenHooks:{"/":function(pf,mf){return pf.eat("*")?(mf.tokenize=Xd,Xd(pf,mf)):!1}},name:"css"}),nd.defineMIME("text/x-scss",{mediaTypes:pd,mediaFeatures:md,mediaValueKeywords:Ad,propertyKeywords:Od,nonStandardPropertyKeywords:Ld,colorKeywords:zd,valueKeywords:Jd,fontProperties:jd,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(pf,mf){return pf.eat("/")?(pf.skipToEnd(),["comment","comment"]):pf.eat("*")?(mf.tokenize=Xd,Xd(pf,mf)):["operator","operator"]},":":function(pf){return pf.match(/^\s*\{/,!1)?[null,null]:!1},$:function(pf){return pf.match(/^[\w-]+/),pf.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(pf){return pf.eat("{")?[null,"interpolation"]:!1}},name:"css",helperType:"scss"}),nd.defineMIME("text/x-less",{mediaTypes:pd,mediaFeatures:md,mediaValueKeywords:Ad,propertyKeywords:Od,nonStandardPropertyKeywords:Ld,colorKeywords:zd,valueKeywords:Jd,fontProperties:jd,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(pf,mf){return pf.eat("/")?(pf.skipToEnd(),["comment","comment"]):pf.eat("*")?(mf.tokenize=Xd,Xd(pf,mf)):["operator","operator"]},"@":function(pf){return pf.eat("{")?[null,"interpolation"]:pf.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)?!1:(pf.eatWhile(/[\w\\\-]/),pf.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),nd.defineMIME("text/x-gss",{documentTypes:ud,mediaTypes:pd,mediaFeatures:md,propertyKeywords:Od,nonStandardPropertyKeywords:Ld,fontProperties:jd,counterDescriptors:Ud,colorKeywords:zd,valueKeywords:Jd,supportsAtComponent:!0,tokenHooks:{"/":function(pf,mf){return pf.eat("*")?(mf.tokenize=Xd,Xd(pf,mf)):!1}},name:"css",helperType:"gss"})})})();var cssExports=css.exports;(function(Ra,qa){(function(nd){nd(requireCodemirror())})(function(nd){nd.defineMode("javascript",function(od,ld){var ud=od.indentUnit,dd=ld.statementIndent,pd=ld.jsonld,fd=ld.json||pd,md=ld.trackScope!==!1,vd=ld.typescript,Ad=ld.wordCharacters||/[\w$\xa1-\uffff]/,Nd=function(){function Ch(R_){return{type:R_,style:"keyword"}}var um=Ch("keyword a"),Ym=Ch("keyword b"),ng=Ch("keyword c"),Um=Ch("keyword d"),Eg=Ch("operator"),r_={type:"atom",style:"atom"};return{if:Ch("if"),while:um,with:um,else:Ym,do:Ym,try:Ym,finally:Ym,return:Um,break:Um,continue:Um,new:Ch("new"),delete:ng,void:ng,throw:ng,debugger:Ch("debugger"),var:Ch("var"),const:Ch("var"),let:Ch("var"),function:Ch("function"),catch:Ch("catch"),for:Ch("for"),switch:Ch("switch"),case:Ch("case"),default:Ch("default"),in:Eg,typeof:Eg,instanceof:Eg,true:r_,false:r_,null:r_,undefined:r_,NaN:r_,Infinity:r_,this:Ch("this"),class:Ch("class"),super:Ch("atom"),yield:ng,export:Ch("export"),import:Ch("import"),extends:ng,await:ng}}(),Od=/[+\-*&%=<>!?|~^@]/,kd=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function Ld(Ch){for(var um=!1,Ym,ng=!1;(Ym=Ch.next())!=null;){if(!um){if(Ym=="/"&&!ng)return;Ym=="["?ng=!0:ng&&Ym=="]"&&(ng=!1)}um=!um&&Ym=="\\"}}var Gd,jd;function Fd(Ch,um,Ym){return Gd=Ch,jd=Ym,um}function Ud(Ch,um){var Ym=Ch.next();if(Ym=='"'||Ym=="'")return um.tokenize=qd(Ym),um.tokenize(Ch,um);if(Ym=="."&&Ch.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return Fd("number","number");if(Ym=="."&&Ch.match(".."))return Fd("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(Ym))return Fd(Ym);if(Ym=="="&&Ch.eat(">"))return Fd("=>","operator");if(Ym=="0"&&Ch.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return Fd("number","number");if(/\d/.test(Ym))return Ch.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),Fd("number","number");if(Ym=="/")return Ch.eat("*")?(um.tokenize=zd,zd(Ch,um)):Ch.eat("/")?(Ch.skipToEnd(),Fd("comment","comment")):Ug(Ch,um,1)?(Ld(Ch),Ch.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),Fd("regexp","string-2")):(Ch.eat("="),Fd("operator","operator",Ch.current()));if(Ym=="`")return um.tokenize=Wd,Wd(Ch,um);if(Ym=="#"&&Ch.peek()=="!")return Ch.skipToEnd(),Fd("meta","meta");if(Ym=="#"&&Ch.eatWhile(Ad))return Fd("variable","property");if(Ym=="<"&&Ch.match("!--")||Ym=="-"&&Ch.match("->")&&!/\S/.test(Ch.string.slice(0,Ch.start)))return Ch.skipToEnd(),Fd("comment","comment");if(Od.test(Ym))return(Ym!=">"||!um.lexical||um.lexical.type!=">")&&(Ch.eat("=")?(Ym=="!"||Ym=="=")&&Ch.eat("="):/[<>*+\-|&?]/.test(Ym)&&(Ch.eat(Ym),Ym==">"&&Ch.eat(Ym))),Ym=="?"&&Ch.eat(".")?Fd("."):Fd("operator","operator",Ch.current());if(Ad.test(Ym)){Ch.eatWhile(Ad);var ng=Ch.current();if(um.lastType!="."){if(Nd.propertyIsEnumerable(ng)){var Um=Nd[ng];return Fd(Um.type,Um.style,ng)}if(ng=="async"&&Ch.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return Fd("async","keyword",ng)}return Fd("variable","variable",ng)}}function qd(Ch){return function(um,Ym){var ng=!1,Um;if(pd&&um.peek()=="@"&&um.match(kd))return Ym.tokenize=Ud,Fd("jsonld-keyword","meta");for(;(Um=um.next())!=null&&!(Um==Ch&&!ng);)ng=!ng&&Um=="\\";return ng||(Ym.tokenize=Ud),Fd("string","string")}}function zd(Ch,um){for(var Ym=!1,ng;ng=Ch.next();){if(ng=="/"&&Ym){um.tokenize=Ud;break}Ym=ng=="*"}return Fd("comment","comment")}function Wd(Ch,um){for(var Ym=!1,ng;(ng=Ch.next())!=null;){if(!Ym&&(ng=="`"||ng=="$"&&Ch.eat("{"))){um.tokenize=Ud;break}Ym=!Ym&&ng=="\\"}return Fd("quasi","string-2",Ch.current())}var Jd="([{}])";function _f(Ch,um){um.fatArrowAt&&(um.fatArrowAt=null);var Ym=Ch.string.indexOf("=>",Ch.start);if(!(Ym<0)){if(vd){var ng=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(Ch.string.slice(Ch.start,Ym));ng&&(Ym=ng.index)}for(var Um=0,Eg=!1,r_=Ym-1;r_>=0;--r_){var R_=Ch.string.charAt(r_),G_=Jd.indexOf(R_);if(G_>=0&&G_<3){if(!Um){++r_;break}if(--Um==0){R_=="("&&(Eg=!0);break}}else if(G_>=3&&G_<6)++Um;else if(Ad.test(R_))Eg=!0;else if(/["'\/`]/.test(R_))for(;;--r_){if(r_==0)return;var Tb=Ch.string.charAt(r_-1);if(Tb==R_&&Ch.string.charAt(r_-2)!="\\"){r_--;break}}else if(Eg&&!Um){++r_;break}}Eg&&!Um&&(um.fatArrowAt=r_)}}var Xd={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function pf(Ch,um,Ym,ng,Um,Eg){this.indented=Ch,this.column=um,this.type=Ym,this.prev=Um,this.info=Eg,ng!=null&&(this.align=ng)}function mf(Ch,um){if(!md)return!1;for(var Ym=Ch.localVars;Ym;Ym=Ym.next)if(Ym.name==um)return!0;for(var ng=Ch.context;ng;ng=ng.prev)for(var Ym=ng.vars;Ym;Ym=Ym.next)if(Ym.name==um)return!0}function Sf(Ch,um,Ym,ng,Um){var Eg=Ch.cc;for(Tf.state=Ch,Tf.stream=Um,Tf.marked=null,Tf.cc=Eg,Tf.style=um,Ch.lexical.hasOwnProperty("align")||(Ch.lexical.align=!0);;){var r_=Eg.length?Eg.pop():fd?Rh:Yf;if(r_(Ym,ng)){for(;Eg.length&&Eg[Eg.length-1].lex;)Eg.pop()();return Tf.marked?Tf.marked:Ym=="variable"&&mf(Ch,ng)?"variable-2":um}}}var Tf={state:null,column:null,marked:null,cc:null};function Af(){for(var Ch=arguments.length-1;Ch>=0;Ch--)Tf.cc.push(arguments[Ch])}function Ef(){return Af.apply(null,arguments),!0}function Nf(Ch,um){for(var Ym=um;Ym;Ym=Ym.next)if(Ym.name==Ch)return!0;return!1}function If(Ch){var um=Tf.state;if(Tf.marked="def",!!md){if(um.context){if(um.lexical.info=="var"&&um.context&&um.context.block){var Ym=Gf(Ch,um.context);if(Ym!=null){um.context=Ym;return}}else if(!Nf(Ch,um.localVars)){um.localVars=new ph(Ch,um.localVars);return}}ld.globalVars&&!Nf(Ch,um.globalVars)&&(um.globalVars=new ph(Ch,um.globalVars))}}function Gf(Ch,um){if(um)if(um.block){var Ym=Gf(Ch,um.prev);return Ym?Ym==um.prev?um:new Xf(Ym,um.vars,!0):null}else return Nf(Ch,um.vars)?um:new Xf(um.prev,new ph(Ch,um.vars),!1);else return null}function Qf(Ch){return Ch=="public"||Ch=="private"||Ch=="protected"||Ch=="abstract"||Ch=="readonly"}function Xf(Ch,um,Ym){this.prev=Ch,this.vars=um,this.block=Ym}function ph(Ch,um){this.name=Ch,this.next=um}var qf=new ph("this",new ph("arguments",null));function Lf(){Tf.state.context=new Xf(Tf.state.context,Tf.state.localVars,!1),Tf.state.localVars=qf}function Wf(){Tf.state.context=new Xf(Tf.state.context,Tf.state.localVars,!0),Tf.state.localVars=null}Lf.lex=Wf.lex=!0;function Jf(){Tf.state.localVars=Tf.state.context.vars,Tf.state.context=Tf.state.context.prev}Jf.lex=!0;function Kf(Ch,um){var Ym=function(){var ng=Tf.state,Um=ng.indented;if(ng.lexical.type=="stat")Um=ng.lexical.indented;else for(var Eg=ng.lexical;Eg&&Eg.type==")"&&Eg.align;Eg=Eg.prev)Um=Eg.indented;ng.lexical=new pf(Um,Tf.stream.column(),Ch,null,ng.lexical,um)};return Ym.lex=!0,Ym}function Cf(){var Ch=Tf.state;Ch.lexical.prev&&(Ch.lexical.type==")"&&(Ch.indented=Ch.lexical.indented),Ch.lexical=Ch.lexical.prev)}Cf.lex=!0;function xf(Ch){function um(Ym){return Ym==Ch?Ef():Ch==";"||Ym=="}"||Ym==")"||Ym=="]"?Af():Ef(um)}return um}function Yf(Ch,um){return Ch=="var"?Ef(Kf("vardef",um),m_,xf(";"),Cf):Ch=="keyword a"?Ef(Kf("form"),Bf,Yf,Cf):Ch=="keyword b"?Ef(Kf("form"),Yf,Cf):Ch=="keyword d"?Tf.stream.match(/^\s*$/,!1)?Ef():Ef(Kf("stat"),Fh,xf(";"),Cf):Ch=="debugger"?Ef(xf(";")):Ch=="{"?Ef(Kf("}"),Wf,wf,Cf,Jf):Ch==";"?Ef():Ch=="if"?(Tf.state.lexical.info=="else"&&Tf.state.cc[Tf.state.cc.length-1]==Cf&&Tf.state.cc.pop()(),Ef(Kf("form"),Bf,Yf,Cf,dg)):Ch=="function"?Ef(jf):Ch=="for"?Ef(Kf("form"),Wf,vb,Yf,Jf,Cf):Ch=="class"||vd&&um=="interface"?(Tf.marked="keyword",Ef(Kf("form",Ch=="class"?Ch:um),dm,Cf)):Ch=="variable"?vd&&um=="declare"?(Tf.marked="keyword",Ef(Yf)):vd&&(um=="module"||um=="enum"||um=="type")&&Tf.stream.match(/^\s*\w/,!1)?(Tf.marked="keyword",um=="enum"?Ef(lg):um=="type"?Ef(wh,xf("operator"),Dm,xf(";")):Ef(Kf("form"),a_,xf("{"),Kf("}"),wf,Cf,Cf)):vd&&um=="namespace"?(Tf.marked="keyword",Ef(Kf("form"),Rh,Yf,Cf)):vd&&um=="abstract"?(Tf.marked="keyword",Ef(Yf)):Ef(Kf("stat"),Mm):Ch=="switch"?Ef(Kf("form"),Bf,xf("{"),Kf("}","switch"),Wf,wf,Cf,Cf,Jf):Ch=="case"?Ef(Rh,xf(":")):Ch=="default"?Ef(xf(":")):Ch=="catch"?Ef(Kf("form"),Lf,dh,Yf,Cf,Jf):Ch=="export"?Ef(Kf("stat"),Gm,Cf):Ch=="import"?Ef(Kf("stat"),xg,Cf):Ch=="async"?Ef(Yf):um=="@"?Ef(Rh,Yf):Af(Kf("stat"),Rh,xf(";"),Cf)}function dh(Ch){if(Ch=="(")return Ef(Bh,xf(")"))}function Rh(Ch,um){return Sh(Ch,um,!1)}function th(Ch,um){return Sh(Ch,um,!0)}function Bf(Ch){return Ch!="("?Af():Ef(Kf(")"),Fh,xf(")"),Cf)}function Sh(Ch,um,Ym){if(Tf.state.fatArrowAt==Tf.stream.start){var ng=Ym?Mh:mh;if(Ch=="(")return Ef(Lf,Kf(")"),Th(Bh,")"),Cf,xf("=>"),ng,Jf);if(Ch=="variable")return Af(Lf,a_,xf("=>"),ng,Jf)}var Um=Ym?Pf:uh;return Xd.hasOwnProperty(Ch)?Ef(Um):Ch=="function"?Ef(jf,Um):Ch=="class"||vd&&um=="interface"?(Tf.marked="keyword",Ef(Kf("form"),fm,Cf)):Ch=="keyword c"||Ch=="async"?Ef(Ym?th:Rh):Ch=="("?Ef(Kf(")"),Fh,xf(")"),Cf,Um):Ch=="operator"||Ch=="spread"?Ef(Ym?th:Rh):Ch=="["?Ef(Kf("]"),Xg,Cf,Um):Ch=="{"?Rf(gm,"}",null,Um):Ch=="quasi"?Af(Uf,Um):Ch=="new"?Ef(_h(Ym)):Ef()}function Fh(Ch){return Ch.match(/[;\}\)\],]/)?Af():Af(Rh)}function uh(Ch,um){return Ch==","?Ef(Fh):Pf(Ch,um,!1)}function Pf(Ch,um,Ym){var ng=Ym==!1?uh:Pf,Um=Ym==!1?Rh:th;if(Ch=="=>")return Ef(Lf,Ym?Mh:mh,Jf);if(Ch=="operator")return/\+\+|--/.test(um)||vd&&um=="!"?Ef(ng):vd&&um=="<"&&Tf.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?Ef(Kf(">"),Th(Dm,">"),Cf,ng):um=="?"?Ef(Rh,xf(":"),Um):Ef(Um);if(Ch=="quasi")return Af(Uf,ng);if(Ch!=";"){if(Ch=="(")return Rf(th,")","call",ng);if(Ch==".")return Ef(Im,ng);if(Ch=="[")return Ef(Kf("]"),Fh,xf("]"),Cf,ng);if(vd&&um=="as")return Tf.marked="keyword",Ef(Dm,ng);if(Ch=="regexp")return Tf.state.lastType=Tf.marked="operator",Tf.stream.backUp(Tf.stream.pos-Tf.stream.start-1),Ef(Um)}}function Uf(Ch,um){return Ch!="quasi"?Af():um.slice(um.length-2)!="${"?Ef(Uf):Ef(Fh,Zf)}function Zf(Ch){if(Ch=="}")return Tf.marked="string-2",Tf.state.tokenize=Wd,Ef(Uf)}function mh(Ch){return _f(Tf.stream,Tf.state),Af(Ch=="{"?Yf:Rh)}function Mh(Ch){return _f(Tf.stream,Tf.state),Af(Ch=="{"?Yf:th)}function _h(Ch){return function(um){return um=="."?Ef(Ch?Jh:pm):um=="variable"&&vd?Ef(Gg,Ch?Pf:uh):Af(Ch?th:Rh)}}function pm(Ch,um){if(um=="target")return Tf.marked="keyword",Ef(uh)}function Jh(Ch,um){if(um=="target")return Tf.marked="keyword",Ef(Pf)}function Mm(Ch){return Ch==":"?Ef(Cf,Yf):Af(uh,xf(";"),Cf)}function Im(Ch){if(Ch=="variable")return Tf.marked="property",Ef()}function gm(Ch,um){if(Ch=="async")return Tf.marked="property",Ef(gm);if(Ch=="variable"||Tf.style=="keyword"){if(Tf.marked="property",um=="get"||um=="set")return Ef(Lm);var Ym;return vd&&Tf.state.fatArrowAt==Tf.stream.start&&(Ym=Tf.stream.match(/^\s*:\s*/,!1))&&(Tf.state.fatArrowAt=Tf.stream.pos+Ym[0].length),Ef(Vm)}else{if(Ch=="number"||Ch=="string")return Tf.marked=pd?"property":Tf.style+" property",Ef(Vm);if(Ch=="jsonld-keyword")return Ef(Vm);if(vd&&Qf(um))return Tf.marked="keyword",Ef(gm);if(Ch=="[")return Ef(Rh,sh,xf("]"),Vm);if(Ch=="spread")return Ef(th,Vm);if(um=="*")return Tf.marked="keyword",Ef(gm);if(Ch==":")return Af(Vm)}}function Lm(Ch){return Ch!="variable"?Af(Vm):(Tf.marked="property",Ef(jf))}function Vm(Ch){if(Ch==":")return Ef(th);if(Ch=="(")return Af(jf)}function Th(Ch,um,Ym){function ng(Um,Eg){if(Ym?Ym.indexOf(Um)>-1:Um==","){var r_=Tf.state.lexical;return r_.info=="call"&&(r_.pos=(r_.pos||0)+1),Ef(function(R_,G_){return R_==um||G_==um?Af():Af(Ch)},ng)}return Um==um||Eg==um?Ef():Ym&&Ym.indexOf(";")>-1?Af(Ch):Ef(xf(um))}return function(Um,Eg){return Um==um||Eg==um?Ef():Af(Ch,ng)}}function Rf(Ch,um,Ym){for(var ng=3;ng<arguments.length;ng++)Tf.cc.push(arguments[ng]);return Ef(Kf(um,Ym),Th(Ch,um),Cf)}function wf(Ch){return Ch=="}"?Ef():Af(Yf,wf)}function sh(Ch,um){if(vd){if(Ch==":")return Ef(Dm);if(um=="?")return Ef(sh)}}function xh(Ch,um){if(vd&&(Ch==":"||um=="in"))return Ef(Dm)}function Wh(Ch){if(vd&&Ch==":")return Tf.stream.match(/^\s*\w+\s+is\b/,!1)?Ef(Rh,om,Dm):Ef(Dm)}function om(Ch,um){if(um=="is")return Tf.marked="keyword",Ef()}function Dm(Ch,um){if(um=="keyof"||um=="typeof"||um=="infer"||um=="readonly")return Tf.marked="keyword",Ef(um=="typeof"?th:Dm);if(Ch=="variable"||um=="void")return Tf.marked="type",Ef(Kg);if(um=="|"||um=="&")return Ef(Dm);if(Ch=="string"||Ch=="number"||Ch=="atom")return Ef(Kg);if(Ch=="[")return Ef(Kf("]"),Th(Dm,"]",","),Cf,Kg);if(Ch=="{")return Ef(Kf("}"),jm,Cf,Kg);if(Ch=="(")return Ef(Th(wg,")"),zm,Kg);if(Ch=="<")return Ef(Th(Dm,">"),Dm);if(Ch=="quasi")return Af(Zm,Kg)}function zm(Ch){if(Ch=="=>")return Ef(Dm)}function jm(Ch){return Ch.match(/[\}\)\]]/)?Ef():Ch==","||Ch==";"?Ef(jm):Af(ig,jm)}function ig(Ch,um){if(Ch=="variable"||Tf.style=="keyword")return Tf.marked="property",Ef(ig);if(um=="?"||Ch=="number"||Ch=="string")return Ef(ig);if(Ch==":")return Ef(Dm);if(Ch=="[")return Ef(xf("variable"),xh,xf("]"),ig);if(Ch=="(")return Af(Uh,ig);if(!Ch.match(/[;\}\)\],]/))return Ef()}function Zm(Ch,um){return Ch!="quasi"?Af():um.slice(um.length-2)!="${"?Ef(Zm):Ef(Dm,ug)}function ug(Ch){if(Ch=="}")return Tf.marked="string-2",Tf.state.tokenize=Wd,Ef(Zm)}function wg(Ch,um){return Ch=="variable"&&Tf.stream.match(/^\s*[?:]/,!1)||um=="?"?Ef(wg):Ch==":"?Ef(Dm):Ch=="spread"?Ef(wg):Af(Dm)}function Kg(Ch,um){if(um=="<")return Ef(Kf(">"),Th(Dm,">"),Cf,Kg);if(um=="|"||Ch=="."||um=="&")return Ef(Dm);if(Ch=="[")return Ef(Dm,xf("]"),Kg);if(um=="extends"||um=="implements")return Tf.marked="keyword",Ef(Dm);if(um=="?")return Ef(Dm,xf(":"),Dm)}function Gg(Ch,um){if(um=="<")return Ef(Kf(">"),Th(Dm,">"),Cf,Kg)}function n_(){return Af(Dm,Pg)}function Pg(Ch,um){if(um=="=")return Ef(Dm)}function m_(Ch,um){return um=="enum"?(Tf.marked="keyword",Ef(lg)):Af(a_,sh,h_,y_)}function a_(Ch,um){if(vd&&Qf(um))return Tf.marked="keyword",Ef(a_);if(Ch=="variable")return If(um),Ef();if(Ch=="spread")return Ef(a_);if(Ch=="[")return Rf(B_,"]");if(Ch=="{")return Rf(M_,"}")}function M_(Ch,um){return Ch=="variable"&&!Tf.stream.match(/^\s*:/,!1)?(If(um),Ef(h_)):(Ch=="variable"&&(Tf.marked="property"),Ch=="spread"?Ef(a_):Ch=="}"?Af():Ch=="["?Ef(Rh,xf("]"),xf(":"),M_):Ef(xf(":"),a_,h_))}function B_(){return Af(a_,h_)}function h_(Ch,um){if(um=="=")return Ef(th)}function y_(Ch){if(Ch==",")return Ef(m_)}function dg(Ch,um){if(Ch=="keyword b"&&um=="else")return Ef(Kf("form","else"),Yf,Cf)}function vb(Ch,um){if(um=="await")return Ef(vb);if(Ch=="(")return Ef(Kf(")"),kb,Cf)}function kb(Ch){return Ch=="var"?Ef(m_,Z_):Ch=="variable"?Ef(Z_):Af(Z_)}function Z_(Ch,um){return Ch==")"?Ef():Ch==";"?Ef(Z_):um=="in"||um=="of"?(Tf.marked="keyword",Ef(Rh,Z_)):Af(Rh,Z_)}function jf(Ch,um){if(um=="*")return Tf.marked="keyword",Ef(jf);if(Ch=="variable")return If(um),Ef(jf);if(Ch=="(")return Ef(Lf,Kf(")"),Th(Bh,")"),Cf,Wh,Yf,Jf);if(vd&&um=="<")return Ef(Kf(">"),Th(n_,">"),Cf,jf)}function Uh(Ch,um){if(um=="*")return Tf.marked="keyword",Ef(Uh);if(Ch=="variable")return If(um),Ef(Uh);if(Ch=="(")return Ef(Lf,Kf(")"),Th(Bh,")"),Cf,Wh,Jf);if(vd&&um=="<")return Ef(Kf(">"),Th(n_,">"),Cf,Uh)}function wh(Ch,um){if(Ch=="keyword"||Ch=="variable")return Tf.marked="type",Ef(wh);if(um=="<")return Ef(Kf(">"),Th(n_,">"),Cf)}function Bh(Ch,um){return um=="@"&&Ef(Rh,Bh),Ch=="spread"?Ef(Bh):vd&&Qf(um)?(Tf.marked="keyword",Ef(Bh)):vd&&Ch=="this"?Ef(sh,h_):Af(a_,sh,h_)}function fm(Ch,um){return Ch=="variable"?dm(Ch,um):Tm(Ch,um)}function dm(Ch,um){if(Ch=="variable")return If(um),Ef(Tm)}function Tm(Ch,um){if(um=="<")return Ef(Kf(">"),Th(n_,">"),Cf,Tm);if(um=="extends"||um=="implements"||vd&&Ch==",")return um=="implements"&&(Tf.marked="keyword"),Ef(vd?Dm:Rh,Tm);if(Ch=="{")return Ef(Kf("}"),_m,Cf)}function _m(Ch,um){if(Ch=="async"||Ch=="variable"&&(um=="static"||um=="get"||um=="set"||vd&&Qf(um))&&Tf.stream.match(/^\s+#?[\w$\xa1-\uffff]/,!1))return Tf.marked="keyword",Ef(_m);if(Ch=="variable"||Tf.style=="keyword")return Tf.marked="property",Ef(Zh,_m);if(Ch=="number"||Ch=="string")return Ef(Zh,_m);if(Ch=="[")return Ef(Rh,sh,xf("]"),Zh,_m);if(um=="*")return Tf.marked="keyword",Ef(_m);if(vd&&Ch=="(")return Af(Uh,_m);if(Ch==";"||Ch==",")return Ef(_m);if(Ch=="}")return Ef();if(um=="@")return Ef(Rh,_m)}function Zh(Ch,um){if(um=="!"||um=="?")return Ef(Zh);if(Ch==":")return Ef(Dm,h_);if(um=="=")return Ef(th);var Ym=Tf.state.lexical.prev,ng=Ym&&Ym.info=="interface";return Af(ng?Uh:jf)}function Gm(Ch,um){return um=="*"?(Tf.marked="keyword",Ef(u_,xf(";"))):um=="default"?(Tf.marked="keyword",Ef(Rh,xf(";"))):Ch=="{"?Ef(Th(Km,"}"),u_,xf(";")):Af(Yf)}function Km(Ch,um){if(um=="as")return Tf.marked="keyword",Ef(xf("variable"));if(Ch=="variable")return Af(th,Km)}function xg(Ch){return Ch=="string"?Ef():Ch=="("?Af(Rh):Ch=="."?Af(uh):Af(eg,Ag,u_)}function eg(Ch,um){return Ch=="{"?Rf(eg,"}"):(Ch=="variable"&&If(um),um=="*"&&(Tf.marked="keyword"),Ef(d_))}function Ag(Ch){if(Ch==",")return Ef(eg,Ag)}function d_(Ch,um){if(um=="as")return Tf.marked="keyword",Ef(eg)}function u_(Ch,um){if(um=="from")return Tf.marked="keyword",Ef(Rh)}function Xg(Ch){return Ch=="]"?Ef():Af(Th(th,"]"))}function lg(){return Af(Kf("form"),a_,xf("{"),Kf("}"),Th(N_,"}"),Cf,Cf)}function N_(){return Af(a_,h_)}function Zg(Ch,um){return Ch.lastType=="operator"||Ch.lastType==","||Od.test(um.charAt(0))||/[,.]/.test(um.charAt(0))}function Ug(Ch,um,Ym){return um.tokenize==Ud&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(um.lastType)||um.lastType=="quasi"&&/\{\s*$/.test(Ch.string.slice(0,Ch.pos-(Ym||0)))}return{startState:function(Ch){var um={tokenize:Ud,lastType:"sof",cc:[],lexical:new pf((Ch||0)-ud,0,"block",!1),localVars:ld.localVars,context:ld.localVars&&new Xf(null,null,!1),indented:Ch||0};return ld.globalVars&&typeof ld.globalVars=="object"&&(um.globalVars=ld.globalVars),um},token:function(Ch,um){if(Ch.sol()&&(um.lexical.hasOwnProperty("align")||(um.lexical.align=!1),um.indented=Ch.indentation(),_f(Ch,um)),um.tokenize!=zd&&Ch.eatSpace())return null;var Ym=um.tokenize(Ch,um);return Gd=="comment"?Ym:(um.lastType=Gd=="operator"&&(jd=="++"||jd=="--")?"incdec":Gd,Sf(um,Ym,Gd,jd,Ch))},indent:function(Ch,um){if(Ch.tokenize==zd||Ch.tokenize==Wd)return nd.Pass;if(Ch.tokenize!=Ud)return 0;var Ym=um&&um.charAt(0),ng=Ch.lexical,Um;if(!/^\s*else\b/.test(um))for(var Eg=Ch.cc.length-1;Eg>=0;--Eg){var r_=Ch.cc[Eg];if(r_==Cf)ng=ng.prev;else if(r_!=dg&&r_!=Jf)break}for(;(ng.type=="stat"||ng.type=="form")&&(Ym=="}"||(Um=Ch.cc[Ch.cc.length-1])&&(Um==uh||Um==Pf)&&!/^[,\.=+\-*:?[\(]/.test(um));)ng=ng.prev;dd&&ng.type==")"&&ng.prev.type=="stat"&&(ng=ng.prev);var R_=ng.type,G_=Ym==R_;return R_=="vardef"?ng.indented+(Ch.lastType=="operator"||Ch.lastType==","?ng.info.length+1:0):R_=="form"&&Ym=="{"?ng.indented:R_=="form"?ng.indented+ud:R_=="stat"?ng.indented+(Zg(Ch,um)?dd||ud:0):ng.info=="switch"&&!G_&&ld.doubleIndentSwitch!=!1?ng.indented+(/^(?:case|default)\b/.test(um)?ud:2*ud):ng.align?ng.column+(G_?0:1):ng.indented+(G_?0:ud)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:fd?null:"/*",blockCommentEnd:fd?null:"*/",blockCommentContinue:fd?null:" * ",lineComment:fd?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:fd?"json":"javascript",jsonldMode:pd,jsonMode:fd,expressionAllowed:Ug,skipExpression:function(Ch){Sf(Ch,"atom","atom","true",new nd.StringStream("",2,null))}}}),nd.registerHelper("wordChars","javascript",/[\w$]/),nd.defineMIME("text/javascript","javascript"),nd.defineMIME("text/ecmascript","javascript"),nd.defineMIME("application/javascript","javascript"),nd.defineMIME("application/x-javascript","javascript"),nd.defineMIME("application/ecmascript","javascript"),nd.defineMIME("application/json",{name:"javascript",json:!0}),nd.defineMIME("application/x-json",{name:"javascript",json:!0}),nd.defineMIME("application/manifest+json",{name:"javascript",json:!0}),nd.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),nd.defineMIME("text/typescript",{name:"javascript",typescript:!0}),nd.defineMIME("application/typescript",{name:"javascript",typescript:!0})})})();var xml={exports:{}},hasRequiredXml;function requireXml(){return hasRequiredXml||(hasRequiredXml=1,function(Ra,qa){(function(nd){nd(requireCodemirror())})(function(nd){var od={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},ld={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};nd.defineMode("xml",function(ud,dd){var pd=ud.indentUnit,fd={},md=dd.htmlMode?od:ld;for(var vd in md)fd[vd]=md[vd];for(var vd in dd)fd[vd]=dd[vd];var Ad,Nd;function Od(Ef,Nf){function If(Xf){return Nf.tokenize=Xf,Xf(Ef,Nf)}var Gf=Ef.next();if(Gf=="<")return Ef.eat("!")?Ef.eat("[")?Ef.match("CDATA[")?If(Gd("atom","]]>")):null:Ef.match("--")?If(Gd("comment","-->")):Ef.match("DOCTYPE",!0,!0)?(Ef.eatWhile(/[\w\._\-]/),If(jd(1))):null:Ef.eat("?")?(Ef.eatWhile(/[\w\._\-]/),Nf.tokenize=Gd("meta","?>"),"meta"):(Ad=Ef.eat("/")?"closeTag":"openTag",Nf.tokenize=kd,"tag bracket");if(Gf=="&"){var Qf;return Ef.eat("#")?Ef.eat("x")?Qf=Ef.eatWhile(/[a-fA-F\d]/)&&Ef.eat(";"):Qf=Ef.eatWhile(/[\d]/)&&Ef.eat(";"):Qf=Ef.eatWhile(/[\w\.\-:]/)&&Ef.eat(";"),Qf?"atom":"error"}else return Ef.eatWhile(/[^&<]/),null}Od.isInText=!0;function kd(Ef,Nf){var If=Ef.next();if(If==">"||If=="/"&&Ef.eat(">"))return Nf.tokenize=Od,Ad=If==">"?"endTag":"selfcloseTag","tag bracket";if(If=="=")return Ad="equals",null;if(If=="<"){Nf.tokenize=Od,Nf.state=Wd,Nf.tagName=Nf.tagStart=null;var Gf=Nf.tokenize(Ef,Nf);return Gf?Gf+" tag error":"tag error"}else return/[\'\"]/.test(If)?(Nf.tokenize=Ld(If),Nf.stringStartCol=Ef.column(),Nf.tokenize(Ef,Nf)):(Ef.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Ld(Ef){var Nf=function(If,Gf){for(;!If.eol();)if(If.next()==Ef){Gf.tokenize=kd;break}return"string"};return Nf.isInAttribute=!0,Nf}function Gd(Ef,Nf){return function(If,Gf){for(;!If.eol();){if(If.match(Nf)){Gf.tokenize=Od;break}If.next()}return Ef}}function jd(Ef){return function(Nf,If){for(var Gf;(Gf=Nf.next())!=null;){if(Gf=="<")return If.tokenize=jd(Ef+1),If.tokenize(Nf,If);if(Gf==">")if(Ef==1){If.tokenize=Od;break}else return If.tokenize=jd(Ef-1),If.tokenize(Nf,If)}return"meta"}}function Fd(Ef){return Ef&&Ef.toLowerCase()}function Ud(Ef,Nf,If){this.prev=Ef.context,this.tagName=Nf||"",this.indent=Ef.indented,this.startOfLine=If,(fd.doNotIndent.hasOwnProperty(Nf)||Ef.context&&Ef.context.noIndent)&&(this.noIndent=!0)}function qd(Ef){Ef.context&&(Ef.context=Ef.context.prev)}function zd(Ef,Nf){for(var If;;){if(!Ef.context||(If=Ef.context.tagName,!fd.contextGrabbers.hasOwnProperty(Fd(If))||!fd.contextGrabbers[Fd(If)].hasOwnProperty(Fd(Nf))))return;qd(Ef)}}function Wd(Ef,Nf,If){return Ef=="openTag"?(If.tagStart=Nf.column(),Jd):Ef=="closeTag"?_f:Wd}function Jd(Ef,Nf,If){return Ef=="word"?(If.tagName=Nf.current(),Nd="tag",mf):fd.allowMissingTagName&&Ef=="endTag"?(Nd="tag bracket",mf(Ef,Nf,If)):(Nd="error",Jd)}function _f(Ef,Nf,If){if(Ef=="word"){var Gf=Nf.current();return If.context&&If.context.tagName!=Gf&&fd.implicitlyClosed.hasOwnProperty(Fd(If.context.tagName))&&qd(If),If.context&&If.context.tagName==Gf||fd.matchClosing===!1?(Nd="tag",Xd):(Nd="tag error",pf)}else return fd.allowMissingTagName&&Ef=="endTag"?(Nd="tag bracket",Xd(Ef,Nf,If)):(Nd="error",pf)}function Xd(Ef,Nf,If){return Ef!="endTag"?(Nd="error",Xd):(qd(If),Wd)}function pf(Ef,Nf,If){return Nd="error",Xd(Ef,Nf,If)}function mf(Ef,Nf,If){if(Ef=="word")return Nd="attribute",Sf;if(Ef=="endTag"||Ef=="selfcloseTag"){var Gf=If.tagName,Qf=If.tagStart;return If.tagName=If.tagStart=null,Ef=="selfcloseTag"||fd.autoSelfClosers.hasOwnProperty(Fd(Gf))?zd(If,Gf):(zd(If,Gf),If.context=new Ud(If,Gf,Qf==If.indented)),Wd}return Nd="error",mf}function Sf(Ef,Nf,If){return Ef=="equals"?Tf:(fd.allowMissing||(Nd="error"),mf(Ef,Nf,If))}function Tf(Ef,Nf,If){return Ef=="string"?Af:Ef=="word"&&fd.allowUnquoted?(Nd="string",mf):(Nd="error",mf(Ef,Nf,If))}function Af(Ef,Nf,If){return Ef=="string"?Af:mf(Ef,Nf,If)}return{startState:function(Ef){var Nf={tokenize:Od,state:Wd,indented:Ef||0,tagName:null,tagStart:null,context:null};return Ef!=null&&(Nf.baseIndent=Ef),Nf},token:function(Ef,Nf){if(!Nf.tagName&&Ef.sol()&&(Nf.indented=Ef.indentation()),Ef.eatSpace())return null;Ad=null;var If=Nf.tokenize(Ef,Nf);return(If||Ad)&&If!="comment"&&(Nd=null,Nf.state=Nf.state(Ad||If,Ef,Nf),Nd&&(If=Nd=="error"?If+" error":Nd)),If},indent:function(Ef,Nf,If){var Gf=Ef.context;if(Ef.tokenize.isInAttribute)return Ef.tagStart==Ef.indented?Ef.stringStartCol+1:Ef.indented+pd;if(Gf&&Gf.noIndent)return nd.Pass;if(Ef.tokenize!=kd&&Ef.tokenize!=Od)return If?If.match(/^(\s*)/)[0].length:0;if(Ef.tagName)return fd.multilineTagIndentPastTag!==!1?Ef.tagStart+Ef.tagName.length+2:Ef.tagStart+pd*(fd.multilineTagIndentFactor||1);if(fd.alignCDATA&&/<!\[CDATA\[/.test(Nf))return 0;var Qf=Nf&&/^<(\/)?([\w_:\.-]*)/.exec(Nf);if(Qf&&Qf[1])for(;Gf;)if(Gf.tagName==Qf[2]){Gf=Gf.prev;break}else if(fd.implicitlyClosed.hasOwnProperty(Fd(Gf.tagName)))Gf=Gf.prev;else break;else if(Qf)for(;Gf;){var Xf=fd.contextGrabbers[Fd(Gf.tagName)];if(Xf&&Xf.hasOwnProperty(Fd(Qf[2])))Gf=Gf.prev;else break}for(;Gf&&Gf.prev&&!Gf.startOfLine;)Gf=Gf.prev;return Gf?Gf.indent+pd:Ef.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:fd.htmlMode?"html":"xml",helperType:fd.htmlMode?"html":"xml",skipAttribute:function(Ef){Ef.state==Tf&&(Ef.state=mf)},xmlCurrentTag:function(Ef){return Ef.tagName?{name:Ef.tagName,close:Ef.type=="closeTag"}:null},xmlCurrentContext:function(Ef){for(var Nf=[],If=Ef.context;If;If=If.prev)Nf.push(If.tagName);return Nf.reverse()}}}),nd.defineMIME("text/xml","xml"),nd.defineMIME("application/xml","xml"),nd.mimeModes.hasOwnProperty("text/html")||nd.defineMIME("text/html",{name:"xml",htmlMode:!0})})}()),xml.exports}var meta={exports:{}},hasRequiredMeta;function requireMeta(){return hasRequiredMeta||(hasRequiredMeta=1,function(Ra,qa){(function(nd){nd(requireCodemirror())})(function(nd){nd.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy","cbl"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded JavaScript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"],alias:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var od=0;od<nd.modeInfo.length;od++){var ld=nd.modeInfo[od];ld.mimes&&(ld.mime=ld.mimes[0])}nd.findModeByMIME=function(ud){ud=ud.toLowerCase();for(var dd=0;dd<nd.modeInfo.length;dd++){var pd=nd.modeInfo[dd];if(pd.mime==ud)return pd;if(pd.mimes){for(var fd=0;fd<pd.mimes.length;fd++)if(pd.mimes[fd]==ud)return pd}}if(/\+xml$/.test(ud))return nd.findModeByMIME("application/xml");if(/\+json$/.test(ud))return nd.findModeByMIME("application/json")},nd.findModeByExtension=function(ud){ud=ud.toLowerCase();for(var dd=0;dd<nd.modeInfo.length;dd++){var pd=nd.modeInfo[dd];if(pd.ext){for(var fd=0;fd<pd.ext.length;fd++)if(pd.ext[fd]==ud)return pd}}},nd.findModeByFileName=function(ud){for(var dd=0;dd<nd.modeInfo.length;dd++){var pd=nd.modeInfo[dd];if(pd.file&&pd.file.test(ud))return pd}var fd=ud.lastIndexOf("."),md=fd>-1&&ud.substring(fd+1,ud.length);if(md)return nd.findModeByExtension(md)},nd.findModeByName=function(ud){ud=ud.toLowerCase();for(var dd=0;dd<nd.modeInfo.length;dd++){var pd=nd.modeInfo[dd];if(pd.name.toLowerCase()==ud)return pd;if(pd.alias){for(var fd=0;fd<pd.alias.length;fd++)if(pd.alias[fd].toLowerCase()==ud)return pd}}}})}()),meta.exports}(function(Ra,qa){(function(nd){nd(requireCodemirror(),requireXml(),requireMeta())})(function(nd){nd.defineMode("markdown",function(od,ld){var ud=nd.getMode(od,"text/html"),dd=ud.name=="null";function pd(qf){if(nd.findModeByName){var Lf=nd.findModeByName(qf);Lf&&(qf=Lf.mime||Lf.mimes[0])}var Wf=nd.getMode(od,qf);return Wf.name=="null"?null:Wf}ld.highlightFormatting===void 0&&(ld.highlightFormatting=!1),ld.maxBlockquoteDepth===void 0&&(ld.maxBlockquoteDepth=0),ld.taskLists===void 0&&(ld.taskLists=!1),ld.strikethrough===void 0&&(ld.strikethrough=!1),ld.emoji===void 0&&(ld.emoji=!1),ld.fencedCodeBlockHighlighting===void 0&&(ld.fencedCodeBlockHighlighting=!0),ld.fencedCodeBlockDefaultMode===void 0&&(ld.fencedCodeBlockDefaultMode="text/plain"),ld.xml===void 0&&(ld.xml=!0),ld.tokenTypeOverrides===void 0&&(ld.tokenTypeOverrides={});var fd={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var md in fd)fd.hasOwnProperty(md)&&ld.tokenTypeOverrides[md]&&(fd[md]=ld.tokenTypeOverrides[md]);var vd=/^([*\-_])(?:\s*\1){2,}\s*$/,Ad=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,Nd=/^\[(x| )\](?=\s)/i,Od=ld.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,kd=/^ {0,3}(?:\={1,}|-{2,})\s*$/,Ld=/^[^#!\[\]*_\\<>` "'(~:]+/,Gd=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,jd=/^\s*\[[^\]]+?\]:.*$/,Fd=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,Ud=" ";function qd(qf,Lf,Wf){return Lf.f=Lf.inline=Wf,Wf(qf,Lf)}function zd(qf,Lf,Wf){return Lf.f=Lf.block=Wf,Wf(qf,Lf)}function Wd(qf){return!qf||!/\S/.test(qf.string)}function Jd(qf){if(qf.linkTitle=!1,qf.linkHref=!1,qf.linkText=!1,qf.em=!1,qf.strong=!1,qf.strikethrough=!1,qf.quote=0,qf.indentedCode=!1,qf.f==Xd){var Lf=dd;if(!Lf){var Wf=nd.innerMode(ud,qf.htmlState);Lf=Wf.mode.name=="xml"&&Wf.state.tagStart===null&&!Wf.state.context&&Wf.state.tokenize.isInText}Lf&&(qf.f=Tf,qf.block=_f,qf.htmlState=null)}return qf.trailingSpace=0,qf.trailingSpaceNewLine=!1,qf.prevLine=qf.thisLine,qf.thisLine={stream:null},null}function _f(qf,Lf){var Wf=qf.column()===Lf.indentation,Jf=Wd(Lf.prevLine.stream),Kf=Lf.indentedCode,Cf=Lf.prevLine.hr,xf=Lf.list!==!1,Yf=(Lf.listStack[Lf.listStack.length-1]||0)+3;Lf.indentedCode=!1;var dh=Lf.indentation;if(Lf.indentationDiff===null&&(Lf.indentationDiff=Lf.indentation,xf)){for(Lf.list=null;dh<Lf.listStack[Lf.listStack.length-1];)Lf.listStack.pop(),Lf.listStack.length?Lf.indentation=Lf.listStack[Lf.listStack.length-1]:Lf.list=!1;Lf.list!==!1&&(Lf.indentationDiff=dh-Lf.listStack[Lf.listStack.length-1])}var Rh=!Jf&&!Cf&&!Lf.prevLine.header&&(!xf||!Kf)&&!Lf.prevLine.fencedCodeEnd,th=(Lf.list===!1||Cf||Jf)&&Lf.indentation<=Yf&&qf.match(vd),Bf=null;if(Lf.indentationDiff>=4&&(Kf||Lf.prevLine.fencedCodeEnd||Lf.prevLine.header||Jf))return qf.skipToEnd(),Lf.indentedCode=!0,fd.code;if(qf.eatSpace())return null;if(Wf&&Lf.indentation<=Yf&&(Bf=qf.match(Od))&&Bf[1].length<=6)return Lf.quote=0,Lf.header=Bf[1].length,Lf.thisLine.header=!0,ld.highlightFormatting&&(Lf.formatting="header"),Lf.f=Lf.inline,mf(Lf);if(Lf.indentation<=Yf&&qf.eat(">"))return Lf.quote=Wf?1:Lf.quote+1,ld.highlightFormatting&&(Lf.formatting="quote"),qf.eatSpace(),mf(Lf);if(!th&&!Lf.setext&&Wf&&Lf.indentation<=Yf&&(Bf=qf.match(Ad))){var Sh=Bf[1]?"ol":"ul";return Lf.indentation=dh+qf.current().length,Lf.list=!0,Lf.quote=0,Lf.listStack.push(Lf.indentation),Lf.em=!1,Lf.strong=!1,Lf.code=!1,Lf.strikethrough=!1,ld.taskLists&&qf.match(Nd,!1)&&(Lf.taskList=!0),Lf.f=Lf.inline,ld.highlightFormatting&&(Lf.formatting=["list","list-"+Sh]),mf(Lf)}else{if(Wf&&Lf.indentation<=Yf&&(Bf=qf.match(Gd,!0)))return Lf.quote=0,Lf.fencedEndRE=new RegExp(Bf[1]+"+ *$"),Lf.localMode=ld.fencedCodeBlockHighlighting&&pd(Bf[2]||ld.fencedCodeBlockDefaultMode),Lf.localMode&&(Lf.localState=nd.startState(Lf.localMode)),Lf.f=Lf.block=pf,ld.highlightFormatting&&(Lf.formatting="code-block"),Lf.code=-1,mf(Lf);if(Lf.setext||(!Rh||!xf)&&!Lf.quote&&Lf.list===!1&&!Lf.code&&!th&&!jd.test(qf.string)&&(Bf=qf.lookAhead(1))&&(Bf=Bf.match(kd)))return Lf.setext?(Lf.header=Lf.setext,Lf.setext=0,qf.skipToEnd(),ld.highlightFormatting&&(Lf.formatting="header")):(Lf.header=Bf[0].charAt(0)=="="?1:2,Lf.setext=Lf.header),Lf.thisLine.header=!0,Lf.f=Lf.inline,mf(Lf);if(th)return qf.skipToEnd(),Lf.hr=!0,Lf.thisLine.hr=!0,fd.hr;if(qf.peek()==="[")return qd(qf,Lf,Gf)}return qd(qf,Lf,Lf.inline)}function Xd(qf,Lf){var Wf=ud.token(qf,Lf.htmlState);if(!dd){var Jf=nd.innerMode(ud,Lf.htmlState);(Jf.mode.name=="xml"&&Jf.state.tagStart===null&&!Jf.state.context&&Jf.state.tokenize.isInText||Lf.md_inside&&qf.current().indexOf(">")>-1)&&(Lf.f=Tf,Lf.block=_f,Lf.htmlState=null)}return Wf}function pf(qf,Lf){var Wf=Lf.listStack[Lf.listStack.length-1]||0,Jf=Lf.indentation<Wf,Kf=Wf+3;if(Lf.fencedEndRE&&Lf.indentation<=Kf&&(Jf||qf.match(Lf.fencedEndRE))){ld.highlightFormatting&&(Lf.formatting="code-block");var Cf;return Jf||(Cf=mf(Lf)),Lf.localMode=Lf.localState=null,Lf.block=_f,Lf.f=Tf,Lf.fencedEndRE=null,Lf.code=0,Lf.thisLine.fencedCodeEnd=!0,Jf?zd(qf,Lf,Lf.block):Cf}else return Lf.localMode?Lf.localMode.token(qf,Lf.localState):(qf.skipToEnd(),fd.code)}function mf(qf){var Lf=[];if(qf.formatting){Lf.push(fd.formatting),typeof qf.formatting=="string"&&(qf.formatting=[qf.formatting]);for(var Wf=0;Wf<qf.formatting.length;Wf++)Lf.push(fd.formatting+"-"+qf.formatting[Wf]),qf.formatting[Wf]==="header"&&Lf.push(fd.formatting+"-"+qf.formatting[Wf]+"-"+qf.header),qf.formatting[Wf]==="quote"&&(!ld.maxBlockquoteDepth||ld.maxBlockquoteDepth>=qf.quote?Lf.push(fd.formatting+"-"+qf.formatting[Wf]+"-"+qf.quote):Lf.push("error"))}if(qf.taskOpen)return Lf.push("meta"),Lf.length?Lf.join(" "):null;if(qf.taskClosed)return Lf.push("property"),Lf.length?Lf.join(" "):null;if(qf.linkHref?Lf.push(fd.linkHref,"url"):(qf.strong&&Lf.push(fd.strong),qf.em&&Lf.push(fd.em),qf.strikethrough&&Lf.push(fd.strikethrough),qf.emoji&&Lf.push(fd.emoji),qf.linkText&&Lf.push(fd.linkText),qf.code&&Lf.push(fd.code),qf.image&&Lf.push(fd.image),qf.imageAltText&&Lf.push(fd.imageAltText,"link"),qf.imageMarker&&Lf.push(fd.imageMarker)),qf.header&&Lf.push(fd.header,fd.header+"-"+qf.header),qf.quote&&(Lf.push(fd.quote),!ld.maxBlockquoteDepth||ld.maxBlockquoteDepth>=qf.quote?Lf.push(fd.quote+"-"+qf.quote):Lf.push(fd.quote+"-"+ld.maxBlockquoteDepth)),qf.list!==!1){var Jf=(qf.listStack.length-1)%3;Jf?Jf===1?Lf.push(fd.list2):Lf.push(fd.list3):Lf.push(fd.list1)}return qf.trailingSpaceNewLine?Lf.push("trailing-space-new-line"):qf.trailingSpace&&Lf.push("trailing-space-"+(qf.trailingSpace%2?"a":"b")),Lf.length?Lf.join(" "):null}function Sf(qf,Lf){if(qf.match(Ld,!0))return mf(Lf)}function Tf(qf,Lf){var Wf=Lf.text(qf,Lf);if(typeof Wf<"u")return Wf;if(Lf.list)return Lf.list=null,mf(Lf);if(Lf.taskList){var Jf=qf.match(Nd,!0)[1]===" ";return Jf?Lf.taskOpen=!0:Lf.taskClosed=!0,ld.highlightFormatting&&(Lf.formatting="task"),Lf.taskList=!1,mf(Lf)}if(Lf.taskOpen=!1,Lf.taskClosed=!1,Lf.header&&qf.match(/^#+$/,!0))return ld.highlightFormatting&&(Lf.formatting="header"),mf(Lf);var Kf=qf.next();if(Lf.linkTitle){Lf.linkTitle=!1;var Cf=Kf;Kf==="("&&(Cf=")"),Cf=(Cf+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var xf="^\\s*(?:[^"+Cf+"\\\\]+|\\\\\\\\|\\\\.)"+Cf;if(qf.match(new RegExp(xf),!0))return fd.linkHref}if(Kf==="`"){var Yf=Lf.formatting;ld.highlightFormatting&&(Lf.formatting="code"),qf.eatWhile("`");var dh=qf.current().length;if(Lf.code==0&&(!Lf.quote||dh==1))return Lf.code=dh,mf(Lf);if(dh==Lf.code){var Rh=mf(Lf);return Lf.code=0,Rh}else return Lf.formatting=Yf,mf(Lf)}else if(Lf.code)return mf(Lf);if(Kf==="\\"&&(qf.next(),ld.highlightFormatting)){var th=mf(Lf),Bf=fd.formatting+"-escape";return th?th+" "+Bf:Bf}if(Kf==="!"&&qf.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Lf.imageMarker=!0,Lf.image=!0,ld.highlightFormatting&&(Lf.formatting="image"),mf(Lf);if(Kf==="["&&Lf.imageMarker&&qf.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Lf.imageMarker=!1,Lf.imageAltText=!0,ld.highlightFormatting&&(Lf.formatting="image"),mf(Lf);if(Kf==="]"&&Lf.imageAltText){ld.highlightFormatting&&(Lf.formatting="image");var th=mf(Lf);return Lf.imageAltText=!1,Lf.image=!1,Lf.inline=Lf.f=Ef,th}if(Kf==="["&&!Lf.image)return Lf.linkText&&qf.match(/^.*?\]/)||(Lf.linkText=!0,ld.highlightFormatting&&(Lf.formatting="link")),mf(Lf);if(Kf==="]"&&Lf.linkText){ld.highlightFormatting&&(Lf.formatting="link");var th=mf(Lf);return Lf.linkText=!1,Lf.inline=Lf.f=qf.match(/\(.*?\)| ?\[.*?\]/,!1)?Ef:Tf,th}if(Kf==="<"&&qf.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){Lf.f=Lf.inline=Af,ld.highlightFormatting&&(Lf.formatting="link");var th=mf(Lf);return th?th+=" ":th="",th+fd.linkInline}if(Kf==="<"&&qf.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){Lf.f=Lf.inline=Af,ld.highlightFormatting&&(Lf.formatting="link");var th=mf(Lf);return th?th+=" ":th="",th+fd.linkEmail}if(ld.xml&&Kf==="<"&&qf.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Sh=qf.string.indexOf(">",qf.pos);if(Sh!=-1){var Fh=qf.string.substring(qf.start,Sh);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Fh)&&(Lf.md_inside=!0)}return qf.backUp(1),Lf.htmlState=nd.startState(ud),zd(qf,Lf,Xd)}if(ld.xml&&Kf==="<"&&qf.match(/^\/\w*?>/))return Lf.md_inside=!1,"tag";if(Kf==="*"||Kf==="_"){for(var uh=1,Pf=qf.pos==1?" ":qf.string.charAt(qf.pos-2);uh<3&&qf.eat(Kf);)uh++;var Uf=qf.peek()||" ",Zf=!/\s/.test(Uf)&&(!Fd.test(Uf)||/\s/.test(Pf)||Fd.test(Pf)),mh=!/\s/.test(Pf)&&(!Fd.test(Pf)||/\s/.test(Uf)||Fd.test(Uf)),Mh=null,_h=null;if(uh%2&&(!Lf.em&&Zf&&(Kf==="*"||!mh||Fd.test(Pf))?Mh=!0:Lf.em==Kf&&mh&&(Kf==="*"||!Zf||Fd.test(Uf))&&(Mh=!1)),uh>1&&(!Lf.strong&&Zf&&(Kf==="*"||!mh||Fd.test(Pf))?_h=!0:Lf.strong==Kf&&mh&&(Kf==="*"||!Zf||Fd.test(Uf))&&(_h=!1)),_h!=null||Mh!=null){ld.highlightFormatting&&(Lf.formatting=Mh==null?"strong":_h==null?"em":"strong em"),Mh===!0&&(Lf.em=Kf),_h===!0&&(Lf.strong=Kf);var Rh=mf(Lf);return Mh===!1&&(Lf.em=!1),_h===!1&&(Lf.strong=!1),Rh}}else if(Kf===" "&&(qf.eat("*")||qf.eat("_"))){if(qf.peek()===" ")return mf(Lf);qf.backUp(1)}if(ld.strikethrough){if(Kf==="~"&&qf.eatWhile(Kf)){if(Lf.strikethrough){ld.highlightFormatting&&(Lf.formatting="strikethrough");var Rh=mf(Lf);return Lf.strikethrough=!1,Rh}else if(qf.match(/^[^\s]/,!1))return Lf.strikethrough=!0,ld.highlightFormatting&&(Lf.formatting="strikethrough"),mf(Lf)}else if(Kf===" "&&qf.match("~~",!0)){if(qf.peek()===" ")return mf(Lf);qf.backUp(2)}}if(ld.emoji&&Kf===":"&&qf.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Lf.emoji=!0,ld.highlightFormatting&&(Lf.formatting="emoji");var pm=mf(Lf);return Lf.emoji=!1,pm}return Kf===" "&&(qf.match(/^ +$/,!1)?Lf.trailingSpace++:Lf.trailingSpace&&(Lf.trailingSpaceNewLine=!0)),mf(Lf)}function Af(qf,Lf){var Wf=qf.next();if(Wf===">"){Lf.f=Lf.inline=Tf,ld.highlightFormatting&&(Lf.formatting="link");var Jf=mf(Lf);return Jf?Jf+=" ":Jf="",Jf+fd.linkInline}return qf.match(/^[^>]+/,!0),fd.linkInline}function Ef(qf,Lf){if(qf.eatSpace())return null;var Wf=qf.next();return Wf==="("||Wf==="["?(Lf.f=Lf.inline=If(Wf==="("?")":"]"),ld.highlightFormatting&&(Lf.formatting="link-string"),Lf.linkHref=!0,mf(Lf)):"error"}var Nf={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function If(qf){return function(Lf,Wf){var Jf=Lf.next();if(Jf===qf){Wf.f=Wf.inline=Tf,ld.highlightFormatting&&(Wf.formatting="link-string");var Kf=mf(Wf);return Wf.linkHref=!1,Kf}return Lf.match(Nf[qf]),Wf.linkHref=!0,mf(Wf)}}function Gf(qf,Lf){return qf.match(/^([^\]\\]|\\.)*\]:/,!1)?(Lf.f=Qf,qf.next(),ld.highlightFormatting&&(Lf.formatting="link"),Lf.linkText=!0,mf(Lf)):qd(qf,Lf,Tf)}function Qf(qf,Lf){if(qf.match("]:",!0)){Lf.f=Lf.inline=Xf,ld.highlightFormatting&&(Lf.formatting="link");var Wf=mf(Lf);return Lf.linkText=!1,Wf}return qf.match(/^([^\]\\]|\\.)+/,!0),fd.linkText}function Xf(qf,Lf){return qf.eatSpace()?null:(qf.match(/^[^\s]+/,!0),qf.peek()===void 0?Lf.linkTitle=!0:qf.match(/^(?:\s+(?:"(?:[^"\\]|\\.)+"|'(?:[^'\\]|\\.)+'|\((?:[^)\\]|\\.)+\)))?/,!0),Lf.f=Lf.inline=Tf,fd.linkHref+" url")}var ph={startState:function(){return{f:_f,prevLine:{stream:null},thisLine:{stream:null},block:_f,htmlState:null,indentation:0,inline:Tf,text:Sf,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(qf){return{f:qf.f,prevLine:qf.prevLine,thisLine:qf.thisLine,block:qf.block,htmlState:qf.htmlState&&nd.copyState(ud,qf.htmlState),indentation:qf.indentation,localMode:qf.localMode,localState:qf.localMode?nd.copyState(qf.localMode,qf.localState):null,inline:qf.inline,text:qf.text,formatting:!1,linkText:qf.linkText,linkTitle:qf.linkTitle,linkHref:qf.linkHref,code:qf.code,em:qf.em,strong:qf.strong,strikethrough:qf.strikethrough,emoji:qf.emoji,header:qf.header,setext:qf.setext,hr:qf.hr,taskList:qf.taskList,list:qf.list,listStack:qf.listStack.slice(0),quote:qf.quote,indentedCode:qf.indentedCode,trailingSpace:qf.trailingSpace,trailingSpaceNewLine:qf.trailingSpaceNewLine,md_inside:qf.md_inside,fencedEndRE:qf.fencedEndRE}},token:function(qf,Lf){if(Lf.formatting=!1,qf!=Lf.thisLine.stream){if(Lf.header=0,Lf.hr=!1,qf.match(/^\s*$/,!0))return Jd(Lf),null;if(Lf.prevLine=Lf.thisLine,Lf.thisLine={stream:qf},Lf.taskList=!1,Lf.trailingSpace=0,Lf.trailingSpaceNewLine=!1,!Lf.localState&&(Lf.f=Lf.block,Lf.f!=Xd)){var Wf=qf.match(/^\s*/,!0)[0].replace(/\t/g,Ud).length;if(Lf.indentation=Wf,Lf.indentationDiff=null,Wf>0)return null}}return Lf.f(qf,Lf)},innerMode:function(qf){return qf.block==Xd?{state:qf.htmlState,mode:ud}:qf.localState?{state:qf.localState,mode:qf.localMode}:{state:qf,mode:ph}},indent:function(qf,Lf,Wf){return qf.block==Xd&&ud.indent?ud.indent(qf.htmlState,Lf,Wf):qf.localState&&qf.localMode.indent?qf.localMode.indent(qf.localState,Lf,Wf):nd.Pass},blankLine:Jd,getType:mf,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return ph},"xml"),nd.defineMIME("text/markdown","markdown"),nd.defineMIME("text/x-markdown","markdown")})})();(function(Ra,qa){(function(nd){nd(requireCodemirror())})(function(nd){var od={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},ld=nd.Pos;nd.defineOption("autoCloseBrackets",!1,function(jd,Fd,Ud){Ud&&Ud!=nd.Init&&(jd.removeKeyMap(dd),jd.state.closeBrackets=null),Fd&&(pd(ud(Fd,"pairs")),jd.state.closeBrackets=Fd,jd.addKeyMap(dd))});function ud(jd,Fd){return Fd=="pairs"&&typeof jd=="string"?jd:typeof jd=="object"&&jd[Fd]!=null?jd[Fd]:od[Fd]}var dd={Backspace:vd,Enter:Ad};function pd(jd){for(var Fd=0;Fd<jd.length;Fd++){var Ud=jd.charAt(Fd),qd="'"+Ud+"'";dd[qd]||(dd[qd]=fd(Ud))}}pd(od.pairs+"`");function fd(jd){return function(Fd){return kd(Fd,jd)}}function md(jd){var Fd=jd.state.closeBrackets;if(!Fd||Fd.override)return Fd;var Ud=jd.getModeAt(jd.getCursor());return Ud.closeBrackets||Fd}function vd(jd){var Fd=md(jd);if(!Fd||jd.getOption("disableInput"))return nd.Pass;for(var Ud=ud(Fd,"pairs"),qd=jd.listSelections(),zd=0;zd<qd.length;zd++){if(!qd[zd].empty())return nd.Pass;var Wd=Ld(jd,qd[zd].head);if(!Wd||Ud.indexOf(Wd)%2!=0)return nd.Pass}for(var zd=qd.length-1;zd>=0;zd--){var Jd=qd[zd].head;jd.replaceRange("",ld(Jd.line,Jd.ch-1),ld(Jd.line,Jd.ch+1),"+delete")}}function Ad(jd){var Fd=md(jd),Ud=Fd&&ud(Fd,"explode");if(!Ud||jd.getOption("disableInput"))return nd.Pass;for(var qd=jd.listSelections(),zd=0;zd<qd.length;zd++){if(!qd[zd].empty())return nd.Pass;var Wd=Ld(jd,qd[zd].head);if(!Wd||Ud.indexOf(Wd)%2!=0)return nd.Pass}jd.operation(function(){var Jd=jd.lineSeparator()||`
`;jd.replaceSelection(Jd+Jd,null),Nd(jd,-1),qd=jd.listSelections();for(var _f=0;_f<qd.length;_f++){var Xd=qd[_f].head.line;jd.indentLine(Xd,null,!0),jd.indentLine(Xd+1,null,!0)}})}function Nd(jd,Fd){for(var Ud=[],qd=jd.listSelections(),zd=0,Wd=0;Wd<qd.length;Wd++){var Jd=qd[Wd];Jd.head==jd.getCursor()&&(zd=Wd);var _f=Jd.head.ch||Fd>0?{line:Jd.head.line,ch:Jd.head.ch+Fd}:{line:Jd.head.line-1};Ud.push({anchor:_f,head:_f})}jd.setSelections(Ud,zd)}function Od(jd){var Fd=nd.cmpPos(jd.anchor,jd.head)>0;return{anchor:new ld(jd.anchor.line,jd.anchor.ch+(Fd?-1:1)),head:new ld(jd.head.line,jd.head.ch+(Fd?1:-1))}}function kd(jd,Fd){var Ud=md(jd);if(!Ud||jd.getOption("disableInput"))return nd.Pass;var qd=ud(Ud,"pairs"),zd=qd.indexOf(Fd);if(zd==-1)return nd.Pass;for(var Wd=ud(Ud,"closeBefore"),Jd=ud(Ud,"triples"),_f=qd.charAt(zd+1)==Fd,Xd=jd.listSelections(),pf=zd%2==0,mf,Sf=0;Sf<Xd.length;Sf++){var Tf=Xd[Sf],Af=Tf.head,Ef,Nf=jd.getRange(Af,ld(Af.line,Af.ch+1));if(pf&&!Tf.empty())Ef="surround";else if((_f||!pf)&&Nf==Fd)_f&&Gd(jd,Af)?Ef="both":Jd.indexOf(Fd)>=0&&jd.getRange(Af,ld(Af.line,Af.ch+3))==Fd+Fd+Fd?Ef="skipThree":Ef="skip";else if(_f&&Af.ch>1&&Jd.indexOf(Fd)>=0&&jd.getRange(ld(Af.line,Af.ch-2),Af)==Fd+Fd){if(Af.ch>2&&/\bstring/.test(jd.getTokenTypeAt(ld(Af.line,Af.ch-2))))return nd.Pass;Ef="addFour"}else if(_f){var If=Af.ch==0?" ":jd.getRange(ld(Af.line,Af.ch-1),Af);if(!nd.isWordChar(Nf)&&If!=Fd&&!nd.isWordChar(If))Ef="both";else return nd.Pass}else if(pf&&(Nf.length===0||/\s/.test(Nf)||Wd.indexOf(Nf)>-1))Ef="both";else return nd.Pass;if(!mf)mf=Ef;else if(mf!=Ef)return nd.Pass}var Gf=zd%2?qd.charAt(zd-1):Fd,Qf=zd%2?Fd:qd.charAt(zd+1);jd.operation(function(){if(mf=="skip")Nd(jd,1);else if(mf=="skipThree")Nd(jd,3);else if(mf=="surround"){for(var Xf=jd.getSelections(),ph=0;ph<Xf.length;ph++)Xf[ph]=Gf+Xf[ph]+Qf;jd.replaceSelections(Xf,"around"),Xf=jd.listSelections().slice();for(var ph=0;ph<Xf.length;ph++)Xf[ph]=Od(Xf[ph]);jd.setSelections(Xf)}else mf=="both"?(jd.replaceSelection(Gf+Qf,null),jd.triggerElectric(Gf+Qf),Nd(jd,-1)):mf=="addFour"&&(jd.replaceSelection(Gf+Gf+Gf+Gf,"before"),Nd(jd,1))})}function Ld(jd,Fd){var Ud=jd.getRange(ld(Fd.line,Fd.ch-1),ld(Fd.line,Fd.ch+1));return Ud.length==2?Ud:null}function Gd(jd,Fd){var Ud=jd.getTokenAt(ld(Fd.line,Fd.ch+1));return/\bstring/.test(Ud.type)&&Ud.start==Fd.ch&&(Fd.ch==0||!/\bstring/.test(jd.getTokenTypeAt(Fd)))}})})();(function(Ra,qa){(function(nd){nd(requireCodemirror())})(function(nd){var od=/MSIE \d/.test(navigator.userAgent)&&(document.documentMode==null||document.documentMode<8),ld=nd.Pos,ud={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function dd(Nd){return Nd&&Nd.bracketRegex||/[(){}[\]]/}function pd(Nd,Od,kd){var Ld=Nd.getLineHandle(Od.line),Gd=Od.ch-1,jd=kd&&kd.afterCursor;jd==null&&(jd=/(^| )cm-fat-cursor($| )/.test(Nd.getWrapperElement().className));var Fd=dd(kd),Ud=!jd&&Gd>=0&&Fd.test(Ld.text.charAt(Gd))&&ud[Ld.text.charAt(Gd)]||Fd.test(Ld.text.charAt(Gd+1))&&ud[Ld.text.charAt(++Gd)];if(!Ud)return null;var qd=Ud.charAt(1)==">"?1:-1;if(kd&&kd.strict&&qd>0!=(Gd==Od.ch))return null;var zd=Nd.getTokenTypeAt(ld(Od.line,Gd+1)),Wd=fd(Nd,ld(Od.line,Gd+(qd>0?1:0)),qd,zd,kd);return Wd==null?null:{from:ld(Od.line,Gd),to:Wd&&Wd.pos,match:Wd&&Wd.ch==Ud.charAt(0),forward:qd>0}}function fd(Nd,Od,kd,Ld,Gd){for(var jd=Gd&&Gd.maxScanLineLength||1e4,Fd=Gd&&Gd.maxScanLines||1e3,Ud=[],qd=dd(Gd),zd=kd>0?Math.min(Od.line+Fd,Nd.lastLine()+1):Math.max(Nd.firstLine()-1,Od.line-Fd),Wd=Od.line;Wd!=zd;Wd+=kd){var Jd=Nd.getLine(Wd);if(Jd){var _f=kd>0?0:Jd.length-1,Xd=kd>0?Jd.length:-1;if(!(Jd.length>jd))for(Wd==Od.line&&(_f=Od.ch-(kd<0?1:0));_f!=Xd;_f+=kd){var pf=Jd.charAt(_f);if(qd.test(pf)&&(Ld===void 0||(Nd.getTokenTypeAt(ld(Wd,_f+1))||"")==(Ld||""))){var mf=ud[pf];if(mf&&mf.charAt(1)==">"==kd>0)Ud.push(pf);else if(Ud.length)Ud.pop();else return{pos:ld(Wd,_f),ch:pf}}}}}return Wd-kd==(kd>0?Nd.lastLine():Nd.firstLine())?!1:null}function md(Nd,Od,kd){for(var Ld=Nd.state.matchBrackets.maxHighlightLineLength||1e3,Gd=kd&&kd.highlightNonMatching,jd=[],Fd=Nd.listSelections(),Ud=0;Ud<Fd.length;Ud++){var qd=Fd[Ud].empty()&&pd(Nd,Fd[Ud].head,kd);if(qd&&(qd.match||Gd!==!1)&&Nd.getLine(qd.from.line).length<=Ld){var zd=qd.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket";jd.push(Nd.markText(qd.from,ld(qd.from.line,qd.from.ch+1),{className:zd})),qd.to&&Nd.getLine(qd.to.line).length<=Ld&&jd.push(Nd.markText(qd.to,ld(qd.to.line,qd.to.ch+1),{className:zd}))}}if(jd.length){od&&Nd.state.focused&&Nd.focus();var Wd=function(){Nd.operation(function(){for(var Jd=0;Jd<jd.length;Jd++)jd[Jd].clear()})};if(Od)setTimeout(Wd,800);else return Wd}}function vd(Nd){Nd.operation(function(){Nd.state.matchBrackets.currentlyHighlighted&&(Nd.state.matchBrackets.currentlyHighlighted(),Nd.state.matchBrackets.currentlyHighlighted=null),Nd.state.matchBrackets.currentlyHighlighted=md(Nd,!1,Nd.state.matchBrackets)})}function Ad(Nd){Nd.state.matchBrackets&&Nd.state.matchBrackets.currentlyHighlighted&&(Nd.state.matchBrackets.currentlyHighlighted(),Nd.state.matchBrackets.currentlyHighlighted=null)}nd.defineOption("matchBrackets",!1,function(Nd,Od,kd){kd&&kd!=nd.Init&&(Nd.off("cursorActivity",vd),Nd.off("focus",vd),Nd.off("blur",Ad),Ad(Nd)),Od&&(Nd.state.matchBrackets=typeof Od=="object"?Od:{},Nd.on("cursorActivity",vd),Nd.on("focus",vd),Nd.on("blur",Ad))}),nd.defineExtension("matchBrackets",function(){md(this,!0)}),nd.defineExtension("findMatchingBracket",function(Nd,Od,kd){return(kd||typeof Od=="boolean")&&(kd?(kd.strict=Od,Od=kd):Od=Od?{strict:!0}:null),pd(this,Nd,Od)}),nd.defineExtension("scanForBracket",function(Nd,Od,kd,Ld){return fd(this,Nd,Od,kd,Ld)})})})();(function(Ra,qa){(function(nd){nd(requireCodemirror())})(function(nd){var od="CodeMirror-activeline",ld="CodeMirror-activeline-background",ud="CodeMirror-activeline-gutter";nd.defineOption("styleActiveLine",!1,function(vd,Ad,Nd){var Od=Nd==nd.Init?!1:Nd;Ad!=Od&&(Od&&(vd.off("beforeSelectionChange",md),dd(vd),delete vd.state.activeLines),Ad&&(vd.state.activeLines=[],fd(vd,vd.listSelections()),vd.on("beforeSelectionChange",md)))});function dd(vd){for(var Ad=0;Ad<vd.state.activeLines.length;Ad++)vd.removeLineClass(vd.state.activeLines[Ad],"wrap",od),vd.removeLineClass(vd.state.activeLines[Ad],"background",ld),vd.removeLineClass(vd.state.activeLines[Ad],"gutter",ud)}function pd(vd,Ad){if(vd.length!=Ad.length)return!1;for(var Nd=0;Nd<vd.length;Nd++)if(vd[Nd]!=Ad[Nd])return!1;return!0}function fd(vd,Ad){for(var Nd=[],Od=0;Od<Ad.length;Od++){var kd=Ad[Od],Ld=vd.getOption("styleActiveLine");if(!(typeof Ld=="object"&&Ld.nonEmpty?kd.anchor.line!=kd.head.line:!kd.empty())){var Gd=vd.getLineHandleVisualStart(kd.head.line);Nd[Nd.length-1]!=Gd&&Nd.push(Gd)}}pd(vd.state.activeLines,Nd)||vd.operation(function(){dd(vd);for(var jd=0;jd<Nd.length;jd++)vd.addLineClass(Nd[jd],"wrap",od),vd.addLineClass(Nd[jd],"background",ld),vd.addLineClass(Nd[jd],"gutter",ud);vd.state.activeLines=Nd})}function md(vd,Ad){fd(vd,Ad.ranges)}})})();(function(Ra,qa){(function(nd){nd(requireCodemirror())})(function(nd){var od="CodeMirror-hint",ld="CodeMirror-hint-active";nd.showHint=function(jd,Fd,Ud){if(!Fd)return jd.showHint(Ud);Ud&&Ud.async&&(Fd.async=!0);var qd={hint:Fd};if(Ud)for(var zd in Ud)qd[zd]=Ud[zd];return jd.showHint(qd)},nd.defineExtension("showHint",function(jd){jd=fd(this,this.getCursor("start"),jd);var Fd=this.listSelections();if(!(Fd.length>1)){if(this.somethingSelected()){if(!jd.hint.supportsSelection)return;for(var Ud=0;Ud<Fd.length;Ud++)if(Fd[Ud].head.line!=Fd[Ud].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var qd=this.state.completionActive=new ud(this,jd);qd.options.hint&&(nd.signal(this,"startCompletion",this),qd.update(!0))}}),nd.defineExtension("closeHint",function(){this.state.completionActive&&this.state.completionActive.close()});function ud(jd,Fd){if(this.cm=jd,this.options=Fd,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor("start"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length,this.options.updateOnCursorActivity){var Ud=this;jd.on("cursorActivity",this.activityFunc=function(){Ud.cursorActivity()})}}var dd=window.requestAnimationFrame||function(jd){return setTimeout(jd,1e3/60)},pd=window.cancelAnimationFrame||clearTimeout;ud.prototype={close:function(){this.active()&&(this.cm.state.completionActive=null,this.tick=null,this.options.updateOnCursorActivity&&this.cm.off("cursorActivity",this.activityFunc),this.widget&&this.data&&nd.signal(this.data,"close"),this.widget&&this.widget.close(),nd.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(jd,Fd){var Ud=jd.list[Fd],qd=this;this.cm.operation(function(){Ud.hint?Ud.hint(qd.cm,jd,Ud):qd.cm.replaceRange(md(Ud),Ud.from||jd.from,Ud.to||jd.to,"complete"),nd.signal(jd,"pick",Ud),qd.cm.scrollIntoView()}),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&(pd(this.debounce),this.debounce=0);var jd=this.startPos;this.data&&(jd=this.data.from);var Fd=this.cm.getCursor(),Ud=this.cm.getLine(Fd.line);if(Fd.line!=this.startPos.line||Ud.length-Fd.ch!=this.startLen-this.startPos.ch||Fd.ch<jd.ch||this.cm.somethingSelected()||!Fd.ch||this.options.closeCharacters.test(Ud.charAt(Fd.ch-1)))this.close();else{var qd=this;this.debounce=dd(function(){qd.update()}),this.widget&&this.widget.disable()}},update:function(jd){if(this.tick!=null){var Fd=this,Ud=++this.tick;kd(this.options.hint,this.cm,this.options,function(qd){Fd.tick==Ud&&Fd.finishUpdate(qd,jd)})}},finishUpdate:function(jd,Fd){this.data&&nd.signal(this.data,"update");var Ud=this.widget&&this.widget.picked||Fd&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=jd,jd&&jd.list.length&&(Ud&&jd.list.length==1?this.pick(jd,0):(this.widget=new Nd(this,jd),nd.signal(jd,"shown")))}};function fd(jd,Fd,Ud){var qd=jd.options.hintOptions,zd={};for(var Wd in Gd)zd[Wd]=Gd[Wd];if(qd)for(var Wd in qd)qd[Wd]!==void 0&&(zd[Wd]=qd[Wd]);if(Ud)for(var Wd in Ud)Ud[Wd]!==void 0&&(zd[Wd]=Ud[Wd]);return zd.hint.resolve&&(zd.hint=zd.hint.resolve(jd,Fd)),zd}function md(jd){return typeof jd=="string"?jd:jd.text}function vd(jd,Fd){var Ud={Up:function(){Fd.moveFocus(-1)},Down:function(){Fd.moveFocus(1)},PageUp:function(){Fd.moveFocus(-Fd.menuSize()+1,!0)},PageDown:function(){Fd.moveFocus(Fd.menuSize()-1,!0)},Home:function(){Fd.setFocus(0)},End:function(){Fd.setFocus(Fd.length-1)},Enter:Fd.pick,Tab:Fd.pick,Esc:Fd.close},qd=/Mac/.test(navigator.platform);qd&&(Ud["Ctrl-P"]=function(){Fd.moveFocus(-1)},Ud["Ctrl-N"]=function(){Fd.moveFocus(1)});var zd=jd.options.customKeys,Wd=zd?{}:Ud;function Jd(pf,mf){var Sf;typeof mf!="string"?Sf=function(Tf){return mf(Tf,Fd)}:Ud.hasOwnProperty(mf)?Sf=Ud[mf]:Sf=mf,Wd[pf]=Sf}if(zd)for(var _f in zd)zd.hasOwnProperty(_f)&&Jd(_f,zd[_f]);var Xd=jd.options.extraKeys;if(Xd)for(var _f in Xd)Xd.hasOwnProperty(_f)&&Jd(_f,Xd[_f]);return Wd}function Ad(jd,Fd){for(;Fd&&Fd!=jd;){if(Fd.nodeName.toUpperCase()==="LI"&&Fd.parentNode==jd)return Fd;Fd=Fd.parentNode}}function Nd(jd,Fd){this.id="cm-complete-"+Math.floor(Math.random(1e6)),this.completion=jd,this.data=Fd,this.picked=!1;var Ud=this,qd=jd.cm,zd=qd.getInputField().ownerDocument,Wd=zd.defaultView||zd.parentWindow,Jd=this.hints=zd.createElement("ul");Jd.setAttribute("role","listbox"),Jd.setAttribute("aria-expanded","true"),Jd.id=this.id;var _f=jd.cm.options.theme;Jd.className="CodeMirror-hints "+_f,this.selectedHint=Fd.selectedHint||0;for(var Xd=Fd.list,pf=0;pf<Xd.length;++pf){var mf=Jd.appendChild(zd.createElement("li")),Sf=Xd[pf],Tf=od+(pf!=this.selectedHint?"":" "+ld);Sf.className!=null&&(Tf=Sf.className+" "+Tf),mf.className=Tf,pf==this.selectedHint&&mf.setAttribute("aria-selected","true"),mf.id=this.id+"-"+pf,mf.setAttribute("role","option"),Sf.render?Sf.render(mf,Fd,Sf):mf.appendChild(zd.createTextNode(Sf.displayText||md(Sf))),mf.hintId=pf}var Af=jd.options.container||zd.body,Ef=qd.cursorCoords(jd.options.alignWithWord?Fd.from:null),Nf=Ef.left,If=Ef.bottom,Gf=!0,Qf=0,Xf=0;if(Af!==zd.body){var ph=["absolute","relative","fixed"].indexOf(Wd.getComputedStyle(Af).position)!==-1,qf=ph?Af:Af.offsetParent,Lf=qf.getBoundingClientRect(),Wf=zd.body.getBoundingClientRect();Qf=Lf.left-Wf.left-qf.scrollLeft,Xf=Lf.top-Wf.top-qf.scrollTop}Jd.style.left=Nf-Qf+"px",Jd.style.top=If-Xf+"px";var Jf=Wd.innerWidth||Math.max(zd.body.offsetWidth,zd.documentElement.offsetWidth),Kf=Wd.innerHeight||Math.max(zd.body.offsetHeight,zd.documentElement.offsetHeight);Af.appendChild(Jd),qd.getInputField().setAttribute("aria-autocomplete","list"),qd.getInputField().setAttribute("aria-owns",this.id),qd.getInputField().setAttribute("aria-activedescendant",this.id+"-"+this.selectedHint);var Cf=jd.options.moveOnOverlap?Jd.getBoundingClientRect():new DOMRect,xf=jd.options.paddingForScrollbar?Jd.scrollHeight>Jd.clientHeight+1:!1,Yf;setTimeout(function(){Yf=qd.getScrollInfo()});var dh=Cf.bottom-Kf;if(dh>0){var Rh=Cf.bottom-Cf.top,th=Cf.top-(Ef.bottom-Ef.top)-2;Kf-Cf.top<th?(Rh>th&&(Jd.style.height=(Rh=th)+"px"),Jd.style.top=(If=Ef.top-Rh)+Xf+"px",Gf=!1):Jd.style.height=Kf-Cf.top-2+"px"}var Bf=Cf.right-Jf;if(xf&&(Bf+=qd.display.nativeBarWidth),Bf>0&&(Cf.right-Cf.left>Jf&&(Jd.style.width=Jf-5+"px",Bf-=Cf.right-Cf.left-Jf),Jd.style.left=(Nf=Math.max(Ef.left-Bf-Qf,0))+"px"),xf)for(var Sh=Jd.firstChild;Sh;Sh=Sh.nextSibling)Sh.style.paddingRight=qd.display.nativeBarWidth+"px";if(qd.addKeyMap(this.keyMap=vd(jd,{moveFocus:function(Pf,Uf){Ud.changeActive(Ud.selectedHint+Pf,Uf)},setFocus:function(Pf){Ud.changeActive(Pf)},menuSize:function(){return Ud.screenAmount()},length:Xd.length,close:function(){jd.close()},pick:function(){Ud.pick()},data:Fd})),jd.options.closeOnUnfocus){var Fh;qd.on("blur",this.onBlur=function(){Fh=setTimeout(function(){jd.close()},100)}),qd.on("focus",this.onFocus=function(){clearTimeout(Fh)})}qd.on("scroll",this.onScroll=function(){var Pf=qd.getScrollInfo(),Uf=qd.getWrapperElement().getBoundingClientRect();Yf||(Yf=qd.getScrollInfo());var Zf=If+Yf.top-Pf.top,mh=Zf-(Wd.pageYOffset||(zd.documentElement||zd.body).scrollTop);if(Gf||(mh+=Jd.offsetHeight),mh<=Uf.top||mh>=Uf.bottom)return jd.close();Jd.style.top=Zf+"px",Jd.style.left=Nf+Yf.left-Pf.left+"px"}),nd.on(Jd,"dblclick",function(Pf){var Uf=Ad(Jd,Pf.target||Pf.srcElement);Uf&&Uf.hintId!=null&&(Ud.changeActive(Uf.hintId),Ud.pick())}),nd.on(Jd,"click",function(Pf){var Uf=Ad(Jd,Pf.target||Pf.srcElement);Uf&&Uf.hintId!=null&&(Ud.changeActive(Uf.hintId),jd.options.completeOnSingleClick&&Ud.pick())}),nd.on(Jd,"mousedown",function(){setTimeout(function(){qd.focus()},20)});var uh=this.getSelectedHintRange();return(uh.from!==0||uh.to!==0)&&this.scrollToActive(),nd.signal(Fd,"select",Xd[this.selectedHint],Jd.childNodes[this.selectedHint]),!0}Nd.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode&&this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var jd=this.completion.cm.getInputField();jd.removeAttribute("aria-activedescendant"),jd.removeAttribute("aria-owns");var Fd=this.completion.cm;this.completion.options.closeOnUnfocus&&(Fd.off("blur",this.onBlur),Fd.off("focus",this.onFocus)),Fd.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var jd=this;this.keyMap={Enter:function(){jd.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(jd,Fd){if(jd>=this.data.list.length?jd=Fd?this.data.list.length-1:0:jd<0&&(jd=Fd?0:this.data.list.length-1),this.selectedHint!=jd){var Ud=this.hints.childNodes[this.selectedHint];Ud&&(Ud.className=Ud.className.replace(" "+ld,""),Ud.removeAttribute("aria-selected")),Ud=this.hints.childNodes[this.selectedHint=jd],Ud.className+=" "+ld,Ud.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",Ud.id),this.scrollToActive(),nd.signal(this.data,"select",this.data.list[this.selectedHint],Ud)}},scrollToActive:function(){var jd=this.getSelectedHintRange(),Fd=this.hints.childNodes[jd.from],Ud=this.hints.childNodes[jd.to],qd=this.hints.firstChild;Fd.offsetTop<this.hints.scrollTop?this.hints.scrollTop=Fd.offsetTop-qd.offsetTop:Ud.offsetTop+Ud.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=Ud.offsetTop+Ud.offsetHeight-this.hints.clientHeight+qd.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var jd=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-jd),to:Math.min(this.data.list.length-1,this.selectedHint+jd)}}};function Od(jd,Fd){if(!jd.somethingSelected())return Fd;for(var Ud=[],qd=0;qd<Fd.length;qd++)Fd[qd].supportsSelection&&Ud.push(Fd[qd]);return Ud}function kd(jd,Fd,Ud,qd){if(jd.async)jd(Fd,qd,Ud);else{var zd=jd(Fd,Ud);zd&&zd.then?zd.then(qd):qd(zd)}}function Ld(jd,Fd){var Ud=jd.getHelpers(Fd,"hint"),qd;if(Ud.length){var zd=function(Wd,Jd,_f){var Xd=Od(Wd,Ud);function pf(mf){if(mf==Xd.length)return Jd(null);kd(Xd[mf],Wd,_f,function(Sf){Sf&&Sf.list.length>0?Jd(Sf):pf(mf+1)})}pf(0)};return zd.async=!0,zd.supportsSelection=!0,zd}else return(qd=jd.getHelper(jd.getCursor(),"hintWords"))?function(Wd){return nd.hint.fromList(Wd,{words:qd})}:nd.hint.anyword?function(Wd,Jd){return nd.hint.anyword(Wd,Jd)}:function(){}}nd.registerHelper("hint","auto",{resolve:Ld}),nd.registerHelper("hint","fromList",function(jd,Fd){var Ud=jd.getCursor(),qd=jd.getTokenAt(Ud),zd,Wd=nd.Pos(Ud.line,qd.start),Jd=Ud;qd.start<Ud.ch&&/\w/.test(qd.string.charAt(Ud.ch-qd.start-1))?zd=qd.string.substr(0,Ud.ch-qd.start):(zd="",Wd=Ud);for(var _f=[],Xd=0;Xd<Fd.words.length;Xd++){var pf=Fd.words[Xd];pf.slice(0,zd.length)==zd&&_f.push(pf)}if(_f.length)return{list:_f,from:Wd,to:Jd}}),nd.commands.autocomplete=nd.showHint;var Gd={hint:nd.hint.auto,completeSingle:!0,alignWithWord:!0,closeCharacters:/[\s()\[\]{};:>,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};nd.defineOption("hintOptions",null)})})();(function(Ra,qa){(function(nd){nd(requireCodemirror(),cssExports)})(function(nd){var od={active:1,after:1,before:1,checked:1,default:1,disabled:1,empty:1,enabled:1,"first-child":1,"first-letter":1,"first-line":1,"first-of-type":1,focus:1,hover:1,"in-range":1,indeterminate:1,invalid:1,lang:1,"last-child":1,"last-of-type":1,link:1,not:1,"nth-child":1,"nth-last-child":1,"nth-last-of-type":1,"nth-of-type":1,"only-of-type":1,"only-child":1,optional:1,"out-of-range":1,placeholder:1,"read-only":1,"read-write":1,required:1,root:1,selection:1,target:1,valid:1,visited:1};nd.registerHelper("hint","css",function(ld){var ud=ld.getCursor(),dd=ld.getTokenAt(ud),pd=nd.innerMode(ld.getMode(),dd.state);if(pd.mode.name!="css")return;if(dd.type=="keyword"&&"!important".indexOf(dd.string)==0)return{list:["!important"],from:nd.Pos(ud.line,dd.start),to:nd.Pos(ud.line,dd.end)};var fd=dd.start,md=ud.ch,vd=dd.string.slice(0,md-fd);/[^\w$_-]/.test(vd)&&(vd="",fd=md=ud.ch);var Ad=nd.resolveMode("text/css"),Nd=[];function Od(Ld){for(var Gd in Ld)(!vd||Gd.lastIndexOf(vd,0)==0)&&Nd.push(Gd)}var kd=pd.state.state;if(kd=="pseudo"||dd.type=="variable-3"?Od(od):kd=="block"||kd=="maybeprop"?Od(Ad.propertyKeywords):kd=="prop"||kd=="parens"||kd=="at"||kd=="params"?(Od(Ad.valueKeywords),Od(Ad.colorKeywords)):(kd=="media"||kd=="media_parens")&&(Od(Ad.mediaTypes),Od(Ad.mediaFeatures)),Nd.length)return{list:Nd,from:nd.Pos(ud.line,fd),to:nd.Pos(ud.line,md)}})})})();const app=createApp(_sfc_main);app.use(createPinia());app.mount("#app");export{withPath as $,rgba$1 as A,defaultConfig_default as B,cleanAndMerge as C,getConfig$2 as D,random as E,setupGraphViewbox2 as F,selectSvgElement as G,version$2 as H,getThemeVariables3 as I,JSON_SCHEMA as J,line$1 as K,hasKatex as L,calculateMathMLDimensions as M,renderKatex as N,parseFontSize as O,parseGenericTypes as P,curveBasis as Q,generateId as R,lineBreakRegex as S,__export as T,commonDb_exports as U,setupGraphViewbox as V,isDark as W,lighten as X,darken as Y,ZERO_WIDTH_SPACE as Z,__name as _,assignWithDepth_default as a,hue as a$,halfPi as a0,epsilon as a1,tau as a2,cos as a3,sin as a4,min as a5,abs$1 as a6,pi as a7,sqrt as a8,atan2 as a9,baseRest as aA,isArrayLikeObject as aB,constant$2 as aC,isFunction$2 as aD,isEmpty$1 as aE,computeDimensionOfText as aF,array$1 as aG,commonjsGlobal as aH,getDefaultExportFromCjs as aI,unknownIcon as aJ,registerIconPacks as aK,getIconSVG as aL,isObject$5 as aM,isIterateeCall as aN,keysIn as aO,eq as aP,isArrayLike$1 as aQ,isArray$1 as aR,identity as aS,isIndex$2 as aT,assignValue as aU,define$1 as aV,extend$1 as aW,Rgb as aX,Color as aY,rgbConvert as aZ,nogamma as a_,constant$3 as aa,asin as ab,acos as ac,max$1 as ad,insertCluster as ae,insertNode as af,positionNode as ag,getStylesFromArray as ah,evaluate as ai,createText as aj,getSubGraphTitleMargins as ak,getLineFunctionsWithOffset as al,replaceIconSubstring as am,decodeEntities as an,Utils$1 as ao,Color$1 as ap,global$1 as aq,markers_default as ar,clear2 as as,clear as at,clear$1 as au,updateNodeBounds as av,setNodeElem as aw,insertEdge as ax,positionEdgeLabel as ay,insertEdgeLabel as az,getAccDescription as b,dayjs2 as b0,constant$4 as b1,interpolateNumber as b2,color as b3,interpolateRgb as b4,interpolateString as b5,setToString as b6,overRest as b7,baseFor as b8,baseAssignValue as b9,isPrototype as bA,__vitePreload as bB,baseUnary as ba,merge$3 as bb,isObjectLike$2 as bc,baseGetTag as bd,Symbol$1 as be,arrayLikeKeys as bf,baseKeys as bg,memoize$2 as bh,isArguments$1 as bi,copyObject as bj,getPrototype as bk,cloneArrayBuffer as bl,cloneTypedArray as bm,getTag$2 as bn,nodeUtil as bo,copyArray as bp,isBuffer$1 as bq,cloneBuffer as br,initCloneObject as bs,Stack as bt,MapCache as bu,Uint8Array$1 as bv,isTypedArray$2 as bw,isLength as bx,Set$1 as by,createAssigner as bz,setAccDescription as c,getConfig2 as d,common_default as e,calculateTextHeight as f,getAccTitle as g,calculateTextWidth as h,sanitizeText as i,select as j,configureSvgSize as k,log$1 as l,sanitizeUrl_1 as m,setConfig2 as n,defaultConfig2 as o,setDiagramTitle as p,getDiagramTitle as q,load as r,setAccTitle as s,isValidShape as t,utils_default as u,clear$2 as v,wrapLabel as w,getEdgeId as x,getRegisteredLayoutAlgorithm as y,render$1 as z};