md/assets/index-DdQMH3Ny.js

1155 lines
7.2 MiB
JavaScript
Raw Normal View History

var Lb=Object.defineProperty;var jb=(e,t,y)=>t in e?Lb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:y}):e[t]=y;var Fb=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var k1=(e,t,y)=>jb(e,typeof t!="symbol"?t+"":t,y);import mermaid from"https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs";var Ub=Fb((exports,module)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const $ of document.querySelectorAll('link[rel="modulepreload"]'))n($);new MutationObserver($=>{for(const k of $)if(k.type==="childList")for(const L of k.addedNodes)L.tagName==="LINK"&&L.rel==="modulepreload"&&n(L)}).observe(document,{childList:!0,subtree:!0});function y($){const k={};return $.integrity&&(k.integrity=$.integrity),$.referrerPolicy&&(k.referrerPolicy=$.referrerPolicy),$.crossOrigin==="use-credentials"?k.credentials="include":$.crossOrigin==="anonymous"?k.credentials="omit":k.credentials="same-origin",k}function n($){if($.ep)return;$.ep=!0;const k=y($);fetch($.href,k)}})();const global$1=globalThis||void 0||self;/**
* @vue/shared v3.4.38
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**//*! #__NO_SIDE_EFFECTS__ */function makeMap(e,t){const y=new Set(e.split(","));return n=>y.has(n)}const EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),isModelListener=e=>e.startsWith("onUpdate:"),extend$1=Object.assign,remove=(e,t)=>{const y=e.indexOf(t);y>-1&&e.splice(y,1)},hasOwnProperty$g=Object.prototype.hasOwnProperty,hasOwn$1=(e,t)=>hasOwnProperty$g.call(e,t),isArray$4=Array.isArray,isMap$1=e=>toTypeString(e)==="[object Map]",isSet$1=e=>toTypeString(e)==="[object Set]",isDate$2=e=>toTypeString(e)==="[object Date]",isFunction$5=e=>typeof e=="function",isString$4=e=>typeof e=="string",isSymbol$2=e=>typeof e=="symbol",isObject$5=e=>e!==null&&typeof e=="object",isPromise=e=>(isObject$5(e)||isFunction$5(e))&&isFunction$5(e.then)&&isFunction$5(e.catch),objectToString$2=Object.prototype.toString,toTypeString=e=>objectToString$2.call(e),toRawType=e=>toTypeString(e).slice(8,-1),isPlainObject$3=e=>toTypeString(e)==="[object Object]",isIntegerKey=e=>isString$4(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,isReservedProp=makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cacheStringFunction=e=>{const t=Object.create(null);return y=>t[y]||(t[y]=e(y))},camelizeRE=/-(\w)/g,camelize=cacheStringFunction(e=>e.replace(camelizeRE,(t,y)=>y?y.toUpperCase():"")),hyphenateRE=/\B([A-Z])/g,hyphenate$1=cacheStringFunction(e=>e.replace(hyphenateRE,"-$1").toLowerCase()),capitalize$1=cacheStringFunction(e=>e.charAt(0).toUpperCase()+e.slice(1)),toHandlerKey=cacheStringFunction(e=>e?`on${capitalize$1(e)}`:""),hasChanged=(e,t)=>!Object.is(e,t),invokeArrayFns=(e,...t)=>{for(let y=0;y<e.length;y++)e[y](...t)},def=(e,t,y,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:y})},looseToNumber=e=>{const t=parseFloat(e);return isNaN(t)?e:t},toNumber$3=e=>{const t=isString$4(e)?Number(e):NaN;return isNaN(t)?e:t};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(e){if(isArray$4(e)){const t={};for(let y=0;y<e.length;y++){const n=e[y],$=isString$4(n)?parseStringStyle(n):normalizeStyle(n);if($)for(const k in $)t[k]=$[k]}return t}else if(isString$4(e)||isObject$5(e))return e}const listDelimiterRE=/;(?![^(]*\))/g,propertyDelimiterRE=/:([^]+)/,styleCommentRE=/\/\*[^]*?\*\//g;function parseStringStyle(e){const t={};return e.replace(styleCommentRE,"").split(listDelimiterRE).forEach(y=>{if(y){const n=y.split(propertyDelimiterRE);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function normalizeClass(e){let t="";if(isString$4(e))t=e;else if(isArray$4(e))for(let y=0;y<e.length;y++){const n=normalizeClass(e[y]);n&&(t+=n+" ")}else if(isObject$5(e))for(const y in e)e[y]&&(t+=y+" ");return t.trim()}function normalizeProps(e){if(!e)return null;let{class:t,style:y}=e;return t&&!isString$4(t)&&(e.class=normalizeClass(t)),y&&(e.style=normalizeStyle(y)),e}const specialBooleanAttrs="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",isSpecialBooleanAttr=makeMap(specialBooleanAttrs);function includeBooleanAttr(e){return!!e||e===""}function looseCompareArrays(e,t){if(e.length!==t.length)return!1;let y=!0;for(let n=0;y&&n<e.length;n++)y=looseEqual(e[n],t[n]);return y}function looseEqual(e,t){if(e===t)return!0;let y=isDate$2(e),n=isDate$2(t);if(y||n)return y&&n?e.getTime()===t.getTime():!1;if(y=isSymbol$2(e),n=isSymbol$2(t),y||n)return e===t;if(y=isArray$4(e),n=isArray$4(t),y||n)return y&&n?looseCompareArrays(e,t):!1;if(y=isObject$5(e),n=isObject$5(t),y||n){if(!y||!n)return!1;const $=Object.keys(e).length,k=Object.keys(t).length;if($!==k)return!1;for(const L in e){const j=e.hasOwnProperty(L),V=t.hasOwnProperty(L);if(j&&!V||!j&&V||!looseEqual(e[L],t[L]))return!1}}return String(e)===String(t)}function looseIndexOf(e,t){return e.findIndex(y=>looseEqual(y,t))}const isRef$1=e=>!!(e&&e.__v_is
* @vue/reactivity v3.4.38
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let activeEffectScope;class EffectScope{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=activeEffectScope,!t&&activeEffectScope&&(this.index=(activeEffectScope.scopes||(activeEffectScope.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const y=activeEffectScope;try{return activeEffectScope=this,t()}finally{activeEffectScope=y}}}on(){activeEffectScope=this}off(){activeEffectScope=this.parent}stop(t){if(this._active){let y,n;for(y=0,n=this.effects.length;y<n;y++)this.effects[y].stop();for(y=0,n=this.cleanups.length;y<n;y++)this.cleanups[y]();if(this.scopes)for(y=0,n=this.scopes.length;y<n;y++)this.scopes[y].stop(!0);if(!this.detached&&this.parent&&!t){const $=this.parent.scopes.pop();$&&$!==this&&(this.parent.scopes[this.index]=$,$.index=this.index)}this.parent=void 0,this._active=!1}}}function effectScope(e){return new EffectScope(e)}function recordEffectScope(e,t=activeEffectScope){t&&t.active&&t.effects.push(e)}function getCurrentScope(){return activeEffectScope}function onScopeDispose(e){activeEffectScope&&activeEffectScope.cleanups.push(e)}let activeEffect;class ReactiveEffect{constructor(t,y,n,$){this.fn=t,this.trigger=y,this.scheduler=n,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,recordEffectScope(this,$)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,pauseTracking();for(let t=0;t<this._depsLength;t++){const y=this.deps[t];if(y.computed&&(triggerComputed(y.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),resetTracking()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=shouldTrack,y=activeEffect;try{return shouldTrack=!0,activeEffect=this,this._runnings++,preCleanupEffect(this),this.fn()}finally{postCleanupEffect(this),this._runnings--,activeEffect=y,shouldTrack=t}}stop(){this.active&&(preCleanupEffect(this),postCleanupEffect(this),this.onStop&&this.onStop(),this.active=!1)}}function triggerComputed(e){return e.value}function preCleanupEffect(e){e._trackId++,e._depsLength=0}function postCleanupEffect(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)cleanupDepEffect(e.deps[t],e);e.deps.length=e._depsLength}}function cleanupDepEffect(e,t){const y=e.get(t);y!==void 0&&t._trackId!==y&&(e.delete(t),e.size===0&&e.cleanup())}let shouldTrack=!0,pauseScheduleStack=0;const trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){const e=trackStack.pop();shouldTrack=e===void 0?!0:e}function pauseScheduling(){pauseScheduleStack++}function resetScheduling(){for(pauseScheduleStack--;!pauseScheduleStack&&queueEffectSchedulers.length;)queueEffectSchedulers.shift()()}function trackEffect(e,t,y){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&cleanupDepEffect(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const queueEffectSchedulers=[];function triggerEffects(e,t,y){pauseScheduling();for(const n of e.keys()){let $;n._dirtyLevel<t&&($??($=e.get(n)===n._trackId))&&(n._shouldSchedule||(n._shouldSchedule=n._dirtyLevel===0),n._dirtyLevel=t),n._shouldSchedule&&($??($=e.get(n)===n._trackId))&&(n.trigger(),(!n._runnings||n.allowRecurse)&&n._dirtyLevel!==2&&(n._shouldSchedule=!1,n.scheduler&&queueEffectSchedulers.push(n.scheduler)))}resetScheduling()}const createDep=(e,t)=>{const y=new Map;return y.cleanup=e,y.computed=t,y},targetMap=new WeakMap,ITERATE_KEY=Symbol(""),MAP_KEY_ITERATE_KEY=Symbol("");function track(e,t,y){if(shouldTrack&&activeEffect){let n=targetMap.get(e);n||targetMap.set(e,n=new Map);let $=n.get(y);$||n.set(y,$=createDep(()=>n.delete(y))),trackEffect(activeEffect,$)}}function trigger(e,t,y,n,$,k){const L=targetMap.get(e);if(!L)return;let j=[];if(t==="clear")j=[...L.values()];else if(y==="length"&&isArray$4(e)){const V=Number(n);L.forEach((z,re)=>{(re==="length"||!isSymbol$2(re)&&re>=V)&&j.push(z)})}else switc
* @vue/runtime-core v3.4.38
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const stack=[];let isWarning=!1;function warn$1(e,...t){if(isWarning)return;isWarning=!0,pauseTracking();const y=stack.length?stack[stack.length-1].component:null,n=y&&y.appContext.config.warnHandler,$=getComponentTrace();if(n)callWithErrorHandling(n,y,11,[e+t.map(k=>{var L,j;return(j=(L=k.toString)==null?void 0:L.call(k))!=null?j:JSON.stringify(k)}).join(""),y&&y.proxy,$.map(({vnode:k})=>`at <${formatComponentName(y,k.type)}>`).join(`
`),$]);else{const k=[`[Vue warn]: ${e}`,...t];$.length&&k.push(`
`,...formatTrace($)),console.warn(...k)}resetTracking(),isWarning=!1}function getComponentTrace(){let e=stack[stack.length-1];if(!e)return[];const t=[];for(;e;){const y=t[0];y&&y.vnode===e?y.recurseCount++:t.push({vnode:e,recurseCount:0});const n=e.component&&e.component.parent;e=n&&n.vnode}return t}function formatTrace(e){const t=[];return e.forEach((y,n)=>{t.push(...n===0?[]:[`
`],...formatTraceEntry(y))}),t}function formatTraceEntry({vnode:e,recurseCount:t}){const y=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,$=` at <${formatComponentName(e.component,e.type,n)}`,k=">"+y;return e.props?[$,...formatProps(e.props),k]:[$+k]}function formatProps(e){const t=[],y=Object.keys(e);return y.slice(0,3).forEach(n=>{t.push(...formatProp(n,e[n]))}),y.length>3&&t.push(" ..."),t}function formatProp(e,t,y){return isString$4(t)?(t=JSON.stringify(t),y?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?y?t:[`${e}=${t}`]:isRef(t)?(t=formatProp(e,toRaw(t.value),!0),y?t:[`${e}=Ref<`,t,">"]):isFunction$5(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=toRaw(t),y?t:[`${e}=`,t])}function callWithErrorHandling(e,t,y,n){try{return n?e(...n):e()}catch($){handleError($,t,y)}}function callWithAsyncErrorHandling(e,t,y,n){if(isFunction$5(e)){const $=callWithErrorHandling(e,t,y,n);return $&&isPromise($)&&$.catch(k=>{handleError(k,t,y)}),$}if(isArray$4(e)){const $=[];for(let k=0;k<e.length;k++)$.push(callWithAsyncErrorHandling(e[k],t,y,n));return $}}function handleError(e,t,y,n=!0){const $=t?t.vnode:null;if(t){let k=t.parent;const L=t.proxy,j=`https://vuejs.org/error-reference/#runtime-${y}`;for(;k;){const z=k.ec;if(z){for(let re=0;re<z.length;re++)if(z[re](e,L,j)===!1)return}k=k.parent}const V=t.appContext.config.errorHandler;if(V){pauseTracking(),callWithErrorHandling(V,null,10,[e,L,j]),resetTracking();return}}logError(e,y,$,n)}function logError(e,t,y,n=!0){console.error(e)}let isFlushing=!1,isFlushPending=!1;const queue$2=[];let flushIndex=0;const pendingPostFlushCbs=[];let activePostFlushCbs=null,postFlushIndex=0;const resolvedPromise=Promise.resolve();let currentFlushPromise=null;function nextTick$3(e){const t=currentFlushPromise||resolvedPromise;return e?t.then(this?e.bind(this):e):t}function findInsertionIndex(e){let t=flushIndex+1,y=queue$2.length;for(;t<y;){const n=t+y>>>1,$=queue$2[n],k=getId($);k<e||k===e&&$.pre?t=n+1:y=n}return t}function queueJob(e){(!queue$2.length||!queue$2.includes(e,isFlushing&&e.allowRecurse?flushIndex+1:flushIndex))&&(e.id==null?queue$2.push(e):queue$2.splice(findInsertionIndex(e.id),0,e),queueFlush())}function queueFlush(){!isFlushing&&!isFlushPending&&(isFlushPending=!0,currentFlushPromise=resolvedPromise.then(flushJobs))}function invalidateJob(e){const t=queue$2.indexOf(e);t>flushIndex&&queue$2.splice(t,1)}function queuePostFlushCb(e){isArray$4(e)?pendingPostFlushCbs.push(...e):(!activePostFlushCbs||!activePostFlushCbs.includes(e,e.allowRecurse?postFlushIndex+1:postFlushIndex))&&pendingPostFlushCbs.push(e),queueFlush()}function flushPreFlushCbs(e,t,y=isFlushing?flushIndex+1:0){for(;y<queue$2.length;y++){const n=queue$2[y];if(n&&n.pre){if(e&&n.id!==e.uid)continue;queue$2.splice(y,1),y--,n()}}}function flushPostFlushCbs(e){if(pendingPostFlushCbs.length){const t=[...new Set(pendingPostFlushCbs)].sort((y,n)=>getId(y)-getId(n));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...t);return}for(activePostFlushCbs=t,postFlushIndex=0;postFlushIndex<activePostFlushCbs.length;postFlushIndex++){const y=activePostFlushCbs[postFlushIndex];y.active!==!1&&y()}activePostFlushCbs=null,postFlushIndex=0}}const getId=e=>e.id==null?1/0:e.id,comparator=(e,t)=>{const y=getId(e)-getId(t);if(y===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return y};function flushJobs(e){isFlushPending=!1,isFlushing=!0,queue$2.sort(comparator);try{for(flushIndex=0;flushIndex<queue$2.length;flushIndex++){const t=queue$2[flushIndex];t&&t.active!==!1&&callWithErrorHandling(t,t.i,t.i?15:14)}}finally{flushIndex=0,queue$2.length=0,flushPostFlushCbs(),isFlushing=!1,currentFlushPromise=null,(queue$2.length||pendingPostFlushCbs.length)&&flushJobs()}}let currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(e){const t=currentRenderingInstance;return currentRenderingInstance=e,currentScopeId=e&&e.type.__scopeId||null,t}function pushScopeId(e){currentScopeId=e}function popScopeId(){currentScopeId=null}function withCtx(e,t=currentR
* @vue/runtime-dom v3.4.38
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const 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:(e,t,y)=>{t.insertBefore(e,y||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,y,n)=>{const $=t==="svg"?doc.createElementNS(svgNS,e):t==="mathml"?doc.createElementNS(mathmlNS,e):y?doc.createElement(e,{is:y}):doc.createElement(e);return e==="select"&&n&&n.multiple!=null&&$.setAttribute("multiple",n.multiple),$},createText:e=>doc.createTextNode(e),createComment:e=>doc.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>doc.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,y,n,$,k){const L=y?y.previousSibling:t.lastChild;if($&&($===k||$.nextSibling))for(;t.insertBefore($.cloneNode(!0),y),!($===k||!($=$.nextSibling)););else{templateContainer.innerHTML=n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e;const j=templateContainer.content;if(n==="svg"||n==="mathml"){const V=j.firstChild;for(;V.firstChild;)j.appendChild(V.firstChild);j.removeChild(V)}t.insertBefore(j,y)}return[L?L.nextSibling:t.firstChild,y?y.previousSibling:t.lastChild]}},TRANSITION="transition",ANIMATION="animation",vtcKey=Symbol("_vtc"),Transition=(e,{slots:t})=>h$1(BaseTransition,resolveTransitionProps(e),t);Transition.displayName="Transition";const 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=Transition.props=extend$1({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),callHook=(e,t=[])=>{isArray$4(e)?e.forEach(y=>y(...t)):e&&e(...t)},hasExplicitCallback=e=>e?isArray$4(e)?e.some(t=>t.length>1):e.length>1:!1;function resolveTransitionProps(e){const t={};for(const ie in e)ie in DOMTransitionPropsValidators||(t[ie]=e[ie]);if(e.css===!1)return t;const{name:y="v",type:n,duration:$,enterFromClass:k=`${y}-enter-from`,enterActiveClass:L=`${y}-enter-active`,enterToClass:j=`${y}-enter-to`,appearFromClass:V=k,appearActiveClass:z=L,appearToClass:re=j,leaveFromClass:oe=`${y}-leave-from`,leaveActiveClass:ue=`${y}-leave-active`,leaveToClass:de=`${y}-leave-to`}=e,_e=normalizeDuration($),Ne=_e&&_e[0],Ue=_e&&_e[1],{onBeforeEnter:$e,onEnter:Ve,onEnterCancelled:Fe,onLeave:qe,onLeaveCancelled:er,onBeforeAppear:ir=$e,onAppear:dr=Ve,onAppearCancelled:cr=Fe}=t,nr=(ie,pe,Ce)=>{removeTransitionClass(ie,pe?re:j),removeTransitionClass(ie,pe?z:L),Ce&&Ce()},lr=(ie,pe)=>{ie._isLeaving=!1,removeTransitionClass(ie,oe),removeTransitionClass(ie,de),removeTransitionClass(ie,ue),pe&&pe()},Et=ie=>(pe,Ce)=>{const Ie=ie?dr:Ve,jt=()=>nr(pe,ie,Ce);callHook(Ie,[pe,jt]),nextFrame(()=>{removeTransitionClass(pe,ie?V:k),addTransitionClass(pe,ie?re:j),hasExplicitCallback(Ie)||whenTransitionEnds(pe,n,Ne,jt)})};return extend$1(t,{onBeforeEnter(ie){callHook($e,[ie]),addTransitionClass(ie,k),addTransitionClass(ie,L)},onBeforeAppear(ie){callHook(ir,[ie]),addTransitionClass(ie,V),addTransitionClass(ie,z)},onEnter:Et(!1),onAppear:Et(!0),onLeave(ie,pe){ie._isLeaving=!0;const Ce=()=>lr(ie,pe);addTransitionClass(ie,oe),addTransitionClass(ie,ue),forceReflow(),nextFrame(()=>{ie._isLeaving&&(removeTransitionClass(ie,oe),addTransitionClass(ie,de),hasExplicitCallback(qe)||whenTransitionEnds(ie,n,Ue,Ce))}),callHook(qe,[ie,Ce])},onEnterCancelled(ie){nr(ie,!1),callHook(Fe,[ie])},onAppearCancelled(ie){nr(ie,!0),callHook(cr,[ie])},onLeaveCancelled(ie){lr(ie),callHook(er,[ie])}})}function normalizeDuration(e){if(e==null)return null;if(isObject$5(e))return[NumberOf(e.enter),NumberOf(e.leave)];{const t=NumberOf(e);return[t,t]}}function NumberOf(e){return toNumber$3(e)}function addTransitionClass(e,t){t.split(/\s+/).forEach(y=>y&&e.classList.add(y)),(e[v
`).map($=>{const k=$.match(/^\s+/);if(k===null)return $;const[L]=k;return L.length>=n.length?$.slice(n.length):$}).join(`
`)}let Tokenizer$1=class{constructor(t){this.options=t||defaults$2}space(t){const y=this.rules.block.newline.exec(t);if(y&&y[0].length>0)return{type:"space",raw:y[0]}}code(t){const y=this.rules.block.code.exec(t);if(y){const n=y[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:y[0],codeBlockStyle:"indented",text:this.options.pedantic?n:rtrim(n,`
`)}}}fences(t){const y=this.rules.block.fences.exec(t);if(y){const n=y[0],$=indentCodeCompensation(n,y[3]||"");return{type:"code",raw:n,lang:y[2]?y[2].trim().replace(this.rules.inline._escapes,"$1"):y[2],text:$}}}heading(t){const y=this.rules.block.heading.exec(t);if(y){let n=y[2].trim();if(/#$/.test(n)){const $=rtrim(n,"#");(this.options.pedantic||!$||/ $/.test($))&&(n=$.trim())}return{type:"heading",raw:y[0],depth:y[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(t){const y=this.rules.block.hr.exec(t);if(y)return{type:"hr",raw:y[0]}}blockquote(t){const y=this.rules.block.blockquote.exec(t);if(y){const n=y[0].replace(/^ *>[ \t]?/gm,""),$=this.lexer.state.top;this.lexer.state.top=!0;const k=this.lexer.blockTokens(n);return this.lexer.state.top=$,{type:"blockquote",raw:y[0],tokens:k,text:n}}}list(t){let y=this.rules.block.list.exec(t);if(y){let n,$,k,L,j,V,z,re,oe,ue,de,_e,Ne=y[1].trim();const Ue=Ne.length>1,$e={type:"list",raw:"",ordered:Ue,start:Ue?+Ne.slice(0,-1):"",loose:!1,items:[]};Ne=Ue?`\\d{1,9}\\${Ne.slice(-1)}`:`\\${Ne}`,this.options.pedantic&&(Ne=Ue?Ne:"[*+-]");const Ve=new RegExp(`^( {0,3}${Ne})((?:[ ][^\\n]*)?(?:\\n|$))`);for(;t&&(_e=!1,!(!(y=Ve.exec(t))||this.rules.block.hr.test(t)));){if(n=y[0],t=t.substring(n.length),re=y[2].split(`
`,1)[0].replace(/^\t+/,qe=>" ".repeat(3*qe.length)),oe=t.split(`
`,1)[0],this.options.pedantic?(L=2,de=re.trimLeft()):(L=y[2].search(/[^ ]/),L=L>4?1:L,de=re.slice(L),L+=y[1].length),V=!1,!re&&/^ *$/.test(oe)&&(n+=oe+`
`,t=t.substring(oe.length+1),_e=!0),!_e){const qe=new RegExp(`^ {0,${Math.min(3,L-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),er=new RegExp(`^ {0,${Math.min(3,L-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),ir=new RegExp(`^ {0,${Math.min(3,L-1)}}(?:\`\`\`|~~~)`),dr=new RegExp(`^ {0,${Math.min(3,L-1)}}#`);for(;t&&(ue=t.split(`
`,1)[0],oe=ue,this.options.pedantic&&(oe=oe.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(ir.test(oe)||dr.test(oe)||qe.test(oe)||er.test(t)));){if(oe.search(/[^ ]/)>=L||!oe.trim())de+=`
`+oe.slice(L);else{if(V||re.search(/[^ ]/)>=4||ir.test(re)||dr.test(re)||er.test(re))break;de+=`
`+oe}!V&&!oe.trim()&&(V=!0),n+=ue+`
`,t=t.substring(ue.length+1),re=oe.slice(L)}}$e.loose||(z?$e.loose=!0:/\n *\n *$/.test(n)&&(z=!0)),this.options.gfm&&($=/^\[[ xX]\] /.exec(de),$&&(k=$[0]!=="[ ] ",de=de.replace(/^\[[ xX]\] +/,""))),$e.items.push({type:"list_item",raw:n,task:!!$,checked:k,loose:!1,text:de}),$e.raw+=n}$e.items[$e.items.length-1].raw=n.trimRight(),$e.items[$e.items.length-1].text=de.trimRight(),$e.raw=$e.raw.trimRight();const Fe=$e.items.length;for(j=0;j<Fe;j++)if(this.lexer.state.top=!1,$e.items[j].tokens=this.lexer.blockTokens($e.items[j].text,[]),!$e.loose){const qe=$e.items[j].tokens.filter(ir=>ir.type==="space"),er=qe.length>0&&qe.some(ir=>/\n.*\n/.test(ir.raw));$e.loose=er}if($e.loose)for(j=0;j<Fe;j++)$e.items[j].loose=!0;return $e}}html(t){const y=this.rules.block.html.exec(t);if(y){const n={type:"html",raw:y[0],pre:!this.options.sanitizer&&(y[1]==="pre"||y[1]==="script"||y[1]==="style"),text:y[0]};if(this.options.sanitize){const $=this.options.sanitizer?this.options.sanitizer(y[0]):escape$4(y[0]);n.type="paragraph",n.text=$,n.tokens=this.lexer.inline($)}return n}}def(t){const y=this.rules.block.def.exec(t);if(y){const n=y[1].toLowerCase().replace(/\s+/g," "),$=y[2]?y[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline._escapes,"$1"):"",k=y[3]?y[3].substring(1,y[3].length-1).replace(this.rules.inline._escapes,"$1"):y[3];return{type:"def",tag:n,raw:y[0],href:$,title:k}}}table(t){const y=this.rules.block.table.exec(t);if(y){const n={type:"table",header:splitCells(y[1]).map($=>({text:$})),align:y[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:y[3]&&y[3].trim()?y[3].replace(/\n[ \t]*$/,"").split(`
`):[]};if(n.header.length===n.align.length){n.raw=y[0];let $=n.align.length,k,L,j,V;for(k=0;k<$;k++)/^ *-+: *$/.test(n.align[k])?n.align[k]="right":/^ *:-+: *$/.test(n.align[k])?n.align[k]="center":/^ *:-+ *$/.test(n.align[k])?n.align[k]="left":n.align[k]=null;for($=n.rows.length,k=0;k<$;k++)n.rows[k]=splitCells(n.rows[k],n.header.length).map(z=>({text:z}));for($=n.header.length,L=0;L<$;L++)n.header[L].tokens=this.lexer.inline(n.header[L].text);for($=n.rows.length,L=0;L<$;L++)for(V=n.rows[L],j=0;j<V.length;j++)V[j].tokens=this.lexer.inline(V[j].text);return n}}}lheading(t){const y=this.rules.block.lheading.exec(t);if(y)return{type:"heading",raw:y[0],depth:y[2].charAt(0)==="="?1:2,text:y[1],tokens:this.lexer.inline(y[1])}}paragraph(t){const y=this.rules.block.paragraph.exec(t);if(y){const n=y[1].charAt(y[1].length-1)===`
`?y[1].slice(0,-1):y[1];return{type:"paragraph",raw:y[0],text:n,tokens:this.lexer.inline(n)}}}text(t){const y=this.rules.block.text.exec(t);if(y)return{type:"text",raw:y[0],text:y[0],tokens:this.lexer.inline(y[0])}}escape(t){const y=this.rules.inline.escape.exec(t);if(y)return{type:"escape",raw:y[0],text:escape$4(y[1])}}tag(t){const y=this.rules.inline.tag.exec(t);if(y)return!this.lexer.state.inLink&&/^<a /i.test(y[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(y[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(y[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(y[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:y[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(y[0]):escape$4(y[0]):y[0]}}link(t){const y=this.rules.inline.link.exec(t);if(y){const n=y[2].trim();if(!this.options.pedantic&&/^</.test(n)){if(!/>$/.test(n))return;const L=rtrim(n.slice(0,-1),"\\");if((n.length-L.length)%2===0)return}else{const L=findClosingBracket(y[2],"()");if(L>-1){const V=(y[0].indexOf("!")===0?5:4)+y[1].length+L;y[2]=y[2].substring(0,L),y[0]=y[0].substring(0,V).trim(),y[3]=""}}let $=y[2],k="";if(this.options.pedantic){const L=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec($);L&&($=L[1],k=L[3])}else k=y[3]?y[3].slice(1,-1):"";return $=$.trim(),/^</.test($)&&(this.options.pedantic&&!/>$/.test(n)?$=$.slice(1):$=$.slice(1,-1)),outputLink(y,{href:$&&$.replace(this.rules.inline._escapes,"$1"),title:k&&k.replace(this.rules.inline._escapes,"$1")},y[0],this.lexer)}}reflink(t,y){let n;if((n=this.rules.inline.reflink.exec(t))||(n=this.rules.inline.nolink.exec(t))){let $=(n[2]||n[1]).replace(/\s+/g," ");if($=y[$.toLowerCase()],!$){const k=n[0].charAt(0);return{type:"text",raw:k,text:k}}return outputLink(n,$,n[0],this.lexer)}}emStrong(t,y,n=""){let $=this.rules.inline.emStrong.lDelim.exec(t);if(!$||$[3]&&n.match(/[\p{L}\p{N}]/u))return;const k=$[1]||$[2]||"";if(!k||k&&(n===""||this.rules.inline.punctuation.exec(n))){const L=$[0].length-1;let j,V,z=L,re=0;const oe=$[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(oe.lastIndex=0,y=y.slice(-1*t.length+L);($=oe.exec(y))!=null;){if(j=$[1]||$[2]||$[3]||$[4]||$[5]||$[6],!j)continue;if(V=j.length,$[3]||$[4]){z+=V;continue}else if(($[5]||$[6])&&L%3&&!((L+V)%3)){re+=V;continue}if(z-=V,z>0)continue;V=Math.min(V,V+z+re);const ue=t.slice(0,L+$.index+($[0].length-j.length)+V);if(Math.min(L,V)%2){const _e=ue.slice(1,-1);return{type:"em",raw:ue,text:_e,tokens:this.lexer.inlineTokens(_e)}}const de=ue.slice(2,-2);return{type:"strong",raw:ue,text:de,tokens:this.lexer.inlineTokens(de)}}}}codespan(t){const y=this.rules.inline.code.exec(t);if(y){let n=y[2].replace(/\n/g," ");const $=/[^ ]/.test(n),k=/^ /.test(n)&&/ $/.test(n);return $&&k&&(n=n.substring(1,n.length-1)),n=escape$4(n,!0),{type:"codespan",raw:y[0],text:n}}}br(t){const y=this.rules.inline.br.exec(t);if(y)return{type:"br",raw:y[0]}}del(t){const y=this.rules.inline.del.exec(t);if(y)return{type:"del",raw:y[0],text:y[2],tokens:this.lexer.inlineTokens(y[2])}}autolink(t,y){const n=this.rules.inline.autolink.exec(t);if(n){let $,k;return n[2]==="@"?($=escape$4(this.options.mangle?y(n[1]):n[1]),k="mailto:"+$):($=escape$4(n[1]),k=$),{type:"link",raw:n[0],text:$,href:k,tokens:[{type:"text",raw:$,text:$}]}}}url(t,y){let n;if(n=this.rules.inline.url.exec(t)){let $,k;if(n[2]==="@")$=escape$4(this.options.mangle?y(n[0]):n[0]),k="mailto:"+$;else{let L;do L=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0];while(L!==n[0]);$=escape$4(n[0]),n[1]==="www."?k="http://"+n[0]:k=n[0]}return{type:"link",raw:n[0],text:$,href:k,tokens:[{type:"text",raw:$,text:$}]}}}inlineText(t,y){const n=this.rules.inline.text.exec(t);if(n){let $;return this.lexer.state.inRawBlock?$=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):escape$4(n[0]):n[0]:$=escape$4(this.options.smartypants?y(
]`).replace("lheading",block$2.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const inline$1={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:noopTest,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^(?:[^_*\\]|\\.)*?\_\_(?:[^_*\\]|\\.)*?\*(?:[^_*\\]|\\.)*?(?=\_\_)|(?:[^*\\]|\\.)+(?=[^*])|[punct_](\*+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|(?:[^punct*_\s\\]|\\.)(\*+)(?=[^punct*_\s])/,rDelimUnd:/^(?:[^_*\\]|\\.)*?\*\*(?:[^_*\\]|\\.)*?\_(?:[^_*\\]|\\.)*?(?=\*\*)|(?:[^_\\]|\\.)+(?=[^_])|[punct*](\_+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:noopTest,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};inline$1._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~";inline$1.punctuation=edit(inline$1.punctuation).replace(/punctuation/g,inline$1._punctuation).getRegex();inline$1.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g;inline$1.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g;inline$1._comment=edit(block$2._comment).replace("(?:-->|$)","-->").getRegex();inline$1.emStrong.lDelim=edit(inline$1.emStrong.lDelim).replace(/punct/g,inline$1._punctuation).getRegex();inline$1.emStrong.rDelimAst=edit(inline$1.emStrong.rDelimAst,"g").replace(/punct/g,inline$1._punctuation).getRegex();inline$1.emStrong.rDelimUnd=edit(inline$1.emStrong.rDelimUnd,"g").replace(/punct/g,inline$1._punctuation).getRegex();inline$1._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g;inline$1._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;inline$1._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])?)+(?![-_])/;inline$1.autolink=edit(inline$1.autolink).replace("scheme",inline$1._scheme).replace("email",inline$1._email).getRegex();inline$1._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;inline$1.tag=edit(inline$1.tag).replace("comment",inline$1._comment).replace("attribute",inline$1._attribute).getRegex();inline$1._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;inline$1._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;inline$1._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;inline$1.link=edit(inline$1.link).replace("label",inline$1._label).replace("href",inline$1._href).replace("title",inline$1._title).getRegex();inline$1.reflink=edit(inline$1.reflink).replace("label",inline$1._label).replace("ref",block$2._label).getRegex();inline$1.nolink=edit(inline$1.nolink).replace("ref",block$2._label).getRegex();inline$1.reflinkSearch=edit(inline$1.reflinkSearch,"g").replace("reflink",inline$1.reflink).replace("nolink",inline$1.nolink).getRegex();inline$1.normal={...inline$1};inline$1.pedantic={...inline$1.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:edit(/^!?\[(label)\]\((.*?)\)/).replace("label",inline$1._label).getRegex(),reflink:edit(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",inline$1._label).getRegex()};inline$1.gfm={...inline$1.normal,escape:edit(inline$1.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:
`),this.blockTokens(t,this.tokens);let y;for(;y=this.inlineQueue.shift();)this.inlineTokens(y.src,y.tokens);return this.tokens}blockTokens(t,y=[]){this.options.pedantic?t=t.replace(/\t/g," ").replace(/^ +$/gm,""):t=t.replace(/^( *)(\t+)/gm,(j,V,z)=>V+" ".repeat(z.length));let n,$,k,L;for(;t;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(j=>(n=j.call({lexer:this},t,y))?(t=t.substring(n.raw.length),y.push(n),!0):!1))){if(n=this.tokenizer.space(t)){t=t.substring(n.raw.length),n.raw.length===1&&y.length>0?y[y.length-1].raw+=`
`:y.push(n);continue}if(n=this.tokenizer.code(t)){t=t.substring(n.raw.length),$=y[y.length-1],$&&($.type==="paragraph"||$.type==="text")?($.raw+=`
`+n.raw,$.text+=`
`+n.text,this.inlineQueue[this.inlineQueue.length-1].src=$.text):y.push(n);continue}if(n=this.tokenizer.fences(t)){t=t.substring(n.raw.length),y.push(n);continue}if(n=this.tokenizer.heading(t)){t=t.substring(n.raw.length),y.push(n);continue}if(n=this.tokenizer.hr(t)){t=t.substring(n.raw.length),y.push(n);continue}if(n=this.tokenizer.blockquote(t)){t=t.substring(n.raw.length),y.push(n);continue}if(n=this.tokenizer.list(t)){t=t.substring(n.raw.length),y.push(n);continue}if(n=this.tokenizer.html(t)){t=t.substring(n.raw.length),y.push(n);continue}if(n=this.tokenizer.def(t)){t=t.substring(n.raw.length),$=y[y.length-1],$&&($.type==="paragraph"||$.type==="text")?($.raw+=`
`+n.raw,$.text+=`
`+n.raw,this.inlineQueue[this.inlineQueue.length-1].src=$.text):this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title});continue}if(n=this.tokenizer.table(t)){t=t.substring(n.raw.length),y.push(n);continue}if(n=this.tokenizer.lheading(t)){t=t.substring(n.raw.length),y.push(n);continue}if(k=t,this.options.extensions&&this.options.extensions.startBlock){let j=1/0;const V=t.slice(1);let z;this.options.extensions.startBlock.forEach(function(re){z=re.call({lexer:this},V),typeof z=="number"&&z>=0&&(j=Math.min(j,z))}),j<1/0&&j>=0&&(k=t.substring(0,j+1))}if(this.state.top&&(n=this.tokenizer.paragraph(k))){$=y[y.length-1],L&&$.type==="paragraph"?($.raw+=`
`+n.raw,$.text+=`
`+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=$.text):y.push(n),L=k.length!==t.length,t=t.substring(n.raw.length);continue}if(n=this.tokenizer.text(t)){t=t.substring(n.raw.length),$=y[y.length-1],$&&$.type==="text"?($.raw+=`
`+n.raw,$.text+=`
`+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=$.text):y.push(n);continue}if(t){const j="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(j);break}else throw new Error(j)}}return this.state.top=!0,y}inline(t,y=[]){return this.inlineQueue.push({src:t,tokens:y}),y}inlineTokens(t,y=[]){let n,$,k,L=t,j,V,z;if(this.tokens.links){const re=Object.keys(this.tokens.links);if(re.length>0)for(;(j=this.tokenizer.rules.inline.reflinkSearch.exec(L))!=null;)re.includes(j[0].slice(j[0].lastIndexOf("[")+1,-1))&&(L=L.slice(0,j.index)+"["+repeatString("a",j[0].length-2)+"]"+L.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(j=this.tokenizer.rules.inline.blockSkip.exec(L))!=null;)L=L.slice(0,j.index)+"["+repeatString("a",j[0].length-2)+"]"+L.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(j=this.tokenizer.rules.inline.escapedEmSt.exec(L))!=null;)L=L.slice(0,j.index+j[0].length-2)+"++"+L.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(;t;)if(V||(z=""),V=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(re=>(n=re.call({lexer:this},t,y))?(t=t.substring(n.raw.length),y.push(n),!0):!1))){if(n=this.tokenizer.escape(t)){t=t.substring(n.raw.length),y.push(n);continue}if(n=this.tokenizer.tag(t)){t=t.substring(n.raw.length),$=y[y.length-1],$&&n.type==="text"&&$.type==="text"?($.raw+=n.raw,$.text+=n.text):y.push(n);continue}if(n=this.tokenizer.link(t)){t=t.substring(n.raw.length),y.push(n);continue}if(n=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(n.raw.length),$=y[y.length-1],$&&n.type==="text"&&$.type==="text"?($.raw+=n.raw,$.text+=n.text):y.push(n);continue}if(n=this.tokenizer.emStrong(t,L,z)){t=t.substring(n.raw.length),y.push(n);continue}if(n=this.tokenizer.codespan(t)){t=t.substring(n.raw.length),y.push(n);continue}if(n=this.tokenizer.br(t)){t=t.substring(n.raw.length),y.push(n);continue}if(n=this.tokenizer.del(t)){t=t.substring(n.raw.length),y.push(n);continue}if(n=this.tokenizer.autolink(t,mangle)){t=t.substring(n.raw.length),y.push(n);continue}if(!this.state.inLink&&(n=this.tokenizer.url(t,mangle))){t=t.substring(n.raw.length),y.push(n);continue}if(k=t,this.options.extensions&&this.options.extensions.startInline){let re=1/0;const oe=t.slice(1);let ue;this.options.extensions.startInline.forEach(function(de){ue=de.call({lexer:this},oe),typeof ue=="number"&&ue>=0&&(re=Math.min(re,ue))}),re<1/0&&re>=0&&(k=t.substring(0,re+1))}if(n=this.tokenizer.inlineText(k,smartypants)){t=t.substring(n.raw.length),n.raw.slice(-1)!=="_"&&(z=n.raw.slice(-1)),V=!0,$=y[y.length-1],$&&$.type==="text"?($.raw+=n.raw,$.text+=n.text):y.push(n);continue}if(t){const re="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(re);break}else throw new Error(re)}}return y}};class Renderer{constructor(t){this.options=t||defaults$2}code(t,y,n){const $=(y||"").match(/\S*/)[0];if(this.options.highlight){const k=this.options.highlight(t,$);k!=null&&k!==t&&(n=!0,t=k)}return t=t.replace(/\n$/,"")+`
`,$?'<pre><code class="'+this.options.langPrefix+escape$4($)+'">'+(n?t:escape$4(t,!0))+`</code></pre>
`:"<pre><code>"+(n?t:escape$4(t,!0))+`</code></pre>
`}blockquote(t){return`<blockquote>
${t}</blockquote>
`}html(t){return t}heading(t,y,n,$){if(this.options.headerIds){const k=this.options.headerPrefix+$.slug(n);return`<h${y} id="${k}">${t}</h${y}>
`}return`<h${y}>${t}</h${y}>
`}hr(){return this.options.xhtml?`<hr/>
`:`<hr>
`}list(t,y,n){const $=y?"ol":"ul",k=y&&n!==1?' start="'+n+'"':"";return"<"+$+k+`>
`+t+"</"+$+`>
`}listitem(t){return`<li>${t}</li>
`}checkbox(t){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}paragraph(t){return`<p>${t}</p>
`}table(t,y){return y&&(y=`<tbody>${y}</tbody>`),`<table>
<thead>
`+t+`</thead>
`+y+`</table>
`}tablerow(t){return`<tr>
${t}</tr>
`}tablecell(t,y){const n=y.header?"th":"td";return(y.align?`<${n} align="${y.align}">`:`<${n}>`)+t+`</${n}>
`}strong(t){return`<strong>${t}</strong>`}em(t){return`<em>${t}</em>`}codespan(t){return`<code>${t}</code>`}br(){return this.options.xhtml?"<br/>":"<br>"}del(t){return`<del>${t}</del>`}link(t,y,n){if(t=cleanUrl(this.options.sanitize,this.options.baseUrl,t),t===null)return n;let $='<a href="'+t+'"';return y&&($+=' title="'+y+'"'),$+=">"+n+"</a>",$}image(t,y,n){if(t=cleanUrl(this.options.sanitize,this.options.baseUrl,t),t===null)return n;let $=`<img src="${t}" alt="${n}"`;return y&&($+=` title="${y}"`),$+=this.options.xhtml?"/>":">",$}text(t){return t}}class TextRenderer{strong(t){return t}em(t){return t}codespan(t){return t}del(t){return t}html(t){return t}text(t){return t}link(t,y,n){return""+n}image(t,y,n){return""+n}br(){return""}}class Slugger{constructor(){this.seen={}}serialize(t){return t.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(t,y){let n=t,$=0;if(this.seen.hasOwnProperty(n)){$=this.seen[t];do $++,n=t+"-"+$;while(this.seen.hasOwnProperty(n))}return y||(this.seen[t]=$,this.seen[n]=0),n}slug(t,y={}){const n=this.serialize(t);return this.getNextSafeSlug(n,y.dryrun)}}let Parser$2=class e1{constructor(t){this.options=t||defaults$2,this.options.renderer=this.options.renderer||new Renderer,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new TextRenderer,this.slugger=new Slugger}static parse(t,y){return new e1(y).parse(t)}static parseInline(t,y){return new e1(y).parseInline(t)}parse(t,y=!0){let n="",$,k,L,j,V,z,re,oe,ue,de,_e,Ne,Ue,$e,Ve,Fe,qe,er,ir;const dr=t.length;for($=0;$<dr;$++){if(de=t[$],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[de.type]&&(ir=this.options.extensions.renderers[de.type].call({parser:this},de),ir!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(de.type))){n+=ir||"";continue}switch(de.type){case"space":continue;case"hr":{n+=this.renderer.hr();continue}case"heading":{n+=this.renderer.heading(this.parseInline(de.tokens),de.depth,unescape$2(this.parseInline(de.tokens,this.textRenderer)),this.slugger);continue}case"code":{n+=this.renderer.code(de.text,de.lang,de.escaped);continue}case"table":{for(oe="",re="",j=de.header.length,k=0;k<j;k++)re+=this.renderer.tablecell(this.parseInline(de.header[k].tokens),{header:!0,align:de.align[k]});for(oe+=this.renderer.tablerow(re),ue="",j=de.rows.length,k=0;k<j;k++){for(z=de.rows[k],re="",V=z.length,L=0;L<V;L++)re+=this.renderer.tablecell(this.parseInline(z[L].tokens),{header:!1,align:de.align[L]});ue+=this.renderer.tablerow(re)}n+=this.renderer.table(oe,ue);continue}case"blockquote":{ue=this.parse(de.tokens),n+=this.renderer.blockquote(ue);continue}case"list":{for(_e=de.ordered,Ne=de.start,Ue=de.loose,j=de.items.length,ue="",k=0;k<j;k++)Ve=de.items[k],Fe=Ve.checked,qe=Ve.task,$e="",Ve.task&&(er=this.renderer.checkbox(Fe),Ue?Ve.tokens.length>0&&Ve.tokens[0].type==="paragraph"?(Ve.tokens[0].text=er+" "+Ve.tokens[0].text,Ve.tokens[0].tokens&&Ve.tokens[0].tokens.length>0&&Ve.tokens[0].tokens[0].type==="text"&&(Ve.tokens[0].tokens[0].text=er+" "+Ve.tokens[0].tokens[0].text)):Ve.tokens.unshift({type:"text",text:er}):$e+=er),$e+=this.parse(Ve.tokens,Ue),ue+=this.renderer.listitem($e,qe,Fe);n+=this.renderer.list(ue,_e,Ne);continue}case"html":{n+=this.renderer.html(de.text);continue}case"paragraph":{n+=this.renderer.paragraph(this.parseInline(de.tokens));continue}case"text":{for(ue=de.tokens?this.parseInline(de.tokens):de.text;$+1<dr&&t[$+1].type==="text";)de=t[++$],ue+=`
`+(de.tokens?this.parseInline(de.tokens):de.text);n+=y?this.renderer.paragraph(ue):ue;continue}default:{const cr='Token with "'+de.type+'" type was not found.';if(this.options.silent){console.error(cr);return}else throw new Error(cr)}}}return n}parseInline(t,y){y=y||this.renderer;let n="",$,k,L;const j=t.length;for($=0;$<j;$++){if(k=t[$],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[k.type]&&(L=this.options.extensions.renderers[k.type].call({parser:this},k),L!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(k.type))){n+=L||"";continue}switch(k.type){case"escape":{n+=y.text(k.text);break}case"html":{n+=y.html(k.text);break}case"link":{n+=y.link(k.href,k.title,this.parseInline(k.tokens,y));break}case"image":{n+=y.image(k.href,k.title,k.text);break}case"strong":{n+=y.strong(this.parseInline(k.tokens,y));break}case"em":{n+=y.em(this.parseInline(k.tokens,y));break}case"codespan":{n+=y.codespan(k.text);break}case"br":{n+=y.br();break}case"del":{n+=y.del(this.parseInline(k.tokens,y));break}case"text":{n+=y.text(k.text);break}default:{const V='Token with "'+k.type+'" type was not found.';if(this.options.silent){console.error(V);return}else throw new Error(V)}}}return n}};class Hooks{constructor(t){this.options=t||defaults$2}preprocess(t){return t}postprocess(t){return t}}k1(Hooks,"passThroughHooks",new Set(["preprocess","postprocess"]));function onError(e,t,y){return n=>{if(n.message+=`
Please report this to https://github.com/markedjs/marked.`,e){const $="<p>An error occurred:</p><pre>"+escape$4(n.message+"",!0)+"</pre>";if(t)return Promise.resolve($);if(y){y(null,$);return}return $}if(t)return Promise.reject(n);if(y){y(n);return}throw n}}function parseMarkdown(e,t){return(y,n,$)=>{typeof n=="function"&&($=n,n=null);const k={...n};n={...marked.defaults,...k};const L=onError(n.silent,n.async,$);if(typeof y>"u"||y===null)return L(new Error("marked(): input parameter is undefined or null"));if(typeof y!="string")return L(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(y)+", string expected"));if(checkSanitizeDeprecation(n),n.hooks&&(n.hooks.options=n),$){const j=n.highlight;let V;try{n.hooks&&(y=n.hooks.preprocess(y)),V=e(y,n)}catch(oe){return L(oe)}const z=function(oe){let ue;if(!oe)try{n.walkTokens&&marked.walkTokens(V,n.walkTokens),ue=t(V,n),n.hooks&&(ue=n.hooks.postprocess(ue))}catch(de){oe=de}return n.highlight=j,oe?L(oe):$(null,ue)};if(!j||j.length<3||(delete n.highlight,!V.length))return z();let re=0;marked.walkTokens(V,function(oe){oe.type==="code"&&(re++,setTimeout(()=>{j(oe.text,oe.lang,function(ue,de){if(ue)return z(ue);de!=null&&de!==oe.text&&(oe.text=de,oe.escaped=!0),re--,re===0&&z()})},0))}),re===0&&z();return}if(n.async)return Promise.resolve(n.hooks?n.hooks.preprocess(y):y).then(j=>e(j,n)).then(j=>n.walkTokens?Promise.all(marked.walkTokens(j,n.walkTokens)).then(()=>j):j).then(j=>t(j,n)).then(j=>n.hooks?n.hooks.postprocess(j):j).catch(L);try{n.hooks&&(y=n.hooks.preprocess(y));const j=e(y,n);n.walkTokens&&marked.walkTokens(j,n.walkTokens);let V=t(j,n);return n.hooks&&(V=n.hooks.postprocess(V)),V}catch(j){return L(j)}}}function marked(e,t,y){return parseMarkdown(Lexer$1.lex,Parser$2.parse)(e,t,y)}marked.options=marked.setOptions=function(e){return marked.defaults={...marked.defaults,...e},changeDefaults(marked.defaults),marked};marked.getDefaults=getDefaults;marked.defaults=defaults$2;marked.use=function(...e){const t=marked.defaults.extensions||{renderers:{},childTokens:{}};e.forEach(y=>{const n={...y};if(n.async=marked.defaults.async||n.async||!1,y.extensions&&(y.extensions.forEach($=>{if(!$.name)throw new Error("extension name required");if($.renderer){const k=t.renderers[$.name];k?t.renderers[$.name]=function(...L){let j=$.renderer.apply(this,L);return j===!1&&(j=k.apply(this,L)),j}:t.renderers[$.name]=$.renderer}if($.tokenizer){if(!$.level||$.level!=="block"&&$.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");t[$.level]?t[$.level].unshift($.tokenizer):t[$.level]=[$.tokenizer],$.start&&($.level==="block"?t.startBlock?t.startBlock.push($.start):t.startBlock=[$.start]:$.level==="inline"&&(t.startInline?t.startInline.push($.start):t.startInline=[$.start]))}$.childTokens&&(t.childTokens[$.name]=$.childTokens)}),n.extensions=t),y.renderer){const $=marked.defaults.renderer||new Renderer;for(const k in y.renderer){const L=$[k];$[k]=(...j)=>{let V=y.renderer[k].apply($,j);return V===!1&&(V=L.apply($,j)),V}}n.renderer=$}if(y.tokenizer){const $=marked.defaults.tokenizer||new Tokenizer$1;for(const k in y.tokenizer){const L=$[k];$[k]=(...j)=>{let V=y.tokenizer[k].apply($,j);return V===!1&&(V=L.apply($,j)),V}}n.tokenizer=$}if(y.hooks){const $=marked.defaults.hooks||new Hooks;for(const k in y.hooks){const L=$[k];Hooks.passThroughHooks.has(k)?$[k]=j=>{if(marked.defaults.async)return Promise.resolve(y.hooks[k].call($,j)).then(z=>L.call($,z));const V=y.hooks[k].call($,j);return L.call($,V)}:$[k]=(...j)=>{let V=y.hooks[k].apply($,j);return V===!1&&(V=L.apply($,j)),V}}n.hooks=$}if(y.walkTokens){const $=marked.defaults.walkTokens;n.walkTokens=function(k){let L=[];return L.push(y.walkTokens.call(this,k)),$&&(L=L.concat($.call(this,k))),L}}marked.setOptions(n)})};marked.walkTokens=function(e,t){let y=[];for(const n of e)switch(y=y.concat(t.call(marked,n)),n.type){case"table":{for(const $ of n.header)y=y.concat(marked.walkTokens($.tokens,t));for(const $ of n.rows)for(const k of $)y=y.concat(marked.walkTokens(k.tokens,t));break}case"list":{y=y.con
b`.split(/\n/).length!=3?function(rr){for(var fr=0,vr=[],Er=rr.length;fr<=Er;){var Cr=rr.indexOf(`
`,fr);Cr==-1&&(Cr=rr.length);var Yr=rr.slice(fr,rr.charAt(Cr-1)=="\r"?Cr-1:Cr),Rn=Yr.indexOf("\r");Rn!=-1?(vr.push(Yr.slice(0,Rn)),fr+=Rn+1):(vr.push(Yr),fr=Cr+1)}return vr}:function(rr){return rr.split(/\r\n?|\n/)},ui=window.getSelection?function(rr){try{return rr.selectionStart!=rr.selectionEnd}catch{return!1}}:function(rr){var fr;try{fr=rr.ownerDocument.selection.createRange()}catch{}return!fr||fr.parentElement()!=rr?!1:fr.compareEndPoints("StartToEnd",fr)!=0},En=function(){var rr=Ie("div");return"oncopy"in rr?!0:(rr.setAttribute("oncopy","return;"),typeof rr.oncopy=="function")}(),An=null;function Gi(rr){if(An!=null)return An;var fr=Ce(rr,Ie("span","x")),vr=fr.getBoundingClientRect(),Er=ar(fr,0,1).getBoundingClientRect();return An=Math.abs(vr.left-Er.left)>1}var Ki={},Ea={};function aa(rr,fr){arguments.length>2&&(fr.dependencies=Array.prototype.slice.call(arguments,2)),Ki[rr]=fr}function Qo(rr,fr){Ea[rr]=fr}function Eo(rr){if(typeof rr=="string"&&Ea.hasOwnProperty(rr))rr=Ea[rr];else if(rr&&typeof rr.name=="string"&&Ea.hasOwnProperty(rr.name)){var fr=Ea[rr.name];typeof fr=="string"&&(fr={name:fr}),rr=Zr(fr,rr),rr.name=fr.name}else{if(typeof rr=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(rr))return Eo("application/xml");if(typeof rr=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(rr))return Eo("application/json")}return typeof rr=="string"?{name:rr}:rr||{name:"null"}}function Vo(rr,fr){fr=Eo(fr);var vr=Ki[fr.name];if(!vr)return Vo(rr,"text/plain");var Er=vr(rr,fr);if(vs.hasOwnProperty(fr.name)){var Cr=vs[fr.name];for(var Yr in Cr)Cr.hasOwnProperty(Yr)&&(Er.hasOwnProperty(Yr)&&(Er["_"+Yr]=Er[Yr]),Er[Yr]=Cr[Yr])}if(Er.name=fr.name,fr.helperType&&(Er.helperType=fr.helperType),fr.modeProps)for(var Rn in fr.modeProps)Er[Rn]=fr.modeProps[Rn];return Er}var vs={};function kn(rr,fr){var vr=vs.hasOwnProperty(rr)?vs[rr]:vs[rr]={};Sr(fr,vr)}function qo(rr,fr){if(fr===!0)return fr;if(rr.copyState)return rr.copyState(fr);var vr={};for(var Er in fr){var Cr=fr[Er];Cr instanceof Array&&(Cr=Cr.concat([])),vr[Er]=Cr}return vr}function Zl(rr,fr){for(var vr;rr.innerMode&&(vr=rr.innerMode(fr),!(!vr||vr.mode==rr));)fr=vr.state,rr=vr.mode;return vr||{mode:rr,state:fr}}function Mo(rr,fr,vr){return rr.startState?rr.startState(fr,vr):!0}var _u=function(rr,fr,vr){this.pos=this.start=0,this.string=rr,this.tabSize=fr||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=vr};_u.prototype.eol=function(){return this.pos>=this.string.length},_u.prototype.sol=function(){return this.pos==this.lineStart},_u.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},_u.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},_u.prototype.eat=function(rr){var fr=this.string.charAt(this.pos),vr;if(typeof rr=="string"?vr=fr==rr:vr=fr&&(rr.test?rr.test(fr):rr(fr)),vr)return++this.pos,fr},_u.prototype.eatWhile=function(rr){for(var fr=this.pos;this.eat(rr););return this.pos>fr},_u.prototype.eatSpace=function(){for(var rr=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>rr},_u.prototype.skipToEnd=function(){this.pos=this.string.length},_u.prototype.skipTo=function(rr){var fr=this.string.indexOf(rr,this.pos);if(fr>-1)return this.pos=fr,!0},_u.prototype.backUp=function(rr){this.pos-=rr},_u.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Ar(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Ar(this.string,this.lineStart,this.tabSize):0)},_u.prototype.indentation=function(){return Ar(this.string,null,this.tabSize)-(this.lineStart?Ar(this.string,this.lineStart,this.tabSize):0)},_u.prototype.match=function(rr,fr,vr){if(typeof rr=="string"){var Er=function(Rn){return vr?Rn.toLowerCase():Rn},Cr=this.string.substr(this.pos,rr.length);if(Er(Cr)==Er(rr))return fr!==!1&&(this.pos+=rr.length),!0}else{var Yr=this.string.slice(this.pos).match(rr);return Yr&&Yr.index>0?null:(Yr&&fr!==!1&&(this.pos+=Yr[0].length),Yr)}},_u.prototype.current=funct
`?(Eu=No.appendChild(Ie("span",Ns[0]=="\r"?"␍":"␤","cm-invalidchar")),Eu.setAttribute("cm-text",Ns[0]),rr.col+=1):(Eu=rr.cm.options.specialCharPlaceholder(Ns[0]),Eu.setAttribute("cm-text",Ns[0]),V&&z<9?No.appendChild(Ie("span",[Eu])):No.appendChild(Eu),rr.col+=1);rr.map.push(rr.pos,rr.pos+1,Eu),rr.pos++}}if(rr.trailingSpace=mi.charCodeAt(fr.length-1)==32,vr||Er||Cr||Aa||Yr||Rn){var Ru=vr||"";Er&&(Ru+=Er),Cr&&(Ru+=Cr);var Ds=Ie("span",[No],Ru,Yr);if(Rn)for(var xc in Rn)Rn.hasOwnProperty(xc)&&xc!="style"&&xc!="class"&&Ds.setAttribute(xc,Rn[xc]);return rr.content.appendChild(Ds)}rr.content.appendChild(No)}}function um(rr,fr){if(rr.length>1&&!/ /.test(rr))return rr;for(var vr=fr,Er="",Cr=0;Cr<rr.length;Cr++){var Yr=rr.charAt(Cr);Yr==" "&&vr&&(Cr==rr.length-1||rr.charCodeAt(Cr+1)==32)&&(Yr=" "),Er+=Yr,vr=Yr==" "}return Er}function pf(rr,fr){return function(vr,Er,Cr,Yr,Rn,mi,Ui){Cr=Cr?Cr+" cm-force-border":"cm-force-border";for(var Aa=vr.pos,No=Aa+Er.length;;){for(var Cs=void 0,Ns=0;Ns<fr.length&&(Cs=fr[Ns],!(Cs.to>Aa&&Cs.from<=Aa));Ns++);if(Cs.to>=No)return rr(vr,Er,Cr,Yr,Rn,mi,Ui);rr(vr,Er.slice(0,Cs.to-Aa),Cr,Yr,null,mi,Ui),Yr=null,Er=Er.slice(Cs.to-Aa),Aa=Cs.to}}}function Jp(rr,fr,vr,Er){var Cr=!Er&&vr.widgetNode;Cr&&rr.map.push(rr.pos,rr.pos+fr,Cr),!Er&&rr.cm.display.input.needsContentAttribute&&(Cr||(Cr=rr.content.appendChild(document.createElement("span"))),Cr.setAttribute("cm-marker",vr.id)),Cr&&(rr.cm.display.input.setUneditable(Cr),rr.content.appendChild(Cr)),rr.pos+=fr,rr.trailingSpace=!1}function cm(rr,fr,vr){var Er=rr.markedSpans,Cr=rr.text,Yr=0;if(!Er){for(var Rn=1;Rn<vr.length;Rn+=2)fr.addToken(fr,Cr.slice(Yr,Yr=vr[Rn]),nf(vr[Rn+1],fr.cm.options));return}for(var mi=Cr.length,Ui=0,Aa=1,No="",Cs,Ns,Bs=0,pl,Eu,kl,Cu,Ru;;){if(Bs==Ui){pl=Eu=kl=Ns="",Ru=null,Cu=null,Bs=1/0;for(var Ds=[],xc=void 0,Rc=0;Rc<Er.length;++Rc){var lc=Er[Rc],wc=lc.marker;if(wc.type=="bookmark"&&lc.from==Ui&&wc.widgetNode)Ds.push(wc);else if(lc.from<=Ui&&(lc.to==null||lc.to>Ui||wc.collapsed&&lc.to==Ui&&lc.from==Ui)){if(lc.to!=null&&lc.to!=Ui&&Bs>lc.to&&(Bs=lc.to,Eu=""),wc.className&&(pl+=" "+wc.className),wc.css&&(Ns=(Ns?Ns+";":"")+wc.css),wc.startStyle&&lc.from==Ui&&(kl+=" "+wc.startStyle),wc.endStyle&&lc.to==Bs&&(xc||(xc=[])).push(wc.endStyle,lc.to),wc.title&&((Ru||(Ru={})).title=wc.title),wc.attributes)for(var Jc in wc.attributes)(Ru||(Ru={}))[Jc]=wc.attributes[Jc];wc.collapsed&&(!Cu||Zc(Cu.marker,wc)<0)&&(Cu=lc)}else lc.from>Ui&&Bs>lc.from&&(Bs=lc.from)}if(xc)for(var Xd=0;Xd<xc.length;Xd+=2)xc[Xd+1]==Bs&&(Eu+=" "+xc[Xd]);if(!Cu||Cu.from==Ui)for(var Do=0;Do<Ds.length;++Do)Jp(fr,0,Ds[Do]);if(Cu&&(Cu.from||0)==Ui){if(Jp(fr,(Cu.to==null?mi+1:Cu.to)-Ui,Cu.marker,Cu.from==null),Cu.to==null)return;Cu.to==Ui&&(Cu=!1)}}if(Ui>=mi)break;for(var vl=Math.min(mi,Bs);;){if(No){var gc=Ui+No.length;if(!Cu){var Wc=gc>vl?No.slice(0,vl-Ui):No;fr.addToken(fr,Wc,Cs?Cs+pl:pl,kl,Ui+Wc.length==Bs?Eu:"",Ns,Ru)}if(gc>=vl){No=No.slice(vl-Ui),Ui=vl;break}Ui=gc,kl=""}No=Cr.slice(Yr,Yr=vr[Aa++]),Cs=nf(vr[Aa++],fr.cm.options)}}}function km(rr,fr,vr){this.line=fr,this.rest=Up(fr),this.size=this.rest?Fn(vn(this.rest))-vr+1:1,this.node=this.text=null,this.hidden=df(rr,fr)}function em(rr,fr,vr){for(var Er=[],Cr,Yr=fr;Yr<vr;Yr=Cr){var Rn=new km(rr.doc,Bl(rr.doc,Yr),Yr);Cr=Yr+Rn.size,Er.push(Rn)}return Er}var Lf=null;function t0(rr){Lf?Lf.ops.push(rr):rr.ownsGroup=Lf={ops:[rr],delayedCallbacks:[]}}function s0(rr){var fr=rr.delayedCallbacks,vr=0;do{for(;vr<fr.length;vr++)fr[vr].call(null);for(var Er=0;Er<rr.ops.length;Er++){var Cr=rr.ops[Er];if(Cr.cursorActivityHandlers)for(;Cr.cursorActivityCalled<Cr.cursorActivityHandlers.length;)Cr.cursorActivityHandlers[Cr.cursorActivityCalled++].call(null,Cr.cm)}}while(vr<fr.length)}function r0(rr,fr){var vr=rr.ownsGroup;if(vr)try{s0(vr)}finally{Lf=null,fr(vr)}}var Qf=null;function hf(rr,fr){var vr=ki(rr,fr);if(vr.length){var Er=Array.prototype.slice.call(arguments,2),Cr;Lf?Cr=Lf.delayedCallbacks:Qf?Cr=Qf:(Cr=Qf=[],setTimeout(Hm,0));for(var Yr=function(mi){Cr.push(function(){return vr[mi].apply(null,Er)})},Rn=0;Rn<vr.length;++Rn)Yr(
top: `+xc+"px; width: "+(Rc??Ui-Ds)+`px;
height: `+(lc-xc)+"px"))}function Cs(Ds,xc,Rc){var lc=Bl(Cr,Ds),wc=lc.text.length,Jc,Xd;function Do(Wc,rd){return wu(rr,Vl(Ds,Wc),"div",lc,rd)}function vl(Wc,rd,lf){var Md=Zd(rr,lc,null,Wc),Ud=rd=="ltr"==(lf=="after")?"left":"right",zd=lf=="after"?Md.begin:Md.end-(/\s/.test(lc.text.charAt(Md.end-1))?2:1);return Do(zd,Ud)[Ud]}var gc=ca(lc,Cr.direction);return Sn(gc,xc||0,Rc??wc,function(Wc,rd,lf,Md){var Ud=lf=="ltr",zd=Do(Wc,Ud?"left":"right"),Gd=Do(rd-1,Ud?"right":"left"),Gc=xc==null&&Wc==0,od=Rc==null&&rd==wc,Kf=Md==0,Gh=!gc||Md==gc.length-1;if(Gd.top-zd.top<=3){var Yf=(Aa?Gc:od)&&Kf,E0=(Aa?od:Gc)&&Gh,om=Yf?mi:(Ud?zd:Gd).left,Dm=E0?Ui:(Ud?Gd:zd).right;No(om,zd.top,Dm-om,zd.bottom)}else{var bm,hp,v0,N0;Ud?(bm=Aa&&Gc&&Kf?mi:zd.left,hp=Aa?Ui:vl(Wc,lf,"before"),v0=Aa?mi:vl(rd,lf,"after"),N0=Aa&&od&&Gh?Ui:Gd.right):(bm=Aa?vl(Wc,lf,"before"):mi,hp=!Aa&&Gc&&Kf?Ui:zd.right,v0=!Aa&&od&&Gh?mi:Gd.left,N0=Aa?vl(rd,lf,"after"):Ui),No(bm,zd.top,hp-bm,zd.bottom),zd.bottom<Gd.top&&No(mi,zd.bottom,null,Gd.top),No(v0,Gd.top,N0-v0,Gd.bottom)}(!Jc||lh(zd,Jc)<0)&&(Jc=zd),lh(Gd,Jc)<0&&(Jc=Gd),(!Xd||lh(zd,Xd)<0)&&(Xd=zd),lh(Gd,Xd)<0&&(Xd=Gd)}),{start:Jc,end:Xd}}var Ns=fr.from(),Bs=fr.to();if(Ns.line==Bs.line)Cs(Ns.line,Ns.ch,Bs.ch);else{var pl=Bl(Cr,Ns.line),Eu=Bl(Cr,Bs.line),kl=qd(pl)==qd(Eu),Cu=Cs(Ns.line,Ns.ch,kl?pl.text.length+1:null).end,Ru=Cs(Bs.line,kl?0:null,Bs.ch).start;kl&&(Cu.top<Ru.top-2?(No(Cu.right,Cu.top,null,Cu.bottom),No(mi,Ru.top,Ru.left,Ru.bottom)):No(Cu.right,Cu.top,Ru.left-Cu.right,Cu.bottom)),Cu.bottom<Ru.top&&No(mi,Cu.bottom,null,Ru.top)}vr.appendChild(Yr)}function Ls(rr){if(rr.state.focused){var fr=rr.display;clearInterval(fr.blinker);var vr=!0;fr.cursorDiv.style.visibility="",rr.options.cursorBlinkRate>0?fr.blinker=setInterval(function(){rr.hasFocus()||Go(rr),fr.cursorDiv.style.visibility=(vr=!vr)?"":"hidden"},rr.options.cursorBlinkRate):rr.options.cursorBlinkRate<0&&(fr.cursorDiv.style.visibility="hidden")}}function ys(rr){rr.hasFocus()||(rr.display.input.focus(),rr.state.focused||Yo(rr))}function Po(rr){rr.state.delayingBlurEvent=!0,setTimeout(function(){rr.state.delayingBlurEvent&&(rr.state.delayingBlurEvent=!1,rr.state.focused&&Go(rr))},100)}function Yo(rr,fr){rr.state.delayingBlurEvent&&!rr.state.draggingText&&(rr.state.delayingBlurEvent=!1),rr.options.readOnly!="nocursor"&&(rr.state.focused||(_o(rr,"focus",rr,fr),rr.state.focused=!0,he(rr.display.wrapper,"CodeMirror-focused"),!rr.curOp&&rr.display.selForContextMenu!=rr.doc.sel&&(rr.display.input.reset(),re&&setTimeout(function(){return rr.display.input.reset(!0)},20)),rr.display.input.receivedFocus()),Ls(rr))}function Go(rr,fr){rr.state.delayingBlurEvent||(rr.state.focused&&(_o(rr,"blur",rr,fr),rr.state.focused=!1,ie(rr.display.wrapper,"CodeMirror-focused")),clearInterval(rr.display.blinker),setTimeout(function(){rr.state.focused||(rr.display.shift=!1)},150))}function bo(rr){for(var fr=rr.display,vr=fr.lineDiv.offsetTop,Er=Math.max(0,fr.scroller.getBoundingClientRect().top),Cr=fr.lineDiv.getBoundingClientRect().top,Yr=0,Rn=0;Rn<fr.view.length;Rn++){var mi=fr.view[Rn],Ui=rr.options.lineWrapping,Aa=void 0,No=0;if(!mi.hidden){if(Cr+=mi.line.height,V&&z<8){var Cs=mi.node.offsetTop+mi.node.offsetHeight;Aa=Cs-vr,vr=Cs}else{var Ns=mi.node.getBoundingClientRect();Aa=Ns.bottom-Ns.top,!Ui&&mi.text.firstChild&&(No=mi.text.firstChild.getBoundingClientRect().right-Ns.left-1)}var Bs=mi.line.height-Aa;if((Bs>.005||Bs<-.005)&&(Cr<Er&&(Yr-=Bs),Pu(mi.line,Aa),$o(mi.line),mi.rest))for(var pl=0;pl<mi.rest.length;pl++)$o(mi.rest[pl]);if(No>rr.display.sizerWidth){var Eu=Math.ceil(No/ih(rr.display));Eu>rr.display.maxLineLength&&(rr.display.maxLineLength=Eu,rr.display.maxLine=mi.line,rr.display.maxLineChanged=!0)}}}Math.abs(Yr)>2&&(fr.scroller.scrollTop+=Yr)}function $o(rr){if(rr.widgets)for(var fr=0;fr<rr.widgets.length;++fr){var vr=rr.widgets[fr],Er=vr.node.parentNode;Er&&(vr.height=Er.offsetHeight)}}function Jo(rr,fr,vr){var Er=vr&&vr.top!=null?Math.max(0,vr.top):rr.scroller.scrollTop;Er=Math.floor(Er-nh(rr));var Cr=vr&&vr.bottom!=null?vr.bottom:Er+rr.w
top: `+(fr.top-vr.viewOffset-nh(rr.display))+`px;
height: `+(fr.bottom-fr.top+kp(rr)+vr.barHeight)+`px;
left: `+fr.left+"px; width: "+Math.max(2,fr.right-fr.left)+"px;");rr.display.lineSpace.appendChild(Rn),Rn.scrollIntoView(Cr),rr.display.lineSpace.removeChild(Rn)}}}function us(rr,fr,vr,Er){Er==null&&(Er=0);var Cr;!rr.options.lineWrapping&&fr==vr&&(vr=fr.sticky=="before"?Vl(fr.line,fr.ch+1,"before"):fr,fr=fr.ch?Vl(fr.line,fr.sticky=="before"?fr.ch-1:fr.ch,"after"):fr);for(var Yr=0;Yr<5;Yr++){var Rn=!1,mi=vu(rr,fr),Ui=!vr||vr==fr?mi:vu(rr,vr);Cr={left:Math.min(mi.left,Ui.left),top:Math.min(mi.top,Ui.top)-Er,right:Math.max(mi.left,Ui.left),bottom:Math.max(mi.bottom,Ui.bottom)+Er};var Aa=os(rr,Cr),No=rr.doc.scrollTop,Cs=rr.doc.scrollLeft;if(Aa.scrollTop!=null&&(ms(rr,Aa.scrollTop),Math.abs(rr.doc.scrollTop-No)>1&&(Rn=!0)),Aa.scrollLeft!=null&&(Rs(rr,Aa.scrollLeft),Math.abs(rr.doc.scrollLeft-Cs)>1&&(Rn=!0)),!Rn)break}return Cr}function vo(rr,fr){var vr=os(rr,fr);vr.scrollTop!=null&&ms(rr,vr.scrollTop),vr.scrollLeft!=null&&Rs(rr,vr.scrollLeft)}function os(rr,fr){var vr=rr.display,Er=Cp(rr.display);fr.top<0&&(fr.top=0);var Cr=rr.curOp&&rr.curOp.scrollTop!=null?rr.curOp.scrollTop:vr.scroller.scrollTop,Yr=tm(rr),Rn={};fr.bottom-fr.top>Yr&&(fr.bottom=fr.top+Yr);var mi=rr.doc.height+Uh(vr),Ui=fr.top<Er,Aa=fr.bottom>mi-Er;if(fr.top<Cr)Rn.scrollTop=Ui?0:fr.top;else if(fr.bottom>Cr+Yr){var No=Math.min(fr.top,(Aa?mi:fr.bottom)-Yr);No!=Cr&&(Rn.scrollTop=No)}var Cs=rr.options.fixedGutter?0:vr.gutters.offsetWidth,Ns=rr.curOp&&rr.curOp.scrollLeft!=null?rr.curOp.scrollLeft:vr.scroller.scrollLeft-Cs,Bs=wh(rr)-vr.gutters.offsetWidth,pl=fr.right-fr.left>Bs;return pl&&(fr.right=fr.left+Bs),fr.left<10?Rn.scrollLeft=0:fr.left<Ns?Rn.scrollLeft=Math.max(0,fr.left+Cs-(pl?0:10)):fr.right>Bs+Ns-3&&(Rn.scrollLeft=fr.right+(pl?0:10)-Bs),Rn}function Os(rr,fr){fr!=null&&(Ys(rr),rr.curOp.scrollTop=(rr.curOp.scrollTop==null?rr.doc.scrollTop:rr.curOp.scrollTop)+fr)}function ws(rr){Ys(rr);var fr=rr.getCursor();rr.curOp.scrollToPos={from:fr,to:fr,margin:rr.options.cursorScrollMargin}}function Vs(rr,fr,vr){(fr!=null||vr!=null)&&Ys(rr),fr!=null&&(rr.curOp.scrollLeft=fr),vr!=null&&(rr.curOp.scrollTop=vr)}function al(rr,fr){Ys(rr),rr.curOp.scrollToPos=fr}function Ys(rr){var fr=rr.curOp.scrollToPos;if(fr){rr.curOp.scrollToPos=null;var vr=Mc(rr,fr.from),Er=Mc(rr,fr.to);Pl(rr,vr,Er,fr.margin)}}function Pl(rr,fr,vr,Er){var Cr=os(rr,{left:Math.min(fr.left,vr.left),top:Math.min(fr.top,vr.top)-Er,right:Math.max(fr.right,vr.right),bottom:Math.max(fr.bottom,vr.bottom)+Er});Vs(rr,Cr.scrollLeft,Cr.scrollTop)}function ms(rr,fr){Math.abs(rr.doc.scrollTop-fr)<2||($||Bc(rr,{top:fr}),Cl(rr,fr,!0),$&&Bc(rr),du(rr,100))}function Cl(rr,fr,vr){fr=Math.max(0,Math.min(rr.display.scroller.scrollHeight-rr.display.scroller.clientHeight,fr)),!(rr.display.scroller.scrollTop==fr&&!vr)&&(rr.doc.scrollTop=fr,rr.display.scrollbars.setScrollTop(fr),rr.display.scroller.scrollTop!=fr&&(rr.display.scroller.scrollTop=fr))}function Rs(rr,fr,vr,Er){fr=Math.max(0,Math.min(fr,rr.display.scroller.scrollWidth-rr.display.scroller.clientWidth)),!((vr?fr==rr.doc.scrollLeft:Math.abs(rr.doc.scrollLeft-fr)<2)&&!Er)&&(rr.doc.scrollLeft=fr,gf(rr),rr.display.scroller.scrollLeft!=fr&&(rr.display.scroller.scrollLeft=fr),rr.display.scrollbars.setScrollLeft(fr))}function Is(rr){var fr=rr.display,vr=fr.gutters.offsetWidth,Er=Math.round(rr.doc.height+Uh(rr.display));return{clientHeight:fr.scroller.clientHeight,viewHeight:fr.wrapper.clientHeight,scrollWidth:fr.scroller.scrollWidth,clientWidth:fr.scroller.clientWidth,viewWidth:fr.wrapper.clientWidth,barLeft:rr.options.fixedGutter?vr:0,docHeight:Er,scrollHeight:Er+kp(rr)+fr.barHeight,nativeBarWidth:fr.nativeBarWidth,gutterWidth:vr}}var $s=function(rr,fr,vr){this.cm=vr;var Er=this.vert=Ie("div",[Ie("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),Cr=this.horiz=Ie("div",[Ie("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");Er.tabIndex=Cr.tabIndex=-1,rr(Er),rr(Cr),zn(Er,"scroll",function(){Er.clientHeight&&fr(Er.scrollTop,"vertical")}),zn(Cr,"scroll",function(){Cr.clientWidth&&fr(Cr.scrollLeft,"horizontal")}),this.
`},setDirection:Ku(function(rr){rr!="rtl"&&(rr="ltr"),rr!=this.direction&&(this.direction=rr,this.iter(function(fr){return fr.order=null}),this.cm&&Dh(this.cm))})}),sf.prototype.eachLine=sf.prototype.iter;var $p=0;function fp(rr){var fr=this;if(Sf(fr),!(eo(fr,rr)||ip(fr.display,rr))){Ts(rr),V&&($p=+new Date);var vr=Zf(fr,rr,!0),Er=rr.dataTransfer.files;if(!(!vr||fr.isReadOnly()))if(Er&&Er.length&&window.FileReader&&window.File)for(var Cr=Er.length,Yr=Array(Cr),Rn=0,mi=function(){++Rn==Cr&&ju(fr,function(){vr=jc(fr.doc,vr);var Bs={from:vr,to:vr,text:fr.doc.splitLines(Yr.filter(function(pl){return pl!=null}).join(fr.doc.lineSeparator())),origin:"paste"};Kc(fr.doc,Bs),Ss(fr.doc,$f(jc(fr.doc,vr),jc(fr.doc,Kp(Bs))))})()},Ui=function(Bs,pl){if(fr.options.allowDropFileTypes&&Gr(fr.options.allowDropFileTypes,Bs.type)==-1){mi();return}var Eu=new FileReader;Eu.onerror=function(){return mi()},Eu.onload=function(){var kl=Eu.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(kl)){mi();return}Yr[pl]=kl,mi()},Eu.readAsText(Bs)},Aa=0;Aa<Er.length;Aa++)Ui(Er[Aa],Aa);else{if(fr.state.draggingText&&fr.doc.sel.contains(vr)>-1){fr.state.draggingText(rr),setTimeout(function(){return fr.display.input.focus()},20);return}try{var No=rr.dataTransfer.getData("Text");if(No){var Cs;if(fr.state.draggingText&&!fr.state.draggingText.copy&&(Cs=fr.listSelections()),Uo(fr.doc,$f(vr,vr)),Cs)for(var Ns=0;Ns<Cs.length;++Ns)Au(fr.doc,"",Cs[Ns].anchor,Cs[Ns].head,"drag");fr.replaceSelection(No,"around","paste"),fr.display.input.focus()}}catch{}}}}function Nf(rr,fr){if(V&&(!rr.state.draggingText||+new Date-$p<100)){uc(fr);return}if(!(eo(rr,fr)||ip(rr.display,fr))&&(fr.dataTransfer.setData("Text",rr.getSelection()),fr.dataTransfer.effectAllowed="copyMove",fr.dataTransfer.setDragImage&&!Ne)){var vr=Ie("img",null,null,"position: fixed; left: 0; top: 0;");vr.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",_e&&(vr.width=vr.height=1,rr.display.wrapper.appendChild(vr),vr._top=vr.offsetTop),fr.dataTransfer.setDragImage(vr,0,0),_e&&vr.parentNode.removeChild(vr)}}function ud(rr,fr){var vr=Zf(rr,fr);if(vr){var Er=document.createDocumentFragment();Vh(rr,vr,Er),rr.display.dragCursor||(rr.display.dragCursor=Ie("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),rr.display.lineSpace.insertBefore(rr.display.dragCursor,rr.display.cursorDiv)),Ce(rr.display.dragCursor,Er)}}function Sf(rr){rr.display.dragCursor&&(rr.display.lineSpace.removeChild(rr.display.dragCursor),rr.display.dragCursor=null)}function Mf(rr){if(document.getElementsByClassName){for(var fr=document.getElementsByClassName("CodeMirror"),vr=[],Er=0;Er<fr.length;Er++){var Cr=fr[Er].CodeMirror;Cr&&vr.push(Cr)}vr.length&&vr[0].operation(function(){for(var Yr=0;Yr<vr.length;Yr++)rr(vr[Yr])})}}var Af=!1;function u0(){Af||(g0(),Af=!0)}function g0(){var rr;zn(window,"resize",function(){rr==null&&(rr=setTimeout(function(){rr=null,Mf(C0)},100))}),zn(window,"blur",function(){return Mf(Go)})}function C0(rr){var fr=rr.display;fr.cachedCharWidth=fr.cachedTextHeight=fr.cachedPaddingH=null,fr.scrollbarsClipped=!1,rr.setSize()}for(var tp={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"},c0=0;c0<10;c0++)tp[c0+48]=tp[c0+96]=String(c0);for(var Xm=65;Xm<=90;Xm++)tp[Xm]=String.fromCharCode(Xm);for(var Jm=1;Jm<=12;Jm++)tp[Jm+111]=tp[Jm+63235]="F"+Jm;var vm={};vm.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"de
`,"start")},toggleOverwrite:function(rr){return rr.toggleOverwrite()}};function Kn(rr,fr){var vr=Bl(rr.doc,fr),Er=qd(vr);return Er!=vr&&(fr=Fn(Er)),Fi(!0,rr,Er,fr,1)}function On(rr,fr){var vr=Bl(rr.doc,fr),Er=Bh(vr);return Er!=vr&&(fr=Fn(Er)),Fi(!0,rr,vr,fr,-1)}function Un(rr,fr){var vr=Kn(rr,fr.line),Er=Bl(rr.doc,vr.line),Cr=ca(Er,rr.doc.direction);if(!Cr||Cr[0].level==0){var Yr=Math.max(vr.ch,Er.text.search(/\S/)),Rn=fr.line==vr.line&&fr.ch<=Yr&&fr.ch;return Vl(vr.line,Rn?0:Yr,vr.sticky)}return vr}function Hn(rr,fr,vr){if(typeof fr=="string"&&(fr=di[fr],!fr))return!1;rr.display.input.ensurePolled();var Er=rr.display.shift,Cr=!1;try{rr.isReadOnly()&&(rr.state.suppressEdits=!0),vr&&(rr.display.shift=!1),Cr=fr(rr)!=Dr}finally{rr.display.shift=Er,rr.state.suppressEdits=!1}return Cr}function ji(rr,fr,vr){for(var Er=0;Er<rr.state.keyMaps.length;Er++){var Cr=pp(fr,rr.state.keyMaps[Er],vr,rr);if(Cr)return Cr}return rr.options.extraKeys&&pp(fr,rr.options.extraKeys,vr,rr)||pp(fr,rr.options.keyMap,vr,rr)}var Wi=new Fr;function da(rr,fr,vr,Er){var Cr=rr.state.keySeq;if(Cr){if(_0(fr))return"handled";if(/\'$/.test(fr)?rr.state.keySeq=null:Wi.set(50,function(){rr.state.keySeq==Cr&&(rr.state.keySeq=null,rr.display.input.reset())}),sa(rr,Cr+" "+fr,vr,Er))return!0}return sa(rr,fr,vr,Er)}function sa(rr,fr,vr,Er){var Cr=ji(rr,fr,Er);return Cr=="multi"&&(rr.state.keySeq=fr),Cr=="handled"&&hf(rr,"keyHandled",rr,fr,vr),(Cr=="handled"||Cr=="multi")&&(Ts(vr),Ls(rr)),!!Cr}function fa(rr,fr){var vr=d0(fr,!0);return vr?fr.shiftKey&&!rr.state.keySeq?da(rr,"Shift-"+vr,fr,function(Er){return Hn(rr,Er,!0)})||da(rr,vr,fr,function(Er){if(typeof Er=="string"?/^go[A-Z]/.test(Er):Er.motion)return Hn(rr,Er)}):da(rr,vr,fr,function(Er){return Hn(rr,Er)}):!1}function zi(rr,fr,vr){return da(rr,"'"+vr+"'",fr,function(Er){return Hn(rr,Er,!0)})}var ta=null;function va(rr){var fr=this;if(!(rr.target&&rr.target!=fr.display.input.getField())&&(fr.curOp.focus=kt(yr(fr)),!eo(fr,rr))){V&&z<11&&rr.keyCode==27&&(rr.returnValue=!1);var vr=rr.keyCode;fr.display.shift=vr==16||rr.shiftKey;var Er=fa(fr,rr);_e&&(ta=Er?vr:null,!Er&&vr==88&&!En&&(er?rr.metaKey:rr.ctrlKey)&&fr.replaceSelection("",null,"cut")),$&&!er&&!Er&&vr==46&&rr.shiftKey&&!rr.ctrlKey&&document.execCommand&&document.execCommand("cut"),vr==18&&!/\bCodeMirror-crosshair\b/.test(fr.display.lineDiv.className)&&qa(fr)}}function qa(rr){var fr=rr.display.lineDiv;he(fr,"CodeMirror-crosshair");function vr(Er){(Er.keyCode==18||!Er.altKey)&&(ie(fr,"CodeMirror-crosshair"),Ra(document,"keyup",vr),Ra(document,"mouseover",vr))}zn(document,"keyup",vr),zn(document,"mouseover",vr)}function Xa(rr){rr.keyCode==16&&(this.doc.sel.shift=!1),eo(this,rr)}function Ta(rr){var fr=this;if(!(rr.target&&rr.target!=fr.display.input.getField())&&!(ip(fr.display,rr)||eo(fr,rr)||rr.ctrlKey&&!rr.altKey||er&&rr.metaKey)){var vr=rr.keyCode,Er=rr.charCode;if(_e&&vr==ta){ta=null,Ts(rr);return}if(!(_e&&(!rr.which||rr.which<10)&&fa(fr,rr))){var Cr=String.fromCharCode(Er??vr);Cr!="\b"&&(zi(fr,rr,Cr)||fr.display.input.onKeyPress(rr))}}}var Qa=400,Ia=function(rr,fr,vr){this.time=rr,this.pos=fr,this.button=vr};Ia.prototype.compare=function(rr,fr,vr){return this.time+Qa>rr&&cc(fr,this.pos)==0&&vr==this.button};var io,Ja;function hs(rr,fr){var vr=+new Date;return Ja&&Ja.compare(vr,rr,fr)?(io=Ja=null,"triple"):io&&io.compare(vr,rr,fr)?(Ja=new Ia(vr,rr,fr),io=null,"double"):(io=new Ia(vr,rr,fr),Ja=null,"single")}function na(rr){var fr=this,vr=fr.display;if(!(eo(fr,rr)||vr.activeTouch&&vr.input.supportsTouch())){if(vr.input.ensurePolled(),vr.shift=rr.shiftKey,ip(vr,rr)){re||(vr.scroller.draggable=!1,setTimeout(function(){return vr.scroller.draggable=!0},100));return}if(!Ha(fr,rr)){var Er=Zf(fr,rr),Cr=il(rr),Yr=Er?hs(Er,Cr):"single";Nr(fr).focus(),Cr==1&&fr.state.selectingText&&fr.state.selectingText(rr),!(Er&&ka(fr,Cr,Er,Yr,rr))&&(Cr==1?Er?ma(fr,Er,Yr,rr):rl(rr)==vr.scroller&&Ts(rr):Cr==2?(Er&&Ln(fr.doc,Er),setTimeout(function(){return vr.input.focus()},20)):Cr==3&&(lr?fr.display.input.onContextMenu(rr):Po(fr)))}}}function ka(rr,fr,vr,Er,Cr){var Yr="Click";ret
`)==fr){if(Er.ranges.length%ss.text.length==0){Aa=[];for(var No=0;No<ss.text.length;No++)Aa.push(Yr.splitLines(ss.text[No]))}}else Ui.length==Er.ranges.length&&rr.options.pasteLinesPerSelection&&(Aa=Kr(Ui,function(Cu){return[Cu]}));for(var Cs=rr.curOp.updateInput,Ns=Er.ranges.length-1;Ns>=0;Ns--){var Bs=Er.ranges[Ns],pl=Bs.from(),Eu=Bs.to();Bs.empty()&&(vr&&vr>0?pl=Vl(pl.line,pl.ch-vr):rr.state.overwrite&&!mi?Eu=Vl(Eu.line,Math.min(Bl(Yr,Eu.line).text.length,Eu.ch+vn(Ui).length)):mi&&ss&&ss.lineWise&&ss.text.join(`
`)==Ui.join(`
`)&&(pl=Eu=Vl(pl.line,0)));var kl={from:pl,to:Eu,text:Aa?Aa[Ns%Aa.length]:Ui,origin:Cr||(mi?"paste":rr.state.cutIncoming>Rn?"cut":"+input")};Kc(rr.doc,kl),hf(rr,"inputRead",rr,kl)}fr&&!mi&&Wu(rr,fr),ws(rr),rr.curOp.updateInput<2&&(rr.curOp.updateInput=Cs),rr.curOp.typing=!0,rr.state.pasteIncoming=rr.state.cutIncoming=-1}function Dl(rr,fr){var vr=rr.clipboardData&&rr.clipboardData.getData("Text");if(vr)return rr.preventDefault(),!fr.isReadOnly()&&!fr.options.disableInput&&fr.hasFocus()&&Ic(fr,function(){return jl(fr,vr,0,null,"paste")}),!0}function Wu(rr,fr){if(!(!rr.options.electricChars||!rr.options.smartIndent))for(var vr=rr.doc.sel,Er=vr.ranges.length-1;Er>=0;Er--){var Cr=vr.ranges[Er];if(!(Cr.head.ch>100||Er&&vr.ranges[Er-1].head.line==Cr.head.line)){var Yr=rr.getModeAt(Cr.head),Rn=!1;if(Yr.electricChars){for(var mi=0;mi<Yr.electricChars.length;mi++)if(fr.indexOf(Yr.electricChars.charAt(mi))>-1){Rn=Ul(rr,Cr.head.line,"smart");break}}else Yr.electricInput&&Yr.electricInput.test(Bl(rr.doc,Cr.head.line).text.slice(0,Cr.head.ch))&&(Rn=Ul(rr,Cr.head.line,"smart"));Rn&&hf(rr,"electricInput",rr,Cr.head.line)}}}function Fs(rr){for(var fr=[],vr=[],Er=0;Er<rr.doc.sel.ranges.length;Er++){var Cr=rr.doc.sel.ranges[Er].head.line,Yr={anchor:Vl(Cr,0),head:Vl(Cr+1,0)};vr.push(Yr),fr.push(rr.getRange(Yr.anchor,Yr.head))}return{text:fr,ranges:vr}}function xs(rr,fr,vr,Er){rr.setAttribute("autocorrect",vr?"on":"off"),rr.setAttribute("autocapitalize",Er?"on":"off"),rr.setAttribute("spellcheck",!!fr)}function Js(){var rr=Ie("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),fr=Ie("div",[rr],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return re?rr.style.width="1000px":rr.setAttribute("wrap","off"),Ve&&(rr.style.border="1px solid black"),fr}function ol(rr){var fr=rr.optionHandlers,vr=rr.helpers={};rr.prototype={constructor:rr,focus:function(){Nr(this).focus(),this.display.input.focus()},setOption:function(Er,Cr){var Yr=this.options,Rn=Yr[Er];Yr[Er]==Cr&&Er!="mode"||(Yr[Er]=Cr,fr.hasOwnProperty(Er)&&ju(this,fr[Er])(this,Cr,Rn),_o(this,"optionChange",this,Er))},getOption:function(Er){return this.options[Er]},getDoc:function(){return this.doc},addKeyMap:function(Er,Cr){this.state.keyMaps[Cr?"push":"unshift"](f0(Er))},removeKeyMap:function(Er){for(var Cr=this.state.keyMaps,Yr=0;Yr<Cr.length;++Yr)if(Cr[Yr]==Er||Cr[Yr].name==Er)return Cr.splice(Yr,1),!0},addOverlay:bu(function(Er,Cr){var Yr=Er.token?Er:rr.getMode(this.options,Er);if(Yr.startState)throw new Error("Overlays may not be stateful.");kr(this.state.overlays,{mode:Yr,modeSpec:Er,opaque:Cr&&Cr.opaque,priority:Cr&&Cr.priority||0},function(Rn){return Rn.priority}),this.state.modeGen++,jf(this)}),removeOverlay:bu(function(Er){for(var Cr=this.state.overlays,Yr=0;Yr<Cr.length;++Yr){var Rn=Cr[Yr].modeSpec;if(Rn==Er||typeof Er=="string"&&Rn.name==Er){Cr.splice(Yr,1),this.state.modeGen++,jf(this);return}}}),indentLine:bu(function(Er,Cr,Yr){typeof Cr!="string"&&typeof Cr!="number"&&(Cr==null?Cr=this.options.smartIndent?"smart":"prev":Cr=Cr?"add":"subtract"),pu(this.doc,Er)&&Ul(this,Er,Cr,Yr)}),indentSelection:bu(function(Er){for(var Cr=this.doc.sel.ranges,Yr=-1,Rn=0;Rn<Cr.length;Rn++){var mi=Cr[Rn];if(mi.empty())mi.head.line>Yr&&(Ul(this,mi.head.line,Er,!0),Yr=mi.head.line,Rn==this.doc.sel.primIndex&&ws(this));else{var Ui=mi.from(),Aa=mi.to(),No=Math.max(Yr,Ui.line);Yr=Math.min(this.lastLine(),Aa.line-(Aa.ch?0:1))+1;for(var Cs=No;Cs<Yr;++Cs)Ul(this,Cs,Er);var Ns=this.doc.sel.ranges;Ui.ch==0&&Cr.length==Ns.length&&Ns[Rn].from().ch>0&&Na(this.doc,Rn,new ld(Ui,Ns[Rn].to()),Ir)}}}),getTokenAt:function(Er,Cr){return Ip(this,Er,Cr)},getLineTokens:function(Er,Cr){return Ip(this,Vl(Er),Cr,!0)},getTokenTypeAt:function(Er){Er=jc(this.doc,Er);var Cr=Pp(this,Bl(this.doc,Er.line)),Yr=0,Rn=(Cr.length-1)/2,mi=Er.ch,Ui;if(mi==0)Ui=Cr[2];else for(;;){var Aa=Yr+Rn>>1;if((Aa?Cr[Aa*2-1]:0)>=mi)Rn=Aa;else if(Cr[Aa*2+1]<mi)Yr=Aa+1;else{Ui=Cr[Aa*2+2];break}}var No=Ui?Ui.indexOf("overlay "):-1;return No<0?Ui:No==0?null:U
`,kl=oa(Eu,Bs)?"w":Ns&&Eu==`
`?"n":!Ns||/\s/.test(Eu)?null:"p";if(Ns&&!pl&&!kl&&(kl="s"),Cs&&Cs!=kl){vr<0&&(vr=1,No(),fr.sticky="after");break}if(kl&&(Cs=kl),vr>0&&!No(!pl))break}var Cu=pc(rr,fr,Yr,Rn,!0);return Lc(Yr,Cu)&&(Cu.hitSide=!0),Cu}function xu(rr,fr,vr,Er){var Cr=rr.doc,Yr=fr.left,Rn;if(Er=="page"){var mi=Math.min(rr.display.wrapper.clientHeight,Nr(rr).innerHeight||Cr(rr).documentElement.clientHeight),Ui=Math.max(mi-.5*Cp(rr.display),3);Rn=(vr>0?fr.bottom:fr.top)+vr*Ui}else Er=="line"&&(Rn=vr>0?fr.bottom+3:fr.top-3);for(var Aa;Aa=kd(rr,Yr,Rn),!!Aa.outside;){if(vr<0?Rn<=0:Rn>=Cr.height){Aa.hitSide=!0;break}Rn+=vr*5}return Aa}var yu=function(rr){this.cm=rr,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Fr,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};yu.prototype.init=function(rr){var fr=this,vr=this,Er=vr.cm,Cr=vr.div=rr.lineDiv;Cr.contentEditable=!0,xs(Cr,Er.options.spellcheck,Er.options.autocorrect,Er.options.autocapitalize);function Yr(mi){for(var Ui=mi.target;Ui;Ui=Ui.parentNode){if(Ui==Cr)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Ui.className))break}return!1}zn(Cr,"paste",function(mi){!Yr(mi)||eo(Er,mi)||Dl(mi,Er)||z<=11&&setTimeout(ju(Er,function(){return fr.updateFromDOM()}),20)}),zn(Cr,"compositionstart",function(mi){fr.composing={data:mi.data,done:!1}}),zn(Cr,"compositionupdate",function(mi){fr.composing||(fr.composing={data:mi.data,done:!1})}),zn(Cr,"compositionend",function(mi){fr.composing&&(mi.data!=fr.composing.data&&fr.readFromDOMSoon(),fr.composing.done=!0)}),zn(Cr,"touchstart",function(){return vr.forceCompositionEnd()}),zn(Cr,"input",function(){fr.composing||fr.readFromDOMSoon()});function Rn(mi){if(!(!Yr(mi)||eo(Er,mi))){if(Er.somethingSelected())Ps({lineWise:!1,text:Er.getSelections()}),mi.type=="cut"&&Er.replaceSelection("",null,"cut");else if(Er.options.lineWiseCopyCut){var Ui=Fs(Er);Ps({lineWise:!0,text:Ui.text}),mi.type=="cut"&&Er.operation(function(){Er.setSelections(Ui.ranges,0,Ir),Er.replaceSelection("",null,"cut")})}else return;if(mi.clipboardData){mi.clipboardData.clearData();var Aa=ss.text.join(`
`);if(mi.clipboardData.setData("Text",Aa),mi.clipboardData.getData("Text")==Aa){mi.preventDefault();return}}var No=Js(),Cs=No.firstChild;xs(Cs),Er.display.lineSpace.insertBefore(No,Er.display.lineSpace.firstChild),Cs.value=ss.text.join(`
`);var Ns=kt(xr(Cr));gr(Cs),setTimeout(function(){Er.display.lineSpace.removeChild(No),Ns.focus(),Ns==Cr&&vr.showPrimarySelection()},50)}}zn(Cr,"copy",Rn),zn(Cr,"cut",Rn)},yu.prototype.screenReaderLabelChanged=function(rr){rr?this.div.setAttribute("aria-label",rr):this.div.removeAttribute("aria-label")},yu.prototype.prepareSelection=function(){var rr=im(this.cm,!1);return rr.focus=kt(xr(this.div))==this.div,rr},yu.prototype.showSelection=function(rr,fr){!rr||!this.cm.display.view.length||((rr.focus||fr)&&this.showPrimarySelection(),this.showMultipleSelections(rr))},yu.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},yu.prototype.showPrimarySelection=function(){var rr=this.getSelection(),fr=this.cm,vr=fr.doc.sel.primary(),Er=vr.from(),Cr=vr.to();if(fr.display.viewTo==fr.display.viewFrom||Er.line>=fr.display.viewTo||Cr.line<fr.display.viewFrom){rr.removeAllRanges();return}var Yr=bc(fr,rr.anchorNode,rr.anchorOffset),Rn=bc(fr,rr.focusNode,rr.focusOffset);if(!(Yr&&!Yr.bad&&Rn&&!Rn.bad&&cc(Tf(Yr,Rn),Er)==0&&cc(Nd(Yr,Rn),Cr)==0)){var mi=fr.display.view,Ui=Er.line>=fr.display.viewFrom&&vc(fr,Er)||{node:mi[0].measure.map[2],offset:0},Aa=Cr.line<fr.display.viewTo&&vc(fr,Cr);if(!Aa){var No=mi[mi.length-1].measure,Cs=No.maps?No.maps[No.maps.length-1]:No.map;Aa={node:Cs[Cs.length-1],offset:Cs[Cs.length-2]-Cs[Cs.length-3]}}if(!Ui||!Aa){rr.removeAllRanges();return}var Ns=rr.rangeCount&&rr.getRangeAt(0),Bs;try{Bs=ar(Ui.node,Ui.offset,Aa.offset,Aa.node)}catch{}Bs&&(!$&&fr.state.focused?(rr.collapse(Ui.node,Ui.offset),Bs.collapsed||(rr.removeAllRanges(),rr.addRange(Bs))):(rr.removeAllRanges(),rr.addRange(Bs)),Ns&&rr.anchorNode==null?rr.addRange(Ns):$&&this.startGracePeriod()),this.rememberSelection()}},yu.prototype.startGracePeriod=function(){var rr=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){rr.gracePeriod=!1,rr.selectionChanged()&&rr.cm.operation(function(){return rr.cm.curOp.selectionChanged=!0})},20)},yu.prototype.showMultipleSelections=function(rr){Ce(this.cm.display.cursorDiv,rr.cursors),Ce(this.cm.display.selectionDiv,rr.selection)},yu.prototype.rememberSelection=function(){var rr=this.getSelection();this.lastAnchorNode=rr.anchorNode,this.lastAnchorOffset=rr.anchorOffset,this.lastFocusNode=rr.focusNode,this.lastFocusOffset=rr.focusOffset},yu.prototype.selectionInEditor=function(){var rr=this.getSelection();if(!rr.rangeCount)return!1;var fr=rr.getRangeAt(0).commonAncestorContainer;return ur(this.div,fr)},yu.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||kt(xr(this.div))!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},yu.prototype.blur=function(){this.div.blur()},yu.prototype.getField=function(){return this.div},yu.prototype.supportsTouch=function(){return!0},yu.prototype.receivedFocus=function(){var rr=this,fr=this;this.selectionInEditor()?setTimeout(function(){return rr.pollSelection()},20):Ic(this.cm,function(){return fr.cm.curOp.selectionChanged=!0});function vr(){fr.cm.state.focused&&(fr.pollSelection(),fr.polling.set(fr.cm.options.pollInterval,vr))}this.polling.set(this.cm.options.pollInterval,vr)},yu.prototype.selectionChanged=function(){var rr=this.getSelection();return rr.anchorNode!=this.lastAnchorNode||rr.anchorOffset!=this.lastAnchorOffset||rr.focusNode!=this.lastFocusNode||rr.focusOffset!=this.lastFocusOffset},yu.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var rr=this.getSelection(),fr=this.cm;if(Fe&&ue&&this.cm.display.gutterSpecs.length&&hd(rr.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var vr=bc(fr,rr.anchorNode,rr.anchorOffset),Er=bc(fr,rr.focusNode,rr.focusOffset);vr&&Er&&Ic(fr,function(){_s(fr.doc,$f(vr,Er),Ir),(vr.bad||Er.bad)&&(fr.curOp.selectionChanged=!0)})}}},yu.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTim
`),gr(Cr))}else return;Rn.type=="cut"&&(Er.state.cutIncoming=+new Date)}}zn(Cr,"cut",Yr),zn(Cr,"copy",Yr),zn(rr.scroller,"paste",function(Rn){if(!(ip(rr,Rn)||eo(Er,Rn))){if(!Cr.dispatchEvent){Er.state.pasteIncoming=+new Date,vr.focus();return}var mi=new Event("paste");mi.clipboardData=Rn.clipboardData,Cr.dispatchEvent(mi)}}),zn(rr.lineSpace,"selectstart",function(Rn){ip(rr,Rn)||Ts(Rn)}),zn(Cr,"compositionstart",function(){var Rn=Er.getCursor("from");vr.composing&&vr.composing.range.clear(),vr.composing={start:Rn,range:Er.markText(Rn,Er.getCursor("to"),{className:"CodeMirror-composing"})}}),zn(Cr,"compositionend",function(){vr.composing&&(vr.poll(),vr.composing.range.clear(),vr.composing=null)})},ds.prototype.createField=function(rr){this.wrapper=Js(),this.textarea=this.wrapper.firstChild;var fr=this.cm.options;xs(this.textarea,fr.spellcheck,fr.autocorrect,fr.autocapitalize)},ds.prototype.screenReaderLabelChanged=function(rr){rr?this.textarea.setAttribute("aria-label",rr):this.textarea.removeAttribute("aria-label")},ds.prototype.prepareSelection=function(){var rr=this.cm,fr=rr.display,vr=rr.doc,Er=im(rr);if(rr.options.moveInputWithCursor){var Cr=vu(rr,vr.sel.primary().head,"div"),Yr=fr.wrapper.getBoundingClientRect(),Rn=fr.lineDiv.getBoundingClientRect();Er.teTop=Math.max(0,Math.min(fr.wrapper.clientHeight-10,Cr.top+Rn.top-Yr.top)),Er.teLeft=Math.max(0,Math.min(fr.wrapper.clientWidth-10,Cr.left+Rn.left-Yr.left))}return Er},ds.prototype.showSelection=function(rr){var fr=this.cm,vr=fr.display;Ce(vr.cursorDiv,rr.cursors),Ce(vr.selectionDiv,rr.selection),rr.teTop!=null&&(this.wrapper.style.top=rr.teTop+"px",this.wrapper.style.left=rr.teLeft+"px")},ds.prototype.reset=function(rr){if(!(this.contextMenuPending||this.composing&&rr)){var fr=this.cm;if(this.resetting=!0,fr.somethingSelected()){this.prevInput="";var vr=fr.getSelection();this.textarea.value=vr,fr.state.focused&&gr(this.textarea),V&&z>=9&&(this.hasSelection=vr)}else rr||(this.prevInput=this.textarea.value="",V&&z>=9&&(this.hasSelection=null));this.resetting=!1}},ds.prototype.getField=function(){return this.textarea},ds.prototype.supportsTouch=function(){return!1},ds.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!qe||kt(xr(this.textarea))!=this.textarea))try{this.textarea.focus()}catch{}},ds.prototype.blur=function(){this.textarea.blur()},ds.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},ds.prototype.receivedFocus=function(){this.slowPoll()},ds.prototype.slowPoll=function(){var rr=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){rr.poll(),rr.cm.state.focused&&rr.slowPoll()})},ds.prototype.fastPoll=function(){var rr=!1,fr=this;fr.pollingFast=!0;function vr(){var Er=fr.poll();!Er&&!rr?(rr=!0,fr.polling.set(60,vr)):(fr.pollingFast=!1,fr.slowPoll())}fr.polling.set(20,vr)},ds.prototype.poll=function(){var rr=this,fr=this.cm,vr=this.textarea,Er=this.prevInput;if(this.contextMenuPending||this.resetting||!fr.state.focused||ui(vr)&&!Er&&!this.composing||fr.isReadOnly()||fr.options.disableInput||fr.state.keySeq)return!1;var Cr=vr.value;if(Cr==Er&&!fr.somethingSelected())return!1;if(V&&z>=9&&this.hasSelection===Cr||er&&/[\uf700-\uf7ff]/.test(Cr))return fr.display.input.reset(),!1;if(fr.doc.sel==fr.display.selForContextMenu){var Yr=Cr.charCodeAt(0);if(Yr==8203&&!Er&&(Er=""),Yr==8666)return this.reset(),this.cm.execCommand("undo")}for(var Rn=0,mi=Math.min(Er.length,Cr.length);Rn<mi&&Er.charCodeAt(Rn)==Cr.charCodeAt(Rn);)++Rn;return Ic(fr,function(){jl(fr,Cr.slice(Rn),Er.length-Rn,null,rr.composing?"*compose":null),Cr.length>1e3||Cr.indexOf(`
`)>-1?vr.value=rr.prevInput="":rr.prevInput=Cr,rr.composing&&(rr.composing.range.clear(),rr.composing.range=fr.markText(rr.composing.start,fr.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},ds.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},ds.prototype.onKeyPress=function(){V&&z>=9&&(this.hasSelection=null),this.fastPoll()},ds.prototype.onContextMenu=function(rr){var fr=this,vr=fr.cm,Er=vr.display,Cr=fr.textarea;fr.contextMenuPending&&fr.contextMenuPending();var Yr=Zf(vr,rr),Rn=Er.scroller.scrollTop;if(!Yr||_e)return;var mi=vr.options.resetSelectionOnContextMenu;mi&&vr.doc.sel.contains(Yr)==-1&&ju(vr,_s)(vr.doc,$f(Yr),Ir);var Ui=Cr.style.cssText,Aa=fr.wrapper.style.cssText,No=fr.wrapper.offsetParent.getBoundingClientRect();fr.wrapper.style.cssText="position: static",Cr.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(rr.clientY-No.top-5)+"px; left: "+(rr.clientX-No.left-5)+`px;
z-index: 1000; background: `+(V?"rgba(255, 255, 255, .05)":"transparent")+`;
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Cs;re&&(Cs=Cr.ownerDocument.defaultView.scrollY),Er.input.focus(),re&&Cr.ownerDocument.defaultView.scrollTo(null,Cs),Er.input.reset(),vr.somethingSelected()||(Cr.value=fr.prevInput=" "),fr.contextMenuPending=Bs,Er.selForContextMenu=vr.doc.sel,clearTimeout(Er.detectingSelectAll);function Ns(){if(Cr.selectionStart!=null){var Eu=vr.somethingSelected(),kl=""+(Eu?Cr.value:"");Cr.value="⇚",Cr.value=kl,fr.prevInput=Eu?"":"",Cr.selectionStart=1,Cr.selectionEnd=kl.length,Er.selForContextMenu=vr.doc.sel}}function Bs(){if(fr.contextMenuPending==Bs&&(fr.contextMenuPending=!1,fr.wrapper.style.cssText=Aa,Cr.style.cssText=Ui,V&&z<9&&Er.scrollbars.setScrollTop(Er.scroller.scrollTop=Rn),Cr.selectionStart!=null)){(!V||V&&z<9)&&Ns();var Eu=0,kl=function(){Er.selForContextMenu==vr.doc.sel&&Cr.selectionStart==0&&Cr.selectionEnd>0&&fr.prevInput==""?ju(vr,Vc)(vr):Eu++<10?Er.detectingSelectAll=setTimeout(kl,500):(Er.selForContextMenu=null,Er.input.reset())};Er.detectingSelectAll=setTimeout(kl,200)}}if(V&&z>=9&&Ns(),lr){uc(rr);var pl=function(){Ra(window,"mouseup",pl),setTimeout(Bs,20)};zn(window,"mouseup",pl)}else setTimeout(Bs,50)},ds.prototype.readOnlyChanged=function(rr){rr||this.reset(),this.textarea.disabled=rr=="nocursor",this.textarea.readOnly=!!rr},ds.prototype.setUneditable=function(){},ds.prototype.needsContentAttribute=!1;function Hl(rr,fr){if(fr=fr?Sr(fr):{},fr.value=rr.value,!fr.tabindex&&rr.tabIndex&&(fr.tabindex=rr.tabIndex),!fr.placeholder&&rr.placeholder&&(fr.placeholder=rr.placeholder),fr.autofocus==null){var vr=kt(xr(rr));fr.autofocus=vr==rr||rr.getAttribute("autofocus")!=null&&vr==document.body}function Er(){rr.value=mi.getValue()}var Cr;if(rr.form&&(zn(rr.form,"submit",Er),!fr.leaveSubmitMethodAlone)){var Yr=rr.form;Cr=Yr.submit;try{var Rn=Yr.submit=function(){Er(),Yr.submit=Cr,Yr.submit(),Yr.submit=Rn}}catch{}}fr.finishInit=function(Ui){Ui.save=Er,Ui.getTextArea=function(){return rr},Ui.toTextArea=function(){Ui.toTextArea=isNaN,Er(),rr.parentNode.removeChild(Ui.getWrapperElement()),rr.style.display="",rr.form&&(Ra(rr.form,"submit",Er),!fr.leaveSubmitMethodAlone&&typeof rr.form.submit=="function"&&(rr.form.submit=Cr))}},rr.style.display="none";var mi=Ms(function(Ui){return rr.parentNode.insertBefore(Ui,rr.nextSibling)},fr);return mi}function Us(rr){rr.off=Ra,rr.on=zn,rr.wheelEventPixels=yf,rr.Doc=sf,rr.splitLines=Hr,rr.countColumn=Ar,rr.findColumn=Lr,rr.isWordChar=To,rr.Pass=Dr,rr.signal=_o,rr.Line=Mi,rr.changeEnd=Kp,rr.scrollbarModel=Bu,rr.Pos=Vl,rr.cmpPos=cc,rr.modes=Ki,rr.mimeModes=Ea,rr.resolveMode=Eo,rr.getMode=Vo,rr.modeExtensions=vs,rr.extendMode=kn,rr.copyState=qo,rr.startState=Mo,rr.innerMode=Zl,rr.commands=di,rr.keyMap=vm,rr.keyName=d0,rr.isModifierKey=_0,rr.lookupKey=pp,rr.normalizeKeyMap=Rh,rr.StringStream=_u,rr.SharedTextMarker=hc,rr.TextMarker=fu,rr.LineWidget=Xc,rr.e_preventDefault=Ts,rr.e_stopPropagation=js,rr.e_stop=uc,rr.addClass=he,rr.contains=ur,rr.rmClass=ie,rr.keyNames=tp}Ws(Ms),ol(Ms);var $l="iter insert remove copy getEditor constructor".split(" ");for(var fc in sf.prototype)sf.prototype.hasOwnProperty(fc)&&Gr($l,fc)<0&&(Ms.prototype[fc]=function(rr){return function(){return rr.apply(this.doc,arguments)}}(sf.prototype[fc]));return Hs(sf),Ms.inputStyles={textarea:ds,contenteditable:yu},Ms.defineMode=function(rr){!Ms.defaults.mode&&rr!="null"&&(Ms.defaults.mode=rr),aa.apply(this,arguments)},Ms.defineMIME=Qo,Ms.defineMode("null",function(){return{token:function(rr){return rr.skipToEnd()}}}),Ms.defineMIME("text/plain","null"),Ms.defineExtension=function(rr,fr){Ms.prototype[rr]=fr},Ms.defineDocExtension=function(rr,fr){sf.prototype[rr]=fr},Ms.fromTextArea=Hl,Us(Ms),Ms.version="5.65.17",Ms})}(codemirror)),codemirror.exports}var codemirrorExports=requireCodemirror();const CodeMirror=getDefaultExportFromCjs(codemirrorExports);function tryOnScopeDispose$1(e){return getCurrentScope()?(onScopeDispose(e),!0):!1}function toValue$2(e){return typeof e=="function"?e():unref(e)}const isClien
(?:
(?:`+n+":){7}(?:"+n+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
(?:`+n+":){6}(?:"+y+"|:"+n+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
(?:`+n+":){5}(?::"+y+"|(?::"+n+`){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
(?:`+n+":){4}(?:(?::"+n+"){0,1}:"+y+"|(?::"+n+`){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
(?:`+n+":){3}(?:(?::"+n+"){0,2}:"+y+"|(?::"+n+`){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
(?:`+n+":){2}(?:(?::"+n+"){0,3}:"+y+"|(?::"+n+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
(?:`+n+":){1}(?:(?::"+n+"){0,4}:"+y+"|(?::"+n+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
(?::(?:(?::`+n+"){0,5}:"+y+"|(?::"+n+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),k=new RegExp("(?:^"+y+"$)|(?:^"+$+"$)"),L=new RegExp("^"+y+"$"),j=new RegExp("^"+$+"$"),V=function(qe){return qe&&qe.exact?k:new RegExp("(?:"+t(qe)+y+t(qe)+")|(?:"+t(qe)+$+t(qe)+")","g")};V.v4=function(Fe){return Fe&&Fe.exact?L:new RegExp(""+t(Fe)+y+t(Fe),"g")},V.v6=function(Fe){return Fe&&Fe.exact?j:new RegExp(""+t(Fe)+$+t(Fe),"g")};var z="(?:(?:[a-z]+:)?//)",re="(?:\\S+(?::\\S*)?@)?",oe=V.v4().source,ue=V.v6().source,de="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",_e="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",Ne="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",Ue="(?::\\d{2,5})?",$e='(?:[/?#][^\\s"]*)?',Ve="(?:"+z+"|www\\.)"+re+"(?:localhost|"+oe+"|"+ue+"|"+de+_e+Ne+")"+Ue+$e;return urlReg=new RegExp("(?:^"+Ve+"$)","i"),urlReg},pattern$2={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},types$2={integer:function(t){return types$2.number(t)&&parseInt(t,10)===t},float:function(t){return types$2.number(t)&&!types$2.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!types$2.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(pattern$2.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(getUrlRegex())},hex:function(t){return typeof t=="string"&&!!t.match(pattern$2.hex)}},type$1=function(t,y,n,$,k){if(t.required&&y===void 0){required$1(t,y,n,$,k);return}var L=["integer","float","array","regexp","object","method","email","number","date","url","hex"],j=t.type;L.indexOf(j)>-1?types$2[j](y)||$.push(format$1(k.messages.types[j],t.fullField,t.type)):j&&typeof y!==t.type&&$.push(format$1(k.messages.types[j],t.fullField,t.type))},range$4=function(t,y,n,$,k){var L=typeof t.len=="number",j=typeof t.min=="number",V=typeof t.max=="number",z=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,re=y,oe=null,ue=typeof y=="number",de=typeof y=="string",_e=Array.isArray(y);if(ue?oe="number":de?oe="string":_e&&(oe="array"),!oe)return!1;_e&&(re=y.length),de&&(re=y.replace(z,"_").length),L?re!==t.len&&$.push(format$1(k.messages[oe].len,t.fullField,t.len)):j&&!V&&re<t.min?$.push(format$1(k.messages[oe].min,t.fullField,t.min)):V&&!j&&re>t.max?$.push(format$1(k.messages[oe].max,t.fullField,t.max)):j&&V&&(re<t.min||re>t.max)&&$.push(format$1(k.messages[oe].range,t.fullField,t.min,t.max))},ENUM$1="enum",enumerable$1=function(t,y,n,$,k){t[ENUM$1]=Array.isArray(t[ENUM$1])?t[ENUM$1]:[],t[ENUM$1].indexOf(y)===-1&&$.push(format$1(k.messages[ENUM$1],t.fullField,t[ENUM$1].join(", ")))},pattern$1=function(t,y,n,$,k){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(y)||$.push(format$1(k.messages.pattern.mismatch,t.fullField,y,t.pattern));else if(typeof t.pattern=="string"){var L=new RegExp(t.pattern);L.test(y)||$.push(format$1(k.messages.pattern.mismatch,t.fullField,y,t.pattern))}}},rules={required:required$1,whitespace,type:type$1,range:range$4,enum:enumerable$1,pattern:pattern$1},string=function(t,y,n,$,k){var L=[],j=t.required||!t.required&&$.hasOwnProperty(t.field);if(j){if(isEmptyValue(y,"string")&&!t.required)return n();rules.required(t,y,$,L,k,"string"),isEmptyValue(y,"string")||(rules.type(t,y,$,L,k),rules.range(t,y,$,L,k),rules.pattern(t,y,$,L,k),t.whitespace===!0&&rules.whitespace(t,y,$,L,k))}n(L)},method2=function(t,y,n,$,k){var L=[],j=t.required||!t.required&&$.hasOwnProperty(t.field);if(j){if(isEmptyValue(y)&&!t.required)return n();rules.required(t,y,$,L,k),y!==void 0&&rules.type(t,y,$,L,k)}n(L
height:0 !important;
visibility:hidden !important;
${isFirefox()?"":"overflow:hidden !important;"}
position:absolute !important;
z-index:-1000 !important;
top:0 !important;
right:0 !important;
`,CONTEXT_STYLE=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function calculateNodeStyling(e){const t=window.getComputedStyle(e),y=t.getPropertyValue("box-sizing"),n=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),$=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:CONTEXT_STYLE.map(L=>`${L}:${t.getPropertyValue(L)}`).join(";"),paddingSize:n,borderSize:$,boxSizing:y}}function calcTextareaHeight(e,t=1,y){var n;hiddenTextarea||(hiddenTextarea=document.createElement("textarea"),document.body.appendChild(hiddenTextarea));const{paddingSize:$,borderSize:k,boxSizing:L,contextStyle:j}=calculateNodeStyling(e);hiddenTextarea.setAttribute("style",`${j};${HIDDEN_STYLE}`),hiddenTextarea.value=e.value||e.placeholder||"";let V=hiddenTextarea.scrollHeight;const z={};L==="border-box"?V=V+k:L==="content-box"&&(V=V-$),hiddenTextarea.value="";const re=hiddenTextarea.scrollHeight-$;if(isNumber$4(t)){let oe=re*t;L==="border-box"&&(oe=oe+$+k),V=Math.max(oe,V),z.minHeight=`${oe}px`}if(isNumber$4(y)){let oe=re*y;L==="border-box"&&(oe=oe+$+k),V=Math.min(oe,V)}return z.height=`${V}px`,(n=hiddenTextarea.parentNode)==null||n.removeChild(hiddenTextarea),hiddenTextarea=void 0,z}const inputProps=buildProps({id:{type:String,default:void 0},size:useSizeProp,disabled:Boolean,modelValue:{type:definePropType([String,Number,Object]),default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:definePropType([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,showPassword:Boolean,showWordLimit:Boolean,suffixIcon:{type:iconPropType},prefixIcon:{type:iconPropType},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:definePropType([Object,Array,String]),default:()=>mutable({})},autofocus:Boolean,rows:{type:Number,default:2},...useAriaProps(["ariaLabel"])}),inputEmits={[UPDATE_MODEL_EVENT]:e=>isString$4(e),input:e=>isString$4(e),change:e=>isString$4(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},__default__$1J=defineComponent({name:"ElInput",inheritAttrs:!1}),_sfc_main$2Q=defineComponent({...__default__$1J,props:inputProps,emits:inputEmits,setup(e,{expose:t,emit:y}){const n=e,$=useAttrs$1(),k=useSlots(),L=computed(()=>{const Qr={};return n.containerRole==="combobox"&&(Qr["aria-haspopup"]=$["aria-haspopup"],Qr["aria-owns"]=$["aria-owns"],Qr["aria-expanded"]=$["aria-expanded"]),Qr}),j=computed(()=>[n.type==="textarea"?Ue.b():Ne.b(),Ne.m(de.value),Ne.is("disabled",_e.value),Ne.is("exceed",tr.value),{[Ne.b("group")]:k.prepend||k.append,[Ne.m("prefix")]:k.prefix||n.prefixIcon,[Ne.m("suffix")]:k.suffix||n.suffixIcon||n.clearable||n.showPassword,[Ne.bm("suffix","password-clear")]:ar.value&&ur.value,[Ne.b("hidden")]:n.type==="hidden"},$.class]),V=computed(()=>[Ne.e("wrapper"),Ne.is("focus",nr.value)]),z=useAttrs({excludeKeys:computed(()=>Object.keys(L.value))}),{form:re,formItem:oe}=useFormItem(),{inputId:ue}=useFormItemInputId(n,{formItemContext:oe}),de=useFormSize(),_e=useFormDisabled(),Ne=useNamespace("input"),Ue=useNamespace("textarea"),$e=shallowRef(),Ve=shallowRef(),Fe=ref$1(!1),qe=ref$1(!1),er=ref$1(),ir=shallowRef(n.inputStyle),dr=computed(()=>$e.value||Ve.value),{wrapperRef:cr,isFocused:nr}=use
* Checks if an event is supported in the current execution environment.
*
* NOTE: This will not work correctly for non-generic events such as `change`,
* `reset`, `load`, `error`, and `select`.
*
* Borrows from Modernizr.
*
* @param {string} eventNameSuffix Event name, e.g. "click".
* @param {?boolean} capture Check if the capture phase is supported.
* @return {boolean} True if the event is supported.
* @internal
* @license Modernizr 3.0.0pre (Custom Build) | MIT
*/const mousewheel=function(e,t){if(e&&e.addEventListener){const y=function(n){const $=Y(n);t&&Reflect.apply(t,this,[n,$])};e.addEventListener("wheel",y,{passive:!0})}},Mousewheel={beforeMount(e,t){mousewheel(e,t.value)}},basicTimeSpinnerProps=buildProps({role:{type:String,required:!0},spinnerDate:{type:definePropType(Object),required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:definePropType(String),default:""},...disabledTimeListsProps}),_sfc_main$2u=defineComponent({__name:"basic-time-spinner",props:basicTimeSpinnerProps,emits:["change","select-range","set-option"],setup(e,{emit:t}){const y=e,n=useNamespace("time"),{getHoursList:$,getMinutesList:k,getSecondsList:L}=getTimeLists(y.disabledHours,y.disabledMinutes,y.disabledSeconds);let j=!1;const V=ref$1(),z=ref$1(),re=ref$1(),oe=ref$1(),ue={hours:z,minutes:re,seconds:oe},de=computed(()=>y.showSeconds?timeUnits$1:timeUnits$1.slice(0,2)),_e=computed(()=>{const{spinnerDate:kt}=y,he=kt.hour(),tr=kt.minute(),gr=kt.second();return{hours:he,minutes:tr,seconds:gr}}),Ne=computed(()=>{const{hours:kt,minutes:he}=unref(_e);return{hours:$(y.role),minutes:k(kt,y.role),seconds:L(kt,he,y.role)}}),Ue=computed(()=>{const{hours:kt,minutes:he,seconds:tr}=unref(_e);return{hours:buildTimeList(kt,23),minutes:buildTimeList(he,59),seconds:buildTimeList(tr,59)}}),$e=debounce(kt=>{j=!1,qe(kt)},200),Ve=kt=>{if(!!!y.amPmMode)return"";const tr=y.amPmMode==="A";let gr=kt<12?" am":" pm";return tr&&(gr=gr.toUpperCase()),gr},Fe=kt=>{let he;switch(kt){case"hours":he=[0,2];break;case"minutes":he=[3,5];break;case"seconds":he=[6,8];break}const[tr,gr]=he;t("select-range",tr,gr),V.value=kt},qe=kt=>{dr(kt,unref(_e)[kt])},er=()=>{qe("hours"),qe("minutes"),qe("seconds")},ir=kt=>kt.querySelector(`.${n.namespace.value}-scrollbar__wrap`),dr=(kt,he)=>{if(y.arrowControl)return;const tr=unref(ue[kt]);tr&&tr.$el&&(ir(tr.$el).scrollTop=Math.max(0,he*cr(kt)))},cr=kt=>{const he=unref(ue[kt]),tr=he==null?void 0:he.$el.querySelector("li");return tr&&Number.parseFloat(getStyle(tr,"height"))||0},nr=()=>{Et(1)},lr=()=>{Et(-1)},Et=kt=>{V.value||Fe("hours");const he=V.value,tr=unref(_e)[he],gr=V.value==="hours"?24:60,_r=ie(he,tr,kt,gr);pe(he,_r),dr(he,_r),nextTick$3(()=>Fe(he))},ie=(kt,he,tr,gr)=>{let _r=(he+tr+gr)%gr;const yr=unref(Ne)[kt];for(;yr[_r]&&_r!==he;)_r=(_r+tr+gr)%gr;return _r},pe=(kt,he)=>{if(unref(Ne)[kt][he])return;const{hours:_r,minutes:yr,seconds:xr}=unref(_e);let Nr;switch(kt){case"hours":Nr=y.spinnerDate.hour(he).minute(yr).second(xr);break;case"minutes":Nr=y.spinnerDate.hour(_r).minute(he).second(xr);break;case"seconds":Nr=y.spinnerDate.hour(_r).minute(yr).second(he);break}t("change",Nr)},Ce=(kt,{value:he,disabled:tr})=>{tr||(pe(kt,he),Fe(kt),dr(kt,he))},Ie=kt=>{j=!0,$e(kt);const he=Math.min(Math.round((ir(unref(ue[kt]).$el).scrollTop-(jt(kt)*.5-10)/cr(kt)+3)/cr(kt)),kt==="hours"?23:59);pe(kt,he)},jt=kt=>unref(ue[kt]).$el.offsetHeight,ar=()=>{const kt=he=>{const tr=unref(ue[he]);tr&&tr.$el&&(ir(tr.$el).onscroll=()=>{Ie(he)})};kt("hours"),kt("minutes"),kt("seconds")};onMounted(()=>{nextTick$3(()=>{!y.arrowControl&&ar(),er(),y.role==="start"&&Fe("hours")})});const ur=(kt,he)=>{ue[he].value=kt};return t("set-option",[`${y.role}_scrollDown`,Et]),t("set-option",[`${y.role}_emitSelectRange`,Fe]),watch(()=>y.spinnerDate,()=>{j||er()}),(kt,he)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(n).b("spinner"),{"has-seconds":kt.showSeconds}])},[kt.arrowControl?createCommentVNode("v-if",!0):(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(unref(de),tr=>(openBlock(),createBlock(unref(ElScrollbar),{key:tr,ref_for:!0,ref:gr=>ur(gr,tr),class:normalizeClass(unref(n).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":unref(n).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:gr=>Fe(tr),onMousemove:gr=>qe(tr)},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ne)[tr],(gr,_r)=>(openBlock(),createElementBlock("li",{key:_r,class:normalizeClass([unref(n).be("spinner","item"),unref(n).is("active",_r===
Add an empty element to avoid render label,
do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485
`),createBaseVNode("span")]),_:1},8,["model-value","label","disabled","onUpdate:modelValue","onClick"])):e.isLeaf&&e.node.checked?(openBlock(),createBlock(z,{key:2,class:normalizeClass(e.ns.e("prefix"))},{default:withCtx(()=>[createVNode(V)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createCommentVNode(" content "),createVNode(re),createCommentVNode(" postfix "),e.isLeaf?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:3},[e.node.loading?(openBlock(),createBlock(z,{key:0,class:normalizeClass([e.ns.is("loading"),e.ns.e("postfix")])},{default:withCtx(()=>[createVNode(oe)]),_:1},8,["class"])):(openBlock(),createBlock(z,{key:1,class:normalizeClass(["arrow-right",e.ns.e("postfix")])},{default:withCtx(()=>[createVNode(ue)]),_:1},8,["class"]))],64))],42,["id","aria-haspopup","aria-owns","aria-expanded","tabindex","onMouseenter","onFocus","onClick"])}var ElCascaderNode=_export_sfc$1(_sfc_main$2g,[["render",_sfc_render$t],["__file","node.vue"]]);const _sfc_main$2f=defineComponent({name:"ElCascaderMenu",components:{Loading:loading_default,ElIcon,ElScrollbar,ElCascaderNode},props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(e){const t=getCurrentInstance(),y=useNamespace("cascader-menu"),{t:n}=useLocale(),$=useId();let k=null,L=null;const j=inject(CASCADER_PANEL_INJECTION_KEY),V=ref$1(null),z=computed(()=>!e.nodes.length),re=computed(()=>!j.initialLoaded),oe=computed(()=>`${$.value}-${e.index}`),ue=Ue=>{k=Ue.target},de=Ue=>{if(!(!j.isHoverMenu||!k||!V.value))if(k.contains(Ue.target)){_e();const $e=t.vnode.el,{left:Ve}=$e.getBoundingClientRect(),{offsetWidth:Fe,offsetHeight:qe}=$e,er=Ue.clientX-Ve,ir=k.offsetTop,dr=ir+k.offsetHeight;V.value.innerHTML=`
<path style="pointer-events: auto;" fill="transparent" d="M${er} ${ir} L${Fe} 0 V${ir} Z" />
<path style="pointer-events: auto;" fill="transparent" d="M${er} ${dr} L${Fe} ${qe} V${dr} Z" />
`}else L||(L=window.setTimeout(Ne,j.config.hoverThreshold))},_e=()=>{L&&(clearTimeout(L),L=null)},Ne=()=>{V.value&&(V.value.innerHTML="",_e())};return{ns:y,panel:j,hoverZone:V,isEmpty:z,isLoading:re,menuId:oe,t:n,handleExpand:ue,handleMouseMove:de,clearHoverZone:Ne}}});function _sfc_render$s(e,t,y,n,$,k){const L=resolveComponent("el-cascader-node"),j=resolveComponent("loading"),V=resolveComponent("el-icon"),z=resolveComponent("el-scrollbar");return openBlock(),createBlock(z,{key:e.menuId,tag:"ul",role:"menu",class:normalizeClass(e.ns.b()),"wrap-class":e.ns.e("wrap"),"view-class":[e.ns.e("list"),e.ns.is("empty",e.isEmpty)],onMousemove:e.handleMouseMove,onMouseleave:e.clearHoverZone},{default:withCtx(()=>{var re;return[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.nodes,oe=>(openBlock(),createBlock(L,{key:oe.uid,node:oe,"menu-id":e.menuId,onExpand:e.handleExpand},null,8,["node","menu-id","onExpand"]))),128)),e.isLoading?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(e.ns.e("empty-text"))},[createVNode(V,{size:"14",class:normalizeClass(e.ns.is("loading"))},{default:withCtx(()=>[createVNode(j)]),_:1},8,["class"]),createTextVNode(" "+toDisplayString(e.t("el.cascader.loading")),1)],2)):e.isEmpty?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(e.ns.e("empty-text"))},toDisplayString(e.t("el.cascader.noData")),3)):(re=e.panel)!=null&&re.isHoverMenu?(openBlock(),createElementBlock("svg",{key:2,ref:"hoverZone",class:normalizeClass(e.ns.e("hover-zone"))},null,2)):createCommentVNode("v-if",!0)]}),_:1},8,["class","wrap-class","view-class","onMousemove","onMouseleave"])}var ElCascaderMenu=_export_sfc$1(_sfc_main$2f,[["render",_sfc_render$s],["__file","menu.vue"]]);let uid=0;const calculatePathNodes=e=>{const t=[e];let{parent:y}=e;for(;y;)t.unshift(y),y=y.parent;return t};let Node$2=class t1{constructor(t,y,n,$=!1){this.data=t,this.config=y,this.parent=n,this.root=$,this.uid=uid++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:k,label:L,children:j}=y,V=t[j],z=calculatePathNodes(this);this.level=$?0:n?n.level+1:1,this.value=t[k],this.label=t[L],this.pathNodes=z,this.pathValues=z.map(re=>re.value),this.pathLabels=z.map(re=>re.label),this.childrenData=V,this.children=(V||[]).map(re=>new t1(re,y,this)),this.loaded=!y.lazy||this.isLeaf||!isEmpty(V)}get isDisabled(){const{data:t,parent:y,config:n}=this,{disabled:$,checkStrictly:k}=n;return(isFunction$5($)?$(t,this):!!t[$])||!k&&(y==null?void 0:y.isDisabled)}get isLeaf(){const{data:t,config:y,childrenData:n,loaded:$}=this,{lazy:k,leaf:L}=y,j=isFunction$5(L)?L(t,this):t[L];return isUndefined$2(j)?k&&!$?!1:!(Array.isArray(n)&&n.length):!!j}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(t){const{childrenData:y,children:n}=this,$=new t1(t,this.config,this);return Array.isArray(y)?y.push(t):this.childrenData=[t],n.push($),$}calcText(t,y){const n=t?this.pathLabels.join(y):this.label;return this.text=n,n}broadcast(t,...y){const n=`onParent${capitalize(t)}`;this.children.forEach($=>{$&&($.broadcast(t,...y),$[n]&&$[n](...y))})}emit(t,...y){const{parent:n}=this,$=`onChild${capitalize(t)}`;n&&(n[$]&&n[$](...y),n.emit(t,...y))}onParentCheck(t){this.isDisabled||this.setCheckState(t)}onChildCheck(){const{children:t}=this,y=t.filter($=>!$.isDisabled),n=y.length?y.every($=>$.checked):!1;this.setCheckState(n)}setCheckState(t){const y=this.children.length,n=this.children.reduce(($,k)=>{const L=k.checked?1:k.indeterminate?.5:0;return $+L},0);this.checked=this.loaded&&this.children.filter($=>!$.isDisabled).every($=>$.loaded&&$.checked)&&t,this.indeterminate=this.loaded&&n!==y&&n>0}doCheck(t){if(this.checked===t)return;const{checkStrictly:y,multiple:n}=this.config;y||!n?this.checked=t:(this.broadcast("check",t),this.setCheckState(t),this.emit("check"))}};const flatNodes=(e,t)=>e.reduce((y,n)=>(n.isLeaf?y.push(n):(!t&&y.push(n),y=y.concat(flatNodes(n.children,t))),y),[]);let Store$1=class{constructor(t,y){this.config=y;const n=(t||[]).map($=>new Node$2($,this.config));this.nodes=n,this.allNodes=fl
M 50 50
m 0 ${qe?"":"-"}${Fe}
a ${Fe} ${Fe} 0 1 1 0 ${qe?"-":""}${Fe*2}
a ${Fe} ${Fe} 0 1 1 0 ${qe?"":"-"}${Fe*2}
`}),V=computed(()=>2*Math.PI*L.value),z=computed(()=>t.type==="dashboard"?.75:1),re=computed(()=>`${-1*V.value*(1-z.value)/2}px`),oe=computed(()=>({strokeDasharray:`${V.value*z.value}px, ${V.value}px`,strokeDashoffset:re.value})),ue=computed(()=>({strokeDasharray:`${V.value*z.value*(t.percentage/100)}px, ${V.value}px`,strokeDashoffset:re.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),de=computed(()=>{let Fe;return t.color?Fe=Ve(t.percentage):Fe=y[t.status]||y.default,Fe}),_e=computed(()=>t.status==="warning"?warning_filled_default:t.type==="line"?t.status==="success"?circle_check_default:circle_close_default:t.status==="success"?check_default:close_default),Ne=computed(()=>t.type==="line"?12+t.strokeWidth*.4:t.width*.111111+2),Ue=computed(()=>t.format(t.percentage));function $e(Fe){const qe=100/Fe.length;return Fe.map((ir,dr)=>isString$4(ir)?{color:ir,percentage:(dr+1)*qe}:ir).sort((ir,dr)=>ir.percentage-dr.percentage)}const Ve=Fe=>{var qe;const{color:er}=t;if(isFunction$5(er))return er(Fe);if(isString$4(er))return er;{const ir=$e(er);for(const dr of ir)if(dr.percentage>Fe)return dr.color;return(qe=ir[ir.length-1])==null?void 0:qe.color}};return(Fe,qe)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(n).b(),unref(n).m(Fe.type),unref(n).is(Fe.status),{[unref(n).m("without-text")]:!Fe.showText,[unref(n).m("text-inside")]:Fe.textInside}]),role:"progressbar","aria-valuenow":Fe.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[Fe.type==="line"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(n).b("bar"))},[createBaseVNode("div",{class:normalizeClass(unref(n).be("bar","outer")),style:normalizeStyle({height:`${Fe.strokeWidth}px`})},[createBaseVNode("div",{class:normalizeClass([unref(n).be("bar","inner"),{[unref(n).bem("bar","inner","indeterminate")]:Fe.indeterminate},{[unref(n).bem("bar","inner","striped")]:Fe.striped},{[unref(n).bem("bar","inner","striped-flow")]:Fe.stripedFlow}]),style:normalizeStyle(unref($))},[(Fe.showText||Fe.$slots.default)&&Fe.textInside?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(n).be("bar","innerText"))},[renderSlot(Fe.$slots,"default",{percentage:Fe.percentage},()=>[createBaseVNode("span",null,toDisplayString(unref(Ue)),1)])],2)):createCommentVNode("v-if",!0)],6)],6)],2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(n).b("circle")),style:normalizeStyle({height:`${Fe.width}px`,width:`${Fe.width}px`})},[(openBlock(),createElementBlock("svg",{viewBox:"0 0 100 100"},[createBaseVNode("path",{class:normalizeClass(unref(n).be("circle","track")),d:unref(j),stroke:`var(${unref(n).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":Fe.strokeLinecap,"stroke-width":unref(k),fill:"none",style:normalizeStyle(unref(oe))},null,14,["d","stroke","stroke-linecap","stroke-width"]),createBaseVNode("path",{class:normalizeClass(unref(n).be("circle","path")),d:unref(j),stroke:unref(de),fill:"none",opacity:Fe.percentage?1:0,"stroke-linecap":Fe.strokeLinecap,"stroke-width":unref(k),style:normalizeStyle(unref(ue))},null,14,["d","stroke","opacity","stroke-linecap","stroke-width"])]))],6)),(Fe.showText||Fe.$slots.default)&&!Fe.textInside?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(n).e("text")),style:normalizeStyle({fontSize:`${unref(Ne)}px`})},[renderSlot(Fe.$slots,"default",{percentage:Fe.percentage},()=>[Fe.status?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(_e))))]),_:1})):(openBlock(),createElementBlock("span",{key:0},toDisplayString(unref(Ue)),1))])],6)):createCommentVNode("v-if",!0)],10,["aria-valuenow"]))}});var Progress=_export_sfc$1(_sfc_main$1f,[["__file","progress.vue"]]);const ElProgress=withInstall(Progress),rateProps=buildProps({modelValue:{type:Number,default:0},id:{type:String,default:void 0},lowThreshold:{type:Number,default:2},highThreshold:{type:Number,default:4},max:{type:Number,default:5},colors:{type:definePropType([Array,Object]),default:()
`||z==="\r"){L=V;continue}if(k.includes(z)){const re=L===-1?n:L;j={pattern:$.slice(V+1,re),start:V+1,end:re,prefix:z,prefixIndex:V,splitIndex:L,selectionEnd:n};break}}return j},getCursorPosition=(e,t={debug:!1,useSelectionEnd:!1})=>{const y=e.selectionStart!==null?e.selectionStart:0,n=e.selectionEnd!==null?e.selectionEnd:0,$=t.useSelectionEnd?n:y,k=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"];if(t.debug){const ue=document.querySelector("#input-textarea-caret-position-mirror-div");ue!=null&&ue.parentNode&&ue.parentNode.removeChild(ue)}const L=document.createElement("div");L.id="input-textarea-caret-position-mirror-div",document.body.appendChild(L);const j=L.style,V=window.getComputedStyle(e),z=e.nodeName==="INPUT";j.whiteSpace=z?"nowrap":"pre-wrap",z||(j.wordWrap="break-word"),j.position="absolute",t.debug||(j.visibility="hidden"),k.forEach(ue=>{if(z&&ue==="lineHeight")if(V.boxSizing==="border-box"){const de=Number.parseInt(V.height),_e=Number.parseInt(V.paddingTop)+Number.parseInt(V.paddingBottom)+Number.parseInt(V.borderTopWidth)+Number.parseInt(V.borderBottomWidth),Ne=_e+Number.parseInt(V.lineHeight);de>Ne?j.lineHeight=`${de-_e}px`:de===Ne?j.lineHeight=V.lineHeight:j.lineHeight="0"}else j.lineHeight=V.height;else j[ue]=V[ue]}),isFirefox()?e.scrollHeight>Number.parseInt(V.height)&&(j.overflowY="scroll"):j.overflow="hidden",L.textContent=e.value.slice(0,Math.max(0,$)),z&&L.textContent&&(L.textContent=L.textContent.replace(/\s/g," "));const re=document.createElement("span");re.textContent=e.value.slice(Math.max(0,$))||".",re.style.position="relative",re.style.left=`${-e.scrollLeft}px`,re.style.top=`${-e.scrollTop}px`,L.appendChild(re);const oe={top:re.offsetTop+Number.parseInt(V.borderTopWidth),left:re.offsetLeft+Number.parseInt(V.borderLeftWidth),height:Number.parseInt(V.fontSize)*1.5};return t.debug?re.style.backgroundColor="#aaa":document.body.removeChild(L),oe.left>=e.clientWidth&&(oe.left=e.clientWidth),oe},mentionProps=buildProps({...inputProps,options:{type:definePropType(Array),default:()=>[]},prefix:{type:definePropType([String,Array]),default:"@",validator:e=>isString$4(e)?e.length===1:e.every(t=>isString$4(t)&&t.length===1)},split:{type:String,default:" ",validator:e=>e.length===1},filterOption:{type:definePropType([Boolean,Function]),default:()=>filterOption,validator:e=>e===!1?!0:isFunction$5(e)},placement:{type:definePropType(String),default:"bottom"},showArrow:Boolean,offset:{type:Number,default:0},whole:Boolean,checkIsWhole:{type:definePropType(Function)},modelValue:String,loading:Boolean,popperClass:{type:String,default:""},popperOptions:{type:definePropType(Object),default:()=>({})}}),mentionEmits={[UPDATE_MODEL_EVENT]:e=>isString$4(e),search:(e,t)=>isString$4(e)&&isString$4(t),select:(e,t)=>isString$4(e.value)&&isString$4(t),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent},mentionDropdownProps=buildProps({options:{type:definePropType(Array),default:()=>[]},loading:Boolean,disabled:Boolean}),mentionDropdownEmits={select:e=>isString$4(e.value)},__default__$3=defineComponent({name:"ElMentionDropdown"}),_sfc_main$v=defineComponent({...__default__$3,props:mentionDropdownProps,emits:mentionDropdownEmits,setup(e,{expose:t,emit:y}){const n=e,$=useNamespace("mention"),{t:k}=useLocale(),L=ref$1(-1),j=ref$1(),V=ref$1(),z=ref$1(),re=(Fe,qe)=>[$.be("dropdown","item"),$.is("hovering",L.value===qe),$.is("disabled",Fe.disabled||n.disabled)],oe=Fe=>{Fe.disabled||n.disabled||y("select",Fe)},ue=Fe=>{L.value=Fe},de=computed(()=>n.disabled||n.options.every(Fe=>Fe.disabled)),_e=computed(()=>n.options[L.value]),Ne=()=>{_e.value&&y("select",_e.value)},Ue=Fe=>{const{options:qe}=n;if(qe.length===0||de.value)return;Fe==="next"?(L.va
https://github.com/highlightjs/highlight.js/issues/2277`),tr=ar,he=ur),kt===void 0&&(kt=!0);const gr={code:he,language:tr};Ie("before:highlight",gr);const _r=gr.result?gr.result:oe(gr.language,gr.code,kt);return _r.code=gr.code,Ie("after:highlight",_r),_r}function oe(ar,ur,kt,he){const tr=Object.create(null);function gr(oa,Ba){return oa.keywords[Ba]}function _r(){if(!jr.keywords){Kr.addText(kr);return}let oa=0;jr.keywordPatternRe.lastIndex=0;let Ba=jr.keywordPatternRe.exec(kr),rs="";for(;Ba;){rs+=kr.substring(oa,Ba.index);const Mn=Rr.case_insensitive?Ba[0].toLowerCase():Ba[0],Wr=gr(jr,Mn);if(Wr){const[Ur,Sn]=Wr;if(Kr.addText(rs),rs="",tr[Mn]=(tr[Mn]||0)+1,tr[Mn]<=MAX_KEYWORD_HITS&&(Qr+=Sn),Ur.startsWith("_"))rs+=Ba[0];else{const Nn=Rr.classNameAliases[Ur]||Ur;Nr(Ba[0],Nn)}}else rs+=Ba[0];oa=jr.keywordPatternRe.lastIndex,Ba=jr.keywordPatternRe.exec(kr)}rs+=kr.substring(oa),Kr.addText(rs)}function yr(){if(kr==="")return;let oa=null;if(typeof jr.subLanguage=="string"){if(!t[jr.subLanguage]){Kr.addText(kr);return}oa=oe(jr.subLanguage,kr,!0,vn[jr.subLanguage]),vn[jr.subLanguage]=oa._top}else oa=de(kr,jr.subLanguage.length?jr.subLanguage:null);jr.relevance>0&&(Qr+=oa.relevance),Kr.__addSublanguage(oa._emitter,oa.language)}function xr(){jr.subLanguage!=null?yr():_r(),kr=""}function Nr(oa,Ba){oa!==""&&(Kr.startScope(Ba),Kr.addText(oa),Kr.endScope())}function Tr(oa,Ba){let rs=1;const Mn=Ba.length-1;for(;rs<=Mn;){if(!oa._emit[rs]){rs++;continue}const Wr=Rr.classNameAliases[oa[rs]]||oa[rs],Ur=Ba[rs];Wr?Nr(Ur,Wr):(kr=Ur,_r(),kr=""),rs++}}function Sr(oa,Ba){return oa.scope&&typeof oa.scope=="string"&&Kr.openNode(Rr.classNameAliases[oa.scope]||oa.scope),oa.beginScope&&(oa.beginScope._wrap?(Nr(kr,Rr.classNameAliases[oa.beginScope._wrap]||oa.beginScope._wrap),kr=""):oa.beginScope._multi&&(Tr(oa.beginScope,Ba),kr="")),jr=Object.create(oa,{parent:{value:jr}}),jr}function Ar(oa,Ba,rs){let Mn=startsWith$1(oa.endRe,rs);if(Mn){if(oa["on:end"]){const Wr=new Response$1(oa);oa["on:end"](Ba,Wr),Wr.isMatchIgnored&&(Mn=!1)}if(Mn){for(;oa.endsParent&&oa.parent;)oa=oa.parent;return oa}}if(oa.endsWithParent)return Ar(oa.parent,Ba,rs)}function Fr(oa){return jr.matcher.regexIndex===0?(kr+=oa[0],1):(To=!0,0)}function Gr(oa){const Ba=oa[0],rs=oa.rule,Mn=new Response$1(rs),Wr=[rs.__beforeBegin,rs["on:begin"]];for(const Ur of Wr)if(Ur&&(Ur(oa,Mn),Mn.isMatchIgnored))return Fr(Ba);return rs.skip?kr+=Ba:(rs.excludeBegin&&(kr+=Ba),xr(),!rs.returnBegin&&!rs.excludeBegin&&(kr=Ba)),Sr(rs,oa),rs.returnBegin?0:Ba.length}function Vr(oa){const Ba=oa[0],rs=ur.substring(oa.index),Mn=Ar(jr,oa,rs);if(!Mn)return NO_MATCH;const Wr=jr;jr.endScope&&jr.endScope._wrap?(xr(),Nr(Ba,jr.endScope._wrap)):jr.endScope&&jr.endScope._multi?(xr(),Tr(jr.endScope,oa)):Wr.skip?kr+=Ba:(Wr.returnEnd||Wr.excludeEnd||(kr+=Ba),xr(),Wr.excludeEnd&&(kr=Ba));do jr.scope&&Kr.closeNode(),!jr.skip&&!jr.subLanguage&&(Qr+=jr.relevance),jr=jr.parent;while(jr!==Mn.parent);return Mn.starts&&Sr(Mn.starts,oa),Wr.returnEnd?0:Ba.length}function Dr(){const oa=[];for(let Ba=jr;Ba!==Rr;Ba=Ba.parent)Ba.scope&&oa.unshift(Ba.scope);oa.forEach(Ba=>Kr.openNode(Ba))}let Ir={};function Br(oa,Ba){const rs=Ba&&Ba[0];if(kr+=oa,rs==null)return xr(),0;if(Ir.type==="begin"&&Ba.type==="end"&&Ir.index===Ba.index&&rs===""){if(kr+=ur.slice(Ba.index,Ba.index+1),!$){const Mn=new Error(`0 width match regex (${ar})`);throw Mn.languageName=ar,Mn.badRule=Ir.rule,Mn}return 1}if(Ir=Ba,Ba.type==="begin")return Gr(Ba);if(Ba.type==="illegal"&&!kt){const Mn=new Error('Illegal lexeme "'+rs+'" for mode "'+(jr.scope||"<unnamed>")+'"');throw Mn.mode=jr,Mn}else if(Ba.type==="end"){const Mn=Vr(Ba);if(Mn!==NO_MATCH)return Mn}if(Ba.type==="illegal"&&rs==="")return 1;if(Vi>1e5&&Vi>Ba.index*3)throw new Error("potential infinite loop, way more iterations than matches");return kr+=rs,rs.length}const Rr=nr(ar);if(!Rr)throw error(k.replace("{}",ar)),new Error('Unknown language: "'+ar+'"');const Lr=compileLanguage(Rr);let $r="",jr=he||Lr;const vn={},Kr=new j.__emitter(j);Dr();let kr="",Qr=0,Zr=0,Vi=0,To=!1;try{if(Rr.__emitTokens)Rr.__emitTokens(ur,Kr);els
`},_e]}}return kotlin_1=$,kotlin_1}var lasso_1,hasRequiredLasso;function requireLasso(){if(hasRequiredLasso)return lasso_1;hasRequiredLasso=1;function e(t){const y="[a-zA-Z_][\\w.]*",n="<\\?(lasso(script)?|=)",$="\\]|\\?>",k={$pattern:y+"|&[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"},L=t.COMMENT("<!--","-->",{relevance:0}),j={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[L]}},V={className:"meta",begin:"\\[/noprocess|"+n},z={className:"symbol",begin:"'"+y+"'"},re=[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.inherit(t.C_NUMBER_MODE,{begin:t.C_NUMBER_RE+"|(-?infinity|NaN)\\b"}),t.inherit(t.APOS_STRING_MODE,{illegal:null}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{variants:[{begin:"[#$]"+y},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:y,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+y,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[z]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[t.inherit(t.TITLE_MODE,{begin:y+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:k,contains:[{className:"meta",begin:$,relevance:0,starts:{end:"\\[|"+n,returnEnd:!0,relevance:0,contains:[L]}},j,V,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:k,contains:[{className:"meta",begin:$,relevance:0,starts:{end:"\\[noprocess\\]|"+n,returnEnd:!0,contains:[L]}},j,V].concat(re)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(re)}}return lasso_1=e,lasso_1}var latex_1,hasRequiredLatex;function requireLatex(){if(hasRequiredLatex)return latex_1;hasRequiredLatex=1;function e(t){const n=t.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?
]`,_e={scope:"string",variants:[re,z,oe,ue]},Ne={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},Ue=["false","null","true"],$e=["__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"],Ve=["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"],qe={keyword:$e,literal:(Ce=>{const Ie=[];return Ce.forEach(jt=>{Ie.push(jt),jt.toLowerCase()===jt?Ie.push(jt.toUpperCase()):Ie.push(jt.toLowerCase())}),Ie})(Ue),built_in:Ve},er=Ce=>Ce.map(Ie=>Ie.replace(/\|\d+$/,"")),ir={variants:[{match:[/new/,y.concat(de,"+"),y.concat("(?!",er(Ve).join("\\b|"),"\\b)"),k],scope:{1:"keyword",4:"title.class"}}]},dr=y.concat($,"\\b(?!\\()"),cr={variants:[{match:[y.concat(/::/,y.lookahead(/(?!class\b)/)),dr],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[k,y.concat(/::/,y.lookahead(/(?!class\b)/)),dr],scope:{1:"title.class",3:"variable.constant"}},{match:[k,y.concat("::",y.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[k,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},nr={scope:"attr",match:y.concat($,y.lookahead(":"),y.lookahead(/(?!::)/))},lr={relevance:0,begin:/\(/,end:/\)/,keywords:qe,contains:[nr,L,cr,t.C_BLOCK_COMMENT_MODE,_e,Ne,ir]},Et={relevance:0,match:[/\b/,y.concat("(?!fn\\b|function\\b|",er($e).join("\\b|"),"|",er(Ve).join("\\b|"),"\\b)"),$,y.concat(de,"*"),y.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[lr]};lr.contains.push(Et);const ie=[nr,cr,t.C_BLOCK_COMMENT_MODE,_e,Ne,ir],pe={begin:y.concat(/#\[\s*/,k),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:Ue,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{lit
]*;`,relevance:0},{begin:"[vp][0-9]+"}]}}return smali_1=e,smali_1}var smalltalk_1,hasRequiredSmalltalk;function requireSmalltalk(){if(hasRequiredSmalltalk)return smalltalk_1;hasRequiredSmalltalk=1;function e(t){const y="[a-z][a-zA-Z0-9_]*",n={className:"string",begin:"\\$.{1}"},$={className:"symbol",begin:"#"+t.UNDERSCORE_IDENT_RE};return{name:"Smalltalk",aliases:["st"],keywords:["self","super","nil","true","false","thisContext"],contains:[t.COMMENT('"','"'),t.APOS_STRING_MODE,{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:y+":",relevance:0},t.C_NUMBER_MODE,$,n,{begin:"\\|[ ]*"+y+"([ ]+"+y+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+y}]},{begin:"#\\(",end:"\\)",contains:[t.APOS_STRING_MODE,n,t.C_NUMBER_MODE,$]}]}}return smalltalk_1=e,smalltalk_1}var sml_1,hasRequiredSml;function requireSml(){if(hasRequiredSml)return sml_1;hasRequiredSml=1;function e(t){return{name:"SML (Standard ML)",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"abstype and andalso as case datatype do else end eqtype exception fn fun functor handle if in include infix infixr let local nonfix of op open orelse raise rec sharing sig signature struct structure then type val with withtype where while",built_in:"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:/\[(\|\|)?\]|\(\)/,relevance:0},t.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*"},t.inherit(t.APOS_STRING_MODE,{className:"string",relevance:0}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}}return sml_1=e,sml_1}var sqf_1,hasRequiredSqf;function requireSqf(){if(hasRequiredSqf)return sqf_1;hasRequiredSqf=1;function e(t){const y={className:"variable",begin:/\b_+[a-zA-Z]\w*/},n={className:"title",begin:/[a-zA-Z][a-zA-Z_0-9]*_fnc_[a-zA-Z_0-9]+/},$={className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]},{begin:"'",end:"'",contains:[{begin:"''",relevance:0}]}]},k=["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"],L=["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"],j=["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","addPubl
]*?"'`},{begin:`"[^\r
"]*"`}]},{className:"built_in",variants:[{begin:"\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\()"}]},t.COMMENT("^[ ]*\\*.*$",!1),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]}}return stata_1=e,stata_1}var step21_1,hasRequiredStep21;function requireStep21(){if(hasRequiredStep21)return step21_1;hasRequiredStep21=1;function e(t){return{name:"STEP Part 21",aliases:["p21","step","stp"],case_insensitive:!0,keywords:{$pattern:"[A-Z_][A-Z0-9_.]*",keyword:["HEADER","ENDSEC","DATA"]},contains:[{className:"meta",begin:"ISO-10303-21;",relevance:10},{className:"meta",begin:"END-ISO-10303-21;",relevance:10},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.COMMENT("/\\*\\*!","\\*/"),t.C_NUMBER_MODE,t.inherit(t.APOS_STRING_MODE,{illegal:null}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"symbol",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}]}}return step21_1=e,step21_1}var stylus_1,hasRequiredStylus;function requireStylus(){if(hasRequiredStylus)return stylus_1;hasRequiredStylus=1;const e=z=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:z.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:[z.APOS_STRING_MODE,z.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:z.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_-]*/}}),t=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","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"],y=["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"],n=[...t,...y],$=["any-hover","any-pointer","aspe
(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=e,subunit_1}var swift_1,hasRequiredSwift;function requireSwift(){if(hasRequiredSwift)return swift_1;hasRequiredSwift=1;function e(cr){return cr?typeof cr=="string"?cr:cr.source:null}function t(cr){return y("(?=",cr,")")}function y(...cr){return cr.map(lr=>e(lr)).join("")}function n(cr){const nr=cr[cr.length-1];return typeof nr=="object"&&nr.constructor===Object?(cr.splice(cr.length-1,1),nr):{}}function $(...cr){return"("+(n(cr).capture?"":"?:")+cr.map(Et=>e(Et)).join("|")+")"}const k=cr=>y(/\b/,cr,/\w$/.test(cr)?/\b/:/\B/),L=["Protocol","Type"].map(k),j=["init","self"].map(k),V=["Any","Self"],z=["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"],re=["false","nil","true"],oe=["assignment","associativity","higherThan","left","lowerThan","none","right"],ue=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],de=["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"],_e=$(/[/=\-+!*%<>&|^~?]/,/[\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]/),Ne=$(_e,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),Ue=y(_e,Ne,"*"),$e=$(/[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]/),Ve=$($e,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),Fe=y($e,Ve,"*"),qe=y(/[A-Z]/,Ve,"*"),er=["attached","autoclosure",y(/convention\(/,$("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",y(/objc\(/,Fe,/\)
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
c69,-144,104.5,-217.7,106.5,-221
l`+t/2.075+" -"+t+`
c5.3,-9.3,12,-14,20,-14
H400000v`+(40+t)+`H845.2724
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
M`+(834+t)+" "+y+"h400000v"+(40+t)+"h-400000z"},sqrtSize1=function(t,y){return"M263,"+(601+t+y)+`c0.7,0,18,39.7,52,119
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
c340,-704.7,510.7,-1060.3,512,-1067
l`+t/2.084+" -"+t+`
c4.7,-7.3,11,-11,19,-11
H40000v`+(40+t)+`H1012.3
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
M`+(1001+t)+" "+y+"h400000v"+(40+t)+"h-400000z"},sqrtSize2=function(t,y){return"M983 "+(10+t+y)+`
l`+t/3.13+" -"+t+`
c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+`
H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
M`+(1001+t)+" "+y+"h400000v"+(40+t)+"h-400000z"},sqrtSize3=function(t,y){return"M424,"+(2398+t+y)+`
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
l`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000
v`+(40+t)+`H1014.6
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+y+`
h400000v`+(40+t)+"h-400000z"},sqrtSize4=function(t,y){return"M473,"+(2713+t+y)+`
c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+`
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
606zM`+(1001+t)+" "+y+"h400000v"+(40+t)+"H1017.7z"},phasePath=function(t){var y=t/2;return"M400000 "+t+" H0 L"+y+" 0 l65 45 L145 "+(t-80)+" H400000z"},sqrtTall=function(t,y,n){var $=n-54-y-t;return"M702 "+(t+y)+"H400000"+(40+t)+`
H742v`+$+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
219 661 l218 661zM702 `+y+"H400000v"+(40+t)+"H742z"},sqrtPath=function(t,y,n){y=1e3*y;var $="";switch(t){case"sqrtMain":$=sqrtMain(y,hLinePad);break;case"sqrtSize1":$=sqrtSize1(y,hLinePad);break;case"sqrtSize2":$=sqrtSize2(y,hLinePad);break;case"sqrtSize3":$=sqrtSize3(y,hLinePad);break;case"sqrtSize4":$=sqrtSize4(y,hLinePad);break;case"sqrtTall":$=sqrtTall(y,hLinePad,n)}return $},innerPath=function(t,y){switch(t){case"⎜":return"M291 0 H417 V"+y+" H291z M291 0 H417 V"+y+" H291z";case"":return"M145 0 H188 V"+y+" H145z M145 0 H188 V"+y+" H145z";case"∥":return"M145 0 H188 V"+y+" H145z M145 0 H188 V"+y+" H145z"+("M367 0 H410 V"+y+" H367z M367 0 H410 V"+y+" H367z");case"⎟":return"M457 0 H583 V"+y+" H457z M457 0 H583 V"+y+" H457z";case"⎢":return"M319 0 H403 V"+y+" H319z M319 0 H403 V"+y+" H319z";case"⎥":return"M263 0 H347 V"+y+" H263z M263 0 H347 V"+y+" H263z";case"⎪":return"M384 0 H504 V"+y+" H384z M384 0 H504 V"+y+" H384z";case"⏐":return"M312 0 H355 V"+y+" H312z M312 0 H355 V"+y+" H312z";case"‖":return"M257 0 H300 V"+y+" H257z M257 0 H300 V"+y+" H257z"+("M478 0 H521 V"+y+" H478z M478 0 H521 V"+y+" H478z");default:return""}},path$2={doubleleftarrow:`M262 157
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
435 0h399565z`,leftgroupunder:`M400000 262
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},tallDelim=function(t,y){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+y+` v1759 h347 v-84
H403z M403 1759 V0 H319 V1759 v`+y+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+y+` v1759 H0 v84 H347z
M347 1759 V0 H263 V1759 v`+y+" v1759 h84z";case"vert":return"M145 15 v585 v"+y+` v585 c2.667,10,9.667,15,21,15
c10,0,16.667,-5,20,-15 v-585 v`+-y+` v-585 c-2.667,-10,-9.667,-15,-21,-15
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+y+" v585 h43z";case"doublevert":return"M145 15 v585 v"+y+` v585 c2.667,10,9.667,15,21,15
c10,0,16.667,-5,20,-15 v-585 v`+-y+` v-585 c-2.667,-10,-9.667,-15,-21,-15
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+y+` v585 h43z
M367 15 v585 v`+y+` v585 c2.667,10,9.667,15,21,15
c10,0,16.667,-5,20,-15 v-585 v`+-y+` v-585 c-2.667,-10,-9.667,-15,-21,-15
c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+y+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+y+` v1715 h263 v84 H319z
MM319 602 V0 H403 V602 v`+y+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+y+` v1799 H0 v-84 H319z
MM319 602 V0 H403 V602 v`+y+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+y+` v602 h84z
M403 1759 V0 H319 V1759 v`+y+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+y+` v602 h84z
M347 1759 V0 h-84 V1759 v`+y+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1
c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,
-36,557 l0,`+(y+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9
c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
l0,-`+(y+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,
63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(y+9)+`
c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664
c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11
c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17
c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
l0,-`+(y+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class DocumentFragment{constructor(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return utils$u.contains(this.classes,t)}toNode(){for(var t=document.createDocumentFragment(),y=0;y<this.children.length;y++)t.appendChild(this.children[y].toNode());return t}toMarkup(){for(var t="",y=0;y<this.children.length;y++)t+=this.children[y].toMarkup();return t}toText(){var t=y=>y.toText();return this.children.map(t).join("")}}var fontMetricsData={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.757
`+dr+" children.");for(var Et=0;Et<dr;Et++){var ie=new PathNode(Fe[Et]),pe=new SvgNode([ie],{width:"400em",height:makeEm(ir),viewBox:"0 0 "+j+" "+er,preserveAspectRatio:nr[Et]+" slice"}),Ce=buildCommon.makeSvgSpan([cr[Et]],[pe],y);if(dr===1)return{span:Ce,minWidth:qe,height:ir};Ce.style.height=makeEm(ir),$e.push(Ce)}return{span:buildCommon.makeSpan(["stretchy"],$e,y),minWidth:qe,height:ir}}}var{span:$,minWidth:k,height:L}=n();return $.height=L,$.style.height=makeEm(L),k>0&&($.style.minWidth=makeEm(k)),$},encloseSpan=function(t,y,n,$,k){var L,j=t.height+t.depth+n+$;if(/fbox|color|angl/.test(y)){if(L=buildCommon.makeSpan(["stretchy",y],[],k),y==="fbox"){var V=k.color&&k.getColor();V&&(L.style.borderColor=V)}}else{var z=[];/^[bx]cancel$/.test(y)&&z.push(new LineNode({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(y)&&z.push(new LineNode({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var re=new SvgNode(z,{width:"100%",height:makeEm(j)});L=buildCommon.makeSvgSpan([],[re],k)}return L.height=j,L.style.height=makeEm(j),L},stretchy={encloseSpan,mathMLnode,svgSpan};function assertNodeType(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function assertSymbolNodeType(e){var t=checkSymbolNodeType(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function checkSymbolNodeType(e){return e&&(e.type==="atom"||NON_ATOMS.hasOwnProperty(e.type))?e:null}var htmlBuilder$a=(e,t)=>{var y,n,$;e&&e.type==="supsub"?(n=assertNodeType(e.base,"accent"),y=n.base,e.base=y,$=assertSpan(buildGroup$1(e,t)),e.base=n):(n=assertNodeType(e,"accent"),y=n.base);var k=buildGroup$1(y,t.havingCrampedStyle()),L=n.isShifty&&utils$u.isCharacterBox(y),j=0;if(L){var V=utils$u.getBaseElem(y),z=buildGroup$1(V,t.havingCrampedStyle());j=assertSymbolDomNode(z).skew}var re=n.label==="\\c",oe=re?k.height+k.depth:Math.min(k.height,t.fontMetrics().xHeight),ue;if(n.isStretchy)ue=stretchy.svgSpan(n,t),ue=buildCommon.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:k},{type:"elem",elem:ue,wrapperClasses:["svg-align"],wrapperStyle:j>0?{width:"calc(100% - "+makeEm(2*j)+")",marginLeft:makeEm(2*j)}:void 0}]},t);else{var de,_e;n.label==="\\vec"?(de=buildCommon.staticSvg("vec",t),_e=buildCommon.svgData.vec[1]):(de=buildCommon.makeOrd({mode:n.mode,text:n.label},t,"textord"),de=assertSymbolDomNode(de),de.italic=0,_e=de.width,re&&(oe+=de.depth)),ue=buildCommon.makeSpan(["accent-body"],[de]);var Ne=n.label==="\\textcircled";Ne&&(ue.classes.push("accent-full"),oe=k.height);var Ue=j;Ne||(Ue-=_e/2),ue.style.left=makeEm(Ue),n.label==="\\textcircled"&&(ue.style.top=".2em"),ue=buildCommon.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:k},{type:"kern",size:-oe},{type:"elem",elem:ue}]},t)}var $e=buildCommon.makeSpan(["mord","accent"],[ue],t);return $?($.children[0]=$e,$.height=Math.max($e.height,$.height),$.classes[0]="mord",$):$e},mathmlBuilder$9=(e,t)=>{var y=e.isStretchy?stretchy.mathMLnode(e.label):new mathMLTree.MathNode("mo",[makeText(e.label,e.mode)]),n=new mathMLTree.MathNode("mover",[buildGroup2(e.base,t),y]);return n.setAttribute("accent","true"),n},NON_STRETCHY_ACCENT_REGEX=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));defineFunction({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var y=normalizeArgument(t[0]),n=!NON_STRETCHY_ACCENT_REGEX.test(e.funcName),$=!n||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:$,base:y}},htmlBuilder
]`,controlWordRegexString="\\\\[a-zA-Z@]+",controlSymbolRegexString="\\\\[^\uD800-\uDFFF]",controlWordWhitespaceRegexString="("+controlWordRegexString+")"+spaceRegexString+"*",controlSpaceRegexString=`\\\\(
|[ \r ]+
?)[ \r ]*`,combiningDiacriticalMarkString="[̀-ͯ]",combiningDiacriticalMarksEndRegex=new RegExp(combiningDiacriticalMarkString+"+$"),tokenRegexString="("+spaceRegexString+"+)|"+(controlSpaceRegexString+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(combiningDiacriticalMarkString+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(combiningDiacriticalMarkString+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+controlWordWhitespaceRegexString)+("|"+controlSymbolRegexString+")");class Lexer{constructor(t,y){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=y,this.tokenRegex=new RegExp(tokenRegexString,"g"),this.catcodes={"%":14,"~":13}}setCatcode(t,y){this.catcodes[t]=y}lex(){var t=this.input,y=this.tokenRegex.lastIndex;if(y===t.length)return new Token("EOF",new SourceLocation(this,y,y));var n=this.tokenRegex.exec(t);if(n===null||n.index!==y)throw new ParseError("Unexpected character: '"+t[y]+"'",new Token(t[y],new SourceLocation(this,y,y+1)));var $=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[$]===14){var k=t.indexOf(`
`,this.tokenRegex.lastIndex);return k===-1?(this.tokenRegex.lastIndex=t.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=k+1,this.lex()}return new Token($,new SourceLocation(this,y,this.tokenRegex.lastIndex))}}class Namespace{constructor(t,y){t===void 0&&(t={}),y===void 0&&(y={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=y,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new ParseError("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var y in t)t.hasOwnProperty(y)&&(t[y]==null?delete this.current[y]:this.current[y]=t[y])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,y,n){if(n===void 0&&(n=!1),n){for(var $=0;$<this.undefStack.length;$++)delete this.undefStack[$][t];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][t]=y)}else{var k=this.undefStack[this.undefStack.length-1];k&&!k.hasOwnProperty(t)&&(k[t]=this.current[t])}y==null?delete this.current[t]:this.current[t]=y}}var macros=_macros;defineMacro("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});defineMacro("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});defineMacro("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});defineMacro("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});defineMacro("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var y=e.future();return t[0].length===1&&t[0][0].text===y.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}});defineMacro("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");defineMacro("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var digitToNumber={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};defineMacro("\\char",function(e){var t=e.popToken(),y,n="";if(t.text==="'")y=8,t=e.popToken();else if(t.text==='"')y=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")n=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new ParseError("\\char` missing argument");n=t.text.charCodeAt(0)}else y=10;if(y){if(n=digitToNumber[t.text],n==null||n>=y)throw new ParseError("Invalid base-"+y+" digit "+t.text);for(var $;($=digitToNumber[e.future().text])!=null&&$<y;)n*=y,n+=$,e.popToken()}return"\\@char{"+n+"}"});var newcommand=(e,t,y)=>{var n=e.consumeArg().tokens;if(n.length!==1)throw new ParseError("\\newcommand's first argument must be a macro name");var $=n[0].text,k=e.isDefined($);if(k&&!t)throw new ParseError("\\newcommand{"+$+"} attempting to redefine "+($+"; use \\renewcommand"));if(!k&&!y)throw new ParseError("\\renewcommand{"+$+"} when command "+$+" does not yet exist; use \\newcommand");var L=0;if(n=e.consumeArg().tokens,n.length===1&&n[0].text==="["){for(var j="",V=e.expandNextToken();V.text!=="]"&&V.text!=="EOF";)j+=V.text,V=e.expandNextToken();if(!j.match(/^\s*[0-9]+\s*$/))throw new ParseError("Invalid number of arguments: "+j);L=parseInt(j),n=e.consumeArg().tokens}return e.macros.set($,{tokens:n,numArgs:L}),""};defineMacro("\\newcommand",e=>newcommand(e,!1,!0));defineMacro("\\renewcommand",e=>newcommand(e,!0,!1));defineMacro("\\providecommand",e=>newcommand(e,!0,!0));defineMacro("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(y=>y.text).join("")),""});defineMacro("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(y=>y.text).join("")),""});defineMacro("\\show",e=>{var t=e.popToken(),y=t.text;return console.l
please report what input caused this bug`);return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:$}}unicodeSymbols.hasOwnProperty(y[0])&&!symbols[this.mode][y[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+y[0]+'" used in math mode',t),y=unicodeSymbols[y[0]]+y.slice(1));var k=combiningDiacriticalMarksEndRegex.exec(y);k&&(y=y.substring(0,k.index),y==="i"?y="ı":y==="j"&&(y="ȷ"));var L;if(symbols[this.mode][y]){this.settings.strict&&this.mode==="math"&&extraLatin.indexOf(y)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+y[0]+'" used in math mode',t);var j=symbols[this.mode][y].group,V=SourceLocation.range(t),z;if(ATOMS.hasOwnProperty(j)){var re=j;z={type:"atom",mode:this.mode,family:re,loc:V,text:y}}else z={type:j,mode:this.mode,loc:V,text:y};L=z}else if(y.charCodeAt(0)>=128)this.settings.strict&&(supportedCodepoint(y.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+y[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+y[0]+'"'+(" ("+y.charCodeAt(0)+")"),t)),L={type:"textord",mode:"text",loc:SourceLocation.range(t),text:y};else return null;if(this.consume(),k)for(var oe=0;oe<k[0].length;oe++){var ue=k[0][oe];if(!unicodeAccents[ue])throw new ParseError("Unknown accent ' "+ue+"'",t);var de=unicodeAccents[ue][this.mode]||unicodeAccents[ue].text;if(!de)throw new ParseError("Accent "+ue+" unsupported in "+this.mode+" mode",t);L={type:"accent",mode:this.mode,loc:SourceLocation.range(t),label:de,isStretchy:!1,isShifty:!0,base:L}}return L}};Parser$1.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var parseTree=function(t,y){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new Parser$1(t,y);delete n.gullet.macros.current["\\df@tag"];var $=n.parse();if(delete n.gullet.macros.current["\\current@color"],delete n.gullet.macros.current["\\color"],n.gullet.macros.get("\\df@tag")){if(!y.displayMode)throw new ParseError("\\tag works only in display equations");$=[{type:"tag",mode:"text",body:$,tag:n.subparse([new Token("\\df@tag")])}]}return $},render=function(t,y,n){y.textContent="";var $=renderToDomTree(t,n).toNode();y.appendChild($)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),render=function(){throw new ParseError("KaTeX doesn't work in quirks mode.")});var renderToString=function(t,y){var n=renderToDomTree(t,y).toMarkup();return n},generateParseTree=function(t,y){var n=new Settings(y);return parseTree(t,n)},renderError=function(t,y,n){if(n.throwOnError||!(t instanceof ParseError))throw t;var $=buildCommon.makeSpan(["katex-error"],[new SymbolNode(y)]);return $.setAttribute("title",t.toString()),$.setAttribute("style","color:"+n.errorColor),$},renderToDomTree=function(t,y){var n=new Settings(y);try{var $=parseTree(t,n);return buildTree($,t,n)}catch(k){return renderError(k,t,n)}},renderToHTMLTree=function(t,y){var n=new Settings(y);try{var $=parseTree(t,n);return buildHTMLTree($,t,n)}catch(k){return renderError(k,t,n)}},katex={version:"0.16.11",render,renderToString,ParseError,SETTINGS_SCHEMA,__parse:generateParseTree,__renderToDomTree:renderToDomTree,__renderToHTMLTree:renderToHTMLTree,__setFontMetrics:setFontMetrics,__defineSymbol:defineSymbol,__defineFunction:defineFunction,__defineMacro:defineMacro,__domTree:{Span,Anchor,SymbolNode,SvgNode,PathNode,LineNode}};const inlineRule=/^(\${1,2})(?!\$)((?:\\.|[^\\\n])*?(?:\\.|[^\\\n\$]))\1(?=[\s?!\.,:?!。,:]|$)/,inlineRuleNonStandard=/^(\${1,2})(?!\$)((?:\\.|[^\\\n])*?(?:\\.|[^\\\n\$]))\1/,blockRule=/^(\${1,2})\n((?:\\[^]|[^\\])+?)\n\1(?:\n|$)/;function markedKatex(e={}){return{extensions:[inlineKatex(e,createRenderer(e,!1)),blockKatex(e,createRenderer(e,!0))]}}function createRendere
`:"")}function inlineKatex(e,t){const y=e&&e.nonStandard,n=y?inlineRuleNonStandard:inlineRule;return{name:"inlineKatex",level:"inline",start($){let k,L=$;for(;L;){if(k=L.indexOf("$"),k===-1)return;if((y?k>-1:k===0||L.charAt(k-1)===" ")&&L.substring(k).match(n))return k;L=L.substring(k+1).replace(/^\$+/,"")}},tokenizer($,k){const L=$.match(n);if(L)return{type:"inlineKatex",raw:L[0],text:L[2].trim(),displayMode:L[1].length===2}},renderer:t}}function blockKatex(e,t){return{name:"blockKatex",level:"block",tokenizer(y,n){const $=y.match(blockRule);if($)return{type:"blockKatex",raw:$[0],text:$[2].trim(),displayMode:$[1].length===2}},renderer:t}}marked.use(markedKatex({throwOnError:!1,output:"html",nonStandard:!0}));class WxRenderer{constructor(t){this.opts=t;let y=[],n=0,$=new Map;const k=(V,z)=>Object.assign({},V,z);this.buildTheme=V=>{const z={},re=k(V.BASE,{"font-family":this.opts.fonts,"font-size":this.opts.size});for(const ue in V.inline)if(V.inline.hasOwnProperty(ue)){const de=V.inline[ue];z[ue]=k(V.BASE,de)}const oe=k(re,{});for(const ue in V.block)if(V.block.hasOwnProperty(ue)){const de=V.block[ue];z[ue]=k(oe,de)}return z};const L=(V,z)=>{const re=[],oe=$[V];if(!oe)return"";for(const ue in oe)re.push(`${ue}:${oe[ue]}`);return`style="${re.join(";")+""}"`},j=(V,z)=>(y.push([++n,V,z]),n);this.buildFootnotes=()=>{const V=y.map(z=>z[1]===z[2]?`<code style="font-size: 90%; opacity: 0.6;">[${z[0]}]</code>: <i>${z[1]}</i><br/>`:`<code style="font-size: 90%; opacity: 0.6;">[${z[0]}]</code> ${z[1]}: <i>${z[2]}</i><br/>`);return V.length?`<h4 ${L("h4")}>引用链接</h4><p ${L("footnotes")}>${V.join(`
`)}</p>`:""},this.buildAddition=()=>`
<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>
`,this.setOptions=V=>{this.opts=k(this.opts,V)},this.hasFootnotes=()=>y.length!==0,this.getRenderer=V=>{y=[],n=0,$=this.buildTheme(this.opts.theme);const z=new Renderer;return z.heading=(re,oe)=>{switch(oe){case 1:return`<h1 ${L("h1")}>${re}</h1>`;case 2:return`<h2 ${L("h2")}>${re}</h2>`;case 3:return`<h3 ${L("h3")}>${re}</h3>`;default:return`<h4 ${L("h4")}>${re}</h4>`}},z.paragraph=re=>re.includes("<figure")&&re.includes("<img")?re:re.replace(/ /g,"")===""?"":`<p ${L("p")}>${re}</p>`,z.blockquote=re=>(re=re.replace(/<p.*?>/g,`<p ${L("blockquote_p")}>`),`<blockquote ${L("blockquote")}>${re}</blockquote>`),z.code=(re,oe="")=>oe.startsWith("mermaid")?(setTimeout(()=>{var ue;(ue=window.mermaid)==null||ue.run()},0),`<center><pre class="mermaid">${re}</pre></center>`):(oe=oe.split(" ")[0],oe=HighlightJS.getLanguage(oe)?oe:"plaintext",re=HighlightJS.highlight(re,{language:oe}).value,re=re.replace(/\r\n/g,"<br/>").replace(/\n/g,"<br/>").replace(/(>[^<]+)|(^[^<]+)/g,ue=>ue.replace(/\s/g,"&nbsp;")),`<pre class="hljs code__pre" ${L("code_pre")}><code class="language-${oe}" ${L("code")}>${re}</code></pre>`),z.codespan=(re,oe)=>`<code ${L("codespan")}>${re}</code>`,z.listitem=re=>`<li ${L("listitem")}><span><%s/></span>${re}</li>`,z.list=(re,oe,ue)=>{re=re.replace(/<\/*p .*?>/g,"").replace(/<\/*p>/g,"");const de=re.split("<%s/>");if(!oe)return re=de.join(" "),`<ul ${L("ul")}>${re}</ul>`;re=de[0];for(let _e=1;_e<de.length;_e++)re=`${re+_e}. ${de[_e]}`;return`<ol ${L("ol")}>${re}</ol>`},z.image=(re,oe,ue)=>{const Ne=(Ve=>Ve?`<figcaption ${L("figcaption")}>${Ve}</figcaption>`:"")(((Ve,Fe)=>{switch(localStorage.getItem("legend")){case"alt":return Fe;case"title":return Ve;case"alt-title":return Fe||Ve;case"title-alt":return Ve||Fe;default:return""}})(oe,ue)),Ue=L("figure"),$e=L("image");return`<figure ${Ue}><img ${$e} src="${re}" title="${oe}" alt="${ue}"/>${Ne}</figure>`},z.link=(re,oe,ue)=>{if(re.startsWith("https://mp.weixin.qq.com"))return`<a href="${re}" title="${oe||ue}" ${L("wx_link")}>${ue}</a>`;if(re===ue)return ue;if(V){const de=j(oe||ue,re);return`<span ${L("link")}>${ue}<sup>[${de}]</sup></span>`}return`<span ${L("link")}>${ue}</span>`},z.strong=re=>`<strong ${L("strong")}>${re}</strong>`,z.em=re=>`<span style="font-style: italic;">${re}</span>`,z.table=(re,oe)=>`<section style="padding:0 8px;"><table class="preview-table"><thead ${L("thead")}>${re}</thead><tbody>${oe}</tbody></table></section>`,z.tablecell=(re,oe)=>`<td ${L("td")}>${re}</td>`,z.hr=()=>`<hr ${L("hr")}>`,z}}}const DEFAULT_CONTENT=`# Google
> Google 搜索**自动补全功能**的强大相信不少朋友都能感受到它帮助我们更快地补全我们所要输入的搜索关键字那么它怎么知道我们要输入什么内容它又是如何工作的在这篇文章里我们一起来看看
## 使用自动补全
Google 搜索的自动补全功能可以在 Google 搜索应用的大多数位置使用包括 [Google](https://www.google.com/) 主页、适用于 IOS 和 Android 的 Google 应用,我们只需要在 Google 搜索框上开始键入关键字,就可以看到联想词了。
![](https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/doocs/md/images/1648303019705-c161ce00-d245-446a-b81c-42ec91474a40.gif)
在上图示例中我们可以看到输入关键字 \`juej\`Google 搜索会联想到“掘金”、“掘金小册”、“绝句”等等,好处就是,我们无须输入完整的关键字即可轻松完成针对这些 topics 的搜索。
谷歌搜索的自动补全功能对于使用移动设备的用户来说特别有用用户可以轻松在难以键入的小屏幕上完成搜索当然对于移动设备用户和台式机用户而言这都节省了大量的时间根据 Google 官方报告自动补全功能可以减少大约 25% 的打字累积起来预计每天可以节省 200 多年的打字时间是的每天
> 注意本文所提到的**联想词****预测**是同一个意思
## 基于预测而非建议
Google 官方将自动补全功能称之为预测而不是建议为什么呢其实是有充分理由的自动补全功能是为了**帮助用户完成他们打算进行的搜索**而不是建议用户要执行什么搜索
那么Google 是如何确定这些预测其实Google 会根据趋势搜索 [trends](https://trends.google.com/trends/?geo=US) 给到我们这些“预测”。简单来说,哪个热门、哪个搜索频率高,就更可能推给我们。当然,这也与我们当前所处的位置以及我们的搜索历史相关。
另外这些预测也会随着我们键入的关键字的变更而更改例如当我们把键入的关键字从 \`juej\` 更改为 \`juex\` 时,与“掘金”相关的预测会“消失”,同时,与“觉醒”、“决心”相关联的词会出现。
![](https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/doocs/md/images/1648303068169-386a99cb-143b-4ded-a859-1b7a4c4b5bd3.gif)
## 为什么看不到某些联想词
如果我们在输入某个关键字时看不到联想词那么表明 Google 的算法可能检测到
- 这个关键字不是热门字词
- 搜索的字词太新了我们可能需要等待几天或几周才能看到联想词
- 这是一个侮辱性或敏感字词这个搜索字词违反了 Google 的相关政策更加详细的情况可以了解 [Google 搜索自动补全政策](https://support.google.com/websearch/answer/7368877)。
## 为什么会看到某些不当的联想词
Google 拥有专门设计的系统可以自动捕获不适当的预测结果而不显示出来然而Google 每天需要处理数十亿次搜索这意味着 Google 每天会显示数十亿甚至上百亿条预测再好的系统也可能存在缺陷不正确的预测也可能随时会出现
我们作为 Google 搜索的用户如果认定某条预测违反了相关的搜索自动补全政策可以进行举报反馈点击右下角**举报不当的联想查询**并勾选相关选项即可
![](https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/doocs/md/images/1648303098026-cac215dc-42c9-462a-a359-dcfb12ed3234.gif)
## 如何实现自动补全算法
目前Google 官方似乎并没有公开搜索自动补全的算法实现但是业界在这方面已经有了不少研究
一个好的自动补全器必须是快速的并且在用户键入下一个字符后立即更新联想词列表**自动补全器的核心是一个函数它接受输入的前缀并搜索以给定前缀开头的词汇或语句列表**通常来说只需要返回少量的数目即可
接下来我们先从一个简单且低效的实现开始并在此基础上逐步构建更高效的方法
### 词汇表实现
一个**简单粗暴的实现方式**顺序查找词汇表依次检查每个词汇看它是否以给定的前缀开头
但是此方法需要将前缀与每个词汇进行匹配检查若词汇量较少这种方式可能勉强行得通但是如果词汇量规模较大效率就太低了
一个**更好的实现方式是**让词汇按字典顺序排序借助二分搜索算法可以快速搜索有序词汇表中的前缀由于二分搜索的每一步都会将搜索的范围减半因此总的搜索时间与词汇表中单词数量的对数成正比即时间复杂度是 \`O(log N)\`。二分搜索的性能很好,但有没有更好的实现呢?当然有,往下看。
### 前缀树实现
通常来说许多词汇都以相同的前缀开头比如 \`need\`\`nested\` 都以 \`ne\` 开头,\`seed\`\`speed\` 都以 \`s\` 开头。要是为每个单词分别存储公共前缀似乎很浪费。
![](https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/doocs/md/images/1648303128008-93cf798d-2662-4eec-8f80-2e07436aebfe.png)
前缀树是一种利用公共前缀来加速补全速度的数据结构前缀树在节点树中排列一组单词单词沿着从根节点到叶子节点的路径存储树的层次对应于前缀的字母位置
前缀的补全是顺着前缀定义的路径来查找的例如在上图的前缀树中前缀 \`ne\` 对应于从子节点取左边缘 \`N\` 和唯一边缘 \`E\` 的路径。然后可以通过继续遍历从 \`E\` 节点可以达到的所有叶节点来生成补全列表。在图中,\`ne\` 的补全可以是两个分支:\`-ed\`\`-sted\`。如果在数中找不到由前缀定义的路径,则说明词汇表中不包含以该前缀开头的单词。
### 有限状态自动机(DFA)实现
前缀树可以有效处理公共前缀但是对于其他共享词部分仍会分别存储在每个分支中比如后缀 \`ed\`\`ing\`\`tion\` 在英文单词中特别常见。在上一个例子中,\`e\`\`d\` 分别存放在了每一个分支上。
有没有一种方法可以更加节省存储空间呢有的那就是 DFA
<center>
<img src="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/doocs/md/images/1648303158478-66a96e2d-6424-43d6-8cb3-2f7a39f960b8.gif" style="width: 50%;"></center>
在上面的例子中单词 \`need\`\`nested\`\`seed\`\`speed\` 仅由 9 个节点组成,而上一张图中的前缀树包含了 17 个节点。
可以看出最小化前缀树 DFA 可以在很大程度上减少数据结构的大小即使词汇量很大最小化 DFA 通常也适合在内存中存储避免昂贵的磁盘访问是实现快速自动补全的关键
### 一些扩展
上面介绍了如何利用合理的数据结构实现基本的自动补全功能这些数据结构可以通过多种方式进行扩展从而改善用户体验
通常满足特定前缀的词汇可能很多而用户界面上能够显示的却不多我们更希望能显示最常搜索或者最有价值的词汇这通常可以通过为词汇表中的每个单词增加一个代表单词值的**权重** \`weight\`,并且按照权重高低来排序自动补全列表。
- 对于排序后的词汇表来说在词汇表每个元素上增加 \`weight\` 属性并不难;
- 对于前缀树来说 \`weight\` 存储在叶子节点中,也是很简单的一个实现;
- 对于 \`DFA\` 来说,则较为复杂。因为一个叶子节点可以通过多条路径到达。一种解决方案是将权重关联到路径而不是叶子节点。
目前有不少开源库都提供了这个功能比如主流的搜索引擎框架 [Elasticsearch](https://www.elastic.co/products/elasticsearch)、[Solr](https://lucene.apache.org/solr/) 等,基于此,我们可以实现高效而强大的自动补全功能。
#### 推荐阅读
- [阿里又一个 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)
---
欢迎关注我的公众号**Doocs**原创技术文章第一时间推送
<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=`/*
按Ctrl/Command+F可格式化
*/
/* 一级标题样式 */
h1 {
}
/* 二级标题样式 */
h2 {
}
/* 三级标题样式 */
h3 {
}
/* 四级标题样式 */
h4 {
}
/* 图片样式 */
image {
}
/* 引用样式 */
blockquote {
}
/* 引用段落样式 */
blockquote_p {
}
/* 段落样式 */
p {
}
/* 分割线样式 */
hr {
}
/* 行内代码样式 */
codespan {
}
/* 粗体样式 */
strong {
}
/* 链接样式 */
link {
}
/* 微信链接样式 */
wx_link {
}
/* 有序列表样式 */
ol {
}
/* 无序列表样式 */
ul {
}
/* 列表项样式 */
li {
}
/* 代码块样式 */
code {
}
`;var cheerio$2={exports:{}},lib$e={},extendStatics=function(e,t){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,n){y.__proto__=n}||function(y,n){for(var $ in n)Object.prototype.hasOwnProperty.call(n,$)&&(y[$]=n[$])},extendStatics(e,t)};function __extends$4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");extendStatics(e,t);function y(){this.constructor=e}e.prototype=t===null?Object.create(t):(y.prototype=t.prototype,new y)}var __assign$7=function(){return __assign$7=Object.assign||function(t){for(var y,n=1,$=arguments.length;n<$;n++){y=arguments[n];for(var k in y)Object.prototype.hasOwnProperty.call(y,k)&&(t[k]=y[k])}return t},__assign$7.apply(this,arguments)};function __rest$1(e,t){var y={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(y[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $=0,n=Object.getOwnPropertySymbols(e);$<n.length;$++)t.indexOf(n[$])<0&&Object.prototype.propertyIsEnumerable.call(e,n[$])&&(y[n[$]]=e[n[$]]);return y}function __decorate(e,t,y,n){var $=arguments.length,k=$<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,y):n,L;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")k=Reflect.decorate(e,t,y,n);else for(var j=e.length-1;j>=0;j--)(L=e[j])&&(k=($<3?L(k):$>3?L(t,y,k):L(t,y))||k);return $>3&&k&&Object.defineProperty(t,y,k),k}function __param(e,t){return function(y,n){t(y,n,e)}}function __esDecorate(e,t,y,n,$,k){function L($e){if($e!==void 0&&typeof $e!="function")throw new TypeError("Function expected");return $e}for(var j=n.kind,V=j==="getter"?"get":j==="setter"?"set":"value",z=!t&&e?n.static?e:e.prototype:null,re=t||(z?Object.getOwnPropertyDescriptor(z,n.name):{}),oe,ue=!1,de=y.length-1;de>=0;de--){var _e={};for(var Ne in n)_e[Ne]=Ne==="access"?{}:n[Ne];for(var Ne in n.access)_e.access[Ne]=n.access[Ne];_e.addInitializer=function($e){if(ue)throw new TypeError("Cannot add initializers after decoration has completed");k.push(L($e||null))};var Ue=(0,y[de])(j==="accessor"?{get:re.get,set:re.set}:re[V],_e);if(j==="accessor"){if(Ue===void 0)continue;if(Ue===null||typeof Ue!="object")throw new TypeError("Object expected");(oe=L(Ue.get))&&(re.get=oe),(oe=L(Ue.set))&&(re.set=oe),(oe=L(Ue.init))&&$.unshift(oe)}else(oe=L(Ue))&&(j==="field"?$.unshift(oe):re[V]=oe)}z&&Object.defineProperty(z,n.name,re),ue=!0}function __runInitializers(e,t,y){for(var n=arguments.length>2,$=0;$<t.length;$++)y=n?t[$].call(e,y):t[$].call(e);return n?y:void 0}function __propKey(e){return typeof e=="symbol"?e:"".concat(e)}function __setFunctionName(e,t,y){return typeof t=="symbol"&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:y?"".concat(y," ",t):t})}function __metadata(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function __awaiter$8(e,t,y,n){function $(k){return k instanceof y?k:new y(function(L){L(k)})}return new(y||(y=Promise))(function(k,L){function j(re){try{z(n.next(re))}catch(oe){L(oe)}}function V(re){try{z(n.throw(re))}catch(oe){L(oe)}}function z(re){re.done?k(re.value):$(re.value).then(j,V)}z((n=n.apply(e,t||[])).next())})}function __generator$8(e,t){var y={label:0,sent:function(){if(k[0]&1)throw k[1];return k[1]},trys:[],ops:[]},n,$,k,L;return L={next:j(0),throw:j(1),return:j(2)},typeof Symbol=="function"&&(L[Symbol.iterator]=function(){return this}),L;function j(z){return function(re){return V([z,re])}}function V(z){if(n)throw new TypeError("Generator is already executing.");for(;L&&(L=0,z[0]&&(y=0)),y;)try{if(n=1,$&&(k=z[0]&2?$.return:z[0]?$.throw||((k=$.return)&&k.call($),0):$.next)&&!(k=k.call($,z[1])).done)return k;switch($=0,k&&(z=[z[0]&2,k.value]),z[0]){case 0:case 1:k=z;break;case 4:return y.label++,{value:z[1],done:!1};case 5:y.label++,$=z[1],z=[0];continue;case 7:z=y.ops.pop(),y.trys.pop();continue;default:if(k=y.trys,!(k=k.length>0&&k[k.length-1])&&(z[0]===6||z[0]===2)){y=0;continue}if(z[0]===3&&(!k||z[1]>k[0]&&z
`,nexist$1="∄",nexists$1="∄",Nfr$1="𝔑",nfr$1="𝔫",ngE$1="≧̸",nge$1="≱",ngeq$1="≱",ngeqq$1="≧̸",ngeqslant$1="⩾̸",nges$1="⩾̸",nGg$1="⋙̸",ngsim$1="≵",nGt$1="≫⃒",ngt$1="≯",ngtr$1="≯",nGtv$1="≫̸",nharr$1="↮",nhArr$1="⇎",nhpar$1="⫲",ni$1="∋",nis$1="⋼",nisd$1="⋺",niv$1="∋",NJcy$1="Њ",njcy$1="њ",nlarr$1="↚",nlArr$1="⇍",nldr$1="‥",nlE$1="≦̸",nle$1="≰",nleftarrow$1="↚",nLeftarrow$1="⇍",nleftrightarrow$1="↮",nLeftrightarrow$1="⇎",nleq$1="≰",nleqq$1="≦̸",nleqslant$1="⩽̸",nles$1="⩽̸",nless$1="≮",nLl$1="⋘̸",nlsim$1="≴",nLt$1="≪⃒",nlt$1="≮",nltri$1="⋪",nltrie$1="⋬",nLtv$1="≪̸",nmid$1="∤",NoBreak$1="",NonBreakingSpace$1=" ",nopf$1="𝕟",Nopf$1="",Not$1="⫬",not$3="¬",NotCongruent$1="≢",NotCupCap$1="≭",NotDoubleVerticalBar$1="∦",NotElement$1="∉",NotEqual$1="≠",NotEqualTilde$1="≂̸",NotExists$1="∄",NotGreater$1="≯",NotGreaterEqual$1="≱",NotGreaterFullEqual$1="≧̸",NotGreaterGreater$1="≫̸",NotGreaterLess$1="≹",NotGreaterSlantEqual$1="⩾̸",NotGreaterTilde$1="≵",NotHumpDownHump$1="≎̸",NotHumpEqual$1="≏̸",notin$1="∉",notindot$1="⋵̸",notinE$1="⋹̸",notinva$1="∉",notinvb$1="⋷",notinvc$1="⋶",NotLeftTriangleBar$1="⧏̸",NotLeftTriangle$1="⋪",NotLeftTriangleEqual$1="⋬",NotLess$1="≮",NotLessEqual$1="≰",NotLessGreater$1="≸",NotLessLess$1="≪̸",NotLessSlantEqual$1="⩽̸",NotLessTilde$1="≴",NotNestedGreaterGreater$1="⪢̸",NotNestedLessLess$1="⪡̸",notni$1="∌",notniva$1="∌",notnivb$1="⋾",notnivc$1="⋽",NotPrecedes$1="⊀",NotPrecedesEqual$1="⪯̸",NotPrecedesSlantEqual$1="⋠",NotReverseElement$1="∌",NotRightTriangleBar$1="⧐̸",NotRightTriangle$1="⋫",NotRightTriangleEqual$1="⋭",NotSquareSubset$1="⊏̸",NotSquareSubsetEqual$1="⋢",NotSquareSuperset$1="⊐̸",NotSquareSupersetEqual$1="⋣",NotSubset$1="⊂⃒",NotSubsetEqual$1="⊈",NotSucceeds$1="⊁",NotSucceedsEqual$1="⪰̸",NotSucceedsSlantEqual$1="⋡",NotSucceedsTilde$1="≿̸",NotSuperset$1="⊃⃒",NotSupersetEqual$1="⊉",NotTilde$1="≁",NotTildeEqual$1="≄",NotTildeFullEqual$1="≇",NotTildeTilde$1="≉",NotVerticalBar$1="∤",nparallel$1="∦",npar$1="∦",nparsl$1="⫽⃥",npart$1="∂̸",npolint$1="⨔",npr$1="⊀",nprcue$1="⋠",nprec$1="⊀",npreceq$1="⪯̸",npre$1="⪯̸",nrarrc$1="⤳̸",nrarr$1="↛",nrArr$1="⇏",nrarrw$1="↝̸",nrightarrow$1="↛",nRightarrow$1="⇏",nrtri$1="⋫",nrtrie$1="⋭",nsc$1="⊁",nsccue$1="⋡",nsce$1="⪰̸",Nscr$1="𝒩",nscr$1="𝓃",nshortmid$1="∤",nshortparallel$1="∦",nsim$1="≁",nsime$1="≄",nsimeq$1="≄",nsmid$1="∤",nspar$1="∦",nsqsube$1="⋢",nsqsupe$1="⋣",nsub$1="⊄",nsubE$1="⫅̸",nsube$1="⊈",nsubset$1="⊂⃒",nsubseteq$1="⊈",nsubseteqq$1="⫅̸",nsucc$1="⊁",nsucceq$1="⪰̸",nsup$1="⊅",nsupE$1="⫆̸",nsupe$1="⊉",nsupset$1="⊃⃒",nsupseteq$1="⊉",nsupseteqq$1="⫆̸",ntgl$1="≹",Ntilde$3="Ñ",ntilde$3="ñ",ntlg$1="≸",ntriangleleft$1="⋪",ntrianglelefteq$1="⋬",ntriangleright$1="⋫",ntrianglerighteq$1="⋭",Nu$1="Ν",nu$2="ν",num$1="#",numero$1="№",numsp$1="",nvap$1="≍⃒",nvdash$1="⊬",nvDash$1="⊭",nVdash$1="⊮",nVDash$1="⊯",nvge$1="≥⃒",nvgt$1=">⃒",nvHarr$1="⤄",nvinfin$1="⧞",nvlArr$1="⤂",nvle$1="≤⃒",nvlt$1="<⃒",nvltrie$1="⊴⃒",nvrArr$1="⤃",nvrtrie$1="⊵⃒",nvsim$1="∼⃒",nwarhk$1="⤣",nwarr$1="↖",nwArr$1="⇖",nwarrow$1="↖",nwnear$1="⤧",Oacute$3="Ó",oacute$3="ó",oast$1="⊛",Ocirc$3="Ô",ocirc$3="ô",ocir$1="⊚",Ocy$1="О",ocy$1="о",odash$1="⊝",Odblac$1="Ő",odblac$1="ő",odiv$1="⨸",odot$1="⊙",odsold$1="⦼",OElig$1="Œ",oelig$1="œ",ofcir$1="⦿",Ofr$1="𝔒",ofr$1="𝔬",ogon$1="˛",Ograve$3="Ò",ograve$3="ò",ogt$1="⧁",ohbar$1="⦵",ohm$1="Ω",oint$1="∮",olarr$1="↺",olcir$1="⦾",olcross$1="⦻",oline$1="‾",olt$1="⧀",Omacr$1="Ō",omacr$1="ō",Omega$1="Ω",omega$1="ω",Omicron$1="Ο",omicron$1="ο",omid$1="⦶",ominus$1="⊖",Oopf$1="𝕆",oopf$1="𝕠",opar$1="⦷",OpenCurlyDoubleQuote$1="“",OpenCurlyQuote$1="",operp$1="⦹",oplus
`:L(z.children):(0,t.isCDATA)(z)?L(z.children):(0,t.isText)(z)?z.data:""}stringify$3.getText=L;function j(z){return Array.isArray(z)?z.map(j).join(""):(0,t.hasChildren)(z)&&!(0,t.isComment)(z)?j(z.children):(0,t.isText)(z)?z.data:""}stringify$3.textContent=j;function V(z){return Array.isArray(z)?z.map(V).join(""):(0,t.hasChildren)(z)&&(z.type===n.ElementType.Tag||(0,t.isCDATA)(z))?V(z.children):(0,t.isText)(z)?z.data:""}return stringify$3.innerText=V,stringify$3}var traversal={},hasRequiredTraversal;function requireTraversal(){if(hasRequiredTraversal)return traversal;hasRequiredTraversal=1,Object.defineProperty(traversal,"__esModule",{value:!0}),traversal.prevElementSibling=traversal.nextElementSibling=traversal.getName=traversal.hasAttrib=traversal.getAttributeValue=traversal.getSiblings=traversal.getParent=traversal.getChildren=void 0;var e=requireLib$a(),t=[];function y(re){var oe;return(oe=re.children)!==null&&oe!==void 0?oe:t}traversal.getChildren=y;function n(re){return re.parent||null}traversal.getParent=n;function $(re){var oe,ue,de=n(re);if(de!=null)return y(de);for(var _e=[re],Ne=re.prev,Ue=re.next;Ne!=null;)_e.unshift(Ne),oe=Ne,Ne=oe.prev;for(;Ue!=null;)_e.push(Ue),ue=Ue,Ue=ue.next;return _e}traversal.getSiblings=$;function k(re,oe){var ue;return(ue=re.attribs)===null||ue===void 0?void 0:ue[oe]}traversal.getAttributeValue=k;function L(re,oe){return re.attribs!=null&&Object.prototype.hasOwnProperty.call(re.attribs,oe)&&re.attribs[oe]!=null}traversal.hasAttrib=L;function j(re){return re.name}traversal.getName=j;function V(re){for(var oe,ue=re.next;ue!==null&&!(0,e.isTag)(ue);)oe=ue,ue=oe.next;return ue}traversal.nextElementSibling=V;function z(re){for(var oe,ue=re.prev;ue!==null&&!(0,e.isTag)(ue);)oe=ue,ue=oe.prev;return ue}return traversal.prevElementSibling=z,traversal}var manipulation$1={},hasRequiredManipulation$1;function requireManipulation$1(){if(hasRequiredManipulation$1)return manipulation$1;hasRequiredManipulation$1=1,Object.defineProperty(manipulation$1,"__esModule",{value:!0}),manipulation$1.prepend=manipulation$1.prependChild=manipulation$1.append=manipulation$1.appendChild=manipulation$1.replaceElement=manipulation$1.removeElement=void 0;function e(L){if(L.prev&&(L.prev.next=L.next),L.next&&(L.next.prev=L.prev),L.parent){var j=L.parent.children;j.splice(j.lastIndexOf(L),1)}}manipulation$1.removeElement=e;function t(L,j){var V=j.prev=L.prev;V&&(V.next=j);var z=j.next=L.next;z&&(z.prev=j);var re=j.parent=L.parent;if(re){var oe=re.children;oe[oe.lastIndexOf(L)]=j}}manipulation$1.replaceElement=t;function y(L,j){if(e(j),j.next=null,j.parent=L,L.children.push(j)>1){var V=L.children[L.children.length-2];V.next=j,j.prev=V}else j.prev=null}manipulation$1.appendChild=y;function n(L,j){e(j);var V=L.parent,z=L.next;if(j.next=z,j.prev=L,L.next=j,j.parent=V,z){if(z.prev=j,V){var re=V.children;re.splice(re.lastIndexOf(z),0,j)}}else V&&V.children.push(j)}manipulation$1.append=n;function $(L,j){if(e(j),j.parent=L,j.prev=null,L.children.unshift(j)!==1){var V=L.children[1];V.prev=j,j.next=V}else j.next=null}manipulation$1.prependChild=$;function k(L,j){e(j);var V=L.parent;if(V){var z=V.children;z.splice(z.indexOf(L),0,j)}L.prev&&(L.prev.next=j),j.parent=V,j.prev=L.prev,j.next=L,L.prev=j}return manipulation$1.prepend=k,manipulation$1}var querying={},hasRequiredQuerying;function requireQuerying(){if(hasRequiredQuerying)return querying;hasRequiredQuerying=1,Object.defineProperty(querying,"__esModule",{value:!0}),querying.findAll=querying.existsOne=querying.findOne=querying.findOneChild=querying.find=querying.filter=void 0;var e=requireLib$a();function t(j,V,z,re){return z===void 0&&(z=!0),re===void 0&&(re=1/0),Array.isArray(V)||(V=[V]),y(j,V,z,re)}querying.filter=t;function y(j,V,z,re){for(var oe=[],ue=0,de=V;ue<de.length;ue++){var _e=de[ue];if(j(_e)&&(oe.push(_e),--re<=0))break;if(z&&(0,e.hasChildren)(_e)&&_e.children.length>0){var Ne=y(j,_e.children,z,re);if(oe.push.apply(oe,Ne),re-=Ne.length,re<=0)break}}return oe}querying.find=y;function n(j,V){return V.find(j)}querying.findOneChild=n;function $(j,V,z){z===void 0&
: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])"}),aliases$1}var subselects={},hasRequiredSubselects;function requireSubselects(){return hasRequiredSubselects||(hasRequiredSubselects=1,function(e){var t=commonjsGlobal&&commonjsGlobal.__spreadArray||function(j,V,z){if(z||arguments.length===2)for(var re=0,oe=V.length,ue;re<oe;re++)(ue||!(re in V))&&(ue||(ue=Array.prototype.slice.call(V,0,re)),ue[re]=V[re]);return j.concat(ue||Array.prototype.slice.call(V))};Object.defineProperty(e,"__esModule",{value:!0}),e.subselects=e.getNextSiblings=e.ensureIsTag=e.PLACEHOLDER_ELEMENT=void 0;var y=requireBoolbase(),n=requireProcedure();e.PLACEHOLDER_ELEMENT={};function $(j,V){return j===y.falseFunc?y.falseFunc:function(z){return V.isTag(z)&&j(z)}}e.ensureIsTag=$;function k(j,V){var z=V.getSiblings(j);if(z.length<=1)return[];var re=z.indexOf(j);return re<0||re===z.length-1?[]:z.slice(re+1).filter(V.isTag)}e.getNextSiblings=k;var L=function(j,V,z,re,oe){var ue={xmlMode:!!z.xmlMode,adapter:z.adapter,equals:z.equals},de=oe(V,ue,re);return function(_e){return de(_e)&&j(_e)}};e.subselects={is:L,matches:L,where:L,not:function(j,V,z,re,oe){var ue={xmlMode:!!z.xmlMode,adapter:z.adapter,equals:z.equals},de=oe(V,ue,re);return de===y.falseFunc?j:de===y.trueFunc?y.falseFunc:function(Ne){return!de(Ne)&&j(Ne)}},has:function(j,V,z,re,oe){var ue=z.adapter,de={xmlMode:!!z.xmlMode,adapter:ue,equals:z.equals},_e=V.some(function(Fe){return Fe.some(n.isTraversal)})?[e.PLACEHOLDER_ELEMENT]:void 0,Ne=oe(V,de,_e);if(Ne===y.falseFunc)return y.falseFunc;if(Ne===y.trueFunc)return function(Fe){return ue.getChildren(Fe).some(ue.isTag)&&j(Fe)};var Ue=$(Ne,ue),$e=Ne.shouldTestNextSiblings,Ve=$e===void 0?!1:$e;return _e?function(Fe){_e[0]=Fe;var qe=ue.getChildren(Fe),er=Ve?t(t([],qe,!0),k(Fe,ue),!0):qe;return j(Fe)&&ue.existsOne(Ue,er)}:function(Fe){return j(Fe)&&ue.existsOne(Ue,ue.getChildren(Fe))}}}}(subselects)),subselects}var hasRequiredPseudoSelectors;function requirePseudoSelectors(){return hasRequiredPseudoSelectors||(hasRequiredPseudoSelectors=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.compilePseudoSelector=e.aliases=e.pseudos=e.filters=void 0;var t=requireBoolbase(),y=require$$0$7,n=requireFilters();Object.defineProperty(e,"filters",{enumerable:!0,get:function(){return n.filters}});var $=requirePseudos();Object.defineProperty(e,"pseudos",{enumerable:!0,get:function(){return $.pseudos}});var k=requireAliases();Object.defineProperty(e,"aliases",{enumerable:!0,get:function(){return k.aliases}});var L=requireSubselects();function j(V,z,re,oe,ue){var de=z.name,_e=z.data;if(Array.isArray(_e))return L.subselects[de](V,_e,re,oe,ue);if(de in k.aliases){if(_e!=null)throw new Error("Pseudo ".concat(de," doesn't have any arguments"));var Ne=(0,y.parse)(k.aliases[de]);return L.subselects.is(V,Ne,re,oe,ue)}if(de in n.filters)return n.filters[de](V,_e,re,oe);if(de in $.pseudos){var Ue=$.pseudos[de];return(0,$.verifyPseudoArgs)(Ue,de,_e),Ue===t.falseFunc?t.falseFunc:V===t.trueFunc?function($e){return Ue($e,re,_e)}:function($e){return Ue($e,re,_e)&&V($e)}}throw new Error("unmatched pseudo-class :".concat(de))}e.compilePseudoSelector=j}(pseudoSelectors)),pseudoSelectors}var hasRequiredGeneral;function requireGeneral(){if(hasRequiredGeneral)return general;hasRequiredGeneral=1,Object.defineProperty(general,"__esModule",{value:!0}),general.compileGeneralSelector=void 0;var e=requireAttributes$1(),t=requirePseudoSelectors(),y=require$$0$7;f
`,nexist="∄",nexists="∄",Nfr="𝔑",nfr="𝔫",ngE="≧̸",nge="≱",ngeq="≱",ngeqq="≧̸",ngeqslant="⩾̸",nges="⩾̸",nGg="⋙̸",ngsim="≵",nGt="≫⃒",ngt="≯",ngtr="≯",nGtv="≫̸",nharr="↮",nhArr="⇎",nhpar="⫲",ni="∋",nis="⋼",nisd="⋺",niv="∋",NJcy="Њ",njcy="њ",nlarr="↚",nlArr="⇍",nldr="‥",nlE="≦̸",nle="≰",nleftarrow="↚",nLeftarrow="⇍",nleftrightarrow="↮",nLeftrightarrow="⇎",nleq="≰",nleqq="≦̸",nleqslant="⩽̸",nles="⩽̸",nless="≮",nLl="⋘̸",nlsim="≴",nLt="≪⃒",nlt="≮",nltri="⋪",nltrie="⋬",nLtv="≪̸",nmid="∤",NoBreak="",NonBreakingSpace=" ",nopf="𝕟",Nopf="",Not="⫬",not$1="¬",NotCongruent="≢",NotCupCap="≭",NotDoubleVerticalBar="∦",NotElement="∉",NotEqual="≠",NotEqualTilde="≂̸",NotExists="∄",NotGreater="≯",NotGreaterEqual="≱",NotGreaterFullEqual="≧̸",NotGreaterGreater="≫̸",NotGreaterLess="≹",NotGreaterSlantEqual="⩾̸",NotGreaterTilde="≵",NotHumpDownHump="≎̸",NotHumpEqual="≏̸",notin="∉",notindot="⋵̸",notinE="⋹̸",notinva="∉",notinvb="⋷",notinvc="⋶",NotLeftTriangleBar="⧏̸",NotLeftTriangle="⋪",NotLeftTriangleEqual="⋬",NotLess="≮",NotLessEqual="≰",NotLessGreater="≸",NotLessLess="≪̸",NotLessSlantEqual="⩽̸",NotLessTilde="≴",NotNestedGreaterGreater="⪢̸",NotNestedLessLess="⪡̸",notni="∌",notniva="∌",notnivb="⋾",notnivc="⋽",NotPrecedes="⊀",NotPrecedesEqual="⪯̸",NotPrecedesSlantEqual="⋠",NotReverseElement="∌",NotRightTriangleBar="⧐̸",NotRightTriangle="⋫",NotRightTriangleEqual="⋭",NotSquareSubset="⊏̸",NotSquareSubsetEqual="⋢",NotSquareSuperset="⊐̸",NotSquareSupersetEqual="⋣",NotSubset="⊂⃒",NotSubsetEqual="⊈",NotSucceeds="⊁",NotSucceedsEqual="⪰̸",NotSucceedsSlantEqual="⋡",NotSucceedsTilde="≿̸",NotSuperset="⊃⃒",NotSupersetEqual="⊉",NotTilde="≁",NotTildeEqual="≄",NotTildeFullEqual="≇",NotTildeTilde="≉",NotVerticalBar="∤",nparallel="∦",npar="∦",nparsl="⫽⃥",npart="∂̸",npolint="⨔",npr="⊀",nprcue="⋠",nprec="⊀",npreceq="⪯̸",npre="⪯̸",nrarrc="⤳̸",nrarr="↛",nrArr="⇏",nrarrw="↝̸",nrightarrow="↛",nRightarrow="⇏",nrtri="⋫",nrtrie="⋭",nsc="⊁",nsccue="⋡",nsce="⪰̸",Nscr="𝒩",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="≹",Ntilde$1="Ñ",ntilde$1="ñ",ntlg="≸",ntriangleleft="⋪",ntrianglelefteq="⋬",ntriangleright="⋫",ntrianglerighteq="⋭",Nu="Ν",nu$1="ν",num="#",numero="№",numsp="",nvap="≍⃒",nvdash="⊬",nvDash="⊭",nVdash="⊮",nVDash="⊯",nvge="≥⃒",nvgt=">⃒",nvHarr="⤄",nvinfin="⧞",nvlArr="⤂",nvle="≤⃒",nvlt="<⃒",nvltrie="⊴⃒",nvrArr="⤃",nvrtrie="⊵⃒",nvsim="∼⃒",nwarhk="⤣",nwarr="↖",nwArr="⇖",nwarrow="↖",nwnear="⤧",Oacute$1="Ó",oacute$1="ó",oast="⊛",Ocirc$1="Ô",ocirc$1="ô",ocir="⊚",Ocy="О",ocy="о",odash="⊝",Odblac="Ő",odblac="ő",odiv="⨸",odot="⊙",odsold="⦼",OElig="Œ",oelig="œ",ofcir="⦿",Ofr="𝔒",ofr="𝔬",ogon="˛",Ograve$1="Ò",ograve$1="ò",ogt="⧁",ohbar="⦵",ohm="Ω",oint="∮",olarr="↺",olcir="⦾",olcross="⦻",oline="‾",olt="⧀",Omacr="Ō",omacr="ō",Omega="Ω",omega="ω",Omicron="Ο",omicron="ο",omid="⦶",ominus="⊖",Oopf="𝕆",oopf="𝕠",opar="⦷",OpenCurlyDoubleQuote="“",OpenCurlyQuote="",operp="⦹",oplus="⊕",orarr="↻",Or="⩔",or="",ord="⩝",order="",orderof="",ordf$1="ª",ordm$1="º",origof="⊶",oror="⩖",orslope="⩗",orv="⩛",oS="Ⓢ",Oscr="𝒪",oscr="",Oslash$1="Ø",oslash$1="ø",osol="⊘",Otilde$1="Õ",otilde$1="õ",otimesas="⨶",Otimes="⨷",otimes="⊗",Ouml$1="Ö",ouml$1="ö",ovbar="⌽",OverBar="‾",OverBrace="⏞",OverBracket="⎴",OverParenthesis="⏜",para$1="¶",parallel$1="∥",par="∥",parsim="⫳",parsl="⫽",par
`||_r===" "||_r==="\f"||_r==="\r"}function L(_r){return _r>="a"&&_r<="z"||_r>="A"&&_r<="Z"}function j(_r,yr,xr){var Nr=_r.toLowerCase();return _r===Nr?function(Tr,Sr){Sr===Nr?Tr._state=yr:(Tr._state=xr,Tr._index--)}:function(Tr,Sr){Sr===Nr||Sr===_r?Tr._state=yr:(Tr._state=xr,Tr._index--)}}function V(_r,yr){var xr=_r.toLowerCase();return function(Nr,Tr){Tr===xr||Tr===_r?Nr._state=yr:(Nr._state=3,Nr._index--)}}var z=j("C",24,16),re=j("D",25,16),oe=j("A",26,16),ue=j("T",27,16),de=j("A",28,16),_e=V("R",35),Ne=V("I",36),Ue=V("P",37),$e=V("T",38),Ve=j("R",40,1),Fe=j("I",41,1),qe=j("P",42,1),er=j("T",43,1),ir=V("Y",45),dr=V("L",46),cr=V("E",47),nr=j("Y",49,1),lr=j("L",50,1),Et=j("E",51,1),ie=V("I",54),pe=V("T",55),Ce=V("L",56),Ie=V("E",57),jt=j("I",58,1),ar=j("T",59,1),ur=j("L",60,1),kt=j("E",61,1),he=j("#",63,64),tr=j("X",66,65),gr=function(){function _r(yr,xr){var Nr;this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.special=1,this.running=!0,this.ended=!1,this.cbs=xr,this.xmlMode=!!(yr!=null&&yr.xmlMode),this.decodeEntities=(Nr=yr==null?void 0:yr.decodeEntities)!==null&&Nr!==void 0?Nr:!0}return _r.prototype.reset=function(){this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.special=1,this.running=!0,this.ended=!1},_r.prototype.write=function(yr){this.ended&&this.cbs.onerror(Error(".write() after done!")),this.buffer+=yr,this.parse()},_r.prototype.end=function(yr){this.ended&&this.cbs.onerror(Error(".end() after done!")),yr&&this.write(yr),this.ended=!0,this.running&&this.finish()},_r.prototype.pause=function(){this.running=!1},_r.prototype.resume=function(){this.running=!0,this._index<this.buffer.length&&this.parse(),this.ended&&this.finish()},_r.prototype.getAbsoluteIndex=function(){return this.bufferOffset+this._index},_r.prototype.stateText=function(yr){yr==="<"?(this._index>this.sectionStart&&this.cbs.ontext(this.getSection()),this._state=2,this.sectionStart=this._index):this.decodeEntities&&yr==="&"&&(this.special===1||this.special===4)&&(this._index>this.sectionStart&&this.cbs.ontext(this.getSection()),this.baseState=1,this._state=62,this.sectionStart=this._index)},_r.prototype.isTagStartChar=function(yr){return L(yr)||this.xmlMode&&!k(yr)&&yr!=="/"&&yr!==">"},_r.prototype.stateBeforeTagName=function(yr){yr==="/"?this._state=5:yr==="<"?(this.cbs.ontext(this.getSection()),this.sectionStart=this._index):yr===">"||this.special!==1||k(yr)?this._state=1:yr==="!"?(this._state=15,this.sectionStart=this._index+1):yr==="?"?(this._state=17,this.sectionStart=this._index+1):this.isTagStartChar(yr)?(this._state=!this.xmlMode&&(yr==="s"||yr==="S")?32:!this.xmlMode&&(yr==="t"||yr==="T")?52:3,this.sectionStart=this._index):this._state=1},_r.prototype.stateInTagName=function(yr){(yr==="/"||yr===">"||k(yr))&&(this.emitToken("onopentagname"),this._state=8,this._index--)},_r.prototype.stateBeforeClosingTagName=function(yr){k(yr)||(yr===">"?this._state=1:this.special!==1?this.special!==4&&(yr==="s"||yr==="S")?this._state=33:this.special===4&&(yr==="t"||yr==="T")?this._state=53:(this._state=1,this._index--):this.isTagStartChar(yr)?(this._state=6,this.sectionStart=this._index):(this._state=20,this.sectionStart=this._index))},_r.prototype.stateInClosingTagName=function(yr){(yr===">"||k(yr))&&(this.emitToken("onclosetag"),this._state=7,this._index--)},_r.prototype.stateAfterClosingTagName=function(yr){yr===">"&&(this._state=1,this.sectionStart=this._index+1)},_r.prototype.stateBeforeAttributeName=function(yr){yr===">"?(this.cbs.onopentagend(),this._state=1,this.sectionStart=this._index+1):yr==="/"?this._state=4:k(yr)||(this._state=9,this.sectionStart=this._index)},_r.prototype.stateInSelfClosingTag=function(yr){yr===">"?(this.cbs.onselfclosingtag(),this._state=1,this.sectionStart=this._index+1,this.special=1):k(yr)||(this._state=8,this._index--)},_r.prototype.stateInAttributeName=function(yr){(yr==="="||yr==="/"||yr===">"||k(yr))&&(this.cbs.onattribname(this.getSection()),this.sectionStart=-1,this._state=10,this._index--)},_r.prototype.
`||L==="\r"&&this.html[k+1]!==`
`)&&(n.isEol=!0),n.col=k-n.lineStartPos+1,n.offset=n.droppedBufferSize+k,$.advance.call(this)},retreat(){$.retreat.call(this),n.isEol=!1,n.col=this.pos-n.lineStartPos+1},dropParsedChunk(){const k=this.pos;$.dropParsedChunk.call(this);const L=k-this.pos;n.lineStartPos-=L,n.droppedBufferSize+=L,n.offset=n.droppedBufferSize+this.pos}}}}return preprocessorMixin$1=t,preprocessorMixin$1}var tokenizerMixin$1,hasRequiredTokenizerMixin$1;function requireTokenizerMixin$1(){if(hasRequiredTokenizerMixin$1)return tokenizerMixin$1;hasRequiredTokenizerMixin$1=1;const e=requireMixin(),t=requireTokenizer(),y=requirePreprocessorMixin$1();class n extends e{constructor(k){super(k),this.tokenizer=k,this.posTracker=e.install(k.preprocessor,y),this.currentAttrLocation=null,this.ctLoc=null}_getCurrentLocation(){return{startLine:this.posTracker.line,startCol:this.posTracker.col,startOffset:this.posTracker.offset,endLine:-1,endCol:-1,endOffset:-1}}_attachCurrentAttrLocationInfo(){this.currentAttrLocation.endLine=this.posTracker.line,this.currentAttrLocation.endCol=this.posTracker.col,this.currentAttrLocation.endOffset=this.posTracker.offset;const k=this.tokenizer.currentToken,L=this.tokenizer.currentAttr;k.location.attrs||(k.location.attrs=Object.create(null)),k.location.attrs[L.name]=this.currentAttrLocation}_getOverriddenMethods(k,L){const j={_createStartTagToken(){L._createStartTagToken.call(this),this.currentToken.location=k.ctLoc},_createEndTagToken(){L._createEndTagToken.call(this),this.currentToken.location=k.ctLoc},_createCommentToken(){L._createCommentToken.call(this),this.currentToken.location=k.ctLoc},_createDoctypeToken(V){L._createDoctypeToken.call(this,V),this.currentToken.location=k.ctLoc},_createCharacterToken(V,z){L._createCharacterToken.call(this,V,z),this.currentCharacterToken.location=k.ctLoc},_createEOFToken(){L._createEOFToken.call(this),this.currentToken.location=k._getCurrentLocation()},_createAttr(V){L._createAttr.call(this,V),k.currentAttrLocation=k._getCurrentLocation()},_leaveAttrName(V){L._leaveAttrName.call(this,V),k._attachCurrentAttrLocationInfo()},_leaveAttrValue(V){L._leaveAttrValue.call(this,V),k._attachCurrentAttrLocationInfo()},_emitCurrentToken(){const V=this.currentToken.location;this.currentCharacterToken&&(this.currentCharacterToken.location.endLine=V.startLine,this.currentCharacterToken.location.endCol=V.startCol,this.currentCharacterToken.location.endOffset=V.startOffset),this.currentToken.type===t.EOF_TOKEN?(V.endLine=V.startLine,V.endCol=V.startCol,V.endOffset=V.startOffset):(V.endLine=k.posTracker.line,V.endCol=k.posTracker.col+1,V.endOffset=k.posTracker.offset+1),L._emitCurrentToken.call(this)},_emitCurrentCharacterToken(){const V=this.currentCharacterToken&&this.currentCharacterToken.location;V&&V.endOffset===-1&&(V.endLine=k.posTracker.line,V.endCol=k.posTracker.col,V.endOffset=k.posTracker.offset),L._emitCurrentCharacterToken.call(this)}};return Object.keys(t.MODE).forEach(V=>{const z=t.MODE[V];j[z]=function(re){k.ctLoc=k._getCurrentLocation(),L[z].call(this,re)}}),j}}return tokenizerMixin$1=n,tokenizerMixin$1}var openElementStackMixin,hasRequiredOpenElementStackMixin;function requireOpenElementStackMixin(){if(hasRequiredOpenElementStackMixin)return openElementStackMixin;hasRequiredOpenElementStackMixin=1;const e=requireMixin();class t extends e{constructor(n,$){super(n),this.onItemPop=$.onItemPop}_getOverriddenMethods(n,$){return{pop(){n.onItemPop(this.current),$.pop.call(this)},popAllUpToHtmlElement(){for(let k=this.stackTop;k>0;k--)n.onItemPop(this.items[k]);$.popAllUpToHtmlElement.call(this)},remove(k){n.onItemPop(this.current),$.remove.call(this,k)}}}}return openElementStackMixin=t,openElementStackMixin}var parserMixin$1,hasRequiredParserMixin$1;function requireParserMixin$1(){if(hasRequiredParserMixin$1)return parserMixin$1;hasRequiredParserMixin$1=1;const e=requireMixin(),t=requireTokenizer(),y=requireTokenizerMixin$1(),n=requireOpenElementStackMixin(),k=requireHtml().TAG_NAMES;class L extends e{constructor(V){super(V),this.parser=V,this.treeAdapter=this.parser.treeAdapter,this.posTracker=
`)){if(Hi.chars.length===1)continue;Hi.chars=Hi.chars.substr(1)}if(this._processInputToken(Hi),Mi&&this.pendingScript)break}}runParsingLoopForCurrentChunk(Mi,Hi){if(this._runParsingLoop(Hi),Hi&&this.pendingScript){const zu=this.pendingScript;this.pendingScript=null,Hi(zu);return}Mi&&Mi()}_setupTokenizerCDATAMode(){const Mi=this._getAdjustedCurrentElement();this.tokenizer.allowCDATA=Mi&&Mi!==this.document&&this.treeAdapter.getNamespaceURI(Mi)!==_e.HTML&&!this._isIntegrationPoint(Mi)}_switchToTextParsing(Mi,Hi){this._insertElement(Mi,_e.HTML),this.tokenizer.state=Hi,this.originalInsertionMode=this.insertionMode,this.insertionMode=Et}switchToPlaintextParsing(){this.insertionMode=Et,this.originalInsertionMode=lr,this.tokenizer.state=e.MODE.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let Mi=this.fragmentContext;do{if(this.treeAdapter.getTagName(Mi)===de.FORM){this.formElement=Mi;break}Mi=this.treeAdapter.getParentNode(Mi)}while(Mi)}_initTokenizerForFragmentParsing(){if(this.treeAdapter.getNamespaceURI(this.fragmentContext)===_e.HTML){const Mi=this.treeAdapter.getTagName(this.fragmentContext);Mi===de.TITLE||Mi===de.TEXTAREA?this.tokenizer.state=e.MODE.RCDATA:Mi===de.STYLE||Mi===de.XMP||Mi===de.IFRAME||Mi===de.NOEMBED||Mi===de.NOFRAMES||Mi===de.NOSCRIPT?this.tokenizer.state=e.MODE.RAWTEXT:Mi===de.SCRIPT?this.tokenizer.state=e.MODE.SCRIPT_DATA:Mi===de.PLAINTEXT&&(this.tokenizer.state=e.MODE.PLAINTEXT)}}_setDocumentType(Mi){const Hi=Mi.name||"",zu=Mi.publicId||"",ed=Mi.systemId||"";this.treeAdapter.setDocumentType(this.document,Hi,zu,ed)}_attachElementToTree(Mi){if(this._shouldFosterParentOnInsertion())this._fosterParentElement(Mi);else{const Hi=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.appendChild(Hi,Mi)}}_appendElement(Mi,Hi){const zu=this.treeAdapter.createElement(Mi.tagName,Hi,Mi.attrs);this._attachElementToTree(zu)}_insertElement(Mi,Hi){const zu=this.treeAdapter.createElement(Mi.tagName,Hi,Mi.attrs);this._attachElementToTree(zu),this.openElements.push(zu)}_insertFakeElement(Mi){const Hi=this.treeAdapter.createElement(Mi,_e.HTML,[]);this._attachElementToTree(Hi),this.openElements.push(Hi)}_insertTemplate(Mi){const Hi=this.treeAdapter.createElement(Mi.tagName,_e.HTML,Mi.attrs),zu=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(Hi,zu),this._attachElementToTree(Hi),this.openElements.push(Hi)}_insertFakeRootElement(){const Mi=this.treeAdapter.createElement(de.HTML,_e.HTML,[]);this.treeAdapter.appendChild(this.openElements.current,Mi),this.openElements.push(Mi)}_appendCommentNode(Mi,Hi){const zu=this.treeAdapter.createCommentNode(Mi.data);this.treeAdapter.appendChild(Hi,zu)}_insertCharacters(Mi){if(this._shouldFosterParentOnInsertion())this._fosterParentText(Mi.chars);else{const Hi=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.insertText(Hi,Mi.chars)}}_adoptNodes(Mi,Hi){for(let zu=this.treeAdapter.getFirstChild(Mi);zu;zu=this.treeAdapter.getFirstChild(Mi))this.treeAdapter.detachNode(zu),this.treeAdapter.appendChild(Hi,zu)}_shouldProcessTokenInForeignContent(Mi){const Hi=this._getAdjustedCurrentElement();if(!Hi||Hi===this.document)return!1;const zu=this.treeAdapter.getNamespaceURI(Hi);if(zu===_e.HTML||this.treeAdapter.getTagName(Hi)===de.ANNOTATION_XML&&zu===_e.MATHML&&Mi.type===e.START_TAG_TOKEN&&Mi.tagName===de.SVG)return!1;const ed=Mi.type===e.CHARACTER_TOKEN||Mi.type===e.NULL_CHARACTER_TOKEN||Mi.type===e.WHITESPACE_CHARACTER_TOKEN;return(Mi.type===e.START_TAG_TOKEN&&Mi.tagName!==de.MGLYPH&&Mi.tagName!==de.MALIGNMARK||ed)&&this._isIntegrationPoint(Hi,_e.MATHML)||(Mi.type===e.START_TAG_TOKEN||ed)&&this._isIntegrationPoint(Hi,_e.HTML)?!1:Mi.type!==e.EOF_TOKEN}_processToken(Mi){Ar[this.insertionMode][Mi.type](this,Mi)}_processTokenInBodyMode(Mi){Ar[lr][Mi.type](this,Mi)}_processTokenInForeignContent(Mi){Mi.type===e.CHARACTER_TOKEN?Ph(this,Mi):Mi.type===e.NULL_CHARACTER_TOKEN?df(this,Mi):Mi.type===e.W
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/(function(e){const t=base64Js$1,y=ieee754$1,n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=re,e.SlowBuffer=er,e.INSPECT_MAX_BYTES=50;const $=2147483647;e.kMaxLength=$;const{Uint8Array:k,ArrayBuffer:L,SharedArrayBuffer:j}=globalThis;re.TYPED_ARRAY_SUPPORT=V(),!re.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 V(){try{const Mn=new k(1),Wr={foo:function(){return 42}};return Object.setPrototypeOf(Wr,k.prototype),Object.setPrototypeOf(Mn,Wr),Mn.foo()===42}catch{return!1}}Object.defineProperty(re.prototype,"parent",{enumerable:!0,get:function(){if(re.isBuffer(this))return this.buffer}}),Object.defineProperty(re.prototype,"offset",{enumerable:!0,get:function(){if(re.isBuffer(this))return this.byteOffset}});function z(Mn){if(Mn>$)throw new RangeError('The value "'+Mn+'" is invalid for option "size"');const Wr=new k(Mn);return Object.setPrototypeOf(Wr,re.prototype),Wr}function re(Mn,Wr,Ur){if(typeof Mn=="number"){if(typeof Wr=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return _e(Mn)}return oe(Mn,Wr,Ur)}re.poolSize=8192;function oe(Mn,Wr,Ur){if(typeof Mn=="string")return Ne(Mn,Wr);if(L.isView(Mn))return $e(Mn);if(Mn==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Mn);if(Vi(Mn,L)||Mn&&Vi(Mn.buffer,L)||typeof j<"u"&&(Vi(Mn,j)||Mn&&Vi(Mn.buffer,j)))return Ve(Mn,Wr,Ur);if(typeof Mn=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const Sn=Mn.valueOf&&Mn.valueOf();if(Sn!=null&&Sn!==Mn)return re.from(Sn,Wr,Ur);const Nn=Fe(Mn);if(Nn)return Nn;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Mn[Symbol.toPrimitive]=="function")return re.from(Mn[Symbol.toPrimitive]("string"),Wr,Ur);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Mn)}re.from=function(Mn,Wr,Ur){return oe(Mn,Wr,Ur)},Object.setPrototypeOf(re.prototype,k.prototype),Object.setPrototypeOf(re,k);function ue(Mn){if(typeof Mn!="number")throw new TypeError('"size" argument must be of type number');if(Mn<0)throw new RangeError('The value "'+Mn+'" is invalid for option "size"')}function de(Mn,Wr,Ur){return ue(Mn),Mn<=0?z(Mn):Wr!==void 0?typeof Ur=="string"?z(Mn).fill(Wr,Ur):z(Mn).fill(Wr):z(Mn)}re.alloc=function(Mn,Wr,Ur){return de(Mn,Wr,Ur)};function _e(Mn){return ue(Mn),z(Mn<0?0:qe(Mn)|0)}re.allocUnsafe=function(Mn){return _e(Mn)},re.allocUnsafeSlow=function(Mn){return _e(Mn)};function Ne(Mn,Wr){if((typeof Wr!="string"||Wr==="")&&(Wr="utf8"),!re.isEncoding(Wr))throw new TypeError("Unknown encoding: "+Wr);const Ur=ir(Mn,Wr)|0;let Sn=z(Ur);const Nn=Sn.write(Mn,Wr);return Nn!==Ur&&(Sn=Sn.slice(0,Nn)),Sn}function Ue(Mn){const Wr=Mn.length<0?0:qe(Mn.length)|0,Ur=z(Wr);for(let Sn=0;Sn<Wr;Sn+=1)Ur[Sn]=Mn[Sn]&255;return Ur}function $e(Mn){if(Vi(Mn,k)){const Wr=new k(Mn);return Ve(Wr.buffer,Wr.byteOffset,Wr.byteLength)}return Ue(Mn)}function Ve(Mn,Wr,Ur){if(Wr<0||Mn.byteLength<Wr)throw new RangeError('"offset" is outside of buffer bounds');if(Mn.byteLength<Wr+(Ur||0))throw new RangeError('"length" is outside of buffer bounds');let Sn;return Wr===void 0&&Ur===void 0?Sn=new k(Mn):Ur===void 0?Sn=new k(Mn,Wr):Sn=new k(Mn,Wr,Ur),Object.setPrototypeOf(Sn,re.prototype),Sn}function Fe(Mn){if(re.isBuffer(Mn)){const Wr=qe(Mn.length)|0,Ur=z(Wr);return Ur.length===0||Mn.copy(Ur,0,0,Wr),Ur}if(Mn.length!==void 0)return typeof Mn.length!="number"||To(Mn.length)?z(0):Ue(Mn);if(Mn.type==="Buffer"&&Array.isArray(Mn.data))return Ue(Mn.data)}function qe(Mn){if(Mn>=$)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+$.toString(16)+" bytes");return Mn|0}function er(Mn){return+Mn!=Mn&&(Mn=0),re.alloc(+Mn)}re.isBuffer=functi
`)}}):{name:oe,value:ue.replace(n,`\r
`)}}).toArray()}return forms.serializeArray=k,forms}var hasRequiredCheerio;function requireCheerio(){if(hasRequiredCheerio)return cheerio$1;hasRequiredCheerio=1,Object.defineProperty(cheerio$1,"__esModule",{value:!0}),cheerio$1.Cheerio=void 0;var e=require$$0$8,t=e.__importDefault(requireParse()),y=e.__importDefault(requireOptions()),n=requireUtils$1(),$=e.__importStar(requireAttributes()),k=e.__importStar(requireTraversing()),L=e.__importStar(requireManipulation()),j=e.__importStar(requireCss()),V=e.__importStar(requireForms()),z=function(){function oe(ue,de,_e,Ne){var Ue=this;if(Ne===void 0&&(Ne=y.default),this.length=0,this.options=Ne,!ue)return this;if(_e&&(typeof _e=="string"&&(_e=t.default(_e,this.options,!1)),this._root=new this.constructor(_e,null,null,this.options),this._root._root=this._root),n.isCheerio(ue))return ue;var $e=typeof ue=="string"&&n.isHtml(ue)?t.default(ue,this.options,!1).children:re(ue)?[ue]:Array.isArray(ue)?ue:null;if($e)return $e.forEach(function(qe,er){Ue[er]=qe}),this.length=$e.length,this;var Ve=ue,Fe=de?typeof de=="string"?n.isHtml(de)?this._make(t.default(de,this.options,!1)):(Ve=de+" "+Ve,this._root):n.isCheerio(de)?de:this._make(de):this._root;return Fe?Fe.find(Ve):this}return oe.prototype._make=function(ue,de){var _e=new this.constructor(ue,de,this._root,this.options);return _e.prevObject=this,_e},oe}();cheerio$1.Cheerio=z,z.prototype.cheerio="[cheerio object]",z.prototype.splice=Array.prototype.splice,z.prototype[Symbol.iterator]=Array.prototype[Symbol.iterator],Object.assign(z.prototype,$,k,L,j,V);function re(oe){return!!oe.name||oe.type==="root"||oe.type==="text"||oe.type==="comment"}return cheerio$1}var hasRequiredLoad;function requireLoad(){if(hasRequiredLoad)return load;hasRequiredLoad=1,Object.defineProperty(load,"__esModule",{value:!0}),load.load=void 0;var e=require$$0$8,t=e.__importStar(requireOptions()),y=e.__importStar(require_static()),n=requireCheerio(),$=e.__importDefault(requireParse());function k(L,j,V){if(V===void 0&&(V=!0),L==null)throw new Error("cheerio.load() expects a string");var z=e.__assign(e.__assign({},t.default),t.flatten(j)),re=$.default(L,z,V),oe=function(de){e.__extends(_e,de);function _e(){return de!==null&&de.apply(this,arguments)||this}return _e}(n.Cheerio);function ue(de,_e,Ne,Ue){return Ne===void 0&&(Ne=re),new oe(de,_e,Ne,e.__assign(e.__assign({},z),t.flatten(Ue)))}return Object.assign(ue,y,{load:k,_root:re,_options:z,fn:oe.prototype,prototype:oe.prototype}),ue}return load.load=k,load}(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.root=e.parseHTML=e.merge=e.contains=void 0;var t=require$$0$8;t.__exportStar(requireTypes(),e),t.__exportStar(requireLoad(),e);var y=requireLoad();e.default=y.load([]);var n=t.__importStar(require_static());e.contains=n.contains,e.merge=n.merge,e.parseHTML=n.parseHTML,e.root=n.root})(lib$e);var utils$s={},lexer={exports:{}},debug={exports:{}};(function(e,t){var y={version:"v20.16.0",versions:{node:"20.16.0",acorn:"8.11.3",ada:"2.8.0",ares:"1.31.0",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.2.2",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.13+quic",simdutf:"5.2.8",tz:"2024a",undici:"6.19.2",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-209717d"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.16.0/node-v20.16.0.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.16.0/node-v20.16.0-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
`)}})(debug);var debugExports=debug.exports;(function(e,t){debugExports("lex"),e.exports=y;function y(n){var $="",k,L=0,j=-1,V=0,z=1,re="before-selector",oe=[re],ue={},de=[],_e=["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 Ne(){return cr(),n[j]}function Ue(ar){return ar?oe[oe.length-1-ar]:re}function $e(ar){var ur=j+1;return ar===n.slice(ur,ur+ar.length)}function Ve(ar){var ur=n.slice(j).indexOf(ar);return ur>0?ur:!1}function Fe(ar){return ar===qe(1)}function qe(ar){return n[j+(ar||1)]}function er(){var ar=oe.pop();return re=oe[oe.length-1],ar}function ir(ar){return re=ar,oe.push(re),oe.length}function dr(ar){var ur=re;return oe[oe.length-1]=re=ar,ur}function cr(ar){if((ar||1)==1)n[j]==`
`?(z++,L=1):L++,j++;else{var ur=n.slice(j,j+ar).split(`
`);ur.length>1&&(z+=ur.length-1,L=1),L+=ur[ur.length-1].length,j=j+ar}}function nr(){ue.end={line:z,col:L},de.push(ue),$="",ue={}}function lr(ar){ue={type:ar,start:{line:z,col:L}}}for(;k=Ne();)switch(k){case" ":switch(Ue()){case"selector":case"value":case"value-paren":case"at-group":case"at-value":case"comment":case"double-string":case"single-string":$+=k;break}break;case`
`:case" ":case"\r":case"\f":switch(Ue()){case"value":case"value-paren":case"at-group":case"comment":case"single-string":case"double-string":case"selector":$+=k;break;case"at-value":k===`
`&&(ue.value=$.trim(),nr(),er());break}break;case":":switch(Ue()){case"name":ue.name=$.trim(),$="",dr("before-value");break;case"before-selector":$+=k,lr("selector"),ir("selector");break;case"before-value":dr("value"),$+=k;break;default:$+=k;break}break;case";":switch(Ue()){case"name":case"before-value":case"value":$.trim().length>0&&(ue.value=$.trim(),nr()),dr("before-name");break;case"value-paren":$+=k;break;case"at-value":ue.value=$.trim(),nr(),er();break;case"before-name":break;default:$+=k;break}break;case"{":switch(Ue()){case"selector":if(qe(-1)==="\\"){$+=k;break}ue.text=$.trim(),nr(),dr("before-name"),V=V+1;break;case"at-group":switch(ue.name=$.trim(),ue.type){case"font-face":case"viewport":case"page":ir("before-name");break;default:ir("before-selector")}nr(),V=V+1;break;case"name":case"at-rule":ue.name=$.trim(),nr(),ir("before-name"),V=V+1;break;case"comment":case"double-string":case"single-string":$+=k;break;case"before-value":dr("value"),$+=k;break}break;case"}":switch(Ue()){case"before-name":case"name":case"before-value":case"value":$&&(ue.value=$.trim()),ue.name&&ue.value&&nr(),lr("end"),nr(),er(),Ue()==="at-group"&&(lr("at-group-end"),nr(),er()),V>0&&(V=V-1);break;case"at-group":case"before-selector":case"selector":if(qe(-1)==="\\"){$+=k;break}V>0&&Ue(1)==="at-group"&&(lr("at-group-end"),nr()),V>1&&er(),V>0&&(V=V-1);break;case"double-string":case"single-string":case"comment":$+=k;break}break;case'"':case"'":switch(Ue()){case"double-string":k==='"'&&qe(-1)!=="\\"&&er();break;case"single-string":k==="'"&&qe(-1)!=="\\"&&er();break;case"before-at-value":dr("at-value"),ir(k==='"'?"double-string":"single-string");break;case"before-value":dr("value"),ir(k==='"'?"double-string":"single-string");break;case"comment":break;default:qe(-1)!=="\\"&&ir(k==='"'?"double-string":"single-string")}$+=k;break;case"/":switch(Ue()){case"comment":case"double-string":case"single-string":$+=k;break;case"before-value":case"selector":case"name":case"value":if(Fe("*")){var Et=Ve("*/");Et&&cr(Et+1)}else Ue()=="before-value"&&dr("value"),$+=k;break;default:Fe("*")?(lr("comment"),ir("comment"),cr()):$+=k;break}break;case"*":switch(Ue()){case"comment":Fe("/")?(ue.text=$,cr(),nr(),er()):$+=k;break;case"before-selector":$+=k,lr("selector"),ir("selector");break;case"before-value":dr("value"),$+=k;break;default:$+=k}break;case"@":switch(Ue()){case"comment":case"double-string":case"single-string":$+=k;break;case"before-value":dr("value"),$+=k;break;default:for(var ie=!1,pe,Ce,Ie=0,jt=_e.length;!ie&&Ie<jt;++Ie)Ce=_e[Ie],pe=Ce.name||Ce,$e(pe)&&(ie=!0,lr(pe),ir(Ce.state||"at-group"),cr(pe.length),Ce.prefix&&(ue.prefix=Ce.prefix),Ce.type&&(ue.type=Ce.type));ie||($+=k);break}break;case"(":switch(Ue()){case"value":ir("value-paren");break;case"before-value":dr("value");break}$+=k;break;case")":switch(Ue()){case"value-paren":er();break;case"before-value":dr("value");break}$+=k;break;default:switch(Ue()){case"before-selector":lr("selector"),ir("selector");break;case"before-name":lr("property"),dr("name");break;case"before-value":dr("value");break;case"before-at-value":dr("at-value");break}$+=k;break}return de}})(lexer);var lexerExports=lexer.exports,parser$2={exports:{}};(function(e,t){debugExports("parse");var y=lexerExports;e.exports=j;var n,$,k,L;function j(er,ir){ir||(ir={}),n=!!ir.comments,k=!!ir.position,$=0,L=Array.isArray(er)?er.slice():y(er);for(var dr,cr=[],nr;nr=z();)dr=$e(nr),dr&&cr.push(dr);return{type:"stylesheet",stylesheet:{rules:cr}}}function V(er,ir){ir||(ir={});for(var dr,cr=["type","name","value"],nr={},lr=0;lr<cr.length;++lr)dr=cr[lr],er[dr]&&(nr[dr]=ir[dr]||er[dr]);for(cr=Object.keys(ir),lr=0;lr<cr.length;++lr)dr=cr[lr],nr[dr]||(nr[dr]=ir[dr]);return k&&(nr.position={start:er.start,end:er.end}),nr}function z(){var er=L.shift();return er}function re(er){$=$+1;var ir={};switch(er.type){case"font-face":case"viewport":ir.declarations=Fe();break;case"page":ir.prefix=er.prefix,ir.declarations=Fe();break;default:ir.prefix=er.prefix,ir.rules=qe()}return V(er,ir)}function oe(er){return V(er)}function ue(er){return V(er)}function de(er){ret
`,j=" ");var ir=_e(qe.stylesheet.rules,Ve).join(`
`).trim();return ir}function z(qe){if(qe){k+=qe;return}return n?"":Array(k).join($||"")}function re(qe){return"@"+qe.type+" "+qe.value+";"+L}function oe(qe){var er="",ir=qe.prefix||"";qe.name&&(er=" "+qe.name);var dr=qe.type!=="page";return"@"+ir+qe.type+er+j+Ne(qe,dr)+L}function ue(qe){return y?"/*"+(qe.text||"")+"*/"+L:""}function de(qe){var er;return qe.selectors?er=qe.selectors.join(","+L):(er="@"+qe.type,er+=qe.name?" "+qe.name:""),z()+er+j+Ne(qe)+L}function _e(qe,er){return qe.reduce(function(ir,dr){var cr=dr.type==="comment"?ue(dr):er(dr);return cr&&ir.push(cr),ir},[])}function Ne(qe,er){var ir=qe.declarations,dr=$e;return qe.rules&&(ir=qe.rules,dr=de),ir=Ue(ir,dr),ir&&(ir=L+ir+(er?"":L)),"{"+ir+z()+"}"}function Ue(qe,er){if(!qe)return"";z(1);var ir=_e(qe,er);return z(-1),ir.length?ir.join(L):""}function $e(qe){if(qe.type==="property")return Fe(qe)}function Ve(qe){switch(qe.type){case"rule":return de(qe);case"media":case"keyframes":return oe(qe);case"comment":return ue(qe);case"import":case"charset":case"namespace":return re(qe);case"font-face":case"supports":case"viewport":case"document":case"page":return oe(qe)}}function Fe(qe){var er=qe.name?qe.name+":"+j:"";return z()+er+qe.value+";"}})(stringify$2);var stringifyExports=stringify$2.exports,mensch={lex:lexerExports,parse:parserExports,stringify:stringifyExports},selector={exports:{}},escapeRe=/([-.*+?^${}()|[\]\/\\])/g,unescapeRe=/\\/g,escape$1=function(e){return(e+"").replace(escapeRe,"\\$1")},unescape$1=function(e){return(e+"").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$1(">+~`!@$%^&={}\\;</")+"]").replace(/<unicode>/g,"(?:[\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])").replace(/<unicode1>/g,"(?:[:\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])")),Part=function(t){this.combinator=t||" ",this.tag="*"};Part.prototype.toString=function(){if(!this.raw){var e="",t,y;if(e+=this.tag||"*",this.id&&(e+="#"+this.id),this.classes&&(e+="."+this.classList.join(".")),this.attributes)for(t=0;y=this.attributes[t++];)e+="["+y.name+(y.operator?y.operator+'"'+y.value+'"':"")+"]";if(this.pseudos)for(t=0;y=this.pseudos[t++];)e+=":"+y.name,y.value&&(e+="("+y.value+")");this.raw=e}return this.raw};var Expression=function(){this.length=0};Expression.prototype.toString=function(){if(!this.raw){for(var e="",t=0,y;y=this[t++];)t!==1&&(e+=" "),y.combinator!==" "&&(e+=y.combinator+" "),e+=y;this.raw=e}return this.raw};var replacer=function(e,t,y,n,$,k,L,j,V,z,re,oe,ue,de,_e,Ne){var Ue,$e;if((t||!this.length)&&(Ue=this[this.length++]=new Expression,t))return"";if(Ue||(Ue=this[this.length-1]),(y||n||!Ue.length)&&($e=Ue[Ue.length++]=new Part(y)),$e||($e=Ue[Ue.length-1]),$)$e.tag=unescape$1($);else if(k)$e.id=unescape$1(k);else if(L){var Ve=unescape$1(L),Fe=$e.classes||($e.classes={});if(!Fe[Ve]){Fe[Ve]=escape$1(L);var qe=$e.classList||($e.classList=[]);qe.push(Ve),qe.sort()}}else ue?(Ne=Ne||_e,($e.pseudos||($e.pseudos=[])).push({type:oe.length==1?"class":"element",name:unescape$1(ue),escapedName:escape$1(ue),value:Ne?unescape$1(Ne):null,escapedValue:Ne?escape$1(Ne):null})):j&&(re=re?escape$1(re):null,($e.attributes||($e.attributes=[])).push({operator:V,name:unescape$1(j),escapedName:escape$1(j),value:re?unescape$1(re):null,escapedValue:re?escape$1(re):null}));return""},Expressions=function(t){this.length=0;for(var y=this,n=t,$;t;){if($=t.replace(slickRe,function(){return replacer.apply(y,arguments)}),$===t)throw new Error(n+" is an invalid expression");t=$}};Expressions.prototype.toString=function(){if(!this.raw){for(var e=[],t=0,y;y=this[t++];)e.push(y);this.raw=e.join(", ")}return this.raw};var cache$1={},parse=function(e){return e==null?null:(e=(""+e).replace(/^\s+|\s+$/g,""),cache$1[e]||(cache$1[e]=new Expressions(e)))},parser$1=parse;(function(e,t){var y=parser$1;e.exports=n;function n(k,L){this.text=k,this.spe
* Returns an array of the selectors.
*
* @license Sizzle CSS Selector Engine - MIT
* @param {String} selectorText from mensch
* @api public
*/e.extract=function(k){for(var L=0,j=[],V="",z=0,re=k.length;z<re;z++){var oe=k.charAt(z);L?((oe==="]"||oe===")")&&L--,V+=oe):oe===","?(j.push(V),V=""):((oe==="["||oe==="(")&&L++,(V.length||oe!==","&&oe!==`
`&&oe!==" ")&&(V+=oe))}return V.length&&j.push(V),j},e.parseCSS=function($){for(var k=t.parse($,{position:!0,comments:!0}),L=typeof k.stylesheet<"u"&&k.stylesheet.rules?k.stylesheet.rules:[],j=[],V=0,z=L.length;V<z;V++)if(L[V].type=="rule")for(var re=L[V],oe=re.selectors,ue=0,de=oe.length;ue<de;ue++)j.push([oe[ue],re.declarations]);return j},e.getPreservedText=function($,k,L){for(var j=t.parse($,{position:!0,comments:!0}),V=typeof j.stylesheet<"u"&&j.stylesheet.rules?j.stylesheet.rules:[],z=[],re=V.length-1;re>=0;re--)(k.fontFaces&&V[re].type==="font-face"||k.mediaQueries&&V[re].type==="media"||k.keyFrames&&V[re].type==="keyframes"||k.pseudos&&V[re].selectors&&this.matchesPseudo(V[re].selectors[0],L))&&z.unshift(t.stringify({stylesheet:{rules:[V[re]]}},{comments:!1,indentation:" "})),V[re].position.start;return z.length===0?!1:`
`+z.join(`
`)+`
`},e.normalizeLineEndings=function($){return $.replace(/\r\n/g,`
`).replace(/\n/g,`\r
`)},e.matchesPseudo=function($,k){return k.find(function(L){return $.indexOf(L)>-1})},e.compareFunc=function($,k){for(var L=Math.min($.length,k.length),j=0;j<L;j++)if($[j]!==k[j])return $[j]>k[j]?1:-1;return $.length-k.length},e.compare=function($,k){return e.compareFunc($,k)==1?$:k},e.getDefaultOptions=function($){var k=Object.assign({extraCss:"",insertPreservedExtraCss:!0,applyStyleTags:!0,removeStyleTags:!0,preserveMediaQueries:!0,preserveFontFaces:!0,preserveKeyFrames:!0,preservePseudos:!0,applyWidthAttributes:!0,applyHeightAttributes:!0,applyAttributesTableElements:!0,url:""},$);return k.webResources=k.webResources||{},k}}(utils$s)),utils$s}(function(e){var t=lib$e;requireUtils();var y=function($,k,L){return k=Object.assign({decodeEntities:!1,_useHtmlParser2:!0},k),$=L($),t.load($,k)},n=function(){var $=[],k=function(j){var V=e.exports.codeBlocks;return Object.keys(V).forEach(function(z){var re=new RegExp(V[z].start+"([\\S\\s]*?)"+V[z].end,"g");j=j.replace(re,function(oe,ue){return $.push(oe),"JUICE_CODE_BLOCK_"+($.length-1)+"_"})}),j},L=function(j){for(var V=0;V<$.length;V++){var z=new RegExp("JUICE_CODE_BLOCK_"+V+'_(="")?',"gi");j=j.replace(z,function(){return $[V]})}return j};return{encodeEntities:k,decodeEntities:L}};e.exports=function($,k,L,j){var V=n(),z=y($,k,V.encodeEntities),re=[z];re.push.apply(re,j);var oe=L.apply(void 0,re)||z;return k&&k.xmlMode?V.decodeEntities(oe.xml()):V.decodeEntities(oe.html())},e.exports.codeBlocks={EJS:{start:"<%",end:"%>"},HBS:{start:"{{",end:"}}"}}})(cheerio$2);var cheerioExports=cheerio$2.exports,numbers$1={};numbers$1.romanize=function(e){if(isNaN(e))return NaN;for(var t=String(+e).split(""),y=["","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"],n="",$=3;$--;)n=(y[+t.pop()+$*10]||"")+n;return Array(+t.join("")+1).join("M")+n};numbers$1.alphanumeric=function(e){for(var t="",y;e>0;)y=(e-1)%26,t=String.fromCharCode(65+y)+t,e=(e-y)/26|0;return t||void 0};var utils$r=requireUtils(),numbers=numbers$1,inline=function(t){t.ignoredPseudos=["hover","active","focus","visited","link"],t.widthElements=["TABLE","TD","TH","IMG"],t.heightElements=["TABLE","TD","TH","IMG"],t.tableElements=["TABLE","TH","TR","TD","CAPTION","COLGROUP","COL","THEAD","TBODY","TFOOT"],t.nonVisualElements=["HEAD","TITLE","BASE","LINK","STYLE","META","SCRIPT","NOSCRIPT"],t.styleToAttribute={"background-color":"bgcolor","background-image":"background","text-align":"align","vertical-align":"valign"},t.excludedProperties=[],t.juiceDocument=re,t.inlineDocument=y;function y(de,_e,Ne){Ne=Ne||{};var Ue=utils$r.parseCSS(_e),$e=[],Ve="style",Fe={};if(Ne.styleAttributeName&&(Ve=Ne.styleAttributeName),Ue.forEach(ir),$e.forEach(dr),Ne.inlinePseudoElements&&$e.forEach(cr),Ne.applyWidthAttributes&&$e.forEach(function(ie){nr(ie,"width")}),Ne.applyHeightAttributes&&$e.forEach(function(ie){nr(ie,"height")}),Ne.applyAttributesTableElements&&$e.forEach(Et),Ne.insertPreservedExtraCss&&Ne.extraCss){var qe=utils$r.getPreservedText(Ne.extraCss,{mediaQueries:Ne.preserveMediaQueries,fontFaces:Ne.preserveFontFaces,keyFrames:Ne.preserveKeyFrames});if(qe){var er=null;Ne.insertPreservedExtraCss!==!0?er=de(Ne.insertPreservedExtraCss):(er=de("head"),er.length||(er=de("body")),er.length||(er=de.root())),er.first().append("<style>"+qe+"</style>")}}function ir(ie){var pe=ie[0],Ce=ie[1],Ie=new utils$r.Selector(pe),jt=Ie.parsed();if(jt){for(var ar=j(jt),ur=0;ur<jt.length;++ur){var kt=jt[ur];if(kt.pseudos)for(var he=0;he<kt.pseudos.length;++he){var tr=kt.pseudos[he];if(t.ignoredPseudos.indexOf(tr.name)>=0)return}}if(ar){var gr=jt[jt.length-1],_r=gr.pseudos;gr.pseudos=z(gr.pseudos),pe=jt.toString(),gr.pseudos=_r}var yr;try{yr=de(pe)}catch{return}yr.each(function(){var xr=this;if(xr.name&&t.nonVisualElements.indexOf(xr.name.toUpperCase())>=0)return;if(ar){var Nr="pseudo"+ar,Tr=xr[Nr];Tr||(Tr=xr[Nr]=de("<span />").get(0),Tr.pseudoElementType=ar,Tr.pseudoElementParent=xr,Tr.counterProps=xr.counterProps,xr[Nr]=Tr),xr=Tr}if(!xr.styleProps){if(xr.styleProps={},
`+_e.extraCss,y(de,Ne,_e),de}function oe(de,_e){var Ne=[],Ue=de("style"),$e,Ve,Fe;return Ue.each(function(){Fe=this;var qe=!!Fe.childNodes;if($e=qe?Fe.childNodes:Fe.children,$e.length!==1){_e.removeStyleTags&&de(Fe).remove();return}if(Ve=$e[0].data,_e.applyStyleTags&&de(Fe).attr("data-embed")===void 0&&Ne.push(Ve),_e.removeStyleTags&&de(Fe).attr("data-embed")===void 0){var er=qe?Fe.childNodes[0].nodeValue:Fe.children[0].data,ir=utils$r.getPreservedText(er,{mediaQueries:_e.preserveMediaQueries,fontFaces:_e.preserveFontFaces,keyFrames:_e.preserveKeyFrames,pseudos:_e.preservePseudos},t.ignoredPseudos);ir?qe?Fe.childNodes[0].nodeValue=ir:Fe.children[0].data=ir:de(Fe).remove()}de(Fe).removeAttr("data-embed")}),Ne}function ue(de,_e){var Ne=oe(de,_e),Ue=Ne.join(`
`);return Ue}return t},cheerio=cheerioExports,makeJuiceClient=inline,juiceClient=makeJuiceClient(function(e,t){return cheerio(e,{xmlMode:t&&t.xmlMode},juiceDocument,[t])}),juiceDocument=function(e,t){return juiceClient.juiceDocument(e,t)};juiceClient.inlineContent=function(e,t,y){return cheerio(e,{xmlMode:y&&y.xmlMode},juiceClient.inlineDocument,[t,y])};var client=juiceClient;const juice=getDefaultExportFromCjs(client);var standalone={exports:{}};(function(e,t){(function(y){e.exports=y()})(function(){var y=(ui,En)=>()=>(En||ui((En={exports:{}}).exports,En),En.exports),n=y((ui,En)=>{var An=function(Gi){return Gi&&Gi.Math==Math&&Gi};En.exports=An(typeof globalThis=="object"&&globalThis)||An(typeof window=="object"&&window)||An(typeof self=="object"&&self)||An(typeof commonjsGlobal=="object"&&commonjsGlobal)||function(){return this}()||Function("return this")()}),$=y((ui,En)=>{En.exports=function(An){try{return!!An()}catch{return!0}}}),k=y((ui,En)=>{var An=$();En.exports=!An(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),L=y((ui,En)=>{var An=$();En.exports=!An(function(){var Gi=(function(){}).bind();return typeof Gi!="function"||Gi.hasOwnProperty("prototype")})}),j=y((ui,En)=>{var An=L(),Gi=Function.prototype.call;En.exports=An?Gi.bind(Gi):function(){return Gi.apply(Gi,arguments)}}),V=y(ui=>{var En={}.propertyIsEnumerable,An=Object.getOwnPropertyDescriptor,Gi=An&&!En.call({1:2},1);ui.f=Gi?function(Ki){var Ea=An(this,Ki);return!!Ea&&Ea.enumerable}:En}),z=y((ui,En)=>{En.exports=function(An,Gi){return{enumerable:!(An&1),configurable:!(An&2),writable:!(An&4),value:Gi}}}),re=y((ui,En)=>{var An=L(),Gi=Function.prototype,Ki=Gi.call,Ea=An&&Gi.bind.bind(Ki,Ki);En.exports=An?Ea:function(aa){return function(){return Ki.apply(aa,arguments)}}}),oe=y((ui,En)=>{var An=re(),Gi=An({}.toString),Ki=An("".slice);En.exports=function(Ea){return Ki(Gi(Ea),8,-1)}}),ue=y((ui,En)=>{var An=re(),Gi=$(),Ki=oe(),Ea=Object,aa=An("".split);En.exports=Gi(function(){return!Ea("z").propertyIsEnumerable(0)})?function(Qo){return Ki(Qo)=="String"?aa(Qo,""):Ea(Qo)}:Ea}),de=y((ui,En)=>{En.exports=function(An){return An==null}}),_e=y((ui,En)=>{var An=de(),Gi=TypeError;En.exports=function(Ki){if(An(Ki))throw Gi("Can't call method on "+Ki);return Ki}}),Ne=y((ui,En)=>{var An=ue(),Gi=_e();En.exports=function(Ki){return An(Gi(Ki))}}),Ue=y((ui,En)=>{var An=typeof document=="object"&&document.all,Gi=typeof An>"u"&&An!==void 0;En.exports={all:An,IS_HTMLDDA:Gi}}),$e=y((ui,En)=>{var An=Ue(),Gi=An.all;En.exports=An.IS_HTMLDDA?function(Ki){return typeof Ki=="function"||Ki===Gi}:function(Ki){return typeof Ki=="function"}}),Ve=y((ui,En)=>{var An=$e(),Gi=Ue(),Ki=Gi.all;En.exports=Gi.IS_HTMLDDA?function(Ea){return typeof Ea=="object"?Ea!==null:An(Ea)||Ea===Ki}:function(Ea){return typeof Ea=="object"?Ea!==null:An(Ea)}}),Fe=y((ui,En)=>{var An=n(),Gi=$e(),Ki=function(Ea){return Gi(Ea)?Ea:void 0};En.exports=function(Ea,aa){return arguments.length<2?Ki(An[Ea]):An[Ea]&&An[Ea][aa]}}),qe=y((ui,En)=>{var An=re();En.exports=An({}.isPrototypeOf)}),er=y((ui,En)=>{var An=Fe();En.exports=An("navigator","userAgent")||""}),ir=y((ui,En)=>{var An=n(),Gi=er(),Ki=An.process,Ea=An.Deno,aa=Ki&&Ki.versions||Ea&&Ea.version,Qo=aa&&aa.v8,Eo,Vo;Qo&&(Eo=Qo.split("."),Vo=Eo[0]>0&&Eo[0]<4?1:+(Eo[0]+Eo[1])),!Vo&&Gi&&(Eo=Gi.match(/Edge\/(\d+)/),(!Eo||Eo[1]>=74)&&(Eo=Gi.match(/Chrome\/(\d+)/),Eo&&(Vo=+Eo[1]))),En.exports=Vo}),dr=y((ui,En)=>{var An=ir(),Gi=$();En.exports=!!Object.getOwnPropertySymbols&&!Gi(function(){var Ki=Symbol();return!String(Ki)||!(Object(Ki)instanceof Symbol)||!Symbol.sham&&An&&An<41})}),cr=y((ui,En)=>{var An=dr();En.exports=An&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),nr=y((ui,En)=>{var An=Fe(),Gi=$e(),Ki=qe(),Ea=cr(),aa=Object;En.exports=Ea?function(Qo){return typeof Qo=="symbol"}:function(Qo){var Eo=An("Symbol");return Gi(Eo)&&Ki(Eo.prototype,aa(Qo))}}),lr=y((ui,En)=>{var An=String;En.exports=function(Gi){try{return An(Gi)}catch{return"Object"}}}),Et=y((ui,En)=>{var An=$e(),Gi=lr(),Ki=TypeError;En.exports=function(Ea){if(An(Ea))return Ea;throw
`?"crlf":"cr":"lf"}function di(Un){switch(Un){case"cr":return"\r";case"crlf":return`\r
`;default:return`
`}}function Kn(Un,Hn){let ji;switch(Hn){case`
`:ji=/\n/g;break;case"\r":ji=/\r/g;break;case`\r
`:ji=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(Hn)}.`)}let Wi=Un.match(ji);return Wi?Wi.length:0}function On(Un){return Un.replace(/\r\n?/g,`
`)}Fi.exports={guessEndOfLine:In,convertEndOfLineToChars:di,countEndOfLineChars:Kn,normalizeEndOfLine:On}}}),Lc=Mo({"src/utils/get-last.js"(Vn,Fi){Fn();var In=di=>di[di.length-1];Fi.exports=In}});function wd(){let{onlyFirst:Vn=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Fi=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(Fi,Vn?void 0:"g")}var Nd=Zl({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){Fn()}});function Tf(Vn){if(typeof Vn!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof Vn}\``);return Vn.replace(wd(),"")}var vf=Zl({"node_modules/strip-ansi/index.js"(){Fn(),Nd()}});function jc(Vn){return Number.isInteger(Vn)?Vn>=4352&&(Vn<=4447||Vn===9001||Vn===9002||11904<=Vn&&Vn<=12871&&Vn!==12351||12880<=Vn&&Vn<=19903||19968<=Vn&&Vn<=42182||43360<=Vn&&Vn<=43388||44032<=Vn&&Vn<=55203||63744<=Vn&&Vn<=64255||65040<=Vn&&Vn<=65049||65072<=Vn&&Vn<=65131||65281<=Vn&&Vn<=65376||65504<=Vn&&Vn<=65510||110592<=Vn&&Vn<=110593||127488<=Vn&&Vn<=127569||131072<=Vn&&Vn<=262141):!1}var Jd=Zl({"node_modules/is-fullwidth-code-point/index.js"(){Fn()}}),Ed=Mo({"node_modules/emoji-regex/index.js"(Vn,Fi){Fn(),Fi.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB
`)?ka(la):la)}function ka(Zn){let la=arguments.length>1&&arguments[1]!==void 0?arguments[1]:di;return Kn(la,Zn.split(`
`)).parts}function ra(Zn){if(Zn.type==="line")return!0}function ma(Zn){return da(Zn,ra,!1)}Fi.exports={isConcat:On,getDocParts:Un,willBreak:fa,traverseDoc:ji,findInDoc:da,mapDoc:Wi,propagateBreaks:ta,removeLines:qa,stripTrailingHardline:Qa,normalizeParts:Ja,normalizeDoc:hs,cleanDoc:io,replaceTextEndOfLine:ka,replaceEndOfLine:na,canBreak:ma}}}),Ih=Mo({"src/document/doc-printer.js"(Vn,Fi){Fn();var{convertEndOfLineToChars:In}=cc(),di=Lc(),Kn=_p(),{fill:On,cursor:Un,indent:Hn}=Vl(),{isConcat:ji,getDocParts:Wi}=Pf(),da,sa=1,fa=2;function zi(){return{value:"",length:0,queue:[]}}function ta(Ia,io){return qa(Ia,{type:"indent"},io)}function va(Ia,io,Ja){return io===Number.NEGATIVE_INFINITY?Ia.root||zi():io<0?qa(Ia,{type:"dedent"},Ja):io?io.type==="root"?Object.assign(Object.assign({},Ia),{},{root:Ia}):qa(Ia,{type:typeof io=="string"?"stringAlign":"numberAlign",n:io},Ja):Ia}function qa(Ia,io,Ja){let hs=io.type==="dedent"?Ia.queue.slice(0,-1):[...Ia.queue,io],na="",ka=0,ra=0,ma=0;for(let So of hs)switch(So.type){case"indent":pa(),Ja.useTabs?Zn(1):la(Ja.tabWidth);break;case"stringAlign":pa(),na+=So.n,ka+=So.n.length;break;case"numberAlign":ra+=1,ma+=So.n;break;default:throw new Error(`Unexpected type '${So.type}'`)}return Ma(),Object.assign(Object.assign({},Ia),{},{value:na,length:ka,queue:hs});function Zn(So){na+=" ".repeat(So),ka+=Ja.tabWidth*So}function la(So){na+=" ".repeat(So),ka+=So}function pa(){Ja.useTabs?xa():Ma()}function xa(){ra>0&&Zn(ra),Ha()}function Ma(){ma>0&&la(ma),Ha()}function Ha(){ra=0,ma=0}}function Xa(Ia){if(Ia.length===0)return 0;let io=0;for(;Ia.length>0&&typeof di(Ia)=="string"&&/^[\t ]*$/.test(di(Ia));)io+=Ia.pop().length;if(Ia.length>0&&typeof di(Ia)=="string"){let Ja=di(Ia).replace(/[\t ]*$/,"");io+=di(Ia).length-Ja.length,Ia[Ia.length-1]=Ja}return io}function Ta(Ia,io,Ja,hs,na){let ka=io.length,ra=[Ia],ma=[];for(;Ja>=0;){if(ra.length===0){if(ka===0)return!0;ra.push(io[--ka]);continue}let{mode:Zn,doc:la}=ra.pop();if(typeof la=="string")ma.push(la),Ja-=Kn(la);else if(ji(la)||la.type==="fill"){let pa=Wi(la);for(let xa=pa.length-1;xa>=0;xa--)ra.push({mode:Zn,doc:pa[xa]})}else switch(la.type){case"indent":case"align":case"indent-if-break":case"label":ra.push({mode:Zn,doc:la.contents});break;case"trim":Ja+=Xa(ma);break;case"group":{if(na&&la.break)return!1;let pa=la.break?sa:Zn,xa=la.expandedStates&&pa===sa?di(la.expandedStates):la.contents;ra.push({mode:pa,doc:xa});break}case"if-break":{let pa=(la.groupId?da[la.groupId]||fa:Zn)===sa?la.breakContents:la.flatContents;pa&&ra.push({mode:Zn,doc:pa});break}case"line":if(Zn===sa||la.hard)return!0;la.soft||(ma.push(" "),Ja--);break;case"line-suffix":hs=!0;break;case"line-suffix-boundary":if(hs)return!1;break}}return!1}function Qa(Ia,io){da={};let Ja=io.printWidth,hs=In(io.endOfLine),na=0,ka=[{ind:zi(),mode:sa,doc:Ia}],ra=[],ma=!1,Zn=[];for(;ka.length>0;){let{ind:pa,mode:xa,doc:Ma}=ka.pop();if(typeof Ma=="string"){let Ha=hs!==`
`?Ma.replace(/\n/g,hs):Ma;ra.push(Ha),na+=Kn(Ha)}else if(ji(Ma)){let Ha=Wi(Ma);for(let So=Ha.length-1;So>=0;So--)ka.push({ind:pa,mode:xa,doc:Ha[So]})}else switch(Ma.type){case"cursor":ra.push(Un.placeholder);break;case"indent":ka.push({ind:ta(pa,io),mode:xa,doc:Ma.contents});break;case"align":ka.push({ind:va(pa,Ma.n,io),mode:xa,doc:Ma.contents});break;case"trim":na-=Xa(ra);break;case"group":switch(xa){case fa:if(!ma){ka.push({ind:pa,mode:Ma.break?sa:fa,doc:Ma.contents});break}case sa:{ma=!1;let Ha={ind:pa,mode:fa,doc:Ma.contents},So=Ja-na,as=Zn.length>0;if(!Ma.break&&Ta(Ha,ka,So,as))ka.push(Ha);else if(Ma.expandedStates){let ps=di(Ma.expandedStates);if(Ma.break){ka.push({ind:pa,mode:sa,doc:ps});break}else for(let ns=1;ns<Ma.expandedStates.length+1;ns++)if(ns>=Ma.expandedStates.length){ka.push({ind:pa,mode:sa,doc:ps});break}else{let As=Ma.expandedStates[ns],ko={ind:pa,mode:fa,doc:As};if(Ta(ko,ka,So,as)){ka.push(ko);break}}}else ka.push({ind:pa,mode:sa,doc:Ma.contents});break}}Ma.id&&(da[Ma.id]=di(ka).mode);break;case"fill":{let Ha=Ja-na,{parts:So}=Ma;if(So.length===0)break;let[as,ps]=So,ns={ind:pa,mode:fa,doc:as},As={ind:pa,mode:sa,doc:as},ko=Ta(ns,[],Ha,Zn.length>0,!0);if(So.length===1){ko?ka.push(ns):ka.push(As);break}let Ws={ind:pa,mode:fa,doc:ps},cs={ind:pa,mode:sa,doc:ps};if(So.length===2){ko?ka.push(Ws,ns):ka.push(cs,As);break}So.splice(0,2);let Xo={ind:pa,mode:xa,doc:On(So)},Ms=So[0];Ta({ind:pa,mode:fa,doc:[as,ps,Ms]},[],Ha,Zn.length>0,!0)?ka.push(Xo,Ws,ns):ko?ka.push(Xo,cs,ns):ka.push(Xo,cs,As);break}case"if-break":case"indent-if-break":{let Ha=Ma.groupId?da[Ma.groupId]:xa;if(Ha===sa){let So=Ma.type==="if-break"?Ma.breakContents:Ma.negate?Ma.contents:Hn(Ma.contents);So&&ka.push({ind:pa,mode:xa,doc:So})}if(Ha===fa){let So=Ma.type==="if-break"?Ma.flatContents:Ma.negate?Hn(Ma.contents):Ma.contents;So&&ka.push({ind:pa,mode:xa,doc:So})}break}case"line-suffix":Zn.push({ind:pa,mode:xa,doc:Ma.contents});break;case"line-suffix-boundary":Zn.length>0&&ka.push({ind:pa,mode:xa,doc:{type:"line",hard:!0}});break;case"line":switch(xa){case fa:if(Ma.hard)ma=!0;else{Ma.soft||(ra.push(" "),na+=1);break}case sa:if(Zn.length>0){ka.push({ind:pa,mode:xa,doc:Ma},...Zn.reverse()),Zn.length=0;break}Ma.literal?pa.root?(ra.push(hs,pa.root.value),na=pa.root.length):(ra.push(hs),na=0):(na-=Xa(ra),ra.push(hs+pa.value),na=pa.length);break}break;case"label":ka.push({ind:pa,mode:xa,doc:Ma.contents});break}ka.length===0&&Zn.length>0&&(ka.push(...Zn.reverse()),Zn.length=0)}let la=ra.indexOf(Un.placeholder);if(la!==-1){let pa=ra.indexOf(Un.placeholder,la+1),xa=ra.slice(0,la).join(""),Ma=ra.slice(la+1,pa).join(""),Ha=ra.slice(pa+1).join("");return{formatted:xa+Ma+Ha,cursorNodeStart:xa.length,cursorNodeText:Ma}}return{formatted:ra.join("")}}Fi.exports={printDocToString:Qa}}}),Lp=Mo({"src/document/doc-debug.js"(Vn,Fi){Fn();var{isConcat:In,getDocParts:di}=Pf();function Kn(Un){if(!Un)return"";if(In(Un)){let Hn=[];for(let ji of di(Un))if(In(ji))Hn.push(...Kn(ji).parts);else{let Wi=Kn(ji);Wi!==""&&Hn.push(Wi)}return{type:"concat",parts:Hn}}return Un.type==="if-break"?Object.assign(Object.assign({},Un),{},{breakContents:Kn(Un.breakContents),flatContents:Kn(Un.flatContents)}):Un.type==="group"?Object.assign(Object.assign({},Un),{},{contents:Kn(Un.contents),expandedStates:Un.expandedStates&&Un.expandedStates.map(Kn)}):Un.type==="fill"?{type:"fill",parts:Un.parts.map(Kn)}:Un.contents?Object.assign(Object.assign({},Un),{},{contents:Kn(Un.contents)}):Un}function On(Un){let Hn=Object.create(null),ji=new Set;return Wi(Kn(Un));function Wi(sa,fa,zi){if(typeof sa=="string")return JSON.stringify(sa);if(In(sa)){let ta=di(sa).map(Wi).filter(Boolean);return ta.length===1?ta[0]:`[${ta.join(", ")}]`}if(sa.type==="line"){let ta=Array.isArray(zi)&&zi[fa+1]&&zi[fa+1].type==="break-parent";return sa.literal?ta?"literalline":"literallineWithoutBreakParent":sa.hard?ta?"hardline":"hardlineWithoutBreakParent":sa.soft?"softline":"line"}if(sa.type==="break-parent")return Array.isArray(zi)&&zi[fa-1]&&zi[fa-1].type==="line"&&zi[fa-1].hard?void 0:"breakParent";if(sa.type==="trim")retur
Print (to stderr) where a cursor at the given position would move to after formatting.
This option cannot be used with --range-start and --range-end.
`,cliCategory:Kn},endOfLine:{since:"1.15.0",category:ji,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"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:In`
Maintain existing
(mixed values within one file are normalised by looking at what's used after the first line)
`}]},filepath:{since:"1.4.0",category:Wi,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:Un,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:Wi,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:Un},parser:{since:"0.0.10",category:ji,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:sa=>typeof sa=="string"||typeof sa=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:ji,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:sa=>typeof sa=="string"||typeof sa=="object",cliName:"plugin",cliCategory:di},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:ji,description:In`
Custom directory that contains prettier plugins in node_modules subdirectory.
Overrides default behavior when plugins are searched relatively to the location of Prettier.
Multiple values are accepted.
`,exception:sa=>typeof sa=="string"||typeof sa=="object",cliName:"plugin-search-dir",cliCategory:di},printWidth:{since:"0.0.0",category:ji,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:Wi,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:In`
Format code ending at a given character offset (exclusive).
The range will extend forwards to the end of the selected statement.
This option cannot be used with --cursor-offset.
`,cliCategory:Kn},rangeStart:{since:"1.4.0",category:Wi,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:In`
Format code starting at a given character offset.
The range will extend backwards to the start of the first line containing the selected statement.
This option cannot be used with --cursor-offset.
`,cliCategory:Kn},requirePragma:{since:"1.7.0",category:Wi,type:"boolean",default:!1,description:In`
Require either '@prettier' or '@format' to be present in the file's first docblock comment
in order for it to be formatted.
`,cliCategory:Un},tabWidth:{type:"int",category:ji,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:ji,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:ji,type:"choice",default:[{since:"2.1.0",value:"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."}]}};Fi.exports={CATEGORY_CONFIG:di,CATEGORY_EDITOR:Kn,CATEGORY_FORMAT:On,CATEGORY_OTHER:Un,CATEGORY_OUTPUT:Hn,CATEGORY_GLOBAL:ji,CATEGORY_SPECIAL:Wi,options:da}}}),kh=Mo({"src/main/support.js"(Vn,Fi){Fn();var In={compare:np(),lt:gh(),gte:jp()},di=wm(),Kn=is().version,On=Um().options;function Un(){let{plugins:ji=[],showUnreleased:Wi=!1,showDeprecated:da=!1,showInternal:sa=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},fa=Kn.split("-",1)[0],zi=ji.flatMap(Ta=>Ta.languages||[]).filter(va),ta=di(Object.assign({},...ji.map(Ta=>{let{options:Qa}=Ta;return Qa}),On),"name").filter(Ta=>va(Ta)&&qa(Ta)).sort((Ta,Qa)=>Ta.name===Qa.name?0:Ta.name<Qa.name?-1:1).map(Xa).map(Ta=>{Ta=Object.assign({},Ta),Array.isArray(Ta.default)&&(Ta.default=Ta.default.length===1?Ta.default[0].value:Ta.default.filter(va).sort((Ia,io)=>In.compare(io.since,Ia.since))[0].value),Array.isArray(Ta.choices)&&(Ta.choices=Ta.choices.filter(Ia=>va(Ia)&&qa(Ia)),Ta.name==="parser"&&Hn(Ta,zi,ji));let Qa=Object.fromEntries(ji.filter(Ia=>Ia.defaultOptions&&Ia.defaultOptions[Ta.name]!==void 0).map(Ia=>[Ia.name,Ia.defaultOptions[Ta.name]]));return Object.assign(Object.assign({},Ta),{},{pluginDefaults:Qa})});return{languages:zi,options:ta};function va(Ta){return Wi||!("since"in Ta)||Ta.since&&In.gte(fa,Ta.since)}function qa(Ta){return da||!("deprecated"in Ta)||Ta.deprecated&&In.lt(fa,Ta.deprecated)}function Xa(Ta){return sa?Ta:Ea(Ta,An)}}function Hn(ji,Wi,da){let sa=new Set(ji.choices.map(fa=>fa.value));for(let fa of Wi)if(fa.parsers){for(let zi of fa.parsers)if(!sa.has(zi)){sa.add(zi);let ta=da.find(qa=>qa.parsers&&qa.parsers[zi]),va=fa.name;ta&&ta.name&&(va+=` (plugin: ${ta.name})`),ji.choices.push({value:zi,description:va})}}}Fi.exports={getSupportInfo:Un}}}),Yh=Mo({"src/utils/is-non-empty-array.js"(Vn,Fi){Fn();function In(di){return Array.isArray(di)&&di.length>0}Fi.exports=In}}),Xh=Mo({"src/utils/text/skip.js"(Vn,Fi){Fn();function In(Hn){return(ji,Wi,da)=>{let sa=da&&da.backwards;if(Wi===!1)return!1;let{length:fa}=ji,zi=Wi;for(;zi>=0&&zi<fa;){let ta=ji.charAt(zi);if(Hn instanceof RegExp){if(!Hn.test(ta))return zi}else if(!Hn.includes(ta))return zi;sa?zi--:zi++}return zi===-1||zi===fa?zi:!1}}var di=In(/\s/),Kn=In(" "),On=In(",; "),Un=In(/[^\n\r]/);Fi.exports={skipWhitespace:di,skipSpaces:Kn,skipToLineEnd:On,skipEverythingButNewLine:Un}}}),Od=Mo({"src/utils/text/skip-inline-comment.js"(Vn,Fi){Fn();function In(di,Kn){if(Kn===!1)return!1;if(di.charAt(Kn)==="/"&&di.charAt(Kn+1)==="*"){for(let On=Kn+2;On<di.length;++On)if(di.charAt(On)==="*"&&di.charAt(On+1)==="/")return On+2}return Kn}Fi.exports=In}}),Id=Mo({"src/utils/text/skip-trailing-comment.js"(Vn,Fi){Fn();var{skipEverythingButNewLine:In}=Xh();function di(Kn,On){return On===!1?!1:Kn.charAt(On)==="/"&&Kn.charAt(On+1)==="/"?In(Kn,On):On}Fi.exports=di}}),Vf=Mo({"src/utils/text/skip-newline.js"(Vn,Fi){Fn();function In(di,Kn,On){let Un=On&&On.backwards;if(Kn===!1)return!1;let Hn=di.charAt(Kn);if(Un){if(di.charAt(Kn-1)==="\r"&&Hn===`
`)return Kn-2;if(Hn===`
`||Hn==="\r"||Hn==="\u2028"||Hn==="\u2029")return Kn-1}else{if(Hn==="\r"&&di.charAt(Kn+1)===`
`)return Kn+2;if(Hn===`
`||Hn==="\r"||Hn==="\u2028"||Hn==="\u2029")return Kn+1}return Kn}Fi.exports=In}}),bp=Mo({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(Vn,Fi){Fn();var In=Od(),di=Vf(),Kn=Id(),{skipSpaces:On}=Xh();function Un(Hn,ji){let Wi=null,da=ji;for(;da!==Wi;)Wi=da,da=On(Hn,da),da=In(Hn,da),da=Kn(Hn,da),da=di(Hn,da);return da}Fi.exports=Un}}),Zc=Mo({"src/common/util.js"(Vn,Fi){Fn();var{default:In}=(vp(),Iu(Ip)),di=Lc(),{getSupportInfo:Kn}=kh(),On=Yh(),Un=_p(),{skipWhitespace:Hn,skipSpaces:ji,skipToLineEnd:Wi,skipEverythingButNewLine:da}=Xh(),sa=Od(),fa=Id(),zi=Vf(),ta=bp(),va=cs=>cs[cs.length-2];function qa(cs){return(Xo,Ms,_l)=>{let Xs=_l&&_l.backwards;if(Ms===!1)return!1;let{length:Ul}=Xo,ss=Ms;for(;ss>=0&&ss<Ul;){let Ps=Xo.charAt(ss);if(cs instanceof RegExp){if(!cs.test(Ps))return ss}else if(!cs.includes(Ps))return ss;Xs?ss--:ss++}return ss===-1||ss===Ul?ss:!1}}function Xa(cs,Xo){let Ms=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},_l=ji(cs,Ms.backwards?Xo-1:Xo,Ms),Xs=zi(cs,_l,Ms);return _l!==Xs}function Ta(cs,Xo,Ms){for(let _l=Xo;_l<Ms;++_l)if(cs.charAt(_l)===`
`)return!0;return!1}function Qa(cs,Xo,Ms){let _l=Ms(Xo)-1;_l=ji(cs,_l,{backwards:!0}),_l=zi(cs,_l,{backwards:!0}),_l=ji(cs,_l,{backwards:!0});let Xs=zi(cs,_l,{backwards:!0});return _l!==Xs}function Ia(cs,Xo){let Ms=null,_l=Xo;for(;_l!==Ms;)Ms=_l,_l=Wi(cs,_l),_l=sa(cs,_l),_l=ji(cs,_l);return _l=fa(cs,_l),_l=zi(cs,_l),_l!==!1&&Xa(cs,_l)}function io(cs,Xo,Ms){return Ia(cs,Ms(Xo))}function Ja(cs,Xo,Ms){return ta(cs,Ms(Xo))}function hs(cs,Xo,Ms){return cs.charAt(Ja(cs,Xo,Ms))}function na(cs,Xo){let Ms=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return ji(cs,Ms.backwards?Xo-1:Xo,Ms)!==Xo}function ka(cs,Xo){let Ms=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,_l=0;for(let Xs=Ms;Xs<cs.length;++Xs)cs[Xs]===" "?_l=_l+Xo-_l%Xo:_l++;return _l}function ra(cs,Xo){let Ms=cs.lastIndexOf(`
`);return Ms===-1?0:ka(cs.slice(Ms+1).match(/^[\t ]*/)[0],Xo)}function ma(cs,Xo){let Ms={quote:'"',regex:/"/g,escaped:"&quot;"},_l={quote:"'",regex:/'/g,escaped:"&apos;"},Xs=Xo==="'"?_l:Ms,Ul=Xs===_l?Ms:_l,ss=Xs;if(cs.includes(Xs.quote)||cs.includes(Ul.quote)){let Ps=(cs.match(Xs.regex)||[]).length,jl=(cs.match(Ul.regex)||[]).length;ss=Ps>jl?Ul:Xs}return ss}function Zn(cs,Xo){let Ms=cs.slice(1,-1),_l=Xo.parser==="json"||Xo.parser==="json5"&&Xo.quoteProps==="preserve"&&!Xo.singleQuote?'"':Xo.__isInHtmlAttribute?"'":ma(Ms,Xo.singleQuote?"'":'"').quote;return la(Ms,_l,!(Xo.parser==="css"||Xo.parser==="less"||Xo.parser==="scss"||Xo.__embeddedInHtml))}function la(cs,Xo,Ms){let _l=Xo==='"'?"'":'"',Xs=/\\(.)|(["'])/gs,Ul=cs.replace(Xs,(ss,Ps,jl)=>Ps===_l?Ps:jl===Xo?"\\"+jl:jl||(Ms&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(Ps)?Ps:"\\"+Ps));return Xo+Ul+Xo}function pa(cs){return cs.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function xa(cs,Xo){let Ms=cs.match(new RegExp(`(${In(Xo)})+`,"g"));return Ms===null?0:Ms.reduce((_l,Xs)=>Math.max(_l,Xs.length/Xo.length),0)}function Ma(cs,Xo){let Ms=cs.match(new RegExp(`(${In(Xo)})+`,"g"));if(Ms===null)return 0;let _l=new Map,Xs=0;for(let Ul of Ms){let ss=Ul.length/Xo.length;_l.set(ss,!0),ss>Xs&&(Xs=ss)}for(let Ul=1;Ul<Xs;Ul++)if(!_l.get(Ul))return Ul;return Xs+1}function Ha(cs,Xo){(cs.comments||(cs.comments=[])).push(Xo),Xo.printed=!1,Xo.nodeDescription=Ws(cs)}function So(cs,Xo){Xo.leading=!0,Xo.trailing=!1,Ha(cs,Xo)}function as(cs,Xo,Ms){Xo.leading=!1,Xo.trailing=!1,Ms&&(Xo.marker=Ms),Ha(cs,Xo)}function ps(cs,Xo){Xo.leading=!1,Xo.trailing=!0,Ha(cs,Xo)}function ns(cs,Xo){let{languages:Ms}=Kn({plugins:Xo.plugins}),_l=Ms.find(Xs=>{let{name:Ul}=Xs;return Ul.toLowerCase()===cs})||Ms.find(Xs=>{let{aliases:Ul}=Xs;return Array.isArray(Ul)&&Ul.includes(cs)})||Ms.find(Xs=>{let{extensions:Ul}=Xs;return Array.isArray(Ul)&&Ul.includes(`.${cs}`)});return _l&&_l.parsers[0]}function As(cs){return cs&&cs.type==="front-matter"}function ko(cs){let Xo=new WeakMap;return function(Ms){return Xo.has(Ms)||Xo.set(Ms,Symbol(cs)),Xo.get(Ms)}}function Ws(cs){let Xo=cs.type||cs.kind||"(unknown type)",Ms=String(cs.name||cs.id&&(typeof cs.id=="object"?cs.id.name:cs.id)||cs.key&&(typeof cs.key=="object"?cs.key.name:cs.key)||cs.value&&(typeof cs.value=="object"?"":String(cs.value))||cs.operator||"");return Ms.length>20&&(Ms=Ms.slice(0,19)+"…"),Xo+(Ms?" "+Ms:"")}Fi.exports={inferParserByLanguage:ns,getStringWidth:Un,getMaxContinuousCount:xa,getMinNotPresentContinuousCount:Ma,getPenultimate:va,getLast:di,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:ta,getNextNonSpaceNonCommentCharacterIndex:Ja,getNextNonSpaceNonCommentCharacter:hs,skip:qa,skipWhitespace:Hn,skipSpaces:ji,skipToLineEnd:Wi,skipEverythingButNewLine:da,skipInlineComment:sa,skipTrailingComment:fa,skipNewline:zi,isNextLineEmptyAfterIndex:Ia,isNextLineEmpty:io,isPreviousLineEmpty:Qa,hasNewline:Xa,hasNewlineInRange:Ta,hasSpaces:na,getAlignmentSize:ka,getIndentSize:ra,getPreferredQuote:ma,printString:Zn,printNumber:pa,makeString:la,addLeadingComment:So,addDanglingComment:as,addTrailingComment:ps,isFrontMatterNode:As,isNonEmptyArray:On,createGroupIdMapper:ko}}}),bh={};_u(bh,{basename:()=>Hp,default:()=>Mi,delimiter:()=>xn,dirname:()=>Up,extname:()=>$h,isAbsolute:()=>Jh,join:()=>qd,normalize:()=>Qh,relative:()=>Bh,resolve:()=>yp,sep:()=>Qp});function lm(Vn,Fi){for(var In=0,di=Vn.length-1;di>=0;di--){var Kn=Vn[di];Kn==="."?Vn.splice(di,1):Kn===".."?(Vn.splice(di,1),In++):In&&(Vn.splice(di,1),In--)}if(Fi)for(;In--;In)Vn.unshift("..");return Vn}function yp(){for(var Vn="",Fi=!1,In=arguments.length-1;In>=-1&&!Fi;In--){var di=In>=0?arguments[In]:"/";if(typeof di!="string")throw new TypeError("Arguments to path.resolve must be strings");di&&(Vn=di+"/"+Vn,Fi=di.charAt(0)==="/")}return Vn=lm(df(Vn.split("/"),function(Kn){return!!Kn}),!Fi).join("/"),(Fi?"/":"")+Vn||"."}function Qh(Vn){var Fi=Jh(Vn),In=Hi(Vn,-1)==="
`,ta(zi.gutter,ka.replace(/\d/g," "))," ",la,ta(zi.marker,"^").repeat(pa)].join(""),ma&&da.message&&(Zn+=" "+ta(zi.message,da.message))}return[ta(zi.marker,">"),ta(zi.gutter,ka),Ja.length>0?` ${Ja}`:"",Zn].join("")}else return` ${ta(zi.gutter,ka)}${Ja.length>0?` ${Ja}`:""}`}).join(`
`);return da.message&&!Qa&&(io=`${" ".repeat(Ia+1)}${da.message}
${io}`),sa?fa.reset(io):io}function Hn(ji,Wi,da){let sa=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!In){In=!0;let fa="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(Pu.emitWarning)Pu.emitWarning(fa,"DeprecationWarning");else{let zi=new Error(fa);zi.name="DeprecationWarning",console.warn(new Error(fa))}}return da=Math.max(da,0),Un(ji,{start:{column:da,line:Wi}},sa)}}}),dl=Mo({"src/main/parser.js"(Vn,Fi){Fn();var{ConfigError:In}=Sd(),di=Of();n0();var{locStart:Kn,locEnd:On}=di,Un=Object.getOwnPropertyNames,Hn=Object.getOwnPropertyDescriptor;function ji(sa){let fa={};for(let zi of sa.plugins)if(zi.parsers)for(let ta of Un(zi.parsers))Object.defineProperty(fa,ta,Hn(zi.parsers,ta));return fa}function Wi(sa){let fa=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ji(sa);if(typeof sa.parser=="function")return{parse:sa.parser,astFormat:"estree",locStart:Kn,locEnd:On};if(typeof sa.parser=="string"){if(Object.prototype.hasOwnProperty.call(fa,sa.parser))return fa[sa.parser];throw new In(`Couldn't resolve parser "${sa.parser}". Parsers must be explicitly added to the standalone bundle.`)}}function da(sa,fa){let zi=ji(fa),ta=Object.defineProperties({},Object.fromEntries(Object.keys(zi).map(qa=>[qa,{enumerable:!0,get(){return zi[qa].parse}}]))),va=Wi(fa,zi);try{return va.preprocess&&(sa=va.preprocess(sa,fa)),{text:sa,ast:va.parse(sa,ta,fa)}}catch(qa){let{loc:Xa}=qa;if(Xa){let{codeFrameColumns:Ta}=Th();throw qa.codeFrame=Ta(sa,Xa,{highlightCode:!0}),qa.message+=`
`+qa.codeFrame,qa}throw qa}}Fi.exports={parse:da,resolveParser:Wi}}}),wu=Mo({"src/main/options.js"(Vn,Fi){Fn();var In=ed(),{UndefinedParserError:di}=Sd(),{getSupportInfo:Kn}=kh(),On=mm(),{resolveParser:Un}=dl(),Hn={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function ji(sa){let fa=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},zi=Object.assign({},sa),ta=Kn({plugins:sa.plugins,showUnreleased:!0,showDeprecated:!0}).options,va=Object.assign(Object.assign({},Hn),Object.fromEntries(ta.filter(Ia=>Ia.default!==void 0).map(Ia=>[Ia.name,Ia.default])));if(!zi.parser){if(!zi.filepath)(fa.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),zi.parser="babel";else if(zi.parser=da(zi.filepath,zi.plugins),!zi.parser)throw new di(`No parser could be inferred for file: ${zi.filepath}`)}let qa=Un(On.normalizeApiOptions(zi,[ta.find(Ia=>Ia.name==="parser")],{passThrough:!0,logger:!1}));zi.astFormat=qa.astFormat,zi.locEnd=qa.locEnd,zi.locStart=qa.locStart;let Xa=Wi(zi);zi.printer=Xa.printers[zi.astFormat];let Ta=Object.fromEntries(ta.filter(Ia=>Ia.pluginDefaults&&Ia.pluginDefaults[Xa.name]!==void 0).map(Ia=>[Ia.name,Ia.pluginDefaults[Xa.name]])),Qa=Object.assign(Object.assign({},va),Ta);for(let[Ia,io]of Object.entries(Qa))(zi[Ia]===null||zi[Ia]===void 0)&&(zi[Ia]=io);return zi.parser==="json"&&(zi.trailingComma="none"),On.normalizeApiOptions(zi,ta,Object.assign({passThrough:Object.keys(Hn)},fa))}function Wi(sa){let{astFormat:fa}=sa;if(!fa)throw new Error("getPlugin() requires astFormat to be set");let zi=sa.plugins.find(ta=>ta.printers&&ta.printers[fa]);if(!zi)throw new Error(`Couldn't find plugin for AST format "${fa}"`);return zi}function da(sa,fa){let zi=In.basename(sa).toLowerCase(),ta=Kn({plugins:fa}).languages.filter(va=>va.since!==null).find(va=>va.extensions&&va.extensions.some(qa=>zi.endsWith(qa))||va.filenames&&va.filenames.some(qa=>qa.toLowerCase()===zi));return ta&&ta.parsers[0]}Fi.exports={normalize:ji,hiddenDefaults:Hn,inferParser:da}}}),vu=Mo({"src/main/massage-ast.js"(Vn,Fi){Fn();function In(di,Kn,On){if(Array.isArray(di))return di.map(Wi=>In(Wi,Kn,On)).filter(Boolean);if(!di||typeof di!="object")return di;let Un=Kn.printer.massageAstNode,Hn;Un&&Un.ignoredProperties?Hn=Un.ignoredProperties:Hn=new Set;let ji={};for(let[Wi,da]of Object.entries(di))!Hn.has(Wi)&&typeof da!="function"&&(ji[Wi]=In(da,Kn,di));if(Un){let Wi=Un(di,ji,On);if(Wi===null)return;if(Wi)return Wi}return ji}Fi.exports=In}}),Mc=Mo({"scripts/build/shims/assert.cjs"(Vn,Fi){Fn();var In=()=>{};In.ok=In,In.strictEqual=In,Fi.exports=In}}),kc=Mo({"src/main/comments.js"(Vn,Fi){Fn();var In=Mc(),{builders:{line:di,hardline:Kn,breakParent:On,indent:Un,lineSuffix:Hn,join:ji,cursor:Wi}}=Oc(),{hasNewline:da,skipNewline:sa,skipSpaces:fa,isPreviousLineEmpty:zi,addLeadingComment:ta,addDanglingComment:va,addTrailingComment:qa}=Zc(),Xa=new WeakMap;function Ta(So,as,ps){if(!So)return;let{printer:ns,locStart:As,locEnd:ko}=as;if(ps){if(ns.canAttachComment&&ns.canAttachComment(So)){let cs;for(cs=ps.length-1;cs>=0&&!(As(ps[cs])<=As(So)&&ko(ps[cs])<=ko(So));--cs);ps.splice(cs+1,0,So);return}}else if(Xa.has(So))return Xa.get(So);let Ws=ns.getCommentChildNodes&&ns.getCommentChildNodes(So,as)||typeof So=="object"&&Object.entries(So).filter(cs=>{let[Xo]=cs;return Xo!=="enclosingNode"&&Xo!=="precedingNode"&&Xo!=="followingNode"&&Xo!=="tokens"&&Xo!=="comments"&&Xo!=="parent"}).map(cs=>{let[,Xo]=cs;return Xo});if(Ws){ps||(ps=[],Xa.set(So,ps));for(let cs of Ws)Ta(cs,as,ps);return ps}}function Qa(So,as,ps,ns){let{locStart:As,locEnd:ko}=ps,Ws=As(as),cs=ko(as),Xo=Ta(So,ps),Ms,_l,Xs=0,Ul=Xo.length;for(;Xs<Ul;){let ss=Xs+Ul>>1,Ps=Xo[ss],jl=As(Ps),Dl=ko(Ps);if(jl<=Ws&&cs<=Dl)return Qa(Ps,as,ps,Ps);if(Dl<=Ws){Ms=Ps,Xs=ss+1;continue}if(cs<=jl){_l=Ps,Ul=ss;continue}throw new Error("Comment location overlaps with node location")}if(ns&&ns.type==="TemplateLiteral"){let{quasis:ss}=ns,Ps=ma(ss,as,ps);Ms&&ma(ss,Ms,ps)!==Ps&&
`,pa)+1),So=la.slice(Ha,pa).match(/^\s*/)[0],as=On(So,ma.tabWidth),ps=Qa(Ma,Object.assign(Object.assign({},ma),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:ma.cursorOffset>pa&&ma.cursorOffset<=xa?ma.cursorOffset-pa:-1,endOfLine:"lf"}),as),ns=ps.formatted.trimEnd(),{cursorOffset:As}=ma;As>xa?As+=ns.length-Ma.length:ps.cursorOffset>=0&&(As=ps.cursorOffset+pa);let ko=la.slice(0,pa)+ns+la.slice(xa);if(ma.endOfLine!=="lf"){let Ws=Hn(ma.endOfLine);As>=0&&Ws===`\r
`&&(As+=ji(ko.slice(0,As),`
`)),ko=ko.replace(/\n/g,Ws)}return{formatted:ko,cursorOffset:As,comments:ps.comments}}function io(ra,ma,Zn){return typeof ma!="number"||Number.isNaN(ma)||ma<0||ma>ra.length?Zn:ma}function Ja(ra,ma){let{cursorOffset:Zn,rangeStart:la,rangeEnd:pa}=ma;return Zn=io(ra,Zn,-1),la=io(ra,la,0),pa=io(ra,pa,ra.length),Object.assign(Object.assign({},ma),{},{cursorOffset:Zn,rangeStart:la,rangeEnd:pa})}function hs(ra,ma){let{cursorOffset:Zn,rangeStart:la,rangeEnd:pa,endOfLine:xa}=Ja(ra,ma),Ma=ra.charAt(0)===qa;if(Ma&&(ra=ra.slice(1),Zn--,la--,pa--),xa==="auto"&&(xa=Un(ra)),ra.includes("\r")){let Ha=So=>ji(ra.slice(0,Math.max(So,0)),`\r
`);Zn-=Ha(Zn),la-=Ha(la),pa-=Ha(pa),ra=Wi(ra)}return{hasBOM:Ma,text:ra,options:Ja(ra,Object.assign(Object.assign({},ma),{},{cursorOffset:Zn,rangeStart:la,rangeEnd:pa,endOfLine:xa}))}}function na(ra,ma){let Zn=zi.resolveParser(ma);return!Zn.hasPragma||Zn.hasPragma(ra)}function ka(ra,ma){let{hasBOM:Zn,text:la,options:pa}=hs(ra,da(ma));if(pa.rangeStart>=pa.rangeEnd&&la!==""||pa.requirePragma&&!na(la,pa))return{formatted:ra,cursorOffset:ma.cursorOffset,comments:[]};let xa;return pa.rangeStart>0||pa.rangeEnd<la.length?xa=Ia(la,pa):(!pa.requirePragma&&pa.insertPragma&&pa.printer.insertPragma&&!na(la,pa)&&(la=pa.printer.insertPragma(la)),xa=Qa(la,pa)),Zn&&(xa.formatted=qa+xa.formatted,xa.cursorOffset>=0&&xa.cursorOffset++),xa}Fi.exports={formatWithCursor:ka,parse(ra,ma,Zn){let{text:la,options:pa}=hs(ra,da(ma)),xa=zi.parse(la,pa);return Zn&&(xa.ast=sa(xa.ast,pa)),xa},formatAST(ra,ma){ma=da(ma);let Zn=ta(ra,ma);return di(Zn,ma)},formatDoc(ra,ma){return ka(Kn(ra),Object.assign(Object.assign({},ma),{},{parser:"__js_expression"})).formatted},printToDoc(ra,ma){ma=da(ma);let{ast:Zn,text:la}=zi.parse(ra,ma);return Ta(la,Zn,ma),ta(Zn,ma)},printDocToString(ra,ma){return di(ra,da(ma))}}}}),xp=Mo({"src/common/util-shared.js"(Vn,Fi){Fn();var{getMaxContinuousCount:In,getStringWidth:di,getAlignmentSize:Kn,getIndentSize:On,skip:Un,skipWhitespace:Hn,skipSpaces:ji,skipNewline:Wi,skipToLineEnd:da,skipEverythingButNewLine:sa,skipInlineComment:fa,skipTrailingComment:zi,hasNewline:ta,hasNewlineInRange:va,hasSpaces:qa,isNextLineEmpty:Xa,isNextLineEmptyAfterIndex:Ta,isPreviousLineEmpty:Qa,getNextNonSpaceNonCommentCharacterIndex:Ia,makeString:io,addLeadingComment:Ja,addDanglingComment:hs,addTrailingComment:na}=Zc();Fi.exports={getMaxContinuousCount:In,getStringWidth:di,getAlignmentSize:Kn,getIndentSize:On,skip:Un,skipWhitespace:Hn,skipSpaces:ji,skipNewline:Wi,skipToLineEnd:da,skipEverythingButNewLine:sa,skipInlineComment:fa,skipTrailingComment:zi,hasNewline:ta,hasNewlineInRange:va,hasSpaces:qa,isNextLineEmpty:Xa,isNextLineEmptyAfterIndex:Ta,isPreviousLineEmpty:Qa,getNextNonSpaceNonCommentCharacterIndex:Ia,makeString:io,addLeadingComment:Ja,addDanglingComment:hs,addTrailingComment:na}}}),zp=Mo({"src/utils/create-language.js"(Vn,Fi){Fn(),Fi.exports=function(In,di){let{languageId:Kn}=In,On=Ea(In,Ki);return Object.assign(Object.assign({linguistLanguageId:Kn},On),di(In))}}}),Hh=Mo({"node_modules/esutils/lib/ast.js"(Vn,Fi){Fn(),function(){function In(ji){if(ji==null)return!1;switch(ji.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function di(ji){if(ji==null)return!1;switch(ji.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function Kn(ji){if(ji==null)return!1;switch(ji.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function On(ji){return Kn(ji)||ji!=null&&ji.type==="FunctionDeclaration"}function Un(ji){switch(ji.type){case"IfStatement":return ji.alternate!=null?ji.alternate:ji.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return ji.body}return null}function Hn(ji){var Wi;if(ji.type!=="IfStatement"||ji.alternate==null)return!1;Wi=ji.consequent;do{if(Wi.type==="IfStatement"&&Wi.alternate==null)return!0;Wi=Un(Wi)}while(Wi);return!1}Fi.exports={isExpression:In,isStatement:Kn,isIterationStatement:di,isSourceElement:On,isProblematicIfStatement:H
`))}function vc(Do,vl){return(Do.type==="TemplateLiteral"&&yu(Do)||Do.type==="TaggedTemplateExpression"&&yu(Do.quasi))&&!Kn(vl,Wi(Do),{backwards:!0})}function hd(Do){if(!Ru(Do))return!1;let vl=di(Ds(Do,kl.Dangling));return vl&&!fa(vl)}function Yc(Do){if(Do.length<=1)return!1;let vl=0;for(let gc of Do)if(Ma(gc)){if(vl+=1,vl>1)return!0}else if(jl(gc)){for(let Wc of gc.arguments)if(Ma(Wc))return!0}return!1}function Cc(Do){let vl=Do.getValue(),gc=Do.getParentNode();return jl(vl)&&jl(gc)&&gc.callee===vl&&vl.arguments.length>gc.arguments.length&&gc.arguments.length>0}function bc(Do,vl){if(vl>=2)return!1;let gc=Md=>bc(Md,vl+1),Wc=Do.type==="Literal"&&"regex"in Do&&Do.regex.pattern||Do.type==="RegExpLiteral"&&Do.pattern;if(Wc&&ji(Wc)>5)return!1;if(Do.type==="Literal"||Do.type==="BigIntLiteral"||Do.type==="DecimalLiteral"||Do.type==="BooleanLiteral"||Do.type==="NullLiteral"||Do.type==="NumericLiteral"||Do.type==="RegExpLiteral"||Do.type==="StringLiteral"||Do.type==="Identifier"||Do.type==="ThisExpression"||Do.type==="Super"||Do.type==="PrivateName"||Do.type==="PrivateIdentifier"||Do.type==="ArgumentPlaceholder"||Do.type==="Import")return!0;if(Do.type==="TemplateLiteral")return Do.quasis.every(Md=>!Md.value.raw.includes(`
`))&&Do.expressions.every(gc);if(Do.type==="ObjectExpression")return Do.properties.every(Md=>!Md.computed&&(Md.shorthand||Md.value&&gc(Md.value)));if(Do.type==="ArrayExpression")return Do.elements.every(Md=>Md===null||gc(Md));if(Rc(Do))return(Do.type==="ImportExpression"||bc(Do.callee,vl))&&Cs(Do).every(gc);if(Dl(Do))return bc(Do.object,vl)&&bc(Do.property,vl);let rd={"!":!0,"-":!0,"+":!0,"~":!0};if(Do.type==="UnaryExpression"&&rd[Do.operator])return bc(Do.argument,vl);let lf={"++":!0,"--":!0};return Do.type==="UpdateExpression"&&lf[Do.operator]?bc(Do.argument,vl):Do.type==="TSNonNullExpression"?bc(Do.expression,vl):!1}function Ml(Do){var vl,gc;return(vl=(gc=Do.extra)===null||gc===void 0?void 0:gc.raw)!==null&&vl!==void 0?vl:Do.raw}function ds(Do){return Do}function Hl(Do){return Do.filepath&&/\.tsx$/i.test(Do.filepath)}function Us(Do){let vl=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"es5";return Do.trailingComma==="es5"&&vl==="es5"||Do.trailingComma==="all"&&(vl==="all"||vl==="es5")}function $l(Do,vl){switch(Do.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return $l(Do.left,vl);case"MemberExpression":case"OptionalMemberExpression":return $l(Do.object,vl);case"TaggedTemplateExpression":return Do.tag.type==="FunctionExpression"?!1:$l(Do.tag,vl);case"CallExpression":case"OptionalCallExpression":return Do.callee.type==="FunctionExpression"?!1:$l(Do.callee,vl);case"ConditionalExpression":return $l(Do.test,vl);case"UpdateExpression":return!Do.prefix&&$l(Do.argument,vl);case"BindExpression":return Do.object&&$l(Do.object,vl);case"SequenceExpression":return $l(Do.expressions[0],vl);case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":return $l(Do.expression,vl);default:return vl(Do)}}var fc={"==":!0,"!=":!0,"===":!0,"!==":!0},rr={"*":!0,"/":!0,"%":!0},fr={">>":!0,">>>":!0,"<<":!0};function vr(Do,vl){return!(Cr(vl)!==Cr(Do)||Do==="**"||fc[Do]&&fc[vl]||vl==="%"&&rr[Do]||Do==="%"&&rr[vl]||vl!==Do&&rr[vl]&&rr[Do]||fr[Do]&&fr[vl])}var Er=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((Do,vl)=>Do.map(gc=>[gc,vl])));function Cr(Do){return Er.get(Do)}function Yr(Do){return!!fr[Do]||Do==="|"||Do==="^"||Do==="&"}function Rn(Do){var vl;if(Do.rest)return!0;let gc=Ui(Do);return((vl=di(gc))===null||vl===void 0?void 0:vl.type)==="RestElement"}var mi=new WeakMap;function Ui(Do){if(mi.has(Do))return mi.get(Do);let vl=[];return Do.this&&vl.push(Do.this),Array.isArray(Do.parameters)?vl.push(...Do.parameters):Array.isArray(Do.params)&&vl.push(...Do.params),Do.rest&&vl.push(Do.rest),mi.set(Do,vl),vl}function Aa(Do,vl){let gc=Do.getValue(),Wc=0,rd=lf=>vl(lf,Wc++);gc.this&&Do.call(rd,"this"),Array.isArray(gc.parameters)?Do.each(rd,"parameters"):Array.isArray(gc.params)&&Do.each(rd,"params"),gc.rest&&Do.call(rd,"rest")}var No=new WeakMap;function Cs(Do){if(No.has(Do))return No.get(Do);let vl=Do.arguments;return Do.type==="ImportExpression"&&(vl=[Do.source],Do.attributes&&vl.push(Do.attributes)),No.set(Do,vl),vl}function Ns(Do,vl){let gc=Do.getValue();gc.type==="ImportExpression"?(Do.call(Wc=>vl(Wc,0),"source"),gc.attributes&&Do.call(Wc=>vl(Wc,1),"attributes")):Do.each(vl,"arguments")}function Bs(Do){return Do.value.trim()==="prettier-ignore"&&!Do.unignore}function pl(Do){return Do&&(Do.prettierIgnore||Ru(Do,kl.PrettierIgnore))}function Eu(Do){let vl=Do.getValue();return pl(vl)}var kl={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},Cu=(Do,vl)=>{if(typeof Do=="function"&&(vl=Do,Do=0),Do||vl)return(gc,Wc,rd)=>!(Do&kl.Leading&&!gc.leading||Do&kl.Trailing&&!gc.trailing||Do&kl.Dangling&&(gc.leading||gc.trailing)||Do&kl.Block&&!fa(gc)||Do&kl.Line&&!na(gc)||Do&kl.First&&Wc!==0||Do&kl.Last&&Wc!==rd.length-1||Do&kl.PrettierIgnore&&!Bs(gc)||vl&&!vl(gc))};function Ru(Do,vl,gc){if(!Un(Do==null?void 0:Do.comments))return!1;let Wc=Cu(vl,gc);return Wc?Do.comments.some(Wc):!0}function Ds(Do,vl,gc){if(!Array.isAr
`)?da(Number.NEGATIVE_INFINITY,Ws):fa(Ws,ko,ns);Ma.push(ji(["${",cs,sa,"}"]))}},"quasis"),Ma.push("`"),Ma}function Ja(ma,Zn,la){let pa=ma.getNode(),xa=pa.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(xa.length>1||xa.some(Ma=>Ma.length>0)){Zn.__inJestEach=!0;let Ma=ma.map(la,"expressions");Zn.__inJestEach=!1;let Ha=[],So=Ma.map(ko=>"${"+zi(ko,Object.assign(Object.assign({},Zn),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"),as=[{hasLineBreak:!1,cells:[]}];for(let ko=1;ko<pa.quasis.length;ko++){let Ws=In(as),cs=So[ko-1];Ws.cells.push(cs),cs.includes(`
`)&&(Ws.hasLineBreak=!0),pa.quasis[ko].value.raw.includes(`
`)&&as.push({hasLineBreak:!1,cells:[]})}let ps=Math.max(xa.length,...as.map(ko=>ko.cells.length)),ns=Array.from({length:ps}).fill(0),As=[{cells:xa},...as.filter(ko=>ko.cells.length>0)];for(let{cells:ko}of As.filter(Ws=>!Ws.hasLineBreak))for(let[Ws,cs]of ko.entries())ns[Ws]=Math.max(ns[Ws],di(cs));return Ha.push(sa,"`",Wi([Un,On(Un,As.map(ko=>On(" | ",ko.cells.map((Ws,cs)=>ko.hasLineBreak?Ws:Ws+" ".repeat(ns[cs]-di(Ws))))))]),Un,"`"),Ha}}function hs(ma,Zn){let la=ma.getValue(),pa=Zn();return Ta(la)&&(pa=ji([Wi([Hn,pa]),Hn])),["${",pa,sa,"}"]}function na(ma,Zn){return ma.map(la=>hs(la,Zn),"expressions")}function ka(ma,Zn){return ta(ma,la=>typeof la=="string"?Zn?la.replace(/(\\*)`/g,"$1$1\\`"):ra(la):la)}function ra(ma){return ma.replace(/([\\`]|\${)/g,"\\$1")}Fi.exports={printTemplateLiteral:io,printTemplateExpressions:na,escapeTemplateCharacters:ka,uncookTemplateElementValue:ra}}}),nm=Mo({"src/language-js/embed/markdown.js"(Vn,Fi){Fn();var{builders:{indent:In,softline:di,literalline:Kn,dedentToRoot:On}}=Oc(),{escapeTemplateCharacters:Un}=Zf();function Hn(Wi,da,sa){let fa=Wi.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(qa,Xa)=>"\\".repeat(Xa.length/2)+"`"),zi=ji(fa),ta=zi!=="";ta&&(fa=fa.replace(new RegExp(`^${zi}`,"gm"),""));let va=Un(sa(fa,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",ta?In([di,va]):[Kn,On(va)],di,"`"]}function ji(Wi){let da=Wi.match(/^([^\S\n]*)\S/m);return da===null?"":da[1]}Fi.exports=Hn}}),jf=Mo({"src/language-js/embed/css.js"(Vn,Fi){Fn();var{isNonEmptyArray:In}=Zc(),{builders:{indent:di,hardline:Kn,softline:On},utils:{mapDoc:Un,replaceEndOfLine:Hn,cleanDoc:ji}}=Oc(),{printTemplateExpressions:Wi}=Zf();function da(zi,ta,va){let qa=zi.getValue(),Xa=qa.quasis.map(Ja=>Ja.value.raw),Ta=0,Qa=Xa.reduce((Ja,hs,na)=>na===0?hs:Ja+"@prettier-placeholder-"+Ta+++"-id"+hs,""),Ia=va(Qa,{parser:"scss"},{stripTrailingHardline:!0}),io=Wi(zi,ta);return sa(Ia,qa,io)}function sa(zi,ta,va){if(ta.quasis.length===1&&!ta.quasis[0].value.raw.trim())return"``";let qa=fa(zi,va);if(!qa)throw new Error("Couldn't insert all the expressions");return["`",di([Kn,qa]),On,"`"]}function fa(zi,ta){if(!In(ta))return zi;let va=0,qa=Un(ji(zi),Xa=>typeof Xa!="string"||!Xa.includes("@prettier-placeholder")?Xa:Xa.split(/@prettier-placeholder-(\d+)-id/).map((Ta,Qa)=>Qa%2===0?Hn(Ta):(va++,ta[Ta])));return ta.length===va?qa:null}Fi.exports=da}}),Nh=Mo({"src/language-js/embed/graphql.js"(Vn,Fi){Fn();var{builders:{indent:In,join:di,hardline:Kn}}=Oc(),{escapeTemplateCharacters:On,printTemplateExpressions:Un}=Zf();function Hn(Wi,da,sa){let fa=Wi.getValue(),zi=fa.quasis.length;if(zi===1&&fa.quasis[0].value.raw.trim()==="")return"``";let ta=Un(Wi,da),va=[];for(let qa=0;qa<zi;qa++){let Xa=fa.quasis[qa],Ta=qa===0,Qa=qa===zi-1,Ia=Xa.value.cooked,io=Ia.split(`
`),Ja=io.length,hs=ta[qa],na=Ja>2&&io[0].trim()===""&&io[1].trim()==="",ka=Ja>2&&io[Ja-1].trim()===""&&io[Ja-2].trim()==="",ra=io.every(Zn=>/^\s*(?:#[^\n\r]*)?$/.test(Zn));if(!Qa&&/#[^\n\r]*$/.test(io[Ja-1]))return null;let ma=null;ra?ma=ji(io):ma=sa(Ia,{parser:"graphql"},{stripTrailingHardline:!0}),ma?(ma=On(ma,!1),!Ta&&na&&va.push(""),va.push(ma),!Qa&&ka&&va.push("")):!Ta&&!Qa&&na&&va.push(""),hs&&va.push(hs)}return["`",In([Kn,di(Kn,va)]),Kn,"`"]}function ji(Wi){let da=[],sa=!1,fa=Wi.map(zi=>zi.trim());for(let[zi,ta]of fa.entries())ta!==""&&(fa[zi-1]===""&&sa?da.push([Kn,ta]):da.push(ta),sa=!0);return da.length===0?null:di(Kn,da)}Fi.exports=Hn}}),Gp=Mo({"src/language-js/embed/html.js"(Vn,Fi){Fn();var{builders:{indent:In,line:di,hardline:Kn,group:On},utils:{mapDoc:Un}}=Oc(),{printTemplateExpressions:Hn,uncookTemplateElementValue:ji}=Zf(),Wi=0;function da(sa,fa,zi,ta,va){let{parser:qa}=va,Xa=sa.getValue(),Ta=Wi;Wi=Wi+1>>>0;let Qa=la=>`PRETTIER_HTML_PLACEHOLDER_${la}_${Ta}_IN_JS`,Ia=Xa.quasis.map((la,pa,xa)=>pa===xa.length-1?la.value.cooked:la.value.cooked+Qa(pa)).join(""),io=Hn(sa,fa);if(io.length===0&&Ia.trim().length===0)return"``";let Ja=new RegExp(Qa("(\\d+)"),"g"),hs=0,na=zi(Ia,{parser:qa,__onHtmlRoot(la){hs=la.children.length}},{stripTrailingHardline:!0}),ka=Un(na,la=>{if(typeof la!="string")return la;let pa=[],xa=la.split(Ja);for(let Ma=0;Ma<xa.length;Ma++){let Ha=xa[Ma];if(Ma%2===0){Ha&&(Ha=ji(Ha),ta.__embeddedInHtml&&(Ha=Ha.replace(/<\/(script)\b/gi,"<\\/$1")),pa.push(Ha));continue}let So=Number(Ha);pa.push(io[So])}return pa}),ra=/^\s/.test(Ia)?" ":"",ma=/\s$/.test(Ia)?" ":"",Zn=ta.htmlWhitespaceSensitivity==="ignore"?Kn:ra&&ma?di:null;return On(Zn?["`",In([Zn,On(ka)]),Zn,"`"]:["`",ra,hs>1?In(On(ka)):On(ka),ma,"`"])}Fi.exports=da}}),Wp=Mo({"src/language-js/embed.js"(Vn,Fi){Fn();var{hasComment:In,CommentCheckFlags:di,isObjectProperty:Kn}=Ld(),On=nm(),Un=jf(),Hn=Nh(),ji=Gp();function Wi(na){if(fa(na)||qa(na)||Xa(na)||zi(na))return"css";if(Ia(na))return"graphql";if(Ja(na))return"html";if(ta(na))return"angular";if(sa(na))return"markdown"}function da(na,ka,ra,ma){let Zn=na.getValue();if(Zn.type!=="TemplateLiteral"||hs(Zn))return;let la=Wi(na);if(la){if(la==="markdown")return On(na,ka,ra);if(la==="css")return Un(na,ka,ra);if(la==="graphql")return Hn(na,ka,ra);if(la==="html"||la==="angular")return ji(na,ka,ra,ma,{parser:la})}}function sa(na){let ka=na.getValue(),ra=na.getParentNode();return ra&&ra.type==="TaggedTemplateExpression"&&ka.quasis.length===1&&ra.tag.type==="Identifier"&&(ra.tag.name==="md"||ra.tag.name==="markdown")}function fa(na){let ka=na.getValue(),ra=na.getParentNode(),ma=na.getParentNode(1);return ma&&ka.quasis&&ra.type==="JSXExpressionContainer"&&ma.type==="JSXElement"&&ma.openingElement.name.name==="style"&&ma.openingElement.attributes.some(Zn=>Zn.name.name==="jsx")||ra&&ra.type==="TaggedTemplateExpression"&&ra.tag.type==="Identifier"&&ra.tag.name==="css"||ra&&ra.type==="TaggedTemplateExpression"&&ra.tag.type==="MemberExpression"&&ra.tag.object.name==="css"&&(ra.tag.property.name==="global"||ra.tag.property.name==="resolve")}function zi(na){return na.match(ka=>ka.type==="TemplateLiteral",(ka,ra)=>ka.type==="ArrayExpression"&&ra==="elements",(ka,ra)=>Kn(ka)&&ka.key.type==="Identifier"&&ka.key.name==="styles"&&ra==="value",...va)}function ta(na){return na.match(ka=>ka.type==="TemplateLiteral",(ka,ra)=>Kn(ka)&&ka.key.type==="Identifier"&&ka.key.name==="template"&&ra==="value",...va)}var va=[(na,ka)=>na.type==="ObjectExpression"&&ka==="properties",(na,ka)=>na.type==="CallExpression"&&na.callee.type==="Identifier"&&na.callee.name==="Component"&&ka==="arguments",(na,ka)=>na.type==="Decorator"&&ka==="expression"];function qa(na){let ka=na.getParentNode();if(!ka||ka.type!=="TaggedTemplateExpression")return!1;let ra=ka.tag.type==="ParenthesizedExpression"?ka.tag.expression:ka.tag;switch(ra.type){case"MemberExpression":return Ta(ra.object)||Qa(ra);case"CallExpression":return Ta(ra.callee)||ra.callee.type==="MemberExpression"&&(ra.callee.object.type==="MemberExpression"&&(Ta(ra.callee.object.object)||Qa(ra.cal
`,Os={EOL:os,tmpdir:vo,tmpDir:Co,networkInterfaces:Go,getNetworkInterfaces:bo,release:Yo,type:Po,cpus:ys,totalmem:Ls,freemem:Lm,uptime:lh,loadavg:Vh,hostname:im,endianness:Np}}}),Vs=Mo({"node-modules-polyfills-commonjs:os"(Vn,Fi){Fn();var In=(ws(),Iu(Am));if(In&&In.default){Fi.exports=In.default;for(let di in In)Fi.exports[di]=In[di]}else In&&(Fi.exports=In)}}),al=Mo({"node_modules/detect-newline/index.js"(Vn,Fi){Fn();var In=di=>{if(typeof di!="string")throw new TypeError("Expected a string");let Kn=di.match(/(?:\r?\n)/g)||[];if(Kn.length===0)return;let On=Kn.filter(Hn=>Hn===`\r
`).length,Un=Kn.length-On;return On>Un?`\r
`:`
`};Fi.exports=In,Fi.exports.graceful=di=>typeof di=="string"&&In(di)||`
`}}),Ys=Mo({"node_modules/jest-docblock/build/index.js"(Vn){Fn(),Object.defineProperty(Vn,"__esModule",{value:!0}),Vn.extract=zi,Vn.parse=va,Vn.parseWithComments=qa,Vn.print=Xa,Vn.strip=ta;function Fi(){let Qa=Vs();return Fi=function(){return Qa},Qa}function In(){let Qa=di(al());return In=function(){return Qa},Qa}function di(Qa){return Qa&&Qa.__esModule?Qa:{default:Qa}}var Kn=/\*\/$/,On=/^\/\*\*?/,Un=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,Hn=/(^|\s+)\/\/([^\r\n]*)/g,ji=/^(\r?\n)+/,Wi=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,da=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,sa=/(\r?\n|^) *\* ?/g,fa=[];function zi(Qa){let Ia=Qa.match(Un);return Ia?Ia[0].trimLeft():""}function ta(Qa){let Ia=Qa.match(Un);return Ia&&Ia[0]?Qa.substring(Ia[0].length):Qa}function va(Qa){return qa(Qa).pragmas}function qa(Qa){let Ia=(0,In().default)(Qa)||Fi().EOL;Qa=Qa.replace(On,"").replace(Kn,"").replace(sa,"$1");let io="";for(;io!==Qa;)io=Qa,Qa=Qa.replace(Wi,`${Ia}$1 $2${Ia}`);Qa=Qa.replace(ji,"").trimRight();let Ja=Object.create(null),hs=Qa.replace(da,"").replace(ji,"").trimRight(),na;for(;na=da.exec(Qa);){let ka=na[2].replace(Hn,"");typeof Ja[na[1]]=="string"||Array.isArray(Ja[na[1]])?Ja[na[1]]=fa.concat(Ja[na[1]],ka):Ja[na[1]]=ka}return{comments:hs,pragmas:Ja}}function Xa(Qa){let{comments:Ia="",pragmas:io={}}=Qa,Ja=(0,In().default)(Ia)||Fi().EOL,hs="/**",na=" *",ka=" */",ra=Object.keys(io),ma=ra.map(la=>Ta(la,io[la])).reduce((la,pa)=>la.concat(pa),[]).map(la=>`${na} ${la}${Ja}`).join("");if(!Ia){if(ra.length===0)return"";if(ra.length===1&&!Array.isArray(io[ra[0]])){let la=io[ra[0]];return`${hs} ${Ta(ra[0],la)[0]}${ka}`}}let Zn=Ia.split(Ja).map(la=>`${na} ${la}`).join(Ja)+Ja;return hs+Ja+(Ia?Zn:"")+(Ia&&ra.length?na+Ja:"")+ma+ka}function Ta(Qa,Ia){return fa.concat(Ia).map(io=>`@${Qa} ${io}`.trim())}}}),Pl=Mo({"src/language-js/utils/get-shebang.js"(Vn,Fi){Fn();function In(di){if(!di.startsWith("#!"))return"";let Kn=di.indexOf(`
`);return Kn===-1?di:di.slice(0,Kn)}Fi.exports=In}}),ms=Mo({"src/language-js/pragma.js"(Vn,Fi){Fn();var{parseWithComments:In,strip:di,extract:Kn,print:On}=Ys(),{normalizeEndOfLine:Un}=cc(),Hn=Pl();function ji(sa){let fa=Hn(sa);fa&&(sa=sa.slice(fa.length+1));let zi=Kn(sa),{pragmas:ta,comments:va}=In(zi);return{shebang:fa,text:sa,pragmas:ta,comments:va}}function Wi(sa){let fa=Object.keys(ji(sa).pragmas);return fa.includes("prettier")||fa.includes("format")}function da(sa){let{shebang:fa,text:zi,pragmas:ta,comments:va}=ji(sa),qa=di(zi),Xa=On({pragmas:Object.assign({format:""},ta),comments:va.trimStart()});return(fa?`${fa}
`:"")+Un(Xa)+(qa.startsWith(`
`)?`
`:`
`)+qa}Fi.exports={hasPragma:Wi,insertPragma:da}}}),Cl=Mo({"src/language-js/utils/is-type-cast-comment.js"(Vn,Fi){Fn();var In=Bd();function di(Kn){return In(Kn)&&Kn.value[0]==="*"&&/@(?:type|satisfies)\b/.test(Kn.value)}Fi.exports=di}}),Rs=Mo({"src/language-js/comments.js"(Vn,Fi){Fn();var{getLast:In,hasNewline:di,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Kn,getNextNonSpaceNonCommentCharacter:On,hasNewlineInRange:Un,addLeadingComment:Hn,addTrailingComment:ji,addDanglingComment:Wi,getNextNonSpaceNonCommentCharacterIndex:da,isNonEmptyArray:sa}=Zc(),{getFunctionParameters:fa,isPrettierIgnoreComment:zi,isJsxNode:ta,hasFlowShorthandAnnotationComment:va,hasFlowAnnotationComment:qa,hasIgnoreComment:Xa,isCallLikeExpression:Ta,getCallArguments:Qa,isCallExpression:Ia,isMemberExpression:io,isObjectProperty:Ja,isLineComment:hs,getComments:na,CommentCheckFlags:ka,markerForIfWithoutBlockAndSameLineComment:ra}=Ld(),{locStart:ma,locEnd:Zn}=Of(),la=Bd(),pa=Cl();function xa(fr){return[ds,Wu,Ws,ns,As,ko,_l,yu,ol,xu,vc,hd,Ul,Fs,xs].some(vr=>vr(fr))}function Ma(fr){return[ps,Wu,cs,vc,ns,As,ko,_l,Fs,Js,Zs,xu,bc,xs,Us].some(vr=>vr(fr))}function Ha(fr){return[ds,ns,As,Xo,Dl,Ul,xu,jl,Ps,Hl,xs,Ml].some(vr=>vr(fr))}function So(fr,vr){let Er=(fr.body||fr.properties).find(Cr=>{let{type:Yr}=Cr;return Yr!=="EmptyStatement"});Er?Hn(Er,vr):Wi(fr,vr)}function as(fr,vr){fr.type==="BlockStatement"?So(fr,vr):Hn(fr,vr)}function ps(fr){let{comment:vr,followingNode:Er}=fr;return Er&&pa(vr)?(Hn(Er,vr),!0):!1}function ns(fr){let{comment:vr,precedingNode:Er,enclosingNode:Cr,followingNode:Yr,text:Rn}=fr;if((Cr==null?void 0:Cr.type)!=="IfStatement"||!Yr)return!1;if(On(Rn,vr,Zn)===")")return ji(Er,vr),!0;if(Er===Cr.consequent&&Yr===Cr.alternate){if(Er.type==="BlockStatement")ji(Er,vr);else{let mi=vr.type==="SingleLine"||vr.loc.start.line===vr.loc.end.line,Ui=vr.loc.start.line===Er.loc.start.line;mi&&Ui?Wi(Er,vr,ra):Wi(Cr,vr)}return!0}return Yr.type==="BlockStatement"?(So(Yr,vr),!0):Yr.type==="IfStatement"?(as(Yr.consequent,vr),!0):Cr.consequent===Yr?(Hn(Yr,vr),!0):!1}function As(fr){let{comment:vr,precedingNode:Er,enclosingNode:Cr,followingNode:Yr,text:Rn}=fr;return(Cr==null?void 0:Cr.type)!=="WhileStatement"||!Yr?!1:On(Rn,vr,Zn)===")"?(ji(Er,vr),!0):Yr.type==="BlockStatement"?(So(Yr,vr),!0):Cr.body===Yr?(Hn(Yr,vr),!0):!1}function ko(fr){let{comment:vr,precedingNode:Er,enclosingNode:Cr,followingNode:Yr}=fr;return(Cr==null?void 0:Cr.type)!=="TryStatement"&&(Cr==null?void 0:Cr.type)!=="CatchClause"||!Yr?!1:Cr.type==="CatchClause"&&Er?(ji(Er,vr),!0):Yr.type==="BlockStatement"?(So(Yr,vr),!0):Yr.type==="TryStatement"?(as(Yr.finalizer,vr),!0):Yr.type==="CatchClause"?(as(Yr.body,vr),!0):!1}function Ws(fr){let{comment:vr,enclosingNode:Er,followingNode:Cr}=fr;return io(Er)&&(Cr==null?void 0:Cr.type)==="Identifier"?(Hn(Er,vr),!0):!1}function cs(fr){let{comment:vr,precedingNode:Er,enclosingNode:Cr,followingNode:Yr,text:Rn}=fr,mi=Er&&!Un(Rn,Zn(Er),ma(vr));return(!Er||!mi)&&((Cr==null?void 0:Cr.type)==="ConditionalExpression"||(Cr==null?void 0:Cr.type)==="TSConditionalType")&&Yr?(Hn(Yr,vr),!0):!1}function Xo(fr){let{comment:vr,precedingNode:Er,enclosingNode:Cr}=fr;return Ja(Cr)&&Cr.shorthand&&Cr.key===Er&&Cr.value.type==="AssignmentPattern"?(ji(Cr.value.left,vr),!0):!1}var Ms=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function _l(fr){let{comment:vr,precedingNode:Er,enclosingNode:Cr,followingNode:Yr}=fr;if(Ms.has(Cr==null?void 0:Cr.type)){if(sa(Cr.decorators)&&!(Yr&&Yr.type==="Decorator"))return ji(In(Cr.decorators),vr),!0;if(Cr.body&&Yr===Cr.body)return So(Cr.body,vr),!0;if(Yr){if(Cr.superClass&&Yr===Cr.superClass&&Er&&(Er===Cr.id||Er===Cr.typeParameters))return ji(Er,vr),!0;for(let Rn of["implements","extends","mixins"])if(Cr[Rn]&&Yr===Cr[Rn][0])return Er&&(Er===Cr.id||Er===Cr.typeParameters||Er===Cr.superClass)?ji(Er,vr):Wi(Cr,vr,Rn),!0}}return!1}var Xs=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclar
`)&&!xu&&!hs(Zs.attributes[0]))return ji(["<",ol("name"),ol("typeParameters")," ",...xs.map(ol,"attributes"),Zs.selfClosing?" />":">"]);let yu=Zs.attributes&&Zs.attributes.some(hd=>hd.value&&io(hd.value)&&hd.value.value.includes(`
`)),vc=Js.singleAttributePerLine&&Zs.attributes.length>1?Un:On;return ji(["<",ol("name"),ol("typeParameters"),Wi(xs.map(()=>[vc,ol()],"attributes")),...ns(Zs,Js,xu)],{shouldBreak:yu})}function ns(xs,Js,ol){return xs.selfClosing?[On,"/>"]:As(xs,Js,ol)?[">"]:[Hn,">"]}function As(xs,Js,ol){let Zs=xs.attributes.length>0&&hs(qa(xs.attributes),na.Trailing);return xs.attributes.length===0&&!ol||(Js.bracketSameLine||Js.jsxBracketSameLine)&&(!ol||xs.attributes.length>0)&&!Zs}function ko(xs,Js,ol){let Zs=xs.getValue(),xu=[];xu.push("</");let yu=ol("name");return hs(Zs.name,na.Leading|na.Line)?xu.push(Wi([Un,yu]),Un):hs(Zs.name,na.Leading|na.Block)?xu.push(" ",yu):xu.push(yu),xu.push(">"),xu}function Ws(xs,Js){let ol=xs.getValue(),Zs=hs(ol),xu=hs(ol,na.Line),yu=ol.type==="JSXOpeningFragment";return[yu?"<":"</",Wi([xu?Un:Zs&&!yu?" ":"",di(xs,Js,!0)]),xu?Un:"",">"]}function cs(xs,Js,ol){let Zs=In(xs,la(xs,Js,ol),Js);return Ha(xs,Zs,Js)}function Xo(xs,Js){let ol=xs.getValue(),Zs=hs(ol,na.Line);return[di(xs,Js,!Zs),Zs?Un:""]}function Ms(xs,Js,ol){let Zs=xs.getValue();return["{",xs.call(xu=>{let yu=["...",ol()],vc=xu.getValue();return!hs(vc)||!ma(xu)?yu:[Wi([Hn,In(xu,yu,Js)]),Hn]},Zs.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function _l(xs,Js,ol){let Zs=xs.getValue();if(Zs.type.startsWith("JSX"))switch(Zs.type){case"JSXAttribute":return So(xs,Js,ol);case"JSXIdentifier":return String(Zs.name);case"JSXNamespacedName":return ta(":",[ol("namespace"),ol("name")]);case"JSXMemberExpression":return ta(".",[ol("object"),ol("property")]);case"JSXSpreadAttribute":return Ms(xs,Js,ol);case"JSXSpreadChild":return Ms(xs,Js,ol);case"JSXExpressionContainer":return as(xs,Js,ol);case"JSXFragment":case"JSXElement":return cs(xs,Js,ol);case"JSXOpeningElement":return ps(xs,Js,ol);case"JSXClosingElement":return ko(xs,Js,ol);case"JSXOpeningFragment":case"JSXClosingFragment":return Ws(xs,Js);case"JSXEmptyExpression":return Xo(xs,Js);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new Error(`Unknown JSX node type: ${JSON.stringify(Zs.type)}.`)}}var Xs=`
\r `,Ul=new RegExp("(["+Xs+"]+)"),ss=new RegExp("[^"+Xs+"]"),Ps=xs=>xs.replace(new RegExp("(?:^"+Ul.source+"|"+Ul.source+"$)"),"");function jl(xs){if(xs.children.length===0)return!0;if(xs.children.length>1)return!1;let Js=xs.children[0];return Js.type==="JSXText"&&!Dl(Js)}function Dl(xs){return xs.type==="JSXText"&&(ss.test(Qa(xs))||!/\n/.test(Qa(xs)))}function Wu(xs){return xs.type==="JSXExpressionContainer"&&io(xs.expression)&&xs.expression.value===" "&&!hs(xs.expression)}function Fs(xs){let Js=xs.getValue(),ol=xs.getParentNode();if(!ol||!Js||!Ta(Js)||!Ta(ol))return!1;let Zs=ol.children.indexOf(Js),xu=null;for(let yu=Zs;yu>0;yu--){let vc=ol.children[yu-1];if(!(vc.type==="JSXText"&&!Dl(vc))){xu=vc;break}}return xu&&xu.type==="JSXExpressionContainer"&&xu.expression.type==="JSXEmptyExpression"&&ka(xu.expression)}Fi.exports={hasJsxIgnoreComment:Fs,printJsx:_l}}}),Wl=Mo({"src/language-js/print/misc.js"(Vn,Fi){Fn();var{isNonEmptyArray:In}=Zc(),{builders:{indent:di,join:Kn,line:On}}=Oc(),{isFlowAnnotationComment:Un}=Ld();function Hn(qa){let Xa=qa.getValue();return!Xa.optional||Xa.type==="Identifier"&&Xa===qa.getParentNode().key?"":Xa.type==="OptionalCallExpression"||Xa.type==="OptionalMemberExpression"&&Xa.computed?"?.":"?"}function ji(qa){return qa.getValue().definite||qa.match(void 0,(Xa,Ta)=>Ta==="id"&&Xa.type==="VariableDeclarator"&&Xa.definite)?"!":""}function Wi(qa,Xa,Ta){let Qa=qa.getValue();return Qa.typeArguments?Ta("typeArguments"):Qa.typeParameters?Ta("typeParameters"):""}function da(qa,Xa,Ta){let Qa=qa.getValue();if(!Qa.typeAnnotation)return"";let Ia=qa.getParentNode(),io=Ia.type==="DeclareFunction"&&Ia.id===Qa;return Un(Xa.originalText,Qa.typeAnnotation)?[" /*: ",Ta("typeAnnotation")," */"]:[io?"":": ",Ta("typeAnnotation")]}function sa(qa,Xa,Ta){return["::",Ta("callee")]}function fa(qa,Xa,Ta){let Qa=qa.getValue();return In(Qa.modifiers)?[Kn(" ",qa.map(Ta,"modifiers"))," "]:""}function zi(qa,Xa,Ta){return qa.type==="EmptyStatement"?";":qa.type==="BlockStatement"||Ta?[" ",Xa]:di([On,Xa])}function ta(qa,Xa,Ta){return["...",Ta("argument"),da(qa,Xa,Ta)]}function va(qa,Xa){let Ta=qa.slice(1,-1);if(Ta.includes('"')||Ta.includes("'"))return qa;let Qa=Xa.singleQuote?"'":'"';return Qa+Ta+Qa}Fi.exports={printOptionalToken:Hn,printDefiniteToken:ji,printFunctionTypeParameters:Wi,printBindExpressionCallee:sa,printTypeScriptModifiers:fa,printTypeAnnotation:da,printRestSpread:ta,adjustClause:zi,printDirective:va}}}),Su=Mo({"src/language-js/print/array.js"(Vn,Fi){Fn();var{printDanglingComments:In}=kc(),{builders:{line:di,softline:Kn,hardline:On,group:Un,indent:Hn,ifBreak:ji,fill:Wi}}=Oc(),{getLast:da,hasNewline:sa}=Zc(),{shouldPrintComma:fa,hasComment:zi,CommentCheckFlags:ta,isNextLineEmpty:va,isNumericLiteral:qa,isSignedNumericLiteral:Xa}=Ld(),{locStart:Ta}=Of(),{printOptionalToken:Qa,printTypeAnnotation:Ia}=Wl();function io(ka,ra,ma){let Zn=ka.getValue(),la=[],pa=Zn.type==="TupleExpression"?"#[":"[",xa="]";if(Zn.elements.length===0)zi(Zn,ta.Dangling)?la.push(Un([pa,In(ka,ra),Kn,xa])):la.push(pa,xa);else{let Ma=da(Zn.elements),Ha=!(Ma&&Ma.type==="RestElement"),So=Ma===null,as=Symbol("array"),ps=!ra.__inJestEach&&Zn.elements.length>1&&Zn.elements.every((ko,Ws,cs)=>{let Xo=ko&&ko.type;if(Xo!=="ArrayExpression"&&Xo!=="ObjectExpression")return!1;let Ms=cs[Ws+1];if(Ms&&Xo!==Ms.type)return!1;let _l=Xo==="ArrayExpression"?"elements":"properties";return ko[_l]&&ko[_l].length>1}),ns=Ja(Zn,ra),As=Ha?So?",":fa(ra)?ns?ji(",","",{groupId:as}):ji(","):"":"";la.push(Un([pa,Hn([Kn,ns?na(ka,ra,ma,As):[hs(ka,ra,"elements",ma),As],In(ka,ra,!0)]),Kn,xa],{shouldBreak:ps,id:as}))}return la.push(Qa(ka),Ia(ka,ra,ma)),la}function Ja(ka,ra){return ka.elements.length>1&&ka.elements.every(ma=>ma&&(qa(ma)||Xa(ma)&&!zi(ma.argument))&&!zi(ma,ta.Trailing|ta.Line,Zn=>!sa(ra.originalText,Ta(Zn),{backwards:!0})))}function hs(ka,ra,ma,Zn){let la=[],pa=[];return ka.each(xa=>{la.push(pa,Un(Zn())),pa=[",",di],xa.getValue()&&va(xa.getValue(),ra)&&pa.push(Kn)},ma),la}function na(ka,ra,ma,Zn){let la=[];return ka.each((pa,xa,Ma)=>{let Ha=xa===Ma.length-1;la.push([ma(),H
`):va(ss)}function _l(ss,Ps,jl){return hs(ss)?(Ps=Wi(Ps),typeof Ps=="string"&&di(Ps)<jl.tabWidth+3):!1}function Xs(ss,Ps){let jl=Ul(ss);if(In(jl)){if(jl.length>1)return!0;if(jl.length===1){let Wu=jl[0];if(Wu.type==="TSUnionType"||Wu.type==="UnionTypeAnnotation"||Wu.type==="TSIntersectionType"||Wu.type==="IntersectionTypeAnnotation"||Wu.type==="TSTypeLiteral"||Wu.type==="ObjectTypeAnnotation")return!0}let Dl=ss.typeParameters?"typeParameters":"typeArguments";if(da(Ps(Dl)))return!0}return!1}function Ul(ss){return ss.typeParameters&&ss.typeParameters.params||ss.typeArguments&&ss.typeArguments.params}Fi.exports={printVariableDeclarator:Zn,printAssignmentExpression:ma,printAssignment:ra,isArrowFunctionVariableDeclarator:As}}}),_c=Mo({"src/language-js/print/function-parameters.js"(Vn,Fi){Fn();var{getNextNonSpaceNonCommentCharacter:In}=Zc(),{printDanglingComments:di}=kc(),{builders:{line:Kn,hardline:On,softline:Un,group:Hn,indent:ji,ifBreak:Wi},utils:{removeLines:da,willBreak:sa}}=Oc(),{getFunctionParameters:fa,iterateFunctionParametersPath:zi,isSimpleType:ta,isTestCall:va,isTypeAnnotationAFunction:qa,isObjectType:Xa,isObjectTypePropertyAFunction:Ta,hasRestParameter:Qa,shouldPrintComma:Ia,hasComment:io,isNextLineEmpty:Ja}=Ld(),{locEnd:hs}=Of(),{ArgExpansionBailout:na}=Sd(),{printFunctionTypeParameters:ka}=Wl();function ra(pa,xa,Ma,Ha,So){let as=pa.getValue(),ps=fa(as),ns=So?ka(pa,Ma,xa):"";if(ps.length===0)return[ns,"(",di(pa,Ma,!0,Ms=>In(Ma.originalText,Ms,hs)===")"),")"];let As=pa.getParentNode(),ko=va(As),Ws=ma(as),cs=[];if(zi(pa,(Ms,_l)=>{let Xs=_l===ps.length-1;Xs&&as.rest&&cs.push("..."),cs.push(xa()),!Xs&&(cs.push(","),ko||Ws?cs.push(" "):Ja(ps[_l],Ma)?cs.push(On,On):cs.push(Kn))}),Ha){if(sa(ns)||sa(cs))throw new na;return Hn([da(ns),"(",da(cs),")"])}let Xo=ps.every(Ms=>!Ms.decorators);return Ws&&Xo?[ns,"(",...cs,")"]:ko?[ns,"(",...cs,")"]:(Ta(As)||qa(As)||As.type==="TypeAlias"||As.type==="UnionTypeAnnotation"||As.type==="TSUnionType"||As.type==="IntersectionTypeAnnotation"||As.type==="FunctionTypeAnnotation"&&As.returnType===as)&&ps.length===1&&ps[0].name===null&&as.this!==ps[0]&&ps[0].typeAnnotation&&as.typeParameters===null&&ta(ps[0].typeAnnotation)&&!as.rest?Ma.arrowParens==="always"?["(",...cs,")"]:cs:[ns,"(",ji([Un,...cs]),Wi(!Qa(as)&&Ia(Ma,"all")?",":""),Un,")"]}function ma(pa){if(!pa)return!1;let xa=fa(pa);if(xa.length!==1)return!1;let[Ma]=xa;return!io(Ma)&&(Ma.type==="ObjectPattern"||Ma.type==="ArrayPattern"||Ma.type==="Identifier"&&Ma.typeAnnotation&&(Ma.typeAnnotation.type==="TypeAnnotation"||Ma.typeAnnotation.type==="TSTypeAnnotation")&&Xa(Ma.typeAnnotation.typeAnnotation)||Ma.type==="FunctionTypeParam"&&Xa(Ma.typeAnnotation)||Ma.type==="AssignmentPattern"&&(Ma.left.type==="ObjectPattern"||Ma.left.type==="ArrayPattern")&&(Ma.right.type==="Identifier"||Ma.right.type==="ObjectExpression"&&Ma.right.properties.length===0||Ma.right.type==="ArrayExpression"&&Ma.right.elements.length===0))}function Zn(pa){let xa;return pa.returnType?(xa=pa.returnType,xa.typeAnnotation&&(xa=xa.typeAnnotation)):pa.typeAnnotation&&(xa=pa.typeAnnotation),xa}function la(pa,xa){let Ma=Zn(pa);if(!Ma)return!1;let Ha=pa.typeParameters&&pa.typeParameters.params;if(Ha){if(Ha.length>1)return!1;if(Ha.length===1){let So=Ha[0];if(So.constraint||So.default)return!1}}return fa(pa).length===1&&(Xa(Ma)||sa(xa))}Fi.exports={printFunctionParameters:ra,shouldHugFunctionParameters:ma,shouldGroupFunctionParameters:la}}}),no=Mo({"src/language-js/print/type-annotation.js"(Vn,Fi){Fn();var{printComments:In,printDanglingComments:di}=kc(),{isNonEmptyArray:Kn}=Zc(),{builders:{group:On,join:Un,line:Hn,softline:ji,indent:Wi,align:da,ifBreak:sa}}=Oc(),fa=Is(),{locStart:zi}=Of(),{isSimpleType:ta,isObjectType:va,hasLeadingOwnLineComment:qa,isObjectTypePropertyAFunction:Xa,shouldPrintComma:Ta}=Ld(),{printAssignment:Qa}=mc(),{printFunctionParameters:Ia,shouldGroupFunctionParameters:io}=_c(),{printArrayItems:Ja}=Su();function hs(Ma){if(ta(Ma)||va(Ma))return!0;if(Ma.type==="UnionTypeAnnotation"||Ma.type==="TSUnionType"){let Ha=Ma.types.filter(as=>as.type==="VoidTypeAnnot
`);return ta.length>1&&ta.every(va=>va.trim()[0]==="*")}function fa(zi){let ta=zi.value.split(`
`);return["/*",di(Kn,ta.map((va,qa)=>qa===0?va.trimEnd():" "+(qa<ta.length-1?va.trim():va.trimStart()))),"*/"]}Fi.exports={printComment:da}}}),Gf=Mo({"src/language-js/print/literal.js"(Vn,Fi){Fn();var{printString:In,printNumber:di}=Zc(),{replaceTextEndOfLine:Kn}=Pf(),{printDirective:On}=Wl();function Un(da,sa){let fa=da.getNode();switch(fa.type){case"RegExpLiteral":return Wi(fa);case"BigIntLiteral":return ji(fa.bigint||fa.extra.raw);case"NumericLiteral":return di(fa.extra.raw);case"StringLiteral":return Kn(In(fa.extra.raw,sa));case"NullLiteral":return"null";case"BooleanLiteral":return String(fa.value);case"DecimalLiteral":return di(fa.value)+"m";case"Literal":{if(fa.regex)return Wi(fa.regex);if(fa.bigint)return ji(fa.raw);if(fa.decimal)return di(fa.decimal)+"m";let{value:zi}=fa;return typeof zi=="number"?di(fa.raw):typeof zi=="string"?Hn(da)?On(fa.raw,sa):Kn(In(fa.raw,sa)):String(zi)}}}function Hn(da){if(da.getName()!=="expression")return;let sa=da.getParentNode();return sa.type==="ExpressionStatement"&&sa.directive}function ji(da){return da.toLowerCase()}function Wi(da){let{pattern:sa,flags:fa}=da;return fa=[...fa].sort().join(""),`/${sa}/${fa}`}Fi.exports={printLiteral:Un}}}),kf=Mo({"src/language-js/printer-estree.js"(Vn,Fi){Fn();var{printDanglingComments:In}=kc(),{hasNewline:di}=Zc(),{builders:{join:Kn,line:On,hardline:Un,softline:Hn,group:ji,indent:Wi},utils:{replaceTextEndOfLine:da}}=Oc(),sa=Wp(),fa=Nm(),{insertPragma:zi}=ms(),ta=Rs(),va=Is(),qa=$s(),{hasFlowShorthandAnnotationComment:Xa,hasComment:Ta,CommentCheckFlags:Qa,isTheOnlyJsxElementInMarkdown:Ia,isLineComment:io,isNextLineEmpty:Ja,needsHardlineAfterDanglingComment:hs,hasIgnoreComment:na,isCallExpression:ka,isMemberExpression:ra,markerForIfWithoutBlockAndSameLineComment:ma}=Ld(),{locStart:Zn,locEnd:la}=Of(),pa=Bd(),{printHtmlBinding:xa,isVueEventBindingExpression:Ma}=zs(),{printAngular:Ha}=hu(),{printJsx:So,hasJsxIgnoreComment:as}=Bu(),{printFlow:ps}=Uu(),{printTypescript:ns}=Bc(),{printOptionalToken:As,printBindExpressionCallee:ko,printTypeAnnotation:Ws,adjustClause:cs,printRestSpread:Xo,printDefiniteToken:Ms,printDirective:_l}=Wl(),{printImportDeclaration:Xs,printExportDeclaration:Ul,printExportAllDeclaration:ss,printModuleSpecifier:Ps}=Kl(),{printTernary:jl}=Fc(),{printTemplateLiteral:Dl}=Zf(),{printArray:Wu}=Su(),{printObject:Fs}=gu(),{printClass:xs,printClassMethod:Js,printClassProperty:ol}=Ku(),{printProperty:Zs}=Ic(),{printFunction:xu,printArrowFunction:yu,printMethod:vc,printReturnStatement:hd,printThrowStatement:Yc}=ju(),{printCallExpression:Cc}=Lu(),{printVariableDeclarator:bc,printAssignmentExpression:Ml}=mc(),{printBinaryishExpression:ds}=Yl(),{printSwitchCaseConsequent:Hl}=zc(),{printMemberExpression:Us}=Fu(),{printBlock:$l,printBlockBody:fc}=jd(),{printComment:rr}=cf(),{printLiteral:fr}=Gf(),{printDecorators:vr}=bu();function Er(Rn,mi,Ui,Aa){let No=Cr(Rn,mi,Ui,Aa);if(!No)return"";let Cs=Rn.getValue(),{type:Ns}=Cs;if(Ns==="ClassMethod"||Ns==="ClassPrivateMethod"||Ns==="ClassProperty"||Ns==="ClassAccessorProperty"||Ns==="AccessorProperty"||Ns==="TSAbstractAccessorProperty"||Ns==="PropertyDefinition"||Ns==="TSAbstractPropertyDefinition"||Ns==="ClassPrivateProperty"||Ns==="MethodDefinition"||Ns==="TSAbstractMethodDefinition"||Ns==="TSDeclareMethod")return No;let Bs=[No],pl=vr(Rn,mi,Ui),Eu=Cs.type==="ClassExpression"&&pl;if(pl&&(Bs=[...pl,No],!Eu))return ji(Bs);if(!va(Rn,mi))return Aa&&Aa.needsSemi&&Bs.unshift(";"),Bs.length===1&&Bs[0]===No?No:Bs;if(Eu&&(Bs=[Wi([On,...Bs])]),Bs.unshift("("),Aa&&Aa.needsSemi&&Bs.unshift(";"),Xa(Cs)){let[kl]=Cs.trailingComments;Bs.push(" /*",kl.value.trimStart(),"*/"),kl.printed=!0}return Eu&&Bs.push(On),Bs.push(")"),Bs}function Cr(Rn,mi,Ui,Aa){let No=Rn.getValue(),Cs=mi.semi?";":"";if(!No)return"";if(typeof No=="string")return No;for(let Bs of[fr,xa,Ha,So,ps,ns]){let pl=Bs(Rn,mi,Ui);if(typeof pl<"u")return pl}let Ns=[];switch(No.type){case"JsExpressionRoot":return Ui("node");case"JsonRoot":return[Ui("node"),Un];case"File":return No.program&&No.program.interpreter&&Ns.push(Ui(["program","interpreter"])),Ns.push(Ui("p
`:"")+In.insertPragma(ji)}Fi.exports={hasPragma:Kn,insertPragma:On}}}),_m=Mo({"src/language-css/utils/index.js"(Vn,Fi){Fn();var In=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 di(Fs,xs){let Js=Array.isArray(xs)?xs:[xs],ol=-1,Zs;for(;Zs=Fs.getParentNode(++ol);)if(Js.includes(Zs.type))return ol;return-1}function Kn(Fs,xs){let Js=di(Fs,xs);return Js===-1?null:Fs.getParentNode(Js)}function On(Fs){var xs;let Js=Kn(Fs,"css-decl");return Js==null||(xs=Js.prop)===null||xs===void 0?void 0:xs.toLowerCase()}var Un=new Set(["initial","inherit","unset","revert"]);function Hn(Fs){return Un.has(Fs.toLowerCase())}function ji(Fs,xs){let Js=Kn(Fs,"css-atrule");return(Js==null?void 0:Js.name)&&Js.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(xs.toLowerCase())}function Wi(Fs){return Fs.includes("$")||Fs.includes("@")||Fs.includes("#")||Fs.startsWith("%")||Fs.startsWith("--")||Fs.startsWith(":--")||Fs.includes("(")&&Fs.includes(")")?Fs:Fs.toLowerCase()}function da(Fs,xs){var Js;let ol=Kn(Fs,"value-func");return(ol==null||(Js=ol.value)===null||Js===void 0?void 0:Js.toLowerCase())===xs}function sa(Fs){var xs;let Js=Kn(Fs,"css-rule"),ol=Js==null||(xs=Js.raws)===null||xs===void 0?void 0:xs.selector;return ol&&(ol.startsWith(":import")||ol.startsWith(":export"))}function fa(Fs,xs){let Js=Array.isArray(xs)?xs:[xs],ol=Kn(Fs,"css-atrule");return ol&&Js.includes(ol.name.toLowerCase())}function zi(Fs){let xs=Fs.getValue(),Js=Kn(Fs,"css-atrule");return(Js==null?void 0:Js.name)==="import"&&xs.groups[0].value==="url"&&xs.groups.length===2}function ta(Fs){return Fs.type==="value-func"&&Fs.value.toLowerCase()==="url"}function va(Fs,xs){var Js;let ol=(Js=Fs.getParentNode())===null||Js===void 0?void 0:Js.nodes;return ol&&ol.indexOf(xs)===ol.length-1}function qa(Fs){let{selector:xs}=Fs;return xs?typeof xs=="string"&&/^@.+:.*$/.test(xs)||xs.value&&/^@.+:.*$/.test(xs.value):!1}function Xa(Fs){return Fs.type==="value-word"&&["from","through","end"].includes(Fs.value)}function Ta(Fs){return Fs.type==="value-word"&&["and","or","not"].includes(Fs.value)}function Qa(Fs){return Fs.type==="value-word"&&Fs.value==="in"}function Ia(Fs){return Fs.type==="value-operator"&&Fs.value==="*"}function io(Fs){return Fs.type==="value-operator"&&Fs.value==="/"}function Ja(Fs){return Fs.type==="value-operator"&&Fs.value==="+"}function hs(Fs){return Fs.type==="value-operator"&&Fs.value==="-"}function na(Fs){return Fs.type==="value-operator"&&Fs.value==="%"}function ka(Fs){return Ia(Fs)||io(Fs)||Ja(Fs)||hs(Fs)||na(Fs)}function ra(Fs){return Fs.type==="value-word"&&["==","!="].includes(Fs.value)}function ma(Fs){return Fs.type==="value-word"&&["<",">","<=",">="].includes(Fs.value)}function Zn(Fs){return Fs.type==="css-atrule"&&["if","else","for","each","while"].includes(Fs.name)}function la(Fs){var xs;return((xs=Fs.raws)===null||xs===void 0?void 0:xs.params)&&/^\(\s*\)$/.test(Fs.raws.params)}function pa(Fs){return Fs.name.startsWith("prettier-placeholder")}function xa(Fs){return Fs.prop.startsWith("@prettier-placeholder")}function Ma(Fs,xs){return Fs.value==="$$"&&Fs.type==="value-func"&&(xs==null?void 0:xs.type)==="value-word"&&!xs.raws.before}function Ha(Fs){var xs,Js;return((xs=Fs.value)===null||xs===void 0?void 0:xs.type)==="value-root"&&((Js=Fs.value.group)===null||Js===void 0?void 0:Js.type)==="value-value"&&Fs.prop.toLowerCase()==="composes"}function So(Fs){var xs,Js,ol;return((xs=Fs.value)===null||xs===void 0||(Js=xs.group)===null||Js===void 0||(ol=Js.group)===null||ol===void 0?void 0:ol.type)==="value-paren_group"&&Fs.value.group.group.open!==null&&Fs.value.group.group.close!==null}function as(Fs){var xs;return((xs=Fs.raws)===null||xs===void 0?void 0:xs.before)===""}function ps(Fs){var xs,Js;return Fs.type==="value-comma_group"&&((xs=Fs.groups)===null||xs===void 0||(Js=xs[1])===null||Js===void 0?void 0:Js.type)==="value-colon"}function ns(Fs){var xs;return Fs.type==="value-paren_group"&&((xs=Fs.groups)
`,Kn)+1;return Kn+In.column}}}),qh=Mo({"src/language-css/loc.js"(Vn,Fi){Fn();var{skipEverythingButNewLine:In}=Xh(),di=Lc(),Kn=cp();function On(zi,ta){return typeof zi.sourceIndex=="number"?zi.sourceIndex:zi.source?Kn(zi.source.start,ta)-1:null}function Un(zi,ta){if(zi.type==="css-comment"&&zi.inline)return In(ta,zi.source.startOffset);let va=zi.nodes&&di(zi.nodes);return va&&zi.source&&!zi.source.end&&(zi=va),zi.source&&zi.source.end?Kn(zi.source.end,ta):null}function Hn(zi,ta){zi.source&&(zi.source.startOffset=On(zi,ta),zi.source.endOffset=Un(zi,ta));for(let va in zi){let qa=zi[va];va==="source"||!qa||typeof qa!="object"||(qa.type==="value-root"||qa.type==="value-unknown"?ji(qa,Wi(zi),qa.text||qa.value):Hn(qa,ta))}}function ji(zi,ta,va){zi.source&&(zi.source.startOffset=On(zi,va)+ta,zi.source.endOffset=Un(zi,va)+ta);for(let qa in zi){let Xa=zi[qa];qa==="source"||!Xa||typeof Xa!="object"||ji(Xa,ta,va)}}function Wi(zi){let ta=zi.source.startOffset;return typeof zi.prop=="string"&&(ta+=zi.prop.length),zi.type==="css-atrule"&&typeof zi.name=="string"&&(ta+=1+zi.name.length+zi.raws.afterName.match(/^\s*:?\s*/)[0].length),zi.type!=="css-atrule"&&zi.raws&&typeof zi.raws.between=="string"&&(ta+=zi.raws.between.length),ta}function da(zi){let ta="initial",va="initial",qa,Xa=!1,Ta=[];for(let Qa=0;Qa<zi.length;Qa++){let Ia=zi[Qa];switch(ta){case"initial":if(Ia==="'"){ta="single-quotes";continue}if(Ia==='"'){ta="double-quotes";continue}if((Ia==="u"||Ia==="U")&&zi.slice(Qa,Qa+4).toLowerCase()==="url("){ta="url",Qa+=3;continue}if(Ia==="*"&&zi[Qa-1]==="/"){ta="comment-block";continue}if(Ia==="/"&&zi[Qa-1]==="/"){ta="comment-inline",qa=Qa-1;continue}continue;case"single-quotes":if(Ia==="'"&&zi[Qa-1]!=="\\"&&(ta=va,va="initial"),Ia===`
`||Ia==="\r")return zi;continue;case"double-quotes":if(Ia==='"'&&zi[Qa-1]!=="\\"&&(ta=va,va="initial"),Ia===`
`||Ia==="\r")return zi;continue;case"url":if(Ia===")"&&(ta="initial"),Ia===`
`||Ia==="\r")return zi;if(Ia==="'"){ta="single-quotes",va="url";continue}if(Ia==='"'){ta="double-quotes",va="url";continue}continue;case"comment-block":Ia==="/"&&zi[Qa-1]==="*"&&(ta="initial");continue;case"comment-inline":(Ia==='"'||Ia==="'"||Ia==="*")&&(Xa=!0),(Ia===`
`||Ia==="\r")&&(Xa&&Ta.push([qa,Qa]),ta="initial",Xa=!1);continue}}for(let[Qa,Ia]of Ta)zi=zi.slice(0,Qa)+zi.slice(Qa,Ia).replace(/["'*]/g," ")+zi.slice(Ia);return zi}function sa(zi){return zi.source.startOffset}function fa(zi){return zi.source.endOffset}Fi.exports={locStart:sa,locEnd:fa,calculateLoc:Hn,replaceQuotesInInlineComments:da}}}),zh=Mo({"src/language-css/utils/is-less-parser.js"(Vn,Fi){Fn();function In(di){return di.parser==="css"||di.parser==="less"}Fi.exports=In}}),Ff=Mo({"src/language-css/utils/is-scss.js"(Vn,Fi){Fn();function In(di,Kn){return di==="less"||di==="scss"?di==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(Kn)}Fi.exports=In}}),dp=Mo({"src/language-css/utils/css-units.evaluate.js"(Vn,Fi){Fi.exports={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"}}}),uh=Mo({"src/language-css/utils/print-unit.js"(Vn,Fi){Fn();var In=dp();function di(Kn){let On=Kn.toLowerCase();return Object.prototype.hasOwnProperty.call(In,On)?In[On]:Kn}Fi.exports=di}}),Ah=Mo({"src/language-css/printer-postcss.js"(Vn,Fi){Fn();var In=Lc(),{printNumber:di,printString:Kn,hasNewline:On,isFrontMatterNode:Un,isNextLineEmpty:Hn,isNonEmptyArray:ji}=Zc(),{builders:{join:Wi,line:da,hardline:sa,softline:fa,group:zi,fill:ta,indent:va,dedent:qa,ifBreak:Xa,breakParent:Ta},utils:{removeLines:Qa,getDocParts:Ia}}=Oc(),io=Kd(),Ja=Yd(),{insertPragma:hs}=Kp(),{getAncestorNode:na,getPropOfDeclNode:ka,maybeToLowerCase:ra,insideValueFunctionNode:ma,insideICSSRuleNode:Zn,insideAtRuleNode:la,insideURLFunctionInImportAtRuleNode:pa,isKeyframeAtRuleKeywords:xa,isWideKeywords:Ma,isLastNode:Ha,isSCSSControlDirectiveNode:So,isDetachedRulesetDeclarationNode:as,isRelationalOperatorNode:ps,isEqualityOperatorNode:ns,isMultiplicationNode:As,isDivisionNode:ko,isAdditionNode:Ws,isSubtractionNode:cs,isMathOperatorNode:Xo,isEachKeywordNode:Ms,isForKeywordNode:_l,isURLFunctionNode:Xs,isIfElseKeywordNode:Ul,hasComposesNode:ss,hasParensAroundNode:Ps,hasEmptyRawBefore:jl,isKeyValuePairNode:Dl,isKeyInValuePairNode:Wu,isDetachedRulesetCallNode:Fs,isTemplatePlaceholderNode:xs,isTemplatePropNode:Js,isPostcssSimpleVarNode:ol,isSCSSMapItemNode:Zs,isInlineValueCommentNode:xu,isHashNode:yu,isLeftCurlyBraceNode:vc,isRightCurlyBraceNode:hd,isWordNode:Yc,isColonNode:Cc,isMediaAndSupportsKeywords:bc,isColorAdjusterFuncNode:Ml,lastLineHasInlineComment:ds,isAtWordPlaceholderNode:Hl,isConfigurationNode:Us,isParenGroupNode:$l}=_m(),{locStart:fc,locEnd:rr}=qh(),fr=zh(),vr=Ff(),Er=uh();function Cr(kl){return kl.trailingComma==="es5"||kl.trailingComma==="all"}function Yr(kl,Cu,Ru){let Ds=kl.getValue();if(!Ds)return"";if(typeof Ds=="string")return Ds;switch(Ds.type){case"front-matter":return[Ds.raw,sa];case"css-root":{let lc=Rn(kl,Cu,Ru),wc=Ds.raws.after.trim();return wc.startsWith(";")&&(wc=wc.slice(1).trim()),[lc,wc?` ${wc}`:"",Ia(lc).length>0?sa:""]}case"css-comment":{let lc=Ds.inline||Ds.raws.inline,wc=Cu.originalText.slice(fc(Ds),rr(Ds));return lc?wc.trimEnd():wc}case"css-rule":return[Ru("selector"),Ds.important?" !important":"",Ds.nodes?[Ds.selector&&Ds.selector.type==="selector-unknown"&&ds(Ds.selector.value)?da:" ","{",Ds.nodes.length>0?va([sa,Rn(kl,Cu,Ru)]):"",sa,"}",as(Ds)?";":""]:";"];case"css-decl":{let lc=kl.getParentNode(),{between:wc}=Ds.raws,Jc=wc.trim(),Xd=Jc===":",Do=ss(Ds)?Qa(Ru("value")):Ru("value");return!Xd&&ds(Jc)&&(Do=va([sa,qa(Do)])),[Ds.raws.before.replace(/[\s;]/g,""),lc.type==="css-atrule"&&lc.variable||Zn(kl)?Ds.prop:ra(Ds.prop),Jc.startsWith("//")?" ":"",Jc,Ds.extend?"":" ",fr(Cu)&&Ds.extend&&Ds.selector?["extend(",Ru("selector"),")"]:"",Do,Ds.raws.important?Ds.raws.i
`).length-1}function ol(ds){ds=typeof ds=="string"?ds:"";let Hl=(ds.match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"";return Js(Hl)}function Zs(ds){ds=typeof ds=="string"?ds:"";let Hl=(ds.match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"";return Js(Hl)}function xu(){let ds=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return Array.from({length:Math.min(ds,Zn)}).fill(On)}function yu(ds,Hl){let{quote:Us,regex:$l}=zi(ds,Hl);return[Us,ds.replace($l,`\\${Us}`),Us]}function vc(ds){let Hl=0,Us=ds.getParentNode(Hl);for(;Us&&hs(Us,["SubExpression"]);)Hl++,Us=ds.getParentNode(Hl);return!!(Us&&hs(ds.getParentNode(Hl+1),["ConcatStatement"])&&hs(ds.getParentNode(Hl+2),["AttrNode"]))}function hd(ds,Hl){let Us=Cc(ds,Hl),$l=bc(ds,Hl);return $l?Hn([Us,Wi,Kn($l)]):Us}function Yc(ds,Hl){let Us=Cc(ds,Hl),$l=bc(ds,Hl);return $l?[Hn([Us,Wi,$l]),da]:Us}function Cc(ds,Hl){return Hl("path")}function bc(ds,Hl){let Us=ds.getValue(),$l=[];if(Us.params.length>0){let fc=ds.map(Hl,"params");$l.push(...fc)}if(Us.hash&&Us.hash.pairs.length>0){let fc=Hl("hash");$l.push(fc)}return $l.length===0?"":ji(Wi,$l)}function Ml(ds){return["as |",ds.blockParams.join(" "),"|"]}Fi.exports={print:la,massageAstNode:Xa}}}),Io=Mo({"src/language-handlebars/parsers.js"(){Fn()}}),xo=Mo({"node_modules/linguist-languages/data/Handlebars.json"(Vn,Fi){Fi.exports={name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}}}),Oo=Mo({"src/language-handlebars/index.js"(Vn,Fi){Fn();var In=zp(),di=to(),Kn=Io(),On=[In(xo(),()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],Un={glimmer:di};Fi.exports={languages:On,printers:Un,parsers:Kn}}}),ro=Mo({"src/language-graphql/pragma.js"(Vn,Fi){Fn();function In(Kn){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(Kn)}function di(Kn){return`# @format
`+Kn}Fi.exports={hasPragma:In,insertPragma:di}}}),Ro=Mo({"src/language-graphql/loc.js"(Vn,Fi){Fn();function In(Kn){return typeof Kn.start=="number"?Kn.start:Kn.loc&&Kn.loc.start}function di(Kn){return typeof Kn.end=="number"?Kn.end:Kn.loc&&Kn.loc.end}Fi.exports={locStart:In,locEnd:di}}}),vi=Mo({"src/language-graphql/printer-graphql.js"(Vn,Fi){Fn();var{builders:{join:In,hardline:di,line:Kn,softline:On,group:Un,indent:Hn,ifBreak:ji}}=Oc(),{isNextLineEmpty:Wi,isNonEmptyArray:da}=Zc(),{insertPragma:sa}=ro(),{locStart:fa,locEnd:zi}=Ro();function ta(Ja,hs,na){let ka=Ja.getValue();if(!ka)return"";if(typeof ka=="string")return ka;switch(ka.kind){case"Document":{let ra=[];return Ja.each((ma,Zn,la)=>{ra.push(na()),Zn!==la.length-1&&(ra.push(di),Wi(hs.originalText,ma.getValue(),zi)&&ra.push(di))},"definitions"),[...ra,di]}case"OperationDefinition":{let ra=hs.originalText[fa(ka)]!=="{",ma=!!ka.name;return[ra?ka.operation:"",ra&&ma?[" ",na("name")]:"",ra&&!ma&&da(ka.variableDefinitions)?" ":"",da(ka.variableDefinitions)?Un(["(",Hn([On,In([ji("",", "),On],Ja.map(na,"variableDefinitions"))]),On,")"]):"",va(Ja,na,ka),ka.selectionSet?!ra&&!ma?"":" ":"",na("selectionSet")]}case"FragmentDefinition":return["fragment ",na("name"),da(ka.variableDefinitions)?Un(["(",Hn([On,In([ji("",", "),On],Ja.map(na,"variableDefinitions"))]),On,")"]):""," on ",na("typeCondition"),va(Ja,na,ka)," ",na("selectionSet")];case"SelectionSet":return["{",Hn([di,In(di,qa(Ja,hs,na,"selections"))]),di,"}"];case"Field":return Un([ka.alias?[na("alias"),": "]:"",na("name"),ka.arguments.length>0?Un(["(",Hn([On,In([ji("",", "),On],qa(Ja,hs,na,"arguments"))]),On,")"]):"",va(Ja,na,ka),ka.selectionSet?" ":"",na("selectionSet")]);case"Name":return ka.value;case"StringValue":{if(ka.block){let ra=ka.value.replace(/"""/g,"\\$&").split(`
`);return ra.length===1&&(ra[0]=ra[0].trim()),ra.every(ma=>ma==="")&&(ra.length=0),In(di,['"""',...ra,'"""'])}return['"',ka.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"']}case"IntValue":case"FloatValue":case"EnumValue":return ka.value;case"BooleanValue":return ka.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",na("name")];case"ListValue":return Un(["[",Hn([On,In([ji("",", "),On],Ja.map(na,"values"))]),On,"]"]);case"ObjectValue":return Un(["{",hs.bracketSpacing&&ka.fields.length>0?" ":"",Hn([On,In([ji("",", "),On],Ja.map(na,"fields"))]),On,ji("",hs.bracketSpacing&&ka.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[na("name"),": ",na("value")];case"Directive":return["@",na("name"),ka.arguments.length>0?Un(["(",Hn([On,In([ji("",", "),On],qa(Ja,hs,na,"arguments"))]),On,")"]):""];case"NamedType":return na("name");case"VariableDefinition":return[na("variable"),": ",na("type"),ka.defaultValue?[" = ",na("defaultValue")]:"",va(Ja,na,ka)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[na("description"),ka.description?di:"",ka.kind==="ObjectTypeExtension"?"extend ":"","type ",na("name"),ka.interfaces.length>0?[" implements ",...Qa(Ja,hs,na)]:"",va(Ja,na,ka),ka.fields.length>0?[" {",Hn([di,In(di,qa(Ja,hs,na,"fields"))]),di,"}"]:""];case"FieldDefinition":return[na("description"),ka.description?di:"",na("name"),ka.arguments.length>0?Un(["(",Hn([On,In([ji("",", "),On],qa(Ja,hs,na,"arguments"))]),On,")"]):"",": ",na("type"),va(Ja,na,ka)];case"DirectiveDefinition":return[na("description"),ka.description?di:"","directive ","@",na("name"),ka.arguments.length>0?Un(["(",Hn([On,In([ji("",", "),On],qa(Ja,hs,na,"arguments"))]),On,")"]):"",ka.repeatable?" repeatable":""," on ",In(" | ",Ja.map(na,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[na("description"),ka.description?di:"",ka.kind==="EnumTypeExtension"?"extend ":"","enum ",na("name"),va(Ja,na,ka),ka.values.length>0?[" {",Hn([di,In(di,qa(Ja,hs,na,"values"))]),di,"}"]:""];case"EnumValueDefinition":return[na("description"),ka.description?di:"",na("name"),va(Ja,na,ka)];case"InputValueDefinition":return[na("description"),ka.description?ka.description.block?di:Kn:"",na("name"),": ",na("type"),ka.defaultValue?[" = ",na("defaultValue")]:"",va(Ja,na,ka)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[na("description"),ka.description?di:"",ka.kind==="InputObjectTypeExtension"?"extend ":"","input ",na("name"),va(Ja,na,ka),ka.fields.length>0?[" {",Hn([di,In(di,qa(Ja,hs,na,"fields"))]),di,"}"]:""];case"SchemaExtension":return["extend schema",va(Ja,na,ka),...ka.operationTypes.length>0?[" {",Hn([di,In(di,qa(Ja,hs,na,"operationTypes"))]),di,"}"]:[]];case"SchemaDefinition":return[na("description"),ka.description?di:"","schema",va(Ja,na,ka)," {",ka.operationTypes.length>0?Hn([di,In(di,qa(Ja,hs,na,"operationTypes"))]):"",di,"}"];case"OperationTypeDefinition":return[na("operation"),": ",na("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[na("description"),ka.description?di:"",ka.kind==="InterfaceTypeExtension"?"extend ":"","interface ",na("name"),ka.interfaces.length>0?[" implements ",...Qa(Ja,hs,na)]:"",va(Ja,na,ka),ka.fields.length>0?[" {",Hn([di,In(di,qa(Ja,hs,na,"fields"))]),di,"}"]:""];case"FragmentSpread":return["...",na("name"),va(Ja,na,ka)];case"InlineFragment":return["...",ka.typeCondition?[" on ",na("typeCondition")]:"",va(Ja,na,ka)," ",na("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return Un([na("description"),ka.description?di:"",Un([ka.kind==="UnionTypeExtension"?"extend ":"","union ",na("name"),va(Ja,na,ka),ka.types.length>0?[" =",ji(""," "),Hn([ji([Kn," "]),In([Kn,"| "],Ja.map(na,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[na("description"),ka.description?di:"",ka.kind==="ScalarTypeExtension"?"extend ":"","scalar ",na("name"),va(Ja,na,ka)];case"NonNullType":return[na("type"),"!"];case"ListType":return["[",na("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(ka.ki
`)&&(hs.value=hs.value.trim())}Ia.ignoredProperties=new Set(["loc","comments"]);function io(Ja){var hs;let na=Ja.getValue();return na==null||(hs=na.comments)===null||hs===void 0?void 0:hs.some(ka=>ka.value.trim()==="prettier-ignore")}Fi.exports={print:ta,massageAstNode:Ia,hasPrettierIgnore:io,insertPragma:sa,printComment:Ta,canAttachComment:Xa}}}),Ln=Mo({"src/language-graphql/options.js"(Vn,Fi){Fn();var In=nd();Fi.exports={bracketSpacing:In.bracketSpacing}}}),za=Mo({"src/language-graphql/parsers.js"(){Fn()}}),Na=Mo({"node_modules/linguist-languages/data/GraphQL.json"(Vn,Fi){Fi.exports={name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139}}}),Zo=Mo({"src/language-graphql/index.js"(Vn,Fi){Fn();var In=zp(),di=vi(),Kn=Ln(),On=za(),Un=[In(Na(),()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],Hn={graphql:di};Fi.exports={languages:Un,options:Kn,printers:Hn,parsers:On}}}),Fo=Mo({"node_modules/collapse-white-space/index.js"(Vn,Fi){Fn(),Fi.exports=In;function In(di){return String(di).replace(/\s+/g," ")}}}),Ss=Mo({"src/language-markdown/loc.js"(Vn,Fi){Fn();function In(Kn){return Kn.position.start.offset}function di(Kn){return Kn.position.end.offset}Fi.exports={locStart:In,locEnd:di}}}),_s=Mo({"src/language-markdown/constants.evaluate.js"(Vn,Fi){Fi.exports={cjkPattern:"(?:[\\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-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\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][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",kPattern:"[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",punctuationPattern:"[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\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\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\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-\\u2e4f\\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
(${On})`,"g"),"$1$2")).split(/([\t\n ]+)/);for(let[ma,Zn]of ka.entries()){if(ma%2===1){na.push({type:"whitespace",value:/\n/.test(Zn)?`
`:" "});continue}if((ma===0||ma===ka.length-1)&&Zn==="")continue;let la=Zn.split(new RegExp(`(${On})`));for(let[pa,xa]of la.entries())if(!((pa===0||pa===la.length-1)&&xa==="")){if(pa%2===0){xa!==""&&ra({type:"word",value:xa,kind:Ia,hasLeadingPunctuation:sa.test(xa[0]),hasTrailingPunctuation:sa.test(In(xa))});continue}ra(sa.test(xa)?{type:"word",value:xa,kind:hs,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:xa,kind:da.test(xa)?Ja:io,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return na;function ra(ma){let Zn=In(na);Zn&&Zn.type==="word"&&(Zn.kind===Ia&&ma.kind===io&&!Zn.hasTrailingPunctuation||Zn.kind===io&&ma.kind===Ia&&!ma.hasLeadingPunctuation?na.push({type:"whitespace",value:" "}):!la(Ia,hs)&&![Zn.value,ma.value].some(pa=>/\u3000/.test(pa))&&na.push({type:"whitespace",value:""})),na.push(ma);function la(pa,xa){return Zn.kind===pa&&ma.kind===xa||Zn.kind===xa&&ma.kind===pa}}}function zi(Ta,Qa){let[,Ia,io,Ja]=Qa.slice(Ta.position.start.offset,Ta.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:Ia,marker:io,leadingSpaces:Ja}}function ta(Ta,Qa){if(!Ta.ordered||Ta.children.length<2)return!1;let Ia=Number(zi(Ta.children[0],Qa.originalText).numberText),io=Number(zi(Ta.children[1],Qa.originalText).numberText);if(Ia===0&&Ta.children.length>2){let Ja=Number(zi(Ta.children[2],Qa.originalText).numberText);return io===1&&Ja===1}return io===1}function va(Ta,Qa){let{value:Ia}=Ta;return Ta.position.end.offset===Qa.length&&Ia.endsWith(`
`)&&Qa.endsWith(`
`)?Ia.slice(0,-1):Ia}function qa(Ta,Qa){return function Ia(io,Ja,hs){let na=Object.assign({},Qa(io,Ja,hs));return na.children&&(na.children=na.children.map((ka,ra)=>Ia(ka,ra,[na,...hs]))),na}(Ta,null,[])}function Xa(Ta){if((Ta==null?void 0:Ta.type)!=="link"||Ta.children.length!==1)return!1;let[Qa]=Ta.children;return di(Ta)===di(Qa)&&Kn(Ta)===Kn(Qa)}Fi.exports={mapAst:qa,splitText:fa,punctuationPattern:Hn,getFencedCodeBlockValue:va,getOrderedListItemInfo:zi,hasGitDiffFriendlyOrderedList:ta,INLINE_NODE_TYPES:ji,INLINE_NODE_WRAPPER_TYPES:Wi,isAutolink:Xa}}}),Qs=Mo({"src/language-markdown/embed.js"(Vn,Fi){Fn();var{inferParserByLanguage:In,getMaxContinuousCount:di}=Zc(),{builders:{hardline:Kn,markAsRoot:On},utils:{replaceEndOfLine:Un}}=Oc(),Hn=ld(),{getFencedCodeBlockValue:ji}=Uo();function Wi(da,sa,fa,zi){let ta=da.getValue();if(ta.type==="code"&&ta.lang!==null){let va=In(ta.lang,zi);if(va){let qa=zi.__inJsTemplate?"~":"`",Xa=qa.repeat(Math.max(3,di(ta.value,qa)+1)),Ta={parser:va};ta.lang==="tsx"&&(Ta.filepath="dummy.tsx");let Qa=fa(ji(ta,zi.originalText),Ta,{stripTrailingHardline:!0});return On([Xa,ta.lang,ta.meta?" "+ta.meta:"",Kn,Un(Qa),Kn,Xa])}}switch(ta.type){case"front-matter":return Hn(ta,fa);case"importExport":return[fa(ta.value,{parser:"babel"},{stripTrailingHardline:!0}),Kn];case"jsx":return fa(`<$>${ta.value}</$>`,{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}Fi.exports=Wi}}),nl=Mo({"src/language-markdown/pragma.js"(Vn,Fi){Fn();var In=$f(),di=["format","prettier"];function Kn(On){let Un=`@(${di.join("|")})`,Hn=new RegExp([`<!--\\s*${Un}\\s*-->`,`{\\s*\\/\\*\\s*${Un}\\s*\\*\\/\\s*}`,`<!--.*\r?
[\\s\\S]*(^|
)[^\\S
]*${Un}[^\\S
]*($|
)[\\s\\S]*
.*-->`].join("|"),"m"),ji=On.match(Hn);return(ji==null?void 0:ji.index)===0}Fi.exports={startWithPragma:Kn,hasPragma:On=>Kn(In(On).content.trimStart()),insertPragma:On=>{let Un=In(On),Hn=`<!-- @${di[0]} -->`;return Un.frontMatter?`${Un.frontMatter.raw}
${Hn}
${Un.content}`:`${Hn}
${Un.content}`}}}}),yl=Mo({"src/language-markdown/print-preprocess.js"(Vn,Fi){Fn();var In=Lc(),{getOrderedListItemInfo:di,mapAst:Kn,splitText:On}=Uo(),Un=/^.$/su;function Hn(Xa,Ta){return Xa=da(Xa,Ta),Xa=zi(Xa),Xa=Wi(Xa,Ta),Xa=va(Xa,Ta),Xa=qa(Xa,Ta),Xa=ta(Xa,Ta),Xa=ji(Xa),Xa=sa(Xa),Xa}function ji(Xa){return Kn(Xa,Ta=>Ta.type!=="import"&&Ta.type!=="export"?Ta:Object.assign(Object.assign({},Ta),{},{type:"importExport"}))}function Wi(Xa,Ta){return Kn(Xa,Qa=>Qa.type!=="inlineCode"||Ta.proseWrap==="preserve"?Qa:Object.assign(Object.assign({},Qa),{},{value:Qa.value.replace(/\s+/g," ")}))}function da(Xa,Ta){return Kn(Xa,Qa=>Qa.type!=="text"||Qa.value==="*"||Qa.value==="_"||!Un.test(Qa.value)||Qa.position.end.offset-Qa.position.start.offset===Qa.value.length?Qa:Object.assign(Object.assign({},Qa),{},{value:Ta.originalText.slice(Qa.position.start.offset,Qa.position.end.offset)}))}function sa(Xa){return fa(Xa,(Ta,Qa)=>Ta.type==="importExport"&&Qa.type==="importExport",(Ta,Qa)=>({type:"importExport",value:Ta.value+`
`+Qa.value,position:{start:Ta.position.start,end:Qa.position.end}}))}function fa(Xa,Ta,Qa){return Kn(Xa,Ia=>{if(!Ia.children)return Ia;let io=Ia.children.reduce((Ja,hs)=>{let na=In(Ja);return na&&Ta(na,hs)?Ja.splice(-1,1,Qa(na,hs)):Ja.push(hs),Ja},[]);return Object.assign(Object.assign({},Ia),{},{children:io})})}function zi(Xa){return fa(Xa,(Ta,Qa)=>Ta.type==="text"&&Qa.type==="text",(Ta,Qa)=>({type:"text",value:Ta.value+Qa.value,position:{start:Ta.position.start,end:Qa.position.end}}))}function ta(Xa,Ta){return Kn(Xa,(Qa,Ia,io)=>{let[Ja]=io;if(Qa.type!=="text")return Qa;let{value:hs}=Qa;return Ja.type==="paragraph"&&(Ia===0&&(hs=hs.trimStart()),Ia===Ja.children.length-1&&(hs=hs.trimEnd())),{type:"sentence",position:Qa.position,children:On(hs,Ta)}})}function va(Xa,Ta){return Kn(Xa,(Qa,Ia,io)=>{if(Qa.type==="code"){let Ja=/^\n?(?: {4,}|\t)/.test(Ta.originalText.slice(Qa.position.start.offset,Qa.position.end.offset));if(Qa.isIndented=Ja,Ja)for(let hs=0;hs<io.length;hs++){let na=io[hs];if(na.hasIndentedCodeblock)break;na.type==="list"&&(na.hasIndentedCodeblock=!0)}}return Qa})}function qa(Xa,Ta){return Kn(Xa,(io,Ja,hs)=>{if(io.type==="list"&&io.children.length>0){for(let na=0;na<hs.length;na++){let ka=hs[na];if(ka.type==="list"&&!ka.isAligned)return io.isAligned=!1,io}io.isAligned=Ia(io)}return io});function Qa(io){return io.children.length===0?-1:io.children[0].position.start.column-1}function Ia(io){if(!io.ordered)return!0;let[Ja,hs]=io.children;if(di(Ja,Ta.originalText).leadingSpaces.length>1)return!0;let na=Qa(Ja);if(na===-1)return!1;if(io.children.length===1)return na%Ta.tabWidth===0;let ka=Qa(hs);return na!==ka?!1:na%Ta.tabWidth===0?!0:di(hs,Ta.originalText).leadingSpaces.length>1}}Fi.exports=Hn}}),Hu=Mo({"src/language-markdown/clean.js"(Vn,Fi){Fn();var In=Fo(),{isFrontMatterNode:di}=Zc(),{startWithPragma:Kn}=nl(),On=new Set(["position","raw"]);function Un(Hn,ji,Wi){if((Hn.type==="front-matter"||Hn.type==="code"||Hn.type==="yaml"||Hn.type==="import"||Hn.type==="export"||Hn.type==="jsx")&&delete ji.value,Hn.type==="list"&&delete ji.isAligned,(Hn.type==="list"||Hn.type==="listItem")&&(delete ji.spread,delete ji.loose),Hn.type==="text"||(Hn.type==="inlineCode"&&(ji.value=Hn.value.replace(/[\t\n ]+/g," ")),Hn.type==="wikiLink"&&(ji.value=Hn.value.trim().replace(/[\t\n]+/g," ")),(Hn.type==="definition"||Hn.type==="linkReference"||Hn.type==="imageReference")&&(ji.label=In(Hn.label)),(Hn.type==="definition"||Hn.type==="link"||Hn.type==="image")&&Hn.title&&(ji.title=Hn.title.replace(/\\(["')])/g,"$1")),Wi&&Wi.type==="root"&&Wi.children.length>0&&(Wi.children[0]===Hn||di(Wi.children[0])&&Wi.children[1]===Hn)&&Hn.type==="html"&&Kn(Hn.value)))return null}Un.ignoredProperties=On,Fi.exports=Un}}),pc=Mo({"src/language-markdown/printer-markdown.js"(Vn,Fi){Fn();var In=Fo(),{getLast:di,getMinNotPresentContinuousCount:Kn,getMaxContinuousCount:On,getStringWidth:Un,isNonEmptyArray:Hn}=Zc(),{builders:{breakParent:ji,join:Wi,line:da,literalline:sa,markAsRoot:fa,hardline:zi,softline:ta,ifBreak:va,fill:qa,align:Xa,indent:Ta,group:Qa,hardlineWithoutBreakParent:Ia},utils:{normalizeDoc:io,replaceTextEndOfLine:Ja},printer:{printDocToString:hs}}=Oc(),na=Qs(),{insertPragma:ka}=nl(),{locStart:ra,locEnd:ma}=Ss(),Zn=yl(),la=Hu(),{getFencedCodeBlockValue:pa,hasGitDiffFriendlyOrderedList:xa,splitText:Ma,punctuationPattern:Ha,INLINE_NODE_TYPES:So,INLINE_NODE_WRAPPER_TYPES:as,isAutolink:ps}=Uo(),ns=new Set(["importExport"]),As=["heading","tableCell","link","wikiLink"],ko=new Set(["listItem","definition","footnoteDefinition"]);function Ws(Ml,ds,Hl){let Us=Ml.getValue();if(xu(Ml))return Ma(ds.originalText.slice(Us.position.start.offset,Us.position.end.offset),ds).map($l=>$l.type==="word"?$l.value:$l.value===""?"":ss(Ml,$l.value,ds));switch(Us.type){case"front-matter":return ds.originalText.slice(Us.position.start.offset,Us.position.end.offset);case"root":return Us.children.length===0?"":[io(jl(Ml,ds,Hl)),ns.has(Fs(Us).type)?"":zi];case"paragraph":return Dl(Ml,ds,Hl,{postprocessor:qa});case"sentence":return Dl(Ml,ds,Hl);case"word":{let $l=Us.value.replace(
`)return zi;let Us=Hl.proseWrap==="always"&&!Ul(Ml,As);return ds!==""?Us?da:" ":Us?ta:""}function Ps(Ml,ds,Hl){let Us=Ml.getValue(),$l=[],fc=Ml.map(Yr=>Yr.map((Rn,mi)=>{let Ui=hs(Hl(),ds).formatted,Aa=Un(Ui);return $l[mi]=Math.max($l[mi]||3,Aa),{text:Ui,width:Aa}},"children"),"children"),rr=vr(!1);if(ds.proseWrap!=="never")return[ji,rr];let fr=vr(!0);return[ji,Qa(va(fr,rr))];function vr(Yr){let Rn=[Cr(fc[0],Yr),Er(Yr)];return fc.length>1&&Rn.push(Wi(Ia,fc.slice(1).map(mi=>Cr(mi,Yr)))),Wi(Ia,Rn)}function Er(Yr){return`| ${$l.map((Rn,mi)=>{let Ui=Us.align[mi],Aa=Ui==="center"||Ui==="left"?":":"-",No=Ui==="center"||Ui==="right"?":":"-",Cs=Yr?"-":"-".repeat(Rn-2);return`${Aa}${Cs}${No}`}).join(" | ")} |`}function Cr(Yr,Rn){return`| ${Yr.map((mi,Ui)=>{let{text:Aa,width:No}=mi;if(Rn)return Aa;let Cs=$l[Ui]-No,Ns=Us.align[Ui],Bs=0;Ns==="right"?Bs=Cs:Ns==="center"&&(Bs=Math.floor(Cs/2));let pl=Cs-Bs;return`${" ".repeat(Bs)}${Aa}${" ".repeat(pl)}`}).join(" | ")} |`}}function jl(Ml,ds,Hl){let Us=[],$l=null,{children:fc}=Ml.getValue();for(let[rr,fr]of fc.entries())switch(xs(fr)){case"start":$l===null&&($l={index:rr,offset:fr.position.end.offset});break;case"end":$l!==null&&(Us.push({start:$l,end:{index:rr,offset:fr.position.start.offset}}),$l=null);break}return Dl(Ml,ds,Hl,{processor:(rr,fr)=>{if(Us.length>0){let vr=Us[0];if(fr===vr.start.index)return[Wu(fc[vr.start.index]),ds.originalText.slice(vr.start.offset,vr.end.offset),Wu(fc[vr.end.index])];if(vr.start.index<fr&&fr<vr.end.index)return!1;if(fr===vr.end.index)return Us.shift(),!1}return Hl()}})}function Dl(Ml,ds,Hl){let Us=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{postprocessor:$l}=Us,fc=Us.processor||(()=>Hl()),rr=Ml.getValue(),fr=[],vr;return Ml.each((Er,Cr)=>{let Yr=Er.getValue(),Rn=fc(Er,Cr);if(Rn!==!1){let mi={parts:fr,prevNode:vr,parentNode:rr,options:ds};Js(Yr,mi)&&(fr.push(zi),vr&&ns.has(vr.type)||(ol(Yr,mi)||Zs(Yr,mi))&&fr.push(zi),Zs(Yr,mi)&&fr.push(zi)),fr.push(Rn),vr=Yr}},"children"),$l?$l(fr):fr}function Wu(Ml){if(Ml.type==="html")return Ml.value;if(Ml.type==="paragraph"&&Array.isArray(Ml.children)&&Ml.children.length===1&&Ml.children[0].type==="esComment")return["{/* ",Ml.children[0].value," */}"]}function Fs(Ml){let ds=Ml;for(;Hn(ds.children);)ds=di(ds.children);return ds}function xs(Ml){let ds;if(Ml.type==="html")ds=Ml.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);else{let Hl;Ml.type==="esComment"?Hl=Ml:Ml.type==="paragraph"&&Ml.children.length===1&&Ml.children[0].type==="esComment"&&(Hl=Ml.children[0]),Hl&&(ds=Hl.value.match(/^prettier-ignore(?:-(start|end))?$/))}return ds?ds[1]||"next":!1}function Js(Ml,ds){let Hl=ds.parts.length===0,Us=So.includes(Ml.type),$l=Ml.type==="html"&&as.includes(ds.parentNode.type);return!Hl&&!Us&&!$l}function ol(Ml,ds){var Hl,Us,$l;let fc=(ds.prevNode&&ds.prevNode.type)===Ml.type&&ko.has(Ml.type),rr=ds.parentNode.type==="listItem"&&!ds.parentNode.loose,fr=((Hl=ds.prevNode)===null||Hl===void 0?void 0:Hl.type)==="listItem"&&ds.prevNode.loose,vr=xs(ds.prevNode)==="next",Er=Ml.type==="html"&&((Us=ds.prevNode)===null||Us===void 0?void 0:Us.type)==="html"&&ds.prevNode.position.end.line+1===Ml.position.start.line,Cr=Ml.type==="html"&&ds.parentNode.type==="listItem"&&(($l=ds.prevNode)===null||$l===void 0?void 0:$l.type)==="paragraph"&&ds.prevNode.position.end.line+1===Ml.position.start.line;return fr||!(fc||rr||vr||Er||Cr)}function Zs(Ml,ds){let Hl=ds.prevNode&&ds.prevNode.type==="list",Us=Ml.type==="code"&&Ml.isIndented;return Hl&&Us}function xu(Ml){let ds=Ul(Ml,["linkReference","imageReference"]);return ds&&(ds.type!=="linkReference"||ds.referenceType!=="full")}function yu(Ml){let ds=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Hl=[" ",...Array.isArray(ds)?ds:[ds]];return new RegExp(Hl.map(Us=>`\\${Us}`).join("|")).test(Ml)?`<${Ml}>`:Ml}function vc(Ml,ds){let Hl=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!Ml)return"";if(Hl)return" "+vc(Ml,ds,!1);if(Ml=Ml.replace(/\\(["')])/g,"$1"),Ml.includes('"')&&Ml.includes("'")&&!Ml.includes(")"))return`(${Ml})`;let Us=Ml.split("'").l
`,"\f","\r"," "]),va=vr=>vr.replace(/^[\t\n\f\r ]+/,""),qa=vr=>vr.replace(/[\t\n\f\r ]+$/,""),Xa=vr=>va(qa(vr)),Ta=vr=>vr.replace(/^[\t\f\r ]*\n/g,""),Qa=vr=>Ta(qa(vr)),Ia=vr=>vr.split(/[\t\n\f\r ]+/),io=vr=>vr.match(/^[\t\n\f\r ]*/)[0],Ja=vr=>{let[,Er,Cr,Yr]=vr.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:Er,trailingWhitespace:Yr,text:Cr}},hs=vr=>/[\t\n\f\r ]/.test(vr);function na(vr,Er){return!!(vr.type==="ieConditionalComment"&&vr.lastChild&&!vr.lastChild.isSelfClosing&&!vr.lastChild.endSourceSpan||vr.type==="ieConditionalComment"&&!vr.complete||ol(vr)&&vr.children.some(Cr=>Cr.type!=="text"&&Cr.type!=="interpolation")||Us(vr,Er)&&!Zn(vr)&&vr.type!=="interpolation")}function ka(vr){return vr.type==="attribute"||!vr.parent||!vr.prev?!1:ra(vr.prev)}function ra(vr){return vr.type==="comment"&&vr.value.trim()==="prettier-ignore"}function ma(vr){return vr.type==="text"||vr.type==="comment"}function Zn(vr){return vr.type==="element"&&(vr.fullName==="script"||vr.fullName==="style"||vr.fullName==="svg:style"||zi(vr)&&(vr.name==="script"||vr.name==="style"))}function la(vr){return vr.children&&!Zn(vr)}function pa(vr){return Zn(vr)||vr.type==="interpolation"||xa(vr)}function xa(vr){return vc(vr).startsWith("pre")}function Ma(vr,Er){let Cr=Yr();if(Cr&&!vr.prev&&vr.parent&&vr.parent.tagDefinition&&vr.parent.tagDefinition.ignoreFirstLf)return vr.type==="interpolation";return Cr;function Yr(){return di(vr)?!1:(vr.type==="text"||vr.type==="interpolation")&&vr.prev&&(vr.prev.type==="text"||vr.prev.type==="interpolation")?!0:!vr.parent||vr.parent.cssDisplay==="none"?!1:ol(vr.parent)?!0:!(!vr.prev&&(vr.parent.type==="root"||ol(vr)&&vr.parent||Zn(vr.parent)||ds(vr.parent,Er)||!Dl(vr.parent.cssDisplay))||vr.prev&&!xs(vr.prev.cssDisplay))}}function Ha(vr,Er){return di(vr)?!1:(vr.type==="text"||vr.type==="interpolation")&&vr.next&&(vr.next.type==="text"||vr.next.type==="interpolation")?!0:!vr.parent||vr.parent.cssDisplay==="none"?!1:ol(vr.parent)?!0:!(!vr.next&&(vr.parent.type==="root"||ol(vr)&&vr.parent||Zn(vr.parent)||ds(vr.parent,Er)||!Wu(vr.parent.cssDisplay))||vr.next&&!Fs(vr.next.cssDisplay))}function So(vr){return Js(vr.cssDisplay)&&!Zn(vr)}function as(vr){return di(vr)||vr.next&&vr.sourceSpan.end&&vr.sourceSpan.end.line+1<vr.next.sourceSpan.start.line}function ps(vr){return ns(vr)||vr.type==="element"&&vr.children.length>0&&(["body","script","style"].includes(vr.name)||vr.children.some(Er=>Xs(Er)))||vr.firstChild&&vr.firstChild===vr.lastChild&&vr.firstChild.type!=="text"&&cs(vr.firstChild)&&(!vr.lastChild.isTrailingSpaceSensitive||Xo(vr.lastChild))}function ns(vr){return vr.type==="element"&&vr.children.length>0&&(["html","head","ul","ol","select"].includes(vr.name)||vr.cssDisplay.startsWith("table")&&vr.cssDisplay!=="table-cell")}function As(vr){return Ms(vr)||vr.prev&&ko(vr.prev)||Ws(vr)}function ko(vr){return Ms(vr)||vr.type==="element"&&vr.fullName==="br"||Ws(vr)}function Ws(vr){return cs(vr)&&Xo(vr)}function cs(vr){return vr.hasLeadingSpaces&&(vr.prev?vr.prev.sourceSpan.end.line<vr.sourceSpan.start.line:vr.parent.type==="root"||vr.parent.startSourceSpan.end.line<vr.sourceSpan.start.line)}function Xo(vr){return vr.hasTrailingSpaces&&(vr.next?vr.next.sourceSpan.start.line>vr.sourceSpan.end.line:vr.parent.type==="root"||vr.parent.endSourceSpan&&vr.parent.endSourceSpan.start.line>vr.sourceSpan.end.line)}function Ms(vr){switch(vr.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(vr.name)}return!1}function _l(vr){return vr.lastChild?_l(vr.lastChild):vr}function Xs(vr){return vr.children&&vr.children.some(Er=>Er.type!=="text")}function Ul(vr){let{type:Er,lang:Cr}=vr.attrMap;if(Er==="module"||Er==="text/javascript"||Er==="text/babel"||Er==="application/javascript"||Cr==="jsx")return"babel";if(Er==="application/x-typescript"||Cr==="ts"||Cr==="tsx")return"typescript";if(Er==="text/markdown")return"markdown";if(Er==="text/html")return"html";if(Er&&(Er.endsWith("json")||Er.endsWith("importmap"))||Er==="speculationrules")return"json";if(Er==="t
`)){if(Cr.length===0)continue;if(!ta.has(Cr[0]))return 0;let Yr=io(Cr).length;Cr.length!==Yr&&Yr<Er&&(Er=Yr)}return Er===Number.POSITIVE_INFINITY?0:Er}function Yc(vr){let Er=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hd(vr);return Er===0?vr:vr.split(`
`).map(Cr=>Cr.slice(Er)).join(`
`)}function Cc(vr,Er){let Cr=0;for(let Yr=0;Yr<vr.length;Yr++)vr[Yr]===Er&&Cr++;return Cr}function bc(vr){return vr.replace(/&apos;/g,"'").replace(/&quot;/g,'"')}var Ml=new Set(["template","style","script"]);function ds(vr,Er){return Hl(vr,Er)&&!Ml.has(vr.fullName)}function Hl(vr,Er){return Er.parser==="vue"&&vr.type==="element"&&vr.parent.type==="root"&&vr.fullName.toLowerCase()!=="html"}function Us(vr,Er){return Hl(vr,Er)&&(ds(vr,Er)||vr.attrMap.lang&&vr.attrMap.lang!=="html")}function $l(vr){let Er=vr.fullName;return Er.charAt(0)==="#"||Er==="slot-scope"||Er==="v-slot"||Er.startsWith("v-slot:")}function fc(vr,Er){let Cr=vr.parent;if(!Hl(Cr,Er))return!1;let Yr=Cr.fullName,Rn=vr.fullName;return Yr==="script"&&Rn==="setup"||Yr==="style"&&Rn==="vars"}function rr(vr){let Er=arguments.length>1&&arguments[1]!==void 0?arguments[1]:vr.value;return vr.parent.isWhitespaceSensitive?vr.parent.isIndentationSensitive?ji(Er):ji(Yc(Qa(Er)),On):Hn(Un(Kn,Ia(Er)))}function fr(vr,Er){return Hl(vr,Er)&&vr.name==="script"}Fi.exports={htmlTrim:Xa,htmlTrimPreserveIndentation:Qa,hasHtmlWhitespace:hs,getLeadingAndTrailingHtmlWhitespace:Ja,canHaveInterpolation:la,countChars:Cc,countParents:Zs,dedentString:Yc,forceBreakChildren:ns,forceBreakContent:ps,forceNextEmptyLine:as,getLastDescendant:_l,getNodeCssStyleDisplay:yu,getNodeCssStyleWhiteSpace:vc,hasPrettierIgnore:ka,inferScriptParser:Ps,isVueCustomBlock:ds,isVueNonHtmlBlock:Us,isVueScriptTag:fr,isVueSlotAttribute:$l,isVueSfcBindingsAttribute:fc,isVueSfcBlock:Hl,isDanglingSpaceSensitiveNode:So,isIndentationSensitiveNode:xa,isLeadingSpaceSensitiveNode:Ma,isPreLikeNode:ol,isScriptLikeTag:Zn,isTextLikeNode:ma,isTrailingSpaceSensitiveNode:Ha,isWhitespaceSensitiveNode:pa,isUnknownNamespace:zi,preferHardlineAsLeadingSpaces:As,preferHardlineAsTrailingSpaces:ko,shouldPreserveContent:na,unescapeQuoteEntities:bc,getTextValueParts:rr}}}),rc=Mo({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(Vn){Fn(),Object.defineProperty(Vn,"__esModule",{value:!0}),Vn.$EOF=0,Vn.$BSPACE=8,Vn.$TAB=9,Vn.$LF=10,Vn.$VTAB=11,Vn.$FF=12,Vn.$CR=13,Vn.$SPACE=32,Vn.$BANG=33,Vn.$DQ=34,Vn.$HASH=35,Vn.$$=36,Vn.$PERCENT=37,Vn.$AMPERSAND=38,Vn.$SQ=39,Vn.$LPAREN=40,Vn.$RPAREN=41,Vn.$STAR=42,Vn.$PLUS=43,Vn.$COMMA=44,Vn.$MINUS=45,Vn.$PERIOD=46,Vn.$SLASH=47,Vn.$COLON=58,Vn.$SEMICOLON=59,Vn.$LT=60,Vn.$EQ=61,Vn.$GT=62,Vn.$QUESTION=63,Vn.$0=48,Vn.$7=55,Vn.$9=57,Vn.$A=65,Vn.$E=69,Vn.$F=70,Vn.$X=88,Vn.$Z=90,Vn.$LBRACKET=91,Vn.$BACKSLASH=92,Vn.$RBRACKET=93,Vn.$CARET=94,Vn.$_=95,Vn.$a=97,Vn.$b=98,Vn.$e=101,Vn.$f=102,Vn.$n=110,Vn.$r=114,Vn.$t=116,Vn.$u=117,Vn.$v=118,Vn.$x=120,Vn.$z=122,Vn.$LBRACE=123,Vn.$BAR=124,Vn.$RBRACE=125,Vn.$NBSP=160,Vn.$PIPE=124,Vn.$TILDA=126,Vn.$AT=64,Vn.$BT=96;function Fi(Hn){return Hn>=Vn.$TAB&&Hn<=Vn.$SPACE||Hn==Vn.$NBSP}Vn.isWhitespace=Fi;function In(Hn){return Vn.$0<=Hn&&Hn<=Vn.$9}Vn.isDigit=In;function di(Hn){return Hn>=Vn.$a&&Hn<=Vn.$z||Hn>=Vn.$A&&Hn<=Vn.$Z}Vn.isAsciiLetter=di;function Kn(Hn){return Hn>=Vn.$a&&Hn<=Vn.$f||Hn>=Vn.$A&&Hn<=Vn.$F||In(Hn)}Vn.isAsciiHexDigit=Kn;function On(Hn){return Hn===Vn.$LF||Hn===Vn.$CR}Vn.isNewLine=On;function Un(Hn){return Vn.$0<=Hn&&Hn<=Vn.$7}Vn.isOctalDigit=Un}}),Au=Mo({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(Vn){Fn(),Object.defineProperty(Vn,"__esModule",{value:!0});var Fi=class{constructor(di,Kn,On){this.filePath=di,this.name=Kn,this.members=On}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};Vn.StaticSymbol=Fi;var In=class{constructor(){this.cache=new Map}get(di,Kn,On){On=On||[];let Un=On.length?`.${On.join(".")}`:"",Hn=`"${di}".${Kn}${Un}`,ji=this.cache.get(Hn);return ji||(ji=new Fi(di,Kn,On),this.cache.set(Hn,ji)),ji}};Vn.StaticSymbolCache=In}}),Ef=Mo({"node_modules/angular-html-parser/lib/compiler/src/util.js"(Vn){Fn(),Object.defineProperty(Vn,"__esModule",{value:!0});var Fi=/-+([a-z0-9])/g;function In(Zn){return Zn.replace(Fi,function(){for(var la=arguments.length,pa=new Array(la),xa=0;xa<la;xa++)pa[xa]=arguments[xa];return pa[1].toUpper
`);return pa===-1?la:la.substring(0,pa)}Vn.stringify=Ia;function io(Zn){return typeof Zn=="function"&&Zn.hasOwnProperty("__forward_ref__")?Zn():Zn}Vn.resolveForwardRef=io;function Ja(Zn){return!!Zn&&typeof Zn.then=="function"}Vn.isPromise=Ja;var hs=class{constructor(Zn){this.full=Zn;let la=Zn.split(".");this.major=la[0],this.minor=la[1],this.patch=la.slice(2).join(".")}};Vn.Version=hs;var na=typeof window<"u"&&window,ka=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,ra=typeof globalThis<"u"&&globalThis,ma=ra||na||ka;Vn.global=ma}}),Fd=Mo({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(Vn){Fn(),Object.defineProperty(Vn,"__esModule",{value:!0});var Fi=Au(),In=Ef(),di=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function Kn(pa){return pa.replace(/\W/g,"_")}Vn.sanitizeIdentifier=Kn;var On=0;function Un(pa){if(!pa||!pa.reference)return null;let xa=pa.reference;if(xa instanceof Fi.StaticSymbol)return xa.name;if(xa.__anonymousType)return xa.__anonymousType;let Ma=In.stringify(xa);return Ma.indexOf("(")>=0?(Ma=`anonymous_${On++}`,xa.__anonymousType=Ma):Ma=Kn(Ma),Ma}Vn.identifierName=Un;function Hn(pa){let xa=pa.reference;return xa instanceof Fi.StaticSymbol?xa.filePath:`./${In.stringify(xa)}`}Vn.identifierModuleUrl=Hn;function ji(pa,xa){return`View_${Un({reference:pa})}_${xa}`}Vn.viewClassName=ji;function Wi(pa){return`RenderType_${Un({reference:pa})}`}Vn.rendererTypeName=Wi;function da(pa){return`HostView_${Un({reference:pa})}`}Vn.hostViewClassName=da;function sa(pa){return`${Un({reference:pa})}NgFactory`}Vn.componentFactoryName=sa;var fa;(function(pa){pa[pa.Pipe=0]="Pipe",pa[pa.Directive=1]="Directive",pa[pa.NgModule=2]="NgModule",pa[pa.Injectable=3]="Injectable"})(fa=Vn.CompileSummaryKind||(Vn.CompileSummaryKind={}));function zi(pa){return pa.value!=null?Kn(pa.value):Un(pa.identifier)}Vn.tokenName=zi;function ta(pa){return pa.identifier!=null?pa.identifier.reference:pa.value}Vn.tokenReference=ta;var va=class{constructor(){let{moduleUrl:pa,styles:xa,styleUrls:Ma}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=pa||null,this.styles=Ja(xa),this.styleUrls=Ja(Ma)}};Vn.CompileStylesheetMetadata=va;var qa=class{constructor(pa){let{encapsulation:xa,template:Ma,templateUrl:Ha,htmlAst:So,styles:as,styleUrls:ps,externalStylesheets:ns,animations:As,ngContentSelectors:ko,interpolation:Ws,isInline:cs,preserveWhitespaces:Xo}=pa;if(this.encapsulation=xa,this.template=Ma,this.templateUrl=Ha,this.htmlAst=So,this.styles=Ja(as),this.styleUrls=Ja(ps),this.externalStylesheets=Ja(ns),this.animations=As?na(As):[],this.ngContentSelectors=ko||[],Ws&&Ws.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=Ws,this.isInline=cs,this.preserveWhitespaces=Xo}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};Vn.CompileTemplateMetadata=qa;var Xa=class{static create(pa){let{isHost:xa,type:Ma,isComponent:Ha,selector:So,exportAs:as,changeDetection:ps,inputs:ns,outputs:As,host:ko,providers:Ws,viewProviders:cs,queries:Xo,guards:Ms,viewQueries:_l,entryComponents:Xs,template:Ul,componentViewType:ss,rendererType:Ps,componentFactory:jl}=pa,Dl={},Wu={},Fs={};ko!=null&&Object.keys(ko).forEach(ol=>{let Zs=ko[ol],xu=ol.match(di);xu===null?Fs[ol]=Zs:xu[1]!=null?Wu[xu[1]]=Zs:xu[2]!=null&&(Dl[xu[2]]=Zs)});let xs={};ns!=null&&ns.forEach(ol=>{let Zs=In.splitAtColon(ol,[ol,ol]);xs[Zs[0]]=Zs[1]});let Js={};return As!=null&&As.forEach(ol=>{let Zs=In.splitAtColon(ol,[ol,ol]);Js[Zs[0]]=Zs[1]}),new Xa({isHost:xa,type:Ma,isComponent:!!Ha,selector:So,exportAs:as,changeDetection:ps,inputs:xs,outputs:Js,hostListeners:Dl,hostProperties:Wu,hostAttributes:Fs,providers:Ws,viewProviders:cs,queries:Xo,guards:Ms,viewQueries:_l,entryComponents:Xs,template:Ul,componentViewType:ss,rendererType:Ps,componentFactory:jl})}constructor(pa){let{isHost:xa,type:Ma,isComponent:Ha,selector:So,exportAs:as,changeDetection:ps,inputs:ns,outputs:As,hostListeners:ko,hostPrope
`&&++qa==sa)););for(va=0,qa=0;va<da&&ta<fa.length-1&&(ta++,va++,!(fa[ta]==`
`&&++qa==sa)););return{before:fa.substring(zi,this.offset),after:fa.substring(this.offset,ta+1)}}return null}};Vn.ParseLocation=di;var Kn=class{constructor(da,sa){this.content=da,this.url=sa}};Vn.ParseSourceFile=Kn;var On=class{constructor(da,sa){let fa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=da,this.end=sa,this.details=fa}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};Vn.ParseSourceSpan=On,Vn.EMPTY_PARSE_LOCATION=new di(new Kn("",""),0,0,0),Vn.EMPTY_SOURCE_SPAN=new On(Vn.EMPTY_PARSE_LOCATION,Vn.EMPTY_PARSE_LOCATION);var Un;(function(da){da[da.WARNING=0]="WARNING",da[da.ERROR=1]="ERROR"})(Un=Vn.ParseErrorLevel||(Vn.ParseErrorLevel={}));var Hn=class{constructor(da,sa){let fa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Un.ERROR;this.span=da,this.msg=sa,this.level=fa}contextualMessage(){let da=this.span.start.getContext(100,3);return da?`${this.msg} ("${da.before}[${Un[this.level]} ->]${da.after}")`:this.msg}toString(){let da=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${da}`}};Vn.ParseError=Hn;function ji(da,sa){let fa=In.identifierModuleUrl(sa),zi=fa!=null?`in ${da} ${In.identifierName(sa)} in ${fa}`:`in ${da} ${In.identifierName(sa)}`,ta=new Kn("",zi);return new On(new di(ta,-1,-1,-1),new di(ta,-1,-1,-1))}Vn.typeSourceSpan=ji;function Wi(da,sa,fa){let zi=`in ${da} ${sa} in ${fa}`,ta=new Kn("",zi);return new On(new di(ta,-1,-1,-1),new di(ta,-1,-1,-1))}Vn.r3JitTypeSourceSpan=Wi}}),Rd=Mo({"src/language-html/print-preprocess.js"(Vn,Fi){Fn();var{ParseSourceSpan:In}=ef(),{htmlTrim:di,getLeadingAndTrailingHtmlWhitespace:Kn,hasHtmlWhitespace:On,canHaveInterpolation:Un,getNodeCssStyleDisplay:Hn,isDanglingSpaceSensitiveNode:ji,isIndentationSensitiveNode:Wi,isLeadingSpaceSensitiveNode:da,isTrailingSpaceSensitiveNode:sa,isWhitespaceSensitiveNode:fa,isVueScriptTag:zi}=Du(),ta=[qa,Xa,Qa,io,Ja,ka,hs,na,ra,Ia,ma];function va(Zn,la){for(let pa of ta)pa(Zn,la);return Zn}function qa(Zn){Zn.walk(la=>{if(la.type==="element"&&la.tagDefinition.ignoreFirstLf&&la.children.length>0&&la.children[0].type==="text"&&la.children[0].value[0]===`
`){let pa=la.children[0];pa.value.length===1?la.removeChild(pa):pa.value=pa.value.slice(1)}})}function Xa(Zn){let la=pa=>pa.type==="element"&&pa.prev&&pa.prev.type==="ieConditionalStartComment"&&pa.prev.sourceSpan.end.offset===pa.startSourceSpan.start.offset&&pa.firstChild&&pa.firstChild.type==="ieConditionalEndComment"&&pa.firstChild.sourceSpan.start.offset===pa.startSourceSpan.end.offset;Zn.walk(pa=>{if(pa.children)for(let xa=0;xa<pa.children.length;xa++){let Ma=pa.children[xa];if(!la(Ma))continue;let Ha=Ma.prev,So=Ma.firstChild;pa.removeChild(Ha),xa--;let as=new In(Ha.sourceSpan.start,So.sourceSpan.end),ps=new In(as.start,Ma.sourceSpan.end);Ma.condition=Ha.condition,Ma.sourceSpan=ps,Ma.startSourceSpan=as,Ma.removeChild(So)}})}function Ta(Zn,la,pa){Zn.walk(xa=>{if(xa.children)for(let Ma=0;Ma<xa.children.length;Ma++){let Ha=xa.children[Ma];if(Ha.type!=="text"&&!la(Ha))continue;Ha.type!=="text"&&(Ha.type="text",Ha.value=pa(Ha));let So=Ha.prev;!So||So.type!=="text"||(So.value+=Ha.value,So.sourceSpan=new In(So.sourceSpan.start,Ha.sourceSpan.end),xa.removeChild(Ha),Ma--)}})}function Qa(Zn){return Ta(Zn,la=>la.type==="cdata",la=>`<![CDATA[${la.value}]]>`)}function Ia(Zn){let la=pa=>pa.type==="element"&&pa.attrs.length===0&&pa.children.length===1&&pa.firstChild.type==="text"&&!On(pa.children[0].value)&&!pa.firstChild.hasLeadingSpaces&&!pa.firstChild.hasTrailingSpaces&&pa.isLeadingSpaceSensitive&&!pa.hasLeadingSpaces&&pa.isTrailingSpaceSensitive&&!pa.hasTrailingSpaces&&pa.prev&&pa.prev.type==="text"&&pa.next&&pa.next.type==="text";Zn.walk(pa=>{if(pa.children)for(let xa=0;xa<pa.children.length;xa++){let Ma=pa.children[xa];if(!la(Ma))continue;let Ha=Ma.prev,So=Ma.next;Ha.value+=`<${Ma.rawName}>`+Ma.firstChild.value+`</${Ma.rawName}>`+So.value,Ha.sourceSpan=new In(Ha.sourceSpan.start,So.sourceSpan.end),Ha.isTrailingSpaceSensitive=So.isTrailingSpaceSensitive,Ha.hasTrailingSpaces=So.hasTrailingSpaces,pa.removeChild(Ma),xa--,pa.removeChild(So)}})}function io(Zn,la){if(la.parser==="html")return;let pa=/{{(.+?)}}/s;Zn.walk(xa=>{if(Un(xa))for(let Ma of xa.children){if(Ma.type!=="text")continue;let Ha=Ma.sourceSpan.start,So=null,as=Ma.value.split(pa);for(let ps=0;ps<as.length;ps++,Ha=So){let ns=as[ps];if(ps%2===0){So=Ha.moveBy(ns.length),ns.length>0&&xa.insertChildBefore(Ma,{type:"text",value:ns,sourceSpan:new In(Ha,So)});continue}So=Ha.moveBy(ns.length+4),xa.insertChildBefore(Ma,{type:"interpolation",sourceSpan:new In(Ha,So),children:ns.length===0?[]:[{type:"text",value:ns,sourceSpan:new In(Ha.moveBy(2),So.moveBy(-2))}]})}xa.removeChild(Ma)}})}function Ja(Zn){Zn.walk(la=>{if(!la.children)return;if(la.children.length===0||la.children.length===1&&la.children[0].type==="text"&&di(la.children[0].value).length===0){la.hasDanglingSpaces=la.children.length>0,la.children=[];return}let pa=fa(la),xa=Wi(la);if(!pa)for(let Ma=0;Ma<la.children.length;Ma++){let Ha=la.children[Ma];if(Ha.type!=="text")continue;let{leadingWhitespace:So,text:as,trailingWhitespace:ps}=Kn(Ha.value),ns=Ha.prev,As=Ha.next;as?(Ha.value=as,Ha.sourceSpan=new In(Ha.sourceSpan.start.moveBy(So.length),Ha.sourceSpan.end.moveBy(-ps.length)),So&&(ns&&(ns.hasTrailingSpaces=!0),Ha.hasLeadingSpaces=!0),ps&&(Ha.hasTrailingSpaces=!0,As&&(As.hasLeadingSpaces=!0))):(la.removeChild(Ha),Ma--,(So||ps)&&(ns&&(ns.hasTrailingSpaces=!0),As&&(As.hasLeadingSpaces=!0)))}la.isWhitespaceSensitive=pa,la.isIndentationSensitive=xa})}function hs(Zn){Zn.walk(la=>{la.isSelfClosing=!la.children||la.type==="element"&&(la.tagDefinition.isVoid||la.startSourceSpan===la.endSourceSpan)})}function na(Zn,la){Zn.walk(pa=>{pa.type==="element"&&(pa.hasHtmComponentClosingTag=pa.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(la.originalText.slice(pa.endSourceSpan.start.offset,pa.endSourceSpan.end.offset)))})}function ka(Zn,la){Zn.walk(pa=>{pa.cssDisplay=Hn(pa,la)})}function ra(Zn,la){Zn.walk(pa=>{let{children:xa}=pa;if(xa){if(xa.length===0){pa.isDanglingSpaceSensitive=ji(pa);return}for(let Ma of xa)Ma.isLeadingSpaceSensitive=da(Ma,la),Ma.isTrailingSpaceSensitive=sa(Ma,la);for(let Ma=0;Ma<xa.length;Ma++){let Ha=xa[Ma];Ha.isLead
`+Kn.replace(/^\s*\n/,"")}Fi.exports={hasPragma:In,insertPragma:di}}}),Ac=Mo({"src/language-html/loc.js"(Vn,Fi){Fn();function In(Kn){return Kn.sourceSpan.start.offset}function di(Kn){return Kn.sourceSpan.end.offset}Fi.exports={locStart:In,locEnd:di}}}),Xc=Mo({"src/language-html/print/tag.js"(Vn,Fi){Fn();var In=Mc(),{isNonEmptyArray:di}=Zc(),{builders:{indent:Kn,join:On,line:Un,softline:Hn,hardline:ji},utils:{replaceTextEndOfLine:Wi}}=Oc(),{locStart:da,locEnd:sa}=Ac(),{isTextLikeNode:fa,getLastDescendant:zi,isPreLikeNode:ta,hasPrettierIgnore:va,shouldPreserveContent:qa,isVueSfcBlock:Xa}=Du();function Ta(ko,Ws){return[ko.isSelfClosing?"":Qa(ko,Ws),Ia(ko,Ws)]}function Qa(ko,Ws){return ko.lastChild&&Zn(ko.lastChild)?"":[io(ko,Ws),hs(ko,Ws)]}function Ia(ko,Ws){return(ko.next?ra(ko.next):ma(ko.parent))?"":[na(ko,Ws),Ja(ko,Ws)]}function io(ko,Ws){return ma(ko)?na(ko.lastChild,Ws):""}function Ja(ko,Ws){return Zn(ko)?hs(ko.parent,Ws):la(ko)?ns(ko.next):""}function hs(ko,Ws){if(In(!ko.isSelfClosing),ka(ko,Ws))return"";switch(ko.type){case"ieConditionalComment":return"<!";case"element":if(ko.hasHtmComponentClosingTag)return"<//";default:return`</${ko.rawName}`}}function na(ko,Ws){if(ka(ko,Ws))return"";switch(ko.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"element":if(ko.isSelfClosing)return"/>";default:return">"}}function ka(ko,Ws){return!ko.isSelfClosing&&!ko.endSourceSpan&&(va(ko)||qa(ko.parent,Ws))}function ra(ko){return ko.prev&&ko.prev.type!=="docType"&&!fa(ko.prev)&&ko.isLeadingSpaceSensitive&&!ko.hasLeadingSpaces}function ma(ko){return ko.lastChild&&ko.lastChild.isTrailingSpaceSensitive&&!ko.lastChild.hasTrailingSpaces&&!fa(zi(ko.lastChild))&&!ta(ko)}function Zn(ko){return!ko.next&&!ko.hasTrailingSpaces&&ko.isTrailingSpaceSensitive&&fa(zi(ko))}function la(ko){return ko.next&&!fa(ko.next)&&fa(ko)&&ko.isTrailingSpaceSensitive&&!ko.hasTrailingSpaces}function pa(ko){let Ws=ko.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return Ws?Ws[1]?Ws[1].split(/\s+/):!0:!1}function xa(ko){return!ko.prev&&ko.isLeadingSpaceSensitive&&!ko.hasLeadingSpaces}function Ma(ko,Ws,cs){let Xo=ko.getValue();if(!di(Xo.attrs))return Xo.isSelfClosing?" ":"";let Ms=Xo.prev&&Xo.prev.type==="comment"&&pa(Xo.prev.value),_l=typeof Ms=="boolean"?()=>Ms:Array.isArray(Ms)?jl=>Ms.includes(jl.rawName):()=>!1,Xs=ko.map(jl=>{let Dl=jl.getValue();return _l(Dl)?Wi(Ws.originalText.slice(da(Dl),sa(Dl))):cs()},"attrs"),Ul=Xo.type==="element"&&Xo.fullName==="script"&&Xo.attrs.length===1&&Xo.attrs[0].fullName==="src"&&Xo.children.length===0,ss=Ws.singleAttributePerLine&&Xo.attrs.length>1&&!Xa(Xo,Ws)?ji:Un,Ps=[Kn([Ul?" ":Un,On(ss,Xs)])];return Xo.firstChild&&xa(Xo.firstChild)||Xo.isSelfClosing&&ma(Xo.parent)||Ul?Ps.push(Xo.isSelfClosing?" ":""):Ps.push(Ws.bracketSameLine?Xo.isSelfClosing?" ":"":Xo.isSelfClosing?Un:Hn),Ps}function Ha(ko){return ko.firstChild&&xa(ko.firstChild)?"":As(ko)}function So(ko,Ws,cs){let Xo=ko.getValue();return[as(Xo,Ws),Ma(ko,Ws,cs),Xo.isSelfClosing?"":Ha(Xo)]}function as(ko,Ws){return ko.prev&&la(ko.prev)?"":[ps(ko,Ws),ns(ko)]}function ps(ko,Ws){return xa(ko)?As(ko.parent):ra(ko)?na(ko.prev,Ws):""}function ns(ko){switch(ko.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<!--[if ${ko.condition}`;case"ieConditionalEndComment":return"<!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(ko.condition)return`<!--[if ${ko.condition}]><!--><${ko.rawName}`;default:return`<${ko.rawName}`}}function As(ko){switch(In(!ko.isSelfClosing),ko.type){case"ieConditionalComment":return"]>";case"element":if(ko.condition)return"><!--<![endif]-->";default:return">"}}Fi.exports={printClosingTag:Ta,printClosingTagStart:Qa,printClosingTagStartMarker:hs,printClosingTagEndMarker:na,printClosingTagSuffix:Ja,printClosingTagEnd:Ia,needsToBorrowLastChildClosingTagEndMarker:ma,needsToBorrowParentClosingTagStartMarker:Zn,needsToBorrowPrevClosingTagEndMarker:ra,printOpeningTag:So,printOpeningTagSt
`||hs==="\f"||hs==="\r"}function Un(hs){var na,ka=hs.exec(In.substring(Qa));if(ka)return na=ka[0],Qa+=na.length,na}for(var Hn=In.length,ji=/^[ \t\n\r\u000c]+/,Wi=/^[, \t\n\r\u000c]+/,da=/^[^ \t\n\r\u000c]+/,sa=/[,]+$/,fa=/^\d+$/,zi=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,ta,va,qa,Xa,Ta,Qa=0,Ia=[];;){if(Un(Wi),Qa>=Hn)return Ia;ta=Un(da),va=[],ta.slice(-1)===","?(ta=ta.replace(sa,""),Ja()):io()}function io(){for(Un(ji),qa="",Xa="in descriptor";;){if(Ta=In.charAt(Qa),Xa==="in descriptor")if(On(Ta))qa&&(va.push(qa),qa="",Xa="after descriptor");else if(Ta===","){Qa+=1,qa&&va.push(qa),Ja();return}else if(Ta==="(")qa=qa+Ta,Xa="in parens";else if(Ta===""){qa&&va.push(qa),Ja();return}else qa=qa+Ta;else if(Xa==="in parens")if(Ta===")")qa=qa+Ta,Xa="in descriptor";else if(Ta===""){va.push(qa),Ja();return}else qa=qa+Ta;else if(Xa==="after descriptor"&&!On(Ta))if(Ta===""){Ja();return}else Xa="in descriptor",Qa-=1;Qa+=1}}function Ja(){var hs=!1,na,ka,ra,ma,Zn={},la,pa,xa,Ma,Ha;for(ma=0;ma<va.length;ma++)la=va[ma],pa=la[la.length-1],xa=la.substring(0,la.length-1),Ma=parseInt(xa,10),Ha=parseFloat(xa),fa.test(xa)&&pa==="w"?((na||ka)&&(hs=!0),Ma===0?hs=!0:na=Ma):zi.test(xa)&&pa==="x"?((na||ka||ra)&&(hs=!0),Ha<0?hs=!0:ka=Ha):fa.test(xa)&&pa==="h"?((ra||ka)&&(hs=!0),Ma===0?hs=!0:ra=Ma):hs=!0;hs?Kn&&Kn.error&&Kn.error("Invalid srcset descriptor found in '"+In+"' at '"+la+"'."):(Zn.url=ta,na&&(Zn.w=na),ka&&(Zn.d=ka),ra&&(Zn.h=ra),Ia.push(Zn))}}})}}),id=Mo({"src/language-html/syntax-attribute.js"(Vn,Fi){Fn();var In=Qc(),{builders:{ifBreak:di,join:Kn,line:On}}=Oc();function Un(ji){let Wi=In(ji,{logger:{error(io){throw new Error(io)}}}),da=Wi.some(io=>{let{w:Ja}=io;return Ja}),sa=Wi.some(io=>{let{h:Ja}=io;return Ja}),fa=Wi.some(io=>{let{d:Ja}=io;return Ja});if(da+sa+fa>1)throw new Error("Mixed descriptor in srcset is not supported");let zi=da?"w":sa?"h":"d",ta=da?"w":sa?"h":"x",va=io=>Math.max(...io),qa=Wi.map(io=>io.url),Xa=va(qa.map(io=>io.length)),Ta=Wi.map(io=>io[zi]).map(io=>io?io.toString():""),Qa=Ta.map(io=>{let Ja=io.indexOf(".");return Ja===-1?io.length:Ja}),Ia=va(Qa);return Kn([",",On],qa.map((io,Ja)=>{let hs=[io],na=Ta[Ja];if(na){let ka=Xa-io.length+1,ra=Ia-Qa[Ja],ma=" ".repeat(ka+ra);hs.push(di(ma," "),na+ta)}return hs}))}function Hn(ji){return ji.trim().split(/\s+/).join(" ")}Fi.exports={printImgSrcset:Un,printClassNames:Hn}}}),ml=Mo({"src/language-html/syntax-vue.js"(Vn,Fi){Fn();var{builders:{group:In}}=Oc();function di(Hn,ji){let{left:Wi,operator:da,right:sa}=Kn(Hn);return[In(ji(`function _(${Wi}) {}`,{parser:"babel",__isVueForBindingLeft:!0}))," ",da," ",ji(sa,{parser:"__js_expression"},{stripTrailingHardline:!0})]}function Kn(Hn){let ji=/(.*?)\s+(in|of)\s+(.*)/s,Wi=/,([^,\]}]*)(?:,([^,\]}]*))?$/,da=/^\(|\)$/g,sa=Hn.match(ji);if(!sa)return;let fa={};if(fa.for=sa[3].trim(),!fa.for)return;let zi=sa[1].trim().replace(da,""),ta=zi.match(Wi);ta?(fa.alias=zi.replace(Wi,""),fa.iterator1=ta[1].trim(),ta[2]&&(fa.iterator2=ta[2].trim())):fa.alias=zi;let va=[fa.alias,fa.iterator1,fa.iterator2];if(!va.some((qa,Xa)=>!qa&&(Xa===0||va.slice(Xa+1).some(Boolean))))return{left:va.filter(Boolean).join(","),operator:sa[2],right:fa.for}}function On(Hn,ji){return ji(`function _(${Hn}) {}`,{parser:"babel",__isVueBindings:!0})}function Un(Hn){let ji=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,Wi=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,da=Hn.trim();return ji.test(da)||Wi.test(da)}Fi.exports={isVueEventBindingExpression:Un,printVueFor:di,printVueBindings:On}}}),fu=Mo({"src/language-html/get-node-content.js"(Vn,Fi){Fn();var{needsToBorrowParentClosingTagStartMarker:In,printClosingTagStartMarker:di,needsToBorrowLastChildClosingTagEndMarker:Kn,printClosingTagEndMarker:On,needsToBorrowParentOpeningTagEndMarker:Un,printOpeningTagEndMarker:Hn}=Xc();function ji(Wi,da){let sa=Wi.startSourceSpan.end.offset;Wi.firstChild&&Un(Wi.firstChild)&&(sa-=Hn(Wi).length);let fa=Wi.endSourceSpan.start.offset;return Wi.lastChild&&In(Wi.lastChild)?fa+=di(Wi,da).length:Kn(Wi)&&(fa-=On(Wi.lastChild,da).length),da.orig
${On}`}Fi.exports={isPragma:In,hasPragma:di,insertPragma:Kn}}}),Nf=Mo({"src/language-yaml/loc.js"(Vn,Fi){Fn();function In(Kn){return Kn.position.start.offset}function di(Kn){return Kn.position.end.offset}Fi.exports={locStart:In,locEnd:di}}}),ud=Mo({"src/language-yaml/embed.js"(Vn,Fi){Fn();function In(di,Kn,On,Un){if(di.getValue().type==="root"&&Un.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/.test(Un.filepath))return On(Un.originalText,Object.assign(Object.assign({},Un),{},{parser:"json"}))}Fi.exports=In}}),Sf=Mo({"src/language-yaml/utils.js"(Vn,Fi){Fn();var{getLast:In,isNonEmptyArray:di}=Zc();function Kn(na,ka){let ra=0,ma=na.stack.length-1;for(let Zn=0;Zn<ma;Zn++){let la=na.stack[Zn];On(la)&&ka(la)&&ra++}return ra}function On(na,ka){return na&&typeof na.type=="string"&&(!ka||ka.includes(na.type))}function Un(na,ka,ra){return ka("children"in na?Object.assign(Object.assign({},na),{},{children:na.children.map(ma=>Un(ma,ka,na))}):na,ra)}function Hn(na,ka,ra){Object.defineProperty(na,ka,{get:ra,enumerable:!1})}function ji(na,ka){let ra=0,ma=ka.length;for(let Zn=na.position.end.offset-1;Zn<ma;Zn++){let la=ka[Zn];if(la===`
`&&ra++,ra===1&&/\S/.test(la))return!1;if(ra===2)return!0}return!1}function Wi(na){switch(na.getValue().type){case"tag":case"anchor":case"comment":return!1}let ka=na.stack.length;for(let ra=1;ra<ka;ra++){let ma=na.stack[ra],Zn=na.stack[ra-1];if(Array.isArray(Zn)&&typeof ma=="number"&&ma!==Zn.length-1)return!1}return!0}function da(na){return di(na.children)?da(In(na.children)):na}function sa(na){return na.value.trim()==="prettier-ignore"}function fa(na){let ka=na.getValue();if(ka.type==="documentBody"){let ra=na.getParentNode();return Qa(ra.head)&&sa(In(ra.head.endComments))}return va(ka)&&sa(In(ka.leadingComments))}function zi(na){return!di(na.children)&&!ta(na)}function ta(na){return va(na)||qa(na)||Xa(na)||Ta(na)||Qa(na)}function va(na){return di(na==null?void 0:na.leadingComments)}function qa(na){return di(na==null?void 0:na.middleComments)}function Xa(na){return na==null?void 0:na.indicatorComment}function Ta(na){return na==null?void 0:na.trailingComment}function Qa(na){return di(na==null?void 0:na.endComments)}function Ia(na){let ka=[],ra;for(let ma of na.split(/( +)/))ma!==" "?ra===" "?ka.push(ma):ka.push((ka.pop()||"")+ma):ra===void 0&&ka.unshift(""),ra=ma;return ra===" "&&ka.push((ka.pop()||"")+" "),ka[0]===""&&(ka.shift(),ka.unshift(" "+(ka.shift()||""))),ka}function io(na,ka,ra){let ma=ka.split(`
`).map((Zn,la,pa)=>la===0&&la===pa.length-1?Zn:la!==0&&la!==pa.length-1?Zn.trim():la===0?Zn.trimEnd():Zn.trimStart());return ra.proseWrap==="preserve"?ma.map(Zn=>Zn.length===0?[]:[Zn]):ma.map(Zn=>Zn.length===0?[]:Ia(Zn)).reduce((Zn,la,pa)=>pa!==0&&ma[pa-1].length>0&&la.length>0&&!(na==="quoteDouble"&&In(In(Zn)).endsWith("\\"))?[...Zn.slice(0,-1),[...In(Zn),...la]]:[...Zn,la],[]).map(Zn=>ra.proseWrap==="never"?[Zn.join(" ")]:Zn)}function Ja(na,ka){let{parentIndent:ra,isLastDescendant:ma,options:Zn}=ka,la=na.position.start.line===na.position.end.line?"":Zn.originalText.slice(na.position.start.offset,na.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1],pa;if(na.indent===null){let Ha=la.match(/^(?<leadingSpace> *)[^\n\r ]/m);pa=Ha?Ha.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else pa=na.indent-1+ra;let xa=la.split(`
`).map(Ha=>Ha.slice(pa));if(Zn.proseWrap==="preserve"||na.type==="blockLiteral")return Ma(xa.map(Ha=>Ha.length===0?[]:[Ha]));return Ma(xa.map(Ha=>Ha.length===0?[]:Ia(Ha)).reduce((Ha,So,as)=>as!==0&&xa[as-1].length>0&&So.length>0&&!/^\s/.test(So[0])&&!/^\s|\s$/.test(In(Ha))?[...Ha.slice(0,-1),[...In(Ha),...So]]:[...Ha,So],[]).map(Ha=>Ha.reduce((So,as)=>So.length>0&&/\s$/.test(In(So))?[...So.slice(0,-1),In(So)+" "+as]:[...So,as],[])).map(Ha=>Zn.proseWrap==="never"?[Ha.join(" ")]:Ha));function Ma(Ha){if(na.chomping==="keep")return In(Ha).length===0?Ha.slice(0,-1):Ha;let So=0;for(let as=Ha.length-1;as>=0&&Ha[as].length===0;as--)So++;return So===0?Ha:So>=2&&!ma?Ha.slice(0,-(So-1)):Ha.slice(0,-So)}}function hs(na){if(!na)return!0;switch(na.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}Fi.exports={getLast:In,getAncestorCount:Kn,isNode:On,isEmptyNode:zi,isInlineNode:hs,mapNode:Un,defineShortcut:Hn,isNextLineEmpty:ji,isLastDescendantNode:Wi,getBlockValueLineContents:Ja,getFlowScalarLineContents:io,getLastDescendantNode:da,hasPrettierIgnore:fa,hasLeadingComments:va,hasMiddleComments:qa,hasIndicatorComment:Xa,hasTrailingComment:Ta,hasEndComments:Qa}}}),Mf=Mo({"src/language-yaml/print-preprocess.js"(Vn,Fi){Fn();var{defineShortcut:In,mapNode:di}=Sf();function Kn(Un){return di(Un,On)}function On(Un){switch(Un.type){case"document":In(Un,"head",()=>Un.children[0]),In(Un,"body",()=>Un.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":In(Un,"content",()=>Un.children[0]);break;case"mappingItem":case"flowMappingItem":In(Un,"key",()=>Un.children[0]),In(Un,"value",()=>Un.children[1]);break}return Un}Fi.exports=Kn}}),Af=Mo({"src/language-yaml/print/misc.js"(Vn,Fi){Fn();var{builders:{softline:In,align:di}}=Oc(),{hasEndComments:Kn,isNextLineEmpty:On,isNode:Un}=Sf(),Hn=new WeakMap;function ji(sa,fa){let zi=sa.getValue(),ta=sa.stack[0],va;return Hn.has(ta)?va=Hn.get(ta):(va=new Set,Hn.set(ta,va)),!va.has(zi.position.end.line)&&(va.add(zi.position.end.line),On(zi,fa)&&!Wi(sa.getParentNode()))?In:""}function Wi(sa){return Kn(sa)&&!Un(sa,["documentHead","documentBody","flowMapping","flowSequence"])}function da(sa,fa){return di(" ".repeat(sa),fa)}Fi.exports={alignWithSpaces:da,shouldPrintEndComments:Wi,printNextEmptyLine:ji}}}),u0=Mo({"src/language-yaml/print/flow-mapping-sequence.js"(Vn,Fi){Fn();var{builders:{ifBreak:In,line:di,softline:Kn,hardline:On,join:Un}}=Oc(),{isEmptyNode:Hn,getLast:ji,hasEndComments:Wi}=Sf(),{printNextEmptyLine:da,alignWithSpaces:sa}=Af();function fa(ta,va,qa){let Xa=ta.getValue(),Ta=Xa.type==="flowMapping",Qa=Ta?"{":"[",Ia=Ta?"}":"]",io=Kn;Ta&&Xa.children.length>0&&qa.bracketSpacing&&(io=di);let Ja=ji(Xa.children),hs=Ja&&Ja.type==="flowMappingItem"&&Hn(Ja.key)&&Hn(Ja.value);return[Qa,sa(qa.tabWidth,[io,zi(ta,va,qa),qa.trailingComma==="none"?"":In(","),Wi(Xa)?[On,Un(On,ta.map(va,"endComments"))]:""]),hs?"":io,Ia]}function zi(ta,va,qa){let Xa=ta.getValue();return ta.map((Ta,Qa)=>[va(),Qa===Xa.children.length-1?"":[",",di,Xa.children[Qa].position.start.line!==Xa.children[Qa+1].position.start.line?da(Ta,qa.originalText):""]],"children")}Fi.exports={printFlowMapping:fa,printFlowSequence:fa}}}),g0=Mo({"src/language-yaml/print/mapping-item.js"(Vn,Fi){Fn();var{builders:{conditionalGroup:In,group:di,hardline:Kn,ifBreak:On,join:Un,line:Hn}}=Oc(),{hasLeadingComments:ji,hasMiddleComments:Wi,hasTrailingComment:da,hasEndComments:sa,isNode:fa,isEmptyNode:zi,isInlineNode:ta}=Sf(),{alignWithSpaces:va}=Af();function qa(Ia,io,Ja,hs,na){let{key:ka,value:ra}=Ia,ma=zi(ka),Zn=zi(ra);if(ma&&Zn)return": ";let la=hs("key"),pa=Ta(Ia)?" ":"";if(Zn)return Ia.type==="flowMappingItem"&&io.type==="flowMapping"?la:Ia.type==="mappingItem"&&Xa(ka.content,na)&&!da(ka.content)&&(!io.tag||io.tag.value!=="tag:yaml.org,2002:set")?[la,pa,":"]:["? ",va(2,la)];let xa=hs("value");if(ma)return[": ",va(2,xa)];if(ji(ra)||!ta(ka.content))return["? ",va(2,la),Kn,Un("",Ja.map(hs,"value","leadingComments").map(ns=>[ns,Kn])),":
`);case"always":return!/[\n ]/.test(Ia.value);default:return!1}}function Ta(Ia){return Ia.key.content&&Ia.key.content.type==="alias"}function Qa(Ia){if(!Ia)return!0;switch(Ia.type){case"plain":case"quoteDouble":case"quoteSingle":return Ia.position.start.line===Ia.position.end.line;case"alias":return!0;default:return!1}}Fi.exports=qa}}),C0=Mo({"src/language-yaml/print/block.js"(Vn,Fi){Fn();var{builders:{dedent:In,dedentToRoot:di,fill:Kn,hardline:On,join:Un,line:Hn,literalline:ji,markAsRoot:Wi},utils:{getDocParts:da}}=Oc(),{getAncestorCount:sa,getBlockValueLineContents:fa,hasIndicatorComment:zi,isLastDescendantNode:ta,isNode:va}=Sf(),{alignWithSpaces:qa}=Af();function Xa(Ta,Qa,Ia){let io=Ta.getValue(),Ja=sa(Ta,ma=>va(ma,["sequence","mapping"])),hs=ta(Ta),na=[io.type==="blockFolded"?">":"|"];io.indent!==null&&na.push(io.indent.toString()),io.chomping!=="clip"&&na.push(io.chomping==="keep"?"+":"-"),zi(io)&&na.push(" ",Qa("indicatorComment"));let ka=fa(io,{parentIndent:Ja,isLastDescendant:hs,options:Ia}),ra=[];for(let[ma,Zn]of ka.entries())ma===0&&ra.push(On),ra.push(Kn(da(Un(Hn,Zn)))),ma!==ka.length-1?ra.push(Zn.length===0?On:Wi(ji)):io.chomping==="keep"&&hs&&ra.push(di(Zn.length===0?On:ji));return io.indent===null?na.push(In(qa(Ia.tabWidth,ra))):na.push(di(qa(io.indent-1+Ja,ra))),na}Fi.exports=Xa}}),tp=Mo({"src/language-yaml/printer-yaml.js"(Vn,Fi){Fn();var{builders:{breakParent:In,fill:di,group:Kn,hardline:On,join:Un,line:Hn,lineSuffix:ji,literalline:Wi},utils:{getDocParts:da,replaceTextEndOfLine:sa}}=Oc(),{isPreviousLineEmpty:fa}=Zc(),{insertPragma:zi,isPragma:ta}=fp(),{locStart:va}=Nf(),qa=ud(),{getFlowScalarLineContents:Xa,getLastDescendantNode:Ta,hasLeadingComments:Qa,hasMiddleComments:Ia,hasTrailingComment:io,hasEndComments:Ja,hasPrettierIgnore:hs,isLastDescendantNode:na,isNode:ka,isInlineNode:ra}=Sf(),ma=Mf(),{alignWithSpaces:Zn,printNextEmptyLine:la,shouldPrintEndComments:pa}=Af(),{printFlowMapping:xa,printFlowSequence:Ma}=u0(),Ha=g0(),So=C0();function as(Xo,Ms,_l){let Xs=Xo.getValue(),Ul=[];Xs.type!=="mappingValue"&&Qa(Xs)&&Ul.push([Un(On,Xo.map(_l,"leadingComments")),On]);let{tag:ss,anchor:Ps}=Xs;ss&&Ul.push(_l("tag")),ss&&Ps&&Ul.push(" "),Ps&&Ul.push(_l("anchor"));let jl="";ka(Xs,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!na(Xo)&&(jl=la(Xo,Ms.originalText)),(ss||Ps)&&(ka(Xs,["sequence","mapping"])&&!Ia(Xs)?Ul.push(On):Ul.push(" ")),Ia(Xs)&&Ul.push([Xs.middleComments.length===1?"":On,Un(On,Xo.map(_l,"middleComments")),On]);let Dl=Xo.getParentNode();return hs(Xo)?Ul.push(sa(Ms.originalText.slice(Xs.position.start.offset,Xs.position.end.offset).trimEnd(),Wi)):Ul.push(Kn(ps(Xs,Dl,Xo,Ms,_l))),io(Xs)&&!ka(Xs,["document","documentHead"])&&Ul.push(ji([Xs.type==="mappingValue"&&!Xs.content?"":" ",Dl.type==="mappingKey"&&Xo.getParentNode(2).type==="mapping"&&ra(Xs)?"":In,_l("trailingComment")])),pa(Xs)&&Ul.push(Zn(Xs.type==="sequenceItem"?2:0,[On,Un(On,Xo.map(Wu=>[fa(Ms.originalText,Wu.getValue(),va)?On:"",_l()],"endComments"))])),Ul.push(jl),Ul}function ps(Xo,Ms,_l,Xs,Ul){switch(Xo.type){case"root":{let{children:ss}=Xo,Ps=[];_l.each((Dl,Wu)=>{let Fs=ss[Wu],xs=ss[Wu+1];Wu!==0&&Ps.push(On),Ps.push(Ul()),As(Fs,xs)?(Ps.push(On,"..."),io(Fs)&&Ps.push(" ",Ul("trailingComment"))):xs&&!io(xs.head)&&Ps.push(On,"---")},"children");let jl=Ta(Xo);return(!ka(jl,["blockLiteral","blockFolded"])||jl.chomping!=="keep")&&Ps.push(On),Ps}case"document":{let ss=Ms.children[_l.getName()+1],Ps=[];return ko(Xo,ss,Ms,Xs)==="head"&&((Xo.head.children.length>0||Xo.head.endComments.length>0)&&Ps.push(Ul("head")),io(Xo.head)?Ps.push(["---"," ",Ul(["head","trailingComment"])]):Ps.push("---")),ns(Xo)&&Ps.push(Ul("body")),Un(On,Ps)}case"documentHead":return Un(On,[..._l.map(Ul,"children"),..._l.map(Ul,"endComments")]);case"documentBody":{let{children:ss,endComments:Ps}=Xo,jl="";if(ss.length>0&&Ps.length>0){let Dl=Ta(Xo);ka(Dl,["blockFolded","blockLiteral"])?Dl.chomping!=="keep"&&(jl=[On,On]):jl=On}return[Un(On,_l.map(Ul,"children")),jl,Un(On,_l.map(Ul,"endComments"))]}case"directive":return["%",Un(" ",[Xo.name,...Xo.pa
`,vs={EOL:Vo,tmpdir:Eo,tmpDir:aa,networkInterfaces:An,getNetworkInterfaces:Gi,release:En,type:ui,cpus:Hr,totalmem:Bo,freemem:ks,uptime:Ao,loadavg:Wa,hostname:bl,endianness:il}}}),qo=eo({"node-modules-polyfills-commonjs:os"(Wn,Ka){Ts();var La=(kn(),Hs(rl));if(La&&La.default){Ka.exports=La.default;for(let Fa in La)Ka.exports[Fa]=La[Fa]}else La&&(Ka.exports=La)}}),Zl=eo({"node_modules/detect-newline/index.js"(Wn,Ka){Ts();var La=Fa=>{if(typeof Fa!="string")throw new TypeError("Expected a string");let to=Fa.match(/(?:\r?\n)/g)||[];if(to.length===0)return;let Io=to.filter(Oo=>Oo===`\r
`).length,xo=to.length-Io;return Io>xo?`\r
`:`
`};Ka.exports=La,Ka.exports.graceful=Fa=>typeof Fa=="string"&&La(Fa)||`
`}}),Mo=eo({"node_modules/jest-docblock/build/index.js"(Wn){Ts(),Object.defineProperty(Wn,"__esModule",{value:!0}),Wn.extract=Na,Wn.parse=Fo,Wn.parseWithComments=Ss,Wn.print=_s,Wn.strip=Zo;function Ka(){let Qs=qo();return Ka=function(){return Qs},Qs}function La(){let Qs=Fa(Zl());return La=function(){return Qs},Qs}function Fa(Qs){return Qs&&Qs.__esModule?Qs:{default:Qs}}var to=/\*\/$/,Io=/^\/\*\*?/,xo=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,Oo=/(^|\s+)\/\/([^\r\n]*)/g,ro=/^(\r?\n)+/,Ro=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,vi=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,Ln=/(\r?\n|^) *\* ?/g,za=[];function Na(Qs){let nl=Qs.match(xo);return nl?nl[0].trimLeft():""}function Zo(Qs){let nl=Qs.match(xo);return nl&&nl[0]?Qs.substring(nl[0].length):Qs}function Fo(Qs){return Ss(Qs).pragmas}function Ss(Qs){let nl=(0,La().default)(Qs)||Ka().EOL;Qs=Qs.replace(Io,"").replace(to,"").replace(Ln,"$1");let yl="";for(;yl!==Qs;)yl=Qs,Qs=Qs.replace(Ro,`${nl}$1 $2${nl}`);Qs=Qs.replace(ro,"").trimRight();let Hu=Object.create(null),pc=Qs.replace(vi,"").replace(ro,"").trimRight(),Ec;for(;Ec=vi.exec(Qs);){let Vc=Ec[2].replace(Oo,"");typeof Hu[Ec[1]]=="string"||Array.isArray(Hu[Ec[1]])?Hu[Ec[1]]=za.concat(Hu[Ec[1]],Vc):Hu[Ec[1]]=Vc}return{comments:pc,pragmas:Hu}}function _s(Qs){let{comments:nl="",pragmas:yl={}}=Qs,Hu=(0,La().default)(nl)||Ka().EOL,pc="/**",Ec=" *",Vc=" */",Hc=Object.keys(yl),Kc=Hc.map(Uc=>Uo(Uc,yl[Uc])).reduce((Uc,tc)=>Uc.concat(tc),[]).map(Uc=>`${Ec} ${Uc}${Hu}`).join("");if(!nl){if(Hc.length===0)return"";if(Hc.length===1&&!Array.isArray(yl[Hc[0]])){let Uc=yl[Hc[0]];return`${pc} ${Uo(Hc[0],Uc)[0]}${Vc}`}}let qc=nl.split(Hu).map(Uc=>`${Ec} ${Uc}`).join(Hu)+Hu;return pc+Hu+(nl?qc:"")+(nl&&Hc.length?Ec+Hu:"")+Kc+Vc}function Uo(Qs,nl){return za.concat(nl).map(yl=>`@${Qs} ${yl}`.trim())}}}),_u=eo({"src/common/end-of-line.js"(Wn,Ka){Ts();function La(xo){let Oo=xo.indexOf("\r");return Oo>=0?xo.charAt(Oo+1)===`
`?"crlf":"cr":"lf"}function Fa(xo){switch(xo){case"cr":return"\r";case"crlf":return`\r
`;default:return`
`}}function to(xo,Oo){let ro;switch(Oo){case`
`:ro=/\n/g;break;case"\r":ro=/\r/g;break;case`\r
`:ro=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(Oo)}.`)}let Ro=xo.match(ro);return Ro?Ro.length:0}function Io(xo){return xo.replace(/\r\n?/g,`
`)}Ka.exports={guessEndOfLine:La,convertEndOfLineToChars:Fa,countEndOfLineChars:to,normalizeEndOfLine:Io}}}),Bl=eo({"src/language-js/utils/get-shebang.js"(Wn,Ka){Ts();function La(Fa){if(!Fa.startsWith("#!"))return"";let to=Fa.indexOf(`
`);return to===-1?Fa:Fa.slice(0,to)}Ka.exports=La}}),Vu=eo({"src/language-js/pragma.js"(Wn,Ka){Ts();var{parseWithComments:La,strip:Fa,extract:to,print:Io}=Mo(),{normalizeEndOfLine:xo}=_u(),Oo=Bl();function ro(Ln){let za=Oo(Ln);za&&(Ln=Ln.slice(za.length+1));let Na=to(Ln),{pragmas:Zo,comments:Fo}=La(Na);return{shebang:za,text:Ln,pragmas:Zo,comments:Fo}}function Ro(Ln){let za=Object.keys(ro(Ln).pragmas);return za.includes("prettier")||za.includes("format")}function vi(Ln){let{shebang:za,text:Na,pragmas:Zo,comments:Fo}=ro(Ln),Ss=Fa(Na),_s=Io({pragmas:Object.assign({format:""},Zo),comments:Fo.trimStart()});return(za?`${za}
`:"")+xo(_s)+(Ss.startsWith(`
`)?`
`:`
`)+Ss}Ka.exports={hasPragma:Ro,insertPragma:vi}}}),Iu=eo({"src/language-css/pragma.js"(Wn,Ka){Ts();var La=Vu(),Fa=uc();function to(xo){return La.hasPragma(Fa(xo).content)}function Io(xo){let{frontMatter:Oo,content:ro}=Fa(xo);return(Oo?Oo.raw+`
`:"")+La.insertPragma(ro)}Ka.exports={hasPragma:to,insertPragma:Io}}}),Pu=eo({"src/utils/text/skip.js"(Wn,Ka){Ts();function La(Oo){return(ro,Ro,vi)=>{let Ln=vi&&vi.backwards;if(Ro===!1)return!1;let{length:za}=ro,Na=Ro;for(;Na>=0&&Na<za;){let Zo=ro.charAt(Na);if(Oo instanceof RegExp){if(!Oo.test(Zo))return Na}else if(!Oo.includes(Zo))return Na;Ln?Na--:Na++}return Na===-1||Na===za?Na:!1}}var Fa=La(/\s/),to=La(" "),Io=La(",; "),xo=La(/[^\n\r]/);Ka.exports={skipWhitespace:Fa,skipSpaces:to,skipToLineEnd:Io,skipEverythingButNewLine:xo}}}),Fn=eo({"src/utils/line-column-to-index.js"(Wn,Ka){Ts(),Ka.exports=function(La,Fa){let to=0;for(let Io=0;Io<La.line-1;++Io)to=Fa.indexOf(`
`,to)+1;return to+La.column}}}),is=eo({"src/language-css/loc.js"(Wn,Ka){Ts();var{skipEverythingButNewLine:La}=Pu(),Fa=Gs(),to=Fn();function Io(Na,Zo){return typeof Na.sourceIndex=="number"?Na.sourceIndex:Na.source?to(Na.source.start,Zo)-1:null}function xo(Na,Zo){if(Na.type==="css-comment"&&Na.inline)return La(Zo,Na.source.startOffset);let Fo=Na.nodes&&Fa(Na.nodes);return Fo&&Na.source&&!Na.source.end&&(Na=Fo),Na.source&&Na.source.end?to(Na.source.end,Zo):null}function Oo(Na,Zo){Na.source&&(Na.source.startOffset=Io(Na,Zo),Na.source.endOffset=xo(Na,Zo));for(let Fo in Na){let Ss=Na[Fo];Fo==="source"||!Ss||typeof Ss!="object"||(Ss.type==="value-root"||Ss.type==="value-unknown"?ro(Ss,Ro(Na),Ss.text||Ss.value):Oo(Ss,Zo))}}function ro(Na,Zo,Fo){Na.source&&(Na.source.startOffset=Io(Na,Fo)+Zo,Na.source.endOffset=xo(Na,Fo)+Zo);for(let Ss in Na){let _s=Na[Ss];Ss==="source"||!_s||typeof _s!="object"||ro(_s,Zo,Fo)}}function Ro(Na){let Zo=Na.source.startOffset;return typeof Na.prop=="string"&&(Zo+=Na.prop.length),Na.type==="css-atrule"&&typeof Na.name=="string"&&(Zo+=1+Na.name.length+Na.raws.afterName.match(/^\s*:?\s*/)[0].length),Na.type!=="css-atrule"&&Na.raws&&typeof Na.raws.between=="string"&&(Zo+=Na.raws.between.length),Zo}function vi(Na){let Zo="initial",Fo="initial",Ss,_s=!1,Uo=[];for(let Qs=0;Qs<Na.length;Qs++){let nl=Na[Qs];switch(Zo){case"initial":if(nl==="'"){Zo="single-quotes";continue}if(nl==='"'){Zo="double-quotes";continue}if((nl==="u"||nl==="U")&&Na.slice(Qs,Qs+4).toLowerCase()==="url("){Zo="url",Qs+=3;continue}if(nl==="*"&&Na[Qs-1]==="/"){Zo="comment-block";continue}if(nl==="/"&&Na[Qs-1]==="/"){Zo="comment-inline",Ss=Qs-1;continue}continue;case"single-quotes":if(nl==="'"&&Na[Qs-1]!=="\\"&&(Zo=Fo,Fo="initial"),nl===`
`||nl==="\r")return Na;continue;case"double-quotes":if(nl==='"'&&Na[Qs-1]!=="\\"&&(Zo=Fo,Fo="initial"),nl===`
`||nl==="\r")return Na;continue;case"url":if(nl===")"&&(Zo="initial"),nl===`
`||nl==="\r")return Na;if(nl==="'"){Zo="single-quotes",Fo="url";continue}if(nl==='"'){Zo="double-quotes",Fo="url";continue}continue;case"comment-block":nl==="/"&&Na[Qs-1]==="*"&&(Zo="initial");continue;case"comment-inline":(nl==='"'||nl==="'"||nl==="*")&&(_s=!0),(nl===`
`||nl==="\r")&&(_s&&Uo.push([Ss,Qs]),Zo="initial",_s=!1);continue}}for(let[Qs,nl]of Uo)Na=Na.slice(0,Qs)+Na.slice(Qs,nl).replace(/["'*]/g," ")+Na.slice(nl);return Na}function Ln(Na){return Na.source.startOffset}function za(Na){return Na.source.endOffset}Ka.exports={locStart:Ln,locEnd:za,calculateLoc:Oo,replaceQuotesInInlineComments:vi}}}),pu=eo({"src/utils/is-non-empty-array.js"(Wn,Ka){Ts();function La(Fa){return Array.isArray(Fa)&&Fa.length>0}Ka.exports=La}}),ku=eo({"src/language-css/utils/has-scss-interpolation.js"(Wn,Ka){Ts();var La=pu();function Fa(to){if(La(to)){for(let Io=to.length-1;Io>0;Io--)if(to[Io].type==="word"&&to[Io].value==="{"&&to[Io-1].type==="word"&&to[Io-1].value.endsWith("#"))return!0}return!1}Ka.exports=Fa}}),Vl=eo({"src/language-css/utils/has-string-or-function.js"(Wn,Ka){Ts();function La(Fa){return Fa.some(to=>to.type==="string"||to.type==="func")}Ka.exports=La}}),cc=eo({"src/language-css/utils/is-less-parser.js"(Wn,Ka){Ts();function La(Fa){return Fa.parser==="css"||Fa.parser==="less"}Ka.exports=La}}),Lc=eo({"src/language-css/utils/is-scss.js"(Wn,Ka){Ts();function La(Fa,to){return Fa==="less"||Fa==="scss"?Fa==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(to)}Ka.exports=La}}),wd=eo({"src/language-css/utils/is-scss-nested-property-node.js"(Wn,Ka){Ts();function La(Fa){return Fa.selector?Fa.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*\n/,"").trim().endsWith(":"):!1}Ka.exports=La}}),Nd=eo({"src/language-css/utils/is-scss-variable.js"(Wn,Ka){Ts();function La(Fa){return!!((Fa==null?void 0:Fa.type)==="word"&&Fa.value.startsWith("$"))}Ka.exports=La}}),Tf=eo({"src/language-css/utils/stringify-node.js"(Wn,Ka){Ts();function La(Fa){var to,Io,xo;if(Fa.groups){var Oo,ro,Ro;let _s=((Oo=Fa.open)===null||Oo===void 0?void 0:Oo.value)||"",Uo=Fa.groups.map(nl=>La(nl)).join(((ro=Fa.groups[0])===null||ro===void 0?void 0:ro.type)==="comma_group"?",":""),Qs=((Ro=Fa.close)===null||Ro===void 0?void 0:Ro.value)||"";return _s+Uo+Qs}let vi=((to=Fa.raws)===null||to===void 0?void 0:to.before)||"",Ln=((Io=Fa.raws)===null||Io===void 0?void 0:Io.quote)||"",za=Fa.type==="atword"?"@":"",Na=Fa.value||"",Zo=Fa.unit||"",Fo=Fa.group?La(Fa.group):"",Ss=((xo=Fa.raws)===null||xo===void 0?void 0:xo.after)||"";return vi+Ln+za+Na+Ln+Zo+Fo+Ss}Ka.exports=La}}),vf=eo({"src/language-css/utils/is-module-rule-name.js"(Wn,Ka){Ts();var La=new Set(["import","use","forward"]);function Fa(to){return La.has(to)}Ka.exports=Fa}}),jc=eo({"node_modules/postcss-values-parser/lib/node.js"(Wn,Ka){Ts();var La=function(Fa,to){let Io=new Fa.constructor;for(let xo in Fa){if(!Fa.hasOwnProperty(xo))continue;let Oo=Fa[xo],ro=typeof Oo;xo==="parent"&&ro==="object"?to&&(Io[xo]=to):xo==="source"?Io[xo]=Oo:Oo instanceof Array?Io[xo]=Oo.map(Ro=>La(Ro,Io)):xo!=="before"&&xo!=="after"&&xo!=="between"&&xo!=="semicolon"&&(ro==="object"&&Oo!==null&&(Oo=La(Oo)),Io[xo]=Oo)}return Io};Ka.exports=class{constructor(Fa){Fa=Fa||{},this.raws={before:"",after:""};for(let to in Fa)this[to]=Fa[to]}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(Fa){Fa=Fa||{};let to=La(this);for(let Io in Fa)to[Io]=Fa[Io];return to}cloneBefore(Fa){Fa=Fa||{};let to=this.clone(Fa);return this.parent.insertBefore(this,to),to}cloneAfter(Fa){Fa=Fa||{};let to=this.clone(Fa);return this.parent.insertAfter(this,to),to}replaceWith(){let Fa=Array.prototype.slice.call(arguments);if(this.parent){for(let to of Fa)this.parent.insertBefore(this,to);this.remove()}return this}moveTo(Fa){return this.cleanRaws(this.root()===Fa.root()),this.remove(),Fa.append(this),this}moveBefore(Fa){return this.cleanRaws(this.root()===Fa.root()),this.remove(),Fa.parent.insertBefore(Fa,this),this}moveAfter(Fa){return this.cleanRaws(this.root()===Fa.root()),this.remove(),Fa.parent.insertAfter(Fa,this),this}next(){let Fa=this.parent.index(this);return this.parent.nodes[Fa+1]}prev(){let Fa=this.parent.index(this);return this.parent.nodes[Fa-1]}toJSON(){let Fa={};for(let to in this){if(!this.hasOwnProperty(
`?(Io=1,xo+=1):Io+=1;return{line:xo,column:Io}}positionBy(Fa){let to=this.source.start;if(Object(Fa).index)to=this.positionInside(Fa.index);else if(Object(Fa).word){let Io=this.toString().indexOf(Fa.word);Io!==-1&&(to=this.positionInside(Io))}return to}}}}),Jd=eo({"node_modules/postcss-values-parser/lib/container.js"(Wn,Ka){Ts();var La=jc(),Fa=class extends La{constructor(to){super(to),this.nodes||(this.nodes=[])}push(to){return to.parent=this,this.nodes.push(to),this}each(to){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let Io=this.lastEach,xo,Oo;if(this.indexes[Io]=0,!!this.nodes){for(;this.indexes[Io]<this.nodes.length&&(xo=this.indexes[Io],Oo=to(this.nodes[xo],xo),Oo!==!1);)this.indexes[Io]+=1;return delete this.indexes[Io],Oo}}walk(to){return this.each((Io,xo)=>{let Oo=to(Io,xo);return Oo!==!1&&Io.walk&&(Oo=Io.walk(to)),Oo})}walkType(to,Io){if(!to||!Io)throw new Error("Parameters {type} and {callback} are required.");let xo=typeof to=="function";return this.walk((Oo,ro)=>{if(xo&&Oo instanceof to||!xo&&Oo.type===to)return Io.call(this,Oo,ro)})}append(to){return to.parent=this,this.nodes.push(to),this}prepend(to){return to.parent=this,this.nodes.unshift(to),this}cleanRaws(to){if(super.cleanRaws(to),this.nodes)for(let Io of this.nodes)Io.cleanRaws(to)}insertAfter(to,Io){let xo=this.index(to),Oo;this.nodes.splice(xo+1,0,Io);for(let ro in this.indexes)Oo=this.indexes[ro],xo<=Oo&&(this.indexes[ro]=Oo+this.nodes.length);return this}insertBefore(to,Io){let xo=this.index(to),Oo;this.nodes.splice(xo,0,Io);for(let ro in this.indexes)Oo=this.indexes[ro],xo<=Oo&&(this.indexes[ro]=Oo+this.nodes.length);return this}removeChild(to){to=this.index(to),this.nodes[to].parent=void 0,this.nodes.splice(to,1);let Io;for(let xo in this.indexes)Io=this.indexes[xo],Io>=to&&(this.indexes[xo]=Io-1);return this}removeAll(){for(let to of this.nodes)to.parent=void 0;return this.nodes=[],this}every(to){return this.nodes.every(to)}some(to){return this.nodes.some(to)}index(to){return typeof to=="number"?to:this.nodes.indexOf(to)}get first(){if(this.nodes)return this.nodes[0]}get last(){if(this.nodes)return this.nodes[this.nodes.length-1]}toString(){let to=this.nodes.map(String).join("");return this.value&&(to=this.value+to),this.raws.before&&(to=this.raws.before+to),this.raws.after&&(to+=this.raws.after),to}};Fa.registerWalker=to=>{let Io="walk"+to.name;Io.lastIndexOf("s")!==Io.length-1&&(Io+="s"),!Fa.prototype[Io]&&(Fa.prototype[Io]=function(xo){return this.walkType(to,xo)})},Ka.exports=Fa}}),Ed=eo({"node_modules/postcss-values-parser/lib/root.js"(Wn,Ka){Ts();var La=Jd();Ka.exports=class extends La{constructor(Fa){super(Fa),this.type="root"}}}}),Bf=eo({"node_modules/postcss-values-parser/lib/value.js"(Wn,Ka){Ts();var La=Jd();Ka.exports=class extends La{constructor(Fa){super(Fa),this.type="value",this.unbalanced=0}}}}),Rf=eo({"node_modules/postcss-values-parser/lib/atword.js"(Wn,Ka){Ts();var La=Jd(),Fa=class extends La{constructor(to){super(to),this.type="atword"}toString(){return this.quoted&&this.raws.quote,[this.raws.before,"@",String.prototype.toString.call(this.value),this.raws.after].join("")}};La.registerWalker(Fa),Ka.exports=Fa}}),Rp=eo({"node_modules/postcss-values-parser/lib/colon.js"(Wn,Ka){Ts();var La=Jd(),Fa=jc(),to=class extends Fa{constructor(Io){super(Io),this.type="colon"}};La.registerWalker(to),Ka.exports=to}}),Pp=eo({"node_modules/postcss-values-parser/lib/comma.js"(Wn,Ka){Ts();var La=Jd(),Fa=jc(),to=class extends Fa{constructor(Io){super(Io),this.type="comma"}};La.registerWalker(to),Ka.exports=to}}),_p=eo({"node_modules/postcss-values-parser/lib/comment.js"(Wn,Ka){Ts();var La=Jd(),Fa=jc(),to=class extends Fa{constructor(Io){super(Io),this.type="comment",this.inline=Object(Io).inline||!1}toString(){return[this.raws.before,this.inline?"//":"/*",String(this.value),this.inline?"":"*/",this.raws.after].join("")}};La.registerWalker(to),Ka.exports=to}}),Pf=eo({"node_modules/postcss-values-parser/lib/function.js"(Wn,Ka){Ts();var La=Jd(),Fa=class extends La{constructor(to){super(to),this.type="func",th
`)>-1&&(Io?Oo=Oo.split(`
`).map(function(Ro){return" "+Ro}).join(`
`).substr(2):Oo=`
`+Oo.split(`
`).map(function(Ro){return" "+Ro}).join(`
`))):Oo=Wn.stylize("[Circular]","special")),mf(xo)){if(Io&&to.match(/^\d+$/))return Oo;xo=JSON.stringify(""+to),xo.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(xo=xo.substr(1,xo.length-2),xo=Wn.stylize(xo,"name")):(xo=xo.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),xo=Wn.stylize(xo,"string"))}return xo+": "+Oo}function Vm(Wn,Ka,La){var Fa=0,to=Wn.reduce(function(Io,xo){return Fa++,xo.indexOf(`
`)>=0&&Fa++,Io+xo.replace(/\u001b\[\d\d?m/g,"").length+1},0);return to>60?La[0]+(Ka===""?"":Ka+`
`)+" "+Wn.join(`,
`)+" "+La[1]:La[0]+Ka+" "+Wn.join(", ")+" "+La[1]}function dm(Wn){return Array.isArray(Wn)}function Tm(Wn){return typeof Wn=="boolean"}function jh(Wn){return Wn===null}function Fh(Wn){return Wn==null}function yh(Wn){return typeof Wn=="number"}function Sp(Wn){return typeof Wn=="string"}function fm(Wn){return typeof Wn=="symbol"}function mf(Wn){return Wn===void 0}function Zp(Wn){return zf(Wn)&&wh(Wn)==="[object RegExp]"}function zf(Wn){return typeof Wn=="object"&&Wn!==null}function ip(Wn){return zf(Wn)&&wh(Wn)==="[object Date]"}function nh(Wn){return zf(Wn)&&(wh(Wn)==="[object Error]"||Wn instanceof Error)}function Uh(Wn){return typeof Wn=="function"}function qm(Wn){return Wn===null||typeof Wn=="boolean"||typeof Wn=="number"||typeof Wn=="string"||typeof Wn=="symbol"||typeof Wn>"u"}function kp(Wn){return Buffer$F.isBuffer(Wn)}function wh(Wn){return Object.prototype.toString.call(Wn)}function tm(Wn){return Wn<10?"0"+Wn.toString(10):Wn.toString(10)}function Tp(){var Wn=new Date,Ka=[tm(Wn.getHours()),tm(Wn.getMinutes()),tm(Wn.getSeconds())].join(":");return[Wn.getDate(),$m[Wn.getMonth()],Ka].join(" ")}function zm(){console.log("%s - %s",Tp(),cm.apply(null,arguments))}function Gm(Wn,Ka){if(!Ka||!zf(Ka))return Wn;for(var La=Object.keys(Ka),Fa=La.length;Fa--;)Wn[La[Fa]]=Ka[La[Fa]];return Wn}function xm(Wn,Ka){return Object.prototype.hasOwnProperty.call(Wn,Ka)}var Cm,If,Jf,$m,Wm,l0=_o({"node-modules-polyfills:util"(){Ts(),Vp(),pf(),Cm=/%[sdj%]/g,If={},Lf.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]},Lf.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},$m=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Wm={inherits:um,_extend:Gm,log:zm,isBuffer:kp,isPrimitive:qm,isFunction:Uh,isError:nh,isDate:ip,isObject:zf,isRegExp:Zp,isUndefined:mf,isSymbol:fm,isString:Sp,isNumber:yh,isNullOrUndefined:Fh,isNull:jh,isBoolean:Tm,isArray:dm,inspect:Lf,deprecate:km,format:cm,debuglog:em}}}),hm=eo({"node-modules-polyfills-commonjs:util"(Wn,Ka){Ts();var La=(l0(),Hs(Jp));if(La&&La.default){Ka.exports=La.default;for(let Fa in La)Ka.exports[Fa]=La[Fa]}else La&&(Ka.exports=La)}}),qp=eo({"node_modules/postcss-values-parser/lib/errors/TokenizeError.js"(Wn,Ka){Ts();var La=class extends Error{constructor(Fa){super(Fa),this.name=this.constructor.name,this.message=Fa||"An error ocurred while tokzenizing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(Fa).stack}};Ka.exports=La}}),Km=eo({"node_modules/postcss-values-parser/lib/tokenize.js"(Wn,Ka){Ts();var La=123,Fa=125,to=40,Io=41,xo=39,Oo=34,ro=92,Ro=47,vi=46,Ln=44,za=58,Na=42,Zo=45,Fo=43,Ss=35,_s=10,Uo=32,Qs=12,nl=9,yl=13,Hu=64,pc=101,Ec=69,Vc=48,Hc=57,Kc=117,qc=85,Uc=/[ \n\t\r\{\(\)'"\\;,/]/g,tc=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g,Du=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g,rc=/^[a-z0-9]/i,Au=/^[a-f0-9?\-]/i,Ef=hm(),Fd=qp();Ka.exports=function(ef,Rd){Rd=Rd||{};let yd=[],Ac=ef.valueOf(),Xc=Ac.length,Qc=-1,id=1,ml=0,fu=0,Tu=null,hc,cl,$c,Nc,Hf,_f,sf,$p,fp,Nf,ud;function Sf(Mf){let Af=Ef.format("Unclosed %s at line: %d, column: %d, token: %d",Mf,id,ml-Qc,ml);throw new Fd(Af)}for(;ml<Xc;){switch(hc=Ac.charCodeAt(ml),hc===_s&&(Qc=ml,id+=1),hc){case _s:case Uo:case nl:case yl:case Qs:cl=ml;do cl+=1,hc=Ac.charCodeAt(cl),hc===_s&&(Qc=cl,id+=1);while(hc===Uo||hc===_s||hc===nl||hc===yl||hc===Qs);yd.push(["space",Ac.slice(ml,cl),id,ml-Qc,id,cl-Qc,ml]),ml=cl-1;break;case za:cl=ml+1,yd.push(["colon",Ac.slice(ml,cl),id,ml-Qc,id,cl-Qc,ml]),ml=cl-1;break;case Ln:cl=ml+1,yd.push(["comma",Ac.slice(ml,cl),id,ml-Qc,id,cl-Qc,ml]),ml=cl-1;break;case La:yd.push(["{","{",id,ml-Qc,id,cl-Qc,ml]);break;case Fa:yd.push(["}","}",id,ml-Qc,id,cl-Qc,ml]);break;case to:fu++,Tu=!Tu&&fu===1&&yd.length>0&&yd[yd.length-1][0]==="word"&&yd[yd.length-1][1]==="url",yd.push(["(","(",id,ml-Qc,id,cl-Qc,ml]);break;case
`,ml+2);cl=Mf!==-1?Mf-1:Xc}_f=Ac.slice(ml,cl+1),Nc=_f.split(`
`),Hf=Nc.length-1,Hf>0?(sf=id+Hf,$p=cl-Nc[Hf].length):(sf=id,$p=Qc),yd.push(["comment",_f,id,ml-Qc,sf,cl-$p,ml]),Qc=$p,id=sf,ml=cl}else if(hc===Ss&&!rc.test(Ac.slice(ml+1,ml+2)))cl=ml+1,yd.push(["#",Ac.slice(ml,cl),id,ml-Qc,id,cl-Qc,ml]),ml=cl-1;else if((hc===Kc||hc===qc)&&Ac.charCodeAt(ml+1)===Fo){cl=ml+2;do cl+=1,hc=Ac.charCodeAt(cl);while(cl<Xc&&Au.test(Ac.slice(cl,cl+1)));yd.push(["unicoderange",Ac.slice(ml,cl),id,ml-Qc,id,cl-Qc,ml]),ml=cl-1}else if(hc===Ro)cl=ml+1,yd.push(["operator",Ac.slice(ml,cl),id,ml-Qc,id,cl-Qc,ml]),ml=cl-1;else{let Mf=tc;if(hc>=Vc&&hc<=Hc&&(Mf=Du),Mf.lastIndex=ml+1,Mf.test(Ac),Mf.lastIndex===0?cl=Ac.length-1:cl=Mf.lastIndex-2,Mf===Du||hc===vi){let Af=Ac.charCodeAt(cl),u0=Ac.charCodeAt(cl+1),g0=Ac.charCodeAt(cl+2);(Af===pc||Af===Ec)&&(u0===Zo||u0===Fo)&&g0>=Vc&&g0<=Hc&&(Du.lastIndex=cl+2,Du.test(Ac),Du.lastIndex===0?cl=Ac.length-1:cl=Du.lastIndex-2)}yd.push(["word",Ac.slice(ml,cl+1),id,ml-Qc,id,cl-Qc,ml]),ml=cl}break}ml++}return yd}}}),Ym=eo({"node_modules/flatten/index.js"(Wn,Ka){Ts(),Ka.exports=function(La,Fa){if(Fa=typeof Fa=="number"?Fa:1/0,!Fa)return Array.isArray(La)?La.map(function(Io){return Io}):La;return to(La,1);function to(Io,xo){return Io.reduce(function(Oo,ro){return Array.isArray(ro)&&xo<Fa?Oo.concat(to(ro,xo+1)):Oo.concat(ro)},[])}}}}),mm=eo({"node_modules/indexes-of/index.js"(Wn,Ka){Ts(),Ka.exports=function(La,Fa){for(var to=-1,Io=[];(to=La.indexOf(Fa,to+1))!==-1;)Io.push(to);return Io}}}),Of=eo({"node_modules/uniq/uniq.js"(Wn,Ka){Ts();function La(Io,xo){for(var Oo=1,ro=Io.length,Ro=Io[0],vi=Io[0],Ln=1;Ln<ro;++Ln)if(vi=Ro,Ro=Io[Ln],xo(Ro,vi)){if(Ln===Oo){Oo++;continue}Io[Oo++]=Ro}return Io.length=Oo,Io}function Fa(Io){for(var xo=1,Oo=Io.length,ro=Io[0],Ro=Io[0],vi=1;vi<Oo;++vi,Ro=ro)if(Ro=ro,ro=Io[vi],ro!==Ro){if(vi===xo){xo++;continue}Io[xo++]=ro}return Io.length=xo,Io}function to(Io,xo,Oo){return Io.length===0?Io:xo?(Oo||Io.sort(xo),La(Io,xo)):(Oo||Io.sort(),Fa(Io))}Ka.exports=to}}),n0=eo({"node_modules/postcss-values-parser/lib/errors/ParserError.js"(Wn,Ka){Ts();var La=class extends Error{constructor(Fa){super(Fa),this.name=this.constructor.name,this.message=Fa||"An error ocurred while parsing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(Fa).stack}};Ka.exports=La}}),Pm=eo({"node_modules/postcss-values-parser/lib/parser.js"(Wn,Ka){Ts();var La=Ed(),Fa=Bf(),to=Rf(),Io=Rp(),xo=Pp(),Oo=_p(),ro=Pf(),Ro=Ih(),vi=Lp(),Ln=Oc(),za=Ip(),Na=Df(),Zo=vp(),Fo=Km(),Ss=Ym(),_s=mm(),Uo=Of(),Qs=n0();function nl(yl){return yl.sort((Hu,pc)=>Hu-pc)}Ka.exports=class{constructor(yl,Hu){let pc={loose:!1};this.cache=[],this.input=yl,this.options=Object.assign({},pc,Hu),this.position=0,this.unbalanced=0,this.root=new La;let Ec=new Fa;this.root.append(Ec),this.current=Ec,this.tokens=Fo(yl,this.options)}parse(){return this.loop()}colon(){let yl=this.currToken;this.newNode(new Io({value:yl[1],source:{start:{line:yl[2],column:yl[3]},end:{line:yl[4],column:yl[5]}},sourceIndex:yl[6]})),this.position++}comma(){let yl=this.currToken;this.newNode(new xo({value:yl[1],source:{start:{line:yl[2],column:yl[3]},end:{line:yl[4],column:yl[5]}},sourceIndex:yl[6]})),this.position++}comment(){let yl=!1,Hu=this.currToken[1].replace(/\/\*|\*\//g,""),pc;this.options.loose&&Hu.startsWith("//")&&(Hu=Hu.substring(2),yl=!0),pc=new Oo({value:Hu,inline:yl,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(pc),this.position++}error(yl,Hu){throw new Qs(yl+` at line: ${Hu[2]}, column ${Hu[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 yl=this.currToken[1],Hu;if(yl==="+"||yl==="-"){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.cu
`),Fd=Ef.length-1,Fd>0?(yd=fu+Fd,Ac=rc-Ef[Fd].length):(yd=fu,Ac=ml),Uc.push(["comment",ef,fu,Tu-ml,yd,rc-Ac,Tu]),ml=Ac,fu=yd,Tu=rc):(Hc.lastIndex=Tu+1,Hc.test(tc),Hc.lastIndex===0?rc=tc.length-1:rc=Hc.lastIndex-2,Uc.push(["word",tc.slice(Tu,rc+1),fu,Tu-ml,fu,rc-ml,Tu]),Tu=rc);break}Tu++}return Uc}Ka.exports=Wn.default}}),Ld=eo({"node_modules/postcss-selector-parser/dist/parser.js"(Wn,Ka){Ts(),Wn.__esModule=!0;var La=function(){function ml(fu,Tu){for(var hc=0;hc<Tu.length;hc++){var cl=Tu[hc];cl.enumerable=cl.enumerable||!1,cl.configurable=!0,"value"in cl&&(cl.writable=!0),Object.defineProperty(fu,cl.key,cl)}}return function(fu,Tu,hc){return Tu&&ml(fu.prototype,Tu),hc&&ml(fu,hc),fu}}(),Fa=Ym(),to=Xc(Fa),Io=mm(),xo=Xc(Io),Oo=Of(),ro=Xc(Oo),Ro=Mc(),vi=Xc(Ro),Ln=kc(),za=Xc(Ln),Na=xf(),Zo=Xc(Na),Fo=Zd(),Ss=Xc(Fo),_s=gm(),Uo=Xc(_s),Qs=i0(),nl=Xc(Qs),yl=xp(),Hu=Xc(yl),pc=zp(),Ec=Xc(pc),Vc=Hh(),Hc=Xc(Vc),Kc=Cp(),qc=Xc(Kc),Uc=ih(),tc=Xc(Uc),Du=rm(),rc=Xc(Du),Au=Bd(),Ef=Xc(Au),Fd=a0(),ef=Xc(Fd),Rd=wu(),yd=Ac(Rd);function Ac(ml){if(ml&&ml.__esModule)return ml;var fu={};if(ml!=null)for(var Tu in ml)Object.prototype.hasOwnProperty.call(ml,Tu)&&(fu[Tu]=ml[Tu]);return fu.default=ml,fu}function Xc(ml){return ml&&ml.__esModule?ml:{default:ml}}function Qc(ml,fu){if(!(ml instanceof fu))throw new TypeError("Cannot call a class as a function")}var id=function(){function ml(fu){Qc(this,ml),this.input=fu,this.lossy=fu.options.lossless===!1,this.position=0,this.root=new vi.default;var Tu=new za.default;return this.root.append(Tu),this.current=Tu,this.lossy?this.tokens=(0,ef.default)({safe:fu.safe,css:fu.css.trim()}):this.tokens=(0,ef.default)(fu),this.loop()}return ml.prototype.attribute=function(){var fu="",Tu=void 0,hc=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[0]!=="]";)fu+=this.tokens[this.position][1],this.position++;this.position===this.tokens.length&&!~fu.indexOf("]")&&this.error("Expected a closing square bracket.");var cl=fu.split(/((?:[*~^$|]?=))([^]*)/),$c=cl[0].split(/(\|)/g),Nc={operator:cl[1],value:cl[2],source:{start:{line:hc[2],column:hc[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:hc[4]};if($c.length>1?($c[0]===""&&($c[0]=!0),Nc.attribute=this.parseValue($c[2]),Nc.namespace=this.parseNamespace($c[0])):Nc.attribute=this.parseValue(cl[0]),Tu=new Hc.default(Nc),cl[2]){var Hf=cl[2].split(/(\s+i\s*?)$/),_f=Hf[0].trim();Tu.value=this.lossy?_f:Hf[0],Hf[1]&&(Tu.insensitive=!0,this.lossy||(Tu.raws.insensitive=Hf[1])),Tu.quoted=_f[0]==="'"||_f[0]==='"',Tu.raws.unquoted=Tu.quoted?_f.slice(1,-1):_f}this.newNode(Tu),this.position++},ml.prototype.combinator=function(){if(this.currToken[1]==="|")return this.namespace();for(var fu=new tc.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"?(fu.spaces.before=this.parseSpace(this.currToken[1]),fu.source.start.line=this.nextToken[2],fu.source.start.column=this.nextToken[3],fu.source.end.column=this.nextToken[3],fu.source.end.line=this.nextToken[2],fu.sourceIndex=this.nextToken[4]):this.prevToken&&this.prevToken[0]==="combinator"?fu.spaces.after=this.parseSpace(this.currToken[1]):this.currToken[0]==="combinator"?fu.value=this.currToken[1]:this.currToken[0]==="space"&&(fu.value=this.parseSpace(this.currToken[1]," ")),this.position++;return this.newNode(fu)},ml.prototype.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}var fu=new za.default;this.current.parent.append(fu),this.current=fu,this.position++},ml.prototype.comment=function(){var fu=new Ss.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(fu),this.position++},ml.prototype.error=function(fu){throw n
`+Du+Vc("^")}return" "+Hc(tc)+Kc}).join(`
`)},_s.toString=function(){var Uo=this.showSourceCode();return Uo&&(Uo=`
`+Uo+`
`),this.name+": "+this.message+Uo},Ss}(Oo(Error)),Zo=Na;Wn.default=Zo,Ka.exports=Wn.default}}),al=eo({"node_modules/postcss/lib/previous-map.js"(Wn,Ka){Ts(),Ka.exports=class{}}}),Ys=eo({"node_modules/postcss/lib/input.js"(Wn,Ka){Ts(),Wn.__esModule=!0,Wn.default=void 0;var La=Io(os()),Fa=Io(Vs()),to=Io(al());function Io(Ln){return Ln&&Ln.__esModule?Ln:{default:Ln}}function xo(Ln,za){for(var Na=0;Na<za.length;Na++){var Zo=za[Na];Zo.enumerable=Zo.enumerable||!1,Zo.configurable=!0,"value"in Zo&&(Zo.writable=!0),Object.defineProperty(Ln,Zo.key,Zo)}}function Oo(Ln,za,Na){return za&&xo(Ln.prototype,za),Ln}var ro=0,Ro=function(){function Ln(Na,Zo){if(Zo===void 0&&(Zo={}),Na===null||typeof Na>"u"||typeof Na=="object"&&!Na.toString)throw new Error("PostCSS received "+Na+" instead of CSS string");this.css=Na.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,Zo.from&&(/^\w+:\/\//.test(Zo.from)||La.default.isAbsolute(Zo.from)?this.file=Zo.from:this.file=La.default.resolve(Zo.from));var Fo=new to.default(this.css,Zo);if(Fo.text){this.map=Fo;var Ss=Fo.consumer().file;!this.file&&Ss&&(this.file=this.mapResolve(Ss))}this.file||(ro+=1,this.id="<input css "+ro+">"),this.map&&(this.map.file=this.from)}var za=Ln.prototype;return za.error=function(Na,Zo,Fo,Ss){Ss===void 0&&(Ss={});var _s,Uo=this.origin(Zo,Fo);return Uo?_s=new Fa.default(Na,Uo.line,Uo.column,Uo.source,Uo.file,Ss.plugin):_s=new Fa.default(Na,Zo,Fo,this.css,this.file,Ss.plugin),_s.input={line:Zo,column:Fo,source:this.css},this.file&&(_s.input.file=this.file),_s},za.origin=function(Na,Zo){if(!this.map)return!1;var Fo=this.map.consumer(),Ss=Fo.originalPositionFor({line:Na,column:Zo});if(!Ss.source)return!1;var _s={file:this.mapResolve(Ss.source),line:Ss.line,column:Ss.column},Uo=Fo.sourceContentFor(Ss.source);return Uo&&(_s.source=Uo),_s},za.mapResolve=function(Na){return/^\w+:\/\//.test(Na)?Na:La.default.resolve(this.map.consumer().sourceRoot||".",Na)},Oo(Ln,[{key:"from",get:function(){return this.file||this.id}}]),Ln}(),vi=Ro;Wn.default=vi,Ka.exports=Wn.default}}),Pl=eo({"node_modules/postcss/lib/stringifier.js"(Wn,Ka){Ts(),Wn.__esModule=!0,Wn.default=void 0;var La={colon:": ",indent:" ",beforeDecl:`
`,beforeRule:`
`,beforeOpen:" ",beforeClose:`
`,beforeComment:`
`,after:`
`,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function Fa(xo){return xo[0].toUpperCase()+xo.slice(1)}var to=function(){function xo(ro){this.builder=ro}var Oo=xo.prototype;return Oo.stringify=function(ro,Ro){this[ro.type](ro,Ro)},Oo.root=function(ro){this.body(ro),ro.raws.after&&this.builder(ro.raws.after)},Oo.comment=function(ro){var Ro=this.raw(ro,"left","commentLeft"),vi=this.raw(ro,"right","commentRight");this.builder("/*"+Ro+ro.text+vi+"*/",ro)},Oo.decl=function(ro,Ro){var vi=this.raw(ro,"between","colon"),Ln=ro.prop+vi+this.rawValue(ro,"value");ro.important&&(Ln+=ro.raws.important||" !important"),Ro&&(Ln+=";"),this.builder(Ln,ro)},Oo.rule=function(ro){this.block(ro,this.rawValue(ro,"selector")),ro.raws.ownSemicolon&&this.builder(ro.raws.ownSemicolon,ro,"end")},Oo.atrule=function(ro,Ro){var vi="@"+ro.name,Ln=ro.params?this.rawValue(ro,"params"):"";if(typeof ro.raws.afterName<"u"?vi+=ro.raws.afterName:Ln&&(vi+=" "),ro.nodes)this.block(ro,vi+Ln);else{var za=(ro.raws.between||"")+(Ro?";":"");this.builder(vi+Ln+za,ro)}},Oo.body=function(ro){for(var Ro=ro.nodes.length-1;Ro>0&&ro.nodes[Ro].type==="comment";)Ro-=1;for(var vi=this.raw(ro,"semicolon"),Ln=0;Ln<ro.nodes.length;Ln++){var za=ro.nodes[Ln],Na=this.raw(za,"before");Na&&this.builder(Na),this.stringify(za,Ro!==Ln||vi)}},Oo.block=function(ro,Ro){var vi=this.raw(ro,"between","beforeOpen");this.builder(Ro+vi+"{",ro,"start");var Ln;ro.nodes&&ro.nodes.length?(this.body(ro),Ln=this.raw(ro,"after")):Ln=this.raw(ro,"after","emptyBody"),Ln&&this.builder(Ln),this.builder("}",ro,"end")},Oo.raw=function(ro,Ro,vi){var Ln;if(vi||(vi=Ro),Ro&&(Ln=ro.raws[Ro],typeof Ln<"u"))return Ln;var za=ro.parent;if(vi==="before"&&(!za||za.type==="root"&&za.first===ro))return"";if(!za)return La[vi];var Na=ro.root();if(Na.rawCache||(Na.rawCache={}),typeof Na.rawCache[vi]<"u")return Na.rawCache[vi];if(vi==="before"||vi==="after")return this.beforeAfter(ro,vi);var Zo="raw"+Fa(vi);return this[Zo]?Ln=this[Zo](Na,ro):Na.walk(function(Fo){if(Ln=Fo.raws[Ro],typeof Ln<"u")return!1}),typeof Ln>"u"&&(Ln=La[vi]),Na.rawCache[vi]=Ln,Ln},Oo.rawSemicolon=function(ro){var Ro;return ro.walk(function(vi){if(vi.nodes&&vi.nodes.length&&vi.last.type==="decl"&&(Ro=vi.raws.semicolon,typeof Ro<"u"))return!1}),Ro},Oo.rawEmptyBody=function(ro){var Ro;return ro.walk(function(vi){if(vi.nodes&&vi.nodes.length===0&&(Ro=vi.raws.after,typeof Ro<"u"))return!1}),Ro},Oo.rawIndent=function(ro){if(ro.raws.indent)return ro.raws.indent;var Ro;return ro.walk(function(vi){var Ln=vi.parent;if(Ln&&Ln!==ro&&Ln.parent&&Ln.parent===ro&&typeof vi.raws.before<"u"){var za=vi.raws.before.split(`
`);return Ro=za[za.length-1],Ro=Ro.replace(/[^\s]/g,""),!1}}),Ro},Oo.rawBeforeComment=function(ro,Ro){var vi;return ro.walkComments(function(Ln){if(typeof Ln.raws.before<"u")return vi=Ln.raws.before,vi.indexOf(`
`)!==-1&&(vi=vi.replace(/[^\n]+$/,"")),!1}),typeof vi>"u"?vi=this.raw(Ro,null,"beforeDecl"):vi&&(vi=vi.replace(/[^\s]/g,"")),vi},Oo.rawBeforeDecl=function(ro,Ro){var vi;return ro.walkDecls(function(Ln){if(typeof Ln.raws.before<"u")return vi=Ln.raws.before,vi.indexOf(`
`)!==-1&&(vi=vi.replace(/[^\n]+$/,"")),!1}),typeof vi>"u"?vi=this.raw(Ro,null,"beforeRule"):vi&&(vi=vi.replace(/[^\s]/g,"")),vi},Oo.rawBeforeRule=function(ro){var Ro;return ro.walk(function(vi){if(vi.nodes&&(vi.parent!==ro||ro.first!==vi)&&typeof vi.raws.before<"u")return Ro=vi.raws.before,Ro.indexOf(`
`)!==-1&&(Ro=Ro.replace(/[^\n]+$/,"")),!1}),Ro&&(Ro=Ro.replace(/[^\s]/g,"")),Ro},Oo.rawBeforeClose=function(ro){var Ro;return ro.walk(function(vi){if(vi.nodes&&vi.nodes.length>0&&typeof vi.raws.after<"u")return Ro=vi.raws.after,Ro.indexOf(`
`)!==-1&&(Ro=Ro.replace(/[^\n]+$/,"")),!1}),Ro&&(Ro=Ro.replace(/[^\s]/g,"")),Ro},Oo.rawBeforeOpen=function(ro){var Ro;return ro.walk(function(vi){if(vi.type!=="decl"&&(Ro=vi.raws.between,typeof Ro<"u"))return!1}),Ro},Oo.rawColon=function(ro){var Ro;return ro.walkDecls(function(vi){if(typeof vi.raws.between<"u")return Ro=vi.raws.between.replace(/[^\s:]/g,""),!1}),Ro},Oo.beforeAfter=function(ro,Ro){var vi;ro.type==="decl"?vi=this.raw(ro,null,"beforeDecl"):ro.type==="comment"?vi=this.raw(ro,null,"beforeComment"):Ro==="before"?vi=this.raw(ro,null,"beforeRule"):vi=this.raw(ro,null,"beforeClose");for(var Ln=ro.parent,za=0;Ln&&Ln.type!=="root";)za+=1,Ln=Ln.parent;if(vi.indexOf(`
`)!==-1){var Na=this.raw(ro,null,"indent");if(Na.length)for(var Zo=0;Zo<za;Zo++)vi+=Na}return vi},Oo.rawValue=function(ro,Ro){var vi=ro[Ro],Ln=ro.raws[Ro];return Ln&&Ln.value===vi?Ln.raw:vi},xo}(),Io=to;Wn.default=Io,Ka.exports=Wn.default}}),ms=eo({"node_modules/postcss/lib/stringify.js"(Wn,Ka){Ts(),Wn.__esModule=!0,Wn.default=void 0;var La=Fa(Pl());function Fa(xo){return xo&&xo.__esModule?xo:{default:xo}}function to(xo,Oo){var ro=new La.default(Oo);ro.stringify(xo)}var Io=to;Wn.default=Io,Ka.exports=Wn.default}}),Cl=eo({"node_modules/postcss/lib/node.js"(Wn,Ka){Ts(),Wn.__esModule=!0,Wn.default=void 0;var La=Io(Vs()),Fa=Io(Pl()),to=Io(ms());function Io(Ro){return Ro&&Ro.__esModule?Ro:{default:Ro}}function xo(Ro,vi){var Ln=new Ro.constructor;for(var za in Ro)if(Ro.hasOwnProperty(za)){var Na=Ro[za],Zo=typeof Na;za==="parent"&&Zo==="object"?vi&&(Ln[za]=vi):za==="source"?Ln[za]=Na:Na instanceof Array?Ln[za]=Na.map(function(Fo){return xo(Fo,Ln)}):(Zo==="object"&&Na!==null&&(Na=xo(Na)),Ln[za]=Na)}return Ln}var Oo=function(){function Ro(Ln){Ln===void 0&&(Ln={}),this.raws={};for(var za in Ln)this[za]=Ln[za]}var vi=Ro.prototype;return vi.error=function(Ln,za){if(za===void 0&&(za={}),this.source){var Na=this.positionBy(za);return this.source.input.error(Ln,Na.line,Na.column,za)}return new La.default(Ln)},vi.warn=function(Ln,za,Na){var Zo={node:this};for(var Fo in Na)Zo[Fo]=Na[Fo];return Ln.warn(za,Zo)},vi.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},vi.toString=function(Ln){Ln===void 0&&(Ln=to.default),Ln.stringify&&(Ln=Ln.stringify);var za="";return Ln(this,function(Na){za+=Na}),za},vi.clone=function(Ln){Ln===void 0&&(Ln={});var za=xo(this);for(var Na in Ln)za[Na]=Ln[Na];return za},vi.cloneBefore=function(Ln){Ln===void 0&&(Ln={});var za=this.clone(Ln);return this.parent.insertBefore(this,za),za},vi.cloneAfter=function(Ln){Ln===void 0&&(Ln={});var za=this.clone(Ln);return this.parent.insertAfter(this,za),za},vi.replaceWith=function(){if(this.parent){for(var Ln=arguments.length,za=new Array(Ln),Na=0;Na<Ln;Na++)za[Na]=arguments[Na];for(var Zo=0,Fo=za;Zo<Fo.length;Zo++){var Ss=Fo[Zo];this.parent.insertBefore(this,Ss)}this.remove()}return this},vi.next=function(){if(this.parent){var Ln=this.parent.index(this);return this.parent.nodes[Ln+1]}},vi.prev=function(){if(this.parent){var Ln=this.parent.index(this);return this.parent.nodes[Ln-1]}},vi.before=function(Ln){return this.parent.insertBefore(this,Ln),this},vi.after=function(Ln){return this.parent.insertAfter(this,Ln),this},vi.toJSON=function(){var Ln={};for(var za in this)if(this.hasOwnProperty(za)&&za!=="parent"){var Na=this[za];Na instanceof Array?Ln[za]=Na.map(function(Zo){return typeof Zo=="object"&&Zo.toJSON?Zo.toJSON():Zo}):typeof Na=="object"&&Na.toJSON?Ln[za]=Na.toJSON():Ln[za]=Na}return Ln},vi.raw=function(Ln,za){var Na=new Fa.default;return Na.raw(this,Ln,za)},vi.root=function(){for(var Ln=this;Ln.parent;)Ln=Ln.parent;return Ln},vi.cleanRaws=function(Ln){delete this.raws.before,delete this.raws.after,Ln||delete this.raws.between},vi.positionInside=function(Ln){for(var za=this.toString(),Na=this.source.start.column,Zo=this.source.start.line,Fo=0;Fo<Ln;Fo++)za[Fo]===`
`?(Na=1,Zo+=1):Na+=1;return{line:Zo,column:Na}},vi.positionBy=function(Ln){var za=this.source.start;if(Ln.index)za=this.positionInside(Ln.index);else if(Ln.word){var Na=this.toString().indexOf(Ln.word);Na!==-1&&(za=this.positionInside(Na))}return za},Ro}(),ro=Oo;Wn.default=ro,Ka.exports=Wn.default}}),Rs=eo({"node_modules/postcss/lib/comment.js"(Wn,Ka){Ts(),Wn.__esModule=!0,Wn.default=void 0;var La=Fa(Cl());function Fa(Oo){return Oo&&Oo.__esModule?Oo:{default:Oo}}function to(Oo,ro){Oo.prototype=Object.create(ro.prototype),Oo.prototype.constructor=Oo,Oo.__proto__=ro}var Io=function(Oo){to(ro,Oo);function ro(Ro){var vi;return vi=Oo.call(this,Ro)||this,vi.type="comment",vi}return ro}(La.default),xo=Io;Wn.default=xo,Ka.exports=Wn.default}}),Is=eo({"node_modules/postcss/lib/declaration.js"(Wn,Ka){Ts(),Wn.__esModule=!0,Wn.default=void 0;var La=Fa(Cl());function Fa(Oo){return Oo&&Oo.__esModule?Oo:{default:Oo}}function to(Oo,ro){Oo.prototype=Object.create(ro.prototype),Oo.prototype.constructor=Oo,Oo.__proto__=ro}var Io=function(Oo){to(ro,Oo);function ro(Ro){var vi;return vi=Oo.call(this,Ro)||this,vi.type="decl",vi}return ro}(La.default),xo=Io;Wn.default=xo,Ka.exports=Wn.default}}),$s=eo({"node_modules/postcss/lib/tokenize.js"(Wn,Ka){Ts(),Wn.__esModule=!0,Wn.default=Vc;var La=39,Fa=34,to=92,Io=47,xo=10,Oo=32,ro=12,Ro=9,vi=13,Ln=91,za=93,Na=40,Zo=41,Fo=123,Ss=125,_s=59,Uo=42,Qs=58,nl=64,yl=/[ \n\t\r\f{}()'"\\;/[\]#]/g,Hu=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g,pc=/.[\\/("'\n]/,Ec=/[a-f0-9]/i;function Vc(Hc,Kc){Kc===void 0&&(Kc={});var qc=Hc.css.valueOf(),Uc=Kc.ignoreErrors,tc,Du,rc,Au,Ef,Fd,ef,Rd,yd,Ac,Xc,Qc,id,ml,fu=qc.length,Tu=-1,hc=1,cl=0,$c=[],Nc=[];function Hf(){return cl}function _f(Nf){throw Hc.error("Unclosed "+Nf,hc,cl-Tu)}function sf(){return Nc.length===0&&cl>=fu}function $p(Nf){if(Nc.length)return Nc.pop();if(!(cl>=fu)){var ud=Nf?Nf.ignoreUnclosed:!1;switch(tc=qc.charCodeAt(cl),(tc===xo||tc===ro||tc===vi&&qc.charCodeAt(cl+1)!==xo)&&(Tu=cl,hc+=1),tc){case xo:case Oo:case Ro:case vi:case ro:Du=cl;do Du+=1,tc=qc.charCodeAt(Du),tc===xo&&(Tu=Du,hc+=1);while(tc===Oo||tc===xo||tc===Ro||tc===vi||tc===ro);ml=["space",qc.slice(cl,Du)],cl=Du-1;break;case Ln:case za:case Fo:case Ss:case Qs:case _s:case Zo:var Sf=String.fromCharCode(tc);ml=[Sf,Sf,hc,cl-Tu];break;case Na:if(Qc=$c.length?$c.pop()[1]:"",id=qc.charCodeAt(cl+1),Qc==="url"&&id!==La&&id!==Fa&&id!==Oo&&id!==xo&&id!==Ro&&id!==ro&&id!==vi){Du=cl;do{if(Ac=!1,Du=qc.indexOf(")",Du+1),Du===-1)if(Uc||ud){Du=cl;break}else _f("bracket");for(Xc=Du;qc.charCodeAt(Xc-1)===to;)Xc-=1,Ac=!Ac}while(Ac);ml=["brackets",qc.slice(cl,Du+1),hc,cl-Tu,hc,Du-Tu],cl=Du}else Du=qc.indexOf(")",cl+1),Fd=qc.slice(cl,Du+1),Du===-1||pc.test(Fd)?ml=["(","(",hc,cl-Tu]:(ml=["brackets",Fd,hc,cl-Tu,hc,Du-Tu],cl=Du);break;case La:case Fa:rc=tc===La?"'":'"',Du=cl;do{if(Ac=!1,Du=qc.indexOf(rc,Du+1),Du===-1)if(Uc||ud){Du=cl+1;break}else _f("string");for(Xc=Du;qc.charCodeAt(Xc-1)===to;)Xc-=1,Ac=!Ac}while(Ac);Fd=qc.slice(cl,Du+1),Au=Fd.split(`
`),Ef=Au.length-1,Ef>0?(Rd=hc+Ef,yd=Du-Au[Ef].length):(Rd=hc,yd=Tu),ml=["string",qc.slice(cl,Du+1),hc,cl-Tu,Rd,Du-yd],Tu=yd,hc=Rd,cl=Du;break;case nl:yl.lastIndex=cl+1,yl.test(qc),yl.lastIndex===0?Du=qc.length-1:Du=yl.lastIndex-2,ml=["at-word",qc.slice(cl,Du+1),hc,cl-Tu,hc,Du-Tu],cl=Du;break;case to:for(Du=cl,ef=!0;qc.charCodeAt(Du+1)===to;)Du+=1,ef=!ef;if(tc=qc.charCodeAt(Du+1),ef&&tc!==Io&&tc!==Oo&&tc!==xo&&tc!==Ro&&tc!==vi&&tc!==ro&&(Du+=1,Ec.test(qc.charAt(Du)))){for(;Ec.test(qc.charAt(Du+1));)Du+=1;qc.charCodeAt(Du+1)===Oo&&(Du+=1)}ml=["word",qc.slice(cl,Du+1),hc,cl-Tu,hc,Du-Tu],cl=Du;break;default:tc===Io&&qc.charCodeAt(cl+1)===Uo?(Du=qc.indexOf("*/",cl+2)+1,Du===0&&(Uc||ud?Du=qc.length:_f("comment")),Fd=qc.slice(cl,Du+1),Au=Fd.split(`
`),Ef=Au.length-1,Ef>0?(Rd=hc+Ef,yd=Du-Au[Ef].length):(Rd=hc,yd=Tu),ml=["comment",Fd,hc,cl-Tu,Rd,Du-yd],Tu=yd,hc=Rd,cl=Du):(Hu.lastIndex=cl+1,Hu.test(qc),Hu.lastIndex===0?Du=qc.length-1:Du=Hu.lastIndex-2,ml=["word",qc.slice(cl,Du+1),hc,cl-Tu,hc,Du-Tu],$c.push(ml),cl=Du);break}return cl++,ml}}function fp(Nf){Nc.push(Nf)}return{back:fp,nextToken:$p,endOfFile:sf,position:Hf}}Ka.exports=Wn.default}}),zs=eo({"node_modules/postcss/lib/parse.js"(Wn,Ka){Ts(),Wn.__esModule=!0,Wn.default=void 0;var La=to(no()),Fa=to(Ys());function to(Oo){return Oo&&Oo.__esModule?Oo:{default:Oo}}function Io(Oo,ro){var Ro=new Fa.default(Oo,ro),vi=new La.default(Ro);try{vi.parse()}catch(Ln){throw Ln}return vi.root}var xo=Io;Wn.default=xo,Ka.exports=Wn.default}}),Yl=eo({"node_modules/postcss/lib/list.js"(Wn,Ka){Ts(),Wn.__esModule=!0,Wn.default=void 0;var La={split:function(to,Io,xo){for(var Oo=[],ro="",Ro=!1,vi=0,Ln=!1,za=!1,Na=0;Na<to.length;Na++){var Zo=to[Na];Ln?za?za=!1:Zo==="\\"?za=!0:Zo===Ln&&(Ln=!1):Zo==='"'||Zo==="'"?Ln=Zo:Zo==="("?vi+=1:Zo===")"?vi>0&&(vi-=1):vi===0&&Io.indexOf(Zo)!==-1&&(Ro=!0),Ro?(ro!==""&&Oo.push(ro.trim()),ro="",Ro=!1):ro+=Zo}return(xo||ro!=="")&&Oo.push(ro.trim()),Oo},space:function(to){var Io=[" ",`
`," "];return La.split(to,Io)},comma:function(to){return La.split(to,[","],!0)}},Fa=La;Wn.default=Fa,Ka.exports=Wn.default}}),hu=eo({"node_modules/postcss/lib/rule.js"(Wn,Ka){Ts(),Wn.__esModule=!0,Wn.default=void 0;var La=to(Bu()),Fa=to(Yl());function to(vi){return vi&&vi.__esModule?vi:{default:vi}}function Io(vi,Ln){for(var za=0;za<Ln.length;za++){var Na=Ln[za];Na.enumerable=Na.enumerable||!1,Na.configurable=!0,"value"in Na&&(Na.writable=!0),Object.defineProperty(vi,Na.key,Na)}}function xo(vi,Ln,za){return Ln&&Io(vi.prototype,Ln),vi}function Oo(vi,Ln){vi.prototype=Object.create(Ln.prototype),vi.prototype.constructor=vi,vi.__proto__=Ln}var ro=function(vi){Oo(Ln,vi);function Ln(za){var Na;return Na=vi.call(this,za)||this,Na.type="rule",Na.nodes||(Na.nodes=[]),Na}return xo(Ln,[{key:"selectors",get:function(){return Fa.default.comma(this.selector)},set:function(za){var Na=this.selector?this.selector.match(/,\s*/):null,Zo=Na?Na[0]:","+this.raw("between","beforeOpen");this.selector=za.join(Zo)}}]),Ln}(La.default),Ro=ro;Wn.default=Ro,Ka.exports=Wn.default}}),Bu=eo({"node_modules/postcss/lib/container.js"(Wn,Ka){Ts(),Wn.__esModule=!0,Wn.default=void 0;var La=Io(Is()),Fa=Io(Rs()),to=Io(Cl());function Io(Fo){return Fo&&Fo.__esModule?Fo:{default:Fo}}function xo(Fo,Ss){var _s;if(typeof Symbol>"u"||Fo[Symbol.iterator]==null){if(Array.isArray(Fo)||(_s=Oo(Fo))||Ss){_s&&(Fo=_s);var Uo=0;return function(){return Uo>=Fo.length?{done:!0}:{done:!1,value:Fo[Uo++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return _s=Fo[Symbol.iterator](),_s.next.bind(_s)}function Oo(Fo,Ss){if(Fo){if(typeof Fo=="string")return ro(Fo,Ss);var _s=Object.prototype.toString.call(Fo).slice(8,-1);if(_s==="Object"&&Fo.constructor&&(_s=Fo.constructor.name),_s==="Map"||_s==="Set")return Array.from(Fo);if(_s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_s))return ro(Fo,Ss)}}function ro(Fo,Ss){(Ss==null||Ss>Fo.length)&&(Ss=Fo.length);for(var _s=0,Uo=new Array(Ss);_s<Ss;_s++)Uo[_s]=Fo[_s];return Uo}function Ro(Fo,Ss){for(var _s=0;_s<Ss.length;_s++){var Uo=Ss[_s];Uo.enumerable=Uo.enumerable||!1,Uo.configurable=!0,"value"in Uo&&(Uo.writable=!0),Object.defineProperty(Fo,Uo.key,Uo)}}function vi(Fo,Ss,_s){return Ss&&Ro(Fo.prototype,Ss),Fo}function Ln(Fo,Ss){Fo.prototype=Object.create(Ss.prototype),Fo.prototype.constructor=Fo,Fo.__proto__=Ss}function za(Fo){return Fo.map(function(Ss){return Ss.nodes&&(Ss.nodes=za(Ss.nodes)),delete Ss.source,Ss})}var Na=function(Fo){Ln(Ss,Fo);function Ss(){return Fo.apply(this,arguments)||this}var _s=Ss.prototype;return _s.push=function(Uo){return Uo.parent=this,this.nodes.push(Uo),this},_s.each=function(Uo){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var Qs=this.lastEach;if(this.indexes[Qs]=0,!!this.nodes){for(var nl,yl;this.indexes[Qs]<this.nodes.length&&(nl=this.indexes[Qs],yl=Uo(this.nodes[nl],nl),yl!==!1);)this.indexes[Qs]+=1;return delete this.indexes[Qs],yl}},_s.walk=function(Uo){return this.each(function(Qs,nl){var yl;try{yl=Uo(Qs,nl)}catch(pc){if(pc.postcssNode=Qs,pc.stack&&Qs.source&&/\n\s{4}at /.test(pc.stack)){var Hu=Qs.source;pc.stack=pc.stack.replace(/\n\s{4}at /,"$&"+Hu.input.from+":"+Hu.start.line+":"+Hu.start.column+"$&")}throw pc}return yl!==!1&&Qs.walk&&(yl=Qs.walk(Uo)),yl})},_s.walkDecls=function(Uo,Qs){return Qs?Uo instanceof RegExp?this.walk(function(nl,yl){if(nl.type==="decl"&&Uo.test(nl.prop))return Qs(nl,yl)}):this.walk(function(nl,yl){if(nl.type==="decl"&&nl.prop===Uo)return Qs(nl,yl)}):(Qs=Uo,this.walk(function(nl,yl){if(nl.type==="decl")return Qs(nl,yl)}))},_s.walkRules=function(Uo,Qs){return Qs?Uo instanceof RegExp?this.walk(function(nl,yl){if(nl.type==="rule"&&Uo.test(nl.selector))return Qs(nl,yl)}):this.walk(function(nl,yl){if(nl.type==="rule"&&nl.selector===Uo)return Qs(nl,yl)}):(Qs=Uo,this.walk(function(nl,yl){if(nl.type==="rule")return Qs(nl,yl)}))},_s.walkAtRules=function(Uo,Qs){return Qs?Uo instanceof RegExp?this.walk(function(nl,yl){if(nl.type==="atrule"&&Uo.test(nl.name))return Qs(nl,yl)}):this.walk(function(nl,yl){if(nl.type==="atrule"&&nl.name===Uo)return Qs(nl,yl)}):(Qs=Uo,this.walk(function(nl,yl){if(nl.type==="atrule")return Qs(nl,yl)}))},_s.walkComments=function(Uo){return this.walk(function(Qs,nl){if(Qs.type==="comment")return Uo(Qs,nl)})},_s.append=function(){for(var Uo=arguments.length,Qs=new Array(Uo),nl=0;nl<Uo;nl++)Qs[nl]=arguments[nl];for(var yl=0,Hu=Qs;yl<Hu.length;yl++)for(var pc=Hu[yl],Ec=this.normalize(pc,this.last),Vc=xo(Ec),Hc;!(Hc=Vc()).done;){var Kc=Hc.value;this.nodes.push(Kc)}return this},_s.prepend=function(){for(var Uo=arguments.length,Qs=new Array(Uo),nl=0;nl<Uo;nl++)Qs[nl]=arguments[nl];Qs=Qs.reverse();for(var yl=xo(Qs),Hu;!(Hu=yl()).done;){for(var pc=Hu.value,Ec=this.normalize(pc,this.first,"prepend").reverse(),Vc=xo(Ec),Hc;!(Hc=Vc()).done;){var Kc=Hc.value;this.nodes.unshift(Kc)}for(var qc in this.indexes)this.indexes[qc]=this.indexes[qc]+Ec.length}return this},_s.cleanRaws=function(Uo){if(Fo.prototype.cleanRaws.call(this,Uo),this.nodes)for(var Qs=xo(this.nodes),nl;!(nl=Qs()).done;){var yl=nl.value;yl.cleanRaws(Uo)}},_s.insertBefore=function(Uo,Qs){Uo=this.index(Uo);for(var nl=Uo===0?"prepend":!1,yl=this.normalize(Qs,this.nodes[Uo],nl).reverse(),Hu=xo(yl),pc;!(pc=Hu()).done;){var Ec=pc.value;this.nodes.splice(Uo,0,Ec)}var Vc;for(var Hc in this.indexes)Vc=this.indexes[Hc],Uo<=Vc&&(this.indexes[Hc]=Vc+yl.length);return this},_s.insertAfter=function(Uo,Qs){Uo=this.index(Uo);for(var nl=this.normalize(Qs,this.nodes[Uo]).revers
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return _s=Fo[Symbol.iterator](),_s.next.bind(_s)}function ro(Fo,Ss){if(Fo){if(typeof Fo=="string")return Ro(Fo,Ss);var _s=Object.prototype.toString.call(Fo).slice(8,-1);if(_s==="Object"&&Fo.constructor&&(_s=Fo.constructor.name),_s==="Map"||_s==="Set")return Array.from(Fo);if(_s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_s))return Ro(Fo,Ss)}}function Ro(Fo,Ss){(Ss==null||Ss>Fo.length)&&(Ss=Fo.length);for(var _s=0,Uo=new Array(Ss);_s<Ss;_s++)Uo[_s]=Fo[_s];return Uo}function vi(Fo,Ss){for(var _s=0;_s<Ss.length;_s++){var Uo=Ss[_s];Uo.enumerable=Uo.enumerable||!1,Uo.configurable=!0,"value"in Uo&&(Uo.writable=!0),Object.defineProperty(Fo,Uo.key,Uo)}}function Ln(Fo,Ss,_s){return Ss&&vi(Fo.prototype,Ss),Fo}function za(Fo){return typeof Fo=="object"&&typeof Fo.then=="function"}var Na=function(){function Fo(_s,Uo,Qs){this.stringified=!1,this.processed=!1;var nl;if(typeof Uo=="object"&&Uo!==null&&Uo.type==="root")nl=Uo;else if(Uo instanceof Fo||Uo instanceof to.default)nl=Uo.root,Uo.map&&(typeof Qs.map>"u"&&(Qs.map={}),Qs.map.inline||(Qs.map.inline=!1),Qs.map.prev=Uo.map);else{var yl=Io.default;Qs.syntax&&(yl=Qs.syntax.parse),Qs.parser&&(yl=Qs.parser),yl.parse&&(yl=yl.parse);try{nl=yl(Uo,Qs)}catch(Hu){this.error=Hu}}this.result=new to.default(_s,nl,Qs)}var Ss=Fo.prototype;return Ss.warnings=function(){return this.sync().warnings()},Ss.toString=function(){return this.css},Ss.then=function(_s,Uo){return this.async().then(_s,Uo)},Ss.catch=function(_s){return this.async().catch(_s)},Ss.finally=function(_s){return this.async().then(_s,_s)},Ss.handleError=function(_s,Uo){try{if(this.error=_s,_s.name==="CssSyntaxError"&&!_s.plugin)_s.plugin=Uo.postcssPlugin,_s.setMessage();else if(Uo.postcssVersion&&!1)var Qs,nl,yl,Hu,pc}catch(Ec){console&&console.error&&console.error(Ec)}},Ss.asyncTick=function(_s,Uo){var Qs=this;if(this.plugin>=this.processor.plugins.length)return this.processed=!0,_s();try{var nl=this.processor.plugins[this.plugin],yl=this.run(nl);this.plugin+=1,za(yl)?yl.then(function(){Qs.asyncTick(_s,Uo)}).catch(function(Hu){Qs.handleError(Hu,nl),Qs.processed=!0,Uo(Hu)}):this.asyncTick(_s,Uo)}catch(Hu){this.processed=!0,Uo(Hu)}},Ss.async=function(){var _s=this;return this.processed?new Promise(function(Uo,Qs){_s.error?Qs(_s.error):Uo(_s.stringify())}):this.processing?this.processing:(this.processing=new Promise(function(Uo,Qs){if(_s.error)return Qs(_s.error);_s.plugin=0,_s.asyncTick(Uo,Qs)}).then(function(){return _s.processed=!0,_s.stringify()}),this.processing)},Ss.sync=function(){if(this.processed)return this.result;if(this.processed=!0,this.processing)throw new Error("Use process(css).then(cb) to work with async plugins");if(this.error)throw this.error;for(var _s=Oo(this.result.processor.plugins),Uo;!(Uo=_s()).done;){var Qs=Uo.value,nl=this.run(Qs);if(za(nl))throw new Error("Use process(css).then(cb) to work with async plugins")}return this.result},Ss.run=function(_s){this.result.lastPlugin=_s;try{return _s(this.result.root,this.result)}catch(Uo){throw this.handleError(Uo,_s),Uo}},Ss.stringify=function(){if(this.stringified)return this.result;this.stringified=!0,this.sync();var _s=this.result.opts,Uo=Fa.default;_s.syntax&&(Uo=_s.syntax.stringify),_s.stringifier&&(Uo=_s.stringifier),Uo.stringify&&(Uo=Uo.stringify);var Qs=new La.default(Uo,this.result.root,this.result.opts),nl=Qs.generate();return this.result.css=nl[0],this.result.map=nl[1],this.result},Ln(Fo,[{key:"processor",get:function(){return this.result.processor}},{key:"opts",get:function(){return this.result.opts}},{key:"css",get:function(){return this.stringify().css}},{key:"content",get:function(){return this.stringify().content}},{key:"map",get:function(){return this.stringify().map}},{key:"root",get:function(){return this.sync().root}},{key:"messages",get:function(){return this.sync().messages}}]),Fo}(),Zo=Na;Wn.default=Zo,Ka.exports=Wn.default}}),mc=eo({"node_modules/postcss/lib/processor.js"(Wn,Ka){Ts(),Wn.__esModule=!0,Wn.default=void 0;var La=Fa(Lu());functio
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return Ln=Ro[Symbol.iterator](),Ln.next.bind(Ln)}function Io(Ro,vi){if(Ro){if(typeof Ro=="string")return xo(Ro,vi);var Ln=Object.prototype.toString.call(Ro).slice(8,-1);if(Ln==="Object"&&Ro.constructor&&(Ln=Ro.constructor.name),Ln==="Map"||Ln==="Set")return Array.from(Ro);if(Ln==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ln))return xo(Ro,vi)}}function xo(Ro,vi){(vi==null||vi>Ro.length)&&(vi=Ro.length);for(var Ln=0,za=new Array(vi);Ln<vi;Ln++)za[Ln]=Ro[Ln];return za}var Oo=function(){function Ro(Ln){Ln===void 0&&(Ln=[]),this.version="7.0.39",this.plugins=this.normalize(Ln)}var vi=Ro.prototype;return vi.use=function(Ln){return this.plugins=this.plugins.concat(this.normalize([Ln])),this},vi.process=function(Ln){function za(Na){return Ln.apply(this,arguments)}return za.toString=function(){return Ln.toString()},za}(function(Ln,za){return za===void 0&&(za={}),this.plugins.length===0&&(za.parser,za.stringifier),new La.default(this,Ln,za)}),vi.normalize=function(Ln){for(var za=[],Na=to(Ln),Zo;!(Zo=Na()).done;){var Fo=Zo.value;if(Fo.postcss===!0){var Ss=Fo();throw new Error("PostCSS plugin "+Ss.postcssPlugin+` requires PostCSS 8.
Migration guide for end-users:
https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users`)}if(Fo.postcss&&(Fo=Fo.postcss),typeof Fo=="object"&&Array.isArray(Fo.plugins))za=za.concat(Fo.plugins);else if(typeof Fo=="function")za.push(Fo);else if(!(typeof Fo=="object"&&(Fo.parse||Fo.stringify)))throw typeof Fo=="object"&&Fo.postcssPlugin?new Error("PostCSS plugin "+Fo.postcssPlugin+` requires PostCSS 8.
Migration guide for end-users:
https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users`):new Error(Fo+" is not a PostCSS plugin")}return za},Ro}(),ro=Oo;Wn.default=ro,Ka.exports=Wn.default}}),_c=eo({"node_modules/postcss/lib/root.js"(Wn,Ka){Ts(),Wn.__esModule=!0,Wn.default=void 0;var La=Fa(Bu());function Fa(vi){return vi&&vi.__esModule?vi:{default:vi}}function to(vi,Ln){var za;if(typeof Symbol>"u"||vi[Symbol.iterator]==null){if(Array.isArray(vi)||(za=Io(vi))||Ln){za&&(vi=za);var Na=0;return function(){return Na>=vi.length?{done:!0}:{done:!1,value:vi[Na++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return za=vi[Symbol.iterator](),za.next.bind(za)}function Io(vi,Ln){if(vi){if(typeof vi=="string")return xo(vi,Ln);var za=Object.prototype.toString.call(vi).slice(8,-1);if(za==="Object"&&vi.constructor&&(za=vi.constructor.name),za==="Map"||za==="Set")return Array.from(vi);if(za==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(za))return xo(vi,Ln)}}function xo(vi,Ln){(Ln==null||Ln>vi.length)&&(Ln=vi.length);for(var za=0,Na=new Array(Ln);za<Ln;za++)Na[za]=vi[za];return Na}function Oo(vi,Ln){vi.prototype=Object.create(Ln.prototype),vi.prototype.constructor=vi,vi.__proto__=Ln}var ro=function(vi){Oo(Ln,vi);function Ln(Na){var Zo;return Zo=vi.call(this,Na)||this,Zo.type="root",Zo.nodes||(Zo.nodes=[]),Zo}var za=Ln.prototype;return za.removeChild=function(Na,Zo){var Fo=this.index(Na);return!Zo&&Fo===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[Fo].raws.before),vi.prototype.removeChild.call(this,Na)},za.normalize=function(Na,Zo,Fo){var Ss=vi.prototype.normalize.call(this,Na);if(Zo){if(Fo==="prepend")this.nodes.length>1?Zo.raws.before=this.nodes[1].raws.before:delete Zo.raws.before;else if(this.first!==Zo)for(var _s=to(Ss),Uo;!(Uo=_s()).done;){var Qs=Uo.value;Qs.raws.before=Zo.raws.before}}return Ss},za.toResult=function(Na){Na===void 0&&(Na={});var Zo=Lu(),Fo=mc(),Ss=new Zo(new Fo,this,Na);return Ss.stringify()},Ln}(La.default),Ro=ro;Wn.default=Ro,Ka.exports=Wn.default}}),no=eo({"node_modules/postcss/lib/parser.js"(Wn,Ka){Ts(),Wn.__esModule=!0,Wn.default=void 0;var La=ro(Is()),Fa=ro($s()),to=ro(Rs()),Io=ro(Wl()),xo=ro(_c()),Oo=ro(hu());function ro(vi){return vi&&vi.__esModule?vi:{default:vi}}var Ro=function(){function vi(za){this.input=za,this.root=new xo.default,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:za,start:{line:1,column:1}}}var Ln=vi.prototype;return Ln.createTokenizer=function(){this.tokenizer=(0,Fa.default)(this.input)},Ln.parse=function(){for(var za;!this.tokenizer.endOfFile();)switch(za=this.tokenizer.nextToken(),za[0]){case"space":this.spaces+=za[1];break;case";":this.freeSemicolon(za);break;case"}":this.end(za);break;case"comment":this.comment(za);break;case"at-word":this.atrule(za);break;case"{":this.emptyRule(za);break;default:this.other(za);break}this.endFile()},Ln.comment=function(za){var Na=new to.default;this.init(Na,za[2],za[3]),Na.source.end={line:za[4],column:za[5]};var Zo=za[1].slice(2,-2);if(/^\s*$/.test(Zo))Na.text="",Na.raws.left=Zo,Na.raws.right="";else{var Fo=Zo.match(/^(\s*)([^]*[^\s])(\s*)$/);Na.text=Fo[2],Na.raws.left=Fo[1],Na.raws.right=Fo[3]}},Ln.emptyRule=function(za){var Na=new Oo.default;this.init(Na,za[2],za[3]),Na.selector="",Na.raws.between="",this.current=Na},Ln.other=function(za){for(var Na=!1,Zo=null,Fo=!1,Ss=null,_s=[],Uo=[],Qs=za;Qs;){if(Zo=Qs[0],Uo.push(Qs),Zo==="("||Zo==="[")Ss||(Ss=Qs),_s.push(Zo==="("?")":"]");else if(_s.length===0)if(Zo===";")if(Fo){this.decl(Uo);return}else break;else if(Zo==="{"){this.rule(Uo);return}else if(Zo==="}"){this.tokenizer.back(Uo.pop()),Na=!0;break}else Zo===":"&&(Fo=!0);else Zo===_s[_s.length-1]&&(_s.pop(),_s.length===0&&(Ss=null));Qs=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(Na=!0),_s.length>0&&this.unclosedBracket(Ss),Na&&Fo){for(;Uo.length&&(Qs=Uo[Uo.length-1][0],!(Qs!=="space"&&Qs!=="comment"));)this.tokenizer.back(Uo.pop());this.decl(Uo)}else this.unknownWord(Uo)},Ln.rule=function(za){za.pop();var Na=new Oo.default;this.init(Na,za[0][2],za[0][3]),Na.raws.between=this.spacesAndCommentsFromEnd(za),this.raw(Na,"selector",za),this.current=Na},Ln.decl=function(za){var Na=new La.default;this.init(Na);var Zo=za[za.length-1];for(Zo[0]===";"&&(this.semicolon=!0,za.pop()),Zo[4]?Na.source.end={line:Zo[4],column:Zo[5]}:Na.source.end={line:Zo[2],column:Zo[3]};za[0][0]!=="word";)za.length===1&&this.unknownWord(za),Na.raws.before+=za.shift()[1];for(Na.source.start={line:za[0][2],column:za[0][3]},Na.prop="";za.length;){var Fo=za[0][0];if(Fo===":"||Fo==="space"||Fo==="co
`)));let Ro=to[1].substring(to[1].indexOf(`
`));Ro+=this.input.css.valueOf().substring(this.tokenizer.position()),this.input=new Fa(Ro),this.tokenizer=La(this.input)}else this.tokenizer.back(to);break}xo.push(to[1]),Oo=to,to=this.tokenizer.nextToken({ignoreUnclosed:!0})}let ro=["comment",xo.join(""),Io[2],Io[3],Oo[2],Oo[3]];return this.inlineComment(ro),!0}else if(to[1]==="/"){let Io=this.tokenizer.nextToken({ignoreUnclosed:!0});if(Io[0]==="comment"&&/^\/\*/.test(Io[1]))return Io[0]="word",Io[1]=Io[1].slice(1),to[1]="//",this.tokenizer.back(Io),Ka.exports.isInlineComment.bind(this)(to)}return!1}}}}),Ic=eo({"node_modules/postcss-less/lib/nodes/interpolation.js"(Wn,Ka){Ts(),Ka.exports={interpolation(La){let Fa=La,to=[La],Io=["word","{","}"];if(La=this.tokenizer.nextToken(),Fa[1].length>1||La[0]!=="{")return this.tokenizer.back(La),!1;for(;La&&Io.includes(La[0]);)to.push(La),La=this.tokenizer.nextToken();let xo=to.map(Ln=>Ln[1]);[Fa]=to;let Oo=to.pop(),ro=[Fa[2],Fa[3]],Ro=[Oo[4]||Oo[2],Oo[5]||Oo[3]],vi=["word",xo.join("")].concat(ro,Ro);return this.tokenizer.back(La),this.tokenizer.back(vi),!0}}}}),ju=eo({"node_modules/postcss-less/lib/nodes/mixin.js"(Wn,Ka){Ts();var La=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/,Fa=/\.[0-9]/,to=Io=>{let[,xo]=Io,[Oo]=xo;return(Oo==="."||Oo==="#")&&La.test(xo)===!1&&Fa.test(xo)===!1};Ka.exports={isMixinToken:to}}}),bu=eo({"node_modules/postcss-less/lib/nodes/import.js"(Wn,Ka){Ts();var La=$s(),Fa=/^url\((.+)\)/;Ka.exports=to=>{let{name:Io,params:xo=""}=to;if(Io==="import"&&xo.length){to.import=!0;let Oo=La({css:xo});for(to.filename=xo.replace(Fa,"$1");!Oo.endOfFile();){let[ro,Ro]=Oo.nextToken();if(ro==="word"&&Ro==="url")return;if(ro==="brackets"){to.options=Ro,to.filename=xo.replace(Ro,"").trim();break}}}}}}),Ku=eo({"node_modules/postcss-less/lib/nodes/variable.js"(Wn,Ka){Ts();var La=/:$/,Fa=/^:(\s+)?/;Ka.exports=to=>{let{name:Io,params:xo=""}=to;if(to.name.slice(-1)===":"){if(La.test(Io)){let[Oo]=Io.match(La);to.name=Io.replace(Oo,""),to.raws.afterName=Oo+(to.raws.afterName||""),to.variable=!0,to.value=to.params}if(Fa.test(xo)){let[Oo]=xo.match(Fa);to.value=xo.replace(Oo,""),to.raws.afterName=(to.raws.afterName||"")+Oo,to.variable=!0}}}}}),du=eo({"node_modules/postcss-less/lib/LessParser.js"(Wn,Ka){Ts();var La=Rs(),Fa=no(),{isInlineComment:to}=$u(),{interpolation:Io}=Ic(),{isMixinToken:xo}=ju(),Oo=bu(),ro=Ku(),Ro=/(!\s*important)$/i;Ka.exports=class extends Fa{constructor(){super(...arguments),this.lastNode=null}atrule(vi){Io.bind(this)(vi)||(super.atrule(vi),Oo(this.lastNode),ro(this.lastNode))}decl(){super.decl(...arguments),/extend\(.+\)/i.test(this.lastNode.value)&&(this.lastNode.extend=!0)}each(vi){vi[0][1]=` ${vi[0][1]}`;let Ln=vi.findIndex(Fo=>Fo[0]==="("),za=vi.reverse().find(Fo=>Fo[0]===")"),Na=vi.reverse().indexOf(za),Zo=vi.splice(Ln,Na).map(Fo=>Fo[1]).join("");for(let Fo of vi.reverse())this.tokenizer.back(Fo);this.atrule(this.tokenizer.nextToken()),this.lastNode.function=!0,this.lastNode.params=Zo}init(vi,Ln,za){super.init(vi,Ln,za),this.lastNode=vi}inlineComment(vi){let Ln=new La,za=vi[1].slice(2);if(this.init(Ln,vi[2],vi[3]),Ln.source.end={line:vi[4],column:vi[5]},Ln.inline=!0,Ln.raws.begin="//",/^\s*$/.test(za))Ln.text="",Ln.raws.left=za,Ln.raws.right="";else{let Na=za.match(/^(\s*)([^]*[^\s])(\s*)$/);[,Ln.raws.left,Ln.text,Ln.raws.right]=Na}}mixin(vi){let[Ln]=vi,za=Ln[1].slice(0,1),Na=vi.findIndex(Uo=>Uo[0]==="brackets"),Zo=vi.findIndex(Uo=>Uo[0]==="("),Fo="";if((Na<0||Na>3)&&Zo>0){let Uo=vi.reduce((Kc,qc,Uc)=>qc[0]===")"?Uc:Kc),Qs=vi.slice(Zo,Uo+Zo).map(Kc=>Kc[1]).join(""),[nl]=vi.slice(Zo),yl=[nl[2],nl[3]],[Hu]=vi.slice(Uo,Uo+1),pc=[Hu[2],Hu[3]],Ec=["brackets",Qs].concat(yl,pc),Vc=vi.slice(0,Zo),Hc=vi.slice(Uo+1);vi=Vc,vi.push(Ec),vi=vi.concat(Hc)}let Ss=[];for(let Uo of vi)if((Uo[1]==="!"||Ss.length)&&Ss.push(Uo),Uo[1]==="important")break;if(Ss.length){let[Uo]=Ss,Qs=vi.indexOf(Uo),nl=Ss[Ss.length-1],yl=[Uo[2],Uo[3]],Hu=[nl[4],nl[5]],pc=["word",Ss.map(Ec=>Ec[1]).join("")].concat(yl,Hu);vi.splice(Qs,Ss.length,pc)}let _s=vi.findIndex(Uo=>Ro.test(Uo[1]));_s>0&&([,Fo]=vi[_s],vi.splice(_s,1));for(let Uo of vi.reverse())this.t
`),ef=Fd.length-1,ef>0?(Ac=$c+ef,Xc=Au-Fd[ef].length):(Ac=$c,Xc=cl),fu=["brackets",Rd,$c,Nc-cl,Ac,Au-Xc],cl=Xc,$c=Ac,Nc=Au}else Au=tc.indexOf(")",Nc+1),Rd=tc.slice(Nc,Au+1),Au===-1||Vc.test(Rd)?fu=["(","(",$c,Nc-cl]:(fu=["brackets",Rd,$c,Nc-cl,$c,Au-cl],Nc=Au);break;case Zo:fu=[")",")",$c,Nc-cl];break;case La:case Fa:for(Ef=rc,Au=Nc,Qc=!1;Au<hc&&(Au++,Au===hc&&sf("string"),rc=tc.charCodeAt(Au),ml=tc.charCodeAt(Au+1),!(!Qc&&rc===Ef));)rc===to?Qc=!Qc:Qc?Qc=!1:rc===Hu&&ml===Fo&&fp();Rd=tc.slice(Nc,Au+1),Fd=Rd.split(`
`),ef=Fd.length-1,ef>0?(Ac=$c+ef,Xc=Au-Fd[ef].length):(Ac=$c,Xc=cl),fu=["string",tc.slice(Nc,Au+1),$c,Nc-cl,Ac,Au-Xc],cl=Xc,$c=Ac,Nc=Au;break;case nl:pc.lastIndex=Nc+1,pc.test(tc),pc.lastIndex===0?Au=tc.length-1:Au=pc.lastIndex-2,fu=["at-word",tc.slice(Nc,Au+1),$c,Nc-cl,$c,Au-cl],Nc=Au;break;case to:for(Au=Nc,yd=!0;tc.charCodeAt(Au+1)===to;)Au+=1,yd=!yd;if(rc=tc.charCodeAt(Au+1),yd&&rc!==Io&&rc!==Oo&&rc!==xo&&rc!==Ro&&rc!==vi&&rc!==ro&&(Au+=1,Hc.test(tc.charAt(Au)))){for(;Hc.test(tc.charAt(Au+1));)Au+=1;tc.charCodeAt(Au+1)===Oo&&(Au+=1)}fu=["word",tc.slice(Nc,Au+1),$c,Nc-cl,$c,Au-cl],Nc=Au;break;default:ml=tc.charCodeAt(Nc+1),rc===Hu&&ml===Fo?(Au=Nc,fp(),Rd=tc.slice(Nc,Au+1),Fd=Rd.split(`
`),ef=Fd.length-1,ef>0?(Ac=$c+ef,Xc=Au-Fd[ef].length):(Ac=$c,Xc=cl),fu=["word",Rd,$c,Nc-cl,Ac,Au-Xc],cl=Xc,$c=Ac,Nc=Au):rc===Io&&ml===Uo?(Au=tc.indexOf("*/",Nc+2)+1,Au===0&&(Du?Au=tc.length:sf("comment")),Rd=tc.slice(Nc,Au+1),Fd=Rd.split(`
`),ef=Fd.length-1,ef>0?(Ac=$c+ef,Xc=Au-Fd[ef].length):(Ac=$c,Xc=cl),fu=["comment",Rd,$c,Nc-cl,Ac,Au-Xc],cl=Xc,$c=Ac,Nc=Au):rc===Io&&ml===Io?(Kc.lastIndex=Nc+1,Kc.test(tc),Kc.lastIndex===0?Au=tc.length-1:Au=Kc.lastIndex-2,Rd=tc.slice(Nc,Au+1),fu=["comment",Rd,$c,Nc-cl,$c,Au-cl,"inline"],Nc=Au):(Ec.lastIndex=Nc+1,Ec.test(tc),Ec.lastIndex===0?Au=tc.length-1:Au=Ec.lastIndex-2,fu=["word",tc.slice(Nc,Au+1),$c,Nc-cl,$c,Au-cl],Hf.push(fu),Nc=Au);break}return Nc++,fu}}function ud(Sf){_f.push(Sf)}return{back:ud,nextToken:Nf,endOfFile:$p}}}}),jd=eo({"node_modules/postcss-scss/lib/scss-parser.js"(Wn,Ka){Ts();function La(ro,Ro){ro.prototype=Object.create(Ro.prototype),ro.prototype.constructor=ro,ro.__proto__=Ro}var Fa=Rs(),to=no(),Io=Fc(),xo=zc(),Oo=function(ro){La(Ro,ro);function Ro(){return ro.apply(this,arguments)||this}var vi=Ro.prototype;return vi.createTokenizer=function(){this.tokenizer=xo(this.input)},vi.rule=function(Ln){for(var za=!1,Na=0,Zo="",_s=Ln,Fo=Array.isArray(_s),Ss=0,_s=Fo?_s:_s[Symbol.iterator]();;){var Uo;if(Fo){if(Ss>=_s.length)break;Uo=_s[Ss++]}else{if(Ss=_s.next(),Ss.done)break;Uo=Ss.value}var Qs=Uo;if(za)Qs[0]!=="comment"&&Qs[0]!=="{"&&(Zo+=Qs[1]);else{if(Qs[0]==="space"&&Qs[1].indexOf(`
`)!==-1)break;Qs[0]==="("?Na+=1:Qs[0]===")"?Na-=1:Na===0&&Qs[0]===":"&&(za=!0)}}if(!za||Zo.trim()===""||/^[a-zA-Z-:#]/.test(Zo))ro.prototype.rule.call(this,Ln);else{Ln.pop();var nl=new Io;this.init(nl);var yl=Ln[Ln.length-1];for(yl[4]?nl.source.end={line:yl[4],column:yl[5]}:nl.source.end={line:yl[2],column:yl[3]};Ln[0][0]!=="word";)nl.raws.before+=Ln.shift()[1];for(nl.source.start={line:Ln[0][2],column:Ln[0][3]},nl.prop="";Ln.length;){var Hu=Ln[0][0];if(Hu===":"||Hu==="space"||Hu==="comment")break;nl.prop+=Ln.shift()[1]}nl.raws.between="";for(var pc;Ln.length;)if(pc=Ln.shift(),pc[0]===":"){nl.raws.between+=pc[1];break}else nl.raws.between+=pc[1];(nl.prop[0]==="_"||nl.prop[0]==="*")&&(nl.raws.before+=nl.prop[0],nl.prop=nl.prop.slice(1)),nl.raws.between+=this.spacesAndCommentsFromStart(Ln),this.precheckMissedSemicolon(Ln);for(var Ec=Ln.length-1;Ec>0;Ec--){if(pc=Ln[Ec],pc[1]==="!important"){nl.important=!0;var Vc=this.stringFrom(Ln,Ec);Vc=this.spacesFromEnd(Ln)+Vc,Vc!==" !important"&&(nl.raws.important=Vc);break}else if(pc[1]==="important"){for(var Hc=Ln.slice(0),Kc="",qc=Ec;qc>0;qc--){var Uc=Hc[qc][0];if(Kc.trim().indexOf("!")===0&&Uc!=="space")break;Kc=Hc.pop()[1]+Kc}Kc.trim().indexOf("!")===0&&(nl.important=!0,nl.raws.important=Kc,Ln=Hc)}if(pc[0]!=="space"&&pc[0]!=="comment")break}this.raw(nl,"value",Ln),nl.value.indexOf(":")!==-1&&this.checkMissedSemicolon(Ln),this.current=nl}},vi.comment=function(Ln){if(Ln[6]==="inline"){var za=new Fa;this.init(za,Ln[2],Ln[3]),za.raws.inline=!0,za.source.end={line:Ln[4],column:Ln[5]};var Na=Ln[1].slice(2);if(/^\s*$/.test(Na))za.text="",za.raws.left=Na,za.raws.right="";else{var Zo=Na.match(/^(\s*)([^]*[^\s])(\s*)$/),Fo=Zo[2].replace(/(\*\/|\/\*)/g,"*//*");za.text=Fo,za.raws.left=Zo[1],za.raws.right=Zo[3],za.raws.text=Zo[2]}}else ro.prototype.comment.call(this,Ln)},vi.raw=function(Ln,za,Na){if(ro.prototype.raw.call(this,Ln,za,Na),Ln.raws[za]){var Zo=Ln.raws[za].raw;Ln.raws[za].raw=Na.reduce(function(Fo,Ss){if(Ss[0]==="comment"&&Ss[6]==="inline"){var _s=Ss[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return Fo+"/*"+_s+"*/"}else return Fo+Ss[1]},""),Zo!==Ln.raws[za].raw&&(Ln.raws[za].scss=Zo)}},Ro}(to);Ka.exports=Oo}}),Bc=eo({"node_modules/postcss-scss/lib/scss-parse.js"(Wn,Ka){Ts();var La=Ys(),Fa=jd();Ka.exports=function(to,Io){var xo=new La(to,Io),Oo=new Fa(xo);return Oo.parse(),Oo.root}}}),cf=eo({"node_modules/postcss-scss/lib/scss-syntax.js"(Wn,Ka){Ts();var La=yc(),Fa=Bc();Ka.exports={parse:Fa,stringify:La}}});Ts();var Gf=js(),kf=Gs(),gf=uc(),{hasPragma:nd}=Iu(),{locStart:Td,locEnd:sp}=is(),{calculateLoc:lp,replaceQuotesInInlineComments:Ap}=is(),ep=ku(),of=Vl(),bf=cc(),yf=Lc(),Wd=wd(),Kd=Nd(),ld=Tf(),Yd=vf(),$f=Wn=>{for(;Wn.parent;)Wn=Wn.parent;return Wn};function Kp(Wn,Ka){let{nodes:La}=Wn,Fa={open:null,close:null,groups:[],type:"paren_group"},to=[Fa],Io=Fa,xo={groups:[],type:"comma_group"},Oo=[xo];for(let ro=0;ro<La.length;++ro){let Ro=La[ro];if(yf(Ka.parser,Ro.value)&&Ro.type==="number"&&Ro.unit===".."&&kf(Ro.value)==="."&&(Ro.value=Ro.value.slice(0,-1),Ro.unit="..."),Ro.type==="func"&&Ro.value==="selector"&&(Ro.group.groups=[dp($f(Wn).text.slice(Ro.group.open.sourceIndex+1,Ro.group.close.sourceIndex))]),Ro.type==="func"&&Ro.value==="url"){let vi=Ro.group&&Ro.group.groups||[],Ln=[];for(let za=0;za<vi.length;za++){let Na=vi[za];Na.type==="comma_group"?Ln=[...Ln,...Na.groups]:Ln.push(Na)}if(ep(Ln)||!of(Ln)&&!Kd(Ln[0])){let za=ld({groups:Ro.group.groups});Ro.group.groups=[za.trim()]}}if(Ro.type==="paren"&&Ro.value==="(")Fa={open:Ro,close:null,groups:[],type:"paren_group"},to.push(Fa),xo={groups:[],type:"comma_group"},Oo.push(xo);else if(Ro.type==="paren"&&Ro.value===")"){if(xo.groups.length>0&&Fa.groups.push(xo),Fa.close=Ro,Oo.length===1)throw new Error("Unbalanced parenthesis");Oo.pop(),xo=kf(Oo),xo.groups.push(Fa),to.pop(),Fa=kf(to)}else Ro.type==="comma"?(Fa.groups.push(xo),xo={groups:[],type:"comma_group"},Oo[Oo.length-1]=xo):xo.groups.push(Ro)}return xo.groups.length>0&&Fa.groups.push(xo),Io}function _m(Wn){return Wn.type==="paren_group"&&!Wn.open&&!Wn.close&&Wn.groups.length===1||
`,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:"
`);mc!==-1;)al++,Lu=mc,mc=fl.indexOf(`
`,mc+1);Lu===-1?Ys+=fl.length:Ys=fl.length-Lu,al in os&&(Lu!==-1?Ys+=os[al]:Ys<=os[al]&&(Ys=os[al]+1))}function Yl(){var fl=[],Lu=al+1;return function(){for(var mc=al+1;Lu<mc;)fl.push((os[Lu]||0)+1),Lu++;return fl}}function hu(){var fl={line:al,column:Ys};return fl.offset=vo.toOffset(fl),fl}function Bu(fl){this.start=fl,this.end=hu()}function Wl(fl){Co.slice(0,fl.length)!==fl&&vo.file.fail(new Error("Incorrectly eaten value: please report this warning on https://git.io/vg5Ft"),hu())}function Su(){var fl=hu();return Lu;function Lu(mc,_c){var no=mc.position,$u=no?no.start:fl,Ic=[],ju=no&&no.end.line,bu=fl.line;if(mc.position=new Bu($u),no&&_c&&no.indent){if(Ic=no.indent,ju<bu){for(;++ju<bu;)Ic.push((os[ju]||0)+1);Ic.push(fl.column)}_c=Ic.concat(_c)}return mc.position.indent=_c||[],mc}}function Ou(fl,Lu){var mc=Lu?Lu.children:Os,_c=mc[mc.length-1],no;return _c&&fl.type===_c.type&&(fl.type==="text"||fl.type==="blockquote")&&Yo(_c)&&Yo(fl)&&(no=fl.type==="text"?Go:bo,fl=no.call(vo,_c,fl)),fl!==_c&&mc.push(fl),vo.atStart&&Os.length!==0&&vo.exitStart(),fl}function Fu(fl){var Lu=Yl(),mc=Su(),_c=hu();return Wl(fl),no.reset=$u,$u.test=Ic,no.test=Ic,Co=Co.slice(fl.length),zs(fl),Lu=Lu(),no;function no(ju,bu){return mc(Ou(mc(ju),bu),Lu)}function $u(){var ju=no.apply(null,arguments);return al=_c.line,Ys=_c.column,Co=fl+Co,ju}function Ic(){var ju=mc({});return al=_c.line,Ys=_c.column,Co=fl+Co,ju.position}}}}function Yo($o){var Jo,Co;return $o.type!=="text"||!$o.position?!0:(Jo=$o.position.start,Co=$o.position.end,Jo.line!==Co.line||Co.column-Jo.column===$o.value.length)}function Go($o,Jo){return $o.value+=Jo.value,$o}function bo($o,Jo){return this.options.commonmark||this.options.gfm?Jo:($o.children=$o.children.concat(Jo.children),$o)}}}),vf=aa({"node_modules/markdown-escapes/index.js"(Ls,ys){qo(),ys.exports=bo;var Po=["\\","`","*","{","}","[","]","(",")","#","+","-",".","!","_",">"],Yo=Po.concat(["~","|"]),Go=Yo.concat([`
`,'"',"$","%","&","'",",","/",":",";","<","=","?","@","^"]);bo.default=Po,bo.gfm=Yo,bo.commonmark=Go;function bo($o){var Jo=$o||{};return Jo.commonmark?Go:Jo.gfm?Yo:Po}}}),jc=aa({"node_modules/remark-parse/lib/block-elements.js"(Ls,ys){qo(),ys.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"]}}),Jd=aa({"node_modules/remark-parse/lib/defaults.js"(Ls,ys){qo(),ys.exports={position:!0,gfm:!0,commonmark:!1,pedantic:!1,blocks:jc()}}}),Ed=aa({"node_modules/remark-parse/lib/set-options.js"(Ls,ys){qo();var Po=Zl(),Yo=vf(),Go=Jd();ys.exports=bo;function bo($o){var Jo=this,Co=Jo.options,us,vo;if($o==null)$o={};else if(typeof $o=="object")$o=Po($o);else throw new Error("Invalid value `"+$o+"` for setting `options`");for(us in Go){if(vo=$o[us],vo==null&&(vo=Co[us]),us!=="blocks"&&typeof vo!="boolean"||us==="blocks"&&typeof vo!="object")throw new Error("Invalid value `"+vo+"` for setting `options."+us+"`");$o[us]=vo}return Jo.options=$o,Jo.escape=Yo($o),Jo}}}),Bf=aa({"node_modules/unist-util-is/convert.js"(Ls,ys){qo(),ys.exports=Po;function Po(Jo){if(Jo==null)return $o;if(typeof Jo=="string")return bo(Jo);if(typeof Jo=="object")return"length"in Jo?Go(Jo):Yo(Jo);if(typeof Jo=="function")return Jo;throw new Error("Expected function, string, or object as test")}function Yo(Jo){return Co;function Co(us){var vo;for(vo in Jo)if(us[vo]!==Jo[vo])return!1;return!0}}function Go(Jo){for(var Co=[],us=-1;++us<Jo.length;)Co[us]=Po(Jo[us]);return vo;function vo(){for(var os=-1;++os<Co.length;)if(Co[os].apply(this,arguments))return!0;return!1}}function bo(Jo){return Co;function Co(us){return!!(us&&us.type===Jo)}}function $o(){return!0}}}),Rf=aa({"node_modules/unist-util-visit-parents/color.browser.js"(Ls,ys){qo(),ys.exports=Po;function Po(Yo){return Yo}}}),Rp=aa({"node_modules/unist-util-visit-parents/index.js"(Ls,ys){qo(),ys.exports=Jo;var Po=Bf(),Yo=Rf(),Go=!0,bo="skip",$o=!1;Jo.CONTINUE=Go,Jo.SKIP=bo,Jo.EXIT=$o;function Jo(us,vo,os,Os){var ws,Vs;typeof vo=="function"&&typeof os!="function"&&(Os=os,os=vo,vo=null),Vs=Po(vo),ws=Os?-1:1,al(us,null,[])();function al(Ys,Pl,ms){var Cl=typeof Ys=="object"&&Ys!==null?Ys:{},Rs;return typeof Cl.type=="string"&&(Rs=typeof Cl.tagName=="string"?Cl.tagName:typeof Cl.name=="string"?Cl.name:void 0,Is.displayName="node ("+Yo(Cl.type+(Rs?"<"+Rs+">":""))+")"),Is;function Is(){var $s=ms.concat(Ys),zs=[],Yl,hu;if((!vo||Vs(Ys,Pl,ms[ms.length-1]||null))&&(zs=Co(os(Ys,ms)),zs[0]===$o))return zs;if(Ys.children&&zs[0]!==bo)for(hu=(Os?Ys.children.length:-1)+ws;hu>-1&&hu<Ys.children.length;){if(Yl=al(Ys.children[hu],hu,$s)(),Yl[0]===$o)return Yl;hu=typeof Yl[1]=="number"?Yl[1]:hu+ws}return zs}}}function Co(us){return us!==null&&typeof us=="object"&&"length"in us?us:typeof us=="number"?[Go,us]:[us]}}}),Pp=aa({"node_modules/unist-util-visit/index.js"(Ls,ys){qo(),ys.exports=$o;var Po=Rp(),Yo=Po.CONTINUE,Go=Po.SKIP,bo=Po.EXIT;$o.CONTINUE=Yo,$o.SKIP=Go,$o.EXIT=bo;function $o(Jo,Co,us,vo){typeof Co=="function"&&typeof us!="function"&&(vo=us,us=Co,Co=null),Po(Jo,Co,os,vo);function os(Os,ws){var Vs=ws[ws.length-1],al=Vs?Vs.children.indexOf(Os):null;return us(Os,al,Vs)}}}}),_p=aa({"node_modules/unist-util-remove-position/index.js"(Ls,ys){qo();var Po=Pp();ys.exports=Yo;function Yo($o,Jo){return Po($o,Jo?Go:bo),$o}function Go($o){delete $o.position}function bo($o){$o.position=void 0}}}),Pf=aa({"node_modules/remark-parse/lib/parse.js"(Ls,ys){qo();var Po=Zl(),Yo=_p();ys.exports=$o;var Go=`
`,bo=/\r\n|\r/g;function $o(){var Jo=this,Co=String(Jo.file),us={line:1,column:1,offset:0},vo=Po(us),os;return Co=Co.replace(bo,Go),Co.charCodeAt(0)===65279&&(Co=Co.slice(1),vo.column++,vo.offset++),os={type:"root",children:Jo.tokenizeBlock(Co,vo),position:{start:us,end:Jo.eof||Po(us)}},Jo.options.position||Yo(os,!0),os}}}),Ih=aa({"node_modules/remark-parse/lib/tokenize/blank-line.js"(Ls,ys){qo();var Po=/^[ \t]*(\n|$)/;ys.exports=Yo;function Yo(Go,bo,$o){for(var Jo,Co="",us=0,vo=bo.length;us<vo&&(Jo=Po.exec(bo.slice(us)),Jo!=null);)us+=Jo[0].length,Co+=Jo[0];if(Co!==""){if($o)return!0;Go(Co)}}}}),Lp=aa({"node_modules/repeat-string/index.js"(Ls,ys){qo();var Po="",Yo;ys.exports=Go;function Go(bo,$o){if(typeof bo!="string")throw new TypeError("expected a string");if($o===1)return bo;if($o===2)return bo+bo;var Jo=bo.length*$o;if(Yo!==bo||typeof Yo>"u")Yo=bo,Po="";else if(Po.length>=Jo)return Po.substr(0,Jo);for(;Jo>Po.length&&$o>1;)$o&1&&(Po+=bo),$o>>=1,bo+=bo;return Po+=bo,Po=Po.substr(0,Jo),Po}}}),Oc=aa({"node_modules/trim-trailing-lines/index.js"(Ls,ys){qo(),ys.exports=Po;function Po(Yo){return String(Yo).replace(/\n+$/,"")}}}),Ip=aa({"node_modules/remark-parse/lib/tokenize/code-indented.js"(Ls,ys){qo();var Po=Lp(),Yo=Oc();ys.exports=us;var Go=`
`,bo=" ",$o=" ",Jo=4,Co=Po($o,Jo);function us(vo,os,Os){for(var ws=-1,Vs=os.length,al="",Ys="",Pl="",ms="",Cl,Rs,Is;++ws<Vs;)if(Cl=os.charAt(ws),Is)if(Is=!1,al+=Pl,Ys+=ms,Pl="",ms="",Cl===Go)Pl=Cl,ms=Cl;else for(al+=Cl,Ys+=Cl;++ws<Vs;){if(Cl=os.charAt(ws),!Cl||Cl===Go){ms=Cl,Pl=Cl;break}al+=Cl,Ys+=Cl}else if(Cl===$o&&os.charAt(ws+1)===Cl&&os.charAt(ws+2)===Cl&&os.charAt(ws+3)===Cl)Pl+=Co,ws+=3,Is=!0;else if(Cl===bo)Pl+=Cl,Is=!0;else{for(Rs="";Cl===bo||Cl===$o;)Rs+=Cl,Cl=os.charAt(++ws);if(Cl!==Go)break;Pl+=Rs+Cl,ms+=Cl}if(Ys)return Os?!0:vo(al)({type:"code",lang:null,meta:null,value:Yo(Ys)})}}}),Df=aa({"node_modules/remark-parse/lib/tokenize/code-fenced.js"(Ls,ys){qo(),ys.exports=us;var Po=`
`,Yo=" ",Go=" ",bo="~",$o="`",Jo=3,Co=4;function us(vo,os,Os){var ws=this,Vs=ws.options.gfm,al=os.length+1,Ys=0,Pl="",ms,Cl,Rs,Is,$s,zs,Yl,hu,Bu,Wl,Su,Ou,Fu;if(Vs){for(;Ys<al&&(Rs=os.charAt(Ys),!(Rs!==Go&&Rs!==Yo));)Pl+=Rs,Ys++;if(Ou=Ys,Rs=os.charAt(Ys),!(Rs!==bo&&Rs!==$o)){for(Ys++,Cl=Rs,ms=1,Pl+=Rs;Ys<al&&(Rs=os.charAt(Ys),Rs===Cl);)Pl+=Rs,ms++,Ys++;if(!(ms<Jo)){for(;Ys<al&&(Rs=os.charAt(Ys),!(Rs!==Go&&Rs!==Yo));)Pl+=Rs,Ys++;for(Is="",Yl="";Ys<al&&(Rs=os.charAt(Ys),!(Rs===Po||Cl===$o&&Rs===Cl));)Rs===Go||Rs===Yo?Yl+=Rs:(Is+=Yl+Rs,Yl=""),Ys++;if(Rs=os.charAt(Ys),!(Rs&&Rs!==Po)){if(Os)return!0;Fu=vo.now(),Fu.column+=Pl.length,Fu.offset+=Pl.length,Pl+=Is,Is=ws.decode.raw(ws.unescape(Is),Fu),Yl&&(Pl+=Yl),Yl="",Wl="",Su="",hu="",Bu="";for(var fl=!0;Ys<al;){if(Rs=os.charAt(Ys),hu+=Wl,Bu+=Su,Wl="",Su="",Rs!==Po){hu+=Rs,Su+=Rs,Ys++;continue}for(fl?(Pl+=Rs,fl=!1):(Wl+=Rs,Su+=Rs),Yl="",Ys++;Ys<al&&(Rs=os.charAt(Ys),Rs===Go);)Yl+=Rs,Ys++;if(Wl+=Yl,Su+=Yl.slice(Ou),!(Yl.length>=Co)){for(Yl="";Ys<al&&(Rs=os.charAt(Ys),Rs===Cl);)Yl+=Rs,Ys++;if(Wl+=Yl,Su+=Yl,!(Yl.length<ms)){for(Yl="";Ys<al&&(Rs=os.charAt(Ys),!(Rs!==Go&&Rs!==Yo));)Wl+=Rs,Su+=Rs,Ys++;if(!Rs||Rs===Po)break}}}for(Pl+=hu+Wl,Ys=-1,al=Is.length;++Ys<al;)if(Rs=Is.charAt(Ys),Rs===Go||Rs===Yo)$s||($s=Is.slice(0,Ys));else if($s){zs=Is.slice(Ys);break}return vo(Pl)({type:"code",lang:$s||Is||null,meta:zs||null,value:Bu})}}}}}}}),vp=aa({"node_modules/trim/index.js"(Ls,ys){qo(),Ls=ys.exports=Po;function Po(Yo){return Yo.replace(/^\s*|\s*$/g,"")}Ls.left=function(Yo){return Yo.replace(/^\s*/,"")},Ls.right=function(Yo){return Yo.replace(/\s*$/,"")}}}),Yp=aa({"node_modules/remark-parse/lib/util/interrupt.js"(Ls,ys){qo(),ys.exports=Po;function Po(Yo,Go,bo,$o){for(var Jo=Yo.length,Co=-1,us,vo;++Co<Jo;)if(us=Yo[Co],vo=us[1]||{},!(vo.pedantic!==void 0&&vo.pedantic!==bo.options.pedantic)&&!(vo.commonmark!==void 0&&vo.commonmark!==bo.options.commonmark)&&Go[us[0]].apply(bo,$o))return!0;return!1}}}),Op=aa({"node_modules/remark-parse/lib/tokenize/blockquote.js"(Ls,ys){qo();var Po=vp(),Yo=Yp();ys.exports=Co;var Go=`
`,bo=" ",$o=" ",Jo=">";function Co(us,vo,os){for(var Os=this,ws=Os.offset,Vs=Os.blockTokenizers,al=Os.interruptBlockquote,Ys=us.now(),Pl=Ys.line,ms=vo.length,Cl=[],Rs=[],Is=[],$s,zs=0,Yl,hu,Bu,Wl,Su,Ou,Fu,fl;zs<ms&&(Yl=vo.charAt(zs),!(Yl!==$o&&Yl!==bo));)zs++;if(vo.charAt(zs)===Jo){if(os)return!0;for(zs=0;zs<ms;){for(Bu=vo.indexOf(Go,zs),Ou=zs,Fu=!1,Bu===-1&&(Bu=ms);zs<ms&&(Yl=vo.charAt(zs),!(Yl!==$o&&Yl!==bo));)zs++;if(vo.charAt(zs)===Jo?(zs++,Fu=!0,vo.charAt(zs)===$o&&zs++):zs=Ou,Wl=vo.slice(zs,Bu),!Fu&&!Po(Wl)){zs=Ou;break}if(!Fu&&(hu=vo.slice(zs),Yo(al,Vs,Os,[us,hu,!0])))break;Su=Ou===zs?Wl:vo.slice(Ou,Bu),Is.push(zs-Ou),Cl.push(Su),Rs.push(Wl),zs=Bu+1}for(zs=-1,ms=Is.length,$s=us(Cl.join(Go));++zs<ms;)ws[Pl]=(ws[Pl]||0)+Is[zs],Pl++;return fl=Os.enterBlock(),Rs=Os.tokenizeBlock(Rs.join(Go),Ys),fl(),$s({type:"blockquote",children:Rs})}}}}),Xp=aa({"node_modules/remark-parse/lib/tokenize/heading-atx.js"(Ls,ys){qo(),ys.exports=Jo;var Po=`
`,Yo=" ",Go=" ",bo="#",$o=6;function Jo(Co,us,vo){for(var os=this,Os=os.options.pedantic,ws=us.length+1,Vs=-1,al=Co.now(),Ys="",Pl="",ms,Cl,Rs;++Vs<ws;){if(ms=us.charAt(Vs),ms!==Go&&ms!==Yo){Vs--;break}Ys+=ms}for(Rs=0;++Vs<=ws;){if(ms=us.charAt(Vs),ms!==bo){Vs--;break}Ys+=ms,Rs++}if(!(Rs>$o)&&!(!Rs||!Os&&us.charAt(Vs+1)===bo)){for(ws=us.length+1,Cl="";++Vs<ws;){if(ms=us.charAt(Vs),ms!==Go&&ms!==Yo){Vs--;break}Cl+=ms}if(!(!Os&&Cl.length===0&&ms&&ms!==Po)){if(vo)return!0;for(Ys+=Cl,Cl="",Pl="";++Vs<ws&&(ms=us.charAt(Vs),!(!ms||ms===Po));){if(ms!==Go&&ms!==Yo&&ms!==bo){Pl+=Cl+ms,Cl="";continue}for(;ms===Go||ms===Yo;)Cl+=ms,ms=us.charAt(++Vs);if(!Os&&Pl&&!Cl&&ms===bo){Pl+=ms;continue}for(;ms===bo;)Cl+=ms,ms=us.charAt(++Vs);for(;ms===Go||ms===Yo;)Cl+=ms,ms=us.charAt(++Vs);Vs--}return al.column+=Ys.length,al.offset+=Ys.length,Ys+=Pl+Cl,Co(Ys)({type:"heading",depth:Rs,children:os.tokenizeInline(Pl,al)})}}}}}),Xf=aa({"node_modules/remark-parse/lib/tokenize/thematic-break.js"(Ls,ys){qo(),ys.exports=us;var Po=" ",Yo=`
`,Go=" ",bo="*",$o="-",Jo="_",Co=3;function us(vo,os,Os){for(var ws=-1,Vs=os.length+1,al="",Ys,Pl,ms,Cl;++ws<Vs&&(Ys=os.charAt(ws),!(Ys!==Po&&Ys!==Go));)al+=Ys;if(!(Ys!==bo&&Ys!==$o&&Ys!==Jo))for(Pl=Ys,al+=Ys,ms=1,Cl="";++ws<Vs;)if(Ys=os.charAt(ws),Ys===Pl)ms++,al+=Cl+Pl,Cl="";else if(Ys===Go)Cl+=Ys;else return ms>=Co&&(!Ys||Ys===Yo)?(al+=Cl,Os?!0:vo(al)({type:"thematicBreak"})):void 0}}}),Oh=aa({"node_modules/remark-parse/lib/util/get-indentation.js"(Ls,ys){qo(),ys.exports=$o;var Po=" ",Yo=" ",Go=1,bo=4;function $o(Jo){for(var Co=0,us=0,vo=Jo.charAt(Co),os={},Os,ws=0;vo===Po||vo===Yo;){for(Os=vo===Po?bo:Go,us+=Os,Os>1&&(us=Math.floor(us/Os)*Os);ws<us;)os[++ws]=Co;vo=Jo.charAt(++Co)}return{indent:us,stops:os}}}}),Wh=aa({"node_modules/remark-parse/lib/util/remove-indentation.js"(Ls,ys){qo();var Po=vp(),Yo=Lp(),Go=Oh();ys.exports=Co;var bo=`
`,$o=" ",Jo="!";function Co(us,vo){var os=us.split(bo),Os=os.length+1,ws=1/0,Vs=[],al,Ys,Pl;for(os.unshift(Yo($o,vo)+Jo);Os--;)if(Ys=Go(os[Os]),Vs[Os]=Ys.stops,Po(os[Os]).length!==0)if(Ys.indent)Ys.indent>0&&Ys.indent<ws&&(ws=Ys.indent);else{ws=1/0;break}if(ws!==1/0)for(Os=os.length;Os--;){for(Pl=Vs[Os],al=ws;al&&!(al in Pl);)al--;os[Os]=os[Os].slice(Pl[al]+1)}return os.shift(),os.join(bo)}}}),np=aa({"node_modules/remark-parse/lib/tokenize/list.js"(Ls,ys){qo();var Po=vp(),Yo=Lp(),Go=is(),bo=Oh(),$o=Wh(),Jo=Yp();ys.exports=Yl;var Co="*",us="_",vo="+",os="-",Os=".",ws=" ",Vs=`
`,al=" ",Ys=")",Pl="x",ms=4,Cl=/\n\n(?!\s*$)/,Rs=/^\[([ X\tx])][ \t]/,Is=/^([ \t]*)([*+-]|\d+[.)])( {1,4}(?! )| |\t|$|(?=\n))([^\n]*)/,$s=/^([ \t]*)([*+-]|\d+[.)])([ \t]+)/,zs=/^( {1,4}|\t)?/gm;function Yl(Su,Ou,Fu){for(var fl=this,Lu=fl.options.commonmark,mc=fl.options.pedantic,_c=fl.blockTokenizers,no=fl.interruptList,$u=0,Ic=Ou.length,ju=null,bu,Ku,du,Kl,gu,Uu,yc,Fc,zc,jd,Bc,cf,Gf,kf,gf,nd,Td,sp,lp,Ap=!1,ep,of,bf,yf;$u<Ic&&(Kl=Ou.charAt($u),!(Kl!==al&&Kl!==ws));)$u++;if(Kl=Ou.charAt($u),Kl===Co||Kl===vo||Kl===os)gu=Kl,du=!1;else{for(du=!0,Ku="";$u<Ic&&(Kl=Ou.charAt($u),!!Go(Kl));)Ku+=Kl,$u++;if(Kl=Ou.charAt($u),!Ku||!(Kl===Os||Lu&&Kl===Ys)||Fu&&Ku!=="1")return;ju=parseInt(Ku,10),gu=Kl}if(Kl=Ou.charAt(++$u),!(Kl!==ws&&Kl!==al&&(mc||Kl!==Vs&&Kl!==""))){if(Fu)return!0;for($u=0,kf=[],gf=[],nd=[];$u<Ic;){for(Uu=Ou.indexOf(Vs,$u),yc=$u,Fc=!1,yf=!1,Uu===-1&&(Uu=Ic),bu=0;$u<Ic;){if(Kl=Ou.charAt($u),Kl===al)bu+=ms-bu%ms;else if(Kl===ws)bu++;else break;$u++}if(Td&&bu>=Td.indent&&(yf=!0),Kl=Ou.charAt($u),zc=null,!yf){if(Kl===Co||Kl===vo||Kl===os)zc=Kl,$u++,bu++;else{for(Ku="";$u<Ic&&(Kl=Ou.charAt($u),!!Go(Kl));)Ku+=Kl,$u++;Kl=Ou.charAt($u),$u++,Ku&&(Kl===Os||Lu&&Kl===Ys)&&(zc=Kl,bu+=Ku.length+1)}if(zc)if(Kl=Ou.charAt($u),Kl===al)bu+=ms-bu%ms,$u++;else if(Kl===ws){for(bf=$u+ms;$u<bf&&Ou.charAt($u)===ws;)$u++,bu++;$u===bf&&Ou.charAt($u)===ws&&($u-=ms-1,bu-=ms-1)}else Kl!==Vs&&Kl!==""&&(zc=null)}if(zc){if(!mc&&gu!==zc)break;Fc=!0}else!Lu&&!yf&&Ou.charAt(yc)===ws?yf=!0:Lu&&Td&&(yf=bu>=Td.indent||bu>ms),Fc=!1,$u=yc;if(Bc=Ou.slice(yc,Uu),jd=yc===$u?Bc:Ou.slice($u,Uu),(zc===Co||zc===us||zc===os)&&_c.thematicBreak.call(fl,Su,Bc,!0))break;if(cf=Gf,Gf=!Fc&&!Po(jd).length,yf&&Td)Td.value=Td.value.concat(nd,Bc),gf=gf.concat(nd,Bc),nd=[];else if(Fc)nd.length!==0&&(Ap=!0,Td.value.push(""),Td.trail=nd.concat()),Td={value:[Bc],indent:bu,trail:[]},kf.push(Td),gf=gf.concat(nd,Bc),nd=[];else if(Gf){if(cf&&!Lu)break;nd.push(Bc)}else{if(cf||Jo(no,_c,fl,[Su,Bc,!0]))break;Td.value=Td.value.concat(nd,Bc),gf=gf.concat(nd,Bc),nd=[]}$u=Uu+1}for(ep=Su(gf.join(Vs)).reset({type:"list",ordered:du,start:ju,spread:Ap,children:[]}),sp=fl.enterList(),lp=fl.enterBlock(),$u=-1,Ic=kf.length;++$u<Ic;)Td=kf[$u].value.join(Vs),of=Su.now(),Su(Td)(hu(fl,Td,of),ep),Td=kf[$u].trail.join(Vs),$u!==Ic-1&&(Td+=Vs),Su(Td);return sp(),lp(),ep}}function hu(Su,Ou,Fu){var fl=Su.offset,Lu=Su.options.pedantic?Bu:Wl,mc=null,_c,no;return Ou=Lu.apply(null,arguments),Su.options.gfm&&(_c=Ou.match(Rs),_c&&(no=_c[0].length,mc=_c[1].toLowerCase()===Pl,fl[Fu.line]+=no,Ou=Ou.slice(no))),{type:"listItem",spread:Cl.test(Ou),checked:mc,children:Su.tokenizeBlock(Ou,Fu)}}function Bu(Su,Ou,Fu){var fl=Su.offset,Lu=Fu.line;return Ou=Ou.replace($s,mc),Lu=Fu.line,Ou.replace(zs,mc);function mc(_c){return fl[Lu]=(fl[Lu]||0)+_c.length,Lu++,""}}function Wl(Su,Ou,Fu){var fl=Su.offset,Lu=Fu.line,mc,_c,no,$u,Ic,ju,bu;for(Ou=Ou.replace(Is,Ku),$u=Ou.split(Vs),Ic=$o(Ou,bo(mc).indent).split(Vs),Ic[0]=no,fl[Lu]=(fl[Lu]||0)+_c.length,Lu++,ju=0,bu=$u.length;++ju<bu;)fl[Lu]=(fl[Lu]||0)+$u[ju].length-Ic[ju].length,Lu++;return Ic.join(Vs);function Ku(du,Kl,gu,Uu,yc){return _c=Kl+gu+Uu,no=yc,Number(gu)<10&&_c.length%2===1&&(gu=ws+gu),mc=Kl+Yo(ws,gu.length)+Uu,mc+no}}}}),gh=aa({"node_modules/remark-parse/lib/tokenize/heading-setext.js"(Ls,ys){qo(),ys.exports=vo;var Po=`
`,Yo=" ",Go=" ",bo="=",$o="-",Jo=3,Co=1,us=2;function vo(os,Os,ws){for(var Vs=this,al=os.now(),Ys=Os.length,Pl=-1,ms="",Cl,Rs,Is,$s,zs;++Pl<Ys;){if(Is=Os.charAt(Pl),Is!==Go||Pl>=Jo){Pl--;break}ms+=Is}for(Cl="",Rs="";++Pl<Ys;){if(Is=Os.charAt(Pl),Is===Po){Pl--;break}Is===Go||Is===Yo?Rs+=Is:(Cl+=Rs+Is,Rs="")}if(al.column+=ms.length,al.offset+=ms.length,ms+=Cl+Rs,Is=Os.charAt(++Pl),$s=Os.charAt(++Pl),!(Is!==Po||$s!==bo&&$s!==$o)){for(ms+=Is,Rs=$s,zs=$s===bo?Co:us;++Pl<Ys;){if(Is=Os.charAt(Pl),Is!==$s){if(Is!==Po)return;Pl--;break}Rs+=Is}return ws?!0:os(ms+Rs)({type:"heading",depth:zs,children:Vs.tokenizeInline(Cl,al)})}}}}),jp=aa({"node_modules/remark-parse/lib/util/html.js"(Ls){qo();var ys="[a-zA-Z_:][a-zA-Z0-9:._-]*",Po="[^\"'=<>`\\u0000-\\u0020]+",Yo="'[^']*'",Go='"[^"]*"',bo="(?:"+Po+"|"+Yo+"|"+Go+")",$o="(?:\\s+"+ys+"(?:\\s*=\\s*"+bo+")?)",Jo="<[A-Za-z][A-Za-z0-9\\-]*"+$o+"*\\s*\\/?>",Co="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",us="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",vo="<[?].*?[?]>",os="<![A-Za-z]+\\s+[^>]*>",Os="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>";Ls.openCloseTag=new RegExp("^(?:"+Jo+"|"+Co+")"),Ls.tag=new RegExp("^(?:"+Jo+"|"+Co+"|"+us+"|"+vo+"|"+os+"|"+Os+")")}}),wm=aa({"node_modules/remark-parse/lib/tokenize/html-block.js"(Ls,ys){qo();var Po=jp().openCloseTag;ys.exports=Cl;var Yo=" ",Go=" ",bo=`
`,$o="<",Jo=/^<(script|pre|style)(?=(\s|>|$))/i,Co=/<\/(script|pre|style)>/i,us=/^<!--/,vo=/-->/,os=/^<\?/,Os=/\?>/,ws=/^<![A-Za-z]/,Vs=/>/,al=/^<!\[CDATA\[/,Ys=/]]>/,Pl=/^$/,ms=new RegExp(Po.source+"\\s*$");function Cl(Rs,Is,$s){for(var zs=this,Yl=zs.options.blocks.join("|"),hu=new RegExp("^</?("+Yl+")(?=(\\s|/?>|$))","i"),Bu=Is.length,Wl=0,Su,Ou,Fu,fl,Lu,mc,_c,no=[[Jo,Co,!0],[us,vo,!0],[os,Os,!0],[ws,Vs,!0],[al,Ys,!0],[hu,Pl,!0],[ms,Pl,!1]];Wl<Bu&&(fl=Is.charAt(Wl),!(fl!==Yo&&fl!==Go));)Wl++;if(Is.charAt(Wl)===$o){for(Su=Is.indexOf(bo,Wl+1),Su=Su===-1?Bu:Su,Ou=Is.slice(Wl,Su),Fu=-1,Lu=no.length;++Fu<Lu;)if(no[Fu][0].test(Ou)){mc=no[Fu];break}if(mc){if($s)return mc[2];if(Wl=Su,!mc[1].test(Ou))for(;Wl<Bu;){if(Su=Is.indexOf(bo,Wl+1),Su=Su===-1?Bu:Su,Ou=Is.slice(Wl+1,Su),mc[1].test(Ou)){Ou&&(Wl=Su);break}Wl=Su}return _c=Is.slice(0,Wl),Rs(_c)({type:"html",value:_c})}}}}}),Fp=aa({"node_modules/is-whitespace-character/index.js"(Ls,ys){qo(),ys.exports=Go;var Po=String.fromCharCode,Yo=/\s/;function Go(bo){return Yo.test(typeof bo=="number"?Po(bo):bo.charAt(0))}}}),Um=aa({"node_modules/collapse-white-space/index.js"(Ls,ys){qo(),ys.exports=Po;function Po(Yo){return String(Yo).replace(/\s+/g," ")}}}),kh=aa({"node_modules/remark-parse/lib/util/normalize.js"(Ls,ys){qo();var Po=Um();ys.exports=Yo;function Yo(Go){return Po(Go).toLowerCase()}}}),Yh=aa({"node_modules/remark-parse/lib/tokenize/definition.js"(Ls,ys){qo();var Po=Fp(),Yo=kh();ys.exports=Pl;var Go='"',bo="'",$o="\\",Jo=`
`,Co=" ",us=" ",vo="[",os="]",Os="(",ws=")",Vs=":",al="<",Ys=">";function Pl(Rs,Is,$s){for(var zs=this,Yl=zs.options.commonmark,hu=0,Bu=Is.length,Wl="",Su,Ou,Fu,fl,Lu,mc,_c,no;hu<Bu&&(fl=Is.charAt(hu),!(fl!==us&&fl!==Co));)Wl+=fl,hu++;if(fl=Is.charAt(hu),fl===vo){for(hu++,Wl+=fl,Fu="";hu<Bu&&(fl=Is.charAt(hu),fl!==os);)fl===$o&&(Fu+=fl,hu++,fl=Is.charAt(hu)),Fu+=fl,hu++;if(!(!Fu||Is.charAt(hu)!==os||Is.charAt(hu+1)!==Vs)){for(mc=Fu,Wl+=Fu+os+Vs,hu=Wl.length,Fu="";hu<Bu&&(fl=Is.charAt(hu),!(fl!==Co&&fl!==us&&fl!==Jo));)Wl+=fl,hu++;if(fl=Is.charAt(hu),Fu="",Su=Wl,fl===al){for(hu++;hu<Bu&&(fl=Is.charAt(hu),!!ms(fl));)Fu+=fl,hu++;if(fl=Is.charAt(hu),fl===ms.delimiter)Wl+=al+Fu+fl,hu++;else{if(Yl)return;hu-=Fu.length+1,Fu=""}}if(!Fu){for(;hu<Bu&&(fl=Is.charAt(hu),!!Cl(fl));)Fu+=fl,hu++;Wl+=Fu}if(Fu){for(_c=Fu,Fu="";hu<Bu&&(fl=Is.charAt(hu),!(fl!==Co&&fl!==us&&fl!==Jo));)Fu+=fl,hu++;if(fl=Is.charAt(hu),Lu=null,fl===Go?Lu=Go:fl===bo?Lu=bo:fl===Os&&(Lu=ws),!Lu)Fu="",hu=Wl.length;else if(Fu){for(Wl+=Fu+fl,hu=Wl.length,Fu="";hu<Bu&&(fl=Is.charAt(hu),fl!==Lu);){if(fl===Jo){if(hu++,fl=Is.charAt(hu),fl===Jo||fl===Lu)return;Fu+=Jo}Fu+=fl,hu++}if(fl=Is.charAt(hu),fl!==Lu)return;Ou=Wl,Wl+=Fu+fl,hu++,no=Fu,Fu=""}else return;for(;hu<Bu&&(fl=Is.charAt(hu),!(fl!==Co&&fl!==us));)Wl+=fl,hu++;if(fl=Is.charAt(hu),!fl||fl===Jo)return $s?!0:(Su=Rs(Su).test().end,_c=zs.decode.raw(zs.unescape(_c),Su,{nonTerminated:!1}),no&&(Ou=Rs(Ou).test().end,no=zs.decode.raw(zs.unescape(no),Ou)),Rs(Wl)({type:"definition",identifier:Yo(mc),label:mc,title:no||null,url:_c}))}}}}function ms(Rs){return Rs!==Ys&&Rs!==vo&&Rs!==os}ms.delimiter=Ys;function Cl(Rs){return Rs!==vo&&Rs!==os&&!Po(Rs)}}}),Xh=aa({"node_modules/remark-parse/lib/tokenize/table.js"(Ls,ys){qo();var Po=Fp();ys.exports=al;var Yo=" ",Go=`
`,bo=" ",$o="-",Jo=":",Co="\\",us="|",vo=1,os=2,Os="left",ws="center",Vs="right";function al(Ys,Pl,ms){var Cl=this,Rs,Is,$s,zs,Yl,hu,Bu,Wl,Su,Ou,Fu,fl,Lu,mc,_c,no,$u,Ic,ju,bu,Ku,du;if(Cl.options.gfm){for(Rs=0,no=0,hu=Pl.length+1,Bu=[];Rs<hu;){if(bu=Pl.indexOf(Go,Rs),Ku=Pl.indexOf(us,Rs+1),bu===-1&&(bu=Pl.length),Ku===-1||Ku>bu){if(no<os)return;break}Bu.push(Pl.slice(Rs,bu)),no++,Rs=bu+1}for(zs=Bu.join(Go),Is=Bu.splice(1,1)[0]||[],Rs=0,hu=Is.length,no--,$s=!1,Fu=[];Rs<hu;){if(Su=Is.charAt(Rs),Su===us){if(Ou=null,$s===!1){if(du===!1)return}else Fu.push($s),$s=!1;du=!1}else if(Su===$o)Ou=!0,$s=$s||null;else if(Su===Jo)$s===Os?$s=ws:Ou&&$s===null?$s=Vs:$s=Os;else if(!Po(Su))return;Rs++}if($s!==!1&&Fu.push($s),!(Fu.length<vo)){if(ms)return!0;for(_c=-1,Ic=[],ju=Ys(zs).reset({type:"table",align:Fu,children:Ic});++_c<no;){for($u=Bu[_c],Yl={type:"tableRow",children:[]},_c&&Ys(Go),Ys($u).reset(Yl,ju),hu=$u.length+1,Rs=0,Wl="",fl="",Lu=!0;Rs<hu;){if(Su=$u.charAt(Rs),Su===Yo||Su===bo){fl?Wl+=Su:Ys(Su),Rs++;continue}Su===""||Su===us?Lu?Ys(Su):((fl||Su)&&!Lu&&(zs=fl,Wl.length>1&&(Su?(zs+=Wl.slice(0,-1),Wl=Wl.charAt(Wl.length-1)):(zs+=Wl,Wl="")),mc=Ys.now(),Ys(zs)({type:"tableCell",children:Cl.tokenizeInline(fl,mc)},Yl)),Ys(Wl+Su),Wl="",fl=""):(Wl&&(fl+=Wl,Wl=""),fl+=Su,Su===Co&&Rs!==hu-2&&(fl+=$u.charAt(Rs+1),Rs++)),Lu=!1,Rs++}_c||Ys(Go+Is)}return ju}}}}}),Od=aa({"node_modules/remark-parse/lib/tokenize/paragraph.js"(Ls,ys){qo();var Po=vp(),Yo=Oc(),Go=Yp();ys.exports=us;var bo=" ",$o=`
`,Jo=" ",Co=4;function us(vo,os,Os){for(var ws=this,Vs=ws.options,al=Vs.commonmark,Ys=ws.blockTokenizers,Pl=ws.interruptParagraph,ms=os.indexOf($o),Cl=os.length,Rs,Is,$s,zs,Yl;ms<Cl;){if(ms===-1){ms=Cl;break}if(os.charAt(ms+1)===$o)break;if(al){for(zs=0,Rs=ms+1;Rs<Cl;){if($s=os.charAt(Rs),$s===bo){zs=Co;break}else if($s===Jo)zs++;else break;Rs++}if(zs>=Co&&$s!==$o){ms=os.indexOf($o,ms+1);continue}}if(Is=os.slice(ms+1),Go(Pl,Ys,ws,[vo,Is,!0]))break;if(Rs=ms,ms=os.indexOf($o,ms+1),ms!==-1&&Po(os.slice(Rs,ms))===""){ms=Rs;break}}return Is=os.slice(0,ms),Os?!0:(Yl=vo.now(),Is=Yo(Is),vo(Is)({type:"paragraph",children:ws.tokenizeInline(Is,Yl)}))}}}),Id=aa({"node_modules/remark-parse/lib/locate/escape.js"(Ls,ys){qo(),ys.exports=Po;function Po(Yo,Go){return Yo.indexOf("\\",Go)}}}),Vf=aa({"node_modules/remark-parse/lib/tokenize/escape.js"(Ls,ys){qo();var Po=Id();ys.exports=bo,bo.locator=Po;var Yo=`
`,Go="\\";function bo($o,Jo,Co){var us=this,vo,os;if(Jo.charAt(0)===Go&&(vo=Jo.charAt(1),us.escape.indexOf(vo)!==-1))return Co?!0:(vo===Yo?os={type:"break"}:os={type:"text",value:vo},$o(Go+vo)(os))}}}),bp=aa({"node_modules/remark-parse/lib/locate/tag.js"(Ls,ys){qo(),ys.exports=Po;function Po(Yo,Go){return Yo.indexOf("<",Go)}}}),Zc=aa({"node_modules/remark-parse/lib/tokenize/auto-link.js"(Ls,ys){qo();var Po=Fp(),Yo=wd(),Go=bp();ys.exports=os,os.locator=Go,os.notInLink=!0;var bo="<",$o=">",Jo="@",Co="/",us="mailto:",vo=us.length;function os(Os,ws,Vs){var al=this,Ys="",Pl=ws.length,ms=0,Cl="",Rs=!1,Is="",$s,zs,Yl,hu,Bu;if(ws.charAt(0)===bo){for(ms++,Ys=bo;ms<Pl&&($s=ws.charAt(ms),!(Po($s)||$s===$o||$s===Jo||$s===":"&&ws.charAt(ms+1)===Co));)Cl+=$s,ms++;if(Cl){if(Is+=Cl,Cl="",$s=ws.charAt(ms),Is+=$s,ms++,$s===Jo)Rs=!0;else{if($s!==":"||ws.charAt(ms+1)!==Co)return;Is+=Co,ms++}for(;ms<Pl&&($s=ws.charAt(ms),!(Po($s)||$s===$o));)Cl+=$s,ms++;if($s=ws.charAt(ms),!(!Cl||$s!==$o))return Vs?!0:(Is+=Cl,Yl=Is,Ys+=Is+$s,zs=Os.now(),zs.column++,zs.offset++,Rs&&(Is.slice(0,vo).toLowerCase()===us?(Yl=Yl.slice(vo),zs.column+=vo,zs.offset+=vo):Is=us+Is),hu=al.inlineTokenizers,al.inlineTokenizers={text:hu.text},Bu=al.enterLink(),Yl=al.tokenizeInline(Yl,zs),al.inlineTokenizers=hu,Bu(),Os(Ys)({type:"link",title:null,url:Yo(Is,{nonTerminated:!1}),children:Yl}))}}}}}),bh=aa({"node_modules/ccount/index.js"(Ls,ys){qo(),ys.exports=Po;function Po(Yo,Go){var bo=String(Yo),$o=0,Jo;if(typeof Go!="string")throw new Error("Expected character");for(Jo=bo.indexOf(Go);Jo!==-1;)$o++,Jo=bo.indexOf(Go,Jo+Go.length);return $o}}}),lm=aa({"node_modules/remark-parse/lib/locate/url.js"(Ls,ys){qo(),ys.exports=Yo;var Po=["www.","http://","https://"];function Yo(Go,bo){var $o=-1,Jo,Co,us;if(!this.options.gfm)return $o;for(Co=Po.length,Jo=-1;++Jo<Co;)us=Go.indexOf(Po[Jo],bo),us!==-1&&($o===-1||us<$o)&&($o=us);return $o}}}),yp=aa({"node_modules/remark-parse/lib/tokenize/url.js"(Ls,ys){qo();var Po=bh(),Yo=wd(),Go=is(),bo=ku(),$o=Fp(),Jo=lm();ys.exports=zs,zs.locator=Jo,zs.notInLink=!0;var Co=33,us=38,vo=41,os=42,Os=44,ws=45,Vs=46,al=58,Ys=59,Pl=63,ms=60,Cl=95,Rs=126,Is="(",$s=")";function zs(Yl,hu,Bu){var Wl=this,Su=Wl.options.gfm,Ou=Wl.inlineTokenizers,Fu=hu.length,fl=-1,Lu=!1,mc,_c,no,$u,Ic,ju,bu,Ku,du,Kl,gu,Uu,yc,Fc;if(Su){if(hu.slice(0,4)==="www.")Lu=!0,$u=4;else if(hu.slice(0,7).toLowerCase()==="http://")$u=7;else if(hu.slice(0,8).toLowerCase()==="https://")$u=8;else return;for(fl=$u-1,no=$u,mc=[];$u<Fu;){if(bu=hu.charCodeAt($u),bu===Vs){if(fl===$u-1)break;mc.push($u),fl=$u,$u++;continue}if(Go(bu)||bo(bu)||bu===ws||bu===Cl){$u++;continue}break}if(bu===Vs&&(mc.pop(),$u--),mc[0]!==void 0&&(_c=mc.length<2?no:mc[mc.length-2]+1,hu.slice(_c,$u).indexOf("_")===-1)){if(Bu)return!0;for(Ku=$u,Ic=$u;$u<Fu&&(bu=hu.charCodeAt($u),!($o(bu)||bu===ms));)$u++,bu===Co||bu===os||bu===Os||bu===Vs||bu===al||bu===Pl||bu===Cl||bu===Rs||(Ku=$u);if($u=Ku,hu.charCodeAt($u-1)===vo)for(ju=hu.slice(Ic,$u),du=Po(ju,Is),Kl=Po(ju,$s);Kl>du;)$u=Ic+ju.lastIndexOf($s),ju=hu.slice(Ic,$u),Kl--;if(hu.charCodeAt($u-1)===Ys&&($u--,bo(hu.charCodeAt($u-1)))){for(Ku=$u-2;bo(hu.charCodeAt(Ku));)Ku--;hu.charCodeAt(Ku)===us&&($u=Ku)}return gu=hu.slice(0,$u),yc=Yo(gu,{nonTerminated:!1}),Lu&&(yc="http://"+yc),Fc=Wl.enterLink(),Wl.inlineTokenizers={text:Ou.text},Uu=Wl.tokenizeInline(gu,Yl.now()),Wl.inlineTokenizers=Ou,Fc(),Yl(gu)({type:"link",title:null,url:yc,children:Uu})}}}}}),Qh=aa({"node_modules/remark-parse/lib/locate/email.js"(Ls,ys){qo();var Po=is(),Yo=ku(),Go=43,bo=45,$o=46,Jo=95;ys.exports=Co;function Co(vo,os){var Os=this,ws,Vs;if(!this.options.gfm||(ws=vo.indexOf("@",os),ws===-1))return-1;if(Vs=ws,Vs===os||!us(vo.charCodeAt(Vs-1)))return Co.call(Os,vo,ws+1);for(;Vs>os&&us(vo.charCodeAt(Vs-1));)Vs--;return Vs}function us(vo){return Po(vo)||Yo(vo)||vo===Go||vo===bo||vo===$o||vo===Jo}}}),Jh=aa({"node_modules/remark-parse/lib/tokenize/email.js"(Ls,ys){qo();var Po=wd(),Yo=is(),Go=ku(),bo=Qh();ys.exports=os,os.locator=bo,os.notInLink=!0;var $o=43,Jo=45,Co=46,us=64,vo=95;function os(Os,ws,Vs){var al=this,Ys=a
`,bo="!",$o='"',Jo="'",Co="(",us=")",vo="<",os=">",Os="[",ws="\\",Vs="]",al="`";function Ys(Pl,ms,Cl){var Rs=this,Is="",$s=0,zs=ms.charAt(0),Yl=Rs.options.pedantic,hu=Rs.options.commonmark,Bu=Rs.options.gfm,Wl,Su,Ou,Fu,fl,Lu,mc,_c,no,$u,Ic,ju,bu,Ku,du,Kl,gu,Uu;if(zs===bo&&(_c=!0,Is=zs,zs=ms.charAt(++$s)),zs===Os&&!(!_c&&Rs.inLink)){for(Is+=zs,Ku="",$s++,Ic=ms.length,Kl=Pl.now(),bu=0,Kl.column+=$s,Kl.offset+=$s;$s<Ic;){if(zs=ms.charAt($s),Lu=zs,zs===al){for(Su=1;ms.charAt($s+1)===al;)Lu+=zs,$s++,Su++;Ou?Su>=Ou&&(Ou=0):Ou=Su}else if(zs===ws)$s++,Lu+=ms.charAt($s);else if((!Ou||Bu)&&zs===Os)bu++;else if((!Ou||Bu)&&zs===Vs)if(bu)bu--;else{if(ms.charAt($s+1)!==Co)return;Lu+=Co,Wl=!0,$s++;break}Ku+=Lu,Lu="",$s++}if(Wl){for(no=Ku,Is+=Ku+Lu,$s++;$s<Ic&&(zs=ms.charAt($s),!!Po(zs));)Is+=zs,$s++;if(zs=ms.charAt($s),Ku="",Fu=Is,zs===vo){for($s++,Fu+=vo;$s<Ic&&(zs=ms.charAt($s),zs!==os);){if(hu&&zs===Go)return;Ku+=zs,$s++}if(ms.charAt($s)!==os)return;Is+=vo+Ku+os,du=Ku,$s++}else{for(zs=null,Lu="";$s<Ic&&(zs=ms.charAt($s),!(Lu&&(zs===$o||zs===Jo||hu&&zs===Co)));){if(Po(zs)){if(!Yl)break;Lu+=zs}else{if(zs===Co)bu++;else if(zs===us){if(bu===0)break;bu--}Ku+=Lu,Lu="",zs===ws&&(Ku+=ws,zs=ms.charAt(++$s)),Ku+=zs}$s++}Is+=Ku,du=Ku,$s=Is.length}for(Ku="";$s<Ic&&(zs=ms.charAt($s),!!Po(zs));)Ku+=zs,$s++;if(zs=ms.charAt($s),Is+=Ku,Ku&&(zs===$o||zs===Jo||hu&&zs===Co))if($s++,Is+=zs,Ku="",$u=zs===Co?us:zs,fl=Is,hu){for(;$s<Ic&&(zs=ms.charAt($s),zs!==$u);)zs===ws&&(Ku+=ws,zs=ms.charAt(++$s)),$s++,Ku+=zs;if(zs=ms.charAt($s),zs!==$u)return;for(ju=Ku,Is+=Ku+zs,$s++;$s<Ic&&(zs=ms.charAt($s),!!Po(zs));)Is+=zs,$s++}else for(Lu="";$s<Ic;){if(zs=ms.charAt($s),zs===$u)mc&&(Ku+=$u+Lu,Lu=""),mc=!0;else if(!mc)Ku+=zs;else if(zs===us){Is+=Ku+$u+Lu,ju=Ku;break}else Po(zs)?Lu+=zs:(Ku+=$u+Lu+zs,Lu="",mc=!1);$s++}if(ms.charAt($s)===us)return Cl?!0:(Is+=us,du=Rs.decode.raw(Rs.unescape(du),Pl(Fu).test().end,{nonTerminated:!1}),ju&&(fl=Pl(fl).test().end,ju=Rs.decode.raw(Rs.unescape(ju),fl)),Uu={type:_c?"image":"link",title:ju||null,url:du},_c?Uu.alt=Rs.decode.raw(Rs.unescape(no),Kl)||null:(gu=Rs.enterLink(),Uu.children=Rs.tokenizeInline(no,Kl),gu()),Pl(Is)(Uu))}}}}}),Hp=aa({"node_modules/remark-parse/lib/tokenize/reference.js"(Ls,ys){qo();var Po=Fp(),Yo=Bh(),Go=kh();ys.exports=Vs,Vs.locator=Yo;var bo="link",$o="image",Jo="shortcut",Co="collapsed",us="full",vo="!",os="[",Os="\\",ws="]";function Vs(al,Ys,Pl){var ms=this,Cl=ms.options.commonmark,Rs=Ys.charAt(0),Is=0,$s=Ys.length,zs="",Yl="",hu=bo,Bu=Jo,Wl,Su,Ou,Fu,fl,Lu,mc,_c;if(Rs===vo&&(hu=$o,Yl=Rs,Rs=Ys.charAt(++Is)),Rs===os){for(Is++,Yl+=Rs,Lu="",_c=0;Is<$s;){if(Rs=Ys.charAt(Is),Rs===os)mc=!0,_c++;else if(Rs===ws){if(!_c)break;_c--}Rs===Os&&(Lu+=Os,Rs=Ys.charAt(++Is)),Lu+=Rs,Is++}if(zs=Lu,Wl=Lu,Rs=Ys.charAt(Is),Rs===ws){if(Is++,zs+=Rs,Lu="",!Cl)for(;Is<$s&&(Rs=Ys.charAt(Is),!!Po(Rs));)Lu+=Rs,Is++;if(Rs=Ys.charAt(Is),Rs===os){for(Su="",Lu+=Rs,Is++;Is<$s&&(Rs=Ys.charAt(Is),!(Rs===os||Rs===ws));)Rs===Os&&(Su+=Os,Rs=Ys.charAt(++Is)),Su+=Rs,Is++;Rs=Ys.charAt(Is),Rs===ws?(Bu=Su?us:Co,Lu+=Su+Rs,Is++):Su="",zs+=Lu,Lu=""}else{if(!Wl)return;Su=Wl}if(!(Bu!==us&&mc))return zs=Yl+zs,hu===bo&&ms.inLink?null:Pl?!0:(Ou=al.now(),Ou.column+=Yl.length,Ou.offset+=Yl.length,Su=Bu===us?Su:Wl,Fu={type:hu+"Reference",identifier:Go(Su),label:Su,referenceType:Bu},hu===bo?(fl=ms.enterLink(),Fu.children=ms.tokenizeInline(Wl,Ou),fl()):Fu.alt=ms.decode.raw(ms.unescape(Wl),Ou)||null,al(zs)(Fu))}}}}}),$h=aa({"node_modules/remark-parse/lib/locate/strong.js"(Ls,ys){qo(),ys.exports=Po;function Po(Yo,Go){var bo=Yo.indexOf("**",Go),$o=Yo.indexOf("__",Go);return $o===-1?bo:bo===-1||$o<bo?$o:bo}}}),df=aa({"node_modules/remark-parse/lib/tokenize/strong.js"(Ls,ys){qo();var Po=vp(),Yo=Fp(),Go=$h();ys.exports=Co,Co.locator=Go;var bo="\\",$o="*",Jo="_";function Co(us,vo,os){var Os=this,ws=0,Vs=vo.charAt(ws),al,Ys,Pl,ms,Cl,Rs,Is;if(!(Vs!==$o&&Vs!==Jo||vo.charAt(++ws)!==Vs)&&(Ys=Os.options.pedantic,Pl=Vs,Cl=Pl+Pl,Rs=vo.length,ws++,ms="",Vs="",!(Ys&&Yo(vo.charAt(ws)))))for(;ws<Rs;){if(Is=Vs,Vs=vo.charAt(ws),Vs===Pl&&vo.charAt(ws+1)===Pl&&(!Ys||!Yo(Is))&&(Vs=vo.
`,Go);bo>Go&&Yo.charAt(bo-1)===" ";)bo--;return bo}}}),Sd=aa({"node_modules/remark-parse/lib/tokenize/break.js"(Ls,ys){qo();var Po=ed();ys.exports=$o,$o.locator=Po;var Yo=" ",Go=`
`,bo=2;function $o(Jo,Co,us){for(var vo=Co.length,os=-1,Os="",ws;++os<vo;){if(ws=Co.charAt(os),ws===Go)return os<bo?void 0:us?!0:(Os+=ws,Jo(Os)({type:"break"}));if(ws!==Yo)return;Os+=ws}}}}),nf=aa({"node_modules/remark-parse/lib/tokenize/text.js"(Ls,ys){qo(),ys.exports=Po;function Po(Yo,Go,bo){var $o=this,Jo,Co,us,vo,os,Os,ws,Vs,al,Ys;if(bo)return!0;for(Jo=$o.inlineMethods,vo=Jo.length,Co=$o.inlineTokenizers,us=-1,al=Go.length;++us<vo;)Vs=Jo[us],!(Vs==="text"||!Co[Vs])&&(ws=Co[Vs].locator,ws||Yo.file.fail("Missing locator: `"+Vs+"`"),Os=ws.call($o,Go,1),Os!==-1&&Os<al&&(al=Os));os=Go.slice(0,al),Ys=Yo.now(),$o.decode(os,Ys,Pl);function Pl(ms,Cl,Rs){Yo(Rs||ms)({type:"text",value:ms})}}}}),Ep=aa({"node_modules/remark-parse/lib/parser.js"(Ls,ys){qo();var Po=Zl(),Yo=Bl(),Go=Vu(),bo=Iu(),$o=Nd(),Jo=Tf();ys.exports=Co;function Co(os,Os){this.file=Os,this.offset={},this.options=Po(this.options),this.setOptions({}),this.inList=!1,this.inBlock=!1,this.inLink=!1,this.atStart=!0,this.toOffset=Go(Os).toOffset,this.unescape=bo(this,"escape"),this.decode=$o(this)}var us=Co.prototype;us.setOptions=Ed(),us.parse=Pf(),us.options=Jd(),us.exitStart=Yo("atStart",!0),us.enterList=Yo("inList",!1),us.enterLink=Yo("inLink",!1),us.enterBlock=Yo("inBlock",!1),us.interruptParagraph=[["thematicBreak"],["list"],["atxHeading"],["fencedCode"],["blockquote"],["html"],["setextHeading",{commonmark:!1}],["definition",{commonmark:!1}]],us.interruptList=[["atxHeading",{pedantic:!1}],["fencedCode",{pedantic:!1}],["thematicBreak",{pedantic:!1}],["definition",{commonmark:!1}]],us.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}]],us.blockTokenizers={blankLine:Ih(),indentedCode:Ip(),fencedCode:Df(),blockquote:Op(),atxHeading:Xp(),thematicBreak:Xf(),list:np(),setextHeading:gh(),html:wm(),definition:Yh(),table:Xh(),paragraph:Od()},us.inlineTokenizers={escape:Vf(),autoLink:Zc(),url:yp(),email:Jh(),html:qd(),link:Up(),reference:Hp(),strong:df(),emphasis:Qp(),deletion:Mi(),code:zu(),break:Sd(),text:nf()},us.blockMethods=vo(us.blockTokenizers),us.inlineMethods=vo(us.inlineTokenizers),us.tokenizeBlock=Jo("block"),us.tokenizeInline=Jo("inline"),us.tokenizeFactory=Jo;function vo(os){var Os=[],ws;for(ws in os)Os.push(ws);return Os}}}),Vp=aa({"node_modules/remark-parse/index.js"(Ls,ys){qo();var Po=_u(),Yo=Zl(),Go=Ep();ys.exports=bo,bo.Parser=Go;function bo($o){var Jo=this.data("settings"),Co=Po(Go);Co.prototype.options=Yo(Co.prototype.options,Jo,$o),this.Parser=Co}}}),Zh=aa({"node_modules/bail/index.js"(Ls,ys){qo(),ys.exports=Po;function Po(Yo){if(Yo)throw Yo}}}),um=aa({"node_modules/is-buffer/index.js"(Ls,ys){qo(),ys.exports=function(Po){return Po!=null&&Po.constructor!=null&&typeof Po.constructor.isBuffer=="function"&&Po.constructor.isBuffer(Po)}}}),pf=aa({"node_modules/extend/index.js"(Ls,ys){qo();var Po=Object.prototype.hasOwnProperty,Yo=Object.prototype.toString,Go=Object.defineProperty,bo=Object.getOwnPropertyDescriptor,$o=function(vo){return typeof Array.isArray=="function"?Array.isArray(vo):Yo.call(vo)==="[object Array]"},Jo=function(vo){if(!vo||Yo.call(vo)!=="[object Object]")return!1;var os=Po.call(vo,"constructor"),Os=vo.constructor&&vo.constructor.prototype&&Po.call(vo.constructor.prototype,"isPrototypeOf");if(vo.constructor&&!os&&!Os)return!1;var ws;for(ws in vo);return typeof ws>"u"||Po.call(vo,ws)},Co=function(vo,os){Go&&os.name==="__proto__"?Go(vo,os.name,{enumerable:!0,configurable:!0,value:os.newValue,writable:!0}):vo[os.name]=os.newValue},us=function(vo,os){if(os==="__proto__")if(Po.call(vo,os)){if(bo)return bo(vo,os).value}else return;return vo[os]};ys.exports=function vo(){var os,Os,ws,Vs,al,Ys,Pl=arguments[0],ms=1,Cl=arguments.length,Rs=!1;for(typeof Pl=="boolean"&&(Rs=Pl,Pl=arguments[1]||{},ms=2),(Pl==null||typeof Pl!="object"&&typeof Pl!="function")&&(Pl={});ms<Cl;++ms)if(os=arguments[ms],os!=null)for(Os in os)ws=us(Pl,Os),Vs=us(os,Os),
`,Jo="$",Co=2,us=["math","math-display"];function vo(){let ws=this.Parser,Vs=this.Compiler;Po.isRemarkParser(ws)&&os(ws),Po.isRemarkCompiler(Vs)&&Os(Vs)}function os(ws){let Vs=ws.prototype,al=Vs.blockMethods,Ys=Vs.interruptParagraph,Pl=Vs.interruptList,ms=Vs.interruptBlockquote;Vs.blockTokenizers.math=Cl,al.splice(al.indexOf("fencedCode")+1,0,"math"),Ys.splice(Ys.indexOf("fencedCode")+1,0,["math"]),Pl.splice(Pl.indexOf("fencedCode")+1,0,["math"]),ms.splice(ms.indexOf("fencedCode")+1,0,["math"]);function Cl(Rs,Is,$s){var zs=Is.length,Yl=0;let hu,Bu,Wl,Su,Ou,Fu,fl,Lu,mc,_c,no;for(;Yl<zs&&Is.charCodeAt(Yl)===Go;)Yl++;for(Ou=Yl;Yl<zs&&Is.charCodeAt(Yl)===bo;)Yl++;if(Fu=Yl-Ou,!(Fu<Co)){for(;Yl<zs&&Is.charCodeAt(Yl)===Go;)Yl++;for(fl=Yl;Yl<zs;){if(hu=Is.charCodeAt(Yl),hu===bo)return;if(hu===Yo)break;Yl++}if(Is.charCodeAt(Yl)===Yo){if($s)return!0;for(Bu=[],fl!==Yl&&Bu.push(Is.slice(fl,Yl)),Yl++,Wl=Is.indexOf($o,Yl+1),Wl=Wl===-1?zs:Wl;Yl<zs;){for(Lu=!1,_c=Yl,no=Wl,Su=Wl,mc=0;Su>_c&&Is.charCodeAt(Su-1)===Go;)Su--;for(;Su>_c&&Is.charCodeAt(Su-1)===bo;)mc++,Su--;for(Fu<=mc&&Is.indexOf(Jo,_c)===Su&&(Lu=!0,no=Su);_c<=no&&_c-Yl<Ou&&Is.charCodeAt(_c)===Go;)_c++;if(Lu)for(;no>_c&&Is.charCodeAt(no-1)===Go;)no--;if((!Lu||_c!==no)&&Bu.push(Is.slice(_c,no)),Lu)break;Yl=Wl+1,Wl=Is.indexOf($o,Yl+1),Wl=Wl===-1?zs:Wl}return Bu=Bu.join(`
`),Rs(Is.slice(0,Wl))({type:"math",value:Bu,data:{hName:"div",hProperties:{className:us.concat()},hChildren:[{type:"text",value:Bu}]}})}}}}function Os(ws){let Vs=ws.prototype;Vs.visitors.math=al;function al(Ys){return`$$
`+Ys.value+`
$$`}}}}),dm=aa({"node_modules/remark-math/index.js"(Ls,ys){qo();var Po=Lh(),Yo=Vm();ys.exports=Go;function Go(bo){var $o=bo||{};Yo.call(this,$o),Po.call(this,$o)}}}),Tm=aa({"node_modules/remark-footnotes/index.js"(Ls,ys){qo(),ys.exports=Vs;var Po=9,Yo=10,Go=32,bo=33,$o=58,Jo=91,Co=92,us=93,vo=94,os=96,Os=4,ws=1024;function Vs(Is){var $s=this.Parser,zs=this.Compiler;al($s)&&Pl($s,Is),Ys(zs)&&ms(zs)}function al(Is){return!!(Is&&Is.prototype&&Is.prototype.blockTokenizers)}function Ys(Is){return!!(Is&&Is.prototype&&Is.prototype.visitors)}function Pl(Is,$s){for(var zs=$s||{},Yl=Is.prototype,hu=Yl.blockTokenizers,Bu=Yl.inlineTokenizers,Wl=Yl.blockMethods,Su=Yl.inlineMethods,Ou=hu.definition,Fu=Bu.reference,fl=[],Lu=-1,mc=Wl.length,_c;++Lu<mc;)_c=Wl[Lu],!(_c==="newline"||_c==="indentedCode"||_c==="paragraph"||_c==="footnoteDefinition")&&fl.push([_c]);fl.push(["footnoteDefinition"]),zs.inlineNotes&&(Cl(Su,"reference","inlineNote"),Bu.inlineNote=Ic),Cl(Wl,"definition","footnoteDefinition"),Cl(Su,"reference","footnoteCall"),hu.definition=bu,hu.footnoteDefinition=no,Bu.footnoteCall=$u,Bu.reference=ju,Yl.interruptFootnoteDefinition=fl,ju.locator=Fu.locator,$u.locator=Ku,Ic.locator=du;function no(Kl,gu,Uu){for(var yc=this,Fc=yc.interruptFootnoteDefinition,zc=yc.offset,jd=gu.length+1,Bc=0,cf=[],Gf,kf,gf,nd,Td,sp,lp,Ap,ep,of,bf,yf,Wd;Bc<jd&&(nd=gu.charCodeAt(Bc),!(nd!==Po&&nd!==Go));)Bc++;if(gu.charCodeAt(Bc++)===Jo&&gu.charCodeAt(Bc++)===vo){for(kf=Bc;Bc<jd;){if(nd=gu.charCodeAt(Bc),nd!==nd||nd===Yo||nd===Po||nd===Go)return;if(nd===us){gf=Bc,Bc++;break}Bc++}if(!(gf===void 0||kf===gf||gu.charCodeAt(Bc++)!==$o)){if(Uu)return!0;for(Gf=gu.slice(kf,gf),Td=Kl.now(),ep=0,of=0,bf=Bc,yf=[];Bc<jd;){if(nd=gu.charCodeAt(Bc),nd!==nd||nd===Yo)Wd={start:ep,contentStart:bf||Bc,contentEnd:Bc,end:Bc},yf.push(Wd),nd===Yo&&(ep=Bc+1,of=0,bf=void 0,Wd.end=ep);else if(of!==void 0)if(nd===Go||nd===Po)of+=nd===Go?1:Os-of%Os,of>Os&&(of=void 0,bf=Bc);else{if(of<Os&&Wd&&(Wd.contentStart===Wd.contentEnd||Rs(Fc,hu,yc,[Kl,gu.slice(Bc,ws),!0])))break;of=void 0,bf=Bc}Bc++}for(Bc=-1,jd=yf.length;jd>0&&(Wd=yf[jd-1],Wd.contentStart===Wd.contentEnd);)jd--;for(sp=Kl(gu.slice(0,Wd.contentEnd));++Bc<jd;)Wd=yf[Bc],zc[Td.line+Bc]=(zc[Td.line+Bc]||0)+(Wd.contentStart-Wd.start),cf.push(gu.slice(Wd.contentStart,Wd.end));return lp=yc.enterBlock(),Ap=yc.tokenizeBlock(cf.join(""),Td),lp(),sp({type:"footnoteDefinition",identifier:Gf.toLowerCase(),label:Gf,children:Ap})}}}function $u(Kl,gu,Uu){var yc=gu.length+1,Fc=0,zc,jd,Bc,cf;if(gu.charCodeAt(Fc++)===Jo&&gu.charCodeAt(Fc++)===vo){for(jd=Fc;Fc<yc;){if(cf=gu.charCodeAt(Fc),cf!==cf||cf===Yo||cf===Po||cf===Go)return;if(cf===us){Bc=Fc,Fc++;break}Fc++}if(!(Bc===void 0||jd===Bc))return Uu?!0:(zc=gu.slice(jd,Bc),Kl(gu.slice(0,Fc))({type:"footnoteReference",identifier:zc.toLowerCase(),label:zc}))}}function Ic(Kl,gu,Uu){var yc=this,Fc=gu.length+1,zc=0,jd=0,Bc,cf,Gf,kf,gf,nd,Td;if(gu.charCodeAt(zc++)===vo&&gu.charCodeAt(zc++)===Jo){for(Gf=zc;zc<Fc;){if(cf=gu.charCodeAt(zc),cf!==cf)return;if(nd===void 0)if(cf===Co)zc+=2;else if(cf===Jo)jd++,zc++;else if(cf===us)if(jd===0){kf=zc,zc++;break}else jd--,zc++;else if(cf===os){for(gf=zc,nd=1;gu.charCodeAt(gf+nd)===os;)nd++;zc+=nd}else zc++;else if(cf===os){for(gf=zc,Td=1;gu.charCodeAt(gf+Td)===os;)Td++;zc+=Td,nd===Td&&(nd=void 0),Td=void 0}else zc++}if(kf!==void 0)return Uu?!0:(Bc=Kl.now(),Bc.column+=2,Bc.offset+=2,Kl(gu.slice(0,zc))({type:"footnote",children:yc.tokenizeInline(gu.slice(Gf,kf),Bc)}))}}function ju(Kl,gu,Uu){var yc=0;if(gu.charCodeAt(yc)===bo&&yc++,gu.charCodeAt(yc)===Jo&&gu.charCodeAt(yc+1)!==vo)return Fu.call(this,Kl,gu,Uu)}function bu(Kl,gu,Uu){for(var yc=0,Fc=gu.charCodeAt(yc);Fc===Go||Fc===Po;)Fc=gu.charCodeAt(++yc);if(Fc===Jo&&gu.charCodeAt(yc+1)!==vo)return Ou.call(this,Kl,gu,Uu)}function Ku(Kl,gu){return Kl.indexOf("[",gu)}function du(Kl,gu){return Kl.indexOf("^[",gu)}}function ms(Is){var $s=Is.prototype.visitors,zs=" ";$s.footnote=Yl,$s.footnoteReference=hu,$s.footnoteDefinition=Bu;function Yl(Wl){return"^["+this.all(Wl).join("")+"]"}function hu(Wl){return"[^"+(Wl.label||W
`).split(`
`),Ou=0,Fu=Su.length,fl;++Ou<Fu;)fl=Su[Ou],fl!==""&&(Su[Ou]=zs+fl);return"[^"+(Wl.label||Wl.identifier)+"]: "+Su.join(`
`)}}function Cl(Is,$s,zs){Is.splice(Is.indexOf($s),0,zs)}function Rs(Is,$s,zs,Yl){for(var hu=Is.length,Bu=-1;++Bu<hu;)if($s[Is[Bu][0]].apply(zs,Yl))return!0;return!1}}}),jh=aa({"src/utils/front-matter/parse.js"(Ls,ys){qo();var Po=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function Yo(Go){let bo=Go.match(Po);if(!bo)return{content:Go};let{startDelimiter:$o,language:Jo,value:Co="",endDelimiter:us}=bo.groups,vo=Jo.trim()||"yaml";if($o==="+++"&&(vo="toml"),vo!=="yaml"&&$o!==us)return{content:Go};let[os]=bo;return{frontMatter:{type:"front-matter",lang:vo,value:Co,startDelimiter:$o,endDelimiter:us,raw:os.replace(/\n$/,"")},content:os.replace(/[^\n]/g," ")+Go.slice(os.length)}}ys.exports=Yo}}),Fh=aa({"src/language-markdown/pragma.js"(Ls,ys){qo();var Po=jh(),Yo=["format","prettier"];function Go(bo){let $o=`@(${Yo.join("|")})`,Jo=new RegExp([`<!--\\s*${$o}\\s*-->`,`{\\s*\\/\\*\\s*${$o}\\s*\\*\\/\\s*}`,`<!--.*\r?
[\\s\\S]*(^|
)[^\\S
]*${$o}[^\\S
]*($|
)[\\s\\S]*
.*-->`].join("|"),"m"),Co=bo.match(Jo);return(Co==null?void 0:Co.index)===0}ys.exports={startWithPragma:Go,hasPragma:bo=>Go(Po(bo).content.trimStart()),insertPragma:bo=>{let $o=Po(bo),Jo=`<!-- @${Yo[0]} -->`;return $o.frontMatter?`${$o.frontMatter.raw}
${Jo}
${$o.content}`:`${Jo}
${$o.content}`}}}}),yh=aa({"src/language-markdown/loc.js"(Ls,ys){qo();function Po(Go){return Go.position.start.offset}function Yo(Go){return Go.position.end.offset}ys.exports={locStart:Po,locEnd:Yo}}}),Sp=aa({"src/language-markdown/mdx.js"(Ls,ys){qo();var Po=/^import\s/,Yo=/^export\s/,Go="[a-z][a-z0-9]*(\\.[a-z][a-z0-9]*)*|",bo=/<!---->|<!---?[^>-](?:-?[^-])*-->/,$o=/^{\s*\/\*(.*)\*\/\s*}/,Jo=`
`,Co=ws=>Po.test(ws),us=ws=>Yo.test(ws),vo=(ws,Vs)=>{let al=Vs.indexOf(Jo),Ys=Vs.slice(0,al);if(us(Ys)||Co(Ys))return ws(Ys)({type:us(Ys)?"export":"import",value:Ys})},os=(ws,Vs)=>{let al=$o.exec(Vs);if(al)return ws(al[0])({type:"esComment",value:al[1].trim()})};vo.locator=ws=>us(ws)||Co(ws)?-1:1,os.locator=(ws,Vs)=>ws.indexOf("{",Vs);function Os(){let{Parser:ws}=this,{blockTokenizers:Vs,blockMethods:al,inlineTokenizers:Ys,inlineMethods:Pl}=ws.prototype;Vs.esSyntax=vo,Ys.esComment=os,al.splice(al.indexOf("paragraph"),0,"esSyntax"),Pl.splice(Pl.indexOf("text"),0,"esComment")}ys.exports={esSyntax:Os,BLOCKS_REGEX:Go,COMMENT_REGEX:bo}}}),fm={};Qo(fm,{default:()=>mf});function mf(Ls){if(typeof Ls!="string")throw new TypeError("Expected a string");return Ls.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Zp=Ea({"node_modules/escape-string-regexp/index.js"(){qo()}}),zf=aa({"src/utils/get-last.js"(Ls,ys){qo();var Po=Yo=>Yo[Yo.length-1];ys.exports=Po}}),ip=aa({"node_modules/semver/internal/debug.js"(Ls,ys){qo();var Po=typeof kn=="object"&&kn.env&&kn.env.NODE_DEBUG&&/\bsemver\b/i.test(kn.env.NODE_DEBUG)?function(){for(var Yo=arguments.length,Go=new Array(Yo),bo=0;bo<Yo;bo++)Go[bo]=arguments[bo];return console.error("SEMVER",...Go)}:()=>{};ys.exports=Po}}),nh=aa({"node_modules/semver/internal/constants.js"(Ls,ys){qo();var Po="2.0.0",Yo=256,Go=Number.MAX_SAFE_INTEGER||9007199254740991,bo=16;ys.exports={SEMVER_SPEC_VERSION:Po,MAX_LENGTH:Yo,MAX_SAFE_INTEGER:Go,MAX_SAFE_COMPONENT_LENGTH:bo}}}),Uh=aa({"node_modules/semver/internal/re.js"(Ls,ys){qo();var{MAX_SAFE_COMPONENT_LENGTH:Po}=nh(),Yo=ip();Ls=ys.exports={};var Go=Ls.re=[],bo=Ls.src=[],$o=Ls.t={},Jo=0,Co=(us,vo,os)=>{let Os=Jo++;Yo(us,Os,vo),$o[us]=Os,bo[Os]=vo,Go[Os]=new RegExp(vo,os?"g":void 0)};Co("NUMERICIDENTIFIER","0|[1-9]\\d*"),Co("NUMERICIDENTIFIERLOOSE","[0-9]+"),Co("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),Co("MAINVERSION",`(${bo[$o.NUMERICIDENTIFIER]})\\.(${bo[$o.NUMERICIDENTIFIER]})\\.(${bo[$o.NUMERICIDENTIFIER]})`),Co("MAINVERSIONLOOSE",`(${bo[$o.NUMERICIDENTIFIERLOOSE]})\\.(${bo[$o.NUMERICIDENTIFIERLOOSE]})\\.(${bo[$o.NUMERICIDENTIFIERLOOSE]})`),Co("PRERELEASEIDENTIFIER",`(?:${bo[$o.NUMERICIDENTIFIER]}|${bo[$o.NONNUMERICIDENTIFIER]})`),Co("PRERELEASEIDENTIFIERLOOSE",`(?:${bo[$o.NUMERICIDENTIFIERLOOSE]}|${bo[$o.NONNUMERICIDENTIFIER]})`),Co("PRERELEASE",`(?:-(${bo[$o.PRERELEASEIDENTIFIER]}(?:\\.${bo[$o.PRERELEASEIDENTIFIER]})*))`),Co("PRERELEASELOOSE",`(?:-?(${bo[$o.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${bo[$o.PRERELEASEIDENTIFIERLOOSE]})*))`),Co("BUILDIDENTIFIER","[0-9A-Za-z-]+"),Co("BUILD",`(?:\\+(${bo[$o.BUILDIDENTIFIER]}(?:\\.${bo[$o.BUILDIDENTIFIER]})*))`),Co("FULLPLAIN",`v?${bo[$o.MAINVERSION]}${bo[$o.PRERELEASE]}?${bo[$o.BUILD]}?`),Co("FULL",`^${bo[$o.FULLPLAIN]}$`),Co("LOOSEPLAIN",`[v=\\s]*${bo[$o.MAINVERSIONLOOSE]}${bo[$o.PRERELEASELOOSE]}?${bo[$o.BUILD]}?`),Co("LOOSE",`^${bo[$o.LOOSEPLAIN]}$`),Co("GTLT","((?:<|>)?=?)"),Co("XRANGEIDENTIFIERLOOSE",`${bo[$o.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),Co("XRANGEIDENTIFIER",`${bo[$o.NUMERICIDENTIFIER]}|x|X|\\*`),Co("XRANGEPLAIN",`[v=\\s]*(${bo[$o.XRANGEIDENTIFIER]})(?:\\.(${bo[$o.XRANGEIDENTIFIER]})(?:\\.(${bo[$o.XRANGEIDENTIFIER]})(?:${bo[$o.PRERELEASE]})?${bo[$o.BUILD]}?)?)?`),Co("XRANGEPLAINLOOSE",`[v=\\s]*(${bo[$o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${bo[$o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${bo[$o.XRANGEIDENTIFIERLOOSE]})(?:${bo[$o.PRERELEASELOOSE]})?${bo[$o.BUILD]}?)?)?`),Co("XRANGE",`^${bo[$o.GTLT]}\\s*${bo[$o.XRANGEPLAIN]}$`),Co("XRANGELOOSE",`^${bo[$o.GTLT]}\\s*${bo[$o.XRANGEPLAINLOOSE]}$`),Co("COERCE",`(^|[^\\d])(\\d{1,${Po}})(?:\\.(\\d{1,${Po}}))?(?:\\.(\\d{1,${Po}}))?(?:$|[^\\d])`),Co("COERCERTL",bo[$o.COERCE],!0),Co("LONETILDE","(?:~>?)"),Co("TILDETRIM",`(\\s*)${bo[$o.LONETILDE]}\\s+`,!0),Ls.tildeTrimReplace="$1~",Co("TILDE",`^${bo[$o.LONETILDE]}${bo[$o.XRANGEPLAIN]}$`),Co("TILDELOOSE",`^${bo[$o.LONETILDE]}${bo[$o.XRANGEPLAINLOOSE]}$`),Co("LONECARET","(?:\\^)"),Co("CARETTRIM",`(\\s*)${bo[$o.LONECARET]}\\s+`,!0),Ls.caretTrimReplace="$1^",Co("CARET",`^${bo[$o.LONECARET]}${bo[$o.XRANGEPLAIN]}$`),Co
Print (to stderr) where a cursor at the given position would move to after formatting.
This option cannot be used with --range-start and --range-end.
`,cliCategory:Go},endOfLine:{since:"1.15.0",category:Co,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"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:Po`
Maintain existing
(mixed values within one file are normalised by looking at what's used after the first line)
`}]},filepath:{since:"1.4.0",category:us,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:$o,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:us,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:$o},parser:{since:"0.0.10",category:Co,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:os=>typeof os=="string"||typeof os=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:Co,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:os=>typeof os=="string"||typeof os=="object",cliName:"plugin",cliCategory:Yo},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:Co,description:Po`
Custom directory that contains prettier plugins in node_modules subdirectory.
Overrides default behavior when plugins are searched relatively to the location of Prettier.
Multiple values are accepted.
`,exception:os=>typeof os=="string"||typeof os=="object",cliName:"plugin-search-dir",cliCategory:Yo},printWidth:{since:"0.0.0",category:Co,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:us,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Po`
Format code ending at a given character offset (exclusive).
The range will extend forwards to the end of the selected statement.
This option cannot be used with --cursor-offset.
`,cliCategory:Go},rangeStart:{since:"1.4.0",category:us,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Po`
Format code starting at a given character offset.
The range will extend backwards to the start of the first line containing the selected statement.
This option cannot be used with --cursor-offset.
`,cliCategory:Go},requirePragma:{since:"1.7.0",category:us,type:"boolean",default:!1,description:Po`
Require either '@prettier' or '@format' to be present in the file's first docblock comment
in order for it to be formatted.
`,cliCategory:$o},tabWidth:{type:"int",category:Co,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:Co,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:Co,type:"choice",default:[{since:"2.1.0",value:"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."}]}};ys.exports={CATEGORY_CONFIG:Yo,CATEGORY_EDITOR:Go,CATEGORY_FORMAT:bo,CATEGORY_OTHER:$o,CATEGORY_OUTPUT:Jo,CATEGORY_GLOBAL:Co,CATEGORY_SPECIAL:us,options:vo}}}),Jf=aa({"src/main/support.js"(Ls,ys){qo();var Po={compare:tm(),lt:Tp(),gte:zm()},Yo=Gm(),Go=xm().version,bo=If().options;function $o(){let{plugins:Co=[],showUnreleased:us=!1,showDeprecated:vo=!1,showInternal:os=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Os=Go.split("-",1)[0],ws=Co.flatMap(ms=>ms.languages||[]).filter(al),Vs=Yo(Object.assign({},...Co.map(ms=>{let{options:Cl}=ms;return Cl}),bo),"name").filter(ms=>al(ms)&&Ys(ms)).sort((ms,Cl)=>ms.name===Cl.name?0:ms.name<Cl.name?-1:1).map(Pl).map(ms=>{ms=Object.assign({},ms),Array.isArray(ms.default)&&(ms.default=ms.default.length===1?ms.default[0].value:ms.default.filter(al).sort((Rs,Is)=>Po.compare(Is.since,Rs.since))[0].value),Array.isArray(ms.choices)&&(ms.choices=ms.choices.filter(Rs=>al(Rs)&&Ys(Rs)),ms.name==="parser"&&Jo(ms,ws,Co));let Cl=Object.fromEntries(Co.filter(Rs=>Rs.defaultOptions&&Rs.defaultOptions[ms.name]!==void 0).map(Rs=>[Rs.name,Rs.defaultOptions[ms.name]]));return Object.assign(Object.assign({},ms),{},{pluginDefaults:Cl})});return{languages:ws,options:Vs};function al(ms){return us||!("since"in ms)||ms.since&&Po.gte(Os,ms.since)}function Ys(ms){return vo||!("deprecated"in ms)||ms.deprecated&&Po.lt(Os,ms.deprecated)}function Pl(ms){return os?ms:ks(ms,Ao)}}function Jo(Co,us,vo){let os=new Set(Co.choices.map(Os=>Os.value));for(let Os of us)if(Os.parsers){for(let ws of Os.parsers)if(!os.has(ws)){os.add(ws);let Vs=vo.find(Ys=>Ys.parsers&&Ys.parsers[ws]),al=Os.name;Vs&&Vs.name&&(al+=` (plugin: ${Vs.name})`),Co.choices.push({value:ws,description:al})}}}ys.exports={getSupportInfo:$o}}}),$m=aa({"src/utils/is-non-empty-array.js"(Ls,ys){qo();function Po(Yo){return Array.isArray(Yo)&&Yo.length>0}ys.exports=Po}});function Wm(){let{onlyFirst:Ls=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ys=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(ys,Ls?void 0:"g")}var l0=Ea({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){qo()}});function hm(Ls){if(typeof Ls!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof Ls}\``);return Ls.replace(Wm(),"")}var qp=Ea({"node_modules/strip-ansi/index.js"(){qo(),l0()}});function Km(Ls){return Number.isInteger(Ls)?Ls>=4352&&(Ls<=4447||Ls===9001||Ls===9002||11904<=Ls&&Ls<=12871&&Ls!==12351||12880<=Ls&&Ls<=19903||19968<=Ls&&Ls<=42182||43360<=Ls&&Ls<=43388||44032<=Ls&&Ls<=55203||63744<=Ls&&Ls<=64255||65040<=Ls&&Ls<=65049||65072<=Ls&&Ls<=65131||65281<=Ls&&Ls<=65376||65504<=Ls&&Ls<=65510||110592<=Ls&&Ls<=110593||127488<=Ls&&Ls<=127569||131072<=Ls&&Ls<=262141):!1}var Ym=Ea({"node_modules/is-fullwidth-code-point/index.js"(){qo()}}),mm=aa({"node_modules/emoji-regex/index.js"(Ls,ys){qo(),ys.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD
`)return Go-2;if(Jo===`
`||Jo==="\r"||Jo==="\u2028"||Jo==="\u2029")return Go-1}else{if(Jo==="\r"&&Yo.charAt(Go+1)===`
`)return Go+2;if(Jo===`
`||Jo==="\r"||Jo==="\u2028"||Jo==="\u2029")return Go+1}return Go}ys.exports=Po}}),kd=aa({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(Ls,ys){qo();var Po=vu(),Yo=kc(),Go=Mc(),{skipSpaces:bo}=wu();function $o(Jo,Co){let us=null,vo=Co;for(;vo!==us;)us=vo,vo=bo(Jo,vo),vo=Po(Jo,vo),vo=Go(Jo,vo),vo=Yo(Jo,vo);return vo}ys.exports=$o}}),xf=aa({"src/common/util.js"(Ls,ys){qo();var{default:Po}=(Zp(),vs(fm)),Yo=zf(),{getSupportInfo:Go}=Jf(),bo=$m(),$o=dl(),{skipWhitespace:Jo,skipSpaces:Co,skipToLineEnd:us,skipEverythingButNewLine:vo}=wu(),os=vu(),Os=Mc(),ws=kc(),Vs=kd(),al=du=>du[du.length-2];function Ys(du){return(Kl,gu,Uu)=>{let yc=Uu&&Uu.backwards;if(gu===!1)return!1;let{length:Fc}=Kl,zc=gu;for(;zc>=0&&zc<Fc;){let jd=Kl.charAt(zc);if(du instanceof RegExp){if(!du.test(jd))return zc}else if(!du.includes(jd))return zc;yc?zc--:zc++}return zc===-1||zc===Fc?zc:!1}}function Pl(du,Kl){let gu=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Uu=Co(du,gu.backwards?Kl-1:Kl,gu),yc=ws(du,Uu,gu);return Uu!==yc}function ms(du,Kl,gu){for(let Uu=Kl;Uu<gu;++Uu)if(du.charAt(Uu)===`
`)return!0;return!1}function Cl(du,Kl,gu){let Uu=gu(Kl)-1;Uu=Co(du,Uu,{backwards:!0}),Uu=ws(du,Uu,{backwards:!0}),Uu=Co(du,Uu,{backwards:!0});let yc=ws(du,Uu,{backwards:!0});return Uu!==yc}function Rs(du,Kl){let gu=null,Uu=Kl;for(;Uu!==gu;)gu=Uu,Uu=us(du,Uu),Uu=os(du,Uu),Uu=Co(du,Uu);return Uu=Os(du,Uu),Uu=ws(du,Uu),Uu!==!1&&Pl(du,Uu)}function Is(du,Kl,gu){return Rs(du,gu(Kl))}function $s(du,Kl,gu){return Vs(du,gu(Kl))}function zs(du,Kl,gu){return du.charAt($s(du,Kl,gu))}function Yl(du,Kl){let gu=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Co(du,gu.backwards?Kl-1:Kl,gu)!==Kl}function hu(du,Kl){let gu=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,Uu=0;for(let yc=gu;yc<du.length;++yc)du[yc]===" "?Uu=Uu+Kl-Uu%Kl:Uu++;return Uu}function Bu(du,Kl){let gu=du.lastIndexOf(`
`);return gu===-1?0:hu(du.slice(gu+1).match(/^[\t ]*/)[0],Kl)}function Wl(du,Kl){let gu={quote:'"',regex:/"/g,escaped:"&quot;"},Uu={quote:"'",regex:/'/g,escaped:"&apos;"},yc=Kl==="'"?Uu:gu,Fc=yc===Uu?gu:Uu,zc=yc;if(du.includes(yc.quote)||du.includes(Fc.quote)){let jd=(du.match(yc.regex)||[]).length,Bc=(du.match(Fc.regex)||[]).length;zc=jd>Bc?Fc:yc}return zc}function Su(du,Kl){let gu=du.slice(1,-1),Uu=Kl.parser==="json"||Kl.parser==="json5"&&Kl.quoteProps==="preserve"&&!Kl.singleQuote?'"':Kl.__isInHtmlAttribute?"'":Wl(gu,Kl.singleQuote?"'":'"').quote;return Ou(gu,Uu,!(Kl.parser==="css"||Kl.parser==="less"||Kl.parser==="scss"||Kl.__embeddedInHtml))}function Ou(du,Kl,gu){let Uu=Kl==='"'?"'":'"',yc=/\\(.)|(["'])/gs,Fc=du.replace(yc,(zc,jd,Bc)=>jd===Uu?jd:Bc===Kl?"\\"+Bc:Bc||(gu&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(jd)?jd:"\\"+jd));return Kl+Fc+Kl}function Fu(du){return du.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function fl(du,Kl){let gu=du.match(new RegExp(`(${Po(Kl)})+`,"g"));return gu===null?0:gu.reduce((Uu,yc)=>Math.max(Uu,yc.length/Kl.length),0)}function Lu(du,Kl){let gu=du.match(new RegExp(`(${Po(Kl)})+`,"g"));if(gu===null)return 0;let Uu=new Map,yc=0;for(let Fc of gu){let zc=Fc.length/Kl.length;Uu.set(zc,!0),zc>yc&&(yc=zc)}for(let Fc=1;Fc<yc;Fc++)if(!Uu.get(Fc))return Fc;return yc+1}function mc(du,Kl){(du.comments||(du.comments=[])).push(Kl),Kl.printed=!1,Kl.nodeDescription=Ku(du)}function _c(du,Kl){Kl.leading=!0,Kl.trailing=!1,mc(du,Kl)}function no(du,Kl,gu){Kl.leading=!1,Kl.trailing=!1,gu&&(Kl.marker=gu),mc(du,Kl)}function $u(du,Kl){Kl.leading=!1,Kl.trailing=!0,mc(du,Kl)}function Ic(du,Kl){let{languages:gu}=Go({plugins:Kl.plugins}),Uu=gu.find(yc=>{let{name:Fc}=yc;return Fc.toLowerCase()===du})||gu.find(yc=>{let{aliases:Fc}=yc;return Array.isArray(Fc)&&Fc.includes(du)})||gu.find(yc=>{let{extensions:Fc}=yc;return Array.isArray(Fc)&&Fc.includes(`.${du}`)});return Uu&&Uu.parsers[0]}function ju(du){return du&&du.type==="front-matter"}function bu(du){let Kl=new WeakMap;return function(gu){return Kl.has(gu)||Kl.set(gu,Symbol(du)),Kl.get(gu)}}function Ku(du){let Kl=du.type||du.kind||"(unknown type)",gu=String(du.name||du.id&&(typeof du.id=="object"?du.id.name:du.id)||du.key&&(typeof du.key=="object"?du.key.name:du.key)||du.value&&(typeof du.value=="object"?"":String(du.value))||du.operator||"");return gu.length>20&&(gu=gu.slice(0,19)+"…"),Kl+(gu?" "+gu:"")}ys.exports={inferParserByLanguage:Ic,getStringWidth:$o,getMaxContinuousCount:fl,getMinNotPresentContinuousCount:Lu,getPenultimate:al,getLast:Yo,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Vs,getNextNonSpaceNonCommentCharacterIndex:$s,getNextNonSpaceNonCommentCharacter:zs,skip:Ys,skipWhitespace:Jo,skipSpaces:Co,skipToLineEnd:us,skipEverythingButNewLine:vo,skipInlineComment:os,skipTrailingComment:Os,skipNewline:ws,isNextLineEmptyAfterIndex:Rs,isNextLineEmpty:Is,isPreviousLineEmpty:Cl,hasNewline:Pl,hasNewlineInRange:ms,hasSpaces:Yl,getAlignmentSize:hu,getIndentSize:Bu,getPreferredQuote:Wl,printString:Su,printNumber:Fu,makeString:Ou,addLeadingComment:_c,addDanglingComment:no,addTrailingComment:$u,isFrontMatterNode:ju,isNonEmptyArray:bo,createGroupIdMapper:bu}}}),Zd=aa({"src/language-markdown/constants.evaluate.js"(Ls,ys){ys.exports={cjkPattern:"(?:[\\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-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\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][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50
(${bo})`,"g"),"$1$2")).split(/([\t\n ]+)/);for(let[Wl,Su]of hu.entries()){if(Wl%2===1){Yl.push({type:"whitespace",value:/\n/.test(Su)?`
`:" "});continue}if((Wl===0||Wl===hu.length-1)&&Su==="")continue;let Ou=Su.split(new RegExp(`(${bo})`));for(let[Fu,fl]of Ou.entries())if(!((Fu===0||Fu===Ou.length-1)&&fl==="")){if(Fu%2===0){fl!==""&&Bu({type:"word",value:fl,kind:Rs,hasLeadingPunctuation:os.test(fl[0]),hasTrailingPunctuation:os.test(Po(fl))});continue}Bu(os.test(fl)?{type:"word",value:fl,kind:zs,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:fl,kind:vo.test(fl)?$s:Is,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return Yl;function Bu(Wl){let Su=Po(Yl);Su&&Su.type==="word"&&(Su.kind===Rs&&Wl.kind===Is&&!Su.hasTrailingPunctuation||Su.kind===Is&&Wl.kind===Rs&&!Wl.hasLeadingPunctuation?Yl.push({type:"whitespace",value:" "}):!Ou(Rs,zs)&&![Su.value,Wl.value].some(Fu=>/\u3000/.test(Fu))&&Yl.push({type:"whitespace",value:""})),Yl.push(Wl);function Ou(Fu,fl){return Su.kind===Fu&&Wl.kind===fl||Su.kind===fl&&Wl.kind===Fu}}}function ws(ms,Cl){let[,Rs,Is,$s]=Cl.slice(ms.position.start.offset,ms.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:Rs,marker:Is,leadingSpaces:$s}}function Vs(ms,Cl){if(!ms.ordered||ms.children.length<2)return!1;let Rs=Number(ws(ms.children[0],Cl.originalText).numberText),Is=Number(ws(ms.children[1],Cl.originalText).numberText);if(Rs===0&&ms.children.length>2){let $s=Number(ws(ms.children[2],Cl.originalText).numberText);return Is===1&&$s===1}return Is===1}function al(ms,Cl){let{value:Rs}=ms;return ms.position.end.offset===Cl.length&&Rs.endsWith(`
`)&&Cl.endsWith(`
`)?Rs.slice(0,-1):Rs}function Ys(ms,Cl){return function Rs(Is,$s,zs){let Yl=Object.assign({},Cl(Is,$s,zs));return Yl.children&&(Yl.children=Yl.children.map((hu,Bu)=>Rs(hu,Bu,[Yl,...zs]))),Yl}(ms,null,[])}function Pl(ms){if((ms==null?void 0:ms.type)!=="link"||ms.children.length!==1)return!1;let[Cl]=ms.children;return Yo(ms)===Yo(Cl)&&Go(ms)===Go(Cl)}ys.exports={mapAst:Ys,splitText:Os,punctuationPattern:Jo,getFencedCodeBlockValue:al,getOrderedListItemInfo:ws,hasGitDiffFriendlyOrderedList:Vs,INLINE_NODE_TYPES:Co,INLINE_NODE_WRAPPER_TYPES:us,isAutolink:Pl}}}),i0=aa({"src/language-markdown/unified-plugins/html-to-jsx.js"(Ls,ys){qo();var Po=Sp(),{mapAst:Yo,INLINE_NODE_WRAPPER_TYPES:Go}=gm();function bo(){return $o=>Yo($o,(Jo,Co,us)=>{let[vo]=us;return Jo.type!=="html"||Po.COMMENT_REGEX.test(Jo.value)||Go.includes(vo.type)?Jo:Object.assign(Object.assign({},Jo),{},{type:"jsx"})})}ys.exports=bo}}),xp=aa({"src/language-markdown/unified-plugins/front-matter.js"(Ls,ys){qo();var Po=jh();function Yo(){let Go=this.Parser.prototype;Go.blockMethods=["frontMatter",...Go.blockMethods],Go.blockTokenizers.frontMatter=bo;function bo($o,Jo){let Co=Po(Jo);if(Co.frontMatter)return $o(Co.frontMatter.raw)(Co.frontMatter)}bo.onlyAtStart=!0}ys.exports=Yo}}),zp=aa({"src/language-markdown/unified-plugins/liquid.js"(Ls,ys){qo();function Po(){let Yo=this.Parser.prototype,Go=Yo.inlineMethods;Go.splice(Go.indexOf("text"),0,"liquid"),Yo.inlineTokenizers.liquid=bo;function bo($o,Jo){let Co=Jo.match(/^({%.*?%}|{{.*?}})/s);if(Co)return $o(Co[0])({type:"liquidNode",value:Co[0]})}bo.locator=function($o,Jo){return $o.indexOf("{",Jo)}}ys.exports=Po}}),Hh=aa({"src/language-markdown/unified-plugins/wiki-link.js"(Ls,ys){qo();function Po(){let Yo="wikiLink",Go=/^\[\[(?<linkContents>.+?)]]/s,bo=this.Parser.prototype,$o=bo.inlineMethods;$o.splice($o.indexOf("link"),0,Yo),bo.inlineTokenizers.wikiLink=Jo;function Jo(Co,us){let vo=Go.exec(us);if(vo){let os=vo.groups.linkContents.trim();return Co(vo[0])({type:Yo,value:os})}}Jo.locator=function(Co,us){return Co.indexOf("[",us)}}ys.exports=Po}}),Cp=aa({"src/language-markdown/unified-plugins/loose-items.js"(Ls,ys){qo();function Po(){let Yo=this.Parser.prototype,Go=Yo.blockTokenizers.list;function bo($o,Jo,Co){return Jo.type==="listItem"&&(Jo.loose=Jo.spread||$o.charAt($o.length-1)===`
`,Jo.loose&&(Co.loose=!0)),Jo}Yo.blockTokenizers.list=function($o,Jo,Co){function us(vo){let os=$o(vo);function Os(ws,Vs){return os(bo(vo,ws,Vs),Vs)}return Os.reset=function(ws,Vs){return os.reset(bo(vo,ws,Vs),Vs)},Os}return us.now=$o.now,Go.call(this,us,Jo,Co)}}ys.exports=Po}});qo();var ih=Vp(),rm=Hm(),Bd=dm(),a0=Tm(),Ld=Fh(),{locStart:Zf,locEnd:nm}=yh(),jf=Sp(),Nh=i0(),Gp=xp(),Wp=zp(),Nm=Hh(),Am=Cp();function Np(Ls){let{isMDX:ys}=Ls;return Po=>{let Yo=rm().use(ih,Object.assign({commonmark:!0},ys&&{blocks:[jf.BLOCKS_REGEX]})).use(a0).use(Gp).use(Bd).use(ys?jf.esSyntax:im).use(Wp).use(ys?Nh:im).use(Nm).use(Am);return Yo.runSync(Yo.parse(Po))}}function im(Ls){return Ls}var Vh={astFormat:"mdast",hasPragma:Ld.hasPragma,locStart:Zf,locEnd:nm},lh=Object.assign(Object.assign({},Vh),{},{parse:Np({isMDX:!1})}),Lm=Object.assign(Object.assign({},Vh),{},{parse:Np({isMDX:!0})});Wa.exports={parsers:{remark:lh,markdown:lh,mdx:Lm}}});return il()})})(parserMarkdown);var parserMarkdownExports=parserMarkdown.exports;const prettierMarkdown=getDefaultExportFromCjs(parserMarkdownExports);function addPrefix(e){return`${prefix}__${e}`}function createCustomTheme(e,t){const y=JSON.parse(JSON.stringify(e));return y.block.h1["border-bottom"]=`2px solid ${t}`,y.block.h2.background=t,y.block.h3["border-left"]=`3px solid ${t}`,y.block.h4.color=t,y.inline.strong.color=t,y}function setColorWithTemplate(e){return t=>createCustomTheme(e,t)}function setColorWithCustomTemplate(e,t){return createCustomTheme(e,t)}function setFontSizeWithTemplate(e){return function(t){const y=JSON.parse(JSON.stringify(e));return y.block.h1["font-size"]=`${t*1.2}px`,y.block.h2["font-size"]=`${t*1.2}px`,y.block.h3["font-size"]=`${t*1.1}px`,y.block.h4["font-size"]=`${t}px`,y}}const setColor=setColorWithTemplate(defaultTheme),setFontSize=setFontSizeWithTemplate(defaultTheme);function customCssWithTemplate(e,t,y){const n=createCustomTheme(y,t);return n.block.h1=Object.assign(n.block.h1,e.h1),n.block.h2=Object.assign(n.block.h2,e.h2),n.block.h3=Object.assign(n.block.h3,e.h3),n.block.h4=Object.assign(n.block.h4,e.h4),n.block.code=Object.assign(n.block.code,e.code),n.block.p=Object.assign(n.block.p,e.p),n.block.hr=Object.assign(n.block.hr,e.hr),n.block.blockquote=Object.assign(n.block.blockquote,e.blockquote),n.block.blockquote_p=Object.assign(n.block.blockquote_p,e.blockquote_p),n.block.image=Object.assign(n.block.image,e.image),n.inline.strong=Object.assign(n.inline.strong,e.strong),n.inline.codespan=Object.assign(n.inline.codespan,e.codespan),n.inline.link=Object.assign(n.inline.link,e.link),n.inline.wx_link=Object.assign(n.inline.wx_link,e.wx_link),n.block.ul=Object.assign(n.block.ul,e.ul),n.block.ol=Object.assign(n.block.ol,e.ol),n.inline.listitem=Object.assign(n.inline.listitem,e.li),n}function css2json(e){let t,y;for(;(t=e.indexOf("/*"))!==-1&&(y=e.indexOf("*/"))!==-1;)e=e.substring(0,t)+e.substring(y+2);const n={};for(;e.length>0&&e.includes("{")&&e.includes("}");){let L=function(z){const re={};return z.forEach(oe=>{const ue=oe.indexOf(":"),de=oe.substring(0,ue).trim();re[de]=oe.substring(ue+1).trim()}),re};const $=e.indexOf("{"),k=e.indexOf("}");let j=e.substring($+1,k).split(";").map(z=>z.trim()).filter(z=>z.length>0);j=L(j),e.substring(0,$).split(",").map(z=>z.trim()).forEach(z=>{n[z]||(n[z]={}),Object.keys(j).forEach(re=>{n[z][re]=j[re]})}),e=e.slice(k+1).trim()}return n}function formatDoc(e){return prettier.format(e,{parser:"markdown",plugins:[prettierMarkdown]})}function formatCss(e){return prettier.format(e,{parser:"css",plugins:[prettierCss]})}function downloadMD(e){const t=document.createElement("a");t.download="content.md",t.style.display="none";const y=new Blob([e]);t.href=URL.createObjectURL(y),document.body.appendChild(t),t.click(),document.body.removeChild(t)}function exportHTML(){const e=document.querySelector("#output");$(e);const t=e.innerHTML,y=document.createElement("a");y.download="content.html",y.style.display="none";const n=new Blob([`<html><head><meta charset="utf-8" /></head><body><div style="width: 750px; margin: auto;">${t}</div></body></html>`]);y.
`}return n}function toBase64(e){return new Promise((t,y)=>{const n=new FileReader;n.readAsDataURL(e),n.onload=()=>t(n.result.split(",").pop()),n.onerror=$=>y($)})}function checkImage(e){if(!/\.(gif|jpg|jpeg|png|GIF|JPG|PNG)$/.test(e.name))return{ok:!1,msg:"请上传 JPG/PNG/GIF 格式的图片"};const y=10;return e.size/1024/1024<=y?{ok:!0}:{ok:!1,msg:`由于公众号限制图片大小不能超过 ${y}M`}}function removeLeft(e){const t=e.split(`
`),y=t.filter(n=>n.trim()).map(n=>n.match(/(^\s+)?/)[0].length).sort((n,$)=>n-$)[0];return t.map(n=>n.slice(y)).join(`
`)}function solveWeChatImage(){const t=document.getElementById("output").getElementsByTagName("img");for(let y=0;y<t.length;y++){const n=t[y],$=n.getAttribute("width"),k=n.getAttribute("height");n.removeAttribute("width"),n.removeAttribute("height"),n.style.width=$,n.style.height=k}}function mergeCss(e){return juice(e,{inlinePseudoElements:!0,preserveImportant:!0})}const defaultKeyMap=CodeMirror.keyMap.default,modPrefix=defaultKeyMap===CodeMirror.keyMap.macDefault?"Cmd":"Ctrl",useStore=defineStore("store",()=>{const e=useDark(),t=useToggle(e),y=useStorage("isMacCodeBlock",!0),n=useToggle(y),$=useStorage("isEditOnLeft",!0),k=useToggle($),L=useStorage("isCiteStatus",!1),j=useToggle(L),V=ref$1(""),z=useStorage("fonts",fontFamilyOptions[0].value),re=useStorage("size",fontSizeOptions[2].value),oe=useStorage("color",colorOptions[0].value),ue=useStorage("codeBlockTheme",codeBlockThemeOptions[2].value),de=useStorage("legend",legendOptions[3].value),_e=new WxRenderer({theme:setColor(oe.value),fonts:z.value,size:re.value}),Ne=ref$1(null),Ue=useStorage("__editor_content",formatDoc(DEFAULT_CONTENT)),$e=()=>{const Dr=formatDoc(Ne.value.getValue());Ue.value=Dr,Ne.value.setValue(Dr)},Ve=()=>{const Dr=ue.value,Ir=document.querySelector("#hljs");if(Ir)Ir.setAttribute("href",Dr);else{const Br=document.createElement("link");Br.setAttribute("type","text/css"),Br.setAttribute("rel","stylesheet"),Br.setAttribute("href",Dr),Br.setAttribute("id","hljs"),document.head.appendChild(Br)}},Fe=()=>{Ve();const Dr=_e.getRenderer(L.value);marked.setOptions({renderer:Dr});let Ir=marked.parse(Ne.value.getValue(0));Ir=Ir.replace(/(style=".*?)"/,'$1;margin-top: 0"'),L.value&&(Ir+=_e.buildFootnotes(),Ir+=_e.buildAddition()),y.value&&(Ir+=`
<style>
.hljs.code__pre::before {
position: initial;
padding: initial;
content: '';
display: block;
height: 25px;
background-color: transparent;
background-image: url("https://doocs.oss-cn-shenzhen.aliyuncs.com/img/123.svg");
background-position: 14px 10px!important;
background-repeat: no-repeat;
background-size: 40px!important;
}
.hljs.code__pre {
padding: 0!important;
}
.hljs.code__pre code {
display: -webkit-box;
padding: 0.5em 1em 1em;
overflow-x: auto;
text-indent: 0;
}
</style>
`),V.value=Ir},qe=ref$1(null),er=Dr=>{qe.value.setValue(Dr)},ir=useStorage("__css_content",DEFAULT_CSS_CONTENT),dr=useStorage(addPrefix("css_content_config"),{active:"方案 1",tabs:[{title:"方案 1",name:"方案 1",content:ir.value||DEFAULT_CSS_CONTENT}]}),cr=()=>dr.value.tabs.find(Dr=>Dr.name===dr.value.active),nr=Dr=>{dr.value.active=Dr;const Ir=dr.value.tabs.find(Br=>Br.name===Dr).content;er(Ir)},lr=Dr=>{dr.value.tabs.push({name:Dr,title:Dr,content:DEFAULT_CSS_CONTENT}),dr.value.active=Dr,er(DEFAULT_CSS_CONTENT)},Et=Dr=>dr.value.tabs.every(({name:Ir})=>Ir!==Dr),ie=()=>{const Dr=css2json(qe.value.getValue());let Ir=setFontSize(re.value.replace("px",""));Ir=customCssWithTemplate(Dr,oe.value,Ir),_e.setOptions({theme:Ir}),Fe()};onMounted(()=>{const Dr=document.querySelector("#cssEditor");Dr.value=cr().content,qe.value=markRaw(CodeMirror.fromTextArea(Dr,{mode:"css",theme:"style-mirror",lineNumbers:!1,lineWrapping:!0,matchBrackets:!0,autofocus:!0,extraKeys:{[`${modPrefix}-F`]:function(Br){const Rr=formatCss(Br.getValue());cr().content=Rr,Br.setValue(Rr)}}})),qe.value.on("keyup",(Ir,Br)=>{(Br.keyCode>=65&&Br.keyCode<=90||Br.keyCode===189)&&Ir.showHint(Br)}),qe.value.on("update",()=>{ie(),cr().content=qe.value.getValue()})});const pe=()=>{L.value=!1,y.value=!0,z.value=fontFamilyOptions[0].value,re.value=fontSizeOptions[2].value,oe.value=colorOptions[0].value,ue.value=codeBlockThemeOptions[2].value,de.value=legendOptions[3].value,dr.value={active:"方案 1",tabs:[{title:"方案 1",name:"方案 1",content:ir.value||DEFAULT_CSS_CONTENT}]},qe.value.setValue(DEFAULT_CSS_CONTENT),ie(),Fe()},Ce=Dr=>(...Ir)=>{Dr(...Ir),Fe()},Ie=(Dr,Ir)=>{const Br=setFontSize(Dr.replace("px",""));return setColorWithCustomTemplate(Br,Ir)},jt=Ce(Dr=>{_e.setOptions({fonts:Dr}),z.value=Dr}),ar=Ce(Dr=>{const Ir=Ie(Dr,oe.value);_e.setOptions({size:Dr,theme:Ir}),re.value=Dr}),ur=Ce(Dr=>{const Ir=Ie(re.value,Dr);_e.setOptions({theme:Ir}),oe.value=Dr}),kt=Ce(Dr=>{ue.value=Dr}),he=Ce(Dr=>{de.value=Dr}),tr=Ce(()=>{n()}),gr=Ce(()=>{j()}),_r=()=>{exportHTML(),document.querySelector("#output").innerHTML=V.value},yr=()=>{downloadMD(Ne.value.getValue())},xr=()=>{const Dr=document.body,Ir=document.createElement("input");Ir.type="file",Ir.name="filename",Ir.accept=".md",Ir.onchange=()=>{const Br=Ir.files[0];if(!Br)return;const Rr=new FileReader;Rr.readAsText(Br),Rr.onload=Lr=>{Ne.value.setValue(formatDoc(Lr.target.result)),ElMessage.success("文档导入成功")}},Dr.appendChild(Ir),Ir.click(),Dr.removeChild(Ir)},Nr=()=>{ElMessageBox.confirm("此操作将丢失本地自定义样式,是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",center:!0}).then(()=>{pe(),ElMessage({type:"success",message:"样式重置成功~"})}).catch(()=>{Ne.value.focus()})},Tr=ref$1(!1),Sr=useToggle(Tr),Ar=ref$1(!1),Fr=useToggle(Ar),Gr=ref$1(!1),Vr=useToggle(Gr);return{isShowCssEditor:Tr,toggleShowCssEditor:Sr,isShowInsertFormDialog:Ar,toggleShowInsertFormDialog:Fr,isShowUploadImgDialog:Gr,toggleShowUploadImgDialog:Vr,isDark:e,toggleDark:t,isEditOnLeft:$,toggleEditOnLeft:k,isMacCodeBlock:y,isCiteStatus:L,citeStatusChanged:gr,output:V,editor:Ne,cssEditor:qe,fontFamily:z,fontSize:re,fontColor:oe,codeBlockTheme:ue,legend:de,editorRefresh:Fe,fontChanged:jt,sizeChanged:ar,colorChanged:ur,codeBlockThemeChanged:kt,legendChanged:he,macCodeBlockChanged:tr,formatContent:$e,exportEditorContent2HTML:_r,exportEditorContent2MD:yr,importMarkdownContent:xr,resetStyleConfirm:Nr,editorContent:Ue,cssContentConfig:dr,addCssContentTab:lr,validatorTabName:Et,setCssEditorValue:er,tabChanged:nr}}),Store=createPinia(),ElementPlus={install(e){e.use(installer,{size:"default"}),e.config.globalProperties.$loading=ElLoading.service,e.config.globalProperties.$message=ElMessage;for(const[t,y]of Object.entries(ElementPlusIconsVue))e.component(`ElIcon${t}`,y)}};var cryptoJs={exports:{}};function commonjsRequire(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs a
(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(n){var $=y,k=$.lib,L=k.WordArray,j=k.Hasher,V=$.algo,z=L.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]),re=L.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]),oe=L.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]),ue=L.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]),de=L.create([0,1518500249,1859775393,2400959708,2840853838]),_e=L.create([1352829926,1548603684,1836072691,2053994217,0]),Ne=V.RIPEMD160=j.extend({_doReset:function(){this._hash=L.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(ir,dr){for(var cr=0;cr<16;cr++){var nr=dr+cr,lr=ir[nr];ir[nr]=(lr<<8|lr>>>24)&16711935|(lr<<24|lr>>>8)&4278255360}var Et=this._hash.words,ie=de.words,pe=_e.words,Ce=z.words,Ie=re.words,jt=oe.words,ar=ue.words,ur,kt,he,tr,gr,_r,yr,xr,Nr,Tr;_r=ur=Et[0],yr=kt=Et[1],xr=he=Et[2],Nr=tr=Et[3],Tr=gr=Et[4];for(var Sr,cr=0;cr<80;cr+=1)Sr=ur+ir[dr+Ce[cr]]|0,cr<16?Sr+=Ue(kt,he,tr)+ie[0]:cr<32?Sr+=$e(kt,he,tr)+ie[1]:cr<48?Sr+=Ve(kt,he,tr)+ie[2]:cr<64?Sr+=Fe(kt,he,tr)+ie[3]:Sr+=qe(kt,he,tr)+ie[4],Sr=Sr|0,Sr=er(Sr,jt[cr]),Sr=Sr+gr|0,ur=gr,gr=tr,tr=er(he,10),he=kt,kt=Sr,Sr=_r+ir[dr+Ie[cr]]|0,cr<16?Sr+=qe(yr,xr,Nr)+pe[0]:cr<32?Sr+=Fe(yr,xr,Nr)+pe[1]:cr<48?Sr+=Ve(yr,xr,Nr)+pe[2]:cr<64?Sr+=$e(yr,xr,Nr)+pe[3]:Sr+=Ue(yr,xr,Nr)+pe[4],Sr=Sr|0,Sr=er(Sr,ar[cr]),Sr=Sr+Tr|0,_r=Tr,Tr=Nr,Nr=er(xr,10),xr=yr,yr=Sr;Sr=Et[1]+he+Nr|0,Et[1]=Et[2]+tr+Tr|0,Et[2]=Et[3]+gr+_r|0,Et[3]=Et[4]+ur+yr|0,Et[4]=Et[0]+kt+xr|0,Et[0]=Sr},_doFinalize:function(){var ir=this._data,dr=ir.words,cr=this._nDataBytes*8,nr=ir.sigBytes*8;dr[nr>>>5]|=128<<24-nr%32,dr[(nr+64>>>9<<4)+14]=(cr<<8|cr>>>24)&16711935|(cr<<24|cr>>>8)&4278255360,ir.sigBytes=(dr.length+1)*4,this._process();for(var lr=this._hash,Et=lr.words,ie=0;ie<5;ie++){var pe=Et[ie];Et[ie]=(pe<<8|pe>>>24)&16711935|(pe<<24|pe>>>8)&4278255360}return lr},clone:function(){var ir=j.clone.call(this);return ir._hash=this._hash.clone(),ir}});function Ue(ir,dr,cr){return ir^dr^cr}function $e(ir,dr,cr){return ir&dr|~ir&cr}function Ve(ir,dr,cr){return(ir|~dr)^cr}function Fe(ir,dr,cr){return ir&cr|dr&~cr}function qe(ir,dr,cr){return ir^(dr|~cr)}function er(ir,dr){return ir<<dr|ir>>>32-dr}$.RIPEMD160=j._createHelper(Ne),$.HmacRIPEMD160=j._createHmacHelper(Ne)}(),y.RIPEMD160})}(ripemd160$1)),ripemd160$1.exports}var hmac$1={exports:{}},hasRequiredHmac;function requireHmac(){return hasRequiredHmac||(hasRequiredHmac=1,function(e,t){(function(y,n){e.exports=n(requireCore())})(commonjsGlobal,function(y){(function(){var n=y,$=n.lib,k=$.Base,L=n.enc,j=L.Utf8,V=n.algo;V.HMAC=k.extend({init:function(z,re){z=this._hasher=new z.init,typeof re=="string"&&(re=j.parse(re));var oe=z.blockSize,ue=oe*4;re.sigBytes>ue&&(re=z.finalize(re)),re.clamp();for(var de=this._oKey=re.clone(),_e=this._iKey=re.clone(),Ne=de.words,Ue=_e.words,$e=0;$e<oe;$e++)Ne[$e]^=1549556828,Ue[$e]^=909522486;de.sigBytes=_e.sigBytes=ue,this.reset()},reset:function(){var z=this._hasher;z.reset(),z.update(this._iKey)},update:function(z){return this._hasher.update(z),this},finalize:function(z){var re=this._hasher,oe=re.finalize(z);re.reset();var ue=re.finalize(this._oKey.clone().concat(oe));return ue}})})()})}(hmac$1)),hmac$1.exports}var pbkdf2$1={exports:{}},hasRequiredPbkdf2;function requirePbkdf2(){return hasRequiredPbkdf2||(hasRequiredPbkdf2=1,function(e,t){(function(y,n,$){e.exports=n(requireCore(),requireSha256(),requireHmac())})(commonjsGlobal,function(y){return function(){var n=y,$=n.lib,k=$.Base,L=$.WordArray,j=n.a
* Counter block mode compatible with Dr Brian Gladman fileenc.c
* derived from CryptoJS.mode.CTR
* Jan Hruby jhruby.web@gmail.com
*/return y.mode.CTRGladman=function(){var n=y.lib.BlockCipherMode.extend();function $(j){if((j>>24&255)===255){var V=j>>16&255,z=j>>8&255,re=j&255;V===255?(V=0,z===255?(z=0,re===255?re=0:++re):++z):++V,j=0,j+=V<<16,j+=z<<8,j+=re}else j+=1<<24;return j}function k(j){return(j[0]=$(j[0]))===0&&(j[1]=$(j[1])),j}var L=n.Encryptor=n.extend({processBlock:function(j,V){var z=this._cipher,re=z.blockSize,oe=this._iv,ue=this._counter;oe&&(ue=this._counter=oe.slice(0),this._iv=void 0),k(ue);var de=ue.slice(0);z.encryptBlock(de,0);for(var _e=0;_e<re;_e++)j[V+_e]^=de[_e]}});return n.Decryptor=L,n}(),y.mode.CTRGladman})}(modeCtrGladman)),modeCtrGladman.exports}var modeOfb={exports:{}},hasRequiredModeOfb;function requireModeOfb(){return hasRequiredModeOfb||(hasRequiredModeOfb=1,function(e,t){(function(y,n,$){e.exports=n(requireCore(),requireCipherCore())})(commonjsGlobal,function(y){return y.mode.OFB=function(){var n=y.lib.BlockCipherMode.extend(),$=n.Encryptor=n.extend({processBlock:function(k,L){var j=this._cipher,V=j.blockSize,z=this._iv,re=this._keystream;z&&(re=this._keystream=z.slice(0),this._iv=void 0),j.encryptBlock(re,0);for(var oe=0;oe<V;oe++)k[L+oe]^=re[oe]}});return n.Decryptor=$,n}(),y.mode.OFB})}(modeOfb)),modeOfb.exports}var modeEcb={exports:{}},hasRequiredModeEcb;function requireModeEcb(){return hasRequiredModeEcb||(hasRequiredModeEcb=1,function(e,t){(function(y,n,$){e.exports=n(requireCore(),requireCipherCore())})(commonjsGlobal,function(y){return y.mode.ECB=function(){var n=y.lib.BlockCipherMode.extend();return n.Encryptor=n.extend({processBlock:function($,k){this._cipher.encryptBlock($,k)}}),n.Decryptor=n.extend({processBlock:function($,k){this._cipher.decryptBlock($,k)}}),n}(),y.mode.ECB})}(modeEcb)),modeEcb.exports}var padAnsix923={exports:{}},hasRequiredPadAnsix923;function requirePadAnsix923(){return hasRequiredPadAnsix923||(hasRequiredPadAnsix923=1,function(e,t){(function(y,n,$){e.exports=n(requireCore(),requireCipherCore())})(commonjsGlobal,function(y){return y.pad.AnsiX923={pad:function(n,$){var k=n.sigBytes,L=$*4,j=L-k%L,V=k+j-1;n.clamp(),n.words[V>>>2]|=j<<24-V%4*8,n.sigBytes+=j},unpad:function(n){var $=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=$}},y.pad.Ansix923})}(padAnsix923)),padAnsix923.exports}var padIso10126={exports:{}},hasRequiredPadIso10126;function requirePadIso10126(){return hasRequiredPadIso10126||(hasRequiredPadIso10126=1,function(e,t){(function(y,n,$){e.exports=n(requireCore(),requireCipherCore())})(commonjsGlobal,function(y){return y.pad.Iso10126={pad:function(n,$){var k=$*4,L=k-n.sigBytes%k;n.concat(y.lib.WordArray.random(L-1)).concat(y.lib.WordArray.create([L<<24],1))},unpad:function(n){var $=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=$}},y.pad.Iso10126})}(padIso10126)),padIso10126.exports}var padIso97971={exports:{}},hasRequiredPadIso97971;function requirePadIso97971(){return hasRequiredPadIso97971||(hasRequiredPadIso97971=1,function(e,t){(function(y,n,$){e.exports=n(requireCore(),requireCipherCore())})(commonjsGlobal,function(y){return y.pad.Iso97971={pad:function(n,$){n.concat(y.lib.WordArray.create([2147483648],1)),y.pad.ZeroPadding.pad(n,$)},unpad:function(n){y.pad.ZeroPadding.unpad(n),n.sigBytes--}},y.pad.Iso97971})}(padIso97971)),padIso97971.exports}var padZeropadding={exports:{}},hasRequiredPadZeropadding;function requirePadZeropadding(){return hasRequiredPadZeropadding||(hasRequiredPadZeropadding=1,function(e,t){(function(y,n,$){e.exports=n(requireCore(),requireCipherCore())})(commonjsGlobal,function(y){return y.pad.ZeroPadding={pad:function(n,$){var k=$*4;n.clamp(),n.sigBytes+=k-(n.sigBytes%k||k)},unpad:function(n){for(var $=n.words,k=n.sigBytes-1,k=n.sigBytes-1;k>=0;k--)if($[k>>>2]>>>24-k%4*8&255){n.sigBytes=k+1;break}}},y.pad.ZeroPadding})}(padZeropadding)),padZeropadding.exports}var padNopadding={exports:{}},hasRequiredPadNopadding;function requirePadNopadding(){return hasRequiredPadNopadding||(hasRequiredPadNopadding=1,function(e,t){(function(y,n,$){e.exports=n(requireCore(),requireCipherCore())})(commonjsGlobal,function(y){return y.pad.NoPadding={pad:function(){},unpad:functi
<BucketLoggingStatus>
<LoggingEnabled>
<TargetBucket>`.concat(Ve,`</TargetBucket>
`),Fe&&(ir+="<TargetPrefix>".concat(Fe,`</TargetPrefix>
`)),ir+=`</LoggingEnabled>
</BucketLoggingStatus>`,er.content=ir,er.mime="xml",er.successStatuses=[200],nr.next=9,this.request(er);case 9:return dr=nr.sent,nr.abrupt("return",{res:dr.res});case 11:case"end":return nr.stop()}},$e,this)}));function Ue($e,Ve,Fe){return Ne.apply(this,arguments)}return Ue}(),ue.getBucketLogging=function(){var Ne=(0,V.default)(j.default.mark(function $e(Ve,Fe){var qe,er,ir;return j.default.wrap(function(cr){for(;;)switch(cr.prev=cr.next){case 0:return qe=this._bucketRequestParams("GET",Ve,"logging",Fe),qe.successStatuses=[200],qe.xmlResponse=!0,cr.next=5,this.request(qe);case 5:return er=cr.sent,ir=er.data.LoggingEnabled,cr.abrupt("return",{enable:!!ir,prefix:ir&&ir.TargetPrefix||null,res:er.res});case 8:case"end":return cr.stop()}},$e,this)}));function Ue($e,Ve){return Ne.apply(this,arguments)}return Ue}(),ue.deleteBucketLogging=function(){var Ne=(0,V.default)(j.default.mark(function $e(Ve,Fe){var qe,er;return j.default.wrap(function(dr){for(;;)switch(dr.prev=dr.next){case 0:return qe=this._bucketRequestParams("DELETE",Ve,"logging",Fe),qe.successStatuses=[204,200],dr.next=4,this.request(qe);case 4:return er=dr.sent,dr.abrupt("return",{res:er.res});case 6:case"end":return dr.stop()}},$e,this)}));function Ue($e,Ve){return Ne.apply(this,arguments)}return Ue}(),ue.putBucketCORS=function(){var Ne=(0,V.default)(j.default.mark(function $e(Ve,Fe,qe){var er,ir,dr,cr,nr,lr,Et,ie,pe,Ce;return j.default.wrap(function(jt){for(;;)switch(jt.prev=jt.next){case 0:for(Fe=Fe||[],z(Fe.length,"rules is required"),Fe.forEach(function(ar){z(ar.allowedOrigin,"allowedOrigin is required"),z(ar.allowedMethod,"allowedMethod is required")}),er=this._bucketRequestParams("PUT",Ve,"cors",qe),ir=`<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration>`,dr=function(ur){ir+="<AllowedOrigin>".concat(ur,"</AllowedOrigin>")},cr=function(ur){ir+="<AllowedMethod>".concat(ur,"</AllowedMethod>")},nr=function(ur){ir+="<AllowedHeader>".concat(ur,"</AllowedHeader>")},lr=function(ur){ir+="<ExposeHeader>".concat(ur,"</ExposeHeader>")},Et=0,ie=Fe.length;Et<ie;Et++)pe=Fe[Et],ir+="<CORSRule>",_e(pe.allowedOrigin).forEach(dr),_e(pe.allowedMethod).forEach(cr),_e(pe.allowedHeader).forEach(nr),_e(pe.exposeHeader).forEach(lr),pe.maxAgeSeconds&&(ir+="<MaxAgeSeconds>".concat(pe.maxAgeSeconds,"</MaxAgeSeconds>")),ir+="</CORSRule>";return ir+="</CORSConfiguration>",er.content=ir,er.mime="xml",er.successStatuses=[200],jt.next=16,this.request(er);case 16:return Ce=jt.sent,jt.abrupt("return",{res:Ce.res});case 18:case"end":return jt.stop()}},$e,this)}));function Ue($e,Ve,Fe){return Ne.apply(this,arguments)}return Ue}(),ue.getBucketCORS=function(){var Ne=(0,V.default)(j.default.mark(function $e(Ve,Fe){var qe,er,ir,dr;return j.default.wrap(function(nr){for(;;)switch(nr.prev=nr.next){case 0:return qe=this._bucketRequestParams("GET",Ve,"cors",Fe),qe.successStatuses=[200],qe.xmlResponse=!0,nr.next=5,this.request(qe);case 5:return er=nr.sent,ir=[],er.data&&er.data.CORSRule&&(dr=er.data.CORSRule,de(dr)||(dr=[dr]),dr.forEach(function(lr){var Et={};Object.keys(lr).forEach(function(ie){Et[ie.slice(0,1).toLowerCase()+ie.slice(1,ie.length)]=lr[ie]}),ir.push(Et)})),nr.abrupt("return",{rules:ir,res:er.res});case 9:case"end":return nr.stop()}},$e,this)}));function Ue($e,Ve){return Ne.apply(this,arguments)}return Ue}(),ue.deleteBucketCORS=function(){var Ne=(0,V.default)(j.default.mark(function $e(Ve,Fe){var qe,er;return j.default.wrap(function(dr){for(;;)switch(dr.prev=dr.next){case 0:return qe=this._bucketRequestParams("DELETE",Ve,"cors",Fe),qe.successStatuses=[204],dr.next=4,this.request(qe);case 4:return er=dr.sent,dr.abrupt("return",{res:er.res});case 6:case"end":return dr.stop()}},$e,this)}));function Ue($e,Ve){return Ne.apply(this,arguments)}return Ue}(),ue.putBucketReferer=function(){var Ne=(0,V.default)(j.default.mark(function $e(Ve,Fe,qe,er){var ir,dr,cr,nr;return j.default.wrap(function(Et){for(;;)switch(Et.prev=Et.next){case 0:if(ir=this._bucketRequestParams("PUT",Ve,"referer",er),dr=`<?xml version="1.0" encoding="UTF-8"?>
<RefererConfiguration>
`,dr+=" <AllowEmptyReferer>".concat(Fe?"true":"false",`</AllowEmptyReferer>
`),qe&&qe.length>0){for(dr+=` <RefererList>
`,cr=0;cr<qe.length;cr++)dr+=" <Referer>".concat(qe[cr],`</Referer>
`);dr+=` </RefererList>
`}else dr+=` <RefererList />
`;return dr+="</RefererConfiguration>",ir.content=dr,ir.mime="xml",ir.successStatuses=[200],Et.next=10,this.request(ir);case 10:return nr=Et.sent,Et.abrupt("return",{res:nr.res});case 12:case"end":return Et.stop()}},$e,this)}));function Ue($e,Ve,Fe,qe){return Ne.apply(this,arguments)}return Ue}(),ue.getBucketReferer=function(){var Ne=(0,V.default)(j.default.mark(function $e(Ve,Fe){var qe,er,ir;return j.default.wrap(function(cr){for(;;)switch(cr.prev=cr.next){case 0:return qe=this._bucketRequestParams("GET",Ve,"referer",Fe),qe.successStatuses=[200],qe.xmlResponse=!0,cr.next=5,this.request(qe);case 5:return er=cr.sent,ir=er.data.RefererList.Referer||null,ir&&(de(ir)||(ir=[ir])),cr.abrupt("return",{allowEmpty:er.data.AllowEmptyReferer==="true",referers:ir,res:er.res});case 9:case"end":return cr.stop()}},$e,this)}));function Ue($e,Ve){return Ne.apply(this,arguments)}return Ue}(),ue.deleteBucketReferer=function(){var Ne=(0,V.default)(j.default.mark(function $e(Ve,Fe){return j.default.wrap(function(er){for(;;)switch(er.prev=er.next){case 0:return er.next=2,this.putBucketReferer(Ve,!0,null,Fe);case 2:return er.abrupt("return",er.sent);case 3:case"end":return er.stop()}},$e,this)}));function Ue($e,Ve){return Ne.apply(this,arguments)}return Ue}(),ue._bucketRequestParams=function(Ue,$e,Ve,Fe){return{method:Ue,bucket:$e,subres:Ve,additionalHeaders:Fe&&Fe.additionalHeaders,timeout:Fe&&Fe.timeout,ctx:Fe&&Fe.ctx}}},{"../common/utils/checkBucketName":52,"@babel/runtime/helpers/asyncToGenerator":82,"@babel/runtime/helpers/interopRequireDefault":84,"@babel/runtime/regenerator":93,assert:95,"core-js/modules/es.array.slice.js":319,"core-js/modules/es.object.keys.js":330,"core-js/modules/es.object.to-string.js":331,"core-js/modules/es.regexp.to-string.js":341,"core-js/modules/web.dom-collections.for-each.js":382}],3:[function(n,$,k){(function(L,j){(function(){var V=n("@babel/runtime/helpers/interopRequireDefault"),z=V(n("@babel/runtime/regenerator")),re=V(n("@babel/runtime/helpers/asyncToGenerator"));n("core-js/modules/es.function.name.js"),n("core-js/modules/es.object.assign.js"),n("core-js/modules/es.array.includes.js"),n("core-js/modules/es.regexp.exec.js"),n("core-js/modules/es.string.replace.js"),n("core-js/modules/es.array.concat.js"),n("core-js/modules/es.symbol.js"),n("core-js/modules/es.symbol.description.js"),n("core-js/modules/es.array.slice.js"),n("core-js/modules/es.object.to-string.js"),n("core-js/modules/es.promise.js"),n("core-js/modules/es.regexp.to-string.js");var oe=n("debug")("ali-oss"),ue=n("xml2js"),de=n("agentkeepalive"),_e=n("merge-descriptors"),Ne=n("platform"),Ue=n("utility"),$e=n("urllib"),Ve=n("./version"),Fe=n("bowser"),qe=n("../common/signUtils"),er=n("../common/client/initOptions"),ir=n("../common/utils/createRequest"),dr=ir.createRequest,cr=n("../common/utils/encoder"),nr=cr.encoder,lr=n("../common/client/getReqUrl"),Et=lr.getReqUrl,ie=n("../common/utils/setSTSToken"),pe=ie.setSTSToken,Ce=n("../common/utils/retry"),Ie=Ce.retry,jt=n("../common/utils/isFunction"),ar=jt.isFunction,ur=n("../common/utils/getStandardRegion"),kt=ur.getStandardRegion,he=new de;function tr(){var Tr=Ne.name,Sr=Ne.version;Tr&&Tr.toLowerCase&&Tr.toLowerCase()==="ie"&&Sr.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function gr(){return location&&location.protocol==="https:"}function _r(Tr,Sr){if(tr(),!(this instanceof _r))return new _r(Tr,Sr);Tr&&Tr.inited?this.options=Tr:this.options=_r.initOptions(Tr),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=$e,this.agent=this.options.agent||he),this.ctx=Sr,this.userAgent=this._getUserAgent(),this.stsTokenFreshTime=new Date,this.options.amendTimeSkewed=0}$.exports=_r,_r.initOptions=function(Sr){Sr.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var Ar=Object.assign({secure:gr(),useFetch:!1},Sr);return er(Ar)};var yr=_r.prototype;yr.debug=oe,_e(yr,n("./object")),_e(yr,n("./bucket")),_e(yr,n("../common/bucket/getBucketWebsite")),_e(yr,n("..
raw xml: `.concat(Kr),Vi.t1.status=Fr.status,Vi.t1.requestId=Fr.headers["x-oss-request-id"],Vi.abrupt("return",Vi.t1);case 16:Qr=kr.Message||"unknow request error, status: ".concat(Fr.status),kr.Condition&&(Qr+=" (condition: ".concat(kr.Condition,")")),Vr=new Error(Qr),Vr.name=kr.Code?"".concat(kr.Code,"Error"):"UnknownError",Vr.status=Fr.status,Vr.code=kr.Code,Vr.ecCode=kr.EC,Vr.requestId=kr.RequestId,Vr.hostId=kr.HostId,Vr.serverTime=kr.ServerTime;case 26:case"end":return Vi.stop()}},vn,null,[[0,9]])}));return function(Kr){return jr.apply(this,arguments)}}(),!(!Fr.data||!Fr.data.length)){$r.next=37;break}if(!(Fr.status===-1||Fr.status===-2)){$r.next=10;break}Vr=new Error(Fr.message),Vr.name=Fr.name,Vr.status=Fr.status,Vr.code=Fr.name,$r.next=35;break;case 10:if(Fr.status!==404){$r.next=17;break}Vr=new Error("Object not exists"),Vr.name="NoSuchKeyError",Vr.status=404,Vr.code="NoSuchKey",$r.next=33;break;case 17:if(Fr.status!==412){$r.next=24;break}Vr=new Error("Pre condition failed"),Vr.name="PreconditionFailedError",Vr.status=412,Vr.code="PreconditionFailed",$r.next=33;break;case 24:if(Vr=new Error("Unknow error, status: ".concat(Fr.status)),Vr.name="UnknownError",Vr.status=Fr.status,Vr.res=Fr,Ir=Fr.headers["x-oss-err"],!Ir){$r.next=33;break}return Br=atob(Ir),$r.next=33,Dr(Br);case 33:Vr.requestId=Fr.headers["x-oss-request-id"],Vr.host="";case 35:$r.next=41;break;case 37:return Rr=String(Fr.data),this.debug("request response error data: %s",Rr,"error"),$r.next=41,Dr(Rr);case 41:return this.debug("generate error %j",Vr,"error"),$r.abrupt("return",Vr);case 43:case"end":return $r.stop()}},Ar,this)}));function Sr(Ar){return Tr.apply(this,arguments)}return Sr}()}).call(this)}).call(this,{isBuffer:n("../../node_modules/is-buffer/index.js")},n("_process"))},{"../../node_modules/is-buffer/index.js":411,"../common/bucket/abortBucketWorm":7,"../common/bucket/completeBucketWorm":8,"../common/bucket/deleteBucketInventory":9,"../common/bucket/deleteBucketLifecycle":10,"../common/bucket/deleteBucketWebsite":11,"../common/bucket/extendBucketWorm":12,"../common/bucket/getBucketInventory":13,"../common/bucket/getBucketLifecycle":14,"../common/bucket/getBucketVersioning":15,"../common/bucket/getBucketWebsite":16,"../common/bucket/getBucketWorm":17,"../common/bucket/initiateBucketWorm":18,"../common/bucket/listBucketInventory":19,"../common/bucket/putBucketInventory":20,"../common/bucket/putBucketLifecycle":21,"../common/bucket/putBucketVersioning":22,"../common/bucket/putBucketWebsite":23,"../common/client/getReqUrl":25,"../common/client/initOptions":26,"../common/multipart":30,"../common/multipart-copy":29,"../common/parallel":50,"../common/signUtils":51,"../common/utils/createRequest":57,"../common/utils/encoder":61,"../common/utils/getStandardRegion":64,"../common/utils/isFunction":71,"../common/utils/retry":77,"../common/utils/setSTSToken":79,"./bucket":2,"./managed-upload":4,"./object":5,"./version":6,"@babel/runtime/helpers/asyncToGenerator":82,"@babel/runtime/helpers/interopRequireDefault":84,"@babel/runtime/regenerator":93,_process:540,agentkeepalive:94,bowser:101,"core-js/modules/es.array.concat.js":310,"core-js/modules/es.array.includes.js":315,"core-js/modules/es.array.slice.js":319,"core-js/modules/es.function.name.js":322,"core-js/modules/es.object.assign.js":325,"core-js/modules/es.object.to-string.js":331,"core-js/modules/es.promise.js":335,"core-js/modules/es.regexp.exec.js":340,"core-js/modules/es.regexp.to-string.js":341,"core-js/modules/es.string.replace.js":347,"core-js/modules/es.symbol.description.js":353,"core-js/modules/es.symbol.js":356,debug:538,"merge-descriptors":430,platform:442,urllib:548,utility:547,xml2js:498}],4:[function(n,$,k){(function(L){(function(){var j=n("@babel/runtime/helpers/interopRequireDefault"),V=j(n("@babel/runtime/regenerator"));n("core-js/modules/es.function.name.js"),n("core-js/modules/es.object.to-string.js"),n("core-js/modules/es.promise.js"),n("core-js/modules/es.array.from.js"),n("core-js/modules/es.string.iterator.js"),n("core-js/modules/es.array.map.js"),n("core-js/modules/es.ar
<CompleteMultipartUpload>
`,ie=0;ie<lr.length;ie++)pe=lr[ie],Et+=`<Part>
`,Et+="<PartNumber>".concat(pe.number,`</PartNumber>
`),Et+="<ETag>".concat(pe.etag,`</ETag>
`),Et+=`</Part>
`;return Et+="</CompleteMultipartUpload>",nr=nr||{},Ce={},Ce=de(nr,function(he){if(Ne(he))return null}),Ce.subres={uploadId:dr},Ce.headers=$e(Ce.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),Ie=this._objectRequestParams("POST",ir,Ce),oe.encodeCallback(Ie,Ce),Ie.mime="xml",Ie.content=Et,Ie.headers&&Ie.headers["x-oss-callback"]||(Ie.xmlResponse=!0),Ie.successStatuses=[200],kt.next=17,this.request(Ie);case 17:if(jt=kt.sent,!nr.progress){kt.next=21;break}return kt.next=21,nr.progress(1,null,jt.res);case 21:return ar={res:jt.res,bucket:Ie.bucket,name:ir,etag:jt.res.headers.etag},Ie.headers&&Ie.headers["x-oss-callback"]&&(ar.data=JSON.parse(jt.data.toString())),kt.abrupt("return",ar);case 24:case"end":return kt.stop()}},er,this)}));function qe(er,ir,dr,cr){return Fe.apply(this,arguments)}return qe}(),Ve._uploadPart=function(){var Fe=(0,z.default)(V.default.mark(function er(ir,dr,cr,nr,lr){var Et,ie,pe,Ce;return V.default.wrap(function(jt){for(;;)switch(jt.prev=jt.next){case 0:return lr=lr||{},Et={},re(lr).to(Et),Et.headers=Et.headers||{},Et.headers["Content-Length"]=nr.size,Et.headers=$e(Et.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),Et.subres={partNumber:cr,uploadId:dr},ie=this._objectRequestParams("PUT",ir,Et),ie.mime=Et.mime,pe=L&&L.browser,pe?ie.content=nr.content:ie.stream=nr.stream,ie.successStatuses=[200],ie.disabledMD5=lr.disabledMD5,jt.next=15,this.request(ie);case 15:if(Ce=jt.sent,Ce.res.headers.etag){jt.next=18;break}throw new Error(`Please set the etag of expose-headers in OSS
https://help.aliyun.com/document_detail/32069.html`);case 18:return nr.stream&&(nr.stream=null,ie.stream=null),jt.abrupt("return",{name:ir,etag:Ce.res.headers.etag,res:Ce.res});case 20:case"end":return jt.stop()}},er,this)}));function qe(er,ir,dr,cr,nr){return Fe.apply(this,arguments)}return qe}()}).call(this)}).call(this,n("_process"))},{"./callback":24,"./utils/deepCopy":59,"./utils/isBuffer":68,"./utils/omit":76,"@babel/runtime/helpers/asyncToGenerator":82,"@babel/runtime/helpers/interopRequireDefault":84,"@babel/runtime/regenerator":93,_process:540,"copy-to":107,"core-js/modules/es.array.concat.js":310,"core-js/modules/es.array.filter.js":312,"core-js/modules/es.array.map.js":318,"core-js/modules/es.array.sort.js":320,"core-js/modules/es.object.keys.js":330,"core-js/modules/es.object.to-string.js":331,"core-js/modules/es.regexp.to-string.js":341}],31:[function(n,$,k){var L=n("@babel/runtime/helpers/interopRequireDefault"),j=L(n("@babel/runtime/regenerator"));n("core-js/modules/es.regexp.exec.js");var V=L(n("@babel/runtime/helpers/asyncToGenerator")),z=n("url"),re=n("utility"),oe=n("copy-to"),ue=n("../../common/signUtils"),de=n("../utils/isIP"),_e=de.isIP,Ne=n("../utils/setSTSToken"),Ue=Ne.setSTSToken,$e=n("../utils/isFunction"),Ve=$e.isFunction,Fe=k;Fe.asyncSignatureUrl=function(){var qe=(0,V.default)(j.default.mark(function ir(dr,cr){var nr,lr,Et,ie,pe,Ce,Ie=arguments;return j.default.wrap(function(ar){for(;;)switch(ar.prev=ar.next){case 0:if(nr=Ie.length>2&&Ie[2]!==void 0?Ie[2]:!0,!_e(this.options.endpoint.hostname)){ar.next=3;break}throw new Error("can not get the object URL when endpoint is IP");case 3:if(!(nr&&/^\?/.test(dr))){ar.next=5;break}throw new Error("Invalid object name ".concat(dr));case 5:if(cr=cr||{},dr=this._objectName(dr),cr.method=cr.method||"GET",lr=re.timestamp()+(cr.expires||1800),Et={bucket:this.options.bucket,object:dr},ie=this._getResource(Et),!(this.options.stsToken&&Ve(this.options.refreshSTSToken))){ar.next=14;break}return ar.next=14,Ue.call(this);case 14:return this.options.stsToken&&(cr["security-token"]=this.options.stsToken),pe=ue._signatureForURL(this.options.accessKeySecret,cr,ie,lr),Ce=z.parse(this._getReqUrl(Et)),Ce.query={OSSAccessKeyId:this.options.accessKeyId,Expires:lr,Signature:pe.Signature},oe(pe.subResource).to(Ce.query),ar.abrupt("return",Ce.format());case 20:case"end":return ar.stop()}},ir,this)}));function er(ir,dr){return qe.apply(this,arguments)}return er}()},{"../../common/signUtils":51,"../utils/isFunction":71,"../utils/isIP":72,"../utils/setSTSToken":79,"@babel/runtime/helpers/asyncToGenerator":82,"@babel/runtime/helpers/interopRequireDefault":84,"@babel/runtime/regenerator":93,"copy-to":107,"core-js/modules/es.regexp.exec.js":340,url:545,utility:547}],32:[function(n,$,k){var L=n("@babel/runtime/helpers/interopRequireDefault"),j=L(n("@babel/runtime/regenerator"));n("core-js/modules/es.object.to-string.js"),n("core-js/modules/web.dom-collections.for-each.js"),n("core-js/modules/es.object.keys.js"),n("core-js/modules/es.array.find.js"),n("core-js/modules/es.array.includes.js"),n("core-js/modules/es.array.concat.js"),n("core-js/modules/es.regexp.exec.js"),n("core-js/modules/es.string.replace.js");var V=L(n("@babel/runtime/helpers/typeof")),z=L(n("@babel/runtime/helpers/asyncToGenerator")),re=n("../utils/checkBucketName"),oe=re.checkBucketName,ue=k,de=["content-type","content-encoding","content-language","content-disposition","cache-control","expires"];ue.copy=function(){var _e=(0,z.default)(j.default.mark(function Ue($e,Ve,Fe,qe){var er,ir,dr;return j.default.wrap(function(nr){for(;;)switch(nr.prev=nr.next){case 0:return(0,V.default)(Fe)==="object"&&(qe=Fe),qe=qe||{},qe.headers=qe.headers||{},Object.keys(qe.headers).forEach(function(lr){qe.headers["x-oss-copy-source-".concat(lr.toLowerCase())]=qe.headers[lr]}),(qe.meta||Object.keys(qe.headers).find(function(lr){return de.includes(lr.toLowerCase())}))&&(qe.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(qe.meta,qe.headers),Ve=this._getSourceName(Ve,Fe),qe.versionId&&(Ve="".concat(Ve,"?version
`)},k.computeSignature=function($e,Ve){var Fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"utf-8",qe=z.createHmac("sha1",$e);return qe.update(L.from(Ve,Fe)).digest("base64")},k.authorization=function($e,Ve,Fe,qe){return"OSS ".concat($e,":").concat(this.computeSignature(Ve,Fe,qe))},k.fixAdditionalHeaders=function(Ue){if(!Ue)return[];var $e="x-oss-";return(0,V.default)(new Set(Ue.map(function(Ve){return Ve.toLowerCase()}))).filter(function(Ve){return Ve!=="content-type"&&Ve!=="content-md5"&&!Ve.startsWith($e)}).sort()},k.getCanonicalRequest=function($e,Ve,Fe,qe,er){var ir=de(Ve.headers),dr=Ve.queries||{},cr="x-oss-";if(qe&&!Fe)throw Error("Please ensure that bucketName is passed into getCanonicalRequest.");var nr=[$e.toUpperCase(),Ne("/".concat(Fe?"".concat(Fe,"/"):"").concat(qe||"")).replace(/%2F/g,"/")];nr.push(oe.stringify(dr,{encoder:Ne,sort:function(pe,Ce){return pe.localeCompare(Ce)},strictNullHandling:!0})),er&&er.forEach(function(ie){if(!Object.prototype.hasOwnProperty.call(ir,ie))throw Error("Can't find additional header ".concat(ie," in request headers."))});var lr=new Set(er);Object.keys(ir).forEach(function(ie){(ie==="content-type"||ie==="content-md5"||ie.startsWith(cr))&&lr.add(ie)});var Et="".concat((0,V.default)(lr).sort().map(function(ie){return"".concat(ie,":").concat(re.string(ir[ie])?ir[ie].trim():ir[ie],`
`)}).join(""));return nr.push(Et),er.length>0?nr.push(er.join(";")):nr.push(""),nr.push(ir["x-oss-content-sha256"]||"UNSIGNED-PAYLOAD"),nr.join(`
`)},k.getStringToSign=function($e,Ve,Fe){var qe=["OSS4-HMAC-SHA256",Ve,"".concat(Ve.split("T")[0],"/").concat($e,"/oss/aliyun_v4_request"),z.createHash("sha256").update(Fe).digest("hex")];return qe.join(`
`)},k.getSignatureV4=function($e,Ve,Fe,qe){var er=z.createHmac("sha256","aliyun_v4".concat($e)).update(Ve).digest(),ir=z.createHmac("sha256",er).update(Fe).digest(),dr=z.createHmac("sha256",ir).update("oss").digest(),cr=z.createHmac("sha256",dr).update("aliyun_v4_request").digest(),nr=z.createHmac("sha256",cr).update(qe).digest("hex");return nr},k.authorizationV4=function($e,Ve,Fe,qe,er,ir,dr,cr){var nr=arguments.length>8&&arguments[8]!==void 0?arguments[8]:"utf-8",lr=this.fixAdditionalHeaders(cr),Et={};Object.entries(er.headers).forEach(function(ur){Et[ur[0]]=re.string(ur[1])?L.from(ur[1],nr).toString():ur[1]});var ie=Et["x-oss-date"]||er.queries&&er.queries["x-oss-date"],pe=this.getCanonicalRequest(qe,{headers:Et,queries:er.queries},ir,dr,lr),Ce=this.getStringToSign(Fe,ie,pe),Ie=ie.split("T")[0],jt=this.getSignatureV4(Ve,Ie,Fe,Ce),ar=lr.length>0?"AdditionalHeaders=".concat(lr.join(";"),","):"";return"OSS4-HMAC-SHA256 Credential=".concat($e,"/").concat(Ie,"/").concat(Fe,"/oss/aliyun_v4_request,").concat(ar,"Signature=").concat(jt)},k._signatureForURL=function($e){var Ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Fe=arguments.length>2?arguments[2]:void 0,qe=arguments.length>3?arguments[3]:void 0,er=arguments.length>4?arguments[4]:void 0,ir={},dr=Ve.subResource,cr=dr===void 0?{}:dr;if(Ve.process){var nr="x-oss-process";cr[nr]=Ve.process}if(Ve.trafficLimit){var lr="x-oss-traffic-limit";cr[lr]=Ve.trafficLimit}if(Ve.response&&Object.keys(Ve.response).forEach(function(Ce){var Ie="response-".concat(Ce.toLowerCase());cr[Ie]=Ve.response[Ce]}),Object.keys(Ve).forEach(function(Ce){var Ie=Ce.toLowerCase(),jt=Ve[Ce];Ie.indexOf("x-oss-")===0?ir[Ie]=jt:(Ie.indexOf("content-md5")===0||Ie.indexOf("content-type")===0)&&(ir[Ce]=jt)}),Object.prototype.hasOwnProperty.call(Ve,"security-token")&&(cr["security-token"]=Ve["security-token"]),Object.prototype.hasOwnProperty.call(Ve,"callback")){var Et={callbackUrl:encodeURI(Ve.callback.url),callbackBody:Ve.callback.body};if(Ve.callback.host&&(Et.callbackHost=Ve.callback.host),Ve.callback.contentType&&(Et.callbackBodyType=Ve.callback.contentType),Ve.callback.callbackSNI&&(Et.callbackSNI=Ve.callback.callbackSNI),cr.callback=L.from(JSON.stringify(Et)).toString("base64"),Ve.callback.customValue){var ie={};Object.keys(Ve.callback.customValue).forEach(function(Ce){ie["x:".concat(Ce)]=Ve.callback.customValue[Ce]}),cr["callback-var"]=L.from(JSON.stringify(ie)).toString("base64")}}var pe=this.buildCanonicalString(Ve.method,Fe,{headers:ir,parameters:cr},qe.toString());return{Signature:this.computeSignature($e,pe,er),subResource:cr}}}).call(this)}).call(this,n("buffer").Buffer)},{"./../../shims/crypto/crypto.js":533,"./utils/encodeString":60,"./utils/lowercaseKeyHeader":74,"@babel/runtime/helpers/interopRequireDefault":84,"@babel/runtime/helpers/toConsumableArray":88,buffer:103,"core-js/modules/es.array.concat.js":310,"core-js/modules/es.array.filter.js":312,"core-js/modules/es.array.iterator.js":316,"core-js/modules/es.array.join.js":317,"core-js/modules/es.array.map.js":318,"core-js/modules/es.array.sort.js":320,"core-js/modules/es.object.entries.js":326,"core-js/modules/es.object.keys.js":330,"core-js/modules/es.object.to-string.js":331,"core-js/modules/es.regexp.exec.js":340,"core-js/modules/es.regexp.to-string.js":341,"core-js/modules/es.set.js":343,"core-js/modules/es.string.iterator.js":345,"core-js/modules/es.string.replace.js":347,"core-js/modules/es.string.starts-with.js":350,"core-js/modules/es.string.trim.js":351,"core-js/modules/web.dom-collections.for-each.js":382,"core-js/modules/web.dom-collections.iterator.js":383,"is-type-of":539,qs:447}],52:[function(n,$,k){n("core-js/modules/es.regexp.exec.js"),Object.defineProperty(k,"__esModule",{value:!0}),k.checkBucketName=void 0,k.checkBucketName=function(L){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,V=j?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!V.test(L))throw new Error("The bucket must be conform to the specifications")}},{"core-js/modules/es.regexp.exec.js":340}],53:[functi
`),re&&re.firstUpperCase&&(z=L.formatObjKey(z,"firstUpperCase")),j(z)==="object"?Object.keys(z).forEach(function(ue){j(z[ue])!=="undefined"&&j(z[ue])!=="null"&&(j(z[ue])==="string"||j(z[ue])==="number"?oe+="<".concat(ue,">").concat(z[ue],"</").concat(ue,">"):j(z[ue])==="object"?oe+="<".concat(ue,">").concat(V(z[ue]),"</").concat(ue,">"):j(z[ue])==="array"?oe+=z[ue].map(function(de){return"<".concat(ue,">").concat(V(de),"</").concat(ue,">")}).join(""):oe+="<".concat(ue,">").concat(z[ue].toString(),"</").concat(ue,">"))}):oe+=z.toString(),oe}k.obj2xml=V},{"./formatObjKey":63,"core-js/modules/es.array.concat.js":310,"core-js/modules/es.array.join.js":317,"core-js/modules/es.array.map.js":318,"core-js/modules/es.object.keys.js":330,"core-js/modules/es.object.to-string.js":331,"core-js/modules/es.regexp.exec.js":340,"core-js/modules/es.regexp.to-string.js":341,"core-js/modules/es.string.replace.js":347,"core-js/modules/web.dom-collections.for-each.js":382}],76:[function(n,$,k){n("core-js/modules/es.array.slice.js"),n("core-js/modules/es.object.to-string.js"),n("core-js/modules/es.regexp.to-string.js"),n("core-js/modules/es.function.name.js"),n("core-js/modules/es.array.from.js"),n("core-js/modules/es.string.iterator.js"),n("core-js/modules/es.regexp.exec.js"),n("core-js/modules/es.symbol.js"),n("core-js/modules/es.symbol.description.js"),n("core-js/modules/es.symbol.iterator.js"),n("core-js/modules/es.array.iterator.js"),n("core-js/modules/web.dom-collections.iterator.js"),n("core-js/modules/es.object.assign.js");function L(re,oe){var ue=typeof Symbol<"u"&&re[Symbol.iterator]||re["@@iterator"];if(!ue){if(Array.isArray(re)||(ue=j(re))||oe){ue&&(re=ue);var de=0,_e=function(){};return{s:_e,n:function(){return de>=re.length?{done:!0}:{done:!1,value:re[de++]}},e:function(Fe){throw Fe},f:_e}}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 Ne=!0,Ue=!1,$e;return{s:function(){ue=ue.call(re)},n:function(){var Fe=ue.next();return Ne=Fe.done,Fe},e:function(Fe){Ue=!0,$e=Fe},f:function(){try{!Ne&&ue.return!=null&&ue.return()}finally{if(Ue)throw $e}}}}function j(re,oe){if(re){if(typeof re=="string")return V(re,oe);var ue=Object.prototype.toString.call(re).slice(8,-1);if(ue==="Object"&&re.constructor&&(ue=re.constructor.name),ue==="Map"||ue==="Set")return Array.from(re);if(ue==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ue))return V(re,oe)}}function V(re,oe){(oe==null||oe>re.length)&&(oe=re.length);for(var ue=0,de=new Array(oe);ue<oe;ue++)de[ue]=re[ue];return de}Object.defineProperty(k,"__esModule",{value:!0}),k.omit=void 0;function z(re,oe){var ue=Object.assign({},re),de=L(oe),_e;try{for(de.s();!(_e=de.n()).done;){var Ne=_e.value;delete ue[Ne]}}catch(Ue){de.e(Ue)}finally{de.f()}return ue}k.omit=z},{"core-js/modules/es.array.from.js":314,"core-js/modules/es.array.iterator.js":316,"core-js/modules/es.array.slice.js":319,"core-js/modules/es.function.name.js":322,"core-js/modules/es.object.assign.js":325,"core-js/modules/es.object.to-string.js":331,"core-js/modules/es.regexp.exec.js":340,"core-js/modules/es.regexp.to-string.js":341,"core-js/modules/es.string.iterator.js":345,"core-js/modules/es.symbol.description.js":353,"core-js/modules/es.symbol.iterator.js":355,"core-js/modules/es.symbol.js":356,"core-js/modules/web.dom-collections.iterator.js":383}],77:[function(n,$,k){n("core-js/modules/es.object.to-string.js"),n("core-js/modules/es.promise.js"),Object.defineProperty(k,"__esModule",{value:!0}),k.retry=void 0;function L(j,V){var z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},re=0,oe=z.retryDelay,ue=oe===void 0?500:oe,de=z.errorHandler,_e=de===void 0?function(){return!0}:de,Ne=function Ue(){for(var $e=arguments.length,Ve=new Array($e),Fe=0;Fe<$e;Fe++)Ve[Fe]=arguments[Fe];return new Promise(function(qe,er){j.apply(void 0,Ve).then(function(ir){re=0,qe(ir)}).catch(function(ir){re<V&&_e(ir)?(re++,setTimeout(function(){qe(Ue.apply(void 0,Ve))},ue)):(re=0,er(ir))})})};return Ne}k.retry=L},{"core-js/modules/es.object.to-string.js":331,"core-js/modules/es.promise.js":335}],78:[function(n,$,k){var L=function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(k,"__esModule",{value:!0}),k.setRegion=void 0;var j=L(n("url")),V=n("./checkConfigValid");function z(re){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;V.checkConfigValid(re,"region");var de=ue?"https://":"http://",_e=oe?"-internal.aliyuncs.com":".aliyuncs.com",Ne="vpc100-oss-cn-";return re.substr(0,Ne.length)===Ne&&(_e=".aliyuncs.com"),j.default.parse(de+re+_e)}k.setRegion=z},{"./checkConfigValid":53,url:545}],79:[function(n,$,k){var L=n("@babel/runtime/helpers/interopRequireDefault"),j=L(n("@babel/runtime/regenerator"));n("core-js/modules/es.object.keys.js"),n("core-js/modules/es.object.to-string.js"),n("core-js/modules/es.array.find.js"),n("core-js/modules/es.object.assign.js");var V=L(n("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(k,"__esModule",{value:!0}),k.checkCredentials=k.setSTSToken=void 0;var z=n("./formatObjKey");function re(){return oe.apply(this,arguments)}function oe(){return oe=(0,V.default)(j.default.mark(function de(){var _e,Ne;return j.default.wrap(function($e){for(;;)switch($e.prev=$e.next){case 0:if(this.options||(this.options={}),_e=new Date,!this.stsTokenFreshTime){$e.next=14;break}if(!(+_e-this.stsTokenFreshTime>=this.options.refreshSTSTokenInterval)){$e.next=12;break}return this.stsTokenFreshTime=_e,$e.next=7,this.options.refreshSTSToken();case 7:Ne=$e.sent,Ne=z.formatObjKey(Ne,"firstLowerCase"),Ne.securityToken&&(Ne.stsToken=Ne.securityToken),ue(Ne),Object.assign(this.options,Ne);case 12:$e.next=15;break;case 14:this.stsTokenFreshTime=_e;case 15:return $e.abrupt("return",null);case 16:case"end":return $e.stop()}},de,this)})),oe.apply(this,arguments)}k.setSTSTo
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}$.exports=L,$.exports.__esModule=!0,$.exports.default=$.exports},{}],87:[function(n,$,k){var L=n("./typeof.js").default;function j(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */$.exports=j=function(){return z},$.exports.__esModule=!0,$.exports.default=$.exports;var V,z={},re=Object.prototype,oe=re.hasOwnProperty,ue=Object.defineProperty||function(yr,xr,Nr){yr[xr]=Nr.value},de=typeof Symbol=="function"?Symbol:{},_e=de.iterator||"@@iterator",Ne=de.asyncIterator||"@@asyncIterator",Ue=de.toStringTag||"@@toStringTag";function $e(yr,xr,Nr){return Object.defineProperty(yr,xr,{value:Nr,enumerable:!0,configurable:!0,writable:!0}),yr[xr]}try{$e({},"")}catch{$e=function(Nr,Tr,Sr){return Nr[Tr]=Sr}}function Ve(yr,xr,Nr,Tr){var Sr=xr&&xr.prototype instanceof nr?xr:nr,Ar=Object.create(Sr.prototype),Fr=new gr(Tr||[]);return ue(Ar,"_invoke",{value:ur(yr,Nr,Fr)}),Ar}function Fe(yr,xr,Nr){try{return{type:"normal",arg:yr.call(xr,Nr)}}catch(Tr){return{type:"throw",arg:Tr}}}z.wrap=Ve;var qe="suspendedStart",er="suspendedYield",ir="executing",dr="completed",cr={};function nr(){}function lr(){}function Et(){}var ie={};$e(ie,_e,function(){return this});var pe=Object.getPrototypeOf,Ce=pe&&pe(pe(_r([])));Ce&&Ce!==re&&oe.call(Ce,_e)&&(ie=Ce);var Ie=Et.prototype=nr.prototype=Object.create(ie);function jt(yr){["next","throw","return"].forEach(function(xr){$e(yr,xr,function(Nr){return this._invoke(xr,Nr)})})}function ar(yr,xr){function Nr(Sr,Ar,Fr,Gr){var Vr=Fe(yr[Sr],yr,Ar);if(Vr.type!=="throw"){var Dr=Vr.arg,Ir=Dr.value;return Ir&&L(Ir)=="object"&&oe.call(Ir,"__await")?xr.resolve(Ir.__await).then(function(Br){Nr("next",Br,Fr,Gr)},function(Br){Nr("throw",Br,Fr,Gr)}):xr.resolve(Ir).then(function(Br){Dr.value=Br,Fr(Dr)},function(Br){return Nr("throw",Br,Fr,Gr)})}Gr(Vr.arg)}var Tr;ue(this,"_invoke",{value:function(Ar,Fr){function Gr(){return new xr(function(Vr,Dr){Nr(Ar,Fr,Vr,Dr)})}return Tr=Tr?Tr.then(Gr,Gr):Gr()}})}function ur(yr,xr,Nr){var Tr=qe;return function(Sr,Ar){if(Tr===ir)throw new Error("Generator is already running");if(Tr===dr){if(Sr==="throw")throw Ar;return{value:V,done:!0}}for(Nr.method=Sr,Nr.arg=Ar;;){var Fr=Nr.delegate;if(Fr){var Gr=kt(Fr,Nr);if(Gr){if(Gr===cr)continue;return Gr}}if(Nr.method==="next")Nr.sent=Nr._sent=Nr.arg;else if(Nr.method==="throw"){if(Tr===qe)throw Tr=dr,Nr.arg;Nr.dispatchException(Nr.arg)}else Nr.method==="return"&&Nr.abrupt("return",Nr.arg);Tr=ir;var Vr=Fe(yr,xr,Nr);if(Vr.type==="normal"){if(Tr=Nr.done?dr:er,Vr.arg===cr)continue;return{value:Vr.arg,done:Nr.done}}Vr.type==="throw"&&(Tr=dr,Nr.method="throw",Nr.arg=Vr.arg)}}}function kt(yr,xr){var Nr=xr.method,Tr=yr.iterator[Nr];if(Tr===V)return xr.delegate=null,Nr==="throw"&&yr.iterator.return&&(xr.method="return",xr.arg=V,kt(yr,xr),xr.method==="throw")||Nr!=="return"&&(xr.method="throw",xr.arg=new TypeError("The iterator does not provide a '"+Nr+"' method")),cr;var Sr=Fe(Tr,yr.iterator,xr.arg);if(Sr.type==="throw")return xr.method="throw",xr.arg=Sr.arg,xr.delegate=null,cr;var Ar=Sr.arg;return Ar?Ar.done?(xr[yr.resultName]=Ar.value,xr.next=yr.nextLoc,xr.method!=="return"&&(xr.method="next",xr.arg=V),xr.delegate=null,cr):Ar:(xr.method="throw",xr.arg=new TypeError("iterator result is not an object"),xr.delegate=null,cr)}function he(yr){var xr={tryLoc:yr[0]};1 in yr&&(xr.catchLoc=yr[1]),2 in yr&&(xr.finallyLoc=yr[2],xr.afterLoc=yr[3]),this.tryEntries.push(xr)}function tr(yr){var xr=yr.completion||{};xr.type="normal",delete xr.arg,yr.completion=xr}function gr(yr){this.tryEntries=[{tryLoc:"root"}],yr.forEach(he,this),this.reset(!0)}function _r(yr){if(yr||yr===""){var xr=yr[_e];if(xr)return xr.call(yr);if(typeof yr.next=="function")return yr;if(!isNaN(yr.length)){var Nr=-1,Tr=function Sr(){for(;++Nr<yr.length;)if(oe.call(yr,Nr))return Sr.value=yr[Nr],Sr.done=!1,Sr;return Sr.value=V,Sr.done=!0,Sr};return Tr.next=Tr}}throw new TypeError(L(yr)+" is not iterable")}return lr.prototype=Et
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/function V(ar,ur){if(ar===ur)return 0;for(var kt=ar.length,he=ur.length,tr=0,gr=Math.min(kt,he);tr<gr;++tr)if(ar[tr]!==ur[tr]){kt=ar[tr],he=ur[tr];break}return kt<he?-1:he<kt?1:0}function z(ar){return L.Buffer&&typeof L.Buffer.isBuffer=="function"?L.Buffer.isBuffer(ar):!!(ar!=null&&ar._isBuffer)}var re=n("util/"),oe=Object.prototype.hasOwnProperty,ue=Array.prototype.slice,de=function(){return(function(){}).name==="foo"}();function _e(ar){return Object.prototype.toString.call(ar)}function Ne(ar){return z(ar)||typeof L.ArrayBuffer!="function"?!1:typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(ar):ar?!!(ar instanceof DataView||ar.buffer&&ar.buffer instanceof ArrayBuffer):!1}var Ue=$.exports=dr,$e=/\s*function\s+([^\(\s]*)\s*/;function Ve(ar){if(re.isFunction(ar)){if(de)return ar.name;var ur=ar.toString(),kt=ur.match($e);return kt&&kt[1]}}Ue.AssertionError=function(ur){this.name="AssertionError",this.actual=ur.actual,this.expected=ur.expected,this.operator=ur.operator,ur.message?(this.message=ur.message,this.generatedMessage=!1):(this.message=er(this),this.generatedMessage=!0);var kt=ur.stackStartFunction||ir;if(Error.captureStackTrace)Error.captureStackTrace(this,kt);else{var he=new Error;if(he.stack){var tr=he.stack,gr=Ve(kt),_r=tr.indexOf(`
`+gr);if(_r>=0){var yr=tr.indexOf(`
`,_r+1);tr=tr.substring(yr+1)}this.stack=tr}}},re.inherits(Ue.AssertionError,Error);function Fe(ar,ur){return typeof ar=="string"?ar.length<ur?ar:ar.slice(0,ur):ar}function qe(ar){if(de||!re.isFunction(ar))return re.inspect(ar);var ur=Ve(ar),kt=ur?": "+ur:"";return"[Function"+kt+"]"}function er(ar){return Fe(qe(ar.actual),128)+" "+ar.operator+" "+Fe(qe(ar.expected),128)}function ir(ar,ur,kt,he,tr){throw new Ue.AssertionError({message:kt,actual:ar,expected:ur,operator:he,stackStartFunction:tr})}Ue.fail=ir;function dr(ar,ur){ar||ir(ar,!0,ur,"==",Ue.ok)}Ue.ok=dr,Ue.equal=function(ur,kt,he){ur!=kt&&ir(ur,kt,he,"==",Ue.equal)},Ue.notEqual=function(ur,kt,he){ur==kt&&ir(ur,kt,he,"!=",Ue.notEqual)},Ue.deepEqual=function(ur,kt,he){cr(ur,kt,!1)||ir(ur,kt,he,"deepEqual",Ue.deepEqual)},Ue.deepStrictEqual=function(ur,kt,he){cr(ur,kt,!0)||ir(ur,kt,he,"deepStrictEqual",Ue.deepStrictEqual)};function cr(ar,ur,kt,he){if(ar===ur)return!0;if(z(ar)&&z(ur))return V(ar,ur)===0;if(re.isDate(ar)&&re.isDate(ur))return ar.getTime()===ur.getTime();if(re.isRegExp(ar)&&re.isRegExp(ur))return ar.source===ur.source&&ar.global===ur.global&&ar.multiline===ur.multiline&&ar.lastIndex===ur.lastIndex&&ar.ignoreCase===ur.ignoreCase;if((ar===null||typeof ar!="object")&&(ur===null||typeof ur!="object"))return kt?ar===ur:ar==ur;if(Ne(ar)&&Ne(ur)&&_e(ar)===_e(ur)&&!(ar instanceof Float32Array||ar instanceof Float64Array))return V(new Uint8Array(ar.buffer),new Uint8Array(ur.buffer))===0;if(z(ar)!==z(ur))return!1;he=he||{actual:[],expected:[]};var tr=he.actual.indexOf(ar);return tr!==-1&&tr===he.expected.indexOf(ur)?!0:(he.actual.push(ar),he.expected.push(ur),lr(ar,ur,kt,he))}function nr(ar){return Object.prototype.toString.call(ar)=="[object Arguments]"}function lr(ar,ur,kt,he){if(ar==null||ur===null||ur===void 0)return!1;if(re.isPrimitive(ar)||re.isPrimitive(ur))return ar===ur;if(kt&&Object.getPrototypeOf(ar)!==Object.getPrototypeOf(ur))return!1;var tr=nr(ar),gr=nr(ur);if(tr&&!gr||!tr&&gr)return!1;if(tr)return ar=ue.call(ar),ur=ue.call(ur),cr(ar,ur,kt);var _r=jt(ar),yr=jt(ur),xr,Nr;if(_r.length!==yr.length)return!1;for(_r.sort(),yr.sort(),Nr=_r.length-1;Nr>=0;Nr--)if(_r[Nr]!==yr[Nr])return!1;for(Nr=_r.length-1;Nr>=0;Nr--)if(xr=_r[Nr],!cr(ar[xr],ur[xr],kt,he))return!1;return!0}Ue.notDeepEqual=function(ur,kt,he){cr(ur,kt,!1)&&ir(ur,kt,he,"notDeepEqual",Ue.notDeepEqual)},Ue.notDeepStrictEqual=Et;function Et(ar,ur,kt){cr(ar,ur,!0)&&ir(ar,ur,kt,"notDeepStrictEqual",Et)}Ue.strictEqual=function(ur,kt,he){ur!==kt&&ir(ur,kt,he,"===",Ue.strictEqual)},Ue.notStrictEqual=function(ur,kt,he){ur===kt&&ir(ur,kt,he,"!==",Ue.notStrictEqual)};function ie(ar,ur){if(!ar||!ur)return!1;if(Object.prototype.toString.call(ur)=="[object RegExp]")return ur.test(ar);try{if(ar instanceof ur)return!0}catch{}return Error.isPrototypeOf(ur)?!1:ur.call({},ar)===!0}function pe(ar){var ur;try{ar()}catch(kt){ur=kt}return ur}function Ce(ar,ur,kt,he){var tr;if(typeof ur!="function")throw new TypeError('"block" argument must be a function');typeof kt=="string"&&(he=kt,kt=null),tr=pe(ur),he=(kt&&kt.name?" ("+kt.name+").":".")+(he?" "+he:"."),ar&&!tr&&ir(tr,kt,"Missing expected exception"+he);var gr=typeof he=="string",_r=!ar&&re.isError(tr),yr=!ar&&tr&&!kt;if((_r&&gr&&ie(tr,kt)||yr)&&ir(tr,kt,"Got unwanted exception"+he),ar&&tr&&kt&&!ie(tr,kt)||!ar&&tr)throw tr}Ue.throws=function(ar,ur,kt){Ce(!0,ar,ur,kt)},Ue.doesNotThrow=function(ar,ur,kt){Ce(!1,ar,ur,kt)},Ue.ifError=function(ar){if(ar)throw ar};function Ie(ar,ur){ar||ir(ar,!0,ur,"==",Ie)}Ue.strict=j(Ie,Ue,{equal:Ue.strictEqual,deepEqual:Ue.deepStrictEqual,notEqual:Ue.notStrictEqual,notDeepEqual:Ue.notDeepStrictEqual}),Ue.strict.strict=Ue.strict;var jt=Object.keys||function(ar){var ur=[];for(var kt in ar)oe.call(ar,kt)&&ur.push(kt);return ur}}).call(this)}).call(this,typeof y<"u"?y:typeof self<"u"?self:typeof window<"u"?window:{})},{"object.assign/polyfill":440,"util/":98}],96:[function(n,$,k){typeof Object.create=="function"?$.exports=function(j,V){j.super_=V,j.prototype=Object.create(V.prototype,{constructor:{value:j,enumerable:!1,writable:!0,configur
`)>-1&&(Ar?Gr=Gr.split(`
`).map(function(Dr){return" "+Dr}).join(`
`).substr(2):Gr=`
`+Gr.split(`
`).map(function(Dr){return" "+Dr}).join(`
`))):Gr=yr.stylize("[Circular]","special")),ie(Fr)){if(Ar&&Sr.match(/^\d+$/))return Gr;Fr=JSON.stringify(""+Sr),Fr.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Fr=Fr.substr(1,Fr.length-2),Fr=yr.stylize(Fr,"name")):(Fr=Fr.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Fr=yr.stylize(Fr,"string"))}return Fr+": "+Gr}function qe(yr,xr,Nr){var Tr=yr.reduce(function(Sr,Ar){return Ar.indexOf(`
`)>=0,Sr+Ar.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Tr>60?Nr[0]+(xr===""?"":xr+`
`)+" "+yr.join(`,
`)+" "+Nr[1]:Nr[0]+xr+" "+yr.join(", ")+" "+Nr[1]}function er(yr){return Array.isArray(yr)}k.isArray=er;function ir(yr){return typeof yr=="boolean"}k.isBoolean=ir;function dr(yr){return yr===null}k.isNull=dr;function cr(yr){return yr==null}k.isNullOrUndefined=cr;function nr(yr){return typeof yr=="number"}k.isNumber=nr;function lr(yr){return typeof yr=="string"}k.isString=lr;function Et(yr){return typeof yr=="symbol"}k.isSymbol=Et;function ie(yr){return yr===void 0}k.isUndefined=ie;function pe(yr){return Ce(yr)&&kt(yr)==="[object RegExp]"}k.isRegExp=pe;function Ce(yr){return typeof yr=="object"&&yr!==null}k.isObject=Ce;function Ie(yr){return Ce(yr)&&kt(yr)==="[object Date]"}k.isDate=Ie;function jt(yr){return Ce(yr)&&(kt(yr)==="[object Error]"||yr instanceof Error)}k.isError=jt;function ar(yr){return typeof yr=="function"}k.isFunction=ar;function ur(yr){return yr===null||typeof yr=="boolean"||typeof yr=="number"||typeof yr=="string"||typeof yr=="symbol"||typeof yr>"u"}k.isPrimitive=ur,k.isBuffer=n("./support/isBuffer");function kt(yr){return Object.prototype.toString.call(yr)}function he(yr){return yr<10?"0"+yr.toString(10):yr.toString(10)}var tr=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function gr(){var yr=new Date,xr=[he(yr.getHours()),he(yr.getMinutes()),he(yr.getSeconds())].join(":");return[yr.getDate(),tr[yr.getMonth()],xr].join(" ")}k.log=function(){console.log("%s - %s",gr(),k.format.apply(k,arguments))},k.inherits=n("inherits"),k._extend=function(yr,xr){if(!xr||!Ce(xr))return yr;for(var Nr=Object.keys(xr),Tr=Nr.length;Tr--;)yr[Nr[Tr]]=xr[Nr[Tr]];return yr};function _r(yr,xr){return Object.prototype.hasOwnProperty.call(yr,xr)}}).call(this)}).call(this,n("_process"),typeof y<"u"?y:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":97,_process:540,inherits:96}],99:[function(n,$,k){(function(L){(function(){var j=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],V=typeof globalThis>"u"?L:globalThis;$.exports=function(){for(var re=[],oe=0;oe<j.length;oe++)typeof V[j[oe]]=="function"&&(re[re.length]=j[oe]);return re}}).call(this)}).call(this,typeof y<"u"?y:typeof self<"u"?self:typeof window<"u"?window:{})},{}],100:[function(n,$,k){k.byteLength=de,k.toByteArray=Ne,k.fromByteArray=Ve;for(var L=[],j=[],V=typeof Uint8Array<"u"?Uint8Array:Array,z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",re=0,oe=z.length;re<oe;++re)L[re]=z[re],j[z.charCodeAt(re)]=re;j[45]=62,j[95]=63;function ue(Fe){var qe=Fe.length;if(qe%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var er=Fe.indexOf("=");er===-1&&(er=qe);var ir=er===qe?0:4-er%4;return[er,ir]}function de(Fe){var qe=ue(Fe),er=qe[0],ir=qe[1];return(er+ir)*3/4-ir}function _e(Fe,qe,er){return(qe+er)*3/4-er}function Ne(Fe){var qe,er=ue(Fe),ir=er[0],dr=er[1],cr=new V(_e(Fe,ir,dr)),nr=0,lr=dr>0?ir-4:ir,Et;for(Et=0;Et<lr;Et+=4)qe=j[Fe.charCodeAt(Et)]<<18|j[Fe.charCodeAt(Et+1)]<<12|j[Fe.charCodeAt(Et+2)]<<6|j[Fe.charCodeAt(Et+3)],cr[nr++]=qe>>16&255,cr[nr++]=qe>>8&255,cr[nr++]=qe&255;return dr===2&&(qe=j[Fe.charCodeAt(Et)]<<2|j[Fe.charCodeAt(Et+1)]>>4,cr[nr++]=qe&255),dr===1&&(qe=j[Fe.charCodeAt(Et)]<<10|j[Fe.charCodeAt(Et+1)]<<4|j[Fe.charCodeAt(Et+2)]>>2,cr[nr++]=qe>>8&255,cr[nr++]=qe&255),cr}function Ue(Fe){return L[Fe>>18&63]+L[Fe>>12&63]+L[Fe>>6&63]+L[Fe&63]}function $e(Fe,qe,er){for(var ir,dr=[],cr=qe;cr<er;cr+=3)ir=(Fe[cr]<<16&16711680)+(Fe[cr+1]<<8&65280)+(Fe[cr+2]&255),dr.push(Ue(ir));return dr.join("")}function Ve(Fe){for(var qe,er=Fe.length,ir=er%3,dr=[],cr=16383,nr=0,lr=er-ir;nr<lr;nr+=cr)dr.push($e(Fe,nr,nr+cr>lr?lr:nr+cr));return ir===1?(qe=Fe[er-1],dr.push(L[qe>>2]+L[qe<<4&63]+"==")):ir===2&&(qe=(Fe[er-2]<<8)+Fe[er-1],dr.push(L[qe>>10]+L[qe>>4&63]+L[qe<<2&63]+"=")),dr.join("")}},{}],101:[function(n,$,k){/*!
* Bowser - a browser detector
* https://github.com/ded/bowser
* MIT License | (c) Dustin Diaz 2015
*/(function(L,j,V){typeof $<"u"&&$.exports?$.exports=V():L[j]=V()})(this,"bowser",function(){var L=!0;function j(_e){function Ne(yr){var xr=_e.match(yr);return xr&&xr.length>1&&xr[1]||""}function Ue(yr){var xr=_e.match(yr);return xr&&xr.length>1&&xr[2]||""}var $e=Ne(/(ipod|iphone|ipad)/i).toLowerCase(),Ve=/like android/i.test(_e),Fe=!Ve&&/android/i.test(_e),qe=/nexus\s*[0-6]\s*/i.test(_e),er=!qe&&/nexus\s*[0-9]+/i.test(_e),ir=/CrOS/.test(_e),dr=/silk/i.test(_e),cr=/sailfish/i.test(_e),nr=/tizen/i.test(_e),lr=/(web|hpw)(o|0)s/i.test(_e),Et=/windows phone/i.test(_e),ie=!Et&&/windows/i.test(_e),pe=!$e&&!dr&&/macintosh/i.test(_e),Ce=!Fe&&!cr&&!nr&&!lr&&/linux/i.test(_e),Ie=Ue(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),jt=Ne(/version\/(\d+(\.\d+)?)/i),ar=/tablet/i.test(_e)&&!/tablet pc/i.test(_e),ur=!ar&&/[^-]mobi/i.test(_e),kt=/xbox/i.test(_e),he;/opera/i.test(_e)?he={name:"Opera",opera:L,version:jt||Ne(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(_e)?he={name:"Opera",opera:L,version:Ne(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||jt}:/SamsungBrowser/i.test(_e)?he={name:"Samsung Internet for Android",samsungBrowser:L,version:jt||Ne(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(_e)?he={name:"NAVER Whale browser",whale:L,version:Ne(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(_e)?he={name:"MZ Browser",mzbrowser:L,version:Ne(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(_e)?he={name:"Opera Coast",coast:L,version:jt||Ne(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(_e)?he={name:"Focus",focus:L,version:Ne(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(_e)?he={name:"Yandex Browser",yandexbrowser:L,version:jt||Ne(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(_e)?he={name:"UC Browser",ucbrowser:L,version:Ne(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(_e)?he={name:"Maxthon",maxthon:L,version:Ne(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(_e)?he={name:"Epiphany",epiphany:L,version:Ne(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(_e)?he={name:"Puffin",puffin:L,version:Ne(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(_e)?he={name:"Sleipnir",sleipnir:L,version:Ne(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(_e)?he={name:"K-Meleon",kMeleon:L,version:Ne(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:Et?(he={name:"Windows Phone",osname:"Windows Phone",windowsphone:L},Ie?(he.msedge=L,he.version=Ie):(he.msie=L,he.version=Ne(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(_e)?he={name:"Internet Explorer",msie:L,version:Ne(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:ir?he={name:"Chrome",osname:"Chrome OS",chromeos:L,chromeBook:L,chrome:L,version:Ne(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(_e)?he={name:"Microsoft Edge",msedge:L,version:Ie}:/vivaldi/i.test(_e)?he={name:"Vivaldi",vivaldi:L,version:Ne(/vivaldi\/(\d+(\.\d+)?)/i)||jt}:cr?he={name:"Sailfish",osname:"Sailfish OS",sailfish:L,version:Ne(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(_e)?he={name:"SeaMonkey",seamonkey:L,version:Ne(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(_e)?(he={name:"Firefox",firefox:L,version:Ne(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(_e)&&(he.firefoxos=L,he.osname="Firefox OS")):dr?he={name:"Amazon Silk",silk:L,version:Ne(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(_e)?he={name:"PhantomJS",phantom:L,version:Ne(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(_e)?he={name:"SlimerJS",slimer:L,version:Ne(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(_e)||/rim\stablet/i.test(_e)?he={name:"BlackBerry",osname:"BlackBerry OS",blackberry:L,version:jt||Ne(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:lr?(he={name:"WebOS",osname:"WebOS",webos:L,version:jt||Ne(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(_e)&&(he.touchpad=L)):/bada/i.test(_e)?he={name:"Bada",osname:"Bada",bada:L,version:Ne(/dolfin\/(\d+(\.\d+)?)/i)}:nr?he={name:"Tizen",osname:"Tizen",tizen:L,version:Ne(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||jt}:/qupzilla/i.test(_e)?he={name:"QupZilla",qupzilla:L,version:Ne(/(?:qupz
`)&&(Tr="(?: "+Tr+")",Ar=" "+Ar,Sr++),ur=new RegExp("^(?:"+Tr+")",Nr)),nr&&(ur=new RegExp("^"+Tr+"$(?!\\s)",Nr)),dr&&(kt=pe.lastIndex),he=L($e,xr?ur:pe,Ar),xr?he?(he.input=ir(he.input,Sr),he[0]=ir(he[0],Sr),he.index=pe.lastIndex,pe.lastIndex+=he[0].length):pe.lastIndex=0:dr&&he&&(pe.lastIndex=pe.global?he.index+he[0].length:kt),nr&&he&&he.length>1&&L(Ue,he[0],ur,function(){for(tr=1;tr<arguments.length-2;tr++)arguments[tr]===void 0&&(he[tr]=void 0)}),he&&yr)for(he.groups=gr=ue(null),tr=0;tr<yr.length;tr++)_r=yr[tr],gr[_r[0]]=he[_r[1]];return he}),$.exports=Ve},{"../internals/function-call":177,"../internals/function-uncurry-this":181,"../internals/internal-state":199,"../internals/object-create":229,"../internals/regexp-flags":257,"../internals/regexp-sticky-helpers":259,"../internals/regexp-unsupported-dot-all":260,"../internals/regexp-unsupported-ncg":261,"../internals/shared":269,"../internals/to-string":291}],257:[function(n,$,k){var L=n("../internals/an-object");$.exports=function(){var j=L(this),V="";return j.hasIndices&&(V+="d"),j.global&&(V+="g"),j.ignoreCase&&(V+="i"),j.multiline&&(V+="m"),j.dotAll&&(V+="s"),j.unicode&&(V+="u"),j.unicodeSets&&(V+="v"),j.sticky&&(V+="y"),V}},{"../internals/an-object":114}],258:[function(n,$,k){var L=n("../internals/function-call"),j=n("../internals/has-own-property"),V=n("../internals/object-is-prototype-of"),z=n("../internals/regexp-flags"),re=RegExp.prototype;$.exports=function(oe){var ue=oe.flags;return ue===void 0&&!("flags"in re)&&!j(oe,"flags")&&V(re,oe)?L(z,oe):ue}},{"../internals/function-call":177,"../internals/has-own-property":189,"../internals/object-is-prototype-of":238,"../internals/regexp-flags":257}],259:[function(n,$,k){var L=n("../internals/fails"),j=n("../internals/global"),V=j.RegExp,z=L(function(){var ue=V("a","y");return ue.lastIndex=2,ue.exec("abcd")!==null}),re=z||L(function(){return!V("a","y").sticky}),oe=z||L(function(){var ue=V("^r","gy");return ue.lastIndex=2,ue.exec("str")!==null});$.exports={BROKEN_CARET:oe,MISSED_STICKY:re,UNSUPPORTED_Y:z}},{"../internals/fails":171,"../internals/global":188}],260:[function(n,$,k){var L=n("../internals/fails"),j=n("../internals/global"),V=j.RegExp;$.exports=L(function(){var z=V(".","s");return!(z.dotAll&&z.test(`
`)&&z.flags==="s")})},{"../internals/fails":171,"../internals/global":188}],261:[function(n,$,k){var L=n("../internals/fails"),j=n("../internals/global"),V=j.RegExp;$.exports=L(function(){var z=V("(?<a>b)","g");return z.exec("b").groups.a!=="b"||"b".replace(z,"$<a>c")!=="bc"})},{"../internals/fails":171,"../internals/global":188}],262:[function(n,$,k){var L=n("../internals/is-null-or-undefined"),j=TypeError;$.exports=function(V){if(L(V))throw new j("Can't call method on "+V);return V}},{"../internals/is-null-or-undefined":207}],263:[function(n,$,k){var L=n("../internals/global"),j=n("../internals/descriptors"),V=Object.getOwnPropertyDescriptor;$.exports=function(z){if(!j)return L[z];var re=V(L,z);return re&&re.value}},{"../internals/descriptors":153,"../internals/global":188}],264:[function(n,$,k){$.exports=Object.is||function(j,V){return j===V?j!==0||1/j===1/V:j!==j&&V!==V}},{}],265:[function(n,$,k){var L=n("../internals/get-built-in"),j=n("../internals/define-built-in-accessor"),V=n("../internals/well-known-symbol"),z=n("../internals/descriptors"),re=V("species");$.exports=function(oe){var ue=L(oe);z&&ue&&!ue[re]&&j(ue,re,{configurable:!0,get:function(){return this}})}},{"../internals/define-built-in-accessor":148,"../internals/descriptors":153,"../internals/get-built-in":182,"../internals/well-known-symbol":306}],266:[function(n,$,k){var L=n("../internals/object-define-property").f,j=n("../internals/has-own-property"),V=n("../internals/well-known-symbol"),z=V("toStringTag");$.exports=function(re,oe,ue){re&&!ue&&(re=re.prototype),re&&!j(re,z)&&L(re,z,{configurable:!0,value:oe})}},{"../internals/has-own-property":189,"../internals/object-define-property":231,"../internals/well-known-symbol":306}],267:[function(n,$,k){var L=n("../internals/shared"),j=n("../internals/uid"),V=L("keys");$.exports=function(z){return V[z]||(V[z]=j(z))}},{"../internals/shared":269,"../internals/uid":299}],268:[function(n,$,k){var L=n("../internals/global"),j=n("../internals/define-global-property"),V="__core-js_shared__",z=L[V]||j(V,{});$.exports=z},{"../internals/define-global-property":151,"../internals/global":188}],269:[function(n,$,k){var L=n("../internals/is-pure"),j=n("../internals/shared-store");($.exports=function(V,z){return j[V]||(j[V]=z!==void 0?z:{})})("versions",[]).push({version:"3.35.0",mode:L?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.0/LICENSE",source:"https://github.com/zloirock/core-js"})},{"../internals/is-pure":210,"../internals/shared-store":268}],270:[function(n,$,k){var L=n("../internals/an-object"),j=n("../internals/a-constructor"),V=n("../internals/is-null-or-undefined"),z=n("../internals/well-known-symbol"),re=z("species");$.exports=function(oe,ue){var de=L(oe).constructor,_e;return de===void 0||V(_e=L(de)[re])?ue:j(_e)}},{"../internals/a-constructor":109,"../internals/an-object":114,"../internals/is-null-or-undefined":207,"../internals/well-known-symbol":306}],271:[function(n,$,k){var L=n("../internals/function-uncurry-this"),j=n("../internals/to-integer-or-infinity"),V=n("../internals/to-string"),z=n("../internals/require-object-coercible"),re=L("".charAt),oe=L("".charCodeAt),ue=L("".slice),de=function(_e){return function(Ne,Ue){var $e=V(z(Ne)),Ve=j(Ue),Fe=$e.length,qe,er;return Ve<0||Ve>=Fe?_e?"":void 0:(qe=oe($e,Ve),qe<55296||qe>56319||Ve+1===Fe||(er=oe($e,Ve+1))<56320||er>57343?_e?re($e,Ve):qe:_e?ue($e,Ve,Ve+2):(qe-55296<<10)+(er-56320)+65536)}};$.exports={codeAt:de(!1),charAt:de(!0)}},{"../internals/function-uncurry-this":181,"../internals/require-object-coercible":262,"../internals/to-integer-or-infinity":283,"../internals/to-string":291}],272:[function(n,$,k){var L=n("../internals/function-name").PROPER,j=n("../internals/fails"),V=n("../internals/whitespaces"),z="…";$.exports=function(re){return j(function(){return!!V[re]()||z[re]()!==z||L&&V[re].name!==re})}},{"../internals/fails":171,"../internals/function-name":178,"../internals/whitespaces":307}],273:[function(n,$,k){var L=n("../internals/function-uncurry-this"),j
\v\f\r    \u2028\u2029\uFEFF`},{}],308:[function(n,$,k){var L=n("../internals/export"),j=n("../internals/global"),V=n("../internals/array-buffer"),z=n("../internals/set-species"),re="ArrayBuffer",oe=V[re],ue=j[re];L({global:!0,constructor:!0,forced:ue!==oe},{ArrayBuffer:oe}),z(re)},{"../internals/array-buffer":118,"../internals/export":170,"../internals/global":188,"../internals/set-species":265}],309:[function(n,$,k){var L=n("../internals/export"),j=n("../internals/function-uncurry-this-clause"),V=n("../internals/fails"),z=n("../internals/array-buffer"),re=n("../internals/an-object"),oe=n("../internals/to-absolute-index"),ue=n("../internals/to-length"),de=n("../internals/species-constructor"),_e=z.ArrayBuffer,Ne=z.DataView,Ue=Ne.prototype,$e=j(_e.prototype.slice),Ve=j(Ue.getUint8),Fe=j(Ue.setUint8),qe=V(function(){return!new _e(2).slice(1,void 0).byteLength});L({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:qe},{slice:function(ir,dr){if($e&&dr===void 0)return $e(re(this),ir);for(var cr=re(this).byteLength,nr=oe(ir,cr),lr=oe(dr===void 0?cr:dr,cr),Et=new(de(this,_e))(ue(lr-nr)),ie=new Ne(this),pe=new Ne(Et),Ce=0;nr<lr;)Fe(pe,Ce++,Ve(ie,nr++));return Et}})},{"../internals/an-object":114,"../internals/array-buffer":118,"../internals/export":170,"../internals/fails":171,"../internals/function-uncurry-this-clause":180,"../internals/species-constructor":270,"../internals/to-absolute-index":279,"../internals/to-length":284}],310:[function(n,$,k){var L=n("../internals/export"),j=n("../internals/fails"),V=n("../internals/is-array"),z=n("../internals/is-object"),re=n("../internals/to-object"),oe=n("../internals/length-of-array-like"),ue=n("../internals/does-not-exceed-safe-integer"),de=n("../internals/create-property"),_e=n("../internals/array-species-create"),Ne=n("../internals/array-method-has-species-support"),Ue=n("../internals/well-known-symbol"),$e=n("../internals/engine-v8-version"),Ve=Ue("isConcatSpreadable"),Fe=$e>=51||!j(function(){var ir=[];return ir[Ve]=!1,ir.concat()[0]!==ir}),qe=function(ir){if(!z(ir))return!1;var dr=ir[Ve];return dr!==void 0?!!dr:V(ir)},er=!Fe||!Ne("concat");L({target:"Array",proto:!0,arity:1,forced:er},{concat:function(dr){var cr=re(this),nr=_e(cr,0),lr=0,Et,ie,pe,Ce,Ie;for(Et=-1,pe=arguments.length;Et<pe;Et++)if(Ie=Et===-1?cr:arguments[Et],qe(Ie))for(Ce=oe(Ie),ue(lr+Ce),ie=0;ie<Ce;ie++,lr++)ie in Ie&&de(nr,lr,Ie[ie]);else ue(lr+1),de(nr,lr++,Ie);return nr.length=lr,nr}})},{"../internals/array-method-has-species-support":127,"../internals/array-species-create":134,"../internals/create-property":147,"../internals/does-not-exceed-safe-integer":155,"../internals/engine-v8-version":167,"../internals/export":170,"../internals/fails":171,"../internals/is-array":201,"../internals/is-object":208,"../internals/length-of-array-like":219,"../internals/to-object":285,"../internals/well-known-symbol":306}],311:[function(n,$,k){var L=n("../internals/export"),j=n("../internals/array-fill"),V=n("../internals/add-to-unscopables");L({target:"Array",proto:!0},{fill:j}),V("fill")},{"../internals/add-to-unscopables":111,"../internals/array-fill":120,"../internals/export":170}],312:[function(n,$,k){var L=n("../internals/export"),j=n("../internals/array-iteration").filter,V=n("../internals/array-method-has-species-support"),z=V("filter");L({target:"Array",proto:!0,forced:!z},{filter:function(oe){return j(this,oe,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":125,"../internals/array-method-has-species-support":127,"../internals/export":170}],313:[function(n,$,k){var L=n("../internals/export"),j=n("../internals/array-iteration").find,V=n("../internals/add-to-unscopables"),z="find",re=!0;z in[]&&Array(1)[z](function(){re=!1}),L({target:"Array",proto:!0,forced:re},{find:function(ue){return j(this,ue,arguments.length>1?arguments[1]:void 0)}}),V(z)},{"../internals/add-to-unscopables":111,"../internals/array-iteration":125,"../internals/export":170}],314:[function(n,$,k){var L=n("../internals/export"),j=n("../internals/array-from"),V=n("../internals/chec
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/$.exports=function(V){return V!=null&&(L(V)||j(V)||!!V._isBuffer)};function L(V){return!!V.constructor&&typeof V.constructor.isBuffer=="function"&&V.constructor.isBuffer(V)}function j(V){return typeof V.readFloatLE=="function"&&typeof V.slice=="function"&&L(V.slice(0,0))}},{}],412:[function(n,$,k){var L=Function.prototype.toString,j=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,V,z;if(typeof j=="function"&&typeof Object.defineProperty=="function")try{V=Object.defineProperty({},"length",{get:function(){throw z}}),z={},j(function(){throw 42},null,V)}catch(cr){cr!==z&&(j=null)}else j=null;var re=/^\s*class\b/,oe=function(nr){try{var lr=L.call(nr);return re.test(lr)}catch{return!1}},ue=function(nr){try{return oe(nr)?!1:(L.call(nr),!0)}catch{return!1}},de=Object.prototype.toString,_e="[object Object]",Ne="[object Function]",Ue="[object GeneratorFunction]",$e="[object HTMLAllCollection]",Ve="[object HTML document.all class]",Fe="[object HTMLCollection]",qe=typeof Symbol=="function"&&!!Symbol.toStringTag,er=!(0 in[,]),ir=function(){return!1};if(typeof document=="object"){var dr=document.all;de.call(dr)===de.call(document.all)&&(ir=function(nr){if((er||!nr)&&(typeof nr>"u"||typeof nr=="object"))try{var lr=de.call(nr);return(lr===$e||lr===Ve||lr===Fe||lr===_e)&&nr("")==null}catch{}return!1})}$.exports=j?function(nr){if(ir(nr))return!0;if(!nr||typeof nr!="function"&&typeof nr!="object")return!1;try{j(nr,null,V)}catch(lr){if(lr!==z)return!1}return!oe(nr)&&ue(nr)}:function(nr){if(ir(nr))return!0;if(!nr||typeof nr!="function"&&typeof nr!="object")return!1;if(qe)return ue(nr);if(oe(nr))return!1;var lr=de.call(nr);return lr!==Ne&&lr!==Ue&&!/^\[object HTML/.test(lr)?!1:ue(nr)}},{}],413:[function(n,$,k){var L=Object.prototype.toString,j=Function.prototype.toString,V=/^\s*(?:function)?\*/,z=n("has-tostringtag/shams")(),re=Object.getPrototypeOf,oe=function(){if(!z)return!1;try{return Function("return function*() {}")()}catch{}},ue;$.exports=function(_e){if(typeof _e!="function")return!1;if(V.test(j.call(_e)))return!0;if(!z){var Ne=L.call(_e);return Ne==="[object GeneratorFunction]"}if(!re)return!1;if(typeof ue>"u"){var Ue=oe();ue=Ue?re(Ue):!1}return re(_e)===ue}},{"has-tostringtag/shams":398}],414:[function(n,$,k){var L=n("which-typed-array");$.exports=function(V){return!!L(V)}},{"which-typed-array":492}],415:[function(n,$,k){(function(L){(function(){(function(j,V){typeof k=="object"&&typeof $<"u"?$.exports=V(j):V(j)})(typeof self<"u"?self:typeof window<"u"?window:typeof L<"u"?L:this,function(j){j=j||{};var V=j.Base64,z="2.6.4",re="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",oe=function(kt){for(var he={},tr=0,gr=kt.length;tr<gr;tr++)he[kt.charAt(tr)]=tr;return he}(re),ue=String.fromCharCode,de=function(kt){if(kt.length<2){var he=kt.charCodeAt(0);return he<128?kt:he<2048?ue(192|he>>>6)+ue(128|he&63):ue(224|he>>>12&15)+ue(128|he>>>6&63)+ue(128|he&63)}else{var he=65536+(kt.charCodeAt(0)-55296)*1024+(kt.charCodeAt(1)-56320);return ue(240|he>>>18&7)+ue(128|he>>>12&63)+ue(128|he>>>6&63)+ue(128|he&63)}},_e=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Ne=function(kt){return kt.replace(_e,de)},Ue=function(kt){var he=[0,2,1][kt.length%3],tr=kt.charCodeAt(0)<<16|(kt.length>1?kt.charCodeAt(1):0)<<8|(kt.length>2?kt.charCodeAt(2):0),gr=[re.charAt(tr>>>18),re.charAt(tr>>>12&63),he>=2?"=":re.charAt(tr>>>6&63),he>=1?"=":re.charAt(tr&63)];return gr.join("")},$e=j.btoa&&typeof j.btoa=="function"?function(kt){return j.btoa(kt)}:function(kt){if(kt.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return kt.replace(/[\s\S]{1,3}/g,Ue)},Ve=function(kt){return $e(Ne(String(kt)))},Fe=function(kt){return kt.replace(/[+\/]/g,function(he){return he=="+"?"-":"_"}).replace(/=/g,"")},qe=function(kt,he){return he?Fe(Ve(kt)):Ve(kt)},er=function(kt){return qe(kt,!0)},ir;j.Uint8Array&&(ir=function(kt,he){for(var tr="",gr=0,_r=kt.length;gr<_r;gr+=3){var yr=kt[gr],xr=kt[gr+1],Nr=kt[gr+2],Tr=yr<<16|xr<<8|Nr;tr+=re.charAt(Tr>>>18)+re.charAt(Tr>>>12&63)+(typeof xr<"u"?re.charAt(Tr>>>6&63):"=")+(typeof Nr<"
`)>=0)return!1;return!0}function ca(ki,Ra){var _o;if(ki.indent===" ")_o=" ";else if(typeof ki.indent=="number"&&ki.indent>0)_o=Ie.call(Array(ki.indent+1)," ");else return null;return{base:_o,prev:Ie.call(Array(Ra+1),_o)}}function fo(ki,Ra){if(ki.length===0)return"";var _o=`
`+Ra.prev+Ra.base;return _o+Ie.call(ki,","+_o)+`
`+Ra.prev}function zn(ki,Ra){var _o=Gr(ki),eo=[];if(_o){eo.length=ki.length;for(var tl=0;tl<ki.length;tl++)eo[tl]=Kr(ki,tl)?Ra(ki[tl],ki):""}var Es=typeof kt=="function"?kt(ki):[],Hs;if(tr){Hs={};for(var Ts=0;Ts<Es.length;Ts++)Hs["$"+Es[Ts]]=Es[Ts]}for(var js in ki)Kr(ki,js)&&(_o&&String(Number(js))===js&&js<ki.length||tr&&Hs["$"+js]instanceof Symbol||(pe.call(/[^\w$]/,js)?eo.push(Ra(js,ki)+": "+Ra(ki[js],ki)):eo.push(js+": "+Ra(ki[js],ki))));if(typeof kt=="function")for(var Gs=0;Gs<Es.length;Gs++)_r.call(ki,Es[Gs])&&eo.push("["+Ra(Es[Gs])+"]: "+Ra(ki[Es[Gs]],ki));return eo}}).call(this)}).call(this,typeof y<"u"?y:typeof self<"u"?self:typeof window<"u"?window:{})},{"./util.inspect":102}],436:[function(n,$,k){var L;if(!Object.keys){var j=Object.prototype.hasOwnProperty,V=Object.prototype.toString,z=n("./isArguments"),re=Object.prototype.propertyIsEnumerable,oe=!re.call({toString:null},"toString"),ue=re.call(function(){},"prototype"),de=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],_e=function(Ve){var Fe=Ve.constructor;return Fe&&Fe.prototype===Ve},Ne={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},Ue=function(){if(typeof window>"u")return!1;for(var Ve in window)try{if(!Ne["$"+Ve]&&j.call(window,Ve)&&window[Ve]!==null&&typeof window[Ve]=="object")try{_e(window[Ve])}catch{return!0}}catch{return!0}return!1}(),$e=function(Ve){if(typeof window>"u"||!Ue)return _e(Ve);try{return _e(Ve)}catch{return!1}};L=function(Fe){var qe=Fe!==null&&typeof Fe=="object",er=V.call(Fe)==="[object Function]",ir=z(Fe),dr=qe&&V.call(Fe)==="[object String]",cr=[];if(!qe&&!er&&!ir)throw new TypeError("Object.keys called on a non-object");var nr=ue&&er;if(dr&&Fe.length>0&&!j.call(Fe,0))for(var lr=0;lr<Fe.length;++lr)cr.push(String(lr));if(ir&&Fe.length>0)for(var Et=0;Et<Fe.length;++Et)cr.push(String(Et));else for(var ie in Fe)!(nr&&ie==="prototype")&&j.call(Fe,ie)&&cr.push(String(ie));if(oe)for(var pe=$e(Fe),Ce=0;Ce<de.length;++Ce)!(pe&&de[Ce]==="constructor")&&j.call(Fe,de[Ce])&&cr.push(de[Ce]);return cr}}$.exports=L},{"./isArguments":438}],437:[function(n,$,k){var L=Array.prototype.slice,j=n("./isArguments"),V=Object.keys,z=V?function(ue){return V(ue)}:n("./implementation"),re=Object.keys;z.shim=function(){if(Object.keys){var ue=function(){var de=Object.keys(arguments);return de&&de.length===arguments.length}(1,2);ue||(Object.keys=function(_e){return j(_e)?re(L.call(_e)):re(_e)})}else Object.keys=z;return Object.keys||z},$.exports=z},{"./implementation":436,"./isArguments":438}],438:[function(n,$,k){var L=Object.prototype.toString;$.exports=function(V){var z=L.call(V),re=z==="[object Arguments]";return re||(re=z!=="[object Array]"&&V!==null&&typeof V=="object"&&typeof V.length=="number"&&V.length>=0&&L.call(V.callee)==="[object Function]"),re}},{}],439:[function(n,$,k){var L=n("object-keys"),j=n("has-symbols/shams")(),V=n("call-bind/callBound"),z=Object,re=V("Array.prototype.push"),oe=V("Object.prototype.propertyIsEnumerable"),ue=j?Object.getOwnPropertySymbols:null;$.exports=function(_e,Ne){if(_e==null)throw new TypeError("target must be an object");var Ue=z(_e);if(arguments.length===1)return Ue;for(var $e=1;$e<arguments.length;++$e){var Ve=z(arguments[$e]),Fe=L(Ve),qe=j&&(Object.getOwnPropertySymbols||ue);if(qe)for(var er=qe(Ve),ir=0;ir<er.length;++ir){var dr=er[ir];oe(Ve,dr)&&re(Fe,dr)}for(var cr=0;cr<Fe.length;++cr){var nr=Fe[cr];if(oe(Ve,nr)){var lr=Ve[nr];Ue[nr]=lr}}}return Ue}},{"call-bind/callBound":105,"has-symbols/shams":397,"object-keys":437}],440:[function(n,$,k){var L=n("./implementation"),j=function(){if(!Object.assign)return!1;for(var z="abcdefghijklmnopqrst",re=z.split(""),oe={},ue=0;ue<re.length;++ue)oe[re[ue]]=re[ue];var de=Object.assign({},oe),_e="";for(var Ne in de
`||Dr==="\r"||Dr===" "}function Et(Dr){return Dr==='"'||Dr==="'"}function ie(Dr){return Dr===">"||lr(Dr)}function pe(Dr,Ir){return Dr.test(Ir)}function Ce(Dr,Ir){return!pe(Dr,Ir)}var Ie=0;j.STATE={BEGIN:Ie++,BEGIN_WHITESPACE:Ie++,TEXT:Ie++,TEXT_ENTITY:Ie++,OPEN_WAKA:Ie++,SGML_DECL:Ie++,SGML_DECL_QUOTED:Ie++,DOCTYPE:Ie++,DOCTYPE_QUOTED:Ie++,DOCTYPE_DTD:Ie++,DOCTYPE_DTD_QUOTED:Ie++,COMMENT_STARTING:Ie++,COMMENT:Ie++,COMMENT_ENDING:Ie++,COMMENT_ENDED:Ie++,CDATA:Ie++,CDATA_ENDING:Ie++,CDATA_ENDING_2:Ie++,PROC_INST:Ie++,PROC_INST_BODY:Ie++,PROC_INST_ENDING:Ie++,OPEN_TAG:Ie++,OPEN_TAG_SLASH:Ie++,ATTRIB:Ie++,ATTRIB_NAME:Ie++,ATTRIB_NAME_SAW_WHITE:Ie++,ATTRIB_VALUE:Ie++,ATTRIB_VALUE_QUOTED:Ie++,ATTRIB_VALUE_CLOSED:Ie++,ATTRIB_VALUE_UNQUOTED:Ie++,ATTRIB_VALUE_ENTITY_Q:Ie++,ATTRIB_VALUE_ENTITY_U:Ie++,CLOSE_TAG:Ie++,CLOSE_TAG_SAW_WHITE:Ie++,SCRIPT:Ie++,SCRIPT_ENDING:Ie++},j.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},j.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(j.ENTITIES).forEach(function(Dr){var Ir=j.ENTITIES[Dr],Br=typeof Ir=="number"?String.fromCharCode(Ir):Ir;j.ENTITIES[Dr]=Br});for(var jt in j.STATE)j.STATE[j.STATE[jt]]=jt;Ie=j.STATE;function ar(Dr,Ir,Br){Dr[Ir]&&Dr[Ir](Br)}function ur(Dr,Ir,Br){Dr.textNode&&kt(Dr),ar(Dr,Ir,Br)}function kt(Dr){Dr.textNode=he(Dr.opt,Dr.textNode),Dr.textNode&&ar(Dr,"ontext",Dr.textNode),Dr.textNode=""}function he(Dr,Ir){return Dr.trim&&(Ir=Ir.trim()),Dr.normalize&&(Ir=Ir.replace(/\s+/g," ")),Ir}function tr(Dr,Ir){return kt(Dr),Dr.trackPosition&&(Ir+=`
Line: `+Dr.line+`
Column: `+Dr.column+`
Char: `+Dr.c),Ir=new Error(Ir),Dr.error=Ir,ar(Dr,"onerror",Ir),Dr}function gr(Dr){return Dr.sawRoot&&!Dr.closedRoot&&_r(Dr,"Unclosed root tag"),Dr.state!==Ie.BEGIN&&Dr.state!==Ie.BEGIN_WHITESPACE&&Dr.state!==Ie.TEXT&&tr(Dr,"Unexpected end"),kt(Dr),Dr.c="",Dr.closed=!0,ar(Dr,"onend"),z.call(Dr,Dr.strict,Dr.opt),Dr}function _r(Dr,Ir){if(typeof Dr!="object"||!(Dr instanceof z))throw new Error("bad call to strictFail");Dr.strict&&tr(Dr,Ir)}function yr(Dr){Dr.strict||(Dr.tagName=Dr.tagName[Dr.looseCase]());var Ir=Dr.tags[Dr.tags.length-1]||Dr,Br=Dr.tag={name:Dr.tagName,attributes:{}};Dr.opt.xmlns&&(Br.ns=Ir.ns),Dr.attribList.length=0,ur(Dr,"onopentagstart",Br)}function xr(Dr,Ir){var Br=Dr.indexOf(":"),Rr=Br<0?["",Dr]:Dr.split(":"),Lr=Rr[0],$r=Rr[1];return Ir&&Dr==="xmlns"&&(Lr="xmlns",$r=""),{prefix:Lr,local:$r}}function Nr(Dr){if(Dr.strict||(Dr.attribName=Dr.attribName[Dr.looseCase]()),Dr.attribList.indexOf(Dr.attribName)!==-1||Dr.tag.attributes.hasOwnProperty(Dr.attribName)){Dr.attribName=Dr.attribValue="";return}if(Dr.opt.xmlns){var Ir=xr(Dr.attribName,!0),Br=Ir.prefix,Rr=Ir.local;if(Br==="xmlns")if(Rr==="xml"&&Dr.attribValue!==Fe)_r(Dr,"xml: prefix must be bound to "+Fe+`
Actual: `+Dr.attribValue);else if(Rr==="xmlns"&&Dr.attribValue!==qe)_r(Dr,"xmlns: prefix must be bound to "+qe+`
Actual: `+Dr.attribValue);else{var Lr=Dr.tag,$r=Dr.tags[Dr.tags.length-1]||Dr;Lr.ns===$r.ns&&(Lr.ns=Object.create($r.ns)),Lr.ns[Rr]=Dr.attribValue}Dr.attribList.push([Dr.attribName,Dr.attribValue])}else Dr.tag.attributes[Dr.attribName]=Dr.attribValue,ur(Dr,"onattribute",{name:Dr.attribName,value:Dr.attribValue});Dr.attribName=Dr.attribValue=""}function Tr(Dr,Ir){if(Dr.opt.xmlns){var Br=Dr.tag,Rr=xr(Dr.tagName);Br.prefix=Rr.prefix,Br.local=Rr.local,Br.uri=Br.ns[Rr.prefix]||"",Br.prefix&&!Br.uri&&(_r(Dr,"Unbound namespace prefix: "+JSON.stringify(Dr.tagName)),Br.uri=Rr.prefix);var Lr=Dr.tags[Dr.tags.length-1]||Dr;Br.ns&&Lr.ns!==Br.ns&&Object.keys(Br.ns).forEach(function(Ba){ur(Dr,"onopennamespace",{prefix:Ba,uri:Br.ns[Ba]})});for(var $r=0,jr=Dr.attribList.length;$r<jr;$r++){var vn=Dr.attribList[$r],Kr=vn[0],kr=vn[1],Qr=xr(Kr,!0),Zr=Qr.prefix,Vi=Qr.local,To=Zr===""?"":Br.ns[Zr]||"",oa={name:Kr,value:kr,prefix:Zr,local:Vi,uri:To};Zr&&Zr!=="xmlns"&&!To&&(_r(Dr,"Unbound namespace prefix: "+JSON.stringify(Zr)),oa.uri=Zr),Dr.tag.attributes[Kr]=oa,ur(Dr,"onattribute",oa)}Dr.attribList.length=0}Dr.tag.isSelfClosing=!!Ir,Dr.sawRoot=!0,Dr.tags.push(Dr.tag),ur(Dr,"onopentag",Dr.tag),Ir||(!Dr.noscript&&Dr.tagName.toLowerCase()==="script"?Dr.state=Ie.SCRIPT:Dr.state=Ie.TEXT,Dr.tag=null,Dr.tagName=""),Dr.attribName=Dr.attribValue="",Dr.attribList.length=0}function Sr(Dr){if(!Dr.tagName){_r(Dr,"Weird empty close tag."),Dr.textNode+="</>",Dr.state=Ie.TEXT;return}if(Dr.script){if(Dr.tagName!=="script"){Dr.script+="</"+Dr.tagName+">",Dr.tagName="",Dr.state=Ie.SCRIPT;return}ur(Dr,"onscript",Dr.script),Dr.script=""}var Ir=Dr.tags.length,Br=Dr.tagName;Dr.strict||(Br=Br[Dr.looseCase]());for(var Rr=Br;Ir--;){var Lr=Dr.tags[Ir];if(Lr.name!==Rr)_r(Dr,"Unexpected close tag");else break}if(Ir<0){_r(Dr,"Unmatched closing tag: "+Dr.tagName),Dr.textNode+="</"+Dr.tagName+">",Dr.state=Ie.TEXT;return}Dr.tagName=Br;for(var $r=Dr.tags.length;$r-- >Ir;){var jr=Dr.tag=Dr.tags.pop();Dr.tagName=Dr.tag.name,ur(Dr,"onclosetag",Dr.tagName);var vn={};for(var Kr in jr.ns)vn[Kr]=jr.ns[Kr];var kr=Dr.tags[Dr.tags.length-1]||Dr;Dr.opt.xmlns&&jr.ns!==kr.ns&&Object.keys(jr.ns).forEach(function(Qr){var Zr=jr.ns[Qr];ur(Dr,"onclosenamespace",{prefix:Qr,uri:Zr})})}Ir===0&&(Dr.closedRoot=!0),Dr.tagName=Dr.attribValue=Dr.attribName="",Dr.attribList.length=0,Dr.state=Ie.TEXT}function Ar(Dr){var Ir=Dr.entity,Br=Ir.toLowerCase(),Rr,Lr="";return Dr.ENTITIES[Ir]?Dr.ENTITIES[Ir]:Dr.ENTITIES[Br]?Dr.ENTITIES[Br]:(Ir=Br,Ir.charAt(0)==="#"&&(Ir.charAt(1)==="x"?(Ir=Ir.slice(2),Rr=parseInt(Ir,16),Lr=Rr.toString(16)):(Ir=Ir.slice(1),Rr=parseInt(Ir,10),Lr=Rr.toString(10))),Ir=Ir.replace(/^0+/,""),isNaN(Rr)||Lr.toLowerCase()!==Ir?(_r(Dr,"Invalid character entity"),"&"+Dr.entity+";"):String.fromCodePoint(Rr))}function Fr(Dr,Ir){Ir==="<"?(Dr.state=Ie.OPEN_WAKA,Dr.startTagPosition=Dr.position):lr(Ir)||(_r(Dr,"Non-whitespace before first tag."),Dr.textNode=Ir,Dr.state=Ie.TEXT)}function Gr(Dr,Ir){var Br="";return Ir<Dr.length&&(Br=Dr.charAt(Ir)),Br}function Vr(Dr){var Ir=this;if(this.error)throw this.error;if(Ir.closed)return tr(Ir,"Cannot write after close. Assign an onready handler.");if(Dr===null)return gr(Ir);typeof Dr=="object"&&(Dr=Dr.toString());for(var Br=0,Rr="";Rr=Gr(Dr,Br++),Ir.c=Rr,!!Rr;)switch(Ir.trackPosition&&(Ir.position++,Rr===`
`?(Ir.line++,Ir.column=0):Ir.column++),Ir.state){case Ie.BEGIN:if(Ir.state=Ie.BEGIN_WHITESPACE,Rr==="\uFEFF")continue;Fr(Ir,Rr);continue;case Ie.BEGIN_WHITESPACE:Fr(Ir,Rr);continue;case Ie.TEXT:if(Ir.sawRoot&&!Ir.closedRoot){for(var Lr=Br-1;Rr&&Rr!=="<"&&Rr!=="&";)Rr=Gr(Dr,Br++),Rr&&Ir.trackPosition&&(Ir.position++,Rr===`
`?(Ir.line++,Ir.column=0):Ir.column++);Ir.textNode+=Dr.substring(Lr,Br-1)}Rr==="<"&&!(Ir.sawRoot&&Ir.closedRoot&&!Ir.strict)?(Ir.state=Ie.OPEN_WAKA,Ir.startTagPosition=Ir.position):(!lr(Rr)&&(!Ir.sawRoot||Ir.closedRoot)&&_r(Ir,"Text data outside of root node."),Rr==="&"?Ir.state=Ie.TEXT_ENTITY:Ir.textNode+=Rr);continue;case Ie.SCRIPT:Rr==="<"?Ir.state=Ie.SCRIPT_ENDING:Ir.script+=Rr;continue;case Ie.SCRIPT_ENDING:Rr==="/"?Ir.state=Ie.CLOSE_TAG:(Ir.script+="<"+Rr,Ir.state=Ie.SCRIPT);continue;case Ie.OPEN_WAKA:if(Rr==="!")Ir.state=Ie.SGML_DECL,Ir.sgmlDecl="";else if(!lr(Rr))if(pe(ir,Rr))Ir.state=Ie.OPEN_TAG,Ir.tagName=Rr;else if(Rr==="/")Ir.state=Ie.CLOSE_TAG,Ir.tagName="";else if(Rr==="?")Ir.state=Ie.PROC_INST,Ir.procInstName=Ir.procInstBody="";else{if(_r(Ir,"Unencoded <"),Ir.startTagPosition+1<Ir.position){var $r=Ir.position-Ir.startTagPosition;Rr=new Array($r).join(" ")+Rr}Ir.textNode+="<"+Rr,Ir.state=Ie.TEXT}continue;case Ie.SGML_DECL:(Ir.sgmlDecl+Rr).toUpperCase()===$e?(ur(Ir,"onopencdata"),Ir.state=Ie.CDATA,Ir.sgmlDecl="",Ir.cdata=""):Ir.sgmlDecl+Rr==="--"?(Ir.state=Ie.COMMENT,Ir.comment="",Ir.sgmlDecl=""):(Ir.sgmlDecl+Rr).toUpperCase()===Ve?(Ir.state=Ie.DOCTYPE,(Ir.doctype||Ir.sawRoot)&&_r(Ir,"Inappropriately located doctype declaration"),Ir.doctype="",Ir.sgmlDecl=""):Rr===">"?(ur(Ir,"onsgmldeclaration",Ir.sgmlDecl),Ir.sgmlDecl="",Ir.state=Ie.TEXT):(Et(Rr)&&(Ir.state=Ie.SGML_DECL_QUOTED),Ir.sgmlDecl+=Rr);continue;case Ie.SGML_DECL_QUOTED:Rr===Ir.q&&(Ir.state=Ie.SGML_DECL,Ir.q=""),Ir.sgmlDecl+=Rr;continue;case Ie.DOCTYPE:Rr===">"?(Ir.state=Ie.TEXT,ur(Ir,"ondoctype",Ir.doctype),Ir.doctype=!0):(Ir.doctype+=Rr,Rr==="["?Ir.state=Ie.DOCTYPE_DTD:Et(Rr)&&(Ir.state=Ie.DOCTYPE_QUOTED,Ir.q=Rr));continue;case Ie.DOCTYPE_QUOTED:Ir.doctype+=Rr,Rr===Ir.q&&(Ir.q="",Ir.state=Ie.DOCTYPE);continue;case Ie.DOCTYPE_DTD:Ir.doctype+=Rr,Rr==="]"?Ir.state=Ie.DOCTYPE:Et(Rr)&&(Ir.state=Ie.DOCTYPE_DTD_QUOTED,Ir.q=Rr);continue;case Ie.DOCTYPE_DTD_QUOTED:Ir.doctype+=Rr,Rr===Ir.q&&(Ir.state=Ie.DOCTYPE_DTD,Ir.q="");continue;case Ie.COMMENT:Rr==="-"?Ir.state=Ie.COMMENT_ENDING:Ir.comment+=Rr;continue;case Ie.COMMENT_ENDING:Rr==="-"?(Ir.state=Ie.COMMENT_ENDED,Ir.comment=he(Ir.opt,Ir.comment),Ir.comment&&ur(Ir,"oncomment",Ir.comment),Ir.comment=""):(Ir.comment+="-"+Rr,Ir.state=Ie.COMMENT);continue;case Ie.COMMENT_ENDED:Rr!==">"?(_r(Ir,"Malformed comment"),Ir.comment+="--"+Rr,Ir.state=Ie.COMMENT):Ir.state=Ie.TEXT;continue;case Ie.CDATA:Rr==="]"?Ir.state=Ie.CDATA_ENDING:Ir.cdata+=Rr;continue;case Ie.CDATA_ENDING:Rr==="]"?Ir.state=Ie.CDATA_ENDING_2:(Ir.cdata+="]"+Rr,Ir.state=Ie.CDATA);continue;case Ie.CDATA_ENDING_2:Rr===">"?(Ir.cdata&&ur(Ir,"oncdata",Ir.cdata),ur(Ir,"onclosecdata"),Ir.cdata="",Ir.state=Ie.TEXT):Rr==="]"?Ir.cdata+="]":(Ir.cdata+="]]"+Rr,Ir.state=Ie.CDATA);continue;case Ie.PROC_INST:Rr==="?"?Ir.state=Ie.PROC_INST_ENDING:lr(Rr)?Ir.state=Ie.PROC_INST_BODY:Ir.procInstName+=Rr;continue;case Ie.PROC_INST_BODY:if(!Ir.procInstBody&&lr(Rr))continue;Rr==="?"?Ir.state=Ie.PROC_INST_ENDING:Ir.procInstBody+=Rr;continue;case Ie.PROC_INST_ENDING:Rr===">"?(ur(Ir,"onprocessinginstruction",{name:Ir.procInstName,body:Ir.procInstBody}),Ir.procInstName=Ir.procInstBody="",Ir.state=Ie.TEXT):(Ir.procInstBody+="?"+Rr,Ir.state=Ie.PROC_INST_BODY);continue;case Ie.OPEN_TAG:pe(dr,Rr)?Ir.tagName+=Rr:(yr(Ir),Rr===">"?Tr(Ir):Rr==="/"?Ir.state=Ie.OPEN_TAG_SLASH:(lr(Rr)||_r(Ir,"Invalid character in tag name"),Ir.state=Ie.ATTRIB));continue;case Ie.OPEN_TAG_SLASH:Rr===">"?(Tr(Ir,!0),Sr(Ir)):(_r(Ir,"Forward-slash in opening tag not followed by >"),Ir.state=Ie.ATTRIB);continue;case Ie.ATTRIB:if(lr(Rr))continue;Rr===">"?Tr(Ir):Rr==="/"?Ir.state=Ie.OPEN_TAG_SLASH:pe(ir,Rr)?(Ir.attribName=Rr,Ir.attribValue="",Ir.state=Ie.ATTRIB_NAME):_r(Ir,"Invalid attribute name");continue;case Ie.ATTRIB_NAME:Rr==="="?Ir.state=Ie.ATTRIB_VALUE:Rr===">"?(_r(Ir,"Attribute without value"),Ir.attribValue=Ir.attribName,Nr(Ir),Tr(Ir)):lr(Rr)?Ir.state=Ie.ATTRIB_NAME_SAW_WHITE:pe(dr,Rr)?Ir.attribName+=Rr:_r(Ir,"Invalid attribute name");continue;case Ie.ATTRIB_NAME_SAW_WHITE:if(Rr==="=")Ir.state=Ie.ATTRI
`)>-1&&(Dr?Br=Br.split(`
`).map(function(Lr){return" "+Lr}).join(`
`).slice(2):Br=`
`+Br.split(`
`).map(function(Lr){return" "+Lr}).join(`
`))):Br=Sr.stylize("[Circular]","special")),pe(Ir)){if(Dr&&Vr.match(/^\d+$/))return Br;Ir=JSON.stringify(""+Vr),Ir.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Ir=Ir.slice(1,-1),Ir=Sr.stylize(Ir,"name")):(Ir=Ir.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Ir=Sr.stylize(Ir,"string"))}return Ir+": "+Br}function er(Sr,Ar,Fr){var Gr=Sr.reduce(function(Vr,Dr){return Dr.indexOf(`
`)>=0,Vr+Dr.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Gr>60?Fr[0]+(Ar===""?"":Ar+`
`)+" "+Sr.join(`,
`)+" "+Fr[1]:Fr[0]+Ar+" "+Sr.join(", ")+" "+Fr[1]}k.types=n("./support/types");function ir(Sr){return Array.isArray(Sr)}k.isArray=ir;function dr(Sr){return typeof Sr=="boolean"}k.isBoolean=dr;function cr(Sr){return Sr===null}k.isNull=cr;function nr(Sr){return Sr==null}k.isNullOrUndefined=nr;function lr(Sr){return typeof Sr=="number"}k.isNumber=lr;function Et(Sr){return typeof Sr=="string"}k.isString=Et;function ie(Sr){return typeof Sr=="symbol"}k.isSymbol=ie;function pe(Sr){return Sr===void 0}k.isUndefined=pe;function Ce(Sr){return Ie(Sr)&&he(Sr)==="[object RegExp]"}k.isRegExp=Ce,k.types.isRegExp=Ce;function Ie(Sr){return typeof Sr=="object"&&Sr!==null}k.isObject=Ie;function jt(Sr){return Ie(Sr)&&he(Sr)==="[object Date]"}k.isDate=jt,k.types.isDate=jt;function ar(Sr){return Ie(Sr)&&(he(Sr)==="[object Error]"||Sr instanceof Error)}k.isError=ar,k.types.isNativeError=ar;function ur(Sr){return typeof Sr=="function"}k.isFunction=ur;function kt(Sr){return Sr===null||typeof Sr=="boolean"||typeof Sr=="number"||typeof Sr=="string"||typeof Sr=="symbol"||typeof Sr>"u"}k.isPrimitive=kt,k.isBuffer=n("./support/isBuffer");function he(Sr){return Object.prototype.toString.call(Sr)}function tr(Sr){return Sr<10?"0"+Sr.toString(10):Sr.toString(10)}var gr=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function _r(){var Sr=new Date,Ar=[tr(Sr.getHours()),tr(Sr.getMinutes()),tr(Sr.getSeconds())].join(":");return[Sr.getDate(),gr[Sr.getMonth()],Ar].join(" ")}k.log=function(){console.log("%s - %s",_r(),k.format.apply(k,arguments))},k.inherits=n("inherits"),k._extend=function(Sr,Ar){if(!Ar||!Ie(Ar))return Sr;for(var Fr=Object.keys(Ar),Gr=Fr.length;Gr--;)Sr[Fr[Gr]]=Ar[Fr[Gr]];return Sr};function yr(Sr,Ar){return Object.prototype.hasOwnProperty.call(Sr,Ar)}var xr=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;k.promisify=function(Ar){if(typeof Ar!="function")throw new TypeError('The "original" argument must be of type Function');if(xr&&Ar[xr]){var Fr=Ar[xr];if(typeof Fr!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Fr,xr,{value:Fr,enumerable:!1,writable:!1,configurable:!0}),Fr}function Fr(){for(var Gr,Vr,Dr=new Promise(function(Rr,Lr){Gr=Rr,Vr=Lr}),Ir=[],Br=0;Br<arguments.length;Br++)Ir.push(arguments[Br]);Ir.push(function(Rr,Lr){Rr?Vr(Rr):Gr(Lr)});try{Ar.apply(this,Ir)}catch(Rr){Vr(Rr)}return Dr}return Object.setPrototypeOf(Fr,Object.getPrototypeOf(Ar)),xr&&Object.defineProperty(Fr,xr,{value:Fr,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(Fr,j(Ar))},k.promisify.custom=xr;function Nr(Sr,Ar){if(!Sr){var Fr=new Error("Promise was rejected with a falsy value");Fr.reason=Sr,Sr=Fr}return Ar(Sr)}function Tr(Sr){if(typeof Sr!="function")throw new TypeError('The "original" argument must be of type Function');function Ar(){for(var Fr=[],Gr=0;Gr<arguments.length;Gr++)Fr.push(arguments[Gr]);var Vr=Fr.pop();if(typeof Vr!="function")throw new TypeError("The last argument must be of type Function");var Dr=this,Ir=function(){return Vr.apply(Dr,arguments)};Sr.apply(this,Fr).then(function(Br){L.nextTick(Ir.bind(null,null,Br))},function(Br){L.nextTick(Nr.bind(null,Br,Ir))})}return Object.setPrototypeOf(Ar,Object.getPrototypeOf(Sr)),Object.defineProperties(Ar,j(Sr)),Ar}k.callbackify=Tr}).call(this)}).call(this,n("_process"))},{"./support/isBuffer":489,"./support/types":490,_process:540,inherits:409}],492:[function(n,$,k){(function(L){(function(){var j=n("for-each"),V=n("available-typed-arrays"),z=n("call-bind"),re=n("call-bind/callBound"),oe=n("gopd"),ue=re("Object.prototype.toString"),de=n("has-tostringtag/shams")(),_e=typeof globalThis>"u"?L:globalThis,Ne=V(),Ue=re("String.prototype.slice"),$e=Object.getPrototypeOf,Ve=re("Array.prototype.indexOf",!0)||function(dr,cr){for(var nr=0;nr<dr.length;nr+=1)if(dr[nr]===cr)return nr;return-1},Fe={__proto__:null};de&&oe&&$e?j(Ne,function(ir){var dr=new _e[ir];if(Symbol.toStringTag in dr){var cr=$e(dr),nr=oe(cr,Symbol.toStringTag);if(!nr){var lr=$e(cr);nr=oe(lr,Symbol.toStringTag)}Fe["$"+
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(this)},{}],496:[function(n,$,k){(function(){var L,j,V,z,re,oe,ue,de,_e,Ne=function(Ve,Fe){return function(){return Ve.apply(Fe,arguments)}},Ue=function(Ve,Fe){for(var qe in Fe)$e.call(Fe,qe)&&(Ve[qe]=Fe[qe]);function er(){this.constructor=Ve}return er.prototype=Fe.prototype,Ve.prototype=new er,Ve.__super__=Fe.prototype,Ve},$e={}.hasOwnProperty;de=n("sax"),z=n("events"),L=n("./bom"),ue=n("./processors"),_e=n("timers").setImmediate,j=n("./defaults").defaults,re=function(Ve){return typeof Ve=="object"&&Ve!=null&&Object.keys(Ve).length===0},oe=function(Ve,Fe,qe){var er,ir,dr;for(er=0,ir=Ve.length;er<ir;er++)dr=Ve[er],Fe=dr(Fe,qe);return Fe},V=function(Ve,Fe,qe){var er;return er=Object.create(null),er.value=qe,er.writable=!0,er.enumerable=!0,er.configurable=!0,Object.defineProperty(Ve,Fe,er)},k.Parser=function(Ve){Ue(Fe,Ve);function Fe(qe){this.parseStringPromise=Ne(this.parseStringPromise,this),this.parseString=Ne(this.parseString,this),this.reset=Ne(this.reset,this),this.assignOrPush=Ne(this.assignOrPush,this),this.processAsync=Ne(this.processAsync,this);var er,ir,dr;if(!(this instanceof k.Parser))return new k.Parser(qe);this.options={},ir=j["0.2"];for(er in ir)$e.call(ir,er)&&(dr=ir[er],this.options[er]=dr);for(er in qe)$e.call(qe,er)&&(dr=qe[er],this.options[er]=dr);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(ue.normalize)),this.reset()}return Fe.prototype.processAsync=function(){var qe,er;try{return this.remaining.length<=this.options.chunkSize?(qe=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(qe),this.saxParser.close()):(qe=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(qe),_e(this.processAsync))}catch(ir){if(er=ir,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(er)}},Fe.prototype.assignOrPush=function(qe,er,ir){return er in qe?(qe[er]instanceof Array||V(qe,er,[qe[er]]),qe[er].push(ir)):this.options.explicitArray?V(qe,er,[ir]):V(qe,er,ir)},Fe.prototype.reset=function(){var qe,er,ir,dr;return this.removeAllListeners(),this.saxParser=de.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(cr){return function(nr){if(cr.saxParser.resume(),!cr.saxParser.errThrown)return cr.saxParser.errThrown=!0,cr.emit("error",nr)}}(this),this.saxParser.onend=function(cr){return function(){if(!cr.saxParser.ended)return cr.saxParser.ended=!0,cr.emit("end",cr.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,dr=[],qe=this.options.attrkey,er=this.options.charkey,this.saxParser.onopentag=function(cr){return function(nr){var lr,Et,ie,pe,Ce;if(ie={},ie[er]="",!cr.options.ignoreAttrs){Ce=nr.attributes;for(lr in Ce)$e.call(Ce,lr)&&(!(qe in ie)&&!cr.options.mergeAttrs&&(ie[qe]={}),Et=cr.options.attrValueProcessors?oe(cr.options.attrValueProcessors,nr.attributes[lr],lr):nr.attributes[lr],pe=cr.options.attrNameProcessors?oe(cr.options.attrNameProcessors,lr):lr,cr.options.mergeAttrs?cr.assignOrPush(ie,pe,Et):V(ie[qe],pe,Et))}return ie["#name"]=cr.options.tagNameProcessors?oe(cr.options.tagNameProcessors,nr.name):nr.name,cr.options.xmlns&&(ie[cr.options.xmlnskey]={uri:nr.uri,local:nr.local}),dr.push(ie)}}(this),this.saxParser.onclosetag=function(cr){return function(){var nr,lr,Et,ie,pe,Ce,Ie,jt,ar,ur;if(Ce=dr.pop(),pe=Ce["#name"],(!cr.options.explicitChildren||!cr.options.preserveChildrenOrder)&&delete Ce["#name"],Ce.cdata===!0&&(nr=Ce.cdata,delete Ce.cdata),ar=dr[dr.length-1],Ce[er].match(/^\s*$/)&&!nr?(lr=Ce[er],delete Ce[er]):(cr.options.trim&&(Ce[er]=Ce[er].trim()),cr.options.normalize&&(Ce[er]=Ce[er].replace(/\s{2,}/g," ").trim()),Ce[er]=cr.options.valueProcessors?oe(cr.options.valueProcessors,Ce[er],pe):Ce[er],Object
`,ue.offset=(Ne=oe.offset)!=null?Ne:0,ue.dontPrettyTextNodes=(Ue=($e=oe.dontPrettyTextNodes)!=null?$e:oe.dontprettytextnodes)!=null?Ue:0,ue.spaceBeforeSlash=(Ve=(Fe=oe.spaceBeforeSlash)!=null?Fe:oe.spacebeforeslash)!=null?Ve:"",ue.spaceBeforeSlash===!0&&(ue.spaceBeforeSlash=" "),ue.suppressPrettyCount=0,ue.user={},ue.state=j.None,ue},re.prototype.indent=function(oe,ue,de){var _e;return!ue.pretty||ue.suppressPrettyCount?"":ue.pretty&&(_e=(de||0)+ue.offset+1,_e>0)?new Array(_e).join(ue.indent):""},re.prototype.endline=function(oe,ue,de){return!ue.pretty||ue.suppressPrettyCount?"":ue.newline},re.prototype.attribute=function(oe,ue,de){var _e;return this.openAttribute(oe,ue,de),_e=" "+oe.name+'="'+oe.value+'"',this.closeAttribute(oe,ue,de),_e},re.prototype.cdata=function(oe,ue,de){var _e;return this.openNode(oe,ue,de),ue.state=j.OpenTag,_e=this.indent(oe,ue,de)+"<![CDATA[",ue.state=j.InsideTag,_e+=oe.value,ue.state=j.CloseTag,_e+="]]>"+this.endline(oe,ue,de),ue.state=j.None,this.closeNode(oe,ue,de),_e},re.prototype.comment=function(oe,ue,de){var _e;return this.openNode(oe,ue,de),ue.state=j.OpenTag,_e=this.indent(oe,ue,de)+"<!-- ",ue.state=j.InsideTag,_e+=oe.value,ue.state=j.CloseTag,_e+=" -->"+this.endline(oe,ue,de),ue.state=j.None,this.closeNode(oe,ue,de),_e},re.prototype.declaration=function(oe,ue,de){var _e;return this.openNode(oe,ue,de),ue.state=j.OpenTag,_e=this.indent(oe,ue,de)+"<?xml",ue.state=j.InsideTag,_e+=' version="'+oe.version+'"',oe.encoding!=null&&(_e+=' encoding="'+oe.encoding+'"'),oe.standalone!=null&&(_e+=' standalone="'+oe.standalone+'"'),ue.state=j.CloseTag,_e+=ue.spaceBeforeSlash+"?>",_e+=this.endline(oe,ue,de),ue.state=j.None,this.closeNode(oe,ue,de),_e},re.prototype.docType=function(oe,ue,de){var _e,Ne,Ue,$e,Ve;if(de||(de=0),this.openNode(oe,ue,de),ue.state=j.OpenTag,$e=this.indent(oe,ue,de),$e+="<!DOCTYPE "+oe.root().name,oe.pubID&&oe.sysID?$e+=' PUBLIC "'+oe.pubID+'" "'+oe.sysID+'"':oe.sysID&&($e+=' SYSTEM "'+oe.sysID+'"'),oe.children.length>0){for($e+=" [",$e+=this.endline(oe,ue,de),ue.state=j.InsideTag,Ve=oe.children,Ne=0,Ue=Ve.length;Ne<Ue;Ne++)_e=Ve[Ne],$e+=this.writeChildNode(_e,ue,de+1);ue.state=j.CloseTag,$e+="]"}return ue.state=j.CloseTag,$e+=ue.spaceBeforeSlash+">",$e+=this.endline(oe,ue,de),ue.state=j.None,this.closeNode(oe,ue,de),$e},re.prototype.element=function(oe,ue,de){var _e,Ne,Ue,$e,Ve,Fe,qe,er,ir,dr,cr,nr,lr,Et;de||(de=0),dr=!1,cr="",this.openNode(oe,ue,de),ue.state=j.OpenTag,cr+=this.indent(oe,ue,de)+"<"+oe.name,nr=oe.attribs;for(ir in nr)z.call(nr,ir)&&(_e=nr[ir],cr+=this.attribute(_e,ue,de));if(Ue=oe.children.length,$e=Ue===0?null:oe.children[0],Ue===0||oe.children.every(function(ie){return(ie.type===L.Text||ie.type===L.Raw)&&ie.value===""}))ue.allowEmpty?(cr+=">",ue.state=j.CloseTag,cr+="</"+oe.name+">"+this.endline(oe,ue,de)):(ue.state=j.CloseTag,cr+=ue.spaceBeforeSlash+"/>"+this.endline(oe,ue,de));else if(ue.pretty&&Ue===1&&($e.type===L.Text||$e.type===L.Raw)&&$e.value!=null)cr+=">",ue.state=j.InsideTag,ue.suppressPrettyCount++,dr=!0,cr+=this.writeChildNode($e,ue,de+1),ue.suppressPrettyCount--,dr=!1,ue.state=j.CloseTag,cr+="</"+oe.name+">"+this.endline(oe,ue,de);else{if(ue.dontPrettyTextNodes){for(lr=oe.children,Ve=0,qe=lr.length;Ve<qe;Ve++)if(Ne=lr[Ve],(Ne.type===L.Text||Ne.type===L.Raw)&&Ne.value!=null){ue.suppressPrettyCount++,dr=!0;break}}for(cr+=">"+this.endline(oe,ue,de),ue.state=j.InsideTag,Et=oe.children,Fe=0,er=Et.length;Fe<er;Fe++)Ne=Et[Fe],cr+=this.writeChildNode(Ne,ue,de+1);ue.state=j.CloseTag,cr+=this.indent(oe,ue,de)+"</"+oe.name+">",dr&&ue.suppressPrettyCount--,cr+=this.endline(oe,ue,de),ue.state=j.None}return this.closeNode(oe,ue,de),cr},re.prototype.writeChildNode=function(oe,ue,de){switch(oe.type){case L.CData:return this.cdata(oe,ue,de);case L.Comment:return this.comment(oe,ue,de);case L.Element:return this.element(oe,ue,de);case L.Raw:return this.raw(oe,ue,de);case L.Text:return this.text(oe,ue,de);case L.ProcessingInstruction:return this.processingInstruction(oe,ue,de);case L.Dummy:return"";case L.Declaration:return this.declaration(oe,ue,de);case L.DocTyp
`))}k.createHash=function(Ue){return _e(Ue)},k.createHmac=function(Ue,$e){return _e(Ue,$e)},k.createCredentials=function(){Ne("sorry,createCredentials is not implemented yet")},k.createCipher=function(){Ne("sorry,createCipher is not implemented yet")},k.createCipheriv=function(){Ne("sorry,createCipheriv is not implemented yet")},k.createDecipher=function(){Ne("sorry,createDecipher is not implemented yet")},k.createDecipheriv=function(){Ne("sorry,createDecipheriv is not implemented yet")},k.createSign=function(){Ne("sorry,createSign is not implemented yet")},k.createVerify=function(){Ne("sorry,createVerify is not implemented yet")},k.createDiffieHellman=function(){Ne("sorry,createDiffieHellman is not implemented yet")},k.pbkdf2=function(){Ne("sorry,pbkdf2 is not implemented yet")}},{"./md5":535,"./sha":536,"./sha256":537,buffer:103,"core-js/modules/es.array.concat.js":310,"core-js/modules/es.array.fill.js":311,"core-js/modules/es.array.join.js":317,"core-js/modules/es.array.slice.js":319,"core-js/modules/es.object.to-string.js":331,"core-js/modules/es.regexp.to-string.js":341}],534:[function(n,$,k){n("core-js/modules/es.array.fill.js"),n("core-js/modules/es.array.concat.js");var L=n("buffer").Buffer,j=4,V=L.alloc(j);V.fill(0);var z=8;function re(de,_e){if(de.length%j!==0){var Ne=de.length+(j-de.length%j);de=L.concat([de,V],Ne)}for(var Ue=[],$e=_e?de.readInt32BE:de.readInt32LE,Ve=0;Ve<de.length;Ve+=j)Ue.push($e.call(de,Ve));return Ue}function oe(de,_e,Ne){for(var Ue=L.alloc(_e),$e=Ne?Ue.writeInt32BE:Ue.writeInt32LE,Ve=0;Ve<de.length;Ve++)$e.call(Ue,de[Ve],Ve*4,!0);return Ue}function ue(de,_e,Ne,Ue){L.isBuffer(de)||(de=L.from(de));var $e=_e(re(de,Ue),de.length*z);return oe($e,Ne,Ue)}$.exports={hash:ue}},{buffer:103,"core-js/modules/es.array.concat.js":310,"core-js/modules/es.array.fill.js":311}],535:[function(n,$,k){var L=n("./helpers");function j(Ne,Ue){Ne[Ue>>5]|=128<<Ue%32,Ne[(Ue+64>>>9<<4)+14]=Ue;for(var $e=1732584193,Ve=-271733879,Fe=-1732584194,qe=271733878,er=0;er<Ne.length;er+=16){var ir=$e,dr=Ve,cr=Fe,nr=qe;$e=z($e,Ve,Fe,qe,Ne[er+0],7,-680876936),qe=z(qe,$e,Ve,Fe,Ne[er+1],12,-389564586),Fe=z(Fe,qe,$e,Ve,Ne[er+2],17,606105819),Ve=z(Ve,Fe,qe,$e,Ne[er+3],22,-1044525330),$e=z($e,Ve,Fe,qe,Ne[er+4],7,-176418897),qe=z(qe,$e,Ve,Fe,Ne[er+5],12,1200080426),Fe=z(Fe,qe,$e,Ve,Ne[er+6],17,-1473231341),Ve=z(Ve,Fe,qe,$e,Ne[er+7],22,-45705983),$e=z($e,Ve,Fe,qe,Ne[er+8],7,1770035416),qe=z(qe,$e,Ve,Fe,Ne[er+9],12,-1958414417),Fe=z(Fe,qe,$e,Ve,Ne[er+10],17,-42063),Ve=z(Ve,Fe,qe,$e,Ne[er+11],22,-1990404162),$e=z($e,Ve,Fe,qe,Ne[er+12],7,1804603682),qe=z(qe,$e,Ve,Fe,Ne[er+13],12,-40341101),Fe=z(Fe,qe,$e,Ve,Ne[er+14],17,-1502002290),Ve=z(Ve,Fe,qe,$e,Ne[er+15],22,1236535329),$e=re($e,Ve,Fe,qe,Ne[er+1],5,-165796510),qe=re(qe,$e,Ve,Fe,Ne[er+6],9,-1069501632),Fe=re(Fe,qe,$e,Ve,Ne[er+11],14,643717713),Ve=re(Ve,Fe,qe,$e,Ne[er+0],20,-373897302),$e=re($e,Ve,Fe,qe,Ne[er+5],5,-701558691),qe=re(qe,$e,Ve,Fe,Ne[er+10],9,38016083),Fe=re(Fe,qe,$e,Ve,Ne[er+15],14,-660478335),Ve=re(Ve,Fe,qe,$e,Ne[er+4],20,-405537848),$e=re($e,Ve,Fe,qe,Ne[er+9],5,568446438),qe=re(qe,$e,Ve,Fe,Ne[er+14],9,-1019803690),Fe=re(Fe,qe,$e,Ve,Ne[er+3],14,-187363961),Ve=re(Ve,Fe,qe,$e,Ne[er+8],20,1163531501),$e=re($e,Ve,Fe,qe,Ne[er+13],5,-1444681467),qe=re(qe,$e,Ve,Fe,Ne[er+2],9,-51403784),Fe=re(Fe,qe,$e,Ve,Ne[er+7],14,1735328473),Ve=re(Ve,Fe,qe,$e,Ne[er+12],20,-1926607734),$e=oe($e,Ve,Fe,qe,Ne[er+5],4,-378558),qe=oe(qe,$e,Ve,Fe,Ne[er+8],11,-2022574463),Fe=oe(Fe,qe,$e,Ve,Ne[er+11],16,1839030562),Ve=oe(Ve,Fe,qe,$e,Ne[er+14],23,-35309556),$e=oe($e,Ve,Fe,qe,Ne[er+1],4,-1530992060),qe=oe(qe,$e,Ve,Fe,Ne[er+4],11,1272893353),Fe=oe(Fe,qe,$e,Ve,Ne[er+7],16,-155497632),Ve=oe(Ve,Fe,qe,$e,Ne[er+10],23,-1094730640),$e=oe($e,Ve,Fe,qe,Ne[er+13],4,681279174),qe=oe(qe,$e,Ve,Fe,Ne[er+0],11,-358537222),Fe=oe(Fe,qe,$e,Ve,Ne[er+3],16,-722521979),Ve=oe(Ve,Fe,qe,$e,Ne[er+6],23,76029189),$e=oe($e,Ve,Fe,qe,Ne[er+9],4,-640364487),qe=oe(qe,$e,Ve,Fe,Ne[er+12],11,-421815835),Fe=oe(Fe,qe,$e,Ve,Ne[er+15],16,530742520),Ve=oe(Ve,Fe,qe,$e,Ne[er+2],23,-995338651),$e=ue($e,Ve,Fe,qe,Ne[er+0],6,-198630844),qe=ue(qe,$e
`," "],Ne=["{","}","|","\\","^","`"].concat(_e),Ue=["'"].concat(Ne),$e=["%","/","?",";","#"].concat(Ue),Ve=["/","?","#"],Fe=255,qe=/^[+a-z0-9A-Z_-]{0,63}$/,er=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,ir={javascript:!0,"javascript:":!0},dr={javascript:!0,"javascript:":!0},cr={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},nr=n("querystring");function lr(Ce,Ie,jt){if(Ce&&z.isObject(Ce)&&Ce instanceof re)return Ce;var ar=new re;return ar.parse(Ce,Ie,jt),ar}re.prototype.parse=function(Ce,Ie,jt){if(!z.isString(Ce))throw new TypeError("Parameter 'url' must be a string, not "+(0,j.default)(Ce));var ar=Ce.indexOf("?"),ur=ar!==-1&&ar<Ce.indexOf("#")?"?":"#",kt=Ce.split(ur),he=/\\/g;kt[0]=kt[0].replace(he,"/"),Ce=kt.join(ur);var tr=Ce;if(tr=tr.trim(),!jt&&Ce.split("#").length===1){var gr=de.exec(tr);if(gr)return this.path=tr,this.href=tr,this.pathname=gr[1],gr[2]?(this.search=gr[2],Ie?this.query=nr.parse(this.search.substr(1)):this.query=this.search.substr(1)):Ie&&(this.search="",this.query={}),this}var _r=oe.exec(tr);if(_r){_r=_r[0];var yr=_r.toLowerCase();this.protocol=yr,tr=tr.substr(_r.length)}if(jt||_r||tr.match(/^\/\/[^@\/]+@[^@\/]+/)){var xr=tr.substr(0,2)==="//";xr&&!(_r&&dr[_r])&&(tr=tr.substr(2),this.slashes=!0)}if(!dr[_r]&&(xr||_r&&!cr[_r])){for(var Nr=-1,Tr=0;Tr<Ve.length;Tr++){var Sr=tr.indexOf(Ve[Tr]);Sr!==-1&&(Nr===-1||Sr<Nr)&&(Nr=Sr)}var Ar,Fr;Nr===-1?Fr=tr.lastIndexOf("@"):Fr=tr.lastIndexOf("@",Nr),Fr!==-1&&(Ar=tr.slice(0,Fr),tr=tr.slice(Fr+1),this.auth=decodeURIComponent(Ar)),Nr=-1;for(var Tr=0;Tr<$e.length;Tr++){var Sr=tr.indexOf($e[Tr]);Sr!==-1&&(Nr===-1||Sr<Nr)&&(Nr=Sr)}Nr===-1&&(Nr=tr.length),this.host=tr.slice(0,Nr),tr=tr.slice(Nr),this.parseHost(),this.hostname=this.hostname||"";var Gr=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!Gr)for(var Vr=this.hostname.split("."),Tr=0,Dr=Vr.length;Tr<Dr;Tr++){var Ir=Vr[Tr];if(Ir&&!Ir.match(qe)){for(var Br="",Rr=0,Lr=Ir.length;Rr<Lr;Rr++)Ir.charCodeAt(Rr)>127?Br+="x":Br+=Ir[Rr];if(!Br.match(qe)){var $r=Vr.slice(0,Tr),jr=Vr.slice(Tr+1),vn=Ir.match(er);vn&&($r.push(vn[1]),jr.unshift(vn[2])),jr.length&&(tr="/"+jr.join(".")+tr),this.hostname=$r.join(".");break}}}this.hostname.length>Fe?this.hostname="":this.hostname=this.hostname.toLowerCase(),Gr||(this.hostname=V.toASCII(this.hostname));var Kr=this.port?":"+this.port:"",kr=this.hostname||"";this.host=kr+Kr,this.href+=this.host,Gr&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),tr[0]!=="/"&&(tr="/"+tr))}if(!ir[yr])for(var Tr=0,Dr=Ue.length;Tr<Dr;Tr++){var Qr=Ue[Tr];if(tr.indexOf(Qr)!==-1){var Zr=encodeURIComponent(Qr);Zr===Qr&&(Zr=escape(Qr)),tr=tr.split(Qr).join(Zr)}}var Vi=tr.indexOf("#");Vi!==-1&&(this.hash=tr.substr(Vi),tr=tr.slice(0,Vi));var To=tr.indexOf("?");if(To!==-1?(this.search=tr.substr(To),this.query=tr.substr(To+1),Ie&&(this.query=nr.parse(this.query)),tr=tr.slice(0,To)):Ie&&(this.search="",this.query={}),tr&&(this.pathname=tr),cr[yr]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var Kr=this.pathname||"",oa=this.search||"";this.path=Kr+oa}return this.href=this.format(),this};function Et(Ce){return z.isString(Ce)&&(Ce=lr(Ce)),Ce instanceof re?Ce.format():re.prototype.format.call(Ce)}re.prototype.format=function(){var Ce=this.auth||"";Ce&&(Ce=encodeURIComponent(Ce),Ce=Ce.replace(/%3A/i,":"),Ce+="@");var Ie=this.protocol||"",jt=this.pathname||"",ar=this.hash||"",ur=!1,kt="";this.host?ur=Ce+this.host:this.hostname&&(ur=Ce+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(ur+=":"+this.port)),this.query&&z.isObject(this.query)&&Object.keys(this.query).length&&(kt=nr.stringify(this.query));var he=this.search||kt&&"?"+kt||"";return Ie&&Ie.substr(-1)!==":"&&(Ie+=":"),this.slashes||(!Ie||cr[Ie])&&ur!==!1?(ur="//"+(ur||""),jt&&jt.charAt(0)!=="/"&&(jt="/"+jt)):ur||(ur=""),ar&&ar.charAt(0)!=="#"&&(ar="#"+ar),he&&he.charAt(0)!=="?"&&(he="?"+he),jt=jt.replace(/[?#]/g,function(tr){return encodeURIComponent(tr)}),he=he.replace("#","%23"),Ie+ur+jt+he+ar};function ie(Ce,Ie){retur
stack: %s`,Date(),ie,L.pid,Ur.name,Ur.message,Ur.stack);return}var Sa=lr;lr=null;var Li={};Nn&&(Ir=Nn.statusCode,Li=Nn.headers);var ca=Date.now()-Ce;$r&&($r.contentDownload=ca),_e("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",ca,Dr,Ir,tr.method,tr.host,tr.path,Vr,$r);var fo={status:Ir,statusCode:Ir,headers:Li,size:Dr,aborted:Br,rt:ca,keepAliveSocket:Vr,data:Sn,requestUrls:nr.requestUrls,timing:$r,remoteAddress:Rr,remotePort:Lr};if(Ur){var zn="";kt&&typeof kt.getCurrentStatus=="function"&&(zn=", agent status: "+JSON.stringify(kt.getCurrentStatus())),Ur.message+=", "+tr.method+" "+cr+" "+Ir+" (connected: "+Gr+", keepalive socket: "+Vr+zn+`)
headers: `+JSON.stringify(Li),Ur.data=Sn,Ur.path=tr.path,Ur.status=Ir,Ur.headers=Li,Ur.res=fo}Sa(Ur,Sn,nr.streaming?Nn:fo),nr.emitter&&(pe.url=cr,pe.socket=Mn&&Mn.connection,pe.options=tr,pe.size=Nr,nr.emitter.emit("response",{requestId:ie,error:Ur,ctx:nr.ctx,req:pe,res:fo}))}function kr(Ur){var Sn=null;if(nr.followRedirect&&statuses.redirect[Ur.statusCode]){nr._followRedirectCount=(nr._followRedirectCount||0)+1;var Nn=Ur.headers.location;if(!Nn)Sn=new Error("Got statusCode "+Ur.statusCode+" but cannot resolve next location from headers"),Sn.name="FollowRedirectError";else if(nr._followRedirectCount>nr.maxRedirects)Sn=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+cr),Sn.name="MaxRedirectError";else{var Sa=nr.formatRedirectUrl?nr.formatRedirectUrl(cr,Nn):oe.resolve(cr,Nn);_e("Request#%d %s: `redirected` from %s to %s",ie,tr.path,cr,Sa),vn(),nr.headers&&nr.headers.Host&&Ve.test(Nn)&&(nr.headers.Host=null);var Li=lr;return lr=null,k.requestWithCallback(Sa,nr,Li),{redirect:!0,error:null}}}return{redirect:!1,error:Sn}}nr.gzip&&!tr.headers["Accept-Encoding"]&&!tr.headers["accept-encoding"]&&(tr.headers["Accept-Encoding"]="gzip");function Qr(Ur,Sn,Nn){var Sa=Ur.headers["content-encoding"];return Nn(null,Sn,Sa)}var Zr=nr.writeStream;_e("Request#%d %s %s with headers %j, options.path: %s",ie,jt,cr,tr.headers,tr.path),nr.requestUrls.push(cr);function Vi(Ur){if($r&&($r.waiting=Date.now()-Ce),_e("Request#%d %s `req response` event emit: status %d, headers: %j",ie,cr,Ur.statusCode,Ur.headers),nr.streaming){var Sn=kr(Ur);if(Sn.redirect){Ur.resume();return}return Sn.error?(Ur.resume(),Kr(Sn.error,null,Ur)):Kr(null,null,Ur)}if(Ur.on("close",function(){_e("Request#%d %s: `res close` event emit, total size %d",ie,cr,Dr)}),Ur.on("error",function(){_e("Request#%d %s: `res error` event emit, total size %d",ie,cr,Dr)}),Ur.on("aborted",function(){Br=!0,_e("Request#%d %s: `res aborted` event emit, total size %d",ie,cr,Dr)}),Zr){var Nn=kr(Ur);if(Nn.redirect){Ur.resume();return}return Nn.error?(Ur.resume(),Zr.end(),Kr(Nn.error,null,Ur)):(nr.consumeWriteStream===!1?Ur.on("end",Kr.bind(null,null,null,Ur)):Zr.on("close",function(){_e("Request#%d %s: writeStream close event emitted",ie,cr),Kr(Fr||null,null,Ur)}),Ur.pipe(Zr))}var Sa=[];Ur.on("data",function(Li){_e("Request#%d %s: `res data` event emit, size %d",ie,cr,Li.length),Dr+=Li.length,Sa.push(Li)}),Ur.on("end",function(){var Li=j.concat(Sa,Dr);if(_e("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",ie,cr,Dr,Ur._dumped),Fr)return Kr(Fr,Li,Ur);var ca=kr(Ur);if(ca.error)return Kr(ca.error,Li,Ur);ca.redirect||Qr(Ur,Li,function(fo,zn,ki){if(fo)return Kr(fo,Li,Ur);if(!ki&&ir.indexOf(nr.dataType)>=0){try{zn=decodeBodyByCharset(zn,Ur)}catch(_o){return _e("decodeBodyByCharset error: %s",_o),Kr(null,zn,Ur)}if(nr.dataType==="json")if(Dr===0)zn=null;else{var Ra=parseJSON(zn,he);Ra.error?fo=Ra.error:zn=Ra.data}}Br&&_e("Request#%d %s: Remote socket was terminated before `response.end()` was called",ie,cr),Kr(fo,zn,Ur)})})}var To,oa;Array.isArray(nr.timeout)?(To=Ne(nr.timeout[0]),oa=Ne(nr.timeout[1])):To=oa=Ne(nr.timeout),_e("ConnectTimeout: %d, ResponseTimeout: %d",To,oa);function Ba(){_e("Connect timer ticking, timeout: %d",To),Sr=setTimeout(function(){Sr=null,Ir===-1&&(Ir=-2);var Ur="Connect timeout for "+To+"ms",Sn="ConnectionTimeoutError";Mn.socket||(Sn="SocketAssignTimeoutError",Ur+=", working sockets is full"),Fr=new Error(Ur),Fr.name=Sn,Fr.requestId=ie,_e("ConnectTimeout: Request#%d %s %s: %s, connected: %s",ie,cr,Fr.name,Ur,Gr),Wr()},To)}function rs(){_e("Response timer ticking, timeout: %d",oa),Ar=setTimeout(function(){Ar=null;var Ur="Response timeout for "+oa+"ms",Sn="ResponseTimeoutError";Fr=new Error(Ur),Fr.name=Sn,Fr.requestId=ie,_e("ResponseTimeout: Request#%d %s %s: %s, connected: %s",ie,cr,Fr.name,Ur,Gr),Wr()},oa)}var Mn;tr.mode=nr.mode?nr.mode:"";try{Mn=ur.request(tr,Vi)}catch(Ur){return Kr(Ur)}typeof window>"u"?Ba():Mn.on("requestTimeout",function(){Ir===-1&&(Ir=-2);var Ur="Connect timeout for "+To+"ms",Sn="ConnectionTimeoutError";Fr=new Error(Ur),Fr
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/(function(e){var t=base64Js,y=ieee754,n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=j,e.SlowBuffer=Ve,e.INSPECT_MAX_BYTES=50;var $=2147483647;e.kMaxLength=$,j.TYPED_ARRAY_SUPPORT=k(),!j.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 k(){try{var Rr=new Uint8Array(1),Lr={foo:function(){return 42}};return Object.setPrototypeOf(Lr,Uint8Array.prototype),Object.setPrototypeOf(Rr,Lr),Rr.foo()===42}catch{return!1}}Object.defineProperty(j.prototype,"parent",{enumerable:!0,get:function(){if(j.isBuffer(this))return this.buffer}}),Object.defineProperty(j.prototype,"offset",{enumerable:!0,get:function(){if(j.isBuffer(this))return this.byteOffset}});function L(Rr){if(Rr>$)throw new RangeError('The value "'+Rr+'" is invalid for option "size"');var Lr=new Uint8Array(Rr);return Object.setPrototypeOf(Lr,j.prototype),Lr}function j(Rr,Lr,$r){if(typeof Rr=="number"){if(typeof Lr=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return oe(Rr)}return V(Rr,Lr,$r)}j.poolSize=8192;function V(Rr,Lr,$r){if(typeof Rr=="string")return ue(Rr,Lr);if(ArrayBuffer.isView(Rr))return _e(Rr);if(Rr==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Rr);if(Dr(Rr,ArrayBuffer)||Rr&&Dr(Rr.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Dr(Rr,SharedArrayBuffer)||Rr&&Dr(Rr.buffer,SharedArrayBuffer)))return Ne(Rr,Lr,$r);if(typeof Rr=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var jr=Rr.valueOf&&Rr.valueOf();if(jr!=null&&jr!==Rr)return j.from(jr,Lr,$r);var vn=Ue(Rr);if(vn)return vn;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Rr[Symbol.toPrimitive]=="function")return j.from(Rr[Symbol.toPrimitive]("string"),Lr,$r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Rr)}j.from=function(Rr,Lr,$r){return V(Rr,Lr,$r)},Object.setPrototypeOf(j.prototype,Uint8Array.prototype),Object.setPrototypeOf(j,Uint8Array);function z(Rr){if(typeof Rr!="number")throw new TypeError('"size" argument must be of type number');if(Rr<0)throw new RangeError('The value "'+Rr+'" is invalid for option "size"')}function re(Rr,Lr,$r){return z(Rr),Rr<=0?L(Rr):Lr!==void 0?typeof $r=="string"?L(Rr).fill(Lr,$r):L(Rr).fill(Lr):L(Rr)}j.alloc=function(Rr,Lr,$r){return re(Rr,Lr,$r)};function oe(Rr){return z(Rr),L(Rr<0?0:$e(Rr)|0)}j.allocUnsafe=function(Rr){return oe(Rr)},j.allocUnsafeSlow=function(Rr){return oe(Rr)};function ue(Rr,Lr){if((typeof Lr!="string"||Lr==="")&&(Lr="utf8"),!j.isEncoding(Lr))throw new TypeError("Unknown encoding: "+Lr);var $r=Fe(Rr,Lr)|0,jr=L($r),vn=jr.write(Rr,Lr);return vn!==$r&&(jr=jr.slice(0,vn)),jr}function de(Rr){for(var Lr=Rr.length<0?0:$e(Rr.length)|0,$r=L(Lr),jr=0;jr<Lr;jr+=1)$r[jr]=Rr[jr]&255;return $r}function _e(Rr){if(Dr(Rr,Uint8Array)){var Lr=new Uint8Array(Rr);return Ne(Lr.buffer,Lr.byteOffset,Lr.byteLength)}return de(Rr)}function Ne(Rr,Lr,$r){if(Lr<0||Rr.byteLength<Lr)throw new RangeError('"offset" is outside of buffer bounds');if(Rr.byteLength<Lr+($r||0))throw new RangeError('"length" is outside of buffer bounds');var jr;return Lr===void 0&&$r===void 0?jr=new Uint8Array(Rr):$r===void 0?jr=new Uint8Array(Rr,Lr):jr=new Uint8Array(Rr,Lr,$r),Object.setPrototypeOf(jr,j.prototype),jr}function Ue(Rr){if(j.isBuffer(Rr)){var Lr=$e(Rr.length)|0,$r=L(Lr);return $r.length===0||Rr.copy($r,0,0,Lr),$r}if(Rr.length!==void 0)return typeof Rr.length!="number"||Ir(Rr.length)?L(0):de(Rr);if(Rr.type==="Buffer"&&Array.isArray(Rr.data))return de(Rr.data)}function $e(Rr){if(Rr>=$)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+$.toString(16)+" bytes");return Rr|0}function Ve(Rr){return+Rr!=Rr&&(
`)>-1&&(Ar?Gr=Gr.split(`
`).map(function(Dr){return" "+Dr}).join(`
`).slice(2):Gr=`
`+Gr.split(`
`).map(function(Dr){return" "+Dr}).join(`
`))):Gr=yr.stylize("[Circular]","special")),nr(Fr)){if(Ar&&Sr.match(/^\d+$/))return Gr;Fr=JSON.stringify(""+Sr),Fr.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Fr=Fr.slice(1,-1),Fr=yr.stylize(Fr,"name")):(Fr=Fr.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Fr=yr.stylize(Fr,"string"))}return Fr+": "+Gr}function $e(yr,xr,Nr){var Tr=yr.reduce(function(Sr,Ar){return Ar.indexOf(`
`)>=0,Sr+Ar.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Tr>60?Nr[0]+(xr===""?"":xr+`
`)+" "+yr.join(`,
`)+" "+Nr[1]:Nr[0]+xr+" "+yr.join(", ")+" "+Nr[1]}e.types=types;function Ve(yr){return Array.isArray(yr)}e.isArray=Ve;function Fe(yr){return typeof yr=="boolean"}e.isBoolean=Fe;function qe(yr){return yr===null}e.isNull=qe;function er(yr){return yr==null}e.isNullOrUndefined=er;function ir(yr){return typeof yr=="number"}e.isNumber=ir;function dr(yr){return typeof yr=="string"}e.isString=dr;function cr(yr){return typeof yr=="symbol"}e.isSymbol=cr;function nr(yr){return yr===void 0}e.isUndefined=nr;function lr(yr){return Et(yr)&&jt(yr)==="[object RegExp]"}e.isRegExp=lr,e.types.isRegExp=lr;function Et(yr){return typeof yr=="object"&&yr!==null}e.isObject=Et;function ie(yr){return Et(yr)&&jt(yr)==="[object Date]"}e.isDate=ie,e.types.isDate=ie;function pe(yr){return Et(yr)&&(jt(yr)==="[object Error]"||yr instanceof Error)}e.isError=pe,e.types.isNativeError=pe;function Ce(yr){return typeof yr=="function"}e.isFunction=Ce;function Ie(yr){return yr===null||typeof yr=="boolean"||typeof yr=="number"||typeof yr=="string"||typeof yr=="symbol"||typeof yr>"u"}e.isPrimitive=Ie,e.isBuffer=isBufferBrowser;function jt(yr){return Object.prototype.toString.call(yr)}function ar(yr){return yr<10?"0"+yr.toString(10):yr.toString(10)}var ur=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function kt(){var yr=new Date,xr=[ar(yr.getHours()),ar(yr.getMinutes()),ar(yr.getSeconds())].join(":");return[yr.getDate(),ur[yr.getMonth()],xr].join(" ")}e.log=function(){console.log("%s - %s",kt(),e.format.apply(e,arguments))},e.inherits=inherits_browserExports,e._extend=function(yr,xr){if(!xr||!Et(xr))return yr;for(var Nr=Object.keys(xr),Tr=Nr.length;Tr--;)yr[Nr[Tr]]=xr[Nr[Tr]];return yr};function he(yr,xr){return Object.prototype.hasOwnProperty.call(yr,xr)}var tr=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;e.promisify=function(xr){if(typeof xr!="function")throw new TypeError('The "original" argument must be of type Function');if(tr&&xr[tr]){var Nr=xr[tr];if(typeof Nr!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Nr,tr,{value:Nr,enumerable:!1,writable:!1,configurable:!0}),Nr}function Nr(){for(var Tr,Sr,Ar=new Promise(function(Vr,Dr){Tr=Vr,Sr=Dr}),Fr=[],Gr=0;Gr<arguments.length;Gr++)Fr.push(arguments[Gr]);Fr.push(function(Vr,Dr){Vr?Sr(Vr):Tr(Dr)});try{xr.apply(this,Fr)}catch(Vr){Sr(Vr)}return Ar}return Object.setPrototypeOf(Nr,Object.getPrototypeOf(xr)),tr&&Object.defineProperty(Nr,tr,{value:Nr,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(Nr,n(xr))},e.promisify.custom=tr;function gr(yr,xr){if(!yr){var Nr=new Error("Promise was rejected with a falsy value");Nr.reason=yr,yr=Nr}return xr(yr)}function _r(yr){if(typeof yr!="function")throw new TypeError('The "original" argument must be of type Function');function xr(){for(var Nr=[],Tr=0;Tr<arguments.length;Tr++)Nr.push(arguments[Tr]);var Sr=Nr.pop();if(typeof Sr!="function")throw new TypeError("The last argument must be of type Function");var Ar=this,Fr=function(){return Sr.apply(Ar,arguments)};yr.apply(this,Nr).then(function(Gr){t.nextTick(Fr.bind(null,null,Gr))},function(Gr){t.nextTick(gr.bind(null,Gr,Fr))})}return Object.setPrototypeOf(xr,Object.getPrototypeOf(yr)),Object.defineProperties(xr,n(yr)),xr}e.callbackify=_r})(util$8);var buffer_list,hasRequiredBuffer_list;function requireBuffer_list(){if(hasRequiredBuffer_list)return buffer_list;hasRequiredBuffer_list=1;function e(_e,Ne){var Ue=Object.keys(_e);if(Object.getOwnPropertySymbols){var $e=Object.getOwnPropertySymbols(_e);Ne&&($e=$e.filter(function(Ve){return Object.getOwnPropertyDescriptor(_e,Ve).enumerable})),Ue.push.apply(Ue,$e)}return Ue}function t(_e){for(var Ne=1;Ne<arguments.length;Ne++){var Ue=arguments[Ne]!=null?arguments[Ne]:{};Ne%2?e(Object(Ue),!0).forEach(function($e){y(_e,$e,Ue[$e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_e,Object.getOwnPropertyDescriptors(Ue)):e(Object(Ue)).forEach(function($e){Object.defineProperty(_e,$e,Object.getOwnPropertyDescriptor(Ue,$e))})}return _e}function y(_e
`:"")),y&&y()}function k(L){return L.interrupt?(L.interrupt.append=e,L.interrupt.end=$,L.interrupt=!1,e(!0),!0):!1}if(e(!1,t.indents+(t.name?"<"+t.name:"")+(t.attributes.length?" "+t.attributes.join(" "):"")+(n?t.name?">":"":t.name?"/>":"")+(t.indent&&n>1?`
`:"")),!n)return e(!1,t.indent?`
`:"");k(t)||$()}function attribute(e,t){return e+'="'+escapeForXML(t)+'"'}xml$2.exports=xml$1;xml$2.exports.element=xml$2.exports.Element=element;var xmlExports=xml$2.exports,xml2js={},defaults$1={},hasRequiredDefaults;function requireDefaults(){return hasRequiredDefaults||(hasRequiredDefaults=1,(function(){defaults$1.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$1}var builder={},lib$2={},Utility={},hasRequiredUtility;function requireUtility(){return hasRequiredUtility||(hasRequiredUtility=1,(function(){var e,t,y,n,$,k,L,j=[].slice,V={}.hasOwnProperty;e=function(){var z,re,oe,ue,de,_e;if(_e=arguments[0],de=2<=arguments.length?j.call(arguments,1):[],$(Object.assign))Object.assign.apply(null,arguments);else for(z=0,oe=de.length;z<oe;z++)if(ue=de[z],ue!=null)for(re in ue)V.call(ue,re)&&(_e[re]=ue[re]);return _e},$=function(z){return!!z&&Object.prototype.toString.call(z)==="[object Function]"},k=function(z){var re;return!!z&&((re=typeof z)=="function"||re==="object")},y=function(z){return $(Array.isArray)?Array.isArray(z):Object.prototype.toString.call(z)==="[object Array]"},n=function(z){var re;if(y(z))return!z.length;for(re in z)if(V.call(z,re))return!1;return!0},L=function(z){var re,oe;return k(z)&&(oe=Object.getPrototypeOf(z))&&(re=oe.constructor)&&typeof re=="function"&&re instanceof re&&Function.prototype.toString.call(re)===Function.prototype.toString.call(Object)},t=function(z){return $(z.valueOf)?z.valueOf():z},Utility.assign=e,Utility.isFunction=$,Utility.isObject=k,Utility.isArray=y,Utility.isEmpty=n,Utility.isPlainObject=L,Utility.getValue=t}).call(commonjsGlobal)),Utility}var XMLDOMImplementation={exports:{}},hasRequiredXMLDOMImplementation;function requireXMLDOMImplementation(){return hasRequiredXMLDOMImplementation||(hasRequiredXMLDOMImplementation=1,(function(){XMLDOMImplementation.exports=function(){function e(){}return e.prototype.hasFeature=function(t,y){return!0},e.prototype.createDocumentType=function(t,y,n){throw new Error("This DOM method is not implemented.")},e.prototype.createDocument=function(t,y,n){throw new Error("This DOM method is not implemented.")},e.prototype.createHTMLDocument=function(t){throw new Error("This DOM method is not implemented.")},e.prototype.getFeature=function(t,y){throw new Error("This DOM method is not implemented.")},e}()}).call(commonjsGlobal)),XMLDOMImplementation.exports}var XMLDocument={exports:{}},XMLDOMConfiguration={exports:{}},XMLDOMErrorHandler={exports:{}},hasRequiredXMLDOMErrorHandler;function requireXMLDOMErrorHandler(){return hasRequiredXMLDOMErrorHandler||(hasRequiredXMLDOMErrorHandler=1,(function(){XMLDOMErrorHandler.exports=function(){function e(){}return e.prototype.handleError=function(t){throw new Error(t)},e}()}).call(commonjsGlobal)),XMLDOMErrorHandler.exports}var XMLDOMStringList={exports:{}},hasRequiredXMLDOMStringList;function requireXMLDOMStringList(){return hasRequiredXMLDOMStringList||(hasRequiredXMLDOMStringList=1,(function(){XMLDOMStringList.exports=function(){function e(t){this.arr=t||[]}return Object.defineProperty(e.prototype,"length",{get:function(){return this.arr.length}}),e.prototype.item=function(t){return this.arr[t]||null},e.prototype.contains=function(t){return this.arr.indexOf(t)!==-1},e}()}).call(commonjsGlobal)),XMLDOMStringList.exports}var hasRequiredXMLDOMConfiguration;function requireXMLDOMConfiguration(){return hasRequiredXMLDOMConfiguration||(hasRequiredXMLDOMConfiguration=1,(function(){var e,t;e=requireXMLDOMErrorHandler(),t=requireXMLDOMStringList(),XMLDOMConfiguration.exports=function(){function y(){this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new e,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(y.prototype,"parameterNames",{get:function(){return new t(Object.keys(this.defaultParams))}}),y.prototype.getParameter=function(n){return this.params.hasOwnProperty(n)?this.params[n]:null},y.prototype.canSetParameter=function(n,$){return!0},y.prototype.setParameter=function(n,$){return $!=null?this.params[n]=$:delete this.params[n]},y}()}).call(commonjsGlobal)),XMLDOMConfi
`,L.offset=(z=k.offset)!=null?z:0,L.dontPrettyTextNodes=(re=(oe=k.dontPrettyTextNodes)!=null?oe:k.dontprettytextnodes)!=null?re:0,L.spaceBeforeSlash=(ue=(de=k.spaceBeforeSlash)!=null?de:k.spacebeforeslash)!=null?ue:"",L.spaceBeforeSlash===!0&&(L.spaceBeforeSlash=" "),L.suppressPrettyCount=0,L.user={},L.state=t.None,L},$.prototype.indent=function(k,L,j){var V;return!L.pretty||L.suppressPrettyCount?"":L.pretty&&(V=(j||0)+L.offset+1,V>0)?new Array(V).join(L.indent):""},$.prototype.endline=function(k,L,j){return!L.pretty||L.suppressPrettyCount?"":L.newline},$.prototype.attribute=function(k,L,j){var V;return this.openAttribute(k,L,j),V=" "+k.name+'="'+k.value+'"',this.closeAttribute(k,L,j),V},$.prototype.cdata=function(k,L,j){var V;return this.openNode(k,L,j),L.state=t.OpenTag,V=this.indent(k,L,j)+"<![CDATA[",L.state=t.InsideTag,V+=k.value,L.state=t.CloseTag,V+="]]>"+this.endline(k,L,j),L.state=t.None,this.closeNode(k,L,j),V},$.prototype.comment=function(k,L,j){var V;return this.openNode(k,L,j),L.state=t.OpenTag,V=this.indent(k,L,j)+"<!-- ",L.state=t.InsideTag,V+=k.value,L.state=t.CloseTag,V+=" -->"+this.endline(k,L,j),L.state=t.None,this.closeNode(k,L,j),V},$.prototype.declaration=function(k,L,j){var V;return this.openNode(k,L,j),L.state=t.OpenTag,V=this.indent(k,L,j)+"<?xml",L.state=t.InsideTag,V+=' version="'+k.version+'"',k.encoding!=null&&(V+=' encoding="'+k.encoding+'"'),k.standalone!=null&&(V+=' standalone="'+k.standalone+'"'),L.state=t.CloseTag,V+=L.spaceBeforeSlash+"?>",V+=this.endline(k,L,j),L.state=t.None,this.closeNode(k,L,j),V},$.prototype.docType=function(k,L,j){var V,z,re,oe,ue;if(j||(j=0),this.openNode(k,L,j),L.state=t.OpenTag,oe=this.indent(k,L,j),oe+="<!DOCTYPE "+k.root().name,k.pubID&&k.sysID?oe+=' PUBLIC "'+k.pubID+'" "'+k.sysID+'"':k.sysID&&(oe+=' SYSTEM "'+k.sysID+'"'),k.children.length>0){for(oe+=" [",oe+=this.endline(k,L,j),L.state=t.InsideTag,ue=k.children,z=0,re=ue.length;z<re;z++)V=ue[z],oe+=this.writeChildNode(V,L,j+1);L.state=t.CloseTag,oe+="]"}return L.state=t.CloseTag,oe+=L.spaceBeforeSlash+">",oe+=this.endline(k,L,j),L.state=t.None,this.closeNode(k,L,j),oe},$.prototype.element=function(k,L,j){var V,z,re,oe,ue,de,_e,Ne,Ue,$e,Ve,Fe,qe,er;j||(j=0),$e=!1,Ve="",this.openNode(k,L,j),L.state=t.OpenTag,Ve+=this.indent(k,L,j)+"<"+k.name,Fe=k.attribs;for(Ue in Fe)n.call(Fe,Ue)&&(V=Fe[Ue],Ve+=this.attribute(V,L,j));if(re=k.children.length,oe=re===0?null:k.children[0],re===0||k.children.every(function(ir){return(ir.type===e.Text||ir.type===e.Raw)&&ir.value===""}))L.allowEmpty?(Ve+=">",L.state=t.CloseTag,Ve+="</"+k.name+">"+this.endline(k,L,j)):(L.state=t.CloseTag,Ve+=L.spaceBeforeSlash+"/>"+this.endline(k,L,j));else if(L.pretty&&re===1&&(oe.type===e.Text||oe.type===e.Raw)&&oe.value!=null)Ve+=">",L.state=t.InsideTag,L.suppressPrettyCount++,$e=!0,Ve+=this.writeChildNode(oe,L,j+1),L.suppressPrettyCount--,$e=!1,L.state=t.CloseTag,Ve+="</"+k.name+">"+this.endline(k,L,j);else{if(L.dontPrettyTextNodes){for(qe=k.children,ue=0,_e=qe.length;ue<_e;ue++)if(z=qe[ue],(z.type===e.Text||z.type===e.Raw)&&z.value!=null){L.suppressPrettyCount++,$e=!0;break}}for(Ve+=">"+this.endline(k,L,j),L.state=t.InsideTag,er=k.children,de=0,Ne=er.length;de<Ne;de++)z=er[de],Ve+=this.writeChildNode(z,L,j+1);L.state=t.CloseTag,Ve+=this.indent(k,L,j)+"</"+k.name+">",$e&&L.suppressPrettyCount--,Ve+=this.endline(k,L,j),L.state=t.None}return this.closeNode(k,L,j),Ve},$.prototype.writeChildNode=function(k,L,j){switch(k.type){case e.CData:return this.cdata(k,L,j);case e.Comment:return this.comment(k,L,j);case e.Element:return this.element(k,L,j);case e.Raw:return this.raw(k,L,j);case e.Text:return this.text(k,L,j);case e.ProcessingInstruction:return this.processingInstruction(k,L,j);case e.Dummy:return"";case e.Declaration:return this.declaration(k,L,j);case e.DocType:return this.docType(k,L,j);case e.AttributeDeclaration:return this.dtdAttList(k,L,j);case e.ElementDeclaration:return this.dtdElement(k,L,j);case e.EntityDeclaration:return this.dtdEntity(k,L,j);case e.NotationDeclaration:return this.dtdNotation(k,L,j);default:throw new Error("Unkno
`||Tr==="\r"||Tr===" "}function er(Tr){return Tr==='"'||Tr==="'"}function ir(Tr){return Tr===">"||qe(Tr)}function dr(Tr,Sr){return Tr.test(Sr)}function cr(Tr,Sr){return!dr(Tr,Sr)}var nr=0;t.STATE={BEGIN:nr++,BEGIN_WHITESPACE:nr++,TEXT:nr++,TEXT_ENTITY:nr++,OPEN_WAKA:nr++,SGML_DECL:nr++,SGML_DECL_QUOTED:nr++,DOCTYPE:nr++,DOCTYPE_QUOTED:nr++,DOCTYPE_DTD:nr++,DOCTYPE_DTD_QUOTED:nr++,COMMENT_STARTING:nr++,COMMENT:nr++,COMMENT_ENDING:nr++,COMMENT_ENDED:nr++,CDATA:nr++,CDATA_ENDING:nr++,CDATA_ENDING_2:nr++,PROC_INST:nr++,PROC_INST_BODY:nr++,PROC_INST_ENDING:nr++,OPEN_TAG:nr++,OPEN_TAG_SLASH:nr++,ATTRIB:nr++,ATTRIB_NAME:nr++,ATTRIB_NAME_SAW_WHITE:nr++,ATTRIB_VALUE:nr++,ATTRIB_VALUE_QUOTED:nr++,ATTRIB_VALUE_CLOSED:nr++,ATTRIB_VALUE_UNQUOTED:nr++,ATTRIB_VALUE_ENTITY_Q:nr++,ATTRIB_VALUE_ENTITY_U:nr++,CLOSE_TAG:nr++,CLOSE_TAG_SAW_WHITE:nr++,SCRIPT:nr++,SCRIPT_ENDING:nr++},t.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},t.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(t.ENTITIES).forEach(function(Tr){var Sr=t.ENTITIES[Tr],Ar=typeof Sr=="number"?String.fromCharCode(Sr):Sr;t.ENTITIES[Tr]=Ar});for(var lr in t.STATE)t.STATE[t.STATE[lr]]=lr;nr=t.STATE;function Et(Tr,Sr,Ar){Tr[Sr]&&Tr[Sr](Ar)}function ie(Tr,Sr,Ar){Tr.textNode&&pe(Tr),Et(Tr,Sr,Ar)}function pe(Tr){Tr.textNode=Ce(Tr.opt,Tr.textNode),Tr.textNode&&Et(Tr,"ontext",Tr.textNode),Tr.textNode=""}function Ce(Tr,Sr){return Tr.trim&&(Sr=Sr.trim()),Tr.normalize&&(Sr=Sr.replace(/\s+/g," ")),Sr}function Ie(Tr,Sr){return pe(Tr),Tr.trackPosition&&(Sr+=`
Line: `+Tr.line+`
Column: `+Tr.column+`
Char: `+Tr.c),Sr=new Error(Sr),Tr.error=Sr,Et(Tr,"onerror",Sr),Tr}function jt(Tr){return Tr.sawRoot&&!Tr.closedRoot&&ar(Tr,"Unclosed root tag"),Tr.state!==nr.BEGIN&&Tr.state!==nr.BEGIN_WHITESPACE&&Tr.state!==nr.TEXT&&Ie(Tr,"Unexpected end"),pe(Tr),Tr.c="",Tr.closed=!0,Et(Tr,"onend"),n.call(Tr,Tr.strict,Tr.opt),Tr}function ar(Tr,Sr){if(typeof Tr!="object"||!(Tr instanceof n))throw new Error("bad call to strictFail");Tr.strict&&Ie(Tr,Sr)}function ur(Tr){Tr.strict||(Tr.tagName=Tr.tagName[Tr.looseCase]());var Sr=Tr.tags[Tr.tags.length-1]||Tr,Ar=Tr.tag={name:Tr.tagName,attributes:{}};Tr.opt.xmlns&&(Ar.ns=Sr.ns),Tr.attribList.length=0,ie(Tr,"onopentagstart",Ar)}function kt(Tr,Sr){var Ar=Tr.indexOf(":"),Fr=Ar<0?["",Tr]:Tr.split(":"),Gr=Fr[0],Vr=Fr[1];return Sr&&Tr==="xmlns"&&(Gr="xmlns",Vr=""),{prefix:Gr,local:Vr}}function he(Tr){if(Tr.strict||(Tr.attribName=Tr.attribName[Tr.looseCase]()),Tr.attribList.indexOf(Tr.attribName)!==-1||Tr.tag.attributes.hasOwnProperty(Tr.attribName)){Tr.attribName=Tr.attribValue="";return}if(Tr.opt.xmlns){var Sr=kt(Tr.attribName,!0),Ar=Sr.prefix,Fr=Sr.local;if(Ar==="xmlns")if(Fr==="xml"&&Tr.attribValue!==de)ar(Tr,"xml: prefix must be bound to "+de+`
Actual: `+Tr.attribValue);else if(Fr==="xmlns"&&Tr.attribValue!==_e)ar(Tr,"xmlns: prefix must be bound to "+_e+`
Actual: `+Tr.attribValue);else{var Gr=Tr.tag,Vr=Tr.tags[Tr.tags.length-1]||Tr;Gr.ns===Vr.ns&&(Gr.ns=Object.create(Vr.ns)),Gr.ns[Fr]=Tr.attribValue}Tr.attribList.push([Tr.attribName,Tr.attribValue])}else Tr.tag.attributes[Tr.attribName]=Tr.attribValue,ie(Tr,"onattribute",{name:Tr.attribName,value:Tr.attribValue});Tr.attribName=Tr.attribValue=""}function tr(Tr,Sr){if(Tr.opt.xmlns){var Ar=Tr.tag,Fr=kt(Tr.tagName);Ar.prefix=Fr.prefix,Ar.local=Fr.local,Ar.uri=Ar.ns[Fr.prefix]||"",Ar.prefix&&!Ar.uri&&(ar(Tr,"Unbound namespace prefix: "+JSON.stringify(Tr.tagName)),Ar.uri=Fr.prefix);var Gr=Tr.tags[Tr.tags.length-1]||Tr;Ar.ns&&Gr.ns!==Ar.ns&&Object.keys(Ar.ns).forEach(function(kr){ie(Tr,"onopennamespace",{prefix:kr,uri:Ar.ns[kr]})});for(var Vr=0,Dr=Tr.attribList.length;Vr<Dr;Vr++){var Ir=Tr.attribList[Vr],Br=Ir[0],Rr=Ir[1],Lr=kt(Br,!0),$r=Lr.prefix,jr=Lr.local,vn=$r===""?"":Ar.ns[$r]||"",Kr={name:Br,value:Rr,prefix:$r,local:jr,uri:vn};$r&&$r!=="xmlns"&&!vn&&(ar(Tr,"Unbound namespace prefix: "+JSON.stringify($r)),Kr.uri=$r),Tr.tag.attributes[Br]=Kr,ie(Tr,"onattribute",Kr)}Tr.attribList.length=0}Tr.tag.isSelfClosing=!!Sr,Tr.sawRoot=!0,Tr.tags.push(Tr.tag),ie(Tr,"onopentag",Tr.tag),Sr||(!Tr.noscript&&Tr.tagName.toLowerCase()==="script"?Tr.state=nr.SCRIPT:Tr.state=nr.TEXT,Tr.tag=null,Tr.tagName=""),Tr.attribName=Tr.attribValue="",Tr.attribList.length=0}function gr(Tr){if(!Tr.tagName){ar(Tr,"Weird empty close tag."),Tr.textNode+="</>",Tr.state=nr.TEXT;return}if(Tr.script){if(Tr.tagName!=="script"){Tr.script+="</"+Tr.tagName+">",Tr.tagName="",Tr.state=nr.SCRIPT;return}ie(Tr,"onscript",Tr.script),Tr.script=""}var Sr=Tr.tags.length,Ar=Tr.tagName;Tr.strict||(Ar=Ar[Tr.looseCase]());for(var Fr=Ar;Sr--;){var Gr=Tr.tags[Sr];if(Gr.name!==Fr)ar(Tr,"Unexpected close tag");else break}if(Sr<0){ar(Tr,"Unmatched closing tag: "+Tr.tagName),Tr.textNode+="</"+Tr.tagName+">",Tr.state=nr.TEXT;return}Tr.tagName=Ar;for(var Vr=Tr.tags.length;Vr-- >Sr;){var Dr=Tr.tag=Tr.tags.pop();Tr.tagName=Tr.tag.name,ie(Tr,"onclosetag",Tr.tagName);var Ir={};for(var Br in Dr.ns)Ir[Br]=Dr.ns[Br];var Rr=Tr.tags[Tr.tags.length-1]||Tr;Tr.opt.xmlns&&Dr.ns!==Rr.ns&&Object.keys(Dr.ns).forEach(function(Lr){var $r=Dr.ns[Lr];ie(Tr,"onclosenamespace",{prefix:Lr,uri:$r})})}Sr===0&&(Tr.closedRoot=!0),Tr.tagName=Tr.attribValue=Tr.attribName="",Tr.attribList.length=0,Tr.state=nr.TEXT}function _r(Tr){var Sr=Tr.entity,Ar=Sr.toLowerCase(),Fr,Gr="";return Tr.ENTITIES[Sr]?Tr.ENTITIES[Sr]:Tr.ENTITIES[Ar]?Tr.ENTITIES[Ar]:(Sr=Ar,Sr.charAt(0)==="#"&&(Sr.charAt(1)==="x"?(Sr=Sr.slice(2),Fr=parseInt(Sr,16),Gr=Fr.toString(16)):(Sr=Sr.slice(1),Fr=parseInt(Sr,10),Gr=Fr.toString(10))),Sr=Sr.replace(/^0+/,""),isNaN(Fr)||Gr.toLowerCase()!==Sr?(ar(Tr,"Invalid character entity"),"&"+Tr.entity+";"):String.fromCodePoint(Fr))}function yr(Tr,Sr){Sr==="<"?(Tr.state=nr.OPEN_WAKA,Tr.startTagPosition=Tr.position):qe(Sr)||(ar(Tr,"Non-whitespace before first tag."),Tr.textNode=Sr,Tr.state=nr.TEXT)}function xr(Tr,Sr){var Ar="";return Sr<Tr.length&&(Ar=Tr.charAt(Sr)),Ar}function Nr(Tr){var Sr=this;if(this.error)throw this.error;if(Sr.closed)return Ie(Sr,"Cannot write after close. Assign an onready handler.");if(Tr===null)return jt(Sr);typeof Tr=="object"&&(Tr=Tr.toString());for(var Ar=0,Fr="";Fr=xr(Tr,Ar++),Sr.c=Fr,!!Fr;)switch(Sr.trackPosition&&(Sr.position++,Fr===`
`?(Sr.line++,Sr.column=0):Sr.column++),Sr.state){case nr.BEGIN:if(Sr.state=nr.BEGIN_WHITESPACE,Fr==="\uFEFF")continue;yr(Sr,Fr);continue;case nr.BEGIN_WHITESPACE:yr(Sr,Fr);continue;case nr.TEXT:if(Sr.sawRoot&&!Sr.closedRoot){for(var Gr=Ar-1;Fr&&Fr!=="<"&&Fr!=="&";)Fr=xr(Tr,Ar++),Fr&&Sr.trackPosition&&(Sr.position++,Fr===`
`?(Sr.line++,Sr.column=0):Sr.column++);Sr.textNode+=Tr.substring(Gr,Ar-1)}Fr==="<"&&!(Sr.sawRoot&&Sr.closedRoot&&!Sr.strict)?(Sr.state=nr.OPEN_WAKA,Sr.startTagPosition=Sr.position):(!qe(Fr)&&(!Sr.sawRoot||Sr.closedRoot)&&ar(Sr,"Text data outside of root node."),Fr==="&"?Sr.state=nr.TEXT_ENTITY:Sr.textNode+=Fr);continue;case nr.SCRIPT:Fr==="<"?Sr.state=nr.SCRIPT_ENDING:Sr.script+=Fr;continue;case nr.SCRIPT_ENDING:Fr==="/"?Sr.state=nr.CLOSE_TAG:(Sr.script+="<"+Fr,Sr.state=nr.SCRIPT);continue;case nr.OPEN_WAKA:if(Fr==="!")Sr.state=nr.SGML_DECL,Sr.sgmlDecl="";else if(!qe(Fr))if(dr(Ue,Fr))Sr.state=nr.OPEN_TAG,Sr.tagName=Fr;else if(Fr==="/")Sr.state=nr.CLOSE_TAG,Sr.tagName="";else if(Fr==="?")Sr.state=nr.PROC_INST,Sr.procInstName=Sr.procInstBody="";else{if(ar(Sr,"Unencoded <"),Sr.startTagPosition+1<Sr.position){var Vr=Sr.position-Sr.startTagPosition;Fr=new Array(Vr).join(" ")+Fr}Sr.textNode+="<"+Fr,Sr.state=nr.TEXT}continue;case nr.SGML_DECL:if(Sr.sgmlDecl+Fr==="--"){Sr.state=nr.COMMENT,Sr.comment="",Sr.sgmlDecl="";continue}Sr.doctype&&Sr.doctype!==!0&&Sr.sgmlDecl?(Sr.state=nr.DOCTYPE_DTD,Sr.doctype+="<!"+Sr.sgmlDecl+Fr,Sr.sgmlDecl=""):(Sr.sgmlDecl+Fr).toUpperCase()===oe?(ie(Sr,"onopencdata"),Sr.state=nr.CDATA,Sr.sgmlDecl="",Sr.cdata=""):(Sr.sgmlDecl+Fr).toUpperCase()===ue?(Sr.state=nr.DOCTYPE,(Sr.doctype||Sr.sawRoot)&&ar(Sr,"Inappropriately located doctype declaration"),Sr.doctype="",Sr.sgmlDecl=""):Fr===">"?(ie(Sr,"onsgmldeclaration",Sr.sgmlDecl),Sr.sgmlDecl="",Sr.state=nr.TEXT):(er(Fr)&&(Sr.state=nr.SGML_DECL_QUOTED),Sr.sgmlDecl+=Fr);continue;case nr.SGML_DECL_QUOTED:Fr===Sr.q&&(Sr.state=nr.SGML_DECL,Sr.q=""),Sr.sgmlDecl+=Fr;continue;case nr.DOCTYPE:Fr===">"?(Sr.state=nr.TEXT,ie(Sr,"ondoctype",Sr.doctype),Sr.doctype=!0):(Sr.doctype+=Fr,Fr==="["?Sr.state=nr.DOCTYPE_DTD:er(Fr)&&(Sr.state=nr.DOCTYPE_QUOTED,Sr.q=Fr));continue;case nr.DOCTYPE_QUOTED:Sr.doctype+=Fr,Fr===Sr.q&&(Sr.q="",Sr.state=nr.DOCTYPE);continue;case nr.DOCTYPE_DTD:Fr==="]"?(Sr.doctype+=Fr,Sr.state=nr.DOCTYPE):Fr==="<"?(Sr.state=nr.OPEN_WAKA,Sr.startTagPosition=Sr.position):er(Fr)?(Sr.doctype+=Fr,Sr.state=nr.DOCTYPE_DTD_QUOTED,Sr.q=Fr):Sr.doctype+=Fr;continue;case nr.DOCTYPE_DTD_QUOTED:Sr.doctype+=Fr,Fr===Sr.q&&(Sr.state=nr.DOCTYPE_DTD,Sr.q="");continue;case nr.COMMENT:Fr==="-"?Sr.state=nr.COMMENT_ENDING:Sr.comment+=Fr;continue;case nr.COMMENT_ENDING:Fr==="-"?(Sr.state=nr.COMMENT_ENDED,Sr.comment=Ce(Sr.opt,Sr.comment),Sr.comment&&ie(Sr,"oncomment",Sr.comment),Sr.comment=""):(Sr.comment+="-"+Fr,Sr.state=nr.COMMENT);continue;case nr.COMMENT_ENDED:Fr!==">"?(ar(Sr,"Malformed comment"),Sr.comment+="--"+Fr,Sr.state=nr.COMMENT):Sr.doctype&&Sr.doctype!==!0?Sr.state=nr.DOCTYPE_DTD:Sr.state=nr.TEXT;continue;case nr.CDATA:Fr==="]"?Sr.state=nr.CDATA_ENDING:Sr.cdata+=Fr;continue;case nr.CDATA_ENDING:Fr==="]"?Sr.state=nr.CDATA_ENDING_2:(Sr.cdata+="]"+Fr,Sr.state=nr.CDATA);continue;case nr.CDATA_ENDING_2:Fr===">"?(Sr.cdata&&ie(Sr,"oncdata",Sr.cdata),ie(Sr,"onclosecdata"),Sr.cdata="",Sr.state=nr.TEXT):Fr==="]"?Sr.cdata+="]":(Sr.cdata+="]]"+Fr,Sr.state=nr.CDATA);continue;case nr.PROC_INST:Fr==="?"?Sr.state=nr.PROC_INST_ENDING:qe(Fr)?Sr.state=nr.PROC_INST_BODY:Sr.procInstName+=Fr;continue;case nr.PROC_INST_BODY:if(!Sr.procInstBody&&qe(Fr))continue;Fr==="?"?Sr.state=nr.PROC_INST_ENDING:Sr.procInstBody+=Fr;continue;case nr.PROC_INST_ENDING:Fr===">"?(ie(Sr,"onprocessinginstruction",{name:Sr.procInstName,body:Sr.procInstBody}),Sr.procInstName=Sr.procInstBody="",Sr.state=nr.TEXT):(Sr.procInstBody+="?"+Fr,Sr.state=nr.PROC_INST_BODY);continue;case nr.OPEN_TAG:dr($e,Fr)?Sr.tagName+=Fr:(ur(Sr),Fr===">"?tr(Sr):Fr==="/"?Sr.state=nr.OPEN_TAG_SLASH:(qe(Fr)||ar(Sr,"Invalid character in tag name"),Sr.state=nr.ATTRIB));continue;case nr.OPEN_TAG_SLASH:Fr===">"?(tr(Sr,!0),gr(Sr)):(ar(Sr,"Forward-slash in opening tag not followed by >"),Sr.state=nr.ATTRIB);continue;case nr.ATTRIB:if(qe(Fr))continue;Fr===">"?tr(Sr):Fr==="/"?Sr.state=nr.OPEN_TAG_SLASH:dr(Ue,Fr)?(Sr.attribName=Fr,Sr.attribValue="",Sr.state=nr.ATTRIB_NAME):ar(Sr,"Invalid attribute name");continue;case nr.ATTRIB_NAME:Fr==="="?Sr.state
`,y);y=$===-1?e.length:$}else if(n!==-1&&e[y]==="/"&&e[y+1]==="*"){let $=e.indexOf("*/",y);$!==-1?(y=$+2,n=e.indexOf("*/",y)):(t+=e[y],y++)}else t+=e[y],y++;return t}function parseParams(e){const t=stripComments(e.toString());let y=t.match(FN_ARGS);if(y||(y=t.match(ARROW_FN_ARGS)),!y)throw new Error(`could not parse args in autoInject
Source:
`+t);let[,n]=y;return n.replace(/\s/g,"").split(FN_ARG_SPLIT).map($=>$.replace(FN_ARG,"").trim())}function autoInject(e,t){var y={};return Object.keys(e).forEach(n=>{var $=e[n],k,L=isAsync($),j=!L&&$.length===1||L&&$.length===0;if(Array.isArray($))k=[...$],$=k.pop(),y[n]=k.concat(k.length>0?V:$);else if(j)y[n]=$;else{if(k=parseParams($),$.length===0&&!L&&k.length===0)throw new Error("autoInject task functions require explicit parameters.");L||k.pop(),y[n]=k.concat(V)}function V(z,re){var oe=k.map(ue=>z[ue]);oe.push(re),wrapAsync($)(...oe)}}),auto(y,t)}class DLL{constructor(){this.head=this.tail=null,this.length=0}removeLink(t){return t.prev?t.prev.next=t.next:this.head=t.next,t.next?t.next.prev=t.prev:this.tail=t.prev,t.prev=t.next=null,this.length-=1,t}empty(){for(;this.head;)this.shift();return this}insertAfter(t,y){y.prev=t,y.next=t.next,t.next?t.next.prev=y:this.tail=y,t.next=y,this.length+=1}insertBefore(t,y){y.prev=t.prev,y.next=t,t.prev?t.prev.next=y:this.head=y,t.prev=y,this.length+=1}unshift(t){this.head?this.insertBefore(this.head,t):setInitial(this,t)}push(t){this.tail?this.insertAfter(this.tail,t):setInitial(this,t)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){for(var t=this.head;t;)yield t.data,t=t.next}remove(t){for(var y=this.head;y;){var{next:n}=y;t(y)&&this.removeLink(y),y=n}return this}}function setInitial(e,t){e.length=1,e.head=e.tail=t}function queue$1(e,t,y){if(t==null)t=1;else if(t===0)throw new RangeError("Concurrency must not be zero");var n=wrapAsync(e),$=0,k=[];const L={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function j(Ve,Fe){L[Ve].push(Fe)}function V(Ve,Fe){const qe=(...er)=>{z(Ve,qe),Fe(...er)};L[Ve].push(qe)}function z(Ve,Fe){if(!Ve)return Object.keys(L).forEach(qe=>L[qe]=[]);if(!Fe)return L[Ve]=[];L[Ve]=L[Ve].filter(qe=>qe!==Fe)}function re(Ve,...Fe){L[Ve].forEach(qe=>qe(...Fe))}var oe=!1;function ue(Ve,Fe,qe,er){if(er!=null&&typeof er!="function")throw new Error("task callback must be a function");$e.started=!0;var ir,dr;function cr(lr,...Et){if(lr)return qe?dr(lr):ir();if(Et.length<=1)return ir(Et[0]);ir(Et)}var nr=$e._createTaskItem(Ve,qe?cr:er||cr);if(Fe?$e._tasks.unshift(nr):$e._tasks.push(nr),oe||(oe=!0,setImmediate$1(()=>{oe=!1,$e.process()})),qe||!er)return new Promise((lr,Et)=>{ir=lr,dr=Et})}function de(Ve){return function(Fe,...qe){$-=1;for(var er=0,ir=Ve.length;er<ir;er++){var dr=Ve[er],cr=k.indexOf(dr);cr===0?k.shift():cr>0&&k.splice(cr,1),dr.callback(Fe,...qe),Fe!=null&&re("error",Fe,dr.data)}$<=$e.concurrency-$e.buffer&&re("unsaturated"),$e.idle()&&re("drain"),$e.process()}}function _e(Ve){return Ve.length===0&&$e.idle()?(setImmediate$1(()=>re("drain")),!0):!1}const Ne=Ve=>Fe=>{if(!Fe)return new Promise((qe,er)=>{V(Ve,(ir,dr)=>{if(ir)return er(ir);qe(dr)})});z(Ve),j(Ve,Fe)};var Ue=!1,$e={_tasks:new DLL,_createTaskItem(Ve,Fe){return{data:Ve,callback:Fe}},*[Symbol.iterator](){yield*$e._tasks[Symbol.iterator]()},concurrency:t,payload:y,buffer:t/4,started:!1,paused:!1,push(Ve,Fe){return Array.isArray(Ve)?_e(Ve)?void 0:Ve.map(qe=>ue(qe,!1,!1,Fe)):ue(Ve,!1,!1,Fe)},pushAsync(Ve,Fe){return Array.isArray(Ve)?_e(Ve)?void 0:Ve.map(qe=>ue(qe,!1,!0,Fe)):ue(Ve,!1,!0,Fe)},kill(){z(),$e._tasks.empty()},unshift(Ve,Fe){return Array.isArray(Ve)?_e(Ve)?void 0:Ve.map(qe=>ue(qe,!0,!1,Fe)):ue(Ve,!0,!1,Fe)},unshiftAsync(Ve,Fe){return Array.isArray(Ve)?_e(Ve)?void 0:Ve.map(qe=>ue(qe,!0,!0,Fe)):ue(Ve,!0,!0,Fe)},remove(Ve){$e._tasks.remove(Ve)},process(){if(!Ue){for(Ue=!0;!$e.paused&&$<$e.concurrency&&$e._tasks.length;){var Ve=[],Fe=[],qe=$e._tasks.length;$e.payload&&(qe=Math.min(qe,$e.payload));for(var er=0;er<qe;er++){var ir=$e._tasks.shift();Ve.push(ir),k.push(ir),Fe.push(ir.data)}$+=1,$e._tasks.length===0&&re("empty"),$===$e.concurrency&&re("saturated");var dr=onlyOnce(de(Ve));n(Fe,dr)}Ue=!1}},length(){return $e._tasks.length},running(){return $},workersList(){return k},idle(){return $e._tasks.length+$===0},pause(){$e.paused=!0},resume(){$e.paused!==!1&&($e.paused=!1,setImmediat
* @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(e,t){(function(){var y,n="4.17.21",$=200,k="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",L="Expected a function",j="Invalid `variable` option passed into `_.template`",V="__lodash_hash_undefined__",z=500,re="__lodash_placeholder__",oe=1,ue=2,de=4,_e=1,Ne=2,Ue=1,$e=2,Ve=4,Fe=8,qe=16,er=32,ir=64,dr=128,cr=256,nr=512,lr=30,Et="...",ie=800,pe=16,Ce=1,Ie=2,jt=3,ar=1/0,ur=9007199254740991,kt=17976931348623157e292,he=NaN,tr=4294967295,gr=tr-1,_r=tr>>>1,yr=[["ary",dr],["bind",Ue],["bindKey",$e],["curry",Fe],["curryRight",qe],["flip",nr],["partial",er],["partialRight",ir],["rearg",cr]],xr="[object Arguments]",Nr="[object Array]",Tr="[object AsyncFunction]",Sr="[object Boolean]",Ar="[object Date]",Fr="[object DOMException]",Gr="[object Error]",Vr="[object Function]",Dr="[object GeneratorFunction]",Ir="[object Map]",Br="[object Number]",Rr="[object Null]",Lr="[object Object]",$r="[object Promise]",jr="[object Proxy]",vn="[object RegExp]",Kr="[object Set]",kr="[object String]",Qr="[object Symbol]",Zr="[object Undefined]",Vi="[object WeakMap]",To="[object WeakSet]",oa="[object ArrayBuffer]",Ba="[object DataView]",rs="[object Float32Array]",Mn="[object Float64Array]",Wr="[object Int8Array]",Ur="[object Int16Array]",Sn="[object Int32Array]",Nn="[object Uint8Array]",Sa="[object Uint8ClampedArray]",Li="[object Uint16Array]",ca="[object Uint32Array]",fo=/\b__p \+= '';/g,zn=/\b(__p \+=) '' \+/g,ki=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ra=/&(?:amp|lt|gt|quot|#39);/g,_o=/[&<>"']/g,eo=RegExp(Ra.source),tl=RegExp(_o.source),Es=/<%-([\s\S]+?)%>/g,Hs=/<%([\s\S]+?)%>/g,Ts=/<%=([\s\S]+?)%>/g,js=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Gs=/^\w*$/,uc=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,rl=/[\\^$.*+?()[\]{}|]/g,il=RegExp(rl.source),bl=/^\s+/,Wa=/\s/,Ao=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ks=/\{\n\/\* \[wrapped with (.+)\] \*/,Bo=/,? & /,Hr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ui=/[()=,{}\[\]\/\s]/,En=/\\(\\)?/g,An=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Gi=/\w*$/,Ki=/^[-+]0x[0-9a-f]+$/i,Ea=/^0b[01]+$/i,aa=/^\[object .+?Constructor\]$/,Qo=/^0o[0-7]+$/i,Eo=/^(?:0|[1-9]\d*)$/,Vo=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,vs=/($^)/,kn=/['\n\r\u2028\u2029\\]/g,qo="\\ud800-\\udfff",Zl="\\u0300-\\u036f",Mo="\\ufe20-\\ufe2f",_u="\\u20d0-\\u20ff",Bl=Zl+Mo+_u,Vu="\\u2700-\\u27bf",Iu="a-z\\xdf-\\xf6\\xf8-\\xff",Pu="\\xac\\xb1\\xd7\\xf7",Fn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",is="\\u2000-\\u206f",pu=" \\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",ku="A-Z\\xc0-\\xd6\\xd8-\\xde",Vl="\\ufe0e\\ufe0f",cc=Pu+Fn+is+pu,Lc="[']",wd="["+qo+"]",Nd="["+cc+"]",Tf="["+Bl+"]",vf="\\d+",jc="["+Vu+"]",Jd="["+Iu+"]",Ed="[^"+qo+cc+vf+Vu+Iu+ku+"]",Bf="\\ud83c[\\udffb-\\udfff]",Rf="(?:"+Tf+"|"+Bf+")",Rp="[^"+qo+"]",Pp="(?:\\ud83c[\\udde6-\\uddff]){2}",_p="[\\ud800-\\udbff][\\udc00-\\udfff]",Pf="["+ku+"]",Ih="\\u200d",Lp="(?:"+Jd+"|"+Ed+")",Oc="(?:"+Pf+"|"+Ed+")",Ip="(?:"+Lc+"(?:d|ll|m|re|s|t|ve))?",Df="(?:"+Lc+"(?:D|LL|M|RE|S|T|VE))?",vp=Rf+"?",Yp="["+Vl+"]?",Op="(?:"+Ih+"(?:"+[Rp,Pp,_p].join("|")+")"+Yp+vp+")*",Xp="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Xf="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Oh=Yp+vp+Op,Wh="(?:"+[jc,Pp,_p].join("|")+")"+Oh,np="(?:"+[Rp+Tf+"?",Tf,Pp,_p,wd].join("|")+")",gh=RegExp(Lc,"g"),jp=RegExp(Tf,"g"),wm=RegExp(Bf+"(?="+Bf+")|"+np+Oh,"g"),Fp=RegExp([Pf+"?"+Jd+"+"+Ip+"(?="+[Nd,Pf,"$"].join("|")+")",Oc+"+"+Df+"(?="+[Nd,Pf+Lp,"$"].join("|")+")",Pf+"?"+Lp+"+"+Ip,Pf+"+"+Df,Xf,Xp,vf,Wh].join("|"),"g"),Um=RegExp("["+Ih+qo+Bl+Vl+"]"),kh=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Yh=["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","isF
/* [wrapped with `+Mr+`] */
`)}function fr(br){return $d(br)||S0(br)||!!(Lm&&br&&br[Lm])}function vr(br,Mr){var hn=typeof br;return Mr=Mr??ur,!!Mr&&(hn=="number"||hn!="symbol"&&Eo.test(br))&&br>-1&&br%1==0&&br<Mr}function Er(br,Mr,hn){if(!rp(hn))return!1;var ea=typeof Mr;return(ea=="number"?ym(hn)&&vr(Mr,hn.length):ea=="string"&&Mr in hn)?Zm(hn[Mr],br):!1}function Cr(br,Mr){if($d(br))return!1;var hn=typeof br;return hn=="number"||hn=="symbol"||hn=="boolean"||br==null||Mm(br)?!0:Gs.test(br)||!js.test(br)||Mr!=null&&br in Zd(Mr)}function Yr(br){var Mr=typeof br;return Mr=="string"||Mr=="number"||Mr=="symbol"||Mr=="boolean"?br!=="__proto__":br===null}function Rn(br){var Mr=Js(br),hn=no[Mr];if(typeof hn!="function"||!(Mr in bu.prototype))return!1;if(br===hn)return!0;var ea=xs(hn);return!!ea&&br===ea[0]}function mi(br){return!!Ld&&Ld in br}var Ui=ih?p0:J0;function Aa(br){var Mr=br&&br.constructor,hn=typeof Mr=="function"&&Mr.prototype||Cp;return br===hn}function No(br){return br===br&&!rp(br)}function Cs(br,Mr){return function(hn){return hn==null?!1:hn[br]===Mr&&(Mr!==y||br in Zd(hn))}}function Ns(br){var Mr=I0(br,function(ea){return hn.size===z&&hn.clear(),ea}),hn=Mr.cache;return Mr}function Bs(br,Mr){var hn=br[1],ea=Mr[1],co=hn|ea,gs=co<(Ue|$e|dr),Ks=ea==dr&&hn==Fe||ea==dr&&hn==cr&&br[7].length<=Mr[8]||ea==(dr|cr)&&Mr[7].length<=Mr[8]&&hn==Fe;if(!(gs||Ks))return br;ea&Ue&&(br[2]=Mr[2],co|=hn&Ue?0:Ve);var ul=Mr[3];if(ul){var cu=br[3];br[3]=cu?ta(cu,ul,Mr[4]):ul,br[4]=cu?If(br[3],re):Mr[4]}return ul=Mr[5],ul&&(cu=br[5],br[5]=cu?va(cu,ul,Mr[6]):ul,br[6]=cu?If(br[5],re):Mr[6]),ul=Mr[7],ul&&(br[7]=ul),ea&dr&&(br[8]=br[8]==null?Mr[8]:Vs(br[8],Mr[8])),br[9]==null&&(br[9]=Mr[9]),br[0]=Mr[0],br[1]=co,br}function pl(br){var Mr=[];if(br!=null)for(var hn in Zd(br))Mr.push(hn);return Mr}function Eu(br){return Zf.call(br)}function kl(br,Mr,hn){return Mr=ws(Mr===y?br.length-1:Mr,0),function(){for(var ea=arguments,co=-1,gs=ws(ea.length-Mr,0),Ks=vu(gs);++co<gs;)Ks[co]=ea[Mr+co];co=-1;for(var ul=vu(Mr+1);++co<Mr;)ul[co]=ea[co];return ul[Mr]=hn(Ks),zu(br,this,ul)}}function Cu(br,Mr){return Mr.length<2?br:Ss(br,tp(Mr,0,-1))}function Ru(br,Mr){for(var hn=br.length,ea=Vs(Mr.length,hn),co=qa(br);ea--;){var gs=Mr[ea];br[ea]=vr(gs,hn)?co[gs]:y}return br}function Ds(br,Mr){if(!(Mr==="constructor"&&typeof br[Mr]=="function")&&Mr!="__proto__")return br[Mr]}var xc=Jc(u0),Rc=bo||function(br,Mr){return qd.setTimeout(br,Mr)},lc=Jc(g0);function wc(br,Mr,hn){var ea=Mr+"";return lc(br,rr(ea,Wc(ds(ea),hn)))}function Jc(br){var Mr=0,hn=0;return function(){var ea=al(),co=pe-(ea-hn);if(hn=ea,co>0){if(++Mr>=ie)return arguments[0]}else Mr=0;return br.apply(y,arguments)}}function Xd(br,Mr){var hn=-1,ea=br.length,co=ea-1;for(Mr=Mr===y?ea:Mr;++hn<Mr;){var gs=$p(hn,co),Ks=br[gs];br[gs]=br[hn],br[hn]=Ks}return br.length=Mr,br}var Do=Ns(function(br){var Mr=[];return br.charCodeAt(0)===46&&Mr.push(""),br.replace(uc,function(hn,ea,co,gs){Mr.push(co?gs.replace(En,"$1"):ea||hn)}),Mr});function vl(br){if(typeof br=="string"||Mm(br))return br;var Mr=br+"";return Mr=="0"&&1/br==-ar?"-0":Mr}function gc(br){if(br!=null){try{return rm.call(br)}catch{}try{return br+""}catch{}}return""}function Wc(br,Mr){return Sd(yr,function(hn){var ea="_."+hn[0];Mr&hn[1]&&!Zh(br,ea)&&br.push(ea)}),br.sort()}function rd(br){if(br instanceof bu)return br.clone();var Mr=new ju(br.__wrapped__,br.__chain__);return Mr.__actions__=qa(br.__actions__),Mr.__index__=br.__index__,Mr.__values__=br.__values__,Mr}function lf(br,Mr,hn){(hn?Er(br,Mr,hn):Mr===y)?Mr=1:Mr=ws(Hd(Mr),0);var ea=br==null?0:br.length;if(!ea||Mr<1)return[];for(var co=0,gs=0,Ks=vu($o(ea/Mr));co<ea;)Ks[gs++]=tp(br,co,co+=Mr);return Ks}function Md(br){for(var Mr=-1,hn=br==null?0:br.length,ea=0,co=[];++Mr<hn;){var gs=br[Mr];gs&&(co[ea++]=gs)}return co}function Ud(){var br=arguments.length;if(!br)return[];for(var Mr=vu(br-1),hn=arguments[0],ea=br;ea--;)Mr[ea-1]=arguments[ea];return Jp($d(hn)?qa(hn):[hn],vi(Mr,1))}var zd=ud(function(br,Mr){return Dp(br)?Fa(br,vi(Mr,1,Dp,!0)):[]}),Gd=ud(function(br,Mr){var hn=jm(Mr);return Dp(hn)&&(hn=y),Dp(br)?Fa(br,vi(Mr,1,Dp,!0),Zs(hn,
`;br.replace(Pc,function(Dd,tf,uf,Rm,sm,Om){return uf||(uf=Rm),dc+=br.slice(Qu,Om).replace(kn,wh),tf&&(ul=!0,dc+=`' +
__e(`+tf+`) +
'`),sm&&(cu=!0,dc+=`';
`+sm+`;
__p += '`),uf&&(dc+=`' +
((__t = (`+uf+`)) == null ? '' : __t) +
'`),Qu=Om+Dd.length,Dd}),dc+=`';
`;var Ad=Bd.call(Mr,"variable")&&Mr.variable;if(!Ad)dc=`with (obj) {
`+dc+`
}
`;else if(ui.test(Ad))throw new kc(j);dc=(cu?dc.replace(fo,""):dc).replace(zn,"$1").replace(ki,"$1;"),dc="function("+(Ad||"obj")+`) {
`+(Ad?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(ul?", __e = _.escape":"")+(cu?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+dc+`return __p
}`;var Vd=R1(function(){return kd(gs,sd+"return "+dc).apply(y,Ks)});if(Vd.source=dc,H0(Vd))throw Vd;return Vd}function zv(br){return wf(br).toLowerCase()}function Gv(br){return wf(br).toUpperCase()}function Wv(br,Mr,hn){if(br=wf(br),br&&(hn||Mr===y))return fm(br);if(!br||!(Mr=Rh(Mr)))return br;var ea=qp(br),co=qp(Mr),gs=ip(ea,co),Ks=nh(ea,co)+1;return Kn(ea,gs,Ks).join("")}function Kv(br,Mr,hn){if(br=wf(br),br&&(hn||Mr===y))return br.slice(0,Km(br)+1);if(!br||!(Mr=Rh(Mr)))return br;var ea=qp(br),co=nh(ea,qp(Mr))+1;return Kn(ea,0,co).join("")}function Yv(br,Mr,hn){if(br=wf(br),br&&(hn||Mr===y))return br.replace(bl,"");if(!br||!(Mr=Rh(Mr)))return br;var ea=qp(br),co=ip(ea,qp(Mr));return Kn(ea,co).join("")}function Xv(br,Mr){var hn=lr,ea=Et;if(rp(Mr)){var co="separator"in Mr?Mr.separator:co;hn="length"in Mr?Hd(Mr.length):hn,ea="omission"in Mr?Rh(Mr.omission):ea}br=wf(br);var gs=br.length;if(Tp(br)){var Ks=qp(br);gs=Ks.length}if(hn>=gs)return br;var ul=hn-hm(ea);if(ul<1)return ea;var cu=Ks?Kn(Ks,0,ul).join(""):br.slice(0,ul);if(co===y)return cu+ea;if(Ks&&(ul+=cu.length-ul),V0(co)){if(br.slice(ul).search(co)){var Qu,Ju=cu;for(co.global||(co=gm(co.source,wf(Gi.exec(co))+"g")),co.lastIndex=0;Qu=co.exec(Ju);)var dc=Qu.index;cu=cu.slice(0,dc===y?ul:dc)}}else if(br.indexOf(Rh(co),ul)!=ul){var Pc=cu.lastIndexOf(co);Pc>-1&&(cu=cu.slice(0,Pc))}return cu+ea}function Qv(br){return br=wf(br),br&&eo.test(br)?br.replace(Ra,Ym):br}var Jv=ra(function(br,Mr,hn){return br+(hn?" ":"")+Mr.toUpperCase()}),G0=ka("toUpperCase");function M1(br,Mr,hn){return br=wf(br),Mr=hn?y:Mr,Mr===y?zm(br)?n0(br):s0(br):br.match(Mr)||[]}var R1=ud(function(br,Mr){try{return zu(br,y,Mr)}catch(hn){return H0(hn)?hn:new kc(hn)}}),Zv=Dl(function(br,Mr){return Sd(Mr,function(hn){hn=vl(hn),Dh(br,hn,F0(br[hn],br))}),br});function eb(br){var Mr=br==null?0:br.length,hn=Zs();return br=Mr?pf(br,function(ea){if(typeof ea[1]!="function")throw new xp(L);return[hn(ea[0]),ea[1]]}):[],ud(function(ea){for(var co=-1;++co<Mr;){var gs=br[co];if(zu(gs[0],this,ea))return zu(gs[1],this,ea)}})}function tb(br){return Wn(Wf(br,oe))}function W0(br){return function(){return br}}function rb(br,Mr){return br==null||br!==br?Mr:br}var nb=pa(),ib=pa(!0);function Sm(br){return br}function K0(br){return Rd(typeof br=="function"?br:Wf(br,oe))}function ab(br){return id(Wf(br,oe))}function ob(br,Mr){return ml(br,Wf(Mr,oe))}var sb=ud(function(br,Mr){return function(hn){return Vc(hn,br,Mr)}}),lb=ud(function(br,Mr){return function(hn){return Vc(br,hn,Mr)}});function Y0(br,Mr,hn){var ea=mh(Mr),co=Fo(Mr,ea);hn==null&&!(rp(Mr)&&(co.length||!ea.length))&&(hn=Mr,Mr=br,br=this,co=Fo(Mr,mh(Mr)));var gs=!(rp(hn)&&"chain"in hn)||!!hn.chain,Ks=p0(br);return Sd(co,function(ul){var cu=Mr[ul];br[ul]=cu,Ks&&(br.prototype[ul]=function(){var Qu=this.__chain__;if(gs||Qu){var Ju=br(this.__wrapped__),dc=Ju.__actions__=qa(this.__actions__);return dc.push({func:cu,args:arguments,thisArg:br}),Ju.__chain__=Qu,Ju}return cu.apply(br,Jp([this.value()],arguments))})}),br}function ub(){return qd._===this&&(qd._=jf),this}function X0(){}function cb(br){return br=Hd(br),ud(function(Mr){return hc(Mr,br)})}var db=So(pf),fb=So(Ep),pb=So(em);function I1(br){return Cr(br)?Vm(vl(br)):Hf(br)}function hb(br){return function(Mr){return br==null?y:Ss(br,Mr)}}var mb=ns(),gb=ns(!0);function Q0(){return[]}function J0(){return!1}function _b(){return{}}function vb(){return""}function bb(){return!0}function yb(br,Mr){if(br=Hd(br),br<1||br>ur)return[];var hn=tr,ea=Vs(br,tr);Mr=Zs(Mr),br-=tr;for(var co=yh(ea,Mr);++hn<br;)Mr(hn);return co}function Eb(br){return $d(br)?pf(br,vl):Mm(br)?[br]:qa(Do(wf(br)))}function Sb(br){var Mr=++a0;return wf(br)+Mr}var wb=Ha(function(br,Mr){return br+Mr},0),Tb=Ws("ceil"),xb=Ha(function(br,Mr){return br/Mr},1),Cb=Ws("floor");function Nb(br){return br&&br.length?Oo(br,Sm,Qs):y}function Ab(br,Mr){return br&&br.length?Oo(br,Zs(Mr,2),Qs):y}function Db(br){return Lh(br,Sm)}function Mb(br,Mr){return Lh(br,Zs(Mr,2))}function Rb(br){return br&&br.length?Oo(br,Sm,Xc):y}function Ib(br,Mr){return br&&br.length?Oo(br,Zs(Mr,2),Xc):y}v
* mime-db
* Copyright(c) 2014 Jonathan Ong
* Copyright(c) 2015-2022 Douglas Christopher Wilson
* MIT Licensed
*/var mimeDb=require$$0$2;/*!
* mime-types
* Copyright(c) 2014 Jonathan Ong
* Copyright(c) 2015 Douglas Christopher Wilson
* MIT Licensed
*/(function(e){var t=mimeDb,y=pathBrowserify.extname,n=/^\s*([^;\s]*)(?:;|\s|$)/,$=/^text\//i;e.charset=k,e.charsets={lookup:k},e.contentType=L,e.extension=j,e.extensions=Object.create(null),e.lookup=V,e.types=Object.create(null),z(e.extensions,e.types);function k(re){if(!re||typeof re!="string")return!1;var oe=n.exec(re),ue=oe&&t[oe[1].toLowerCase()];return ue&&ue.charset?ue.charset:oe&&$.test(oe[1])?"UTF-8":!1}function L(re){if(!re||typeof re!="string")return!1;var oe=re.indexOf("/")===-1?e.lookup(re):re;if(!oe)return!1;if(oe.indexOf("charset")===-1){var ue=e.charset(oe);ue&&(oe+="; charset="+ue.toLowerCase())}return oe}function j(re){if(!re||typeof re!="string")return!1;var oe=n.exec(re),ue=oe&&e.extensions[oe[1].toLowerCase()];return!ue||!ue.length?!1:ue[0]}function V(re){if(!re||typeof re!="string")return!1;var oe=y("x."+re).toLowerCase().substr(1);return oe&&e.types[oe]||!1}function z(re,oe){var ue=["nginx","apache",void 0,"iana"];Object.keys(t).forEach(function(_e){var Ne=t[_e],Ue=Ne.extensions;if(!(!Ue||!Ue.length)){re[_e]=Ue;for(var $e=0;$e<Ue.length;$e++){var Ve=Ue[$e];if(oe[Ve]){var Fe=ue.indexOf(t[oe[Ve]].source),qe=ue.indexOf(Ne.source);if(oe[Ve]!=="application/octet-stream"&&(Fe>qe||Fe===qe&&oe[Ve].substr(0,12)==="application/"))continue}oe[Ve]=_e}}})}})(mimeTypes$1);var lib={},define_process_default$8={version:"v20.16.0",versions:{node:"20.16.0",acorn:"8.11.3",ada:"2.8.0",ares:"1.31.0",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.2.2",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.13+quic",simdutf:"5.2.8",tz:"2024a",undici:"6.19.2",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-209717d"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.16.0/node-v20.16.0.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.16.0/node-v20.16.0-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 util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/h
Use Chrome, Firefox or Internet Explorer 11`)}var Buffer$E=safeBufferExports$1.Buffer,crypto$3=commonjsGlobal.crypto||commonjsGlobal.msCrypto;crypto$3&&crypto$3.getRandomValues?browser$a.exports=randomBytes$4:browser$a.exports=oldBrowser$1;function randomBytes$4(e,t){if(e>MAX_UINT32)throw new RangeError("requested too many random bytes");var y=Buffer$E.allocUnsafe(e);if(e>0)if(e>MAX_BYTES)for(var n=0;n<e;n+=MAX_BYTES)crypto$3.getRandomValues(y.slice(n,n+MAX_BYTES));else crypto$3.getRandomValues(y);return typeof t=="function"?define_process_default$7.nextTick(function(){t(null,y)}):y}var browserExports=browser$a.exports,Buffer$D=safeBufferExports$1.Buffer,Transform$8=streamBrowserify.Transform,inherits$s=inherits_browserExports;function throwIfNotStringOrBuffer(e,t){if(!Buffer$D.isBuffer(e)&&typeof e!="string")throw new TypeError(t+" must be a string or a buffer")}function HashBase$2(e){Transform$8.call(this),this._block=Buffer$D.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}inherits$s(HashBase$2,Transform$8);HashBase$2.prototype._transform=function(e,t,y){var n=null;try{this.update(e,t)}catch($){n=$}y(n)};HashBase$2.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(y){t=y}e(t)};HashBase$2.prototype.update=function(e,t){if(throwIfNotStringOrBuffer(e,"Data"),this._finalized)throw new Error("Digest already called");Buffer$D.isBuffer(e)||(e=Buffer$D.from(e,t));for(var y=this._block,n=0;this._blockOffset+e.length-n>=this._blockSize;){for(var $=this._blockOffset;$<this._blockSize;)y[$++]=e[n++];this._update(),this._blockOffset=0}for(;n<e.length;)y[this._blockOffset++]=e[n++];for(var k=0,L=e.length*8;L>0;++k)this._length[k]+=L,L=this._length[k]/4294967296|0,L>0&&(this._length[k]-=4294967296*L);return this};HashBase$2.prototype._update=function(){throw new Error("_update is not implemented")};HashBase$2.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();e!==void 0&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var y=0;y<4;++y)this._length[y]=0;return t};HashBase$2.prototype._digest=function(){throw new Error("_digest is not implemented")};var hashBase=HashBase$2,inherits$r=inherits_browserExports,HashBase$1=hashBase,Buffer$C=safeBufferExports$1.Buffer,ARRAY16$1=new Array(16);function MD5$3(){HashBase$1.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}inherits$r(MD5$3,HashBase$1);MD5$3.prototype._update=function(){for(var e=ARRAY16$1,t=0;t<16;++t)e[t]=this._block.readInt32LE(t*4);var y=this._a,n=this._b,$=this._c,k=this._d;y=fnF(y,n,$,k,e[0],3614090360,7),k=fnF(k,y,n,$,e[1],3905402710,12),$=fnF($,k,y,n,e[2],606105819,17),n=fnF(n,$,k,y,e[3],3250441966,22),y=fnF(y,n,$,k,e[4],4118548399,7),k=fnF(k,y,n,$,e[5],1200080426,12),$=fnF($,k,y,n,e[6],2821735955,17),n=fnF(n,$,k,y,e[7],4249261313,22),y=fnF(y,n,$,k,e[8],1770035416,7),k=fnF(k,y,n,$,e[9],2336552879,12),$=fnF($,k,y,n,e[10],4294925233,17),n=fnF(n,$,k,y,e[11],2304563134,22),y=fnF(y,n,$,k,e[12],1804603682,7),k=fnF(k,y,n,$,e[13],4254626195,12),$=fnF($,k,y,n,e[14],2792965006,17),n=fnF(n,$,k,y,e[15],1236535329,22),y=fnG(y,n,$,k,e[1],4129170786,5),k=fnG(k,y,n,$,e[6],3225465664,9),$=fnG($,k,y,n,e[11],643717713,14),n=fnG(n,$,k,y,e[0],3921069994,20),y=fnG(y,n,$,k,e[5],3593408605,5),k=fnG(k,y,n,$,e[10],38016083,9),$=fnG($,k,y,n,e[15],3634488961,14),n=fnG(n,$,k,y,e[4],3889429448,20),y=fnG(y,n,$,k,e[9],568446438,5),k=fnG(k,y,n,$,e[14],3275163606,9),$=fnG($,k,y,n,e[3],4107603335,14),n=fnG(n,$,k,y,e[8],1163531501,20),y=fnG(y,n,$,k,e[13],2850285829,5),k=fnG(k,y,n,$,e[2],4243563512,9),$=fnG($,k,y,n,e[7],1735328473,14),n=fnG(n,$,k,y,e[12],2368359562,20),y=fnH(y,n,$,k,e[5],4294588738,4),k=fnH(k,y,n,$,e[8],2272392833,11),$=fnH($,k,y,n,e[11],1839030562,16),n=fnH(n,$,k,y,e[14],4259657740,23),y=fnH(y,n,$,k,e[1],2763975236,4),k=fnH(k,y,n,$,e[4],1272893353,11),$=fnH($,k,y,n,e[7],4139469664,16),n=fnH(n,$,k,y,e[10],3200236656,23),y=fnH(y,n,$,k,e[13],681279174,4),k=fnH(k,y,n,$,e[0],3936430074,11),$=fnH(
this._initNamed(entity);
})`)}catch{j=function(z){this._initNamed(z)}}return y(j,L),j.prototype._initNamed=function(z){L.call(this,z)},new j(this)},$.prototype._getDecoder=function(L){return L=L||"der",this.decoders.hasOwnProperty(L)||(this.decoders[L]=this._createNamed(t.decoders[L])),this.decoders[L]},$.prototype.decode=function(L,j,V){return this._getDecoder(j).decode(L,V)},$.prototype._getEncoder=function(L){return L=L||"der",this.encoders.hasOwnProperty(L)||(this.encoders[L]=this._createNamed(t.encoders[L])),this.encoders[L]},$.prototype.encode=function(L,j,V){return this._getEncoder(j).encode(L,V)}}(api)),api}var base={},reporter={},inherits$3=inherits_browserExports;function Reporter(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}reporter.Reporter=Reporter;Reporter.prototype.isError=function(t){return t instanceof ReporterError};Reporter.prototype.save=function(){var t=this._reporterState;return{obj:t.obj,pathLen:t.path.length}};Reporter.prototype.restore=function(t){var y=this._reporterState;y.obj=t.obj,y.path=y.path.slice(0,t.pathLen)};Reporter.prototype.enterKey=function(t){return this._reporterState.path.push(t)};Reporter.prototype.exitKey=function(t){var y=this._reporterState;y.path=y.path.slice(0,t-1)};Reporter.prototype.leaveKey=function(t,y,n){var $=this._reporterState;this.exitKey(t),$.obj!==null&&($.obj[y]=n)};Reporter.prototype.path=function(){return this._reporterState.path.join("/")};Reporter.prototype.enterObject=function(){var t=this._reporterState,y=t.obj;return t.obj={},y};Reporter.prototype.leaveObject=function(t){var y=this._reporterState,n=y.obj;return y.obj=t,n};Reporter.prototype.error=function(t){var y,n=this._reporterState,$=t instanceof ReporterError;if($?y=t:y=new ReporterError(n.path.map(function(k){return"["+JSON.stringify(k)+"]"}).join(""),t.message||t,t.stack),!n.options.partial)throw y;return $||n.errors.push(y),y};Reporter.prototype.wrapResult=function(t){var y=this._reporterState;return y.options.partial?{result:this.isError(t)?null:t,errors:y.errors}:t};function ReporterError(e,t){this.path=e,this.rethrow(t)}inherits$3(ReporterError,Error);ReporterError.prototype.rethrow=function(t){if(this.message=t+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,ReporterError),!this.stack)try{throw new Error(this.message)}catch(y){this.stack=y.stack}return this};var buffer={},hasRequiredBuffer;function requireBuffer(){if(hasRequiredBuffer)return buffer;hasRequiredBuffer=1;var e=inherits_browserExports,t=requireBase().Reporter,y=buffer$1.Buffer;function n(k,L){if(t.call(this,L),!y.isBuffer(k)){this.error("Input not Buffer");return}this.base=k,this.offset=0,this.length=k.length}e(n,t),buffer.DecoderBuffer=n,n.prototype.save=function(){return{offset:this.offset,reporter:t.prototype.save.call(this)}},n.prototype.restore=function(L){var j=new n(this.base);return j.offset=L.offset,j.length=this.offset,this.offset=L.offset,t.prototype.restore.call(this,L.reporter),j},n.prototype.isEmpty=function(){return this.offset===this.length},n.prototype.readUInt8=function(L){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(L||"DecoderBuffer overrun")},n.prototype.skip=function(L,j){if(!(this.offset+L<=this.length))return this.error(j||"DecoderBuffer overrun");var V=new n(this.base);return V._reporterState=this._reporterState,V.offset=this.offset,V.length=this.offset+L,this.offset+=L,V},n.prototype.raw=function(L){return this.base.slice(L?L.offset:this.offset,this.length)};function $(k,L){if(Array.isArray(k))this.length=0,this.value=k.map(function(j){return j instanceof $||(j=new $(j,L)),this.length+=j.length,j},this);else if(typeof k=="number"){if(!(0<=k&&k<=255))return L.error("non-byte EncoderBuffer value");this.value=k,this.length=1}else if(typeof k=="string")this.value=k,this.length=y.byteLength(k);else if(y.isBuffer(k))this.value=k,this.length=k.length;else return L.error("Unsupported type: "+typeof k)}return buffer.EncoderBuffer=$,$.prototype.join=function(L,j){return L||(L=new y(this.length)),j||(j=0),this.length===0||(Array.isArray(this.v
`)},pem}var hasRequiredEncoders;function requireEncoders(){return hasRequiredEncoders||(hasRequiredEncoders=1,function(e){var t=e;t.der=requireDer(),t.pem=requirePem()}(encoders)),encoders}var hasRequiredAsn1;function requireAsn1(){return hasRequiredAsn1||(hasRequiredAsn1=1,function(e){var t=e;t.bignum=bnExports$2,t.define=requireApi().define,t.base=requireBase(),t.constants=requireConstants(),t.decoders=requireDecoders(),t.encoders=requireEncoders()}(asn1$2)),asn1$2}var asn=requireAsn1(),Time=asn.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),AttributeTypeValue=asn.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),AlgorithmIdentifier$1=asn.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),SubjectPublicKeyInfo=asn.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(AlgorithmIdentifier$1),this.key("subjectPublicKey").bitstr())}),RelativeDistinguishedName=asn.define("RelativeDistinguishedName",function(){this.setof(AttributeTypeValue)}),RDNSequence=asn.define("RDNSequence",function(){this.seqof(RelativeDistinguishedName)}),Name=asn.define("Name",function(){this.choice({rdnSequence:this.use(RDNSequence)})}),Validity=asn.define("Validity",function(){this.seq().obj(this.key("notBefore").use(Time),this.key("notAfter").use(Time))}),Extension=asn.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),TBSCertificate=asn.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(AlgorithmIdentifier$1),this.key("issuer").use(Name),this.key("validity").use(Validity),this.key("subject").use(Name),this.key("subjectPublicKeyInfo").use(SubjectPublicKeyInfo),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(Extension).optional())}),X509Certificate=asn.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(TBSCertificate),this.key("signatureAlgorithm").use(AlgorithmIdentifier$1),this.key("signatureValue").bitstr())}),certificate=X509Certificate,asn1$1=requireAsn1();asn1$3.certificate=certificate;var RSAPrivateKey=asn1$1.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});asn1$3.RSAPrivateKey=RSAPrivateKey;var RSAPublicKey=asn1$1.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});asn1$3.RSAPublicKey=RSAPublicKey;var AlgorithmIdentifier=asn1$1.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),PublicKey=asn1$1.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(AlgorithmIdentifier),this.key("subjectPublicKey").bitstr())});asn1$3.PublicKey=PublicKey;var PrivateKeyInfo=asn1$1.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(AlgorithmIdentifier),this.key("subjectPrivateKey").octstr())});asn1$3.PrivateKey=PrivateKeyInfo;var EncryptedPrivateKeyInfo=asn1$1.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").oct
use chrome, FireFox or Internet Explorer 11`)}var safeBuffer=safeBufferExports$1,randombytes=browserExports,Buffer$2=safeBuffer.Buffer,kBufferMaxLength=safeBuffer.kMaxLength,crypto$1=commonjsGlobal.crypto||commonjsGlobal.msCrypto,kMaxUint32=Math.pow(2,32)-1;function assertOffset(e,t){if(typeof e!="number"||e!==e)throw new TypeError("offset must be a number");if(e>kMaxUint32||e<0)throw new TypeError("offset must be a uint32");if(e>kBufferMaxLength||e>t)throw new RangeError("offset out of range")}function assertSize(e,t,y){if(typeof e!="number"||e!==e)throw new TypeError("size must be a number");if(e>kMaxUint32||e<0)throw new TypeError("size must be a uint32");if(e+t>y||e>kBufferMaxLength)throw new RangeError("buffer too small")}crypto$1&&crypto$1.getRandomValues||!define_process_default$4.browser?(browser.randomFill=randomFill,browser.randomFillSync=randomFillSync):(browser.randomFill=oldBrowser,browser.randomFillSync=oldBrowser);function randomFill(e,t,y,n){if(!Buffer$2.isBuffer(e)&&!(e instanceof commonjsGlobal.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if(typeof t=="function")n=t,t=0,y=e.length;else if(typeof y=="function")n=y,y=e.length-t;else if(typeof n!="function")throw new TypeError('"cb" argument must be a function');return assertOffset(t,e.length),assertSize(y,t,e.length),actualFill(e,t,y,n)}function actualFill(e,t,y,n){if(define_process_default$4.browser){var $=e.buffer,k=new Uint8Array($,t,y);if(crypto$1.getRandomValues(k),n){define_process_default$4.nextTick(function(){n(null,e)});return}return e}if(n){randombytes(y,function(j,V){if(j)return n(j);V.copy(e,t),n(null,e)});return}var L=randombytes(y);return L.copy(e,t),e}function randomFillSync(e,t,y){if(typeof t>"u"&&(t=0),!Buffer$2.isBuffer(e)&&!(e instanceof commonjsGlobal.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return assertOffset(t,e.length),y===void 0&&(y=e.length-t),assertSize(y,t,e.length),actualFill(e,t,y)}cryptoBrowserify.randomBytes=cryptoBrowserify.rng=cryptoBrowserify.pseudoRandomBytes=cryptoBrowserify.prng=browserExports;cryptoBrowserify.createHash=cryptoBrowserify.Hash=browser$9;cryptoBrowserify.createHmac=cryptoBrowserify.Hmac=browser$8;var algos=algos$1,algoKeys=Object.keys(algos),hashes=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(algoKeys);cryptoBrowserify.getHashes=function(){return hashes};var p=browser$7;cryptoBrowserify.pbkdf2=p.pbkdf2;cryptoBrowserify.pbkdf2Sync=p.pbkdf2Sync;var aes=browser$6;cryptoBrowserify.Cipher=aes.Cipher;cryptoBrowserify.createCipher=aes.createCipher;cryptoBrowserify.Cipheriv=aes.Cipheriv;cryptoBrowserify.createCipheriv=aes.createCipheriv;cryptoBrowserify.Decipher=aes.Decipher;cryptoBrowserify.createDecipher=aes.createDecipher;cryptoBrowserify.Decipheriv=aes.Decipheriv;cryptoBrowserify.createDecipheriv=aes.createDecipheriv;cryptoBrowserify.getCiphers=aes.getCiphers;cryptoBrowserify.listCiphers=aes.listCiphers;var dh=browser$4;cryptoBrowserify.DiffieHellmanGroup=dh.DiffieHellmanGroup;cryptoBrowserify.createDiffieHellmanGroup=dh.createDiffieHellmanGroup;cryptoBrowserify.getDiffieHellman=dh.getDiffieHellman;cryptoBrowserify.createDiffieHellman=dh.createDiffieHellman;cryptoBrowserify.DiffieHellman=dh.DiffieHellman;var sign=browser$3;cryptoBrowserify.createSign=sign.createSign;cryptoBrowserify.Sign=sign.Sign;cryptoBrowserify.createVerify=sign.createVerify;cryptoBrowserify.Verify=sign.Verify;cryptoBrowserify.createECDH=browser$2;var publicEncrypt=browser$1;cryptoBrowserify.publicEncrypt=publicEncrypt.publicEncrypt;cryptoBrowserify.privateEncrypt=publicEncrypt.privateEncrypt;cryptoBrowserify.publicDecrypt=publicEncrypt.publicDecrypt;cryptoBrowserify.privateDecrypt=publicEncrypt.privateDecrypt;var rf=browser;cryptoBrowserify.randomFill=rf.randomFill;cryptoBrowserify.randomFillSync=rf.randomFillSync;cryptoBrowserify.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join(`
`))};cryptoBrowserify.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6};var validator$3={},util$4={};(function(e){const t=":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",y=t+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",n="["+t+"]["+y+"]*",$=new RegExp("^"+n+"$"),k=function(j,V){const z=[];let re=V.exec(j);for(;re;){const oe=[];oe.startIndex=V.lastIndex-re[0].length;const ue=re.length;for(let de=0;de<ue;de++)oe.push(re[de]);z.push(oe),re=V.exec(j)}return z},L=function(j){const V=$.exec(j);return!(V===null||typeof V>"u")};e.isExist=function(j){return typeof j<"u"},e.isEmptyObject=function(j){return Object.keys(j).length===0},e.merge=function(j,V,z){if(V){const re=Object.keys(V),oe=re.length;for(let ue=0;ue<oe;ue++)z==="strict"?j[re[ue]]=[V[re[ue]]]:j[re[ue]]=V[re[ue]]}},e.getValue=function(j){return e.isExist(j)?j:""},e.isName=L,e.getAllMatches=k,e.nameRegexp=n})(util$4);const util$3=util$4,defaultOptions$2={allowBooleanAttributes:!1,unpairedTags:[]};validator$3.validate=function(e,t){t=Object.assign({},defaultOptions$2,t);const y=[];let n=!1,$=!1;e[0]==="\uFEFF"&&(e=e.substr(1));for(let k=0;k<e.length;k++)if(e[k]==="<"&&e[k+1]==="?"){if(k+=2,k=readPI(e,k),k.err)return k}else if(e[k]==="<"){let L=k;if(k++,e[k]==="!"){k=readCommentAndCDATA(e,k);continue}else{let j=!1;e[k]==="/"&&(j=!0,k++);let V="";for(;k<e.length&&e[k]!==">"&&e[k]!==" "&&e[k]!==" "&&e[k]!==`
`&&e[k]!=="\r";k++)V+=e[k];if(V=V.trim(),V[V.length-1]==="/"&&(V=V.substring(0,V.length-1),k--),!validateTagName(V)){let oe;return V.trim().length===0?oe="Invalid space after '<'.":oe="Tag '"+V+"' is an invalid name.",getErrorObject("InvalidTag",oe,getLineNumberForPosition(e,k))}const z=readAttributeStr(e,k);if(z===!1)return getErrorObject("InvalidAttr","Attributes for '"+V+"' have open quote.",getLineNumberForPosition(e,k));let re=z.value;if(k=z.index,re[re.length-1]==="/"){const oe=k-re.length;re=re.substring(0,re.length-1);const ue=validateAttributeString(re,t);if(ue===!0)n=!0;else return getErrorObject(ue.err.code,ue.err.msg,getLineNumberForPosition(e,oe+ue.err.line))}else if(j)if(z.tagClosed){if(re.trim().length>0)return getErrorObject("InvalidTag","Closing tag '"+V+"' can't have attributes or invalid starting.",getLineNumberForPosition(e,L));if(y.length===0)return getErrorObject("InvalidTag","Closing tag '"+V+"' has not been opened.",getLineNumberForPosition(e,L));{const oe=y.pop();if(V!==oe.tagName){let ue=getLineNumberForPosition(e,oe.tagStartPos);return getErrorObject("InvalidTag","Expected closing tag '"+oe.tagName+"' (opened in line "+ue.line+", col "+ue.col+") instead of closing tag '"+V+"'.",getLineNumberForPosition(e,L))}y.length==0&&($=!0)}}else return getErrorObject("InvalidTag","Closing tag '"+V+"' doesn't have proper closing.",getLineNumberForPosition(e,k));else{const oe=validateAttributeString(re,t);if(oe!==!0)return getErrorObject(oe.err.code,oe.err.msg,getLineNumberForPosition(e,k-re.length+oe.err.line));if($===!0)return getErrorObject("InvalidXml","Multiple possible root nodes found.",getLineNumberForPosition(e,k));t.unpairedTags.indexOf(V)!==-1||y.push({tagName:V,tagStartPos:L}),n=!0}for(k++;k<e.length;k++)if(e[k]==="<")if(e[k+1]==="!"){k++,k=readCommentAndCDATA(e,k);continue}else if(e[k+1]==="?"){if(k=readPI(e,++k),k.err)return k}else break;else if(e[k]==="&"){const oe=validateAmpersand(e,k);if(oe==-1)return getErrorObject("InvalidChar","char '&' is not expected.",getLineNumberForPosition(e,k));k=oe}else if($===!0&&!isWhiteSpace(e[k]))return getErrorObject("InvalidXml","Extra text at the end",getLineNumberForPosition(e,k));e[k]==="<"&&k--}}else{if(isWhiteSpace(e[k]))continue;return getErrorObject("InvalidChar","char '"+e[k]+"' is not expected.",getLineNumberForPosition(e,k))}if(n){if(y.length==1)return getErrorObject("InvalidTag","Unclosed tag '"+y[0].tagName+"'.",getLineNumberForPosition(e,y[0].tagStartPos));if(y.length>0)return getErrorObject("InvalidXml","Invalid '"+JSON.stringify(y.map(k=>k.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return getErrorObject("InvalidXml","Start tag expected.",1);return!0};function isWhiteSpace(e){return e===" "||e===" "||e===`
`||e==="\r"}function readPI(e,t){const y=t;for(;t<e.length;t++)if(e[t]=="?"||e[t]==" "){const n=e.substr(y,t-y);if(t>5&&n==="xml")return getErrorObject("InvalidXml","XML declaration allowed only at the start of the document.",getLineNumberForPosition(e,t));if(e[t]=="?"&&e[t+1]==">"){t++;break}else continue}return t}function readCommentAndCDATA(e,t){if(e.length>t+5&&e[t+1]==="-"&&e[t+2]==="-"){for(t+=3;t<e.length;t++)if(e[t]==="-"&&e[t+1]==="-"&&e[t+2]===">"){t+=2;break}}else if(e.length>t+8&&e[t+1]==="D"&&e[t+2]==="O"&&e[t+3]==="C"&&e[t+4]==="T"&&e[t+5]==="Y"&&e[t+6]==="P"&&e[t+7]==="E"){let y=1;for(t+=8;t<e.length;t++)if(e[t]==="<")y++;else if(e[t]===">"&&(y--,y===0))break}else if(e.length>t+9&&e[t+1]==="["&&e[t+2]==="C"&&e[t+3]==="D"&&e[t+4]==="A"&&e[t+5]==="T"&&e[t+6]==="A"&&e[t+7]==="["){for(t+=8;t<e.length;t++)if(e[t]==="]"&&e[t+1]==="]"&&e[t+2]===">"){t+=2;break}}return t}const doubleQuote='"',singleQuote="'";function readAttributeStr(e,t){let y="",n="",$=!1;for(;t<e.length;t++){if(e[t]===doubleQuote||e[t]===singleQuote)n===""?n=e[t]:n!==e[t]||(n="");else if(e[t]===">"&&n===""){$=!0;break}y+=e[t]}return n!==""?!1:{value:y,index:t,tagClosed:$}}const validAttrStrRegxp=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function validateAttributeString(e,t){const y=util$3.getAllMatches(e,validAttrStrRegxp),n={};for(let $=0;$<y.length;$++){if(y[$][1].length===0)return getErrorObject("InvalidAttr","Attribute '"+y[$][2]+"' has no space in starting.",getPositionFromMatch(y[$]));if(y[$][3]!==void 0&&y[$][4]===void 0)return getErrorObject("InvalidAttr","Attribute '"+y[$][2]+"' is without value.",getPositionFromMatch(y[$]));if(y[$][3]===void 0&&!t.allowBooleanAttributes)return getErrorObject("InvalidAttr","boolean attribute '"+y[$][2]+"' is not allowed.",getPositionFromMatch(y[$]));const k=y[$][2];if(!validateAttrName(k))return getErrorObject("InvalidAttr","Attribute '"+k+"' is an invalid name.",getPositionFromMatch(y[$]));if(!n.hasOwnProperty(k))n[k]=1;else return getErrorObject("InvalidAttr","Attribute '"+k+"' is repeated.",getPositionFromMatch(y[$]))}return!0}function validateNumberAmpersand(e,t){let y=/\d/;for(e[t]==="x"&&(t++,y=/[\da-fA-F]/);t<e.length;t++){if(e[t]===";")return t;if(!e[t].match(y))break}return-1}function validateAmpersand(e,t){if(t++,e[t]===";")return-1;if(e[t]==="#")return t++,validateNumberAmpersand(e,t);let y=0;for(;t<e.length;t++,y++)if(!(e[t].match(/\w/)&&y<20)){if(e[t]===";")break;return-1}return t}function getErrorObject(e,t,y){return{err:{code:e,msg:t,line:y.line||y,col:y.col}}}function validateAttrName(e){return util$3.isName(e)}function validateTagName(e){return util$3.isName(e)}function getLineNumberForPosition(e,t){const y=e.substring(0,t).split(/\r?\n/);return{line:y.length,col:y[y.length-1].length+1}}function getPositionFromMatch(e){return e.startIndex+e[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(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,y){return e}},buildOptions$1=function(e){return Object.assign({},defaultOptions$1,e)};OptionsBuilder.buildOptions=buildOptions$1;OptionsBuilder.defaultOptions=defaultOptions$1;class XmlNode{constructor(t){this.tagname=t,this.child=[],this[":@"]={}}add(t,y){t==="__proto__"&&(t="#__proto__"),this.child.push({[t]:y})}addChild(t){t.tagname==="__proto__"&&(t.tagname="#__proto__"),t[":@"]&&Object.keys(t[":@"]).length>0?this.child.push({[t.tagname]:t.child,":@":t[":@"]}):this.child.push({[t.tagname]:t.child})}}var xmlNode$1=XmlNode;const util$2=util$4;function readDocType$1(e,t){const
`);const t=new xmlNode("!xml");let y=t,n="",$="";for(let k=0;k<e.length;k++)if(e[k]==="<")if(e[k+1]==="/"){const j=findClosingIndex(e,">",k,"Closing Tag is not closed.");let V=e.substring(k+2,j).trim();if(this.options.removeNSPrefix){const oe=V.indexOf(":");oe!==-1&&(V=V.substr(oe+1))}this.options.transformTagName&&(V=this.options.transformTagName(V)),y&&(n=this.saveTextToParentTag(n,y,$));const z=$.substring($.lastIndexOf(".")+1);if(V&&this.options.unpairedTags.indexOf(V)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: </${V}>`);let re=0;z&&this.options.unpairedTags.indexOf(z)!==-1?(re=$.lastIndexOf(".",$.lastIndexOf(".")-1),this.tagsNodeStack.pop()):re=$.lastIndexOf("."),$=$.substring(0,re),y=this.tagsNodeStack.pop(),n="",k=j}else if(e[k+1]==="?"){let j=readTagExp(e,k,!1,"?>");if(!j)throw new Error("Pi Tag is not closed.");if(n=this.saveTextToParentTag(n,y,$),!(this.options.ignoreDeclaration&&j.tagName==="?xml"||this.options.ignorePiTags)){const V=new xmlNode(j.tagName);V.add(this.options.textNodeName,""),j.tagName!==j.tagExp&&j.attrExpPresent&&(V[":@"]=this.buildAttributesMap(j.tagExp,$,j.tagName)),this.addChild(y,V,$)}k=j.closeIndex+1}else if(e.substr(k+1,3)==="!--"){const j=findClosingIndex(e,"-->",k+4,"Comment is not closed.");if(this.options.commentPropName){const V=e.substring(k+4,j-2);n=this.saveTextToParentTag(n,y,$),y.add(this.options.commentPropName,[{[this.options.textNodeName]:V}])}k=j}else if(e.substr(k+1,2)==="!D"){const j=readDocType(e,k);this.docTypeEntities=j.entities,k=j.i}else if(e.substr(k+1,2)==="!["){const j=findClosingIndex(e,"]]>",k,"CDATA is not closed.")-2,V=e.substring(k+9,j);n=this.saveTextToParentTag(n,y,$);let z=this.parseTextData(V,y.tagname,$,!0,!1,!0,!0);z==null&&(z=""),this.options.cdataPropName?y.add(this.options.cdataPropName,[{[this.options.textNodeName]:V}]):y.add(this.options.textNodeName,z),k=j+2}else{let j=readTagExp(e,k,this.options.removeNSPrefix),V=j.tagName;const z=j.rawTagName;let re=j.tagExp,oe=j.attrExpPresent,ue=j.closeIndex;this.options.transformTagName&&(V=this.options.transformTagName(V)),y&&n&&y.tagname!=="!xml"&&(n=this.saveTextToParentTag(n,y,$,!1));const de=y;if(de&&this.options.unpairedTags.indexOf(de.tagname)!==-1&&(y=this.tagsNodeStack.pop(),$=$.substring(0,$.lastIndexOf("."))),V!==t.tagname&&($+=$?"."+V:V),this.isItStopNode(this.options.stopNodes,$,V)){let _e="";if(re.length>0&&re.lastIndexOf("/")===re.length-1)V[V.length-1]==="/"?(V=V.substr(0,V.length-1),$=$.substr(0,$.length-1),re=V):re=re.substr(0,re.length-1),k=j.closeIndex;else if(this.options.unpairedTags.indexOf(V)!==-1)k=j.closeIndex;else{const Ue=this.readStopNodeData(e,z,ue+1);if(!Ue)throw new Error(`Unexpected end of ${z}`);k=Ue.i,_e=Ue.tagContent}const Ne=new xmlNode(V);V!==re&&oe&&(Ne[":@"]=this.buildAttributesMap(re,$,V)),_e&&(_e=this.parseTextData(_e,V,$,!0,oe,!0,!0)),$=$.substr(0,$.lastIndexOf(".")),Ne.add(this.options.textNodeName,_e),this.addChild(y,Ne,$)}else{if(re.length>0&&re.lastIndexOf("/")===re.length-1){V[V.length-1]==="/"?(V=V.substr(0,V.length-1),$=$.substr(0,$.length-1),re=V):re=re.substr(0,re.length-1),this.options.transformTagName&&(V=this.options.transformTagName(V));const _e=new xmlNode(V);V!==re&&oe&&(_e[":@"]=this.buildAttributesMap(re,$,V)),this.addChild(y,_e,$),$=$.substr(0,$.lastIndexOf("."))}else{const _e=new xmlNode(V);this.tagsNodeStack.push(y),V!==re&&oe&&(_e[":@"]=this.buildAttributesMap(re,$,V)),this.addChild(y,_e,$),y=_e}n="",k=ue}}else n+=e[k];return t.child};function addChild(e,t,y){const n=this.options.updateTag(t.tagname,y,t[":@"]);n===!1||(typeof n=="string"&&(t.tagname=n),e.addChild(t))}const replaceEntitiesValue$1=function(e){if(this.options.processEntities){for(let t in this.docTypeEntities){const y=this.docTypeEntities[t];e=e.replace(y.regx,y.val)}for(let t in this.lastEntities){const y=this.lastEntities[t];e=e.replace(y.regex,y.val)}if(this.options.htmlEntities)for(let t in this.htmlEntities){const y=this.htmlEntities[t];e=e.replace(y.regex,y.val)}e=e.replace(this.ampEntity.regex,this.ampEntity.val)}return e};function saveTextToParentTa
`;function toXml(e,t){let y="";return t.format&&t.indentBy.length>0&&(y=EOL),arrToStr(e,t,"",y)}function arrToStr(e,t,y,n){let $="",k=!1;for(let L=0;L<e.length;L++){const j=e[L],V=propName(j);if(V===void 0)continue;let z="";if(y.length===0?z=V:z=`${y}.${V}`,V===t.textNodeName){let _e=j[V];isStopNode(z,t)||(_e=t.tagValueProcessor(V,_e),_e=replaceEntitiesValue(_e,t)),k&&($+=n),$+=_e,k=!1;continue}else if(V===t.cdataPropName){k&&($+=n),$+=`<![CDATA[${j[V][0][t.textNodeName]}]]>`,k=!1;continue}else if(V===t.commentPropName){$+=n+`<!--${j[V][0][t.textNodeName]}-->`,k=!0;continue}else if(V[0]==="?"){const _e=attr_to_str(j[":@"],t),Ne=V==="?xml"?"":n;let Ue=j[V][0][t.textNodeName];Ue=Ue.length!==0?" "+Ue:"",$+=Ne+`<${V}${Ue}${_e}?>`,k=!0;continue}let re=n;re!==""&&(re+=t.indentBy);const oe=attr_to_str(j[":@"],t),ue=n+`<${V}${oe}`,de=arrToStr(j[V],t,z,re);t.unpairedTags.indexOf(V)!==-1?t.suppressUnpairedNode?$+=ue+">":$+=ue+"/>":(!de||de.length===0)&&t.suppressEmptyNode?$+=ue+"/>":de&&de.endsWith(">")?$+=ue+`>${de}${n}</${V}>`:($+=ue+">",de&&n!==""&&(de.includes("/>")||de.includes("</"))?$+=n+t.indentBy+de+n:$+=de,$+=`</${V}>`),k=!0}return $}function propName(e){const t=Object.keys(e);for(let y=0;y<t.length;y++){const n=t[y];if(e.hasOwnProperty(n)&&n!==":@")return n}}function attr_to_str(e,t){let y="";if(e&&!t.ignoreAttributes)for(let n in e){if(!e.hasOwnProperty(n))continue;let $=t.attributeValueProcessor(n,e[n]);$=replaceEntitiesValue($,t),$===!0&&t.suppressBooleanAttributes?y+=` ${n.substr(t.attributeNamePrefix.length)}`:y+=` ${n.substr(t.attributeNamePrefix.length)}="${$}"`}return y}function isStopNode(e,t){e=e.substr(0,e.length-t.textNodeName.length-1);let y=e.substr(e.lastIndexOf(".")+1);for(let n in t.stopNodes)if(t.stopNodes[n]===e||t.stopNodes[n]==="*."+y)return!0;return!1}function replaceEntitiesValue(e,t){if(e&&e.length>0&&t.processEntities)for(let y=0;y<t.entities.length;y++){const n=t.entities[y];e=e.replace(n.regex,n.val)}return e}var orderedJs2Xml=toXml;const buildFromOrderedJs=orderedJs2Xml,defaultOptions={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},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(e){this.options=Object.assign({},defaultOptions,e),this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(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(e){return this.options.preserveOrder?buildFromOrderedJs(e,this.options):(Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e}),this.j2x(e,0).val)};Builder.prototype.j2x=function(e,t){let y="",n="";for(let $ in e)if(Object.prototype.hasOwnProperty.call(e,$))if(typeof e[$]>"u")this.isAttribute($)&&(n+="");else if(e[$]===null)this.isAttribute($)?n+="":$[0]==="?"?n+=this.indentate(t)+"<"+$+"?"+this.tagEndChar:n+=this.indentate(t)+"<"+$+"/"+this.tagEndChar;else if(e[$]instanceof Date)n+=this.buildTextValNode(e[$],$,"",t);else if(typeof e[$]!="object"){const k=this.isAttribute($);if(k)y+=this.buildAttrPairStr(k,""+e[$]);else if($===this.options.textNodeName){let L=this.options.tagValueProcessor($,""+e[$]);n+=this.replaceEntitiesValue(L)}else n+=this.buildTextValNode(e[$],$,"",t)}else if(Array.isArray(e[$])){const k=e[$].length;let L="",j="";for(let V=0;V<k;V++){const z=e[$][V];if(!(typeof z>"u"))if(z===null)$[0]==="?"?n+=this.indentate(t)+"<"+$+"?"+this.tagEndChar:n+=this.indentate(t)+"<"+$+"/"+this.tagEndChar;else if(typeof z=="object")if(this.options.oneListGroup){const re=this.j2x(z,t+1);L+=re.val,this.options.attributesGroupName&&z.hasOwnProperty(this.options.attributesGroupName)&&(j+=re.attrStr)}else L+=this.processTextOrObjNode(z,$,t);else if(this.options.oneListGroup){let re=this.options.tagValueProcessor($,z);re=this.replaceEntitiesValue(re),L+=re}else L+=this.buildTextValNode(z,$,"",t)}this.options.oneListGroup&&(L=this.buildObjectNode(L,$,j,t)),n+=L}else if(this.options.attributesGroupName&&$===this.options.attributesGroupName){const k=Object.keys(e[$]),L=k.length;for(let j=0;j<L;j++)y+=this.buildAttrPairStr(k[j],""+e[$][k[j]])}else n+=this.processTextOrObjNode(e[$],$,t);return{attrStr:y,val:n}};Builder.prototype.buildAttrPairStr=function(e,t){return t=this.options.attributeValueProcessor(e,""+t),t=this.replaceEntitiesValue(t),this.options.suppressBooleanAttributes&&t==="true"?" "+e:" "+e+'="'+t+'"'};function processTextOrObjNode(e,t,y){const n=this.j2x(e,y+1);return e[this.options.textNodeName]!==void 0&&Object.keys(e).length===1?this.buildTextValNode(e[this.options.textNodeName],t,n.attrStr,y):this.buildObjectNode(n.val,t,n.attrStr,y)}Builder.prototype.buildObjectNode=function(e,t,y,n){if(e==="")return t[0]==="?"?this.indentate(n)+"<"+t+y+"?"+this.tagEndChar:this.indentate(n)+"<"+t+y+this.closeTag(t)+this.tagEndChar;{let $="</"+t+this.tagEndChar,k="";return t[0]==="?"&&(k="?",$=""),(y||y==="")&&e.indexOf("<")===-1?this.indentate(n)+"<"+t+y+k+">"+e+$:this.options.commentPropName!==!1&&t===this.options.commentPropName&&k.length===0?this.indentate(n)+`<!--${e}-->`+this.newLine:this.indentate(n)+"<"+t+y+k+this.tagEndChar+e+this.indentate(n)+$}};Builder.prototype.closeTag=function(e){let t="";return this.options.unpairedTags.indexOf(e)!==-1?this.options.suppressUnpairedNode||(t="/"):this.options.suppressEmptyNode?t="/":t=`></${e}`,t};Builder.prototype.buildTextValNode=function(e,t,y,n){if(this.options.cdataPropName!==!1&&t===this.options.cdataPropName)return this.indentate(n)+`<![CDATA[${e}]]>`+this.newLine;if(this.options.commentPropName!==!1&&t===this.options.commentPropName)return this.indentate(n)+`<!--${e}-->`+this.newLine;if(t[0]==="?")return this.indentate(n)+"<"+t+y+"?"+this.tagEndChar;{let $=this.options.tagValueProcessor(t,e);return $=this.replaceEntitiesValue($),$===""?this.indentate(n)+"<"+t+y+this.closeTag(t)+this.tagEndChar:this.indentate(n)+"<"+t+y+">"+$+"</"+t+this.tagEndChar}};Builder.prototype.replaceEntitiesValue=function(e){if(e&&e.length>0&&this.options.processEntities)for(let t=0;t<this.options.entities.length;t++){const y=this.options.entities[t];e=e.replace(y.regex,y.val)}return e};function indentate(e){return this.options.indentBy.repeat(e)}function isAttribute(e){return e.startsWith(this.options.attributeNamePrefix)&&e!==this.options.textNodeName?e.substr(this.attrPrefixLen):!1}var json2xml=Builder;const validator$1=vali
`)+`
`),V.push(n.join(";").toLowerCase()),V.push($),V.join(`
`)}function getCredential(e,t,y,n="s3"){if(!(0,_helpers$6.isString)(e))throw new TypeError('accessKey should be of type "string"');if(!(0,_helpers$6.isString)(t))throw new TypeError('region should be of type "string"');if(!(0,_helpers$6.isObject)(y))throw new TypeError('requestDate should be of type "object"');return`${e}/${(0,_helpers$6.getScope)(t,y,n)}`}function getSignedHeaders(e){if(!(0,_helpers$6.isObject)(e))throw new TypeError('request should be of type "object"');const t=["authorization","content-length","content-type","user-agent"];return _lodash$1.default.map(e,(y,n)=>n).filter(y=>t.indexOf(y)===-1).sort()}function getSigningKey(e,t,y,n="s3"){if(!(0,_helpers$6.isObject)(e))throw new TypeError('date should be of type "object"');if(!(0,_helpers$6.isString)(t))throw new TypeError('region should be of type "string"');if(!(0,_helpers$6.isString)(y))throw new TypeError('secretKey should be of type "string"');const $=(0,_helpers$6.makeDateShort)(e);let k=_crypto$2.default.createHmac("sha256","AWS4"+y).update($).digest(),L=_crypto$2.default.createHmac("sha256",k).update(t).digest(),j=_crypto$2.default.createHmac("sha256",L).update(n).digest();return _crypto$2.default.createHmac("sha256",j).update("aws4_request").digest()}function getStringToSign(e,t,y,n="s3"){if(!(0,_helpers$6.isString)(e))throw new TypeError('canonicalRequest should be of type "string"');if(!(0,_helpers$6.isObject)(t))throw new TypeError('requestDate should be of type "object"');if(!(0,_helpers$6.isString)(y))throw new TypeError('region should be of type "string"');const $=_crypto$2.default.createHash("sha256").update(e).digest("hex"),k=(0,_helpers$6.getScope)(y,t,n),L=[];return L.push(signV4Algorithm),L.push((0,_helpers$6.makeDateLong)(t)),L.push(k),L.push($),L.join(`
`)}function postPresignSignatureV4(e,t,y,n){if(!(0,_helpers$6.isString)(e))throw new TypeError('region should be of type "string"');if(!(0,_helpers$6.isObject)(t))throw new TypeError('date should be of type "object"');if(!(0,_helpers$6.isString)(y))throw new TypeError('secretKey should be of type "string"');if(!(0,_helpers$6.isString)(n))throw new TypeError('policyBase64 should be of type "string"');const $=getSigningKey(t,e,y);return _crypto$2.default.createHmac("sha256",$).update(n).digest("hex").toLowerCase()}function signV4(e,t,y,n,$,k="s3"){if(!(0,_helpers$6.isObject)(e))throw new TypeError('request should be of type "object"');if(!(0,_helpers$6.isString)(t))throw new TypeError('accessKey should be of type "string"');if(!(0,_helpers$6.isString)(y))throw new TypeError('secretKey should be of type "string"');if(!(0,_helpers$6.isString)(n))throw new TypeError('region should be of type "string"');if(!t)throw new errors$3.AccessKeyRequiredError("accessKey is required for signing");if(!y)throw new errors$3.SecretKeyRequiredError("secretKey is required for signing");const L=e.headers["x-amz-content-sha256"],j=getSignedHeaders(e.headers),V=getCanonicalRequest(e.method,e.path,e.headers,j,L),z=k||"s3",re=getStringToSign(V,$,n,z),oe=getSigningKey($,n,y,z),ue=getCredential(t,n,$,z),de=_crypto$2.default.createHmac("sha256",oe).update(re).digest("hex").toLowerCase();return`${signV4Algorithm} Credential=${ue}, SignedHeaders=${j.join(";").toLowerCase()}, Signature=${de}`}function signV4ByServiceName(e,t,y,n,$,k="s3"){return signV4(e,t,y,n,$,k)}function presignSignatureV4(e,t,y,n,$,k,L){if(!(0,_helpers$6.isObject)(e))throw new TypeError('request should be of type "object"');if(!(0,_helpers$6.isString)(t))throw new TypeError('accessKey should be of type "string"');if(!(0,_helpers$6.isString)(y))throw new TypeError('secretKey should be of type "string"');if(!(0,_helpers$6.isString)($))throw new TypeError('region should be of type "string"');if(!t)throw new errors$3.AccessKeyRequiredError("accessKey is required for presigning");if(!y)throw new errors$3.SecretKeyRequiredError("secretKey is required for presigning");if(!(0,_helpers$6.isNumber)(L))throw new TypeError('expires should be of type "number"');if(L<1)throw new errors$3.ExpiresParamError("expires param cannot be less than 1 seconds");if(L>604800)throw new errors$3.ExpiresParamError("expires param cannot be greater than 7 days");const j=(0,_helpers$6.makeDateLong)(k),V=getSignedHeaders(e.headers),z=getCredential(t,$,k),re="UNSIGNED-PAYLOAD",oe=[];oe.push(`X-Amz-Algorithm=${signV4Algorithm}`),oe.push(`X-Amz-Credential=${(0,_helpers$6.uriEscape)(z)}`),oe.push(`X-Amz-Date=${j}`),oe.push(`X-Amz-Expires=${L}`),oe.push(`X-Amz-SignedHeaders=${(0,_helpers$6.uriEscape)(V.join(";").toLowerCase())}`),n&&oe.push(`X-Amz-Security-Token=${(0,_helpers$6.uriEscape)(n)}`);const ue=e.path.split("?")[0];let de=e.path.split("?")[1];de?de=de+"&"+oe.join("&"):de=oe.join("&");const _e=ue+"?"+de,Ne=getCanonicalRequest(e.method,_e,e.headers,V,re),Ue=getStringToSign(Ne,k,$),$e=getSigningKey(k,$,y),Ve=_crypto$2.default.createHmac("sha256",$e).update(Ue).digest("hex").toLowerCase();return e.protocol+"//"+e.headers.host+_e+`&X-Amz-Signature=${Ve}`}var objectUploader={},define_process_default$3={version:"v20.16.0",versions:{node:"20.16.0",acorn:"8.11.3",ada:"2.8.0",ares:"1.31.0",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.2.2",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.13+quic",simdutf:"5.2.8",tz:"2024a",undici:"6.19.2",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-209717d"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.16.0/node-v20.16.0.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.16.0/node-v20.16.0-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Int
`)}),this.logStream.write(`
`)};if(this.logStream.write(`REQUEST: ${kt.method} ${kt.path}
`),gr(kt.headers),he&&(this.logStream.write(`RESPONSE: ${he.statusCode}
`),gr(he.headers)),tr){this.logStream.write(`ERROR BODY:
`);var _r=JSON.stringify(tr,null," ");this.logStream.write(`${_r}
`)}}}traceOn(kt){kt||(kt=t.stdout),this.logStream=kt}traceOff(){this.logStream=null}makeRequest(kt,he,tr,gr,_r,yr){if(!(0,Ue.isObject)(kt))throw new TypeError('options should be of type "object"');if(!(0,Ue.isString)(he)&&!(0,Ue.isObject)(he))throw new TypeError('payload should be of type "string" or "Buffer"');if(tr.forEach(Tr=>{if(!(0,Ue.isNumber)(Tr))throw new TypeError('statusCode should be of type "number"')}),!(0,Ue.isString)(gr))throw new TypeError('region should be of type "string"');if(!(0,Ue.isBoolean)(_r))throw new TypeError('returnResponse should be of type "boolean"');if(!(0,Ue.isFunction)(yr))throw new TypeError('callback should be of type "function"');kt.headers||(kt.headers={}),(kt.method==="POST"||kt.method==="PUT"||kt.method==="DELETE")&&(kt.headers["content-length"]=he.length);var xr="";this.enableSHA256&&(xr=(0,Ue.toSha256)(he));var Nr=(0,Ue.readableStream)(he);this.makeRequestStream(kt,Nr,xr,tr,gr,_r,yr)}makeRequestStream(kt,he,tr,gr,_r,yr,xr){if(!(0,Ue.isObject)(kt))throw new TypeError('options should be of type "object"');if(!(0,Ue.isReadableStream)(he))throw new qe.InvalidArgumentError("stream should be a readable Stream");if(!(0,Ue.isString)(tr))throw new TypeError('sha256sum should be of type "string"');if(gr.forEach(Tr=>{if(!(0,Ue.isNumber)(Tr))throw new TypeError('statusCode should be of type "number"')}),!(0,Ue.isString)(_r))throw new TypeError('region should be of type "string"');if(!(0,Ue.isBoolean)(yr))throw new TypeError('returnResponse should be of type "boolean"');if(!(0,Ue.isFunction)(xr))throw new TypeError('callback should be of type "function"');if(!this.enableSHA256&&tr.length!==0)throw new qe.InvalidArgumentError("sha256sum expected to be empty for anonymous or https requests");if(this.enableSHA256&&tr.length!==64)throw new qe.InvalidArgumentError(`Invalid sha256sum : ${tr}`);var Nr=(Tr,Sr)=>{if(Tr)return xr(Tr);kt.region=Sr;var Ar=this.getRequestOptions(kt);if(!this.anonymous){this.enableSHA256||(tr="UNSIGNED-PAYLOAD");let Dr=new Date;Ar.headers["x-amz-date"]=(0,Ue.makeDateLong)(Dr),Ar.headers["x-amz-content-sha256"]=tr,this.sessionToken&&(Ar.headers["x-amz-security-token"]=this.sessionToken),this.checkAndRefreshCreds();var Fr=(0,$e.signV4)(Ar,this.accessKey,this.secretKey,Sr,Dr);Ar.headers.authorization=Fr}var Gr=this.transport.request(Ar,Dr=>{if(!gr.includes(Dr.statusCode)){delete this.regionMap[kt.bucketName];var Ir=Fe.getErrorTransformer(Dr);(0,Ue.pipesetup)(Dr,Ir).on("error",Br=>{this.logHTTP(Ar,Dr,Br),xr(Br)});return}if(this.logHTTP(Ar,Dr),yr)return xr(null,Dr);Dr.on("data",()=>{}),xr(null)});(0,Ue.pipesetup)(he,Gr).on("error",Dr=>{this.logHTTP(Ar,null,Dr),xr(Dr)})};if(_r)return Nr(null,_r);this.getBucketRegion(kt.bucketName,Nr)}getBucketRegion(kt,he){if(!(0,Ue.isValidBucketName)(kt))throw new qe.InvalidBucketNameError(`Invalid bucket name : ${kt}`);if(!(0,Ue.isFunction)(he))throw new TypeError('cb should be of type "function"');if(this.region)return he(null,this.region);if(this.regionMap[kt])return he(null,this.regionMap[kt]);var tr=xr=>{var Nr=Fe.getBucketRegionTransformer(),Tr=Ue.DEFAULT_REGION;(0,Ue.pipesetup)(xr,Nr).on("error",he).on("data",Sr=>{Sr&&(Tr=Sr)}).on("end",()=>{this.regionMap[kt]=Tr,he(null,Tr)})},gr="GET",_r="location",yr=this.pathStyle&&typeof window>"u";this.makeRequest({method:gr,bucketName:kt,query:_r,pathStyle:yr},"",[200],Ue.DEFAULT_REGION,!0,(xr,Nr)=>{if(xr){if(xr.name==="AuthorizationHeaderMalformed"){var Tr=xr.Region;if(!Tr)return he(xr);this.makeRequest({method:gr,bucketName:kt,query:_r},"",[200],Tr,!0,(Sr,Ar)=>{if(Sr)return he(Sr);tr(Ar)});return}return he(xr)}tr(Nr)})}makeBucket(kt,he,tr={},gr){if(!(0,Ue.isValidBucketName)(kt))throw new qe.InvalidBucketNameError("Invalid bucket name: "+kt);if((0,Ue.isObject)(he)&&(gr=tr,tr=he,he=""),(0,Ue.isFunction)(he)&&(gr=he,he="",tr={}),(0,Ue.isFunction)(tr)&&(gr=tr,tr={}),!(0,Ue.isString)(he))throw new TypeError('region should be of type "string"');if(!(0,Ue.isObject)(tr))throw new TypeError('makeOpts should be of type "object"');if(!(0,Ue.isFunction)(gr))throw new TypeError('callback should be of type "
`).forEach(function($e){if($e){var Ve=$e.indexOf(":"),Fe=$e.substr(0,Ve).trim().toLowerCase(),qe=$e.substr(Ve+1).trim();Ne[Fe]=qe}}),{error:ue,statusCode:de.status,statusMessage:de.statusText,headers:Ne,body:_e}},z=function(ue,de){return!de&&de==="text"?ue.responseText:ue.response},re=function(ue,de){var _e=(ue.method||"GET").toUpperCase(),Ne=ue.url;if(ue.qs){var Ue=j(ue.qs);Ue&&(Ne+=(Ne.indexOf("?")===-1?"?":"&")+Ue)}var $e=new XMLHttpRequest;if($e.open(_e,Ne,!0),$e.responseType=ue.dataType||"text",ue.xhrFields)for(var Ve in ue.xhrFields)$e[Ve]=ue.xhrFields[Ve];var Fe=ue.headers;if(Fe)for(var qe in Fe)Fe.hasOwnProperty(qe)&&qe.toLowerCase()!=="content-length"&&qe.toLowerCase()!=="user-agent"&&qe.toLowerCase()!=="origin"&&qe.toLowerCase()!=="host"&&$e.setRequestHeader(qe,Fe[qe]);return ue.onProgress&&$e.upload&&($e.upload.onprogress=ue.onProgress),ue.onDownloadProgress&&($e.onprogress=ue.onDownloadProgress),ue.timeout&&($e.timeout=ue.timeout),$e.ontimeout=function(er){var ir=new Error("timeout");de(V(ir,$e))},$e.onload=function(){de(V(null,$e,z($e,ue.dataType)))},$e.onerror=function(er){var ir=z($e,ue.dataType);if(ir)de(V(null,$e,ir));else{var dr=$e.statusText;!dr&&$e.status===0&&(dr=new Error("CORS blocked or network error")),de(V(dr,$e,ir))}},$e.send(ue.body||""),$e};y.exports=re},"./node_modules/@babel/runtime/helpers/classCallCheck.js":function(y,n){function $(k,L){if(!(k instanceof L))throw new TypeError("Cannot call a class as a function")}y.exports=$,y.exports.__esModule=!0,y.exports.default=y.exports},"./node_modules/@babel/runtime/helpers/createClass.js":function(y,n,$){var k=$("./node_modules/@babel/runtime/helpers/toPropertyKey.js");function L(V,z){for(var re=0;re<z.length;re++){var oe=z[re];oe.enumerable=oe.enumerable||!1,oe.configurable=!0,"value"in oe&&(oe.writable=!0),Object.defineProperty(V,k(oe.key),oe)}}function j(V,z,re){return z&&L(V.prototype,z),re&&L(V,re),Object.defineProperty(V,"prototype",{writable:!1}),V}y.exports=j,y.exports.__esModule=!0,y.exports.default=y.exports},"./node_modules/@babel/runtime/helpers/toPrimitive.js":function(y,n,$){var k=$("./node_modules/@babel/runtime/helpers/typeof.js").default;function L(j,V){if(k(j)!=="object"||j===null)return j;var z=j[Symbol.toPrimitive];if(z!==void 0){var re=z.call(j,V||"default");if(k(re)!=="object")return re;throw new TypeError("@@toPrimitive must return a primitive value.")}return(V==="string"?String:Number)(j)}y.exports=L,y.exports.__esModule=!0,y.exports.default=y.exports},"./node_modules/@babel/runtime/helpers/toPropertyKey.js":function(y,n,$){var k=$("./node_modules/@babel/runtime/helpers/typeof.js").default,L=$("./node_modules/@babel/runtime/helpers/toPrimitive.js");function j(V){var z=L(V,"string");return k(z)==="symbol"?z:String(z)}y.exports=j,y.exports.__esModule=!0,y.exports.default=y.exports},"./node_modules/@babel/runtime/helpers/typeof.js":function(y,n){function $(k){"@babel/helpers - typeof";return y.exports=$=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(L){return typeof L}:function(L){return L&&typeof Symbol=="function"&&L.constructor===Symbol&&L!==Symbol.prototype?"symbol":typeof L},y.exports.__esModule=!0,y.exports.default=y.exports,$(k)}y.exports=$,y.exports.__esModule=!0,y.exports.default=y.exports},"./node_modules/fast-xml-parser/src/fxp.js":function(y,n,$){const k=$("./node_modules/fast-xml-parser/src/validator.js"),L=$("./node_modules/fast-xml-parser/src/xmlparser/XMLParser.js"),j=$("./node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js");y.exports={XMLParser:L,XMLValidator:k,XMLBuilder:j}},"./node_modules/fast-xml-parser/src/util.js":function(y,n,$){const k=":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",L=k+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",j="["+k+"]["+L+"]*",V=new RegExp("^"+j+"$"),z=function(oe,ue){const de=[];let _e=ue.exec(oe);for(;_e;){const Ne=[];Ne.startIndex=ue.lastIndex-_e[0].length;const Ue=_e.length;for(let $e=0;$e<Ue;$e++)Ne.push(_e[$e]);de.pu
`&&ir[Et]!=="\r";Et++)Ce+=ir[Et];if(Ce=Ce.trim(),Ce[Ce.length-1]==="/"&&(Ce=Ce.substring(0,Ce.length-1),Et--),!Fe(Ce)){let ar;return Ce.trim().length===0?ar="Invalid space after '<'.":ar="Tag '"+Ce+"' is an invalid name.",$e("InvalidTag",ar,qe(ir,Et))}const Ie=ue(ir,Et);if(Ie===!1)return $e("InvalidAttr","Attributes for '"+Ce+"' have open quote.",qe(ir,Et));let jt=Ie.value;if(Et=Ie.index,jt[jt.length-1]==="/"){const ar=Et-jt.length;jt=jt.substring(0,jt.length-1);const ur=_e(jt,dr);if(ur===!0)nr=!0;else return $e(ur.err.code,ur.err.msg,qe(ir,ar+ur.err.line))}else if(pe)if(Ie.tagClosed){if(jt.trim().length>0)return $e("InvalidTag","Closing tag '"+Ce+"' can't have attributes or invalid starting.",qe(ir,ie));if(cr.length===0)return $e("InvalidTag","Closing tag '"+Ce+"' has not been opened.",qe(ir,ie));{const ar=cr.pop();if(Ce!==ar.tagName){let ur=qe(ir,ar.tagStartPos);return $e("InvalidTag","Expected closing tag '"+ar.tagName+"' (opened in line "+ur.line+", col "+ur.col+") instead of closing tag '"+Ce+"'.",qe(ir,ie))}cr.length==0&&(lr=!0)}}else return $e("InvalidTag","Closing tag '"+Ce+"' doesn't have proper closing.",qe(ir,Et));else{const ar=_e(jt,dr);if(ar!==!0)return $e(ar.err.code,ar.err.msg,qe(ir,Et-jt.length+ar.err.line));if(lr===!0)return $e("InvalidXml","Multiple possible root nodes found.",qe(ir,Et));dr.unpairedTags.indexOf(Ce)!==-1||cr.push({tagName:Ce,tagStartPos:ie}),nr=!0}for(Et++;Et<ir.length;Et++)if(ir[Et]==="<")if(ir[Et+1]==="!"){Et++,Et=z(ir,Et);continue}else if(ir[Et+1]==="?"){if(Et=V(ir,++Et),Et.err)return Et}else break;else if(ir[Et]==="&"){const ar=Ue(ir,Et);if(ar==-1)return $e("InvalidChar","char '&' is not expected.",qe(ir,Et));Et=ar}else if(lr===!0&&!j(ir[Et]))return $e("InvalidXml","Extra text at the end",qe(ir,Et));ir[Et]==="<"&&Et--}}else{if(j(ir[Et]))continue;return $e("InvalidChar","char '"+ir[Et]+"' is not expected.",qe(ir,Et))}if(nr){if(cr.length==1)return $e("InvalidTag","Unclosed tag '"+cr[0].tagName+"'.",qe(ir,cr[0].tagStartPos));if(cr.length>0)return $e("InvalidXml","Invalid '"+JSON.stringify(cr.map(Et=>Et.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return $e("InvalidXml","Start tag expected.",1);return!0};function j(ir){return ir===" "||ir===" "||ir===`
`||ir==="\r"}function V(ir,dr){const cr=dr;for(;dr<ir.length;dr++)if(ir[dr]=="?"||ir[dr]==" "){const nr=ir.substr(cr,dr-cr);if(dr>5&&nr==="xml")return $e("InvalidXml","XML declaration allowed only at the start of the document.",qe(ir,dr));if(ir[dr]=="?"&&ir[dr+1]==">"){dr++;break}else continue}return dr}function z(ir,dr){if(ir.length>dr+5&&ir[dr+1]==="-"&&ir[dr+2]==="-"){for(dr+=3;dr<ir.length;dr++)if(ir[dr]==="-"&&ir[dr+1]==="-"&&ir[dr+2]===">"){dr+=2;break}}else if(ir.length>dr+8&&ir[dr+1]==="D"&&ir[dr+2]==="O"&&ir[dr+3]==="C"&&ir[dr+4]==="T"&&ir[dr+5]==="Y"&&ir[dr+6]==="P"&&ir[dr+7]==="E"){let cr=1;for(dr+=8;dr<ir.length;dr++)if(ir[dr]==="<")cr++;else if(ir[dr]===">"&&(cr--,cr===0))break}else if(ir.length>dr+9&&ir[dr+1]==="["&&ir[dr+2]==="C"&&ir[dr+3]==="D"&&ir[dr+4]==="A"&&ir[dr+5]==="T"&&ir[dr+6]==="A"&&ir[dr+7]==="["){for(dr+=8;dr<ir.length;dr++)if(ir[dr]==="]"&&ir[dr+1]==="]"&&ir[dr+2]===">"){dr+=2;break}}return dr}const re='"',oe="'";function ue(ir,dr){let cr="",nr="",lr=!1;for(;dr<ir.length;dr++){if(ir[dr]===re||ir[dr]===oe)nr===""?nr=ir[dr]:nr!==ir[dr]||(nr="");else if(ir[dr]===">"&&nr===""){lr=!0;break}cr+=ir[dr]}return nr!==""?!1:{value:cr,index:dr,tagClosed:lr}}const de=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function _e(ir,dr){const cr=k.getAllMatches(ir,de),nr={};for(let lr=0;lr<cr.length;lr++){if(cr[lr][1].length===0)return $e("InvalidAttr","Attribute '"+cr[lr][2]+"' has no space in starting.",er(cr[lr]));if(cr[lr][3]!==void 0&&cr[lr][4]===void 0)return $e("InvalidAttr","Attribute '"+cr[lr][2]+"' is without value.",er(cr[lr]));if(cr[lr][3]===void 0&&!dr.allowBooleanAttributes)return $e("InvalidAttr","boolean attribute '"+cr[lr][2]+"' is not allowed.",er(cr[lr]));const Et=cr[lr][2];if(!Ve(Et))return $e("InvalidAttr","Attribute '"+Et+"' is an invalid name.",er(cr[lr]));if(!nr.hasOwnProperty(Et))nr[Et]=1;else return $e("InvalidAttr","Attribute '"+Et+"' is repeated.",er(cr[lr]))}return!0}function Ne(ir,dr){let cr=/\d/;for(ir[dr]==="x"&&(dr++,cr=/[\da-fA-F]/);dr<ir.length;dr++){if(ir[dr]===";")return dr;if(!ir[dr].match(cr))break}return-1}function Ue(ir,dr){if(dr++,ir[dr]===";")return-1;if(ir[dr]==="#")return dr++,Ne(ir,dr);let cr=0;for(;dr<ir.length;dr++,cr++)if(!(ir[dr].match(/\w/)&&cr<20)){if(ir[dr]===";")break;return-1}return dr}function $e(ir,dr,cr){return{err:{code:ir,msg:dr,line:cr.line||cr,col:cr.col}}}function Ve(ir){return k.isName(ir)}function Fe(ir){return k.isName(ir)}function qe(ir,dr){const cr=ir.substring(0,dr).split(/\r?\n/);return{line:cr.length,col:cr[cr.length-1].length+1}}function er(ir){return ir.startIndex+ir[1].length}},"./node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js":function(y,n,$){const k=$("./node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js"),L={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(oe,ue){return ue},attributeValueProcessor:function(oe,ue){return ue},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 j(oe){this.options=Object.assign({},L,oe),this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=re),this.processTextOrObjNode=V,this.options.format?(this.indentate=z,this.tagEndChar=`>
`,this.newLine=`
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}j.prototype.build=function(oe){return this.options.preserveOrder?k(oe,this.options):(Array.isArray(oe)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(oe={[this.options.arrayNodeName]:oe}),this.j2x(oe,0).val)},j.prototype.j2x=function(oe,ue){let de="",_e="";for(let Ne in oe)if(Object.prototype.hasOwnProperty.call(oe,Ne))if(typeof oe[Ne]>"u")this.isAttribute(Ne)&&(_e+="");else if(oe[Ne]===null)this.isAttribute(Ne)?_e+="":Ne[0]==="?"?_e+=this.indentate(ue)+"<"+Ne+"?"+this.tagEndChar:_e+=this.indentate(ue)+"<"+Ne+"/"+this.tagEndChar;else if(oe[Ne]instanceof Date)_e+=this.buildTextValNode(oe[Ne],Ne,"",ue);else if(typeof oe[Ne]!="object"){const Ue=this.isAttribute(Ne);if(Ue)de+=this.buildAttrPairStr(Ue,""+oe[Ne]);else if(Ne===this.options.textNodeName){let $e=this.options.tagValueProcessor(Ne,""+oe[Ne]);_e+=this.replaceEntitiesValue($e)}else _e+=this.buildTextValNode(oe[Ne],Ne,"",ue)}else if(Array.isArray(oe[Ne])){const Ue=oe[Ne].length;let $e="";for(let Ve=0;Ve<Ue;Ve++){const Fe=oe[Ne][Ve];typeof Fe>"u"||(Fe===null?Ne[0]==="?"?_e+=this.indentate(ue)+"<"+Ne+"?"+this.tagEndChar:_e+=this.indentate(ue)+"<"+Ne+"/"+this.tagEndChar:typeof Fe=="object"?this.options.oneListGroup?$e+=this.j2x(Fe,ue+1).val:$e+=this.processTextOrObjNode(Fe,Ne,ue):$e+=this.buildTextValNode(Fe,Ne,"",ue))}this.options.oneListGroup&&($e=this.buildObjectNode($e,Ne,"",ue)),_e+=$e}else if(this.options.attributesGroupName&&Ne===this.options.attributesGroupName){const Ue=Object.keys(oe[Ne]),$e=Ue.length;for(let Ve=0;Ve<$e;Ve++)de+=this.buildAttrPairStr(Ue[Ve],""+oe[Ne][Ue[Ve]])}else _e+=this.processTextOrObjNode(oe[Ne],Ne,ue);return{attrStr:de,val:_e}},j.prototype.buildAttrPairStr=function(oe,ue){return ue=this.options.attributeValueProcessor(oe,""+ue),ue=this.replaceEntitiesValue(ue),this.options.suppressBooleanAttributes&&ue==="true"?" "+oe:" "+oe+'="'+ue+'"'};function V(oe,ue,de){const _e=this.j2x(oe,de+1);return oe[this.options.textNodeName]!==void 0&&Object.keys(oe).length===1?this.buildTextValNode(oe[this.options.textNodeName],ue,_e.attrStr,de):this.buildObjectNode(_e.val,ue,_e.attrStr,de)}j.prototype.buildObjectNode=function(oe,ue,de,_e){if(oe==="")return ue[0]==="?"?this.indentate(_e)+"<"+ue+de+"?"+this.tagEndChar:this.indentate(_e)+"<"+ue+de+this.closeTag(ue)+this.tagEndChar;{let Ne="</"+ue+this.tagEndChar,Ue="";return ue[0]==="?"&&(Ue="?",Ne=""),(de||de==="")&&oe.indexOf("<")===-1?this.indentate(_e)+"<"+ue+de+Ue+">"+oe+Ne:this.options.commentPropName!==!1&&ue===this.options.commentPropName&&Ue.length===0?this.indentate(_e)+`<!--${oe}-->`+this.newLine:this.indentate(_e)+"<"+ue+de+Ue+this.tagEndChar+oe+this.indentate(_e)+Ne}},j.prototype.closeTag=function(oe){let ue="";return this.options.unpairedTags.indexOf(oe)!==-1?this.options.suppressUnpairedNode||(ue="/"):this.options.suppressEmptyNode?ue="/":ue=`></${oe}`,ue},j.prototype.buildTextValNode=function(oe,ue,de,_e){if(this.options.cdataPropName!==!1&&ue===this.options.cdataPropName)return this.indentate(_e)+`<![CDATA[${oe}]]>`+this.newLine;if(this.options.commentPropName!==!1&&ue===this.options.commentPropName)return this.indentate(_e)+`<!--${oe}-->`+this.newLine;if(ue[0]==="?")return this.indentate(_e)+"<"+ue+de+"?"+this.tagEndChar;{let Ne=this.options.tagValueProcessor(ue,oe);return Ne=this.replaceEntitiesValue(Ne),Ne===""?this.indentate(_e)+"<"+ue+de+this.closeTag(ue)+this.tagEndChar:this.indentate(_e)+"<"+ue+de+">"+Ne+"</"+ue+this.tagEndChar}},j.prototype.replaceEntitiesValue=function(oe){if(oe&&oe.length>0&&this.options.processEntities)for(let ue=0;ue<this.options.entities.length;ue++){const de=this.options.entities[ue];oe=oe.replace(de.regex,de.val)}return oe};function z(oe){return this.options.indentBy.repeat(oe)}function re(oe){return oe.startsWith(this.options.attributeNamePrefix)&&oe!==this.options.textNodeName?oe.substr(this.attrPrefixLen):!1}y.exports=j},"./node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js":function(y,n){const $=`
`;function k(oe,ue){let de="";return ue.format&&ue.indentBy.length>0&&(de=$),L(oe,ue,"",de)}function L(oe,ue,de,_e){let Ne="",Ue=!1;for(let $e=0;$e<oe.length;$e++){const Ve=oe[$e],Fe=j(Ve);if(Fe===void 0)continue;let qe="";if(de.length===0?qe=Fe:qe=`${de}.${Fe}`,Fe===ue.textNodeName){let nr=Ve[Fe];z(qe,ue)||(nr=ue.tagValueProcessor(Fe,nr),nr=re(nr,ue)),Ue&&(Ne+=_e),Ne+=nr,Ue=!1;continue}else if(Fe===ue.cdataPropName){Ue&&(Ne+=_e),Ne+=`<![CDATA[${Ve[Fe][0][ue.textNodeName]}]]>`,Ue=!1;continue}else if(Fe===ue.commentPropName){Ne+=_e+`<!--${Ve[Fe][0][ue.textNodeName]}-->`,Ue=!0;continue}else if(Fe[0]==="?"){const nr=V(Ve[":@"],ue),lr=Fe==="?xml"?"":_e;let Et=Ve[Fe][0][ue.textNodeName];Et=Et.length!==0?" "+Et:"",Ne+=lr+`<${Fe}${Et}${nr}?>`,Ue=!0;continue}let er=_e;er!==""&&(er+=ue.indentBy);const ir=V(Ve[":@"],ue),dr=_e+`<${Fe}${ir}`,cr=L(Ve[Fe],ue,qe,er);ue.unpairedTags.indexOf(Fe)!==-1?ue.suppressUnpairedNode?Ne+=dr+">":Ne+=dr+"/>":(!cr||cr.length===0)&&ue.suppressEmptyNode?Ne+=dr+"/>":cr&&cr.endsWith(">")?Ne+=dr+`>${cr}${_e}</${Fe}>`:(Ne+=dr+">",cr&&_e!==""&&(cr.includes("/>")||cr.includes("</"))?Ne+=_e+ue.indentBy+cr+_e:Ne+=cr,Ne+=`</${Fe}>`),Ue=!0}return Ne}function j(oe){const ue=Object.keys(oe);for(let de=0;de<ue.length;de++){const _e=ue[de];if(oe.hasOwnProperty(_e)&&_e!==":@")return _e}}function V(oe,ue){let de="";if(oe&&!ue.ignoreAttributes)for(let _e in oe){if(!oe.hasOwnProperty(_e))continue;let Ne=ue.attributeValueProcessor(_e,oe[_e]);Ne=re(Ne,ue),Ne===!0&&ue.suppressBooleanAttributes?de+=` ${_e.substr(ue.attributeNamePrefix.length)}`:de+=` ${_e.substr(ue.attributeNamePrefix.length)}="${Ne}"`}return de}function z(oe,ue){oe=oe.substr(0,oe.length-ue.textNodeName.length-1);let de=oe.substr(oe.lastIndexOf(".")+1);for(let _e in ue.stopNodes)if(ue.stopNodes[_e]===oe||ue.stopNodes[_e]==="*."+de)return!0;return!1}function re(oe,ue){if(oe&&oe.length>0&&ue.processEntities)for(let de=0;de<ue.entities.length;de++){const _e=ue.entities[de];oe=oe.replace(_e.regex,_e.val)}return oe}y.exports=k},"./node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js":function(y,n,$){const k=$("./node_modules/fast-xml-parser/src/util.js");function L(_e,Ne){const Ue={};if(_e[Ne+3]==="O"&&_e[Ne+4]==="C"&&_e[Ne+5]==="T"&&_e[Ne+6]==="Y"&&_e[Ne+7]==="P"&&_e[Ne+8]==="E"){Ne=Ne+9;let $e=1,Ve=!1,Fe=!1,qe="";for(;Ne<_e.length;Ne++)if(_e[Ne]==="<"&&!Fe){if(Ve&&z(_e,Ne))Ne+=7,[entityName,val,Ne]=j(_e,Ne+1),val.indexOf("&")===-1&&(Ue[de(entityName)]={regx:RegExp(`&${entityName};`,"g"),val});else if(Ve&&re(_e,Ne))Ne+=8;else if(Ve&&oe(_e,Ne))Ne+=8;else if(Ve&&ue(_e,Ne))Ne+=9;else if(V)Fe=!0;else throw new Error("Invalid DOCTYPE");$e++,qe=""}else if(_e[Ne]===">"){if(Fe?_e[Ne-1]==="-"&&_e[Ne-2]==="-"&&(Fe=!1,$e--):$e--,$e===0)break}else _e[Ne]==="["?Ve=!0:qe+=_e[Ne];if($e!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:Ue,i:Ne}}function j(_e,Ne){let Ue="";for(;Ne<_e.length&&_e[Ne]!=="'"&&_e[Ne]!=='"';Ne++)Ue+=_e[Ne];if(Ue=Ue.trim(),Ue.indexOf(" ")!==-1)throw new Error("External entites are not supported");const $e=_e[Ne++];let Ve="";for(;Ne<_e.length&&_e[Ne]!==$e;Ne++)Ve+=_e[Ne];return[Ue,Ve,Ne]}function V(_e,Ne){return _e[Ne+1]==="!"&&_e[Ne+2]==="-"&&_e[Ne+3]==="-"}function z(_e,Ne){return _e[Ne+1]==="!"&&_e[Ne+2]==="E"&&_e[Ne+3]==="N"&&_e[Ne+4]==="T"&&_e[Ne+5]==="I"&&_e[Ne+6]==="T"&&_e[Ne+7]==="Y"}function re(_e,Ne){return _e[Ne+1]==="!"&&_e[Ne+2]==="E"&&_e[Ne+3]==="L"&&_e[Ne+4]==="E"&&_e[Ne+5]==="M"&&_e[Ne+6]==="E"&&_e[Ne+7]==="N"&&_e[Ne+8]==="T"}function oe(_e,Ne){return _e[Ne+1]==="!"&&_e[Ne+2]==="A"&&_e[Ne+3]==="T"&&_e[Ne+4]==="T"&&_e[Ne+5]==="L"&&_e[Ne+6]==="I"&&_e[Ne+7]==="S"&&_e[Ne+8]==="T"}function ue(_e,Ne){return _e[Ne+1]==="!"&&_e[Ne+2]==="N"&&_e[Ne+3]==="O"&&_e[Ne+4]==="T"&&_e[Ne+5]==="A"&&_e[Ne+6]==="T"&&_e[Ne+7]==="I"&&_e[Ne+8]==="O"&&_e[Ne+9]==="N"}function de(_e){if(k.isName(_e))return _e;throw new Error(`Invalid entity name ${_e}`)}y.exports=L},"./node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js":function(y,n){const $={preserveOrder:!1,attributeNamePrefix:"@_",a
`);const lr=new L("!xml");let Et=lr,ie="",pe="";for(let Ce=0;Ce<nr.length;Ce++)if(nr[Ce]==="<")if(nr[Ce+1]==="/"){const jt=er(nr,">",Ce,"Closing Tag is not closed.");let ar=nr.substring(Ce+2,jt).trim();if(this.options.removeNSPrefix){const he=ar.indexOf(":");he!==-1&&(ar=ar.substr(he+1))}this.options.transformTagName&&(ar=this.options.transformTagName(ar)),Et&&(ie=this.saveTextToParentTag(ie,Et,pe));const ur=pe.substring(pe.lastIndexOf(".")+1);if(ar&&this.options.unpairedTags.indexOf(ar)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: </${ar}>`);let kt=0;ur&&this.options.unpairedTags.indexOf(ur)!==-1?(kt=pe.lastIndexOf(".",pe.lastIndexOf(".")-1),this.tagsNodeStack.pop()):kt=pe.lastIndexOf("."),pe=pe.substring(0,kt),Et=this.tagsNodeStack.pop(),ie="",Ce=jt}else if(nr[Ce+1]==="?"){let jt=ir(nr,Ce,!1,"?>");if(!jt)throw new Error("Pi Tag is not closed.");if(ie=this.saveTextToParentTag(ie,Et,pe),!(this.options.ignoreDeclaration&&jt.tagName==="?xml"||this.options.ignorePiTags)){const ar=new L(jt.tagName);ar.add(this.options.textNodeName,""),jt.tagName!==jt.tagExp&&jt.attrExpPresent&&(ar[":@"]=this.buildAttributesMap(jt.tagExp,pe,jt.tagName)),this.addChild(Et,ar,pe)}Ce=jt.closeIndex+1}else if(nr.substr(Ce+1,3)==="!--"){const jt=er(nr,"-->",Ce+4,"Comment is not closed.");if(this.options.commentPropName){const ar=nr.substring(Ce+4,jt-2);ie=this.saveTextToParentTag(ie,Et,pe),Et.add(this.options.commentPropName,[{[this.options.textNodeName]:ar}])}Ce=jt}else if(nr.substr(Ce+1,2)==="!D"){const jt=j(nr,Ce);this.docTypeEntities=jt.entities,Ce=jt.i}else if(nr.substr(Ce+1,2)==="!["){const jt=er(nr,"]]>",Ce,"CDATA is not closed.")-2,ar=nr.substring(Ce+9,jt);ie=this.saveTextToParentTag(ie,Et,pe);let ur=this.parseTextData(ar,Et.tagname,pe,!0,!1,!0,!0);ur==null&&(ur=""),this.options.cdataPropName?Et.add(this.options.cdataPropName,[{[this.options.textNodeName]:ar}]):Et.add(this.options.textNodeName,ur),Ce=jt+2}else{let jt=ir(nr,Ce,this.options.removeNSPrefix),ar=jt.tagName;const ur=jt.rawTagName;let kt=jt.tagExp,he=jt.attrExpPresent,tr=jt.closeIndex;this.options.transformTagName&&(ar=this.options.transformTagName(ar)),Et&&ie&&Et.tagname!=="!xml"&&(ie=this.saveTextToParentTag(ie,Et,pe,!1));const gr=Et;if(gr&&this.options.unpairedTags.indexOf(gr.tagname)!==-1&&(Et=this.tagsNodeStack.pop(),pe=pe.substring(0,pe.lastIndexOf("."))),ar!==lr.tagname&&(pe+=pe?"."+ar:ar),this.isItStopNode(this.options.stopNodes,pe,ar)){let _r="";if(kt.length>0&&kt.lastIndexOf("/")===kt.length-1)ar[ar.length-1]==="/"?(ar=ar.substr(0,ar.length-1),pe=pe.substr(0,pe.length-1),kt=ar):kt=kt.substr(0,kt.length-1),Ce=jt.closeIndex;else if(this.options.unpairedTags.indexOf(ar)!==-1)Ce=jt.closeIndex;else{const xr=this.readStopNodeData(nr,ur,tr+1);if(!xr)throw new Error(`Unexpected end of ${ur}`);Ce=xr.i,_r=xr.tagContent}const yr=new L(ar);ar!==kt&&he&&(yr[":@"]=this.buildAttributesMap(kt,pe,ar)),_r&&(_r=this.parseTextData(_r,ar,pe,!0,he,!0,!0)),pe=pe.substr(0,pe.lastIndexOf(".")),yr.add(this.options.textNodeName,_r),this.addChild(Et,yr,pe)}else{if(kt.length>0&&kt.lastIndexOf("/")===kt.length-1){ar[ar.length-1]==="/"?(ar=ar.substr(0,ar.length-1),pe=pe.substr(0,pe.length-1),kt=ar):kt=kt.substr(0,kt.length-1),this.options.transformTagName&&(ar=this.options.transformTagName(ar));const _r=new L(ar);ar!==kt&&he&&(_r[":@"]=this.buildAttributesMap(kt,pe,ar)),this.addChild(Et,_r,pe),pe=pe.substr(0,pe.lastIndexOf("."))}else{const _r=new L(ar);this.tagsNodeStack.push(Et),ar!==kt&&he&&(_r[":@"]=this.buildAttributesMap(kt,pe,ar)),this.addChild(Et,_r,pe),Et=_r}ie="",Ce=tr}}else ie+=nr[Ce];return lr.child};function Ue(nr,lr,Et){const ie=this.options.updateTag(lr.tagname,Et,lr[":@"]);ie===!1||(typeof ie=="string"&&(lr.tagname=ie),nr.addChild(lr))}const $e=function(nr){if(this.options.processEntities){for(let lr in this.docTypeEntities){const Et=this.docTypeEntities[lr];nr=nr.replace(Et.regx,Et.val)}for(let lr in this.lastEntities){const Et=this.lastEntities[lr];nr=nr.replace(Et.regex,Et.val)}if(this.options.htmlEntities)for(let lr in this.htmlEntities){const Et=this.htmlEntit
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Li=!0,ca=!1,fo;return{s:function(){Sn=Sn.call(Wr)},n:function(){var ki=Sn.next();return Li=ki.done,ki},e:function(ki){ca=!0,fo=ki},f:function(){try{!Li&&Sn.return!=null&&Sn.return()}finally{if(ca)throw fo}}}}function V(Wr,Ur){if(Wr){if(typeof Wr=="string")return z(Wr,Ur);var Sn=Object.prototype.toString.call(Wr).slice(8,-1);if(Sn==="Object"&&Wr.constructor&&(Sn=Wr.constructor.name),Sn==="Map"||Sn==="Set")return Array.from(Wr);if(Sn==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Sn))return z(Wr,Ur)}}function z(Wr,Ur){(Ur==null||Ur>Wr.length)&&(Ur=Wr.length);for(var Sn=0,Nn=new Array(Ur);Sn<Ur;Sn++)Nn[Sn]=Wr[Sn];return Nn}var re=$("./lib/md5.js"),oe=$("./lib/crypto.js"),ue=$("./node_modules/fast-xml-parser/src/fxp.js"),de=ue.XMLParser,_e=ue.XMLBuilder,Ne=new de({ignoreDeclaration:!0,ignoreAttributes:!0,parseTagValue:!1}),Ue=new _e,$e=$("./lib/base64.js"),Ve=$("./src/tracker.js"),Fe=function(Ur){var Sn=Ne.parse(Ur);return Sn},qe=function(Ur){var Sn=Ue.build(Ur);return Sn};function er(Wr){return encodeURIComponent(Wr).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A")}function ir(Wr,Ur){var Sn=[];for(var Nn in Wr)Wr.hasOwnProperty(Nn)&&Sn.push(Ur?er(Nn).toLowerCase():Nn);return Sn.sort(function(Sa,Li){return Sa=Sa.toLowerCase(),Li=Li.toLowerCase(),Sa===Li?0:Sa>Li?1:-1})}var dr=function(Ur,Sn){var Nn,Sa,Li,ca=[],fo=ir(Ur);for(Nn=0;Nn<fo.length;Nn++)Sa=fo[Nn],Li=Ur[Sa]===void 0||Ur[Sa]===null?"":""+Ur[Sa],Sa=Sn?er(Sa).toLowerCase():er(Sa),Li=er(Li)||"",ca.push(Sa+"="+Li);return ca.join("&")},cr=["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"],nr=function(Ur){var Sn={};for(var Nn in Ur){var Sa=Nn.toLowerCase();(Sa.indexOf("x-cos-")>-1||cr.indexOf(Sa)>-1)&&(Sn[Nn]=Ur[Nn])}return Sn},lr=function(Ur){Ur=Ur||{};var Sn=Ur.SecretId,Nn=Ur.SecretKey,Sa=Ur.KeyTime,Li=(Ur.method||Ur.Method||"get").toLowerCase(),ca=_r(Ur.Query||Ur.params||{}),fo=nr(_r(Ur.Headers||Ur.headers||{})),zn=Ur.Key||"",ki;Ur.UseRawKey?ki=Ur.Pathname||Ur.pathname||"/"+zn:(ki=Ur.Pathname||Ur.pathname||zn,ki.indexOf("/")!==0&&(ki="/"+ki));var Ra=Ur.ForceSignHost!==!1;if(!fo.Host&&!fo.host&&Ur.Bucket&&Ur.Region&&Ra&&(fo.Host=Ur.Bucket+".cos."+Ur.Region+".myqcloud.com"),!Sn)throw new Error("missing param SecretId");if(!Nn)throw new Error("missing param SecretKey");var _o=Math.round(jr(Ur.SystemClockOffset)/1e3)-1,eo=_o,tl=Ur.Expires||Ur.expires;tl===void 0?eo+=900:eo+=tl*1||0;var Es="sha1",Hs=Sn,Ts=Sa||_o+";"+eo,js=Sa||_o+";"+eo,Gs=ir(fo,!0).join(";").toLowerCase(),uc=ir(ca,!0).join(";").toLowerCase(),rl=oe.HmacSHA1(js,Nn).toString(),il=[Li,ki,Mn.obj2str(ca,!0),Mn.obj2str(fo,!0),""].join(`
`),bl=["sha1",Ts,oe.SHA1(il).toString(),""].join(`
`),Wa=oe.HmacSHA1(bl,rl).toString(),Ao=["q-sign-algorithm="+Es,"q-ak="+Hs,"q-sign-time="+Ts,"q-key-time="+js,"q-header-list="+Gs,"q-url-param-list="+uc,"q-signature="+Wa].join("&");return Ao},Et=function(Ur,Sn,Nn){var Sa=Sn/8,Li=Ur.slice(Nn,Nn+Sa);return new Uint8Array(Li).reverse(),new{8:Uint8Array,16:Uint16Array,32:Uint32Array}[Sn](Li)[0]},ie=function(Ur,Sn,Nn,Sa){var Li=Ur.slice(Sn,Nn),ca="";return new Uint8Array(Li).forEach(function(fo){ca+=String.fromCharCode(fo)}),Sa&&(ca=decodeURIComponent(escape(ca))),ca},pe=function(Ur){for(var Sn={},Nn=ie(Ur),Sa={records:[]};Ur.byteLength;){var Li=Et(Ur,32,0),ca=Et(Ur,32,4),fo=Li-ca-16,zn=0,ki;for(Ur=Ur.slice(12);zn<ca;){var Ra=Et(Ur,8,zn),_o=ie(Ur,zn+1,zn+1+Ra),eo=Et(Ur,16,zn+Ra+2),tl=ie(Ur,zn+Ra+4,zn+Ra+4+eo);Sn[_o]=tl,zn+=Ra+4+eo}if(Sn[":event-type"]==="Records")ki=ie(Ur,zn,zn+fo,!0),Sa.records.push(ki);else if(Sn[":event-type"]==="Stats")ki=ie(Ur,zn,zn+fo,!0),Sa.stats=Mn.xml2json(ki).Stats;else if(Sn[":event-type"]==="error"){var Es=Sn[":error-code"],Hs=Sn[":error-message"],Ts=new Error(Hs);Ts.message=Hs,Ts.name=Ts.code=Es,Sa.error=Ts}Ur=Ur.slice(zn+fo+4)}return{payload:Sa.records.join(""),body:Nn}},Ce=function(Ur){var Sn=this.options.CopySourceParser;if(Sn)return Sn(Ur);var Nn=Ur.match(/^([^.]+-\d+)\.cos(v6|-cdc|-cdz|-internal)?\.([^.]+)\.((myqcloud\.com)|(tencentcos\.cn))\/(.+)$/);return Nn?{Bucket:Nn[1],Region:Nn[3],Key:Nn[7]}:null},Ie=function(){},jt=function(Ur){var Sn={};for(var Nn in Ur)Ur.hasOwnProperty(Nn)&&Ur[Nn]!==void 0&&Ur[Nn]!==null&&(Sn[Nn]=Ur[Nn]);return Sn},ar=function(Ur,Sn){var Nn,Sa=new FileReader;FileReader.prototype.readAsBinaryString?(Nn=FileReader.prototype.readAsBinaryString,Sa.onload=function(){Sn(this.result)}):FileReader.prototype.readAsArrayBuffer?Nn=function(ca){var fo="",zn=new FileReader;zn.onload=function(ki){for(var Ra=new Uint8Array(zn.result),_o=Ra.byteLength,eo=0;eo<_o;eo++)fo+=String.fromCharCode(Ra[eo]);Sn(fo)},zn.readAsArrayBuffer(ca)}:console.error("FileReader not support readAsBinaryString"),Nn.call(Sa,Ur)},ur=function(){var Wr=function(Nn,Sa){Nn=Nn.split("."),Sa=Sa.split(".");for(var Li=0;Li<Sa.length;Li++)if(Nn[Li]!==Sa[Li])return parseInt(Nn[Li])>parseInt(Sa[Li])?1:-1;return 0},Ur=function(Nn){if(!Nn)return!1;var Sa=(Nn.match(/Chrome\/([.\d]+)/)||[])[1],Li=(Nn.match(/QBCore\/([.\d]+)/)||[])[1],ca=(Nn.match(/QQBrowser\/([.\d]+)/)||[])[1],fo=Sa&&Wr(Sa,"53.0.2785.116")<0&&Li&&Wr(Li,"3.53.991.400")<0&&ca&&Wr(ca,"9.0.2524.400")<=0||!1;return fo};return Ur(typeof navigator<"u"&&navigator.userAgent)}(),kt=function(Ur,Sn,Nn,Sa,Li){var ca;if(Ur.slice?ca=Ur.slice(Sn,Nn):Ur.mozSlice?ca=Ur.mozSlice(Sn,Nn):Ur.webkitSlice&&(ca=Ur.webkitSlice(Sn,Nn)),Sa&&ur){var fo=new FileReader;fo.onload=function(zn){ca=null,Li(new Blob([fo.result]))},fo.readAsArrayBuffer(ca)}else Li(ca)},he=function(Ur,Sn,Nn,Sa){Nn=Nn||Ie,Ur?typeof Sn=="string"?Nn(Mn.md5(Sn,!0)):Blob&&Sn instanceof Blob?Mn.getFileMd5(Sn,function(Li,ca){Nn(ca)},Sa):Nn():Nn()},tr=1024*1024,gr=function(Ur,Sn,Nn){var Sa=Ur.size,Li=0,ca=re.getCtx(),fo=function zn(ki){if(ki>=Sa){var Ra=ca.digest("hex");Sn(null,Ra);return}var _o=Math.min(Sa,ki+tr);Mn.fileSlice(Ur,ki,_o,!1,function(eo){ar(eo,function(tl){eo=null,ca=ca.update(tl,!0),Li+=tl.length,tl=null,Nn&&Nn({loaded:Li,total:Sa,percent:Math.round(Li/Sa*1e4)/1e4}),zn(ki+tr)})})};fo(0)};function _r(Wr){return Fr(Wr,function(Ur){return L(Ur)==="object"&&Ur!==null?_r(Ur):Ur})}function yr(Wr,Ur,Sn){return Wr&&Ur in Wr?Wr[Ur]:Sn}function xr(Wr,Ur){return Ar(Ur,function(Sn,Nn){Wr[Nn]=Ur[Nn]}),Wr}function Nr(Wr){return Wr instanceof Array}function Tr(Wr,Ur){for(var Sn=!1,Nn=0;Nn<Wr.length;Nn++)if(Ur===Wr[Nn]){Sn=!0;break}return Sn}function Sr(Wr){return Nr(Wr)?Wr:[Wr]}function Ar(Wr,Ur){for(var Sn in Wr)Wr.hasOwnProperty(Sn)&&Ur(Wr[Sn],Sn)}function Fr(Wr,Ur){var Sn=Nr(Wr)?[]:{};for(var Nn in Wr)Wr.hasOwnProperty(Nn)&&(Sn[Nn]=Ur(Wr[Nn],Nn));return Sn}function Gr(Wr,Ur){var Sn=Nr(Wr),Nn=Sn?[]:{};for(var Sa in Wr)Wr.hasOwnProperty(Sa)&&Ur(Wr[Sa],Sa)&&(Sn?Nn.push(Wr[Sa]):Nn[Sa]=Wr[Sa]);return Nn}var Vr=function(Ur){var Sn,Nn,Sa,Li="";for(Sn=0,Nn=Ur.length/2;
`).forEach(function(L){$=L.indexOf(":"),y=L.substring(0,$).trim().toLowerCase(),n=L.substring($+1).trim(),!(!y||t[y]&&ignoreDuplicateOf[y])&&(y==="set-cookie"?t[y]?t[y].push(n):t[y]=[n]:t[y]=t[y]?t[y]+", "+n:n)}),t},$internals=Symbol("internals");function normalizeHeader(e){return e&&String(e).trim().toLowerCase()}function normalizeValue(e){return e===!1||e==null?e:utils$1.isArray(e)?e.map(normalizeValue):String(e)}function parseTokens(e){const t=Object.create(null),y=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=y.exec(e);)t[n[1]]=n[2];return t}const isValidHeaderName=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function matchHeaderValue(e,t,y,n,$){if(utils$1.isFunction(n))return n.call(this,t,y);if($&&(t=y),!!utils$1.isString(t)){if(utils$1.isString(n))return t.indexOf(n)!==-1;if(utils$1.isRegExp(n))return n.test(t)}}function formatHeader(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,y,n)=>y.toUpperCase()+n)}function buildAccessors(e,t){const y=utils$1.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+y,{value:function($,k,L){return this[n].call(this,t,$,k,L)},configurable:!0})})}class AxiosHeaders{constructor(t){t&&this.set(t)}set(t,y,n){const $=this;function k(j,V,z){const re=normalizeHeader(V);if(!re)throw new Error("header name must be a non-empty string");const oe=utils$1.findKey($,re);(!oe||$[oe]===void 0||z===!0||z===void 0&&$[oe]!==!1)&&($[oe||V]=normalizeValue(j))}const L=(j,V)=>utils$1.forEach(j,(z,re)=>k(z,re,V));if(utils$1.isPlainObject(t)||t instanceof this.constructor)L(t,y);else if(utils$1.isString(t)&&(t=t.trim())&&!isValidHeaderName(t))L(parseHeaders(t),y);else if(utils$1.isHeaders(t))for(const[j,V]of t.entries())k(V,j,n);else t!=null&&k(y,t,n);return this}get(t,y){if(t=normalizeHeader(t),t){const n=utils$1.findKey(this,t);if(n){const $=this[n];if(!y)return $;if(y===!0)return parseTokens($);if(utils$1.isFunction(y))return y.call(this,$,n);if(utils$1.isRegExp(y))return y.exec($);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,y){if(t=normalizeHeader(t),t){const n=utils$1.findKey(this,t);return!!(n&&this[n]!==void 0&&(!y||matchHeaderValue(this,this[n],n,y)))}return!1}delete(t,y){const n=this;let $=!1;function k(L){if(L=normalizeHeader(L),L){const j=utils$1.findKey(n,L);j&&(!y||matchHeaderValue(n,n[j],j,y))&&(delete n[j],$=!0)}}return utils$1.isArray(t)?t.forEach(k):k(t),$}clear(t){const y=Object.keys(this);let n=y.length,$=!1;for(;n--;){const k=y[n];(!t||matchHeaderValue(this,this[k],k,t,!0))&&(delete this[k],$=!0)}return $}normalize(t){const y=this,n={};return utils$1.forEach(this,($,k)=>{const L=utils$1.findKey(n,k);if(L){y[L]=normalizeValue($),delete y[k];return}const j=t?formatHeader(k):String(k).trim();j!==k&&delete y[k],y[j]=normalizeValue($),n[j]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const y=Object.create(null);return utils$1.forEach(this,(n,$)=>{n!=null&&n!==!1&&(y[$]=t&&utils$1.isArray(n)?n.join(", "):n)}),y}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,y])=>t+": "+y).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...y){const n=new this(t);return y.forEach($=>n.set($)),n}static accessor(t){const n=(this[$internals]=this[$internals]={accessors:{}}).accessors,$=this.prototype;function k(L){const j=normalizeHeader(L);n[j]||(buildAccessors($,L),n[j]=!0)}return utils$1.isArray(t)?t.forEach(k):k(t),this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);utils$1.reduceDescriptors(AxiosHeaders.prototype,({value:e},t)=>{let y=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[y]=n}}});utils$1.freezeMethods(AxiosHeaders);function transformData(e,t){const y=this||defaults,n=t||y,$=AxiosHeaders.from(n.headers);let k=n.data;return utils$1.forEach(e,function(j){k=j.call(y,k,$.normalize(),t?t.status:void 0)}),$.normalize(),k}function isCancel(e){return!!(e&&e.__CANCEL__)}function CanceledError(e,t,y){AxiosError.call(this,e??"canceled",AxiosError.ERR_CANCELED,t,y),this.name="CanceledError"}utils$1.inherits(CanceledError,AxiosError,{__CANCEL__:!0});function settle(e,t,y){const n=y.config.validateStatus;!y.status||!n||n(y.status)?e(y):t(new AxiosError("Request failed with status code "+y.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor(y.status/100)-4],y.config,y.request,y))}function parseProtocol(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function speedometer(e,t){e=e||10;const y=new Array(e),n=new Array(e);let $=0,k=0,L;return t=t!==void 0?t:1e3,function(V){const z=Date.now(),re=n[k];L||(L=z),y[$]=V,n[$]=z;let oe=k,ue=0;for(;oe!==$;)ue+=y[oe++],oe=oe%e;if($=($+1)%e,$===k&&(k=(k+1)%e),z-L<t)return;const de=re&&z-re;return de?Math.round(ue*1e3/de):void 0}}function throttle(e,t){let y=0,n=1e3/t,$,k;const L=(z,re=Date.now())=>{y=re,$=null,k&&(clearTimeout(k),k=null),e.apply(null,z)};return[(...z)=>{const re=Date.now(),oe=re-y;oe>=n?L(z,re):($=z,k||(k=setTimeout(()=>{k=null,L($)},n-oe)))},()=>$&&L($)]}const progressEventReducer=(e,t,y=3)=>{let n=0;const $=speedometer(50,250);return throttle(k=>{const L=k.loaded,j=k.lengthComputable?k.total:void 0,V=L-n,z=$(V),re=L<=j;n=L;const oe={loaded:L,total:j,progress:j?L/j:void 0,bytes:V,rate:z||void 0,estimated:z&&j&&re?(j-L)/z:void 0,event:k,lengthComputable:j!=null,[t?"download":"upload"]:!0};e(oe)},y)},progressEventDecorator=(e,t)=>{const y=e!=null;return[n=>t[0]({lengthComputable:y,total:e,loaded:n}),t[1]]},asyncDecorator=e=>(...t)=>utils$1.asap(()=>e(...t)),isURLSameOrigin=platform.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),y=document.createElement("a");let n;function $(k){let L=k;return t&&(y.setAttribute("href",L),L=y.href),y.setAttribute("href",L),{href:y.href,protocol:y.protocol?y.protocol.replace(/:$/,""):"",host:y.host,search:y.search?y.search.replace(/^\?/,""):"",hash:y.hash?y.hash.replace(/^#/,""):"",hostname:y.hostname,port:y.port,pathname:y.pathname.charAt(0)==="/"?y.pathname:"/"+y.pathname}}return n=$(window.location.href),function(L){const j=utils$1.isString(L)?$(L):L;return j.protocol===n.protocol&&j.host===n.host}}():function(){return function(){return!0}}(),cookies=platform.hasStandardBrowserEnv?{write(e,t,y,n,$,k){const L=[e+"="+encodeURIComponent(t)];utils$1.isNumber(y)&&L.push("expires="+new Date(y).toGMTString()),utils$1.isString(n)&&L.push("path="+n),utils$1.isString($)&&L.push("domain="+$),k===!0&&L.push("secure"),document.cookie=L.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function isAbsoluteURL(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function combineURLs(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function buildFullPath(e,t){return e&&!isAbsoluteURL(t)?combineURLs(e,t):t}const headersToObject=e=>e instanceof AxiosHeaders?{...e}:e;function mergeConfig(e,t){t=t||{};const y={};function n(z,re,oe){return utils$
`+k.map(renderReason).join(`
`):" "+renderReason(k[0]):"as no adapter specified";throw new AxiosError("There is no suitable adapter to dispatch the request "+L,"ERR_NOT_SUPPORT")}return n},adapters:knownAdapters};function throwIfCancellationRequested(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new CanceledError(null,e)}function dispatchRequest(e){return throwIfCancellationRequested(e),e.headers=AxiosHeaders.from(e.headers),e.data=transformData.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),adapters.getAdapter(e.adapter||defaults.adapter)(e).then(function(n){return throwIfCancellationRequested(e),n.data=transformData.call(e,e.transformResponse,n),n.headers=AxiosHeaders.from(n.headers),n},function(n){return isCancel(n)||(throwIfCancellationRequested(e),n&&n.response&&(n.response.data=transformData.call(e,e.transformResponse,n.response),n.response.headers=AxiosHeaders.from(n.response.headers))),Promise.reject(n)})}const VERSION="1.7.4",validators$1={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{validators$1[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const deprecatedWarnings={};validators$1.transitional=function(t,y,n){function $(k,L){return"[Axios v"+VERSION+"] Transitional option '"+k+"'"+L+(n?". "+n:"")}return(k,L,j)=>{if(t===!1)throw new AxiosError($(L," has been removed"+(y?" in "+y:"")),AxiosError.ERR_DEPRECATED);return y&&!deprecatedWarnings[L]&&(deprecatedWarnings[L]=!0,console.warn($(L," has been deprecated since v"+y+" and will be removed in the near future"))),t?t(k,L,j):!0}};function assertOptions(e,t,y){if(typeof e!="object")throw new AxiosError("options must be an object",AxiosError.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let $=n.length;for(;$-- >0;){const k=n[$],L=t[k];if(L){const j=e[k],V=j===void 0||L(j,k,e);if(V!==!0)throw new AxiosError("option "+k+" must be "+V,AxiosError.ERR_BAD_OPTION_VALUE);continue}if(y!==!0)throw new AxiosError("Unknown option "+k,AxiosError.ERR_BAD_OPTION)}}const validator={assertOptions,validators:validators$1},validators=validator.validators;class Axios{constructor(t){this.defaults=t,this.interceptors={request:new InterceptorManager,response:new InterceptorManager}}async request(t,y){try{return await this._request(t,y)}catch(n){if(n instanceof Error){let $;Error.captureStackTrace?Error.captureStackTrace($={}):$=new Error;const k=$.stack?$.stack.replace(/^.+\n/,""):"";try{n.stack?k&&!String(n.stack).endsWith(k.replace(/^.+\n.+\n/,""))&&(n.stack+=`
`+k):n.stack=k}catch{}}throw n}}_request(t,y){typeof t=="string"?(y=y||{},y.url=t):y=t||{},y=mergeConfig(this.defaults,y);const{transitional:n,paramsSerializer:$,headers:k}=y;n!==void 0&&validator.assertOptions(n,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},!1),$!=null&&(utils$1.isFunction($)?y.paramsSerializer={serialize:$}:validator.assertOptions($,{encode:validators.function,serialize:validators.function},!0)),y.method=(y.method||this.defaults.method||"get").toLowerCase();let L=k&&utils$1.merge(k.common,k[y.method]);k&&utils$1.forEach(["delete","get","head","post","put","patch","common"],_e=>{delete k[_e]}),y.headers=AxiosHeaders.concat(L,k);const j=[];let V=!0;this.interceptors.request.forEach(function(Ne){typeof Ne.runWhen=="function"&&Ne.runWhen(y)===!1||(V=V&&Ne.synchronous,j.unshift(Ne.fulfilled,Ne.rejected))});const z=[];this.interceptors.response.forEach(function(Ne){z.push(Ne.fulfilled,Ne.rejected)});let re,oe=0,ue;if(!V){const _e=[dispatchRequest.bind(this),void 0];for(_e.unshift.apply(_e,j),_e.push.apply(_e,z),ue=_e.length,re=Promise.resolve(y);oe<ue;)re=re.then(_e[oe++],_e[oe++]);return re}ue=j.length;let de=y;for(oe=0;oe<ue;){const _e=j[oe++],Ne=j[oe++];try{de=_e(de)}catch(Ue){Ne.call(this,Ue);break}}try{re=dispatchRequest.call(this,de)}catch(_e){return Promise.reject(_e)}for(oe=0,ue=z.length;oe<ue;)re=re.then(z[oe++],z[oe++]);return re}getUri(t){t=mergeConfig(this.defaults,t);const y=buildFullPath(t.baseURL,t.url);return buildURL(y,t.params,t.paramsSerializer)}}utils$1.forEach(["delete","get","head","options"],function(t){Axios.prototype[t]=function(y,n){return this.request(mergeConfig(n||{},{method:t,url:y,data:(n||{}).data}))}});utils$1.forEach(["post","put","patch"],function(t){function y(n){return function(k,L,j){return this.request(mergeConfig(j||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:k,data:L}))}}Axios.prototype[t]=y(),Axios.prototype[t+"Form"]=y(!0)});class CancelToken{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let y;this.promise=new Promise(function(k){y=k});const n=this;this.promise.then($=>{if(!n._listeners)return;let k=n._listeners.length;for(;k-- >0;)n._listeners[k]($);n._listeners=null}),this.promise.then=$=>{let k;const L=new Promise(j=>{n.subscribe(j),k=j}).then($);return L.cancel=function(){n.unsubscribe(k)},L},t(function(k,L,j){n.reason||(n.reason=new CanceledError(k,L,j),y(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const y=this._listeners.indexOf(t);y!==-1&&this._listeners.splice(y,1)}static source(){let t;return{token:new CancelToken(function($){t=$}),cancel:t}}}function spread(e){return function(y){return e.apply(null,y)}}function isAxiosError(e){return utils$1.isObject(e)&&e.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,BadGate
async (CUSTOM_ARG) => {
${localStorage.getItem("formCustomConfig")}
}
`;return new Promise((resolve,reject)=>{const exportObj={content,file,util:{axios:service,CryptoJS,OSS,COS,Buffer,uuidv4:v4,qiniu,tokenTools,getDir,getDateFilename},okCb:resolve,errCb:reject};eval(str)(exportObj).catch(e=>{console.error(e),reject(e)})})}function fileUpload(e,t){const y=localStorage.getItem("imgHost");switch(!y&&localStorage.setItem("imgHost","default"),y){case"aliOSS":return aliOSSFileUpload(e,t.name);case"minio":return minioFileUpload(e,t.name);case"txCOS":return txCOSFileUpload(t);case"qiniu":return qiniuUpload(t);case"gitee":return giteeUpload(e,t.name);case"github":return ghFileUpload(e,t.name);case"formCustom":return formCustomUpload(e,t);default:return ghFileUpload(e,t.name)}}const fileApi={fileUpload},_sfc_main$q={__name:"PostInfo",setup(e){const t=useStore(),{output:y}=storeToRefs(t),n=ref$1(!1),$=ref$1({title:"",desc:"",thumb:"",content:""});function k(){var V;let j={};try{j={thumb:(V=document.querySelector("#output img"))==null?void 0:V.src,title:[1,2,3,4,5,6].map(z=>document.querySelector(`#output h${z}`)).filter(z=>z)[0].textContent,desc:document.querySelector("#output p").textContent,content:y.value}}catch(z){console.log("error",z)}$.value={...j,auto:j},n.value=!0}function L(){n.value=!1,window.syncPost({thumb:$.value.thumb||$.value.auto.thumb,title:$.value.title||$.value.auto.title,desc:$.value.desc||$.value.auto.desc,content:$.value.content||$.value.auto.content})}return(j,V)=>{const z=resolveComponent("el-button"),re=resolveComponent("el-alert"),oe=resolveComponent("el-input"),ue=resolveComponent("el-form-item"),de=resolveComponent("el-form"),_e=resolveComponent("el-dialog");return openBlock(),createElementBlock(Fragment,null,[createVNode(z,{plain:"",type:"primary",onClick:k},{default:withCtx(()=>[createTextVNode(" 发布 ")]),_:1}),createVNode(_e,{title:"发布","model-value":n.value,onClose:V[4]||(V[4]=Ne=>n.value=!1)},{footer:withCtx(()=>[createVNode(z,{onClick:V[3]||(V[3]=Ne=>n.value=!1)},{default:withCtx(()=>[createTextVNode(" 取 消 ")]),_:1}),createVNode(z,{type:"primary",onClick:L},{default:withCtx(()=>[createTextVNode(" 确 定 ")]),_:1})]),default:withCtx(()=>[createVNode(re,{class:"mb-4",title:"注:此功能由第三方浏览器插件支持,本平台不保证安全性。",type:"info","show-icon":""}),createVNode(de,{class:"postInfo","label-width":"50",model:$.value},{default:withCtx(()=>[createVNode(ue,{label:"封面"},{default:withCtx(()=>[createVNode(oe,{modelValue:$.value.thumb,"onUpdate:modelValue":V[0]||(V[0]=Ne=>$.value.thumb=Ne),placeholder:"自动提取第一张图"},null,8,["modelValue"])]),_:1}),createVNode(ue,{label:"标题"},{default:withCtx(()=>[createVNode(oe,{modelValue:$.value.title,"onUpdate:modelValue":V[1]||(V[1]=Ne=>$.value.title=Ne),placeholder:"自动提取第一个标题"},null,8,["modelValue"])]),_:1}),createVNode(ue,{label:"描述"},{default:withCtx(()=>[createVNode(oe,{modelValue:$.value.desc,"onUpdate:modelValue":V[2]||(V[2]=Ne=>$.value.desc=Ne),type:"textarea",rows:4,placeholder:"自动提取第一个段落"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value"])],64)}}};function isComponentPublicInstance(e){return e!=null&&typeof e=="object"&&"$el"in e}function unwrapElement(e){if(isComponentPublicInstance(e)){const t=e.$el;return isNode$1(t)&&getNodeName(t)==="#comment"?null:t}return e}function toValue$1(e){return typeof e=="function"?e():unref(e)}function arrow(e){return{name:"arrow",options:e,fn(t){const y=unwrapElement(toValue$1(e.element));return y==null?{}:arrow$1({element:y,padding:e.padding}).fn(t)}}}function getDPR(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function roundByDPR(e,t){const y=getDPR(e);return Math.round(t*y)/y}function useFloating(e,t,y){y===void 0&&(y={});const n=y.whileElementsMounted,$=computed(()=>{var dr;return(dr=toValue$1(y.open))!=null?dr:!0}),k=computed(()=>toValue$1(y.middleware)),L=computed(()=>{var dr;return(dr=toValue$1(y.placement))!=null?dr:"bottom"}),j=computed(()=>{var dr;return(dr=toValue$1(y.strategy))!=null?dr:"absolute"}),V=computed
`)].join(`
`))}return()=>k.value||$.value||j.value?h$1(t.default({present:j})[0],{ref:re=>{const oe=Be(re);return typeof(oe==null?void 0:oe.hasAttribute)>"u"||(oe!=null&&oe.hasAttribute("data-radix-popper-content-wrapper")?L.value=oe.firstElementChild:L.value=oe),oe}}):null}}),ht=defineComponent({__name:"Teleport",props:{to:{default:"body"},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){const t=ja();return(y,n)=>unref(t)||y.forceMount?(openBlock(),createBlock(Teleport$1,{key:0,to:y.to,disabled:y.disabled},[renderSlot(y.$slots,"default")],8,["to","disabled"])):createCommentVNode("",!0)}}),qi="dismissableLayer.pointerDownOutside",Yi="dismissableLayer.focusOutside";function Fl(e,t){const y=t.closest("[data-dismissable-layer]"),n=e.dataset.dismissableLayer===""?e:e.querySelector("[data-dismissable-layer]"),$=Array.from(e.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(y&&n===y||$.indexOf(n)<$.indexOf(y))}function Nl(e,t){var y;const n=((y=t==null?void 0:t.value)==null?void 0:y.ownerDocument)??(globalThis==null?void 0:globalThis.document),$=ref$1(!1),k=ref$1(()=>{});return watchEffect(L=>{if(!Ze)return;const j=async z=>{const re=z.target;if(t!=null&&t.value){if(Fl(t.value,re)){$.value=!1;return}if(z.target&&!$.value){let oe=function(){zt(qi,e,ue)};const ue={originalEvent:z};z.pointerType==="touch"?(n.removeEventListener("click",k.value),k.value=oe,n.addEventListener("click",k.value,{once:!0})):oe()}else n.removeEventListener("click",k.value);$.value=!1}},V=window.setTimeout(()=>{n.addEventListener("pointerdown",j)},0);L(()=>{window.clearTimeout(V),n.removeEventListener("pointerdown",j),n.removeEventListener("click",k.value)})}),{onPointerDownCapture:()=>$.value=!0}}function Ll(e,t){var y;const n=((y=t==null?void 0:t.value)==null?void 0:y.ownerDocument)??(globalThis==null?void 0:globalThis.document),$=ref$1(!1);return watchEffect(k=>{if(!Ze)return;const L=async j=>{t!=null&&t.value&&(await nextTick$3(),!(!t.value||Fl(t.value,j.target))&&j.target&&!$.value&&zt(Yi,e,{originalEvent:j}))};n.addEventListener("focusin",L),k(()=>n.removeEventListener("focusin",L))}),{onFocusCapture:()=>$.value=!0,onBlurCapture:()=>$.value=!1}}const je=reactive({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),yt=defineComponent({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(e,{emit:t}){const y=e,n=t,{forwardRef:$,currentElement:k}=T(),L=computed(()=>{var _e;return((_e=k.value)==null?void 0:_e.ownerDocument)??globalThis.document}),j=computed(()=>je.layersRoot),V=computed(()=>k.value?Array.from(j.value).indexOf(k.value):-1),z=computed(()=>je.layersWithOutsidePointerEventsDisabled.size>0),re=computed(()=>{const _e=Array.from(j.value),[Ne]=[...je.layersWithOutsidePointerEventsDisabled].slice(-1),Ue=_e.indexOf(Ne);return V.value>=Ue}),oe=Nl(async _e=>{const Ne=[...je.branches].some(Ue=>Ue.contains(_e.target));!re.value||Ne||(n("pointerDownOutside",_e),n("interactOutside",_e),await nextTick$3(),_e.defaultPrevented||n("dismiss"))},k),ue=Ll(_e=>{[...je.branches].some(Ne=>Ne.contains(_e.target))||(n("focusOutside",_e),n("interactOutside",_e),_e.defaultPrevented||n("dismiss"))},k);jn("Escape",_e=>{V.value===j.value.size-1&&(n("escapeKeyDown",_e),_e.defaultPrevented||n("dismiss"))});let de;return watchEffect(_e=>{k.value&&(y.disableOutsidePointerEvents&&(je.layersWithOutsidePointerEventsDisabled.size===0&&(de=L.value.body.style.pointerEvents,L.value.body.style.pointerEvents="none"),je.layersWithOutsidePointerEventsDisabled.add(k.value)),j.value.add(k.value),_e(()=>{y.disableOutsidePointerEvents&&je.layersWithOutsidePointerEventsDisabled.size===1&&(L.value.body.style.pointerEvents=de)}))}),watchEffect(_e=>{_e(()=>{k.value&&(j.value.delete(k.value),je.layersWithOutsidePointerEventsDisabled.delete(k.value))})}),(_e,Ne)=>(openBlock(),createBlock(unref(O),{ref:unref($),"as-child":_e.asChild,as:_e.as,"data-dismissable-layer":"",style:normalizeSty
* @license lucide-vue-next v0.427.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=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
* @license lucide-vue-next v0.427.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.427.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:e,strokeWidth:t=2,absoluteStrokeWidth:y,color:n,iconNode:$,name:k,class:L,...j},{slots:V})=>h$1("svg",{...defaultAttributes,width:e||defaultAttributes.width,height:e||defaultAttributes.height,stroke:n||defaultAttributes.stroke,"stroke-width":y?Number(t)*24/Number(e):t,class:["lucide",`lucide-${toKebabCase(k??"icon")}`],...j},[...$.map(z=>h$1(...z)),...V.default?[V.default()]:[]]);/**
* @license lucide-vue-next v0.427.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=(e,t)=>(y,{slots:n})=>h$1(Icon,{...y,iconNode:t,name:e},n);/**
* @license lucide-vue-next v0.427.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"}]]),_sfc_main$l=defineComponent({__name:"DropdownMenuShortcut",props:{class:{}},setup(e){const t=e;return(y,n)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(cn)("ml-auto text-xs tracking-widest opacity-60",t.class))},[renderSlot(y.$slots,"default")],2))}}),_sfc_main$k=defineComponent({__name:"DropdownMenuSeparator",props:{asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,y=computed(()=>{const{class:n,...$}=t;return $});return(n,$)=>(openBlock(),createBlock(unref(sh),mergeProps(y.value,{class:unref(cn)("-mx-1 my-1 h-px bg-muted",t.class)}),null,16,["class"]))}}),_sfc_main$j=defineComponent({__name:"DropdownMenuSub",props:{defaultOpen:{type:Boolean},open:{type:Boolean}},emits:["update:open"],setup(e,{emit:t}){const $=xe(e,t);return(k,L)=>(openBlock(),createBlock(unref(ph),normalizeProps(guardReactiveProps(unref($))),{default:withCtx(()=>[renderSlot(k.$slots,"default")]),_:3},16))}}),_sfc_main$i=defineComponent({__name:"DropdownMenuSubTrigger",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,y=computed(()=>{const{class:$,...k}=t;return k}),n=Bt(y);return($,k)=>(openBlock(),createBlock(unref(vh),mergeProps(unref(n),{class:unref(cn)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",t.class)}),{default:withCtx(()=>[renderSlot($.$slots,"default"),createVNode(unref(ChevronRight),{class:"ml-auto h-4 w-4"})]),_:3},16,["class"]))}}),_sfc_main$h=defineComponent({__name:"DropdownMenuSubContent",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(e,{emit:t}){const y=e,n=t,$=computed(()=>{const{class:L,...j}=y;return j}),k=xe($,n);return(L,j)=>(openBlock(),createBlock(unref(fh),mergeProps(unref(k),{class:unref(cn)("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",y.class)}),{default:withCtx(()=>[renderSlot(L.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$g={__name:"FileDropdown",setup(e){const t=useStore(),{isDark:y,isEditOnLeft:n}=storeToRefs(t),{toggleDark:$,toggleEditOnLeft:k,exportEditorContent2HTML:L,exportEditorContent2MD:j,importMarkdownContent:V}=t;return(z,re)=>{const oe=resolveComponent("ElIconArrowDown"),ue=resolveComponent("el-icon"),de=resolveComponent("ElIconUpload"),_e=resolveComponent("ElIconDownload"),Ne=resolveComponent("ElIconDocument"),Ue=resolveComponent("ElIconCheck");return openBlock(),createBlock(unref(_sfc_main$p),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$o),null,{default:withCtx(()=>[createTextVNode(" "),createVNode(ue,{class:"ml-2"},{default:withCtx(()=>[createVNode(oe)]),_:1})]),_:1}),createVNode(unref(_sfc_main$n),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$m),{onClick:re[0]||(re[0]=$e=>unref(V)())},{default:withCtx(()=>[createVNode(ue,{class:"mr-2 h-4 w-4"},{default:withCtx(()=>[createVNode(de)]),_:1}),createTextVNode(" .md ")]),_:1}),createVNode(unref(_sfc_main$m),{onClick:re[1]||(re[1]=$e=>unref(j)())},{default:withCtx(()=>[createVNode(ue,{class:"mr-2 h-4 w-4"},{default:withCtx(()=>[createVNode(_e)]),_:1}),createTextVNode(" .md ")]),_:1}),createVNode(unref(_sfc_main$m),{onClick:re[2]||(re[2]=$e=>unref(L)())},{default:withCtx(()=>[c
${z}
`,"end")}),j(),n()}return(z,re)=>{const oe=resolveComponent("el-input-number"),ue=resolveComponent("el-col"),de=resolveComponent("el-row"),_e=resolveComponent("el-input"),Ne=resolveComponent("el-button"),Ue=resolveComponent("el-dialog");return openBlock(),createBlock(Ue,{title:"插入表格",class:"insert__dialog","model-value":unref(t).isShowInsertFormDialog,onClose:re[3]||(re[3]=$e=>unref(n)(!1))},{footer:withCtx(()=>[createBaseVNode("div",_hoisted_2$1,[createVNode(Ne,{plain:"",onClick:re[2]||(re[2]=$e=>unref(n)(!1))},{default:withCtx(()=>[createTextVNode(" 取 消 ")]),_:1}),createVNode(Ne,{type:"primary",plain:"",onClick:V},{default:withCtx(()=>[createTextVNode(" 确 定 ")]),_:1})])]),default:withCtx(()=>[createVNode(de,{class:"tb-options",type:"flex",align:"middle",gutter:10},{default:withCtx(()=>[createVNode(ue,{span:12},{default:withCtx(()=>[createTextVNode(" 行数: "),createVNode(oe,{modelValue:$.value,"onUpdate:modelValue":re[0]||(re[0]=$e=>$.value=$e),"controls-position":"right",min:1,max:100,size:"small"},null,8,["modelValue"])]),_:1}),createVNode(ue,{span:12},{default:withCtx(()=>[createTextVNode(" 列数: "),createVNode(oe,{modelValue:k.value,"onUpdate:modelValue":re[1]||(re[1]=$e=>k.value=$e),"controls-position":"right",min:1,max:100,size:"small"},null,8,["modelValue"])]),_:1})]),_:1}),createBaseVNode("table",_hoisted_1$5,[(openBlock(!0),createElementBlock(Fragment,null,renderList($.value+1,$e=>(openBlock(),createElementBlock("tr",{key:$e,class:normalizeClass({"head-style":$e===1})},[(openBlock(!0),createElementBlock(Fragment,null,renderList(k.value,Ve=>(openBlock(),createElementBlock("td",{key:Ve},[createVNode(_e,{modelValue:L.value[`k_${$e-1}_${Ve-1}`],"onUpdate:modelValue":Fe=>L.value[`k_${$e-1}_${Ve-1}`]=Fe,align:"center",placeholder:$e===1?"表头":""},null,8,["modelValue","onUpdate:modelValue","placeholder"])]))),128))],2))),128))])]),_:1},8,["model-value"])}}},InsertFormDialog=_export_sfc(_sfc_main$6,[["__scopeId","data-v-ca1e68bd"]]),_hoisted_1$4=["onMousedown"],_sfc_main$5={__name:"RightClickMenu",props:{visible:{type:Boolean,default:!1},top:{type:Number,default:0},left:{type:Number,default:0}},emits:["menuTick","closeMenu"],setup(e,{emit:t}){const y=e,n=t,$=[[{text:"上传图片",key:"insertPic"},{text:"插入表格",key:"insertTable"},{text:"恢复默认样式",key:"resetStyle"}],[{text:"导入 .md 文档",key:"importMarkdown"},{text:"导出 .md 文档",key:"exportMarkdown"},{text:"导出 .html",key:"exportHtml"},{text:"格式化",key:"formatMarkdown"}]];function k(L){n("menuTick",L),n("closeMenu")}return(L,j)=>withDirectives((openBlock(),createElementBlock("div",{id:"menu",class:"menu",style:normalizeStyle({left:`${y.left}px`,top:`${y.top}px`})},[(openBlock(),createElementBlock(Fragment,null,renderList($,(V,z)=>createBaseVNode("ul",{key:z,class:"menu__group"},[(openBlock(!0),createElementBlock(Fragment,null,renderList(V,({key:re,text:oe})=>(openBlock(),createElementBlock("li",{key:re,class:"menu_item",onMousedown:ue=>k(re)},toDisplayString(oe),41,_hoisted_1$4))),128))])),64))],4)),[[vShow,y.visible]])}},RightClickMenu=_export_sfc(_sfc_main$5,[["__scopeId","data-v-d69dec3e"]]),_withScopeId$2=e=>(pushScopeId("data-v-7a636709"),e=e(),popScopeId(),e),_hoisted_1$3=_withScopeId$2(()=>createBaseVNode("div",{class:"el-upload__text"},[createTextVNode(" 将图片拖到此处,或 "),createBaseVNode("em",null,"点击上传")],-1)),_sfc_main$4={__name:"UploadImgDialog",emits:["uploadImage"],setup(e,{emit:t}){const y=t,n=useStore(),$=ref$1({repo:"",branch:"",accessToken:""}),k=ref$1({accessKeyId:"",accessKeySecret:"",bucket:"",region:"",path:"",cdnHost:""}),L=ref$1({secretId:"",secretKey:"",bucket:"",region:"",path:"",cdnHost:""}),j=ref$1({accessKey:"",secretKey:"",bucket:"",domain:"",region:""}),V=ref$1({endpoint:"",port:"",useSSL:!0,bucket:"",accessKey:"",secretKey:""}),z=ref$1({code:localStorage.getItem("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(),editor:void 0}),re=[{value:"default",label:"默认"},{value:"github",label:"GitHub"},{value:"aliOSS",label:"阿里云"},{value:"txCOS",label:"腾讯云"},{value:"qiniu",label:"七牛云"},{value:"minio",label:"MinIO"},{value:"formCustom",label:"自定义代码"}],oe=ref$1("default"),ue=ref$1(null),de=ref$1("upload");watch(de,async dr=>{dr==="formCustom"&&nextTick$3(()=>{const cr=ue.value.$el.querySelector("textarea");z.value.editor=z.value.editor||CodeMirror.fromTextArea(cr,{mode:"javascript"})})},{immediate:!0}),onBeforeMount(()=>{localStorage.getItem("githubConfig")&&($.value=JSON.parse(localStorage.getItem("githubConfig"))),localStorage.getItem("aliOSSConfig")&&(k.value=JSON.parse(localStorage.getItem("aliOSSConfig"))),localStorage.getItem("txCOSConfig")&&(L.value=JSON.parse(localStorage.getItem("txCOSConfig"))),localStorage.getItem("qiniuConfig")&&(j.value=JSON.parse(localStorage.getItem("qiniuConfig"))),localStorage.getItem("minioConfig")&&(V.value=JSON.parse(localStorage.getItem("minioConfig"))),localStorage.getItem("imgHost")&&(oe.value=localStorage.getItem("imgHost"))});function _e(){localStorage.setItem("imgHost",oe.value),ElMessage.success("已成功切换图床")}function Ne(){if(!($.value.repo&&$.value.accessToken)){const dr=$.value.repo?"token":"GitHub 仓库";ElMessage.error(`参数${dr}不能为空`);return}localStorage.setItem("githubConfig",JSON.stringify($.value)),ElMessage.success("保存成功")}function Ue(){if(!(k.value.accessKeyId&&k.value.accessKeySecret&&k.value.bucket&&k.value.region)){ElMessage.error("阿里云 OSS 参数配置不全");return}localStorage.setItem("aliOSSConfig",JSON.stringify(k.value)),ElMessage.success("保存成功")}function $e(){if(!(V.value.endpoint&&V.value.bucket&&V.value.accessKey&&V.value.secretKey)){ElMessage.error("MinIO 参数配置不全");return}localStorage.setItem("minioConfig",JSON.stringify(V.value)),ElMessage.success("保存成功")}function Ve(){if(!(L.value.secretId&&L.value.secretKey&&L.value.bucket&&L.value.region)){ElMessage.error("腾讯云 COS 参数配置不全");return}localStorage.setItem("txCOSConfig",JSON.stringify(L.value)),ElMessage.success("保存成功")}function Fe(){if(!(j.value.accessKey&&j.value.secretKey&&j.value.bucket&&j.value.domain&&j.value.region)){ElMessage.error("七牛云 Kodo 参数配置不全");return}localStorage.setItem("qiniuConfig",JSON.stringify(j.value)),ElMessage.success("保存成功")}function qe(){const dr=z.value.editor.getValue();localStorage.setItem("formCustomConfig",dr),ElMessage.success("保存成功")}function er(dr){const cr=checkImage(dr);if(!cr.ok)return ElMessage.error(cr.msg),!1;let nr=localStorage.getItem("imgHost");nr=nr||"default",localStorage.setItem("imgHost",nr);const lr=localStorage.getItem(`${nr}Config`);return nr==="default"||lr?!0:(ElMessage.error(`请先配置 ${nr} 图床参数`),!1)}function ir(dr){y("uploadImage",dr.file)}return(dr,cr)=>{const nr=resolveComponent("el-option"),lr=resolveComponent("el-select"),Et=resolveComponent("el-icon"),ie=resolveComponent("el-upload"),pe=resolveComponent("el-tab-pane"),Ce=resolveComponent("el-input"),Ie=resolveComponent("el-form-item"),jt=resolveComponent("el-link"),ar=resolveComponent("el-button"),ur=resolveComponent("el-form"),kt=resolveComponent("el-switch"),he=resolveComponent("el-tabs"),tr=resolveComponent("el-dialog");return openBlock(),createBlock(tr,{title:"本地上传",class:"upload__dialog","model-value":unref(n).isShowUploadImgDialog,onClose:cr[30]||(cr[30]=gr=>unref(n).toggleShowUploadImgDialog(!1))},{default:withCtx(()=>[createVNode(he,{modelValue:de.value,"onUpdate:modelValue":cr[29]||(cr[29]=gr=>de.value=gr)},{default:withCtx(()=>[createVNode(pe,{class:"upload-panel",label:"选择上传",name:"upload"},{default:withCtx(()=>[createVNode(lr,{modelValue:oe.value,"onUpdate:modelValue":cr[0]||(cr[0]=gr=>oe.value=gr),placeholder:"请选择",size:"small",onChange:_e},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(re,gr=>createVNode(nr,{key:gr.value,label:gr.label,value:gr.value},null,8,["label","val
${xr}
`,yr),ElMessage.success("图片上传成功"),dr()}function Ie(_r,yr){Ue.value=!0,toBase64(_r).then(xr=>{fileApi.fileUpload(xr,_r).then(Nr=>{console.log(Nr),yr?yr(Nr):Ce(Nr)}).catch(Nr=>{ElMessage.error(Nr.message)})}).catch(xr=>{ElMessage.error(xr.message)}),Ue.value=!1}const jt=ref$1(0);function ar(){const _r=document.querySelector("#editor");_r.value||(_r.value=L.value),k.value=CodeMirror.fromTextArea(_r,{mode:"text/x-markdown",theme:"xq-light",lineNumbers:!1,lineWrapping:!0,styleActiveLine:!0,autoCloseBrackets:!0,extraKeys:{[`${y}-F`]:function(xr){const Nr=formatDoc(xr.getValue(0));xr.setValue(Nr)},[`${y}-B`]:function(xr){const Nr=xr.getSelection();xr.replaceSelection(`**${Nr}**`)},[`${y}-I`]:function(xr){const Nr=xr.getSelection();xr.replaceSelection(`*${Nr}*`)},[`${y}-D`]:function(xr){const Nr=xr.getSelection();xr.replaceSelection(`~~${Nr}~~`)},[`${y}-K`]:function(xr){const Nr=xr.getSelection();xr.replaceSelection(`[${Nr}]()`)},[`${y}-E`]:function(xr){const Nr=xr.getSelection();xr.replaceSelection(`\`${Nr}\``)},[`${y}-L`]:function(xr){const Nr=xr.getSelection();xr.replaceSelection(`\`${Nr}\``)}}}),k.value.on("change",yr=>{clearTimeout(jt.value),jt.value=setTimeout(()=>{dr(),L.value=yr.getValue()},300)}),k.value.on("paste",(yr,xr)=>{if(!(!(xr.clipboardData&&xr.clipboardData.items)||Ue.value))for(let Nr=0,Tr=xr.clipboardData.items.length;Nr<Tr;++Nr){const Sr=xr.clipboardData.items[Nr];if(Sr.kind==="file"){const Ar=Sr.getAsFile();if(!pe(Ar))continue;Ie(Ar)}}}),k.value.on("mousedown",()=>{qe.value=!1}),k.value.on("blur",()=>{qe.value=!1}),k.value.on("scroll",()=>{qe.value=!1})}const ur=ref$1(null);function kt(_r){const xr=ur.value.getBoundingClientRect().left,Tr=ur.value.offsetWidth-105,Sr=_r.clientX-xr;Ve.value=Math.min(Tr,Sr),Fe.value=_r.clientY+10,qe.value=!0}function he(_r){k.value.options.extraKeys[_r](k.value)}const tr=ref$1(null);function gr(){const _r=tr.value.$el,yr=async({md:Tr,list:Sr})=>{const Ar=[...Tr.str.matchAll(/!\[(.*?)\]\((.*?)\)/g)||[]].filter(Vr=>Vr),Fr=Tr.path.match(/.+?\//)[0],Gr=await Promise.all(Ar.map(Vr=>new Promise(Dr=>{let[,,Ir]=Vr;Ir=Ir.replace(/^.\//,"");const{file:Br}=Sr.find(Rr=>Rr.path===`${Fr}${Ir}`)||{};Ie(Br,Rr=>{Dr({matchStr:Ir,url:Rr})})})));Gr.forEach(Vr=>{Tr.str=Tr.str.replace(`](./${Vr.matchStr})`,`](${Vr.url})`).replace(`](${Vr.matchStr})`,`](${Vr.url})`)}),k.value.setValue(Tr.str),console.log("resList",Gr,Tr.str)};_r.ondragover=Tr=>Tr.preventDefault(),_r.ondrop=async Tr=>{Tr.preventDefault();for(const Sr of Tr.dataTransfer.items)Sr.getAsFileSystemHandle().then(async Ar=>{if(Ar.kind==="directory"){const Fr=await Nr(Ar),Gr=await xr({list:Fr});yr({md:Gr,list:Fr})}else{const Fr=await Ar.getFile();console.log("file",Fr)}})};async function xr({list:Tr}){return new Promise(Sr=>{const{path:Ar,file:Fr}=Tr.find(Vr=>Vr.path.match(/\.md$/)),Gr=new FileReader;Gr.readAsText(Fr,"UTF-8"),Gr.onload=Vr=>{Sr({str:Vr.target.result,file:Fr,path:Ar})}})}async function Nr(Tr){const Sr=[];let Ar="";try{const Fr=[Tr];for(const Gr of Fr){Ar+=`${Gr.name}/`;for await(const[,Vr]of Gr)Vr.kind==="file"?Sr.push({path:Ar+Vr.name,file:await Vr.getFile()}):(Sr.push({path:`${Ar+Vr.name}/`}),Fr.push(Vr))}}catch(Fr){console.error(Fr)}return Sr}}return onMounted(()=>{ar(),dr(),gr()}),(_r,yr)=>{const xr=resolveComponent("el-header"),Nr=resolveComponent("el-col"),Tr=resolveComponent("el-row"),Sr=resolveComponent("el-main"),Ar=resolveComponent("el-container");return openBlock(),createElementBlock("div",{ref_key:"container",ref:ur,class:"container"},[createVNode(Ar,null,{default:withCtx(()=>[createVNode(xr,{class:"editor__header"},{default:withCtx(()=>[createVNode(EditorHeader,{onAddFormat:he,onFormatContent:unref(oe),onStartCopy:lr,onEndCopy:Et},null,8,["onFormatContent"])]),_:1}),createVNode(Sr,{class:"container-main"},{default:withCtx(()=>[createVNode(Tr,{class:"container-main-section"},{default:withCtx(()=>[createVNode(Nr,{ref_key:"codeMirrorWrapper",ref:tr,span:unref(j)?8:12,class:normalizeClass(["codeMirror-wrapper",{"order-1":!unref(n).isEditOnLeft}]),onContextmenu:withModifiers(kt,["prevent"])},{default:withC
`;$e.replaceSelection(dr+dr,null),ue($e,-1),qe=$e.listSelections();for(var cr=0;cr<qe.length;cr++){var nr=qe[cr].head.line;$e.indentLine(nr,null,!0),$e.indentLine(nr+1,null,!0)}})}function ue($e,Ve){for(var Fe=[],qe=$e.listSelections(),er=0,ir=0;ir<qe.length;ir++){var dr=qe[ir];dr.head==$e.getCursor()&&(er=ir);var cr=dr.head.ch||Ve>0?{line:dr.head.line,ch:dr.head.ch+Ve}:{line:dr.head.line-1};Fe.push({anchor:cr,head:cr})}$e.setSelections(Fe,er)}function de($e){var Ve=y.cmpPos($e.anchor,$e.head)>0;return{anchor:new $($e.anchor.line,$e.anchor.ch+(Ve?-1:1)),head:new $($e.head.line,$e.head.ch+(Ve?1:-1))}}function _e($e,Ve){var Fe=z($e);if(!Fe||$e.getOption("disableInput"))return y.Pass;var qe=k(Fe,"pairs"),er=qe.indexOf(Ve);if(er==-1)return y.Pass;for(var ir=k(Fe,"closeBefore"),dr=k(Fe,"triples"),cr=qe.charAt(er+1)==Ve,nr=$e.listSelections(),lr=er%2==0,Et,ie=0;ie<nr.length;ie++){var pe=nr[ie],Ce=pe.head,Ie,jt=$e.getRange(Ce,$(Ce.line,Ce.ch+1));if(lr&&!pe.empty())Ie="surround";else if((cr||!lr)&&jt==Ve)cr&&Ue($e,Ce)?Ie="both":dr.indexOf(Ve)>=0&&$e.getRange(Ce,$(Ce.line,Ce.ch+3))==Ve+Ve+Ve?Ie="skipThree":Ie="skip";else if(cr&&Ce.ch>1&&dr.indexOf(Ve)>=0&&$e.getRange($(Ce.line,Ce.ch-2),Ce)==Ve+Ve){if(Ce.ch>2&&/\bstring/.test($e.getTokenTypeAt($(Ce.line,Ce.ch-2))))return y.Pass;Ie="addFour"}else if(cr){var ar=Ce.ch==0?" ":$e.getRange($(Ce.line,Ce.ch-1),Ce);if(!y.isWordChar(jt)&&ar!=Ve&&!y.isWordChar(ar))Ie="both";else return y.Pass}else if(lr&&(jt.length===0||/\s/.test(jt)||ir.indexOf(jt)>-1))Ie="both";else return y.Pass;if(!Et)Et=Ie;else if(Et!=Ie)return y.Pass}var ur=er%2?qe.charAt(er-1):Ve,kt=er%2?Ve:qe.charAt(er+1);$e.operation(function(){if(Et=="skip")ue($e,1);else if(Et=="skipThree")ue($e,3);else if(Et=="surround"){for(var he=$e.getSelections(),tr=0;tr<he.length;tr++)he[tr]=ur+he[tr]+kt;$e.replaceSelections(he,"around"),he=$e.listSelections().slice();for(var tr=0;tr<he.length;tr++)he[tr]=de(he[tr]);$e.setSelections(he)}else Et=="both"?($e.replaceSelection(ur+kt,null),$e.triggerElectric(ur+kt),ue($e,-1)):Et=="addFour"&&($e.replaceSelection(ur+ur+ur+ur,"before"),ue($e,1))})}function Ne($e,Ve){var Fe=$e.getRange($(Ve.line,Ve.ch-1),$(Ve.line,Ve.ch+1));return Fe.length==2?Fe:null}function Ue($e,Ve){var Fe=$e.getTokenAt($(Ve.line,Ve.ch+1));return/\bstring/.test(Fe.type)&&Fe.start==Ve.ch&&(Ve.ch==0||!/\bstring/.test($e.getTokenTypeAt(Ve)))}})})();(function(e,t){(function(y){y(requireCodemirror())})(function(y){var n=/MSIE \d/.test(navigator.userAgent)&&(document.documentMode==null||document.documentMode<8),$=y.Pos,k={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function L(ue){return ue&&ue.bracketRegex||/[(){}[\]]/}function j(ue,de,_e){var Ne=ue.getLineHandle(de.line),Ue=de.ch-1,$e=_e&&_e.afterCursor;$e==null&&($e=/(^| )cm-fat-cursor($| )/.test(ue.getWrapperElement().className));var Ve=L(_e),Fe=!$e&&Ue>=0&&Ve.test(Ne.text.charAt(Ue))&&k[Ne.text.charAt(Ue)]||Ve.test(Ne.text.charAt(Ue+1))&&k[Ne.text.charAt(++Ue)];if(!Fe)return null;var qe=Fe.charAt(1)==">"?1:-1;if(_e&&_e.strict&&qe>0!=(Ue==de.ch))return null;var er=ue.getTokenTypeAt($(de.line,Ue+1)),ir=V(ue,$(de.line,Ue+(qe>0?1:0)),qe,er,_e);return ir==null?null:{from:$(de.line,Ue),to:ir&&ir.pos,match:ir&&ir.ch==Fe.charAt(0),forward:qe>0}}function V(ue,de,_e,Ne,Ue){for(var $e=Ue&&Ue.maxScanLineLength||1e4,Ve=Ue&&Ue.maxScanLines||1e3,Fe=[],qe=L(Ue),er=_e>0?Math.min(de.line+Ve,ue.lastLine()+1):Math.max(ue.firstLine()-1,de.line-Ve),ir=de.line;ir!=er;ir+=_e){var dr=ue.getLine(ir);if(dr){var cr=_e>0?0:dr.length-1,nr=_e>0?dr.length:-1;if(!(dr.length>$e))for(ir==de.line&&(cr=de.ch-(_e<0?1:0));cr!=nr;cr+=_e){var lr=dr.charAt(cr);if(qe.test(lr)&&(Ne===void 0||(ue.getTokenTypeAt($(ir,cr+1))||"")==(Ne||""))){var Et=k[lr];if(Et&&Et.charAt(1)==">"==_e>0)Fe.push(lr);else if(Fe.length)Fe.pop();else return{pos:$(ir,cr),ch:lr}}}}}return ir-_e==(_e>0?ue.lastLine():ue.firstLine())?!1:null}function z(ue,de,_e){for(var Ne=ue.state.matchBrackets.maxHighlightLineLength||1e3,Ue=_e&&_e.highlightNonMatching,$e=[],Ve=ue.listSelections(),Fe=0;Fe<Ve.length;Fe++){var qe=Ve[Fe].empty()